c++: wrong looser excep spec for dep noexcept [PR113158]
[official-gcc.git] / libgcc / ChangeLog
blob061929b4dcb8d18ff812d0be5f9a2f583be8efa4
1 2024-02-16  Matteo Italia  <matteo@mitalia.net>
3         PR libgcc/113850
4         * config/i386/gthr-win32-cond.c (__gthr_win32_abs_to_rel_time):
5         fix absolute timespec to relative milliseconds count
6         conversion (it incorrectly returned seconds instead of
7         milliseconds); this avoids spurious wakeups in
8         __gthr_win32_cond_timedwait
10 2024-02-14  Jakub Jelinek  <jakub@redhat.com>
11             H.J. Lu  <hjl.tools@gmail.com>
13         PR target/113855
14         * config/i386/heap-trampoline.c (trampoline_insns): Add IBT
15         support and pad to the multiple of 4 bytes.  Use movabsq
16         instead of movabs in comments.  Add -mx32 variant.
18 2024-02-13  Jakub Jelinek  <jakub@redhat.com>
20         * soft-fp/bitint.h (FP_FROM_BITINT): If iprec < 0 and msb is all ones,
21         just set n to 1 instead of using __builtin_clzll (~msb).
23 2024-02-12  Iain Sandoe  <iain@sandoe.co.uk>
25         PR target/113855
26         * config.host: Add trampoline support to x?86-linux.
27         * config/i386/heap-trampoline.c (trampoline_insns): Provide
28         a variant for IA32.
29         (union ix86_trampoline): Likewise.
30         (__gcc_nested_func_ptr_created): Implement a basic trampoline
31         for IA32.
33 2024-02-10  Jakub Jelinek  <jakub@redhat.com>
35         * soft-fp/floatbitintdd.c (__bid_floatbitintdd): Or in all remainder
36         limbs into inexact rather than just first two.
37         * soft-fp/floatbitintsd.c (__bid_floatbitintsd): Likewise.
38         * soft-fp/floatbitinttd.c (__bid_floatbitinttd): Likewise.
40 2024-02-10  Jakub Jelinek  <jakub@redhat.com>
42         * soft-fp/fixddbitint.c (__bid_fixddbitint): Fix up
43         BIL_TYPE_SIZE == 32 shifts.
44         * soft-fp/fixsdbitint.c (__bid_fixsdbitint): Likewise.
45         * soft-fp/fixtdbitint.c (__bid_fixtdbitint): Likewise.
46         * soft-fp/floatbitintdd.c (__bid_floatbitintdd): Likewise.
47         * soft-fp/floatbitinttd.c (__bid_floatbitinttd): Likewise.
49 2024-02-09  Iain Sandoe  <iain@sandoe.co.uk>
51         * config/i386/libgcc-darwin.ver: Export bf and bitint-related
52         synbols.
54 2024-02-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
56         PR target/113700
57         * config/i386/libgcc-sol2.ver (GCC_14.0.0): Added all symbols from
58         i386/libgcc-glibc.ver (GCC_12.0.0, GCC_13.0.0, GCC_14.0.0).
59         * config/i386/libgcc-glibc.ver: Request notifications on updates.
61 2024-02-06  Matteo Italia  <matteo@mitalia.net>
63         PR libgcc/113337
64         * unwind-seh.c (_Unwind_Resume_or_Rethrow): forward
65         _Unwind_RaiseException return code back to caller instead of
66         calling abort, allowing __cxa_rethrow to invoke std::terminate
67         in case of uncaught rethrown exception
69 2024-02-02  Jakub Jelinek  <jakub@redhat.com>
71         PR libgcc/113604
72         * libgcc2.c (__divmodbitint4): If uv1 >= vv1, subtract
73         vv1 from uv1:uv0 once or twice as needed, rather than
74         subtracting vv1:vv1.
76 2024-02-02  Khem Raj  <raj.khem@gmail.com>
78         * config/i386/enable-execute-stack-mingw32.c: Include
79         stdlib.h for abort() definition.
81 2024-02-02  Jakub Jelinek  <jakub@redhat.com>
83         PR target/113700
84         * config/i386/libgcc-glibc.ver (GCC_14.0.0): Remove __PFX prefixes
85         from symbol names.
87 2024-02-01  Jakub Jelinek  <jakub@redhat.com>
89         PR libgcc/113402
90         * libgcc2.h (__gcc_nested_func_ptr_created): Change type of last
91         argument from void ** to void *.
92         * config/i386/heap-trampoline.c (__gcc_nested_func_ptr_created):
93         Change type of dst from void ** to void * and cast dst to void **
94         before dereferencing it.
95         * config/aarch64/heap-trampoline.c (__gcc_nested_func_ptr_created):
96         Likewise.
98 2024-02-01  Jakub Jelinek  <jakub@redhat.com>
100         PR libgcc/113403
101         * config/i386/t-heap-trampoline: Add to LIB2ADDEHSHARED
102         i386/heap-trampoline.c rather than aarch64/heap-trampoline.c.
104 2024-02-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
106         * config/aarch64/crti.S: Remove stack marking.
107         * config/aarch64/crtn.S: Remove stack marking, include aarch64-asm.h
108         * config/aarch64/lse.S: Remove stack and GNU property markings.
110 2024-01-30  Iain Sandoe  <iain@sandoe.co.uk>
112         PR libgcc/113403
113         * config.host: Build libheap_t.a for i686/x86_64 Darwin.
114         * config/aarch64/heap-trampoline.c (HEAP_T_ATTR): New.
115         (allocate_tramp_ctrl): Allow a target to build this as a weak def.
116         (__gcc_nested_func_ptr_created): Likewise.
117         * config/i386/heap-trampoline.c (HEAP_T_ATTR): New.
118         (allocate_tramp_ctrl): Allow a target to build this as a weak def.
119         (__gcc_nested_func_ptr_created): Likewise.
120         * config/t-darwin: Build libheap_t.a (a CRT with heap trampoline
121         support).
123 2024-01-30  Iain Sandoe  <iain@sandoe.co.uk>
125         PR libgcc/113403
126         * config/aarch64/t-heap-trampoline: Move the heap trampoline
127         support functions from libgcc.a to libgcc_eh.a.
128         * config/i386/t-heap-trampoline: Likewise.
130 2024-01-28  Iain Sandoe  <iain@sandoe.co.uk>
131             Jakub Jelinek   <jakub@redhat.com>
133         PR libgcc/113402
134         * config/aarch64/heap-trampoline.c: Rename
135         __builtin_nested_func_ptr_created to __gcc_nested_func_ptr_created and
136         __builtin_nested_func_ptr_deleted to __gcc_nested_func_ptr_deleted.
137         * config/i386/heap-trampoline.c: Likewise.
138         * libgcc2.h: Likewise.
139         * libgcc-std.ver.in (GCC_7.0.0): Likewise and then move
140         __gcc_nested_func_ptr_created and
141         __gcc_nested_func_ptr_deleted from this symbol version to ...
142         (GCC_14.0.0): ... this one.
144 2024-01-26  Andrew Stubbs  <ams@baylibre.com>
146         * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Handle RDNA3.
148 2024-01-23  Zac Walker  <zacwalker@microsoft.com>
150         * config/aarch64/aarch64-asm.h (HIDDEN, SYMBOL_SIZE, SYMBOL_TYPE)
151         (ENTRY_ALIGN, GNU_PROPERTY): New macros.
152         * config/aarch64/__arm_sme_state.S: Use them.
153         * config/aarch64/__arm_tpidr2_save.S: Likewise.
154         * config/aarch64/__arm_za_disable.S: Likewise.
155         * config/aarch64/crti.S: Likewise.
156         * config/aarch64/lse.S: Likewise.
158 2024-01-12  Jakub Jelinek  <jakub@redhat.com>
160         * libgcc2.h (UBILtype): New typedef with may_alias attribute.
161         (__mulbitint3, __divmodbitint4): Use UBILtype * instead of
162         UWtype * and const UBILtype * instead of const UWtype *.
163         * libgcc2.c (bitint_reduce_prec, bitint_mul_1, bitint_addmul_1,
164         __mulbitint3, bitint_negate, bitint_submul_1, __divmodbitint4):
165         Likewise.
166         * soft-fp/bitint.h (UBILtype): Change define into a typedef with
167         may_alias attribute.
169 2024-01-12  Sandra Loosemore  <sandra@codesourcery.com>
171         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Do not try to use
172         _dl_find_object on nios2; it doesn't work.
174 2023-12-23  Thomas Schwinge  <thomas@codesourcery.com>
176         * c++-minimal/README: New.
177         * c++-minimal/guard.c: New.
178         * config/gcn/t-amdgcn (LIB2ADD): Add it.
179         * config/nvptx/t-nvptx (LIB2ADD): Likewise.
181 2023-12-20  Alexandre Oliva  <oliva@adacore.com>
183         PR middle-end/112917
184         * config.host (sparc, sparc64): Enable...
185         * config/sparc/t-sparc: ... this new fragment.
187 2023-12-20  Alexandre Oliva  <oliva@adacore.com>
189         * strub.c (ATTRIBUTE_NOINLINE): New.
190         (ATTRIBUTE_STRUB_CALLABLE): Add it.
191         (__strub_dummy_force_no_leaf): Drop it.
193 2023-12-16  Andrew Carlotti  <andrew.carlotti@arm.com>
195         * config/aarch64/cpuinfo.c (enum CPUFeatures): Move to shared
196         copy in gcc/common
198 2023-12-16  Andrew Carlotti  <andrew.carlotti@arm.com>
199             Pavel Iliin  <Pavel.Iliin@arm.com>
201         * config/aarch64/t-aarch64: Include cpuinfo.c
202         * config/aarch64/cpuinfo.c: New file
203         (__init_cpu_features_constructor) New.
204         (__init_cpu_features_resolver) New.
205         (__init_cpu_features) New.
207 2023-12-11  Lipeng Zhu  <lipeng.zhu@intel.com>
209         * gthr-posix.h (__GTHREAD_RWLOCK_INIT): New macro.
210         (__gthrw): New function.
211         (__gthread_rwlock_rdlock): New function.
212         (__gthread_rwlock_tryrdlock): New function.
213         (__gthread_rwlock_wrlock): New function.
214         (__gthread_rwlock_trywrlock): New function.
215         (__gthread_rwlock_unlock): New function.
217 2023-12-08  Florian Weimer  <fweimer@redhat.com>
219         * libgcov-interface.c (__gcov_fork): Use __builtin_fork instead
220         of fork.
222 2023-12-08  Szabolcs Nagy  <szabolcs.nagy@arm.com>
224         * config.in: Regenerate.
226 2023-12-08  Szabolcs Nagy  <szabolcs.nagy@arm.com>
228         * config/aarch64/__arm_za_disable.S: Add hidden alias.
229         * config/aarch64/aarch64-unwind.h: Reset the SME state before
230         EH return via the _Unwind_Frames_Extra hook.
232 2023-12-08  Szabolcs Nagy  <szabolcs.nagy@arm.com>
234         * config/aarch64/t-aarch64: Add sources to the build.
235         * config/aarch64/__aarch64_have_sme.c: New file.
236         * config/aarch64/__arm_sme_state.S: New file.
237         * config/aarch64/__arm_tpidr2_restore.S: New file.
238         * config/aarch64/__arm_tpidr2_save.S: New file.
239         * config/aarch64/__arm_za_disable.S: New file.
240         * config/aarch64/aarch64-asm.h: New file.
241         * config/aarch64/libgcc-sme.ver: New file.
243 2023-12-08  Szabolcs Nagy  <szabolcs.nagy@arm.com>
245         * config.in: Undef HAVE___GETAUXVAL.
246         * configure: Regenerate.
247         * configure.ac: Check for __getauxval.
249 2023-12-08  Szabolcs Nagy  <szabolcs.nagy@arm.com>
251         * config.in: Undef HAVE_AS_VARIANT_PCS.
252         * configure: Regenerate.
253         * configure.ac: Check for .variant_pcs.
255 2023-12-07  Alexandre Oliva  <oliva@adacore.com>
257         * configure.ac: Check for strub support.
258         * configure: Rebuilt.
259         * Makefile.in: Compile strub.c conditionally.
261 2023-12-06  Thomas Schwinge  <thomas@codesourcery.com>
262             Jakub Jelinek  <jakub@redhat.com>
264         PR libgcc/109289
265         * emutls.c: Add GCC diagnostic ignored "-Wbuiltin-declaration-mismatch"
266         pragma.
268 2023-12-06  Alexandre Oliva  <oliva@adacore.com>
270         * Makefile.in (LIB2ADD): Add strub.c.
271         * libgcc2.h (__strub_enter, __strub_update, __strub_leave):
272         Declare.
273         * strub.c: New.
274         * libgcc-std.ver.in (__strub_enter): Add to GCC_14.0.0.
275         (__strub_update, __strub_leave): Likewise.
277 2023-12-03  Jeff Law  <jlaw@ventanamicro.com>
279         * unwind-pe.h (_Unwind_gnu_Find_got): Add prototype.
281 2023-12-03  Jeff Law  <jlaw@ventanamicro.com>
283         * config/rx/rx-abi-functions.c (__ltdf2, __gtdf2): Add prototype.
284         (__ledf2, __gedf2, __eqdf2, __nedf2): Likewise.
285         (__ltsf2, __gtsf2, __lesf2, __gesf2, __eqsf2, __nesf2): Likewise.
287 2023-12-03  Jeff Law  <jlaw@ventanamicro.com>
289         * config/frv/frvbegin.c (atexit): Add prototype.
291 2023-12-01  Alexandre Oliva  <oliva@adacore.com>
293         * libgcc-std.ver.in (__hardcfr_check): Add to GCC_14.0.0.
295 2023-12-01  Sebastian Huber  <sebastian.huber@embedded-brains.de>
297         PR target/112777
298         * libgcov.h (GCOV_SUPPORTS_ATOMIC):  Honor that __LIBGCC_HAVE_LIBATOMIC is
299         always defined as either 0 or 1.
301 2023-12-01  Florian Weimer  <fweimer@redhat.com>
303         * config/aarch64/linux-unwind.h
304         (aarch64_fallback_frame_state): Add cast to the expected type
305         in sc assignment.
307 2023-11-30  Wilco Dijkstra  <wilco.dijkstra@arm.com>
309         PR target/111404
310         * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Execute STLXP using
311         either new value or loaded value.
313 2023-11-27  Richard Earnshaw  <rearnsha@arm.com>
315         * config/arm/lib1funcs.S (__sync_synchronize): Adjust warning message.
317 2023-11-24  Richard Earnshaw  <rearnsha@arm.com>
319         * config.host (arm*-*-eabi* | arm*-*-rtems*):
320         Add arm/t-sync to the makefile rules.
321         * config/arm/lib1funcs.S (__sync_synchronize_none)
322         (__sync_synchronize_cp15dmb, __sync_synchronize_dmb)
323         (__sync_synchronize): New functions.
324         * config/arm/t-sync: New file.
325         * config/arm/sync-none.specs: Likewise.
326         * config/arm/sync-dmb.specs: Likewise.
327         * config/arm/sync-cp15dmb.specs: Likewise.
329 2023-11-23  Jose E. Marchesi  <jose.marchesi@oracle.com>
331         * hardcfr.c (__hardcfr_check_fail): Mark as always_inline.
333 2023-11-21  Jakub Jelinek  <jakub@redhat.com>
335         * libgcov.h (GCOV_SUPPORTS_ATOMIC): Formatting fixes.
337 2023-11-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
339         * libgcov.h (GCOV_SUPPORTS_ATOMIC): Always define it.
340         Set it also to 1, if __LIBGCC_HAVE_LIBATOMIC is defined.
342 2023-11-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
344         Revert:
345         2023-11-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
347         * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
348         (gcov_type_unsigned): Likewise.
350 2023-11-10  Keith Packard  <keithp@keithp.com>
352         * config/m68k/lb1sf68.S (__adddf3): Properly check for non-zero denorm.
353         (__divdf3): Restore sign bit properly.
354         (__addsf3): Correct exponent check.
355         * config/m68k/fpgnulib.c (EXPMASK): Define.
356         (__extendsfdf2): Handle Inf and NaN properly.
357         (__truncdfsf2): Handle underflow and overflow correctly.
358         (__extenddfxf2): Handle underflow, denorms, Inf and NaN correctly.
359         (__truncxfdf2): Handle underflow and denorms correctly.
360         (__fixxfsi): Reimplement.
362 2023-11-09  Jakub Jelinek  <jakub@redhat.com>
364         PR libgcc/65833
365         * config/t-softfp (softfp_bid_list): Add
366         {U,}TItype <-> _Decimal{32,64,128} conversions.
367         * soft-fp/floattisd.c: New file.
368         * soft-fp/floattidd.c: New file.
369         * soft-fp/floattitd.c: New file.
370         * soft-fp/floatuntisd.c: New file.
371         * soft-fp/floatuntidd.c: New file.
372         * soft-fp/floatuntitd.c: New file.
373         * soft-fp/fixsdti.c: New file.
374         * soft-fp/fixddti.c: New file.
375         * soft-fp/fixtdti.c: New file.
376         * soft-fp/fixunssdti.c: New file.
377         * soft-fp/fixunsddti.c: New file.
378         * soft-fp/fixunstdti.c: New file.
380 2023-11-07  Kwok Cheung Yeung  <kcy@codesourcery.com>
382         * offloadstuff.c (OFFLOAD_IND_FUNC_TABLE_SECTION_NAME): New.
383         (__offload_ind_func_table): New.
384         (__offload_ind_funcs_end): New.
385         (__OFFLOAD_TABLE__): Add entries for indirect functions.
387 2023-11-03  Thomas Schwinge  <thomas@codesourcery.com>
389         * config/gcn/gthr-gcn.h (__gthread_getspecific): 's%NULL%0'.
391 2023-10-31  Alexandre Oliva  <oliva@adacore.com>
393         * hardcfr.c: Adjust copyright year.
395 2023-10-24  Sergei Trofimovich  <siarheit@google.com>
397         * config/aarch64/heap-trampoline.c: Disable when libc is not
398         present.
399         * config/i386/heap-trampoline.c: Ditto.
401 2023-10-22  Iain Sandoe  <iain@sandoe.co.uk>
403         * config/t-slibgcc-darwin: Generate libgcc_s
404         with an @rpath name.
405         * config.host: Handle Darwin rpaths.
406         * config/t-darwin-rpath: New file.
408 2023-10-22  Andrew Burgess  <andrew.burgess@embecosm.com>
409             Maxim Blinov  <maxim.blinov@embecosm.com>
410             Iain Sandoe  <iain@sandoe.co.uk>
411             Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
413         * libgcc2.h (__builtin_nested_func_ptr_created): Declare.
414         (__builtin_nested_func_ptr_deleted): Declare.
415         * libgcc-std.ver.in: Add the new symbols.
416         * config/aarch64/heap-trampoline.c: Implement heap-based
417         trampolines for aarch64.
418         * config/aarch64/t-heap-trampoline: Add rule to build
419         config/aarch64/heap-trampoline.c
420         * config/i386/heap-trampoline.c: Implement heap-based
421         trampolines for x86_64.
422         * config/i386/t-heap-trampoline: Add rule to build
423         config/i386/heap-trampoline.cc
424         * config.host: Handle --enable-heap-trampolines on
425         x86_64-*-linux*, aarch64-*-linux*, x86_64-*-darwin*.
427 2023-10-20  Andrew Stubbs  <ams@codesourcery.com>
429         * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Set false for __RDNA2__.
431 2023-10-20  Alexandre Oliva  <oliva@adacore.com>
433         * Makefile.in (LIB2ADD): Add hardcfr.c.
434         * hardcfr.c: New.
436 2023-10-13  Florian Weimer  <fweimer@redhat.com>
438         * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Add
439         missing cast.
441 2023-10-13  Florian Weimer  <fweimer@redhat.com>
443         * config/arc/linux-unwind.h (arc_fallback_frame_state): Add
444         missing cast.
446 2023-10-13  Florian Weimer  <fweimer@redhat.com>
448         * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Add
449         missing cast.
451 2023-10-13  Florian Weimer  <fweimer@redhat.com>
453         * config/csky/linux-unwind.h (csky_fallback_frame_state): Add
454         missing cast.
456 2023-10-13  Florian Weimer  <fweimer@redhat.com>
458         * config/m68k/fpgnulib.c (__cmpdf2): Declare.
460 2023-09-26  Wilco Dijkstra  <wilco.dijkstra@arm.com>
462         * config/aarch64/lse.S (BTI_C): Remove define.
464 2023-09-20  Pekka Seppänen  <pexu@gcc.mail.kapsi.fi>
466         * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key):
467         Use const unsigned type and a builtin.
469 2023-09-06  Jakub Jelinek  <jakub@redhat.com>
471         PR c/102989
472         * libgcc2.c (bitint_negate): Add function comment.
473         * soft-fp/bitint.h (bitint_negate): Add function comment.
474         (FP_TO_BITINT, FP_FROM_BITINT): Add comment explaining the macros.
476 2023-09-06  Jakub Jelinek  <jakub@redhat.com>
478         PR c/102989
479         * config/aarch64/t-softfp (softfp_extras): Use += rather than :=.
480         * config/i386/64/t-softfp (softfp_extras): Likewise.
481         * config/i386/libgcc-glibc.ver (GCC_14.0.0): Export _BitInt support
482         routines.
483         * config/i386/t-softfp (softfp_extras): Add fixxfbitint and
484         bf, hf and xf mode floatbitint.
485         (CFLAGS-floatbitintbf.c, CFLAGS-floatbitinthf.c): Add -msse2.
486         * config/riscv/t-softfp32 (softfp_extras): Use += rather than :=.
487         * config/rs6000/t-e500v1-fp (softfp_extras): Likewise.
488         * config/rs6000/t-e500v2-fp (softfp_extras): Likewise.
489         * config/t-softfp (softfp_floatbitint_funcs): New.
490         (softfp_bid_list): New.
491         (softfp_func_list): Add sf and df mode from and to _BitInt libcalls.
492         (softfp_bid_file_list): New.
493         (LIB2ADD_ST): Add $(softfp_bid_file_list).
494         * config/t-softfp-sfdftf (softfp_extras): Add fixtfbitint and
495         floatbitinttf.
496         * config/t-softfp-tf (softfp_extras): Likewise.
497         * libgcc2.c (bitint_reduce_prec): New inline function.
498         (BITINT_INC, BITINT_END): Define.
499         (bitint_mul_1, bitint_addmul_1): New helper functions.
500         (__mulbitint3): New function.
501         (bitint_negate, bitint_submul_1): New helper functions.
502         (__divmodbitint4): New function.
503         * libgcc2.h (LIBGCC2_UNITS_PER_WORD): When building _BitInt support
504         libcalls, redefine depending on __LIBGCC_BITINT_LIMB_WIDTH__.
505         (__mulbitint3, __divmodbitint4): Declare.
506         * libgcc-std.ver.in (GCC_14.0.0): Export _BitInt support routines.
507         * Makefile.in (lib2funcs): Add _mulbitint3.
508         (LIB2_DIVMOD_FUNCS): Add _divmodbitint4.
509         * soft-fp/bitint.h: New file.
510         * soft-fp/fixdfbitint.c: New file.
511         * soft-fp/fixsfbitint.c: New file.
512         * soft-fp/fixtfbitint.c: New file.
513         * soft-fp/fixxfbitint.c: New file.
514         * soft-fp/floatbitintbf.c: New file.
515         * soft-fp/floatbitintdf.c: New file.
516         * soft-fp/floatbitinthf.c: New file.
517         * soft-fp/floatbitintsf.c: New file.
518         * soft-fp/floatbitinttf.c: New file.
519         * soft-fp/floatbitintxf.c: New file.
520         * soft-fp/op-common.h (_FP_FROM_INT): Add support for rsize up to
521         4 * _FP_W_TYPE_SIZE rather than just 2 * _FP_W_TYPE_SIZE.
522         * soft-fp/bitintpow10.c: New file.
523         * soft-fp/fixsdbitint.c: New file.
524         * soft-fp/fixddbitint.c: New file.
525         * soft-fp/fixtdbitint.c: New file.
526         * soft-fp/floatbitintsd.c: New file.
527         * soft-fp/floatbitintdd.c: New file.
528         * soft-fp/floatbitinttd.c: New file.
530 2023-09-06  Jakub Jelinek  <jakub@redhat.com>
532         PR c/102989
533         * soft-fp/bitintpow10.h: New file.
535 2023-09-05  Yang Yujie  <yangyujie@loongson.cn>
537         * config.host: add loongarch*-elf target.
539 2023-08-11  Thomas Neumann  <thomas.neumann@in.tum.de>
541         PR libgcc/110956
542         * unwind-dw2-fde.c: Associate object with address of unwinding
543         table.
545 2023-08-07  John Ericson  <git@JohnEricson.me>
547         * configure: Regenerate.
549 2023-08-07  Alan Modra  <amodra@gmail.com>
551         * configure: Regenerate.
553 2023-07-23  Andrew Pinski  <apinski@marvell.com>
555         * config.host (riscv*-*-linux*): Add t-crtstuff to tmake_file.
556         (riscv*-*-freebsd*): Likewise.
557         * config/riscv/t-crtstuff: New file.
559 2023-07-19  liuhongt  <hongtao.liu@intel.com>
561         * config/i386/t-softfp: Add -msse2 to libbid HFtype related
562         files.
564 2023-07-11  Florian Weimer  <fweimer@redhat.com>
566         PR libgcc/110179
567         * unwind-dw2-fde-dip.c (find_fde_tail): Add cast to avoid
568         implicit conversion of pointer value to integer.
570 2023-07-06  Kito Cheng  <kito.cheng@sifive.com>
572         * config/riscv/sfp-machine.h (FP_INIT_ROUNDMODE): Check zfinx.
573         (FP_HANDLE_EXCEPTIONS): Ditto.
575 2023-06-19  Andrew Stubbs  <ams@codesourcery.com>
577         * config/gcn/lib2-divmod-di.c: Reimplement like lib2-divmod.c.
578         * config/gcn/lib2-divmod.c: Likewise.
579         * config/gcn/lib2-gcn.h: Add new types and prototypes for all the
580         new vector libfuncs.
581         * config/gcn/t-amdgcn: Add new files.
582         * config/gcn/amdgcn_veclib.h: New file.
583         * config/gcn/lib2-vec_divmod-di.c: New file.
584         * config/gcn/lib2-vec_divmod-hi.c: New file.
585         * config/gcn/lib2-vec_divmod-qi.c: New file.
586         * config/gcn/lib2-vec_divmod.c: New file.
588 2023-06-19  Andrew Stubbs  <ams@codesourcery.com>
590         * config/gcn/lib2-gcn.h (QItype, UQItype, HItype, UHItype): Delete.
591         (__divhi3, __modhi3, __udivhi3, __umodhi3): Delete.
592         * config/gcn/t-amdgcn: Don't build lib2-divmod-hi.c.
593         * config/gcn/lib2-divmod-hi.c: Removed.
595 2023-06-07  Florian Weimer  <fweimer@redhat.com>
597         PR libgcc/109712
598         * unwind-dw2-fde-dip.c (find_fde_tail): Correct fast path for
599         parsing eh_frame.
601 2023-06-05  Kewen Lin  <linkw@linux.ibm.com>
603         * config/i386/morestack.S: Use @init_array rather than
604         @progbits for section type of section .init_array.
605         * config/rs6000/morestack.S: Likewise.
606         * config/s390/morestack.S: Likewise.
608 2023-06-05  YunQiang Su  <yunqiang.su@cipunited.com>
610         * config/mips/lib1funcs.S: New file.
611         define __speculation_barrier and include mips16.S.
612         * config/mips/t-mips: define LIB1ASMSRC as mips/lib1funcs.S.
613         define LIB1ASMFUNCS as _speculation_barrier.
614         set version info for __speculation_barrier.
615         * config/mips/libgcc-mips.ver: New file.
616         * config/mips/t-mips16: don't define LIB1ASMSRC as mips16.S
617         included in lib1funcs.S now.
619 2023-06-03  Thomas Neumann  <tneumann@users.sourceforge.net>
621         PR libgcc/109670
622         * unwind-dw2-fde.c: Fix radix sort buffer management.
624 2023-06-03  Thomas Neumann  <tneumann@users.sourceforge.net>
626         PR libgcc/109685
627         * unwind-dw2-fde.c: Free sort array in atomic fast path.
629 2023-05-19  Iain Sandoe  <iain@sandoe.co.uk>
631         * config.host: Arrange to set min Darwin OS versions from
632         the configured host version.
633         * config/darwin10-unwind-find-enc-func.c: Do not use current
634         headers, but declare the nexessary structures locally to the
635         versions in use for Mac OSX 10.6.
636         * config/t-darwin: Amend to handle configured min OS
637         versions.
638         * config/t-darwin-min-1: New.
639         * config/t-darwin-min-5: New.
640         * config/t-darwin-min-8: New.
642 2023-05-15  Thomas Neumann  <tneumann@users.sourceforge.net>
644         * unwind-dw2-fde.c: Fix assert in non-atomic path.
646 2023-05-15  Sören Tempel  <soeren+git@soeren-tempel.net>
648         * unwind-dw2-fde.c: Accept empty ranges when deregistering frames.
650 2023-05-02  Patrick O'Neill  <patrick@rivosinc.com>
652         * config/riscv/atomic.c: Change LR.aq/SC.rl pairs into
653         sequentially consistent LR.aqrl/SC.rl pairs.
655 2023-05-01  Dimitar Dimitrov  <dimitar@dinux.eu>
657         * config/pru/t-pru (HOST_LIBGCC2_CFLAGS): Add
658         -DTARGET_HAS_NO_HW_DIVIDE.
660 2023-04-27  Hans-Peter Nilsson  <hp@axis.com>
662         * config/cris/t-cris (HOST_LIBGCC2_CFLAGS): Add
663         -DTARGET_HAS_NO_HW_DIVIDE.
665 2023-04-26  Patrick O'Neill  <patrick@rivosinc.com>
667         PR target/104338
668         * config/riscv/atomic.c: Add reference to duplicate logic.
670 2023-04-08  Tetsuma Hoshino  <t-hoshino@pony-e.jp>
672         PR target/109402
673         * config/v850/lib1funcs.S (___muldi3): Remove unnecessary
674         stack manipulations.
676 2023-04-05  John David Anglin  <danglin@gcc.gnu.org>
678         PR target/109374
679         * config/pa/milli64.S (RETURN_COLUMN): Define.
680         ($$divI): Add CFI directives.
681         ($$divU): Likewise.
682         ($$remI): Likewise.
683         ($$remU): Likewise.
685 2023-03-19  Stafford Horne  <shorne@gmail.com>
687         * config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
688         statement clearing existing exceptions.
690 2023-03-13  Max Filippov  <jcmvbkbc@gmail.com>
692         * config/xtensa/crti.S: Add .note.GNU-stack section on linux.
693         * config/xtensa/crtn.S: Likewise.
694         * config/xtensa/lib1funcs.S: Likewise.
695         * config/xtensa/lib2funcs.S: Likewise.
697 2023-03-12  Jakub Jelinek  <jakub@redhat.com>
699         * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
700         (softfp_truncations): Add tfbf dfbf sfbf hfbf.
701         (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
702         * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
703         __extendbfsf2 and __trunc{s,d,t,h}fbf2.
704         * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
705         * soft-fp/floatundibf.c: New file.
706         * soft-fp/floatdibf.c: New file.
708 2023-03-10  Jakub Jelinek  <jakub@redhat.com>
710         PR target/107703
711         * soft-fp/floattibf.c: New file.
712         * soft-fp/floatuntibf.c: New file.
713         * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
714         * config/i386/64/t-softfp (softfp_extras): Add floattibf and
715         floatuntibf.
716         (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
718 2023-03-08  Kewen Lin  <linkw@linux.ibm.com>
720         PR libgcc/108727
721         * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
722         bump size.
724 2023-03-06   Michael Meissner  <meissner@linux.ibm.com>
726         PR target/107299
727         * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
728         whether long double is IBM or IEEE.
729         (INFINITY): Likewise.
730         (FABS): Likewise.
731         * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
732         (INFINITY): Likewise.
733         * config/rs6000/quad-float128.h (TF): Remove definition.
734         (TFtype): Define to be long double or _Float128.
735         (TCtype): Define to be _Complex long double or _Complex _Float128.
736         * libgcc2.h (TFtype): Allow machine config files to override this.
737         (TCtype): Likewise.
738         * soft-fp/quad.h (TFtype): Likewise.
740 2023-02-13  Kito Cheng  <kito.cheng@sifive.com>
742         * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
743         * config/riscv/value-unwind.h: New.
745 2023-02-03  Christophe Lyon  <christophe.lyon@arm.com>
747         * config/arm/pr-support.c (__gnu_unwind_execute): Use
748         TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
750 2023-01-30  Flavio Cruz  <flaviocruz@gmail.com>
752         * config.host: Recognize x86_64-*-gnu* targets.
753         * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
754         TODO for now.
756 2023-01-23  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
758         * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
759         "0xb5".
761 2023-01-23  Andrea Corallo  <andrea.corallo@arm.com>
762             Tejas Belagod   <tbelagod@arm.com>
763             Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
765         * config/arm/pr-support.c (__gnu_unwind_execute): Decode
766         exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
767         with AUTG if found.
768         * config/arm/unwind-arm.c (struct pseudo_regs): New.
769         (phase1_vrs): Introduce new field to store pseudo-reg state.
770         (phase2_vrs): Likewise.
771         (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
772         (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
773         (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
775 2023-01-18  Wilco Dijkstra  <wilco.dijkstra@arm.com>
777         PR target/107678
778         * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
779         * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
780         * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
781         encode the return address signing state.
782         * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
783         Check current return address signing state.
784         (aarch64_frob_update_contex): Remove.
786 2023-01-13  John David Anglin  <danglin@gcc.gnu.org>
788         * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
789         pa/t-pa64-linux.
790         (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
791         instead of pa/t-hpux and pa/t-pa64.
792         * config/pa/linux-atomic.c: Define u32 type.
793         (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
794         atomic_load_2, atomic_load_4 and atomic_load_8.  Update sync
795         defines to use atomic_load calls for type.
796         (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
797         * config/pa/sync-libfuncs.c: New file.
798         * config/pa/t-netbsd (LIB2ADD_ST): Define.
799         * config/pa/t-openbsd (LIB2ADD_ST): Define.
800         * config/pa/t-pa64-hpux: New file.
801         * config/pa/t-pa64-linux: New file.
803 2023-01-13  Jonathan Wakely  <jwakely@redhat.com>
805         PR libstdc++/108331
806         * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
807         struct matching the previous __gthread_mutex_t struct.
808         (__GTHREAD_LEGACY_MUTEX_T): Define.
810 2023-01-13  Seija Kijin  <doremylover456@gmail.com>
812         * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
813         unified syntax.
815 2023-01-07  LIU Hao  <lh_mouse@126.com>
817         PR middle-end/108300
818         * config/i386/enable-execute-stack-mingw32.c: Define
819         `WIN32_LEAN_AND_MEAN` before <windows.h>.
820         * libgcc2.c: Likewise.
821         * unwind-generic.h: Likewise.
823 2023-01-03  Florian Weimer  <fweimer@redhat.com>
825         * unwind-dw2-execute_cfa.h: New file.  Extracted from
826         the execute_cfa_program function in unwind-dw2.c.
827         * unwind-dw2.c (execute_cfa_program_generic): New function.
828         (execute_cfa_program_specialized): Likewise.
829         (execute_cfa_program): Call execute_cfa_program_specialized
830         or execute_cfa_program_generic, as appropriate.
832 2023-01-03  Florian Weimer  <fweimer@redhat.com>
834         Revert:
835         2023-01-03  Florian Weimer  <fweimer@redhat.com>
837         * unwind-dw2.c (dwarf_reg_size): New function.
838         (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
839         (_Unwind_SetSpColumn, uw_install_context_1): Use it.
840         (uw_init_context_1): Do not initialize dwarf_reg_size_table
841         if not in use.
843 2023-01-03  Florian Weimer  <fweimer@redhat.com>
845         Revert:
846         2023-01-03  Florian Weimer  <fweimer@redhat.com>
848         * unwind-dw2-execute_cfa.h: New file.  Extracted from
849         the execute_cfa_program function in unwind-dw2.c.
850         * unwind-dw2.c (execute_cfa_program_generic): New function.
851         (execute_cfa_program_specialized): Likewise.
852         (execute_cfa_program): Call execute_cfa_program_specialized
853         or execute_cfa_program_generic, as appropriate.
855 2023-01-02  Florian Weimer  <fweimer@redhat.com>
857         * unwind-dw2-execute_cfa.h: New file.  Extracted from
858         the execute_cfa_program function in unwind-dw2.c.
859         * unwind-dw2.c (execute_cfa_program_generic): New function.
860         (execute_cfa_program_specialized): Likewise.
861         (execute_cfa_program): Call execute_cfa_program_specialized
862         or execute_cfa_program_generic, as appropriate.
864 2023-01-02  Florian Weimer  <fweimer@redhat.com>
866         * unwind-dw2.c (dwarf_reg_size): New function.
867         (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
868         (_Unwind_SetSpColumn, uw_install_context_1): Use it.
869         (uw_init_context_1): Do not initialize dwarf_reg_size_table
870         if not in use.
872 2022-12-25  Jonathan Yong  <10walls@gmail.com>
874         * config/i386/gthr-win32.h: undef CC_NONE
876 2022-12-24  Iain Sandoe  <iain@sandoe.co.uk>
878         * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
879         install of libgcc_s.1.dylib when the installation is into the build
880         gcc directory.
882 2022-12-23  Eric Botcazou  <ebotcazou@adacore.com>
884         * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
885         as well as new i386/t-slibgcc-mingw fragment.
886         (x86_64-*-mingw*): Likewise.
887         * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
888         both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
889         Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
890         Include stdlib.h instead of errno.h and do not include _mingw.h.
891         (CONST_CAST2): Add specific definition for C++.
892         (ATTRIBUTE_UNUSED): New macro.
893         (__UNUSED_PARAM): Delete.
894         Define WIN32_LEAN_AND_MEAN before including windows.h.
895         (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
896         (__gthread_objc_init_thread_system): Likewise.
897         (__gthread_objc_thread_get_data): Minor tweak.
898         (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
899         (__gthread_objc_condition_deallocate): Likewise.
900         (__gthread_objc_condition_wait): Likewise.
901         (__gthread_objc_condition_broadcast): Likewise.
902         (__gthread_objc_condition_signal): Likewise.
903         Include sys/time.h.
904         (__gthr_win32_DWORD): New typedef.
905         (__gthr_win32_HANDLE): Likewise.
906         (__gthr_win32_CRITICAL_SECTION): Likewise.
907         (__gthr_win32_CONDITION_VARIABLE): Likewise.
908         (__gthread_t): Adjust.
909         (__gthread_key_t): Likewise.
910         (__gthread_mutex_t): Likewise.
911         (__gthread_recursive_mutex_t): Likewise.
912         (__gthread_cond_t): New typedef.
913         (__gthread_time_t): Likewise.
914         (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
915         (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
916         (__GTHREAD_COND_INIT_FUNCTION): Define.
917         (__GTHREAD_TIME_INIT): Likewise.
918         (__gthr_i486_lock_cmp_xchg): Delete.
919         (__gthr_win32_create): Declare.
920         (__gthr_win32_join): Likewise.
921         (__gthr_win32_self): Likewise.
922         (__gthr_win32_detach): Likewise.
923         (__gthr_win32_equal): Likewise.
924         (__gthr_win32_yield): Likewise.
925         (__gthr_win32_mutex_destroy): Likewise.
926         (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
927         (__gthr_win32_cond_broadcast): Likewise.
928         (__gthr_win32_cond_signal): Likewise.
929         (__gthr_win32_cond_wait): Likewise.
930         (__gthr_win32_cond_timedwait): Likewise.
931         (__gthr_win32_recursive_mutex_init_function): Delete.
932         (__gthr_win32_recursive_mutex_lock): Likewise.
933         (__gthr_win32_recursive_mutex_unlock): Likewise.
934         (__gthr_win32_recursive_mutex_destroy): Likewise.
935         (__gthread_create): New inline function.
936         (__gthread_join): Likewise.
937         (__gthread_self): Likewise.
938         (__gthread_detach): Likewise.
939         (__gthread_equal): Likewise.
940         (__gthread_yield): Likewise.
941         (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
942         (__gthread_cond_broadcast): Likewise.
943         (__gthread_cond_signal): Likewise.
944         (__gthread_cond_wait): Likewise.
945         (__gthread_cond_timedwait): Likewise.
946         (__GTHREAD_WIN32_INLINE): New macro.
947         (__GTHREAD_WIN32_COND_INLINE): Likewise.
948         (__GTHREAD_WIN32_ACTIVE_P): Likewise.
949         Define WIN32_LEAN_AND_MEAN before including windows.h.
950         (__gthread_once): Minor tweaks.
951         (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
952         (__gthread_key_delete): Minor tweak.
953         (__gthread_getspecific): Likewise.
954         (__gthread_setspecific): Likewise.
955         (__gthread_mutex_init_function): Reimplement.
956         (__gthread_mutex_destroy): Likewise.
957         (__gthread_mutex_lock): Likewise.
958         (__gthread_mutex_trylock): Likewise.
959         (__gthread_mutex_unlock): Likewise.
960         (__gthr_win32_abs_to_rel_time): Declare.
961         (__gthread_recursive_mutex_init_function): Reimplement.
962         (__gthread_recursive_mutex_destroy): Likewise.
963         (__gthread_recursive_mutex_lock): Likewise.
964         (__gthread_recursive_mutex_trylock): Likewise.
965         (__gthread_recursive_mutex_unlock): Likewise.
966         (__gthread_cond_destroy): New inline function.
967         (__gthread_cond_wait_recursive): Likewise.
968         * config/i386/gthr-win32.c: Delete everything.
969         Include gthr-win32.h to get the out-of-line version of inline routines.
970         Add compile-time checks for the local version of the Win32 types.
971         * config/i386/gthr-win32-cond.c: New file.
972         * config/i386/gthr-win32-thread.c: Likewise.
973         * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
974         EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
975         the static version of libgcc.
976         * config/i386/t-slibgcc-mingw: New file.
977         * config/i386/libgcc-mingw.ver: Likewise.
979 2022-12-16  Thomas Neumann  <tneumann@users.sourceforge.net>
981         * unwind-dw2-fde.c: Initialize fde object lazily when
982         the first exception tries to pass through.
984 2022-12-16  Thomas Neumann  <tneumann@users.sourceforge.net>
986         * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
988 2022-12-08  Max Filippov  <jcmvbkbc@gmail.com>
990         * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
991         (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
992         (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
993         (XSHAL_ABI): Remove stray symbols from macro definitions.
995 2022-12-07  Max Filippov  <jcmvbkbc@gmail.com>
997         * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
998         xtensa-config-builtin.h.
999         * config/xtensa/crtn.S: Likewise.
1000         * config/xtensa/lib1funcs.S: Likewise.
1001         * config/xtensa/lib2funcs.S: Likewise.
1002         * config/xtensa/xtensa-config-builtin.h: New File.
1004 2022-11-04  Florian Weimer  <fweimer@redhat.com>
1006         * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
1007         values actually used by BFD ld.
1009 2022-10-23  LIU Hao  <lh_mouse@126.com>
1011         * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
1012         libobjc, instead of 'gthr.h'
1014 2022-10-19  LIU Hao  <lh_mouse@126.com>
1016         * config.host: Add new cases for `mcf` thread model
1017         * config/i386/gthr-mcf.h: New file
1018         * config/i386/t-mingw-mcfgthread: New file
1019         * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
1020         * configure: Regenerate
1022 2022-10-18  Jonathan Wakely  <jwakely@redhat.com>
1024         * Makefile.in: Quote variable.
1026 2022-10-17  H.J. Lu  <hjl.tools@gmail.com>
1028         * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
1029         argument.
1030         * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
1031         _Unwind_Frames_Increment.
1032         (_Unwind_ForcedUnwind_Phase2): Likewise.
1033         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1034         Take the EXC argument.  Return _URC_FATAL_PHASE2_ERROR if the
1035         return address on normal stack doesn't match the return address
1036         on shadow stack.
1038 2022-10-17  Florian Weimer  <fweimer@redhat.com>
1040         * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
1041         and reduce its size.
1043 2022-10-14  Jakub Jelinek  <jakub@redhat.com>
1045         * config/i386/t-softfp (softfp_extensions): Add bfsf.
1046         (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
1047         (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
1048         CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
1049         -msse2.
1050         * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
1051         __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
1052         * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
1053         * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
1054         * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
1055         * soft-fp/brain.h: New file.
1056         * soft-fp/truncsfbf2.c: New file.
1057         * soft-fp/truncdfbf2.c: New file.
1058         * soft-fp/truncxfbf2.c: New file.
1059         * soft-fp/trunctfbf2.c: New file.
1060         * soft-fp/trunchfbf2.c: New file.
1061         * soft-fp/truncbfhf2.c: New file.
1062         * soft-fp/extendbfsf2.c: New file.
1064 2022-10-12  Martin Liska  <mliska@suse.cz>
1066         * libgcov-driver.c: Use new function.
1067         * libgcov.h (gcov_write_summary): Rename to ...
1068         (gcov_write_object_summary): ... this.
1070 2022-10-11  Olivier Hainque  <hainque@adacore.com>
1072         * config.host (*vxworks*): When enable_shared, add
1073         libgcc and crtstuff "shared" fragments for rtp except
1074         large code model.
1075         (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
1076         the list of fragments.
1078 2022-10-06  Jakub Jelinek  <jakub@redhat.com>
1080         * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
1081         fs->regs.how[X] instead of fs->regs.reg[X].how.
1083 2022-10-06  Jakub Jelinek  <jakub@redhat.com>
1085         * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
1086         REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
1087         REG_UNDEFINED): New anonymous enum, moved from inside of
1088         struct frame_state_reg_info.
1089         (struct frame_state_reg_info): Remove reg[].how element and the
1090         anonymous enum there.  Add how element.
1091         * unwind-dw2.c: Include stddef.h.
1092         (uw_frame_state_for): Don't clear first
1093         offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
1094         (execute_cfa_program, __frame_state_for, uw_update_context_1,
1095         uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
1096         or fs.regs.how[X] instead of fs.regs.reg[X].how.
1097         * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
1098         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
1099         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
1100         * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
1101         UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
1102         Likewise.
1103         * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
1104         Likewise.
1105         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
1106         * config/arc/linux-unwind.h (arc_fallback_frame_state,
1107         arc_frob_update_context): Likewise.
1108         * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
1109         * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
1110         * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
1111         * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
1112         * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
1113         * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
1114         MD_FALLBACK_FRAME_STATE_FOR): Likewise.
1115         * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
1116         sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
1117         * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
1118         x86_fallback_frame_state): Likewise.
1119         * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
1120         * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1121         x86_fallback_frame_state): Likewise.
1122         * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
1123         Likewise.
1124         * config/i386/dragonfly-unwind.h
1125         (x86_64_dragonfly_fallback_frame_state): Likewise.
1126         * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
1127         * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
1128         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
1129         Likewise.
1130         * config/aarch64/freebsd-unwind.h
1131         (aarch64_freebsd_fallback_frame_state): Likewise.
1132         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1133         Likewise.
1134         * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
1135         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
1136         * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
1137         Likewise.
1138         * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
1139         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
1140         Likewise.
1141         * config/rs6000/darwin-fallback.c (set_offset): Likewise.
1142         * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
1143         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
1144         * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
1146 2022-10-02  Olivier Hainque  <hainque@adacore.com>
1148         * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment.  Move
1149         -I options for gcc/include and gcc/include-fixed at the end
1150         and make them -isystem.
1152 2022-10-02  Olivier Hainque  <hainque@adacore.com>
1154         * config/gthr-vxworks.h: Prevent Wpragma warning for the
1155         pragma diagnostics on Wstrict-prototypes.
1157 2022-09-29  Olivier Hainque  <hainque@adacore.com>
1159         * config/vxcrtstuff.c: Improve the comment attached to the use
1160         of auto-host.h and of __dso_handle.  Remove redundant guard on
1161         HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
1163 2022-09-26  Thomas Neumann  <tneumann@users.sourceforge.net>
1165         * unwind-dw2-fde.c: Introduce a constant for in_shutdown
1166         for the non-fast-path case. Drop destructor priority.
1168 2022-09-22  Thomas Neumann  <tneumann@users.sourceforge.net>
1170         * unwind-dw2-fde.c: (release_register_frames) Remember
1171         when the btree has been destroyed.
1172         (__deregister_frame_info_bases) Disable the assert when
1173         shutting down.
1175 2022-09-18  Thomas Neumann  <tneumann@users.sourceforge.net>
1177         * unwind-dw2-fde.c: Replace uintptr_t with typedef
1178         for __UINTPTR_TYPE__.
1179         * unwind-dw2-btree.h: Likewise.
1181 2022-09-16  Thomas Neumann  <tneumann@users.sourceforge.net>
1183         * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
1184         (__register_frame_info_table_bases): Use btree in atomic fast path.
1185         (__deregister_frame_info_bases): Likewise.
1186         (_Unwind_Find_FDE): Likewise.
1187         (base_from_object): Make parameter const.
1188         (classify_object_over_fdes): Add query-only mode.
1189         (get_pc_range): Compute PC range for lookup.
1190         * unwind-dw2-fde.h (last_fde): Make parameter const.
1191         * unwind-dw2-btree.h: New file.
1193 2022-08-31  Martin Liska  <mliska@suse.cz>
1195         * config.host: Remove hppa.
1197 2022-08-30  Martin Liska  <mliska@suse.cz>
1199         * config.host: Remove the port.
1201 2022-08-26  Martin Liska  <mliska@suse.cz>
1203         * config.host: Remove cr16 related stuff.
1204         * config/cr16/crti.S: Removed.
1205         * config/cr16/crtlibid.S: Removed.
1206         * config/cr16/crtn.S: Removed.
1207         * config/cr16/divmodhi3.c: Removed.
1208         * config/cr16/lib1funcs.S: Removed.
1209         * config/cr16/t-cr16: Removed.
1210         * config/cr16/t-crtlibid: Removed.
1211         * config/cr16/unwind-cr16.c: Removed.
1212         * config/cr16/unwind-dw2.h: Removed.
1214 2022-08-16  Kito Cheng  <kito.cheng@sifive.com>
1216         * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
1217         (_FP_NANFRAC_H): Ditto.
1218         (_FP_NANSIGN_H): Ditto.
1219         * config/riscv/t-softfp32 (softfp_extensions): Add HF related
1220         routines.
1221         (softfp_truncations): Ditto.
1222         (softfp_extras): Ditto.
1223         * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
1225 2022-08-16  Kito Cheng  <kito.cheng@sifive.com>
1227         * soft-fp/fixhfdi.c: New.
1228         * soft-fp/fixhfsi.c: Likewise.
1229         * soft-fp/fixunshfdi.c: Likewise.
1230         * soft-fp/fixunshfsi.c: Likewise.
1231         * soft-fp/floatdihf.c: Likewise.
1232         * soft-fp/floatsihf.c: Likewise.
1233         * soft-fp/floatundihf.c: Likewise.
1234         * soft-fp/floatunsihf.c: Likewise.
1235         * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
1236         lines and update URL for license.
1237         * soft-fp/addsf3.c: Likewise.
1238         * soft-fp/addtf3.c: Likewise.
1239         * soft-fp/divdf3.c: Likewise.
1240         * soft-fp/divsf3.c: Likewise.
1241         * soft-fp/divtf3.c: Likewise.
1242         * soft-fp/double.h: Likewise.
1243         * soft-fp/eqdf2.c: Likewise.
1244         * soft-fp/eqhf2.c: Likewise.
1245         * soft-fp/eqsf2.c: Likewise.
1246         * soft-fp/eqtf2.c: Likewise.
1247         * soft-fp/extenddftf2.c: Likewise.
1248         * soft-fp/extended.h: Likewise.
1249         * soft-fp/extendhfdf2.c: Likewise.
1250         * soft-fp/extendhfsf2.c: Likewise.
1251         * soft-fp/extendhftf2.c: Likewise.
1252         * soft-fp/extendhfxf2.c: Likewise.
1253         * soft-fp/extendsfdf2.c: Likewise.
1254         * soft-fp/extendsftf2.c: Likewise.
1255         * soft-fp/extendxftf2.c: Likewise.
1256         * soft-fp/fixdfdi.c: Likewise.
1257         * soft-fp/fixdfsi.c: Likewise.
1258         * soft-fp/fixdfti.c: Likewise.
1259         * soft-fp/fixhfti.c: Likewise.
1260         * soft-fp/fixsfdi.c: Likewise.
1261         * soft-fp/fixsfsi.c: Likewise.
1262         * soft-fp/fixsfti.c: Likewise.
1263         * soft-fp/fixtfdi.c: Likewise.
1264         * soft-fp/fixtfsi.c: Likewise.
1265         * soft-fp/fixtfti.c: Likewise.
1266         * soft-fp/fixunsdfdi.c: Likewise.
1267         * soft-fp/fixunsdfsi.c: Likewise.
1268         * soft-fp/fixunsdfti.c: Likewise.
1269         * soft-fp/fixunshfti.c: Likewise.
1270         * soft-fp/fixunssfdi.c: Likewise.
1271         * soft-fp/fixunssfsi.c: Likewise.
1272         * soft-fp/fixunssfti.c: Likewise.
1273         * soft-fp/fixunstfdi.c: Likewise.
1274         * soft-fp/fixunstfsi.c: Likewise.
1275         * soft-fp/fixunstfti.c: Likewise.
1276         * soft-fp/floatdidf.c: Likewise.
1277         * soft-fp/floatdisf.c: Likewise.
1278         * soft-fp/floatditf.c: Likewise.
1279         * soft-fp/floatsidf.c: Likewise.
1280         * soft-fp/floatsisf.c: Likewise.
1281         * soft-fp/floatsitf.c: Likewise.
1282         * soft-fp/floattidf.c: Likewise.
1283         * soft-fp/floattihf.c: Likewise.
1284         * soft-fp/floattisf.c: Likewise.
1285         * soft-fp/floattitf.c: Likewise.
1286         * soft-fp/floatundidf.c: Likewise.
1287         * soft-fp/floatundisf.c: Likewise.
1288         * soft-fp/floatunditf.c: Likewise.
1289         * soft-fp/floatunsidf.c: Likewise.
1290         * soft-fp/floatunsisf.c: Likewise.
1291         * soft-fp/floatunsitf.c: Likewise.
1292         * soft-fp/floatuntidf.c: Likewise.
1293         * soft-fp/floatuntihf.c: Likewise.
1294         * soft-fp/floatuntisf.c: Likewise.
1295         * soft-fp/floatuntitf.c: Likewise.
1296         * soft-fp/gedf2.c: Likewise.
1297         * soft-fp/gesf2.c: Likewise.
1298         * soft-fp/getf2.c: Likewise.
1299         * soft-fp/half.h: Likewise.
1300         * soft-fp/ledf2.c: Likewise.
1301         * soft-fp/lesf2.c: Likewise.
1302         * soft-fp/letf2.c: Likewise.
1303         * soft-fp/muldf3.c: Likewise.
1304         * soft-fp/mulsf3.c: Likewise.
1305         * soft-fp/multf3.c: Likewise.
1306         * soft-fp/negdf2.c: Likewise.
1307         * soft-fp/negsf2.c: Likewise.
1308         * soft-fp/negtf2.c: Likewise.
1309         * soft-fp/op-1.h: Likewise.
1310         * soft-fp/op-2.h: Likewise.
1311         * soft-fp/op-4.h: Likewise.
1312         * soft-fp/op-8.h: Likewise.
1313         * soft-fp/op-common.h: Likewise.
1314         * soft-fp/quad.h: Likewise.
1315         * soft-fp/single.h: Likewise.
1316         * soft-fp/soft-fp.h: Likewise.
1317         * soft-fp/subdf3.c: Likewise.
1318         * soft-fp/subsf3.c: Likewise.
1319         * soft-fp/subtf3.c: Likewise.
1320         * soft-fp/truncdfhf2.c: Likewise.
1321         * soft-fp/truncdfsf2.c: Likewise.
1322         * soft-fp/truncsfhf2.c: Likewise.
1323         * soft-fp/trunctfdf2.c: Likewise.
1324         * soft-fp/trunctfhf2.c: Likewise.
1325         * soft-fp/trunctfsf2.c: Likewise.
1326         * soft-fp/trunctfxf2.c: Likewise.
1327         * soft-fp/truncxfhf2.c: Likewise.
1328         * soft-fp/unorddf2.c: Likewise.
1329         * soft-fp/unordsf2.c: Likewise.
1330         * soft-fp/unordtf2.c: Likewise.
1332 2022-07-18  Claudiu Zissulescu  <claziss@synopsys.com>
1334         * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
1335         * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
1336         configurations.
1338 2022-06-25  Jeff Law  <jeffreyalaw@gmail.com>
1340         * config.host: Removed tilegx and tilepro entries.
1341         * config/tilegx/sfp-machine.h: Removed.
1342         * config/tilegx/sfp-machine32.h: Removed.
1343         * config/tilegx/sfp-machine64.h: Removed.
1344         * config/tilegx/t-crtstuff: Removed.
1345         * config/tilegx/t-softfp: Removed.
1346         * config/tilegx/t-tilegx: Removed.
1347         * config/tilepro/atomic.c: Removed.
1348         * config/tilepro/atomic.h: Removed.
1349         * config/tilepro/linux-unwind.h: Removed.
1350         * config/tilepro/sfp-machine.h: Removed.
1351         * config/tilepro/softdivide.c: Removed.
1352         * config/tilepro/softmpy.S: Removed.
1353         * config/tilepro/t-crtstuff: Removed.
1354         * config/tilepro/t-tilepro: Removed.
1356 2022-06-09  Takayuki 'January June' Suwa  <jjsuwa_sys3175@yahoo.co.jp>
1358         * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
1359         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
1361 2022-06-01  H.J. Lu  <hjl.tools@gmail.com>
1363         PR libgcc/27576
1364         * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
1366 2022-05-25  Wilco Dijkstra  <wilco.dijkstra@arm.com>
1368         PR libgcc/105708
1369         * config/aarch64/lse-init.c: Increase constructor priority.
1371 2022-05-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1373         PR target/104689
1374         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1375         Handle the !REG_UNSAVED case.
1376         * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
1378 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
1380         * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
1381         (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
1382         (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
1384 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
1386         * config.host: Add t-dfprules to AArch64 targets.
1388 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
1390         * configure: Regenerate.
1392 2022-05-13  Sebastian Pop  <spop@amazon.com>
1394         PR target/105162
1395         * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
1396         * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
1398 2022-05-10  Martin Liska  <mliska@suse.cz>
1399             Hans-Peter Helfert  <peter-helfert@t-online.de>
1401         PR gcov-profile/105535
1402         * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
1403         n_functions.
1405 2022-05-02  Martin Liska  <mliska@suse.cz>
1407         * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
1409 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1411         * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
1412         (gcov_profile_merge_stream): Likewise.
1414 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1416         * libgcov-util.c (consume_stream): New.
1417         (get_target_profiles_for_merge): Likewise.
1418         (gcov_profile_merge_stream): Likewise.
1420 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1422         * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
1424 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1426         * libgcov-util.c (read_gcda_file): Do not open file.
1427         (ftw_read_file): Open file here.
1429 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1431         * libgcov-util.c (read_gcda_file): Prepend new info object to global
1432         list.
1433         (ftw_read_file): Remove list append here.
1435 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1437         * libgcov-util.c (read_gcda_file): Do not duplicate filename.
1438         (ftw_read_file): Duplicate filename for read_gcda_file().
1440 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1442         * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
1443         (__gcov_filename_to_gcfn): Declare and document.
1444         * libgcov-driver.c (dump_string): New.
1445         (__gcov_filename_to_gcfn): Likewise.
1446         (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
1448 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1450         * libgcov.h (gcov_seek): Remove define and declaration.
1452 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1454         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
1455         parameter.  Pass mode to gcov_open() calls.
1456         * libgcov-driver.c (dump_one_gcov):  Add mode parameter.  Pass mode to
1457         gcov_exit_open_gcda_file() call.
1458         (gcov_do_dump): Add mode parameter.  Pass mode to dump_one_gcov()
1459         calls.
1460         (__gcov_dump_one):  Open file for reading and writing.
1462 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1464         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
1465         reading and writing.
1466         * libgcov-util.c (read_gcda_file): Open file for reading.
1467         * libgcov.h (gcov_open): Delete declaration.
1469 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1471         * libgcov-util.c (gcov_profile_merge): Return the list of merged
1472         profiles.  Accept empty target and source profile lists.
1474 2022-04-08  Sergei Trofimovich  <siarheit@google.com>
1476         * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
1478 2022-03-29  Chenghua Xu  <xuchenghua@loongson.cn>
1479             Lulu Cheng  <chenglulu@loongson.cn>
1481         * configure: Regenerate file.
1483 2022-03-29  Chenghua Xu  <xuchenghua@loongson.cn>
1484             Lulu Cheng  <chenglulu@loongson.cn>
1486         * config/loongarch/crtfastmath.c: New file.
1487         * config/loongarch/linux-unwind.h: Like wise.
1488         * config/loongarch/sfp-machine.h: Like wise.
1489         * config/loongarch/t-crtstuff: Like wise.
1490         * config/loongarch/t-loongarch: Like wise.
1491         * config/loongarch/t-loongarch64: Like wise.
1492         * config/loongarch/t-softfp-tf: Like wise.
1493         * config.host: Add LoongArch tuples.
1494         * configure.ac: Add LoongArch support.
1496 2022-03-19  Sergei Trofimovich  <slyfox at gentoo dot org>
1498         PR libgcc/86224
1499         * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
1500         for __mulsi3.
1501         (__udivsi3_internal, __divsi3_internal): Similarly.
1502         (__umodsi3, __modsi3): Use the internal function names.
1504 2022-03-09  Tobias Burnus  <tobias@codesourcery.com>
1506         PR target/102215
1507         * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
1508         a line up to non-arg-dependent value first.
1509         (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
1510         __atomic_compare_exchange_{1,2}.
1512 2022-03-04  Iain Sandoe  <iain@sandoe.co.uk>
1514         * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
1515         * config/t-darwin-ehs: Add dependency on unwind.h.
1517 2022-02-24  Xi Ruoyao  <xry111@mengyan1223.wang>
1519         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
1520         with 0 instead of NULL.
1522 2022-02-24  Jose E. Marchesi  <jose.marchesi@oracle.com>
1524         PR target/104656
1525         * configure.ac: --disable-gcov if targetting bpf-*.
1526         * configure: Regenerate.
1528 2022-01-25  Florian Weimer  <fweimer@redhat.com>
1530         PR libgcc/104207
1531         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
1533 2022-01-17  Martin Liska  <mliska@suse.cz>
1535         * libgcov-driver.c: Rename .c names to .cc.
1537 2022-01-15  David  <gccbugzilla@limegreensocks.com>
1539         * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
1540         Remove inlined version, Windows 95 is no longer relevant.
1541         * config/i386/gthr-win32.h
1542         (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
1544 2022-01-14  Claudiu Zissulescu  <claziss@synopsys.com>
1546         * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
1547         DWARF_ALT_FRAME_RETURN_COLUMN macro.
1549 2022-01-04  Florian Weimer  <fweimer@redhat.com>
1551         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
1552         if available.
1554 2022-01-02  John David Anglin  <danglin@gcc.gnu.org>
1556         * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
1557         (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
1558         return is not equal _ASM_EFAULT.
1559         (__kernel_cmpxchg2): Likewise.
1561 2021-12-17  Iain Sandoe  <iain@sandoe.co.uk>
1563         * config.host: Add shim declaration header to powerpc*-darwin builds.
1564         * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
1565         file.
1566         * config/t-darwin-ehs: Add dependencies to the shared unwinder
1567         objects.
1568         * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
1569         the shared EH lib.  Add all-multi to the dependencies for the
1570         libgcc_s.1.dylib redirections.
1572 2021-12-13  Olivier Hainque  <hainque@adacore.com>
1574         * config.host (powerpc*-*-vxworks7*): Remove
1575         rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
1577 2021-12-13  Olivier Hainque  <hainque@adacore.com>
1579         * config.host (*vxworks*): Remove special case for
1580         arm on the use of vxcrtstuff.
1582 2021-12-13  Fred Konrad  <konrad@adacore.com>
1583             Olivier Hainque  <hainque@adacore.com>
1585         * config/t-vxcrtstuffS: New Makefile fragment.
1586         * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
1587         functions for INITFINI_ARRAY support in shared libs and guard
1588         the definition of eh table registration functions on conditions
1589         indicating they are needed.
1591 2021-12-13  Olivier Hainque  <hainque@adacore.com>
1593         * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
1594         ahead of the other files in tmake_files.
1595         * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
1596         overriding it.
1598 2021-12-13  Olivier Hainque  <hainque@adacore.com>
1600         * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
1601         both VxWorks7 and earlier.
1602         * config/t-vxworks7: Remove.
1603         * config.host: Remove special case for vxworks7.
1605 2021-12-11  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1607         * config/vxcrtstuff.c: Make constructor and destructor
1608         functions static when possible.
1610 2021-12-11  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1612         * config/vxcrtstuff.c: Remove constructor/destructor
1613         declarations.
1615 2021-12-10  Iain Sandoe  <iain@sandoe.co.uk>
1617         * config/t-darwin: Add libgcc_tm.h to the dependencies
1618         for darwin10-unwind-find-enc-func.
1620 2021-12-10  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1622         * config/rs6000/t-vxworks: New file.
1623         * config.host (powerpc*-*-vxworks*): Use it instead of
1624         t-ppccomm.
1626 2021-12-09  Fred Konrad  <konrad@adacore.com>
1628         * config.host (powerpc*-wrs-vxworks7*): Fix path to
1629         rs6000/t-ppc64-fp, relative to config/ not libgcc/.
1631 2021-12-09  Olivier Hainque  <hainque@adacore.com>
1632             Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1634         * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
1635         $(LIBGCC2_INCLUDES).
1636         * config/t-vxworks7: Likewise.
1638 2021-12-08  Iain Sandoe  <iain@sandoe.co.uk>
1640         * config.host (*-*-darwin*): Add logic to build a shared
1641         unwinder library for Darwin8-10.
1642         * config/i386/t-darwin: Build legacy libgcc_s.1.
1643         * config/rs6000/t-darwin: Likewise.
1644         * config/t-darwin: Reorganise the EH fragments to place
1645         them for inclusion in a shared EH lib.
1646         * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
1647         the supporting pieces (all FAT libs).
1648         * config/t-darwin-noeh: Removed.
1649         * config/darwin-unwind.ver: New file.
1650         * config/rs6000/t-darwin-ehs: New file.
1651         * config/t-darwin-ehs: New file.
1653 2021-12-06  Nelson Chu  <nelson.chu@sifive.com>
1655         * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
1656         then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
1657         * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
1658         HIDDEN_DEF.
1660 2021-11-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1662         * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
1663         ssize_t and vfork after including auto-host.h.
1665 2021-11-29  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1667         * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
1668         crtend.o to extra_parts.
1670 2021-11-27  John David Anglin  <danglin@gcc.gnu.org>
1672         * config/pa/t-dimode (lib2difuncs): Fix typo.
1674 2021-11-25  Florian Weimer  <fweimer@redhat.com>
1676         * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
1677         Remove func, ret.
1678         (find_fde_tail): New function.  Split from
1679         _Unwind_IteratePhdrCallback.  Move the result initialization
1680         from _Unwind_Find_FDE.
1681         (_Unwind_Find_FDE): Updated to call find_fde_tail.
1683 2021-11-22  Florian Weimer  <fweimer@redhat.com>
1685         * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
1686         (struct unw_eh_callback_data): Make dbase member conditional.
1687         (unw_eh_callback_data_dbase): New function.
1688         (base_from_cb_data): Simplify for the non-dbase case.
1689         (_Unwind_IteratePhdrCallback): Adjust.
1690         (_Unwind_Find_FDE): Likewise.
1692 2021-11-22  Florian Weimer  <fweimer@redhat.com>
1694         * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
1695         tbase member.
1696         (base_from_cb_data): Adjust.
1697         (_Unwind_IteratePhdrCallback): Likewise.
1698         (_Unwind_Find_FDE): Likewise.
1700 2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
1702         * config.host: Add weak emutls crt to the extra_parts.
1703         * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
1704         workaround.
1705         * config/libgcc-libsystem.ver: Add exclude list for the system-
1706         provided unwinder.
1707         * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
1708         * config/i386/libgcc-darwin.10.4.ver: Removed.
1709         * config/i386/libgcc-darwin.10.5.ver: Removed.
1710         * config/rs6000/libgcc-darwin.10.4.ver: Removed.
1711         * config/rs6000/libgcc-darwin.10.5.ver: Removed.
1712         * config/t-darwin-noeh: New file.
1714 2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
1716         * config/t-darwin: Build weak-defined emutls objects.
1717         * emutls.c (__emutls_get_address): Add optional attributes.
1718         (__emutls_register_common): Likewise.
1719         (EMUTLS_ATTR): New.
1721 2021-11-11  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
1723         PR libgcc/103044
1724         * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
1725         called with a null argument or at the end of the backtrace and return.
1726         * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
1728 2021-11-10  Jakub Jelinek  <jakub@redhat.com>
1730         * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
1731         formatting fix.
1733 2021-11-05  Iain Sandoe  <iain@sandoe.co.uk>
1735         * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
1736         * config/i386/darwin-lib.h: Declare Darwin10 crt function.
1738 2021-11-05  John David Anglin  <danglin@gcc.gnu.org>
1740         PR libgomp/96661
1741         * config.host (hppa*64*-*-linux*): Revise tmake_file.
1742         (hppa*64*-*-hpux11*): Likewise.
1743         * config/pa/sfp-exceptions.c: New.
1744         * config/pa/sfp-machine.h: New.
1745         * config/pa/t-dimode: New.
1746         * config/pa/t-softfp-sfdftf: New.
1748 2021-10-27  John David Anglin  <danglin@gcc.gnu.org>
1750         * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
1751         tmake_file.
1752         * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
1753         Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
1754         SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
1755         * config/pa/t-linux64 (LIB1ASMSRC): New define.
1756         (LIB1ASMFUNCS): Revise.
1757         (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
1759 2021-10-22  Stafford Horne  <shorne@gmail.com>
1761         * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1762         Change to 0.
1764 2021-10-14  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
1766         * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
1767         outside of get_regs() in order to use it in another function, this
1768         is done twice: for __powerpc64__ and for !__powerpc64__.
1769         (struct trace_arg): New struct.
1770         (struct layout): New struct.
1771         (ppc_backchain_fallback): New function.
1772         * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
1773         state and call MD_BACKCHAIN_FALLBACK.
1775 2021-10-13  Martin Liska  <mliska@suse.cz>
1777         PR gcov-profile/90364
1778         * libgcov-driver.c (merge_one_data): Skip timestamp and verify
1779         checksums.
1780         (write_one_data): Write also checksum.
1781         * libgcov-util.c (read_gcda_file): Read also checksum field.
1782         * libgcov.h (struct gcov_info): Add new field.
1784 2021-10-08  Ian Lance Taylor  <iant@golang.org>
1786         * config/i386/morestack.S: Use .init_array for constructor if
1787         available.
1788         * config/rs6000/morestack.S: Likewise.
1789         * config/s390/morestack.S: Likewise.
1791 2021-10-03  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
1793         PR target/101104
1794         * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
1795         Use more correct values for native IBM 128-bit.
1797 2021-09-28  Iain Sandoe  <iain@sandoe.co.uk>
1799         * config/i386/libgcc-darwin.ver: Add Symbols for
1800         __cpu_model, __cpu_indicator_init.
1802 2021-09-22  Iain Sandoe  <iain@sandoe.co.uk>
1804         * config/i386/sfp-machine.h: Guard Mach-O-specific code
1805         using __APPLE__.
1807 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1809         * config/t-slibgcc-darwin: Delete unused code.
1811 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1813         * config/i386/t-darwin: Add in a vers file for X86-specific
1814         symbols.
1815         * config/t-darwin: Add the generic symbol maps here...
1816         * config/t-slibgcc-darwin: ... removing from here.
1817         * config/i386/libgcc-darwin.ver: New file.
1819 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1821         * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
1822         and __mulhc3.
1824 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1826         * config.host: Use convenience library for Darwin10
1827         unwinder shim.
1828         * config/t-darwin: Build Darwin10 unwinder shim as a
1829         convenience library.
1831 2021-09-13  Andrew Pinski  <apinski@marvell.com>
1833         * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
1834         * config/m32r/libgcc-glibc.ver: Removed.
1835         * config/m32r/t-linux: Removed.
1837 2021-09-08  liuhongt  <hongtao.liu@intel.com>
1839         * config/i386/t-softfp: Compile __{mul,div}hc3 into
1840         libgcc_s.so.1.
1842 2021-09-08  Jakub Jelinek  <jakub@redhat.com>
1843             Iain Sandoe  <iain@sandoe.co.uk>
1845         * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
1846         and export *hf* and *hc* functions at GCC_12.0.0.
1848 2021-09-06  liuhongt  <hongtao.liu@intel.com>
1850         * Makefile.in: Adjust to support specific CFLAGS for each
1851         libgcc source file.
1852         * config/i386/64/t-softfp: Explicitly add -msse2 for HF
1853         related libgcc source files.
1854         * config/i386/t-softfp: Ditto.
1855         * config/i386/_divhc3.c: New file.
1856         * config/i386/_mulhc3.c: New file.
1858 2021-09-03  Iain Sandoe  <iain@sandoe.co.uk>
1860         * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
1861         alias_DFtype, alias_TFtype): New.
1862         (ALIAS_SELECTOR): New.
1863         (strong_alias): Use __typeof and a _Generic selector to
1864         provide the type to the synthesized function.
1866 2021-09-02  liuhongt  <hongtao.liu@intel.com>
1868         * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
1869         * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
1870         * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
1871         * config/i386/t-softfp: Add hf soft-fp.
1872         * config.host: Add i386/64/t-softfp.
1873         * config/i386/64/t-softfp: New file.
1875 2021-09-02  liuhongt  <hongtao.liu@intel.com>
1877         * soft-fp/eqhf2.c: New file.
1878         * soft-fp/extendhfdf2.c: New file.
1879         * soft-fp/extendhfsf2.c: New file.
1880         * soft-fp/half.h (FP_CMP_EQ_H): New marco.
1881         * soft-fp/truncdfhf2.c: New file
1882         * soft-fp/truncsfhf2.c: New file
1884 2021-09-01  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1886         * unwind-arm-common.inc (abort): Remove.
1888 2021-08-31  Richard Sandiford  <richard.sandiford@arm.com>
1890         * config/aarch64/value-unwind.h: Add missing runtime exception
1891         paragraph.
1892         * config/frv/frv-abi.h: Likewise.
1893         * config/i386/value-unwind.h: Likewise.
1894         * config/pa/pa64-hpux-lib.h: Likewise.
1896 2021-08-26  David Edelsohn  <dje.gcc@gmail.com>
1898         * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
1899         __gcc_qadd.
1900         (__gcc_qadd): Call ldouble_qadd_internal.
1901         (__gcc_qsub): Call ldouble_qadd_internal with second long double
1902         argument negated.
1904 2021-08-26  Jonathan Yong  <10walls@gmail.com>
1906         * config/i386/cygming-crtend.c: Fix register_frame_ctor
1907         and register_frame_dtor warnings.
1909 2021-08-24  Richard Earnshaw  <rearnsha@arm.com>
1911         PR target/102035
1912         * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
1913         Add vlldm erratum work-around.
1915 2021-08-21  John David Anglin  <danglin@gcc.gnu.org>
1917         * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
1919 2021-08-16  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1921         * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
1922         (gcov_type_unsigned): Likewise.
1924 2021-08-14  Stafford Horne  <shorne@gmail.com>
1926         PR target/99783
1927         * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
1928         * config/or1k/t-crtstuff: New file.
1930 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1932         * libgcov-driver.c (#include <stdint.h>): Remove.
1933         (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
1935 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1937         * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
1938         * gcov.h (gcov_info): Declare.
1939         (__gcov_info_to_gdca): Likewise.
1940         * libgcov.h (gcov_write_counter): Remove.
1941         (gcov_write_tag_length): Likewise.
1942         * libgcov-driver.c (#include <stdint.h>): New.
1943         (#include <string.h>): Remove.
1944         (NEED_L_GCOV): Conditionally define.
1945         (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
1946         (are_all_counters_zero): New.
1947         (gcov_dump_handler): Likewise.
1948         (gcov_allocate_handler): Likewise.
1949         (dump_unsigned): Likewise.
1950         (dump_counter): Likewise.
1951         (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
1952         Use dump_unsigned() and dump_counter().
1953         (write_one_data): Add dump_fn, allocate_fn, and arg parameters.  Use
1954         dump_unsigned(), dump_counter(), and are_all_counters_zero().
1955         (__gcov_info_to_gcda): New.
1957 2021-08-05  Jakub Jelinek  <jakub@redhat.com>
1959         * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
1960         * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
1961         * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
1962         * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
1964 2021-08-04  Jakub Jelinek  <jakub@redhat.com>
1966         * config/t-slibgcc-fuchsia: Undo doubly applied patch.
1968 2021-07-15  Alan Modra  <amodra@gmail.com>
1970         * config/rs6000/morestack.S (R2_SAVE): Define.
1971         (__morestack): Save and restore r2.  Set up r2 for called
1972         functions.
1974 2021-07-01  H.J. Lu  <hjl.tools@gmail.com>
1976         * soft-fp/extendhfxf2.c: New file.
1977         * soft-fp/truncxfhf2.c: Likewise.
1979 2021-06-29  Julian Brown  <julian@codesourcery.com>
1981         * config/gcn/lib2-bswapti2.c: New file.
1982         * config/gcn/lib2-divmod-di.c: New file.
1983         * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
1984         typedefs.
1985         (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
1986         * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
1987         lib2-bswapti2.c.
1989 2021-06-29  Julian Brown  <julian@codesourcery.com>
1991         * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
1992         return types to USItype.
1993         * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
1995 2021-06-23  Kewen Lin  <linkw@linux.ibm.com>
1997         * configure: Regenerate.
1998         * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
1999         typos among the name, CFLAGS and the test.
2000         * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
2001         fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
2002         Remove.
2003         * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
2004         macro FLOAT128_HW_INSNS_ISA3_1.
2005         (FP128_3_1_CFLAGS_HW): Fix option typo.
2006         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
2007         FLOAT128_HW_INSNS_ISA3_1.
2008         (__floattikf_resolve): Likewise.
2009         (__floatuntikf_resolve): Likewise.
2010         (__fixkfti_resolve): Likewise.
2011         (__fixunskfti_resolve): Likewise.
2012         (__floattikf): Likewise.
2013         (__floatuntikf): Likewise.
2014         (__fixkfti): Likewise.
2015         (__fixunskfti): Likewise.
2017 2021-06-11  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
2019         PR target/99939
2020         * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
2021         macro.
2022         * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
2023         on passing -mcmse option.
2025 2021-06-10  Segher Boessenkool  <segher@kernel.crashing.org>
2027         * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
2028         _ARCH_PPC64 .
2030 2021-06-09  Carl Love  <cel@us.ibm.com>
2032         * config.host: Add if test and set for
2033         libgcc_cv_powerpc_3_1_float128_hw.
2034         * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
2035         Change calls of __fixkfti to __fixkfti_sw.
2036         * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
2037         Change calls of __fixunskfti to __fixunskfti_sw.
2038         * config/rs6000/float128-p10.c (__floattikf_hw,
2039         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
2040         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
2041         (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
2042         __fixunskfti_resolve): Add resolve functions.
2043         (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
2044         * config/rs6000/float128-sed (floattitf, __floatuntitf,
2045         __fixtfti, __fixunstfti): Add editor commands to change names.
2046         * config/rs6000/float128-sed-hw (__floattitf,
2047         __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
2048         change names.
2049         * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
2050         * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
2051         * config/rs6000/quad-float128.h (__floattikf_sw,
2052         __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
2053         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
2054         __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
2055         * config/rs6000/t-float128 (floattikf, floatuntikf,
2056         fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
2057         (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
2058         file names to fp128_ppc_funcs.
2059         * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
2060         fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
2061         fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
2062         * config/rs6000/t-float128-p10-hw: New file.
2063         * configure: Update script for isa 3.1 128-bit float support.
2064         * configure.ac: Add check for 128-bit float hardware support.
2065         * config/rs6000/fixkfti-sw.c: New file.
2066         * config/rs6000/fixunskfti-sw.c: New file.
2067         * config/rs6000/floattikf-sw.c: New file.
2068         * config/rs6000/floatuntikf-sw.c: New file.
2070 2021-05-13  Dimitar Dimitrov  <dimitar@dinux.eu>
2072         * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
2074 2021-05-13  Martin Liska  <mliska@suse.cz>
2076         * libgcov-driver.c: Fix GNU coding style.
2078 2021-05-10  Martin Liska  <mliska@suse.cz>
2080         * libgcov-driver.c (gcov_version): Use different name that does
2081         not clash with newly introduced macro.
2083 2021-04-29  Eric Botcazou  <ebotcazou@adacore.com>
2085         * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
2086         if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
2087         * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
2089 2021-04-28  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
2091         * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
2092         Define.
2093         (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
2094         * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
2095         Define.
2096         (__divkc3): Improve complex divide.
2098 2021-04-23  Michael Meissner  <meissner@linux.ibm.com>
2100         PR target/98952
2101         * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
2102         trampoline size comparison in 32-bit by reversing test and
2103         combining load immediate with compare.
2104         (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
2105         in 32-bit by reversing test and combining load immediate with
2106         compare.
2108 2021-04-05  Florian Weimer  <fweimer@redhat.com>
2109             Michael Meissner   <meissner@linux.ibm.com>
2111         * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
2112         point functions for $(decimal_float) only.
2114 2021-04-03  Jakub Jelinek  <jakub@redhat.com>
2116         PR target/97653
2117         * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
2118         $(objext) instead of $(object).  Use _floatunditf instead of
2119         _floatunsditf.  Add tf <-> ti conversion objects.
2120         (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
2122 2021-03-29  Michael Meissner  <meissner@linux.ibm.com>
2124         * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
2125         (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
2126         (fp128_decstr_objs): Delete.
2127         * dfp-bit.h: Call __sprintfieee128 to do conversions from
2128         _Float128 to a Decimal type.  Call __strtoieee128 to do
2129         conversions from a Decimal type to _Float128.
2130         * config/rs6000/_sprintfkf.c: Delete file.
2131         * config/rs6000/_sprintfkf.h: Delete file.
2132         * config/rs6000/_strtokf.c: Delete file.
2133         * config/rs6000/_strtokf.h: Delete file.
2135 2021-03-23  Marcus Comstedt  <marcus@mc.pp.se>
2137         * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
2138         to __BYTE_ORDER__.
2140 2021-03-06  Jakub Jelinek  <jakub@redhat.com>
2142         PR gcov-profile/99406
2143         * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
2144         defined, define these macros if not defined already.
2146 2021-03-04  Martin Liska  <mliska@suse.cz>
2148         PR gcov-profile/99105
2149         * libgcov-driver.c (write_top_counters): Rename to ...
2150         (write_topn_counters): ... this.
2151         (write_one_data): Pre-allocate buffer for number of items
2152         in the corresponding linked lists.
2153         * libgcov.h (malloc_mmap): New function.
2154         (allocate_gcov_kvp): Use it.
2156 2021-03-04  Martin Liska  <mliska@suse.cz>
2158         PR gcov-profile/99385
2159         * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
2161 2021-03-03  Martin Liska  <mliska@suse.cz>
2163         PR gcov-profile/97461
2164         * config.in: Regenerate.
2165         * configure: Likewise.
2166         * configure.ac: Check sys/mman.h header file
2167         * libgcov-driver.c (struct gcov_kvp): Remove static
2168         pre-allocated pool and use a dynamic one.
2169         * libgcov.h (MMAP_CHUNK_SIZE): New.
2170         (gcov_counter_add): Use mmap to allocate pool for struct
2171         gcov_kvp.
2173 2021-03-02  Michael Meissner  <meissner@linux.ibm.com>
2175         * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
2176         the function.
2177         * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
2179 2021-02-24  Jakub Jelinek  <jakub@redhat.com>
2181         PR libgcc/99236
2182         * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
2183         negation of m in unsigned type.
2185 2021-02-24  Christophe Lyon  <christophe.lyon@linaro.org>
2186             Hau Hsu  <hsuhau617@gmail.com>
2188         PR target/99157
2189         * config/arm/t-arm: Fix cmse support detection.
2191 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
2193         * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
2195 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
2197         * config/rs6000/_dd_to_kf.c: New file.
2198         * config/rs6000/_kf_to_dd.c: New file.
2199         * config/rs6000/_kf_to_sd.c: New file.
2200         * config/rs6000/_kf_to_td.c: New file.
2201         * config/rs6000/_sd_to_kf.c: New file.
2202         * config/rs6000/_sprintfkf.c: New file.
2203         * config/rs6000/_sprintfkf.h: New file.
2204         * config/rs6000/_strtokf.h: New file.
2205         * config/rs6000/_strtokf.c: New file.
2206         * config/rs6000/_td_to_kf.c: New file.
2207         * config/rs6000/quad-float128.h: Add new declarations.
2208         * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
2209         (fp128_decstr_funcs): New macro.
2210         (ibm128_dec_funcs): New macro.
2211         (fp128_ppc_funcs): Add the new conversions.
2212         (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
2213         compiled with -mabi=ieeelongdouble.
2214         (fp128_decstr_objs): Force __float128 <-> string conversions to be
2215         compiled with -mabi=ibmlongdouble.
2216         (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
2217         compiled with -mabi=ieeelongdouble.
2218         (FP128_CFLAGS_DECIMAL): New macro.
2219         (IBM128_CFLAGS_DECIMAL): New macro.
2220         * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
2221         (BFP_TO_DFP): Add PowerPC _Float128 support.
2222         * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
2223         IEEE 128-bit floating point.
2224         (DFP_TO_BFP): Add PowerPC _Float128 support.
2225         (BFP_TO_DFP): Add PowerPC _Float128 support.
2226         (BFP_SPRINTF): New macro.
2228 2021-01-27  Jakub Jelinek  <jakub@redhat.com>
2230         * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
2231         * config/i386/savms64f.h: Likewise.
2232         * config/i386/resms64.h: Likewise.
2233         * config/i386/resms64f.h: Likewise.
2234         * config/i386/resms64x.h: Likewise.
2235         * config/i386/resms64fx.h: Likewise.
2237 2021-01-26  Martin Liska  <mliska@suse.cz>
2239         PR gcov-profile/98739
2240         * libgcov.h (gcov_topn_add_value): Do not train when
2241         we have a merged profile with a negative number of total
2242         value.
2244 2021-01-25  Martin Liska  <mliska@suse.cz>
2246         PR gcov-profile/98739
2247         * libgcov-merge.c (__gcov_merge_topn): Mark when merging
2248         ends with a dropped counter.
2249         * libgcov.h (gcov_topn_add_value): Add return value.
2251 2021-01-13  Stafford Horne  <shorne@gmail.com>
2253         * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
2254         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
2255         FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
2256         FP_EX_ALL): New constant macros.
2257         (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
2258         FP_HANDLE_EXCEPTIONS): New macros.
2259         (_FP_TININESS_AFTER_ROUNDING): Change to 1.
2261 2021-01-13  Samuel Thibault  <samuel.thibault@gnu.org>
2263         * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
2264         posix siginfo case to struct handler_args. Detect between legacy
2265         and siginfo from the second parameter, which is a small sigcode in
2266         the legacy case, and a pointer in the siginfo case.
2268 2020-12-20  Max Filippov  <jcmvbkbc@gmail.com>
2270         * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
2271         functions.
2272         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
2273         _bswapdi2.
2275 2020-12-08  Ian Lance Taylor  <iant@golang.org>
2277         * generic-morestack-thread.c (free_segments): Block signals during
2278         thread exit.
2280 2020-12-03  Michael Meissner  <meissner@linux.ibm.com>
2282         PR libgcc/97543
2283         PR libgcc/97643
2284         * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
2285         (IBM128_SHARED_OBJS): New make variable.
2286         (IBM128_OBJS): New make variable.  Set all objects to use the
2287         explicit IBM format, and disable gnu attributes.
2288         (IBM128_CFLAGS): New make variable.
2289         (gcc_s_compile): Add -mno-gnu-attribute to all shared library
2290         modules.
2292 2020-12-03  Alexandre Oliva  <oliva@adacore.com>
2294         * config/t-vxworks (LIB2ADD): Drop.
2295         * config/t-vxworks7 (LIB2ADD): Likewise.
2296         * config/vxcache.c: Remove.
2298 2020-11-30  Stefan Kanthak  <stefan.kanthak@nexgo.de>
2300         * libgcc2.c (bswapsi2): Make constants unsigned.
2302 2020-11-25  Stefan Kanthak  <stefan.kanthak@nexgo.de>
2304         * libgcc2.c (absvSI2): Simplify/improve implementation by using
2305         builtin_add_overflow.
2306         (absvsi2, absvDI2): Likewise.
2308 2020-11-20  Maciej W. Rozycki  <macro@linux-mips.org>
2310         * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
2311         (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
2313 2020-11-18  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2315         * config/msp430/lib2hw_mul.S (mult64_hw): New.
2316         (if MUL_32): Use mult64_hw for __muldi3.
2317         (if MUL_F5): Use mult64_hw for __muldi3.
2318         * config/msp430/lib2mul.c (__muldi3): New.
2319         * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
2321 2020-11-17  Alan Modra  <amodra@gmail.com>
2323         * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
2324         (LIB2_SIDITI_CONV_FUNCS): Define.
2325         * config/rs6000/ppc64-fp.c: Delete file.
2327 2020-11-15  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2329         * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
2330         hwmult library functions.
2332 2020-11-10  Jeff Law  <law@redhat.com>
2334         * libgcc2.c: Fix whitespace issues in most recent change.
2336 2020-11-10  Stefan Kanthak  <stefan.kanthak@nexgo.de>
2338         * libgcc2.c (__addvSI3): Use overflow builtins.
2339         (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
2340         (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
2341         (__negvsi2, __negvDI2): Likewise.
2342         (__cmpdi2, __ucmpdi2): Adjust implementation to improve
2343         generated code.
2344         * libgcc2.h (__ucmpdi2): Adjust prototype.
2346 2020-11-03  Pat Bernardi  <bernardi@adacore.com>
2347             Olivier Hainque   <hainque@adacore.com>
2349         * config.host (aarch64-vxworks7*, tmake_file): Add
2350         ${cpu_type}/t-lse and t-slibgcc-libgcc.
2352 2020-11-03  Martin Storsjö  <martin@martin.st>
2354         * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
2355         before calling the callback.
2357 2020-10-30  Olivier Hainque  <hainque@adacore.com>
2358             Douglas Rupp  <rupp@adacore.com>
2359             Pat Bernardi  <bernardi@adacore.com>
2361         * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
2362         to apply to VxWorks 7 as well.
2364 2020-10-29  Olivier Hainque  <hainque@adacore.com>
2366         * config/gthr-vxworks-tls.c: Fix preprocessor logic
2367         controlling the definition of VX_ENTER_TLS_DTOR and
2368         VX_LEAVE_TLS_DTOR based on a version major check.
2370 2020-10-29  Olivier Hainque  <hainque@adacore.com>
2372         * config/gthr-vxworks-thread.c: Fix name of macro used
2373         to condition the inclusion of an actual implementation.
2375 2020-10-27  Martin Liska  <mliska@suse.cz>
2377         PR gcov-profile/97461
2378         * libgcov.h (gcov_counter_add): Use first static counters
2379         as it should help to have malloc wrappers set up.
2381 2020-10-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2383         * config/gthr-vxworks-thread.c: #include gthr.h before
2384         testing the guard defined there.
2385         * config/gthr-vxworks-cond.c: Likewise.
2387 2020-10-21  Douglas Rupp  <rupp@adacore.com>
2388             Olivier Hainque  <hainque@adacore.com>
2390         * config.host (powerpc*-wrs-vxworks7*): New case.
2391         * configure.ac: Handle powerpc*-*-vxworks7* as
2392         powerpc*-*-linux* for ppc-fp_type.
2393         * configure: Regenerate.
2395 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2397         * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
2398         section on VxWorks >= 6.
2399         * config/gthr-vxworks-thread.c: Condition the entire
2400         implementation on __GTHREAD_CXX0X.
2402 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2404         * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
2405         section on VxWorks >= 6.
2406         * config/gthr-vxworks-cond.c: Condition the entire
2407         implementation on __GTHREAD_HAS_COND.
2409 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2411         * config/gthr-vxworks.c: #include <taskLib.h>.
2413 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2415         * config/gthr-vxworks.h: Rewrite remaining occurrence
2416         of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
2418 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2419              Olivier Hainque   <hainque@adacore.com>
2421         * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
2422         except on VxWorks 6.
2424 2020-10-16  Olivier Hainque  <hainque@adacore.com>
2426         * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
2428 2020-10-14  Alexandre Oliva  <oliva@adacore.com>
2430         * config/gthr-vxworks-thread.c: Include stdlib.h.
2431         (tls_delete_hook): Prototype it.
2432         (__gthread_cond_signal): Return early if no waiters.  Consume
2433         signal in case the semaphore got full.  Use semInfoGet instead
2434         of kernel-mode-only semInfo.
2435         (__gthread_cond_timedwait): Use semExchange.  Always take the
2436         mutex again before returning.
2437         * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
2439 2020-10-14  Olivier Hainque  <hainque@adacore.com>
2441         * config/t-vxworks (LIBGCC2_INCLUDES): Append
2442         $(MULTISUBDIR) to the -I path for fixed headers, as we
2443         arrange to have different sets of such headers for different
2444         multilibs when they are activated.
2445         * config/t-vxworks7: Likewise.
2447 2020-10-14  Olivier Hainque  <hainque@adacore.com>
2449         * config/t-vxworks: Add include-fixed to include search
2450         paths for libgcc on VxWorks.
2451         * config/t-vxworks7: Likewise.
2453 2020-10-09  H.J. Lu  <hjl.tools@gmail.com>
2455         PR target/97148
2456         * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
2457         instead of <cetintrin.h>.
2459 2020-10-01  Alan Modra  <amodra@gmail.com>
2461         * config/rs6000/morestack.S,
2462         * config/rs6000/tramp.S: Support __PCREL__ code.
2464 2020-10-01  Alan Modra  <amodra@gmail.com>
2466         * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
2468 2020-09-29  Maciej W. Rozycki  <macro@wdc.com>
2470         * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
2471         variable.
2473 2020-09-28  Richard Sandiford  <richard.sandiford@arm.com>
2475         * config/aarch64/libgcc-softfp.ver: New file.
2476         * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
2478 2020-09-27  Clement Chigot  <clement.chigot@atos.net>
2480         * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
2482 2020-09-22  Sergei Trofimovich  <siarheit@google.com>
2484         PR gcov-profile/96913
2485         * libgcov-driver.c (write_one_data): Avoid function pointer
2486         comparison in TOP streaming decision.
2488 2020-09-17  Torbjörn SVENSSON  <torbjorn.svensson@st.com>
2489             Christophe Lyon  <christophe.lyon@linaro.org>
2491         * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
2492         qualifier.
2493         (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
2494         (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
2495         missing prototypes.
2497 2020-09-17  Wei Wentao  <weiwt.fnst@cn.fujitsu.com>
2499         * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
2500         unused variable warning.
2502 2020-09-16  Jojo R  <jiejie_rong@c-sky.com>
2504         * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
2506 2020-09-09  Tom de Vries  <tdevries@suse.de>
2508         * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
2509         Wbuiltin-declaration-mismatch.
2511 2020-08-26  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2513         * config/msp430/slli.S (__gnu_mspabi_sllp): New.
2514         * config/msp430/srai.S (__gnu_mspabi_srap): New.
2515         * config/msp430/srli.S (__gnu_mspabi_srlp): New.
2517 2020-08-13  Kwok Cheung Yeung  <kcy@codesourcery.com>
2519         * config/nvptx/atomic.c: New.
2520         * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
2522 2020-08-03  Ian Lance Taylor  <iant@golang.org>
2524         * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
2526 2020-08-03  Jakub Jelinek  <jakub@redhat.com>
2528         PR target/96402
2529         * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
2530         of x(tmp0), x(tmp1) in STXP arguments.
2532 2020-07-31  Maciej W. Rozycki  <macro@wdc.com>
2534         * config/riscv/save-restore.S [__riscv_xlen == 64]
2535         (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
2536         (__riscv_save_2): Replace negative immediates used for the final
2537         stack pointer adjustment with positive ones, right-shifted by 4.
2539 2020-07-31  Martin Liska  <mliska@suse.cz>
2541         * libgcov-driver.c: Add __gcov_kvp_pool
2542         and __gcov_kvp_pool_index variables.
2543         * libgcov.h (allocate_gcov_kvp): New.
2544         (gcov_topn_add_value): Use it.
2546 2020-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2548         * config/aarch64/lse.S: Add PAC property note.
2550 2020-07-23  Martin Liska  <mliska@suse.cz>
2552         PR gcov-profile/96035
2553         * libgcov-driver-system.c: Create gcov folders with 0777
2554         so that it respects a system umask.
2556 2020-07-14  David Edelsohn  <dje.gcc@gmail.com>
2558         * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
2560 2020-07-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2562         PR target/94891
2563         * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
2564         (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
2565         (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
2566         (MD_DEMANGLE_RETURN_ADDR): This.
2567         (aarch64_post_extract_frame_addr): Rename to ...
2568         (aarch64_demangle_return_addr): This.
2569         (aarch64_post_frob_eh_handler_addr): Remove.
2570         * unwind-dw2.c (uw_update_context): Demangle return address.
2571         (uw_frob_return_addr): Remove.
2573 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2575         PR target/96001
2576         * config/aarch64/lse.S: Add BTI marking and related definitions,
2577         and add BTI c to function entries.
2579 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2581         * config/aarch64/lse.S: Add stack note.
2583 2020-07-02  Martin Liska  <mliska@suse.cz>
2585         PR gcov-profile/95348
2586         * libgcov-driver.c (merge_one_data): Merge only profiles
2587         that are not of non-zero type.
2588         (write_one_data): Write counters only if there's one non-zero
2589         value.
2590         * libgcov-util.c (tag_function): Change signature from unsigned
2591         to int.
2592         (tag_blocks): Likewise.
2593         (tag_arcs): Likewise.
2594         (tag_counters): Likewise.
2595         (tag_summary): Likewise.
2596         (tag_lines): Read only if COUNTERS is non-zero.
2597         (read_gcda_file): Handle negative length for COUNTERS type.
2599 2020-06-25  Martin Liska  <mliska@suse.cz>
2601         * libgcov-driver.c (merge_summary): Remove function as its name
2602         is misleading and doing something different.
2603         (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
2604         in gcov-tool.
2605         * libgcov-util.c (curr_object_summary): Remove.
2606         (read_gcda_file): Remove unused curr_object_summary.
2607         (gcov_merge): Merge summaries.
2608         * libgcov.h: Add summary argument for gcov_info struct.
2610 2020-06-24  H.J. Lu  <hjl.tools@gmail.com>
2612         PR target/95259
2613         * config/i386/cpuinfo.c: Don't include "cpuinfo.h".  Include
2614         "common/config/i386/i386-cpuinfo.h" and
2615         "common/config/i386/cpuinfo.h".
2616         (__cpu_features2): Changed to array.
2617         (get_amd_cpu): Removed.
2618         (get_intel_cpu): Likewise.
2619         (get_available_features): Likewise.
2620         (__cpu_indicator_init): Call cpu_indicator_init.
2621         * config/i386/cpuinfo.h: Removed.
2623 2020-06-23  David Edelsohn  <dje.gcc@gmail.com>
2625         * Makefile.in: Remove uses of empty.mk. Use -include.
2626         * config/avr/t-avr: Use -include.
2627         * empty.mk: Delete.
2629 2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
2631         * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
2632         * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
2633         and 64 bit with -maix64.
2634         * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
2635         Build and install AIX-style FAT libraries.
2637 2020-06-17  Samuel Thibault  <samuel.thibault@gnu.org>
2639         * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
2640         'i386/gnu-unwind.h'
2641         * config/i386/gnu-unwind.h: New file.
2643 2020-06-17  Martin Liska  <mliska@suse.cz>
2645         * libgcov-util.c (read_gcda_finalize): Remove const operator.
2646         (merge_wrapper): Add both counts and use them properly.
2647         (topn_to_memory_representation): New function.
2648         (gcov_merge): Covert on disk representation to in memory
2649         representation.
2650         * libgcov.h: Remove const operator.
2652 2020-06-15  Max Filippov  <jcmvbkbc@gmail.com>
2654         * configure: Regenerate.
2655         * configure.ac: Use AC_COMPILE_IFELSE instead of manual
2656         preprocessor invocation to check for __XTENSA_CALL0_ABI__.
2658 2020-06-09  Martin Liska  <mliska@suse.cz>
2660         PR gcov-profile/95494
2661         * libgcov-driver.c (write_top_counters): Cast first to
2662         intptr_t as sizeof(*) != sizeof(gcov_type).
2663         * libgcov.h (gcov_counter_set_if_null): Remove.
2664         (gcov_topn_add_value): Cast first to intptr_t and update
2665         linked list directly.
2667 2020-06-09  Max Filippov  <jcmvbkbc@gmail.com>
2669         * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
2670         with uw_install_context_1.
2672 2020-06-04  Andreas Schwab  <schwab@suse.de>
2674         PR target/59230
2675         PR libfortran/59227
2676         * config/ia64/t-softfp-compat (softfp_file_list): Filter out
2677         soft-fp/divtf3.c.
2678         (LIB2ADD): Add config/ia64/divtf3.c.
2679         * config/ia64/divtf3.c: New file.
2681 2020-06-03  Martin Liska  <mliska@suse.cz>
2683         PR gcov-profile/95480
2684         * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
2685         * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
2686         (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
2687         (gcov_counter_set_if_null): Likewise.
2689 2020-06-02  Jim Wilson  <jimw@sifive.com>
2691         * config/riscv/div.S (__divdi3): For negative arguments, change bgez
2692         to bgtz.
2694 2020-06-02  Martin Liska  <mliska@suse.cz>
2696         * libgcov.h (gcov_topn_add_value): Use xcalloc instead
2697         of xmalloc.
2699 2020-06-02  Martin Liska  <mliska@suse.cz>
2701         * libgcov-driver.c (prune_topn_counter): Remove.
2702         (prune_counters): Likewise.
2703         (merge_one_data): Special case TOP N counters
2704         as they have variable length.
2705         (write_top_counters): New.
2706         (write_one_data): Special case TOP N.
2707         (dump_one_gcov): Do not prune TOP N counters.
2708         * libgcov-merge.c (merge_topn_values_set): Remove.
2709         (__gcov_merge_topn): Use gcov_topn_add_value.
2710         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2711         Likewise here.
2712         * libgcov.h (gcov_counter_add): New.
2713         (gcov_counter_set_if_null): Likewise.
2714         (gcov_topn_add_value): New.
2716 2020-06-01  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2718         * config/i386/sfp-exceptions.c (struct fenv):
2719         Add __attribute__ ((gcc_struct)).
2721 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
2723         PR bootstrap/95413
2724         * configure: Regenerated.
2726 2020-05-28  Dong JianQiang  <dongjianqiang2@huawei.com>
2728         PR gcov-profile/95332
2729         * libgcov-util.c (read_gcda_file): Call gcov_magic.
2730         * libgcov.h (gcov_magic): Disable GCC poison.
2732 2020-05-21  H.J. Lu  <hongjiu.lu@intel.com>
2734         PR target/95212
2735         * config/i386/cpuinfo.h (processor_features): Move
2736         FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
2738 2020-05-20  H.J. Lu  <hongjiu.lu@intel.com>
2740         PR target/91695
2741         * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
2742         check.
2744 2020-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2746         PR target/95212
2747         PR target/95220
2748         * config/i386/cpuinfo.c (get_available_features): Fix
2749         FEATURE_GFNI check.  Also check FEATURE_AVX512VP2INTERSECT.
2750         * config/i386/cpuinfo.h (processor_features): Add
2751         FEATURE_AVX512VP2INTERSECT.
2753 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2755         PR bootstrap/95147
2756         * configure: Regenerated.
2758 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2760         * configure: Regenerated.
2762 2020-05-09  Hans-Peter Nilsson  <hp@axis.com>
2764         * config.host: Remove support for crisv32-*-* and cris*-*-linux.
2765         * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
2767 2020-05-06  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2769         * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
2770         (__math_force_eval_div): New define.
2771         (__sfp_handle_exceptions): Use __math_force_eval_div to use
2772         generic division to generate INVALID, DIVZERO and INEXACT
2773         exceptions.
2775 2020-05-06  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2777         * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
2778         instead of getauxval.
2779         (AT_HWCAP): Define.
2780         (HWCAP_ATOMICS): Define.
2781         Guard detection on __gnu_linux__.
2783 2020-05-05  Michael Meissner  <meissner@linux.ibm.com>
2785         * config.host: Delete changes meant for a private branch.
2786         * config/rs6000/t-float128: Likewise.
2787         * configure.ac: Likewise.
2788         * configure: Likewise.
2790 2020-05-05  Martin Liska  <mliska@suse.cz>
2792         PR gcov-profile/93623
2793         * Makefile.in: Remove __gcov_flush.
2794         * gcov.h (__gcov_flush): Remove.
2795         * libgcov-interface.c (__gcov_flush): Remove.
2796         (init_mx): Use renamed mutex.
2797         (__gcov_lock): Likewise.
2798         (__gcov_unlock): Likewise.
2799         (__gcov_fork): Likewise.
2800         (__gcov_flush): Remove.
2802 2020-05-05  Martin Liska  <mliska@suse.cz>
2804         PR gcov-profile/93623
2805         * libgcov-interface.c (__gcov_fork): Do not flush
2806         and reset only in child process.
2807         (__gcov_execl): Dump counters only and reset them
2808         only if exec* fails.
2809         (__gcov_execlp): Likewise.
2810         (__gcov_execle): Likewise.
2811         (__gcov_execv): Likewise.
2812         (__gcov_execvp): Likewise.
2813         (__gcov_execve): Likewise.
2815 2020-05-05  Martin Liska  <mliska@suse.cz>
2817         PR gcov-profile/93623
2818         * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
2819         * libgcov-interface.c (ALIAS_void_fn): Remove.
2820         (__gcov_lock): New.
2821         (__gcov_unlock): New.
2822         (__gcov_flush): Use __gcov_lock and __gcov_unlock.
2823         (__gcov_reset): Likewise.
2824         (__gcov_dump): Likewise.
2825         * libgcov.h (__gcov_lock): New declaration.
2826         (__gcov_unlock): Likewise.
2828 2020-05-01  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2830         * config/i386/sfp-exceptions.c (__math_force_eval): New define.
2831         (__sfp_handle_exceptions): Use __math_force_eval to evaluate
2832         generic division to generate INVALID and DIVZERO exceptions.
2834 2020-04-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2836         * config/rs6000/crtresfpr.S: Use .machine ppc.
2837         * config/rs6000/crtresxfpr.S: Likewise.
2838         * config/rs6000/crtsavfpr.S: Likewise.
2840 2020-04-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2842         PR target/94514
2843         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
2844         Update context->flags accroding to the frame state.
2846 2020-04-19  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2848         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
2849         Remove unneeded assignments to volatile memory.
2851 2020-04-15  Jakub Jelinek  <jakub@redhat.com>
2853         PR target/93053
2854         * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
2855         * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
2856         is not defined, use just .arch armv8-a.
2857         (B, M, N, OPN): Define.
2858         (COMMENT): New .macro.
2859         (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
2860         defined.  Otherwise, move the operands right after the glue? and
2861         comment out operands where the macros are used.
2862         * configure: Regenerated.
2863         * config.in: Regenerated.
2865 2020-04-07  Ian Lance Taylor  <iant@golang.org>
2867         PR libgcc/94513
2868         * generic-morestack.c: Give up trying to use __mmap/__munmap, use
2869         syscall instead.
2871 2020-04-04  Ian Lance Taylor  <iant@golang.org>
2873         * generic-morestack.c: Only use __mmap on glibc >= 2.26.
2875 2020-04-03  Ian Lance Taylor  <iant@golang.org>
2877         * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
2878         than mmap/munmap, to avoid hooks.
2880 2020-04-03  Jim Johnston  <jjohnst@us.ibm.com>
2882         * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
2883         (TPFRA_OFFSET): Macros removed.
2884         (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
2885         (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
2886         (PG3_SKIPPING_OFFSET): New macros.
2887         (__isPATrange): Use cinfc_fast for the check.
2888         (__isSkipResetAddr): New function.
2889         (s390_fallback_frame_state): Check for skip trace addresses. Use
2890         either ICST_CRET or ICST_SRET to calculate return address
2891         location.
2892         (__tpf_eh_return): Handle skip trace addresses.
2894 2020-03-26  Richard Earnshaw  <rearnsha@arm.com>
2896         PR target/94220
2897         * config/arm/lib1funcs.asm (COND): Use a single definition for
2898         unified syntax.
2899         (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
2900         (aeabi_idivmod): Likewise.
2901         (divsi3_skip_div0_test): Likewise.
2903 2020-03-17  Mihail Ionescu  <mihail.ionescu@arm.com>
2905         * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
2907 2020-03-04  Andreas Krebbel  <krebbel@linux.ibm.com>
2909         * config.host: Include the new makefile fragment.
2910         * config/s390/t-tpf: New file.
2912 2020-03-03  Richard Earnshaw  <rearnsha@arm.com>
2914         * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
2915         syntax.
2916         (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
2917         (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
2918         (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
2919         (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
2920         * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
2921         syntax.
2922         (divsi3, modsi3): Likewise.
2923         (clzdi2, ctzsi2): Likewise.
2924         * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
2925         unified syntax.
2926         (UNWIND_WRAPPER): Likewise.
2928 2020-03-02  Martin Liska  <mliska@suse.cz>
2930         * libgcov-interface.c: Remove duplicate
2931         declaration of __gcov_flush_mx.
2933 2020-02-18  Martin Liska  <mliska@suse.cz>
2935         PR ipa/92924
2936         * libgcov-merge.c (merge_topn_values_set): Record
2937         when a TOP N counter becomes invalid.  When merging
2938         remove a smallest value if the space is needed.
2940 2020-02-12  Sandra Loosemore  <sandra@codesourcery.com>
2942         PR libstdc++/79193
2943         PR libstdc++/88999
2945         * configure: Regenerated.
2947 2020-02-10  Jeff Law  <law@redhat.com>
2949         * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
2950         sections.
2951         * config/frv/frvend.c: Similarly.
2953 2020-02-10  H.J. Lu  <hongjiu.lu@intel.com>
2955         PR libgcc/85334
2956         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2957         New.
2959 2020-02-10  Christophe Lyon  <christophe.lyon@linaro.org>
2961         PR target/93615
2962         * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
2963         _Unwind_gnu_Find_got.
2964         * unwind-pe.h: Likewise.
2966 2020-02-07  Jakub Jelinek  <jakub@redhat.com>
2968         PR target/93615
2969         * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
2970         (_Unwind_gnu_Find_got): ... this.  Use __asm instead of asm.  Remove
2971         trailing :s in asm.  Formatting fixes.
2972         (_Unwind_decode_typeinfo_ptr): Adjust caller.
2974 2020-01-31  Sandra Loosemore  <sandra@codesourcery.com>
2976         nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
2978         * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
2979         * config/nios2-elf-lib.h: New.
2980         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
2981         code for finding GOT base for nios2.
2983 2020-01-27  Martin Liska  <mliska@suse.cz>
2985         PR gcov-profile/93403
2986         * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
2987         Call __gcov_indirect_call_profiler_body.
2988         (__gcov_indirect_call_profiler_body): New.
2989         (__gcov_indirect_call_profiler_v4_atomic): New.
2990         * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
2991         New declaration.
2993 2020-01-27  Claudiu Zissulescu  <claziss@synopsys.com>
2995         * config/arc/crti.S: Add RF16 object attribute.
2996         * config/arc/crtn.S: Likewise.
2997         * config/arc/crttls.S: Likewise.
2998         * config/arc/lib1funcs.S: Likewise.
2999         * config/arc/fp-hack.h (ARC_OPTFPE): Define.
3000         * config/arc/lib2funcs.c: New file.
3001         * config/arc/t-arc: Add lib2funcs to LIB2ADD.
3003 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
3005         * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
3006         * configure.ac: Handle `--with-toolexeclibdir='.
3007         * configure: Regenerate.
3009 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
3011         * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
3013 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
3015         * config/mips/gnustack.h: New file.
3016         * config/mips/crti.S: Include gnustack.h.
3017         * config/mips/crtn.S: Likewise.
3018         * config/mips/mips16.S: Likewise.
3019         * config/mips/vr4120-div.S: Likewise.
3021 2020-01-23  Martin Liska  <mliska@suse.cz>
3023         * libgcov-driver.c (prune_topn_counter): Remove
3024         check for -1 as we only prune run-time counters
3025         that do not generate an invalid state.
3027 2020-01-22  Martin Liska  <mliska@suse.cz>
3029         PR tree-optimization/92924
3030         * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
3031         try to find an existing value, then find an empty slot
3032         if not found.
3034 2020-01-22  Martin Liska  <mliska@suse.cz>
3036         PR tree-optimization/92924
3037         * libgcov-driver.c (prune_topn_counter): New.
3038         (prune_counters): Likewise.
3039         (dump_one_gcov): Prune a run-time counter.
3040         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
3041         For a known value, add GCOV_TOPN_VALUES to value.
3042         Otherwise, decrement all counters by one.
3044 2020-01-18  Hans-Peter Nilsson  <hp@axis.com>
3046         * config/cris/arit.c (DS): Apply attribute __fallthrough__.
3048 2020-01-18  John David Anglin  <danglin@gcc.gnu.org>
3050         PR libgcc/92988
3051         * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
3052         DEFAULT_USE_CXA_ATEXIT is true.
3054 2020-01-16  Mihail-Calin Ionescu  <mihail.ionescu@arm.com>
3055             Thomas Preud'homme  <thomas.preudhomme@arm.com>
3057         * config/arm/t-arm: Check return value of gcc rather than lack of
3058         output.
3060 2020-01-14  Georg-Johann Lay  <avr@gjlay.de>
3062         * config/avr/lib1funcs.S (skip): Simplify.
3064 2020-01-10  Kwok Cheung Yeung  <kcy@codesourcery.com>
3066         * config/gcn/atomic.c: Remove include of stdint.h.
3067         (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
3068         __UINTPTR_TYPE__.
3070 2020-01-09  Kwok Cheung Yeung  <kcy@codesourcery.com>
3072         * config/gcn/atomic.c: New.
3073         * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
3075 2020-01-08  Georg-Johann Lay  <avr@gjlay.de>
3077         Implement 64-bit double functions.
3079         PR target/92055
3080         * config.host (tmake_file) [target=avr]: Add t-libf7,
3081         t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
3082         * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
3083         depending on sizeof (double) or sizeof (long double).
3084         * config/avr/libf7: New folder.
3086 2020-01-05  Olivier Hainque  <hainque@adacore.com>
3088         * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
3089         by IN_LIBGCC2.
3091 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
3093         Update copyright years.
3095 2019-12-30  Olivier Hainque  <hainque@adacore.com>
3097         * config/gthr-vxworks.h: Use _vxworks-versions.h.
3098         * config/gthr-vxworks-tls.c: Likewise.
3100 2019-12-30  Olivier Hainque  <hainque@adacore.com>
3102         * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
3103         standard zero-initializer syntax.
3105 2019-12-30  Olivier Hainque  <hainque@adacore.com>
3107         * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
3108         reference to the internal VX_GET_TLS_DATA interface.
3110 2019-12-30  Olivier Hainque  <hainque@adacore.com>
3112         * config/vxcrtstuff.c: Fix incorrect spelling of
3113         USE_INITFINI_ARRAY in guard.
3115 2019-12-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3117         * config.host: s/msp430*-*-elf/msp430-*-elf*.
3118         Override default "extra_parts" variable.
3119         * configure: Regenerate.
3120         * configure.ac: Disable TM clone registry by default for
3121         msp430-elfbare.
3123 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3125         * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
3126         "extra_parts".
3127         * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
3129 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3131         * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
3132         true.
3134 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3136         * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
3137         defined instead of its value.
3139 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3141         * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
3142         if it will have contents.
3144 2019-12-05  Georg-Johann Lay  <avr@gjlay.de>
3146         PR target/92055
3147         * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
3149 2019-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3151         PR libgcc/91737
3152         * config.host: Add t-gthr-noweak on *-*-musl*.
3153         * config/t-gthr-noweak: New file.
3155 2019-11-17  John David Anglin  <danglin@gcc.gnu.org>
3157         * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
3158         volatile void *.  Remove trap check.
3159         (__kernel_cmpxchg2): Likewise.
3160         (FETCH_AND_OP_2): Adjust operand types.
3161         (OP_AND_FETCH_2): Likewise.
3162         (FETCH_AND_OP_WORD): Likewise.
3163         (OP_AND_FETCH_WORD): Likewise.
3164         (COMPARE_AND_SWAP_2): Likewise.
3165         (__sync_val_compare_and_swap_4): Likewise.
3166         (__sync_bool_compare_and_swap_4): Likewise.
3167         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3168         (__sync_lock_test_and_set_4): Likewise.
3169         (SYNC_LOCK_RELEASE_1): Likewise.  Use __kernel_cmpxchg2 for release.
3170         (__sync_lock_release_4): Adjust operand types.  Use __kernel_cmpxchg
3171         for release.
3172         (__sync_lock_release_8): Remove.
3174 2019-11-15  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3176         * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
3177         of __sigset_t.
3179 2019-11-14  Jerome Lambourg  <lambourg@adacore.com>
3180             Doug Rupp <rupp@adacore.com>
3181             Olivier Hainque  <hainque@adacore.com>
3183         * config.host: Collapse the arm-vxworks entries into
3184         a single arm-wrs-vxworks7* one.
3185         * config/arm/unwind-arm-vxworks.c: Update comments.  Provide
3186         __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
3187         kernel modules, to be overriden by libstdc++ when we link with
3188         it.  Rely on externally provided __exidx_start/end.
3190 2019-11-14  Doug Rupp  <rupp@adacore.com>
3191             Olivier Hainque  <hainque@adacore.com>
3193         * config.host: Handle aarch64*-wrs-vxworks7*.
3195 2019-11-12  Olivier Hainque  <hainque@adacore.com>
3197         * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
3198         sources except the cxx0x support to LIB2ADDEH.  We don't support
3199         cxx0x on AE/653.
3200         * config/t-vxworksae: New file.
3201         * config.host: Handle *-*-vxworksae: Add the two aforementioned
3202         Makefile fragment files at their expected position in the tmake_file
3203         list, in accordance with what is done for other VxWorks variants.
3205 2019-11-12  Corentin Gay  <gay@adacore.com>
3206             Jerome Lambourg  <lambourg@adacore.com>
3207             Olivier Hainque  <hainque@adacore.com>
3209         * config/t-gthr-vxworks: New file, add all the gthr-vxworks
3210         sources to LIB2ADDEH.
3211         * config/t-vxworks: Remove adjustments to LIB2ADDEH.
3212         * config/t-vxworks7: Likewise.
3214         * config.host: Append a block at the end of the file to add the
3215         t-gthr files to the tmake_file list for VxWorks after everything
3216         else.
3218         * config/vxlib.c: Rename as gthr-vxworks.c.
3219         * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
3221         * config/gthr-vxworks.h: Simplify a few comments.  Expose a TAS
3222         API and a basic error checking API, both internal.  Simplify the
3223         __gthread_once_t type definition and initializers.  Add sections
3224         for condition variables support and for the C++0x thread support,
3225         conditioned against Vx653 for the latter.
3227         * config/gthr-vxworks.c (__gthread_once): Simplify comments and
3228         implementation, leveraging the TAS internal API.
3229         * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
3230         API, leveraging the general availability of TLS services in VxWorks7
3231         post SR6xxx.
3232         (__gthread_setspecific, __gthread_setspecific): Use it.
3233         (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
3234         * config/gthr-vxworks-cond.c: New file.  GTHREAD_COND variable
3235         support based on VxWorks primitives.
3236         * config/gthr-vxworks-thread.c: New file.  GTHREAD_CXX0X support
3237         based on VxWorks primitives.
3239 2019-11-06  Jerome Lambourg  <lambourg@adacore.com>
3240             Olivier Hainque  <hainque@adacore.com>
3242         * config/vxcrtstuff.c: New file.
3243         * config/t-vxcrtstuff: New Makefile fragment.
3244         * config.host: Append t-vxcrtstuff to the tmake_file list
3245         on all VxWorks ports using dwarf for table based EH.
3247 2019-11-07  Georg-Johann Lay  <avr@gjlay.de>
3249         Support 64-bit double and 64-bit long double configurations.
3251         PR target/92055
3252         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
3253         long double is a 32-bit type.
3254         * config/avr/t-avrlibc: Copy double64 and long-double64
3255         multilib(s) from the vanilla one.
3256         * config/avr/t-copy-libgcc: New Makefile snip.
3258 2019-11-04  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3260         * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
3261         the target output object format is not ELF.
3262         s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
3264 2019-11-03  Oleg Endo  <olegendo@gcc.gnu.org>
3266         PR libgcc/78804
3267         * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
3268         * fp-bit.c (pack_d, unpack_d): Remove special cases for
3269         FLOAT_BIT_ORDER_MISMATCH.
3270         * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
3272 2019-11-01  Jim Wilson  <jimw@sifive.com>
3274         * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
3276 2019-10-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3278         * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
3279         s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY, 
3280         s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
3281         Define symbols for 32-bit and f5series hardware multiply
3282         register addresses.
3283         Replace hard-coded register addresses with symbols.
3284         Fix "_mspabi*" typo.
3285         Fix whitespace.
3286         * config/msp430/lib2mul.c: Add comment.
3288 2019-10-15  John David Anglin  <danglin@gcc.gnu.org>
3290         * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
3291         unsigned int.  Adjust callers.
3292         (__canonicalize_funcptr_for_compare): Change plabel type to volatile
3293         unsigned int *.  Load relocation offset before function pointer.
3294         Add barrier to ensure ordering.
3296 2019-10-12  John David Anglin  <danglin@gcc.gnu.org>
3298         * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
3299         Load PIC register after branch target.  Fix white space.
3300         * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
3301         implementations.  Load PIC register after branch target.  Don't
3302         clobber function pointer when it points to function descriptor.
3303         Use nullification instead of branch in LINUX implementation.
3305 2019-10-03  John David Anglin  <danglin@gcc.gnu.org>
3307         * config/pa/fptr.c: Disable -Warray-bounds warning.
3309 2019-09-25  Richard Henderson  <richard.henderson@linaro.org>
3311         * config.in, configure: Re-rebuild with stock autoconf 2.69,
3312         not the ubuntu modified 2.69.
3314         PR target/91833
3315         * config/aarch64/lse-init.c: Include auto-target.h.  Disable
3316         initialization if !HAVE_SYS_AUXV_H.
3317         * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
3318         * config.in, configure: Rebuild.
3320         PR target/91834
3321         * config/aarch64/lse.S (LDNM): Ensure STXR output does not
3322         overlap the inputs.
3324 2019-09-25  Shaokun Zhang  <zhangshaokun@hisilicon.com>
3326         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
3327         CTR_EL0.IDC and CTR_EL0.DIC.
3329 2019-09-20  Christophe Lyon  <christophe.lyon@st.com>
3331         Revert:
3332         2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
3333                 Mickaël Guêné <mickael.guene@st.com>
3335         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3336         architecture.
3338 2019-09-19  Richard Henderson  <richard.henderson@linaro.org>
3340         * config/aarch64/lse-init.c: New file.
3341         * config/aarch64/lse.S: New file.
3342         * config/aarch64/t-lse: New file.
3343         * config.host: Add t-lse to all aarch64 tuples.
3345 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
3346         Mickaël Guêné <mickael.guene@st.com>
3348         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3349         architecture.
3351 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
3352         Mickaël Guêné <mickael.guene@st.com>
3354         * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
3355         (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
3356         (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
3357         (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
3358         (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
3359         (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
3360         (__gnu_personality_sigframe_fdpic): New.
3361         (get_eit_entry): Add FDPIC signal frame support.
3363 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
3364         Mickaël Guêné <mickael.guene@st.com>
3366         * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
3367         (__kernel_dmb): Likewise.
3368         (__fdpic_cmpxchg): New function.
3369         (__fdpic_dmb): New function.
3370         * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
3371         (gnu_Unwind_Find_got): New function.
3372         (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
3373         * unwind-arm-common.inc (UCB_PR_GOT): New.
3374         (funcdesc_t): New struct.
3375         (get_eit_entry): Add FDPIC support.
3376         (unwind_phase2): Likewise.
3377         (unwind_phase2_forced): Likewise.
3378         (__gnu_Unwind_RaiseException): Likewise.
3379         (__gnu_Unwind_Resume): Likewise.
3380         (__gnu_Unwind_Backtrace): Likewise.
3381         * unwind-pe.h (read_encoded_value_with_base): Likewise.
3383 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
3384         Mickaël Guêné <mickael.guene@st.com>
3386         * libgcc/crtstuff.c: Add support for FDPIC.
3388 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
3390         * config.host: Handle *-*-uclinuxfdpiceabi.
3392 2019-09-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
3394         * config.host: Set cpu_type for bpf-*-* targets.
3395         * config/bpf/t-bpf: Likewise.
3396         * config/bpf/crtn.S: Likewise.
3397         * config/bpf/crti.S: New file.
3399 2019-09-06  Jim Wilson  <jimw@sifive.com>
3401         * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3402         (riscv*-*-freebsd*): Likewise.
3404 2019-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
3406         * config.host: Remove references to spu.
3407         * config/spu/: Remove directory.
3409 2019-08-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3411         PR target/91306
3412         * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
3413         element type, instead of "sizeof" the element type.
3414         (__DTOR_LIST__): Likewise.
3415         (__TMC_LIST__): Likewise.
3416         (__do_global_dtors_aux_fini_array_entry): Likewise.
3417         (__frame_dummy_init_array_entry): Likewise.
3418         (__CTOR_END__): Likewise.
3419         (__DTOR_END__): Likweise.
3420         (__FRAME_END__): Likewise.
3421         (__TMC_END__): Likewise.
3423 2019-08-20  Lili Cui  <lilicui@intel.com>
3425         * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
3426         INTEL_COREI7_COOPERLAKE.
3428 2019-07-31  Matt Thomas  <matt@3am-software.com>
3429             Nick Hudson <nick@nthcliff.demon.co.uk>
3430             Matthew Green <mrg@eterna.com.au>
3431             Maya Rashish <coypu@sdf.org>
3433         * config.host (hppa*-*-netbsd*): New case.
3434         * config/pa/t-netbsd: New file.
3436 2019-07-31  Joel Hutton  <Joel.Hutton@arm.com>
3438         * config/arm/cmse.c (cmse_check_address_range): Add
3439         warn_unused_result attribute.
3441 2019-07-22  Martin Liska  <mliska@suse.cz>
3443         * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
3444         * config/pa/t-stublib: Likewise.
3446 2019-07-22  Stafford Horne  <shorne@gmail.com>
3448         PR target/90362
3449         * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
3450         to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
3451         instructions are not available on every processor.  Change a
3452         l.bnf to l.bf to fix logic issue.
3454 2019-07-04  Iain Sandoe  <iain@sandoe.co.uk>
3456         * config.host: Remove reference to t-darwin8.
3458 2019-07-03  Iain Sandoe  <iain@sandoe.co.uk>
3460         * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
3461         list.
3462         * config/rs6000/t-darwin: Build crt3_2 for older systems.  Revise
3463         mmacosx-version-min for crts to run across all system versions.
3464         * config/rs6000/t-darwin64 (LIB2ADD): Remove.
3465         * config/t-darwin: Revise mmacosx-version-min for crts to run across
3466         system versions >= 10.4.
3468 2019-07-03  Martin Liska  <mliska@suse.cz>
3470         * Makefile.in: Use topn_values instead of one_value names.
3471         * libgcov-merge.c (__gcov_merge_single): Move to ...
3472         (__gcov_merge_topn): ... this.
3473         (merge_single_value_set): Move to ...
3474         (merge_topn_values_set): ... this.
3475         * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
3476         ...
3477         (__gcov_topn_values_profiler_body): ... this.
3478         (__gcov_one_value_profiler_v2): Move to ...
3479         (__gcov_topn_values_profiler): ... this.
3480         (__gcov_one_value_profiler_v2_atomic): Move to ...
3481         (__gcov_topn_values_profiler_atomic): ... this.
3482         (__gcov_indirect_call_profiler_v4): Remove.
3483         * libgcov-util.c (__gcov_single_counter_op): Move to ...
3484         (__gcov_topn_counter_op): ... this.
3485         * libgcov.h (L_gcov_merge_single): Remove.
3486         (L_gcov_merge_topn): New.
3487         (__gcov_merge_single): Remove.
3488         (__gcov_merge_topn): New.
3489         (__gcov_one_value_profiler_v2): Move to ..
3490         (__gcov_topn_values_profiler): ... this.
3491         (__gcov_one_value_profiler_v2_atomic): Move to ...
3492         (__gcov_topn_values_profiler_atomic): ... this.
3494 2019-07-03  Martin Liska  <mliska@suse.cz>
3496         * libgcov-merge.c (merge_single_value_set): Support N values.
3497         * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
3499 2019-06-27  Ilia Diachkov  <ilia.diachkov@optimitech.com>
3501         * Makefile.in (USE_TM_CLONE_REGISTRY): New.
3502         (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
3503         * configure.ac: Add --disable-tm-clone-registry option.
3504         * configure: Regenerate.
3506 2019-06-27  Martin Liska  <mliska@suse.cz>
3508         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
3509         dead assignments.
3510         * libgcov-util.c: Likewise.
3512 2019-06-27  Martin Liska  <mliska@suse.cz>
3514         * libgcov-util.c (gcov_profile_merge): Release allocated
3515         memory.
3516         (calculate_overlap): Likewise.
3518 2019-06-25  Iain Sandoe  <iain@sandoe.co.uk>
3520         * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
3521         * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
3522         Build objects for the out of line save/restore register functions
3523         so that they can be used for any supported Darwin version.
3524         * config/t-darwin: Default the build Darwin version to Darwin8
3525         (MacOS 10.4).
3527 2019-06-25  Martin Liska  <mliska@suse.cz>
3529         * libgcov-driver-system.c (replace_filename_variables): Do not
3530         call strlen with NULL argument.
3532 2019-06-25  Andrew Stubbs  <ams@codesourcery.com>
3534         * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
3535         * config/gcn/unwind-gcn.c: New file.
3537 2019-06-25  Kwok Cheung Yeung  <kcy@codesourcery.com>
3538             Andrew Stubbs  <ams@codesourcery.com>
3540         * configure: Regenerate.
3541         * config/gcn/gthr-gcn.h: New.
3543 2019-06-18  Tom de Vries  <tdevries@suse.de>
3545         * config/nvptx/crt0.c (__main): Declare.
3547 2019-06-17  Matthew Green  <mrg@eterna.com.au>
3548             Maya Rashish  <coypu@sdf.org>
3550         * config.host (aarch64*-*-netbsd*): New case.
3552 2019-06-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3554         * config/msp430/slli.S (__mspabi_sllll): New library function for
3555         performing a logical left shift of a 64-bit value.
3556         * config/msp430/srai.S (__mspabi_srall): New library function for
3557         performing a arithmetic right shift of a 64-bit value.
3558         * config/msp430/srll.S (__mspabi_srlll): New library function for
3559         performing a logical right shift of a 64-bit value.
3561 2019-06-14  Matt Thomas  <matt@3am-software.com>
3562             Matthew Green  <mrg@eterna.com.au>
3563             Nick Hudson  <skrll@netbsd.org>
3564             Maya Rashish  <coypu@sdf.org>
3566         * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
3567         * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
3568         functions to build.
3569         * config/arm/t-netbsd-eabi: New file.
3571 2019-06-12  Dimitar Dimitrov  <dimitar@dinux.eu>
3573         * config.host: Add PRU target.
3574         * config/pru/asri.c: New file.
3575         * config/pru/eqd.c: New file.
3576         * config/pru/eqf.c: New file.
3577         * config/pru/ged.c: New file.
3578         * config/pru/gef.c: New file.
3579         * config/pru/gtd.c: New file.
3580         * config/pru/gtf.c: New file.
3581         * config/pru/led.c: New file.
3582         * config/pru/lef.c: New file.
3583         * config/pru/lib2bitcountHI.c: New file.
3584         * config/pru/lib2divHI.c: New file.
3585         * config/pru/lib2divQI.c: New file.
3586         * config/pru/lib2divSI.c: New file.
3587         * config/pru/libgcc-eabi.ver: New file.
3588         * config/pru/ltd.c: New file.
3589         * config/pru/ltf.c: New file.
3590         * config/pru/mpyll.S: New file.
3591         * config/pru/pru-abi.h: New file.
3592         * config/pru/pru-asm.h: New file.
3593         * config/pru/pru-divmod.h: New file.
3594         * config/pru/sfp-machine.h: New file.
3595         * config/pru/t-pru: New file.
3597 2019-06-11  Jakub Jelinek  <jakub@redhat.com>
3599         * libgcov-merge.c (__gcov_merge_single): Revert previous change.
3601 2019-06-10  Martin Liska  <mliska@suse.cz>
3603         PR bootstrap/90808
3604         * libgcov.h: Add ATTRIBUTE_UNUSED.
3606 2019-06-10  Martin Liska  <mliska@suse.cz>
3608         * Makefile.in: Add __gcov_one_value_profiler_v2,
3609         __gcov_one_value_profiler_v2_atomic and
3610         __gcov_indirect_call_profiler_v4.
3611         * libgcov-merge.c (__gcov_merge_single): Change
3612         function signature.
3613         (merge_single_value_set): New.
3614         * libgcov-profiler.c (__gcov_one_value_profiler_body):
3615         Update functionality.
3616         (__gcov_one_value_profiler): Remove.
3617         (__gcov_one_value_profiler_v2): ... this.
3618         (__gcov_one_value_profiler_atomic): Rename to ...
3619         (__gcov_one_value_profiler_v2_atomic): this.
3620         (__gcov_indirect_call_profiler_v3): Rename to ...
3621         (__gcov_indirect_call_profiler_v4): ... this.
3622         * libgcov.h (__gcov_one_value_profiler): Remove.
3623         (__gcov_one_value_profiler_atomic): Remove.
3624         (__gcov_one_value_profiler_v2_atomic): New.
3625         (__gcov_indirect_call_profiler_v3): Remove.
3626         (__gcov_one_value_profiler_v2): New.
3627         (__gcov_indirect_call_profiler_v4): New.
3628         (gcov_get_counter_ignore_scaling): New function.
3630 2019-06-07  Martin Liska  <mliska@suse.cz>
3632         * Makefile.in: Remove usage of
3633         _gcov_merge_icall_topn.
3634         * libgcov-driver.c (gcov_sort_n_vals): Remove.
3635         (gcov_sort_icall_topn_counter): Likewise.
3636         (gcov_sort_topn_counter_arrays): Likewise.
3637         (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
3638         * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
3639         * libgcov-profiler.c (__gcov_topn_value_profiler_body):
3640         Likewise.
3641         (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
3642         (struct indirect_call_tuple): Remove.
3643         (__gcov_indirect_call_topn_profiler): Remove.
3644         * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
3645         * libgcov.h (gcov_sort_n_vals): Remove.
3646         (L_gcov_merge_icall_topn): Likewise.
3647         (__gcov_merge_icall_topn): Likewise.
3648         (__gcov_indirect_call_topn_profiler): Likewise.
3650 2019-06-06  Iain Sandoe  <iain@sandoe.co.uk>
3652         * config/rs6000/t-darwin: Ensure that the unwinder is built with
3653         altivec enabled.
3655 2019-06-06  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3657         * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
3658         section.
3659         (__mspabi_slli): Likewise.
3660         (__mspabi_slll_n): Likewise.
3661         (__mspabi_slll): Likewise.
3662         * config/msp430/srai.S (__mspabi_srai_n): Likewise.
3663         (__mspabi_srai): Likewise.
3664         (__mspabi_sral_n): Likewise.
3665         (__mspabi_sral): Likewise.
3666         * config/msp430/srli.S (__mspabi_srli_n): Likewise.
3667         (__mspabi_srli): Likewise.
3668         (__mspabi_srll_n): Likewise.
3669         (__mspabi_srll): Likewise.
3671 2019-06-05  Yoshinori Sato  <ysato@users.sourceforge.jp>
3673         * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
3674         Add appropriate tm_file clause as well.
3675         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
3677 2019-06-05  James Clarke  <jrtc27@jrtc27.com>
3679         * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
3680         rather than .data/.bss so it can be accessed via gp-relative
3681         addressing.
3683 2019-06-05  David Edelsohn  <dje.gcc@gmail.com>
3685         * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
3686         (CR2_REGNO): Rename to R_CR2.
3687         (XER_REGNO): Rename to R_XER.
3688         (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
3689         (VRSAVE_REGNO): Rename to R_VRSAVE.
3690         (VSCR_REGNO): R_VSCR.
3692 2019-05-29  Yoshinori Sato  <ysato@users.sourceforge.jp>
3694         * config.host (rx-*-linux*): Add new case.
3695         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
3697 2019-05-29  Sam Tebbs  <sam.tebbs@arm.com>
3699         * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
3700         function.
3701         * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
3702         aarch64_post_frob_eh_handler_addr): Add check for b-key.
3703         * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
3704         aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
3705         Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
3706         * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
3707         string.
3708         * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
3709         string.
3710         (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
3712 2019-05-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3714         * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
3715         Remove Solaris 9 and 10 support.
3716         (sparc_is_sighandler): Likewise.
3718 2019-05-26  John David Anglin  <danglin@gcc.gnu.org>
3720         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
3722 2019-05-17  H.J. Lu  <hongjiu.lu@intel.com>
3724         * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3725         4_FP_W_TYPEs are used for IEEE quad precision.
3726         * soft-fp/extendhftf2.c: Likewise.
3727         * soft-fp/extendsftf2.c: Likewise.
3728         * soft-fp/extendxftf2.c: Likewise.
3729         * soft-fp/trunctfdf2.c: Likewise.
3730         * soft-fp/trunctfhf2.c: Likewise.
3731         * soft-fp/trunctfsf2.c: Likewise.
3732         * soft-fp/trunctfxf2.c: Likewise.
3733         * config/rs6000/ibm-ldouble.c: Likewise.
3735 2019-05-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3737         * config.host: Simplify various *-*-solaris2.1[0-9]* to
3738         *-*-solaris2*.
3739         * configure.ac: Likewise.
3740         * configure: Regenerate.
3742         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3743         Solaris 10 and Solaris 11 < snv_125 handling.
3745 2019-05-12  Iain Sandoe  <iain@sandoe.co.uk>
3747         * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
3749 2019-05-07  Hongtao Liu  <hongtao.liu@intel.com>
3751         * config/i386/cpuinfo.c (get_available_features): Detect BF16.
3752         * config/i386/cpuinfo.h (enum processor_features): Add
3753         FEATURE_AVX512BF16.
3755 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
3756             Bernd Edlinger  <bernd.edlinger@hotmail.de>
3757             Jakub Jelinek  <jakub@redhat.com>
3759         PR target/89093
3760         * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
3761         * config/arm/unwind-arm.c: Likewise.
3762         * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
3763         attribute for ARM.
3765 2019-04-15  Monk Chiang  <sh.chiang04@gmail.com>
3767         * config/nds32/linux-unwind.h (SIGRETURN): Remove.
3768         (RT_SIGRETURN): Update.
3769         (nds32_fallback_frame_state): Update.
3771 2019-02-21  Martin Sebor  <msebor@redhat.com>
3773         * libgcc2.h (__clear_cache): Correct signature.
3774         * libgcc2.c (__clear_cache): Same.
3776 2019-02-20  UroÅ¡ Bizjak  <ubizjak@gmail.com>
3778         * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
3779         Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
3781 2019-02-19  UroÅ¡ Bizjak  <ubizjak@gmail.com>
3783         * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
3784         regno instead of index to DWARF_ZERO_REG.
3786 2019-02-15  Eric Botcazou  <ebotcazou@adacore.com>
3788         * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
3789         TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
3791 2019-01-31  UroÅ¡ Bizjak  <ubizjak@gmail.com>
3793         * config/alpha/t-linux: Add -mfp-rounding-mode=d
3794         to HOST_LIBGCC2_CFLAGS.
3796 2019-01-23  Joseph Myers  <joseph@codesourcery.com>
3798         PR libgcc/88931
3799         * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
3801 2019-01-18  Martin Liska  <mliska@suse.cz>
3803         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
3804         to ...
3805         (__gcov_indirect_call_profiler_v3): ... this.
3806         * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
3807         (__gcov_indirect_call_profiler_v3): Likewise.
3808         * Makefile.in: Bump function name.
3810 2019-01-18  Martin Liska  <mliska@suse.cz>
3812         * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
3813         (gcov_version): Use in gcov_error.
3814         (merge_one_data): Likewise.
3815         (dump_one_gcov): Likewise.
3817 2019-01-18  Martin Liska  <mliska@suse.cz>
3819         * libgcov-driver.c (gcov_version_string): New function.
3820         (gcov_version): Convert version integer into string.
3822 2019-01-17  Andrew Stubbs  <ams@codesourcery.com>
3823             Kwok Cheung Yeung  <kcy@codesourcery.com>
3824             Julian Brown  <julian@codesourcery.com>
3825             Tom de Vries  <tom@codesourcery.com>
3827         * config.host: Recognize amdgcn*-*-amdhsa.
3828         * config/gcn/crt0.c: New file.
3829         * config/gcn/lib2-divmod-hi.c: New file.
3830         * config/gcn/lib2-divmod.c: New file.
3831         * config/gcn/lib2-gcn.h: New file.
3832         * config/gcn/sfp-machine.h: New file.
3833         * config/gcn/t-amdgcn: New file.
3835 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
3837         PR other/16615
3839         * config/c6x/libunwind.S: Mechanically replace "can not" with
3840         "cannot".
3841         * config/tilepro/atomic.h: Likewise.
3842         * config/vxlib-tls.c: Likewise.
3843         * generic-morestack-thread.c: Likewise.
3844         * generic-morestack.c: Likewise.
3845         * mkmap-symver.awk: Likewise.
3847 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
3849         Update copyright years.
3851 2018-12-20  H.J. Lu  <hongjiu.lu@intel.com>
3853         * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
3854         to ignore -Waddress-of-packed-member.
3856 2018-12-19  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
3858         * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
3859         parameter and corresponding code.
3860         (ARM_FUNC_START): Likewise in both definitions.
3861         Also update footer comment about condition that need to match with
3862         gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
3863         * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
3864         defined.  Weakly define it in this case.
3865         * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
3866         * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
3867         _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
3868         comment to keep condition in sync with the one in
3869         libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
3871 2018-12-18  Wei Xiao  <wei3.xiao@intel.com>
3873         * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
3874         * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
3876 2018-12-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3878         * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
3879         and .cfi_endproc directives for VxWorks targets.
3881 2018-12-05  Paul Koning  <ni1d@arrl.net>
3883         * udivmodhi4.c (__udivmodhi4): Fix loop end check.
3885 2018-11-27  Alan Modra  <amodra@gmail.com>
3887         * config/rs6000/morestack.S (__stack_split_initialize),
3888         (__morestack_get_guard, __morestack_set_guard),
3889         (__morestack_make_guard): Provide CFI covering these functions.
3890         * config/rs6000/tramp.S (__trampoline_setup): Likewise.
3892 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
3894         * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
3895         (sc_pt_regs_lr): Update for kernel.
3896         (sc_pt_regs_tls): Update for kernel.
3898 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
3900         * config/csky/linux-unwind.h: Fix coding style.
3902 2018-11-13  Xianmiao Qu  <xianmiao_qu@c-sky.com>
3904         * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
3905         (csky_fallback_frame_state): Modify the check of the
3906         instructions to adapt to changes in the kernel
3908 2018-11-09  Stafford Horne  <shorne@gmail.com>
3909             Richard Henderson  <rth@twiddle.net>
3911         * config.host: Add OpenRISC support.
3912         * config/or1k/*: New.
3914 2018-11-08  Kito Cheng  <kito@andestech.com>
3916         * soft-fp/adddf3.c: Update from glibc.
3917         * soft-fp/addsf3.c: Likewise.
3918         * soft-fp/addtf3.c: Likewise.
3919         * soft-fp/divdf3.c: Likewise.
3920         * soft-fp/divsf3.c: Likewise.
3921         * soft-fp/divtf3.c: Likewise.
3922         * soft-fp/double.h: Likewise.
3923         * soft-fp/eqdf2.c: Likewise.
3924         * soft-fp/eqsf2.c: Likewise.
3925         * soft-fp/eqtf2.c: Likewise.
3926         * soft-fp/extenddftf2.c: Likewise.
3927         * soft-fp/extended.h: Likewise.
3928         * soft-fp/extendhftf2.c: Likewise.
3929         * soft-fp/extendsfdf2.c: Likewise.
3930         * soft-fp/extendsftf2.c: Likewise.
3931         * soft-fp/extendxftf2.c: Likewise.
3932         * soft-fp/fixdfdi.c: Likewise.
3933         * soft-fp/fixdfsi.c: Likewise.
3934         * soft-fp/fixdfti.c: Likewise.
3935         * soft-fp/fixhfti.c: Likewise.
3936         * soft-fp/fixsfdi.c: Likewise.
3937         * soft-fp/fixsfsi.c: Likewise.
3938         * soft-fp/fixsfti.c: Likewise.
3939         * soft-fp/fixtfdi.c: Likewise.
3940         * soft-fp/fixtfsi.c: Likewise.
3941         * soft-fp/fixtfti.c: Likewise.
3942         * soft-fp/fixunsdfdi.c: Likewise.
3943         * soft-fp/fixunsdfsi.c: Likewise.
3944         * soft-fp/fixunsdfti.c: Likewise.
3945         * soft-fp/fixunshfti.c: Likewise.
3946         * soft-fp/fixunssfdi.c: Likewise.
3947         * soft-fp/fixunssfsi.c: Likewise.
3948         * soft-fp/fixunssfti.c: Likewise.
3949         * soft-fp/fixunstfdi.c: Likewise.
3950         * soft-fp/fixunstfsi.c: Likewise.
3951         * soft-fp/fixunstfti.c: Likewise.
3952         * soft-fp/floatdidf.c: Likewise.
3953         * soft-fp/floatdisf.c: Likewise.
3954         * soft-fp/floatditf.c: Likewise.
3955         * soft-fp/floatsidf.c: Likewise.
3956         * soft-fp/floatsisf.c: Likewise.
3957         * soft-fp/floatsitf.c: Likewise.
3958         * soft-fp/floattidf.c: Likewise.
3959         * soft-fp/floattihf.c: Likewise.
3960         * soft-fp/floattisf.c: Likewise.
3961         * soft-fp/floattitf.c: Likewise.
3962         * soft-fp/floatundidf.c: Likewise.
3963         * soft-fp/floatundisf.c: Likewise.
3964         * soft-fp/floatunditf.c: Likewise.
3965         * soft-fp/floatunsidf.c: Likewise.
3966         * soft-fp/floatunsisf.c: Likewise.
3967         * soft-fp/floatunsitf.c: Likewise.
3968         * soft-fp/floatuntidf.c: Likewise.
3969         * soft-fp/floatuntihf.c: Likewise.
3970         * soft-fp/floatuntisf.c: Likewise.
3971         * soft-fp/floatuntitf.c: Likewise.
3972         * soft-fp/gedf2.c: Likewise.
3973         * soft-fp/gesf2.c: Likewise.
3974         * soft-fp/getf2.c: Likewise.
3975         * soft-fp/half.h: Likewise.
3976         * soft-fp/ledf2.c: Likewise.
3977         * soft-fp/lesf2.c: Likewise.
3978         * soft-fp/letf2.c: Likewise.
3979         * soft-fp/muldf3.c: Likewise.
3980         * soft-fp/mulsf3.c: Likewise.
3981         * soft-fp/multf3.c: Likewise.
3982         * soft-fp/negdf2.c: Likewise.
3983         * soft-fp/negsf2.c: Likewise.
3984         * soft-fp/negtf2.c: Likewise.
3985         * soft-fp/op-1.h: Likewise.
3986         * soft-fp/op-2.h: Likewise.
3987         * soft-fp/op-4.h: Likewise.
3988         * soft-fp/op-8.h: Likewise.
3989         * soft-fp/op-common.h: Likewise.
3990         * soft-fp/quad.h: Likewise.
3991         * soft-fp/single.h: Likewise.
3992         * soft-fp/soft-fp.h: Likewise.
3993         * soft-fp/subdf3.c: Likewise.
3994         * soft-fp/subsf3.c: Likewise.
3995         * soft-fp/subtf3.c: Likewise.
3996         * soft-fp/truncdfsf2.c: Likewise.
3997         * soft-fp/trunctfdf2.c: Likewise.
3998         * soft-fp/trunctfhf2.c: Likewise.
3999         * soft-fp/trunctfsf2.c: Likewise.
4000         * soft-fp/trunctfxf2.c: Likewise.
4001         * soft-fp/unorddf2.c: Likewise.
4002         * soft-fp/unordsf2.c: Likewise.
4003         * soft-fp/unordtf2.c: Likewise.
4005 2018-11-04  Venkataramanan Kumar  <Venkataramanan.kumar@amd.com>
4007         * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
4008         * config/i386/cpuinfo.h (processor_types): Add znver2.
4010 2018-11-01  Paul Koning  <ni1d@arrl.net>
4012         * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
4013         (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
4015 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
4017         PR bootstrap/82856
4018         * configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
4019         * configure: Regenerate.
4021 2018-10-31  Claudiu Zissulescu  <claziss@synopsys.com>
4023         * config/arc/lib1funcs.S (_muldi3): New function.
4024         * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
4026 2018-10-30  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4028         * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
4030 2018-10-25  Martin Liska  <mliska@suse.cz>
4032         PR other/87735
4033         * libgcov-profiler.c: Revert.
4035 2018-10-24  Martin Liska  <mliska@suse.cz>
4037         * libgcov-profiler.c: Start from 1 in order to distinguish
4038         functions which were seen and these that were not.
4040 2018-10-18  Paul Koning  <ni1d@arrl.net>
4042         * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
4043         standard.
4044         * divmod.c: Update references to __udivmodsi4.
4045         * udivmod.c: Ditto.
4046         * udivhi3.c: New file.
4047         * udivmodhi4.c: New file.
4048         * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
4050 2018-10-17  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4052         * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
4054 2018-10-12  Olivier Hainque  <hainque@adacore.com>
4056         * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
4057         defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
4059 2018-10-08  Paul Koning  <ni1d@arrl.net>
4061         * config/pdp11/t-pdp11: Remove -mfloat32 switch.
4063 2018-10-04  Martin Liska  <mliska@suse.cz>
4065         PR gcov-profile/84107
4066         * libgcov-profiler.c (__gcov_indirect_call):
4067         Change type to indirect_call_tuple.
4068         (struct indirect_call_tuple): New struct.
4069         (__gcov_indirect_call_topn_profiler): Change type.
4070         (__gcov_indirect_call_profiler_v2): Use the new
4071         variables.
4072         * libgcov.h (struct indirect_call_tuple): New struct
4073         definition.
4075 2018-10-03  Uros Bizjak  <ubizjak@gmail.com>
4077         * libgcc2.c (isnan): Use __builtin_isnan.
4078         (isfinite): Use __builtin_isfinite.
4079         (isinf): Use __builtin_isinf.
4081 2018-09-26  Uros Bizjak  <ubizjak@gmail.com>
4083         * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
4085 2018-09-21  Alexandre Oliva  <oliva@adacore.com>
4087         * config/vxcache.c: New file.  Provide __clear_cache, based on
4088         the cacheTextUpdate VxWorks service.
4089         * config/t-vxworks (LIB2ADD): Add vxcache.c.
4090         (LIB2FUNCS_EXCLUDE): Add _clear_cache.
4091         * config/t-vxwoks7: Likewise.
4093 2018-09-21  Martin Liska  <mliska@suse.cz>
4095         * libgcov-driver.c (crc32_unsigned): Remove.
4096         (gcov_histogram_insert): Likewise.
4097         (gcov_compute_histogram): Likewise.
4098         (compute_summary): Simplify rapidly.
4099         (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
4100         (merge_summary): Rapidly simplify.
4101         (dump_one_gcov): Ignore gcov_summary.
4102         (gcov_do_dump): Do not handle program summary, it's not
4103         used.
4104         * libgcov-util.c (tag_summary): Remove.
4105         (read_gcda_finalize): Fix coding style.
4106         (read_gcda_file): Initialize curr_object_summary.
4107         (compute_summary): Remove.
4108         (calculate_overlap): Remove settings of run_max.
4110 2018-09-21  Monk Chiang  <sh.chiang04@gmail.com>
4112         * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
4113         ucontext_t type instead.
4114         (nds32_fallback_frame_state): Remove struct _sigframe statement.
4116 2018-09-21  Kito Cheng  <kito.cheng@gmail.com>
4118         * config/nds32/t-nds32-glibc: New file.
4120 2018-09-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4122         * configure.ac (solaris_ld_v2_maps): New test.
4123         * configure: Regenerate.
4124         * Makefile.in (solaris_ld_v2_maps): New variable.
4125         * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
4126         if supported.
4128 2018-08-23  Richard Earnshaw  <rearnsha@arm.com>
4130         PR target/86951
4131         * config/arm/lib1funcs.asm (speculation_barrier): New function.
4132         * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
4133         to build.
4135 2018-08-22  Iain Sandoe  <iain@sandoe.co.uk>
4137         * config/unwind-dw2-fde-darwin.c
4138         (_darwin10_Unwind_FindEnclosingFunction): move from here ...
4139         * config/darwin10-unwind-find-enc-func.c: â€¦ to here.
4140         * config/t-darwin: Build Darwin10 unwinder shim crt.
4141         * libgcc/config.host: Add the Darwin10 unwinder shim.
4143 2018-08-21  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4145         * config.host: Add crtbegin.o and crtend.o for
4146         powerpc-wrs-vxworks target.
4148 2018-08-17  Jojo  <jijie_rong@c-sky.com>
4149             Huibin Wang  <huibin_wang@c-sky.com>
4150             Sandra Loosemore  <sandra@codesourcery.com>
4151             Chung-Lin Tang  <cltang@codesourcery.com>
4153         C-SKY port: libgcc
4155         * config.host: Add C-SKY support.
4156         * config/csky/*: New.
4158 2018-08-12  Chung-Ju Wu  <jasonwucj@gmail.com>
4160         * config/nds32/t-nds32-isr: Rearrange object dependency.
4161         * config/nds32/initfini.c: Add dwarf2 unwinding support.
4162         * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
4163         and registers usage.
4164         * config/nds32/isr-library/excp_isr.S: Ditto.
4165         * config/nds32/isr-library/intr_isr.S: Ditto.
4166         * config/nds32/isr-library/reset.S: Ditto.
4167         * config/nds32/isr-library/restore_all.inc: Ditto.
4168         * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
4169         * config/nds32/isr-library/restore_partial.inc: Ditto.
4170         * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
4171         * config/nds32/isr-library/save_all.inc: Ditto.
4172         * config/nds32/isr-library/save_mac_regs.inc: Ditto.
4173         * config/nds32/isr-library/save_partial.inc: Ditto.
4174         * config/nds32/isr-library/save_usr_regs.inc: Ditto.
4175         * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
4177 2018-08-11  John David Anglin  <danglin@gcc.gnu.org>
4179         * config/pa/linux-atomic.c: Update comment.
4180         (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
4181         COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
4182         SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
4183         __ATOMIC_RELAXED for atomic loads.
4184         (SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
4185         unordered store to release lock.
4186         (__sync_lock_release_8): Likewise.
4187         (SYNC_LOCK_RELEASE_2): Remove define.
4189 2018-08-02  Nicolas Pitre <nico@fluxnic.net>
4191         PR libgcc/86512
4192         * config/arm/ieee754-df.S: Don't shortcut denormal handling when
4193         exponent goes negative. Update my email address.
4194         * config/arm/ieee754-sf.S: Likewise.
4196 2018-08-01  Martin Liska  <mliska@suse.cz>
4198         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
4199         check that  __gcov_indirect_call_callee is non-null.
4201 2018-07-30  Christophe Lyon  <christophe.lyon@linaro.org>
4203         * config/arm/ieee754-df.S: Fix comment for code working on
4204         architectures >= 4.
4205         * config/arm/ieee754-sf.S: Likewise.
4207 2018-07-27  H.J. Lu  <hongjiu.lu@intel.com>
4209         PR libgcc/85334
4210         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
4211         Removed.
4213 2018-07-05  James Clarke  <jrtc27@jrtc27.com>
4215         * configure: Regenerated.
4217 2018-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4219         * Makefile.in (install_leaf): Use enable_gcov instead of
4220         enable_libgcov.
4222 2018-06-27  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4224         * configure.ac: Add --disable-gcov option.
4225         * configure: Regenerate.
4226         * Makefile.in: Honour @enable_gcov@.
4228 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
4230         * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
4231         __ARM_ARCH and __ARM_FEATURE_CLZ instead.
4232         (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
4233         * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
4234         __ARM_ARCH__.
4235         * config/arm/ieee754-sf.S: Likewise.
4236         * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
4238 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
4240         * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
4241         longer supported.
4242         * config/arm/ieee754-sf.S: Likewise.
4244 2018-06-20  Than McIntosh  <thanm@google.com>
4246         PR libgcc/86213
4247         * generic-morestack.c (allocate_segment): Move calls to getenv and
4248         getpagesize to __morestack_load_mmap.
4249         (__morestack_load_mmap) Initialize static_pagesize and
4250         use_guard_page here so as to avoid clobbering SSE regs during a
4251         __morestack call.
4253 2018-06-18  Michael Meissner  <meissner@linux.ibm.com>
4255         * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
4256         support modules with -mno-gnu-attribute.
4257         * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
4259 2018-06-07  Olivier Hainque  <hainque@adacore.com>
4261         * config/t-vxworks (LIBGCC_INCLUDES): Add
4262         -I$(MULTIBUILDTOP)../../gcc/include.
4263         * config/t-vxworks7: Likewise. Reformat a bit to match
4264         the t-vxworks layout.
4266 2018-06-07  Olga Makhotina  <olga.makhotina@intel.com>
4268         * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
4270 2018-06-07  Martin Liska  <mliska@suse.cz>
4272         * libgcov-driver.c: Rename cs_all to all and assign it from
4273         all_prg.
4275 2018-06-07  Martin Liska  <mliska@suse.cz>
4277         PR bootstrap/86057
4278         * libgcov-driver-system.c (replace_filename_variables): Use
4279         memcpy instead of mempcpy.
4280         (allocate_filename_struct): Do not allocate filename, allocate
4281         prefix and set it.
4282         (gcov_exit_open_gcda_file): Allocate memory for gf->filename
4283         here and properly copy content into it.
4284         * libgcov-driver.c (struct gcov_filename): Remove max_length
4285         field, change prefix from size_t into char *.
4286         (compute_summary): Do not calculate longest filename.
4287         (gcov_do_dump): Release memory of gf.filename after each file.
4288         * libgcov-util.c (compute_summary): Use new signature of
4289         compute_summary.
4290         (calculate_overlap): Likewise.
4292 2018-06-05  Martin Liska  <mliska@suse.cz>
4294         PR gcov-profile/47618
4295         * libgcov-driver-system.c (replace_filename_variables): New
4296         function.
4297         (gcov_exit_open_gcda_file): Use it.
4299 2018-06-05  Martin Liska  <mliska@suse.cz>
4301         * libgcov-driver.c (gcov_compute_histogram): Remove usage
4302         of gcov_ctr_summary.
4303         (compute_summary): Do it just for a single summary.
4304         (merge_one_data): Likewise.
4305         (merge_summary): Simplify as we read just single summary.
4306         (dump_one_gcov): Pass proper argument.
4307         * libgcov-util.c (compute_one_gcov): Simplify as we have just
4308         single summary.
4309         (gcov_info_count_all_cold): Likewise.
4310         (calculate_overlap): Likewise.
4312 2018-06-02  Chung-Ju Wu  <jasonwucj@gmail.com>
4313             Monk Chiang  <sh.chiang04@gmail.com>
4315         * config.host (nds32*-linux*): New.
4316         * config/nds32/linux-atomic.c: New file.
4317         * config/nds32/linux-unwind.h: New file.
4319 2018-05-31  Uros Bizjak  <ubizjak@gmail.com>
4321         PR target/85591
4322         * config/i386/cpuinfo.c (get_amd_cpu): Return
4323         AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
4325 2018-05-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
4327         * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
4329 2018-05-29  Martin Liska  <mliska@suse.cz>
4331         PR gcov-profile/85759
4332         * libgcov-driver-system.c (gcov_error): Introduce usage of
4333         GCOV_EXIT_AT_ERROR env. variable.
4334         * libgcov-driver.c (merge_one_data): Print error that we
4335         overwrite a gcov file with a different timestamp.
4337 2018-05-23  Kalamatee  <kalamatee@gmail.com>
4339         * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
4340         path to Lf$finfty.
4342 2018-05-18  Kito Cheng <kito.cheng@gmail.com>
4343             Monk Chiang  <sh.chiang04@gmail.com>
4344             Jim Wilson <jimw@sifive.com>
4346         * config/riscv/save-restore.S: Add support for rv32e.
4348 2018-05-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
4350         * config/arm/libunwind.S: Update comment relating to armv5.
4352 2018-05-17  Jerome Lambourg  <lambourg@adacore.com>
4354         * config/arm/cmse.c (cmse_check_address_range): Replace
4355         UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
4357 2018-05-17  Olga Makhotina  <olga.makhotina@intel.com>
4359         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
4360         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
4362 2018-05-08  Olga Makhotina  <olga.makhotina@intel.com>
4364         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
4365         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
4367 2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
4369         * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
4371 2018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
4372             Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
4374         PR libgcc/84292
4375         * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
4376         op_and_fetch to return the right result.
4378 2018-04-27  Alan Modra  <amodra@gmail.com>
4380         PR libgcc/85532
4381         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
4382         -fno-asynchronous-unwind-tables.
4384 2018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
4386         * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
4387         * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
4389 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
4391         * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
4392         when including "config/i386/shadow-stack-unwind.h".
4394 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
4396         * configure: Regenerated.
4398 2018-04-20  Michael Meissner  <meissner@linux.ibm.com>
4400         PR target/85456
4401         * config/rs6000/_powikf2.c: New file.  Add support for the
4402         __builtin_powil function when long double is IEEE 128-bit floating
4403         point.
4404         * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
4405         __powikf2 support.
4406         (__powikf2): Likewise.
4407         * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
4408         (__powikf2_hw): Likewise.
4409         (__powikf2): Likewise.
4410         * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
4411         * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
4412         (_powikf2-hw.c): Likewise.
4414 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
4416         PR libgcc/85334
4417         * unwind-generic.h (_Unwind_Frames_Increment): New.
4418         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
4419         Likewise.
4420         * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
4421         count with _Unwind_Frames_Increment.
4422         (_Unwind_ForcedUnwind_Phase2): Likewise.
4424 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
4426         PR libgcc/85379
4427         * config/i386/morestack.S (__stack_split_initialize): Add
4428         _CET_ENDBR.
4430 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
4432         * configure: Regenerated.
4434 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
4436         PR jit/85384
4437         * configure: Regenerate.
4439 2018-04-16  Jakub Jelinek  <jakub@redhat.com>
4441         PR target/84945
4442         * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
4443         -Wdangling-else warnings.  Mask shift counts to avoid
4444         -Wshift-count-negative and -Wshift-count-overflow false positives.
4446 2018-04-06  Ruslan Bukin  <br@bsdpad.com>
4448         * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
4450 2018-03-29  H.J. Lu  <hongjiu.lu@intel.com>
4452         PR target/85100
4453         * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
4454         (XSTATE_FP): Likewise.
4455         (XSTATE_SSE): Likewise.
4456         (XSTATE_YMM): Likewise.
4457         (XSTATE_OPMASK): Likewise.
4458         (XSTATE_ZMM): Likewise.
4459         (XSTATE_HI_ZMM): Likewise.
4460         (XCR_AVX_ENABLED_MASK): Likewise.
4461         (XCR_AVX512F_ENABLED_MASK): Likewise.
4462         (get_available_features): Enable AVX and AVX512 features only
4463         if their states are supported by OSXSAVE.
4465 2018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4467         PR target/85025
4468         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4469         Fix a typo, tmp => 255.
4471 2018-03-20  Jakub Jelinek  <jakub@redhat.com>
4473         PR target/84945
4474         * config/i386/cpuinfo.h (__cpu_features2): Declare.
4475         * config/i386/cpuinfo.c (__cpu_features2): New variable for
4476         ifndef SHARED only.
4477         (set_feature): Define.
4478         (get_available_features): Use set_feature macro.  Set __cpu_features2
4479         to the second word of features ifndef SHARED.
4481 2018-03-15  Julia Koval  <julia.koval@intel.com>
4483         * config/i386/cpuinfo.c (get_available_features): Add
4484         FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
4485         FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
4486         * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
4487         FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
4488         FEATURE_AVX512BITALG.
4490 2018-03-14  Julia Koval  <julia.koval@intel.com>
4492         * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
4493         icelake client and icelake server.
4495 2018-03-06  John David Anglin  <danglin@gcc.gnu.org>
4497         * config/pa/fptr.c (_dl_read_access_allowed): New.
4498         (__canonicalize_funcptr_for_compare): Use it.
4500 2018-02-28  Jakub Jelinek  <jakub@redhat.com>
4502         PR debug/83917
4503         * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
4504         $asm_hidden_op if visibility ("hidden") attribute works.
4505         (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
4506         * config/i386/i386-asm.h: Don't include auto-host.h.
4507         (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
4508         PACKAGE_URL): Don't undefine.
4509         (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
4510         guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
4511         (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
4512         #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
4513         definition instead of hardcoded .hidden.
4514         * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
4515         directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
4516         #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
4517         (USE_GAS_CFI_DIRECTIVES): Don't define.
4518         * configure: Regenerated.
4519         * config.in: Likewise.
4521 2018-02-26  Jakub Jelinek  <jakub@redhat.com>
4523         PR debug/83917
4524         * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
4525         PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
4526         inclusion of auto-target.h and auto-host.h.
4527         (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
4528         __GCC_HAVE_DWARF2_CFI_ASM.
4529         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4530         cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
4531         cfi_pop): Define.
4532         * config/i386/cygwin.S: Don't include auto-host.h here, just
4533         define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
4534         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4535         cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
4536         * config/i386/resms64fx.h: Add cfi_* directives.
4537         * config/i386/resms64x.h: Likewise.
4539 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
4541         * config/xtensa/ieee754-df.S (__adddf3_aux): Add
4542         .literal_position directive.
4543         * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
4545 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4547         PR target/84148
4548         * configure: Regenerate.
4550 2018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4552         PR target/84239
4553         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4554         Include cetintrin.h not x86intrin.h.
4556 2018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4558         PR target/84239
4559         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4560         Use new _get_ssp and _inc_ssp intrinsics.
4562 2018-02-02  Julia Koval  <julia.koval@intel.com>
4564         * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
4566 2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
4568         * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
4569         option.
4570         (__divsi3): Use RF16 safe registers.
4571         (__modsi3): Likewise.
4573 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
4575         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
4576         (__divsf3): Make NaN return value quiet.
4577         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
4578         (__divdf3): Make NaN return value quiet.
4580 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4582         * config/rl78/anddi3.S: New assembly file.
4583         * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
4585 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4587         * config/rl78/umindi3.S: New assembly file.
4588         * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
4590 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4592         * config/rl78/smindi3.S: New assembly file.
4593         * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
4595 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4597         * config/rl78/smaxdi3.S: New assembly file.
4598         * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
4600 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4602         * config/rl78/umaxdi3.S: New assembly file.
4603         * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
4605 2018-01-21  John David Anglin  <danglin@gcc.gnu.org>
4607         PR lto/83452
4608         * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
4609         * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
4611 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
4613         * config/aarch64/value-unwind.h (aarch64_vg): New function.
4614         (DWARF_LAZY_REGISTER_VALUE): Define.
4615         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
4616         to provide a fallback register value.
4618 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
4620         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
4621         __ibm128, instead of trying to use long double.
4622         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
4623         accomidate -mabi=ieeelongdouble multilibs.
4624         (CVT_IBM128_TO_FLOAT128): Likewise.
4625         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
4626         the appropriate IBM extended double type.
4627         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
4628         (__gcc_qsub): Likewise.
4629         (__gcc_qmul): Likewise.
4630         (__gcc_qdiv): Likewise.
4631         (pack_ldouble): Likewise.
4632         (__gcc_qneg): Likewise.
4633         (__gcc_qeq): Likewise.
4634         (__gcc_qne): Likewise.
4635         (__gcc_qge): Likewise.
4636         (__gcc_qle): Likewise.
4637         (__gcc_stoq): Likewise.
4638         (__gcc_dtoq): Likewise.
4639         (__gcc_itoq): Likewise.
4640         (__gcc_utoq): Likewise.
4641         (__gcc_qunord): Likewise.
4642         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
4643         quad-float128.h for the definitions.
4644         (COPYSIGN): Use the f128 version instead of the q version.
4645         (INFINITY): Likewise.
4646         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
4647         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
4648         quad-float128.h for the definitions.
4649         (COPYSIGN): Use the f128 version instead of the q version.
4650         (INFINITY): Likewise.
4651         (FABS): Likewise.
4652         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
4653         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
4654         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
4656 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4658         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
4659         configuration.
4661 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
4663         Update copyright years.
4665 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
4667         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
4668         * config/riscv/multi3.c: New file.
4669         * config/riscv/multi3.S: Remove.
4671 2017-12-08  Jim Wilson  <jimw@sifive.com>
4673         * config/riscv/div.S: Use FUNC_* macros.
4674         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
4675         * config/riscv/save-restore.S: Likewise.
4676         * config/riscv/riscv-asm.h: New.
4678 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
4680         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
4681         * config/rs6000/_divkc3.c (__divkc3): Likewise.
4683         PR libgcc/83112
4684         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
4685         correct type for all ifunc resolvers to silence -Wattribute-alias
4686         warnings.  Eliminate the forward declaration of the resolver
4687         functions which is no longer needed.
4688         (__subkf3_resolve): Likewise.
4689         (__mulkf3_resolve): Likewise.
4690         (__divkf3_resolve): Likewise.
4691         (__negkf2_resolve): Likewise.
4692         (__eqkf2_resolve): Likewise.
4693         (__nekf2_resolve): Likewise.
4694         (__gekf2_resolve): Likewise.
4695         (__gtkf2_resolve): Likewise.
4696         (__lekf2_resolve): Likewise.
4697         (__ltkf2_resolve): Likewise.
4698         (__unordkf2_resolve): Likewise.
4699         (__extendsfkf2_resolve): Likewise.
4700         (__extenddfkf2_resolve): Likewise.
4701         (__trunckfsf2_resolve): Likewise.
4702         (__trunckfdf2_resolve): Likewise.
4703         (__fixkfsi_resolve): Likewise.
4704         (__fixkfdi_resolve): Likewise.
4705         (__fixunskfsi_resolve): Likewise.
4706         (__fixunskfdi_resolve): Likewise.
4707         (__floatsikf_resolve): Likewise.
4708         (__floatdikf_resolve): Likewise.
4709         (__floatunsikf_resolve): Likewise.
4710         (__floatundikf_resolve): Likewise.
4711         (__extendkftf2_resolve): Likewise.
4712         (__trunctfkf2_resolve): Likewise.
4714         PR libgcc/83103
4715         * config/rs6000/quad-float128.h (TF): Don't define if long double
4716         is IEEE 128-bit floating point.
4717         (TCtype): Define as either TCmode or KCmode, depending on whether
4718         long double is IEEE 128-bit floating point.
4719         (__mulkc3_sw): Add declarations for software/hardware versions of
4720         complex multiply/divide.
4721         (__divkc3_sw): Likewise.
4722         (__mulkc3_hw): Likewise.
4723         (__divkc3_hw): Likewise.
4724         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
4725         handlers to switch between using software emulation and hardware
4726         float128 instructions, build the complex multiply/divide functions
4727         for both software and hardware support.
4728         * config/rs6000/_divkc3.c (_divkc3): Likewise.
4729         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
4730         (__divkc3_resolve): Likewise.
4731         (__mulkc3): Likewise.
4732         (__divkc3): Likewise.
4733         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
4734         (fp128_hw_src): Likewise.
4735         (fp128_hw_static_obj): Likewise.
4736         (fp128_hw_shared_obj): Likewise.
4737         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
4738         _mulkc3.c and _divkc3.c, changing the function name.
4739         (_divkc3-hw.c): Likewise.
4740         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
4741         and _divkc3-hw.c.
4743 2017-11-26  Julia Koval  <julia.koval@intel.com>
4745         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
4746         * config/i386/cpuinfo.h (processor_subtypes): Add
4747         INTEL_COREI7_CANNONLAKE.
4749 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4751         PR bootstrap/83015
4752         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
4753         parameter.
4754         * config/xtensa/unwind-dw2-xtensa.c: Likewise
4755         * config/ia64/unwind-ia64.c: Add frames parameter.
4756         * unwind-sjlj.c: Likewise.
4758 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4760         * config/i386/linux-unwind.h: Include
4761         config/i386/shadow-stack-unwind.h.
4762         * config/i386/shadow-stack-unwind.h: New file.
4763         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
4764         pass it to _Unwind_Frames_Extra.
4765         * unwind-generic.h (_Unwind_Frames_Extra): New.
4766         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
4767         parameter. Add local variable frames to count number of frames.
4768         (_Unwind_ForcedUnwind_Phase2): Likewise.
4769         (_Unwind_RaiseException): Add local variable frames to count
4770         number of frames, pass it to _Unwind_RaiseException_Phase2 and
4771         uw_install_context.
4772         (_Unwind_ForcedUnwind): Likewise.
4773         (_Unwind_Resume): Likewise.
4774         (_Unwind_Resume_or_Rethrow): Likewise.
4776 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4778         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
4779         (CET_FLAGS): New.
4780         * config/i386/morestack.S: Include <cet.h>.
4781         (__morestack_large_model): Add _CET_ENDBR at function entrance.
4782         * config/i386/resms64.h: Include <cet.h>.
4783         * config/i386/resms64f.h: Likewise.
4784         * config/i386/resms64fx.h: Likewise.
4785         * config/i386/resms64x.h: Likewise.
4786         * config/i386/savms64.h: Likewise.
4787         * config/i386/savms64f.h: Likewise.
4788         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
4789         (CRTSTUFF_T_CFLAGS): Likewise.
4790         * configure.ac: Include ../config/cet.m4.
4791         Set and substitute CET_FLAGS.
4792         * configure: Regenerated.
4794 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4796         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
4797         renaming.
4798         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
4799         * configure.ac (libgcc_cv_solaris_crts): Likewise.
4800         * configure: Regenerate.
4802 2017-11-07  Tom de Vries  <tom@codesourcery.com>
4804         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
4805         after "do {} while (0)".
4807 2017-11-07  Tom de Vries  <tom@codesourcery.com>
4809         PR other/82784
4810         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
4811         semicolon after "do {} while (0)".
4812         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4813         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4814         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4815         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4817 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
4819         PR libgcc/82635
4820         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
4821         sysctl to determine whether we're in a trampoline.
4822         Keep the pattern matching method for systems without
4823         KERN_PROC_SIGTRAMP sysctl.
4825 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
4826             Vineet Gupta <vgupta@synopsys.com>
4828         * config.host (arc*-*-linux*): Set md_unwind_header variable.
4829         * config/arc/linux-unwind-reg.def: New file.
4830         * config/arc/linux-unwind-reg.h: Likewise.
4832 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
4834         * config/rl78/subdi3.S: New assembly file.
4835         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
4837 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
4839         * config/rl78/adddi3.S: New assembly file.
4840         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
4842 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
4844         PR target/82274
4845         * libgcc2.c (__mulvDI3): If both operands have
4846         the same highpart of -1 and the topmost bit of lowpart is 0,
4847         multiplication overflows even if both lowparts are 0.
4849 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
4851         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
4853 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
4855         * config/microblaze/crti.S, config/microblaze/crtn.S,
4856         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
4857         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
4858         config/microblaze/mulsi3.S,
4859         config/microblaze/stack_overflow_exit.S,
4860         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
4861         config/pa/milli64.S: Add .note.GNU-stack section.
4863 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
4865         * configure.ac: Add Check for HAVE_AS_AVX.
4866         * config.in: Regenerate.
4867         * configure: Likewise.
4868         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
4869         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
4870         Correct out-of-date comments.
4872 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
4874         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
4875         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
4877 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
4879         * config/i386/i386-asm.h (PASTE2): New macro.
4880         (ASMNAME): Modify to use PASTE2.
4881         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
4882         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
4883         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
4884         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
4885         * config/i386/resms64f.S: Likewise.
4886         * config/i386/resms64fx.S: Likewise.
4887         * config/i386/resms64x.S: Likewise.
4888         * config/i386/savms64.S: Likewise.
4889         * config/i386/savms64f.S: Likewise.
4890         * config/i386/avx_resms64.S: New file that only defines a macro and
4891         includes it's corresponding header file.
4892         * config/i386/avx_resms64f.S: Likewise.
4893         * config/i386/avx_resms64fx.S: Likewise.
4894         * config/i386/avx_resms64x.S: Likewise.
4895         * config/i386/avx_savms64.S: Likewise.
4896         * config/i386/avx_savms64f.S: Likewise.
4897         * config/i386/sse_resms64.S: Likewise.
4898         * config/i386/sse_resms64f.S: Likewise.
4899         * config/i386/sse_resms64fx.S: Likewise.
4900         * config/i386/sse_resms64x.S: Likewise.
4901         * config/i386/sse_savms64.S: Likewise.
4902         * config/i386/sse_savms64f.S: Likewise.
4903         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
4905 2017-09-01  Olivier Hainque  <hainque@adacore.com>
4906         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
4908 2017-08-31  Olivier Hainque  <hainque@adacore.com>
4910         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
4911         match as powerpc-wrs-vxworks*.
4913 2017-08-07  Jonathan Yong  <10walls@gmail.com>
4915         * config.host (*-cygwin): Include file from mingw
4916         config/i386/enable-execute-stack-mingw32.c
4918 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
4919             Doug Rupp  <rupp@adacore.com>
4920             Olivier Hainque  <hainque@adacore.com>
4922         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
4923         as well as arm-wrs-vxworks.
4924         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
4925         LIB2ADDEH.
4926         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
4927         __exidx_start and __exidx_end for downloadable modules.
4929 2017-08-01  Olivier Hainque  <hainque@adacore.com>
4931         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
4932         * config/t-vxworks7: Likewise.
4934 2017-08-01  Olivier Hainque  <hainque@adacore.com>
4936         * config/t-vxworks: Instead of redefining LIB2ADD,
4937         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
4939 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4941         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
4943 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
4945         PR testsuite/80759
4946         * config.host: include i386/t-msabi for darwin and solaris.
4947         * config/i386/i386-asm.h
4948         (ELFFN): Rename to FN_TYPE.
4949         (FN_SIZE): New macro.
4950         (FN_HIDDEN): Likewise.
4951         (ASMNAME): Likewise.
4952         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
4953         .globl.
4954         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
4955         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
4956         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
4957         .macro.
4958         * config/i386/resms64f.S: Likewise.
4959         * config/i386/resms64fx.S: Likewise.
4960         * config/i386/resms64x.S: Likewise.
4961         * config/i386/savms64.S: Likewise.
4962         * config/i386/savms64f.S: Likewise.
4964 2017-07-19  John Marino  <gnugcc@marino.st>
4966         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
4968 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
4970         PR target/81193
4971         * configure.ac (PowerPC float128 hardware support): Test whether
4972         we can use __builtin_cpu_supports before enabling the ifunc
4973         handler.
4974         * configure: Regenerate.
4976 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
4978         * config.host: Remove uclibc from arc target spec.
4980 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
4982         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
4984 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
4986         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
4987         (have_ieee_hw_p): Delete function.
4988         (SW_OR_HW) Use __builtin_cpu_supports().
4990 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4992         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
4994 2017-07-03  Olivier Hainque  <hainque@adacore.com>
4996         * config/t-vxworks7: New file, really.
4998 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
5000         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
5001         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
5002         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
5003         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
5004         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
5005         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
5006         config/pa/linux-unwind.h (pa32_fallback_frame_state),
5007         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
5008         config/sh/linux-unwind.h (sh_fallback_frame_state),
5009         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
5010         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
5011         ucontext_t instead of struct ucontext.
5013 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
5015         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
5016         (x86_64-wrs-vxworks7): Likewise.
5018 2017-06-27  Olivier Hainque  <hainque@adacore.com>
5020         * config/t-vxworks7: New file.
5021         * config.host (*-*-vxworks7): Use it.
5023 2017-06-22  Matt Turner  <mattst88@gmail.com>
5025         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
5026         skylake case.
5028 2017-06-21  Richard Biener  <rguenther@suse.de>
5030         PR gcov-profile/81080
5031         * configure.ac: Add AC_SYS_LARGEFILE.
5032         * libgcov.h: Include auto-target.h before tsystem.h to pick
5033         up _FILE_OFFSET_BITS which might differ for multilibs.
5034         * config.in: Regenerate.
5035         * configure: Likewise.
5037 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
5039         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
5041 2017-06-09  Martin Liska  <mliska@suse.cz>
5043         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
5044         Reset __gcov_indirect_call_callee to NULL.
5046 2017-06-08  Olivier Hainque  <hainque@adacore.com>
5048         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
5049         the set of -I options, support for direct inclusions of net/uio.h
5050         by VxWorks header files via ioLib.h.
5052 2017-06-07  Tony Reix  <tony.reix@atos.net>
5053             Matthieu Sarter  <matthieu.sarter.external@atos.net>
5054             David Edelsohn  <dje.gcc@gmail.com>
5056         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
5057         unconditionally.
5058         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
5059         AIX 7.2 support.
5061 2017-06-02  Olivier Hainque  <hainque@adacore.com>
5063         * config/vxlib.c (__gthread_once): Add missing value to
5064         return statement.
5066 2017-05-30  Olivier Hainque  <hainque@adacore.com>
5068         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
5069         dollar sign before $(MULTIDIR).
5071 2017-05-26  Richard Henderson  <rth@redhat.com>
5073         PR libgcc/80037
5074         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
5076 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
5078         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
5079         _Unwind_SetIP available as functions for arm*-*-freebsd*.
5080         * config/arm/unwind-arm.c: Implement the above.
5082 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5084         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
5085         section for a non-executable stack.
5087 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
5089         PR target/80600
5090         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
5092 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
5094         * config.host: Add i386/t-msabi to i386/t-linux file list.
5095         * config/i386/i386-asm.h: New file.
5096         * config/i386/resms64.S: New file.
5097         * config/i386/resms64f.S: New file.
5098         * config/i386/resms64fx.S: New file.
5099         * config/i386/resms64x.S: New file.
5100         * config/i386/savms64.S: New file.
5101         * config/i386/savms64f.S: New file.
5102         * config/i386/t-msabi: New file.
5104 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
5106         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
5107         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
5109 2017-05-05  Joshua Conner  <joshconner@google.com>
5111         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
5112         pc-relative indirect handling for fuchsia.
5113         * config/t-slibgcc-fuchsia: New file.
5114         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
5115         x86_64-*-fuchsia*): Add definitions.
5117 2017-04-19  Martin Liska  <mliska@suse.cz>
5119         PR gcov-profile/80435
5120         * Makefile.in: Install gcov.h.
5121         * gcov.h: New file.
5122         * libgcov.h: Use the header and make __gcov_flush publicly
5123         visible.
5125 2017-04-18  Martin Liska  <mliska@suse.cz>
5127         PR gcov-profile/78783
5128         * libgcov-driver.c (gcov_get_filename): New function.
5130 2017-04-07  Jeff Law  <law@redhat.com>
5132         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
5133         target makefile fragment.
5134         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
5136 2017-04-07  Alan Modra  <amodra@gmail.com>
5138         PR target/45053
5139         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
5141 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
5143         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
5145 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
5147         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
5149 2017-03-10  John Marino  <gnugcc@marino.st>
5151         * config/aarch64/freebsd-unwind.h: New file.
5152         * config.host: Add aarch64-*-freebsd unwinder.
5154 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
5156         * config/rs6000/crtrestvr.s: Use .machine altivec.
5157         * config/rs6000/crtsavevr.s: Ditto.
5159 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
5161         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
5162         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
5163         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
5164         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
5165         * configure: Regenerate.
5166         * config.in: Regenerate.
5168 2017-03-02  Jonathan Yong <10walls@gmail.com>
5170         * config/i386/gthr-win32.h: Define NOGDI before
5171         windows.h include to prevent w32api CC_NONE macro
5172         clash with libgfortran.
5174 2017-03-02  Jonathan Yong <10walls@gmail.com>
5176         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
5178 2017-02-16  Andrew Pinski  <apinski@cavium.com>
5180         * config/aarch64/value-unwind.h: New file.
5181         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
5182         to tm_file.
5184 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
5186         * config.host: Add RISC-V tuples.
5187         * config/riscv/atomic.c: New file.
5188         * config/riscv/crti.S: Likewise.
5189         * config/riscv/crtn.S: Likewise.
5190         * config/riscv/div.S: Likewise.
5191         * config/riscv/linux-unwind.h: Likewise.
5192         * config/riscv/muldi3.S: Likewise.
5193         * config/riscv/multi3.S: Likewise.
5194         * config/riscv/save-restore.S: Likewise.
5195         * config/riscv/sfp-machine.h: Likewise.
5196         * config/riscv/t-elf: Likewise.
5197         * config/riscv/t-elf32: Likewise.
5198         * config/riscv/t-elf64: Likewise.
5199         * config/riscv/t-softfp32: Likewise.
5200         * config/riscv/t-softfp64: Likewise.
5202 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
5204         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
5205         /* FALLTHRU */ comments.
5207 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
5209         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
5211 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
5213         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
5214         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
5215         DW_CFA_GNU_window_save for AArch64 and LP64.
5217 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
5219         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
5221 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
5223         * config/aarch64/aarch64-unwind.h: New file.
5224         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
5225         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
5226         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
5227         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
5228         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
5229         (aarch64_post_extract_frame_addr): New function.
5230         (aarch64_post_frob_eh_handler_addr): New function.
5231         (aarch64_frob_update_context): New function.
5232         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
5233         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
5234         aarch64*-*-freebsd*):
5235         Initialize md_unwind_header to include aarch64-unwind.h.
5236         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
5237         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
5238         __aarch64__.
5239         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
5240         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
5241         (uw_frob_return_addr): New function.
5242         (uw_install_context): Use uw_frob_return_addr.
5244 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
5246         PR other/79046
5247         * configure.ac: Add GCC_BASE_VER.
5248         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
5249         version from BASE-VER file.
5250         * configure: Regenerated.
5252 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
5254         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
5255         libmul_f5.a): Filter archived prerequisites.
5257 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
5259         * config/i386/cpuinfo.h (processor_features): Add
5260         FEATURE_AVX512VPOPCNTDQ.
5261         * config/i386/cpuinfo.c (get_available_features): Habdle new
5262         feature.
5264 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
5266         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
5267         payload if [__mips_nan2008].
5269 2017-01-04  Alan Modra  <amodra@gmail.com>
5271         * Makefile.in (configure_deps): Update.
5272         * configure: Regenerate.
5274 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
5276         Update copyright years.
5278 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
5280         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
5281         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
5282         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
5284 2016-12-17  Matthias Klose  <doko@ubuntu.com>
5286         * config/arc/gmon: Remove empty directory.
5288 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
5290         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
5291         crtgend.
5292         (arc*-*-elf*): Likewise.
5293         * config/arc/t-arc: Remove old gmon lib targets.
5294         * config/arc/crtg.S: Remove.
5295         * config/arc/crtgend.S: Likewise.
5296         * config/arc/gmon/atomic.h: Likewise.
5297         * config/arc/gmon/auxreg.h: Likewise.
5298         * config/arc/gmon/dcache_linesz.S: Likewise.
5299         * config/arc/gmon/gmon.c: Likewise.
5300         * config/arc/gmon/machine-gmon.h: Likewise.
5301         * config/arc/gmon/mcount.c: Likewise.
5302         * config/arc/gmon/prof-freq-stub.S: Likewise.
5303         * config/arc/gmon/prof-freq.c: Likewise.
5304         * config/arc/gmon/profil.S: Likewise.
5305         * config/arc/gmon/sys/gmon.h: Likewise.
5306         * config/arc/gmon/sys/gmon_out.h: Likewise.
5307         * config/arc/t-arc-newlib: Likewise.
5308         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
5310 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
5312         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
5314 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
5316         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
5317         R16 instead of push + pop.
5318         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
5320 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
5322         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
5323         tmake_file.
5325 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
5327         * config.host (arc*-*-linux-uclibc*): Use default extra
5328         objects. Include linux-android header.
5329         * config/arc/crti.S (_init): Declare symbol as function.
5330         (_fini): Likewise.
5332 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
5334         PR fortran/78379
5335         * config/i386/cpuinfo.c:  Move denums for processor vendors,
5336         processor type, processor subtypes and declaration of
5337         struct __processor_model into
5338         * config/i386/cpuinfo.h:  New header file.
5340 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
5341             Thomas Preud'homme  <thomas.preudhomme@arm.com>
5343         * config/arm/cmse_nonsecure_call.S: New.
5344         * config/arm/t-arm: Compile cmse_nonsecure_call.S
5346 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
5347             Thomas Preud'homme  <thomas.preudhomme@arm.com>
5349         * config/arm/t-arm (HAVE_CMSE): New.
5350         * config/arm/cmse.c: New.
5352 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
5354         PR gcc/74748
5355         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
5356         use generic linker version information on Blackfin.
5358         PR gcc/74748
5359         * libgcc/mkmap-symver.awk: add support for skip_underscore
5361 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
5362             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5364         PR target/67710
5365         *  config/t-darwin: Default builds to 10.5 codegen.
5367 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
5369         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
5370         (_FP_NANSIGN_H): Likewise.
5371         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
5372         (softfp_truncations): Add tfhf.
5373         (softfp_extras): Add required conversion functions.
5375 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
5376             Matthew Wahab  <matthew.wahab@arm.com>
5378         * config/arm/fp16.c (binary64): New.
5379         (__gnu_d2h_internal): New.
5380         (__gnu_d2h_ieee): New.
5381         (__gnu_d2h_alternative): New.
5383 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
5384             Matthew Wahab  <matthew.wahab@arm.com>
5386         * config/arm/fp16.c (struct format): New.
5387         (binary32): New.
5388         (__gnu_float2h_internal): New.  Body moved from
5389         __gnu_f2h_internal and generalize.
5390         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
5391         Call it with binary32.
5393 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
5395         * soft-fp/extendhftf2.c: Update from glibc.
5396         * soft-fp/fixhfti.c: Likewise.
5397         * soft-fp/fixunshfti.c: Likewise.
5398         * soft-fp/floattihf.c: Likewise.
5399         * soft-fp/floatuntihf.c: Likewise.
5400         * soft-fp/half.h: Likewise.
5401         * soft-fp/trunctfhf2.c: Likewise.
5403 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
5405         PR libgcc/77813
5406         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
5407         __TMC_END__ behind a passthrough asm.
5409 2016-11-18  Walter Lee  <walt@tilera.com>
5411         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
5413 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
5415         * config/i386/cpuinfo.c (processor_features): Add
5416         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
5418 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
5420         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
5421         (__ARC_NORM__): Use instead ARC_OPTFPE.
5422         * config/arc/fp-hack.h: Likewise.
5423         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
5424         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
5426 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
5428         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
5429         * config/nvptx/mgomp.c: New file.
5430         * config/nvptx/t-nvptx: Add mgomp.c
5432 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
5434         PR libgcc/68468
5435         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
5437 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
5439         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
5440         of checking for cpus.
5441         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
5442         (__modsi3, __clzsi2): Likewise.
5444 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5446         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
5447         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
5448         * config/i386/t-cpuinfo-static: New.
5450 2016-11-03  Martin Liska  <mliska@suse.cz>
5452         * libgcov-profiler.c (__gcov_time_profiler): Remove.
5453         (__gcov_time_profiler_atomic): Likewise.
5455 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
5457         PR libgcc/78067
5458         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
5459         count_leading_zeros.
5461 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
5463         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
5464         * libgcc2.c (__divmoddi4): New function.
5465         * libgcc2.h (__divmoddi4): Declare.
5466         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
5467         and __PFX_divmodti4.
5469 2016-10-24  Florian Weimer  <fweimer@redhat.com>
5471         PR libgcc/78064
5472         * unwind-c.c: Include auto-target.h.
5474 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
5476         * config/pa/pa64-hpux-lib.h: New file.
5477         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
5478         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
5479         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
5480         hppa*64*-*-hpux11*.
5482 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
5484         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5485         definition.
5486         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5487         definition.
5488         * config/xtensa/t-windowed (LIB2ADDEH): Use
5489         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
5490         or xtensa/t-linux.
5492 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
5494         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
5495         __ieee754_sqrt): New functions.
5496         (__divdf3): Add implementation with new FPU instructions under
5497         #if XCHAL_HAVE_DFP_DIV.
5498         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
5499         __ieee754_sqrtf): New functions.
5500         (__divsf3): Add implementation with new FPU instructions under
5501         #if XCHAL_HAVE_FP_DIV.
5502         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
5503         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
5505 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5507         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
5508         equivalent.
5509         * config/tilepro/atomic.c: Likewise and stop casting model to
5510         enum memmodel.
5512 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
5514         PR target/77586
5515         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
5516         soft-fp.
5518 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
5520         * config.host: Add support for aarch64-*-freebsd*.
5522 2016-10-05  Andreas Schwab  <schwab@suse.de>
5524         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
5525         (.section .init_array): Don't call __do_jv_register_classes.
5526         (.section .init): Likewise.
5528 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
5530         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
5531         (__JCR_LIST__): Remove.
5532         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
5533         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
5534         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
5535         * config/ia64/crtend.S (__JCR_END__): Remove.
5536         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
5537         conditionals.
5538         (__JCR_LIST__, __JCR_END__): Remove.
5539         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
5540         (__do_global_ctors_1): Likewise.
5542 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
5544         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
5545         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
5547 2016-09-27  Martin Liska  <mliska@suse.cz>
5549         PR gcov-profile/7970
5550         PR gcov-profile/16855
5551         PR gcov-profile/44779
5552         * libgcov-driver.c (__gcov_init): Do not register a atexit
5553         handler.
5554         (__gcov_exit): Rename from gcov_exit.
5555         * libgcov.h (__gcov_exit): Declare.
5557 2016-09-27  Martin Liska  <mliska@suse.cz>
5559         PR bootstrap/77749
5560         * Makefile.in: Remove _gcov_merge_delta.
5561         * libgcov-merge.c (void __gcov_merge_delta): Remove.
5562         * libgcov-util.c (__gcov_delta_counter_op): Remove.
5563         * libgcov.h: Remove declaration of __gcov_merge_delta.
5565 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
5567         * configure.ac: Do not create links, only substitute the filenames.
5568         * configure: Regenerate.
5569         * Makefile.in: Assign the substitution results to variables.
5570         (LIBGCC_LINKS): Define.
5571         (enable-execute-stack.c): New rule.
5572         (unwind.h): Likewise.
5573         (md-unwind-support.h): Likewise.
5574         (sfp-machine.h): Likewise.
5575         (gthr-default.h): Likewise.
5576         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
5577         unwind.h as prerequisite of install-unwind_h-forbuild.
5579 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
5581         PR libgcc/71744
5582         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
5583         is not the primary registry and atomics are available.
5584         (any_objects_registered): New variable.
5585         (__register_frame_info_bases, __register_frame_info_table_bases):
5586         Atomically store 1 to any_objects_registered after registering first
5587         unwind info.
5588         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
5590 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
5592         PR target/63250
5593         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
5594         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
5595         (HFtype): Likewise.
5596         (HCtype): Likewise.
5597         (__divhc3): Likewise.
5598         (__mulhc3): Likewise.
5599         * libgcc2.c: Support _mulhc3 and _divhc3.
5601 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
5603         PR libgcc/77519
5604         * libgcc2.c (NOTRUNC): Invert settings.
5606 2016-09-06  Martin Liska  <mliska@suse.cz>
5608         PR gcov-profile/77378
5609         PR gcov-profile/77466
5610         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
5611         conditionaly enable/disable *_atomic functions.
5613 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
5615         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
5616         where not already enabled.
5618 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5620         * config/mips/linux-unwind.h: Use sys/syscall.h.
5622 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
5624         PR libgcc/77265
5625         * soft-fp/adddf3.c: Update from glibc.
5626         * soft-fp/addsf3.c: Likewise.
5627         * soft-fp/addtf3.c: Likewise.
5628         * soft-fp/divdf3.c: Likewise.
5629         * soft-fp/divsf3.c: Likewise.
5630         * soft-fp/divtf3.c: Likewise.
5631         * soft-fp/double.h: Likewise.
5632         * soft-fp/eqdf2.c: Likewise.
5633         * soft-fp/eqsf2.c: Likewise.
5634         * soft-fp/eqtf2.c: Likewise.
5635         * soft-fp/extenddftf2.c: Likewise.
5636         * soft-fp/extended.h: Likewise.
5637         * soft-fp/extendsfdf2.c: Likewise.
5638         * soft-fp/extendsftf2.c: Likewise.
5639         * soft-fp/extendxftf2.c: Likewise.
5640         * soft-fp/fixdfdi.c: Likewise.
5641         * soft-fp/fixdfsi.c: Likewise.
5642         * soft-fp/fixdfti.c: Likewise.
5643         * soft-fp/fixsfdi.c: Likewise.
5644         * soft-fp/fixsfsi.c: Likewise.
5645         * soft-fp/fixsfti.c: Likewise.
5646         * soft-fp/fixtfdi.c: Likewise.
5647         * soft-fp/fixtfsi.c: Likewise.
5648         * soft-fp/fixtfti.c: Likewise.
5649         * soft-fp/fixunsdfdi.c: Likewise.
5650         * soft-fp/fixunsdfsi.c: Likewise.
5651         * soft-fp/fixunsdfti.c: Likewise.
5652         * soft-fp/fixunssfdi.c: Likewise.
5653         * soft-fp/fixunssfsi.c: Likewise.
5654         * soft-fp/fixunssfti.c: Likewise.
5655         * soft-fp/fixunstfdi.c: Likewise.
5656         * soft-fp/fixunstfsi.c: Likewise.
5657         * soft-fp/fixunstfti.c: Likewise.
5658         * soft-fp/floatdidf.c: Likewise.
5659         * soft-fp/floatdisf.c: Likewise.
5660         * soft-fp/floatditf.c: Likewise.
5661         * soft-fp/floatsidf.c: Likewise.
5662         * soft-fp/floatsisf.c: Likewise.
5663         * soft-fp/floatsitf.c: Likewise.
5664         * soft-fp/floattidf.c: Likewise.
5665         * soft-fp/floattisf.c: Likewise.
5666         * soft-fp/floattitf.c: Likewise.
5667         * soft-fp/floatundidf.c: Likewise.
5668         * soft-fp/floatundisf.c: Likewise.
5669         * soft-fp/floatunditf.c: Likewise.
5670         * soft-fp/floatunsidf.c: Likewise.
5671         * soft-fp/floatunsisf.c: Likewise.
5672         * soft-fp/floatunsitf.c: Likewise.
5673         * soft-fp/floatuntidf.c: Likewise.
5674         * soft-fp/floatuntisf.c: Likewise.
5675         * soft-fp/floatuntitf.c: Likewise.
5676         * soft-fp/gedf2.c: Likewise.
5677         * soft-fp/gesf2.c: Likewise.
5678         * soft-fp/getf2.c: Likewise.
5679         * soft-fp/ledf2.c: Likewise.
5680         * soft-fp/lesf2.c: Likewise.
5681         * soft-fp/letf2.c: Likewise.
5682         * soft-fp/muldf3.c: Likewise.
5683         * soft-fp/mulsf3.c: Likewise.
5684         * soft-fp/multf3.c: Likewise.
5685         * soft-fp/negdf2.c: Likewise.
5686         * soft-fp/negsf2.c: Likewise.
5687         * soft-fp/negtf2.c: Likewise.
5688         * soft-fp/op-1.h: Likewise.
5689         * soft-fp/op-2.h: Likewise.
5690         * soft-fp/op-4.h: Likewise.
5691         * soft-fp/op-8.h: Likewise.
5692         * soft-fp/op-common.h: Likewise.
5693         * soft-fp/quad.h: Likewise.
5694         * soft-fp/single.h: Likewise.
5695         * soft-fp/soft-fp.h: Likewise.
5696         * soft-fp/subdf3.c: Likewise.
5697         * soft-fp/subsf3.c: Likewise.
5698         * soft-fp/subtf3.c: Likewise.
5699         * soft-fp/truncdfsf2.c: Likewise.
5700         * soft-fp/trunctfdf2.c: Likewise.
5701         * soft-fp/trunctfsf2.c: Likewise.
5702         * soft-fp/trunctfxf2.c: Likewise.
5703         * soft-fp/unorddf2.c: Likewise.
5704         * soft-fp/unordsf2.c: Likewise.
5705         * soft-fp/unordtf2.c: Likewise.
5707 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
5709         PR gcov-profile/67097
5710         * libgcov-util.c (gcov_profile_merge): Skip missing files.
5712 2016-08-10  Martin Liska  <mliska@suse.cz>
5714         PR gcov-profile/58306
5715         * Makefile.in: New functions (modules) are added.
5716         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
5717         function.
5718         (__gcov_pow2_profiler_atomic): New function.
5719         (__gcov_one_value_profiler_body): New argument is instroduced.
5720         (__gcov_one_value_profiler): Call with the new argument.
5721         (__gcov_one_value_profiler_atomic): Likewise.
5722         (__gcov_indirect_call_profiler_v2): Likewise.
5723         (__gcov_time_profiler_atomic): New function.
5724         (__gcov_average_profiler_atomic): Likewise.
5725         (__gcov_ior_profiler_atomic): Likewise.
5726         * libgcov.h: Declare the aforementioned functions.
5728 2016-08-09  Martin Liska  <mliska@suse.cz>
5730         * libgcov-util.c: Fix typo and GNU coding style.
5732 2016-08-09  Martin Liska  <mliska@suse.cz>
5734         * Makefile.in: Remove __gcov_indirect_call_profiler.
5735         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
5736         function.
5737         * libgcov.h: And the declaration of the function.
5739 2016-08-09  Martin Liska  <mliska@suse.cz>
5741         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
5742         power of two.
5744 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
5746         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
5747         * config/rs6000/_mulkc3.c: Likewise.
5749 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
5751         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
5752         zero_reg as previous call to __umulhisi3 already cleared it.
5754 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
5756         PR target/59833
5757         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
5759 2016-07-19  Nick Clifton  <nickc@redhat.com>
5761         * config.host (m32r): Add m32r/t-m32r to tmake_file.
5762         Add crtinit.o and crtfini.o to extra_parts.
5764 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
5766         * config/rs6000/_divkc3.c: New.
5767         * config/rs6000/_mulkc3.c: New.
5768         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
5769         and _divkc3.
5770         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
5771         fp128_ppc_funcs.
5773 2016-07-11  Hale Wang  <hale.wang@arm.com>
5774             Andre Vieira  <andre.simoesdiasvieira@arm.com>
5776         * config/arm/lib1funcs.S: Add new wrapper.
5778 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5780         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
5782 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5784         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
5785         and ARMv5t* rather than for a fixed list of architectures.
5787 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5789         * config/arm/bpabi-v6m.S: Clarify what architectures is the
5790         implementation suitable for.
5791         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
5792         for all Thumb-1 only targets.
5793         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
5794         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
5795         __ARM_ARCH_6M__.
5796         (EQUIV): Likewise.
5797         (ARM_FUNC_ALIAS): Likewise.
5798         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
5799         version.
5800         (modsi3): Likewise.
5801         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
5802         (clzdi2): Likewise.
5803         (ctzsi2): Likewise.
5804         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
5805         __ARM_ARCH_6M__ in guard for checking whether it is defined.
5806         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
5807         __ARM_ARCH_6M__ and add comment to indicate the connection between
5808         this condition and the one in gcc/config/arm/elf.h.
5809         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
5810         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
5811         * config/arm/t-softfp: Likewise.
5813 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5815         * libgcc2.c (SYMBOL__MAIN): Remove checks for
5816         CTOR_LISTS_DEFINED_EXTERNALLY.
5818 2016-06-28  Walter Lee  <walt@tilera.com>
5820         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
5821         asm/unistd.h.
5822         (SPR_CMPEXCH_VALUE): Define for tilegx.
5823         (__NR_FAST_cmpxchg): Define for tilepro.
5824         (__NR_FAST_atomic_update): Define for tilepro.
5825         (__NR_FAST_cmpxchg64): Define for tilepro.
5827 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
5829         * config.host: Add suport for arm*-*-phoenix* targets.
5831 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5833         * config.host: Remove support for mep-*.
5834         * config/mep/lib1funcs.S: Remove.
5835         * config/mep/lib2funcs.c: Remove.
5836         * config/mep/t-mep: Remove.
5837         * config/mep/tramp.c: Remove.
5839 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5841         * config.host: Remove support for avr-rtems.
5842         * config/avr/t-rtems: Remove.
5844 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5846         * config.host: Remove m32r-rtems support.
5848 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5850         * config.host: Remove h8300-rtems support.
5852 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5854         * config.host: Remove support for knetbsd.
5856 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5858         * config.host: Remove support for openbsd 2 and 3.
5860 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5862         * config.host: Remove interix support.
5863         * config/i386/t-interix: Remove.
5865 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
5867         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
5868         least-significant bit in function pointer for fixup.
5870 2016-06-05  Aaron Conole  <aconole@redhat.com>
5871             Nathan Sidwell  <nathan@acm.org>
5873         PR libgcc/71400
5874         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
5875         (get_gcov_error_file): Check __gcov_error_file before trying to
5876         initialize it.
5877         (gcov_error): Always use get_gcov_error_file.
5879 2016-06-02  Aaron Conole  <aconole@redhat.com>
5881         * libgcov-driver-system.c (__gcov_error_file): New.
5882         (get_gcov_error_file): New.
5883         (gcov_error): Use and set __gcov_error_file.
5884         (gcov_error_exit): New.
5885         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
5887 2016-05-26  Nathan Sidwell  <nathan@acm.org>
5889         * config/nvptx/free.asm: Delete.
5890         * config/nvptx/malloc.asm: Delete.
5891         * config/nvptx/realloc.c: Delete.
5892         * t-nvptx: Update.
5894 2016-05-25  Nathan Sidwell  <nathan@acm.org>
5896         * config/nvptx/crt0.s: Delete.
5897         * config/nvptx/crt0.c: New.
5898         * t-nvptx: Update.
5900 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
5902         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
5903         dw2/seh configuration.
5904         [x86_64-*-mingw*]: Likewise.
5906 2016-05-10  Joel Sherrill <joel@rtems.org>
5908         PR libgcc/70720
5909         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
5910         targets so the same extra_parts are built.  Also have tmake_file add
5911         on to its value rather than override.
5913 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
5915         * config.host: Remove SH5 support.
5916         * configure: Likewise.
5918 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
5920         * config/sh/crt1.S: Remove SH5 support.
5921         * config/sh/crti.S: Likewise.
5922         * config/sh/crtn.S: Likewise.
5923         * config/sh/lib1funcs-4-300.S: Likewise.
5924         * config/sh/lib1funcs-Os-4-200.S: Likewise.
5925         * config/sh/lib1funcs.S: Likewise.
5926         * config/sh/linux-unwind.h: Likewise.
5927         * config/sh/t-sh64: Delete.
5929 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
5931         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
5933 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
5934             Joern Rennecke  <joern.rennecke@embecosm.com>
5936         * config/arc/crttls.S: New file.
5937         * config/arc/t-arc: New rule.
5938         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
5940 2016-04-25  Nick Clifton  <nickc@redhat.com>
5942         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
5943         (__mspabi_cmpd): Likewise.
5944         * config/msp430/floathidf.c (__floathidf): Likewise.
5945         * config/msp430/floathisf.c (__floathisf): Likewise
5946         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
5947         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
5948         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
5949         second parameter.
5950         (__ashrsi3): Likewise.
5952 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
5954         * config/m68k/linux-atomic.c: Do not include unistd.h
5956 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
5958         * config/arm/ieee754-df.S: Fix typos in comments.
5960 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
5962         PR target/70381
5963         * configure.ac (powerpc*-*-linux*): Rework tests to build
5964         __float128 emulation routines to not depend on using #pragma GCC
5965         target to enable -mfloat128.
5966         * configure: Regnerate.
5968 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
5970         PR target/67172
5971         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
5972         __MINGW32__ is defined.
5974 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
5976         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
5978 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
5980         PR libgcc/70363
5981         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
5982         built with an assembler that does not support ISA 3.0
5983         instructions, rename __extendkftf2_sw to __extendkftf2.
5985 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5987         PR target/38239
5988         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
5989         call-clobbered registers.
5990         (internal_mcount): Remove __i386__ handling.
5992 2016-02-26  Joel Sherrill <joel@rtems.org>
5994         * config.host: Add x86_64-*-rtems*.
5996 2016-02-26  Joel Sherrill <joel@rtems.org>
5998         * libgcc/config.host: Add aarch64-*-rtems*.
6000 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6001             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
6003         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
6004         union of u64 and double.
6005         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
6006         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
6007         value.
6008         (FP_ROUNDMODE): Update the usage of _fpscr.
6010 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
6012         PR driver/68463
6013         * Makefile.in (crtoffloadtable$(objext)): New rule.
6014         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
6015         enable_offload_targets is not empty.
6016         * configure: Regenerate.
6017         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
6018         crtoffloadtable.
6020 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
6022         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
6023         .literal_position before the function.
6024         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
6025         Likewise.
6027 2016-02-15  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
6029         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
6030         * config/s390/morestack.S: New file.
6031         * config/s390/t-stack-s390: New file.
6032         * generic-morestack.c (__splitstack_find): Add s390-specific code.
6034 2016-02-12  Walter Lee  <walt@tilera.com>
6036         * config.host (tilegx*-*-linux*): remove ti from
6037         softfp_int_modes for 32-bit configs.
6039 2016-02-10  Ian Lance Taylor  <iant@google.com>
6041         PR go/68562
6042         * config/i386/morestack.S (__stack_split_initialize): Align
6043         stack.
6045 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
6047         PR bootstrap/69611
6048         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
6049         __FLOAT128__ to compile only for __float128 capable targets.
6051 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
6053         PR target/69444
6054         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
6055         instead of ___NO_FPRS__.
6057 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
6058             Steven Munroe  <munroesj@linux.vnet.ibm.com>
6059             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
6061         * config/rs6000/float128-sed: New files to convert TF names to KF
6062         names for PowerPC IEEE 128-bit floating point support.
6063         * config/rs6000/float128-sed-hw: Likewise.
6065         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
6066         floating point hardware support.
6068         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
6069         128-bit floating point software emulation or use ISA 3.0 hardware
6070         support if it is available.
6072         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
6073         floating point.
6075         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
6076         floating point to IBM extended double.
6078         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
6079         double to IEEE 128-bit floating point.
6081         * config/rs6000/t-float128: New Makefile fragments to enable
6082         building __float128 emulation support.
6083         * config/rs6000/t-float128-hw: Likewise.
6085         * config/rs6000/sfp-exceptions.c: New file to provide exception
6086         support for IEEE 128-bit floating point.
6088         * config/rs6000/floattikf.c: New files for converting between IEEE
6089         128-bit floating point and signed/unsigned 128-bit integers.
6090         * config/rs6000/fixunskfti.c: Likewise.
6091         * config/rs6000/fixkfti.c: Likewise.
6092         * config/rs6000/floatuntikf.c: Likewise.
6094         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
6095         when building on 64-bit systems, or when VSX is enabled.
6096         (_FP_W_TYPE): Likewise.
6097         (_FP_WS_TYPE): Likewise.
6098         (_FP_I_TYPE): Likewise.
6099         (TItype): Define on 64-bit systems.
6100         (UTItype): Likewise.
6101         (TI_BITS): Likewise.
6102         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
6103         (_FP_MUL_MEAT_Q): Likewise.
6104         (_FP_DIV_MEAT_D): Likewise.
6105         (_FP_DIV_MEAT_Q): Likewise.
6106         (_FP_NANFRAC_D): Likewise.
6107         (_FP_NANFRAC_Q): Likewise.
6108         (ISA_BIT): Add exception support if we are being compiled on a
6109         machine with hardware floating point support to build the IEEE
6110         128-bit emulation functions.
6111         (FP_EX_INVALID): Likewise.
6112         (FP_EX_OVERFLOW): Likewise.
6113         (FP_EX_UNDERFLOW): Likewise.
6114         (FP_EX_DIVZERO): Likewise.
6115         (FP_EX_INEXACT): Likewise.
6116         (FP_EX_ALL): Likewise.
6117         (__sfp_handle_exceptions): Likewise.
6118         (FP_HANDLE_EXCEPTIONS): Likewise.
6119         (FP_RND_NEAREST): Likewise.
6120         (FP_RND_ZERO): Likewise.
6121         (FP_RND_PINF): Likewise.
6122         (FP_RND_MINF): Likewise.
6123         (FP_RND_MASK): Likewise.
6124         (_FP_DECL_EX): Likewise.
6125         (FP_INIT_ROUNDMODE): Likewise.
6126         (FP_ROUNDMODE): Likewise.
6128         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
6129         VSX code, enable IEEE 128-bit floating point.  If the compiler can
6130         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
6131         floating point hardware instructions and it supports declaring
6132         functions with the ifunc attribute, enable ifunc functions to
6133         switch between software and hardware support.
6134         * configure.ac (powerpc*-*-linux*): Likewise.
6135         * configure: Regenerate.
6137 2016-01-15  Nick Clifton  <nickc@redhat.com>
6139         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
6140         dependency as the source file to be compiled.
6141         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
6142         (lib2hw_mul_f5.o): Likewise.
6144 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
6146         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
6147         * libgcc/config/rs6000/fixkfti.c: Likewise.
6148         * libgcc/config/rs6000/fixunskfti.c: Likewise.
6149         * libgcc/config/rs6000/float128-hw.c: Likewise.
6150         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
6151         * libgcc/config/rs6000/float128-sed: Likewise.
6152         * libgcc/config/rs6000/floattikf.c: Likewise.
6153         * libgcc/config/rs6000/floatuntikf.c: Likewise.
6154         * libgcc/config/rs6000/quad-float128.h: Likewise.
6155         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
6156         * libgcc/config/rs6000/sfp-machine.h: Likewise.
6157         * libgcc/config/rs6000/t-float128: Likewise.
6158         * libgcc/config/rs6000/t-float128-hw: Likewise.
6159         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
6160         * libgcc/config.host: Likewise.
6161         * libgcc/configure: Likewise.
6162         * libgcc/configure.ac: Likewise.
6164 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
6165             Steven Munroe  <munroesj@linux.vnet.ibm.com>
6166             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
6168         * config/rs6000/sfp-exceptions.c: New file to provide exception
6169         support for IEEE 128-bit floating point.
6171         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
6172         floating point hardware support.
6174         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
6175         point conversions.
6176         * config/rs6000/fixunskfti.c: Likewise.
6177         * config/rs6000/fixkfti.c: Likewise.
6178         * config/rs6000/floatuntikf.c: Likewise.
6179         * config/rs6000/extendkftf2-sw.c: Likewise.
6180         * config/rs6000/trunctfkf2-sw.c: Likewise.
6182         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
6183         128-bit floating point software emulation or use ISA 3.0 hardware
6184         support if it is available.
6186         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
6187         floating point.
6189         * config/rs6000/t-float128: New Makefile fragments to enable
6190         building __float128 emulation support.
6191         * config/rs6000/t-float128-hw: Likewise.
6193         * config/rs6000/float128-sed: New file to convert TF names to KF
6194         names for PowerPC IEEE 128-bit floating point support.
6196         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
6197         when building on 64-bit systems, or when VSX is enabled.
6198         (_FP_W_TYPE): Likewise.
6199         (_FP_WS_TYPE): Likewise.
6200         (_FP_I_TYPE): Likewise.
6201         (TItype): Define on 64-bit systems.
6202         (UTItype): Likewise.
6203         (TI_BITS): Likewise.
6204         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
6205         (_FP_MUL_MEAT_Q): Likewise.
6206         (_FP_DIV_MEAT_D): Likewise.
6207         (_FP_DIV_MEAT_Q): Likewise.
6208         (_FP_NANFRAC_D): Likewise.
6209         (_FP_NANFRAC_Q): Likewise.
6210         (ISA_BIT): Add exception support if we are being compiled on a
6211         machine with hardware floating point support to build the IEEE
6212         128-bit emulation functions.
6213         (FP_EX_INVALID): Likewise.
6214         (FP_EX_OVERFLOW): Likewise.
6215         (FP_EX_UNDERFLOW): Likewise.
6216         (FP_EX_DIVZERO): Likewise.
6217         (FP_EX_INEXACT): Likewise.
6218         (FP_EX_ALL): Likewise.
6219         (__sfp_handle_exceptions): Likewise.
6220         (FP_HANDLE_EXCEPTIONS): Likewise.
6221         (FP_RND_NEAREST): Likewise.
6222         (FP_RND_ZERO): Likewise.
6223         (FP_RND_PINF): Likewise.
6224         (FP_RND_MINF): Likewise.
6225         (FP_RND_MASK): Likewise.
6226         (_FP_DECL_EX): Likewise.
6227         (FP_INIT_ROUNDMODE): Likewise.
6228         (FP_ROUNDMODE): Likewise.
6230         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
6231         compiler can do __float128.
6232         * configure: Regenerate.
6234         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
6235         VSX code, enable IEEE 128-bit floating point.
6237 2016-01-05  Olivier Hainque  <hainque@adacore.com>
6239         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
6240         specificities.
6242 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
6244         Update copyright years.
6246 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
6248         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
6249         soft-fp targets.
6251 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
6253         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
6254         instead of abort to avoid dependency on stdlib.h.
6256 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
6258         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
6259         to initialize call to __dl_fixup once.
6261 2015-12-04  Nick Clifton  <nickc@redhat.com>
6263         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
6264         Allow for the second argument being negative.
6265         * config.host (extra_parts): Define for MSP430.  Create separate
6266         libraries for each of the hardware multiply formats.
6267         * config/msp430/lib2hw_mul.S: Build only the multiply routines
6268         that are needed.
6269         * config/msp430/lib2mul.c: Likewise.
6270         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
6271         Add rules to build hardware multiply libraries.
6272         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
6273         __mspabi_divul function.
6274         (__mspabi_divllu): New stub function.
6276 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
6278         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
6279         fixup values if saved GOT address doesn't match runtime address.
6280         (fixup_branch_offset): Reorder list.
6282 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6284         * Makefile.in (VTV_CFLAGS): New variable.
6285         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
6286         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
6287         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
6288         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
6289         to extra_parts if $enable_vtable_verify = yes.
6291 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6293         PR target/68059
6294         * config/arm/linux-atomic-64bit.c (__write): Rename to...
6295         (write): ...this and fix the return type.
6297 2015-11-19  DJ Delorie  <dj@redhat.com>
6299         * config/msp430/lib2hw_mul.S: Fix alignment.
6301 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
6303         * config/nvptx/reduction.c: New.
6304         * config/nvptx/t-nvptx (LIB2ADD): Add it.
6306 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
6308         * config/rs6000/on_exit.c: New file.
6309         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
6310         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
6312 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
6314         * config/arc/dp-hack.h: Add support for ARCHS.
6315         * config/arc/ieee-754/divdf3.S: Likewise.
6316         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6317         * config/arc/ieee-754/muldf3.S: Likewise.
6318         * config/arc/ieee-754/mulsf3.S: Likewise
6319         * config/arc/lib1funcs.S: Likewise
6320         * config/arc/gmon/dcache_linesz.S: Don't read the build register
6321         for ARCv2 cores.
6322         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
6323         for ARCv2 cores.
6324         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
6325         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
6326         cores.
6328 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6330         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
6331         value.
6332         * config/ia64/crtend.S: Likewise.
6334 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
6336         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
6337         __CHAR_BIT__ instead of BITS_PER_UNIT.
6338         * fixed-bit.h: Likewise.
6339         * fp-bit.h: Likewise.
6340         * libgcc2.c (__popcountSI2): Likewise.
6341         (__popcountDI2): Likewise.
6342         * libgcc2.h: Likewise.
6343         * libgcov.h: Likewise.
6345 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
6347         * config/rs6000/atexit.c: New file.
6348         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
6349         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
6350         * config/rs6000/cxa_finalize.c
6351         (catomic_compare_and_exchange_bool_acq): Negate return value.
6353 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
6355         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
6356         (processor_subtypes): Add znver1.
6357         (get_amd_cpu): Detect znver1.
6359 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
6361         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
6362         Include crtfastmath.o.
6364 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
6366         PR libgcc/66883
6367         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
6369 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
6371         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
6372         * config/rl78/divmodsi.S: Update return register to r8.
6373         * config/rl78/divmodhi.S: Update return register to r8,r9.
6374         Branch to main_loop_done_himode to pop registers before return.
6376 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
6378         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
6379         (__cpu_indicator_init): Fix model selection for AMD CPUs.
6381 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
6383         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
6385 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
6387         * config.host (xtensa*-*-uclinux*): New configuration.
6389 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
6391         * config/i386/cpuinfo.c (processor_features): Add
6392         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
6394 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
6396         * soft-fp/adddf3.c: Update from glibc.
6397         * soft-fp/addsf3.c: Likewise.
6398         * soft-fp/addtf3.c: Likewise.
6399         * soft-fp/divdf3.c: Likewise.
6400         * soft-fp/divsf3.c: Likewise.
6401         * soft-fp/divtf3.c: Likewise.
6402         * soft-fp/double.h: Likewise.
6403         * soft-fp/eqdf2.c: Likewise.
6404         * soft-fp/eqsf2.c: Likewise.
6405         * soft-fp/eqtf2.c: Likewise.
6406         * soft-fp/extenddftf2.c: Likewise.
6407         * soft-fp/extended.h: Likewise.
6408         * soft-fp/extendsfdf2.c: Likewise.
6409         * soft-fp/extendsftf2.c: Likewise.
6410         * soft-fp/extendxftf2.c: Likewise.
6411         * soft-fp/fixdfdi.c: Likewise.
6412         * soft-fp/fixdfsi.c: Likewise.
6413         * soft-fp/fixdfti.c: Likewise.
6414         * soft-fp/fixsfdi.c: Likewise.
6415         * soft-fp/fixsfsi.c: Likewise.
6416         * soft-fp/fixsfti.c: Likewise.
6417         * soft-fp/fixtfdi.c: Likewise.
6418         * soft-fp/fixtfsi.c: Likewise.
6419         * soft-fp/fixtfti.c: Likewise.
6420         * soft-fp/fixunsdfdi.c: Likewise.
6421         * soft-fp/fixunsdfsi.c: Likewise.
6422         * soft-fp/fixunsdfti.c: Likewise.
6423         * soft-fp/fixunssfdi.c: Likewise.
6424         * soft-fp/fixunssfsi.c: Likewise.
6425         * soft-fp/fixunssfti.c: Likewise.
6426         * soft-fp/fixunstfdi.c: Likewise.
6427         * soft-fp/fixunstfsi.c: Likewise.
6428         * soft-fp/fixunstfti.c: Likewise.
6429         * soft-fp/floatdidf.c: Likewise.
6430         * soft-fp/floatdisf.c: Likewise.
6431         * soft-fp/floatditf.c: Likewise.
6432         * soft-fp/floatsidf.c: Likewise.
6433         * soft-fp/floatsisf.c: Likewise.
6434         * soft-fp/floatsitf.c: Likewise.
6435         * soft-fp/floattidf.c: Likewise.
6436         * soft-fp/floattisf.c: Likewise.
6437         * soft-fp/floattitf.c: Likewise.
6438         * soft-fp/floatundidf.c: Likewise.
6439         * soft-fp/floatundisf.c: Likewise.
6440         * soft-fp/floatunditf.c: Likewise.
6441         * soft-fp/floatunsidf.c: Likewise.
6442         * soft-fp/floatunsisf.c: Likewise.
6443         * soft-fp/floatunsitf.c: Likewise.
6444         * soft-fp/floatuntidf.c: Likewise.
6445         * soft-fp/floatuntisf.c: Likewise.
6446         * soft-fp/floatuntitf.c: Likewise.
6447         * soft-fp/gedf2.c: Likewise.
6448         * soft-fp/gesf2.c: Likewise.
6449         * soft-fp/getf2.c: Likewise.
6450         * soft-fp/ledf2.c: Likewise.
6451         * soft-fp/lesf2.c: Likewise.
6452         * soft-fp/letf2.c: Likewise.
6453         * soft-fp/muldf3.c: Likewise.
6454         * soft-fp/mulsf3.c: Likewise.
6455         * soft-fp/multf3.c: Likewise.
6456         * soft-fp/negdf2.c: Likewise.
6457         * soft-fp/negsf2.c: Likewise.
6458         * soft-fp/negtf2.c: Likewise.
6459         * soft-fp/op-1.h: Likewise.
6460         * soft-fp/op-2.h: Likewise.
6461         * soft-fp/op-4.h: Likewise.
6462         * soft-fp/op-8.h: Likewise.
6463         * soft-fp/op-common.h: Likewise.
6464         * soft-fp/quad.h: Likewise.
6465         * soft-fp/single.h: Likewise.
6466         * soft-fp/soft-fp.h: Likewise.
6467         * soft-fp/subdf3.c: Likewise.
6468         * soft-fp/subsf3.c: Likewise.
6469         * soft-fp/subtf3.c: Likewise.
6470         * soft-fp/truncdfsf2.c: Likewise.
6471         * soft-fp/trunctfdf2.c: Likewise.
6472         * soft-fp/trunctfsf2.c: Likewise.
6473         * soft-fp/trunctfxf2.c: Likewise.
6474         * soft-fp/unorddf2.c: Likewise.
6475         * soft-fp/unordsf2.c: Likewise.
6476         * soft-fp/unordtf2.c: Likewise.
6478 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
6480         PR libgcc/67624
6481         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
6483 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6485         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
6486         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
6487         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
6488         messages.
6489         (internal_mcount): Likewise.
6490         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
6491         crt_compile, add CRTSTUFF_T_CFLAGS_S.
6493 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6495         * configure.ac (libgcc_cv_solaris_crts): New test.
6496         * configure: Regenerate.
6497         * config.in: Regenerate.
6498         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
6499         * config/gmon-sol2.c: Rename to ...
6500         * config/sol2/gmon.c: ... this.
6501         Include auto-target.h.
6502         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
6503         * config/t-sol2: Rename to ...
6504         * config/sol2/t-sol2: ... this.
6505         (gmon.o): Reflect renaming.
6506         (crtp.o, crtpg.o): New rules.
6507         * config.host (*-*-solaris2*): Reflect renaming.
6508         Use system CRTs if present.
6509         Remove default CRT case.
6511 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
6513         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
6514         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
6515         __kernel_cmpxchg2.
6516         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
6517         (__sync_val_compare_and_swap_##WIDTH): Likewise.
6518         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
6519         (__sync_lock_test_and_set_##WIDTH): Likewise.
6520         (__sync_lock_release_##WIDTH): Likewise.
6521         (__sync_fetch_and_##OP##_4): Change result to match type of
6522         __kernel_cmpxchg.
6523         (__sync_##OP##_and_fetch_4): Likewise.
6524         (__sync_val_compare_and_swap_4): Likewise.
6525         (__sync_bool_compare_and_swap_4): likewise.
6526         (__sync_lock_test_and_set_4): Likewise.
6527         (__sync_lock_release_4): Likewise.
6528         (FETCH_AND_OP_2): Add long long variants.
6529         (OP_AND_FETCH_2): Likewise.
6530         (COMPARE_AND_SWAP_2 ): Likewise.
6531         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6532         (SYNC_LOCK_RELEASE_2): Likewise.
6533         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
6535 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
6537         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
6538         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
6539         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
6540         (get_available_features): Habdle new features.
6542 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
6544         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
6545         memory layout. Deal correctly with BSS region larger than 32K.
6546         Handle a watchdog reset like a power-on reset. Clean up unused
6547         code.
6549 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
6550             David Edelsohn  <dje.gcc@gmail.com>
6552         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
6553         * config/rs6000/crtdbase.S: New file.
6554         * config/rs6000/t-aix-cxa: Build crtdbase.o.
6556 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
6558         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
6559         Add support for call0 ABI.
6561 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
6563         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
6565 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
6567         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
6568         (__GTHREAD_HAS_COND): Likewise.
6569         (__gthread_t): Likewise.
6570         (__gthread_cond_t): Likewise.
6571         (__gthread_time_t): Likewise.
6572         (__GTHREAD_MUTEX_INIT): Likewise.
6573         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
6574         (__GTHREAD_COND_INIT): Likewise.
6575         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
6576         (__GTHREAD_TIME_INIT): Likewise.
6577         (__gthread_create): Likewise.
6578         (__gthread_join): Likewise.
6579         (__gthread_detach): Likewise.
6580         (__gthread_equal): Likewise.
6581         (__gthread_self): Likewise.
6582         (__gthread_yield): Likewise.
6583         (__gthread_cond_broadcast): Likewise.
6584         (__gthread_cond_signal): Likewise.
6585         (__gthread_cond_wait): Likewise.
6586         (__gthread_cond_timedwait): Likewise.
6587         (__gthread_cond_wait_recursive): Likewise.
6588         (__gthread_cond_destroy): Likewise.
6589         (rtems_gxx_once): Delete.
6590         (rtems_gxx_key_create): Likewise.
6591         (rtems_gxx_key_delete): Likewise.
6592         (rtems_gxx_getspecific): Likewise.
6593         (rtems_gxx_setspecific): Likewise.
6594         (rtems_gxx_mutex_init): Likewise.
6595         (rtems_gxx_mutex_destroy): Likewise.
6596         (rtems_gxx_mutex_lock): Likewise.
6597         (rtems_gxx_mutex_trylock): Likewise.
6598         (rtems_gxx_mutex_unlock): Likewise.
6599         (rtems_gxx_recursive_mutex_init): Likewise.
6600         (rtems_gxx_recursive_mutex_lock): Likewise.
6601         (rtems_gxx_recursive_mutex_trylock): Likewise.
6602         (rtems_gxx_recursive_mutex_unlock): Likewise.
6603         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
6604         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
6605         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
6606         (__gthread_once): Likewise.
6607         (__gthread_key_create): Likewise.
6608         (__gthread_key_delete): Likewise.
6609         (__gthread_getspecific): Likewise.
6610         (__gthread_setspecific): Likewise.
6611         (__gthread_key_t): Use <pthread.h> type.
6612         (__gthread_once_t): Likewise
6613         (__gthread_mutex_t): Use <sys/lock.h> type.
6614         (__gthread_recursive_mutex_t): Likewise
6615         (__gthread_mutex_lock): Use <sys/lock.h> function.
6616         (__gthread_mutex_trylock): Likewise.
6617         (__gthread_mutex_timedlock): Likewise.
6618         (__gthread_mutex_unlock): Likewise.
6619         (__gthread_mutex_destroy): Likewise.
6620         (__gthread_recursive_mutex_lock): Likewise.
6621         (__gthread_recursive_mutex_trylock): Likewise.
6622         (__gthread_recursive_mutex_timedlock): Likewise.
6623         (__gthread_recursive_mutex_unlock): Likewise.
6624         (__gthread_recursive_mutex_destroy): Likewise.
6626 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
6628         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
6629         context->sp instead of context->cfa.
6631 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
6633         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
6634         with unwind-dw2-fde-dip.
6636 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
6638         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
6639         CALL12 followed by series of ENTRY to spill windowed registers.
6640         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
6641         instead of making linux spill syscall.
6643 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
6645         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
6646         (get_intel_cpu): Likewise.
6648 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
6650         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
6651         (get_intel_cpu): Add Knights Landing support.
6653 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
6655         PR target/66954
6656         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
6657         (get_available_features): Handle FEATURE_PCLMUL.
6659 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
6661         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
6662         Broadwell.
6664 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
6666         PR target/66954
6667         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
6668         (get_available_features): Handle FEATURE_AES.
6670 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
6672         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
6673         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
6675 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
6677         * offloadstuff.c: Constify host data.
6679 2015-07-17  Jan Beulich  <jbeulich@suse.com>
6681         * config/t-softfp: Split up "else ifneq".
6683 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
6684             Cesar Philippidis  <cesar@codesourcery.com>
6685             Chung-Lin Tang  <cltang@codesourcery.com>
6687         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
6688         for __nios2_arch__ level.
6690 2015-07-13  John Marino  <gnugcc@marino.st>
6692         * config/i386/t-dragonfly: New.
6694 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
6696         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
6697         better match light-weight syscall argument order.
6698         (__kernel_cmpxchg2): Likewise.
6699         Adjust callers.
6701 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
6703         * config.host: Support i[34567]86-*-elfiamcu target.
6704         * config/t-softfp-sfdftf: New file.
6705         * config/i386/32/t-iamcu: Likewise.
6706         * configure: Regenerated.
6708 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
6710         libgcc/config/arm/
6711         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
6713 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
6715         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
6717 2015-05-27  John Marino  <gnugcc@marino.st>
6719         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
6720         md_unwind_header
6721         * config/i386/freebsd-unwind.h: New.
6723 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
6725         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
6726         i386/t-crtfm to tmake_file.
6727         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
6728         (set_fast_math): Use set_fast_math_sse for SSE targets.
6729         * config/i386/t-crtfm: Remove.
6731 2015-05-21  Alan Modra  <amodra@gmail.com>
6733         PR libgcc/66225
6734         * config/rs6000/morestack.S: Remove ".abiversion 1".
6736 2015-05-20  Alan Modra  <amodra@gmail.com>
6738         * config/rs6000/morestack.S: New.
6739         * config/rs6000/t-stack-rs6000: New.
6740         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
6741         to tmake_file.
6742         * generic-morestack.c: Don't build for powerpc 32-bit.
6744 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
6746         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
6747         Remove useless endif/ifneq ($(enable_shared),yes) pair.
6749 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
6751         * config.host: FT32 target added.
6752         * config/ft32/*: New files for FT32 target.
6754 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
6756         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
6757         New macros.
6758         * config/arm/ieee754-df.S: Add CFI directives.
6759         * config/arm/ieee754-sf.S: Add CFI directives.
6761 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
6763         * configure.ac: Include config/sjlj.m4.
6764         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
6765         * config.in: Regenerate.
6766         * configure: Likewise.
6767         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
6769 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
6771         * libgcov-util.c: Add space between string literal and macro name.
6773 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
6774             Chris Jones  <chrisj@nvidia.com>
6775             Joshua Conner  <jconner@nvidia.com>
6777         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
6778         (arm*-*-uclinux*): Likewise.
6779         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
6780         * config/arm/crtfastmath.c: New file.
6782 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
6784         * Makefile.in (real_host_noncanonical): New variable.
6785         (libsubdir): Use it.
6786         * configure.ac (real_host_noncanonical): Compute.  Remove special
6787         case for intelmicemul.
6788         * configure: Regenerate.
6790 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
6792         * config/frv/elf-lib.h: New file.
6793         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
6794         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
6795         to tm_file.
6797 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
6799         * config/frv/frvbengin.c: Do not include defaults.h
6800         * config/frv/frvend.c: Ditto.
6802 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
6804         * config.host: Add h8300-*-linux
6805         * config/h8300/t-linux: New file.
6806         * config/h8300/lib1funs.s: Change symbol prefix.
6807         * config/h8300/sfp-machine.h: 64bit double support.
6809 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
6810             Szabolcs Nagy  <szabolcs.nagy@arm.com>
6812         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
6813         Linux if target provides dl_iterate_phdr.
6815 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
6817         PR target/65612
6818         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
6819         * config/i386/cpuinfo.c (__cpu_model): Initialize.
6820         (__cpu_indicator_init@GCC_4.8.0): New.
6821         (__cpu_model@GCC_4.8.0): Likewise.
6822         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
6823         -DUSE_ELF_SYMVER.
6825 2015-04-16  Nick Clifton  <nickc@redhat.com>
6827         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
6828         and __modhi3 functions.
6829         * config/rl78/divmodso.S: Add G14 and G13 versions of the
6830         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
6832 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
6834         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
6835         do-while loop as macro body to avoid warnings.
6837 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
6838             Iain Sandoe  <iain@codesourcery.com>
6840         PR target/65351
6841         * configure: Regenerate.
6843 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
6844             Iain Sandoe  <iain@codesourcery.com>
6846         PR target/65351
6847         * configure: Regenerate.
6849 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
6851         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
6853 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
6855         Implement call0 ABI for xtensa
6856         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6857         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
6858         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
6859         use ret in call0 ABI.
6860         * config/xtensa/t-windowed: New file.
6861         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
6862         * libgcc/configure: Regenerated.
6863         * libgcc/configure.ac: Check if xtensa target is configured for
6864         windowed ABI and thus needs to use custom unwind code.
6866 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
6868         PR libgcc/64885
6869         * gthr-single.h: Use __unused__ attribute instead of unused.
6870         * config/gthr-vxworks.h: Likewise.
6871         * config/i386/gthr-win32.h: Likewise.
6873 2015-02-27  Kai Tietz  <ktietz@redhat.com>
6875         PR target/65038
6876         * config.in: Regenerated.
6877         * configure: Likewise.
6878         * configure.ac (AC_HEADER_STDC): Added explicit.
6879         (AC_CHECK_HEADERS): Check for default headers  plus
6880         for ftw.h header.
6881         * libgcov-util.c (gcov_read_profile_dir): Disable use
6882         of ftw-function, if header is not found.
6883         (ftw_read_file): Likewise.
6885 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
6887         PR target/65181
6888         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
6889         -Dinhibit_libc.
6891 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
6893         * config/arm/bpabi.S (test_div_by_zero): Make label names
6894         consistent between thumb2 and arm mode cases.  Separate the
6895         signed comparison on the high word of the numerator from the
6896         unsigned comparison on the low word.
6897         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
6898         signed comparison.
6900 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6902         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
6903         and <string.h>.
6904         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
6906 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
6908         PR gcov-profile/61889
6909         * libgcov-driver-system.c: undefine clashing macro for mkdir.
6911 2015-02-02  Nick Clifton  <nickc@redhat.com>
6913         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
6914         rounding up the fraction.
6916 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
6918         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
6919         oldval and newval to const void *.  Fix typo.
6920         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
6921         (FETCH_AND_OP_WORD): Likewise.
6922         (OP_AND_FETCH_WORD): Likewise.
6923         (COMPARE_AND_SWAP_2): Likewise.
6924         (__sync_val_compare_and_swap_4): Likewise.
6925         (__sync_lock_test_and_set_4): Likewise.
6926         (SYNC_LOCK_RELEASE_2): Likewise.
6927         Remove support for long long atomic operations.
6929 2015-01-27  Caroline Tice  <cmtice@google.com>
6931         Committing VTV Cywin/Ming patch for Patrick Wollgast
6932         * Makefile.in: Move rules to build vtv_*.o out of the check
6933         for CUSTOM_CRTSTUFF.
6934         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
6935         i[34567]86-*-mingw*)
6936         (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
6937         enable_vtable_verify.
6939 2015-01-27  Nick Clifton  <nickc@redhat.com>
6941         * config/rl78/cmpsi2.S: Use function start and end macros.
6942         (__gcc_bcmp): New function.
6943         * config/rl78/lshrsi3.S: Use function start and end macros.
6944         * config/rl78/mulsi3.S: Add support for G10.
6945         (__mulqi3): New function for G10.
6946         * config/rl78/signbit.S: Use function start and end macros.
6947         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
6948         fpmath-sf.S.
6949         (LIB2FUNCS_EXCLUDE): Define.
6950         (LIB2FUNCS_ST): Define.
6951         * config/rl78/trampoline.S: Use function start and end macros.
6952         * config/rl78/vregs.h (START_FUNC): New macro.
6953         (START_ANOTHER_FUNC): New macro.
6954         (END_FUNC): New macro.
6955         (END_ANOTHER_FUNC): New macro.
6956         * config/rl78/bit-count.S: New file.  Contains assembler
6957         implementations of the bit counting functions: ___clzhi2,
6958         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
6959         __paritysi2, __popcounthi2 and __popcountsi2.
6960         * config/rl78/fpbit-sf.S: New file.  Contains assembler
6961         implementationas of the math functions: __negsf2, __cmpsf2,
6962         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
6963         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
6964         * config/rl78/fpmath-sf.S: New file.  Contains assembler
6965         implementations of the math functions: __subsf3, __addsf3,
6966         __mulsf3 and __divsf3
6968 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6970         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
6971         Add i386/elf-lib.h to tm_file.
6972         * config/i386/elf-lib.h: Fix comment.
6973         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
6974         && __sun__ && __svr4__]: Remove workaround.
6976 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
6978         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
6979         FEATURE_BMI2.
6980         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
6982 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
6984         * config/i386/cpuinfo.c (processor_subtypes): Add
6985         INTEL_COREI7_BROADWELL.
6986         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
6987         model numbers.
6989 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
6991         * config/i386/elf-lib.h: New file.
6992         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
6993         Wrap definition in #ifdef __i386__.
6994         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6995         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
6996         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
6997         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
6998         to tm_file.
7000 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
7002         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
7003         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
7005 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
7007         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
7008         Update rt_sigframe format and address for current Nios II
7009         Linux conventions.
7011 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
7013         * config.host (arm*-*-freebsd*): Add new configuration for
7014         arm*-*-freebsd*.
7015         * config/arm/freebsd-atomic.c: New file.
7016         * config/arm/t-freebsd: Likewise.
7017         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
7018         'PC-relative indirect' OS's.
7020 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
7022         * config.host: Add Visium support.
7023         * config/visium: New directory.
7025 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
7027         Update copyright years.
7029 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
7031         * config.host: Support mipsisa32r6 and mipsisa64r6.
7032         * config/mips/mips16.S: Do not build for R6.
7034 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
7036         * config/sh/crt.h: New.
7037         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
7038         symbols.
7039         * config/sh/crt1.S: Likewise.
7041 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
7043         PR libgcc/63832
7044         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
7045         func_ptr *dtor_list temporary variable to avoid "array subscript
7046         is above array bounds" warnings.
7048 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
7050         * Makefile.in (with_aix_soname): Define.
7051         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
7052         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
7053         * configure: Recreate.
7055 2014-12-05  Olivier Hainque  <hainque@adacore.com>
7057         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
7058         now provided by defaults.h.
7060 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
7062         PR target/55351
7063         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
7064         whether it's defined.
7066 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
7068         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
7069         * config/i386/cpuinfo.c (get_available_features): Detect it.
7071 2014-11-27  Tony Wang  <tony.wang@arm.com>
7073         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
7074         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
7075         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
7077 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
7079         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
7081 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
7083         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
7084         instead.
7086 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
7087             John David Anglin  <danglin@gcc.gnu.org>
7089         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
7090         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
7091         (OP_AND_FETCH_2): Likewise.
7092         (COMPARE_AND_SWAP_2): Likewise.
7093         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
7094         (SYNC_LOCK_RELEASE_2): Likewise.
7095         (SUBWORD_SYNC_OP): Remove.
7096         (SUBWORD_VAL_CAS): Likewise.
7097         (SUBWORD_BOOL_CAS): Likewise.
7098         (FETCH_AND_OP_WORD): Update.
7099         Consistently use signed types.
7101 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
7102             Thomas Schwinge  <thomas@codesourcery.com>
7103             Ilya Verbin  <ilya.verbin@intel.com>
7104             Andrey Turetskiy  <andrey.turetskiy@intel.com>
7106         * Makefile.in (crtoffloadbegin$(objext)): New rule.
7107         (crtoffloadend$(objext)): Likewise.
7108         * configure: Regenerate.
7109         * configure.ac (accel_dir_suffix): Compute new variable.
7110         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
7111         if enable_offload_targets is not empty.
7112         * offloadstuff.c: New file.
7114 2014-11-13  Nick Clifton  <nickc@redhat.com>
7116         * config/rl78/divmodhi.S: Add support for the G10 architecture.
7117         Use START_FUNC and END_FUNC macros to enable linker garbage
7118         collection.
7119         * config/rl78/divmodqi.S: Likewise.
7120         * config/rl78/divmodsi.S: Likewise.
7121         * config/rl78/mulsi3.S: Likewise.
7122         * config/rl78/lib2div.c: Remove G10 functions.
7123         * config/rl78/lib2muls.c: Likewise.
7124         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
7125         * config/rl78/vregs.h (START_FUNC): New macro.
7126         (END_FUNC): New macro.
7128 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
7130         * config/mips/mips16.S: Set .module when supported.  Update O32
7131         FP64 calling convention and use for FPXX when possible.  Add FPXX
7132         calling convention fallback case.
7134 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
7136         * config.host: Handle nvptx-*-*.
7137         * shared-object.mk (as-flags-$o): Define.
7138         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
7139         -xassembler-with-cpp.
7140         * static-object.mk: Identical changes.
7141         * config/nvptx/t-nvptx: New file.
7142         * config/nvptx/crt0.s: New file.
7143         * config/nvptx/free.asm: New file.
7144         * config/nvptx/malloc.asm: New file.
7145         * config/nvptx/realloc.c: New file.
7147 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
7149         * Makefile.in (libgcc.map.in): New target.
7150         (libgcc.map): Use libgcc.map.in.
7151         * config/t-softfp (softfp_compat): New variable to be set by
7152         users.
7153         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
7154         variables.
7155         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
7156         directory.
7157         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
7158         that use compat symbols and disable all code unless [SHARED].
7159         * config/t-softfp-compat: New file.
7160         * find-symver.awk: New file.
7161         * configure.ac (--with-glibc-version): New configure option.
7162         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
7163         * configure: Regenerate.
7164         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
7165         soft-float and e500.
7167 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
7169         * config/t-hardfp (hardfp_exclusions): Document new variable for
7170         user to define.
7171         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
7172         * config/t-softfp (softfp_extras): Document new variable for user
7173         to define.
7174         (softfp_func_list): Add functions from $(softfp_extras).
7175         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
7176         * config.host (powerpc*-*-linux*): For e500v1, use
7177         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
7178         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
7179         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
7181 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
7183         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
7184         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
7185         memory read accesses are ok.
7187 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
7189         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
7190         * configure: Regenerate.
7191         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
7192         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
7193         of soft-fp for 32-bit classic hard float.  Do not use
7194         t-softfp-excl for soft float.
7196 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
7198         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
7199         configurations.
7200         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
7201         Remove variables.
7203 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
7205         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
7206         introduced with 2014-10-21 trunk r216525.
7208 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
7209             Vidya Praveen  <vidya.praveen@atmel.com>
7210             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
7211             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
7212             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
7214         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
7215         order.
7217         Updated library functions for AVRTINY arch.
7218         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
7219         Replaced occurrences of r0/r1 with tmp/zero reg macros.
7220         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
7221         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
7222         wsubi/wadi macors.
7223         (__mulsi3_helper): Update stack, preserve callee saved regs and
7224         argument from stack. Restore callee save registers.
7225         (__mulpsi3): Likewise.
7226         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
7227         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
7228         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
7229         AVRTINY.
7230         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
7231         (__do_copy_data): Added new definition for AVRTINY.
7232         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
7233         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
7234         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
7235         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
7236         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
7237         macors.
7238         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
7239         AVRTINY.
7241         Fix broken long multiplication on tiny arch.
7243 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
7245         * soft-fp/double.h: Update from glibc.
7246         * soft-fp/eqdf2.c: Likewise.
7247         * soft-fp/eqsf2.c: Likewise.
7248         * soft-fp/eqtf2.c: Likewise.
7249         * soft-fp/extenddftf2.c: Likewise.
7250         * soft-fp/extended.h: Likewise.
7251         * soft-fp/extendsfdf2.c: Likewise.
7252         * soft-fp/extendsftf2.c: Likewise.
7253         * soft-fp/extendxftf2.c: Likewise.
7254         * soft-fp/gedf2.c: Likewise.
7255         * soft-fp/gesf2.c: Likewise.
7256         * soft-fp/getf2.c: Likewise.
7257         * soft-fp/ledf2.c: Likewise.
7258         * soft-fp/lesf2.c: Likewise.
7259         * soft-fp/letf2.c: Likewise.
7260         * soft-fp/op-1.h: Likewise.
7261         * soft-fp/op-2.h: Likewise.
7262         * soft-fp/op-4.h: Likewise.
7263         * soft-fp/op-8.h: Likewise.
7264         * soft-fp/op-common.h: Likewise.
7265         * soft-fp/quad.h: Likewise.
7266         * soft-fp/single.h: Likewise.
7267         * soft-fp/soft-fp.h: Likewise.
7268         * soft-fp/unorddf2.c: Likewise.
7269         * soft-fp/unordsf2.c: Likewise.
7270         * soft-fp/unordtf2.c: Likewise.
7271         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
7272         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
7273         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
7274         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
7275         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
7276         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
7277         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
7278         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
7279         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
7280         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
7282 2014-10-08  Rong Xu  <xur@google.com>
7284         * libgcov-util.c (read_gcda_file): Fix format.
7285         (find_match_gcov_info): Ditto.
7286         (calculate_2_entries): New.
7287         (compute_one_gcov): Ditto.
7288         (gcov_info_count_all_cold): Ditto.
7289         (gcov_info_count_all_zero): Ditto.
7290         (extract_file_basename): Ditto.
7291         (get_file_basename): Ditto.
7292         (set_flag): Ditto.
7293         (matched_gcov_info): Ditto.
7294         (calculate_overlap): Ditto.
7295         (gcov_profile_overlap): Ditto.
7296         * libgcov-driver.c (compute_summary): Make
7297         it avavilable for external calls.
7299 2014-10-06  Rong Xu  <xur@google.com>
7301         * Makefile.in: Ditto.
7302         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
7303         (gcov_sort_icall_topn_counter): Ditto.
7304         (gcov_sort_topn_counter_arrays): Ditto.
7305         (dump_one_gcov): Sort indirect_call topn counters.
7306         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
7307         function.
7308         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
7309         utility function.
7310         (__gcov_indirect_call_topn_profiler): New profiler function.
7311         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
7312         * libgcov.h: New decls.
7314 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
7316         * config.host: Remove support for score-*.
7318 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
7320         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
7321         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
7322         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
7323         __LIBGCC_XF_MANT_DIG__.
7324         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
7325         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
7326         __LIBGCC_TF_MANT_DIG__.
7327         * libgcc2.c (NOTRUNC): Define in terms of
7328         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
7329         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
7331 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
7333         PR target/63312
7334         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
7335         New macros.
7337 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
7339         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
7340         override USE_PT_GNU_EH_FRAME.
7341         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
7342         check USE_EH_FRAME_REGISTRY_ALWAYS against
7343         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
7344         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
7345         variable for substituted force_explicit_eh_registry.
7346         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
7347         * configure.ac (explicit-exception-frame-registration):
7348         New AC_ARG_ENABLE.
7349         * configure: Regenerate.
7351 2014-09-19  Olivier Hainque  <hainque@adacore.com>
7353         * config.host (powerpc-wrs-vxworksmils): New configuration,
7354         same as vxworksae.
7356 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
7358         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
7360 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
7362         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
7363         bits not set bits as indicating trapping exceptions.
7365 2014-09-17  Nathan sidwell  <nathan@acm.org>
7367         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
7368         (LIBGCOV_DRIVER): ... here.
7369         * libgcov-driver.c (gcov_master): New.
7370         (gcov_exit): Remove from master chain.
7371         (__gcov_init): Add to master chain if version compatible.  Don't
7372         clear the version.
7373         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
7374         (gcov_reset_int): Clear master chain, if compatible.
7375         (gcov_dump_int): New internal interface.  Dump master chain, if
7376         compatible.
7377         (gcov_dump): Alias for gcov_dump_int.
7378         * libgcov.h (struct gcov_root): Add next and prev fields.
7379         (struct gcov_master): New struct.
7380         (__gcov_master): New.
7381         (gcov_dump_int): Declare.
7383 2014-09-17  Olivier Hainque  <hainque@adacore.com>
7385         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
7386         and crtbegin.o + crtend.o to extra_parts.
7388 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
7390         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
7391         __LIBGCC_HAS_SF_MODE__.
7392         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7393         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7394         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7395         * config/libbid/bid_gcc_intrinsics.h
7396         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7397         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7398         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7399         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7400         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
7401         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7403 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
7405         PR target/63223
7406         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
7407         and R24 as needed.  Make work for all devices and .text locations.
7408         (__do_global_ctors, __do_global_dtors): Use word addresses.
7409         (__tablejump__, __tablejump_elpm__): Remove functions.
7410         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
7411         Add _tablejump2.
7412         (XICALL, XIJMP): New macros.
7414 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7415         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
7417         * config.host (aarch64*): Include crtfastmath.o and
7418         t-crtfm.
7419         * config/aarch64/crtfastmath.c: New file.
7421 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
7423         * config.host: Remove picochip support.
7424         * config/picochip/adddi3.S: Remove.
7425         * config/picochip/ashlsi3.S: Remove.
7426         * config/picochip/ashlsi3.c: Remove.
7427         * config/picochip/ashrsi3.S: Remove.
7428         * config/picochip/ashrsi3.c: Remove.
7429         * config/picochip/clzsi2.S: Remove.
7430         * config/picochip/cmpsi2.S: Remove.
7431         * config/picochip/divmod15.S: Remove.
7432         * config/picochip/divmodhi4.S: Remove.
7433         * config/picochip/divmodsi4.S: Remove.
7434         * config/picochip/lib1funcs.S: Remove.
7435         * config/picochip/longjmp.S: Remove.
7436         * config/picochip/lshrsi3.S: Remove.
7437         * config/picochip/lshrsi3.c: Remove.
7438         * config/picochip/parityhi2.S: Remove.
7439         * config/picochip/popcounthi2.S: Remove.
7440         * config/picochip/setjmp.S: Remove.
7441         * config/picochip/subdi3.S: Remove.
7442         * config/picochip/t-picochip: Remove.
7443         * config/picochip/ucmpsi2.S: Remove.
7444         * config/picochip/udivmodhi4.S: Remove.
7445         * config/picochip/udivmodsi4.S: Remove.
7447 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
7449         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
7450         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
7451         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
7452         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
7453         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
7454         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
7455         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
7456         defined and LIBGCC2_HAS_DF_MODE is defined.
7457         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
7458         defined and LIBGCC2_HAS_XF_MODE is defined.
7459         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
7460         defined and LIBGCC2_HAS_TF_MODE is defined.
7462 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
7464         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
7465         and ROUND_TOWARDS_ZERO conditionals.
7467 2014-09-07  Nathan sidwell  <nathan@acm.org>
7469         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
7470         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
7472 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
7474         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
7475         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7476         uses to __LIBGCC_STACK_POINTER_REGNUM__.
7477         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7478         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7479         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7480         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7481         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
7482         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
7483         (DWARF_FRAME_REGISTERS): Change all uses to
7484         __LIBGCC_DWARF_FRAME_REGISTERS__.
7485         (EH_RETURN_STACKADJ_RTX): Change all uses to
7486         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7487         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
7488         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
7489         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
7490         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
7491         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
7492         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
7493         to __LIBGCC_EH_FRAME_SECTION_NAME__.
7494         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
7495         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
7496         __LIBGCC_STACK_POINTER_REGNUM__.
7497         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7498         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7499         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7500         to __LIBGCC_STACK_POINTER_REGNUM__.
7501         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7502         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7503         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7504         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7505         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7506         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7507         (STACK_POINTER_REGNUM): Change all uses to
7508         __LIBGCC_STACK_POINTER_REGNUM__.
7509         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
7510         use to __LIBGCC_STACK_POINTER_REGNUM__.
7511         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7512         uses to __LIBGCC_STACK_POINTER_REGNUM__.
7513         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
7514         to __LIBGCC_DWARF_FRAME_REGISTERS__.
7515         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
7516         to __LIBGCC_DWARF_FRAME_REGISTERS__.
7517         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7518         to __LIBGCC_STACK_POINTER_REGNUM__.
7519         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
7520         Remove conditional definition.
7521         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
7522         __LIBGCC_TEXT_SECTION_ASM_OP__.
7523         (EH_FRAME_SECTION_NAME): Change all uses to
7524         __LIBGCC_EH_FRAME_SECTION_NAME__.
7525         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
7526         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
7527         (CTORS_SECTION_ASM_OP): Change all uses to
7528         __LIBGCC_CTORS_SECTION_ASM_OP__.
7529         (DTORS_SECTION_ASM_OP): Change all uses to
7530         __LIBGCC_DTORS_SECTION_ASM_OP__.
7531         (JCR_SECTION_NAME): Change all uses to
7532         __LIBGCC_JCR_SECTION_NAME__.
7533         (INIT_SECTION_ASM_OP): Change all uses to
7534         __LIBGCC_INIT_SECTION_ASM_OP__.
7535         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7536         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7537         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
7538         __LIBGCC_STACK_GROWS_DOWNWARD__.
7539         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
7540         __LIBGCC_INIT_SECTION_ASM_OP__.
7541         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7542         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7543         (EH_FRAME_SECTION_NAME): Change all uses to
7544         __LIBGCC_EH_FRAME_SECTION_NAME__.
7545         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
7546         definitions.  Change all uses to
7547         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
7548         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
7549         __LIBGCC_STACK_GROWS_DOWNWARD__.
7550         (DWARF_FRAME_REGISTERS): Change all uses to
7551         __LIBGCC_DWARF_FRAME_REGISTERS__.
7552         (EH_RETURN_STACKADJ_RTX): Change all uses to
7553         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7554         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
7555         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
7556         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
7557         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
7558         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
7560 2014-09-02  Nathan sidwell  <nathan@acm.org>
7562         * libgcov-interface.c (STRONG_ALIAS): New.
7563         (__gcov_flush): Call __gcov_reset_int.
7564         (__gcov_reset): Strong alias for ...
7565         (__gcov_reset_ing): ... this renamed hidden version.
7566         * libgcov.h (__gcov_reset_int): New declaration.
7568 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
7570         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
7571         call from here...
7572         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
7573         (__dso_handle): Define on Cygwin.
7574         * config/i386/t-cygming (crtbeginS.o): New rule.
7575         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
7577         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
7578         declaration syntax.
7580 2014-08-13  Steve Ellcey  <sellcey@mips.com>
7582         * crtstuff.c: Undef caddr_t.
7584 2014-08-12  Steve Ellcey  <sellcey@mips.com>
7586         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
7588 2014-08-07  Nathan Sidwell  <nathan@acm.org>
7590         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
7591         (LIBGCOV_DRIVER): ... to here.
7592         * libgcov.h (gcov_do_dump): New #define.
7593         (struct gcov_root): New.
7594         (__gcov_root): New declaration.
7595         (__gcov_dump_one): Declare.
7596         * libgcov-driver.c (gcov_list, gcov_dump_complete,
7597         run_accounted): Delete.
7598         (gcov_compute_histogram): Add LIST argument, adjust.
7599         (compute_summary): Adjust gcov_compute_histogram call.
7600         (gcov_do_dump): Not hidden, static in libgcov.
7601         (gcov_clear): Move  to interface.c.
7602         (__gcov_dump_one): New, broken out of ...
7603         (gcov_exit): ... here.  Make static.
7604         (__gcov_root): New.
7605         (__gcov_init): Adjust.
7606         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
7607         declarations.
7608         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
7609         (gcov_clear): Moved from driver.c.   Add LIST argument.
7610         (__gcov_reset): Adjust for changed interfaces.
7611         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
7613 2014-08-04  Rohit  <rohitarulraj@freescale.com>
7615         PR target/60102
7616         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
7617         based on change in SPE high register numbers and 3 HTM registers.
7619 2014-08-01  Nathan Sidwell  <nathan@acm.org>
7621         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
7622         LIBGCOV_INTERFACE): Reformat.
7623         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
7624         IN_GCOV_TOOL.
7625         * libgcov-interface.c: Reformat some comments.
7626         (__gcov_flush_mx): Add declaration.  Tidy up definition.
7628 2014-07-31  Alan Modra  <amodra@gmail.com>
7629             Peter Bergner  <bergner@vnet.ibm.com>
7631         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
7632         (pack_ldouble): New function.
7633         (__gcc_qadd): Use it.
7634         (__gcc_qmul): Likewise.
7635         (__gcc_qdiv): Likewise.
7636         (__gcc_qneg): Likewise.
7637         (__gcc_stoq): Likewise.
7638         (__gcc_dtoq): Likewise.
7640 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
7642         * config/s390/tpf-unwind.h: Include <stdbool.h>.
7643         (__tpf_eh_return): Add original return address as second parameter.
7644         Handle cases where unwinder routines were called directly, instead
7645         of from within the C++ library.
7647 2014-07-29  Nathan Sidwell  <nathan@acm.org>
7649         * libgcov.h: Move renaming of entry points to lib gcov specific
7650         portion.
7651         (gcov_do_dump): New rename.
7652         (gcov_rewrite): Remove inline, make HIDDEN.
7653         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
7654         (gcov_exit_compute_summary): Rename to ...
7655         (compute_summary): ... here.  Add LIST argument.
7656         (gcov_exit_merge_gcda): Rename to ...
7657         (merge_one_data): ... here.
7658         (gcov_exit_write_gcda): Rename to ...
7659         (write_one_data): ... here.
7660         (gcov_exit_merge_summary): Rename to ...
7661         (merge_summary): Add RUN_COUNTED argument.
7662         (gcov_exit_dump_gcov): Rename to ...
7663         (dump_one_gcov): Add RUN_COUNTED argument.
7664         (gcov_do_dump): New function, broken out of ...
7665         (gcov_exit): ... here.  Call it.
7667 2014-07-27  Anthony Green  <green@moxielogic.com>
7669         * config.host: Add moxiebox configuration suppport.
7671 2014-07-27  Nathan Sidwell  <nathan@acm.org>
7673         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
7674         (struct gcov_filename): ... here.  Include buffer and max length
7675         fields.
7676         (gcov_max_filename): Remove.
7677         (gi_filename): Remove.
7678         (gcov_exit_compute_summary): Compute max filename here.
7679         (gcov_exit_merge_gcda): Add filename parm, adjust.
7680         (gcov_exit_merge_summary): Likewise.
7681         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
7682         (gcov_exit): Likewise.
7683         (__gcov_init): Don't calculate max length here.
7684         * libgcov_util.c (max_filename_len): Remove.
7685         (read_gcda_file): Don't calculate max length here.
7686         (gcov_read_profile_dir): Don't propagate here.
7687         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
7688         struct gcov_filename changes.
7689         (gcov_exit_open_gcda_file): Likewise.
7691 2014-07-25  Nathan Sidwell  <nathan@acm.org>
7693         * libgcov-driver.c (set_gcov_dump_complete,
7694         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
7695         functions polluting user's namespace.
7696         (gcov_exit): Set variable directly.
7697         (gcov_clear): Reset variable directly.
7698         * libgcov-interface.c (get_gcov_dymp_complete,
7699         reset_gov_dump_complete): Remove declarations.
7700         (__gcov_reset, __gcov_dump): Don't call them.
7702 2014-07-24  DJ Delorie  <dj@redhat.com>
7704         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
7705         (__gcc_deregister_frame): Move logic to detect deregister function
7706         to ...
7707         (__gcc_register_frame): here, so it's consistent with the register
7708         logic.
7710 2014-07-23  Nathan Sidwell  <nathan@acm.org>
7712         * libgcov-driver.c (set_gcov_list): Remove.
7713         (gcov_list): Make non-static in GCOV_TOOL.
7714         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
7716 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
7718         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
7719         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
7720         Don't use SYNC_LOCK_RELEASE for int type.
7722 2014-07-14  Richard Biener  <rguenther@suse.de>
7724         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
7726 2014-07-11  Rong Xu  <xur@google.com>
7728         * libgcov-util.c (gcov_max_filename): Fix declartion.
7730 2014-07-10  Rong Xu  <xur@google.com>
7732         Add gcov-tool: an offline gcda profile processing tool
7733         Support.
7734         * libgcov-driver.c (gcov_max_filename): Make available
7735         to gcov-tool.
7736         * libgcov-merge.c (__gcov_merge_add): Replace
7737         gcov_read_counter() with a Macro.
7738         (__gcov_merge_ior): Ditto.
7739         (__gcov_merge_time_profile): Ditto.
7740         (__gcov_merge_single): Ditto.
7741         (__gcov_merge_delta): Ditto.
7742         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
7743         in the utility functions.
7744         (set_fn_ctrs): Utility function for reading gcda files to in-memory
7745         gcov_list object link lists.
7746         (tag_function): Ditto.
7747         (tag_blocks): Ditto.
7748         (tag_arcs): Ditto.
7749         (tag_lines): Ditto.
7750         (tag_counters): Ditto.
7751         (tag_summary): Ditto.
7752         (read_gcda_finalize): Ditto.
7753         (read_gcda_file): Ditto.
7754         (ftw_read_file): Ditto.
7755         (read_profile_dir_init): Ditto.
7756         (gcov_read_profile_dir): Ditto.
7757         (gcov_read_counter_mem): Ditto.
7758         (gcov_get_merge_weight): Ditto.
7759         (merge_wrapper): A wrapper function that calls merging handler.
7760         (gcov_merge): Merge two gcov_info objects with weights.
7761         (find_match_gcov_info): Find the matched gcov_info in the list.
7762         (gcov_profile_merge): Merge two gcov_info object lists.
7763         (__gcov_add_counter_op): Process edge profile counter values.
7764         (__gcov_ior_counter_op): Process IOR profile counter values.
7765         (__gcov_delta_counter_op): Process delta profile counter values.
7766         (__gcov_single_counter_op): Process single  profile counter values.
7767         (fp_scale): Callback function for float-point scaling.
7768         (int_scale): Callback function for integer fraction scaling.
7769         (gcov_profile_scale): Scaling profile counters.
7770         (gcov_profile_normalize): Normalize profile counters.
7771         * libgcov.h: Add headers and functions for gcov-tool use.
7772         (gcov_get_counter): New.
7773         (gcov_get_counter_target): Ditto.
7774         (struct gcov_info): Make the functions field mutable in gcov-tool
7775         compilation.
7777 2014-06-23  Kai Tietz  <ktietz@redhat.com>
7779         PR libgcc/61585
7780         * unwind-seh.c (_Unwind_GetGR): Check for proper
7781         index range.
7782         (_Unwind_SetGR): Likewise.
7784 2014-05-22  Nick Clifton  <nickc@redhat.com>
7786         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
7787         -mhwmult=none.
7789 2014-05-22  Teresa Johnson  <tejohnson@google.com>
7791         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
7792         include.
7794 2014-05-20  John Marino  <gnugcc@marino.st>
7796         * config.host (*-*-dragonfly*): New target.
7797         * crtstuff.c: Make dl_iterate_support generic on *bsd.
7798         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
7799         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
7800         * config/i386/dragonfly-unwind.h: New.
7802 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
7804         PR libgcc/60166
7805         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
7806         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
7808 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
7810         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
7811         implementation.
7813 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
7815         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
7817 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7819         PR libgcc/61097
7820         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
7821         if --enable-shared.
7823 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
7825         Work around for current cygwin32 build problems.
7826         * config/i386/cygming-crtbegin.c (__register_frame_info,
7827         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
7828         functions only for 64-bit systems.
7830 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7832         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
7833         (sigill_caught, sigill_hdlr): Remove.
7835 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7837         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
7838         check.
7839         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7840         Solaris 9 single-threaded support.
7841         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7842         Solaris 9 single-threaded support.  Add call_user_handler code
7843         sequences.
7844         (sparc_is_sighandler): Likewise.
7846 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7848         * config.host: Append t-floattodi to tmake_file depending on
7849         host_address.
7851 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
7853         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
7855 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
7857         PR libgcc/60472
7858         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
7859         variable to avoid "array subscript is above array bounds" warnings.
7860         Use __builtin_expect when checking *jcr_list for NULL.
7862 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7864         PR libgcc/59339
7865         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
7866         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
7867         vtv_*.o to extra_parts if enable_vtable_verify.
7869 2014-03-06  Nick Clifton  <nickc@redhat.com>
7871         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
7872         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
7874 2014-02-28  Joey Ye  <joey.ye@arm.com>
7876         PR libgcc/60166
7877         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
7878         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
7879         Set to zero.
7881 2014-02-24  Walter Lee  <walt@tilera.com>
7883         * config.host: Support "tilegx*" and "tilepro*" triplets.
7884         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
7885         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
7887 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
7888             Chung-Lin Tang  <cltang@codesourcery.com>
7890         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
7891         * config/nios2/crti.S: Remove .file directive.
7892         * config/nios2/crtn.S: Likewise.
7894 2014-02-18  Kai Tietz  <ktietz@redhat.com>
7895         Jonathan Schleifer  <js@webkeks.org>
7897         PR objc/56870
7898         * unwind-seh.c (_GCC_specific_handler): Pass proper
7899         value to unwind-handler.
7901 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
7903         * soft-fp/adddf3.c: Update from glibc.
7904         * soft-fp/addsf3.c: Likewise.
7905         * soft-fp/addtf3.c: Likewise.
7906         * soft-fp/divdf3.c: Likewise.
7907         * soft-fp/divsf3.c: Likewise.
7908         * soft-fp/divtf3.c: Likewise.
7909         * soft-fp/double.h: Likewise.
7910         * soft-fp/eqdf2.c: Likewise.
7911         * soft-fp/eqsf2.c: Likewise.
7912         * soft-fp/eqtf2.c: Likewise.
7913         * soft-fp/extenddftf2.c: Likewise.
7914         * soft-fp/extended.h: Likewise.
7915         * soft-fp/extendsfdf2.c: Likewise.
7916         * soft-fp/extendsftf2.c: Likewise.
7917         * soft-fp/extendxftf2.c: Likewise.
7918         * soft-fp/fixdfdi.c: Likewise.
7919         * soft-fp/fixdfsi.c: Likewise.
7920         * soft-fp/fixdfti.c: Likewise.
7921         * soft-fp/fixsfdi.c: Likewise.
7922         * soft-fp/fixsfsi.c: Likewise.
7923         * soft-fp/fixsfti.c: Likewise.
7924         * soft-fp/fixtfdi.c: Likewise.
7925         * soft-fp/fixtfsi.c: Likewise.
7926         * soft-fp/fixtfti.c: Likewise.
7927         * soft-fp/fixunsdfdi.c: Likewise.
7928         * soft-fp/fixunsdfsi.c: Likewise.
7929         * soft-fp/fixunsdfti.c: Likewise.
7930         * soft-fp/fixunssfdi.c: Likewise.
7931         * soft-fp/fixunssfsi.c: Likewise.
7932         * soft-fp/fixunssfti.c: Likewise.
7933         * soft-fp/fixunstfdi.c: Likewise.
7934         * soft-fp/fixunstfsi.c: Likewise.
7935         * soft-fp/fixunstfti.c: Likewise.
7936         * soft-fp/floatdidf.c: Likewise.
7937         * soft-fp/floatdisf.c: Likewise.
7938         * soft-fp/floatditf.c: Likewise.
7939         * soft-fp/floatsidf.c: Likewise.
7940         * soft-fp/floatsisf.c: Likewise.
7941         * soft-fp/floatsitf.c: Likewise.
7942         * soft-fp/floattidf.c: Likewise.
7943         * soft-fp/floattisf.c: Likewise.
7944         * soft-fp/floattitf.c: Likewise.
7945         * soft-fp/floatundidf.c: Likewise.
7946         * soft-fp/floatundisf.c: Likewise.
7947         * soft-fp/floatunditf.c: Likewise.
7948         * soft-fp/floatunsidf.c: Likewise.
7949         * soft-fp/floatunsisf.c: Likewise.
7950         * soft-fp/floatunsitf.c: Likewise.
7951         * soft-fp/floatuntidf.c: Likewise.
7952         * soft-fp/floatuntisf.c: Likewise.
7953         * soft-fp/floatuntitf.c: Likewise.
7954         * soft-fp/gedf2.c: Likewise.
7955         * soft-fp/gesf2.c: Likewise.
7956         * soft-fp/getf2.c: Likewise.
7957         * soft-fp/ledf2.c: Likewise.
7958         * soft-fp/lesf2.c: Likewise.
7959         * soft-fp/letf2.c: Likewise.
7960         * soft-fp/muldf3.c: Likewise.
7961         * soft-fp/mulsf3.c: Likewise.
7962         * soft-fp/multf3.c: Likewise.
7963         * soft-fp/negdf2.c: Likewise.
7964         * soft-fp/negsf2.c: Likewise.
7965         * soft-fp/negtf2.c: Likewise.
7966         * soft-fp/op-1.h: Likewise.
7967         * soft-fp/op-2.h: Likewise.
7968         * soft-fp/op-4.h: Likewise.
7969         * soft-fp/op-8.h: Likewise.
7970         * soft-fp/op-common.h: Likewise.
7971         * soft-fp/quad.h: Likewise.
7972         * soft-fp/single.h: Likewise.
7973         * soft-fp/soft-fp.h: Likewise.
7974         * soft-fp/subdf3.c: Likewise.
7975         * soft-fp/subsf3.c: Likewise.
7976         * soft-fp/subtf3.c: Likewise.
7977         * soft-fp/truncdfsf2.c: Likewise.
7978         * soft-fp/trunctfdf2.c: Likewise.
7979         * soft-fp/trunctfsf2.c: Likewise.
7980         * soft-fp/trunctfxf2.c: Likewise.
7981         * soft-fp/unorddf2.c: Likewise.
7982         * soft-fp/unordsf2.c: Likewise.
7983         * soft-fp/unordtf2.c: Likewise.
7984         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
7985         macro.
7986         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7987         Likewise.
7988         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7989         Likewise.
7990         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7991         Likewise.
7992         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7993         Likewise.
7994         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7995         Likewise.
7996         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7997         Likewise.
7998         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7999         Likewise.
8000         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8001         Likewise.
8002         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8003         Likewise.
8004         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8005         Likewise.
8006         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8007         Likewise.
8008         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8009         Likewise.
8010         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
8011         Likewise.
8012         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
8013         Likewise.
8014         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8015         Likewise.
8017 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8019         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
8020         cannot be represented.
8021         * config/s390/32/_fixsfdi.c: Likewise.
8022         * config/s390/32/_fixtfdi.c: Likewise.
8023         * config/s390/32/_fixunsdfdi.c: Likewise.
8024         * config/s390/32/_fixunssfdi.c: Likewise.
8025         * config/s390/32/_fixunstfdi.c: Likewise.
8027 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
8029         * configure.ac (libgcc_cv_mips_hard_float): New.
8030         * configure: Regenerate.
8031         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
8032         t-softfp-sfdf for hard-float targets.
8033         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
8034         (softfp_float_modes, softfp_int_modes, softfp_extensions)
8035         (softfp_truncations, softfp_exclude_libgcc2): New.
8036         * config/t-hardfp: New file.
8037         * config/t-hardfp-sfdf: Likewise.
8038         * config/hardfp.c: Likewise.
8040 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8042         * config.host: Include t-floattodi also for s390x.
8043         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
8044         * config/s390/32/_fixsfdi.c: Likewise.
8045         * config/s390/32/_fixtfdi.c: Likewise.
8046         * config/s390/32/_fixunsdfdi.c: Likewise.
8047         * config/s390/32/_fixunssfdi.c: Likewise.
8048         * config/s390/32/_fixunstfdi.c: Likewise.
8050 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8052         PR target/59788
8053         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
8054         (install-libgcc-unwind-map-forbuild): New target.
8055         (all): Depend on install-libgcc-unwind-map-forbuild.
8056         (install-libgcc-unwind-map): New target.
8057         (install): Depend on install-libgcc-unwind-map.
8059 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
8061         * config/nios2/crti.S (_init): Initialize GOT pointer from
8062         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
8064 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
8066         * configure.ac: Check __mips64 when setting host_address.
8067         * configure: Regenerate.
8068         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
8069         mips/t-mips64 and t-softfp.
8070         (mips*-*-linux*): Don't add mips/t-tpbit.
8071         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
8072         (DPBIT, DPBIT_CFLAGS): Delete.
8073         * config/mips/sfp-machine.h: New file.
8074         * config/mips/t-mips64: Likewise.
8075         * config/mips/t-softfp-tf: Likewise.
8076         * config/mips/t-tpbit: Delete.
8078 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8080         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
8081         as long long.
8083 2014-01-25  Walter Lee  <walt@tilera.com>
8085         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
8086         config.h or system.h.
8087         (bool) Define.
8089 2014-01-25  Walter Lee  <walt@tilera.com>
8091         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
8092         (post_atomic_barrier): Ditto.
8093         (__fetch_and_do): New macro.
8094         (__atomic_fetch_and_do): Use __fetch_and_do.
8095         (__sync_fetch_and_do): New macro.
8096         (__sync_fetch_and_add_4): New function.
8097         (__sync_fetch_and_sub_4): New function.
8098         (__sync_fetch_and_or_4): New function.
8099         (__sync_fetch_and_and_4): New function.
8100         (__sync_fetch_and_xor_4): New function.
8101         (__sync_fetch_and_nand_4): New function.
8102         (__sync_fetch_and_add_8): New function.
8103         (__sync_fetch_and_sub_8): New function.
8104         (__sync_fetch_and_or_8): New function.
8105         (__sync_fetch_and_and_8): New function.
8106         (__sync_fetch_and_xor_8): New function.
8107         (__sync_fetch_and_nand_8): New function.
8108         (__do_and_fetch): New macro.
8109         (__atomic_do_and_fetch): Use __do_and_fetch.
8110         (__sync_do_and_fetch): New macro.
8111         (__sync_add_and_fetch_4): New function.
8112         (__sync_sub_and_fetch_4): New function.
8113         (__sync_or_and_fetch_4): New function.
8114         (__sync_and_and_fetch_4): New function.
8115         (__sync_xor_and_fetch_4): New function.
8116         (__sync_nand_and_fetch_4): New function.
8117         (__sync_add_and_fetch_8): New function.
8118         (__sync_sub_and_fetch_8): New function.
8119         (__sync_or_and_fetch_8): New function.
8120         (__sync_and_and_fetch_8): New function.
8121         (__sync_xor_and_fetch_8): New function.
8122         (__sync_nand_and_fetch_8): New function.
8123         (__sync_exchange_methods): New macro.
8124         (__sync_val_compare_and_swap_4): New function.
8125         (__sync_bool_compare_and_swap_4): New function.
8126         (__sync_lock_test_and_test_4): New function.
8127         (__sync_val_compare_and_swap_8): New function.
8128         (__sync_bool_compare_and_swap_8): New function.
8129         (__sync_lock_test_and_test_8): New function.
8130         (__subword_cmpxchg_body): New macro.
8131         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
8132         (__atomic_compare_exchange_2): Ditto.
8133         (__sync_subword_cmpxchg): New macro.
8134         (__sync_val_compare_and_swap_1): New function.
8135         (__sync_bool_compare_and_swap_1): New function.
8136         (__sync_val_compare_and_swap_2): New function.
8137         (__sync_bool_compare_and_swap_2): New function.
8138         (__atomic_subword): Rename to ...
8139         (__subword): ... New name.
8140         (__atomic_subword_fetch): Use __subword.
8141         (__sync_subword_fetch): New macro.
8142         (__sync_fetch_and_add_1): New function.
8143         (__sync_fetch_and_sub_1): New function.
8144         (__sync_fetch_and_or_1): New function.
8145         (__sync_fetch_and_and_1): New function.
8146         (__sync_fetch_and_xor_1): New function.
8147         (__sync_fetch_and_nand_1): New function.
8148         (__sync_fetch_and_add_2): New function.
8149         (__sync_fetch_and_sub_2): New function.
8150         (__sync_fetch_and_or_2): New function.
8151         (__sync_fetch_and_and_2): New function.
8152         (__sync_fetch_and_xor_2): New function.
8153         (__sync_fetch_and_nand_2): New function.
8154         (__sync_add_and_fetch_1): New function.
8155         (__sync_sub_and_fetch_1): New function.
8156         (__sync_or_and_fetch_1): New function.
8157         (__sync_and_and_fetch_1): New function.
8158         (__sync_xor_and_fetch_1): New function.
8159         (__sync_nand_and_fetch_1): New function.
8160         (__sync_add_and_fetch_2): New function.
8161         (__sync_sub_and_fetch_2): New function.
8162         (__sync_or_and_fetch_2): New function.
8163         (__sync_and_and_fetch_2): New function.
8164         (__sync_xor_and_fetch_2): New function.
8165         (__sync_nand_and_fetch_2): New function.
8166         (__atomic_subword_lock): Use __subword.
8167         (__sync_subword_lock): New macro.
8168         (__sync_lock_test_and_set_1): New function.
8169         (__sync_lock_test_and_set_2): New function.
8171 2014-01-25  Walter Lee  <walt@tilera.com>
8173         * config/tilepro/atomic.c (BIT_OFFSET): Define.
8174         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
8175         (__atomic_subword): Ditto.
8177 2014-01-25  Walter Lee  <walt@tilera.com>
8179         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
8180         a prefix op argument.
8181         (__atomic_nand_fetch_4): Add prefix op.
8182         (__atomic_nand_fetch_8): Ditto.
8184 2014-01-21  Baruch Siach  <barch@tkos.co.il>
8186         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
8188 2014-01-09  Rong Xu  <xur@google.com>
8190         * libgcov-driver.c (this_prg): make it local to save
8191         bss space.
8192         (gcov_exit_compute_summary): Ditto.
8193         (gcov_exit_merge_gcda): Ditto.
8194         (gcov_exit_merge_summary): Ditto.
8195         (gcov_exit_dump_gcov): Ditto.
8197 2014-01-08  Rong Xu  <xur@google.com>
8199         * libgcov-driver.c: Use libgcov.h.
8200         (buffer_fn_data): Use xmalloc instead of malloc.
8201         (gcov_exit_merge_gcda): Ditto.
8202         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
8203         * libgcov.h: New common header files for libgcov-*.h.
8204         * libgcov-interface.c: Use libgcov.h
8205         * libgcov-merge.c: Ditto.
8206         * libgcov-profiler.c: Ditto.
8207         * Makefile.in: Add dependence to libgcov.h
8209 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
8211         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
8212         case of small numerator and finite nonzero result.
8214 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
8216         Update copyright years
8218 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
8220         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
8221         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
8222         config/arc/dp-hack.h, config/arc/fp-hack.h,
8223         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
8224         config/arc/ieee-754/arc600-dsp/divdf3.S,
8225         config/arc/ieee-754/arc600-dsp/divsf3.S,
8226         config/arc/ieee-754/arc600-dsp/muldf3.S,
8227         config/arc/ieee-754/arc600-dsp/mulsf3.S,
8228         config/arc/ieee-754/arc600-mul64/divdf3.S,
8229         config/arc/ieee-754/arc600-mul64/divsf3.S,
8230         config/arc/ieee-754/arc600-mul64/muldf3.S,
8231         config/arc/ieee-754/arc600-mul64/mulsf3.S,
8232         config/arc/ieee-754/arc600/divsf3.S,
8233         config/arc/ieee-754/arc600/mulsf3.S,
8234         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
8235         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
8236         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
8237         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
8238         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
8239         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
8240         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
8241         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
8242         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
8243         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
8244         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
8245         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
8246         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
8247         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
8248         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
8249         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
8250         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
8251         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
8252         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
8253         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
8254         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
8255         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
8256         vtv_start_preinit.c: Use the standard form for the copyright notice.
8258 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
8259             Chung-Lin Tang  <cltang@codesourcery.com>
8260         Based on patches from Altera Corporation
8262         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
8263         * config/nios2/lib2-nios2.h: New file.
8264         * config/nios2/lib2-divmod-hi.c: New file.
8265         * config/nios2/linux-unwind.h: New file.
8266         * config/nios2/lib2-divmod.c: New file.
8267         * config/nios2/linux-atomic.c: New file.
8268         * config/nios2/t-nios2: New file.
8269         * config/nios2/crti.asm: New file.
8270         * config/nios2/t-linux: New file.
8271         * config/nios2/lib2-divtable.c: New file.
8272         * config/nios2/lib2-mul.c: New file.
8273         * config/nios2/tramp.c: New file.
8274         * config/nios2/crtn.asm: New file.
8276 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
8278         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
8279         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
8280         from cpuid.h to check vendor signatures.
8282 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
8284         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
8285         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
8286         (get_amd_cpu): Likewise.
8288 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
8290         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
8291         Haswell.
8293 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
8294             H.J. Lu  <hongjiu.lu@intel.com>
8296         PR target/59422
8297         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
8298         and AMD_JAGUAR.
8299         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
8300         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
8301         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
8302         FEATURE_XOP and FEATURE_FMA.
8303         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
8304         AMDFAM15H_BDVER3.
8305         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
8306         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
8307         FEATURE_FMA4 and FEATURE_XOP.
8309 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
8311         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
8312         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
8313         (get_intel_cpu): Updated.
8315 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
8317         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
8319 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
8321         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8322         instructions when __SSE_MATH__ is defined.
8324 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
8326         * config.host (microblaze-*-rtems*): New.
8328 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
8330         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
8331         architectures that do not have hardware divide instruction.
8332         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
8334 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
8336         * longlong.h: Delete (moved to include/).
8338 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8340         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
8341         of normal number and qNaN to not raise an inexact exception.
8343 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
8345         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
8347 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
8349         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
8350         for correct opcodes on BE.
8352 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
8354         * soft-fp/op-4.h: Update from glibc.
8356 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
8358         * libgcc2.c (__udivmoddi4): Define new implementation when
8359         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
8360         divide instructions.
8362 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
8364         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
8366 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8368         * config/t-softfp (soft-fp-objects-base): New variable.
8369         (soft-fp-objects): Use it.
8371 2013-11-23  David Edelson  <dje.gcc@gmail.com>
8372             Andrew Dixie  <andrewd@gentrack.com>
8374         PR target/33704
8375         * config/rs6000/aixinitfini.c: New file.
8376         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
8377         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
8378         symbols.
8380 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
8382         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
8384 2013-11-18  Jan Hubicka  <jh@suse.cz>
8386         * libgcov-driver.c (run_accounted): Make global level static.
8387         (gcov_exit_merge_summary): Silence warning; do not clear
8388         run_accounted here.
8389         (gcov_exit): Clear it here.
8391         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
8392         run_accounted.
8394         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
8395         (all_prg, crc32): Remove static vars.
8396         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
8397         all_prg.
8398         (gcov_exit_merge_gcda): Add crc32 parameter.
8399         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
8400         do not account run if it was already accounted.
8401         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
8402         (gcov_exit): Initialize all_prg; update.
8404 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
8406         * configure: Regenerate.
8408 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8409             Alan Modra  <amodra@gmail.com>
8411         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
8412         (frob_update_context): Use it.
8414 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8415             Alan Modra  <amodra@gmail.com>
8417         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
8418         (trampoline_initial): Provide ELFv2 variant.
8419         (__trampoline_setup): Likewise.
8421         * config/rs6000/linux-unwind.h (frob_update_context): Do not
8422         check for AIX indirect function call sequence if _CALL_ELF == 2.
8424 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8425             Alan Modra  <amodra@gmail.com>
8427         * config/rs6000/linux-unwind.h (get_regs): Do not support
8428         old kernel versions if _CALL_ELF == 2.
8429         (frob_update_context): Do not support PLT stub variants only
8430         generated by old linkers if _CALL_ELF == 2.
8432 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8433             Alan Modra  <amodra@gmail.com>
8435         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
8436         location of CR save area for 64-bit little-endian systems.
8438 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
8440         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
8441         in tmake_file.
8442         * config/arm/t-vxworks: Delete.
8444 2013-11-10  Kai Tietz  <ktietz@redhat.com>
8446         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
8447         Increment load-count on use of LIBGCC_SONAME DLL.
8448         (hmod_libgcc): New static variable to hold handle of
8449         LIBGCC_SONAME DLL.
8450         (__gcc_deregister_frame): Decrement load-count of
8451         LIBGCC_SONAME DLL.
8453 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
8455         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
8456         availability.
8457         * configure: Regenerate
8459 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
8461         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
8462         FP_EX_DENORM.  Store result to volatile location after SSE division
8463         to close interrupt window.  Remove unneeded fwait after x87
8464         division since interrupt window will be closed by emitted fstp.
8465         Rewrite FP_EX_INEXACT handling.
8467 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
8469         * soft-fp/README: Update.
8470         * soft-fp/adddf3.c: Update from glibc.
8471         * soft-fp/addsf3.c: Likewise.
8472         * soft-fp/addtf3.c: Likewise.
8473         * soft-fp/divdf3.c: Likewise.
8474         * soft-fp/divsf3.c: Likewise.
8475         * soft-fp/divtf3.c: Likewise.
8476         * soft-fp/double.h: Likewise.
8477         * soft-fp/eqdf2.c: Likewise.
8478         * soft-fp/eqsf2.c: Likewise.
8479         * soft-fp/eqtf2.c: Likewise.
8480         * soft-fp/extenddftf2.c: Likewise.
8481         * soft-fp/extended.h: Likewise.
8482         * soft-fp/extendsfdf2.c: Likewise.
8483         * soft-fp/extendsftf2.c: Likewise.
8484         * soft-fp/extendxftf2.c: Likewise.
8485         * soft-fp/fixdfdi.c: Likewise.
8486         * soft-fp/fixdfsi.c: Likewise.
8487         * soft-fp/fixdfti.c: Likewise.
8488         * soft-fp/fixsfdi.c: Likewise.
8489         * soft-fp/fixsfsi.c: Likewise.
8490         * soft-fp/fixsfti.c: Likewise.
8491         * soft-fp/fixtfdi.c: Likewise.
8492         * soft-fp/fixtfsi.c: Likewise.
8493         * soft-fp/fixtfti.c: Likewise.
8494         * soft-fp/fixunsdfdi.c: Likewise.
8495         * soft-fp/fixunsdfsi.c: Likewise.
8496         * soft-fp/fixunsdfti.c: Likewise.
8497         * soft-fp/fixunssfdi.c: Likewise.
8498         * soft-fp/fixunssfsi.c: Likewise.
8499         * soft-fp/fixunssfti.c: Likewise.
8500         * soft-fp/fixunstfdi.c: Likewise.
8501         * soft-fp/fixunstfsi.c: Likewise.
8502         * soft-fp/fixunstfti.c: Likewise.
8503         * soft-fp/floatdidf.c: Likewise.
8504         * soft-fp/floatdisf.c: Likewise.
8505         * soft-fp/floatditf.c: Likewise.
8506         * soft-fp/floatsidf.c: Likewise.
8507         * soft-fp/floatsisf.c: Likewise.
8508         * soft-fp/floatsitf.c: Likewise.
8509         * soft-fp/floattidf.c: Likewise.
8510         * soft-fp/floattisf.c: Likewise.
8511         * soft-fp/floattitf.c: Likewise.
8512         * soft-fp/floatundidf.c: Likewise.
8513         * soft-fp/floatundisf.c: Likewise.
8514         * soft-fp/floatunditf.c: Likewise.
8515         * soft-fp/floatunsidf.c: Likewise.
8516         * soft-fp/floatunsisf.c: Likewise.
8517         * soft-fp/floatunsitf.c: Likewise.
8518         * soft-fp/floatuntidf.c: Likewise.
8519         * soft-fp/floatuntisf.c: Likewise.
8520         * soft-fp/floatuntitf.c: Likewise.
8521         * soft-fp/gedf2.c: Likewise.
8522         * soft-fp/gesf2.c: Likewise.
8523         * soft-fp/getf2.c: Likewise.
8524         * soft-fp/ledf2.c: Likewise.
8525         * soft-fp/lesf2.c: Likewise.
8526         * soft-fp/letf2.c: Likewise.
8527         * soft-fp/muldf3.c: Likewise.
8528         * soft-fp/mulsf3.c: Likewise.
8529         * soft-fp/multf3.c: Likewise.
8530         * soft-fp/negdf2.c: Likewise.
8531         * soft-fp/negsf2.c: Likewise.
8532         * soft-fp/negtf2.c: Likewise.
8533         * soft-fp/op-1.h: Likewise.
8534         * soft-fp/op-2.h: Likewise.
8535         * soft-fp/op-4.h: Likewise.
8536         * soft-fp/op-8.h: Likewise.
8537         * soft-fp/op-common.h: Likewise.
8538         * soft-fp/quad.h: Likewise.
8539         * soft-fp/single.h: Likewise.
8540         * soft-fp/soft-fp.h: Likewise.
8541         * soft-fp/subdf3.c: Likewise.
8542         * soft-fp/subsf3.c: Likewise.
8543         * soft-fp/subtf3.c: Likewise.
8544         * soft-fp/truncdfsf2.c: Likewise.
8545         * soft-fp/trunctfdf2.c: Likewise.
8546         * soft-fp/trunctfsf2.c: Likewise.
8547         * soft-fp/trunctfxf2.c: Likewise.
8548         * soft-fp/unorddf2.c: Likewise.
8549         * soft-fp/unordsf2.c: Likewise.
8550         * soft-fp/unordtf2.c: Likewise.
8552 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
8554         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
8555         (_FP_MUL_MEAT_D): Ditto.
8556         (_FP_DIV_MEAT_S): Ditto.
8557         (_FP_DIV_MEAT_D): Ditto.
8558         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
8559         t-softfp-sfdf and t-softfp to tmake_file.
8561 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
8563         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
8564         * config/i386/crtprec.c: Ditto.
8566 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
8567             Shiva Chen  <shiva0217@gmail.com>
8569         * config.host (nds32*-elf*): Add nds32 target.
8570         * config/nds32 : New directory and files.
8572 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
8574         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
8575         * config.host (cpu_type) <Setting default>: Add entry for
8576         crisv32-*-*.
8577         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
8578         <crisv32-*-linux*>: Adjust.
8579         * longlong.h: Wrap the whole CRIS section in a single
8580         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
8581         and sub_ddmmss.
8582         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
8583         defined.
8584         [__CRIS__] (__umulsidi3): Define.
8585         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
8586         * config/cris/sfp-machine.h: New file.
8587         * config/cris/umulsidi3.S: New file.
8588         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
8589         * config/cris/arit.c (SIGNMULT): New macro.
8590         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
8591         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
8592         saving 3 out of originally 33 cycles from the fastest
8593         path, 3 out of 54 from the medium path and one from the longest
8594         path.  Improve comments.
8596 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
8598         * sync.c: Remove static aliases and define each function directly
8599         under its real name.
8601 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
8603         * config.host (hppa*64*-*-linux*): Define extra_parts.
8604         (hppa*-*-linux*): Likewise.
8606 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
8608         * config/arc/crtgend.S: Add 2013 to Copyright years.
8609         * config/arc/gmon/atomic.h: Likewise.
8610         * config/arc/gmon/auxreg.h: Likewise.
8611         * config/arc/gmon/sys/gmon_out.h: Likewise.
8612         * config/arc/gmon/sys/gmon.h: Likewise.
8613         * config/arc/gmon/prof-freq.c: Likewise.
8614         * config/arc/gmon/mcount.c: Likewise.
8615         * config/arc/gmon/prof-freq-stub.S: Likewise.
8616         * config/arc/gmon/gmon.c: Likewise.
8617         * config/arc/gmon/machine-gmon.h: Likewise.
8618         * config/arc/gmon/profil.S: Likewise.
8619         * config/arc/gmon/dcache_linesz.S: Likewise.
8620         * config/arc/crtg.S: Likewise.
8621         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
8622         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
8623         * config/arc/ieee-754/adddf3.S: Likewise.
8624         * config/arc/ieee-754/truncdfsf2.S: Likewise.
8625         * config/arc/ieee-754/fixsfsi.S: Likewise.
8626         * config/arc/ieee-754/gtsf2.S: Likewise.
8627         * config/arc/ieee-754/floatsisf.S: Likewise.
8628         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
8629         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
8630         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
8631         * config/arc/ieee-754/fixdfsi.S: Likewise.
8632         * config/arc/ieee-754/addsf3.S: Likewise.
8633         * config/arc/ieee-754/gesf2.S: Likewise.
8634         * config/arc/ieee-754/floatsidf.S: Likewise.
8635         * config/arc/ieee-754/extendsfdf2.S: Likewise.
8636         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
8637         * config/arc/ieee-754/gtdf2.S: Likewise.
8638         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
8639         * config/arc/ieee-754/uneqdf2.S: Likewise.
8640         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
8641         * config/arc/ieee-754/uneqsf2.S: Likewise.
8642         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
8643         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
8644         * config/arc/ieee-754/eqdf2.S: Likewise.
8645         * config/arc/ieee-754/ordsf2.S: Likewise.
8646         * config/arc/ieee-754/divsf3.S: Likewise.
8647         * config/arc/ieee-754/divdf3.S: Likewise.
8648         * config/arc/ieee-754/floatunsidf.S: Likewise.
8649         * config/arc/ieee-754/orddf2.S: Likewise.
8650         * config/arc/ieee-754/eqsf2.S: Likewise.
8651         * config/arc/ieee-754/gedf2.S: Likewise.
8652         * config/arc/crtn.S: Likewise.
8653         * config/arc/crti.S: Likewise.
8654         * config/arc/t-arc700-uClibc: Likewise.
8655         * config/arc/asm.h: Likewise.
8656         * config/arc/libgcc-excl.ver: Likewise.
8657         * config/arc/t-arc-newlib: Likewise.
8658         * config/arc/divtab-arc700.c: Likewise.
8659         * config/arc/initfini.c: Likewise.
8660         * config/arc/fp-hack.h: Likewise.
8662 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
8663             Diego Novillo  <dnovillo@google.com>
8665         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
8666         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
8667         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
8668         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
8670 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
8671             Brendan Kehoe  <brendan@zen.org>
8672             Simon Cook  <simon.cook@embecosm.com>
8674         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
8675         * config/arc: New directory.
8676         * longlong.h [__arc__] (umul_ppmm): Remove.
8677         [__arc__] (__umulsidi3): Define.
8678         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
8679         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
8681 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
8683         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
8684         CreateSemaphoreA.
8685         * config/i386/gthr-win32.h: Likewise.
8687 2013-09-16  DJ Delorie  <dj@redhat.com>
8689         * config/rl78/vregs.h: Add G10 register definitions.
8690         * config/rl78/lib2mul.c: Enable for RL78/G10.
8691         * config/rl78/lib2div.c: Likewise.
8692         * config/rl78/lshrsi3.S: Use vregs.h.
8693         * config/rl78/cmpsi2.S: Likewise.
8694         * config/rl78/trampoline.S: Likewise.
8695         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
8697 2013-09-14  DJ Delorie  <dj@redhat.com>
8698             Nick Clifton  <nickc@redhat.com>
8700         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
8701         * config/rl78/vregs.h: New.
8702         * config/rl78/signbit.S: New file.  Implements signbit function.
8703         * config/rl78/divmodsi.S: New.
8704         * config/rl78/divmodhi.S: New.
8705         * config/rl78/divmodqi.S: New.
8706         * config/rl78/t-rl78: Build them here...
8707         * config/rl78/lib2div.c: ...but not here.
8709 2013-09-12  DJ Delorie  <dj@redhat.com>
8711         * config.host (msp*-*-elf): New.
8712         * config/msp430/: New port.
8714 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
8716         PR gcov-profile/58127
8717         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
8718         __thread var for emulated TLS.
8719         (__gcov_indirect_call_counters): Likewise.
8721 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
8722             Catherine Moore  <clm@codesourcery.com>
8723             Richard Sandiford  <rdsandiford@googlemail.com>
8725         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
8726         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
8727         (CALL_STUB_NO_RET): Likewise.
8728         (CALL_STUB_RET): Likewise.
8729         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
8730         __mips16_ret call/return stub symbols.
8731         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
8732         to tmake_file.
8734 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
8736         * config.host <mips*-*-linux*>: Remove a stray comment.
8738 2013-08-10  Jan Hubicka  <jh@suse.cz>
8740         Work around binutils PR14342
8741         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
8742         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
8743         (L_gcov_indirect_call_profiler_v2): New.
8745 2013-08-06  Jan Hubicka  <jh@suse.cz>
8747         * libgcov.c (__gcov_indirect_call_callee,
8748         __gcov_indirect_call_counters): New global vars.
8749         (__gcov_indirect_call_profiler): replace by ...
8750         (__gcov_indirect_call_profiler_v2) ... this one.
8752 2013-08-06  Caroline Tice  <cmtice@google.com>
8754         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
8755         vtv_start_preinit.o and vtv_end_preinit.o.
8756         * configure.ac: Add code to check/set enable_vtable_verify.
8757         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
8758         true.
8759         * vtv_start_preinit.c: New file.
8760         * vtv_end_preinit.c: New file.
8761         * vtv_start.c: New file.
8762         * vtv_end.c: New file.
8763         * configure: Regenerated.
8765 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
8767         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
8768         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
8769         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
8770         GPL-3.0-with-GCC-exception.
8772 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
8774         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
8775         ISA and up.
8777 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8779         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
8780         mapping for FPRs when creating the fallback framestate.
8782 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
8784         PR target/57516
8785         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
8786         (__round_s2_const, __round_u2_const)
8787         (__round_s4_const, __round_u4_const, __round_x8):
8788         Saturate result if addition result cannot be represented.
8790 2013-07-15  Matthias Klose  <doko@ubuntu.com>
8792         * libgcc2.c: Don't include <limits.h>.
8794 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
8796         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
8798 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
8800         PR target/29776
8801         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
8803 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
8805         PR middle-end/36041
8806         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
8807         Define.
8808         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
8809         instead of table lookups.
8810         (__popcountDI2): Likewise.
8812 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
8814         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
8815         correctly.
8817 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
8819         PR other/53317
8820         * soft-fp/adddf3.c: Update from glibc.
8821         * soft-fp/addsf3.c: Likewise.
8822         * soft-fp/addtf3.c: Likewise.
8823         * soft-fp/divdf3.c: Likewise.
8824         * soft-fp/divsf3.c: Likewise.
8825         * soft-fp/divtf3.c: Likewise.
8826         * soft-fp/double.h: Likewise.
8827         * soft-fp/eqdf2.c: Likewise.
8828         * soft-fp/eqsf2.c: Likewise.
8829         * soft-fp/eqtf2.c: Likewise.
8830         * soft-fp/extenddftf2.c: Likewise.
8831         * soft-fp/extended.h: Likewise.
8832         * soft-fp/extendsfdf2.c: Likewise.
8833         * soft-fp/extendsftf2.c: Likewise.
8834         * soft-fp/fixdfdi.c: Likewise.
8835         * soft-fp/fixdfsi.c: Likewise.
8836         * soft-fp/fixsfdi.c: Likewise.
8837         * soft-fp/fixsfsi.c: Likewise.
8838         * soft-fp/fixtfdi.c: Likewise.
8839         * soft-fp/fixtfsi.c: Likewise.
8840         * soft-fp/fixunsdfdi.c: Likewise.
8841         * soft-fp/fixunsdfsi.c: Likewise.
8842         * soft-fp/fixunssfdi.c: Likewise.
8843         * soft-fp/fixunssfsi.c: Likewise.
8844         * soft-fp/fixunstfdi.c: Likewise.
8845         * soft-fp/fixunstfsi.c: Likewise.
8846         * soft-fp/floatdidf.c: Likewise.
8847         * soft-fp/floatdisf.c: Likewise.
8848         * soft-fp/floatditf.c: Likewise.
8849         * soft-fp/floatsidf.c: Likewise.
8850         * soft-fp/floatsisf.c: Likewise.
8851         * soft-fp/floatsitf.c: Likewise.
8852         * soft-fp/floatundidf.c: Likewise.
8853         * soft-fp/floatundisf.c: Likewise.
8854         * soft-fp/floatunditf.c: Likewise.
8855         * soft-fp/floatunsidf.c: Likewise.
8856         * soft-fp/floatunsisf.c: Likewise.
8857         * soft-fp/floatunsitf.c: Likewise.
8858         * soft-fp/gedf2.c: Likewise.
8859         * soft-fp/gesf2.c: Likewise.
8860         * soft-fp/getf2.c: Likewise.
8861         * soft-fp/ledf2.c: Likewise.
8862         * soft-fp/lesf2.c: Likewise.
8863         * soft-fp/letf2.c: Likewise.
8864         * soft-fp/muldf3.c: Likewise.
8865         * soft-fp/mulsf3.c: Likewise.
8866         * soft-fp/multf3.c: Likewise.
8867         * soft-fp/negdf2.c: Likewise.
8868         * soft-fp/negsf2.c: Likewise.
8869         * soft-fp/negtf2.c: Likewise.
8870         * soft-fp/op-1.h: Likewise.
8871         * soft-fp/op-2.h: Likewise.
8872         * soft-fp/op-4.h: Likewise.
8873         * soft-fp/op-8.h: Likewise.
8874         * soft-fp/op-common.h: Likewise.
8875         * soft-fp/quad.h: Likewise.
8876         * soft-fp/single.h: Likewise.
8877         * soft-fp/soft-fp.h: Likewise.
8878         * soft-fp/subdf3.c: Likewise.
8879         * soft-fp/subsf3.c: Likewise.
8880         * soft-fp/subtf3.c: Likewise.
8881         * soft-fp/truncdfsf2.c: Likewise.
8882         * soft-fp/trunctfdf2.c: Likewise.
8883         * soft-fp/trunctfsf2.c: Likewise.
8884         * soft-fp/unorddf2.c: Likewise.
8885         * soft-fp/unordsf2.c: Likewise.
8886         * soft-fp/unordtf2.c: Likewise.
8887         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
8888         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8889         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8890         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8891         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8892         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8893         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8894         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8895         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8896         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
8897         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
8898         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8900 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
8902         * config/mips/lib2funcs.c: New file.
8903         * config/mips/t-mips (LIB2ADD_ST): Add it.
8905 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
8907         PR target/6526
8908         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
8909         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
8911 2013-06-08  Walter Lee  <walt@tilera.com>
8913         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
8914         Replace int64_t with long long.  Add __extension__ where
8915         appropriate.
8916         * config/tilepro/atomic.c: Include config.h.
8918 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
8920         * config.host (arm-wrs-vxworks): Configure with other soft float.
8922 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
8924         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
8925         (mips64r5900el-*-elf*): New configurations.
8927 2013-06-04  Alan Modra  <amodra@gmail.com>
8929         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
8931 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
8933         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
8935 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
8937         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
8938         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
8939         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
8941 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
8943         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
8944         (powerpc-wrs-vxworks): Likewise.
8946 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
8948         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
8949         signal frames as well.
8950         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
8951         STACK_BIAS to the CFA offset.
8953 2013-05-17  Richard Henderson  <rth@redhat.com>
8955         PR target/49146
8956         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
8957         (execute_cfa_program): Use it when storing to fs->regs.
8959 2013-05-08  Kai Tietz  <ktietz@redhat.com>
8961         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
8962         (__deregister_frame_info): Likewise.
8964 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
8966         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
8967         NaN's payload.
8969         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
8971 2013-04-25  Alan Modra  <amodra@gmail.com>
8973         * config.host: Match little-endian powerpc-linux.
8975 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
8977         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
8978         as 'unsigned long long' instead of 'unsigned long'.
8979         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
8980         'signed long'.
8982 2013-04-10  Julian Brown  <julian@codesourcery.com>
8984         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
8985         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
8986         unsigned char/unsigned short.
8987         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
8989 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8991         PR other/55274
8992         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
8994 2013-04-04  Meador Inge  <meadori@codesourcery.com>
8996         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
8997         computing the location of the link register.
8998         (aeabi_uldivmod): Ditto.
9000 2013-03-27  Kai Tietz  <ktietz@redhat.com>
9002         * config.host: Add support for cygwin x64 target.
9003         * configure: Regenerated.
9005 2013-03-26  Walter Lee  <walt@tilera.com>
9007         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
9008         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
9010 2013-03-25  Kai Tietz  <ktietz@redhat.com>
9012         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
9014 2013-03-20  Robert Mason  <rbmj@verizon.net>
9016         * config/vxlib-tls.c (__gthread_get_tsd_data,)
9017         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
9018         (__gthread_leave_tsd_dtor_context): Add prototypes.
9019         (tls_delete_hook): Update.
9021 2013-03-20  Catherine Moore  <clm@codesourcery.com>
9022             Joseph Myers  <joseph@codesourcery.com>
9023             Chao-ying Fu  <fu@mips.com>
9025         * config/mips/mips16.S:  Don't build for microMIPS.
9026         * config/mips/linux-unwind.h: Handle microMIPS frame.
9027         * config/mips/crtn.S (fini, init): New labels.
9029 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
9031         PR tree-optimization/53265
9032         * unwind-dw2.c (execute_cfa_program): Avoid
9033         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
9034         on targets with DWARF_FRAME_REGISTERS < 32.
9036 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
9038         PR target/49880
9039         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
9040         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
9042 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
9044         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
9045         sandybridge processors.
9047 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
9049         PR target/56529
9050         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
9051         inclusion list.
9053 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
9055         * config/microblaze/crti.S: Setup stack protection at entry
9057 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
9059         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
9060         (__rotldi3): Shift bytewise if applicable.
9062 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
9064         * config/aarch64/sync-cache.c
9065         (__aarch64_sync_cache_range): Silence warnings.
9067 2013-02-25  Catherine Moore  <clm@codesourcery.com>
9069         Revert:
9070         2013-02-24  Catherine Moore  <clm@codesourcery.com>
9071             Joseph Myers  <joseph@codesourcery.com>
9072             Chao-ying Fu  <fu@mips.com>
9074         * config/mips/mips16.S:  Don't build for microMIPS.
9075         * config/mips/linux-unwind.h: Handle microMIPS frame.
9076         * config/mips/crtn.S (fini, init): New labels.
9078 2013-02-24  Catherine Moore  <clm@codesourcery.com>
9079             Joseph Myers  <joseph@codesourcery.com>
9080             Chao-ying Fu  <fu@mips.com>
9082         * config/mips/mips16.S:  Don't build for microMIPS.
9083         * config/mips/linux-unwind.h: Handle microMIPS frame.
9084         * config/mips/crtn.S (fini, init): New labels.
9086 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
9087         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
9088         as dividend.
9090 2013-02-16  Alan Modra  <amodra@gmail.com>
9092         PR target/55431
9093         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
9094         (ppc_fallback_frame_state): Always set up save locations for fp
9095         and altivec.  Don't bother with non-callee-saved regs, r0-r13
9096         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
9098 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
9100         PR target/54222
9101         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
9102         _ssmulHA, _ssmulSA.
9103         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
9104         _ssmulha3, _usmulusa3, _ssmulsa3.
9105         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
9106         (__muldi3): XCALL __muldi3_6 instead of rcall.
9107         (__umulsidi3, __mulsidi3): New functions.
9108         (do_prologue_saves, do_epilogue_restores): New .macros.
9109         (__divdi3_moddi3): Use them.
9110         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
9111         (__usmulusa3, __ssmulsa3): New functions.
9113 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
9114             Jack Howarth  <howarth@bromo.med.uc.edu>
9115             Patrick Marlier  <patrick.marlier@gmail.com>
9117         PR libitm/55693
9118         * config/darwin-crt-tm.c: Remove dummy functions hack.
9120 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
9122         PR target/54222
9123         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
9124         * config/avr/lib2-object.mk: New iterator to build objects from it.
9125         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
9126         lib2funcs.c.
9127         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
9128         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
9129         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
9130         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
9131         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
9132         * config/avr/lib1funcs-fixed.S: Implement them.
9134 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
9136         Update copyright years.
9138 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
9140         PR target/54601
9141         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
9142         Add crtcxa to extra_parts.
9143         * config/rs6000/exit.h: New file.
9144         * config/rs6000/cxa_atexit.c: New file.
9145         * config/rs6000/cxa_finalize.c: New file.
9146         * config/rs6000/crtcxa.c: New file.
9147         * config/rs6000/t-aix-cxa: New file.
9148         * config/rs6000/libgcc-aix-cxa.ver: New file.
9150 2013-01-31  Nick Clifton  <nickc@redhat.com>
9152         * config/v850/lib1funcs.S: Add support for e3v5 architecture
9153         variant.
9155 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
9157         PR target/54222
9158         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
9159         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
9160         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
9161         _divQQ,  _divHQ,  _divHA,  _divSA,
9162         _divUQQ, _divUHQ, _divUHA, _divUSA.
9164 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
9166         * config.host(microblaze*-linux*): tmake_file: Remove
9167         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
9168         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
9169         to exclude functions from being built with libgcc.c and use
9170         the microblaze assembly.
9172 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
9174         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
9175         extra_parts.
9177 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
9179         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
9180         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
9181         __UINTPTR_TYPE__; also cast 'base' to the same type before the
9182         alignment operation.
9184 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
9186         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
9187         loop start address for cache clearing.
9189 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
9191         * config/avr/lib1funcs.S: Remove trailing blanks.
9192         * config/avr/lib1funcs-fixed.S: Ditto.
9194 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
9196         * config/avr/avr-lib.h: Add GPL copyright notice.
9198 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
9200         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
9201         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
9202         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
9203         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
9205 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
9207         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
9208         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
9210 2013-01-04  Nick Clifton  <nickc@redhat.com>
9212         * config/v850/lib1funcs.S: Only provide CALLT support functions if
9213         the CALLT instruction is supported.
9215 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
9217         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
9218         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
9220 2012-12-13  John Tytgat  <John@bass-software.com>
9222         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
9223         is 25.
9225 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
9227         PR libgcc/55451
9228         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
9229         undefined signed overflows.
9231 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
9233         PR target/55344
9234         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
9236 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
9238         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
9239         (FP_TRAPPING_EXCEPTIONS): Define.
9240         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
9241         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
9243 2012-12-04  Richard Henderson  <rth@redhat.com>
9245         PR bootstrap/55571
9246         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
9248 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9250         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
9251         (FP_EX_SHIFT): Define.
9252         (FP_TRAPPING_EXCEPTIONS): Define.
9254 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9256         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
9257         (FP_ROUNDMODE): Use FP_RND_MASK.
9258         * config/aarch64/sfp-exceptions.c: New.
9259         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
9260         Use __sfp_handle_exceptions.
9262 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
9264         * config.host: (arm*-*-freebsd*): Remove.
9265         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
9266         (arm*-*-elf*): Remove.
9267         (arm*-*-wince-pe*): Remove.
9268         * arm/unwind-arm.c (struct fpa_reg): Delete.
9269         (struct fpa_regs): Delete.
9270         (phase1_vrs): Remove fpa element.
9271         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
9272         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
9273         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
9274         * ieee754-sf.S (floatundisf): Remove FPA support.
9275         (floatdisf): Likewise.
9276         * ieee75f-df.S (floatundidf): Likewise.
9277         (floatdidf): Likewise.
9279 2012-11-29  Kai Tietz  <ktietz@redhat.com>
9281         PR target/55445
9282         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
9283         * unwind-generic.h: Likewise.
9284         * unwind-seh.c: Likewise.
9286 2012-11-28  Richard Henderson  <rth@redhat.com>
9288         PR libgcc/48076
9289         * emutls.c (__emutls_get_address): Avoid race condition between
9290         obj->loc.offset read and emutls_key initialization.
9292 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
9294         Adjust decimal point of signed accum mode to GCC default.
9296         PR target/54222
9297         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
9298         _divqq_helper.
9299         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
9300         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
9301         (__mulha3, __mulsa3)
9302         (__divqq3, __divha3, __divsa3): Adjust to new position of
9303         decimal point of signed accum types.
9305         (__mulusa3_round): New function.
9306         (__mulusa3): Use it.
9307         (__divqq_helper): New function.
9308         (__udivuqq3): Use it.
9310 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
9312         PR bootstrap/55370
9313         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
9315 2012-11-18  Teresa Johnson  <tejohnson@google.com>
9317         PR bootstrap/55051
9318         * libgcov.c (gcov_exit): Remove merged program summary
9319         comparison unless !GCOV_LOCKED.
9321 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9323         * soft-fp: Updated from glibc upstream.
9325 2012-11-06  Ian Lance Taylor  <iant@google.com>
9327         * generic-morestack.c (__generic_morestack): Align the returned
9328         stack pointer to a 32 byte boundary.
9329         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
9330         increment the return address until we have decided that we don't
9331         have a varargs function.
9332         (__morestack) [32-bit]: Align stack correctly when calling C
9333         functions.
9334         (__morestack) [64-bit]: Likewise.
9336 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
9338         * configure: Regenerate.
9340 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
9342         PR target/55175
9343         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
9344         * config/i386/sfp-machine.h: Guard exception handling
9345         code with _SOFT_FLOAT.
9346         * config/i386/32/sfp-machine.h: Guard rounding handling
9347         code with _SOFT_FLOAT.
9348         * config/i386/64/sfp-machine.h: Ditto.
9350 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
9352         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
9353         as extra_parts.
9355 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
9357         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
9358         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
9359         when appropriate.  Correct structure element types.
9360         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
9361         -minline-all-stringops from compile flags.
9363 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
9365         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
9367 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
9369         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
9371 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
9373         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
9374         tmake_file.
9376 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
9377             Jim MacArthur  <jim.macarthur@arm.com>
9378             Marcus Shawcroft  <marcus.shawcroft@arm.com>
9379             Nigel Stephens  <nigel.stephens@arm.com>
9380             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
9381             Richard Earnshaw  <rearnsha@arm.com>
9382             Sofiane Naci  <sofiane.naci@arm.com>
9383             Stephen Thomas  <stephen.thomas@arm.com>
9384             Tejas Belagod  <tejas.belagod@arm.com>
9385             Yufeng Zhang  <yufeng.zhang@arm.com>
9387         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
9388         * config/aarch64/crti.S: New file.
9389         * config/aarch64/crtn.S: New file.
9390         * config/aarch64/linux-unwind.h: New file.
9391         * config/aarch64/sfp-machine.h: New file.
9392         * config/aarch64/sync-cache.c: New file.
9393         * config/aarch64/t-aarch64: New file.
9394         * config/aarch64/t-softfp: New file.
9396 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
9398         * config/mmix/crti.S: Mark program and data addresses using PRELD.
9399         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
9400         no-longer-needed LDBU insns.
9402 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
9404         * config.host
9405         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
9406         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
9408 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
9410         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
9412 2012-10-15  Matthias Klose  <doko@ubuntu.com>
9414         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
9416 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
9418         * configure: Regenerate.
9419         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
9421 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
9423         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
9424         instructions for 64bit targets only.
9426 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
9428         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9429         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
9430         * config/i386/32/sfp-machine.h: ... here.
9431         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
9432         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
9433         New defines.
9435 2012-10-07  Matthias Klose  <doko@ubuntu.com>
9437         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
9438         as unused.
9439         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
9441 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
9443         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
9444         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
9445         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
9446         (ElfW): Likewise.
9448 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
9450         PR other/53889
9451         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9452         Fix parameter names.
9454 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
9456         PR target/33135
9457         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
9458         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
9459         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
9461 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
9463         PR target/50457
9464         * config/sh/linux-atomic.S: Delete.
9465         * config/sh/linux-atomic.c: New.
9466         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
9467         linux-atomic.c.  Add cflags to disable warnings.
9469 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
9471         PR other/53889
9472         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
9473         function.
9474         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
9475         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
9476         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
9477         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
9478         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
9479         Likewise.
9480         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9481         Likewise.
9482         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
9483         Likewise.
9484         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
9485         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
9487 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
9489         * config.host (hppa-*-openbsd*): New target.
9490         * config/pa/t-openbsd: New file.
9492 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
9494         PR target/54222
9495         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
9496         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
9497         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
9498         (__divsa3): Use __negsi2 to negate r_quoL.
9499         * config/avr/lib1funcs.S (FALIAS): New macro.
9500         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
9501         (__negsi2): ...this new function.
9502         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
9503         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
9504         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
9505         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
9506         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
9507         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
9509 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
9511         PR target/54089
9512         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
9513         (lshrsi3): Reimplement as lshrsi3_r0.
9515 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
9517         PR target/46191
9518         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
9519         of libgcc.a.
9521 2012-09-07  Teresa Johnson  <tejohnson@google.com>
9523         PR gcov-profile/54487
9524         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9525         differences.
9527 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
9529         PR target/54461
9530         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
9531         not configured --with-avrlibc=no.
9532         * config/avr/t-avrlibc: New file.
9533         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
9534         (DPBIT_FUNCS): Ditto.
9535         (TPBIT_FUNCS): Ditto.
9537 2012-09-04  Teresa Johnson  <tejohnson@google.com>
9539         * libgcov.c (struct gcov_summary_buffer): New structure.
9540         (gcov_histogram_insert): New function.
9541         (gcov_compute_histogram): Ditto.
9542         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
9543         histograms during summary merging.
9545 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
9547         * config.host (x86_64-*-openbsd*): New target.
9549 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
9551         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
9552         attribute.
9554 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
9556         PR target/54222
9557         * config/avr/t-avr (conv_X): Rename to func_X.
9559 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
9561         PR target/54222
9562         * config/avr/lib1funcs-fixed.S: New file.
9563         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
9564         after they are used.
9565         (neg2, neg4): New macros.
9566         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
9567         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
9568         (__umulhisi3): Speed up MUL variant if there is enough flash.
9569         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
9570         avr-modes.def.
9571         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
9572         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
9573         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
9574         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
9575         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
9576         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
9577         (LIB2FUNCS_EXCLUDE): Add supported functions.
9579 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
9581         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
9582         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
9583         libgcc-s-objects.
9584         * fixed-obj.mk: Only expand dependency if $o is not in
9585         LIB2FUNCS_EXCLUDE.
9587 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
9589         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
9591 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
9593         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
9594         depend on --enable-shared.
9595         ($(lib1asmfuncs-o)): Use %.vis files independent of
9596         --enable-shared.
9597         * static-object.mk ($(base)$(objext), $(base).vis)
9598         ($(base)_s$(objext)): Use same rules for visibility handling as in
9599         shared-object.mk.
9601 2012-08-21  Ian Lance Taylor  <iant@google.com>
9603         * config/i386/morestack.S (__morestack_non_split): Increase amount
9604         of space allocated for non-split code stack.
9606 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
9608         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
9609         even if inhibit_libc.
9611 2012-08-17  Julian Brown  <julian@codesourcery.com>
9613         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
9614         -fexceptions -fnon-call-exceptions if not defined.
9615         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
9616         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
9618 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
9620         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
9621         type.
9623 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
9625         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
9626         rs6000/t-slibgcc-aix.
9628 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
9630         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
9632 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
9634         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
9636 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
9638         PR driver/54171
9639         * Makefile.in (version): Replace top_srcdir with srcdir.
9641 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
9643         * Makefile.in (version): set to BASE-VER file from gcc directory.
9645 2012-08-01  Nick Clifton  <nickc@redhat.com>
9647         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
9648         Implements __clrsb for an HImode argument.
9650 2012-07-31  Nick Clifton  <nickc@redhat.com>
9652         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
9653         Implements __clrsb for an HImode argument.
9654         * config/stormy16/clrsbhi2.c: New file:
9655         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
9657 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
9659         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
9661 2012-07-19  Tristan Gingold  <gingold@adacore.com>
9662             Richard Henderson  <rth@redhat.com>
9664         * unwind-seh.c: New file.
9665         * unwind-generic.h: Include windows.h for SEH.
9666         (_Unwind_Exception): Use 6 private fields for SEH.
9667         (_GCC_specific_handler): Declare.
9668         * unwind-c.c (__gcc_personality_seh0): New function.
9669         Adjust for SEH.
9670         * config/i386/libgcc-cygming.ver: New file.
9671         * config/i386/t-seh-eh: New file.
9672         * config.host (x86_64-*-mingw*): Default to seh.
9674 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
9676         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
9678 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
9680         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
9681         __builtin_expect when checking for exceptions.
9682         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
9684 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
9686         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
9687         function declaration.
9688         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9689         (FP_RND_MASK): New.
9690         * config/ia64/sfp-exceptions.c: New.
9691         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
9693 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
9695         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
9696         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
9697         * config/i386/64/sfp-machine: ... (delete here) ...
9698         * config/i386/sfp-machine.h: ... to here.
9699         (FP_EX_MASK): Remove.
9700         (FP_RND_MASK): New.
9701         (FP_INIT_ROUNDMODE): Declare asm as volatile.
9703 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
9705         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
9706         * config/i386/libgcc-sol2.ver: Ditto.
9707         * config/i386/libgcc-glibc.ver: Ditto.
9709 2012-06-11  Roland McGrath  <mcgrathr@google.com>
9711         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
9712         If __GLIBC__ is defined, refer to __pthread_key_create instead of
9713         pthread_cancel.
9715 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
9717         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
9718         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
9719         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
9720         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9721         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
9722         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
9723         * config/i386/64/sfp-machine: ... (delete here) ...
9724         * config/i386/sfp-machine.h: ... to here.
9725         (FP_EX_MASK): New.
9726         (__sfp_handle_exceptions): New function declaration.
9727         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9728         * config/i386/sfp-exceptions.c: New.
9729         * config/i386/t-softfp: New.
9730         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
9731         i386/t-softfp to tmake_file.
9733 2012-06-03  David S. Miller  <davem@davemloft.net>
9735         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
9736         change.
9738 2012-05-31  David S. Miller  <davem@davemloft.net>
9740         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
9741         multiply and divide instructions on 32-bit when V9.
9742         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
9744 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
9746         * config/arm/ieee754-df.S: Fix typos.
9747         * config/arm/ieee754-sf.S: Fix typos.
9748         * config/c6x/libunwind.S: Fix typos.
9749         * config/epiphany/udivsi3-float.c: Fix typos.
9750         * config/microblaze/muldi3_hard.S: Fix typos.
9751         * config/picochip/adddi3.S: Fix typos.
9752         * config/picochip/ashlsi3.S: Fix typos.
9753         * config/picochip/ashrsi3.S: Fix typos.
9754         * config/picochip/clzsi2.S: Fix typos.
9755         * config/picochip/cmpsi2.S: Fix typos.
9756         * config/picochip/divmod15.S: Fix typos.
9757         * config/picochip/divmodhi4.S: Fix typos.
9758         * config/picochip/divmodsi4.S: Fix typos.
9759         * config/picochip/longjmp.S: Fix typos.
9760         * config/picochip/lshrsi3.S: Fix typos.
9761         * config/picochip/parityhi2.S: Fix typos.
9762         * config/picochip/popcounthi2.S: Fix typos.
9763         * config/picochip/setjmp.S: Fix typos.
9764         * config/picochip/subdi3.S: Fix typos.
9765         * config/picochip/ucmpsi2.S: Fix typos.
9766         * config/picochip/udivmodhi4.S: Fix typos.
9767         * config/picochip/udivmodsi4.S: Fix typos.
9768         * config/spu/divv2df3.c: Fix typos.
9769         * config/spu/mfc_multi_tag_release.c: Fix typos.
9770         * config/spu/mfc_tag_release.c: Fix typos.
9771         * configure.ac: Fix typos.
9772         * configure: Regenerate.
9774 2012-05-25  Ian Lance Taylor  <iant@google.com>
9776         * config/i386/morestack.S (__morestack_non_split): Check whether
9777         caller is varargs and needs %bp to hold the stack frame on return.
9779 2012-05-25  Olivier Hainque  <hainque@adacore.com>
9781         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
9782         sequence in the non pic case on VxWorks.
9784 2012-05-24  Olivier Hainque  <hainque@adacore.com>
9786         * Makefile.in: Move dependency on install-unwind_h from
9787         "install-leaf" to "install".
9789 2012-05-24  Olivier Hainque  <hainque@adacore.com>
9791         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
9792         Use a separate command for stamp removals.
9794 2012-05-21  Andrew Pinski  <apinski@cavium.com>
9796         PR bootstrap/53183
9797         * configure.ac: Define the default includes to being none.
9798         * configure: Regenerate.
9800 2012-05-16  Olivier Hainque  <hainque@adacore.com>
9802         * Makefile.in (install-unwind_h): Rename into ...
9803         (install-unwind_h-forbuild): New target.
9804         (all): Use it instead of the former install-unwind_h.
9805         (install-unwind_h): Reinstate, copy to user install destination
9806         for include files, not to the internal gcc object directory one.
9807         (install-leaf): Depend on it.
9809 2012-05-15  Olivier Hainque  <hainque@adacore.com>
9811         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
9812         register numbers. LR_REGNO replaces R_LR.
9813         (ucontext_for): New, helper for ...
9814         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
9815         and 5.3 of ...
9816         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
9818 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9820         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
9821         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
9822         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
9823         i386/t-cpuinfo ...
9824         (i[34567]86-*-*, x86_64-*-*): ... here.
9826         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
9827         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
9829         * config/i386/i386-cpuinfo.c: Rename to ...
9830         * config/i386/cpuinfo.c: ... this.
9831         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
9833         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
9834         (libgcc_cv_init_priority): New test.
9835         * configure: Regenerate.
9836         * config.in: New file.
9837         * Makefile.in (clean): Rename config.h to auto-target.h.
9838         (config.h): Likewise.
9839         (stamp-h): Likewise.
9841         * config/i386/cpuinfo.c (auto-target.h): Include.
9842         (CONSTRUCTOR_PRIORITY): Define.
9843         (__cpu_indicator_init): Use it.
9845 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
9847         * longlong.h: Use a URL instead of an FSF postal address.
9848         Replace spaces with tab.
9850 2012-05-08  Teresa Johnson  <tejohnson@google.com>
9852         * libgcov.c (gcov_clear, __gcov_reset): New functions.
9853         (__gcov_dump): Ditto.
9854         (gcov_dump_complete): New global variable.
9855         (gcov_exit): Export hidden to enable use in L_gcov_dump.
9856         (__gcov_flush): Outline functionality now in gcov_clear.
9857         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
9859 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
9861         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
9862         (mips*-*-linux*): Include mips/t-tpbit when long double is
9863         16 bytes long.
9865 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
9867         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
9868         (get_available_features): New argument. Check for AVX2.
9869         (__cpu_indicator_init): Modify call to get_available_features.
9871 2012-04-25  Alan Modra  <amodra@gmail.com>
9873         * config/rs6000/crtsavevr.S: New file.
9874         * config/rs6000/crtrestvr.S: New file.
9875         * config/rs6000/t-savresfgpr: Build the above.
9876         * config/rs6000/t-netbsd: Likewise.
9878 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
9880         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
9882 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
9884         * libgcc/config/i386/i386-cpuinfo.c: New file.
9885         * libgcc/config/i386/t-cpuinfo: New file.
9886         * libgcc/config.host: Include t-cpuinfo.
9887         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
9889 2012-04-24  Chao-ying Fu  <fu@mips.com>
9891         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
9893 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
9895         struct siginfo vs. siginfo_t
9897         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
9898         siginfo_t instead of struct siginfo.
9899         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
9900         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
9901         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
9902         (ia64_handle_unwabi): Likewise.
9903         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
9904         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
9905         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
9906         (sh_fallback_frame_state): Likewise.
9907         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
9908         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
9910 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
9912         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
9913         system call number.
9915 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
9917         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
9918         if it hasn't been previously saved.
9920 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
9922         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
9923         only for glibc.
9925 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
9927         PR target/52737
9928         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
9929         instead of __AVR_HAVE_8BIT_SP__.
9931 2012-03-26  Tristan Gingold  <gingold@adacore.com>
9933         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
9934         (unw_table_entry): Use unw_word instead of unsigned long.
9935         (_Unwind_FindTableEntry): Likewise.
9936         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
9937         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
9938         (_Unwind_FindTableEntry): Likewise.
9939         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
9940         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
9941         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
9942         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
9943         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
9944         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
9945         (uw_init_context_1, uw_install_context): Likewise.
9946         (unw_word): Move to unwind-ia64.h
9948 2012-03-26  Tristan Gingold  <gingold@adacore.com>
9950         * config/vms/vms-ucrt0.c: Update copyright years.
9951         Add a sanity check.
9952         (___gcc_main_flags): Declare.
9953         (__main): Check flags to remap argv and exit code.
9954         * config.host (*-*-*vms*): Adjust extra_parts.
9955         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
9956         (crt0.o): Add.
9958 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
9960         * arm/lib1funcs.asm (ctzsi2): New function.
9961         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
9962         * arm/t-linux (LIB1ASMFUNCS): Likewise.
9963         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
9964         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
9965         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
9966         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
9968 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
9970         * config.host: Add bits to support powerpc64-*-freebsd*.
9971         * config/rs6000/freebsd-unwind.h: New file.
9972         * config/rs6000/t-freebsd64: New file.
9974 2012-03-20  Richard Guenther  <rguenther@suse.de>
9976         PR gcov-profile/52627
9977         * libgcov.c (init_mx): Fix mutex name.
9979 2012-03-16  Tristan Gingold  <gingold@adacore.com>
9981         * config/ia64/vms-unwind.h: Remove ulong (and replace
9982         it by unw_reg where used).  Define unw_reg with __int64.
9984 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9986         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
9987         Solaris 8 handling.
9988         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
9989         Solaris 8 handling.
9990         (sparc_is_sighandler): Likewise.
9992 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
9994         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
9995         <= saved reg size.
9997 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9999         * config/arm/crtn.S: Fix typo.
10001 2012-03-13  Richard Guenther  <rguenther@suse.de>
10003         * libgcov.c: Remove stdio.h include and NULL un-define.
10005 2012-03-13  Richard Guenther  <rguenther@suse.de>
10007         PR target/52569
10008         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
10010 2012-03-13  Richard Guenther  <rguenther@suse.de>
10012         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
10014 2012-03-13  Richard Guenther  <rguenther@suse.de>
10016         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
10017         and __gthread_mutex_init_function definitions.
10019 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10021         * config.host (mips*-*-openbsd*): Remove.
10023 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10025         * config.host: Remove alpha*-dec-osf5.1* handling.
10026         * config/alpha/gthr-posix.c: Remove.
10027         * config/alpha/libgcc-osf5.ver: Remove.
10028         * config/alpha/osf5-unwind.h: Remove.
10029         * config/alpha/t-osf-pthread: Remove.
10030         * config/alpha/t-slibgcc-osf: Remove.
10031         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
10032         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
10033         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
10034         * mkmap-flat.awk: Remove osf_export handling.
10036 2012-03-12  Richard Guenther  <rguenther@suse.de>
10038         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
10039         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
10040         (__gthread_mutex_init_function): New function.
10041         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
10043         PR gcov/49484
10044         * libgcov.c: Include gthr.h.
10045         (__gcov_flush_mx): New global variable.
10046         (init_mx, init_mx_once): New functions.
10047         (__gcov_flush): Protect self with a mutex.
10048         (__gcov_fork): Re-initialize mutex after forking.
10049         * unwind-dw2-fde.c: Change condition under which to use
10050         __GTHREAD_MUTEX_INIT_FUNCTION.
10052 2012-03-12  Tristan Gingold  <gingold@adacore.com>
10054         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
10055         * config/ia64/t-vms: Likewise.
10057 2012-03-11  Michael Hope  <michael.hope@linaro.org>
10059         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
10060         for Thumb-2.
10062 2012-03-07  Walter Lee  <walt@tilera.com>
10064         * config/tilepro/atomic.c: Rename "atomic_" prefix to
10065         "arch_atomic_".
10066         (atomic_xor): Rename and move definition to
10067         config/tilepro/atomic.h.
10068         (atomic_nand): Ditto.
10069         * config/tilepro/atomic.h: Rename "atomic_" prefix to
10070         "arch_atomic_".
10071         (arch_atomic_xor): Move from config/tilepro/atomic.c.
10072         (arch_atomic_nand): Ditto.
10074 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
10076         PR target/52507
10077         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
10079 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
10081         PR target/52505
10082         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
10083         from RAM.
10085 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
10087         PR target/52461
10088         PR target/52508
10089         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
10090         if RAMPZ affects reading from RAM.
10091         (__tablejump_elpm__): Ditto.
10092         (.xload): Ditto.
10093         (__movmemx_hi): Ditto.
10094         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
10095         (__do_global_dtors): Ditto.
10096         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
10097         (__movmemx_hi): Ditto.
10099 2012-03-05  Richard Henderson  <rth@redhat.com>
10101         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
10102         [ARM] (count_trailing_zeros): Use the builtin.
10104 2012-03-01  Kai Tietz  <ktietz@redhat.com>
10106         * soft-fp: Imported from glibc upstream.
10108 2012-02-28  Kai Tietz  <ktietz@redhat.com>
10110         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
10111         for mingw-targets as attribute gcc_struct.
10113 2012-02-28  Ian Lance Taylor  <iant@google.com>
10115         * generic-morestack.c (__splitstack_releasecontext): Correct call
10116         to __morestack_release_segments.
10118 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10120         PR target/52390
10121         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
10122         for __linux__ when removing signals from __morestack_fullmask.
10124 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
10126         PR target/52261
10127         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
10129 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10131         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
10132         instead of HAVE_INITFINI_ARRAY.
10133         * config/ia64/crtend.S: Likewise.
10135 2012-02-20  Kai Tietz  <ktietz@redhat.com>
10137         PR libstdc++/52300
10138         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
10140         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
10141         to w32-unwind.h header.
10143 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
10145         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
10146         (mips*-*-linux*): Remove t-slibgcc-libgcc.
10147         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
10148         * config/mips/mips16.S (__mips16_rdhwr): Delete.
10150 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
10152         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
10154 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
10156         PR libitm/52220
10157         * config/darwin-crt-tm.c: Correct typo.
10159 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
10160             Patrick Marlier  <patrick.marlier@gmail.com>
10162         PR libitm/52220
10163         * config/darwin-crt-tm.c: Generate dummy functions.
10165 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
10166             Patrick Marlier  <patrick.marlier@gmail.com>
10168         PR libitm/52042
10169         * config/darwin-crt-tm.c (getTMCloneTable): New function.
10170         (__doTMRegistrations): Call it.
10171         (__doTMdeRegistrations): Likewise.
10173 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
10174             Anatoly Sokolov  <aesok@post.ru>
10175             Eric Weddington  <eric.weddington@atmel.com>
10177         PR target/52261
10178         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
10179         (__epilogue_restores__): Ditto.
10181 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
10183         PR target/51921
10184         PR target/52205
10185         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
10186         Solaris 11 and slightly reformat.
10187         (sparc_is_sighandler): Likewise.
10189 2012-02-14  Walter Lee  <walt@tilera.com>
10191         * config.host: Handle tilegx and tilepro.
10192         * config/tilegx/sfp-machine.h: New file.
10193         * config/tilegx/sfp-machine32.h: New file.
10194         * config/tilegx/sfp-machine64.h: New file.
10195         * config/tilegx/t-crtstuff: New file.
10196         * config/tilegx/t-softfp: New file.
10197         * config/tilegx/t-tilegx: New file.
10198         * config/tilepro/atomic.c: New file.
10199         * config/tilepro/atomic.h: New file.
10200         * config/tilepro/linux-unwind.h: New file.
10201         * config/tilepro/sfp-machine.h: New file.
10202         * config/tilepro/softdivide.c: New file.
10203         * config/tilepro/softmpy.S: New file.
10204         * config/tilepro/t-crtstuff: New file.
10205         * config/tilepro/t-tilepro: New file.
10207 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
10209         PR libstdc++/51296
10210         PR libstdc++/51906
10211         * gthr-posix.h: Allow static initializer macros to be disabled.
10212         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
10214 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
10216         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
10217         Add t-slibgcc-libgcc to tmake_file.
10218         * config/mips/libgcc-mips16.ver: Revert previous patch.
10219         * config/mips/mips16.S (__mips16_rdhwr): Hide.
10221 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
10222             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
10224         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
10225         * config/cr16/crti.S: New file.
10226         * config/cr16/crtlibid.S: New file.
10227         * config/cr16/crtn.S: New file.
10228         * config/cr16/lib1funcs.S: New file.
10229         * config/cr16/t-cr16: New file.
10230         * config/cr16/t-crtlibid: New file.
10231         * config/cr16/unwind-dw2.h: New file.
10232         * config/cr16/unwind-cr16.c: New file.
10233         * config/cr16/divmodhi3.c: New file.
10235 2012-01-25  Alan Modra  <amodra@gmail.com>
10237         * config/rs6000/t-linux64: Delete.  Move..
10238         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
10239         * config/rs6000/t-linux: ..and libgcc flags to here.
10241 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
10243         * config.host (i[34567]86-*-interix3*):
10244         Change triplet to i[34567]86-*-interix[3-9]*.
10245         * configure: Regenerate.
10247 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
10248             Richard Sandiford  <rdsandiford@googlemail.com>
10250         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
10251         * config/mips/mips16.S (__mips16_rdhwr): New function.
10252         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
10254 2012-01-11  Nathan Sidwell  <nathan@acm.org>
10256         * libgcov.c (__gcov_init): Ignore objects with no functions.
10258 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
10260         PR target/49868
10261         Extend __pgmx semantics to linearize memory.
10262         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
10263         * config/avr/lib1funcs.S (__xload_1): New function.
10264         (__movmemx_qi, __movmemx_hi): New functions.
10265         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
10266         semantics.
10268 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
10270         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
10271         purported sigacthandler address isn't null before dereferencing it.
10272         (sparc_is_sighandler): Likewise.
10274 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
10276         PR ada/41929
10277         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
10278         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
10279         (sparc_is_sighandler): Likewise.
10280         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
10282 2012-01-06  Tristan Gingold  <gingold@adacore.com>
10284         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
10285         compatibility thunks...
10286         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
10287         (crtbeginS.o, crtendS.o): ... and these to ...
10288         * config/ia64/t-ia64-elf: ... this new file.
10289         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
10290         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
10292 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10294         * configure: Regenerate.
10295         * config/s390/t-crtstuff: Remove -fPIC.
10297 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
10299         PR bootstrap/51006
10300         * enable-execute-stack-mprotect.c (getpagesize): Do not define
10301         for NetBSD.
10303 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
10305         PR target/51345
10306         * config/avr/lib1funcs.S: Remove FIXME comments.
10307         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
10309 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
10311         Implement light-weight DImode support.
10312         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
10313         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
10314         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
10315         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
10317 2011-12-30  Nathan Sidwell  <nathan@acm.org>
10319         * libgcov.c (gcov_crc32): Remove global var.
10320         (free_fn_data): New function.
10321         (buffer_fn_data): Pass in filename, more robust error recovery.
10322         (crc32_unsigned): New function.
10323         (gcov_exit): More robust detection of new program. More robust
10324         error recovery.
10325         (__gcov_init): Do not update program's crc here.
10327 2011-12-21  Tristan Gingold  <gingold@adacore.com>
10329         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
10331 2011-12-21  Ian Lance Taylor  <iant@google.com>
10333         * config/i386/morestack.S: Simplify CFI opcodes throughout.
10335 2011-12-20  Ian Lance Taylor  <iant@google.com>
10337         * config/i386/morestack.S (__morestack_non_split): If there is
10338         enough stack space already, don't split.  Ask for more stack space
10339         than we required.
10341 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
10343         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
10344         `sys/sdt.h'.
10345         (_Unwind_DebugHook): New function.
10346         (uw_restore_core_regs): New define.
10347         (unwind_phase2): Use uw_restore_core_regs instead of
10348         restore_core_regs.
10349         (unwind_phase2_forced): Likewise.
10350         (__gnu_Unwind_Resume): Likewise.
10352 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
10354         * config/alpha/linux-unwind.h: Update copyright years.
10355         (MD_FROB_UPDATE_CONTEXT): New define.
10356         (alpha_frob_update_context): New function.
10358 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
10360         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
10361         tmake_file rather replacing it.
10363 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
10365         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
10366         function is not used for PPC64.
10367         (save_world): Amend comments.  Update the VRsave mask to reflect the
10368         saved regs.
10369         (rest_world): Update comments, do not  clobber r10, do not use r8.
10370         (eh_rest_world_r10): Amend comments, do not use r8.
10371         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
10372         no longer used, move restore of CR and target address to the end of
10373         the routine.
10375 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
10377         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
10378         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
10380 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
10382         PR target/49313
10383         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
10384         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
10386 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
10388         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
10390 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
10392         PR target/49313
10393         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
10394         * config/avr/lib1funcs.S (__muldi3): New function.
10396 2011-12-06  Andrew Pinski  <apinski@cavium.com>
10398         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
10399         size of func_ptr.
10400         (__frame_dummy_init_array_entry): Likewise.
10402 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
10404         Forward-port from gcc-4_6-branch r181936 2011-12-02.
10406         PR target/51345
10407         PR target/51002
10408         * config/avr/lib1funcs.S (__prologue_saves__,
10409         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
10410         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
10412 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
10414         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
10416 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
10418         PR other/51272
10419         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
10420         (_ITM_deregisterTMCloneTable): Likewise.
10421         (__register_frame_info): Fix unused warning.
10422         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
10423         pthread_default_stacksize_np): Likewise.
10424         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
10426 2011-11-29  DJ Delorie  <dj@redhat.com>
10428         * config.host (rl78-*-elf): New case.
10429         * config/rl78: New directory for the Renesas RL78.
10431 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
10433         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
10434         formatting.
10436 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10438         PR other/51022
10439         * config/rs6000/t-savresfgpr: New file.
10440         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
10441         $(srcdir)/config/rs6000/eabi.S.
10442         * config/rs6000/t-ppccomm-ldbl: Remove.
10443         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
10444         tmake_file.
10445         (powerpc-*-eabispe*): Likewise.
10446         (powerpc-*-eabi*): Likewise.
10447         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10448         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
10449         to tmake_file, remove rs6000/t-ppccomm-ldbl.
10450         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
10451         tmake_file.
10452         (powerpc-*-eabisim*): Likewise.
10453         (powerpc-*-elf*): Likewise.
10454         (powerpc-*-eabialtivec*): Likewise.
10455         (powerpc-xilinx-eabi*): Likewise.
10456         (powerpc-*-rtems*): Likewise.
10457         (powerpcle-*-elf*): Likewise.
10458         (powerpcle-*-eabisim*): Likewise.
10459         (powerpcle-*-eabi*): Likewise.
10461 2011-11-27  Ian Lance Taylor  <iant@google.com>
10463         * generic-morestack.c (__splitstack_find): Check for NULL old
10464         stack value.
10465         (__splitstack_resetcontext): New function.
10466         (__splitstack_releasecontext): New function.
10467         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10469 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
10471         * config/darwin-crt-tm.c: Correct comments, use correct licence.
10473 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
10475         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
10477 2011-11-26  Richard Henderson  <rth@redhat.com>
10479         * config/m68k/linux-atomic.c: New file.
10480         * config/m68k/t-linux: New file.
10481         * config.host (m68k-uclinux, m68k-linux): Use it.
10483 2011-11-26  Richard Henderson  <rth@redhat.com>
10485         * crtstuff.c (__TMC_LIST__): Mark used not unused.
10486         (__TMC_END__): Only declare if hidden is available; in the definition,
10487         if hidden is unavailable add a null record.
10488         (deregister_tm_clones, register_tm_clones): New.
10489         (__do_global_dtors_aux, frame_dummy): Use them.
10490         (__do_global_dtors, __do_global_ctors_1): Likewise.
10492 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
10494         * config/darwin-crt-tm.c: New file.
10495         * config.host (darwin): Build crttms.o crttme.o to provide
10496         startup and shutdown for tm clones.
10497         * config/t-darwin (crttms.o): New build rule.
10498         (crttme.o): Likewise.
10500 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
10502         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
10503         et al.
10505 2011-11-21  Richard Henderson  <rth@redhat.com>
10507         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
10508         (__TMC_LIST__, __TMC_END__): New.
10509         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
10510         (__do_global_dtors): Likewise.
10511         (frame_dummy): Call _ITM_registerTMCloneTable.
10512         (__do_global_ctors_1): Likewise.
10514 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10516         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
10517         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10518         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
10519         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
10520         * config/i386/t-darwin64: Remove.
10521         * config/sh/t-netbsd (LIB2ADD): Remove.
10523 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
10525         PR target/49313
10526         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
10527         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
10528         * config/avr/lib1funcs.S (wmov): New assembler macro.
10529         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
10530         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
10531         (__udivmod64): New function.
10532         (__negdi2): New function.
10534 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
10536         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
10537         *-*-freebsd*aout*): Remove.
10539 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
10541         * static-object.mk (c_flags-$o): Save c_flags.
10542         ($(base)$(objext)): Use it.
10544 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
10546         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
10548 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
10550         PR target/49868
10551         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
10552         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
10553         New functions.
10555 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
10557         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
10558         functions.
10559         (aeabi_uidivmod): Likewise.
10560         (umodsi3): Likewise.
10561         (divsi3): Likewise.
10562         (aeabi_idivmod): Likewise.
10563         (modsi3): Likewise.
10565 2011-11-16  Tristan Gingold  <gingold@adacore.com>
10567         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
10569 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
10571         PR target/49868
10572         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
10573         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
10575 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
10577         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
10578         tmake_file list.
10579         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
10580         * config/pa/t-stublib64: Delete.
10582 2011-11-12  Richard Henderson  <rth@redhat.com>
10584         * config/rs6000/linux-unwind.h (frob_update_context): Properly
10585         cast the pointer argument to _Unwind_SetGRPtr.
10587 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10589         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
10591 2011-11-09  Ian Lance Taylor  <iant@google.com>
10593         * generic-morestack.c: Include <string.h>.
10594         (uintptr_type): Define.
10595         (struct initial_sp): Add dont_block_signals field.  Reduce size of
10596         extra array by 1.
10597         (allocate_segment): Set prev field to NULL.  Don't set
10598         __morestack_current_segment or __morestack_segments.
10599         (__generic_morestack): Update current->prev and *pp after calling
10600         allocate_segment.
10601         (__morestack_block_signals): Don't do anything if
10602         dont_block_signals is set.
10603         (__morestack_unblock_signals): Likewise.
10604         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
10605         uintptr_type.
10606         (__splitstack_block_signals): New function.
10607         (enum __splitstack_content_offsets): Define.
10608         (__splitstack_getcontext, __splitstack_setcontext): New functions.
10609         (__splitstack_makecontext): New function.
10610         (__splitstack_block_signals_context): New function.
10611         (__splitstack_find_context): New function.
10612         * config/i386/morestack.S (__morestack_get_guard): New function.
10613         (__morestack_set_guard, __morestack_make_guard): New functions.
10614         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10616 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10618         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
10619         (i[34567]86-*-mingw*): ... here.
10620         (x86_64-*-mingw*): ... here.
10622 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10624         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
10626 2011-11-07  Nathan Sidwell  <nathan@acm.org>
10628         * libgcov.c (struct gcov_fn_buffer): New struct.
10629         (buffer_fn_data): New helper.
10630         (gcov_exit): Rework for new gcov data structures.
10632 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
10634         PR target/49313
10635         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
10637 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10639         * config.host (tmake_file): Correct comment.
10640         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
10641         t-libgcc-pic.
10642         (bfin*-uclinux*): Likewise.
10643         (bfin*-linux-uclibc*): Likewise.
10644         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
10646         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
10647         assigning.
10648         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10649         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
10650         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10651         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
10652         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10653         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
10654         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
10655         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10656         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
10657         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
10658         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
10659         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
10660         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
10662         * config/bfin/t-elf: Remove.
10663         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
10665 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10667         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
10668         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
10669         (lm32-*-elf*, lm32-*-rtems*): Split into ...
10670         (lm32-*-elf*): ... this.
10671         (lm32-*-rtems*): ... and this.
10672         Add to tmake_file.
10673         (m32r-*-rtems*): Add to tmake_file.
10674         (moxie-*-rtems*): Likewise.
10675         (sparc-*-rtems*): Likewise.
10676         Remove t-rtems from tmake_file.
10677         (sparc64-*-rtems*): Likewise.
10678         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
10679         instead.
10681 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10683         PR bootstrap/50982
10684         * config/gthr-posix.h: Move ...
10685         * gthr-posix.h: ... here.
10686         * config/gthr-lynx.h: Reflect this.
10687         * config/gthr-vxworks.h: Likewise.
10688         * config/rs6000/gthr-aix.h: Likewise.
10689         * configure.ac (target_thread_file): Likewise.
10690         * configure: Regenerate.
10692 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
10694         * config.host (arm*-*-rtemseabi*): New target.
10696 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
10698         PR other/50991
10699         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
10700         extra-parts.
10702 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
10704         * config.host (epiphany-*-elf*): New configuration.
10705         * config/epiphany: New Directory.
10707 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
10709         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
10710         * config/avr/t-rtems: New.
10711         Filter out _exit from LIB1ASMFUNCS.
10713 2011-11-04  David S. Miller  <davem@davemloft.net>
10715         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
10716         * configure: Rebuild.
10718 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10720         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
10721         variable.
10723 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
10725         PR target/50931
10726         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
10727         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
10729 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
10731         PR target/50989
10732         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
10734 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10736         * config/c6x/t-elf (LIB2ADDEH): Set.
10737         * config/c6x/t-c6x-elf: Remove.
10739 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10741         * config/i386/sol2-ci.S: Rename to ...
10742         * config/i386/crti.S: ... this.
10743         * config/i386/sol2-cn.S: Rename to ...
10744         * config/i386/crtn.S: ... this.
10745         * config/sparc/sol2-ci.S: Rename to ...
10746         * config/sparc/crti.S: ... this.
10747         * config/sparc/sol2-cn.S: Rename to ...
10748         * config/sparc/crtn.S: ... this.
10749         * config/t-sol2 (CUSTOM_CRTIN): Remove.
10750         (crti.o, crtn.o): Remove.
10752 2011-11-04  Tristan Gingold  <gingold@adacore.com>
10754         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
10756 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
10758         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
10760 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
10762         * config.host (crisv32-*-none, cris-*-none): Remove.
10763         (crisv32-*-elf): Append to tmake_file, don't just set it.
10764         (cris-*-elf): Add missing t-fdpbit to tmake_file.
10766 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10768         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
10769         (ecrtn$(objext)): Likewise.
10770         (ncrti$(objext)): Likewise.
10771         (ncrtn$(objext)): Likewise.
10773 2011-11-03  Andreas Schwab  <schwab@redhat.com>
10775         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
10777 2011-11-02  David S. Miller  <davem@davemloft.net>
10779         * configure.ac: Set host_address on sparc too.
10780         * configure: Regenerate.
10781         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
10782         based upon host_address.
10783         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
10785 2011-11-02  Jason Merrill  <jason@redhat.com>
10787         * config/rs6000/t-ppccomm: Add missing \.
10789 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10791         * gthr-single.h, gthr.h: New files.
10792         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
10793         config/gthr-vxworks.h, config/i386/gthr-win32.h,
10794         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
10795         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
10796         * config/i386/gthr-win32.c: Include "gthr-win32.h".
10797         * configure.ac (thread_header): New variable.
10798         Set it depending on target_thread_file.
10799         (gthr-default.h): Link from $thread_header.
10800         * configure: Regenerate.
10801         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
10803 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10805         * configure.ac (tm_file_): New variable.
10806         Determine from tm_file.
10807         (tm_file, tm_defines): Substitute.
10808         * configure: Regenerate.
10809         * mkheader.sh: New file.
10810         * Makefile.in (clean): Remove libgcc_tm.h.
10811         ($(objects)): Depend on libgcc_tm.h.
10812         (libgcc_tm_defines, libgcc_tm_file): New variables.
10813         (libgcc_tm.h, libgcc_tm.stamp): New targets.
10814         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
10815         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
10816         ($(extra-parts)): Depend on libgcc_tm.h.
10817         * config.host (tm_defines, tm_file): New variable.
10818         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
10819         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
10820         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
10821         (avr-*-rtems*): Likewise.
10822         (avr-*-*): Likewise.
10823         (frv-*-elf): Likewise.
10824         (frv-*-*linux*): Likewise.
10825         (h8300-*-rtems*): Likewise.
10826         (h8300-*-elf*): Likewise.
10827         (i[34567]86-*-darwin*): Likewise.
10828         (x86_64-*-darwin*): Likewise.
10829         (rx-*-elf): Likewise.
10830         (tic6x-*-uclinux): Likewise.
10831         (tic6x-*-elf): Likewise.
10832         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
10833         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
10834         * config/i386/cygming-crtbegin.c: Likewise.
10835         * config/i386/cygming-crtend.c: Likewise.
10836         * config/ia64/fde-vms.c: Likewise.
10837         * config/ia64/unwind-ia64.c: Likewise.
10838         * config/libbid/bid_gcc_intrinsics.h: Likewise.
10839         * config/rs6000/darwin-fallback.c: Likewise.
10840         * config/stormy16/lib2funcs.c: Likewise.
10841         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
10842         * crtstuff.c: Likewise.
10843         * dfp-bit.h: Likewise.
10844         * emutls.c: Likewise.
10845         * fixed-bit.c: Likewise.
10846         * fp-bit.c: Likewise.
10847         * generic-morestack-thread.c: Likewise.
10848         * generic-morestack.c: Likewise.
10849         * libgcc2.c: Likewise.
10850         * libgcov.c: Likewise.
10851         * unwind-dw2-fde-dip.c: Likewise.
10852         * unwind-dw2-fde.c: Likewise.
10853         * unwind-dw2.c: Likewise.
10854         * unwind-sjlj.c: Likewise.
10856 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10858         * configure.ac: Include ../config/picflag.m4.
10859         (GCC_PICFLAG): Call it.
10860         Substitute.
10861         * configure: Regenerate.
10862         * Makefile.in (gcc_srcdir): Remove.
10863         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
10864         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
10865         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
10866         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
10867         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
10868         Use $<.
10869         Remove comment.
10870         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
10871         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
10872         to refer to libgcc2.c.
10873         Use $<.
10874         * config/darwin-64.c: New file.
10875         * config/darwin-crt3.c: Remove comment.
10876         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
10877         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
10878         config/udivmodsi4.c: New files.
10879         * config/memcmp.c, config/memcpy.c, config/memmove.c,
10880         config/memset.c: New files.
10881         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
10882         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
10883         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
10884         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
10885         * config/t-openbsd-thread: New file.
10886         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
10887         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
10888         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
10889         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
10890         qrnnd.S.
10891         Adapt filename.
10892         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
10893         to refer to gthr-posix.c.
10894         * config/alpha/t-vms (LIB2ADD): Set.
10895         * config/alpha/vms-gcc_shell_handler.c: New file.
10896         * config/arm/bpabi.c, config/arm/fp16.c,
10897         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
10898         config/arm/unaligned-funcs.c: New files.
10899         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
10900         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10901         * config/arm/t-linux: Likewise.
10902         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
10903         * config/arm/t-netbsd: New file.
10904         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
10905         * config/arm/t-symbian (LIB2ADD_ST): Set.
10906         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
10907         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10908         * config/bfin/t-elf: New file.
10909         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
10910         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
10911         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
10912         config/c6x/ltf.c: New files.
10913         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
10914         (HOST_LIBGCC2_CFLAGS): Set.
10915         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
10916         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10917         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
10918         New files.
10919         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
10920         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
10921         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
10922         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
10923         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
10924         files.
10925         * config/frv/t-frv (LIB2ADD): Set.
10926         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10927         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
10928         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
10929         config/h8300/popcounthi2.c: New files.
10930         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10931         * config/i386/gthr-win32.c: New file.
10932         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
10933         * config/i386/t-cygwin: Likewise.
10934         * config/i386/t-darwin, config/i386/t-darwin64,
10935         config/i386/t-gthr-win32, config/i386/t-interix: New files.
10936         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
10937         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10938         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10939         * config/ia64/quadlib.c: New file.
10940         * config/ia64/t-hpux (LIB2ADD): Set.
10941         * config/ia64/t-ia64: Add comment.
10942         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
10943         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10944         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
10945         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
10946         * config/m32c/t-m32c (LIB2ADD): Set.
10947         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10948         * config/m32r/t-m32r: Likewise.
10949         * config/m68k/fpgnulib.c: New file.
10950         * config/m68k/t-floatlib (LIB2ADD): Set.
10951         (xfgnulib.c): New target.
10952         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
10953         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
10954         * config/mep/t-mep (LIB2ADD): Set.
10955         * config/microblaze/divsi3.asm: Rename to divsi3.S.
10956         * config/microblaze/moddi3.asm: Rename to moddi3.S.
10957         * config/microblaze/modsi3.asm: Rename to modsi3.S.
10958         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
10959         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
10960         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
10961         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
10962         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
10963         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
10964         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
10965         New files.
10966         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
10967         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
10968         * config/pa/fptr.c, config/pa/lib2funcs.S,
10969         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
10970         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10971         (LIB2ADD, LIB2ADD_ST): Set.
10972         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
10973         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
10974         Set.
10975         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
10976         * config/pdp11/t-pdp11: New file.
10977         * config/picochip/libgccExtras/adddi3.S,
10978         config/picochip/libgccExtras/ashlsi3.S,
10979         config/picochip/libgccExtras/ashrsi3.S,
10980         config/picochip/libgccExtras/clzsi2.S,
10981         config/picochip/libgccExtras/cmpsi2.S,
10982         config/picochip/libgccExtras/divmod15.S,
10983         config/picochip/libgccExtras/divmodhi4.S,
10984         config/picochip/libgccExtras/divmodsi4.S,
10985         config/picochip/libgccExtras/lshrsi3.S,
10986         config/picochip/libgccExtras/parityhi2.S,
10987         config/picochip/libgccExtras/popcounthi2.S,
10988         config/picochip/libgccExtras/subdi3.S,
10989         config/picochip/libgccExtras/ucmpsi2.S,
10990         config/picochip/libgccExtras/udivmodhi4.S,
10991         config/picochip/libgccExtras/udivmodsi4.S: New files.
10992         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
10993         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
10994         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
10995         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
10996         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
10997         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
10998         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
10999         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
11000         files.
11001         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
11002         (HOST_LIBGCC2_CFLAGS): Set.
11003         * config/rs6000/t-darwin64: New file.
11004         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
11005         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
11006         * config/rs6000/t-ppccomm (LIB2ADD): Add
11007         $(srcdir)/config/rs6000/tramp.S.
11008         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
11009         Add  $(srcdir)/config/rs6000/eabi.S.
11010         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
11011         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
11012         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
11013         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
11014         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
11015         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
11016         * config/rs6000/tramp.S: New file.
11017         * config/s390/t-tpf: Remove.
11018         * config/sh/linux-atomic.S: New file.
11019         * config/sh/t-linux (LIB2ADD): Set.
11020         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
11021         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
11022         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
11023         to unwind-dw2.c.
11024         (HOST_LIBGCC2_CFLAGS): Set.
11025         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11026         * config/spu/divmodti4.c, config/spu/divv2df3.c,
11027         config/spu/float_disf.c, config/spu/float_unsdidf.c,
11028         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
11029         config/spu/mfc_multi_tag_release.c,
11030         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
11031         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
11032         config/spu/multi3.c: New files.
11033         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
11034         (HOST_LIBGCC2_CFLAGS): Set.
11035         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
11036         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
11037         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
11038         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
11039         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
11040         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
11041         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
11042         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
11043         config/stormy16/umodsi3.c: New files.
11044         * config/xtensa/lib2funcs.S: New file.
11045         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
11046         * config/xtensa/t-xtensa (LIB2ADD): Set.
11047         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
11048         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
11049         Add t-freebsd-thread to tmake_file for posix threads.
11050         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
11051         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
11052         (*-*-lynxos*): Likewise.
11053         (*-*-netbsd*): Likewise.
11054         (*-*-openbsd*): Likewise.
11055         Add t-openbsd-thread to tmake_file for posix threads.
11056         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
11057         (*-*-vxworks*): Set tmake_file.
11058         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
11059         (alpha*-*-freebsd*): Likewise.
11060         (alpha*-*-netbsd*): Likewise.
11061         (alpha*-*-openbsd*): Likewise.
11062         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
11063         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
11064         (alpha*-dec-*vms*): Likewise.
11065         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
11066         (bfin*-elf*): Add bfin/t-elf to tmake_file.
11067         (bfin*-uclinux*): Likewise.
11068         (bfin*-linux-uclibc*): Likewise.
11069         (crisv32-*-elf): Add cris/t-cris to tmake_file.
11070         (crisv32-*-none): Likewise.
11071         (cris-*-elf): Likewise.
11072         (cris-*-none): Likewise.
11073         (cris-*-linux*, crisv32-*-linux*): Likewise.
11074         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
11075         tmake_file.
11076         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
11077         tmake_file.
11078         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
11079         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
11080         (x86_64-*-elf*): Likewise.
11081         (i[34567]86-*-nto-qnx*): Likewise.
11082         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
11083         win32 threads.
11084         (x86_64-*-mingw*): Likewise.
11085         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
11086         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
11087         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
11088         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
11089         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
11090         tmake_file.
11091         (mipsisa64sr71k-*-elf*): Likewise.
11092         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
11093         (mips-*-elf*, mipsel-*-elf*): Likewise.
11094         (mips64-*-elf*, mips64el-*-elf*): Likewise.
11095         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
11096         (mips*-*-rtems*): Likewise.
11097         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
11098         to tmake_file.
11099         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
11100         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
11101         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
11102         (spu-*-elf*): Likewise.
11103         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
11105 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11107         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
11108         $(srcdir) to refer to $(LIB1ASMSRC).
11109         Use $<.
11110         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
11111         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
11112         config/arm/lib1funcs.S: New files.
11113         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
11114         * config/arm/t-arm: New file.
11115         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
11116         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
11117         config/arm/t-strongarm-elf: New files.
11118         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
11119         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
11120         * config/avr/lib1funcs.S: New file.
11121         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11122         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
11123         * config/c6x/lib1funcs.S: New file.
11124         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11125         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
11126         * config/frv/lib1funcs.S: New file.
11127         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11128         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
11129         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
11130         * config/ia64/__divxf3.asm: Rename to ...
11131         * config/ia64/__divxf3.S: ... this.
11132         Adapt lib1funcs.asm filename.
11133         * config/ia64/_fixtfdi.asm: Rename to ...
11134         * config/ia64/_fixtfdi.S: ... this.
11135         Adapt lib1funcs.asm filename.
11136         * config/ia64/_fixunstfdi.asm: Rename to ...
11137         * config/ia64/_fixunstfdi.S: ... this.
11138         Adapt lib1funcs.asm filename.
11139         * config/ia64/_floatditf.asm: Rename to ...
11140         * config/ia64/_floatditf.S: ... this.
11141         Adapt lib1funcs.asm filename.
11142         * config/ia64/lib1funcs.S: New file.
11143         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
11144         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11145         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
11146         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
11147         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
11148         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
11149         * config/mep/lib1funcs.S: New file.
11150         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11151         * config/mips/mips16.S: New file.
11152         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11153         * config/pa/milli64.S: New file.
11154         * config/pa/t-linux, config/pa/t-linux64: New files.
11155         * config/picochip/lib1funcs.S: New file.
11156         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11157         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
11158         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
11159         * config/sh/t-netbsd: New file.
11160         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
11161         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
11162         * config/sh/t-sh64: New file.
11163         * config/sparc/lb1spc.S: New file.
11164         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
11165         filename.
11166         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
11167         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
11168         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
11169         config/xtensa/lib1funcs.S: New files.
11170         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11171         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
11172         tmake_file.
11173         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
11174         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
11175         (arm*-*-linux*): Likewise.
11176         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
11177         arm*-*-linux-*eabi, add arm/t-linux otherwise.
11178         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
11179         (arm*-*-ecos-elf): Likewise.
11180         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11181         (arm*-*-rtems*): Likewise.
11182         (arm*-*-elf): Likewise.
11183         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
11184         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
11185         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
11186         (bfin*-uclinux*): Likewise.
11187         (bfin*-linux-uclibc*): Likewise.
11188         (bfin*-rtems*): Likewise.
11189         (bfin*-*): Likewise.
11190         (fido-*-elf): Merge into m68k-*-elf*.
11191         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
11192         (frv-*-*linux*): Add frv/t-frv to tmake_file.
11193         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
11194         (h8300-*-elf*): Likewise.
11195         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
11196         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
11197         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
11198         (i[34567]86-*-mingw*): Likewise.
11199         (x86_64-*-mingw*): Likewise.
11200         (i[34567]86-*-interix3*): Likewise.
11201         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
11202         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
11203         (m68k-*-elf*): Also handle fido-*-elf.
11204         Add m68k/t-floatlib to tmake_file.
11205         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
11206         (m68k-*-linux*): Likewise.
11207         (m68k-*-rtems*): Likewise.
11208         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
11209         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
11210         sh64*-*-*.
11211         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
11212         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
11213         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
11214         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
11215         sh/t-netbsd to tmake_file.
11216         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
11217         (sh-*-rtems*): Add sh/t-sh to tmake_file.
11218         (sh-wrs-vxworks): Likewise.
11219         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
11220         *-leon[3-9]*.
11221         (v850*-*-*): Add v850/t-v850 to tmake_file.
11222         (vax-*-linux*): Add vax/t-linux to tmake_file.
11223         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
11225 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11227         * crtstuff.c: New file.
11228         * Makefile.in (CRTSTUFF_CFLAGS): Define.
11229         (CRTSTUFF_T_CFLAGS): Define.
11230         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
11231         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
11232         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
11233         crtstuff.c.
11234         Use $<.
11235         (crtbeginT.o): Use $(objext).
11236         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
11237         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
11238         (gcc-extra-parts): Remove.
11239         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
11240         Set extra_parts.
11241         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11242         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
11243         Add t-crtstuff-pic to tmake_file.
11244         (*-*-lynxos*): New case.
11245         Set tmake_file, extra_parts.
11246         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
11247         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
11248         *-*-netbsdelf[2-9]*.
11249         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
11250         (*-*-rtems*): Set extra_parts.
11251         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
11252         (*-*-uclinux*): New case.
11253         Set extra_parts.
11254         (*-*-vms*): New case.
11255         Set tmake_file, extra_parts.
11256         (*-*-elf): Set extra_parts.
11257         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
11258         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
11259         vms/t-vms64.
11260         Set extra_parts.
11261         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
11262         Set extra_parts.
11263         (arm*-*-freebsd*): Add t-crtin to tmake_file.
11264         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
11265         (arm-wrs-vxworks): Append to tmake_file.
11266         Set extra_parts.
11267         (arm*-*-uclinux*): Set extra_parts.
11268         (arm*-*-ecos-elf): Likewise.
11269         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
11270         arm*-*-eabi*.
11271         (arm*-*-rtems*): Set extra_parts.
11272         (arm*-*-elf): Likewise.
11273         (avr-*-rtems*): Clear extra_parts.
11274         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
11275         Set extra_parts.
11276         (bfin*-uclinux*): Likewise.
11277         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
11278         (bfin*-rtems*): Append to tmake_file.
11279         Set extra_parts.
11280         (bfin*-*): Likewise.
11281         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
11282         (crisv32-*-elf): ... this.
11283         (crisv32-*-none): ... this.
11284         (cris-*-elf, cris-*-none): New cases.
11285         Add cris/t-elfmulti to tmake_file.
11286         (fr30-*-elf): Append to tmake_file.
11287         Set extra_parts.
11288         (frv-*-elf): Append to tmake_file, add frv/t-frv.
11289         Set extra_parts.
11290         (h8300-*-rtems*): Append to tmake_file.
11291         Set extra_parts.
11292         (h8300-*-elf*): Likewise.
11293         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
11294         Set extra_parts.
11295         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
11296         Set extra_parts.
11297         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
11298         (x86_64-*-elf*): Likewise.
11299         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
11300         (x86_64-*-freebsd*): Likewise.
11301         (x86_64-*-netbsd*): Likewise.
11302         (i[34567]86-*-linux*): Likewise.
11303         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11304         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11305         (x86_64-*-linux*): Likewise.
11306         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11307         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
11308         tmake_file.
11309         Set extra_parts.
11310         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
11311         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
11312         Append to extra_parts, remove crtbegin.o, crtend.o.
11313         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
11314         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
11315         crtend.o, crtbeginS.o, crtendS.o.
11316         (ia64*-*-linux*): Comment extra_parts.
11317         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
11318         Set extra_parts.
11319         (iq2000*-*-elf*): Clear extra_parts.
11320         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
11321         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
11322         (m32r-*-elf*, m32r-*-rtems*): Split off ...
11323         (m32r-*-rtems*): ... this.
11324         Add m32r/t-m32r to tmake_file.
11325         (m68k-*-elf*): Add t-crtin to tmake_file.
11326         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
11327         (mcore-*-elf): Likewise.
11328         (microblaze*-*-*): Set extra_parts.
11329         (mips*-sde-elf*): New case.
11330         Set tmake_file, extra_parts.
11331         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
11332         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
11333         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
11334         tmake_file.
11335         Set extra_parts.
11336         (mipsisa64sr71k-*-elf*): Likewise.
11337         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
11338         (mips-*-elf*, mipsel-*-elf*): Likewise.
11339         (mips64-*-elf*, mips64el-*-elf*): Likewise.
11340         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
11341         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
11342         (mips*-*-rtems*): Likewise.
11343         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
11344         (moxie-*-*): Split into ...
11345         (moxie-*-elf, moxie-*-uclinux*): ... this.
11346         Add to extra_parts, remove crtbegin.o, crtend.o.
11347         (moxie-*-rtems*): New case.
11348         Set tmake_file.
11349         Clear extra_parts.
11350         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
11351         Set extra_parts.
11352         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
11353         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
11354         tmake_file.
11355         Set extra_parts.
11356         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
11357         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
11358         Set extra_parts.
11359         (powerpc-*-eabisim*): Likewise.
11360         (powerpc-*-elf*): Likewise.
11361         (powerpc-*-eabialtivec*): Likewise.
11362         (powerpc-xilinx-eabi*): Likewise.
11363         (powerpc-*-eabi*): Likewise.
11364         (powerpc-*-rtems*): Likewise.
11365         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
11366         tmake_file.
11367         Set extra_parts.
11368         (powerpc-*-lynxos*): Add to tmake_file.
11369         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
11370         rs6000/t-crtstuff, t-crtstuff-pic.
11371         Set extra_parts.
11372         (powerpcle-*-eabisim*): Likewise.
11373         (powerpcle-*-eabi*): Likewise.
11374         (rx-*-elf): Remove extra_parts.
11375         (s390x-ibm-tpf*): Set extra_parts.
11376         (score-*-elf): Set extra_parts.
11377         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11378         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11379         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11380         (sh64l*-*-netbsd*): Split into ...
11381         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
11382         Add t-crtstuff-pic to tmake_file.
11383         Set extra_parts.
11384         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
11385         Set extra_parts.
11386         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
11387         (sparc-*-elf*): Remove t-crtin from tmake_file.
11388         Add to extra_parts, remove crtbegin.o, crtend.o.
11389         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
11390         (sparc64-*-linux*): Likewise.
11391         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
11392         Add to extra_parts, remove crtbegin.o, crtend.o.
11393         (sparc64-*-elf*): Remove t-crtin from tmake_file.
11394         Add to extra_parts, remove crtbegin.o, crtend.o.
11395         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
11396         Add to extra_parts, remove crtbegin.o, crtend.o.
11397         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
11398         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
11399         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
11400         Set extra_parts.
11401         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
11402         Set extra_parts.
11403         (tic6x-*-*): Change to ...
11404         (tic6x-*-elf): ... this.
11405         Set extra_parts.
11406         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
11407         Set extra_parts.
11408         (am33_2.0-*-linux*): Add comment.
11409         (mep*-*-*): Add mep/t-mep to tmake_file.
11410         Set extra_parts.
11411         * config/alpha/t-vms: New file.
11412         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
11413         * config/arm/crti.S, config/arm/crtn.S: New files.
11414         * config/bfin/crti.S, config/bfin/crtn.S: New files.
11415         * config/bfin/crtlibid.S: New file.
11416         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
11417         * config/c6x/crti.S, config/c6x/crtn.S: New files.
11418         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
11419         (crti.o, crtin.o): New rules.
11420         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11421         * config/c6x/t-uclinux: New file.
11422         * config/cris/t-elfmulti: New file.
11423         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
11424         * config/fr30/crti.S, config/fr30/crtn.S: New files.
11425         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
11426         * config/frv/t-frv: New file.
11427         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
11428         * config/h8300/crti.S, config/h8300/crtn.S: New files.
11429         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
11430         New files.
11431         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
11432         refer to cygming-crtbegin.c, cygming-crtend.c.
11433         Use $<.
11434         * config/i386/t-nto: New file.
11435         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
11436         * config/ia64/crti.S, config/ia64/crtn.S: New files.
11437         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
11438         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
11439         Use .S extension.
11440         Use $<.
11441         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11442         (crtinitS.o): New rule.
11443         * config/ia64/vms-crtinit.S: New file.
11444         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
11445         * config/m32r/initfini.c: New file.
11446         * config/m32r/t-linux, config/m32r/t-m32r: New files.
11447         * config/m68k/crti.S, config/m68k/crtn.S: New files.
11448         * config/mcore/crti.S, config/mcore/crtn.S: New files.
11449         * config/mep/t-mep: New file.
11450         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
11451         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
11452         * config/mips/crti.S, config/mips/crtn.S: New files.
11453         * config/mips/t-crtstuff: New file.
11454         * config/mmix/crti.S, config/mmix/crtn.S: New files.
11455         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
11456         (CUSTOM_CRTIN): Set.
11457         ($(T)crti.o, $(T)crtn.o): Remove $(T),
11458         dependencies.
11459         Use $(srcdir) to refer to crti.S, crtn.S.
11460         Use .S extension, $<.
11461         * config/moxie/crti.asm: Rename to ...
11462         * config/moxie/crti.S: ... this.
11463         * config/moxie/crtn.asm: Rename to ...
11464         * config/moxie/crtn.S: ... this.
11465         * config/moxie/t-moxie: Remove.
11466         * config/pa/stublib.c: New file.
11467         * config/pa/t-stublib, config/pa/t-stublib64: New files.
11468         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
11469         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
11470         * config/rs6000/t-crtstuff: New file.
11471         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
11472         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
11473         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
11474         Make output file explicit.
11475         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
11476         Make output file explicit.
11477         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
11478         Make output file explicit.
11479         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
11480         Make output file explicit.
11481         * config/score/crti.S, config/score/crtn.S: New files.
11482         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
11483         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
11484         files.
11485         * config/sh/t-sh, config/sh/t-superh: New files.
11486         * config/sparc/t-linux64: New file.
11487         * config/spu/cache.S, config/spu/cachemgr.c: New files.
11488         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
11489         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
11490         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
11491         * config/t-crtin: Remove.
11492         * config/t-crtstuff-pic: New file.
11493         * config/t-sol2 (CUSTOM_CRTIN): Set.
11494         (crti.o, crtn.o): New rules.
11495         * config/vms/t-vms: New file.
11496         * config/vms/vms-ucrt0.c: New file.
11497         * config/xtensa/t-elf: New file.
11499 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11501         * Makefile.in (SHLIB_NM_FLAGS): Set.
11502         * mkmap-flat.awk, mkmap-symver.awk: New files.
11503         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
11504         exceptions.
11505         * configure: Regenerate.
11506         * config/libgcc-glibc.ver: New file.
11507         * config/libgcc-libsystem.ver: New file.
11508         * config/t-libunwind (SHLIB_LC): Set.
11509         * config/t-linux: New file.
11510         * config/t-slibgcc (INSTALL_SHLIB): New.
11511         (SHLIB_INSTALL): Use it.
11512         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
11513         to mkmap-symver.awk.
11514         (SHLIB_MAPFILES): Don't append, adapt pathname.
11515         (SHLIB_VERPFX): Set.
11516         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
11517         to mkmap-symver.awk.
11518         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
11519         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
11520         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
11521         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
11522         to mkmap-flat.awk.
11523         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
11524         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
11525         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
11526         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
11527         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
11528         * config/i386/libgcc-darwin.10.4.ver,
11529         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
11530         New files.
11531         * config/i386/t-darwin: Remove.
11532         * config/i386/t-darwin64: Likewise.
11533         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
11534         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
11535         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
11536         * config/i386/t-linux: New file.
11537         * config/i386/t-mingw32: New file.
11538         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
11539         * config/ia64/t-glibc: Rename to ...
11540         * config/ia64/t-linux: ... this.
11541         (SHLIB_MAPFILES): Set.
11542         * config/ia64/t-glibc-libunwind: Rename to ...
11543         * config/ia64/t-linux-libunwind: ... this.
11544         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
11545         * config/ia64/t-slibgcc-hpux: New file.
11546         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
11547         * config/m68k/t-slibgcc-elf-ver: New file.
11548         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
11549         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
11550         to mkmap-flat.awk.
11551         * config/pa/t-slibgcc-hpux: New file.
11552         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
11553         files.
11554         * config/rs6000/libgcc-darwin.10.4.ver,
11555         config/rs6000/libgcc-darwin.10.5.ver: New files.
11556         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
11557         config/rs6000/libgcc-glibc.ver.
11558         * config/rs6000/libgcc-ppc64.ver: Rename to
11559         config/rs6000/libgcc-ibm-ldouble.ver.
11560         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
11561         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
11562         * config/rs6000/t-ldbl128: Rename to ...
11563         * config/rs6000/t-linux: ... this.
11564         (SHLIB_MAPFILES): Adapt filename.
11565         * config/rs6000/t-slibgcc-aix: New file.
11566         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
11567         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
11568         libgcc-excl.ver, libgcc-glibc.ver.
11569         (SHLIB_LINK, SHLIB_INSTALL): Remove.
11570         * config/sparc/libgcc-glibc.ver: New file.
11571         * config/sparc/t-linux: New file.
11572         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
11573         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
11574         t-slibgcc-elf-ver to tmake_file.
11575         Add t-slibgcc-nolc-override to tmake_file for posix threads on
11576         *-*-freebsd[34].
11577         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11578         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
11579         t-slibgcc-elf-ver, t-linux to tmake_file.
11580         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
11581         tmake_file.
11582         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
11583         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
11584         (alpha*-dec-*vms*): Likewise.
11585         (arm*-*-freebsd*): Append to tmake_file.
11586         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
11587         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
11588         arm*-*-linux-*eabi.
11589         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
11590         tmake_file for arm*-*-symbianelf*.
11591         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
11592         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
11593         cris/t-linux.
11594         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
11595         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
11596         pa/t-slibgcc-dwarf-ver to tmake_file.
11597         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
11598         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
11599         (hppa*64*-*-hpux11*): Likewise.
11600         (hppa[12]*-*-hpux11*): Likewise.
11601         (x86_64-*-darwin*): Don't override tmake_file, but only keep
11602         i386/t-crtpc, i386/t-crtfm.
11603         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
11604         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11605         to tmake_file.
11606         Add i386/t-cygwin to tmake_file.
11607         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
11608         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
11609         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11610         to tmake_file.
11611         Add i386/t-mingw32 to tmake_file.
11612         (x86_64-*-mingw*): Likewise.
11613         (ia64*-*-freebsd*): Append to tmake_file.
11614         (ia64*-*-linux*): Append to tmake_file.
11615         Replace ia64/t-glibc by ia64/t-linux.
11616         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
11617         system libunwind.
11618         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
11619         t-slibgcc-hpux to tmake_file.
11620         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
11621         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
11622         (m32rle-*-linux*): Likewise.
11623         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
11624         sjlj exceptions.
11625         (microblaze*-linux*): New case.
11626         Append to tmake_file, add t-slibgcc-nolc-override.
11627         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
11628         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11629         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
11630         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11631         rs6000/t-slibgcc-aix to tmake_file.
11632         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11633         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11634         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11635         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11636         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11637         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
11638         sh*-*-linux*.
11639         (sparc-*-linux*): Append to tmake_file for *-leon*.
11640         Add sparc/t-linux to tmake_file for non-Leon targets.
11641         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
11642         (tic6x-*-uclinux): New case.
11643         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
11644         (tic6x-*-*): Add c6x/t-elf to tmake_file.
11645         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
11646         (am33_2.0-*-linux*): Append to tmake_file.
11647         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
11648         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
11649         x86_64-*-kfreebsd*-gnu.
11650         Add i386/t-linux to tmake_file.
11652 2011-10-28  Ian Lance Taylor  <iant@google.com>
11654         * config/i386/morestack.S: Correct CFI information to do proper
11655         returns throughout function.  In 32-bit mode, save %ebx so that it
11656         is restored on unwind.
11658 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
11660         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
11661         case where B3 isn't the return register.
11663         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
11664         logic for doubleword pops.
11666 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
11668         * config/rs6000/t-freebsd: Add wildcard.
11670 2011-10-21  Paul Brook  <paul@codesourcery.com>
11672         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
11674 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
11675             Eric Botcazou  <ebotcazou@adacore.com>
11677         PR target/50737
11678         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
11679         fs->signal_frame to 1.
11681 2011-10-07  Ian Lance Taylor  <iant@google.com>
11683         * generic-morestack-thread.c: #include <errno.h>.
11685 2011-10-07  Ian Lance Taylor  <iant@google.com>
11687         PR target/46093
11688         * generic-morestack.c (__generic_morestack): Make sure the segment
11689         is large enough for both the stack frame and the copied
11690         parameters.
11692 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11694         PR bootstrap/49804
11695         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
11696         extra_parts.
11698 2011-09-28  Nick Clifton  <nickc@redhat.com>
11700         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
11701         64-bit doubles are not enabled.
11702         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
11703         and floatunsisf functions.
11705 2011-09-13  Paul Brook  <paul@codesourcery.com>
11707         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
11708         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
11709         * unwind-arm-common.inc: New file.
11710         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
11711         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
11712         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
11713         * config/c6x/libunwind.S: New file.
11714         * config/c6x/pr-support.c: New file.
11715         * config/c6x/unwind-c6x.c: New file.
11716         * config/c6x/unwind-c6x.h: New file.
11717         * config/c6x/t-c6x-elf: New file.
11719 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
11721         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
11722         (ASM_DIVZERO): Ditto.
11723         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
11725 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
11727         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
11729 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
11731         PR target/50090
11732         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
11733         instead of an assembly one.
11735 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
11737         PR bootstrap/50047
11738         * Makefile.in (install-unwind_h): Create
11739         $(gcc_objdir)/include/unwind.h atomically.
11741 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11743         * Makefile.in (install-unwind_h): Remove destination file first.
11745 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11747         * sync.c: New file.
11748         * config/mips/t-mips16: New file.
11749         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
11750         (mips*-*-linux*): Likewise.
11751         (mips*-sde-elf*): Likewise.
11752         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
11753         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
11754         Add mips/t-mips16 to tmake_file.
11755         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
11756         (mips-*-elf*): Likewise.
11757         (mips64-*-elf*): Likewise.
11758         (mips64orion-*-elf*): Likewise.
11759         (mips*-*-rtems*): Likewise.
11760         (mipstx39-*-elf*): Likewise.
11761         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
11762         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
11763         LIBGCC_SYNC_CFLAGS.
11764         Use $(srcdir) to refer to sync.c.
11765         Use $<.
11766         ($(libgcc-sync-funcs-o)): Likewise.
11767         ($(libgcc-sync-size-funcs-s-o)): Likewise.
11768         ($(libgcc-sync-funcs-s-o)): Likewise.
11770 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
11772         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
11773         t-libunwind.
11775 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
11777         PR other/48007
11778         * config/i386/value-unwind.h: New.
11780 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
11782         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
11783         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
11784         Add to tmake_file rather than overriding it.
11786 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11788         * config/t-softfp: Remove.
11789         * soft-fp: Moved from ../gcc/config.
11790         * soft-fp/README: Remove t-softfp reference.
11791         * soft-fp/t-softfp: Move to config/t-softfp.
11792         (softfp_machine_header): Remove.
11793         (softfp_file_list): Remove config subdir.
11794         (soft-fp-objects): New variable.
11795         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
11796         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
11797         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
11798         * config/t-softfp-excl: New file.
11799         * config/t-softfp-sfdf: New file.
11800         * config/t-softfp-tf: New file.
11801         * config/no-sfp-machine.h: New file.
11802         * config/arm/sfp-machine.h: New file.
11803         * config/arm/t-softfp: New file.
11804         * config/c6x/sfp-machine.h: New file.
11805         * config/i386/32/t-fprules-softfp: Rename to ...
11806         * config/i386/32/t-softfp: ... this.
11807         (tifunctions, LIB2ADD): Remove.
11808         (softfp_int_modes): Override.
11809         * config/i386/64/t-softfp-compat (tf-functions): Remove config
11810         subdir.
11811         * config/i386/64/eqtf2.c: Likewise.
11812         * config/i386/64/getf2.c: Likewise.
11813         * config/i386/64/letf2.c: Likewise.
11814         * config/ia64/sft-machine.h: New file.
11815         * config/ia64/t-fprules-softfp: Rename to ...
11816         * config/ia64/t-softfp: ... this.
11817         * config/lm32/sfp-machine.h: New file.
11818         * config/moxie/t-moxie-softfp: Remove.
11819         * config/rs6000/ibm-ldouble-format: New file.
11820         * config/rs6000/ibm-ldouble.c: New file.
11821         * config/rs6000/libgcc-ppc-glibc.ver: New file
11822         * config/rs6000/libgcc-ppc64.ver: New file
11823         * config/rs6000/sfp-machine.h: New file.
11824         * config/rs6000/t-freebsd: New file.
11825         * config/rs6000/t-ibm-ldouble: New file.
11826         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
11827         libgcc-ppc-glibc.ver.
11828         * config/rs6000/t-linux64: New file.
11829         * config/rs6000/t-ppccomm (LIB2ADD): Add
11830         $(srcdir)/config/rs6000/ibm-ldouble.c.
11831         * config/rs6000/t-ppccomm-ldbl: New file.
11832         * config/score/sfp-machine.h: New file.
11833         * config.host (sfp_machine_header): Explain.
11834         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
11835         t-softfp to tmake_file.
11836         (arm*-*-uclinux*): Likewise.
11837         (arm*-*-ecos-elf): Likewise.
11838         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11839         (arm*-*-rtems*): Likewise.
11840         (arm*-*-elf): Likewise.
11841         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
11842         in tmake_file.
11843         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
11844         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
11845         (lm32-*-uclinux*): Likewise.
11846         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
11847         t-softfp-excl, t-softfp.
11848         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
11849         (powerpc64-*-darwin*): Likewise.
11850         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
11851         to tmake_file.
11852         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
11853         tmake_file.
11854         (powerpc-*-eabisim*): Likewise.
11855         (powerpc-*-elf*): Likewise.
11856         (powerpc-*-eabialtivec*): Likewise.
11857         (powerpc-xilinx-eabi*): Likewise.
11858         (powerpc-*-rtems*): Likewise.
11859         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
11860         t-softfp-excl, t-softfp to tmake_file.
11861         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
11862         rs6000/t-ppccomm-ldbl to tmake_file.
11863         (powerpcle-*-elf*): Likewise.
11864         (powerpcle-*-eabisim*): Likewise.
11865         (powerpcle-*-eabi*): Likewise.
11866         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11867         rs6000/t-ibm-ldouble to tmake_file.
11868         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11869         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11870         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
11871         (tic6x-*-*): Likewise.
11872         (i[34567]86-*-darwin*, x86_64-*-darwin*,
11873         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
11874         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
11875         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
11876         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
11877         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
11878         t-softfp to tmake_file.
11879         * configure.ac (sfp_machine_header): Provide default if unset.
11880         Substitute.
11881         Link sfp-machine.h to config/$sfp_machine_header.
11882         * configure: Regenerate.
11884 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11886         * Makefile.in (double_type_size, long_double_type_size): Set.
11887         Remove $(fpbit-in-libgcc) support.
11888         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
11889         (fpbit-src): New variable.
11890         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
11891         Compile with -DFLOAT $(FPBIT_CFLAGS).
11892         Use $<.
11893         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
11894         Compile with $(FPBIT_CFLAGS).
11895         Use $<.
11896         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
11897         Compile with -DFLOAT $(TPBIT_CFLAGS).
11898         Use $<.
11899         * configure.ac (double_type_size, long_double_type_size):
11900         Determine and substitute.
11901         * configure: Regenerate.
11902         * fp-bit.c, fp-bit.h: New files.
11903         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
11904         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
11905         * config/mips/t-mips: New file.
11906         * config/mips/t-sdemtk: New file.
11907         * config/rs6000/ppc64-fp.c: New file.
11908         * config/rs6000/t-darwin (LIB2ADD): Add
11909         $(srcdir)/config/rs6000/ppc64-fp.c.
11910         * config/rs6000/t-ppc64-fp: New file.
11911         * config/rx/rx-lib.h: New file.
11912         * config/rx/t-rx (FPBIT): Set to true.
11913         ($(gcc_objdir)/fp-bit.c): Remove.
11914         (DPBIT): Set to true only with -m64bit-doubles.
11915         ($(gcc_objdir)/dp-bit.c): Remove.
11916         * config/sparc/t-softfp: Remove.
11917         * config/spu/t-elf: New file.
11918         * config/t-fdpbit, config/t-fpbit: New files.
11919         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
11920         (mips*-*-*): Likewise.
11921         (arm-wrs-vxworks): Likewise.
11922         (arm*-*-freebsd*): Likewise.
11923         (avr-*-rtems*): Add t-fpbit to tmake_file.
11924         (avr-*-*): Likewise.
11925         (bfin*-elf*): Add t-fdpbit to tmake_file.
11926         (bfin*-uclinux*): Likewise.
11927         (bfin*-linux-uclibc*): Likewise.
11928         (bfin*-rtems*): New case.
11929         Add t-fdpbit to tmake_file.
11930         (bfin*-*): Add t-fdpbit to tmake_file.
11931         (crisv32-*-elf): Likewise.
11932         (cris-*-linux*): Likewise.
11933         (fr30-*-elf): Likewise.
11934         (frv-*-elf, frv-*-*linux*): Likewise.
11935         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
11936         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
11937         (m32r-*-elf*): Likewise.
11938         (m32rle-*-elf*): Likewise.
11939         (m32r-*-linux*): Likewise.
11940         (m32rle-*-linux*): Likewise.
11941         (mcore-*-elf): Add t-fdpbit to tmake_file.
11942         (microblaze*-*-*): Likewise.
11943         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
11944         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
11945         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
11946         Fix typo.
11947         Add mips/t-tpbit to tmake-file.
11948         (mips*-*-linux*): Fix typo.
11949         (mips*-sde-elf*): New case
11950         Add mips/t-sdemtk unless using newlib.
11951         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
11952         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
11953         (mn10300-*-*): Likewise.
11954         (pdp11-*-*): Likewise.
11955         (picochip-*-*): Add t-fpbit to tmake_file.
11956         (powerpc-*-eabisimaltivec*): Likewise.
11957         (powerpc-*-eabisim*): Likewise.
11958         (powerpc-*-elf*): Likewise.
11959         (powerpc-*-eabialtivec*): Likewise.
11960         (powerpc-xilinx-eabi*): New case.
11961         Add t-fdpbit to tmake_file.
11962         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
11963         (powerpc-*-rtems*): Likewise.
11964         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
11965         tmake_file.
11966         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
11967         tmake_file.
11968         (powerpc-*-lynxos*): Likewise.
11969         (powerpcle-*-elf*): Likewise.
11970         (powerpcle-*-eabisim*): Likewise.
11971         (powerpcle-*-eabi*): Likewise.
11972         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11973         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
11974         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11975         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11976         (rx-*-elf): Add t-fdpbit to tmake_file.
11977         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11978         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11979         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11980         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
11981         sh*-*-netbsd*.
11982         (sh-*-rtems*): Add t-fdpbit to tmake_file.
11983         (sh-wrs-vxworks): Likewise.
11984         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
11985         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
11986         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
11987         (sparc64-*-rtems*): ... new case.
11988         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
11989         (spu-*-elf*): Likewise.
11990         Add spu/t-elf to tmake_file.
11991         (v850*-*-*): Add t-fdpbit to tmake_file.
11992         (xstormy16-*-elf): Likewise.
11993         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
11994         (mep*-*-*): Likewise.
11996 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11998         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
11999         variables.
12000         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
12001         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
12002         (install-unwind_h): New target.
12003         (all): Depend on it.
12004         * config.host (unwind_header): New variable.
12005         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
12006         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
12007         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
12008         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
12009         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
12010         Set unwind_header.
12011         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
12012         Set unwind_header.
12013         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
12014         arm*-*-eabi*.
12015         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
12016         Set unwind_header.
12017         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
12018         (ia64*-*-freebsd*): Likewise.
12019         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
12020         tmake_file.
12021         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
12022         $with_system_libunwind.
12023         (ia64*-*-hpux*): Set tmake_file.
12024         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
12025         (picochip-*-*): Set tmake_file.
12026         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
12027         md_unwind_header.
12028         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
12029         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
12030         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
12031         (xtensa*-*-elf*): Set tmake_file.
12032         (xtensa*-*-linux*): Likewise.
12033         * configure.ac: Include ../config/unwind_ipinfo.m4.
12034         Call GCC_CHECK_UNWIND_GETIPINFO.
12035         Link unwind.h to $unwind_header.
12036         * configure: Regenerate.
12037         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
12038         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
12039         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
12040         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
12041         * config/unwind-dw2-fde-darwin.c: New file.
12042         * config/arm/libunwind.S, config/arm/pr-support.c,
12043         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
12044         config/arm/unwind-arm.h,: New files.
12045         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
12046         config/ia64/t-eh-ia64, config/ia64/t-glibc,
12047         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
12048         config/ia64/t-vms, config/ia64/unwind-ia64.c,
12049         config/ia64/unwind-ia64.h: New files.
12050         * config/picochip/t-picochip: New file.
12051         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
12052         files.
12053         * config/rs6000/t-darwin (LIB2ADDEH): Set.
12054         * config/s390/t-tpf (LIB2ADDEH): Remove.
12055         * config/t-darwin (LIB2ADDEH): Set.
12056         * config/t-eh-dw2-dip: New file.
12057         * config/t-libunwind, config/t-libunwind-elf: New files.
12058         * config/t-sol2 (LIB2ADDEH): Remove.
12059         * config/xtensa/t-xtensa: New file.
12061 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
12063         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
12064         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
12065         long long to check rt_sigreturn syscall.
12067 2011-08-02  Alan Modra  <amodra@gmail.com>
12069         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
12070         Restore for indirect call bcrtl from correct stack slot, and only
12071         if cfa+40 isn't valid.
12073 2011-08-01  Julian Brown  <julian@codesourcery.com>
12075         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
12076         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
12077         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
12079 2011-08-01  Julian Brown  <julian@codesourcery.com>
12081         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
12082         (libgcc-std.ver.in): Use above.
12083         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
12084         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
12085         throughout file.
12086         * config/t-fixedpoint-gnu-prefix: New file.
12087         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
12088         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
12089         instead of __PFX__.
12091 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
12093         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
12094         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
12095         for x86-64.  Properly check __x86_64__ and __LP64__.
12097 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
12099         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
12100         version.
12101         (_FP_WS_TYPE): Likewise.
12102         (_FP_I_TYPE): Likewise.
12104 2011-07-28  Alan Modra  <amodra@gmail.com>
12106         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
12107         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
12108         in a plt call stub.  Do restore r2 if stopped on bctrl.
12110 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12112         * config.host (i[3456x]86-*-netware*): Remove.
12113         * config/i386/netware-crt0.c, config/i386/t-nwld,
12114         config/i386/t-slibgcc-nwld: Remove.
12116 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
12118         * config.host: Handle tic6x-*-*.
12119         * config/c6x/c6x-abi.h: New file.
12121 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12123         * config/i386/crtprec.c: New file.
12124         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
12125         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
12126         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
12127         (x86_64-*-darwin*): Likewise.
12128         (i[34567]86-*-solaris2*: Likewise.
12130 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12132         * config/alpha/crtfastmath.c: New file.
12133         * config/i386/crtfastmath.c: New file.
12134         * config/ia64/crtfastmath.c: New file.
12135         * config/mips/crtfastmath.c: New file.
12136         * config/sparc/crtfastmath.c: New file.
12138         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
12139         crtfastmath.c.
12140         Add -frandom-seed=gcc-crtfastmath.
12141         * config/alpha/t-crtfm: Remove.
12142         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
12143         * config/ia64/t-ia64 (crtfastmath.o): Remove.
12145         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
12146         (alpha*-dec-osf5.1*): Likewise.
12147         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
12148         Add crtfastmath.o to extra_parts.
12149         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
12150         Add crtfastmath.o to extra_parts.
12151         (x86_64-*-darwin*): Likewise.
12152         (x86_64-*-mingw*): Likewise.
12153         (ia64*-*-elf*): Add t-crtfm to tmake_file.
12154         (ia64*-*-freebsd*): Likewise.
12155         (ia64*-*-linux*): Likewise.
12156         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
12157         Add crtfastmath.o to extra_parts.
12159 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12161         * config/darwin-crt3.o: New file.
12162         * config/rs6000/darwin-crt2.c: New file.
12163         * config/t-darwin: New file.
12164         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
12165         (crt2.o): New rule.
12166         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
12167         (powerpc-*-darwin*): Add crt2.o to extra_parts.
12168         (powerpc64-*-darwin*): Likewise.
12170 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12172         * config/i386/netware-crt0.c: New file.
12173         * config/i386/t-nwld: Rename to ...
12174         * config/i386/t-slibgcc-nwld: ... this.
12175         * config/i386/t-nwld: New file.
12176         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
12177         tmake_file.
12178         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
12179         extra_parts.
12181 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12183         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
12184         i386/t-crtstuff.
12185         * configure: Regenerate.
12187 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12189         * dfp-bit.c, dfp-bit.h: New files.
12190         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
12191         variables.
12192         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
12193         ($(d64pbit-o)): Likewise.
12194         ($(d128pbit-o)): Likewise.
12195         * config/t-dfprules: New file.
12196         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
12197         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
12198         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
12199         (x86_64-*-linux*): Likewise.
12200         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
12201         (i[34567]86-*-cygwin*): Likewise.
12202         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
12203         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
12205 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12207         * Makfile.in (LIBGCOV): New variable.
12208         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
12209         * libgcov.c: New file.
12211 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12213         * fixed-bit.c, fixed-bit.h: New files.
12214         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
12215         refer to fixed-bit.c.
12217 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
12219         * config.host (*local*): Remove.
12221 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12223         PR target/39150
12224         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
12225         like i?86-*-solaris2.1[0-9]*.
12226         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
12227         * configure.ac (i?86-*-solaris2*): Likewise.
12228         * configure: Regenerate.
12230 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
12232         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
12233         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
12234         md_unwind_header by splitting out of...
12235         (i[34567]86-*-linux*): ... this.
12236         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
12237         Remove md_unwind_header by splitting out of...
12238         (x86_64-*-linux*): ... this.
12240 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
12242         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
12244 2011-06-28  Nick Clifton  <nickc@redhat.com>
12246         * config.host: Recognize all V850 variants.
12248 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
12250         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
12252 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12254         * shared-object.mk (c_flags-$o): Save c_flags.
12255         ($(base)$(objext)): Use it.
12256         ($(base)_s$(objext)): Likewise.
12258 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
12260         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
12261         * libgcc-std.ver.in (GCC_4.7.0): New section.
12263 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
12265         PR target/49313
12266         PR target/29524
12267         * config/avr/t-avr: Fix line endings.
12268         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
12269         _parityXX2.
12271 2011-06-14  Olivier Hainque  <hainque@adacore.com>
12272             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12274         * config/mips/irix6-unwind.h: New file.
12275         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
12277 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
12279         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
12280         (sparc64_fallback_frame_state): Use it.
12281         (sparc64_frob_update_context): Further adjust context.
12282         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
12283         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
12284         * config/sparc/sol2-cn.S: Likewise.
12286 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12288         * enable-execute-stack-empty.c: New file.
12289         * enable-execute-stack-mprotect.c: New file.
12290         * config/i386/enable-execute-stack-mingw32.c: New file.
12291         * config.host (enable_execute_stack): New variable.
12292         Select appropriate variants.
12293         * configure.ac: Link enable-execute-stack.c to
12294         $enable_execute_stack.
12295         * configure: Regenerate.
12296         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
12297         (lib2funcs): Remove _enable_execute_stack.
12299 2011-06-09  David S. Miller  <davem@davemloft.net>
12300             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12302         * config.host (sparc-*-linux*): Correct md_unwind_header
12303         filename.
12304         (s390x-ibm-tpf*): Fix typo.
12306 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12308         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
12309         Add crtfastmath.o to extra_parts.
12310         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
12311         mips/t-crtfm.
12312         * config/mips/t-crtfm: Remove.
12314 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
12316         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
12318 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
12320         * config.host (sh*-*-linux*): Fix typo.
12322 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12324         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
12325         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
12326         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
12327         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
12328         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
12329         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
12330         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
12331         Wrap in !__MINGW64__.
12332         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
12333         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
12334         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
12335         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
12336         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
12337         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
12338         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
12339         Wrap in !__LP64__.
12340         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
12341         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
12342         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
12343         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
12344         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
12345         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
12346         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
12347         * config/no-unwind.h: New file.
12348         * config.host (md_unwind_header): Document.
12349         Define.
12350         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
12351         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
12352         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
12353         hppa[12]*-*-hpux11*): Set md_unwind_header.
12354         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
12355         Set md_unwind_header.
12356         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
12357         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
12358         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
12359         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
12360         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
12361         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
12362         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
12363         md_unwind_header.
12364         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
12365         * configure: Regenerate.
12367 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12369         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
12370         Set tmake_file, extra_parts.
12371         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
12372         Remove O32 support.
12373         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
12374         Remove O32 support.
12375         * config/mips/t-irix6: New file.
12376         * config/mips/t-slibgcc-irix: New file.
12378 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12380         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
12381         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
12383 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12385         * configure.ac (target_thread_file): Determine thread model.
12386         * configure: Regenerate.
12387         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
12388         * config/alpha/t-alpha: New file.
12389         * config/alpha/t-crtfm: Use $<.
12390         * config/alpha/t-ieee: New file.
12391         * config/alpha/t-osf-pthread: New file.
12392         * config/alpha/t-slibgcc-osf: New file.
12393         * config/alpha/libgcc-osf5.ver: New file.
12395 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12397         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
12398         tmake_file.
12399         Add crtfastmath.o to extra_parts.
12401 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12403         * config/gmon-sol2.c: Reindent.
12404         Cleanup comments.
12405         Remove, correct casts.
12406         Use STDERR_FILENO, NULL.
12407         (BASEADDRESS): Remove.
12408         (minbrk): Remove.
12409         (errno, sbrk): Remove declarations.
12410         (monstartup) [hp300]: Remove.
12411         (mcount): Remove.
12413 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12415         * Makefile.in (cpu_type): Define.
12416         * config.host (i[34567]86-*-rtems*): Handle it.
12417         (i[34567]86-*-solaris2*): Move body ...
12418         (*-*-solaris2*): ... here.
12419         New case, generalize.
12420         (sparc-*-elf*): Handle it.
12421         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
12422         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
12423         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
12424         Fold into ...
12425         (sparc*-*-solaris2*): ... this.
12426         New case.
12427         (sparc64-*-elf*): Handle it.
12428         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
12429         Merge ../gcc/config/i386/gmon-sol2.c.
12430         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
12431         Use C comments.
12432         Merge ../gcc/config/i386/sol2-gc1.asm.
12433         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
12434         Use C comments.
12435         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
12436         Use C comments.
12437         * config/i386/t-crtfm (crtfastmath.o): Use $<.
12438         * config/i386/t-crtstuff: New file.
12439         * config/i386/t-softfp: New file.
12440         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
12441         $(T)crti.o, $(T)crtn.o): Remove.
12442         (gcrt1.o): New rule.
12443         (TARGET_LIBGCC2_CFLAGS): Remove.
12444         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
12445         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
12446         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
12447         * config/sparc/t-sol2: New file.
12448         * config/sparc/t-crtfm: Move to ...
12449         * config/t-crtfm: ... this.
12450         Use $(cpu_type), $<.
12451         * config/t-crtin: New file.
12452         * config/sparc/t-softfp: New file.
12453         * config/sparc/t-softmul: New file.
12454         * config/t-rtems: New file.
12455         * config/t-slibgcc: New file.
12456         * config/t-slibgcc-elf-ver: New file.
12457         * config/t-slibgcc-gld: New file.
12458         * config/t-slibgcc-sld: New file.
12459         * config/t-sol2: New file.
12460         * configure.ac: Include ../config/lib-ld.m4.
12461         Call AC_LIB_PROG_LD_GNU.
12462         Substitute cpu_type.
12463         * configure: Regenerate.
12465 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
12467         PR bootstrap/49173
12468         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
12469         libgcc-std.ver in the build directory.
12470         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
12471         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
12473 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
12475         * libgcc-std.ver.in: New file.
12476         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
12477         variables.
12478         (libgcc-std.ver): New rule.
12479         * config/t-gnu-prefix: New file.
12481 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12483         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
12485 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
12487         * config/i386/darwin-lib.h: New file.
12489 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
12491         * config/arm/symbian-lib.h: New.
12493 2011-05-04  Chris Demetriou  <cgd@google.com>
12495         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
12496         (__x86.get_pc_thunk.bx): ...this.
12497         (__morestack): Adjust for rename, remove undef of __i686.
12499 2011-05-03  Chris Demetriou  <cgd@google.com>
12501         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
12503 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
12505         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
12506         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
12507         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
12508         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
12509         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
12510         Remove cases.
12512 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
12514         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
12515         Adjust copyright year.
12517 2011-03-07  Ian Lance Taylor  <iant@google.com>
12519         * generic-morestack.c (__splitstack_find): Adjust returned stack
12520         pointer to include all registers pushed by __morestack.
12522 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
12524         PR target/40125
12525         * configure.ac: Call ACX_NONCANONICAL_TARGET.
12526         (toolexecdir): Calculate and AC_SUBST.
12527         (toolexeclibdir): Likewise.
12528         * Makefile.in (target_noncanonical): Import.
12529         (toolexecdir): Likewise.
12530         (toolexeclibdir): Likewise.
12531         * configure: Regenerate.
12533 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
12535         PR target/46040
12536         * config/arm/bpabi.h: Rename to...
12537         * config/arm/bpabi-lib.h: ...this.
12539 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12541         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
12542         appropriate.
12543         * configure: Regenerate.
12545 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
12547         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
12548         __FLOAT_WORD_ORDER__.
12549         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
12550         Delete.
12552 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12554         PR other/46202
12555         * Makefile.in (install-strip): New phony target.
12557 2010-11-07  Ian Lance Taylor  <iant@google.com>
12559         PR target/46089
12560         * config/i386/morestack.S (__morestack_large_model): New
12561         function.
12563 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
12565         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
12566         Delete.
12567         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
12569 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
12571         * config/arm/bpabi.h: New file.
12572         * config/frv/frv-abi.h: New file.
12574 2010-10-01  Ian Lance Taylor  <iant@google.com>
12576         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
12577         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
12579 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
12581         PR target/45858
12582         * config.host: Add the missing `$'.
12584 2010-09-30  Michael Eager  <eager@eagercon.com>
12586         * config.host: Add microblaze*-*-*.
12587         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
12588         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
12589         udivsi3.asm,umodsi3.asm}:  New.
12591 2010-09-28  Ian Lance Taylor  <iant@google.com>
12593         * configure.ac: Adjust CFI test to test assembler directly rather
12594         than checking gcc preprocessor macro.
12595         * configure: Rebuild.
12597 2010-09-27  Ian Lance Taylor  <iant@google.com>
12599         * configure.ac: Test whether assembler supports CFI directives.
12600         * config.host: Only add t-stack and i386/t-stack-i386 to
12601         tmake_file if libgcc_cv_cfi is "yes".
12602         * configure: Rebuild.
12604 2010-09-27  Ian Lance Taylor  <iant@google.com>
12606         * generic-morestack.h: New file.
12607         * generic-morestack.c: New file.
12608         * generic-morestack-thread.c: New file.
12609         * config/i386/morestack.S: New file.
12610         * config/t-stack: New file.
12611         * config/i386/t-stack-i386: New file.
12612         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
12613         i386/t-stack-i386 to tmake_file.
12615 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
12617         * Makefile.in (libgcc-extra-parts):  Check for static archives and
12618         invoke ranlib after installing them.
12619         (gcc-extra-parts): Likewise.
12620         (install-leaf): Likewise.
12622 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
12624         * configure: Regenerated.
12626 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
12628         * configure: Regenerated.
12630 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
12631             Andrew Pinski  <pinskia@gmail.com>
12633         PR target/40959
12634         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
12636 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12638         PR target/45524
12639         * configure: Regenerated.
12641 2010-09-06  Andreas Schwab  <schwab@redhat.com>
12643         * configure: Regenerate.
12645 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
12647         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
12648         64bit targets.
12649         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
12650         for 64bit targets.
12652 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
12653             Iain Sandoe  <iains@gcc.gnu.org>
12655         PR target/45476
12656         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
12657         LIB2FUNCS_EXCLUDE functions.
12659 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12661         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
12662         Include dfp.m4.
12663         * configure: Regenerate.
12665 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
12667         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
12668         i386/t-freebsd to tmake_file.
12669         * config/i386/t-freebsd: New file.
12670         * config/i386/libgcc-bsd.ver: New file.
12672 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
12674         * config.host (powerpc*-eabispe*): Set tmake_file.
12675         (powerpc*-eabi*): Likewise.
12676         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
12677         crtbeginS, crtendS, crtbeginT.
12679 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
12681         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
12682         to tmake_file.  Add crtfastmath.o to extra_parts.
12683         * config/mips/t-crtfm: New.
12685 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
12687         * config.host (sparc64-*-rtems*): New target.
12689 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12691         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12692         assembler syntax.
12694 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
12696         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
12698 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12700         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
12701         alpha-dec-osf5.0* support.
12703 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
12705         * config.host: Add lm32-*-rtems*.
12707 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12708             Uros Bizjak  <ubizjak@gmail.com>
12710         PR target/39048
12711         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
12712         like other remaining 32-bit x86 OSes.
12713         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12714         assembler syntax.
12715         * config/i386/libgcc-sol2.ver: New file.
12716         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
12718 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
12720         PR c/43553
12721         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
12722         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
12723         is used and substitute set_use_emutls.
12724         * configure: Regenerated.
12726 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
12728         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
12730 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12732         PR target/38085
12733         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
12734         MULTILIB_CFLAGS.
12735         ($(T)gcrt1.o): Likewise.
12736         ($(T)crt1.o): Likewise.
12737         ($(T)crti.o): Likewise.
12738         ($(T)crtn.o): Likewise.
12740 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12742         PR other/42980
12743         * Makefile.in (install): Use $(MAKE) string in rule, for
12744         parallel make.
12746 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
12748         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
12749         * config/mmix/t-mmix: New file.
12750         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
12752 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
12754         PR java/41991
12755         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
12756         SHLIB_MAPFILES.
12758 2010-01-04  Anthony Green  <green@moxielogic.com>
12760         * config/moxie/crti.asm, config/moxie/crtn.asm,
12761         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
12762         config/moxie/t-moxie: New files.
12763         * config.host: Add t-moxie-softfp reference.
12765 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
12767         PR other/39888
12768         * config/t-slibgcc-darwin: Fix embedded rpaths for
12769         --enable-version-specific-runtime-libs, build extension stub
12770         libs exposing features available from current libgcc_s.
12772 2009-11-11  Jon Beniston  <jon@beniston.com>
12774         * config.host: Add lm32 targets.
12775         * config/lm32: New directory.
12776         * config/lm32/libgcc_lm32.h: New file.
12777         * config/lm32/_mulsi3.c: New file.
12778         * config/lm32/_udivmodsi4.c: New file.
12779         * config/lm32/_divsi3.c: New file.
12780         * config/lm32/_modsi3.c: New file.
12781         * config/lm32/_udivsi3.c: New file.
12782         * config/lm32/_umodsi3.c: New file.
12783         * config/lm32/_lshrsi3.S: New file.
12784         * config/lm32/_ashrsi3.S: New file.
12785         * config/lm32/_ashlsi3.S: New file.
12786         * config/lm32/crti.S: New file.
12787         * config/lm32/crtn.S: New file.
12788         * config/lm32/t-lm32: New file.
12789         * config/lm32/t-elf: New file.
12790         * config/lm32/t-uclinux: New file.
12792 2009-10-26  Nick Clifton  <nickc@redhat.com>
12794         * config.host: Add support for RX target.
12795         * config/rx: New directory.
12796         * config/rx/rx-abi-functions.c: New file. Supplementary
12797         functions for libgcc to support the RX ABI.
12798         * config/rx/rx-abi.h: New file.  Supplementary header file for
12799         libgcc RX ABI functions.
12800         * config/rx/t-rx: New file: Makefile fragment for building
12801         libgcc for the RX.
12803 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
12805         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
12806         constraint of y0 to "g".
12808 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12810         * config.host: Include the s390 makefile fragments.
12811         * config/s390/32/_fixdfdi.c: New file.
12812         * config/s390/32/_fixsfdi.c: New file.
12813         * config/s390/32/_fixtfdi.c: New file.
12814         * config/s390/32/_fixunsdfdi.c: New file.
12815         * config/s390/32/_fixunssfdi.c: New file.
12816         * config/s390/32/_fixunstfdi.c: New file.
12817         * config/s390/32/t-floattodi: New file.
12818         * config/s390/libgcc-glibc.ver: New file.
12819         * config/s390/t-crtstuff: New file.
12820         * config/s390/t-linux: New file.
12821         * config/s390/t-tpf: New file.
12823 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12825         * configure.ac (AC_PREREQ): Bump to 2.64.
12827 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
12829         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
12831 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12833         * configure: Regenerate.
12835 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
12837         * config.host (ia64-hp-*vms*): New target.
12838         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
12839         with ia64-hp-*vms*.
12841 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12843         * configure.ac: Add snippet for maintainer-mode.
12844         * configure: Regenerate.
12845         * Makefile.in (AUTOCONF, configure_deps): New variables.
12846         ($(srcdir)/configure)): New rule, active only with maintainer
12847         mode turned on.
12849 2009-06-23  DJ Delorie  <dj@redhat.com>
12851         Add MeP port.
12852         * config.host: Add mep support.
12854 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
12856         * config.host: Add i386/${host_address}/t-fprules-softfp and
12857         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
12859         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
12860         for mingw targets.
12861         * config/i386/64/_multc3.c: Likewise.
12862         * config/i386/64/_powitf2.c: Likewise.
12863         * config/i386/64/eqtf2.c: Likewise.
12864         * config/i386/64/getf2.c: Likewise.
12865         * config/i386/64/letf2.c: Likewise.
12866         * config/i386/64/letf2.c: Likewise.
12867         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
12868         unsigned long long for x64 mingw targets.
12869         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
12870         (_FP_I_TYPE): Define as long long for x64 mingw target.
12872 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
12874         * config.host (vax-*-linux*): New.
12876 2009-05-31  Anthony Green  <green@moxielogic.com>
12878         * config.host: Add moxie support.
12879         * config/moxie/t-moxie: New file.
12881 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
12883         * config.host: Add i386/${host_address}/t-fprules-softfp and
12884         t-softfp to tmake_file for i[34567]86-*-cygwin*.
12886 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
12888         * config.host: Add i386/${host_address}/t-fprules-softfp to
12889         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
12891 2009-04-09  Nick Clifton  <nickc@redhat.com>
12893         * config/ia64/tf-signs.c: Change copyright header to refer to
12894         version 3 of the GNU General Public License with version 3.1
12895         of the GCC Runtime Library Exception and to point readers at
12896         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
12897         web page.
12898         * config/i386/32/tf-signs.c: Likewise.
12899         * config/libbid/_addsub_dd.c: Likewise.
12900         * config/libbid/_addsub_sd.c: Likewise.
12901         * config/libbid/_addsub_td.c: Likewise.
12902         * config/libbid/_dd_to_df.c: Likewise.
12903         * config/libbid/_dd_to_di.c: Likewise.
12904         * config/libbid/_dd_to_sd.c: Likewise.
12905         * config/libbid/_dd_to_sf.c: Likewise.
12906         * config/libbid/_dd_to_si.c: Likewise.
12907         * config/libbid/_dd_to_td.c: Likewise.
12908         * config/libbid/_dd_to_tf.c: Likewise.
12909         * config/libbid/_dd_to_udi.c: Likewise.
12910         * config/libbid/_dd_to_usi.c: Likewise.
12911         * config/libbid/_dd_to_xf.c: Likewise.
12912         * config/libbid/_df_to_dd.c: Likewise.
12913         * config/libbid/_df_to_sd.c: Likewise.
12914         * config/libbid/_df_to_td.c: Likewise.
12915         * config/libbid/_di_to_dd.c: Likewise.
12916         * config/libbid/_di_to_sd.c: Likewise.
12917         * config/libbid/_di_to_td.c: Likewise.
12918         * config/libbid/_div_dd.c: Likewise.
12919         * config/libbid/_div_sd.c: Likewise.
12920         * config/libbid/_div_td.c: Likewise.
12921         * config/libbid/_eq_dd.c: Likewise.
12922         * config/libbid/_eq_sd.c: Likewise.
12923         * config/libbid/_eq_td.c: Likewise.
12924         * config/libbid/_ge_dd.c: Likewise.
12925         * config/libbid/_ge_sd.c: Likewise.
12926         * config/libbid/_ge_td.c: Likewise.
12927         * config/libbid/_gt_dd.c: Likewise.
12928         * config/libbid/_gt_sd.c: Likewise.
12929         * config/libbid/_gt_td.c: Likewise.
12930         * config/libbid/_isinfd128.c: Likewise.
12931         * config/libbid/_isinfd32.c: Likewise.
12932         * config/libbid/_isinfd64.c: Likewise.
12933         * config/libbid/_le_dd.c: Likewise.
12934         * config/libbid/_le_sd.c: Likewise.
12935         * config/libbid/_le_td.c: Likewise.
12936         * config/libbid/_lt_dd.c: Likewise.
12937         * config/libbid/_lt_sd.c: Likewise.
12938         * config/libbid/_lt_td.c: Likewise.
12939         * config/libbid/_mul_dd.c: Likewise.
12940         * config/libbid/_mul_sd.c: Likewise.
12941         * config/libbid/_mul_td.c: Likewise.
12942         * config/libbid/_ne_dd.c: Likewise.
12943         * config/libbid/_ne_sd.c: Likewise.
12944         * config/libbid/_ne_td.c: Likewise.
12945         * config/libbid/_sd_to_dd.c: Likewise.
12946         * config/libbid/_sd_to_df.c: Likewise.
12947         * config/libbid/_sd_to_di.c: Likewise.
12948         * config/libbid/_sd_to_sf.c: Likewise.
12949         * config/libbid/_sd_to_si.c: Likewise.
12950         * config/libbid/_sd_to_td.c: Likewise.
12951         * config/libbid/_sd_to_tf.c: Likewise.
12952         * config/libbid/_sd_to_udi.c: Likewise.
12953         * config/libbid/_sd_to_usi.c: Likewise.
12954         * config/libbid/_sd_to_xf.c: Likewise.
12955         * config/libbid/_sf_to_dd.c: Likewise.
12956         * config/libbid/_sf_to_sd.c: Likewise.
12957         * config/libbid/_sf_to_td.c: Likewise.
12958         * config/libbid/_si_to_dd.c: Likewise.
12959         * config/libbid/_si_to_sd.c: Likewise.
12960         * config/libbid/_si_to_td.c: Likewise.
12961         * config/libbid/_td_to_dd.c: Likewise.
12962         * config/libbid/_td_to_df.c: Likewise.
12963         * config/libbid/_td_to_di.c: Likewise.
12964         * config/libbid/_td_to_sd.c: Likewise.
12965         * config/libbid/_td_to_sf.c: Likewise.
12966         * config/libbid/_td_to_si.c: Likewise.
12967         * config/libbid/_td_to_tf.c: Likewise.
12968         * config/libbid/_td_to_udi.c: Likewise.
12969         * config/libbid/_td_to_usi.c: Likewise.
12970         * config/libbid/_td_to_xf.c: Likewise.
12971         * config/libbid/_tf_to_dd.c: Likewise.
12972         * config/libbid/_tf_to_sd.c: Likewise.
12973         * config/libbid/_tf_to_td.c: Likewise.
12974         * config/libbid/_udi_to_dd.c: Likewise.
12975         * config/libbid/_udi_to_sd.c: Likewise.
12976         * config/libbid/_udi_to_td.c: Likewise.
12977         * config/libbid/_unord_dd.c: Likewise.
12978         * config/libbid/_unord_sd.c: Likewise.
12979         * config/libbid/_unord_td.c: Likewise.
12980         * config/libbid/_usi_to_dd.c: Likewise.
12981         * config/libbid/_usi_to_sd.c: Likewise.
12982         * config/libbid/_usi_to_td.c: Likewise.
12983         * config/libbid/_xf_to_dd.c: Likewise.
12984         * config/libbid/_xf_to_sd.c: Likewise.
12985         * config/libbid/_xf_to_td.c: Likewise.
12986         * config/libbid/bid128.c: Likewise.
12987         * config/libbid/bid128_2_str.h: Likewise.
12988         * config/libbid/bid128_2_str_macros.h: Likewise.
12989         * config/libbid/bid128_2_str_tables.c: Likewise.
12990         * config/libbid/bid128_add.c: Likewise.
12991         * config/libbid/bid128_compare.c: Likewise.
12992         * config/libbid/bid128_div.c: Likewise.
12993         * config/libbid/bid128_fma.c: Likewise.
12994         * config/libbid/bid128_logb.c: Likewise.
12995         * config/libbid/bid128_minmax.c: Likewise.
12996         * config/libbid/bid128_mul.c: Likewise.
12997         * config/libbid/bid128_next.c: Likewise.
12998         * config/libbid/bid128_noncomp.c: Likewise.
12999         * config/libbid/bid128_quantize.c: Likewise.
13000         * config/libbid/bid128_rem.c: Likewise.
13001         * config/libbid/bid128_round_integral.c: Likewise.
13002         * config/libbid/bid128_scalb.c: Likewise.
13003         * config/libbid/bid128_sqrt.c: Likewise.
13004         * config/libbid/bid128_string.c: Likewise.
13005         * config/libbid/bid128_to_int16.c: Likewise.
13006         * config/libbid/bid128_to_int32.c: Likewise.
13007         * config/libbid/bid128_to_int64.c: Likewise.
13008         * config/libbid/bid128_to_int8.c: Likewise.
13009         * config/libbid/bid128_to_uint16.c: Likewise.
13010         * config/libbid/bid128_to_uint32.c: Likewise.
13011         * config/libbid/bid128_to_uint64.c: Likewise.
13012         * config/libbid/bid128_to_uint8.c: Likewise.
13013         * config/libbid/bid32_to_bid128.c: Likewise.
13014         * config/libbid/bid32_to_bid64.c: Likewise.
13015         * config/libbid/bid64_add.c: Likewise.
13016         * config/libbid/bid64_compare.c: Likewise.
13017         * config/libbid/bid64_div.c: Likewise.
13018         * config/libbid/bid64_fma.c: Likewise.
13019         * config/libbid/bid64_logb.c: Likewise.
13020         * config/libbid/bid64_minmax.c: Likewise.
13021         * config/libbid/bid64_mul.c: Likewise.
13022         * config/libbid/bid64_next.c: Likewise.
13023         * config/libbid/bid64_noncomp.c: Likewise.
13024         * config/libbid/bid64_quantize.c: Likewise.
13025         * config/libbid/bid64_rem.c: Likewise.
13026         * config/libbid/bid64_round_integral.c: Likewise.
13027         * config/libbid/bid64_scalb.c: Likewise.
13028         * config/libbid/bid64_sqrt.c: Likewise.
13029         * config/libbid/bid64_string.c: Likewise.
13030         * config/libbid/bid64_to_bid128.c: Likewise.
13031         * config/libbid/bid64_to_int16.c: Likewise.
13032         * config/libbid/bid64_to_int32.c: Likewise.
13033         * config/libbid/bid64_to_int64.c: Likewise.
13034         * config/libbid/bid64_to_int8.c: Likewise.
13035         * config/libbid/bid64_to_uint16.c: Likewise.
13036         * config/libbid/bid64_to_uint32.c: Likewise.
13037         * config/libbid/bid64_to_uint64.c: Likewise.
13038         * config/libbid/bid64_to_uint8.c: Likewise.
13039         * config/libbid/bid_b2d.h: Likewise.
13040         * config/libbid/bid_binarydecimal.c: Likewise.
13041         * config/libbid/bid_conf.h: Likewise.
13042         * config/libbid/bid_convert_data.c: Likewise.
13043         * config/libbid/bid_decimal_data.c: Likewise.
13044         * config/libbid/bid_decimal_globals.c: Likewise.
13045         * config/libbid/bid_div_macros.h: Likewise.
13046         * config/libbid/bid_dpd.c: Likewise.
13047         * config/libbid/bid_flag_operations.c: Likewise.
13048         * config/libbid/bid_from_int.c: Likewise.
13049         * config/libbid/bid_functions.h: Likewise.
13050         * config/libbid/bid_gcc_intrinsics.h: Likewise.
13051         * config/libbid/bid_inline_add.h: Likewise.
13052         * config/libbid/bid_internal.h: Likewise.
13053         * config/libbid/bid_round.c: Likewise.
13054         * config/libbid/bid_sqrt_macros.h: Likewise.
13056 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
13058         * Makefile.in: Change copyright header to refer to version
13059         3 of the GNU General Public License and to point readers at the
13060         COPYING3 file and the FSF's license web page.
13061         * config.host: Likewise.
13063 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
13065         * config.host: Reorder and merge to match config.gcc change.
13067 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
13069         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
13071 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
13073         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
13074         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
13075         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
13076         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
13078 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
13080         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
13081         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
13083 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
13085         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
13086         ia64/t-softfp-compat to tmake_file.
13088         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
13090         * config/ia64/__divxf3.asm: New.
13091         * config/ia64/_fixtfdi.asm: Likewise.
13092         * config/ia64/_fixunstfdi.asm: Likewise.
13093         * config/ia64/_floatditf.asm: Likewise.
13094         * config/ia64/t-fprules-softfp: Likewise.
13095         * config/ia64/t-softfp-compat: Likewise.
13096         * config/ia64/tf-signs.c: Likewise.
13098 2009-01-18  Ben Elliston  <bje@au.ibm.com>
13100         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
13102 2009-01-16  Ben Elliston  <bje@au.ibm.com>
13104         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
13105         to tmake_file.
13107 2009-01-13  Ben Elliston  <bje@au.ibm.com>
13109         * config/t-softfp: New file.
13110         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
13111         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
13113 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
13115         * config.host: Add m32r*-*-rtems*.
13117 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
13119         * config.host: Add m32c*-*-rtems*.
13121 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13123         PR bootstrap/33100
13124         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
13125         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
13126         * configure: Regenerate.
13127         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
13128         tmake_file here from gcc/config.gcc.
13129         Move extra_parts here from gcc/config.gcc.
13130         * config/i386/t-sol2: Move here from gcc/config/i386.
13131         Use gcc_srcdir instead of srcdir.
13133 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
13135         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
13136         case.
13138 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
13140         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
13142 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
13144         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
13146 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
13148         Add picoChip port.
13149         * config.host: Add picochip-*-*.
13151 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
13153         * config.host: Match more processor names for Xtensa.
13155 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
13157         * config/i386/64/t-softfp-compat: Update comments.
13159 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13161         * config/i386/64/_divtc3-compat.c: Moved to ...
13162         * config/i386/64/_divtc3.c: Here.
13164         * config/i386/64/_multc3-compat.c: Moved to ...
13165         * config/i386/64/_multc3.c: Here.
13167         * config/i386/64/_powitf2-compat.c: Moved to ...
13168         * config/i386/64/_powitf2.c: Here.
13170         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
13171         .c suffix instead of -compat.c.
13173 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
13175         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
13176         (_FP_MUL_MEAT_D): Ditto.
13177         (_FP_DIV_MEAT_S): Ditto.
13178         (_FP_DIV_MEAT_D): Ditto.
13180 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
13182         * Makefile.in: Add support for __sync_* libgcc functions.
13184 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
13186         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
13188 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
13190         PR boostrap/36702
13191         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
13192         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
13194         * config/i386/64/t-fprules-softfp: Moved to ...
13195         * config/i386/64/t-softfp-compat: This.  New.
13197 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
13199         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
13200         Initialize f with 0.0.
13202 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
13204         PR target/36669
13205         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
13207         * config/i386/64/_divtc3-compat.c: New.
13208         * config/i386/64/_multc3-compat.c: Likewise.
13209         * config/i386/64/_powitf2-compat.c: Likewise.
13210         * config/i386/64/eqtf2.c: Likewise.
13211         * config/i386/64/getf2.c: Likewise.
13212         * config/i386/64/letf2.c: Likewise.
13213         * config/i386/64/t-fprules-softfp: Likewise.
13215 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
13217         * config.host: Add i386/${host_address}/t-fprules-softfp to
13218         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
13219         i[34567]86-*-linux*, x86_64-*-linux*.
13221         * configure.ac: Set host_address to 64 or 32 for x86.
13222         * configure: Regenerated.
13224         * Makefile.in (config.status): Also depend on
13225         $(srcdir)/config.host.
13227         * config/i386/32/t-fprules-softfp: New.
13228         * config/i386/32/tf-signs.c: Likewise.
13230         * config/i386/64/sfp-machine.h: New. Moved from gcc.
13232 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
13233             Uros Bizjak  <ubizjak@gmail.com>
13235         * config/i386/32/sfp-machine.h: New.
13237 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
13239         * config/rs6000/t-ppccomm: Remove rules that conflict with
13240         auto-generated rules.
13242 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
13244         * configure.ac: sinclude override.m4.
13245         * configure: Regenerate.
13247 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
13249         * configure: Regenerate.
13251 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
13253         * Makefile.in (DECNUMINC): Remove
13254         -I$(MULTIBUILDTOP)../../libdecnumber.
13255         * gstdint.h: New.
13257 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
13259         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
13260         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
13261         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
13262         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
13263         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
13264         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
13265         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
13266         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
13267         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
13268         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
13269         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
13270         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
13271         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
13272         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
13274 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
13276         * config.host (sh2[lbe]*-*-linux*): Allow target.
13278 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
13280         * config/rs6000/t-ppccomm: Add build rules for new files.
13281         (LIB2ADD_ST): New variable.
13283 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
13285         PR target/34210
13286         PR target/35508
13287         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
13288         * config/t-avr: New file. Build 16bit libgcc functions.
13290 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
13292         PR target/35401
13293         * config/t-slibgcc-darwin: Make install-leaf dependent on
13294         install-darwin-libgcc-stubs instead of install.
13296 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
13298         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
13299         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
13300         sh-*-rtemscoff*): Remove cases.
13302 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
13304         * Makefile.in (all): Use install-leaf rather than install.
13305         (install): Split most of the rule into...
13306         (install-leaf): ...this new one.
13308 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
13309             Paolo Bonzini  <bonzini@gnu.org>
13311         PR target/30572
13312         * Makefile.in: Use @shlib_slibdir@ substitution to get
13313         correct install name on darwin.
13314         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
13316 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
13318         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
13319         cris-*-elf and cris-*-none.
13320         (crisv32-*-linux*): Similar, as cris-*-linux*.
13322 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
13324         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
13326 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
13328         PR regression/33926
13329         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
13330         * configure: Regenerated.
13332 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
13334         * Makefile.in (dfp-filenames): Replace decimal_globals,
13335         decimal_data, binarydecimal and convert_data with
13336         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
13337         and bid_convert_data, respectively.
13339 2007-09-17  Chao-ying Fu  <fu@mips.com>
13340             Nigel Stephens  <nigel@mips.com>
13342         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
13343         * Makefile.in (fixed_point): Define.
13344         Check if fixed_point is yes to build support functions.
13345         * configure.ac: Check for fixed_point support.
13346         * configure: Regenerated.
13347         * gen-fixed.sh: New file to generate lists of fixed-point labels,
13348         funcs, modes, from, to.
13350 2007-09-11  Janis Johnson  <janis187@us.ibm.com
13352         * Makefile.in (dfp-filenames): Add bid128_noncomp.
13354 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
13356         * Makefile.in (dfp-filenames): Remove decUtility, add
13357         decDouble, decPacked, decQuad, decSingle.
13359 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
13361         * config.host : Add x86_64-elf target.
13363 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
13365         * configure.ac (set_have_cc_tls): Add a missing =.
13366         * configure: Regenerated.
13368 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
13370         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
13371         and x86_64-*-linux*.
13373         * config/t-tls: New file.
13375         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
13377         * configure.ac: Include ../config/enable.m4 and
13378         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
13379         supports TLS and substitute set_have_cc_tls.
13380         * configure: Regenerated.
13382 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
13384         * Makefile.in: Use libbid for DFP when BID is enabled.
13386 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
13388         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
13389         extra_parts. Add config/i386/t-cygming to tmake_file.
13390         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
13392 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
13393             Danny Smith  <dannysmith@users.sourceforge.net>
13395         PR target/29498
13396         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
13397         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
13398         * config/i386/t-crtfm: Compile crtfastmath.o with
13399         -minline-all-stringops.
13401 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
13403         * config.host (sparc-wrs-vxworks): New target.
13405 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
13407         * config.host: Recognize fido.
13409 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
13411         * configure: Check host, not target, for decimal float support.
13413 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
13415         * config/i386/t-crtpc: New file.
13416         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
13417         (x86_64-*-linux*): Ditto.
13419 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
13421         * config.host (x86_64-*-mingw*): New target.
13423 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
13424             H.J. Lu  <hongjiu.lu@intel.com>
13426         * Makefile.in (enable_decimal_float): New.
13427         (DECNUMINC): Add
13428         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
13429         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
13430         (decbits-filenames): This.
13431         (decbits-objects): New.
13432         (libgcc-objects): Add $(decbits-objects).
13434         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
13435         Substitute enable_decimal_float.
13436         * configure: Regenerated.
13438 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
13440         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
13442 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
13444         * Makefile.in (install-info): New dummy target.
13446 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
13448         * config.host (bfin*-linux-uclibc*): Set extra_parts.
13450 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
13452         * Makefile.in: Add install-html and install-pdf dummy
13453         targets.
13455 2007-02-05  Roger Sayle  <roger@eyesopen.com>
13456             Daniel Jacobowitz  <dan@codesourcery.com>
13458         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
13459         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
13460         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
13462 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
13464         * Makefile.in (dec-filenames): Add decExcept.
13466 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
13468         PR bootstrap/30469
13469         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
13470         -fprofile-use.
13472 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
13474         * configure.ac: Add --enable-version-specific-runtime-libs.
13475         Correct $slibdir default.
13476         * configure: Regenerated.
13478 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
13480         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
13482 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
13484         PR target/30519
13485         * config.host (alpha*-*-linux*): Set extra_parts.
13487 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
13489         * config/sh/t-linux: New.
13490         * config.host (sh*-*-linux*): Set tmake_file.
13492 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
13494         * Makefile.in (install): Handle multilibs.
13496 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
13498         * Makefile.in: Added .PHONY entry for documentation targets.
13500 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
13502         * Makefile.in: Add empty info, html, dvi, pdf targets.
13504 2007-01-04  Mike Stump  <mrs@apple.com>
13506         * Makefile.in (MAKEINFO): Remove.
13507         (PERL): Likewise.
13509 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
13511         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
13512         * configure: Regenerate.
13513         * Makefile.in (host_subdir): Substitute it.
13514         (gcc_objdir): Use it.
13516 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
13518         * config.host (ia64*-*-linux*): Set tmake_file.
13520 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
13522         * Makefile.in (version): Define.
13524 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
13525             Paolo Bonzini  <bonzini@gnu.org>
13527         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
13528         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
13529         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
13530         config/sparc/t-crtfm, config/t-slibgcc-darwin,
13531         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
13532         shared-object.mk, siditi-object.mk, static-object.mk: New files.
13533         * configure: Generated.
13535 Copyright (C) 2007-2024 Free Software Foundation, Inc.
13537 Copying and distribution of this file, with or without modification,
13538 are permitted in any medium without royalty provided the copyright
13539 notice and this notice are preserved.