testsuite: Fix up gcc.target/aarch64/pr112406.c for modern C [PR112406]
[official-gcc.git] / libgcc / ChangeLog
blobc5cdc111dad6b9745463d223036c48c2fe163ad6
1 2023-12-01  Alexandre Oliva  <oliva@adacore.com>
3         * libgcc-std.ver.in (__hardcfr_check): Add to GCC_14.0.0.
5 2023-12-01  Sebastian Huber  <sebastian.huber@embedded-brains.de>
7         PR target/112777
8         * libgcov.h (GCOV_SUPPORTS_ATOMIC):  Honor that __LIBGCC_HAVE_LIBATOMIC is
9         always defined as either 0 or 1.
11 2023-12-01  Florian Weimer  <fweimer@redhat.com>
13         * config/aarch64/linux-unwind.h
14         (aarch64_fallback_frame_state): Add cast to the expected type
15         in sc assignment.
17 2023-11-30  Wilco Dijkstra  <wilco.dijkstra@arm.com>
19         PR target/111404
20         * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Execute STLXP using
21         either new value or loaded value.
23 2023-11-27  Richard Earnshaw  <rearnsha@arm.com>
25         * config/arm/lib1funcs.S (__sync_synchronize): Adjust warning message.
27 2023-11-24  Richard Earnshaw  <rearnsha@arm.com>
29         * config.host (arm*-*-eabi* | arm*-*-rtems*):
30         Add arm/t-sync to the makefile rules.
31         * config/arm/lib1funcs.S (__sync_synchronize_none)
32         (__sync_synchronize_cp15dmb, __sync_synchronize_dmb)
33         (__sync_synchronize): New functions.
34         * config/arm/t-sync: New file.
35         * config/arm/sync-none.specs: Likewise.
36         * config/arm/sync-dmb.specs: Likewise.
37         * config/arm/sync-cp15dmb.specs: Likewise.
39 2023-11-23  Jose E. Marchesi  <jose.marchesi@oracle.com>
41         * hardcfr.c (__hardcfr_check_fail): Mark as always_inline.
43 2023-11-21  Jakub Jelinek  <jakub@redhat.com>
45         * libgcov.h (GCOV_SUPPORTS_ATOMIC): Formatting fixes.
47 2023-11-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
49         * libgcov.h (GCOV_SUPPORTS_ATOMIC): Always define it.
50         Set it also to 1, if __LIBGCC_HAVE_LIBATOMIC is defined.
52 2023-11-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
54         Revert:
55         2023-11-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
57         * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
58         (gcov_type_unsigned): Likewise.
60 2023-11-10  Keith Packard  <keithp@keithp.com>
62         * config/m68k/lb1sf68.S (__adddf3): Properly check for non-zero denorm.
63         (__divdf3): Restore sign bit properly.
64         (__addsf3): Correct exponent check.
65         * config/m68k/fpgnulib.c (EXPMASK): Define.
66         (__extendsfdf2): Handle Inf and NaN properly.
67         (__truncdfsf2): Handle underflow and overflow correctly.
68         (__extenddfxf2): Handle underflow, denorms, Inf and NaN correctly.
69         (__truncxfdf2): Handle underflow and denorms correctly.
70         (__fixxfsi): Reimplement.
72 2023-11-09  Jakub Jelinek  <jakub@redhat.com>
74         PR libgcc/65833
75         * config/t-softfp (softfp_bid_list): Add
76         {U,}TItype <-> _Decimal{32,64,128} conversions.
77         * soft-fp/floattisd.c: New file.
78         * soft-fp/floattidd.c: New file.
79         * soft-fp/floattitd.c: New file.
80         * soft-fp/floatuntisd.c: New file.
81         * soft-fp/floatuntidd.c: New file.
82         * soft-fp/floatuntitd.c: New file.
83         * soft-fp/fixsdti.c: New file.
84         * soft-fp/fixddti.c: New file.
85         * soft-fp/fixtdti.c: New file.
86         * soft-fp/fixunssdti.c: New file.
87         * soft-fp/fixunsddti.c: New file.
88         * soft-fp/fixunstdti.c: New file.
90 2023-11-07  Kwok Cheung Yeung  <kcy@codesourcery.com>
92         * offloadstuff.c (OFFLOAD_IND_FUNC_TABLE_SECTION_NAME): New.
93         (__offload_ind_func_table): New.
94         (__offload_ind_funcs_end): New.
95         (__OFFLOAD_TABLE__): Add entries for indirect functions.
97 2023-11-03  Thomas Schwinge  <thomas@codesourcery.com>
99         * config/gcn/gthr-gcn.h (__gthread_getspecific): 's%NULL%0'.
101 2023-10-31  Alexandre Oliva  <oliva@adacore.com>
103         * hardcfr.c: Adjust copyright year.
105 2023-10-24  Sergei Trofimovich  <siarheit@google.com>
107         * config/aarch64/heap-trampoline.c: Disable when libc is not
108         present.
109         * config/i386/heap-trampoline.c: Ditto.
111 2023-10-22  Iain Sandoe  <iain@sandoe.co.uk>
113         * config/t-slibgcc-darwin: Generate libgcc_s
114         with an @rpath name.
115         * config.host: Handle Darwin rpaths.
116         * config/t-darwin-rpath: New file.
118 2023-10-22  Andrew Burgess  <andrew.burgess@embecosm.com>
119             Maxim Blinov  <maxim.blinov@embecosm.com>
120             Iain Sandoe  <iain@sandoe.co.uk>
121             Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
123         * libgcc2.h (__builtin_nested_func_ptr_created): Declare.
124         (__builtin_nested_func_ptr_deleted): Declare.
125         * libgcc-std.ver.in: Add the new symbols.
126         * config/aarch64/heap-trampoline.c: Implement heap-based
127         trampolines for aarch64.
128         * config/aarch64/t-heap-trampoline: Add rule to build
129         config/aarch64/heap-trampoline.c
130         * config/i386/heap-trampoline.c: Implement heap-based
131         trampolines for x86_64.
132         * config/i386/t-heap-trampoline: Add rule to build
133         config/i386/heap-trampoline.cc
134         * config.host: Handle --enable-heap-trampolines on
135         x86_64-*-linux*, aarch64-*-linux*, x86_64-*-darwin*.
137 2023-10-20  Andrew Stubbs  <ams@codesourcery.com>
139         * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Set false for __RDNA2__.
141 2023-10-20  Alexandre Oliva  <oliva@adacore.com>
143         * Makefile.in (LIB2ADD): Add hardcfr.c.
144         * hardcfr.c: New.
146 2023-10-13  Florian Weimer  <fweimer@redhat.com>
148         * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Add
149         missing cast.
151 2023-10-13  Florian Weimer  <fweimer@redhat.com>
153         * config/arc/linux-unwind.h (arc_fallback_frame_state): Add
154         missing cast.
156 2023-10-13  Florian Weimer  <fweimer@redhat.com>
158         * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Add
159         missing cast.
161 2023-10-13  Florian Weimer  <fweimer@redhat.com>
163         * config/csky/linux-unwind.h (csky_fallback_frame_state): Add
164         missing cast.
166 2023-10-13  Florian Weimer  <fweimer@redhat.com>
168         * config/m68k/fpgnulib.c (__cmpdf2): Declare.
170 2023-09-26  Wilco Dijkstra  <wilco.dijkstra@arm.com>
172         * config/aarch64/lse.S (BTI_C): Remove define.
174 2023-09-20  Pekka Seppänen  <pexu@gcc.mail.kapsi.fi>
176         * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key):
177         Use const unsigned type and a builtin.
179 2023-09-06  Jakub Jelinek  <jakub@redhat.com>
181         PR c/102989
182         * libgcc2.c (bitint_negate): Add function comment.
183         * soft-fp/bitint.h (bitint_negate): Add function comment.
184         (FP_TO_BITINT, FP_FROM_BITINT): Add comment explaining the macros.
186 2023-09-06  Jakub Jelinek  <jakub@redhat.com>
188         PR c/102989
189         * config/aarch64/t-softfp (softfp_extras): Use += rather than :=.
190         * config/i386/64/t-softfp (softfp_extras): Likewise.
191         * config/i386/libgcc-glibc.ver (GCC_14.0.0): Export _BitInt support
192         routines.
193         * config/i386/t-softfp (softfp_extras): Add fixxfbitint and
194         bf, hf and xf mode floatbitint.
195         (CFLAGS-floatbitintbf.c, CFLAGS-floatbitinthf.c): Add -msse2.
196         * config/riscv/t-softfp32 (softfp_extras): Use += rather than :=.
197         * config/rs6000/t-e500v1-fp (softfp_extras): Likewise.
198         * config/rs6000/t-e500v2-fp (softfp_extras): Likewise.
199         * config/t-softfp (softfp_floatbitint_funcs): New.
200         (softfp_bid_list): New.
201         (softfp_func_list): Add sf and df mode from and to _BitInt libcalls.
202         (softfp_bid_file_list): New.
203         (LIB2ADD_ST): Add $(softfp_bid_file_list).
204         * config/t-softfp-sfdftf (softfp_extras): Add fixtfbitint and
205         floatbitinttf.
206         * config/t-softfp-tf (softfp_extras): Likewise.
207         * libgcc2.c (bitint_reduce_prec): New inline function.
208         (BITINT_INC, BITINT_END): Define.
209         (bitint_mul_1, bitint_addmul_1): New helper functions.
210         (__mulbitint3): New function.
211         (bitint_negate, bitint_submul_1): New helper functions.
212         (__divmodbitint4): New function.
213         * libgcc2.h (LIBGCC2_UNITS_PER_WORD): When building _BitInt support
214         libcalls, redefine depending on __LIBGCC_BITINT_LIMB_WIDTH__.
215         (__mulbitint3, __divmodbitint4): Declare.
216         * libgcc-std.ver.in (GCC_14.0.0): Export _BitInt support routines.
217         * Makefile.in (lib2funcs): Add _mulbitint3.
218         (LIB2_DIVMOD_FUNCS): Add _divmodbitint4.
219         * soft-fp/bitint.h: New file.
220         * soft-fp/fixdfbitint.c: New file.
221         * soft-fp/fixsfbitint.c: New file.
222         * soft-fp/fixtfbitint.c: New file.
223         * soft-fp/fixxfbitint.c: New file.
224         * soft-fp/floatbitintbf.c: New file.
225         * soft-fp/floatbitintdf.c: New file.
226         * soft-fp/floatbitinthf.c: New file.
227         * soft-fp/floatbitintsf.c: New file.
228         * soft-fp/floatbitinttf.c: New file.
229         * soft-fp/floatbitintxf.c: New file.
230         * soft-fp/op-common.h (_FP_FROM_INT): Add support for rsize up to
231         4 * _FP_W_TYPE_SIZE rather than just 2 * _FP_W_TYPE_SIZE.
232         * soft-fp/bitintpow10.c: New file.
233         * soft-fp/fixsdbitint.c: New file.
234         * soft-fp/fixddbitint.c: New file.
235         * soft-fp/fixtdbitint.c: New file.
236         * soft-fp/floatbitintsd.c: New file.
237         * soft-fp/floatbitintdd.c: New file.
238         * soft-fp/floatbitinttd.c: New file.
240 2023-09-06  Jakub Jelinek  <jakub@redhat.com>
242         PR c/102989
243         * soft-fp/bitintpow10.h: New file.
245 2023-09-05  Yang Yujie  <yangyujie@loongson.cn>
247         * config.host: add loongarch*-elf target.
249 2023-08-11  Thomas Neumann  <thomas.neumann@in.tum.de>
251         PR libgcc/110956
252         * unwind-dw2-fde.c: Associate object with address of unwinding
253         table.
255 2023-08-07  John Ericson  <git@JohnEricson.me>
257         * configure: Regenerate.
259 2023-08-07  Alan Modra  <amodra@gmail.com>
261         * configure: Regenerate.
263 2023-07-23  Andrew Pinski  <apinski@marvell.com>
265         * config.host (riscv*-*-linux*): Add t-crtstuff to tmake_file.
266         (riscv*-*-freebsd*): Likewise.
267         * config/riscv/t-crtstuff: New file.
269 2023-07-19  liuhongt  <hongtao.liu@intel.com>
271         * config/i386/t-softfp: Add -msse2 to libbid HFtype related
272         files.
274 2023-07-11  Florian Weimer  <fweimer@redhat.com>
276         PR libgcc/110179
277         * unwind-dw2-fde-dip.c (find_fde_tail): Add cast to avoid
278         implicit conversion of pointer value to integer.
280 2023-07-06  Kito Cheng  <kito.cheng@sifive.com>
282         * config/riscv/sfp-machine.h (FP_INIT_ROUNDMODE): Check zfinx.
283         (FP_HANDLE_EXCEPTIONS): Ditto.
285 2023-06-19  Andrew Stubbs  <ams@codesourcery.com>
287         * config/gcn/lib2-divmod-di.c: Reimplement like lib2-divmod.c.
288         * config/gcn/lib2-divmod.c: Likewise.
289         * config/gcn/lib2-gcn.h: Add new types and prototypes for all the
290         new vector libfuncs.
291         * config/gcn/t-amdgcn: Add new files.
292         * config/gcn/amdgcn_veclib.h: New file.
293         * config/gcn/lib2-vec_divmod-di.c: New file.
294         * config/gcn/lib2-vec_divmod-hi.c: New file.
295         * config/gcn/lib2-vec_divmod-qi.c: New file.
296         * config/gcn/lib2-vec_divmod.c: New file.
298 2023-06-19  Andrew Stubbs  <ams@codesourcery.com>
300         * config/gcn/lib2-gcn.h (QItype, UQItype, HItype, UHItype): Delete.
301         (__divhi3, __modhi3, __udivhi3, __umodhi3): Delete.
302         * config/gcn/t-amdgcn: Don't build lib2-divmod-hi.c.
303         * config/gcn/lib2-divmod-hi.c: Removed.
305 2023-06-07  Florian Weimer  <fweimer@redhat.com>
307         PR libgcc/109712
308         * unwind-dw2-fde-dip.c (find_fde_tail): Correct fast path for
309         parsing eh_frame.
311 2023-06-05  Kewen Lin  <linkw@linux.ibm.com>
313         * config/i386/morestack.S: Use @init_array rather than
314         @progbits for section type of section .init_array.
315         * config/rs6000/morestack.S: Likewise.
316         * config/s390/morestack.S: Likewise.
318 2023-06-05  YunQiang Su  <yunqiang.su@cipunited.com>
320         * config/mips/lib1funcs.S: New file.
321         define __speculation_barrier and include mips16.S.
322         * config/mips/t-mips: define LIB1ASMSRC as mips/lib1funcs.S.
323         define LIB1ASMFUNCS as _speculation_barrier.
324         set version info for __speculation_barrier.
325         * config/mips/libgcc-mips.ver: New file.
326         * config/mips/t-mips16: don't define LIB1ASMSRC as mips16.S
327         included in lib1funcs.S now.
329 2023-06-03  Thomas Neumann  <tneumann@users.sourceforge.net>
331         PR libgcc/109670
332         * unwind-dw2-fde.c: Fix radix sort buffer management.
334 2023-06-03  Thomas Neumann  <tneumann@users.sourceforge.net>
336         PR libgcc/109685
337         * unwind-dw2-fde.c: Free sort array in atomic fast path.
339 2023-05-19  Iain Sandoe  <iain@sandoe.co.uk>
341         * config.host: Arrange to set min Darwin OS versions from
342         the configured host version.
343         * config/darwin10-unwind-find-enc-func.c: Do not use current
344         headers, but declare the nexessary structures locally to the
345         versions in use for Mac OSX 10.6.
346         * config/t-darwin: Amend to handle configured min OS
347         versions.
348         * config/t-darwin-min-1: New.
349         * config/t-darwin-min-5: New.
350         * config/t-darwin-min-8: New.
352 2023-05-15  Thomas Neumann  <tneumann@users.sourceforge.net>
354         * unwind-dw2-fde.c: Fix assert in non-atomic path.
356 2023-05-15  Sören Tempel  <soeren+git@soeren-tempel.net>
358         * unwind-dw2-fde.c: Accept empty ranges when deregistering frames.
360 2023-05-02  Patrick O'Neill  <patrick@rivosinc.com>
362         * config/riscv/atomic.c: Change LR.aq/SC.rl pairs into
363         sequentially consistent LR.aqrl/SC.rl pairs.
365 2023-05-01  Dimitar Dimitrov  <dimitar@dinux.eu>
367         * config/pru/t-pru (HOST_LIBGCC2_CFLAGS): Add
368         -DTARGET_HAS_NO_HW_DIVIDE.
370 2023-04-27  Hans-Peter Nilsson  <hp@axis.com>
372         * config/cris/t-cris (HOST_LIBGCC2_CFLAGS): Add
373         -DTARGET_HAS_NO_HW_DIVIDE.
375 2023-04-26  Patrick O'Neill  <patrick@rivosinc.com>
377         PR target/104338
378         * config/riscv/atomic.c: Add reference to duplicate logic.
380 2023-04-08  Tetsuma Hoshino  <t-hoshino@pony-e.jp>
382         PR target/109402
383         * config/v850/lib1funcs.S (___muldi3): Remove unnecessary
384         stack manipulations.
386 2023-04-05  John David Anglin  <danglin@gcc.gnu.org>
388         PR target/109374
389         * config/pa/milli64.S (RETURN_COLUMN): Define.
390         ($$divI): Add CFI directives.
391         ($$divU): Likewise.
392         ($$remI): Likewise.
393         ($$remU): Likewise.
395 2023-03-19  Stafford Horne  <shorne@gmail.com>
397         * config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
398         statement clearing existing exceptions.
400 2023-03-13  Max Filippov  <jcmvbkbc@gmail.com>
402         * config/xtensa/crti.S: Add .note.GNU-stack section on linux.
403         * config/xtensa/crtn.S: Likewise.
404         * config/xtensa/lib1funcs.S: Likewise.
405         * config/xtensa/lib2funcs.S: Likewise.
407 2023-03-12  Jakub Jelinek  <jakub@redhat.com>
409         * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
410         (softfp_truncations): Add tfbf dfbf sfbf hfbf.
411         (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
412         * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
413         __extendbfsf2 and __trunc{s,d,t,h}fbf2.
414         * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
415         * soft-fp/floatundibf.c: New file.
416         * soft-fp/floatdibf.c: New file.
418 2023-03-10  Jakub Jelinek  <jakub@redhat.com>
420         PR target/107703
421         * soft-fp/floattibf.c: New file.
422         * soft-fp/floatuntibf.c: New file.
423         * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
424         * config/i386/64/t-softfp (softfp_extras): Add floattibf and
425         floatuntibf.
426         (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
428 2023-03-08  Kewen Lin  <linkw@linux.ibm.com>
430         PR libgcc/108727
431         * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
432         bump size.
434 2023-03-06   Michael Meissner  <meissner@linux.ibm.com>
436         PR target/107299
437         * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
438         whether long double is IBM or IEEE.
439         (INFINITY): Likewise.
440         (FABS): Likewise.
441         * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
442         (INFINITY): Likewise.
443         * config/rs6000/quad-float128.h (TF): Remove definition.
444         (TFtype): Define to be long double or _Float128.
445         (TCtype): Define to be _Complex long double or _Complex _Float128.
446         * libgcc2.h (TFtype): Allow machine config files to override this.
447         (TCtype): Likewise.
448         * soft-fp/quad.h (TFtype): Likewise.
450 2023-02-13  Kito Cheng  <kito.cheng@sifive.com>
452         * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
453         * config/riscv/value-unwind.h: New.
455 2023-02-03  Christophe Lyon  <christophe.lyon@arm.com>
457         * config/arm/pr-support.c (__gnu_unwind_execute): Use
458         TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
460 2023-01-30  Flavio Cruz  <flaviocruz@gmail.com>
462         * config.host: Recognize x86_64-*-gnu* targets.
463         * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
464         TODO for now.
466 2023-01-23  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
468         * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
469         "0xb5".
471 2023-01-23  Andrea Corallo  <andrea.corallo@arm.com>
472             Tejas Belagod   <tbelagod@arm.com>
473             Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
475         * config/arm/pr-support.c (__gnu_unwind_execute): Decode
476         exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
477         with AUTG if found.
478         * config/arm/unwind-arm.c (struct pseudo_regs): New.
479         (phase1_vrs): Introduce new field to store pseudo-reg state.
480         (phase2_vrs): Likewise.
481         (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
482         (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
483         (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
485 2023-01-18  Wilco Dijkstra  <wilco.dijkstra@arm.com>
487         PR target/107678
488         * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
489         * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
490         * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
491         encode the return address signing state.
492         * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
493         Check current return address signing state.
494         (aarch64_frob_update_contex): Remove.
496 2023-01-13  John David Anglin  <danglin@gcc.gnu.org>
498         * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
499         pa/t-pa64-linux.
500         (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
501         instead of pa/t-hpux and pa/t-pa64.
502         * config/pa/linux-atomic.c: Define u32 type.
503         (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
504         atomic_load_2, atomic_load_4 and atomic_load_8.  Update sync
505         defines to use atomic_load calls for type.
506         (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
507         * config/pa/sync-libfuncs.c: New file.
508         * config/pa/t-netbsd (LIB2ADD_ST): Define.
509         * config/pa/t-openbsd (LIB2ADD_ST): Define.
510         * config/pa/t-pa64-hpux: New file.
511         * config/pa/t-pa64-linux: New file.
513 2023-01-13  Jonathan Wakely  <jwakely@redhat.com>
515         PR libstdc++/108331
516         * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
517         struct matching the previous __gthread_mutex_t struct.
518         (__GTHREAD_LEGACY_MUTEX_T): Define.
520 2023-01-13  Seija Kijin  <doremylover456@gmail.com>
522         * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
523         unified syntax.
525 2023-01-07  LIU Hao  <lh_mouse@126.com>
527         PR middle-end/108300
528         * config/i386/enable-execute-stack-mingw32.c: Define
529         `WIN32_LEAN_AND_MEAN` before <windows.h>.
530         * libgcc2.c: Likewise.
531         * unwind-generic.h: Likewise.
533 2023-01-03  Florian Weimer  <fweimer@redhat.com>
535         * unwind-dw2-execute_cfa.h: New file.  Extracted from
536         the execute_cfa_program function in unwind-dw2.c.
537         * unwind-dw2.c (execute_cfa_program_generic): New function.
538         (execute_cfa_program_specialized): Likewise.
539         (execute_cfa_program): Call execute_cfa_program_specialized
540         or execute_cfa_program_generic, as appropriate.
542 2023-01-03  Florian Weimer  <fweimer@redhat.com>
544         Revert:
545         2023-01-03  Florian Weimer  <fweimer@redhat.com>
547         * unwind-dw2.c (dwarf_reg_size): New function.
548         (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
549         (_Unwind_SetSpColumn, uw_install_context_1): Use it.
550         (uw_init_context_1): Do not initialize dwarf_reg_size_table
551         if not in use.
553 2023-01-03  Florian Weimer  <fweimer@redhat.com>
555         Revert:
556         2023-01-03  Florian Weimer  <fweimer@redhat.com>
558         * unwind-dw2-execute_cfa.h: New file.  Extracted from
559         the execute_cfa_program function in unwind-dw2.c.
560         * unwind-dw2.c (execute_cfa_program_generic): New function.
561         (execute_cfa_program_specialized): Likewise.
562         (execute_cfa_program): Call execute_cfa_program_specialized
563         or execute_cfa_program_generic, as appropriate.
565 2023-01-02  Florian Weimer  <fweimer@redhat.com>
567         * unwind-dw2-execute_cfa.h: New file.  Extracted from
568         the execute_cfa_program function in unwind-dw2.c.
569         * unwind-dw2.c (execute_cfa_program_generic): New function.
570         (execute_cfa_program_specialized): Likewise.
571         (execute_cfa_program): Call execute_cfa_program_specialized
572         or execute_cfa_program_generic, as appropriate.
574 2023-01-02  Florian Weimer  <fweimer@redhat.com>
576         * unwind-dw2.c (dwarf_reg_size): New function.
577         (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
578         (_Unwind_SetSpColumn, uw_install_context_1): Use it.
579         (uw_init_context_1): Do not initialize dwarf_reg_size_table
580         if not in use.
582 2022-12-25  Jonathan Yong  <10walls@gmail.com>
584         * config/i386/gthr-win32.h: undef CC_NONE
586 2022-12-24  Iain Sandoe  <iain@sandoe.co.uk>
588         * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
589         install of libgcc_s.1.dylib when the installation is into the build
590         gcc directory.
592 2022-12-23  Eric Botcazou  <ebotcazou@adacore.com>
594         * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
595         as well as new i386/t-slibgcc-mingw fragment.
596         (x86_64-*-mingw*): Likewise.
597         * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
598         both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
599         Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
600         Include stdlib.h instead of errno.h and do not include _mingw.h.
601         (CONST_CAST2): Add specific definition for C++.
602         (ATTRIBUTE_UNUSED): New macro.
603         (__UNUSED_PARAM): Delete.
604         Define WIN32_LEAN_AND_MEAN before including windows.h.
605         (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
606         (__gthread_objc_init_thread_system): Likewise.
607         (__gthread_objc_thread_get_data): Minor tweak.
608         (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
609         (__gthread_objc_condition_deallocate): Likewise.
610         (__gthread_objc_condition_wait): Likewise.
611         (__gthread_objc_condition_broadcast): Likewise.
612         (__gthread_objc_condition_signal): Likewise.
613         Include sys/time.h.
614         (__gthr_win32_DWORD): New typedef.
615         (__gthr_win32_HANDLE): Likewise.
616         (__gthr_win32_CRITICAL_SECTION): Likewise.
617         (__gthr_win32_CONDITION_VARIABLE): Likewise.
618         (__gthread_t): Adjust.
619         (__gthread_key_t): Likewise.
620         (__gthread_mutex_t): Likewise.
621         (__gthread_recursive_mutex_t): Likewise.
622         (__gthread_cond_t): New typedef.
623         (__gthread_time_t): Likewise.
624         (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
625         (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
626         (__GTHREAD_COND_INIT_FUNCTION): Define.
627         (__GTHREAD_TIME_INIT): Likewise.
628         (__gthr_i486_lock_cmp_xchg): Delete.
629         (__gthr_win32_create): Declare.
630         (__gthr_win32_join): Likewise.
631         (__gthr_win32_self): Likewise.
632         (__gthr_win32_detach): Likewise.
633         (__gthr_win32_equal): Likewise.
634         (__gthr_win32_yield): Likewise.
635         (__gthr_win32_mutex_destroy): Likewise.
636         (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
637         (__gthr_win32_cond_broadcast): Likewise.
638         (__gthr_win32_cond_signal): Likewise.
639         (__gthr_win32_cond_wait): Likewise.
640         (__gthr_win32_cond_timedwait): Likewise.
641         (__gthr_win32_recursive_mutex_init_function): Delete.
642         (__gthr_win32_recursive_mutex_lock): Likewise.
643         (__gthr_win32_recursive_mutex_unlock): Likewise.
644         (__gthr_win32_recursive_mutex_destroy): Likewise.
645         (__gthread_create): New inline function.
646         (__gthread_join): Likewise.
647         (__gthread_self): Likewise.
648         (__gthread_detach): Likewise.
649         (__gthread_equal): Likewise.
650         (__gthread_yield): Likewise.
651         (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
652         (__gthread_cond_broadcast): Likewise.
653         (__gthread_cond_signal): Likewise.
654         (__gthread_cond_wait): Likewise.
655         (__gthread_cond_timedwait): Likewise.
656         (__GTHREAD_WIN32_INLINE): New macro.
657         (__GTHREAD_WIN32_COND_INLINE): Likewise.
658         (__GTHREAD_WIN32_ACTIVE_P): Likewise.
659         Define WIN32_LEAN_AND_MEAN before including windows.h.
660         (__gthread_once): Minor tweaks.
661         (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
662         (__gthread_key_delete): Minor tweak.
663         (__gthread_getspecific): Likewise.
664         (__gthread_setspecific): Likewise.
665         (__gthread_mutex_init_function): Reimplement.
666         (__gthread_mutex_destroy): Likewise.
667         (__gthread_mutex_lock): Likewise.
668         (__gthread_mutex_trylock): Likewise.
669         (__gthread_mutex_unlock): Likewise.
670         (__gthr_win32_abs_to_rel_time): Declare.
671         (__gthread_recursive_mutex_init_function): Reimplement.
672         (__gthread_recursive_mutex_destroy): Likewise.
673         (__gthread_recursive_mutex_lock): Likewise.
674         (__gthread_recursive_mutex_trylock): Likewise.
675         (__gthread_recursive_mutex_unlock): Likewise.
676         (__gthread_cond_destroy): New inline function.
677         (__gthread_cond_wait_recursive): Likewise.
678         * config/i386/gthr-win32.c: Delete everything.
679         Include gthr-win32.h to get the out-of-line version of inline routines.
680         Add compile-time checks for the local version of the Win32 types.
681         * config/i386/gthr-win32-cond.c: New file.
682         * config/i386/gthr-win32-thread.c: Likewise.
683         * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
684         EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
685         the static version of libgcc.
686         * config/i386/t-slibgcc-mingw: New file.
687         * config/i386/libgcc-mingw.ver: Likewise.
689 2022-12-16  Thomas Neumann  <tneumann@users.sourceforge.net>
691         * unwind-dw2-fde.c: Initialize fde object lazily when
692         the first exception tries to pass through.
694 2022-12-16  Thomas Neumann  <tneumann@users.sourceforge.net>
696         * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
698 2022-12-08  Max Filippov  <jcmvbkbc@gmail.com>
700         * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
701         (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
702         (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
703         (XSHAL_ABI): Remove stray symbols from macro definitions.
705 2022-12-07  Max Filippov  <jcmvbkbc@gmail.com>
707         * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
708         xtensa-config-builtin.h.
709         * config/xtensa/crtn.S: Likewise.
710         * config/xtensa/lib1funcs.S: Likewise.
711         * config/xtensa/lib2funcs.S: Likewise.
712         * config/xtensa/xtensa-config-builtin.h: New File.
714 2022-11-04  Florian Weimer  <fweimer@redhat.com>
716         * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
717         values actually used by BFD ld.
719 2022-10-23  LIU Hao  <lh_mouse@126.com>
721         * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
722         libobjc, instead of 'gthr.h'
724 2022-10-19  LIU Hao  <lh_mouse@126.com>
726         * config.host: Add new cases for `mcf` thread model
727         * config/i386/gthr-mcf.h: New file
728         * config/i386/t-mingw-mcfgthread: New file
729         * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
730         * configure: Regenerate
732 2022-10-18  Jonathan Wakely  <jwakely@redhat.com>
734         * Makefile.in: Quote variable.
736 2022-10-17  H.J. Lu  <hjl.tools@gmail.com>
738         * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
739         argument.
740         * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
741         _Unwind_Frames_Increment.
742         (_Unwind_ForcedUnwind_Phase2): Likewise.
743         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
744         Take the EXC argument.  Return _URC_FATAL_PHASE2_ERROR if the
745         return address on normal stack doesn't match the return address
746         on shadow stack.
748 2022-10-17  Florian Weimer  <fweimer@redhat.com>
750         * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
751         and reduce its size.
753 2022-10-14  Jakub Jelinek  <jakub@redhat.com>
755         * config/i386/t-softfp (softfp_extensions): Add bfsf.
756         (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
757         (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
758         CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
759         -msse2.
760         * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
761         __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
762         * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
763         * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
764         * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
765         * soft-fp/brain.h: New file.
766         * soft-fp/truncsfbf2.c: New file.
767         * soft-fp/truncdfbf2.c: New file.
768         * soft-fp/truncxfbf2.c: New file.
769         * soft-fp/trunctfbf2.c: New file.
770         * soft-fp/trunchfbf2.c: New file.
771         * soft-fp/truncbfhf2.c: New file.
772         * soft-fp/extendbfsf2.c: New file.
774 2022-10-12  Martin Liska  <mliska@suse.cz>
776         * libgcov-driver.c: Use new function.
777         * libgcov.h (gcov_write_summary): Rename to ...
778         (gcov_write_object_summary): ... this.
780 2022-10-11  Olivier Hainque  <hainque@adacore.com>
782         * config.host (*vxworks*): When enable_shared, add
783         libgcc and crtstuff "shared" fragments for rtp except
784         large code model.
785         (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
786         the list of fragments.
788 2022-10-06  Jakub Jelinek  <jakub@redhat.com>
790         * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
791         fs->regs.how[X] instead of fs->regs.reg[X].how.
793 2022-10-06  Jakub Jelinek  <jakub@redhat.com>
795         * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
796         REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
797         REG_UNDEFINED): New anonymous enum, moved from inside of
798         struct frame_state_reg_info.
799         (struct frame_state_reg_info): Remove reg[].how element and the
800         anonymous enum there.  Add how element.
801         * unwind-dw2.c: Include stddef.h.
802         (uw_frame_state_for): Don't clear first
803         offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
804         (execute_cfa_program, __frame_state_for, uw_update_context_1,
805         uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
806         or fs.regs.how[X] instead of fs.regs.reg[X].how.
807         * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
808         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
809         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
810         * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
811         UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
812         Likewise.
813         * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
814         Likewise.
815         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
816         * config/arc/linux-unwind.h (arc_fallback_frame_state,
817         arc_frob_update_context): Likewise.
818         * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
819         * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
820         * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
821         * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
822         * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
823         * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
824         MD_FALLBACK_FRAME_STATE_FOR): Likewise.
825         * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
826         sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
827         * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
828         x86_fallback_frame_state): Likewise.
829         * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
830         * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
831         x86_fallback_frame_state): Likewise.
832         * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
833         Likewise.
834         * config/i386/dragonfly-unwind.h
835         (x86_64_dragonfly_fallback_frame_state): Likewise.
836         * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
837         * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
838         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
839         Likewise.
840         * config/aarch64/freebsd-unwind.h
841         (aarch64_freebsd_fallback_frame_state): Likewise.
842         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
843         Likewise.
844         * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
845         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
846         * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
847         Likewise.
848         * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
849         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
850         Likewise.
851         * config/rs6000/darwin-fallback.c (set_offset): Likewise.
852         * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
853         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
854         * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
856 2022-10-02  Olivier Hainque  <hainque@adacore.com>
858         * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment.  Move
859         -I options for gcc/include and gcc/include-fixed at the end
860         and make them -isystem.
862 2022-10-02  Olivier Hainque  <hainque@adacore.com>
864         * config/gthr-vxworks.h: Prevent Wpragma warning for the
865         pragma diagnostics on Wstrict-prototypes.
867 2022-09-29  Olivier Hainque  <hainque@adacore.com>
869         * config/vxcrtstuff.c: Improve the comment attached to the use
870         of auto-host.h and of __dso_handle.  Remove redundant guard on
871         HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
873 2022-09-26  Thomas Neumann  <tneumann@users.sourceforge.net>
875         * unwind-dw2-fde.c: Introduce a constant for in_shutdown
876         for the non-fast-path case. Drop destructor priority.
878 2022-09-22  Thomas Neumann  <tneumann@users.sourceforge.net>
880         * unwind-dw2-fde.c: (release_register_frames) Remember
881         when the btree has been destroyed.
882         (__deregister_frame_info_bases) Disable the assert when
883         shutting down.
885 2022-09-18  Thomas Neumann  <tneumann@users.sourceforge.net>
887         * unwind-dw2-fde.c: Replace uintptr_t with typedef
888         for __UINTPTR_TYPE__.
889         * unwind-dw2-btree.h: Likewise.
891 2022-09-16  Thomas Neumann  <tneumann@users.sourceforge.net>
893         * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
894         (__register_frame_info_table_bases): Use btree in atomic fast path.
895         (__deregister_frame_info_bases): Likewise.
896         (_Unwind_Find_FDE): Likewise.
897         (base_from_object): Make parameter const.
898         (classify_object_over_fdes): Add query-only mode.
899         (get_pc_range): Compute PC range for lookup.
900         * unwind-dw2-fde.h (last_fde): Make parameter const.
901         * unwind-dw2-btree.h: New file.
903 2022-08-31  Martin Liska  <mliska@suse.cz>
905         * config.host: Remove hppa.
907 2022-08-30  Martin Liska  <mliska@suse.cz>
909         * config.host: Remove the port.
911 2022-08-26  Martin Liska  <mliska@suse.cz>
913         * config.host: Remove cr16 related stuff.
914         * config/cr16/crti.S: Removed.
915         * config/cr16/crtlibid.S: Removed.
916         * config/cr16/crtn.S: Removed.
917         * config/cr16/divmodhi3.c: Removed.
918         * config/cr16/lib1funcs.S: Removed.
919         * config/cr16/t-cr16: Removed.
920         * config/cr16/t-crtlibid: Removed.
921         * config/cr16/unwind-cr16.c: Removed.
922         * config/cr16/unwind-dw2.h: Removed.
924 2022-08-16  Kito Cheng  <kito.cheng@sifive.com>
926         * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
927         (_FP_NANFRAC_H): Ditto.
928         (_FP_NANSIGN_H): Ditto.
929         * config/riscv/t-softfp32 (softfp_extensions): Add HF related
930         routines.
931         (softfp_truncations): Ditto.
932         (softfp_extras): Ditto.
933         * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
935 2022-08-16  Kito Cheng  <kito.cheng@sifive.com>
937         * soft-fp/fixhfdi.c: New.
938         * soft-fp/fixhfsi.c: Likewise.
939         * soft-fp/fixunshfdi.c: Likewise.
940         * soft-fp/fixunshfsi.c: Likewise.
941         * soft-fp/floatdihf.c: Likewise.
942         * soft-fp/floatsihf.c: Likewise.
943         * soft-fp/floatundihf.c: Likewise.
944         * soft-fp/floatunsihf.c: Likewise.
945         * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
946         lines and update URL for license.
947         * soft-fp/addsf3.c: Likewise.
948         * soft-fp/addtf3.c: Likewise.
949         * soft-fp/divdf3.c: Likewise.
950         * soft-fp/divsf3.c: Likewise.
951         * soft-fp/divtf3.c: Likewise.
952         * soft-fp/double.h: Likewise.
953         * soft-fp/eqdf2.c: Likewise.
954         * soft-fp/eqhf2.c: Likewise.
955         * soft-fp/eqsf2.c: Likewise.
956         * soft-fp/eqtf2.c: Likewise.
957         * soft-fp/extenddftf2.c: Likewise.
958         * soft-fp/extended.h: Likewise.
959         * soft-fp/extendhfdf2.c: Likewise.
960         * soft-fp/extendhfsf2.c: Likewise.
961         * soft-fp/extendhftf2.c: Likewise.
962         * soft-fp/extendhfxf2.c: Likewise.
963         * soft-fp/extendsfdf2.c: Likewise.
964         * soft-fp/extendsftf2.c: Likewise.
965         * soft-fp/extendxftf2.c: Likewise.
966         * soft-fp/fixdfdi.c: Likewise.
967         * soft-fp/fixdfsi.c: Likewise.
968         * soft-fp/fixdfti.c: Likewise.
969         * soft-fp/fixhfti.c: Likewise.
970         * soft-fp/fixsfdi.c: Likewise.
971         * soft-fp/fixsfsi.c: Likewise.
972         * soft-fp/fixsfti.c: Likewise.
973         * soft-fp/fixtfdi.c: Likewise.
974         * soft-fp/fixtfsi.c: Likewise.
975         * soft-fp/fixtfti.c: Likewise.
976         * soft-fp/fixunsdfdi.c: Likewise.
977         * soft-fp/fixunsdfsi.c: Likewise.
978         * soft-fp/fixunsdfti.c: Likewise.
979         * soft-fp/fixunshfti.c: Likewise.
980         * soft-fp/fixunssfdi.c: Likewise.
981         * soft-fp/fixunssfsi.c: Likewise.
982         * soft-fp/fixunssfti.c: Likewise.
983         * soft-fp/fixunstfdi.c: Likewise.
984         * soft-fp/fixunstfsi.c: Likewise.
985         * soft-fp/fixunstfti.c: Likewise.
986         * soft-fp/floatdidf.c: Likewise.
987         * soft-fp/floatdisf.c: Likewise.
988         * soft-fp/floatditf.c: Likewise.
989         * soft-fp/floatsidf.c: Likewise.
990         * soft-fp/floatsisf.c: Likewise.
991         * soft-fp/floatsitf.c: Likewise.
992         * soft-fp/floattidf.c: Likewise.
993         * soft-fp/floattihf.c: Likewise.
994         * soft-fp/floattisf.c: Likewise.
995         * soft-fp/floattitf.c: Likewise.
996         * soft-fp/floatundidf.c: Likewise.
997         * soft-fp/floatundisf.c: Likewise.
998         * soft-fp/floatunditf.c: Likewise.
999         * soft-fp/floatunsidf.c: Likewise.
1000         * soft-fp/floatunsisf.c: Likewise.
1001         * soft-fp/floatunsitf.c: Likewise.
1002         * soft-fp/floatuntidf.c: Likewise.
1003         * soft-fp/floatuntihf.c: Likewise.
1004         * soft-fp/floatuntisf.c: Likewise.
1005         * soft-fp/floatuntitf.c: Likewise.
1006         * soft-fp/gedf2.c: Likewise.
1007         * soft-fp/gesf2.c: Likewise.
1008         * soft-fp/getf2.c: Likewise.
1009         * soft-fp/half.h: Likewise.
1010         * soft-fp/ledf2.c: Likewise.
1011         * soft-fp/lesf2.c: Likewise.
1012         * soft-fp/letf2.c: Likewise.
1013         * soft-fp/muldf3.c: Likewise.
1014         * soft-fp/mulsf3.c: Likewise.
1015         * soft-fp/multf3.c: Likewise.
1016         * soft-fp/negdf2.c: Likewise.
1017         * soft-fp/negsf2.c: Likewise.
1018         * soft-fp/negtf2.c: Likewise.
1019         * soft-fp/op-1.h: Likewise.
1020         * soft-fp/op-2.h: Likewise.
1021         * soft-fp/op-4.h: Likewise.
1022         * soft-fp/op-8.h: Likewise.
1023         * soft-fp/op-common.h: Likewise.
1024         * soft-fp/quad.h: Likewise.
1025         * soft-fp/single.h: Likewise.
1026         * soft-fp/soft-fp.h: Likewise.
1027         * soft-fp/subdf3.c: Likewise.
1028         * soft-fp/subsf3.c: Likewise.
1029         * soft-fp/subtf3.c: Likewise.
1030         * soft-fp/truncdfhf2.c: Likewise.
1031         * soft-fp/truncdfsf2.c: Likewise.
1032         * soft-fp/truncsfhf2.c: Likewise.
1033         * soft-fp/trunctfdf2.c: Likewise.
1034         * soft-fp/trunctfhf2.c: Likewise.
1035         * soft-fp/trunctfsf2.c: Likewise.
1036         * soft-fp/trunctfxf2.c: Likewise.
1037         * soft-fp/truncxfhf2.c: Likewise.
1038         * soft-fp/unorddf2.c: Likewise.
1039         * soft-fp/unordsf2.c: Likewise.
1040         * soft-fp/unordtf2.c: Likewise.
1042 2022-07-18  Claudiu Zissulescu  <claziss@synopsys.com>
1044         * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
1045         * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
1046         configurations.
1048 2022-06-25  Jeff Law  <jeffreyalaw@gmail.com>
1050         * config.host: Removed tilegx and tilepro entries.
1051         * config/tilegx/sfp-machine.h: Removed.
1052         * config/tilegx/sfp-machine32.h: Removed.
1053         * config/tilegx/sfp-machine64.h: Removed.
1054         * config/tilegx/t-crtstuff: Removed.
1055         * config/tilegx/t-softfp: Removed.
1056         * config/tilegx/t-tilegx: Removed.
1057         * config/tilepro/atomic.c: Removed.
1058         * config/tilepro/atomic.h: Removed.
1059         * config/tilepro/linux-unwind.h: Removed.
1060         * config/tilepro/sfp-machine.h: Removed.
1061         * config/tilepro/softdivide.c: Removed.
1062         * config/tilepro/softmpy.S: Removed.
1063         * config/tilepro/t-crtstuff: Removed.
1064         * config/tilepro/t-tilepro: Removed.
1066 2022-06-09  Takayuki 'January June' Suwa  <jjsuwa_sys3175@yahoo.co.jp>
1068         * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
1069         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
1071 2022-06-01  H.J. Lu  <hjl.tools@gmail.com>
1073         PR libgcc/27576
1074         * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
1076 2022-05-25  Wilco Dijkstra  <wilco.dijkstra@arm.com>
1078         PR libgcc/105708
1079         * config/aarch64/lse-init.c: Increase constructor priority.
1081 2022-05-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1083         PR target/104689
1084         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1085         Handle the !REG_UNSAVED case.
1086         * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
1088 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
1090         * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
1091         (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
1092         (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
1094 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
1096         * config.host: Add t-dfprules to AArch64 targets.
1098 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
1100         * configure: Regenerate.
1102 2022-05-13  Sebastian Pop  <spop@amazon.com>
1104         PR target/105162
1105         * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
1106         * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
1108 2022-05-10  Martin Liska  <mliska@suse.cz>
1109             Hans-Peter Helfert  <peter-helfert@t-online.de>
1111         PR gcov-profile/105535
1112         * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
1113         n_functions.
1115 2022-05-02  Martin Liska  <mliska@suse.cz>
1117         * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
1119 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1121         * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
1122         (gcov_profile_merge_stream): Likewise.
1124 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1126         * libgcov-util.c (consume_stream): New.
1127         (get_target_profiles_for_merge): Likewise.
1128         (gcov_profile_merge_stream): Likewise.
1130 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1132         * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
1134 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1136         * libgcov-util.c (read_gcda_file): Do not open file.
1137         (ftw_read_file): Open file here.
1139 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1141         * libgcov-util.c (read_gcda_file): Prepend new info object to global
1142         list.
1143         (ftw_read_file): Remove list append here.
1145 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1147         * libgcov-util.c (read_gcda_file): Do not duplicate filename.
1148         (ftw_read_file): Duplicate filename for read_gcda_file().
1150 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1152         * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
1153         (__gcov_filename_to_gcfn): Declare and document.
1154         * libgcov-driver.c (dump_string): New.
1155         (__gcov_filename_to_gcfn): Likewise.
1156         (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
1158 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1160         * libgcov.h (gcov_seek): Remove define and declaration.
1162 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1164         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
1165         parameter.  Pass mode to gcov_open() calls.
1166         * libgcov-driver.c (dump_one_gcov):  Add mode parameter.  Pass mode to
1167         gcov_exit_open_gcda_file() call.
1168         (gcov_do_dump): Add mode parameter.  Pass mode to dump_one_gcov()
1169         calls.
1170         (__gcov_dump_one):  Open file for reading and writing.
1172 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1174         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
1175         reading and writing.
1176         * libgcov-util.c (read_gcda_file): Open file for reading.
1177         * libgcov.h (gcov_open): Delete declaration.
1179 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1181         * libgcov-util.c (gcov_profile_merge): Return the list of merged
1182         profiles.  Accept empty target and source profile lists.
1184 2022-04-08  Sergei Trofimovich  <siarheit@google.com>
1186         * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
1188 2022-03-29  Chenghua Xu  <xuchenghua@loongson.cn>
1189             Lulu Cheng  <chenglulu@loongson.cn>
1191         * configure: Regenerate file.
1193 2022-03-29  Chenghua Xu  <xuchenghua@loongson.cn>
1194             Lulu Cheng  <chenglulu@loongson.cn>
1196         * config/loongarch/crtfastmath.c: New file.
1197         * config/loongarch/linux-unwind.h: Like wise.
1198         * config/loongarch/sfp-machine.h: Like wise.
1199         * config/loongarch/t-crtstuff: Like wise.
1200         * config/loongarch/t-loongarch: Like wise.
1201         * config/loongarch/t-loongarch64: Like wise.
1202         * config/loongarch/t-softfp-tf: Like wise.
1203         * config.host: Add LoongArch tuples.
1204         * configure.ac: Add LoongArch support.
1206 2022-03-19  Sergei Trofimovich  <slyfox at gentoo dot org>
1208         PR libgcc/86224
1209         * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
1210         for __mulsi3.
1211         (__udivsi3_internal, __divsi3_internal): Similarly.
1212         (__umodsi3, __modsi3): Use the internal function names.
1214 2022-03-09  Tobias Burnus  <tobias@codesourcery.com>
1216         PR target/102215
1217         * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
1218         a line up to non-arg-dependent value first.
1219         (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
1220         __atomic_compare_exchange_{1,2}.
1222 2022-03-04  Iain Sandoe  <iain@sandoe.co.uk>
1224         * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
1225         * config/t-darwin-ehs: Add dependency on unwind.h.
1227 2022-02-24  Xi Ruoyao  <xry111@mengyan1223.wang>
1229         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
1230         with 0 instead of NULL.
1232 2022-02-24  Jose E. Marchesi  <jose.marchesi@oracle.com>
1234         PR target/104656
1235         * configure.ac: --disable-gcov if targetting bpf-*.
1236         * configure: Regenerate.
1238 2022-01-25  Florian Weimer  <fweimer@redhat.com>
1240         PR libgcc/104207
1241         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
1243 2022-01-17  Martin Liska  <mliska@suse.cz>
1245         * libgcov-driver.c: Rename .c names to .cc.
1247 2022-01-15  David  <gccbugzilla@limegreensocks.com>
1249         * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
1250         Remove inlined version, Windows 95 is no longer relevant.
1251         * config/i386/gthr-win32.h
1252         (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
1254 2022-01-14  Claudiu Zissulescu  <claziss@synopsys.com>
1256         * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
1257         DWARF_ALT_FRAME_RETURN_COLUMN macro.
1259 2022-01-04  Florian Weimer  <fweimer@redhat.com>
1261         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
1262         if available.
1264 2022-01-02  John David Anglin  <danglin@gcc.gnu.org>
1266         * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
1267         (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
1268         return is not equal _ASM_EFAULT.
1269         (__kernel_cmpxchg2): Likewise.
1271 2021-12-17  Iain Sandoe  <iain@sandoe.co.uk>
1273         * config.host: Add shim declaration header to powerpc*-darwin builds.
1274         * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
1275         file.
1276         * config/t-darwin-ehs: Add dependencies to the shared unwinder
1277         objects.
1278         * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
1279         the shared EH lib.  Add all-multi to the dependencies for the
1280         libgcc_s.1.dylib redirections.
1282 2021-12-13  Olivier Hainque  <hainque@adacore.com>
1284         * config.host (powerpc*-*-vxworks7*): Remove
1285         rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
1287 2021-12-13  Olivier Hainque  <hainque@adacore.com>
1289         * config.host (*vxworks*): Remove special case for
1290         arm on the use of vxcrtstuff.
1292 2021-12-13  Fred Konrad  <konrad@adacore.com>
1293             Olivier Hainque  <hainque@adacore.com>
1295         * config/t-vxcrtstuffS: New Makefile fragment.
1296         * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
1297         functions for INITFINI_ARRAY support in shared libs and guard
1298         the definition of eh table registration functions on conditions
1299         indicating they are needed.
1301 2021-12-13  Olivier Hainque  <hainque@adacore.com>
1303         * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
1304         ahead of the other files in tmake_files.
1305         * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
1306         overriding it.
1308 2021-12-13  Olivier Hainque  <hainque@adacore.com>
1310         * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
1311         both VxWorks7 and earlier.
1312         * config/t-vxworks7: Remove.
1313         * config.host: Remove special case for vxworks7.
1315 2021-12-11  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1317         * config/vxcrtstuff.c: Make constructor and destructor
1318         functions static when possible.
1320 2021-12-11  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1322         * config/vxcrtstuff.c: Remove constructor/destructor
1323         declarations.
1325 2021-12-10  Iain Sandoe  <iain@sandoe.co.uk>
1327         * config/t-darwin: Add libgcc_tm.h to the dependencies
1328         for darwin10-unwind-find-enc-func.
1330 2021-12-10  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1332         * config/rs6000/t-vxworks: New file.
1333         * config.host (powerpc*-*-vxworks*): Use it instead of
1334         t-ppccomm.
1336 2021-12-09  Fred Konrad  <konrad@adacore.com>
1338         * config.host (powerpc*-wrs-vxworks7*): Fix path to
1339         rs6000/t-ppc64-fp, relative to config/ not libgcc/.
1341 2021-12-09  Olivier Hainque  <hainque@adacore.com>
1342             Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1344         * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
1345         $(LIBGCC2_INCLUDES).
1346         * config/t-vxworks7: Likewise.
1348 2021-12-08  Iain Sandoe  <iain@sandoe.co.uk>
1350         * config.host (*-*-darwin*): Add logic to build a shared
1351         unwinder library for Darwin8-10.
1352         * config/i386/t-darwin: Build legacy libgcc_s.1.
1353         * config/rs6000/t-darwin: Likewise.
1354         * config/t-darwin: Reorganise the EH fragments to place
1355         them for inclusion in a shared EH lib.
1356         * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
1357         the supporting pieces (all FAT libs).
1358         * config/t-darwin-noeh: Removed.
1359         * config/darwin-unwind.ver: New file.
1360         * config/rs6000/t-darwin-ehs: New file.
1361         * config/t-darwin-ehs: New file.
1363 2021-12-06  Nelson Chu  <nelson.chu@sifive.com>
1365         * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
1366         then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
1367         * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
1368         HIDDEN_DEF.
1370 2021-11-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1372         * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
1373         ssize_t and vfork after including auto-host.h.
1375 2021-11-29  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1377         * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
1378         crtend.o to extra_parts.
1380 2021-11-27  John David Anglin  <danglin@gcc.gnu.org>
1382         * config/pa/t-dimode (lib2difuncs): Fix typo.
1384 2021-11-25  Florian Weimer  <fweimer@redhat.com>
1386         * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
1387         Remove func, ret.
1388         (find_fde_tail): New function.  Split from
1389         _Unwind_IteratePhdrCallback.  Move the result initialization
1390         from _Unwind_Find_FDE.
1391         (_Unwind_Find_FDE): Updated to call find_fde_tail.
1393 2021-11-22  Florian Weimer  <fweimer@redhat.com>
1395         * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
1396         (struct unw_eh_callback_data): Make dbase member conditional.
1397         (unw_eh_callback_data_dbase): New function.
1398         (base_from_cb_data): Simplify for the non-dbase case.
1399         (_Unwind_IteratePhdrCallback): Adjust.
1400         (_Unwind_Find_FDE): Likewise.
1402 2021-11-22  Florian Weimer  <fweimer@redhat.com>
1404         * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
1405         tbase member.
1406         (base_from_cb_data): Adjust.
1407         (_Unwind_IteratePhdrCallback): Likewise.
1408         (_Unwind_Find_FDE): Likewise.
1410 2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
1412         * config.host: Add weak emutls crt to the extra_parts.
1413         * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
1414         workaround.
1415         * config/libgcc-libsystem.ver: Add exclude list for the system-
1416         provided unwinder.
1417         * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
1418         * config/i386/libgcc-darwin.10.4.ver: Removed.
1419         * config/i386/libgcc-darwin.10.5.ver: Removed.
1420         * config/rs6000/libgcc-darwin.10.4.ver: Removed.
1421         * config/rs6000/libgcc-darwin.10.5.ver: Removed.
1422         * config/t-darwin-noeh: New file.
1424 2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
1426         * config/t-darwin: Build weak-defined emutls objects.
1427         * emutls.c (__emutls_get_address): Add optional attributes.
1428         (__emutls_register_common): Likewise.
1429         (EMUTLS_ATTR): New.
1431 2021-11-11  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
1433         PR libgcc/103044
1434         * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
1435         called with a null argument or at the end of the backtrace and return.
1436         * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
1438 2021-11-10  Jakub Jelinek  <jakub@redhat.com>
1440         * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
1441         formatting fix.
1443 2021-11-05  Iain Sandoe  <iain@sandoe.co.uk>
1445         * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
1446         * config/i386/darwin-lib.h: Declare Darwin10 crt function.
1448 2021-11-05  John David Anglin  <danglin@gcc.gnu.org>
1450         PR libgomp/96661
1451         * config.host (hppa*64*-*-linux*): Revise tmake_file.
1452         (hppa*64*-*-hpux11*): Likewise.
1453         * config/pa/sfp-exceptions.c: New.
1454         * config/pa/sfp-machine.h: New.
1455         * config/pa/t-dimode: New.
1456         * config/pa/t-softfp-sfdftf: New.
1458 2021-10-27  John David Anglin  <danglin@gcc.gnu.org>
1460         * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
1461         tmake_file.
1462         * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
1463         Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
1464         SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
1465         * config/pa/t-linux64 (LIB1ASMSRC): New define.
1466         (LIB1ASMFUNCS): Revise.
1467         (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
1469 2021-10-22  Stafford Horne  <shorne@gmail.com>
1471         * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1472         Change to 0.
1474 2021-10-14  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
1476         * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
1477         outside of get_regs() in order to use it in another function, this
1478         is done twice: for __powerpc64__ and for !__powerpc64__.
1479         (struct trace_arg): New struct.
1480         (struct layout): New struct.
1481         (ppc_backchain_fallback): New function.
1482         * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
1483         state and call MD_BACKCHAIN_FALLBACK.
1485 2021-10-13  Martin Liska  <mliska@suse.cz>
1487         PR gcov-profile/90364
1488         * libgcov-driver.c (merge_one_data): Skip timestamp and verify
1489         checksums.
1490         (write_one_data): Write also checksum.
1491         * libgcov-util.c (read_gcda_file): Read also checksum field.
1492         * libgcov.h (struct gcov_info): Add new field.
1494 2021-10-08  Ian Lance Taylor  <iant@golang.org>
1496         * config/i386/morestack.S: Use .init_array for constructor if
1497         available.
1498         * config/rs6000/morestack.S: Likewise.
1499         * config/s390/morestack.S: Likewise.
1501 2021-10-03  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
1503         PR target/101104
1504         * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
1505         Use more correct values for native IBM 128-bit.
1507 2021-09-28  Iain Sandoe  <iain@sandoe.co.uk>
1509         * config/i386/libgcc-darwin.ver: Add Symbols for
1510         __cpu_model, __cpu_indicator_init.
1512 2021-09-22  Iain Sandoe  <iain@sandoe.co.uk>
1514         * config/i386/sfp-machine.h: Guard Mach-O-specific code
1515         using __APPLE__.
1517 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1519         * config/t-slibgcc-darwin: Delete unused code.
1521 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1523         * config/i386/t-darwin: Add in a vers file for X86-specific
1524         symbols.
1525         * config/t-darwin: Add the generic symbol maps here...
1526         * config/t-slibgcc-darwin: ... removing from here.
1527         * config/i386/libgcc-darwin.ver: New file.
1529 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1531         * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
1532         and __mulhc3.
1534 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1536         * config.host: Use convenience library for Darwin10
1537         unwinder shim.
1538         * config/t-darwin: Build Darwin10 unwinder shim as a
1539         convenience library.
1541 2021-09-13  Andrew Pinski  <apinski@marvell.com>
1543         * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
1544         * config/m32r/libgcc-glibc.ver: Removed.
1545         * config/m32r/t-linux: Removed.
1547 2021-09-08  liuhongt  <hongtao.liu@intel.com>
1549         * config/i386/t-softfp: Compile __{mul,div}hc3 into
1550         libgcc_s.so.1.
1552 2021-09-08  Jakub Jelinek  <jakub@redhat.com>
1553             Iain Sandoe  <iain@sandoe.co.uk>
1555         * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
1556         and export *hf* and *hc* functions at GCC_12.0.0.
1558 2021-09-06  liuhongt  <hongtao.liu@intel.com>
1560         * Makefile.in: Adjust to support specific CFLAGS for each
1561         libgcc source file.
1562         * config/i386/64/t-softfp: Explicitly add -msse2 for HF
1563         related libgcc source files.
1564         * config/i386/t-softfp: Ditto.
1565         * config/i386/_divhc3.c: New file.
1566         * config/i386/_mulhc3.c: New file.
1568 2021-09-03  Iain Sandoe  <iain@sandoe.co.uk>
1570         * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
1571         alias_DFtype, alias_TFtype): New.
1572         (ALIAS_SELECTOR): New.
1573         (strong_alias): Use __typeof and a _Generic selector to
1574         provide the type to the synthesized function.
1576 2021-09-02  liuhongt  <hongtao.liu@intel.com>
1578         * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
1579         * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
1580         * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
1581         * config/i386/t-softfp: Add hf soft-fp.
1582         * config.host: Add i386/64/t-softfp.
1583         * config/i386/64/t-softfp: New file.
1585 2021-09-02  liuhongt  <hongtao.liu@intel.com>
1587         * soft-fp/eqhf2.c: New file.
1588         * soft-fp/extendhfdf2.c: New file.
1589         * soft-fp/extendhfsf2.c: New file.
1590         * soft-fp/half.h (FP_CMP_EQ_H): New marco.
1591         * soft-fp/truncdfhf2.c: New file
1592         * soft-fp/truncsfhf2.c: New file
1594 2021-09-01  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1596         * unwind-arm-common.inc (abort): Remove.
1598 2021-08-31  Richard Sandiford  <richard.sandiford@arm.com>
1600         * config/aarch64/value-unwind.h: Add missing runtime exception
1601         paragraph.
1602         * config/frv/frv-abi.h: Likewise.
1603         * config/i386/value-unwind.h: Likewise.
1604         * config/pa/pa64-hpux-lib.h: Likewise.
1606 2021-08-26  David Edelsohn  <dje.gcc@gmail.com>
1608         * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
1609         __gcc_qadd.
1610         (__gcc_qadd): Call ldouble_qadd_internal.
1611         (__gcc_qsub): Call ldouble_qadd_internal with second long double
1612         argument negated.
1614 2021-08-26  Jonathan Yong  <10walls@gmail.com>
1616         * config/i386/cygming-crtend.c: Fix register_frame_ctor
1617         and register_frame_dtor warnings.
1619 2021-08-24  Richard Earnshaw  <rearnsha@arm.com>
1621         PR target/102035
1622         * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
1623         Add vlldm erratum work-around.
1625 2021-08-21  John David Anglin  <danglin@gcc.gnu.org>
1627         * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
1629 2021-08-16  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1631         * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
1632         (gcov_type_unsigned): Likewise.
1634 2021-08-14  Stafford Horne  <shorne@gmail.com>
1636         PR target/99783
1637         * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
1638         * config/or1k/t-crtstuff: New file.
1640 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1642         * libgcov-driver.c (#include <stdint.h>): Remove.
1643         (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
1645 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1647         * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
1648         * gcov.h (gcov_info): Declare.
1649         (__gcov_info_to_gdca): Likewise.
1650         * libgcov.h (gcov_write_counter): Remove.
1651         (gcov_write_tag_length): Likewise.
1652         * libgcov-driver.c (#include <stdint.h>): New.
1653         (#include <string.h>): Remove.
1654         (NEED_L_GCOV): Conditionally define.
1655         (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
1656         (are_all_counters_zero): New.
1657         (gcov_dump_handler): Likewise.
1658         (gcov_allocate_handler): Likewise.
1659         (dump_unsigned): Likewise.
1660         (dump_counter): Likewise.
1661         (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
1662         Use dump_unsigned() and dump_counter().
1663         (write_one_data): Add dump_fn, allocate_fn, and arg parameters.  Use
1664         dump_unsigned(), dump_counter(), and are_all_counters_zero().
1665         (__gcov_info_to_gcda): New.
1667 2021-08-05  Jakub Jelinek  <jakub@redhat.com>
1669         * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
1670         * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
1671         * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
1672         * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
1674 2021-08-04  Jakub Jelinek  <jakub@redhat.com>
1676         * config/t-slibgcc-fuchsia: Undo doubly applied patch.
1678 2021-07-15  Alan Modra  <amodra@gmail.com>
1680         * config/rs6000/morestack.S (R2_SAVE): Define.
1681         (__morestack): Save and restore r2.  Set up r2 for called
1682         functions.
1684 2021-07-01  H.J. Lu  <hjl.tools@gmail.com>
1686         * soft-fp/extendhfxf2.c: New file.
1687         * soft-fp/truncxfhf2.c: Likewise.
1689 2021-06-29  Julian Brown  <julian@codesourcery.com>
1691         * config/gcn/lib2-bswapti2.c: New file.
1692         * config/gcn/lib2-divmod-di.c: New file.
1693         * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
1694         typedefs.
1695         (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
1696         * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
1697         lib2-bswapti2.c.
1699 2021-06-29  Julian Brown  <julian@codesourcery.com>
1701         * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
1702         return types to USItype.
1703         * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
1705 2021-06-23  Kewen Lin  <linkw@linux.ibm.com>
1707         * configure: Regenerate.
1708         * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
1709         typos among the name, CFLAGS and the test.
1710         * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
1711         fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
1712         Remove.
1713         * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
1714         macro FLOAT128_HW_INSNS_ISA3_1.
1715         (FP128_3_1_CFLAGS_HW): Fix option typo.
1716         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
1717         FLOAT128_HW_INSNS_ISA3_1.
1718         (__floattikf_resolve): Likewise.
1719         (__floatuntikf_resolve): Likewise.
1720         (__fixkfti_resolve): Likewise.
1721         (__fixunskfti_resolve): Likewise.
1722         (__floattikf): Likewise.
1723         (__floatuntikf): Likewise.
1724         (__fixkfti): Likewise.
1725         (__fixunskfti): Likewise.
1727 2021-06-11  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
1729         PR target/99939
1730         * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
1731         macro.
1732         * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
1733         on passing -mcmse option.
1735 2021-06-10  Segher Boessenkool  <segher@kernel.crashing.org>
1737         * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
1738         _ARCH_PPC64 .
1740 2021-06-09  Carl Love  <cel@us.ibm.com>
1742         * config.host: Add if test and set for
1743         libgcc_cv_powerpc_3_1_float128_hw.
1744         * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
1745         Change calls of __fixkfti to __fixkfti_sw.
1746         * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
1747         Change calls of __fixunskfti to __fixunskfti_sw.
1748         * config/rs6000/float128-p10.c (__floattikf_hw,
1749         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
1750         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
1751         (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
1752         __fixunskfti_resolve): Add resolve functions.
1753         (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
1754         * config/rs6000/float128-sed (floattitf, __floatuntitf,
1755         __fixtfti, __fixunstfti): Add editor commands to change names.
1756         * config/rs6000/float128-sed-hw (__floattitf,
1757         __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
1758         change names.
1759         * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
1760         * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
1761         * config/rs6000/quad-float128.h (__floattikf_sw,
1762         __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
1763         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
1764         __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
1765         * config/rs6000/t-float128 (floattikf, floatuntikf,
1766         fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
1767         (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
1768         file names to fp128_ppc_funcs.
1769         * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
1770         fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
1771         fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
1772         * config/rs6000/t-float128-p10-hw: New file.
1773         * configure: Update script for isa 3.1 128-bit float support.
1774         * configure.ac: Add check for 128-bit float hardware support.
1775         * config/rs6000/fixkfti-sw.c: New file.
1776         * config/rs6000/fixunskfti-sw.c: New file.
1777         * config/rs6000/floattikf-sw.c: New file.
1778         * config/rs6000/floatuntikf-sw.c: New file.
1780 2021-05-13  Dimitar Dimitrov  <dimitar@dinux.eu>
1782         * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
1784 2021-05-13  Martin Liska  <mliska@suse.cz>
1786         * libgcov-driver.c: Fix GNU coding style.
1788 2021-05-10  Martin Liska  <mliska@suse.cz>
1790         * libgcov-driver.c (gcov_version): Use different name that does
1791         not clash with newly introduced macro.
1793 2021-04-29  Eric Botcazou  <ebotcazou@adacore.com>
1795         * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
1796         if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
1797         * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
1799 2021-04-28  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
1801         * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1802         Define.
1803         (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
1804         * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1805         Define.
1806         (__divkc3): Improve complex divide.
1808 2021-04-23  Michael Meissner  <meissner@linux.ibm.com>
1810         PR target/98952
1811         * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
1812         trampoline size comparison in 32-bit by reversing test and
1813         combining load immediate with compare.
1814         (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
1815         in 32-bit by reversing test and combining load immediate with
1816         compare.
1818 2021-04-05  Florian Weimer  <fweimer@redhat.com>
1819             Michael Meissner   <meissner@linux.ibm.com>
1821         * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
1822         point functions for $(decimal_float) only.
1824 2021-04-03  Jakub Jelinek  <jakub@redhat.com>
1826         PR target/97653
1827         * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
1828         $(objext) instead of $(object).  Use _floatunditf instead of
1829         _floatunsditf.  Add tf <-> ti conversion objects.
1830         (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
1832 2021-03-29  Michael Meissner  <meissner@linux.ibm.com>
1834         * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
1835         (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
1836         (fp128_decstr_objs): Delete.
1837         * dfp-bit.h: Call __sprintfieee128 to do conversions from
1838         _Float128 to a Decimal type.  Call __strtoieee128 to do
1839         conversions from a Decimal type to _Float128.
1840         * config/rs6000/_sprintfkf.c: Delete file.
1841         * config/rs6000/_sprintfkf.h: Delete file.
1842         * config/rs6000/_strtokf.c: Delete file.
1843         * config/rs6000/_strtokf.h: Delete file.
1845 2021-03-23  Marcus Comstedt  <marcus@mc.pp.se>
1847         * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
1848         to __BYTE_ORDER__.
1850 2021-03-06  Jakub Jelinek  <jakub@redhat.com>
1852         PR gcov-profile/99406
1853         * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
1854         defined, define these macros if not defined already.
1856 2021-03-04  Martin Liska  <mliska@suse.cz>
1858         PR gcov-profile/99105
1859         * libgcov-driver.c (write_top_counters): Rename to ...
1860         (write_topn_counters): ... this.
1861         (write_one_data): Pre-allocate buffer for number of items
1862         in the corresponding linked lists.
1863         * libgcov.h (malloc_mmap): New function.
1864         (allocate_gcov_kvp): Use it.
1866 2021-03-04  Martin Liska  <mliska@suse.cz>
1868         PR gcov-profile/99385
1869         * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
1871 2021-03-03  Martin Liska  <mliska@suse.cz>
1873         PR gcov-profile/97461
1874         * config.in: Regenerate.
1875         * configure: Likewise.
1876         * configure.ac: Check sys/mman.h header file
1877         * libgcov-driver.c (struct gcov_kvp): Remove static
1878         pre-allocated pool and use a dynamic one.
1879         * libgcov.h (MMAP_CHUNK_SIZE): New.
1880         (gcov_counter_add): Use mmap to allocate pool for struct
1881         gcov_kvp.
1883 2021-03-02  Michael Meissner  <meissner@linux.ibm.com>
1885         * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
1886         the function.
1887         * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
1889 2021-02-24  Jakub Jelinek  <jakub@redhat.com>
1891         PR libgcc/99236
1892         * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
1893         negation of m in unsigned type.
1895 2021-02-24  Christophe Lyon  <christophe.lyon@linaro.org>
1896             Hau Hsu  <hsuhau617@gmail.com>
1898         PR target/99157
1899         * config/arm/t-arm: Fix cmse support detection.
1901 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
1903         * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
1905 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
1907         * config/rs6000/_dd_to_kf.c: New file.
1908         * config/rs6000/_kf_to_dd.c: New file.
1909         * config/rs6000/_kf_to_sd.c: New file.
1910         * config/rs6000/_kf_to_td.c: New file.
1911         * config/rs6000/_sd_to_kf.c: New file.
1912         * config/rs6000/_sprintfkf.c: New file.
1913         * config/rs6000/_sprintfkf.h: New file.
1914         * config/rs6000/_strtokf.h: New file.
1915         * config/rs6000/_strtokf.c: New file.
1916         * config/rs6000/_td_to_kf.c: New file.
1917         * config/rs6000/quad-float128.h: Add new declarations.
1918         * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
1919         (fp128_decstr_funcs): New macro.
1920         (ibm128_dec_funcs): New macro.
1921         (fp128_ppc_funcs): Add the new conversions.
1922         (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
1923         compiled with -mabi=ieeelongdouble.
1924         (fp128_decstr_objs): Force __float128 <-> string conversions to be
1925         compiled with -mabi=ibmlongdouble.
1926         (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
1927         compiled with -mabi=ieeelongdouble.
1928         (FP128_CFLAGS_DECIMAL): New macro.
1929         (IBM128_CFLAGS_DECIMAL): New macro.
1930         * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
1931         (BFP_TO_DFP): Add PowerPC _Float128 support.
1932         * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
1933         IEEE 128-bit floating point.
1934         (DFP_TO_BFP): Add PowerPC _Float128 support.
1935         (BFP_TO_DFP): Add PowerPC _Float128 support.
1936         (BFP_SPRINTF): New macro.
1938 2021-01-27  Jakub Jelinek  <jakub@redhat.com>
1940         * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
1941         * config/i386/savms64f.h: Likewise.
1942         * config/i386/resms64.h: Likewise.
1943         * config/i386/resms64f.h: Likewise.
1944         * config/i386/resms64x.h: Likewise.
1945         * config/i386/resms64fx.h: Likewise.
1947 2021-01-26  Martin Liska  <mliska@suse.cz>
1949         PR gcov-profile/98739
1950         * libgcov.h (gcov_topn_add_value): Do not train when
1951         we have a merged profile with a negative number of total
1952         value.
1954 2021-01-25  Martin Liska  <mliska@suse.cz>
1956         PR gcov-profile/98739
1957         * libgcov-merge.c (__gcov_merge_topn): Mark when merging
1958         ends with a dropped counter.
1959         * libgcov.h (gcov_topn_add_value): Add return value.
1961 2021-01-13  Stafford Horne  <shorne@gmail.com>
1963         * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1964         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
1965         FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
1966         FP_EX_ALL): New constant macros.
1967         (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
1968         FP_HANDLE_EXCEPTIONS): New macros.
1969         (_FP_TININESS_AFTER_ROUNDING): Change to 1.
1971 2021-01-13  Samuel Thibault  <samuel.thibault@gnu.org>
1973         * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
1974         posix siginfo case to struct handler_args. Detect between legacy
1975         and siginfo from the second parameter, which is a small sigcode in
1976         the legacy case, and a pointer in the siginfo case.
1978 2020-12-20  Max Filippov  <jcmvbkbc@gmail.com>
1980         * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
1981         functions.
1982         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
1983         _bswapdi2.
1985 2020-12-08  Ian Lance Taylor  <iant@golang.org>
1987         * generic-morestack-thread.c (free_segments): Block signals during
1988         thread exit.
1990 2020-12-03  Michael Meissner  <meissner@linux.ibm.com>
1992         PR libgcc/97543
1993         PR libgcc/97643
1994         * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
1995         (IBM128_SHARED_OBJS): New make variable.
1996         (IBM128_OBJS): New make variable.  Set all objects to use the
1997         explicit IBM format, and disable gnu attributes.
1998         (IBM128_CFLAGS): New make variable.
1999         (gcc_s_compile): Add -mno-gnu-attribute to all shared library
2000         modules.
2002 2020-12-03  Alexandre Oliva  <oliva@adacore.com>
2004         * config/t-vxworks (LIB2ADD): Drop.
2005         * config/t-vxworks7 (LIB2ADD): Likewise.
2006         * config/vxcache.c: Remove.
2008 2020-11-30  Stefan Kanthak  <stefan.kanthak@nexgo.de>
2010         * libgcc2.c (bswapsi2): Make constants unsigned.
2012 2020-11-25  Stefan Kanthak  <stefan.kanthak@nexgo.de>
2014         * libgcc2.c (absvSI2): Simplify/improve implementation by using
2015         builtin_add_overflow.
2016         (absvsi2, absvDI2): Likewise.
2018 2020-11-20  Maciej W. Rozycki  <macro@linux-mips.org>
2020         * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
2021         (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
2023 2020-11-18  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2025         * config/msp430/lib2hw_mul.S (mult64_hw): New.
2026         (if MUL_32): Use mult64_hw for __muldi3.
2027         (if MUL_F5): Use mult64_hw for __muldi3.
2028         * config/msp430/lib2mul.c (__muldi3): New.
2029         * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
2031 2020-11-17  Alan Modra  <amodra@gmail.com>
2033         * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
2034         (LIB2_SIDITI_CONV_FUNCS): Define.
2035         * config/rs6000/ppc64-fp.c: Delete file.
2037 2020-11-15  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2039         * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
2040         hwmult library functions.
2042 2020-11-10  Jeff Law  <law@redhat.com>
2044         * libgcc2.c: Fix whitespace issues in most recent change.
2046 2020-11-10  Stefan Kanthak  <stefan.kanthak@nexgo.de>
2048         * libgcc2.c (__addvSI3): Use overflow builtins.
2049         (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
2050         (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
2051         (__negvsi2, __negvDI2): Likewise.
2052         (__cmpdi2, __ucmpdi2): Adjust implementation to improve
2053         generated code.
2054         * libgcc2.h (__ucmpdi2): Adjust prototype.
2056 2020-11-03  Pat Bernardi  <bernardi@adacore.com>
2057             Olivier Hainque   <hainque@adacore.com>
2059         * config.host (aarch64-vxworks7*, tmake_file): Add
2060         ${cpu_type}/t-lse and t-slibgcc-libgcc.
2062 2020-11-03  Martin Storsjö  <martin@martin.st>
2064         * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
2065         before calling the callback.
2067 2020-10-30  Olivier Hainque  <hainque@adacore.com>
2068             Douglas Rupp  <rupp@adacore.com>
2069             Pat Bernardi  <bernardi@adacore.com>
2071         * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
2072         to apply to VxWorks 7 as well.
2074 2020-10-29  Olivier Hainque  <hainque@adacore.com>
2076         * config/gthr-vxworks-tls.c: Fix preprocessor logic
2077         controlling the definition of VX_ENTER_TLS_DTOR and
2078         VX_LEAVE_TLS_DTOR based on a version major check.
2080 2020-10-29  Olivier Hainque  <hainque@adacore.com>
2082         * config/gthr-vxworks-thread.c: Fix name of macro used
2083         to condition the inclusion of an actual implementation.
2085 2020-10-27  Martin Liska  <mliska@suse.cz>
2087         PR gcov-profile/97461
2088         * libgcov.h (gcov_counter_add): Use first static counters
2089         as it should help to have malloc wrappers set up.
2091 2020-10-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2093         * config/gthr-vxworks-thread.c: #include gthr.h before
2094         testing the guard defined there.
2095         * config/gthr-vxworks-cond.c: Likewise.
2097 2020-10-21  Douglas Rupp  <rupp@adacore.com>
2098             Olivier Hainque  <hainque@adacore.com>
2100         * config.host (powerpc*-wrs-vxworks7*): New case.
2101         * configure.ac: Handle powerpc*-*-vxworks7* as
2102         powerpc*-*-linux* for ppc-fp_type.
2103         * configure: Regenerate.
2105 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2107         * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
2108         section on VxWorks >= 6.
2109         * config/gthr-vxworks-thread.c: Condition the entire
2110         implementation on __GTHREAD_CXX0X.
2112 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2114         * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
2115         section on VxWorks >= 6.
2116         * config/gthr-vxworks-cond.c: Condition the entire
2117         implementation on __GTHREAD_HAS_COND.
2119 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2121         * config/gthr-vxworks.c: #include <taskLib.h>.
2123 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2125         * config/gthr-vxworks.h: Rewrite remaining occurrence
2126         of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
2128 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2129              Olivier Hainque   <hainque@adacore.com>
2131         * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
2132         except on VxWorks 6.
2134 2020-10-16  Olivier Hainque  <hainque@adacore.com>
2136         * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
2138 2020-10-14  Alexandre Oliva  <oliva@adacore.com>
2140         * config/gthr-vxworks-thread.c: Include stdlib.h.
2141         (tls_delete_hook): Prototype it.
2142         (__gthread_cond_signal): Return early if no waiters.  Consume
2143         signal in case the semaphore got full.  Use semInfoGet instead
2144         of kernel-mode-only semInfo.
2145         (__gthread_cond_timedwait): Use semExchange.  Always take the
2146         mutex again before returning.
2147         * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
2149 2020-10-14  Olivier Hainque  <hainque@adacore.com>
2151         * config/t-vxworks (LIBGCC2_INCLUDES): Append
2152         $(MULTISUBDIR) to the -I path for fixed headers, as we
2153         arrange to have different sets of such headers for different
2154         multilibs when they are activated.
2155         * config/t-vxworks7: Likewise.
2157 2020-10-14  Olivier Hainque  <hainque@adacore.com>
2159         * config/t-vxworks: Add include-fixed to include search
2160         paths for libgcc on VxWorks.
2161         * config/t-vxworks7: Likewise.
2163 2020-10-09  H.J. Lu  <hjl.tools@gmail.com>
2165         PR target/97148
2166         * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
2167         instead of <cetintrin.h>.
2169 2020-10-01  Alan Modra  <amodra@gmail.com>
2171         * config/rs6000/morestack.S,
2172         * config/rs6000/tramp.S: Support __PCREL__ code.
2174 2020-10-01  Alan Modra  <amodra@gmail.com>
2176         * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
2178 2020-09-29  Maciej W. Rozycki  <macro@wdc.com>
2180         * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
2181         variable.
2183 2020-09-28  Richard Sandiford  <richard.sandiford@arm.com>
2185         * config/aarch64/libgcc-softfp.ver: New file.
2186         * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
2188 2020-09-27  Clement Chigot  <clement.chigot@atos.net>
2190         * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
2192 2020-09-22  Sergei Trofimovich  <siarheit@google.com>
2194         PR gcov-profile/96913
2195         * libgcov-driver.c (write_one_data): Avoid function pointer
2196         comparison in TOP streaming decision.
2198 2020-09-17  Torbjörn SVENSSON  <torbjorn.svensson@st.com>
2199             Christophe Lyon  <christophe.lyon@linaro.org>
2201         * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
2202         qualifier.
2203         (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
2204         (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
2205         missing prototypes.
2207 2020-09-17  Wei Wentao  <weiwt.fnst@cn.fujitsu.com>
2209         * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
2210         unused variable warning.
2212 2020-09-16  Jojo R  <jiejie_rong@c-sky.com>
2214         * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
2216 2020-09-09  Tom de Vries  <tdevries@suse.de>
2218         * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
2219         Wbuiltin-declaration-mismatch.
2221 2020-08-26  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2223         * config/msp430/slli.S (__gnu_mspabi_sllp): New.
2224         * config/msp430/srai.S (__gnu_mspabi_srap): New.
2225         * config/msp430/srli.S (__gnu_mspabi_srlp): New.
2227 2020-08-13  Kwok Cheung Yeung  <kcy@codesourcery.com>
2229         * config/nvptx/atomic.c: New.
2230         * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
2232 2020-08-03  Ian Lance Taylor  <iant@golang.org>
2234         * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
2236 2020-08-03  Jakub Jelinek  <jakub@redhat.com>
2238         PR target/96402
2239         * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
2240         of x(tmp0), x(tmp1) in STXP arguments.
2242 2020-07-31  Maciej W. Rozycki  <macro@wdc.com>
2244         * config/riscv/save-restore.S [__riscv_xlen == 64]
2245         (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
2246         (__riscv_save_2): Replace negative immediates used for the final
2247         stack pointer adjustment with positive ones, right-shifted by 4.
2249 2020-07-31  Martin Liska  <mliska@suse.cz>
2251         * libgcov-driver.c: Add __gcov_kvp_pool
2252         and __gcov_kvp_pool_index variables.
2253         * libgcov.h (allocate_gcov_kvp): New.
2254         (gcov_topn_add_value): Use it.
2256 2020-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2258         * config/aarch64/lse.S: Add PAC property note.
2260 2020-07-23  Martin Liska  <mliska@suse.cz>
2262         PR gcov-profile/96035
2263         * libgcov-driver-system.c: Create gcov folders with 0777
2264         so that it respects a system umask.
2266 2020-07-14  David Edelsohn  <dje.gcc@gmail.com>
2268         * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
2270 2020-07-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2272         PR target/94891
2273         * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
2274         (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
2275         (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
2276         (MD_DEMANGLE_RETURN_ADDR): This.
2277         (aarch64_post_extract_frame_addr): Rename to ...
2278         (aarch64_demangle_return_addr): This.
2279         (aarch64_post_frob_eh_handler_addr): Remove.
2280         * unwind-dw2.c (uw_update_context): Demangle return address.
2281         (uw_frob_return_addr): Remove.
2283 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2285         PR target/96001
2286         * config/aarch64/lse.S: Add BTI marking and related definitions,
2287         and add BTI c to function entries.
2289 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2291         * config/aarch64/lse.S: Add stack note.
2293 2020-07-02  Martin Liska  <mliska@suse.cz>
2295         PR gcov-profile/95348
2296         * libgcov-driver.c (merge_one_data): Merge only profiles
2297         that are not of non-zero type.
2298         (write_one_data): Write counters only if there's one non-zero
2299         value.
2300         * libgcov-util.c (tag_function): Change signature from unsigned
2301         to int.
2302         (tag_blocks): Likewise.
2303         (tag_arcs): Likewise.
2304         (tag_counters): Likewise.
2305         (tag_summary): Likewise.
2306         (tag_lines): Read only if COUNTERS is non-zero.
2307         (read_gcda_file): Handle negative length for COUNTERS type.
2309 2020-06-25  Martin Liska  <mliska@suse.cz>
2311         * libgcov-driver.c (merge_summary): Remove function as its name
2312         is misleading and doing something different.
2313         (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
2314         in gcov-tool.
2315         * libgcov-util.c (curr_object_summary): Remove.
2316         (read_gcda_file): Remove unused curr_object_summary.
2317         (gcov_merge): Merge summaries.
2318         * libgcov.h: Add summary argument for gcov_info struct.
2320 2020-06-24  H.J. Lu  <hjl.tools@gmail.com>
2322         PR target/95259
2323         * config/i386/cpuinfo.c: Don't include "cpuinfo.h".  Include
2324         "common/config/i386/i386-cpuinfo.h" and
2325         "common/config/i386/cpuinfo.h".
2326         (__cpu_features2): Changed to array.
2327         (get_amd_cpu): Removed.
2328         (get_intel_cpu): Likewise.
2329         (get_available_features): Likewise.
2330         (__cpu_indicator_init): Call cpu_indicator_init.
2331         * config/i386/cpuinfo.h: Removed.
2333 2020-06-23  David Edelsohn  <dje.gcc@gmail.com>
2335         * Makefile.in: Remove uses of empty.mk. Use -include.
2336         * config/avr/t-avr: Use -include.
2337         * empty.mk: Delete.
2339 2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
2341         * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
2342         * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
2343         and 64 bit with -maix64.
2344         * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
2345         Build and install AIX-style FAT libraries.
2347 2020-06-17  Samuel Thibault  <samuel.thibault@gnu.org>
2349         * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
2350         'i386/gnu-unwind.h'
2351         * config/i386/gnu-unwind.h: New file.
2353 2020-06-17  Martin Liska  <mliska@suse.cz>
2355         * libgcov-util.c (read_gcda_finalize): Remove const operator.
2356         (merge_wrapper): Add both counts and use them properly.
2357         (topn_to_memory_representation): New function.
2358         (gcov_merge): Covert on disk representation to in memory
2359         representation.
2360         * libgcov.h: Remove const operator.
2362 2020-06-15  Max Filippov  <jcmvbkbc@gmail.com>
2364         * configure: Regenerate.
2365         * configure.ac: Use AC_COMPILE_IFELSE instead of manual
2366         preprocessor invocation to check for __XTENSA_CALL0_ABI__.
2368 2020-06-09  Martin Liska  <mliska@suse.cz>
2370         PR gcov-profile/95494
2371         * libgcov-driver.c (write_top_counters): Cast first to
2372         intptr_t as sizeof(*) != sizeof(gcov_type).
2373         * libgcov.h (gcov_counter_set_if_null): Remove.
2374         (gcov_topn_add_value): Cast first to intptr_t and update
2375         linked list directly.
2377 2020-06-09  Max Filippov  <jcmvbkbc@gmail.com>
2379         * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
2380         with uw_install_context_1.
2382 2020-06-04  Andreas Schwab  <schwab@suse.de>
2384         PR target/59230
2385         PR libfortran/59227
2386         * config/ia64/t-softfp-compat (softfp_file_list): Filter out
2387         soft-fp/divtf3.c.
2388         (LIB2ADD): Add config/ia64/divtf3.c.
2389         * config/ia64/divtf3.c: New file.
2391 2020-06-03  Martin Liska  <mliska@suse.cz>
2393         PR gcov-profile/95480
2394         * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
2395         * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
2396         (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
2397         (gcov_counter_set_if_null): Likewise.
2399 2020-06-02  Jim Wilson  <jimw@sifive.com>
2401         * config/riscv/div.S (__divdi3): For negative arguments, change bgez
2402         to bgtz.
2404 2020-06-02  Martin Liska  <mliska@suse.cz>
2406         * libgcov.h (gcov_topn_add_value): Use xcalloc instead
2407         of xmalloc.
2409 2020-06-02  Martin Liska  <mliska@suse.cz>
2411         * libgcov-driver.c (prune_topn_counter): Remove.
2412         (prune_counters): Likewise.
2413         (merge_one_data): Special case TOP N counters
2414         as they have variable length.
2415         (write_top_counters): New.
2416         (write_one_data): Special case TOP N.
2417         (dump_one_gcov): Do not prune TOP N counters.
2418         * libgcov-merge.c (merge_topn_values_set): Remove.
2419         (__gcov_merge_topn): Use gcov_topn_add_value.
2420         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2421         Likewise here.
2422         * libgcov.h (gcov_counter_add): New.
2423         (gcov_counter_set_if_null): Likewise.
2424         (gcov_topn_add_value): New.
2426 2020-06-01  Uroš Bizjak  <ubizjak@gmail.com>
2428         * config/i386/sfp-exceptions.c (struct fenv):
2429         Add __attribute__ ((gcc_struct)).
2431 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
2433         PR bootstrap/95413
2434         * configure: Regenerated.
2436 2020-05-28  Dong JianQiang  <dongjianqiang2@huawei.com>
2438         PR gcov-profile/95332
2439         * libgcov-util.c (read_gcda_file): Call gcov_magic.
2440         * libgcov.h (gcov_magic): Disable GCC poison.
2442 2020-05-21  H.J. Lu  <hongjiu.lu@intel.com>
2444         PR target/95212
2445         * config/i386/cpuinfo.h (processor_features): Move
2446         FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
2448 2020-05-20  H.J. Lu  <hongjiu.lu@intel.com>
2450         PR target/91695
2451         * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
2452         check.
2454 2020-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2456         PR target/95212
2457         PR target/95220
2458         * config/i386/cpuinfo.c (get_available_features): Fix
2459         FEATURE_GFNI check.  Also check FEATURE_AVX512VP2INTERSECT.
2460         * config/i386/cpuinfo.h (processor_features): Add
2461         FEATURE_AVX512VP2INTERSECT.
2463 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2465         PR bootstrap/95147
2466         * configure: Regenerated.
2468 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2470         * configure: Regenerated.
2472 2020-05-09  Hans-Peter Nilsson  <hp@axis.com>
2474         * config.host: Remove support for crisv32-*-* and cris*-*-linux.
2475         * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
2477 2020-05-06  Uroš Bizjak  <ubizjak@gmail.com>
2479         * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
2480         (__math_force_eval_div): New define.
2481         (__sfp_handle_exceptions): Use __math_force_eval_div to use
2482         generic division to generate INVALID, DIVZERO and INEXACT
2483         exceptions.
2485 2020-05-06  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2487         * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
2488         instead of getauxval.
2489         (AT_HWCAP): Define.
2490         (HWCAP_ATOMICS): Define.
2491         Guard detection on __gnu_linux__.
2493 2020-05-05  Michael Meissner  <meissner@linux.ibm.com>
2495         * config.host: Delete changes meant for a private branch.
2496         * config/rs6000/t-float128: Likewise.
2497         * configure.ac: Likewise.
2498         * configure: Likewise.
2500 2020-05-05  Martin Liska  <mliska@suse.cz>
2502         PR gcov-profile/93623
2503         * Makefile.in: Remove __gcov_flush.
2504         * gcov.h (__gcov_flush): Remove.
2505         * libgcov-interface.c (__gcov_flush): Remove.
2506         (init_mx): Use renamed mutex.
2507         (__gcov_lock): Likewise.
2508         (__gcov_unlock): Likewise.
2509         (__gcov_fork): Likewise.
2510         (__gcov_flush): Remove.
2512 2020-05-05  Martin Liska  <mliska@suse.cz>
2514         PR gcov-profile/93623
2515         * libgcov-interface.c (__gcov_fork): Do not flush
2516         and reset only in child process.
2517         (__gcov_execl): Dump counters only and reset them
2518         only if exec* fails.
2519         (__gcov_execlp): Likewise.
2520         (__gcov_execle): Likewise.
2521         (__gcov_execv): Likewise.
2522         (__gcov_execvp): Likewise.
2523         (__gcov_execve): Likewise.
2525 2020-05-05  Martin Liska  <mliska@suse.cz>
2527         PR gcov-profile/93623
2528         * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
2529         * libgcov-interface.c (ALIAS_void_fn): Remove.
2530         (__gcov_lock): New.
2531         (__gcov_unlock): New.
2532         (__gcov_flush): Use __gcov_lock and __gcov_unlock.
2533         (__gcov_reset): Likewise.
2534         (__gcov_dump): Likewise.
2535         * libgcov.h (__gcov_lock): New declaration.
2536         (__gcov_unlock): Likewise.
2538 2020-05-01  Uroš Bizjak  <ubizjak@gmail.com>
2540         * config/i386/sfp-exceptions.c (__math_force_eval): New define.
2541         (__sfp_handle_exceptions): Use __math_force_eval to evaluate
2542         generic division to generate INVALID and DIVZERO exceptions.
2544 2020-04-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2546         * config/rs6000/crtresfpr.S: Use .machine ppc.
2547         * config/rs6000/crtresxfpr.S: Likewise.
2548         * config/rs6000/crtsavfpr.S: Likewise.
2550 2020-04-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2552         PR target/94514
2553         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
2554         Update context->flags accroding to the frame state.
2556 2020-04-19  Uroš Bizjak  <ubizjak@gmail.com>
2558         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
2559         Remove unneeded assignments to volatile memory.
2561 2020-04-15  Jakub Jelinek  <jakub@redhat.com>
2563         PR target/93053
2564         * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
2565         * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
2566         is not defined, use just .arch armv8-a.
2567         (B, M, N, OPN): Define.
2568         (COMMENT): New .macro.
2569         (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
2570         defined.  Otherwise, move the operands right after the glue? and
2571         comment out operands where the macros are used.
2572         * configure: Regenerated.
2573         * config.in: Regenerated.
2575 2020-04-07  Ian Lance Taylor  <iant@golang.org>
2577         PR libgcc/94513
2578         * generic-morestack.c: Give up trying to use __mmap/__munmap, use
2579         syscall instead.
2581 2020-04-04  Ian Lance Taylor  <iant@golang.org>
2583         * generic-morestack.c: Only use __mmap on glibc >= 2.26.
2585 2020-04-03  Ian Lance Taylor  <iant@golang.org>
2587         * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
2588         than mmap/munmap, to avoid hooks.
2590 2020-04-03  Jim Johnston  <jjohnst@us.ibm.com>
2592         * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
2593         (TPFRA_OFFSET): Macros removed.
2594         (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
2595         (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
2596         (PG3_SKIPPING_OFFSET): New macros.
2597         (__isPATrange): Use cinfc_fast for the check.
2598         (__isSkipResetAddr): New function.
2599         (s390_fallback_frame_state): Check for skip trace addresses. Use
2600         either ICST_CRET or ICST_SRET to calculate return address
2601         location.
2602         (__tpf_eh_return): Handle skip trace addresses.
2604 2020-03-26  Richard Earnshaw  <rearnsha@arm.com>
2606         PR target/94220
2607         * config/arm/lib1funcs.asm (COND): Use a single definition for
2608         unified syntax.
2609         (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
2610         (aeabi_idivmod): Likewise.
2611         (divsi3_skip_div0_test): Likewise.
2613 2020-03-17  Mihail Ionescu  <mihail.ionescu@arm.com>
2615         * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
2617 2020-03-04  Andreas Krebbel  <krebbel@linux.ibm.com>
2619         * config.host: Include the new makefile fragment.
2620         * config/s390/t-tpf: New file.
2622 2020-03-03  Richard Earnshaw  <rearnsha@arm.com>
2624         * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
2625         syntax.
2626         (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
2627         (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
2628         (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
2629         (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
2630         * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
2631         syntax.
2632         (divsi3, modsi3): Likewise.
2633         (clzdi2, ctzsi2): Likewise.
2634         * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
2635         unified syntax.
2636         (UNWIND_WRAPPER): Likewise.
2638 2020-03-02  Martin Liska  <mliska@suse.cz>
2640         * libgcov-interface.c: Remove duplicate
2641         declaration of __gcov_flush_mx.
2643 2020-02-18  Martin Liska  <mliska@suse.cz>
2645         PR ipa/92924
2646         * libgcov-merge.c (merge_topn_values_set): Record
2647         when a TOP N counter becomes invalid.  When merging
2648         remove a smallest value if the space is needed.
2650 2020-02-12  Sandra Loosemore  <sandra@codesourcery.com>
2652         PR libstdc++/79193
2653         PR libstdc++/88999
2655         * configure: Regenerated.
2657 2020-02-10  Jeff Law  <law@redhat.com>
2659         * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
2660         sections.
2661         * config/frv/frvend.c: Similarly.
2663 2020-02-10  H.J. Lu  <hongjiu.lu@intel.com>
2665         PR libgcc/85334
2666         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2667         New.
2669 2020-02-10  Christophe Lyon  <christophe.lyon@linaro.org>
2671         PR target/93615
2672         * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
2673         _Unwind_gnu_Find_got.
2674         * unwind-pe.h: Likewise.
2676 2020-02-07  Jakub Jelinek  <jakub@redhat.com>
2678         PR target/93615
2679         * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
2680         (_Unwind_gnu_Find_got): ... this.  Use __asm instead of asm.  Remove
2681         trailing :s in asm.  Formatting fixes.
2682         (_Unwind_decode_typeinfo_ptr): Adjust caller.
2684 2020-01-31  Sandra Loosemore  <sandra@codesourcery.com>
2686         nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
2688         * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
2689         * config/nios2-elf-lib.h: New.
2690         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
2691         code for finding GOT base for nios2.
2693 2020-01-27  Martin Liska  <mliska@suse.cz>
2695         PR gcov-profile/93403
2696         * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
2697         Call __gcov_indirect_call_profiler_body.
2698         (__gcov_indirect_call_profiler_body): New.
2699         (__gcov_indirect_call_profiler_v4_atomic): New.
2700         * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
2701         New declaration.
2703 2020-01-27  Claudiu Zissulescu  <claziss@synopsys.com>
2705         * config/arc/crti.S: Add RF16 object attribute.
2706         * config/arc/crtn.S: Likewise.
2707         * config/arc/crttls.S: Likewise.
2708         * config/arc/lib1funcs.S: Likewise.
2709         * config/arc/fp-hack.h (ARC_OPTFPE): Define.
2710         * config/arc/lib2funcs.c: New file.
2711         * config/arc/t-arc: Add lib2funcs to LIB2ADD.
2713 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
2715         * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
2716         * configure.ac: Handle `--with-toolexeclibdir='.
2717         * configure: Regenerate.
2719 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
2721         * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
2723 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
2725         * config/mips/gnustack.h: New file.
2726         * config/mips/crti.S: Include gnustack.h.
2727         * config/mips/crtn.S: Likewise.
2728         * config/mips/mips16.S: Likewise.
2729         * config/mips/vr4120-div.S: Likewise.
2731 2020-01-23  Martin Liska  <mliska@suse.cz>
2733         * libgcov-driver.c (prune_topn_counter): Remove
2734         check for -1 as we only prune run-time counters
2735         that do not generate an invalid state.
2737 2020-01-22  Martin Liska  <mliska@suse.cz>
2739         PR tree-optimization/92924
2740         * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
2741         try to find an existing value, then find an empty slot
2742         if not found.
2744 2020-01-22  Martin Liska  <mliska@suse.cz>
2746         PR tree-optimization/92924
2747         * libgcov-driver.c (prune_topn_counter): New.
2748         (prune_counters): Likewise.
2749         (dump_one_gcov): Prune a run-time counter.
2750         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2751         For a known value, add GCOV_TOPN_VALUES to value.
2752         Otherwise, decrement all counters by one.
2754 2020-01-18  Hans-Peter Nilsson  <hp@axis.com>
2756         * config/cris/arit.c (DS): Apply attribute __fallthrough__.
2758 2020-01-18  John David Anglin  <danglin@gcc.gnu.org>
2760         PR libgcc/92988
2761         * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
2762         DEFAULT_USE_CXA_ATEXIT is true.
2764 2020-01-16  Mihail-Calin Ionescu  <mihail.ionescu@arm.com>
2765             Thomas Preud'homme  <thomas.preudhomme@arm.com>
2767         * config/arm/t-arm: Check return value of gcc rather than lack of
2768         output.
2770 2020-01-14  Georg-Johann Lay  <avr@gjlay.de>
2772         * config/avr/lib1funcs.S (skip): Simplify.
2774 2020-01-10  Kwok Cheung Yeung  <kcy@codesourcery.com>
2776         * config/gcn/atomic.c: Remove include of stdint.h.
2777         (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
2778         __UINTPTR_TYPE__.
2780 2020-01-09  Kwok Cheung Yeung  <kcy@codesourcery.com>
2782         * config/gcn/atomic.c: New.
2783         * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
2785 2020-01-08  Georg-Johann Lay  <avr@gjlay.de>
2787         Implement 64-bit double functions.
2789         PR target/92055
2790         * config.host (tmake_file) [target=avr]: Add t-libf7,
2791         t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
2792         * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
2793         depending on sizeof (double) or sizeof (long double).
2794         * config/avr/libf7: New folder.
2796 2020-01-05  Olivier Hainque  <hainque@adacore.com>
2798         * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
2799         by IN_LIBGCC2.
2801 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
2803         Update copyright years.
2805 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2807         * config/gthr-vxworks.h: Use _vxworks-versions.h.
2808         * config/gthr-vxworks-tls.c: Likewise.
2810 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2812         * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
2813         standard zero-initializer syntax.
2815 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2817         * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
2818         reference to the internal VX_GET_TLS_DATA interface.
2820 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2822         * config/vxcrtstuff.c: Fix incorrect spelling of
2823         USE_INITFINI_ARRAY in guard.
2825 2019-12-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2827         * config.host: s/msp430*-*-elf/msp430-*-elf*.
2828         Override default "extra_parts" variable.
2829         * configure: Regenerate.
2830         * configure.ac: Disable TM clone registry by default for
2831         msp430-elfbare.
2833 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2835         * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
2836         "extra_parts".
2837         * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
2839 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2841         * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
2842         true.
2844 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2846         * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
2847         defined instead of its value.
2849 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2851         * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
2852         if it will have contents.
2854 2019-12-05  Georg-Johann Lay  <avr@gjlay.de>
2856         PR target/92055
2857         * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
2859 2019-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2861         PR libgcc/91737
2862         * config.host: Add t-gthr-noweak on *-*-musl*.
2863         * config/t-gthr-noweak: New file.
2865 2019-11-17  John David Anglin  <danglin@gcc.gnu.org>
2867         * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
2868         volatile void *.  Remove trap check.
2869         (__kernel_cmpxchg2): Likewise.
2870         (FETCH_AND_OP_2): Adjust operand types.
2871         (OP_AND_FETCH_2): Likewise.
2872         (FETCH_AND_OP_WORD): Likewise.
2873         (OP_AND_FETCH_WORD): Likewise.
2874         (COMPARE_AND_SWAP_2): Likewise.
2875         (__sync_val_compare_and_swap_4): Likewise.
2876         (__sync_bool_compare_and_swap_4): Likewise.
2877         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2878         (__sync_lock_test_and_set_4): Likewise.
2879         (SYNC_LOCK_RELEASE_1): Likewise.  Use __kernel_cmpxchg2 for release.
2880         (__sync_lock_release_4): Adjust operand types.  Use __kernel_cmpxchg
2881         for release.
2882         (__sync_lock_release_8): Remove.
2884 2019-11-15  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2886         * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
2887         of __sigset_t.
2889 2019-11-14  Jerome Lambourg  <lambourg@adacore.com>
2890             Doug Rupp <rupp@adacore.com>
2891             Olivier Hainque  <hainque@adacore.com>
2893         * config.host: Collapse the arm-vxworks entries into
2894         a single arm-wrs-vxworks7* one.
2895         * config/arm/unwind-arm-vxworks.c: Update comments.  Provide
2896         __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
2897         kernel modules, to be overriden by libstdc++ when we link with
2898         it.  Rely on externally provided __exidx_start/end.
2900 2019-11-14  Doug Rupp  <rupp@adacore.com>
2901             Olivier Hainque  <hainque@adacore.com>
2903         * config.host: Handle aarch64*-wrs-vxworks7*.
2905 2019-11-12  Olivier Hainque  <hainque@adacore.com>
2907         * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
2908         sources except the cxx0x support to LIB2ADDEH.  We don't support
2909         cxx0x on AE/653.
2910         * config/t-vxworksae: New file.
2911         * config.host: Handle *-*-vxworksae: Add the two aforementioned
2912         Makefile fragment files at their expected position in the tmake_file
2913         list, in accordance with what is done for other VxWorks variants.
2915 2019-11-12  Corentin Gay  <gay@adacore.com>
2916             Jerome Lambourg  <lambourg@adacore.com>
2917             Olivier Hainque  <hainque@adacore.com>
2919         * config/t-gthr-vxworks: New file, add all the gthr-vxworks
2920         sources to LIB2ADDEH.
2921         * config/t-vxworks: Remove adjustments to LIB2ADDEH.
2922         * config/t-vxworks7: Likewise.
2924         * config.host: Append a block at the end of the file to add the
2925         t-gthr files to the tmake_file list for VxWorks after everything
2926         else.
2928         * config/vxlib.c: Rename as gthr-vxworks.c.
2929         * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
2931         * config/gthr-vxworks.h: Simplify a few comments.  Expose a TAS
2932         API and a basic error checking API, both internal.  Simplify the
2933         __gthread_once_t type definition and initializers.  Add sections
2934         for condition variables support and for the C++0x thread support,
2935         conditioned against Vx653 for the latter.
2937         * config/gthr-vxworks.c (__gthread_once): Simplify comments and
2938         implementation, leveraging the TAS internal API.
2939         * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
2940         API, leveraging the general availability of TLS services in VxWorks7
2941         post SR6xxx.
2942         (__gthread_setspecific, __gthread_setspecific): Use it.
2943         (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
2944         * config/gthr-vxworks-cond.c: New file.  GTHREAD_COND variable
2945         support based on VxWorks primitives.
2946         * config/gthr-vxworks-thread.c: New file.  GTHREAD_CXX0X support
2947         based on VxWorks primitives.
2949 2019-11-06  Jerome Lambourg  <lambourg@adacore.com>
2950             Olivier Hainque  <hainque@adacore.com>
2952         * config/vxcrtstuff.c: New file.
2953         * config/t-vxcrtstuff: New Makefile fragment.
2954         * config.host: Append t-vxcrtstuff to the tmake_file list
2955         on all VxWorks ports using dwarf for table based EH.
2957 2019-11-07  Georg-Johann Lay  <avr@gjlay.de>
2959         Support 64-bit double and 64-bit long double configurations.
2961         PR target/92055
2962         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
2963         long double is a 32-bit type.
2964         * config/avr/t-avrlibc: Copy double64 and long-double64
2965         multilib(s) from the vanilla one.
2966         * config/avr/t-copy-libgcc: New Makefile snip.
2968 2019-11-04  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2970         * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
2971         the target output object format is not ELF.
2972         s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
2974 2019-11-03  Oleg Endo  <olegendo@gcc.gnu.org>
2976         PR libgcc/78804
2977         * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
2978         * fp-bit.c (pack_d, unpack_d): Remove special cases for
2979         FLOAT_BIT_ORDER_MISMATCH.
2980         * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
2982 2019-11-01  Jim Wilson  <jimw@sifive.com>
2984         * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
2986 2019-10-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2988         * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
2989         s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY, 
2990         s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
2991         Define symbols for 32-bit and f5series hardware multiply
2992         register addresses.
2993         Replace hard-coded register addresses with symbols.
2994         Fix "_mspabi*" typo.
2995         Fix whitespace.
2996         * config/msp430/lib2mul.c: Add comment.
2998 2019-10-15  John David Anglin  <danglin@gcc.gnu.org>
3000         * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
3001         unsigned int.  Adjust callers.
3002         (__canonicalize_funcptr_for_compare): Change plabel type to volatile
3003         unsigned int *.  Load relocation offset before function pointer.
3004         Add barrier to ensure ordering.
3006 2019-10-12  John David Anglin  <danglin@gcc.gnu.org>
3008         * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
3009         Load PIC register after branch target.  Fix white space.
3010         * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
3011         implementations.  Load PIC register after branch target.  Don't
3012         clobber function pointer when it points to function descriptor.
3013         Use nullification instead of branch in LINUX implementation.
3015 2019-10-03  John David Anglin  <danglin@gcc.gnu.org>
3017         * config/pa/fptr.c: Disable -Warray-bounds warning.
3019 2019-09-25  Richard Henderson  <richard.henderson@linaro.org>
3021         * config.in, configure: Re-rebuild with stock autoconf 2.69,
3022         not the ubuntu modified 2.69.
3024         PR target/91833
3025         * config/aarch64/lse-init.c: Include auto-target.h.  Disable
3026         initialization if !HAVE_SYS_AUXV_H.
3027         * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
3028         * config.in, configure: Rebuild.
3030         PR target/91834
3031         * config/aarch64/lse.S (LDNM): Ensure STXR output does not
3032         overlap the inputs.
3034 2019-09-25  Shaokun Zhang  <zhangshaokun@hisilicon.com>
3036         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
3037         CTR_EL0.IDC and CTR_EL0.DIC.
3039 2019-09-20  Christophe Lyon  <christophe.lyon@st.com>
3041         Revert:
3042         2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
3043                 MickaĂ«l GuĂŞnĂ© <mickael.guene@st.com>
3045         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3046         architecture.
3048 2019-09-19  Richard Henderson  <richard.henderson@linaro.org>
3050         * config/aarch64/lse-init.c: New file.
3051         * config/aarch64/lse.S: New file.
3052         * config/aarch64/t-lse: New file.
3053         * config.host: Add t-lse to all aarch64 tuples.
3055 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
3056         MickaĂ«l GuĂŞnĂ© <mickael.guene@st.com>
3058         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3059         architecture.
3061 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
3062         MickaĂ«l GuĂŞnĂ© <mickael.guene@st.com>
3064         * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
3065         (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
3066         (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
3067         (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
3068         (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
3069         (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
3070         (__gnu_personality_sigframe_fdpic): New.
3071         (get_eit_entry): Add FDPIC signal frame support.
3073 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
3074         MickaĂ«l GuĂŞnĂ© <mickael.guene@st.com>
3076         * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
3077         (__kernel_dmb): Likewise.
3078         (__fdpic_cmpxchg): New function.
3079         (__fdpic_dmb): New function.
3080         * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
3081         (gnu_Unwind_Find_got): New function.
3082         (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
3083         * unwind-arm-common.inc (UCB_PR_GOT): New.
3084         (funcdesc_t): New struct.
3085         (get_eit_entry): Add FDPIC support.
3086         (unwind_phase2): Likewise.
3087         (unwind_phase2_forced): Likewise.
3088         (__gnu_Unwind_RaiseException): Likewise.
3089         (__gnu_Unwind_Resume): Likewise.
3090         (__gnu_Unwind_Backtrace): Likewise.
3091         * unwind-pe.h (read_encoded_value_with_base): Likewise.
3093 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
3094         MickaĂ«l GuĂŞnĂ© <mickael.guene@st.com>
3096         * libgcc/crtstuff.c: Add support for FDPIC.
3098 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
3100         * config.host: Handle *-*-uclinuxfdpiceabi.
3102 2019-09-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
3104         * config.host: Set cpu_type for bpf-*-* targets.
3105         * config/bpf/t-bpf: Likewise.
3106         * config/bpf/crtn.S: Likewise.
3107         * config/bpf/crti.S: New file.
3109 2019-09-06  Jim Wilson  <jimw@sifive.com>
3111         * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3112         (riscv*-*-freebsd*): Likewise.
3114 2019-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
3116         * config.host: Remove references to spu.
3117         * config/spu/: Remove directory.
3119 2019-08-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3121         PR target/91306
3122         * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
3123         element type, instead of "sizeof" the element type.
3124         (__DTOR_LIST__): Likewise.
3125         (__TMC_LIST__): Likewise.
3126         (__do_global_dtors_aux_fini_array_entry): Likewise.
3127         (__frame_dummy_init_array_entry): Likewise.
3128         (__CTOR_END__): Likewise.
3129         (__DTOR_END__): Likweise.
3130         (__FRAME_END__): Likewise.
3131         (__TMC_END__): Likewise.
3133 2019-08-20  Lili Cui  <lilicui@intel.com>
3135         * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
3136         INTEL_COREI7_COOPERLAKE.
3138 2019-07-31  Matt Thomas  <matt@3am-software.com>
3139             Nick Hudson <nick@nthcliff.demon.co.uk>
3140             Matthew Green <mrg@eterna.com.au>
3141             Maya Rashish <coypu@sdf.org>
3143         * config.host (hppa*-*-netbsd*): New case.
3144         * config/pa/t-netbsd: New file.
3146 2019-07-31  Joel Hutton  <Joel.Hutton@arm.com>
3148         * config/arm/cmse.c (cmse_check_address_range): Add
3149         warn_unused_result attribute.
3151 2019-07-22  Martin Liska  <mliska@suse.cz>
3153         * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
3154         * config/pa/t-stublib: Likewise.
3156 2019-07-22  Stafford Horne  <shorne@gmail.com>
3158         PR target/90362
3159         * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
3160         to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
3161         instructions are not available on every processor.  Change a
3162         l.bnf to l.bf to fix logic issue.
3164 2019-07-04  Iain Sandoe  <iain@sandoe.co.uk>
3166         * config.host: Remove reference to t-darwin8.
3168 2019-07-03  Iain Sandoe  <iain@sandoe.co.uk>
3170         * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
3171         list.
3172         * config/rs6000/t-darwin: Build crt3_2 for older systems.  Revise
3173         mmacosx-version-min for crts to run across all system versions.
3174         * config/rs6000/t-darwin64 (LIB2ADD): Remove.
3175         * config/t-darwin: Revise mmacosx-version-min for crts to run across
3176         system versions >= 10.4.
3178 2019-07-03  Martin Liska  <mliska@suse.cz>
3180         * Makefile.in: Use topn_values instead of one_value names.
3181         * libgcov-merge.c (__gcov_merge_single): Move to ...
3182         (__gcov_merge_topn): ... this.
3183         (merge_single_value_set): Move to ...
3184         (merge_topn_values_set): ... this.
3185         * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
3186         ...
3187         (__gcov_topn_values_profiler_body): ... this.
3188         (__gcov_one_value_profiler_v2): Move to ...
3189         (__gcov_topn_values_profiler): ... this.
3190         (__gcov_one_value_profiler_v2_atomic): Move to ...
3191         (__gcov_topn_values_profiler_atomic): ... this.
3192         (__gcov_indirect_call_profiler_v4): Remove.
3193         * libgcov-util.c (__gcov_single_counter_op): Move to ...
3194         (__gcov_topn_counter_op): ... this.
3195         * libgcov.h (L_gcov_merge_single): Remove.
3196         (L_gcov_merge_topn): New.
3197         (__gcov_merge_single): Remove.
3198         (__gcov_merge_topn): New.
3199         (__gcov_one_value_profiler_v2): Move to ..
3200         (__gcov_topn_values_profiler): ... this.
3201         (__gcov_one_value_profiler_v2_atomic): Move to ...
3202         (__gcov_topn_values_profiler_atomic): ... this.
3204 2019-07-03  Martin Liska  <mliska@suse.cz>
3206         * libgcov-merge.c (merge_single_value_set): Support N values.
3207         * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
3209 2019-06-27  Ilia Diachkov  <ilia.diachkov@optimitech.com>
3211         * Makefile.in (USE_TM_CLONE_REGISTRY): New.
3212         (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
3213         * configure.ac: Add --disable-tm-clone-registry option.
3214         * configure: Regenerate.
3216 2019-06-27  Martin Liska  <mliska@suse.cz>
3218         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
3219         dead assignments.
3220         * libgcov-util.c: Likewise.
3222 2019-06-27  Martin Liska  <mliska@suse.cz>
3224         * libgcov-util.c (gcov_profile_merge): Release allocated
3225         memory.
3226         (calculate_overlap): Likewise.
3228 2019-06-25  Iain Sandoe  <iain@sandoe.co.uk>
3230         * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
3231         * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
3232         Build objects for the out of line save/restore register functions
3233         so that they can be used for any supported Darwin version.
3234         * config/t-darwin: Default the build Darwin version to Darwin8
3235         (MacOS 10.4).
3237 2019-06-25  Martin Liska  <mliska@suse.cz>
3239         * libgcov-driver-system.c (replace_filename_variables): Do not
3240         call strlen with NULL argument.
3242 2019-06-25  Andrew Stubbs  <ams@codesourcery.com>
3244         * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
3245         * config/gcn/unwind-gcn.c: New file.
3247 2019-06-25  Kwok Cheung Yeung  <kcy@codesourcery.com>
3248             Andrew Stubbs  <ams@codesourcery.com>
3250         * configure: Regenerate.
3251         * config/gcn/gthr-gcn.h: New.
3253 2019-06-18  Tom de Vries  <tdevries@suse.de>
3255         * config/nvptx/crt0.c (__main): Declare.
3257 2019-06-17  Matthew Green  <mrg@eterna.com.au>
3258             Maya Rashish  <coypu@sdf.org>
3260         * config.host (aarch64*-*-netbsd*): New case.
3262 2019-06-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3264         * config/msp430/slli.S (__mspabi_sllll): New library function for
3265         performing a logical left shift of a 64-bit value.
3266         * config/msp430/srai.S (__mspabi_srall): New library function for
3267         performing a arithmetic right shift of a 64-bit value.
3268         * config/msp430/srll.S (__mspabi_srlll): New library function for
3269         performing a logical right shift of a 64-bit value.
3271 2019-06-14  Matt Thomas  <matt@3am-software.com>
3272             Matthew Green  <mrg@eterna.com.au>
3273             Nick Hudson  <skrll@netbsd.org>
3274             Maya Rashish  <coypu@sdf.org>
3276         * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
3277         * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
3278         functions to build.
3279         * config/arm/t-netbsd-eabi: New file.
3281 2019-06-12  Dimitar Dimitrov  <dimitar@dinux.eu>
3283         * config.host: Add PRU target.
3284         * config/pru/asri.c: New file.
3285         * config/pru/eqd.c: New file.
3286         * config/pru/eqf.c: New file.
3287         * config/pru/ged.c: New file.
3288         * config/pru/gef.c: New file.
3289         * config/pru/gtd.c: New file.
3290         * config/pru/gtf.c: New file.
3291         * config/pru/led.c: New file.
3292         * config/pru/lef.c: New file.
3293         * config/pru/lib2bitcountHI.c: New file.
3294         * config/pru/lib2divHI.c: New file.
3295         * config/pru/lib2divQI.c: New file.
3296         * config/pru/lib2divSI.c: New file.
3297         * config/pru/libgcc-eabi.ver: New file.
3298         * config/pru/ltd.c: New file.
3299         * config/pru/ltf.c: New file.
3300         * config/pru/mpyll.S: New file.
3301         * config/pru/pru-abi.h: New file.
3302         * config/pru/pru-asm.h: New file.
3303         * config/pru/pru-divmod.h: New file.
3304         * config/pru/sfp-machine.h: New file.
3305         * config/pru/t-pru: New file.
3307 2019-06-11  Jakub Jelinek  <jakub@redhat.com>
3309         * libgcov-merge.c (__gcov_merge_single): Revert previous change.
3311 2019-06-10  Martin Liska  <mliska@suse.cz>
3313         PR bootstrap/90808
3314         * libgcov.h: Add ATTRIBUTE_UNUSED.
3316 2019-06-10  Martin Liska  <mliska@suse.cz>
3318         * Makefile.in: Add __gcov_one_value_profiler_v2,
3319         __gcov_one_value_profiler_v2_atomic and
3320         __gcov_indirect_call_profiler_v4.
3321         * libgcov-merge.c (__gcov_merge_single): Change
3322         function signature.
3323         (merge_single_value_set): New.
3324         * libgcov-profiler.c (__gcov_one_value_profiler_body):
3325         Update functionality.
3326         (__gcov_one_value_profiler): Remove.
3327         (__gcov_one_value_profiler_v2): ... this.
3328         (__gcov_one_value_profiler_atomic): Rename to ...
3329         (__gcov_one_value_profiler_v2_atomic): this.
3330         (__gcov_indirect_call_profiler_v3): Rename to ...
3331         (__gcov_indirect_call_profiler_v4): ... this.
3332         * libgcov.h (__gcov_one_value_profiler): Remove.
3333         (__gcov_one_value_profiler_atomic): Remove.
3334         (__gcov_one_value_profiler_v2_atomic): New.
3335         (__gcov_indirect_call_profiler_v3): Remove.
3336         (__gcov_one_value_profiler_v2): New.
3337         (__gcov_indirect_call_profiler_v4): New.
3338         (gcov_get_counter_ignore_scaling): New function.
3340 2019-06-07  Martin Liska  <mliska@suse.cz>
3342         * Makefile.in: Remove usage of
3343         _gcov_merge_icall_topn.
3344         * libgcov-driver.c (gcov_sort_n_vals): Remove.
3345         (gcov_sort_icall_topn_counter): Likewise.
3346         (gcov_sort_topn_counter_arrays): Likewise.
3347         (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
3348         * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
3349         * libgcov-profiler.c (__gcov_topn_value_profiler_body):
3350         Likewise.
3351         (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
3352         (struct indirect_call_tuple): Remove.
3353         (__gcov_indirect_call_topn_profiler): Remove.
3354         * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
3355         * libgcov.h (gcov_sort_n_vals): Remove.
3356         (L_gcov_merge_icall_topn): Likewise.
3357         (__gcov_merge_icall_topn): Likewise.
3358         (__gcov_indirect_call_topn_profiler): Likewise.
3360 2019-06-06  Iain Sandoe  <iain@sandoe.co.uk>
3362         * config/rs6000/t-darwin: Ensure that the unwinder is built with
3363         altivec enabled.
3365 2019-06-06  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3367         * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
3368         section.
3369         (__mspabi_slli): Likewise.
3370         (__mspabi_slll_n): Likewise.
3371         (__mspabi_slll): Likewise.
3372         * config/msp430/srai.S (__mspabi_srai_n): Likewise.
3373         (__mspabi_srai): Likewise.
3374         (__mspabi_sral_n): Likewise.
3375         (__mspabi_sral): Likewise.
3376         * config/msp430/srli.S (__mspabi_srli_n): Likewise.
3377         (__mspabi_srli): Likewise.
3378         (__mspabi_srll_n): Likewise.
3379         (__mspabi_srll): Likewise.
3381 2019-06-05  Yoshinori Sato  <ysato@users.sourceforge.jp>
3383         * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
3384         Add appropriate tm_file clause as well.
3385         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
3387 2019-06-05  James Clarke  <jrtc27@jrtc27.com>
3389         * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
3390         rather than .data/.bss so it can be accessed via gp-relative
3391         addressing.
3393 2019-06-05  David Edelsohn  <dje.gcc@gmail.com>
3395         * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
3396         (CR2_REGNO): Rename to R_CR2.
3397         (XER_REGNO): Rename to R_XER.
3398         (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
3399         (VRSAVE_REGNO): Rename to R_VRSAVE.
3400         (VSCR_REGNO): R_VSCR.
3402 2019-05-29  Yoshinori Sato  <ysato@users.sourceforge.jp>
3404         * config.host (rx-*-linux*): Add new case.
3405         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
3407 2019-05-29  Sam Tebbs  <sam.tebbs@arm.com>
3409         * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
3410         function.
3411         * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
3412         aarch64_post_frob_eh_handler_addr): Add check for b-key.
3413         * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
3414         aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
3415         Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
3416         * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
3417         string.
3418         * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
3419         string.
3420         (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
3422 2019-05-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3424         * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
3425         Remove Solaris 9 and 10 support.
3426         (sparc_is_sighandler): Likewise.
3428 2019-05-26  John David Anglin  <danglin@gcc.gnu.org>
3430         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
3432 2019-05-17  H.J. Lu  <hongjiu.lu@intel.com>
3434         * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3435         4_FP_W_TYPEs are used for IEEE quad precision.
3436         * soft-fp/extendhftf2.c: Likewise.
3437         * soft-fp/extendsftf2.c: Likewise.
3438         * soft-fp/extendxftf2.c: Likewise.
3439         * soft-fp/trunctfdf2.c: Likewise.
3440         * soft-fp/trunctfhf2.c: Likewise.
3441         * soft-fp/trunctfsf2.c: Likewise.
3442         * soft-fp/trunctfxf2.c: Likewise.
3443         * config/rs6000/ibm-ldouble.c: Likewise.
3445 2019-05-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3447         * config.host: Simplify various *-*-solaris2.1[0-9]* to
3448         *-*-solaris2*.
3449         * configure.ac: Likewise.
3450         * configure: Regenerate.
3452         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3453         Solaris 10 and Solaris 11 < snv_125 handling.
3455 2019-05-12  Iain Sandoe  <iain@sandoe.co.uk>
3457         * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
3459 2019-05-07  Hongtao Liu  <hongtao.liu@intel.com>
3461         * config/i386/cpuinfo.c (get_available_features): Detect BF16.
3462         * config/i386/cpuinfo.h (enum processor_features): Add
3463         FEATURE_AVX512BF16.
3465 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
3466             Bernd Edlinger  <bernd.edlinger@hotmail.de>
3467             Jakub Jelinek  <jakub@redhat.com>
3469         PR target/89093
3470         * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
3471         * config/arm/unwind-arm.c: Likewise.
3472         * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
3473         attribute for ARM.
3475 2019-04-15  Monk Chiang  <sh.chiang04@gmail.com>
3477         * config/nds32/linux-unwind.h (SIGRETURN): Remove.
3478         (RT_SIGRETURN): Update.
3479         (nds32_fallback_frame_state): Update.
3481 2019-02-21  Martin Sebor  <msebor@redhat.com>
3483         * libgcc2.h (__clear_cache): Correct signature.
3484         * libgcc2.c (__clear_cache): Same.
3486 2019-02-20  Uroš Bizjak  <ubizjak@gmail.com>
3488         * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
3489         Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
3491 2019-02-19  Uroš Bizjak  <ubizjak@gmail.com>
3493         * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
3494         regno instead of index to DWARF_ZERO_REG.
3496 2019-02-15  Eric Botcazou  <ebotcazou@adacore.com>
3498         * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
3499         TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
3501 2019-01-31  Uroš Bizjak  <ubizjak@gmail.com>
3503         * config/alpha/t-linux: Add -mfp-rounding-mode=d
3504         to HOST_LIBGCC2_CFLAGS.
3506 2019-01-23  Joseph Myers  <joseph@codesourcery.com>
3508         PR libgcc/88931
3509         * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
3511 2019-01-18  Martin Liska  <mliska@suse.cz>
3513         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
3514         to ...
3515         (__gcov_indirect_call_profiler_v3): ... this.
3516         * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
3517         (__gcov_indirect_call_profiler_v3): Likewise.
3518         * Makefile.in: Bump function name.
3520 2019-01-18  Martin Liska  <mliska@suse.cz>
3522         * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
3523         (gcov_version): Use in gcov_error.
3524         (merge_one_data): Likewise.
3525         (dump_one_gcov): Likewise.
3527 2019-01-18  Martin Liska  <mliska@suse.cz>
3529         * libgcov-driver.c (gcov_version_string): New function.
3530         (gcov_version): Convert version integer into string.
3532 2019-01-17  Andrew Stubbs  <ams@codesourcery.com>
3533             Kwok Cheung Yeung  <kcy@codesourcery.com>
3534             Julian Brown  <julian@codesourcery.com>
3535             Tom de Vries  <tom@codesourcery.com>
3537         * config.host: Recognize amdgcn*-*-amdhsa.
3538         * config/gcn/crt0.c: New file.
3539         * config/gcn/lib2-divmod-hi.c: New file.
3540         * config/gcn/lib2-divmod.c: New file.
3541         * config/gcn/lib2-gcn.h: New file.
3542         * config/gcn/sfp-machine.h: New file.
3543         * config/gcn/t-amdgcn: New file.
3545 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
3547         PR other/16615
3549         * config/c6x/libunwind.S: Mechanically replace "can not" with
3550         "cannot".
3551         * config/tilepro/atomic.h: Likewise.
3552         * config/vxlib-tls.c: Likewise.
3553         * generic-morestack-thread.c: Likewise.
3554         * generic-morestack.c: Likewise.
3555         * mkmap-symver.awk: Likewise.
3557 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
3559         Update copyright years.
3561 2018-12-20  H.J. Lu  <hongjiu.lu@intel.com>
3563         * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
3564         to ignore -Waddress-of-packed-member.
3566 2018-12-19  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
3568         * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
3569         parameter and corresponding code.
3570         (ARM_FUNC_START): Likewise in both definitions.
3571         Also update footer comment about condition that need to match with
3572         gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
3573         * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
3574         defined.  Weakly define it in this case.
3575         * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
3576         * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
3577         _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
3578         comment to keep condition in sync with the one in
3579         libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
3581 2018-12-18  Wei Xiao  <wei3.xiao@intel.com>
3583         * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
3584         * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
3586 2018-12-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3588         * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
3589         and .cfi_endproc directives for VxWorks targets.
3591 2018-12-05  Paul Koning  <ni1d@arrl.net>
3593         * udivmodhi4.c (__udivmodhi4): Fix loop end check.
3595 2018-11-27  Alan Modra  <amodra@gmail.com>
3597         * config/rs6000/morestack.S (__stack_split_initialize),
3598         (__morestack_get_guard, __morestack_set_guard),
3599         (__morestack_make_guard): Provide CFI covering these functions.
3600         * config/rs6000/tramp.S (__trampoline_setup): Likewise.
3602 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
3604         * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
3605         (sc_pt_regs_lr): Update for kernel.
3606         (sc_pt_regs_tls): Update for kernel.
3608 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
3610         * config/csky/linux-unwind.h: Fix coding style.
3612 2018-11-13  Xianmiao Qu  <xianmiao_qu@c-sky.com>
3614         * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
3615         (csky_fallback_frame_state): Modify the check of the
3616         instructions to adapt to changes in the kernel
3618 2018-11-09  Stafford Horne  <shorne@gmail.com>
3619             Richard Henderson  <rth@twiddle.net>
3621         * config.host: Add OpenRISC support.
3622         * config/or1k/*: New.
3624 2018-11-08  Kito Cheng  <kito@andestech.com>
3626         * soft-fp/adddf3.c: Update from glibc.
3627         * soft-fp/addsf3.c: Likewise.
3628         * soft-fp/addtf3.c: Likewise.
3629         * soft-fp/divdf3.c: Likewise.
3630         * soft-fp/divsf3.c: Likewise.
3631         * soft-fp/divtf3.c: Likewise.
3632         * soft-fp/double.h: Likewise.
3633         * soft-fp/eqdf2.c: Likewise.
3634         * soft-fp/eqsf2.c: Likewise.
3635         * soft-fp/eqtf2.c: Likewise.
3636         * soft-fp/extenddftf2.c: Likewise.
3637         * soft-fp/extended.h: Likewise.
3638         * soft-fp/extendhftf2.c: Likewise.
3639         * soft-fp/extendsfdf2.c: Likewise.
3640         * soft-fp/extendsftf2.c: Likewise.
3641         * soft-fp/extendxftf2.c: Likewise.
3642         * soft-fp/fixdfdi.c: Likewise.
3643         * soft-fp/fixdfsi.c: Likewise.
3644         * soft-fp/fixdfti.c: Likewise.
3645         * soft-fp/fixhfti.c: Likewise.
3646         * soft-fp/fixsfdi.c: Likewise.
3647         * soft-fp/fixsfsi.c: Likewise.
3648         * soft-fp/fixsfti.c: Likewise.
3649         * soft-fp/fixtfdi.c: Likewise.
3650         * soft-fp/fixtfsi.c: Likewise.
3651         * soft-fp/fixtfti.c: Likewise.
3652         * soft-fp/fixunsdfdi.c: Likewise.
3653         * soft-fp/fixunsdfsi.c: Likewise.
3654         * soft-fp/fixunsdfti.c: Likewise.
3655         * soft-fp/fixunshfti.c: Likewise.
3656         * soft-fp/fixunssfdi.c: Likewise.
3657         * soft-fp/fixunssfsi.c: Likewise.
3658         * soft-fp/fixunssfti.c: Likewise.
3659         * soft-fp/fixunstfdi.c: Likewise.
3660         * soft-fp/fixunstfsi.c: Likewise.
3661         * soft-fp/fixunstfti.c: Likewise.
3662         * soft-fp/floatdidf.c: Likewise.
3663         * soft-fp/floatdisf.c: Likewise.
3664         * soft-fp/floatditf.c: Likewise.
3665         * soft-fp/floatsidf.c: Likewise.
3666         * soft-fp/floatsisf.c: Likewise.
3667         * soft-fp/floatsitf.c: Likewise.
3668         * soft-fp/floattidf.c: Likewise.
3669         * soft-fp/floattihf.c: Likewise.
3670         * soft-fp/floattisf.c: Likewise.
3671         * soft-fp/floattitf.c: Likewise.
3672         * soft-fp/floatundidf.c: Likewise.
3673         * soft-fp/floatundisf.c: Likewise.
3674         * soft-fp/floatunditf.c: Likewise.
3675         * soft-fp/floatunsidf.c: Likewise.
3676         * soft-fp/floatunsisf.c: Likewise.
3677         * soft-fp/floatunsitf.c: Likewise.
3678         * soft-fp/floatuntidf.c: Likewise.
3679         * soft-fp/floatuntihf.c: Likewise.
3680         * soft-fp/floatuntisf.c: Likewise.
3681         * soft-fp/floatuntitf.c: Likewise.
3682         * soft-fp/gedf2.c: Likewise.
3683         * soft-fp/gesf2.c: Likewise.
3684         * soft-fp/getf2.c: Likewise.
3685         * soft-fp/half.h: Likewise.
3686         * soft-fp/ledf2.c: Likewise.
3687         * soft-fp/lesf2.c: Likewise.
3688         * soft-fp/letf2.c: Likewise.
3689         * soft-fp/muldf3.c: Likewise.
3690         * soft-fp/mulsf3.c: Likewise.
3691         * soft-fp/multf3.c: Likewise.
3692         * soft-fp/negdf2.c: Likewise.
3693         * soft-fp/negsf2.c: Likewise.
3694         * soft-fp/negtf2.c: Likewise.
3695         * soft-fp/op-1.h: Likewise.
3696         * soft-fp/op-2.h: Likewise.
3697         * soft-fp/op-4.h: Likewise.
3698         * soft-fp/op-8.h: Likewise.
3699         * soft-fp/op-common.h: Likewise.
3700         * soft-fp/quad.h: Likewise.
3701         * soft-fp/single.h: Likewise.
3702         * soft-fp/soft-fp.h: Likewise.
3703         * soft-fp/subdf3.c: Likewise.
3704         * soft-fp/subsf3.c: Likewise.
3705         * soft-fp/subtf3.c: Likewise.
3706         * soft-fp/truncdfsf2.c: Likewise.
3707         * soft-fp/trunctfdf2.c: Likewise.
3708         * soft-fp/trunctfhf2.c: Likewise.
3709         * soft-fp/trunctfsf2.c: Likewise.
3710         * soft-fp/trunctfxf2.c: Likewise.
3711         * soft-fp/unorddf2.c: Likewise.
3712         * soft-fp/unordsf2.c: Likewise.
3713         * soft-fp/unordtf2.c: Likewise.
3715 2018-11-04  Venkataramanan Kumar  <Venkataramanan.kumar@amd.com>
3717         * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
3718         * config/i386/cpuinfo.h (processor_types): Add znver2.
3720 2018-11-01  Paul Koning  <ni1d@arrl.net>
3722         * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
3723         (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
3725 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
3727         PR bootstrap/82856
3728         * configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
3729         * configure: Regenerate.
3731 2018-10-31  Claudiu Zissulescu  <claziss@synopsys.com>
3733         * config/arc/lib1funcs.S (_muldi3): New function.
3734         * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
3736 2018-10-30  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3738         * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
3740 2018-10-25  Martin Liska  <mliska@suse.cz>
3742         PR other/87735
3743         * libgcov-profiler.c: Revert.
3745 2018-10-24  Martin Liska  <mliska@suse.cz>
3747         * libgcov-profiler.c: Start from 1 in order to distinguish
3748         functions which were seen and these that were not.
3750 2018-10-18  Paul Koning  <ni1d@arrl.net>
3752         * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
3753         standard.
3754         * divmod.c: Update references to __udivmodsi4.
3755         * udivmod.c: Ditto.
3756         * udivhi3.c: New file.
3757         * udivmodhi4.c: New file.
3758         * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
3760 2018-10-17  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3762         * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
3764 2018-10-12  Olivier Hainque  <hainque@adacore.com>
3766         * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
3767         defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
3769 2018-10-08  Paul Koning  <ni1d@arrl.net>
3771         * config/pdp11/t-pdp11: Remove -mfloat32 switch.
3773 2018-10-04  Martin Liska  <mliska@suse.cz>
3775         PR gcov-profile/84107
3776         * libgcov-profiler.c (__gcov_indirect_call):
3777         Change type to indirect_call_tuple.
3778         (struct indirect_call_tuple): New struct.
3779         (__gcov_indirect_call_topn_profiler): Change type.
3780         (__gcov_indirect_call_profiler_v2): Use the new
3781         variables.
3782         * libgcov.h (struct indirect_call_tuple): New struct
3783         definition.
3785 2018-10-03  Uros Bizjak  <ubizjak@gmail.com>
3787         * libgcc2.c (isnan): Use __builtin_isnan.
3788         (isfinite): Use __builtin_isfinite.
3789         (isinf): Use __builtin_isinf.
3791 2018-09-26  Uros Bizjak  <ubizjak@gmail.com>
3793         * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
3795 2018-09-21  Alexandre Oliva  <oliva@adacore.com>
3797         * config/vxcache.c: New file.  Provide __clear_cache, based on
3798         the cacheTextUpdate VxWorks service.
3799         * config/t-vxworks (LIB2ADD): Add vxcache.c.
3800         (LIB2FUNCS_EXCLUDE): Add _clear_cache.
3801         * config/t-vxwoks7: Likewise.
3803 2018-09-21  Martin Liska  <mliska@suse.cz>
3805         * libgcov-driver.c (crc32_unsigned): Remove.
3806         (gcov_histogram_insert): Likewise.
3807         (gcov_compute_histogram): Likewise.
3808         (compute_summary): Simplify rapidly.
3809         (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
3810         (merge_summary): Rapidly simplify.
3811         (dump_one_gcov): Ignore gcov_summary.
3812         (gcov_do_dump): Do not handle program summary, it's not
3813         used.
3814         * libgcov-util.c (tag_summary): Remove.
3815         (read_gcda_finalize): Fix coding style.
3816         (read_gcda_file): Initialize curr_object_summary.
3817         (compute_summary): Remove.
3818         (calculate_overlap): Remove settings of run_max.
3820 2018-09-21  Monk Chiang  <sh.chiang04@gmail.com>
3822         * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
3823         ucontext_t type instead.
3824         (nds32_fallback_frame_state): Remove struct _sigframe statement.
3826 2018-09-21  Kito Cheng  <kito.cheng@gmail.com>
3828         * config/nds32/t-nds32-glibc: New file.
3830 2018-09-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3832         * configure.ac (solaris_ld_v2_maps): New test.
3833         * configure: Regenerate.
3834         * Makefile.in (solaris_ld_v2_maps): New variable.
3835         * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
3836         if supported.
3838 2018-08-23  Richard Earnshaw  <rearnsha@arm.com>
3840         PR target/86951
3841         * config/arm/lib1funcs.asm (speculation_barrier): New function.
3842         * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
3843         to build.
3845 2018-08-22  Iain Sandoe  <iain@sandoe.co.uk>
3847         * config/unwind-dw2-fde-darwin.c
3848         (_darwin10_Unwind_FindEnclosingFunction): move from here ...
3849         * config/darwin10-unwind-find-enc-func.c: â€¦ to here.
3850         * config/t-darwin: Build Darwin10 unwinder shim crt.
3851         * libgcc/config.host: Add the Darwin10 unwinder shim.
3853 2018-08-21  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3855         * config.host: Add crtbegin.o and crtend.o for
3856         powerpc-wrs-vxworks target.
3858 2018-08-17  Jojo  <jijie_rong@c-sky.com>
3859             Huibin Wang  <huibin_wang@c-sky.com>
3860             Sandra Loosemore  <sandra@codesourcery.com>
3861             Chung-Lin Tang  <cltang@codesourcery.com>
3863         C-SKY port: libgcc
3865         * config.host: Add C-SKY support.
3866         * config/csky/*: New.
3868 2018-08-12  Chung-Ju Wu  <jasonwucj@gmail.com>
3870         * config/nds32/t-nds32-isr: Rearrange object dependency.
3871         * config/nds32/initfini.c: Add dwarf2 unwinding support.
3872         * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
3873         and registers usage.
3874         * config/nds32/isr-library/excp_isr.S: Ditto.
3875         * config/nds32/isr-library/intr_isr.S: Ditto.
3876         * config/nds32/isr-library/reset.S: Ditto.
3877         * config/nds32/isr-library/restore_all.inc: Ditto.
3878         * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
3879         * config/nds32/isr-library/restore_partial.inc: Ditto.
3880         * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
3881         * config/nds32/isr-library/save_all.inc: Ditto.
3882         * config/nds32/isr-library/save_mac_regs.inc: Ditto.
3883         * config/nds32/isr-library/save_partial.inc: Ditto.
3884         * config/nds32/isr-library/save_usr_regs.inc: Ditto.
3885         * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
3887 2018-08-11  John David Anglin  <danglin@gcc.gnu.org>
3889         * config/pa/linux-atomic.c: Update comment.
3890         (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
3891         COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
3892         SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
3893         __ATOMIC_RELAXED for atomic loads.
3894         (SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
3895         unordered store to release lock.
3896         (__sync_lock_release_8): Likewise.
3897         (SYNC_LOCK_RELEASE_2): Remove define.
3899 2018-08-02  Nicolas Pitre <nico@fluxnic.net>
3901         PR libgcc/86512
3902         * config/arm/ieee754-df.S: Don't shortcut denormal handling when
3903         exponent goes negative. Update my email address.
3904         * config/arm/ieee754-sf.S: Likewise.
3906 2018-08-01  Martin Liska  <mliska@suse.cz>
3908         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
3909         check that  __gcov_indirect_call_callee is non-null.
3911 2018-07-30  Christophe Lyon  <christophe.lyon@linaro.org>
3913         * config/arm/ieee754-df.S: Fix comment for code working on
3914         architectures >= 4.
3915         * config/arm/ieee754-sf.S: Likewise.
3917 2018-07-27  H.J. Lu  <hongjiu.lu@intel.com>
3919         PR libgcc/85334
3920         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3921         Removed.
3923 2018-07-05  James Clarke  <jrtc27@jrtc27.com>
3925         * configure: Regenerated.
3927 2018-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3929         * Makefile.in (install_leaf): Use enable_gcov instead of
3930         enable_libgcov.
3932 2018-06-27  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3934         * configure.ac: Add --disable-gcov option.
3935         * configure: Regenerate.
3936         * Makefile.in: Honour @enable_gcov@.
3938 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
3940         * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
3941         __ARM_ARCH and __ARM_FEATURE_CLZ instead.
3942         (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
3943         * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
3944         __ARM_ARCH__.
3945         * config/arm/ieee754-sf.S: Likewise.
3946         * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
3948 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
3950         * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
3951         longer supported.
3952         * config/arm/ieee754-sf.S: Likewise.
3954 2018-06-20  Than McIntosh  <thanm@google.com>
3956         PR libgcc/86213
3957         * generic-morestack.c (allocate_segment): Move calls to getenv and
3958         getpagesize to __morestack_load_mmap.
3959         (__morestack_load_mmap) Initialize static_pagesize and
3960         use_guard_page here so as to avoid clobbering SSE regs during a
3961         __morestack call.
3963 2018-06-18  Michael Meissner  <meissner@linux.ibm.com>
3965         * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
3966         support modules with -mno-gnu-attribute.
3967         * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
3969 2018-06-07  Olivier Hainque  <hainque@adacore.com>
3971         * config/t-vxworks (LIBGCC_INCLUDES): Add
3972         -I$(MULTIBUILDTOP)../../gcc/include.
3973         * config/t-vxworks7: Likewise. Reformat a bit to match
3974         the t-vxworks layout.
3976 2018-06-07  Olga Makhotina  <olga.makhotina@intel.com>
3978         * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
3980 2018-06-07  Martin Liska  <mliska@suse.cz>
3982         * libgcov-driver.c: Rename cs_all to all and assign it from
3983         all_prg.
3985 2018-06-07  Martin Liska  <mliska@suse.cz>
3987         PR bootstrap/86057
3988         * libgcov-driver-system.c (replace_filename_variables): Use
3989         memcpy instead of mempcpy.
3990         (allocate_filename_struct): Do not allocate filename, allocate
3991         prefix and set it.
3992         (gcov_exit_open_gcda_file): Allocate memory for gf->filename
3993         here and properly copy content into it.
3994         * libgcov-driver.c (struct gcov_filename): Remove max_length
3995         field, change prefix from size_t into char *.
3996         (compute_summary): Do not calculate longest filename.
3997         (gcov_do_dump): Release memory of gf.filename after each file.
3998         * libgcov-util.c (compute_summary): Use new signature of
3999         compute_summary.
4000         (calculate_overlap): Likewise.
4002 2018-06-05  Martin Liska  <mliska@suse.cz>
4004         PR gcov-profile/47618
4005         * libgcov-driver-system.c (replace_filename_variables): New
4006         function.
4007         (gcov_exit_open_gcda_file): Use it.
4009 2018-06-05  Martin Liska  <mliska@suse.cz>
4011         * libgcov-driver.c (gcov_compute_histogram): Remove usage
4012         of gcov_ctr_summary.
4013         (compute_summary): Do it just for a single summary.
4014         (merge_one_data): Likewise.
4015         (merge_summary): Simplify as we read just single summary.
4016         (dump_one_gcov): Pass proper argument.
4017         * libgcov-util.c (compute_one_gcov): Simplify as we have just
4018         single summary.
4019         (gcov_info_count_all_cold): Likewise.
4020         (calculate_overlap): Likewise.
4022 2018-06-02  Chung-Ju Wu  <jasonwucj@gmail.com>
4023             Monk Chiang  <sh.chiang04@gmail.com>
4025         * config.host (nds32*-linux*): New.
4026         * config/nds32/linux-atomic.c: New file.
4027         * config/nds32/linux-unwind.h: New file.
4029 2018-05-31  Uros Bizjak  <ubizjak@gmail.com>
4031         PR target/85591
4032         * config/i386/cpuinfo.c (get_amd_cpu): Return
4033         AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
4035 2018-05-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
4037         * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
4039 2018-05-29  Martin Liska  <mliska@suse.cz>
4041         PR gcov-profile/85759
4042         * libgcov-driver-system.c (gcov_error): Introduce usage of
4043         GCOV_EXIT_AT_ERROR env. variable.
4044         * libgcov-driver.c (merge_one_data): Print error that we
4045         overwrite a gcov file with a different timestamp.
4047 2018-05-23  Kalamatee  <kalamatee@gmail.com>
4049         * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
4050         path to Lf$finfty.
4052 2018-05-18  Kito Cheng <kito.cheng@gmail.com>
4053             Monk Chiang  <sh.chiang04@gmail.com>
4054             Jim Wilson <jimw@sifive.com>
4056         * config/riscv/save-restore.S: Add support for rv32e.
4058 2018-05-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
4060         * config/arm/libunwind.S: Update comment relating to armv5.
4062 2018-05-17  Jerome Lambourg  <lambourg@adacore.com>
4064         * config/arm/cmse.c (cmse_check_address_range): Replace
4065         UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
4067 2018-05-17  Olga Makhotina  <olga.makhotina@intel.com>
4069         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
4070         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
4072 2018-05-08  Olga Makhotina  <olga.makhotina@intel.com>
4074         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
4075         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
4077 2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
4079         * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
4081 2018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
4082             Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
4084         PR libgcc/84292
4085         * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
4086         op_and_fetch to return the right result.
4088 2018-04-27  Alan Modra  <amodra@gmail.com>
4090         PR libgcc/85532
4091         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
4092         -fno-asynchronous-unwind-tables.
4094 2018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
4096         * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
4097         * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
4099 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
4101         * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
4102         when including "config/i386/shadow-stack-unwind.h".
4104 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
4106         * configure: Regenerated.
4108 2018-04-20  Michael Meissner  <meissner@linux.ibm.com>
4110         PR target/85456
4111         * config/rs6000/_powikf2.c: New file.  Add support for the
4112         __builtin_powil function when long double is IEEE 128-bit floating
4113         point.
4114         * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
4115         __powikf2 support.
4116         (__powikf2): Likewise.
4117         * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
4118         (__powikf2_hw): Likewise.
4119         (__powikf2): Likewise.
4120         * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
4121         * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
4122         (_powikf2-hw.c): Likewise.
4124 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
4126         PR libgcc/85334
4127         * unwind-generic.h (_Unwind_Frames_Increment): New.
4128         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
4129         Likewise.
4130         * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
4131         count with _Unwind_Frames_Increment.
4132         (_Unwind_ForcedUnwind_Phase2): Likewise.
4134 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
4136         PR libgcc/85379
4137         * config/i386/morestack.S (__stack_split_initialize): Add
4138         _CET_ENDBR.
4140 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
4142         * configure: Regenerated.
4144 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
4146         PR jit/85384
4147         * configure: Regenerate.
4149 2018-04-16  Jakub Jelinek  <jakub@redhat.com>
4151         PR target/84945
4152         * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
4153         -Wdangling-else warnings.  Mask shift counts to avoid
4154         -Wshift-count-negative and -Wshift-count-overflow false positives.
4156 2018-04-06  Ruslan Bukin  <br@bsdpad.com>
4158         * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
4160 2018-03-29  H.J. Lu  <hongjiu.lu@intel.com>
4162         PR target/85100
4163         * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
4164         (XSTATE_FP): Likewise.
4165         (XSTATE_SSE): Likewise.
4166         (XSTATE_YMM): Likewise.
4167         (XSTATE_OPMASK): Likewise.
4168         (XSTATE_ZMM): Likewise.
4169         (XSTATE_HI_ZMM): Likewise.
4170         (XCR_AVX_ENABLED_MASK): Likewise.
4171         (XCR_AVX512F_ENABLED_MASK): Likewise.
4172         (get_available_features): Enable AVX and AVX512 features only
4173         if their states are supported by OSXSAVE.
4175 2018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4177         PR target/85025
4178         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4179         Fix a typo, tmp => 255.
4181 2018-03-20  Jakub Jelinek  <jakub@redhat.com>
4183         PR target/84945
4184         * config/i386/cpuinfo.h (__cpu_features2): Declare.
4185         * config/i386/cpuinfo.c (__cpu_features2): New variable for
4186         ifndef SHARED only.
4187         (set_feature): Define.
4188         (get_available_features): Use set_feature macro.  Set __cpu_features2
4189         to the second word of features ifndef SHARED.
4191 2018-03-15  Julia Koval  <julia.koval@intel.com>
4193         * config/i386/cpuinfo.c (get_available_features): Add
4194         FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
4195         FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
4196         * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
4197         FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
4198         FEATURE_AVX512BITALG.
4200 2018-03-14  Julia Koval  <julia.koval@intel.com>
4202         * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
4203         icelake client and icelake server.
4205 2018-03-06  John David Anglin  <danglin@gcc.gnu.org>
4207         * config/pa/fptr.c (_dl_read_access_allowed): New.
4208         (__canonicalize_funcptr_for_compare): Use it.
4210 2018-02-28  Jakub Jelinek  <jakub@redhat.com>
4212         PR debug/83917
4213         * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
4214         $asm_hidden_op if visibility ("hidden") attribute works.
4215         (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
4216         * config/i386/i386-asm.h: Don't include auto-host.h.
4217         (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
4218         PACKAGE_URL): Don't undefine.
4219         (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
4220         guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
4221         (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
4222         #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
4223         definition instead of hardcoded .hidden.
4224         * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
4225         directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
4226         #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
4227         (USE_GAS_CFI_DIRECTIVES): Don't define.
4228         * configure: Regenerated.
4229         * config.in: Likewise.
4231 2018-02-26  Jakub Jelinek  <jakub@redhat.com>
4233         PR debug/83917
4234         * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
4235         PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
4236         inclusion of auto-target.h and auto-host.h.
4237         (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
4238         __GCC_HAVE_DWARF2_CFI_ASM.
4239         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4240         cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
4241         cfi_pop): Define.
4242         * config/i386/cygwin.S: Don't include auto-host.h here, just
4243         define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
4244         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4245         cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
4246         * config/i386/resms64fx.h: Add cfi_* directives.
4247         * config/i386/resms64x.h: Likewise.
4249 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
4251         * config/xtensa/ieee754-df.S (__adddf3_aux): Add
4252         .literal_position directive.
4253         * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
4255 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4257         PR target/84148
4258         * configure: Regenerate.
4260 2018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4262         PR target/84239
4263         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4264         Include cetintrin.h not x86intrin.h.
4266 2018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4268         PR target/84239
4269         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4270         Use new _get_ssp and _inc_ssp intrinsics.
4272 2018-02-02  Julia Koval  <julia.koval@intel.com>
4274         * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
4276 2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
4278         * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
4279         option.
4280         (__divsi3): Use RF16 safe registers.
4281         (__modsi3): Likewise.
4283 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
4285         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
4286         (__divsf3): Make NaN return value quiet.
4287         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
4288         (__divdf3): Make NaN return value quiet.
4290 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4292         * config/rl78/anddi3.S: New assembly file.
4293         * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
4295 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4297         * config/rl78/umindi3.S: New assembly file.
4298         * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
4300 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4302         * config/rl78/smindi3.S: New assembly file.
4303         * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
4305 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4307         * config/rl78/smaxdi3.S: New assembly file.
4308         * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
4310 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4312         * config/rl78/umaxdi3.S: New assembly file.
4313         * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
4315 2018-01-21  John David Anglin  <danglin@gcc.gnu.org>
4317         PR lto/83452
4318         * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
4319         * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
4321 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
4323         * config/aarch64/value-unwind.h (aarch64_vg): New function.
4324         (DWARF_LAZY_REGISTER_VALUE): Define.
4325         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
4326         to provide a fallback register value.
4328 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
4330         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
4331         __ibm128, instead of trying to use long double.
4332         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
4333         accomidate -mabi=ieeelongdouble multilibs.
4334         (CVT_IBM128_TO_FLOAT128): Likewise.
4335         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
4336         the appropriate IBM extended double type.
4337         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
4338         (__gcc_qsub): Likewise.
4339         (__gcc_qmul): Likewise.
4340         (__gcc_qdiv): Likewise.
4341         (pack_ldouble): Likewise.
4342         (__gcc_qneg): Likewise.
4343         (__gcc_qeq): Likewise.
4344         (__gcc_qne): Likewise.
4345         (__gcc_qge): Likewise.
4346         (__gcc_qle): Likewise.
4347         (__gcc_stoq): Likewise.
4348         (__gcc_dtoq): Likewise.
4349         (__gcc_itoq): Likewise.
4350         (__gcc_utoq): Likewise.
4351         (__gcc_qunord): Likewise.
4352         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
4353         quad-float128.h for the definitions.
4354         (COPYSIGN): Use the f128 version instead of the q version.
4355         (INFINITY): Likewise.
4356         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
4357         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
4358         quad-float128.h for the definitions.
4359         (COPYSIGN): Use the f128 version instead of the q version.
4360         (INFINITY): Likewise.
4361         (FABS): Likewise.
4362         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
4363         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
4364         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
4366 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4368         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
4369         configuration.
4371 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
4373         Update copyright years.
4375 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
4377         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
4378         * config/riscv/multi3.c: New file.
4379         * config/riscv/multi3.S: Remove.
4381 2017-12-08  Jim Wilson  <jimw@sifive.com>
4383         * config/riscv/div.S: Use FUNC_* macros.
4384         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
4385         * config/riscv/save-restore.S: Likewise.
4386         * config/riscv/riscv-asm.h: New.
4388 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
4390         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
4391         * config/rs6000/_divkc3.c (__divkc3): Likewise.
4393         PR libgcc/83112
4394         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
4395         correct type for all ifunc resolvers to silence -Wattribute-alias
4396         warnings.  Eliminate the forward declaration of the resolver
4397         functions which is no longer needed.
4398         (__subkf3_resolve): Likewise.
4399         (__mulkf3_resolve): Likewise.
4400         (__divkf3_resolve): Likewise.
4401         (__negkf2_resolve): Likewise.
4402         (__eqkf2_resolve): Likewise.
4403         (__nekf2_resolve): Likewise.
4404         (__gekf2_resolve): Likewise.
4405         (__gtkf2_resolve): Likewise.
4406         (__lekf2_resolve): Likewise.
4407         (__ltkf2_resolve): Likewise.
4408         (__unordkf2_resolve): Likewise.
4409         (__extendsfkf2_resolve): Likewise.
4410         (__extenddfkf2_resolve): Likewise.
4411         (__trunckfsf2_resolve): Likewise.
4412         (__trunckfdf2_resolve): Likewise.
4413         (__fixkfsi_resolve): Likewise.
4414         (__fixkfdi_resolve): Likewise.
4415         (__fixunskfsi_resolve): Likewise.
4416         (__fixunskfdi_resolve): Likewise.
4417         (__floatsikf_resolve): Likewise.
4418         (__floatdikf_resolve): Likewise.
4419         (__floatunsikf_resolve): Likewise.
4420         (__floatundikf_resolve): Likewise.
4421         (__extendkftf2_resolve): Likewise.
4422         (__trunctfkf2_resolve): Likewise.
4424         PR libgcc/83103
4425         * config/rs6000/quad-float128.h (TF): Don't define if long double
4426         is IEEE 128-bit floating point.
4427         (TCtype): Define as either TCmode or KCmode, depending on whether
4428         long double is IEEE 128-bit floating point.
4429         (__mulkc3_sw): Add declarations for software/hardware versions of
4430         complex multiply/divide.
4431         (__divkc3_sw): Likewise.
4432         (__mulkc3_hw): Likewise.
4433         (__divkc3_hw): Likewise.
4434         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
4435         handlers to switch between using software emulation and hardware
4436         float128 instructions, build the complex multiply/divide functions
4437         for both software and hardware support.
4438         * config/rs6000/_divkc3.c (_divkc3): Likewise.
4439         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
4440         (__divkc3_resolve): Likewise.
4441         (__mulkc3): Likewise.
4442         (__divkc3): Likewise.
4443         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
4444         (fp128_hw_src): Likewise.
4445         (fp128_hw_static_obj): Likewise.
4446         (fp128_hw_shared_obj): Likewise.
4447         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
4448         _mulkc3.c and _divkc3.c, changing the function name.
4449         (_divkc3-hw.c): Likewise.
4450         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
4451         and _divkc3-hw.c.
4453 2017-11-26  Julia Koval  <julia.koval@intel.com>
4455         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
4456         * config/i386/cpuinfo.h (processor_subtypes): Add
4457         INTEL_COREI7_CANNONLAKE.
4459 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4461         PR bootstrap/83015
4462         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
4463         parameter.
4464         * config/xtensa/unwind-dw2-xtensa.c: Likewise
4465         * config/ia64/unwind-ia64.c: Add frames parameter.
4466         * unwind-sjlj.c: Likewise.
4468 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4470         * config/i386/linux-unwind.h: Include
4471         config/i386/shadow-stack-unwind.h.
4472         * config/i386/shadow-stack-unwind.h: New file.
4473         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
4474         pass it to _Unwind_Frames_Extra.
4475         * unwind-generic.h (_Unwind_Frames_Extra): New.
4476         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
4477         parameter. Add local variable frames to count number of frames.
4478         (_Unwind_ForcedUnwind_Phase2): Likewise.
4479         (_Unwind_RaiseException): Add local variable frames to count
4480         number of frames, pass it to _Unwind_RaiseException_Phase2 and
4481         uw_install_context.
4482         (_Unwind_ForcedUnwind): Likewise.
4483         (_Unwind_Resume): Likewise.
4484         (_Unwind_Resume_or_Rethrow): Likewise.
4486 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4488         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
4489         (CET_FLAGS): New.
4490         * config/i386/morestack.S: Include <cet.h>.
4491         (__morestack_large_model): Add _CET_ENDBR at function entrance.
4492         * config/i386/resms64.h: Include <cet.h>.
4493         * config/i386/resms64f.h: Likewise.
4494         * config/i386/resms64fx.h: Likewise.
4495         * config/i386/resms64x.h: Likewise.
4496         * config/i386/savms64.h: Likewise.
4497         * config/i386/savms64f.h: Likewise.
4498         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
4499         (CRTSTUFF_T_CFLAGS): Likewise.
4500         * configure.ac: Include ../config/cet.m4.
4501         Set and substitute CET_FLAGS.
4502         * configure: Regenerated.
4504 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4506         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
4507         renaming.
4508         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
4509         * configure.ac (libgcc_cv_solaris_crts): Likewise.
4510         * configure: Regenerate.
4512 2017-11-07  Tom de Vries  <tom@codesourcery.com>
4514         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
4515         after "do {} while (0)".
4517 2017-11-07  Tom de Vries  <tom@codesourcery.com>
4519         PR other/82784
4520         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
4521         semicolon after "do {} while (0)".
4522         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4523         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4524         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4525         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4527 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
4529         PR libgcc/82635
4530         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
4531         sysctl to determine whether we're in a trampoline.
4532         Keep the pattern matching method for systems without
4533         KERN_PROC_SIGTRAMP sysctl.
4535 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
4536             Vineet Gupta <vgupta@synopsys.com>
4538         * config.host (arc*-*-linux*): Set md_unwind_header variable.
4539         * config/arc/linux-unwind-reg.def: New file.
4540         * config/arc/linux-unwind-reg.h: Likewise.
4542 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
4544         * config/rl78/subdi3.S: New assembly file.
4545         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
4547 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
4549         * config/rl78/adddi3.S: New assembly file.
4550         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
4552 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
4554         PR target/82274
4555         * libgcc2.c (__mulvDI3): If both operands have
4556         the same highpart of -1 and the topmost bit of lowpart is 0,
4557         multiplication overflows even if both lowparts are 0.
4559 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
4561         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
4563 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
4565         * config/microblaze/crti.S, config/microblaze/crtn.S,
4566         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
4567         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
4568         config/microblaze/mulsi3.S,
4569         config/microblaze/stack_overflow_exit.S,
4570         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
4571         config/pa/milli64.S: Add .note.GNU-stack section.
4573 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
4575         * configure.ac: Add Check for HAVE_AS_AVX.
4576         * config.in: Regenerate.
4577         * configure: Likewise.
4578         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
4579         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
4580         Correct out-of-date comments.
4582 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
4584         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
4585         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
4587 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
4589         * config/i386/i386-asm.h (PASTE2): New macro.
4590         (ASMNAME): Modify to use PASTE2.
4591         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
4592         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
4593         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
4594         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
4595         * config/i386/resms64f.S: Likewise.
4596         * config/i386/resms64fx.S: Likewise.
4597         * config/i386/resms64x.S: Likewise.
4598         * config/i386/savms64.S: Likewise.
4599         * config/i386/savms64f.S: Likewise.
4600         * config/i386/avx_resms64.S: New file that only defines a macro and
4601         includes it's corresponding header file.
4602         * config/i386/avx_resms64f.S: Likewise.
4603         * config/i386/avx_resms64fx.S: Likewise.
4604         * config/i386/avx_resms64x.S: Likewise.
4605         * config/i386/avx_savms64.S: Likewise.
4606         * config/i386/avx_savms64f.S: Likewise.
4607         * config/i386/sse_resms64.S: Likewise.
4608         * config/i386/sse_resms64f.S: Likewise.
4609         * config/i386/sse_resms64fx.S: Likewise.
4610         * config/i386/sse_resms64x.S: Likewise.
4611         * config/i386/sse_savms64.S: Likewise.
4612         * config/i386/sse_savms64f.S: Likewise.
4613         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
4615 2017-09-01  Olivier Hainque  <hainque@adacore.com>
4616         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
4618 2017-08-31  Olivier Hainque  <hainque@adacore.com>
4620         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
4621         match as powerpc-wrs-vxworks*.
4623 2017-08-07  Jonathan Yong  <10walls@gmail.com>
4625         * config.host (*-cygwin): Include file from mingw
4626         config/i386/enable-execute-stack-mingw32.c
4628 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
4629             Doug Rupp  <rupp@adacore.com>
4630             Olivier Hainque  <hainque@adacore.com>
4632         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
4633         as well as arm-wrs-vxworks.
4634         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
4635         LIB2ADDEH.
4636         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
4637         __exidx_start and __exidx_end for downloadable modules.
4639 2017-08-01  Olivier Hainque  <hainque@adacore.com>
4641         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
4642         * config/t-vxworks7: Likewise.
4644 2017-08-01  Olivier Hainque  <hainque@adacore.com>
4646         * config/t-vxworks: Instead of redefining LIB2ADD,
4647         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
4649 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4651         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
4653 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
4655         PR testsuite/80759
4656         * config.host: include i386/t-msabi for darwin and solaris.
4657         * config/i386/i386-asm.h
4658         (ELFFN): Rename to FN_TYPE.
4659         (FN_SIZE): New macro.
4660         (FN_HIDDEN): Likewise.
4661         (ASMNAME): Likewise.
4662         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
4663         .globl.
4664         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
4665         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
4666         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
4667         .macro.
4668         * config/i386/resms64f.S: Likewise.
4669         * config/i386/resms64fx.S: Likewise.
4670         * config/i386/resms64x.S: Likewise.
4671         * config/i386/savms64.S: Likewise.
4672         * config/i386/savms64f.S: Likewise.
4674 2017-07-19  John Marino  <gnugcc@marino.st>
4676         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
4678 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
4680         PR target/81193
4681         * configure.ac (PowerPC float128 hardware support): Test whether
4682         we can use __builtin_cpu_supports before enabling the ifunc
4683         handler.
4684         * configure: Regenerate.
4686 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
4688         * config.host: Remove uclibc from arc target spec.
4690 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
4692         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
4694 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
4696         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
4697         (have_ieee_hw_p): Delete function.
4698         (SW_OR_HW) Use __builtin_cpu_supports().
4700 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4702         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
4704 2017-07-03  Olivier Hainque  <hainque@adacore.com>
4706         * config/t-vxworks7: New file, really.
4708 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
4710         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
4711         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
4712         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
4713         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
4714         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
4715         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
4716         config/pa/linux-unwind.h (pa32_fallback_frame_state),
4717         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
4718         config/sh/linux-unwind.h (sh_fallback_frame_state),
4719         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
4720         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
4721         ucontext_t instead of struct ucontext.
4723 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
4725         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
4726         (x86_64-wrs-vxworks7): Likewise.
4728 2017-06-27  Olivier Hainque  <hainque@adacore.com>
4730         * config/t-vxworks7: New file.
4731         * config.host (*-*-vxworks7): Use it.
4733 2017-06-22  Matt Turner  <mattst88@gmail.com>
4735         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
4736         skylake case.
4738 2017-06-21  Richard Biener  <rguenther@suse.de>
4740         PR gcov-profile/81080
4741         * configure.ac: Add AC_SYS_LARGEFILE.
4742         * libgcov.h: Include auto-target.h before tsystem.h to pick
4743         up _FILE_OFFSET_BITS which might differ for multilibs.
4744         * config.in: Regenerate.
4745         * configure: Likewise.
4747 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
4749         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
4751 2017-06-09  Martin Liska  <mliska@suse.cz>
4753         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
4754         Reset __gcov_indirect_call_callee to NULL.
4756 2017-06-08  Olivier Hainque  <hainque@adacore.com>
4758         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
4759         the set of -I options, support for direct inclusions of net/uio.h
4760         by VxWorks header files via ioLib.h.
4762 2017-06-07  Tony Reix  <tony.reix@atos.net>
4763             Matthieu Sarter  <matthieu.sarter.external@atos.net>
4764             David Edelsohn  <dje.gcc@gmail.com>
4766         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
4767         unconditionally.
4768         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
4769         AIX 7.2 support.
4771 2017-06-02  Olivier Hainque  <hainque@adacore.com>
4773         * config/vxlib.c (__gthread_once): Add missing value to
4774         return statement.
4776 2017-05-30  Olivier Hainque  <hainque@adacore.com>
4778         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
4779         dollar sign before $(MULTIDIR).
4781 2017-05-26  Richard Henderson  <rth@redhat.com>
4783         PR libgcc/80037
4784         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
4786 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
4788         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
4789         _Unwind_SetIP available as functions for arm*-*-freebsd*.
4790         * config/arm/unwind-arm.c: Implement the above.
4792 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4794         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
4795         section for a non-executable stack.
4797 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
4799         PR target/80600
4800         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
4802 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
4804         * config.host: Add i386/t-msabi to i386/t-linux file list.
4805         * config/i386/i386-asm.h: New file.
4806         * config/i386/resms64.S: New file.
4807         * config/i386/resms64f.S: New file.
4808         * config/i386/resms64fx.S: New file.
4809         * config/i386/resms64x.S: New file.
4810         * config/i386/savms64.S: New file.
4811         * config/i386/savms64f.S: New file.
4812         * config/i386/t-msabi: New file.
4814 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
4816         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
4817         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
4819 2017-05-05  Joshua Conner  <joshconner@google.com>
4821         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
4822         pc-relative indirect handling for fuchsia.
4823         * config/t-slibgcc-fuchsia: New file.
4824         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
4825         x86_64-*-fuchsia*): Add definitions.
4827 2017-04-19  Martin Liska  <mliska@suse.cz>
4829         PR gcov-profile/80435
4830         * Makefile.in: Install gcov.h.
4831         * gcov.h: New file.
4832         * libgcov.h: Use the header and make __gcov_flush publicly
4833         visible.
4835 2017-04-18  Martin Liska  <mliska@suse.cz>
4837         PR gcov-profile/78783
4838         * libgcov-driver.c (gcov_get_filename): New function.
4840 2017-04-07  Jeff Law  <law@redhat.com>
4842         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
4843         target makefile fragment.
4844         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
4846 2017-04-07  Alan Modra  <amodra@gmail.com>
4848         PR target/45053
4849         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
4851 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
4853         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
4855 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
4857         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
4859 2017-03-10  John Marino  <gnugcc@marino.st>
4861         * config/aarch64/freebsd-unwind.h: New file.
4862         * config.host: Add aarch64-*-freebsd unwinder.
4864 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
4866         * config/rs6000/crtrestvr.s: Use .machine altivec.
4867         * config/rs6000/crtsavevr.s: Ditto.
4869 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
4871         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
4872         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
4873         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
4874         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
4875         * configure: Regenerate.
4876         * config.in: Regenerate.
4878 2017-03-02  Jonathan Yong <10walls@gmail.com>
4880         * config/i386/gthr-win32.h: Define NOGDI before
4881         windows.h include to prevent w32api CC_NONE macro
4882         clash with libgfortran.
4884 2017-03-02  Jonathan Yong <10walls@gmail.com>
4886         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
4888 2017-02-16  Andrew Pinski  <apinski@cavium.com>
4890         * config/aarch64/value-unwind.h: New file.
4891         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
4892         to tm_file.
4894 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
4896         * config.host: Add RISC-V tuples.
4897         * config/riscv/atomic.c: New file.
4898         * config/riscv/crti.S: Likewise.
4899         * config/riscv/crtn.S: Likewise.
4900         * config/riscv/div.S: Likewise.
4901         * config/riscv/linux-unwind.h: Likewise.
4902         * config/riscv/muldi3.S: Likewise.
4903         * config/riscv/multi3.S: Likewise.
4904         * config/riscv/save-restore.S: Likewise.
4905         * config/riscv/sfp-machine.h: Likewise.
4906         * config/riscv/t-elf: Likewise.
4907         * config/riscv/t-elf32: Likewise.
4908         * config/riscv/t-elf64: Likewise.
4909         * config/riscv/t-softfp32: Likewise.
4910         * config/riscv/t-softfp64: Likewise.
4912 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
4914         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4915         /* FALLTHRU */ comments.
4917 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
4919         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
4921 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
4923         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
4924         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
4925         DW_CFA_GNU_window_save for AArch64 and LP64.
4927 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
4929         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
4931 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
4933         * config/aarch64/aarch64-unwind.h: New file.
4934         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
4935         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
4936         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
4937         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
4938         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
4939         (aarch64_post_extract_frame_addr): New function.
4940         (aarch64_post_frob_eh_handler_addr): New function.
4941         (aarch64_frob_update_context): New function.
4942         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
4943         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
4944         aarch64*-*-freebsd*):
4945         Initialize md_unwind_header to include aarch64-unwind.h.
4946         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
4947         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
4948         __aarch64__.
4949         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
4950         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
4951         (uw_frob_return_addr): New function.
4952         (uw_install_context): Use uw_frob_return_addr.
4954 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
4956         PR other/79046
4957         * configure.ac: Add GCC_BASE_VER.
4958         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
4959         version from BASE-VER file.
4960         * configure: Regenerated.
4962 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
4964         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
4965         libmul_f5.a): Filter archived prerequisites.
4967 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
4969         * config/i386/cpuinfo.h (processor_features): Add
4970         FEATURE_AVX512VPOPCNTDQ.
4971         * config/i386/cpuinfo.c (get_available_features): Habdle new
4972         feature.
4974 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
4976         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
4977         payload if [__mips_nan2008].
4979 2017-01-04  Alan Modra  <amodra@gmail.com>
4981         * Makefile.in (configure_deps): Update.
4982         * configure: Regenerate.
4984 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
4986         Update copyright years.
4988 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
4990         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
4991         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
4992         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
4994 2016-12-17  Matthias Klose  <doko@ubuntu.com>
4996         * config/arc/gmon: Remove empty directory.
4998 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
5000         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
5001         crtgend.
5002         (arc*-*-elf*): Likewise.
5003         * config/arc/t-arc: Remove old gmon lib targets.
5004         * config/arc/crtg.S: Remove.
5005         * config/arc/crtgend.S: Likewise.
5006         * config/arc/gmon/atomic.h: Likewise.
5007         * config/arc/gmon/auxreg.h: Likewise.
5008         * config/arc/gmon/dcache_linesz.S: Likewise.
5009         * config/arc/gmon/gmon.c: Likewise.
5010         * config/arc/gmon/machine-gmon.h: Likewise.
5011         * config/arc/gmon/mcount.c: Likewise.
5012         * config/arc/gmon/prof-freq-stub.S: Likewise.
5013         * config/arc/gmon/prof-freq.c: Likewise.
5014         * config/arc/gmon/profil.S: Likewise.
5015         * config/arc/gmon/sys/gmon.h: Likewise.
5016         * config/arc/gmon/sys/gmon_out.h: Likewise.
5017         * config/arc/t-arc-newlib: Likewise.
5018         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
5020 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
5022         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
5024 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
5026         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
5027         R16 instead of push + pop.
5028         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
5030 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
5032         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
5033         tmake_file.
5035 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
5037         * config.host (arc*-*-linux-uclibc*): Use default extra
5038         objects. Include linux-android header.
5039         * config/arc/crti.S (_init): Declare symbol as function.
5040         (_fini): Likewise.
5042 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
5044         PR fortran/78379
5045         * config/i386/cpuinfo.c:  Move denums for processor vendors,
5046         processor type, processor subtypes and declaration of
5047         struct __processor_model into
5048         * config/i386/cpuinfo.h:  New header file.
5050 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
5051             Thomas Preud'homme  <thomas.preudhomme@arm.com>
5053         * config/arm/cmse_nonsecure_call.S: New.
5054         * config/arm/t-arm: Compile cmse_nonsecure_call.S
5056 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
5057             Thomas Preud'homme  <thomas.preudhomme@arm.com>
5059         * config/arm/t-arm (HAVE_CMSE): New.
5060         * config/arm/cmse.c: New.
5062 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
5064         PR gcc/74748
5065         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
5066         use generic linker version information on Blackfin.
5068         PR gcc/74748
5069         * libgcc/mkmap-symver.awk: add support for skip_underscore
5071 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
5072             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5074         PR target/67710
5075         *  config/t-darwin: Default builds to 10.5 codegen.
5077 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
5079         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
5080         (_FP_NANSIGN_H): Likewise.
5081         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
5082         (softfp_truncations): Add tfhf.
5083         (softfp_extras): Add required conversion functions.
5085 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
5086             Matthew Wahab  <matthew.wahab@arm.com>
5088         * config/arm/fp16.c (binary64): New.
5089         (__gnu_d2h_internal): New.
5090         (__gnu_d2h_ieee): New.
5091         (__gnu_d2h_alternative): New.
5093 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
5094             Matthew Wahab  <matthew.wahab@arm.com>
5096         * config/arm/fp16.c (struct format): New.
5097         (binary32): New.
5098         (__gnu_float2h_internal): New.  Body moved from
5099         __gnu_f2h_internal and generalize.
5100         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
5101         Call it with binary32.
5103 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
5105         * soft-fp/extendhftf2.c: Update from glibc.
5106         * soft-fp/fixhfti.c: Likewise.
5107         * soft-fp/fixunshfti.c: Likewise.
5108         * soft-fp/floattihf.c: Likewise.
5109         * soft-fp/floatuntihf.c: Likewise.
5110         * soft-fp/half.h: Likewise.
5111         * soft-fp/trunctfhf2.c: Likewise.
5113 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
5115         PR libgcc/77813
5116         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
5117         __TMC_END__ behind a passthrough asm.
5119 2016-11-18  Walter Lee  <walt@tilera.com>
5121         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
5123 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
5125         * config/i386/cpuinfo.c (processor_features): Add
5126         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
5128 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
5130         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
5131         (__ARC_NORM__): Use instead ARC_OPTFPE.
5132         * config/arc/fp-hack.h: Likewise.
5133         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
5134         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
5136 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
5138         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
5139         * config/nvptx/mgomp.c: New file.
5140         * config/nvptx/t-nvptx: Add mgomp.c
5142 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
5144         PR libgcc/68468
5145         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
5147 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
5149         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
5150         of checking for cpus.
5151         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
5152         (__modsi3, __clzsi2): Likewise.
5154 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5156         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
5157         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
5158         * config/i386/t-cpuinfo-static: New.
5160 2016-11-03  Martin Liska  <mliska@suse.cz>
5162         * libgcov-profiler.c (__gcov_time_profiler): Remove.
5163         (__gcov_time_profiler_atomic): Likewise.
5165 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
5167         PR libgcc/78067
5168         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
5169         count_leading_zeros.
5171 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
5173         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
5174         * libgcc2.c (__divmoddi4): New function.
5175         * libgcc2.h (__divmoddi4): Declare.
5176         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
5177         and __PFX_divmodti4.
5179 2016-10-24  Florian Weimer  <fweimer@redhat.com>
5181         PR libgcc/78064
5182         * unwind-c.c: Include auto-target.h.
5184 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
5186         * config/pa/pa64-hpux-lib.h: New file.
5187         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
5188         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
5189         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
5190         hppa*64*-*-hpux11*.
5192 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
5194         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5195         definition.
5196         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5197         definition.
5198         * config/xtensa/t-windowed (LIB2ADDEH): Use
5199         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
5200         or xtensa/t-linux.
5202 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
5204         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
5205         __ieee754_sqrt): New functions.
5206         (__divdf3): Add implementation with new FPU instructions under
5207         #if XCHAL_HAVE_DFP_DIV.
5208         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
5209         __ieee754_sqrtf): New functions.
5210         (__divsf3): Add implementation with new FPU instructions under
5211         #if XCHAL_HAVE_FP_DIV.
5212         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
5213         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
5215 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5217         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
5218         equivalent.
5219         * config/tilepro/atomic.c: Likewise and stop casting model to
5220         enum memmodel.
5222 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
5224         PR target/77586
5225         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
5226         soft-fp.
5228 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
5230         * config.host: Add support for aarch64-*-freebsd*.
5232 2016-10-05  Andreas Schwab  <schwab@suse.de>
5234         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
5235         (.section .init_array): Don't call __do_jv_register_classes.
5236         (.section .init): Likewise.
5238 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
5240         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
5241         (__JCR_LIST__): Remove.
5242         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
5243         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
5244         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
5245         * config/ia64/crtend.S (__JCR_END__): Remove.
5246         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
5247         conditionals.
5248         (__JCR_LIST__, __JCR_END__): Remove.
5249         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
5250         (__do_global_ctors_1): Likewise.
5252 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
5254         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
5255         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
5257 2016-09-27  Martin Liska  <mliska@suse.cz>
5259         PR gcov-profile/7970
5260         PR gcov-profile/16855
5261         PR gcov-profile/44779
5262         * libgcov-driver.c (__gcov_init): Do not register a atexit
5263         handler.
5264         (__gcov_exit): Rename from gcov_exit.
5265         * libgcov.h (__gcov_exit): Declare.
5267 2016-09-27  Martin Liska  <mliska@suse.cz>
5269         PR bootstrap/77749
5270         * Makefile.in: Remove _gcov_merge_delta.
5271         * libgcov-merge.c (void __gcov_merge_delta): Remove.
5272         * libgcov-util.c (__gcov_delta_counter_op): Remove.
5273         * libgcov.h: Remove declaration of __gcov_merge_delta.
5275 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
5277         * configure.ac: Do not create links, only substitute the filenames.
5278         * configure: Regenerate.
5279         * Makefile.in: Assign the substitution results to variables.
5280         (LIBGCC_LINKS): Define.
5281         (enable-execute-stack.c): New rule.
5282         (unwind.h): Likewise.
5283         (md-unwind-support.h): Likewise.
5284         (sfp-machine.h): Likewise.
5285         (gthr-default.h): Likewise.
5286         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
5287         unwind.h as prerequisite of install-unwind_h-forbuild.
5289 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
5291         PR libgcc/71744
5292         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
5293         is not the primary registry and atomics are available.
5294         (any_objects_registered): New variable.
5295         (__register_frame_info_bases, __register_frame_info_table_bases):
5296         Atomically store 1 to any_objects_registered after registering first
5297         unwind info.
5298         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
5300 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
5302         PR target/63250
5303         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
5304         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
5305         (HFtype): Likewise.
5306         (HCtype): Likewise.
5307         (__divhc3): Likewise.
5308         (__mulhc3): Likewise.
5309         * libgcc2.c: Support _mulhc3 and _divhc3.
5311 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
5313         PR libgcc/77519
5314         * libgcc2.c (NOTRUNC): Invert settings.
5316 2016-09-06  Martin Liska  <mliska@suse.cz>
5318         PR gcov-profile/77378
5319         PR gcov-profile/77466
5320         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
5321         conditionaly enable/disable *_atomic functions.
5323 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
5325         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
5326         where not already enabled.
5328 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5330         * config/mips/linux-unwind.h: Use sys/syscall.h.
5332 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
5334         PR libgcc/77265
5335         * soft-fp/adddf3.c: Update from glibc.
5336         * soft-fp/addsf3.c: Likewise.
5337         * soft-fp/addtf3.c: Likewise.
5338         * soft-fp/divdf3.c: Likewise.
5339         * soft-fp/divsf3.c: Likewise.
5340         * soft-fp/divtf3.c: Likewise.
5341         * soft-fp/double.h: Likewise.
5342         * soft-fp/eqdf2.c: Likewise.
5343         * soft-fp/eqsf2.c: Likewise.
5344         * soft-fp/eqtf2.c: Likewise.
5345         * soft-fp/extenddftf2.c: Likewise.
5346         * soft-fp/extended.h: Likewise.
5347         * soft-fp/extendsfdf2.c: Likewise.
5348         * soft-fp/extendsftf2.c: Likewise.
5349         * soft-fp/extendxftf2.c: Likewise.
5350         * soft-fp/fixdfdi.c: Likewise.
5351         * soft-fp/fixdfsi.c: Likewise.
5352         * soft-fp/fixdfti.c: Likewise.
5353         * soft-fp/fixsfdi.c: Likewise.
5354         * soft-fp/fixsfsi.c: Likewise.
5355         * soft-fp/fixsfti.c: Likewise.
5356         * soft-fp/fixtfdi.c: Likewise.
5357         * soft-fp/fixtfsi.c: Likewise.
5358         * soft-fp/fixtfti.c: Likewise.
5359         * soft-fp/fixunsdfdi.c: Likewise.
5360         * soft-fp/fixunsdfsi.c: Likewise.
5361         * soft-fp/fixunsdfti.c: Likewise.
5362         * soft-fp/fixunssfdi.c: Likewise.
5363         * soft-fp/fixunssfsi.c: Likewise.
5364         * soft-fp/fixunssfti.c: Likewise.
5365         * soft-fp/fixunstfdi.c: Likewise.
5366         * soft-fp/fixunstfsi.c: Likewise.
5367         * soft-fp/fixunstfti.c: Likewise.
5368         * soft-fp/floatdidf.c: Likewise.
5369         * soft-fp/floatdisf.c: Likewise.
5370         * soft-fp/floatditf.c: Likewise.
5371         * soft-fp/floatsidf.c: Likewise.
5372         * soft-fp/floatsisf.c: Likewise.
5373         * soft-fp/floatsitf.c: Likewise.
5374         * soft-fp/floattidf.c: Likewise.
5375         * soft-fp/floattisf.c: Likewise.
5376         * soft-fp/floattitf.c: Likewise.
5377         * soft-fp/floatundidf.c: Likewise.
5378         * soft-fp/floatundisf.c: Likewise.
5379         * soft-fp/floatunditf.c: Likewise.
5380         * soft-fp/floatunsidf.c: Likewise.
5381         * soft-fp/floatunsisf.c: Likewise.
5382         * soft-fp/floatunsitf.c: Likewise.
5383         * soft-fp/floatuntidf.c: Likewise.
5384         * soft-fp/floatuntisf.c: Likewise.
5385         * soft-fp/floatuntitf.c: Likewise.
5386         * soft-fp/gedf2.c: Likewise.
5387         * soft-fp/gesf2.c: Likewise.
5388         * soft-fp/getf2.c: Likewise.
5389         * soft-fp/ledf2.c: Likewise.
5390         * soft-fp/lesf2.c: Likewise.
5391         * soft-fp/letf2.c: Likewise.
5392         * soft-fp/muldf3.c: Likewise.
5393         * soft-fp/mulsf3.c: Likewise.
5394         * soft-fp/multf3.c: Likewise.
5395         * soft-fp/negdf2.c: Likewise.
5396         * soft-fp/negsf2.c: Likewise.
5397         * soft-fp/negtf2.c: Likewise.
5398         * soft-fp/op-1.h: Likewise.
5399         * soft-fp/op-2.h: Likewise.
5400         * soft-fp/op-4.h: Likewise.
5401         * soft-fp/op-8.h: Likewise.
5402         * soft-fp/op-common.h: Likewise.
5403         * soft-fp/quad.h: Likewise.
5404         * soft-fp/single.h: Likewise.
5405         * soft-fp/soft-fp.h: Likewise.
5406         * soft-fp/subdf3.c: Likewise.
5407         * soft-fp/subsf3.c: Likewise.
5408         * soft-fp/subtf3.c: Likewise.
5409         * soft-fp/truncdfsf2.c: Likewise.
5410         * soft-fp/trunctfdf2.c: Likewise.
5411         * soft-fp/trunctfsf2.c: Likewise.
5412         * soft-fp/trunctfxf2.c: Likewise.
5413         * soft-fp/unorddf2.c: Likewise.
5414         * soft-fp/unordsf2.c: Likewise.
5415         * soft-fp/unordtf2.c: Likewise.
5417 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
5419         PR gcov-profile/67097
5420         * libgcov-util.c (gcov_profile_merge): Skip missing files.
5422 2016-08-10  Martin Liska  <mliska@suse.cz>
5424         PR gcov-profile/58306
5425         * Makefile.in: New functions (modules) are added.
5426         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
5427         function.
5428         (__gcov_pow2_profiler_atomic): New function.
5429         (__gcov_one_value_profiler_body): New argument is instroduced.
5430         (__gcov_one_value_profiler): Call with the new argument.
5431         (__gcov_one_value_profiler_atomic): Likewise.
5432         (__gcov_indirect_call_profiler_v2): Likewise.
5433         (__gcov_time_profiler_atomic): New function.
5434         (__gcov_average_profiler_atomic): Likewise.
5435         (__gcov_ior_profiler_atomic): Likewise.
5436         * libgcov.h: Declare the aforementioned functions.
5438 2016-08-09  Martin Liska  <mliska@suse.cz>
5440         * libgcov-util.c: Fix typo and GNU coding style.
5442 2016-08-09  Martin Liska  <mliska@suse.cz>
5444         * Makefile.in: Remove __gcov_indirect_call_profiler.
5445         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
5446         function.
5447         * libgcov.h: And the declaration of the function.
5449 2016-08-09  Martin Liska  <mliska@suse.cz>
5451         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
5452         power of two.
5454 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
5456         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
5457         * config/rs6000/_mulkc3.c: Likewise.
5459 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
5461         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
5462         zero_reg as previous call to __umulhisi3 already cleared it.
5464 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
5466         PR target/59833
5467         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
5469 2016-07-19  Nick Clifton  <nickc@redhat.com>
5471         * config.host (m32r): Add m32r/t-m32r to tmake_file.
5472         Add crtinit.o and crtfini.o to extra_parts.
5474 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
5476         * config/rs6000/_divkc3.c: New.
5477         * config/rs6000/_mulkc3.c: New.
5478         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
5479         and _divkc3.
5480         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
5481         fp128_ppc_funcs.
5483 2016-07-11  Hale Wang  <hale.wang@arm.com>
5484             Andre Vieira  <andre.simoesdiasvieira@arm.com>
5486         * config/arm/lib1funcs.S: Add new wrapper.
5488 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5490         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
5492 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5494         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
5495         and ARMv5t* rather than for a fixed list of architectures.
5497 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5499         * config/arm/bpabi-v6m.S: Clarify what architectures is the
5500         implementation suitable for.
5501         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
5502         for all Thumb-1 only targets.
5503         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
5504         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
5505         __ARM_ARCH_6M__.
5506         (EQUIV): Likewise.
5507         (ARM_FUNC_ALIAS): Likewise.
5508         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
5509         version.
5510         (modsi3): Likewise.
5511         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
5512         (clzdi2): Likewise.
5513         (ctzsi2): Likewise.
5514         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
5515         __ARM_ARCH_6M__ in guard for checking whether it is defined.
5516         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
5517         __ARM_ARCH_6M__ and add comment to indicate the connection between
5518         this condition and the one in gcc/config/arm/elf.h.
5519         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
5520         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
5521         * config/arm/t-softfp: Likewise.
5523 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5525         * libgcc2.c (SYMBOL__MAIN): Remove checks for
5526         CTOR_LISTS_DEFINED_EXTERNALLY.
5528 2016-06-28  Walter Lee  <walt@tilera.com>
5530         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
5531         asm/unistd.h.
5532         (SPR_CMPEXCH_VALUE): Define for tilegx.
5533         (__NR_FAST_cmpxchg): Define for tilepro.
5534         (__NR_FAST_atomic_update): Define for tilepro.
5535         (__NR_FAST_cmpxchg64): Define for tilepro.
5537 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
5539         * config.host: Add suport for arm*-*-phoenix* targets.
5541 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5543         * config.host: Remove support for mep-*.
5544         * config/mep/lib1funcs.S: Remove.
5545         * config/mep/lib2funcs.c: Remove.
5546         * config/mep/t-mep: Remove.
5547         * config/mep/tramp.c: Remove.
5549 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5551         * config.host: Remove support for avr-rtems.
5552         * config/avr/t-rtems: Remove.
5554 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5556         * config.host: Remove m32r-rtems support.
5558 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5560         * config.host: Remove h8300-rtems support.
5562 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5564         * config.host: Remove support for knetbsd.
5566 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5568         * config.host: Remove support for openbsd 2 and 3.
5570 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5572         * config.host: Remove interix support.
5573         * config/i386/t-interix: Remove.
5575 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
5577         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
5578         least-significant bit in function pointer for fixup.
5580 2016-06-05  Aaron Conole  <aconole@redhat.com>
5581             Nathan Sidwell  <nathan@acm.org>
5583         PR libgcc/71400
5584         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
5585         (get_gcov_error_file): Check __gcov_error_file before trying to
5586         initialize it.
5587         (gcov_error): Always use get_gcov_error_file.
5589 2016-06-02  Aaron Conole  <aconole@redhat.com>
5591         * libgcov-driver-system.c (__gcov_error_file): New.
5592         (get_gcov_error_file): New.
5593         (gcov_error): Use and set __gcov_error_file.
5594         (gcov_error_exit): New.
5595         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
5597 2016-05-26  Nathan Sidwell  <nathan@acm.org>
5599         * config/nvptx/free.asm: Delete.
5600         * config/nvptx/malloc.asm: Delete.
5601         * config/nvptx/realloc.c: Delete.
5602         * t-nvptx: Update.
5604 2016-05-25  Nathan Sidwell  <nathan@acm.org>
5606         * config/nvptx/crt0.s: Delete.
5607         * config/nvptx/crt0.c: New.
5608         * t-nvptx: Update.
5610 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
5612         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
5613         dw2/seh configuration.
5614         [x86_64-*-mingw*]: Likewise.
5616 2016-05-10  Joel Sherrill <joel@rtems.org>
5618         PR libgcc/70720
5619         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
5620         targets so the same extra_parts are built.  Also have tmake_file add
5621         on to its value rather than override.
5623 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
5625         * config.host: Remove SH5 support.
5626         * configure: Likewise.
5628 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
5630         * config/sh/crt1.S: Remove SH5 support.
5631         * config/sh/crti.S: Likewise.
5632         * config/sh/crtn.S: Likewise.
5633         * config/sh/lib1funcs-4-300.S: Likewise.
5634         * config/sh/lib1funcs-Os-4-200.S: Likewise.
5635         * config/sh/lib1funcs.S: Likewise.
5636         * config/sh/linux-unwind.h: Likewise.
5637         * config/sh/t-sh64: Delete.
5639 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
5641         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
5643 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
5644             Joern Rennecke  <joern.rennecke@embecosm.com>
5646         * config/arc/crttls.S: New file.
5647         * config/arc/t-arc: New rule.
5648         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
5650 2016-04-25  Nick Clifton  <nickc@redhat.com>
5652         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
5653         (__mspabi_cmpd): Likewise.
5654         * config/msp430/floathidf.c (__floathidf): Likewise.
5655         * config/msp430/floathisf.c (__floathisf): Likewise
5656         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
5657         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
5658         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
5659         second parameter.
5660         (__ashrsi3): Likewise.
5662 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
5664         * config/m68k/linux-atomic.c: Do not include unistd.h
5666 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
5668         * config/arm/ieee754-df.S: Fix typos in comments.
5670 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
5672         PR target/70381
5673         * configure.ac (powerpc*-*-linux*): Rework tests to build
5674         __float128 emulation routines to not depend on using #pragma GCC
5675         target to enable -mfloat128.
5676         * configure: Regnerate.
5678 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
5680         PR target/67172
5681         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
5682         __MINGW32__ is defined.
5684 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
5686         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
5688 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
5690         PR libgcc/70363
5691         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
5692         built with an assembler that does not support ISA 3.0
5693         instructions, rename __extendkftf2_sw to __extendkftf2.
5695 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5697         PR target/38239
5698         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
5699         call-clobbered registers.
5700         (internal_mcount): Remove __i386__ handling.
5702 2016-02-26  Joel Sherrill <joel@rtems.org>
5704         * config.host: Add x86_64-*-rtems*.
5706 2016-02-26  Joel Sherrill <joel@rtems.org>
5708         * libgcc/config.host: Add aarch64-*-rtems*.
5710 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5711             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
5713         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
5714         union of u64 and double.
5715         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
5716         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
5717         value.
5718         (FP_ROUNDMODE): Update the usage of _fpscr.
5720 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
5722         PR driver/68463
5723         * Makefile.in (crtoffloadtable$(objext)): New rule.
5724         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
5725         enable_offload_targets is not empty.
5726         * configure: Regenerate.
5727         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
5728         crtoffloadtable.
5730 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
5732         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
5733         .literal_position before the function.
5734         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
5735         Likewise.
5737 2016-02-15  Marcin KoĹ›cielnicki  <koriakin@0x04.net>
5739         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
5740         * config/s390/morestack.S: New file.
5741         * config/s390/t-stack-s390: New file.
5742         * generic-morestack.c (__splitstack_find): Add s390-specific code.
5744 2016-02-12  Walter Lee  <walt@tilera.com>
5746         * config.host (tilegx*-*-linux*): remove ti from
5747         softfp_int_modes for 32-bit configs.
5749 2016-02-10  Ian Lance Taylor  <iant@google.com>
5751         PR go/68562
5752         * config/i386/morestack.S (__stack_split_initialize): Align
5753         stack.
5755 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
5757         PR bootstrap/69611
5758         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
5759         __FLOAT128__ to compile only for __float128 capable targets.
5761 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
5763         PR target/69444
5764         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
5765         instead of ___NO_FPRS__.
5767 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
5768             Steven Munroe  <munroesj@linux.vnet.ibm.com>
5769             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
5771         * config/rs6000/float128-sed: New files to convert TF names to KF
5772         names for PowerPC IEEE 128-bit floating point support.
5773         * config/rs6000/float128-sed-hw: Likewise.
5775         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5776         floating point hardware support.
5778         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5779         128-bit floating point software emulation or use ISA 3.0 hardware
5780         support if it is available.
5782         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5783         floating point.
5785         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
5786         floating point to IBM extended double.
5788         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
5789         double to IEEE 128-bit floating point.
5791         * config/rs6000/t-float128: New Makefile fragments to enable
5792         building __float128 emulation support.
5793         * config/rs6000/t-float128-hw: Likewise.
5795         * config/rs6000/sfp-exceptions.c: New file to provide exception
5796         support for IEEE 128-bit floating point.
5798         * config/rs6000/floattikf.c: New files for converting between IEEE
5799         128-bit floating point and signed/unsigned 128-bit integers.
5800         * config/rs6000/fixunskfti.c: Likewise.
5801         * config/rs6000/fixkfti.c: Likewise.
5802         * config/rs6000/floatuntikf.c: Likewise.
5804         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5805         when building on 64-bit systems, or when VSX is enabled.
5806         (_FP_W_TYPE): Likewise.
5807         (_FP_WS_TYPE): Likewise.
5808         (_FP_I_TYPE): Likewise.
5809         (TItype): Define on 64-bit systems.
5810         (UTItype): Likewise.
5811         (TI_BITS): Likewise.
5812         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5813         (_FP_MUL_MEAT_Q): Likewise.
5814         (_FP_DIV_MEAT_D): Likewise.
5815         (_FP_DIV_MEAT_Q): Likewise.
5816         (_FP_NANFRAC_D): Likewise.
5817         (_FP_NANFRAC_Q): Likewise.
5818         (ISA_BIT): Add exception support if we are being compiled on a
5819         machine with hardware floating point support to build the IEEE
5820         128-bit emulation functions.
5821         (FP_EX_INVALID): Likewise.
5822         (FP_EX_OVERFLOW): Likewise.
5823         (FP_EX_UNDERFLOW): Likewise.
5824         (FP_EX_DIVZERO): Likewise.
5825         (FP_EX_INEXACT): Likewise.
5826         (FP_EX_ALL): Likewise.
5827         (__sfp_handle_exceptions): Likewise.
5828         (FP_HANDLE_EXCEPTIONS): Likewise.
5829         (FP_RND_NEAREST): Likewise.
5830         (FP_RND_ZERO): Likewise.
5831         (FP_RND_PINF): Likewise.
5832         (FP_RND_MINF): Likewise.
5833         (FP_RND_MASK): Likewise.
5834         (_FP_DECL_EX): Likewise.
5835         (FP_INIT_ROUNDMODE): Likewise.
5836         (FP_ROUNDMODE): Likewise.
5838         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5839         VSX code, enable IEEE 128-bit floating point.  If the compiler can
5840         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
5841         floating point hardware instructions and it supports declaring
5842         functions with the ifunc attribute, enable ifunc functions to
5843         switch between software and hardware support.
5844         * configure.ac (powerpc*-*-linux*): Likewise.
5845         * configure: Regenerate.
5847 2016-01-15  Nick Clifton  <nickc@redhat.com>
5849         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
5850         dependency as the source file to be compiled.
5851         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
5852         (lib2hw_mul_f5.o): Likewise.
5854 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
5856         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
5857         * libgcc/config/rs6000/fixkfti.c: Likewise.
5858         * libgcc/config/rs6000/fixunskfti.c: Likewise.
5859         * libgcc/config/rs6000/float128-hw.c: Likewise.
5860         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
5861         * libgcc/config/rs6000/float128-sed: Likewise.
5862         * libgcc/config/rs6000/floattikf.c: Likewise.
5863         * libgcc/config/rs6000/floatuntikf.c: Likewise.
5864         * libgcc/config/rs6000/quad-float128.h: Likewise.
5865         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
5866         * libgcc/config/rs6000/sfp-machine.h: Likewise.
5867         * libgcc/config/rs6000/t-float128: Likewise.
5868         * libgcc/config/rs6000/t-float128-hw: Likewise.
5869         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
5870         * libgcc/config.host: Likewise.
5871         * libgcc/configure: Likewise.
5872         * libgcc/configure.ac: Likewise.
5874 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
5875             Steven Munroe  <munroesj@linux.vnet.ibm.com>
5876             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
5878         * config/rs6000/sfp-exceptions.c: New file to provide exception
5879         support for IEEE 128-bit floating point.
5881         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5882         floating point hardware support.
5884         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
5885         point conversions.
5886         * config/rs6000/fixunskfti.c: Likewise.
5887         * config/rs6000/fixkfti.c: Likewise.
5888         * config/rs6000/floatuntikf.c: Likewise.
5889         * config/rs6000/extendkftf2-sw.c: Likewise.
5890         * config/rs6000/trunctfkf2-sw.c: Likewise.
5892         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5893         128-bit floating point software emulation or use ISA 3.0 hardware
5894         support if it is available.
5896         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5897         floating point.
5899         * config/rs6000/t-float128: New Makefile fragments to enable
5900         building __float128 emulation support.
5901         * config/rs6000/t-float128-hw: Likewise.
5903         * config/rs6000/float128-sed: New file to convert TF names to KF
5904         names for PowerPC IEEE 128-bit floating point support.
5906         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5907         when building on 64-bit systems, or when VSX is enabled.
5908         (_FP_W_TYPE): Likewise.
5909         (_FP_WS_TYPE): Likewise.
5910         (_FP_I_TYPE): Likewise.
5911         (TItype): Define on 64-bit systems.
5912         (UTItype): Likewise.
5913         (TI_BITS): Likewise.
5914         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5915         (_FP_MUL_MEAT_Q): Likewise.
5916         (_FP_DIV_MEAT_D): Likewise.
5917         (_FP_DIV_MEAT_Q): Likewise.
5918         (_FP_NANFRAC_D): Likewise.
5919         (_FP_NANFRAC_Q): Likewise.
5920         (ISA_BIT): Add exception support if we are being compiled on a
5921         machine with hardware floating point support to build the IEEE
5922         128-bit emulation functions.
5923         (FP_EX_INVALID): Likewise.
5924         (FP_EX_OVERFLOW): Likewise.
5925         (FP_EX_UNDERFLOW): Likewise.
5926         (FP_EX_DIVZERO): Likewise.
5927         (FP_EX_INEXACT): Likewise.
5928         (FP_EX_ALL): Likewise.
5929         (__sfp_handle_exceptions): Likewise.
5930         (FP_HANDLE_EXCEPTIONS): Likewise.
5931         (FP_RND_NEAREST): Likewise.
5932         (FP_RND_ZERO): Likewise.
5933         (FP_RND_PINF): Likewise.
5934         (FP_RND_MINF): Likewise.
5935         (FP_RND_MASK): Likewise.
5936         (_FP_DECL_EX): Likewise.
5937         (FP_INIT_ROUNDMODE): Likewise.
5938         (FP_ROUNDMODE): Likewise.
5940         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
5941         compiler can do __float128.
5942         * configure: Regenerate.
5944         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5945         VSX code, enable IEEE 128-bit floating point.
5947 2016-01-05  Olivier Hainque  <hainque@adacore.com>
5949         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
5950         specificities.
5952 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
5954         Update copyright years.
5956 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
5958         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
5959         soft-fp targets.
5961 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
5963         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
5964         instead of abort to avoid dependency on stdlib.h.
5966 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
5968         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
5969         to initialize call to __dl_fixup once.
5971 2015-12-04  Nick Clifton  <nickc@redhat.com>
5973         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
5974         Allow for the second argument being negative.
5975         * config.host (extra_parts): Define for MSP430.  Create separate
5976         libraries for each of the hardware multiply formats.
5977         * config/msp430/lib2hw_mul.S: Build only the multiply routines
5978         that are needed.
5979         * config/msp430/lib2mul.c: Likewise.
5980         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
5981         Add rules to build hardware multiply libraries.
5982         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
5983         __mspabi_divul function.
5984         (__mspabi_divllu): New stub function.
5986 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
5988         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
5989         fixup values if saved GOT address doesn't match runtime address.
5990         (fixup_branch_offset): Reorder list.
5992 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5994         * Makefile.in (VTV_CFLAGS): New variable.
5995         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
5996         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
5997         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5998         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
5999         to extra_parts if $enable_vtable_verify = yes.
6001 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6003         PR target/68059
6004         * config/arm/linux-atomic-64bit.c (__write): Rename to...
6005         (write): ...this and fix the return type.
6007 2015-11-19  DJ Delorie  <dj@redhat.com>
6009         * config/msp430/lib2hw_mul.S: Fix alignment.
6011 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
6013         * config/nvptx/reduction.c: New.
6014         * config/nvptx/t-nvptx (LIB2ADD): Add it.
6016 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
6018         * config/rs6000/on_exit.c: New file.
6019         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
6020         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
6022 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
6024         * config/arc/dp-hack.h: Add support for ARCHS.
6025         * config/arc/ieee-754/divdf3.S: Likewise.
6026         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6027         * config/arc/ieee-754/muldf3.S: Likewise.
6028         * config/arc/ieee-754/mulsf3.S: Likewise
6029         * config/arc/lib1funcs.S: Likewise
6030         * config/arc/gmon/dcache_linesz.S: Don't read the build register
6031         for ARCv2 cores.
6032         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
6033         for ARCv2 cores.
6034         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
6035         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
6036         cores.
6038 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6040         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
6041         value.
6042         * config/ia64/crtend.S: Likewise.
6044 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
6046         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
6047         __CHAR_BIT__ instead of BITS_PER_UNIT.
6048         * fixed-bit.h: Likewise.
6049         * fp-bit.h: Likewise.
6050         * libgcc2.c (__popcountSI2): Likewise.
6051         (__popcountDI2): Likewise.
6052         * libgcc2.h: Likewise.
6053         * libgcov.h: Likewise.
6055 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
6057         * config/rs6000/atexit.c: New file.
6058         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
6059         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
6060         * config/rs6000/cxa_finalize.c
6061         (catomic_compare_and_exchange_bool_acq): Negate return value.
6063 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
6065         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
6066         (processor_subtypes): Add znver1.
6067         (get_amd_cpu): Detect znver1.
6069 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
6071         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
6072         Include crtfastmath.o.
6074 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
6076         PR libgcc/66883
6077         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
6079 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
6081         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
6082         * config/rl78/divmodsi.S: Update return register to r8.
6083         * config/rl78/divmodhi.S: Update return register to r8,r9.
6084         Branch to main_loop_done_himode to pop registers before return.
6086 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
6088         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
6089         (__cpu_indicator_init): Fix model selection for AMD CPUs.
6091 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
6093         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
6095 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
6097         * config.host (xtensa*-*-uclinux*): New configuration.
6099 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
6101         * config/i386/cpuinfo.c (processor_features): Add
6102         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
6104 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
6106         * soft-fp/adddf3.c: Update from glibc.
6107         * soft-fp/addsf3.c: Likewise.
6108         * soft-fp/addtf3.c: Likewise.
6109         * soft-fp/divdf3.c: Likewise.
6110         * soft-fp/divsf3.c: Likewise.
6111         * soft-fp/divtf3.c: Likewise.
6112         * soft-fp/double.h: Likewise.
6113         * soft-fp/eqdf2.c: Likewise.
6114         * soft-fp/eqsf2.c: Likewise.
6115         * soft-fp/eqtf2.c: Likewise.
6116         * soft-fp/extenddftf2.c: Likewise.
6117         * soft-fp/extended.h: Likewise.
6118         * soft-fp/extendsfdf2.c: Likewise.
6119         * soft-fp/extendsftf2.c: Likewise.
6120         * soft-fp/extendxftf2.c: Likewise.
6121         * soft-fp/fixdfdi.c: Likewise.
6122         * soft-fp/fixdfsi.c: Likewise.
6123         * soft-fp/fixdfti.c: Likewise.
6124         * soft-fp/fixsfdi.c: Likewise.
6125         * soft-fp/fixsfsi.c: Likewise.
6126         * soft-fp/fixsfti.c: Likewise.
6127         * soft-fp/fixtfdi.c: Likewise.
6128         * soft-fp/fixtfsi.c: Likewise.
6129         * soft-fp/fixtfti.c: Likewise.
6130         * soft-fp/fixunsdfdi.c: Likewise.
6131         * soft-fp/fixunsdfsi.c: Likewise.
6132         * soft-fp/fixunsdfti.c: Likewise.
6133         * soft-fp/fixunssfdi.c: Likewise.
6134         * soft-fp/fixunssfsi.c: Likewise.
6135         * soft-fp/fixunssfti.c: Likewise.
6136         * soft-fp/fixunstfdi.c: Likewise.
6137         * soft-fp/fixunstfsi.c: Likewise.
6138         * soft-fp/fixunstfti.c: Likewise.
6139         * soft-fp/floatdidf.c: Likewise.
6140         * soft-fp/floatdisf.c: Likewise.
6141         * soft-fp/floatditf.c: Likewise.
6142         * soft-fp/floatsidf.c: Likewise.
6143         * soft-fp/floatsisf.c: Likewise.
6144         * soft-fp/floatsitf.c: Likewise.
6145         * soft-fp/floattidf.c: Likewise.
6146         * soft-fp/floattisf.c: Likewise.
6147         * soft-fp/floattitf.c: Likewise.
6148         * soft-fp/floatundidf.c: Likewise.
6149         * soft-fp/floatundisf.c: Likewise.
6150         * soft-fp/floatunditf.c: Likewise.
6151         * soft-fp/floatunsidf.c: Likewise.
6152         * soft-fp/floatunsisf.c: Likewise.
6153         * soft-fp/floatunsitf.c: Likewise.
6154         * soft-fp/floatuntidf.c: Likewise.
6155         * soft-fp/floatuntisf.c: Likewise.
6156         * soft-fp/floatuntitf.c: Likewise.
6157         * soft-fp/gedf2.c: Likewise.
6158         * soft-fp/gesf2.c: Likewise.
6159         * soft-fp/getf2.c: Likewise.
6160         * soft-fp/ledf2.c: Likewise.
6161         * soft-fp/lesf2.c: Likewise.
6162         * soft-fp/letf2.c: Likewise.
6163         * soft-fp/muldf3.c: Likewise.
6164         * soft-fp/mulsf3.c: Likewise.
6165         * soft-fp/multf3.c: Likewise.
6166         * soft-fp/negdf2.c: Likewise.
6167         * soft-fp/negsf2.c: Likewise.
6168         * soft-fp/negtf2.c: Likewise.
6169         * soft-fp/op-1.h: Likewise.
6170         * soft-fp/op-2.h: Likewise.
6171         * soft-fp/op-4.h: Likewise.
6172         * soft-fp/op-8.h: Likewise.
6173         * soft-fp/op-common.h: Likewise.
6174         * soft-fp/quad.h: Likewise.
6175         * soft-fp/single.h: Likewise.
6176         * soft-fp/soft-fp.h: Likewise.
6177         * soft-fp/subdf3.c: Likewise.
6178         * soft-fp/subsf3.c: Likewise.
6179         * soft-fp/subtf3.c: Likewise.
6180         * soft-fp/truncdfsf2.c: Likewise.
6181         * soft-fp/trunctfdf2.c: Likewise.
6182         * soft-fp/trunctfsf2.c: Likewise.
6183         * soft-fp/trunctfxf2.c: Likewise.
6184         * soft-fp/unorddf2.c: Likewise.
6185         * soft-fp/unordsf2.c: Likewise.
6186         * soft-fp/unordtf2.c: Likewise.
6188 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
6190         PR libgcc/67624
6191         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
6193 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6195         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
6196         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
6197         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
6198         messages.
6199         (internal_mcount): Likewise.
6200         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
6201         crt_compile, add CRTSTUFF_T_CFLAGS_S.
6203 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6205         * configure.ac (libgcc_cv_solaris_crts): New test.
6206         * configure: Regenerate.
6207         * config.in: Regenerate.
6208         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
6209         * config/gmon-sol2.c: Rename to ...
6210         * config/sol2/gmon.c: ... this.
6211         Include auto-target.h.
6212         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
6213         * config/t-sol2: Rename to ...
6214         * config/sol2/t-sol2: ... this.
6215         (gmon.o): Reflect renaming.
6216         (crtp.o, crtpg.o): New rules.
6217         * config.host (*-*-solaris2*): Reflect renaming.
6218         Use system CRTs if present.
6219         Remove default CRT case.
6221 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
6223         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
6224         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
6225         __kernel_cmpxchg2.
6226         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
6227         (__sync_val_compare_and_swap_##WIDTH): Likewise.
6228         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
6229         (__sync_lock_test_and_set_##WIDTH): Likewise.
6230         (__sync_lock_release_##WIDTH): Likewise.
6231         (__sync_fetch_and_##OP##_4): Change result to match type of
6232         __kernel_cmpxchg.
6233         (__sync_##OP##_and_fetch_4): Likewise.
6234         (__sync_val_compare_and_swap_4): Likewise.
6235         (__sync_bool_compare_and_swap_4): likewise.
6236         (__sync_lock_test_and_set_4): Likewise.
6237         (__sync_lock_release_4): Likewise.
6238         (FETCH_AND_OP_2): Add long long variants.
6239         (OP_AND_FETCH_2): Likewise.
6240         (COMPARE_AND_SWAP_2 ): Likewise.
6241         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6242         (SYNC_LOCK_RELEASE_2): Likewise.
6243         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
6245 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
6247         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
6248         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
6249         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
6250         (get_available_features): Habdle new features.
6252 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
6254         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
6255         memory layout. Deal correctly with BSS region larger than 32K.
6256         Handle a watchdog reset like a power-on reset. Clean up unused
6257         code.
6259 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
6260             David Edelsohn  <dje.gcc@gmail.com>
6262         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
6263         * config/rs6000/crtdbase.S: New file.
6264         * config/rs6000/t-aix-cxa: Build crtdbase.o.
6266 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
6268         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
6269         Add support for call0 ABI.
6271 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
6273         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
6275 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
6277         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
6278         (__GTHREAD_HAS_COND): Likewise.
6279         (__gthread_t): Likewise.
6280         (__gthread_cond_t): Likewise.
6281         (__gthread_time_t): Likewise.
6282         (__GTHREAD_MUTEX_INIT): Likewise.
6283         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
6284         (__GTHREAD_COND_INIT): Likewise.
6285         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
6286         (__GTHREAD_TIME_INIT): Likewise.
6287         (__gthread_create): Likewise.
6288         (__gthread_join): Likewise.
6289         (__gthread_detach): Likewise.
6290         (__gthread_equal): Likewise.
6291         (__gthread_self): Likewise.
6292         (__gthread_yield): Likewise.
6293         (__gthread_cond_broadcast): Likewise.
6294         (__gthread_cond_signal): Likewise.
6295         (__gthread_cond_wait): Likewise.
6296         (__gthread_cond_timedwait): Likewise.
6297         (__gthread_cond_wait_recursive): Likewise.
6298         (__gthread_cond_destroy): Likewise.
6299         (rtems_gxx_once): Delete.
6300         (rtems_gxx_key_create): Likewise.
6301         (rtems_gxx_key_delete): Likewise.
6302         (rtems_gxx_getspecific): Likewise.
6303         (rtems_gxx_setspecific): Likewise.
6304         (rtems_gxx_mutex_init): Likewise.
6305         (rtems_gxx_mutex_destroy): Likewise.
6306         (rtems_gxx_mutex_lock): Likewise.
6307         (rtems_gxx_mutex_trylock): Likewise.
6308         (rtems_gxx_mutex_unlock): Likewise.
6309         (rtems_gxx_recursive_mutex_init): Likewise.
6310         (rtems_gxx_recursive_mutex_lock): Likewise.
6311         (rtems_gxx_recursive_mutex_trylock): Likewise.
6312         (rtems_gxx_recursive_mutex_unlock): Likewise.
6313         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
6314         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
6315         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
6316         (__gthread_once): Likewise.
6317         (__gthread_key_create): Likewise.
6318         (__gthread_key_delete): Likewise.
6319         (__gthread_getspecific): Likewise.
6320         (__gthread_setspecific): Likewise.
6321         (__gthread_key_t): Use <pthread.h> type.
6322         (__gthread_once_t): Likewise
6323         (__gthread_mutex_t): Use <sys/lock.h> type.
6324         (__gthread_recursive_mutex_t): Likewise
6325         (__gthread_mutex_lock): Use <sys/lock.h> function.
6326         (__gthread_mutex_trylock): Likewise.
6327         (__gthread_mutex_timedlock): Likewise.
6328         (__gthread_mutex_unlock): Likewise.
6329         (__gthread_mutex_destroy): Likewise.
6330         (__gthread_recursive_mutex_lock): Likewise.
6331         (__gthread_recursive_mutex_trylock): Likewise.
6332         (__gthread_recursive_mutex_timedlock): Likewise.
6333         (__gthread_recursive_mutex_unlock): Likewise.
6334         (__gthread_recursive_mutex_destroy): Likewise.
6336 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
6338         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
6339         context->sp instead of context->cfa.
6341 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
6343         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
6344         with unwind-dw2-fde-dip.
6346 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
6348         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
6349         CALL12 followed by series of ENTRY to spill windowed registers.
6350         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
6351         instead of making linux spill syscall.
6353 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
6355         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
6356         (get_intel_cpu): Likewise.
6358 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
6360         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
6361         (get_intel_cpu): Add Knights Landing support.
6363 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
6365         PR target/66954
6366         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
6367         (get_available_features): Handle FEATURE_PCLMUL.
6369 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
6371         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
6372         Broadwell.
6374 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
6376         PR target/66954
6377         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
6378         (get_available_features): Handle FEATURE_AES.
6380 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
6382         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
6383         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
6385 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
6387         * offloadstuff.c: Constify host data.
6389 2015-07-17  Jan Beulich  <jbeulich@suse.com>
6391         * config/t-softfp: Split up "else ifneq".
6393 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
6394             Cesar Philippidis  <cesar@codesourcery.com>
6395             Chung-Lin Tang  <cltang@codesourcery.com>
6397         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
6398         for __nios2_arch__ level.
6400 2015-07-13  John Marino  <gnugcc@marino.st>
6402         * config/i386/t-dragonfly: New.
6404 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
6406         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
6407         better match light-weight syscall argument order.
6408         (__kernel_cmpxchg2): Likewise.
6409         Adjust callers.
6411 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
6413         * config.host: Support i[34567]86-*-elfiamcu target.
6414         * config/t-softfp-sfdftf: New file.
6415         * config/i386/32/t-iamcu: Likewise.
6416         * configure: Regenerated.
6418 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
6420         libgcc/config/arm/
6421         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
6423 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
6425         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
6427 2015-05-27  John Marino  <gnugcc@marino.st>
6429         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
6430         md_unwind_header
6431         * config/i386/freebsd-unwind.h: New.
6433 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
6435         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
6436         i386/t-crtfm to tmake_file.
6437         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
6438         (set_fast_math): Use set_fast_math_sse for SSE targets.
6439         * config/i386/t-crtfm: Remove.
6441 2015-05-21  Alan Modra  <amodra@gmail.com>
6443         PR libgcc/66225
6444         * config/rs6000/morestack.S: Remove ".abiversion 1".
6446 2015-05-20  Alan Modra  <amodra@gmail.com>
6448         * config/rs6000/morestack.S: New.
6449         * config/rs6000/t-stack-rs6000: New.
6450         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
6451         to tmake_file.
6452         * generic-morestack.c: Don't build for powerpc 32-bit.
6454 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
6456         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
6457         Remove useless endif/ifneq ($(enable_shared),yes) pair.
6459 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
6461         * config.host: FT32 target added.
6462         * config/ft32/*: New files for FT32 target.
6464 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
6466         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
6467         New macros.
6468         * config/arm/ieee754-df.S: Add CFI directives.
6469         * config/arm/ieee754-sf.S: Add CFI directives.
6471 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
6473         * configure.ac: Include config/sjlj.m4.
6474         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
6475         * config.in: Regenerate.
6476         * configure: Likewise.
6477         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
6479 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
6481         * libgcov-util.c: Add space between string literal and macro name.
6483 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
6484             Chris Jones  <chrisj@nvidia.com>
6485             Joshua Conner  <jconner@nvidia.com>
6487         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
6488         (arm*-*-uclinux*): Likewise.
6489         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
6490         * config/arm/crtfastmath.c: New file.
6492 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
6494         * Makefile.in (real_host_noncanonical): New variable.
6495         (libsubdir): Use it.
6496         * configure.ac (real_host_noncanonical): Compute.  Remove special
6497         case for intelmicemul.
6498         * configure: Regenerate.
6500 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
6502         * config/frv/elf-lib.h: New file.
6503         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
6504         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
6505         to tm_file.
6507 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
6509         * config/frv/frvbengin.c: Do not include defaults.h
6510         * config/frv/frvend.c: Ditto.
6512 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
6514         * config.host: Add h8300-*-linux
6515         * config/h8300/t-linux: New file.
6516         * config/h8300/lib1funs.s: Change symbol prefix.
6517         * config/h8300/sfp-machine.h: 64bit double support.
6519 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
6520             Szabolcs Nagy  <szabolcs.nagy@arm.com>
6522         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
6523         Linux if target provides dl_iterate_phdr.
6525 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
6527         PR target/65612
6528         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
6529         * config/i386/cpuinfo.c (__cpu_model): Initialize.
6530         (__cpu_indicator_init@GCC_4.8.0): New.
6531         (__cpu_model@GCC_4.8.0): Likewise.
6532         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
6533         -DUSE_ELF_SYMVER.
6535 2015-04-16  Nick Clifton  <nickc@redhat.com>
6537         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
6538         and __modhi3 functions.
6539         * config/rl78/divmodso.S: Add G14 and G13 versions of the
6540         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
6542 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
6544         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
6545         do-while loop as macro body to avoid warnings.
6547 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
6548             Iain Sandoe  <iain@codesourcery.com>
6550         PR target/65351
6551         * configure: Regenerate.
6553 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
6554             Iain Sandoe  <iain@codesourcery.com>
6556         PR target/65351
6557         * configure: Regenerate.
6559 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
6561         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
6563 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
6565         Implement call0 ABI for xtensa
6566         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6567         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
6568         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
6569         use ret in call0 ABI.
6570         * config/xtensa/t-windowed: New file.
6571         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
6572         * libgcc/configure: Regenerated.
6573         * libgcc/configure.ac: Check if xtensa target is configured for
6574         windowed ABI and thus needs to use custom unwind code.
6576 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
6578         PR libgcc/64885
6579         * gthr-single.h: Use __unused__ attribute instead of unused.
6580         * config/gthr-vxworks.h: Likewise.
6581         * config/i386/gthr-win32.h: Likewise.
6583 2015-02-27  Kai Tietz  <ktietz@redhat.com>
6585         PR target/65038
6586         * config.in: Regenerated.
6587         * configure: Likewise.
6588         * configure.ac (AC_HEADER_STDC): Added explicit.
6589         (AC_CHECK_HEADERS): Check for default headers  plus
6590         for ftw.h header.
6591         * libgcov-util.c (gcov_read_profile_dir): Disable use
6592         of ftw-function, if header is not found.
6593         (ftw_read_file): Likewise.
6595 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
6597         PR target/65181
6598         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
6599         -Dinhibit_libc.
6601 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
6603         * config/arm/bpabi.S (test_div_by_zero): Make label names
6604         consistent between thumb2 and arm mode cases.  Separate the
6605         signed comparison on the high word of the numerator from the
6606         unsigned comparison on the low word.
6607         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
6608         signed comparison.
6610 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6612         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
6613         and <string.h>.
6614         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
6616 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
6618         PR gcov-profile/61889
6619         * libgcov-driver-system.c: undefine clashing macro for mkdir.
6621 2015-02-02  Nick Clifton  <nickc@redhat.com>
6623         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
6624         rounding up the fraction.
6626 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
6628         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
6629         oldval and newval to const void *.  Fix typo.
6630         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
6631         (FETCH_AND_OP_WORD): Likewise.
6632         (OP_AND_FETCH_WORD): Likewise.
6633         (COMPARE_AND_SWAP_2): Likewise.
6634         (__sync_val_compare_and_swap_4): Likewise.
6635         (__sync_lock_test_and_set_4): Likewise.
6636         (SYNC_LOCK_RELEASE_2): Likewise.
6637         Remove support for long long atomic operations.
6639 2015-01-27  Caroline Tice  <cmtice@google.com>
6641         Committing VTV Cywin/Ming patch for Patrick Wollgast
6642         * Makefile.in: Move rules to build vtv_*.o out of the check
6643         for CUSTOM_CRTSTUFF.
6644         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
6645         i[34567]86-*-mingw*)
6646         (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
6647         enable_vtable_verify.
6649 2015-01-27  Nick Clifton  <nickc@redhat.com>
6651         * config/rl78/cmpsi2.S: Use function start and end macros.
6652         (__gcc_bcmp): New function.
6653         * config/rl78/lshrsi3.S: Use function start and end macros.
6654         * config/rl78/mulsi3.S: Add support for G10.
6655         (__mulqi3): New function for G10.
6656         * config/rl78/signbit.S: Use function start and end macros.
6657         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
6658         fpmath-sf.S.
6659         (LIB2FUNCS_EXCLUDE): Define.
6660         (LIB2FUNCS_ST): Define.
6661         * config/rl78/trampoline.S: Use function start and end macros.
6662         * config/rl78/vregs.h (START_FUNC): New macro.
6663         (START_ANOTHER_FUNC): New macro.
6664         (END_FUNC): New macro.
6665         (END_ANOTHER_FUNC): New macro.
6666         * config/rl78/bit-count.S: New file.  Contains assembler
6667         implementations of the bit counting functions: ___clzhi2,
6668         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
6669         __paritysi2, __popcounthi2 and __popcountsi2.
6670         * config/rl78/fpbit-sf.S: New file.  Contains assembler
6671         implementationas of the math functions: __negsf2, __cmpsf2,
6672         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
6673         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
6674         * config/rl78/fpmath-sf.S: New file.  Contains assembler
6675         implementations of the math functions: __subsf3, __addsf3,
6676         __mulsf3 and __divsf3
6678 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6680         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
6681         Add i386/elf-lib.h to tm_file.
6682         * config/i386/elf-lib.h: Fix comment.
6683         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
6684         && __sun__ && __svr4__]: Remove workaround.
6686 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
6688         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
6689         FEATURE_BMI2.
6690         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
6692 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
6694         * config/i386/cpuinfo.c (processor_subtypes): Add
6695         INTEL_COREI7_BROADWELL.
6696         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
6697         model numbers.
6699 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
6701         * config/i386/elf-lib.h: New file.
6702         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
6703         Wrap definition in #ifdef __i386__.
6704         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6705         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
6706         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
6707         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
6708         to tm_file.
6710 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
6712         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
6713         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
6715 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
6717         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
6718         Update rt_sigframe format and address for current Nios II
6719         Linux conventions.
6721 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
6723         * config.host (arm*-*-freebsd*): Add new configuration for
6724         arm*-*-freebsd*.
6725         * config/arm/freebsd-atomic.c: New file.
6726         * config/arm/t-freebsd: Likewise.
6727         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
6728         'PC-relative indirect' OS's.
6730 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
6732         * config.host: Add Visium support.
6733         * config/visium: New directory.
6735 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
6737         Update copyright years.
6739 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
6741         * config.host: Support mipsisa32r6 and mipsisa64r6.
6742         * config/mips/mips16.S: Do not build for R6.
6744 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
6746         * config/sh/crt.h: New.
6747         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
6748         symbols.
6749         * config/sh/crt1.S: Likewise.
6751 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
6753         PR libgcc/63832
6754         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
6755         func_ptr *dtor_list temporary variable to avoid "array subscript
6756         is above array bounds" warnings.
6758 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
6760         * Makefile.in (with_aix_soname): Define.
6761         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
6762         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
6763         * configure: Recreate.
6765 2014-12-05  Olivier Hainque  <hainque@adacore.com>
6767         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
6768         now provided by defaults.h.
6770 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
6772         PR target/55351
6773         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
6774         whether it's defined.
6776 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
6778         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
6779         * config/i386/cpuinfo.c (get_available_features): Detect it.
6781 2014-11-27  Tony Wang  <tony.wang@arm.com>
6783         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
6784         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
6785         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
6787 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
6789         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
6791 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
6793         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
6794         instead.
6796 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
6797             John David Anglin  <danglin@gcc.gnu.org>
6799         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
6800         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
6801         (OP_AND_FETCH_2): Likewise.
6802         (COMPARE_AND_SWAP_2): Likewise.
6803         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6804         (SYNC_LOCK_RELEASE_2): Likewise.
6805         (SUBWORD_SYNC_OP): Remove.
6806         (SUBWORD_VAL_CAS): Likewise.
6807         (SUBWORD_BOOL_CAS): Likewise.
6808         (FETCH_AND_OP_WORD): Update.
6809         Consistently use signed types.
6811 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
6812             Thomas Schwinge  <thomas@codesourcery.com>
6813             Ilya Verbin  <ilya.verbin@intel.com>
6814             Andrey Turetskiy  <andrey.turetskiy@intel.com>
6816         * Makefile.in (crtoffloadbegin$(objext)): New rule.
6817         (crtoffloadend$(objext)): Likewise.
6818         * configure: Regenerate.
6819         * configure.ac (accel_dir_suffix): Compute new variable.
6820         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
6821         if enable_offload_targets is not empty.
6822         * offloadstuff.c: New file.
6824 2014-11-13  Nick Clifton  <nickc@redhat.com>
6826         * config/rl78/divmodhi.S: Add support for the G10 architecture.
6827         Use START_FUNC and END_FUNC macros to enable linker garbage
6828         collection.
6829         * config/rl78/divmodqi.S: Likewise.
6830         * config/rl78/divmodsi.S: Likewise.
6831         * config/rl78/mulsi3.S: Likewise.
6832         * config/rl78/lib2div.c: Remove G10 functions.
6833         * config/rl78/lib2muls.c: Likewise.
6834         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
6835         * config/rl78/vregs.h (START_FUNC): New macro.
6836         (END_FUNC): New macro.
6838 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
6840         * config/mips/mips16.S: Set .module when supported.  Update O32
6841         FP64 calling convention and use for FPXX when possible.  Add FPXX
6842         calling convention fallback case.
6844 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
6846         * config.host: Handle nvptx-*-*.
6847         * shared-object.mk (as-flags-$o): Define.
6848         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
6849         -xassembler-with-cpp.
6850         * static-object.mk: Identical changes.
6851         * config/nvptx/t-nvptx: New file.
6852         * config/nvptx/crt0.s: New file.
6853         * config/nvptx/free.asm: New file.
6854         * config/nvptx/malloc.asm: New file.
6855         * config/nvptx/realloc.c: New file.
6857 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
6859         * Makefile.in (libgcc.map.in): New target.
6860         (libgcc.map): Use libgcc.map.in.
6861         * config/t-softfp (softfp_compat): New variable to be set by
6862         users.
6863         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
6864         variables.
6865         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
6866         directory.
6867         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
6868         that use compat symbols and disable all code unless [SHARED].
6869         * config/t-softfp-compat: New file.
6870         * find-symver.awk: New file.
6871         * configure.ac (--with-glibc-version): New configure option.
6872         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
6873         * configure: Regenerate.
6874         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
6875         soft-float and e500.
6877 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
6879         * config/t-hardfp (hardfp_exclusions): Document new variable for
6880         user to define.
6881         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
6882         * config/t-softfp (softfp_extras): Document new variable for user
6883         to define.
6884         (softfp_func_list): Add functions from $(softfp_extras).
6885         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
6886         * config.host (powerpc*-*-linux*): For e500v1, use
6887         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
6888         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
6889         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
6891 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
6893         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
6894         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
6895         memory read accesses are ok.
6897 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
6899         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
6900         * configure: Regenerate.
6901         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
6902         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
6903         of soft-fp for 32-bit classic hard float.  Do not use
6904         t-softfp-excl for soft float.
6906 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
6908         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
6909         configurations.
6910         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
6911         Remove variables.
6913 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
6915         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
6916         introduced with 2014-10-21 trunk r216525.
6918 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
6919             Vidya Praveen  <vidya.praveen@atmel.com>
6920             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
6921             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
6922             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
6924         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
6925         order.
6927         Updated library functions for AVRTINY arch.
6928         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
6929         Replaced occurrences of r0/r1 with tmp/zero reg macros.
6930         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
6931         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
6932         wsubi/wadi macors.
6933         (__mulsi3_helper): Update stack, preserve callee saved regs and
6934         argument from stack. Restore callee save registers.
6935         (__mulpsi3): Likewise.
6936         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
6937         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
6938         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
6939         AVRTINY.
6940         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
6941         (__do_copy_data): Added new definition for AVRTINY.
6942         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
6943         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
6944         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
6945         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
6946         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
6947         macors.
6948         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
6949         AVRTINY.
6951         Fix broken long multiplication on tiny arch.
6953 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
6955         * soft-fp/double.h: Update from glibc.
6956         * soft-fp/eqdf2.c: Likewise.
6957         * soft-fp/eqsf2.c: Likewise.
6958         * soft-fp/eqtf2.c: Likewise.
6959         * soft-fp/extenddftf2.c: Likewise.
6960         * soft-fp/extended.h: Likewise.
6961         * soft-fp/extendsfdf2.c: Likewise.
6962         * soft-fp/extendsftf2.c: Likewise.
6963         * soft-fp/extendxftf2.c: Likewise.
6964         * soft-fp/gedf2.c: Likewise.
6965         * soft-fp/gesf2.c: Likewise.
6966         * soft-fp/getf2.c: Likewise.
6967         * soft-fp/ledf2.c: Likewise.
6968         * soft-fp/lesf2.c: Likewise.
6969         * soft-fp/letf2.c: Likewise.
6970         * soft-fp/op-1.h: Likewise.
6971         * soft-fp/op-2.h: Likewise.
6972         * soft-fp/op-4.h: Likewise.
6973         * soft-fp/op-8.h: Likewise.
6974         * soft-fp/op-common.h: Likewise.
6975         * soft-fp/quad.h: Likewise.
6976         * soft-fp/single.h: Likewise.
6977         * soft-fp/soft-fp.h: Likewise.
6978         * soft-fp/unorddf2.c: Likewise.
6979         * soft-fp/unordsf2.c: Likewise.
6980         * soft-fp/unordtf2.c: Likewise.
6981         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
6982         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
6983         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
6984         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
6985         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
6986         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
6987         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
6988         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
6989         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
6990         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
6992 2014-10-08  Rong Xu  <xur@google.com>
6994         * libgcov-util.c (read_gcda_file): Fix format.
6995         (find_match_gcov_info): Ditto.
6996         (calculate_2_entries): New.
6997         (compute_one_gcov): Ditto.
6998         (gcov_info_count_all_cold): Ditto.
6999         (gcov_info_count_all_zero): Ditto.
7000         (extract_file_basename): Ditto.
7001         (get_file_basename): Ditto.
7002         (set_flag): Ditto.
7003         (matched_gcov_info): Ditto.
7004         (calculate_overlap): Ditto.
7005         (gcov_profile_overlap): Ditto.
7006         * libgcov-driver.c (compute_summary): Make
7007         it avavilable for external calls.
7009 2014-10-06  Rong Xu  <xur@google.com>
7011         * Makefile.in: Ditto.
7012         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
7013         (gcov_sort_icall_topn_counter): Ditto.
7014         (gcov_sort_topn_counter_arrays): Ditto.
7015         (dump_one_gcov): Sort indirect_call topn counters.
7016         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
7017         function.
7018         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
7019         utility function.
7020         (__gcov_indirect_call_topn_profiler): New profiler function.
7021         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
7022         * libgcov.h: New decls.
7024 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
7026         * config.host: Remove support for score-*.
7028 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
7030         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
7031         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
7032         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
7033         __LIBGCC_XF_MANT_DIG__.
7034         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
7035         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
7036         __LIBGCC_TF_MANT_DIG__.
7037         * libgcc2.c (NOTRUNC): Define in terms of
7038         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
7039         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
7041 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
7043         PR target/63312
7044         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
7045         New macros.
7047 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
7049         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
7050         override USE_PT_GNU_EH_FRAME.
7051         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
7052         check USE_EH_FRAME_REGISTRY_ALWAYS against
7053         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
7054         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
7055         variable for substituted force_explicit_eh_registry.
7056         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
7057         * configure.ac (explicit-exception-frame-registration):
7058         New AC_ARG_ENABLE.
7059         * configure: Regenerate.
7061 2014-09-19  Olivier Hainque  <hainque@adacore.com>
7063         * config.host (powerpc-wrs-vxworksmils): New configuration,
7064         same as vxworksae.
7066 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
7068         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
7070 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
7072         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
7073         bits not set bits as indicating trapping exceptions.
7075 2014-09-17  Nathan sidwell  <nathan@acm.org>
7077         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
7078         (LIBGCOV_DRIVER): ... here.
7079         * libgcov-driver.c (gcov_master): New.
7080         (gcov_exit): Remove from master chain.
7081         (__gcov_init): Add to master chain if version compatible.  Don't
7082         clear the version.
7083         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
7084         (gcov_reset_int): Clear master chain, if compatible.
7085         (gcov_dump_int): New internal interface.  Dump master chain, if
7086         compatible.
7087         (gcov_dump): Alias for gcov_dump_int.
7088         * libgcov.h (struct gcov_root): Add next and prev fields.
7089         (struct gcov_master): New struct.
7090         (__gcov_master): New.
7091         (gcov_dump_int): Declare.
7093 2014-09-17  Olivier Hainque  <hainque@adacore.com>
7095         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
7096         and crtbegin.o + crtend.o to extra_parts.
7098 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
7100         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
7101         __LIBGCC_HAS_SF_MODE__.
7102         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7103         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7104         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7105         * config/libbid/bid_gcc_intrinsics.h
7106         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7107         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7108         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7109         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7110         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
7111         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7113 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
7115         PR target/63223
7116         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
7117         and R24 as needed.  Make work for all devices and .text locations.
7118         (__do_global_ctors, __do_global_dtors): Use word addresses.
7119         (__tablejump__, __tablejump_elpm__): Remove functions.
7120         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
7121         Add _tablejump2.
7122         (XICALL, XIJMP): New macros.
7124 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7125         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
7127         * config.host (aarch64*): Include crtfastmath.o and
7128         t-crtfm.
7129         * config/aarch64/crtfastmath.c: New file.
7131 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
7133         * config.host: Remove picochip support.
7134         * config/picochip/adddi3.S: Remove.
7135         * config/picochip/ashlsi3.S: Remove.
7136         * config/picochip/ashlsi3.c: Remove.
7137         * config/picochip/ashrsi3.S: Remove.
7138         * config/picochip/ashrsi3.c: Remove.
7139         * config/picochip/clzsi2.S: Remove.
7140         * config/picochip/cmpsi2.S: Remove.
7141         * config/picochip/divmod15.S: Remove.
7142         * config/picochip/divmodhi4.S: Remove.
7143         * config/picochip/divmodsi4.S: Remove.
7144         * config/picochip/lib1funcs.S: Remove.
7145         * config/picochip/longjmp.S: Remove.
7146         * config/picochip/lshrsi3.S: Remove.
7147         * config/picochip/lshrsi3.c: Remove.
7148         * config/picochip/parityhi2.S: Remove.
7149         * config/picochip/popcounthi2.S: Remove.
7150         * config/picochip/setjmp.S: Remove.
7151         * config/picochip/subdi3.S: Remove.
7152         * config/picochip/t-picochip: Remove.
7153         * config/picochip/ucmpsi2.S: Remove.
7154         * config/picochip/udivmodhi4.S: Remove.
7155         * config/picochip/udivmodsi4.S: Remove.
7157 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
7159         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
7160         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
7161         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
7162         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
7163         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
7164         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
7165         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
7166         defined and LIBGCC2_HAS_DF_MODE is defined.
7167         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
7168         defined and LIBGCC2_HAS_XF_MODE is defined.
7169         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
7170         defined and LIBGCC2_HAS_TF_MODE is defined.
7172 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
7174         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
7175         and ROUND_TOWARDS_ZERO conditionals.
7177 2014-09-07  Nathan sidwell  <nathan@acm.org>
7179         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
7180         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
7182 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
7184         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
7185         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7186         uses to __LIBGCC_STACK_POINTER_REGNUM__.
7187         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7188         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7189         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7190         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7191         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
7192         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
7193         (DWARF_FRAME_REGISTERS): Change all uses to
7194         __LIBGCC_DWARF_FRAME_REGISTERS__.
7195         (EH_RETURN_STACKADJ_RTX): Change all uses to
7196         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7197         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
7198         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
7199         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
7200         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
7201         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
7202         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
7203         to __LIBGCC_EH_FRAME_SECTION_NAME__.
7204         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
7205         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
7206         __LIBGCC_STACK_POINTER_REGNUM__.
7207         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7208         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7209         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7210         to __LIBGCC_STACK_POINTER_REGNUM__.
7211         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7212         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7213         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7214         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7215         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7216         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7217         (STACK_POINTER_REGNUM): Change all uses to
7218         __LIBGCC_STACK_POINTER_REGNUM__.
7219         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
7220         use to __LIBGCC_STACK_POINTER_REGNUM__.
7221         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7222         uses to __LIBGCC_STACK_POINTER_REGNUM__.
7223         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
7224         to __LIBGCC_DWARF_FRAME_REGISTERS__.
7225         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
7226         to __LIBGCC_DWARF_FRAME_REGISTERS__.
7227         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7228         to __LIBGCC_STACK_POINTER_REGNUM__.
7229         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
7230         Remove conditional definition.
7231         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
7232         __LIBGCC_TEXT_SECTION_ASM_OP__.
7233         (EH_FRAME_SECTION_NAME): Change all uses to
7234         __LIBGCC_EH_FRAME_SECTION_NAME__.
7235         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
7236         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
7237         (CTORS_SECTION_ASM_OP): Change all uses to
7238         __LIBGCC_CTORS_SECTION_ASM_OP__.
7239         (DTORS_SECTION_ASM_OP): Change all uses to
7240         __LIBGCC_DTORS_SECTION_ASM_OP__.
7241         (JCR_SECTION_NAME): Change all uses to
7242         __LIBGCC_JCR_SECTION_NAME__.
7243         (INIT_SECTION_ASM_OP): Change all uses to
7244         __LIBGCC_INIT_SECTION_ASM_OP__.
7245         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7246         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7247         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
7248         __LIBGCC_STACK_GROWS_DOWNWARD__.
7249         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
7250         __LIBGCC_INIT_SECTION_ASM_OP__.
7251         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7252         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7253         (EH_FRAME_SECTION_NAME): Change all uses to
7254         __LIBGCC_EH_FRAME_SECTION_NAME__.
7255         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
7256         definitions.  Change all uses to
7257         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
7258         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
7259         __LIBGCC_STACK_GROWS_DOWNWARD__.
7260         (DWARF_FRAME_REGISTERS): Change all uses to
7261         __LIBGCC_DWARF_FRAME_REGISTERS__.
7262         (EH_RETURN_STACKADJ_RTX): Change all uses to
7263         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7264         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
7265         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
7266         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
7267         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
7268         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
7270 2014-09-02  Nathan sidwell  <nathan@acm.org>
7272         * libgcov-interface.c (STRONG_ALIAS): New.
7273         (__gcov_flush): Call __gcov_reset_int.
7274         (__gcov_reset): Strong alias for ...
7275         (__gcov_reset_ing): ... this renamed hidden version.
7276         * libgcov.h (__gcov_reset_int): New declaration.
7278 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
7280         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
7281         call from here...
7282         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
7283         (__dso_handle): Define on Cygwin.
7284         * config/i386/t-cygming (crtbeginS.o): New rule.
7285         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
7287         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
7288         declaration syntax.
7290 2014-08-13  Steve Ellcey  <sellcey@mips.com>
7292         * crtstuff.c: Undef caddr_t.
7294 2014-08-12  Steve Ellcey  <sellcey@mips.com>
7296         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
7298 2014-08-07  Nathan Sidwell  <nathan@acm.org>
7300         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
7301         (LIBGCOV_DRIVER): ... to here.
7302         * libgcov.h (gcov_do_dump): New #define.
7303         (struct gcov_root): New.
7304         (__gcov_root): New declaration.
7305         (__gcov_dump_one): Declare.
7306         * libgcov-driver.c (gcov_list, gcov_dump_complete,
7307         run_accounted): Delete.
7308         (gcov_compute_histogram): Add LIST argument, adjust.
7309         (compute_summary): Adjust gcov_compute_histogram call.
7310         (gcov_do_dump): Not hidden, static in libgcov.
7311         (gcov_clear): Move  to interface.c.
7312         (__gcov_dump_one): New, broken out of ...
7313         (gcov_exit): ... here.  Make static.
7314         (__gcov_root): New.
7315         (__gcov_init): Adjust.
7316         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
7317         declarations.
7318         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
7319         (gcov_clear): Moved from driver.c.   Add LIST argument.
7320         (__gcov_reset): Adjust for changed interfaces.
7321         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
7323 2014-08-04  Rohit  <rohitarulraj@freescale.com>
7325         PR target/60102
7326         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
7327         based on change in SPE high register numbers and 3 HTM registers.
7329 2014-08-01  Nathan Sidwell  <nathan@acm.org>
7331         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
7332         LIBGCOV_INTERFACE): Reformat.
7333         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
7334         IN_GCOV_TOOL.
7335         * libgcov-interface.c: Reformat some comments.
7336         (__gcov_flush_mx): Add declaration.  Tidy up definition.
7338 2014-07-31  Alan Modra  <amodra@gmail.com>
7339             Peter Bergner  <bergner@vnet.ibm.com>
7341         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
7342         (pack_ldouble): New function.
7343         (__gcc_qadd): Use it.
7344         (__gcc_qmul): Likewise.
7345         (__gcc_qdiv): Likewise.
7346         (__gcc_qneg): Likewise.
7347         (__gcc_stoq): Likewise.
7348         (__gcc_dtoq): Likewise.
7350 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
7352         * config/s390/tpf-unwind.h: Include <stdbool.h>.
7353         (__tpf_eh_return): Add original return address as second parameter.
7354         Handle cases where unwinder routines were called directly, instead
7355         of from within the C++ library.
7357 2014-07-29  Nathan Sidwell  <nathan@acm.org>
7359         * libgcov.h: Move renaming of entry points to lib gcov specific
7360         portion.
7361         (gcov_do_dump): New rename.
7362         (gcov_rewrite): Remove inline, make HIDDEN.
7363         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
7364         (gcov_exit_compute_summary): Rename to ...
7365         (compute_summary): ... here.  Add LIST argument.
7366         (gcov_exit_merge_gcda): Rename to ...
7367         (merge_one_data): ... here.
7368         (gcov_exit_write_gcda): Rename to ...
7369         (write_one_data): ... here.
7370         (gcov_exit_merge_summary): Rename to ...
7371         (merge_summary): Add RUN_COUNTED argument.
7372         (gcov_exit_dump_gcov): Rename to ...
7373         (dump_one_gcov): Add RUN_COUNTED argument.
7374         (gcov_do_dump): New function, broken out of ...
7375         (gcov_exit): ... here.  Call it.
7377 2014-07-27  Anthony Green  <green@moxielogic.com>
7379         * config.host: Add moxiebox configuration suppport.
7381 2014-07-27  Nathan Sidwell  <nathan@acm.org>
7383         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
7384         (struct gcov_filename): ... here.  Include buffer and max length
7385         fields.
7386         (gcov_max_filename): Remove.
7387         (gi_filename): Remove.
7388         (gcov_exit_compute_summary): Compute max filename here.
7389         (gcov_exit_merge_gcda): Add filename parm, adjust.
7390         (gcov_exit_merge_summary): Likewise.
7391         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
7392         (gcov_exit): Likewise.
7393         (__gcov_init): Don't calculate max length here.
7394         * libgcov_util.c (max_filename_len): Remove.
7395         (read_gcda_file): Don't calculate max length here.
7396         (gcov_read_profile_dir): Don't propagate here.
7397         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
7398         struct gcov_filename changes.
7399         (gcov_exit_open_gcda_file): Likewise.
7401 2014-07-25  Nathan Sidwell  <nathan@acm.org>
7403         * libgcov-driver.c (set_gcov_dump_complete,
7404         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
7405         functions polluting user's namespace.
7406         (gcov_exit): Set variable directly.
7407         (gcov_clear): Reset variable directly.
7408         * libgcov-interface.c (get_gcov_dymp_complete,
7409         reset_gov_dump_complete): Remove declarations.
7410         (__gcov_reset, __gcov_dump): Don't call them.
7412 2014-07-24  DJ Delorie  <dj@redhat.com>
7414         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
7415         (__gcc_deregister_frame): Move logic to detect deregister function
7416         to ...
7417         (__gcc_register_frame): here, so it's consistent with the register
7418         logic.
7420 2014-07-23  Nathan Sidwell  <nathan@acm.org>
7422         * libgcov-driver.c (set_gcov_list): Remove.
7423         (gcov_list): Make non-static in GCOV_TOOL.
7424         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
7426 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
7428         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
7429         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
7430         Don't use SYNC_LOCK_RELEASE for int type.
7432 2014-07-14  Richard Biener  <rguenther@suse.de>
7434         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
7436 2014-07-11  Rong Xu  <xur@google.com>
7438         * libgcov-util.c (gcov_max_filename): Fix declartion.
7440 2014-07-10  Rong Xu  <xur@google.com>
7442         Add gcov-tool: an offline gcda profile processing tool
7443         Support.
7444         * libgcov-driver.c (gcov_max_filename): Make available
7445         to gcov-tool.
7446         * libgcov-merge.c (__gcov_merge_add): Replace
7447         gcov_read_counter() with a Macro.
7448         (__gcov_merge_ior): Ditto.
7449         (__gcov_merge_time_profile): Ditto.
7450         (__gcov_merge_single): Ditto.
7451         (__gcov_merge_delta): Ditto.
7452         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
7453         in the utility functions.
7454         (set_fn_ctrs): Utility function for reading gcda files to in-memory
7455         gcov_list object link lists.
7456         (tag_function): Ditto.
7457         (tag_blocks): Ditto.
7458         (tag_arcs): Ditto.
7459         (tag_lines): Ditto.
7460         (tag_counters): Ditto.
7461         (tag_summary): Ditto.
7462         (read_gcda_finalize): Ditto.
7463         (read_gcda_file): Ditto.
7464         (ftw_read_file): Ditto.
7465         (read_profile_dir_init): Ditto.
7466         (gcov_read_profile_dir): Ditto.
7467         (gcov_read_counter_mem): Ditto.
7468         (gcov_get_merge_weight): Ditto.
7469         (merge_wrapper): A wrapper function that calls merging handler.
7470         (gcov_merge): Merge two gcov_info objects with weights.
7471         (find_match_gcov_info): Find the matched gcov_info in the list.
7472         (gcov_profile_merge): Merge two gcov_info object lists.
7473         (__gcov_add_counter_op): Process edge profile counter values.
7474         (__gcov_ior_counter_op): Process IOR profile counter values.
7475         (__gcov_delta_counter_op): Process delta profile counter values.
7476         (__gcov_single_counter_op): Process single  profile counter values.
7477         (fp_scale): Callback function for float-point scaling.
7478         (int_scale): Callback function for integer fraction scaling.
7479         (gcov_profile_scale): Scaling profile counters.
7480         (gcov_profile_normalize): Normalize profile counters.
7481         * libgcov.h: Add headers and functions for gcov-tool use.
7482         (gcov_get_counter): New.
7483         (gcov_get_counter_target): Ditto.
7484         (struct gcov_info): Make the functions field mutable in gcov-tool
7485         compilation.
7487 2014-06-23  Kai Tietz  <ktietz@redhat.com>
7489         PR libgcc/61585
7490         * unwind-seh.c (_Unwind_GetGR): Check for proper
7491         index range.
7492         (_Unwind_SetGR): Likewise.
7494 2014-05-22  Nick Clifton  <nickc@redhat.com>
7496         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
7497         -mhwmult=none.
7499 2014-05-22  Teresa Johnson  <tejohnson@google.com>
7501         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
7502         include.
7504 2014-05-20  John Marino  <gnugcc@marino.st>
7506         * config.host (*-*-dragonfly*): New target.
7507         * crtstuff.c: Make dl_iterate_support generic on *bsd.
7508         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
7509         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
7510         * config/i386/dragonfly-unwind.h: New.
7512 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
7514         PR libgcc/60166
7515         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
7516         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
7518 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
7520         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
7521         implementation.
7523 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
7525         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
7527 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7529         PR libgcc/61097
7530         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
7531         if --enable-shared.
7533 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
7535         Work around for current cygwin32 build problems.
7536         * config/i386/cygming-crtbegin.c (__register_frame_info,
7537         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
7538         functions only for 64-bit systems.
7540 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7542         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
7543         (sigill_caught, sigill_hdlr): Remove.
7545 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7547         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
7548         check.
7549         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7550         Solaris 9 single-threaded support.
7551         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7552         Solaris 9 single-threaded support.  Add call_user_handler code
7553         sequences.
7554         (sparc_is_sighandler): Likewise.
7556 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7558         * config.host: Append t-floattodi to tmake_file depending on
7559         host_address.
7561 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
7563         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
7565 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
7567         PR libgcc/60472
7568         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
7569         variable to avoid "array subscript is above array bounds" warnings.
7570         Use __builtin_expect when checking *jcr_list for NULL.
7572 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7574         PR libgcc/59339
7575         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
7576         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
7577         vtv_*.o to extra_parts if enable_vtable_verify.
7579 2014-03-06  Nick Clifton  <nickc@redhat.com>
7581         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
7582         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
7584 2014-02-28  Joey Ye  <joey.ye@arm.com>
7586         PR libgcc/60166
7587         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
7588         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
7589         Set to zero.
7591 2014-02-24  Walter Lee  <walt@tilera.com>
7593         * config.host: Support "tilegx*" and "tilepro*" triplets.
7594         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
7595         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
7597 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
7598             Chung-Lin Tang  <cltang@codesourcery.com>
7600         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
7601         * config/nios2/crti.S: Remove .file directive.
7602         * config/nios2/crtn.S: Likewise.
7604 2014-02-18  Kai Tietz  <ktietz@redhat.com>
7605         Jonathan Schleifer  <js@webkeks.org>
7607         PR objc/56870
7608         * unwind-seh.c (_GCC_specific_handler): Pass proper
7609         value to unwind-handler.
7611 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
7613         * soft-fp/adddf3.c: Update from glibc.
7614         * soft-fp/addsf3.c: Likewise.
7615         * soft-fp/addtf3.c: Likewise.
7616         * soft-fp/divdf3.c: Likewise.
7617         * soft-fp/divsf3.c: Likewise.
7618         * soft-fp/divtf3.c: Likewise.
7619         * soft-fp/double.h: Likewise.
7620         * soft-fp/eqdf2.c: Likewise.
7621         * soft-fp/eqsf2.c: Likewise.
7622         * soft-fp/eqtf2.c: Likewise.
7623         * soft-fp/extenddftf2.c: Likewise.
7624         * soft-fp/extended.h: Likewise.
7625         * soft-fp/extendsfdf2.c: Likewise.
7626         * soft-fp/extendsftf2.c: Likewise.
7627         * soft-fp/extendxftf2.c: Likewise.
7628         * soft-fp/fixdfdi.c: Likewise.
7629         * soft-fp/fixdfsi.c: Likewise.
7630         * soft-fp/fixdfti.c: Likewise.
7631         * soft-fp/fixsfdi.c: Likewise.
7632         * soft-fp/fixsfsi.c: Likewise.
7633         * soft-fp/fixsfti.c: Likewise.
7634         * soft-fp/fixtfdi.c: Likewise.
7635         * soft-fp/fixtfsi.c: Likewise.
7636         * soft-fp/fixtfti.c: Likewise.
7637         * soft-fp/fixunsdfdi.c: Likewise.
7638         * soft-fp/fixunsdfsi.c: Likewise.
7639         * soft-fp/fixunsdfti.c: Likewise.
7640         * soft-fp/fixunssfdi.c: Likewise.
7641         * soft-fp/fixunssfsi.c: Likewise.
7642         * soft-fp/fixunssfti.c: Likewise.
7643         * soft-fp/fixunstfdi.c: Likewise.
7644         * soft-fp/fixunstfsi.c: Likewise.
7645         * soft-fp/fixunstfti.c: Likewise.
7646         * soft-fp/floatdidf.c: Likewise.
7647         * soft-fp/floatdisf.c: Likewise.
7648         * soft-fp/floatditf.c: Likewise.
7649         * soft-fp/floatsidf.c: Likewise.
7650         * soft-fp/floatsisf.c: Likewise.
7651         * soft-fp/floatsitf.c: Likewise.
7652         * soft-fp/floattidf.c: Likewise.
7653         * soft-fp/floattisf.c: Likewise.
7654         * soft-fp/floattitf.c: Likewise.
7655         * soft-fp/floatundidf.c: Likewise.
7656         * soft-fp/floatundisf.c: Likewise.
7657         * soft-fp/floatunditf.c: Likewise.
7658         * soft-fp/floatunsidf.c: Likewise.
7659         * soft-fp/floatunsisf.c: Likewise.
7660         * soft-fp/floatunsitf.c: Likewise.
7661         * soft-fp/floatuntidf.c: Likewise.
7662         * soft-fp/floatuntisf.c: Likewise.
7663         * soft-fp/floatuntitf.c: Likewise.
7664         * soft-fp/gedf2.c: Likewise.
7665         * soft-fp/gesf2.c: Likewise.
7666         * soft-fp/getf2.c: Likewise.
7667         * soft-fp/ledf2.c: Likewise.
7668         * soft-fp/lesf2.c: Likewise.
7669         * soft-fp/letf2.c: Likewise.
7670         * soft-fp/muldf3.c: Likewise.
7671         * soft-fp/mulsf3.c: Likewise.
7672         * soft-fp/multf3.c: Likewise.
7673         * soft-fp/negdf2.c: Likewise.
7674         * soft-fp/negsf2.c: Likewise.
7675         * soft-fp/negtf2.c: Likewise.
7676         * soft-fp/op-1.h: Likewise.
7677         * soft-fp/op-2.h: Likewise.
7678         * soft-fp/op-4.h: Likewise.
7679         * soft-fp/op-8.h: Likewise.
7680         * soft-fp/op-common.h: Likewise.
7681         * soft-fp/quad.h: Likewise.
7682         * soft-fp/single.h: Likewise.
7683         * soft-fp/soft-fp.h: Likewise.
7684         * soft-fp/subdf3.c: Likewise.
7685         * soft-fp/subsf3.c: Likewise.
7686         * soft-fp/subtf3.c: Likewise.
7687         * soft-fp/truncdfsf2.c: Likewise.
7688         * soft-fp/trunctfdf2.c: Likewise.
7689         * soft-fp/trunctfsf2.c: Likewise.
7690         * soft-fp/trunctfxf2.c: Likewise.
7691         * soft-fp/unorddf2.c: Likewise.
7692         * soft-fp/unordsf2.c: Likewise.
7693         * soft-fp/unordtf2.c: Likewise.
7694         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
7695         macro.
7696         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7697         Likewise.
7698         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7699         Likewise.
7700         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7701         Likewise.
7702         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7703         Likewise.
7704         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7705         Likewise.
7706         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7707         Likewise.
7708         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7709         Likewise.
7710         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7711         Likewise.
7712         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7713         Likewise.
7714         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7715         Likewise.
7716         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7717         Likewise.
7718         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7719         Likewise.
7720         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
7721         Likewise.
7722         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
7723         Likewise.
7724         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7725         Likewise.
7727 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7729         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
7730         cannot be represented.
7731         * config/s390/32/_fixsfdi.c: Likewise.
7732         * config/s390/32/_fixtfdi.c: Likewise.
7733         * config/s390/32/_fixunsdfdi.c: Likewise.
7734         * config/s390/32/_fixunssfdi.c: Likewise.
7735         * config/s390/32/_fixunstfdi.c: Likewise.
7737 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
7739         * configure.ac (libgcc_cv_mips_hard_float): New.
7740         * configure: Regenerate.
7741         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
7742         t-softfp-sfdf for hard-float targets.
7743         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
7744         (softfp_float_modes, softfp_int_modes, softfp_extensions)
7745         (softfp_truncations, softfp_exclude_libgcc2): New.
7746         * config/t-hardfp: New file.
7747         * config/t-hardfp-sfdf: Likewise.
7748         * config/hardfp.c: Likewise.
7750 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7752         * config.host: Include t-floattodi also for s390x.
7753         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
7754         * config/s390/32/_fixsfdi.c: Likewise.
7755         * config/s390/32/_fixtfdi.c: Likewise.
7756         * config/s390/32/_fixunsdfdi.c: Likewise.
7757         * config/s390/32/_fixunssfdi.c: Likewise.
7758         * config/s390/32/_fixunstfdi.c: Likewise.
7760 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7762         PR target/59788
7763         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
7764         (install-libgcc-unwind-map-forbuild): New target.
7765         (all): Depend on install-libgcc-unwind-map-forbuild.
7766         (install-libgcc-unwind-map): New target.
7767         (install): Depend on install-libgcc-unwind-map.
7769 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
7771         * config/nios2/crti.S (_init): Initialize GOT pointer from
7772         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
7774 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
7776         * configure.ac: Check __mips64 when setting host_address.
7777         * configure: Regenerate.
7778         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
7779         mips/t-mips64 and t-softfp.
7780         (mips*-*-linux*): Don't add mips/t-tpbit.
7781         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
7782         (DPBIT, DPBIT_CFLAGS): Delete.
7783         * config/mips/sfp-machine.h: New file.
7784         * config/mips/t-mips64: Likewise.
7785         * config/mips/t-softfp-tf: Likewise.
7786         * config/mips/t-tpbit: Delete.
7788 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7790         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
7791         as long long.
7793 2014-01-25  Walter Lee  <walt@tilera.com>
7795         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
7796         config.h or system.h.
7797         (bool) Define.
7799 2014-01-25  Walter Lee  <walt@tilera.com>
7801         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
7802         (post_atomic_barrier): Ditto.
7803         (__fetch_and_do): New macro.
7804         (__atomic_fetch_and_do): Use __fetch_and_do.
7805         (__sync_fetch_and_do): New macro.
7806         (__sync_fetch_and_add_4): New function.
7807         (__sync_fetch_and_sub_4): New function.
7808         (__sync_fetch_and_or_4): New function.
7809         (__sync_fetch_and_and_4): New function.
7810         (__sync_fetch_and_xor_4): New function.
7811         (__sync_fetch_and_nand_4): New function.
7812         (__sync_fetch_and_add_8): New function.
7813         (__sync_fetch_and_sub_8): New function.
7814         (__sync_fetch_and_or_8): New function.
7815         (__sync_fetch_and_and_8): New function.
7816         (__sync_fetch_and_xor_8): New function.
7817         (__sync_fetch_and_nand_8): New function.
7818         (__do_and_fetch): New macro.
7819         (__atomic_do_and_fetch): Use __do_and_fetch.
7820         (__sync_do_and_fetch): New macro.
7821         (__sync_add_and_fetch_4): New function.
7822         (__sync_sub_and_fetch_4): New function.
7823         (__sync_or_and_fetch_4): New function.
7824         (__sync_and_and_fetch_4): New function.
7825         (__sync_xor_and_fetch_4): New function.
7826         (__sync_nand_and_fetch_4): New function.
7827         (__sync_add_and_fetch_8): New function.
7828         (__sync_sub_and_fetch_8): New function.
7829         (__sync_or_and_fetch_8): New function.
7830         (__sync_and_and_fetch_8): New function.
7831         (__sync_xor_and_fetch_8): New function.
7832         (__sync_nand_and_fetch_8): New function.
7833         (__sync_exchange_methods): New macro.
7834         (__sync_val_compare_and_swap_4): New function.
7835         (__sync_bool_compare_and_swap_4): New function.
7836         (__sync_lock_test_and_test_4): New function.
7837         (__sync_val_compare_and_swap_8): New function.
7838         (__sync_bool_compare_and_swap_8): New function.
7839         (__sync_lock_test_and_test_8): New function.
7840         (__subword_cmpxchg_body): New macro.
7841         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
7842         (__atomic_compare_exchange_2): Ditto.
7843         (__sync_subword_cmpxchg): New macro.
7844         (__sync_val_compare_and_swap_1): New function.
7845         (__sync_bool_compare_and_swap_1): New function.
7846         (__sync_val_compare_and_swap_2): New function.
7847         (__sync_bool_compare_and_swap_2): New function.
7848         (__atomic_subword): Rename to ...
7849         (__subword): ... New name.
7850         (__atomic_subword_fetch): Use __subword.
7851         (__sync_subword_fetch): New macro.
7852         (__sync_fetch_and_add_1): New function.
7853         (__sync_fetch_and_sub_1): New function.
7854         (__sync_fetch_and_or_1): New function.
7855         (__sync_fetch_and_and_1): New function.
7856         (__sync_fetch_and_xor_1): New function.
7857         (__sync_fetch_and_nand_1): New function.
7858         (__sync_fetch_and_add_2): New function.
7859         (__sync_fetch_and_sub_2): New function.
7860         (__sync_fetch_and_or_2): New function.
7861         (__sync_fetch_and_and_2): New function.
7862         (__sync_fetch_and_xor_2): New function.
7863         (__sync_fetch_and_nand_2): New function.
7864         (__sync_add_and_fetch_1): New function.
7865         (__sync_sub_and_fetch_1): New function.
7866         (__sync_or_and_fetch_1): New function.
7867         (__sync_and_and_fetch_1): New function.
7868         (__sync_xor_and_fetch_1): New function.
7869         (__sync_nand_and_fetch_1): New function.
7870         (__sync_add_and_fetch_2): New function.
7871         (__sync_sub_and_fetch_2): New function.
7872         (__sync_or_and_fetch_2): New function.
7873         (__sync_and_and_fetch_2): New function.
7874         (__sync_xor_and_fetch_2): New function.
7875         (__sync_nand_and_fetch_2): New function.
7876         (__atomic_subword_lock): Use __subword.
7877         (__sync_subword_lock): New macro.
7878         (__sync_lock_test_and_set_1): New function.
7879         (__sync_lock_test_and_set_2): New function.
7881 2014-01-25  Walter Lee  <walt@tilera.com>
7883         * config/tilepro/atomic.c (BIT_OFFSET): Define.
7884         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
7885         (__atomic_subword): Ditto.
7887 2014-01-25  Walter Lee  <walt@tilera.com>
7889         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
7890         a prefix op argument.
7891         (__atomic_nand_fetch_4): Add prefix op.
7892         (__atomic_nand_fetch_8): Ditto.
7894 2014-01-21  Baruch Siach  <barch@tkos.co.il>
7896         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
7898 2014-01-09  Rong Xu  <xur@google.com>
7900         * libgcov-driver.c (this_prg): make it local to save
7901         bss space.
7902         (gcov_exit_compute_summary): Ditto.
7903         (gcov_exit_merge_gcda): Ditto.
7904         (gcov_exit_merge_summary): Ditto.
7905         (gcov_exit_dump_gcov): Ditto.
7907 2014-01-08  Rong Xu  <xur@google.com>
7909         * libgcov-driver.c: Use libgcov.h.
7910         (buffer_fn_data): Use xmalloc instead of malloc.
7911         (gcov_exit_merge_gcda): Ditto.
7912         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
7913         * libgcov.h: New common header files for libgcov-*.h.
7914         * libgcov-interface.c: Use libgcov.h
7915         * libgcov-merge.c: Ditto.
7916         * libgcov-profiler.c: Ditto.
7917         * Makefile.in: Add dependence to libgcov.h
7919 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
7921         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
7922         case of small numerator and finite nonzero result.
7924 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
7926         Update copyright years
7928 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
7930         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
7931         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
7932         config/arc/dp-hack.h, config/arc/fp-hack.h,
7933         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
7934         config/arc/ieee-754/arc600-dsp/divdf3.S,
7935         config/arc/ieee-754/arc600-dsp/divsf3.S,
7936         config/arc/ieee-754/arc600-dsp/muldf3.S,
7937         config/arc/ieee-754/arc600-dsp/mulsf3.S,
7938         config/arc/ieee-754/arc600-mul64/divdf3.S,
7939         config/arc/ieee-754/arc600-mul64/divsf3.S,
7940         config/arc/ieee-754/arc600-mul64/muldf3.S,
7941         config/arc/ieee-754/arc600-mul64/mulsf3.S,
7942         config/arc/ieee-754/arc600/divsf3.S,
7943         config/arc/ieee-754/arc600/mulsf3.S,
7944         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
7945         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
7946         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
7947         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
7948         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
7949         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
7950         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
7951         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
7952         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
7953         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
7954         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
7955         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
7956         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
7957         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
7958         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
7959         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
7960         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
7961         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
7962         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
7963         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
7964         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
7965         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
7966         vtv_start_preinit.c: Use the standard form for the copyright notice.
7968 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
7969             Chung-Lin Tang  <cltang@codesourcery.com>
7970         Based on patches from Altera Corporation
7972         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
7973         * config/nios2/lib2-nios2.h: New file.
7974         * config/nios2/lib2-divmod-hi.c: New file.
7975         * config/nios2/linux-unwind.h: New file.
7976         * config/nios2/lib2-divmod.c: New file.
7977         * config/nios2/linux-atomic.c: New file.
7978         * config/nios2/t-nios2: New file.
7979         * config/nios2/crti.asm: New file.
7980         * config/nios2/t-linux: New file.
7981         * config/nios2/lib2-divtable.c: New file.
7982         * config/nios2/lib2-mul.c: New file.
7983         * config/nios2/tramp.c: New file.
7984         * config/nios2/crtn.asm: New file.
7986 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
7988         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
7989         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
7990         from cpuid.h to check vendor signatures.
7992 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
7994         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
7995         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
7996         (get_amd_cpu): Likewise.
7998 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
8000         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
8001         Haswell.
8003 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
8004             H.J. Lu  <hongjiu.lu@intel.com>
8006         PR target/59422
8007         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
8008         and AMD_JAGUAR.
8009         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
8010         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
8011         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
8012         FEATURE_XOP and FEATURE_FMA.
8013         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
8014         AMDFAM15H_BDVER3.
8015         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
8016         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
8017         FEATURE_FMA4 and FEATURE_XOP.
8019 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
8021         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
8022         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
8023         (get_intel_cpu): Updated.
8025 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
8027         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
8029 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
8031         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8032         instructions when __SSE_MATH__ is defined.
8034 2013-12-06  Ralf CorsĂ©pius  <ralf.corsepius@rtems.org>
8036         * config.host (microblaze-*-rtems*): New.
8038 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
8040         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
8041         architectures that do not have hardware divide instruction.
8042         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
8044 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
8046         * longlong.h: Delete (moved to include/).
8048 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8050         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
8051         of normal number and qNaN to not raise an inexact exception.
8053 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
8055         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
8057 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
8059         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
8060         for correct opcodes on BE.
8062 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
8064         * soft-fp/op-4.h: Update from glibc.
8066 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
8068         * libgcc2.c (__udivmoddi4): Define new implementation when
8069         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
8070         divide instructions.
8072 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
8074         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
8076 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8078         * config/t-softfp (soft-fp-objects-base): New variable.
8079         (soft-fp-objects): Use it.
8081 2013-11-23  David Edelson  <dje.gcc@gmail.com>
8082             Andrew Dixie  <andrewd@gentrack.com>
8084         PR target/33704
8085         * config/rs6000/aixinitfini.c: New file.
8086         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
8087         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
8088         symbols.
8090 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
8092         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
8094 2013-11-18  Jan Hubicka  <jh@suse.cz>
8096         * libgcov-driver.c (run_accounted): Make global level static.
8097         (gcov_exit_merge_summary): Silence warning; do not clear
8098         run_accounted here.
8099         (gcov_exit): Clear it here.
8101         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
8102         run_accounted.
8104         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
8105         (all_prg, crc32): Remove static vars.
8106         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
8107         all_prg.
8108         (gcov_exit_merge_gcda): Add crc32 parameter.
8109         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
8110         do not account run if it was already accounted.
8111         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
8112         (gcov_exit): Initialize all_prg; update.
8114 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
8116         * configure: Regenerate.
8118 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8119             Alan Modra  <amodra@gmail.com>
8121         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
8122         (frob_update_context): Use it.
8124 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8125             Alan Modra  <amodra@gmail.com>
8127         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
8128         (trampoline_initial): Provide ELFv2 variant.
8129         (__trampoline_setup): Likewise.
8131         * config/rs6000/linux-unwind.h (frob_update_context): Do not
8132         check for AIX indirect function call sequence if _CALL_ELF == 2.
8134 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8135             Alan Modra  <amodra@gmail.com>
8137         * config/rs6000/linux-unwind.h (get_regs): Do not support
8138         old kernel versions if _CALL_ELF == 2.
8139         (frob_update_context): Do not support PLT stub variants only
8140         generated by old linkers if _CALL_ELF == 2.
8142 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8143             Alan Modra  <amodra@gmail.com>
8145         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
8146         location of CR save area for 64-bit little-endian systems.
8148 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
8150         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
8151         in tmake_file.
8152         * config/arm/t-vxworks: Delete.
8154 2013-11-10  Kai Tietz  <ktietz@redhat.com>
8156         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
8157         Increment load-count on use of LIBGCC_SONAME DLL.
8158         (hmod_libgcc): New static variable to hold handle of
8159         LIBGCC_SONAME DLL.
8160         (__gcc_deregister_frame): Decrement load-count of
8161         LIBGCC_SONAME DLL.
8163 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
8165         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
8166         availability.
8167         * configure: Regenerate
8169 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
8171         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
8172         FP_EX_DENORM.  Store result to volatile location after SSE division
8173         to close interrupt window.  Remove unneeded fwait after x87
8174         division since interrupt window will be closed by emitted fstp.
8175         Rewrite FP_EX_INEXACT handling.
8177 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
8179         * soft-fp/README: Update.
8180         * soft-fp/adddf3.c: Update from glibc.
8181         * soft-fp/addsf3.c: Likewise.
8182         * soft-fp/addtf3.c: Likewise.
8183         * soft-fp/divdf3.c: Likewise.
8184         * soft-fp/divsf3.c: Likewise.
8185         * soft-fp/divtf3.c: Likewise.
8186         * soft-fp/double.h: Likewise.
8187         * soft-fp/eqdf2.c: Likewise.
8188         * soft-fp/eqsf2.c: Likewise.
8189         * soft-fp/eqtf2.c: Likewise.
8190         * soft-fp/extenddftf2.c: Likewise.
8191         * soft-fp/extended.h: Likewise.
8192         * soft-fp/extendsfdf2.c: Likewise.
8193         * soft-fp/extendsftf2.c: Likewise.
8194         * soft-fp/extendxftf2.c: Likewise.
8195         * soft-fp/fixdfdi.c: Likewise.
8196         * soft-fp/fixdfsi.c: Likewise.
8197         * soft-fp/fixdfti.c: Likewise.
8198         * soft-fp/fixsfdi.c: Likewise.
8199         * soft-fp/fixsfsi.c: Likewise.
8200         * soft-fp/fixsfti.c: Likewise.
8201         * soft-fp/fixtfdi.c: Likewise.
8202         * soft-fp/fixtfsi.c: Likewise.
8203         * soft-fp/fixtfti.c: Likewise.
8204         * soft-fp/fixunsdfdi.c: Likewise.
8205         * soft-fp/fixunsdfsi.c: Likewise.
8206         * soft-fp/fixunsdfti.c: Likewise.
8207         * soft-fp/fixunssfdi.c: Likewise.
8208         * soft-fp/fixunssfsi.c: Likewise.
8209         * soft-fp/fixunssfti.c: Likewise.
8210         * soft-fp/fixunstfdi.c: Likewise.
8211         * soft-fp/fixunstfsi.c: Likewise.
8212         * soft-fp/fixunstfti.c: Likewise.
8213         * soft-fp/floatdidf.c: Likewise.
8214         * soft-fp/floatdisf.c: Likewise.
8215         * soft-fp/floatditf.c: Likewise.
8216         * soft-fp/floatsidf.c: Likewise.
8217         * soft-fp/floatsisf.c: Likewise.
8218         * soft-fp/floatsitf.c: Likewise.
8219         * soft-fp/floattidf.c: Likewise.
8220         * soft-fp/floattisf.c: Likewise.
8221         * soft-fp/floattitf.c: Likewise.
8222         * soft-fp/floatundidf.c: Likewise.
8223         * soft-fp/floatundisf.c: Likewise.
8224         * soft-fp/floatunditf.c: Likewise.
8225         * soft-fp/floatunsidf.c: Likewise.
8226         * soft-fp/floatunsisf.c: Likewise.
8227         * soft-fp/floatunsitf.c: Likewise.
8228         * soft-fp/floatuntidf.c: Likewise.
8229         * soft-fp/floatuntisf.c: Likewise.
8230         * soft-fp/floatuntitf.c: Likewise.
8231         * soft-fp/gedf2.c: Likewise.
8232         * soft-fp/gesf2.c: Likewise.
8233         * soft-fp/getf2.c: Likewise.
8234         * soft-fp/ledf2.c: Likewise.
8235         * soft-fp/lesf2.c: Likewise.
8236         * soft-fp/letf2.c: Likewise.
8237         * soft-fp/muldf3.c: Likewise.
8238         * soft-fp/mulsf3.c: Likewise.
8239         * soft-fp/multf3.c: Likewise.
8240         * soft-fp/negdf2.c: Likewise.
8241         * soft-fp/negsf2.c: Likewise.
8242         * soft-fp/negtf2.c: Likewise.
8243         * soft-fp/op-1.h: Likewise.
8244         * soft-fp/op-2.h: Likewise.
8245         * soft-fp/op-4.h: Likewise.
8246         * soft-fp/op-8.h: Likewise.
8247         * soft-fp/op-common.h: Likewise.
8248         * soft-fp/quad.h: Likewise.
8249         * soft-fp/single.h: Likewise.
8250         * soft-fp/soft-fp.h: Likewise.
8251         * soft-fp/subdf3.c: Likewise.
8252         * soft-fp/subsf3.c: Likewise.
8253         * soft-fp/subtf3.c: Likewise.
8254         * soft-fp/truncdfsf2.c: Likewise.
8255         * soft-fp/trunctfdf2.c: Likewise.
8256         * soft-fp/trunctfsf2.c: Likewise.
8257         * soft-fp/trunctfxf2.c: Likewise.
8258         * soft-fp/unorddf2.c: Likewise.
8259         * soft-fp/unordsf2.c: Likewise.
8260         * soft-fp/unordtf2.c: Likewise.
8262 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
8264         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
8265         (_FP_MUL_MEAT_D): Ditto.
8266         (_FP_DIV_MEAT_S): Ditto.
8267         (_FP_DIV_MEAT_D): Ditto.
8268         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
8269         t-softfp-sfdf and t-softfp to tmake_file.
8271 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
8273         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
8274         * config/i386/crtprec.c: Ditto.
8276 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
8277             Shiva Chen  <shiva0217@gmail.com>
8279         * config.host (nds32*-elf*): Add nds32 target.
8280         * config/nds32 : New directory and files.
8282 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
8284         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
8285         * config.host (cpu_type) <Setting default>: Add entry for
8286         crisv32-*-*.
8287         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
8288         <crisv32-*-linux*>: Adjust.
8289         * longlong.h: Wrap the whole CRIS section in a single
8290         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
8291         and sub_ddmmss.
8292         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
8293         defined.
8294         [__CRIS__] (__umulsidi3): Define.
8295         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
8296         * config/cris/sfp-machine.h: New file.
8297         * config/cris/umulsidi3.S: New file.
8298         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
8299         * config/cris/arit.c (SIGNMULT): New macro.
8300         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
8301         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
8302         saving 3 out of originally 33 cycles from the fastest
8303         path, 3 out of 54 from the medium path and one from the longest
8304         path.  Improve comments.
8306 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
8308         * sync.c: Remove static aliases and define each function directly
8309         under its real name.
8311 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
8313         * config.host (hppa*64*-*-linux*): Define extra_parts.
8314         (hppa*-*-linux*): Likewise.
8316 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
8318         * config/arc/crtgend.S: Add 2013 to Copyright years.
8319         * config/arc/gmon/atomic.h: Likewise.
8320         * config/arc/gmon/auxreg.h: Likewise.
8321         * config/arc/gmon/sys/gmon_out.h: Likewise.
8322         * config/arc/gmon/sys/gmon.h: Likewise.
8323         * config/arc/gmon/prof-freq.c: Likewise.
8324         * config/arc/gmon/mcount.c: Likewise.
8325         * config/arc/gmon/prof-freq-stub.S: Likewise.
8326         * config/arc/gmon/gmon.c: Likewise.
8327         * config/arc/gmon/machine-gmon.h: Likewise.
8328         * config/arc/gmon/profil.S: Likewise.
8329         * config/arc/gmon/dcache_linesz.S: Likewise.
8330         * config/arc/crtg.S: Likewise.
8331         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
8332         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
8333         * config/arc/ieee-754/adddf3.S: Likewise.
8334         * config/arc/ieee-754/truncdfsf2.S: Likewise.
8335         * config/arc/ieee-754/fixsfsi.S: Likewise.
8336         * config/arc/ieee-754/gtsf2.S: Likewise.
8337         * config/arc/ieee-754/floatsisf.S: Likewise.
8338         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
8339         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
8340         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
8341         * config/arc/ieee-754/fixdfsi.S: Likewise.
8342         * config/arc/ieee-754/addsf3.S: Likewise.
8343         * config/arc/ieee-754/gesf2.S: Likewise.
8344         * config/arc/ieee-754/floatsidf.S: Likewise.
8345         * config/arc/ieee-754/extendsfdf2.S: Likewise.
8346         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
8347         * config/arc/ieee-754/gtdf2.S: Likewise.
8348         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
8349         * config/arc/ieee-754/uneqdf2.S: Likewise.
8350         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
8351         * config/arc/ieee-754/uneqsf2.S: Likewise.
8352         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
8353         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
8354         * config/arc/ieee-754/eqdf2.S: Likewise.
8355         * config/arc/ieee-754/ordsf2.S: Likewise.
8356         * config/arc/ieee-754/divsf3.S: Likewise.
8357         * config/arc/ieee-754/divdf3.S: Likewise.
8358         * config/arc/ieee-754/floatunsidf.S: Likewise.
8359         * config/arc/ieee-754/orddf2.S: Likewise.
8360         * config/arc/ieee-754/eqsf2.S: Likewise.
8361         * config/arc/ieee-754/gedf2.S: Likewise.
8362         * config/arc/crtn.S: Likewise.
8363         * config/arc/crti.S: Likewise.
8364         * config/arc/t-arc700-uClibc: Likewise.
8365         * config/arc/asm.h: Likewise.
8366         * config/arc/libgcc-excl.ver: Likewise.
8367         * config/arc/t-arc-newlib: Likewise.
8368         * config/arc/divtab-arc700.c: Likewise.
8369         * config/arc/initfini.c: Likewise.
8370         * config/arc/fp-hack.h: Likewise.
8372 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
8373             Diego Novillo  <dnovillo@google.com>
8375         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
8376         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
8377         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
8378         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
8380 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
8381             Brendan Kehoe  <brendan@zen.org>
8382             Simon Cook  <simon.cook@embecosm.com>
8384         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
8385         * config/arc: New directory.
8386         * longlong.h [__arc__] (umul_ppmm): Remove.
8387         [__arc__] (__umulsidi3): Define.
8388         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
8389         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
8391 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
8393         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
8394         CreateSemaphoreA.
8395         * config/i386/gthr-win32.h: Likewise.
8397 2013-09-16  DJ Delorie  <dj@redhat.com>
8399         * config/rl78/vregs.h: Add G10 register definitions.
8400         * config/rl78/lib2mul.c: Enable for RL78/G10.
8401         * config/rl78/lib2div.c: Likewise.
8402         * config/rl78/lshrsi3.S: Use vregs.h.
8403         * config/rl78/cmpsi2.S: Likewise.
8404         * config/rl78/trampoline.S: Likewise.
8405         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
8407 2013-09-14  DJ Delorie  <dj@redhat.com>
8408             Nick Clifton  <nickc@redhat.com>
8410         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
8411         * config/rl78/vregs.h: New.
8412         * config/rl78/signbit.S: New file.  Implements signbit function.
8413         * config/rl78/divmodsi.S: New.
8414         * config/rl78/divmodhi.S: New.
8415         * config/rl78/divmodqi.S: New.
8416         * config/rl78/t-rl78: Build them here...
8417         * config/rl78/lib2div.c: ...but not here.
8419 2013-09-12  DJ Delorie  <dj@redhat.com>
8421         * config.host (msp*-*-elf): New.
8422         * config/msp430/: New port.
8424 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
8426         PR gcov-profile/58127
8427         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
8428         __thread var for emulated TLS.
8429         (__gcov_indirect_call_counters): Likewise.
8431 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
8432             Catherine Moore  <clm@codesourcery.com>
8433             Richard Sandiford  <rdsandiford@googlemail.com>
8435         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
8436         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
8437         (CALL_STUB_NO_RET): Likewise.
8438         (CALL_STUB_RET): Likewise.
8439         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
8440         __mips16_ret call/return stub symbols.
8441         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
8442         to tmake_file.
8444 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
8446         * config.host <mips*-*-linux*>: Remove a stray comment.
8448 2013-08-10  Jan Hubicka  <jh@suse.cz>
8450         Work around binutils PR14342
8451         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
8452         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
8453         (L_gcov_indirect_call_profiler_v2): New.
8455 2013-08-06  Jan Hubicka  <jh@suse.cz>
8457         * libgcov.c (__gcov_indirect_call_callee,
8458         __gcov_indirect_call_counters): New global vars.
8459         (__gcov_indirect_call_profiler): replace by ...
8460         (__gcov_indirect_call_profiler_v2) ... this one.
8462 2013-08-06  Caroline Tice  <cmtice@google.com>
8464         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
8465         vtv_start_preinit.o and vtv_end_preinit.o.
8466         * configure.ac: Add code to check/set enable_vtable_verify.
8467         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
8468         true.
8469         * vtv_start_preinit.c: New file.
8470         * vtv_end_preinit.c: New file.
8471         * vtv_start.c: New file.
8472         * vtv_end.c: New file.
8473         * configure: Regenerated.
8475 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
8477         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
8478         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
8479         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
8480         GPL-3.0-with-GCC-exception.
8482 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
8484         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
8485         ISA and up.
8487 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8489         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
8490         mapping for FPRs when creating the fallback framestate.
8492 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
8494         PR target/57516
8495         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
8496         (__round_s2_const, __round_u2_const)
8497         (__round_s4_const, __round_u4_const, __round_x8):
8498         Saturate result if addition result cannot be represented.
8500 2013-07-15  Matthias Klose  <doko@ubuntu.com>
8502         * libgcc2.c: Don't include <limits.h>.
8504 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
8506         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
8508 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
8510         PR target/29776
8511         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
8513 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
8515         PR middle-end/36041
8516         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
8517         Define.
8518         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
8519         instead of table lookups.
8520         (__popcountDI2): Likewise.
8522 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
8524         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
8525         correctly.
8527 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
8529         PR other/53317
8530         * soft-fp/adddf3.c: Update from glibc.
8531         * soft-fp/addsf3.c: Likewise.
8532         * soft-fp/addtf3.c: Likewise.
8533         * soft-fp/divdf3.c: Likewise.
8534         * soft-fp/divsf3.c: Likewise.
8535         * soft-fp/divtf3.c: Likewise.
8536         * soft-fp/double.h: Likewise.
8537         * soft-fp/eqdf2.c: Likewise.
8538         * soft-fp/eqsf2.c: Likewise.
8539         * soft-fp/eqtf2.c: Likewise.
8540         * soft-fp/extenddftf2.c: Likewise.
8541         * soft-fp/extended.h: Likewise.
8542         * soft-fp/extendsfdf2.c: Likewise.
8543         * soft-fp/extendsftf2.c: Likewise.
8544         * soft-fp/fixdfdi.c: Likewise.
8545         * soft-fp/fixdfsi.c: Likewise.
8546         * soft-fp/fixsfdi.c: Likewise.
8547         * soft-fp/fixsfsi.c: Likewise.
8548         * soft-fp/fixtfdi.c: Likewise.
8549         * soft-fp/fixtfsi.c: Likewise.
8550         * soft-fp/fixunsdfdi.c: Likewise.
8551         * soft-fp/fixunsdfsi.c: Likewise.
8552         * soft-fp/fixunssfdi.c: Likewise.
8553         * soft-fp/fixunssfsi.c: Likewise.
8554         * soft-fp/fixunstfdi.c: Likewise.
8555         * soft-fp/fixunstfsi.c: Likewise.
8556         * soft-fp/floatdidf.c: Likewise.
8557         * soft-fp/floatdisf.c: Likewise.
8558         * soft-fp/floatditf.c: Likewise.
8559         * soft-fp/floatsidf.c: Likewise.
8560         * soft-fp/floatsisf.c: Likewise.
8561         * soft-fp/floatsitf.c: Likewise.
8562         * soft-fp/floatundidf.c: Likewise.
8563         * soft-fp/floatundisf.c: Likewise.
8564         * soft-fp/floatunditf.c: Likewise.
8565         * soft-fp/floatunsidf.c: Likewise.
8566         * soft-fp/floatunsisf.c: Likewise.
8567         * soft-fp/floatunsitf.c: Likewise.
8568         * soft-fp/gedf2.c: Likewise.
8569         * soft-fp/gesf2.c: Likewise.
8570         * soft-fp/getf2.c: Likewise.
8571         * soft-fp/ledf2.c: Likewise.
8572         * soft-fp/lesf2.c: Likewise.
8573         * soft-fp/letf2.c: Likewise.
8574         * soft-fp/muldf3.c: Likewise.
8575         * soft-fp/mulsf3.c: Likewise.
8576         * soft-fp/multf3.c: Likewise.
8577         * soft-fp/negdf2.c: Likewise.
8578         * soft-fp/negsf2.c: Likewise.
8579         * soft-fp/negtf2.c: Likewise.
8580         * soft-fp/op-1.h: Likewise.
8581         * soft-fp/op-2.h: Likewise.
8582         * soft-fp/op-4.h: Likewise.
8583         * soft-fp/op-8.h: Likewise.
8584         * soft-fp/op-common.h: Likewise.
8585         * soft-fp/quad.h: Likewise.
8586         * soft-fp/single.h: Likewise.
8587         * soft-fp/soft-fp.h: Likewise.
8588         * soft-fp/subdf3.c: Likewise.
8589         * soft-fp/subsf3.c: Likewise.
8590         * soft-fp/subtf3.c: Likewise.
8591         * soft-fp/truncdfsf2.c: Likewise.
8592         * soft-fp/trunctfdf2.c: Likewise.
8593         * soft-fp/trunctfsf2.c: Likewise.
8594         * soft-fp/unorddf2.c: Likewise.
8595         * soft-fp/unordsf2.c: Likewise.
8596         * soft-fp/unordtf2.c: Likewise.
8597         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
8598         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8599         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8600         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8601         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8602         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8603         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8604         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8605         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8606         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
8607         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
8608         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8610 2013-06-16  JĂĽrgen Urban  <JuergenUrban@gmx.de>
8612         * config/mips/lib2funcs.c: New file.
8613         * config/mips/t-mips (LIB2ADD_ST): Add it.
8615 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
8617         PR target/6526
8618         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
8619         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
8621 2013-06-08  Walter Lee  <walt@tilera.com>
8623         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
8624         Replace int64_t with long long.  Add __extension__ where
8625         appropriate.
8626         * config/tilepro/atomic.c: Include config.h.
8628 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
8630         * config.host (arm-wrs-vxworks): Configure with other soft float.
8632 2013-06-04  JĂĽrgen Urban  <JuergenUrban@gmx.de>
8634         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
8635         (mips64r5900el-*-elf*): New configurations.
8637 2013-06-04  Alan Modra  <amodra@gmail.com>
8639         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
8641 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
8643         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
8645 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
8647         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
8648         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
8649         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
8651 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
8653         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
8654         (powerpc-wrs-vxworks): Likewise.
8656 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
8658         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
8659         signal frames as well.
8660         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
8661         STACK_BIAS to the CFA offset.
8663 2013-05-17  Richard Henderson  <rth@redhat.com>
8665         PR target/49146
8666         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
8667         (execute_cfa_program): Use it when storing to fs->regs.
8669 2013-05-08  Kai Tietz  <ktietz@redhat.com>
8671         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
8672         (__deregister_frame_info): Likewise.
8674 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
8676         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
8677         NaN's payload.
8679         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
8681 2013-04-25  Alan Modra  <amodra@gmail.com>
8683         * config.host: Match little-endian powerpc-linux.
8685 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
8687         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
8688         as 'unsigned long long' instead of 'unsigned long'.
8689         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
8690         'signed long'.
8692 2013-04-10  Julian Brown  <julian@codesourcery.com>
8694         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
8695         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
8696         unsigned char/unsigned short.
8697         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
8699 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8701         PR other/55274
8702         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
8704 2013-04-04  Meador Inge  <meadori@codesourcery.com>
8706         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
8707         computing the location of the link register.
8708         (aeabi_uldivmod): Ditto.
8710 2013-03-27  Kai Tietz  <ktietz@redhat.com>
8712         * config.host: Add support for cygwin x64 target.
8713         * configure: Regenerated.
8715 2013-03-26  Walter Lee  <walt@tilera.com>
8717         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
8718         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
8720 2013-03-25  Kai Tietz  <ktietz@redhat.com>
8722         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
8724 2013-03-20  Robert Mason  <rbmj@verizon.net>
8726         * config/vxlib-tls.c (__gthread_get_tsd_data,)
8727         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
8728         (__gthread_leave_tsd_dtor_context): Add prototypes.
8729         (tls_delete_hook): Update.
8731 2013-03-20  Catherine Moore  <clm@codesourcery.com>
8732             Joseph Myers  <joseph@codesourcery.com>
8733             Chao-ying Fu  <fu@mips.com>
8735         * config/mips/mips16.S:  Don't build for microMIPS.
8736         * config/mips/linux-unwind.h: Handle microMIPS frame.
8737         * config/mips/crtn.S (fini, init): New labels.
8739 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
8741         PR tree-optimization/53265
8742         * unwind-dw2.c (execute_cfa_program): Avoid
8743         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
8744         on targets with DWARF_FRAME_REGISTERS < 32.
8746 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
8748         PR target/49880
8749         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
8750         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
8752 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
8754         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
8755         sandybridge processors.
8757 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
8759         PR target/56529
8760         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
8761         inclusion list.
8763 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
8765         * config/microblaze/crti.S: Setup stack protection at entry
8767 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
8769         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
8770         (__rotldi3): Shift bytewise if applicable.
8772 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
8774         * config/aarch64/sync-cache.c
8775         (__aarch64_sync_cache_range): Silence warnings.
8777 2013-02-25  Catherine Moore  <clm@codesourcery.com>
8779         Revert:
8780         2013-02-24  Catherine Moore  <clm@codesourcery.com>
8781             Joseph Myers  <joseph@codesourcery.com>
8782             Chao-ying Fu  <fu@mips.com>
8784         * config/mips/mips16.S:  Don't build for microMIPS.
8785         * config/mips/linux-unwind.h: Handle microMIPS frame.
8786         * config/mips/crtn.S (fini, init): New labels.
8788 2013-02-24  Catherine Moore  <clm@codesourcery.com>
8789             Joseph Myers  <joseph@codesourcery.com>
8790             Chao-ying Fu  <fu@mips.com>
8792         * config/mips/mips16.S:  Don't build for microMIPS.
8793         * config/mips/linux-unwind.h: Handle microMIPS frame.
8794         * config/mips/crtn.S (fini, init): New labels.
8796 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
8797         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
8798         as dividend.
8800 2013-02-16  Alan Modra  <amodra@gmail.com>
8802         PR target/55431
8803         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
8804         (ppc_fallback_frame_state): Always set up save locations for fp
8805         and altivec.  Don't bother with non-callee-saved regs, r0-r13
8806         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
8808 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
8810         PR target/54222
8811         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
8812         _ssmulHA, _ssmulSA.
8813         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
8814         _ssmulha3, _usmulusa3, _ssmulsa3.
8815         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
8816         (__muldi3): XCALL __muldi3_6 instead of rcall.
8817         (__umulsidi3, __mulsidi3): New functions.
8818         (do_prologue_saves, do_epilogue_restores): New .macros.
8819         (__divdi3_moddi3): Use them.
8820         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
8821         (__usmulusa3, __ssmulsa3): New functions.
8823 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
8824             Jack Howarth  <howarth@bromo.med.uc.edu>
8825             Patrick Marlier  <patrick.marlier@gmail.com>
8827         PR libitm/55693
8828         * config/darwin-crt-tm.c: Remove dummy functions hack.
8830 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
8832         PR target/54222
8833         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
8834         * config/avr/lib2-object.mk: New iterator to build objects from it.
8835         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
8836         lib2funcs.c.
8837         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
8838         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
8839         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
8840         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
8841         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
8842         * config/avr/lib1funcs-fixed.S: Implement them.
8844 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
8846         Update copyright years.
8848 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
8850         PR target/54601
8851         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
8852         Add crtcxa to extra_parts.
8853         * config/rs6000/exit.h: New file.
8854         * config/rs6000/cxa_atexit.c: New file.
8855         * config/rs6000/cxa_finalize.c: New file.
8856         * config/rs6000/crtcxa.c: New file.
8857         * config/rs6000/t-aix-cxa: New file.
8858         * config/rs6000/libgcc-aix-cxa.ver: New file.
8860 2013-01-31  Nick Clifton  <nickc@redhat.com>
8862         * config/v850/lib1funcs.S: Add support for e3v5 architecture
8863         variant.
8865 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
8867         PR target/54222
8868         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
8869         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
8870         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
8871         _divQQ,  _divHQ,  _divHA,  _divSA,
8872         _divUQQ, _divUHQ, _divUHA, _divUSA.
8874 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
8876         * config.host(microblaze*-linux*): tmake_file: Remove
8877         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
8878         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
8879         to exclude functions from being built with libgcc.c and use
8880         the microblaze assembly.
8882 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
8884         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
8885         extra_parts.
8887 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
8889         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
8890         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
8891         __UINTPTR_TYPE__; also cast 'base' to the same type before the
8892         alignment operation.
8894 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
8896         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
8897         loop start address for cache clearing.
8899 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
8901         * config/avr/lib1funcs.S: Remove trailing blanks.
8902         * config/avr/lib1funcs-fixed.S: Ditto.
8904 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
8906         * config/avr/avr-lib.h: Add GPL copyright notice.
8908 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
8910         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
8911         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
8912         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
8913         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
8915 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
8917         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
8918         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
8920 2013-01-04  Nick Clifton  <nickc@redhat.com>
8922         * config/v850/lib1funcs.S: Only provide CALLT support functions if
8923         the CALLT instruction is supported.
8925 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
8927         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
8928         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
8930 2012-12-13  John Tytgat  <John@bass-software.com>
8932         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
8933         is 25.
8935 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
8937         PR libgcc/55451
8938         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
8939         undefined signed overflows.
8941 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
8943         PR target/55344
8944         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
8946 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
8948         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
8949         (FP_TRAPPING_EXCEPTIONS): Define.
8950         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
8951         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
8953 2012-12-04  Richard Henderson  <rth@redhat.com>
8955         PR bootstrap/55571
8956         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
8958 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8960         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
8961         (FP_EX_SHIFT): Define.
8962         (FP_TRAPPING_EXCEPTIONS): Define.
8964 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8966         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
8967         (FP_ROUNDMODE): Use FP_RND_MASK.
8968         * config/aarch64/sfp-exceptions.c: New.
8969         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8970         Use __sfp_handle_exceptions.
8972 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
8974         * config.host: (arm*-*-freebsd*): Remove.
8975         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
8976         (arm*-*-elf*): Remove.
8977         (arm*-*-wince-pe*): Remove.
8978         * arm/unwind-arm.c (struct fpa_reg): Delete.
8979         (struct fpa_regs): Delete.
8980         (phase1_vrs): Remove fpa element.
8981         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
8982         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
8983         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
8984         * ieee754-sf.S (floatundisf): Remove FPA support.
8985         (floatdisf): Likewise.
8986         * ieee75f-df.S (floatundidf): Likewise.
8987         (floatdidf): Likewise.
8989 2012-11-29  Kai Tietz  <ktietz@redhat.com>
8991         PR target/55445
8992         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
8993         * unwind-generic.h: Likewise.
8994         * unwind-seh.c: Likewise.
8996 2012-11-28  Richard Henderson  <rth@redhat.com>
8998         PR libgcc/48076
8999         * emutls.c (__emutls_get_address): Avoid race condition between
9000         obj->loc.offset read and emutls_key initialization.
9002 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
9004         Adjust decimal point of signed accum mode to GCC default.
9006         PR target/54222
9007         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
9008         _divqq_helper.
9009         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
9010         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
9011         (__mulha3, __mulsa3)
9012         (__divqq3, __divha3, __divsa3): Adjust to new position of
9013         decimal point of signed accum types.
9015         (__mulusa3_round): New function.
9016         (__mulusa3): Use it.
9017         (__divqq_helper): New function.
9018         (__udivuqq3): Use it.
9020 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
9022         PR bootstrap/55370
9023         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
9025 2012-11-18  Teresa Johnson  <tejohnson@google.com>
9027         PR bootstrap/55051
9028         * libgcov.c (gcov_exit): Remove merged program summary
9029         comparison unless !GCOV_LOCKED.
9031 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9033         * soft-fp: Updated from glibc upstream.
9035 2012-11-06  Ian Lance Taylor  <iant@google.com>
9037         * generic-morestack.c (__generic_morestack): Align the returned
9038         stack pointer to a 32 byte boundary.
9039         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
9040         increment the return address until we have decided that we don't
9041         have a varargs function.
9042         (__morestack) [32-bit]: Align stack correctly when calling C
9043         functions.
9044         (__morestack) [64-bit]: Likewise.
9046 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
9048         * configure: Regenerate.
9050 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
9052         PR target/55175
9053         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
9054         * config/i386/sfp-machine.h: Guard exception handling
9055         code with _SOFT_FLOAT.
9056         * config/i386/32/sfp-machine.h: Guard rounding handling
9057         code with _SOFT_FLOAT.
9058         * config/i386/64/sfp-machine.h: Ditto.
9060 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
9062         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
9063         as extra_parts.
9065 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
9067         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
9068         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
9069         when appropriate.  Correct structure element types.
9070         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
9071         -minline-all-stringops from compile flags.
9073 2012-10-25  Ralf CorsĂ©pius  <ralf.corsepius@rtems.org>
9075         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
9077 2012-10-25  Ralf CorsĂ©pius  <ralf.corsepius@rtems.org>
9079         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
9081 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
9083         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
9084         tmake_file.
9086 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
9087             Jim MacArthur  <jim.macarthur@arm.com>
9088             Marcus Shawcroft  <marcus.shawcroft@arm.com>
9089             Nigel Stephens  <nigel.stephens@arm.com>
9090             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
9091             Richard Earnshaw  <rearnsha@arm.com>
9092             Sofiane Naci  <sofiane.naci@arm.com>
9093             Stephen Thomas  <stephen.thomas@arm.com>
9094             Tejas Belagod  <tejas.belagod@arm.com>
9095             Yufeng Zhang  <yufeng.zhang@arm.com>
9097         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
9098         * config/aarch64/crti.S: New file.
9099         * config/aarch64/crtn.S: New file.
9100         * config/aarch64/linux-unwind.h: New file.
9101         * config/aarch64/sfp-machine.h: New file.
9102         * config/aarch64/sync-cache.c: New file.
9103         * config/aarch64/t-aarch64: New file.
9104         * config/aarch64/t-softfp: New file.
9106 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
9108         * config/mmix/crti.S: Mark program and data addresses using PRELD.
9109         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
9110         no-longer-needed LDBU insns.
9112 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
9114         * config.host
9115         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
9116         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
9118 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
9120         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
9122 2012-10-15  Matthias Klose  <doko@ubuntu.com>
9124         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
9126 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
9128         * configure: Regenerate.
9129         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
9131 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
9133         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
9134         instructions for 64bit targets only.
9136 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
9138         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9139         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
9140         * config/i386/32/sfp-machine.h: ... here.
9141         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
9142         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
9143         New defines.
9145 2012-10-07  Matthias Klose  <doko@ubuntu.com>
9147         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
9148         as unused.
9149         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
9151 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
9153         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
9154         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
9155         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
9156         (ElfW): Likewise.
9158 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
9160         PR other/53889
9161         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9162         Fix parameter names.
9164 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
9166         PR target/33135
9167         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
9168         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
9169         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
9171 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
9173         PR target/50457
9174         * config/sh/linux-atomic.S: Delete.
9175         * config/sh/linux-atomic.c: New.
9176         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
9177         linux-atomic.c.  Add cflags to disable warnings.
9179 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
9181         PR other/53889
9182         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
9183         function.
9184         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
9185         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
9186         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
9187         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
9188         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
9189         Likewise.
9190         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9191         Likewise.
9192         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
9193         Likewise.
9194         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
9195         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
9197 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
9199         * config.host (hppa-*-openbsd*): New target.
9200         * config/pa/t-openbsd: New file.
9202 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
9204         PR target/54222
9205         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
9206         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
9207         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
9208         (__divsa3): Use __negsi2 to negate r_quoL.
9209         * config/avr/lib1funcs.S (FALIAS): New macro.
9210         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
9211         (__negsi2): ...this new function.
9212         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
9213         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
9214         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
9215         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
9216         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
9217         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
9219 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
9221         PR target/54089
9222         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
9223         (lshrsi3): Reimplement as lshrsi3_r0.
9225 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
9227         PR target/46191
9228         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
9229         of libgcc.a.
9231 2012-09-07  Teresa Johnson  <tejohnson@google.com>
9233         PR gcov-profile/54487
9234         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9235         differences.
9237 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
9239         PR target/54461
9240         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
9241         not configured --with-avrlibc=no.
9242         * config/avr/t-avrlibc: New file.
9243         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
9244         (DPBIT_FUNCS): Ditto.
9245         (TPBIT_FUNCS): Ditto.
9247 2012-09-04  Teresa Johnson  <tejohnson@google.com>
9249         * libgcov.c (struct gcov_summary_buffer): New structure.
9250         (gcov_histogram_insert): New function.
9251         (gcov_compute_histogram): Ditto.
9252         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
9253         histograms during summary merging.
9255 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
9257         * config.host (x86_64-*-openbsd*): New target.
9259 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
9261         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
9262         attribute.
9264 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
9266         PR target/54222
9267         * config/avr/t-avr (conv_X): Rename to func_X.
9269 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
9271         PR target/54222
9272         * config/avr/lib1funcs-fixed.S: New file.
9273         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
9274         after they are used.
9275         (neg2, neg4): New macros.
9276         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
9277         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
9278         (__umulhisi3): Speed up MUL variant if there is enough flash.
9279         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
9280         avr-modes.def.
9281         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
9282         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
9283         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
9284         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
9285         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
9286         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
9287         (LIB2FUNCS_EXCLUDE): Add supported functions.
9289 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
9291         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
9292         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
9293         libgcc-s-objects.
9294         * fixed-obj.mk: Only expand dependency if $o is not in
9295         LIB2FUNCS_EXCLUDE.
9297 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
9299         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
9301 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
9303         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
9304         depend on --enable-shared.
9305         ($(lib1asmfuncs-o)): Use %.vis files independent of
9306         --enable-shared.
9307         * static-object.mk ($(base)$(objext), $(base).vis)
9308         ($(base)_s$(objext)): Use same rules for visibility handling as in
9309         shared-object.mk.
9311 2012-08-21  Ian Lance Taylor  <iant@google.com>
9313         * config/i386/morestack.S (__morestack_non_split): Increase amount
9314         of space allocated for non-split code stack.
9316 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
9318         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
9319         even if inhibit_libc.
9321 2012-08-17  Julian Brown  <julian@codesourcery.com>
9323         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
9324         -fexceptions -fnon-call-exceptions if not defined.
9325         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
9326         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
9328 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
9330         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
9331         type.
9333 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
9335         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
9336         rs6000/t-slibgcc-aix.
9338 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
9340         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
9342 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
9344         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
9346 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
9348         PR driver/54171
9349         * Makefile.in (version): Replace top_srcdir with srcdir.
9351 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
9353         * Makefile.in (version): set to BASE-VER file from gcc directory.
9355 2012-08-01  Nick Clifton  <nickc@redhat.com>
9357         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
9358         Implements __clrsb for an HImode argument.
9360 2012-07-31  Nick Clifton  <nickc@redhat.com>
9362         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
9363         Implements __clrsb for an HImode argument.
9364         * config/stormy16/clrsbhi2.c: New file:
9365         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
9367 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
9369         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
9371 2012-07-19  Tristan Gingold  <gingold@adacore.com>
9372             Richard Henderson  <rth@redhat.com>
9374         * unwind-seh.c: New file.
9375         * unwind-generic.h: Include windows.h for SEH.
9376         (_Unwind_Exception): Use 6 private fields for SEH.
9377         (_GCC_specific_handler): Declare.
9378         * unwind-c.c (__gcc_personality_seh0): New function.
9379         Adjust for SEH.
9380         * config/i386/libgcc-cygming.ver: New file.
9381         * config/i386/t-seh-eh: New file.
9382         * config.host (x86_64-*-mingw*): Default to seh.
9384 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
9386         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
9388 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
9390         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
9391         __builtin_expect when checking for exceptions.
9392         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
9394 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
9396         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
9397         function declaration.
9398         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9399         (FP_RND_MASK): New.
9400         * config/ia64/sfp-exceptions.c: New.
9401         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
9403 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
9405         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
9406         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
9407         * config/i386/64/sfp-machine: ... (delete here) ...
9408         * config/i386/sfp-machine.h: ... to here.
9409         (FP_EX_MASK): Remove.
9410         (FP_RND_MASK): New.
9411         (FP_INIT_ROUNDMODE): Declare asm as volatile.
9413 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
9415         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
9416         * config/i386/libgcc-sol2.ver: Ditto.
9417         * config/i386/libgcc-glibc.ver: Ditto.
9419 2012-06-11  Roland McGrath  <mcgrathr@google.com>
9421         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
9422         If __GLIBC__ is defined, refer to __pthread_key_create instead of
9423         pthread_cancel.
9425 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
9427         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
9428         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
9429         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
9430         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9431         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
9432         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
9433         * config/i386/64/sfp-machine: ... (delete here) ...
9434         * config/i386/sfp-machine.h: ... to here.
9435         (FP_EX_MASK): New.
9436         (__sfp_handle_exceptions): New function declaration.
9437         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9438         * config/i386/sfp-exceptions.c: New.
9439         * config/i386/t-softfp: New.
9440         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
9441         i386/t-softfp to tmake_file.
9443 2012-06-03  David S. Miller  <davem@davemloft.net>
9445         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
9446         change.
9448 2012-05-31  David S. Miller  <davem@davemloft.net>
9450         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
9451         multiply and divide instructions on 32-bit when V9.
9452         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
9454 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
9456         * config/arm/ieee754-df.S: Fix typos.
9457         * config/arm/ieee754-sf.S: Fix typos.
9458         * config/c6x/libunwind.S: Fix typos.
9459         * config/epiphany/udivsi3-float.c: Fix typos.
9460         * config/microblaze/muldi3_hard.S: Fix typos.
9461         * config/picochip/adddi3.S: Fix typos.
9462         * config/picochip/ashlsi3.S: Fix typos.
9463         * config/picochip/ashrsi3.S: Fix typos.
9464         * config/picochip/clzsi2.S: Fix typos.
9465         * config/picochip/cmpsi2.S: Fix typos.
9466         * config/picochip/divmod15.S: Fix typos.
9467         * config/picochip/divmodhi4.S: Fix typos.
9468         * config/picochip/divmodsi4.S: Fix typos.
9469         * config/picochip/longjmp.S: Fix typos.
9470         * config/picochip/lshrsi3.S: Fix typos.
9471         * config/picochip/parityhi2.S: Fix typos.
9472         * config/picochip/popcounthi2.S: Fix typos.
9473         * config/picochip/setjmp.S: Fix typos.
9474         * config/picochip/subdi3.S: Fix typos.
9475         * config/picochip/ucmpsi2.S: Fix typos.
9476         * config/picochip/udivmodhi4.S: Fix typos.
9477         * config/picochip/udivmodsi4.S: Fix typos.
9478         * config/spu/divv2df3.c: Fix typos.
9479         * config/spu/mfc_multi_tag_release.c: Fix typos.
9480         * config/spu/mfc_tag_release.c: Fix typos.
9481         * configure.ac: Fix typos.
9482         * configure: Regenerate.
9484 2012-05-25  Ian Lance Taylor  <iant@google.com>
9486         * config/i386/morestack.S (__morestack_non_split): Check whether
9487         caller is varargs and needs %bp to hold the stack frame on return.
9489 2012-05-25  Olivier Hainque  <hainque@adacore.com>
9491         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
9492         sequence in the non pic case on VxWorks.
9494 2012-05-24  Olivier Hainque  <hainque@adacore.com>
9496         * Makefile.in: Move dependency on install-unwind_h from
9497         "install-leaf" to "install".
9499 2012-05-24  Olivier Hainque  <hainque@adacore.com>
9501         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
9502         Use a separate command for stamp removals.
9504 2012-05-21  Andrew Pinski  <apinski@cavium.com>
9506         PR bootstrap/53183
9507         * configure.ac: Define the default includes to being none.
9508         * configure: Regenerate.
9510 2012-05-16  Olivier Hainque  <hainque@adacore.com>
9512         * Makefile.in (install-unwind_h): Rename into ...
9513         (install-unwind_h-forbuild): New target.
9514         (all): Use it instead of the former install-unwind_h.
9515         (install-unwind_h): Reinstate, copy to user install destination
9516         for include files, not to the internal gcc object directory one.
9517         (install-leaf): Depend on it.
9519 2012-05-15  Olivier Hainque  <hainque@adacore.com>
9521         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
9522         register numbers. LR_REGNO replaces R_LR.
9523         (ucontext_for): New, helper for ...
9524         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
9525         and 5.3 of ...
9526         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
9528 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9530         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
9531         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
9532         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
9533         i386/t-cpuinfo ...
9534         (i[34567]86-*-*, x86_64-*-*): ... here.
9536         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
9537         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
9539         * config/i386/i386-cpuinfo.c: Rename to ...
9540         * config/i386/cpuinfo.c: ... this.
9541         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
9543         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
9544         (libgcc_cv_init_priority): New test.
9545         * configure: Regenerate.
9546         * config.in: New file.
9547         * Makefile.in (clean): Rename config.h to auto-target.h.
9548         (config.h): Likewise.
9549         (stamp-h): Likewise.
9551         * config/i386/cpuinfo.c (auto-target.h): Include.
9552         (CONSTRUCTOR_PRIORITY): Define.
9553         (__cpu_indicator_init): Use it.
9555 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
9557         * longlong.h: Use a URL instead of an FSF postal address.
9558         Replace spaces with tab.
9560 2012-05-08  Teresa Johnson  <tejohnson@google.com>
9562         * libgcov.c (gcov_clear, __gcov_reset): New functions.
9563         (__gcov_dump): Ditto.
9564         (gcov_dump_complete): New global variable.
9565         (gcov_exit): Export hidden to enable use in L_gcov_dump.
9566         (__gcov_flush): Outline functionality now in gcov_clear.
9567         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
9569 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
9571         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
9572         (mips*-*-linux*): Include mips/t-tpbit when long double is
9573         16 bytes long.
9575 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
9577         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
9578         (get_available_features): New argument. Check for AVX2.
9579         (__cpu_indicator_init): Modify call to get_available_features.
9581 2012-04-25  Alan Modra  <amodra@gmail.com>
9583         * config/rs6000/crtsavevr.S: New file.
9584         * config/rs6000/crtrestvr.S: New file.
9585         * config/rs6000/t-savresfgpr: Build the above.
9586         * config/rs6000/t-netbsd: Likewise.
9588 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
9590         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
9592 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
9594         * libgcc/config/i386/i386-cpuinfo.c: New file.
9595         * libgcc/config/i386/t-cpuinfo: New file.
9596         * libgcc/config.host: Include t-cpuinfo.
9597         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
9599 2012-04-24  Chao-ying Fu  <fu@mips.com>
9601         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
9603 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
9605         struct siginfo vs. siginfo_t
9607         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
9608         siginfo_t instead of struct siginfo.
9609         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
9610         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
9611         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
9612         (ia64_handle_unwabi): Likewise.
9613         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
9614         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
9615         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
9616         (sh_fallback_frame_state): Likewise.
9617         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
9618         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
9620 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
9622         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
9623         system call number.
9625 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
9627         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
9628         if it hasn't been previously saved.
9630 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
9632         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
9633         only for glibc.
9635 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
9637         PR target/52737
9638         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
9639         instead of __AVR_HAVE_8BIT_SP__.
9641 2012-03-26  Tristan Gingold  <gingold@adacore.com>
9643         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
9644         (unw_table_entry): Use unw_word instead of unsigned long.
9645         (_Unwind_FindTableEntry): Likewise.
9646         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
9647         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
9648         (_Unwind_FindTableEntry): Likewise.
9649         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
9650         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
9651         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
9652         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
9653         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
9654         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
9655         (uw_init_context_1, uw_install_context): Likewise.
9656         (unw_word): Move to unwind-ia64.h
9658 2012-03-26  Tristan Gingold  <gingold@adacore.com>
9660         * config/vms/vms-ucrt0.c: Update copyright years.
9661         Add a sanity check.
9662         (___gcc_main_flags): Declare.
9663         (__main): Check flags to remap argv and exit code.
9664         * config.host (*-*-*vms*): Adjust extra_parts.
9665         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
9666         (crt0.o): Add.
9668 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
9670         * arm/lib1funcs.asm (ctzsi2): New function.
9671         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
9672         * arm/t-linux (LIB1ASMFUNCS): Likewise.
9673         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
9674         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
9675         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
9676         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
9678 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
9680         * config.host: Add bits to support powerpc64-*-freebsd*.
9681         * config/rs6000/freebsd-unwind.h: New file.
9682         * config/rs6000/t-freebsd64: New file.
9684 2012-03-20  Richard Guenther  <rguenther@suse.de>
9686         PR gcov-profile/52627
9687         * libgcov.c (init_mx): Fix mutex name.
9689 2012-03-16  Tristan Gingold  <gingold@adacore.com>
9691         * config/ia64/vms-unwind.h: Remove ulong (and replace
9692         it by unw_reg where used).  Define unw_reg with __int64.
9694 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9696         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
9697         Solaris 8 handling.
9698         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
9699         Solaris 8 handling.
9700         (sparc_is_sighandler): Likewise.
9702 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
9704         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
9705         <= saved reg size.
9707 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9709         * config/arm/crtn.S: Fix typo.
9711 2012-03-13  Richard Guenther  <rguenther@suse.de>
9713         * libgcov.c: Remove stdio.h include and NULL un-define.
9715 2012-03-13  Richard Guenther  <rguenther@suse.de>
9717         PR target/52569
9718         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
9720 2012-03-13  Richard Guenther  <rguenther@suse.de>
9722         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
9724 2012-03-13  Richard Guenther  <rguenther@suse.de>
9726         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
9727         and __gthread_mutex_init_function definitions.
9729 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9731         * config.host (mips*-*-openbsd*): Remove.
9733 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9735         * config.host: Remove alpha*-dec-osf5.1* handling.
9736         * config/alpha/gthr-posix.c: Remove.
9737         * config/alpha/libgcc-osf5.ver: Remove.
9738         * config/alpha/osf5-unwind.h: Remove.
9739         * config/alpha/t-osf-pthread: Remove.
9740         * config/alpha/t-slibgcc-osf: Remove.
9741         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
9742         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
9743         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
9744         * mkmap-flat.awk: Remove osf_export handling.
9746 2012-03-12  Richard Guenther  <rguenther@suse.de>
9748         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
9749         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9750         (__gthread_mutex_init_function): New function.
9751         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9753         PR gcov/49484
9754         * libgcov.c: Include gthr.h.
9755         (__gcov_flush_mx): New global variable.
9756         (init_mx, init_mx_once): New functions.
9757         (__gcov_flush): Protect self with a mutex.
9758         (__gcov_fork): Re-initialize mutex after forking.
9759         * unwind-dw2-fde.c: Change condition under which to use
9760         __GTHREAD_MUTEX_INIT_FUNCTION.
9762 2012-03-12  Tristan Gingold  <gingold@adacore.com>
9764         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
9765         * config/ia64/t-vms: Likewise.
9767 2012-03-11  Michael Hope  <michael.hope@linaro.org>
9769         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
9770         for Thumb-2.
9772 2012-03-07  Walter Lee  <walt@tilera.com>
9774         * config/tilepro/atomic.c: Rename "atomic_" prefix to
9775         "arch_atomic_".
9776         (atomic_xor): Rename and move definition to
9777         config/tilepro/atomic.h.
9778         (atomic_nand): Ditto.
9779         * config/tilepro/atomic.h: Rename "atomic_" prefix to
9780         "arch_atomic_".
9781         (arch_atomic_xor): Move from config/tilepro/atomic.c.
9782         (arch_atomic_nand): Ditto.
9784 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
9786         PR target/52507
9787         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
9789 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
9791         PR target/52505
9792         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
9793         from RAM.
9795 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
9797         PR target/52461
9798         PR target/52508
9799         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
9800         if RAMPZ affects reading from RAM.
9801         (__tablejump_elpm__): Ditto.
9802         (.xload): Ditto.
9803         (__movmemx_hi): Ditto.
9804         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
9805         (__do_global_dtors): Ditto.
9806         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
9807         (__movmemx_hi): Ditto.
9809 2012-03-05  Richard Henderson  <rth@redhat.com>
9811         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
9812         [ARM] (count_trailing_zeros): Use the builtin.
9814 2012-03-01  Kai Tietz  <ktietz@redhat.com>
9816         * soft-fp: Imported from glibc upstream.
9818 2012-02-28  Kai Tietz  <ktietz@redhat.com>
9820         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
9821         for mingw-targets as attribute gcc_struct.
9823 2012-02-28  Ian Lance Taylor  <iant@google.com>
9825         * generic-morestack.c (__splitstack_releasecontext): Correct call
9826         to __morestack_release_segments.
9828 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9830         PR target/52390
9831         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
9832         for __linux__ when removing signals from __morestack_fullmask.
9834 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
9836         PR target/52261
9837         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
9839 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9841         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
9842         instead of HAVE_INITFINI_ARRAY.
9843         * config/ia64/crtend.S: Likewise.
9845 2012-02-20  Kai Tietz  <ktietz@redhat.com>
9847         PR libstdc++/52300
9848         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
9850         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
9851         to w32-unwind.h header.
9853 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
9855         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
9856         (mips*-*-linux*): Remove t-slibgcc-libgcc.
9857         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
9858         * config/mips/mips16.S (__mips16_rdhwr): Delete.
9860 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
9862         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
9864 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
9866         PR libitm/52220
9867         * config/darwin-crt-tm.c: Correct typo.
9869 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
9870             Patrick Marlier  <patrick.marlier@gmail.com>
9872         PR libitm/52220
9873         * config/darwin-crt-tm.c: Generate dummy functions.
9875 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
9876             Patrick Marlier  <patrick.marlier@gmail.com>
9878         PR libitm/52042
9879         * config/darwin-crt-tm.c (getTMCloneTable): New function.
9880         (__doTMRegistrations): Call it.
9881         (__doTMdeRegistrations): Likewise.
9883 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
9884             Anatoly Sokolov  <aesok@post.ru>
9885             Eric Weddington  <eric.weddington@atmel.com>
9887         PR target/52261
9888         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
9889         (__epilogue_restores__): Ditto.
9891 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
9893         PR target/51921
9894         PR target/52205
9895         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
9896         Solaris 11 and slightly reformat.
9897         (sparc_is_sighandler): Likewise.
9899 2012-02-14  Walter Lee  <walt@tilera.com>
9901         * config.host: Handle tilegx and tilepro.
9902         * config/tilegx/sfp-machine.h: New file.
9903         * config/tilegx/sfp-machine32.h: New file.
9904         * config/tilegx/sfp-machine64.h: New file.
9905         * config/tilegx/t-crtstuff: New file.
9906         * config/tilegx/t-softfp: New file.
9907         * config/tilegx/t-tilegx: New file.
9908         * config/tilepro/atomic.c: New file.
9909         * config/tilepro/atomic.h: New file.
9910         * config/tilepro/linux-unwind.h: New file.
9911         * config/tilepro/sfp-machine.h: New file.
9912         * config/tilepro/softdivide.c: New file.
9913         * config/tilepro/softmpy.S: New file.
9914         * config/tilepro/t-crtstuff: New file.
9915         * config/tilepro/t-tilepro: New file.
9917 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
9919         PR libstdc++/51296
9920         PR libstdc++/51906
9921         * gthr-posix.h: Allow static initializer macros to be disabled.
9922         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
9924 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
9926         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
9927         Add t-slibgcc-libgcc to tmake_file.
9928         * config/mips/libgcc-mips16.ver: Revert previous patch.
9929         * config/mips/mips16.S (__mips16_rdhwr): Hide.
9931 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
9932             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
9934         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
9935         * config/cr16/crti.S: New file.
9936         * config/cr16/crtlibid.S: New file.
9937         * config/cr16/crtn.S: New file.
9938         * config/cr16/lib1funcs.S: New file.
9939         * config/cr16/t-cr16: New file.
9940         * config/cr16/t-crtlibid: New file.
9941         * config/cr16/unwind-dw2.h: New file.
9942         * config/cr16/unwind-cr16.c: New file.
9943         * config/cr16/divmodhi3.c: New file.
9945 2012-01-25  Alan Modra  <amodra@gmail.com>
9947         * config/rs6000/t-linux64: Delete.  Move..
9948         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
9949         * config/rs6000/t-linux: ..and libgcc flags to here.
9951 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
9953         * config.host (i[34567]86-*-interix3*):
9954         Change triplet to i[34567]86-*-interix[3-9]*.
9955         * configure: Regenerate.
9957 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
9958             Richard Sandiford  <rdsandiford@googlemail.com>
9960         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
9961         * config/mips/mips16.S (__mips16_rdhwr): New function.
9962         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
9964 2012-01-11  Nathan Sidwell  <nathan@acm.org>
9966         * libgcov.c (__gcov_init): Ignore objects with no functions.
9968 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
9970         PR target/49868
9971         Extend __pgmx semantics to linearize memory.
9972         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
9973         * config/avr/lib1funcs.S (__xload_1): New function.
9974         (__movmemx_qi, __movmemx_hi): New functions.
9975         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
9976         semantics.
9978 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
9980         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
9981         purported sigacthandler address isn't null before dereferencing it.
9982         (sparc_is_sighandler): Likewise.
9984 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
9986         PR ada/41929
9987         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
9988         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
9989         (sparc_is_sighandler): Likewise.
9990         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
9992 2012-01-06  Tristan Gingold  <gingold@adacore.com>
9994         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
9995         compatibility thunks...
9996         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
9997         (crtbeginS.o, crtendS.o): ... and these to ...
9998         * config/ia64/t-ia64-elf: ... this new file.
9999         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
10000         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
10002 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10004         * configure: Regenerate.
10005         * config/s390/t-crtstuff: Remove -fPIC.
10007 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
10009         PR bootstrap/51006
10010         * enable-execute-stack-mprotect.c (getpagesize): Do not define
10011         for NetBSD.
10013 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
10015         PR target/51345
10016         * config/avr/lib1funcs.S: Remove FIXME comments.
10017         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
10019 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
10021         Implement light-weight DImode support.
10022         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
10023         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
10024         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
10025         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
10027 2011-12-30  Nathan Sidwell  <nathan@acm.org>
10029         * libgcov.c (gcov_crc32): Remove global var.
10030         (free_fn_data): New function.
10031         (buffer_fn_data): Pass in filename, more robust error recovery.
10032         (crc32_unsigned): New function.
10033         (gcov_exit): More robust detection of new program. More robust
10034         error recovery.
10035         (__gcov_init): Do not update program's crc here.
10037 2011-12-21  Tristan Gingold  <gingold@adacore.com>
10039         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
10041 2011-12-21  Ian Lance Taylor  <iant@google.com>
10043         * config/i386/morestack.S: Simplify CFI opcodes throughout.
10045 2011-12-20  Ian Lance Taylor  <iant@google.com>
10047         * config/i386/morestack.S (__morestack_non_split): If there is
10048         enough stack space already, don't split.  Ask for more stack space
10049         than we required.
10051 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
10053         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
10054         `sys/sdt.h'.
10055         (_Unwind_DebugHook): New function.
10056         (uw_restore_core_regs): New define.
10057         (unwind_phase2): Use uw_restore_core_regs instead of
10058         restore_core_regs.
10059         (unwind_phase2_forced): Likewise.
10060         (__gnu_Unwind_Resume): Likewise.
10062 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
10064         * config/alpha/linux-unwind.h: Update copyright years.
10065         (MD_FROB_UPDATE_CONTEXT): New define.
10066         (alpha_frob_update_context): New function.
10068 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
10070         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
10071         tmake_file rather replacing it.
10073 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
10075         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
10076         function is not used for PPC64.
10077         (save_world): Amend comments.  Update the VRsave mask to reflect the
10078         saved regs.
10079         (rest_world): Update comments, do not  clobber r10, do not use r8.
10080         (eh_rest_world_r10): Amend comments, do not use r8.
10081         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
10082         no longer used, move restore of CR and target address to the end of
10083         the routine.
10085 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
10087         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
10088         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
10090 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
10092         PR target/49313
10093         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
10094         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
10096 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
10098         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
10100 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
10102         PR target/49313
10103         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
10104         * config/avr/lib1funcs.S (__muldi3): New function.
10106 2011-12-06  Andrew Pinski  <apinski@cavium.com>
10108         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
10109         size of func_ptr.
10110         (__frame_dummy_init_array_entry): Likewise.
10112 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
10114         Forward-port from gcc-4_6-branch r181936 2011-12-02.
10116         PR target/51345
10117         PR target/51002
10118         * config/avr/lib1funcs.S (__prologue_saves__,
10119         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
10120         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
10122 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
10124         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
10126 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
10128         PR other/51272
10129         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
10130         (_ITM_deregisterTMCloneTable): Likewise.
10131         (__register_frame_info): Fix unused warning.
10132         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
10133         pthread_default_stacksize_np): Likewise.
10134         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
10136 2011-11-29  DJ Delorie  <dj@redhat.com>
10138         * config.host (rl78-*-elf): New case.
10139         * config/rl78: New directory for the Renesas RL78.
10141 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
10143         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
10144         formatting.
10146 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10148         PR other/51022
10149         * config/rs6000/t-savresfgpr: New file.
10150         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
10151         $(srcdir)/config/rs6000/eabi.S.
10152         * config/rs6000/t-ppccomm-ldbl: Remove.
10153         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
10154         tmake_file.
10155         (powerpc-*-eabispe*): Likewise.
10156         (powerpc-*-eabi*): Likewise.
10157         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10158         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
10159         to tmake_file, remove rs6000/t-ppccomm-ldbl.
10160         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
10161         tmake_file.
10162         (powerpc-*-eabisim*): Likewise.
10163         (powerpc-*-elf*): Likewise.
10164         (powerpc-*-eabialtivec*): Likewise.
10165         (powerpc-xilinx-eabi*): Likewise.
10166         (powerpc-*-rtems*): Likewise.
10167         (powerpcle-*-elf*): Likewise.
10168         (powerpcle-*-eabisim*): Likewise.
10169         (powerpcle-*-eabi*): Likewise.
10171 2011-11-27  Ian Lance Taylor  <iant@google.com>
10173         * generic-morestack.c (__splitstack_find): Check for NULL old
10174         stack value.
10175         (__splitstack_resetcontext): New function.
10176         (__splitstack_releasecontext): New function.
10177         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10179 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
10181         * config/darwin-crt-tm.c: Correct comments, use correct licence.
10183 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
10185         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
10187 2011-11-26  Richard Henderson  <rth@redhat.com>
10189         * config/m68k/linux-atomic.c: New file.
10190         * config/m68k/t-linux: New file.
10191         * config.host (m68k-uclinux, m68k-linux): Use it.
10193 2011-11-26  Richard Henderson  <rth@redhat.com>
10195         * crtstuff.c (__TMC_LIST__): Mark used not unused.
10196         (__TMC_END__): Only declare if hidden is available; in the definition,
10197         if hidden is unavailable add a null record.
10198         (deregister_tm_clones, register_tm_clones): New.
10199         (__do_global_dtors_aux, frame_dummy): Use them.
10200         (__do_global_dtors, __do_global_ctors_1): Likewise.
10202 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
10204         * config/darwin-crt-tm.c: New file.
10205         * config.host (darwin): Build crttms.o crttme.o to provide
10206         startup and shutdown for tm clones.
10207         * config/t-darwin (crttms.o): New build rule.
10208         (crttme.o): Likewise.
10210 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
10212         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
10213         et al.
10215 2011-11-21  Richard Henderson  <rth@redhat.com>
10217         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
10218         (__TMC_LIST__, __TMC_END__): New.
10219         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
10220         (__do_global_dtors): Likewise.
10221         (frame_dummy): Call _ITM_registerTMCloneTable.
10222         (__do_global_ctors_1): Likewise.
10224 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10226         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
10227         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10228         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
10229         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
10230         * config/i386/t-darwin64: Remove.
10231         * config/sh/t-netbsd (LIB2ADD): Remove.
10233 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
10235         PR target/49313
10236         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
10237         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
10238         * config/avr/lib1funcs.S (wmov): New assembler macro.
10239         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
10240         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
10241         (__udivmod64): New function.
10242         (__negdi2): New function.
10244 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
10246         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
10247         *-*-freebsd*aout*): Remove.
10249 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
10251         * static-object.mk (c_flags-$o): Save c_flags.
10252         ($(base)$(objext)): Use it.
10254 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
10256         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
10258 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
10260         PR target/49868
10261         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
10262         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
10263         New functions.
10265 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
10267         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
10268         functions.
10269         (aeabi_uidivmod): Likewise.
10270         (umodsi3): Likewise.
10271         (divsi3): Likewise.
10272         (aeabi_idivmod): Likewise.
10273         (modsi3): Likewise.
10275 2011-11-16  Tristan Gingold  <gingold@adacore.com>
10277         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
10279 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
10281         PR target/49868
10282         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
10283         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
10285 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
10287         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
10288         tmake_file list.
10289         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
10290         * config/pa/t-stublib64: Delete.
10292 2011-11-12  Richard Henderson  <rth@redhat.com>
10294         * config/rs6000/linux-unwind.h (frob_update_context): Properly
10295         cast the pointer argument to _Unwind_SetGRPtr.
10297 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10299         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
10301 2011-11-09  Ian Lance Taylor  <iant@google.com>
10303         * generic-morestack.c: Include <string.h>.
10304         (uintptr_type): Define.
10305         (struct initial_sp): Add dont_block_signals field.  Reduce size of
10306         extra array by 1.
10307         (allocate_segment): Set prev field to NULL.  Don't set
10308         __morestack_current_segment or __morestack_segments.
10309         (__generic_morestack): Update current->prev and *pp after calling
10310         allocate_segment.
10311         (__morestack_block_signals): Don't do anything if
10312         dont_block_signals is set.
10313         (__morestack_unblock_signals): Likewise.
10314         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
10315         uintptr_type.
10316         (__splitstack_block_signals): New function.
10317         (enum __splitstack_content_offsets): Define.
10318         (__splitstack_getcontext, __splitstack_setcontext): New functions.
10319         (__splitstack_makecontext): New function.
10320         (__splitstack_block_signals_context): New function.
10321         (__splitstack_find_context): New function.
10322         * config/i386/morestack.S (__morestack_get_guard): New function.
10323         (__morestack_set_guard, __morestack_make_guard): New functions.
10324         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10326 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10328         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
10329         (i[34567]86-*-mingw*): ... here.
10330         (x86_64-*-mingw*): ... here.
10332 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10334         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
10336 2011-11-07  Nathan Sidwell  <nathan@acm.org>
10338         * libgcov.c (struct gcov_fn_buffer): New struct.
10339         (buffer_fn_data): New helper.
10340         (gcov_exit): Rework for new gcov data structures.
10342 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
10344         PR target/49313
10345         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
10347 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10349         * config.host (tmake_file): Correct comment.
10350         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
10351         t-libgcc-pic.
10352         (bfin*-uclinux*): Likewise.
10353         (bfin*-linux-uclibc*): Likewise.
10354         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
10356         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
10357         assigning.
10358         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10359         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
10360         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10361         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
10362         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10363         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
10364         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
10365         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10366         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
10367         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
10368         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
10369         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
10370         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
10372         * config/bfin/t-elf: Remove.
10373         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
10375 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10377         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
10378         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
10379         (lm32-*-elf*, lm32-*-rtems*): Split into ...
10380         (lm32-*-elf*): ... this.
10381         (lm32-*-rtems*): ... and this.
10382         Add to tmake_file.
10383         (m32r-*-rtems*): Add to tmake_file.
10384         (moxie-*-rtems*): Likewise.
10385         (sparc-*-rtems*): Likewise.
10386         Remove t-rtems from tmake_file.
10387         (sparc64-*-rtems*): Likewise.
10388         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
10389         instead.
10391 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10393         PR bootstrap/50982
10394         * config/gthr-posix.h: Move ...
10395         * gthr-posix.h: ... here.
10396         * config/gthr-lynx.h: Reflect this.
10397         * config/gthr-vxworks.h: Likewise.
10398         * config/rs6000/gthr-aix.h: Likewise.
10399         * configure.ac (target_thread_file): Likewise.
10400         * configure: Regenerate.
10402 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
10404         * config.host (arm*-*-rtemseabi*): New target.
10406 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
10408         PR other/50991
10409         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
10410         extra-parts.
10412 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
10414         * config.host (epiphany-*-elf*): New configuration.
10415         * config/epiphany: New Directory.
10417 2011-11-05  Ralf CorsĂ©pius  <ralf.corsepius@rtems.org>
10419         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
10420         * config/avr/t-rtems: New.
10421         Filter out _exit from LIB1ASMFUNCS.
10423 2011-11-04  David S. Miller  <davem@davemloft.net>
10425         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
10426         * configure: Rebuild.
10428 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10430         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
10431         variable.
10433 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
10435         PR target/50931
10436         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
10437         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
10439 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
10441         PR target/50989
10442         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
10444 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10446         * config/c6x/t-elf (LIB2ADDEH): Set.
10447         * config/c6x/t-c6x-elf: Remove.
10449 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10451         * config/i386/sol2-ci.S: Rename to ...
10452         * config/i386/crti.S: ... this.
10453         * config/i386/sol2-cn.S: Rename to ...
10454         * config/i386/crtn.S: ... this.
10455         * config/sparc/sol2-ci.S: Rename to ...
10456         * config/sparc/crti.S: ... this.
10457         * config/sparc/sol2-cn.S: Rename to ...
10458         * config/sparc/crtn.S: ... this.
10459         * config/t-sol2 (CUSTOM_CRTIN): Remove.
10460         (crti.o, crtn.o): Remove.
10462 2011-11-04  Tristan Gingold  <gingold@adacore.com>
10464         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
10466 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
10468         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
10470 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
10472         * config.host (crisv32-*-none, cris-*-none): Remove.
10473         (crisv32-*-elf): Append to tmake_file, don't just set it.
10474         (cris-*-elf): Add missing t-fdpbit to tmake_file.
10476 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10478         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
10479         (ecrtn$(objext)): Likewise.
10480         (ncrti$(objext)): Likewise.
10481         (ncrtn$(objext)): Likewise.
10483 2011-11-03  Andreas Schwab  <schwab@redhat.com>
10485         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
10487 2011-11-02  David S. Miller  <davem@davemloft.net>
10489         * configure.ac: Set host_address on sparc too.
10490         * configure: Regenerate.
10491         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
10492         based upon host_address.
10493         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
10495 2011-11-02  Jason Merrill  <jason@redhat.com>
10497         * config/rs6000/t-ppccomm: Add missing \.
10499 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10501         * gthr-single.h, gthr.h: New files.
10502         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
10503         config/gthr-vxworks.h, config/i386/gthr-win32.h,
10504         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
10505         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
10506         * config/i386/gthr-win32.c: Include "gthr-win32.h".
10507         * configure.ac (thread_header): New variable.
10508         Set it depending on target_thread_file.
10509         (gthr-default.h): Link from $thread_header.
10510         * configure: Regenerate.
10511         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
10513 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10515         * configure.ac (tm_file_): New variable.
10516         Determine from tm_file.
10517         (tm_file, tm_defines): Substitute.
10518         * configure: Regenerate.
10519         * mkheader.sh: New file.
10520         * Makefile.in (clean): Remove libgcc_tm.h.
10521         ($(objects)): Depend on libgcc_tm.h.
10522         (libgcc_tm_defines, libgcc_tm_file): New variables.
10523         (libgcc_tm.h, libgcc_tm.stamp): New targets.
10524         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
10525         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
10526         ($(extra-parts)): Depend on libgcc_tm.h.
10527         * config.host (tm_defines, tm_file): New variable.
10528         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
10529         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
10530         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
10531         (avr-*-rtems*): Likewise.
10532         (avr-*-*): Likewise.
10533         (frv-*-elf): Likewise.
10534         (frv-*-*linux*): Likewise.
10535         (h8300-*-rtems*): Likewise.
10536         (h8300-*-elf*): Likewise.
10537         (i[34567]86-*-darwin*): Likewise.
10538         (x86_64-*-darwin*): Likewise.
10539         (rx-*-elf): Likewise.
10540         (tic6x-*-uclinux): Likewise.
10541         (tic6x-*-elf): Likewise.
10542         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
10543         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
10544         * config/i386/cygming-crtbegin.c: Likewise.
10545         * config/i386/cygming-crtend.c: Likewise.
10546         * config/ia64/fde-vms.c: Likewise.
10547         * config/ia64/unwind-ia64.c: Likewise.
10548         * config/libbid/bid_gcc_intrinsics.h: Likewise.
10549         * config/rs6000/darwin-fallback.c: Likewise.
10550         * config/stormy16/lib2funcs.c: Likewise.
10551         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
10552         * crtstuff.c: Likewise.
10553         * dfp-bit.h: Likewise.
10554         * emutls.c: Likewise.
10555         * fixed-bit.c: Likewise.
10556         * fp-bit.c: Likewise.
10557         * generic-morestack-thread.c: Likewise.
10558         * generic-morestack.c: Likewise.
10559         * libgcc2.c: Likewise.
10560         * libgcov.c: Likewise.
10561         * unwind-dw2-fde-dip.c: Likewise.
10562         * unwind-dw2-fde.c: Likewise.
10563         * unwind-dw2.c: Likewise.
10564         * unwind-sjlj.c: Likewise.
10566 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10568         * configure.ac: Include ../config/picflag.m4.
10569         (GCC_PICFLAG): Call it.
10570         Substitute.
10571         * configure: Regenerate.
10572         * Makefile.in (gcc_srcdir): Remove.
10573         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
10574         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
10575         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
10576         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
10577         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
10578         Use $<.
10579         Remove comment.
10580         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
10581         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
10582         to refer to libgcc2.c.
10583         Use $<.
10584         * config/darwin-64.c: New file.
10585         * config/darwin-crt3.c: Remove comment.
10586         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
10587         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
10588         config/udivmodsi4.c: New files.
10589         * config/memcmp.c, config/memcpy.c, config/memmove.c,
10590         config/memset.c: New files.
10591         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
10592         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
10593         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
10594         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
10595         * config/t-openbsd-thread: New file.
10596         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
10597         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
10598         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
10599         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
10600         qrnnd.S.
10601         Adapt filename.
10602         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
10603         to refer to gthr-posix.c.
10604         * config/alpha/t-vms (LIB2ADD): Set.
10605         * config/alpha/vms-gcc_shell_handler.c: New file.
10606         * config/arm/bpabi.c, config/arm/fp16.c,
10607         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
10608         config/arm/unaligned-funcs.c: New files.
10609         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
10610         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10611         * config/arm/t-linux: Likewise.
10612         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
10613         * config/arm/t-netbsd: New file.
10614         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
10615         * config/arm/t-symbian (LIB2ADD_ST): Set.
10616         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
10617         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10618         * config/bfin/t-elf: New file.
10619         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
10620         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
10621         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
10622         config/c6x/ltf.c: New files.
10623         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
10624         (HOST_LIBGCC2_CFLAGS): Set.
10625         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
10626         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10627         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
10628         New files.
10629         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
10630         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
10631         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
10632         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
10633         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
10634         files.
10635         * config/frv/t-frv (LIB2ADD): Set.
10636         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10637         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
10638         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
10639         config/h8300/popcounthi2.c: New files.
10640         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10641         * config/i386/gthr-win32.c: New file.
10642         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
10643         * config/i386/t-cygwin: Likewise.
10644         * config/i386/t-darwin, config/i386/t-darwin64,
10645         config/i386/t-gthr-win32, config/i386/t-interix: New files.
10646         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
10647         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10648         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10649         * config/ia64/quadlib.c: New file.
10650         * config/ia64/t-hpux (LIB2ADD): Set.
10651         * config/ia64/t-ia64: Add comment.
10652         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
10653         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10654         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
10655         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
10656         * config/m32c/t-m32c (LIB2ADD): Set.
10657         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10658         * config/m32r/t-m32r: Likewise.
10659         * config/m68k/fpgnulib.c: New file.
10660         * config/m68k/t-floatlib (LIB2ADD): Set.
10661         (xfgnulib.c): New target.
10662         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
10663         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
10664         * config/mep/t-mep (LIB2ADD): Set.
10665         * config/microblaze/divsi3.asm: Rename to divsi3.S.
10666         * config/microblaze/moddi3.asm: Rename to moddi3.S.
10667         * config/microblaze/modsi3.asm: Rename to modsi3.S.
10668         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
10669         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
10670         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
10671         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
10672         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
10673         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
10674         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
10675         New files.
10676         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
10677         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
10678         * config/pa/fptr.c, config/pa/lib2funcs.S,
10679         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
10680         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10681         (LIB2ADD, LIB2ADD_ST): Set.
10682         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
10683         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
10684         Set.
10685         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
10686         * config/pdp11/t-pdp11: New file.
10687         * config/picochip/libgccExtras/adddi3.S,
10688         config/picochip/libgccExtras/ashlsi3.S,
10689         config/picochip/libgccExtras/ashrsi3.S,
10690         config/picochip/libgccExtras/clzsi2.S,
10691         config/picochip/libgccExtras/cmpsi2.S,
10692         config/picochip/libgccExtras/divmod15.S,
10693         config/picochip/libgccExtras/divmodhi4.S,
10694         config/picochip/libgccExtras/divmodsi4.S,
10695         config/picochip/libgccExtras/lshrsi3.S,
10696         config/picochip/libgccExtras/parityhi2.S,
10697         config/picochip/libgccExtras/popcounthi2.S,
10698         config/picochip/libgccExtras/subdi3.S,
10699         config/picochip/libgccExtras/ucmpsi2.S,
10700         config/picochip/libgccExtras/udivmodhi4.S,
10701         config/picochip/libgccExtras/udivmodsi4.S: New files.
10702         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
10703         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
10704         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
10705         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
10706         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
10707         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
10708         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
10709         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
10710         files.
10711         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
10712         (HOST_LIBGCC2_CFLAGS): Set.
10713         * config/rs6000/t-darwin64: New file.
10714         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
10715         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
10716         * config/rs6000/t-ppccomm (LIB2ADD): Add
10717         $(srcdir)/config/rs6000/tramp.S.
10718         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
10719         Add  $(srcdir)/config/rs6000/eabi.S.
10720         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
10721         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
10722         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
10723         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
10724         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
10725         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
10726         * config/rs6000/tramp.S: New file.
10727         * config/s390/t-tpf: Remove.
10728         * config/sh/linux-atomic.S: New file.
10729         * config/sh/t-linux (LIB2ADD): Set.
10730         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
10731         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10732         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
10733         to unwind-dw2.c.
10734         (HOST_LIBGCC2_CFLAGS): Set.
10735         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10736         * config/spu/divmodti4.c, config/spu/divv2df3.c,
10737         config/spu/float_disf.c, config/spu/float_unsdidf.c,
10738         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
10739         config/spu/mfc_multi_tag_release.c,
10740         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
10741         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
10742         config/spu/multi3.c: New files.
10743         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
10744         (HOST_LIBGCC2_CFLAGS): Set.
10745         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
10746         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
10747         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
10748         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
10749         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
10750         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
10751         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
10752         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
10753         config/stormy16/umodsi3.c: New files.
10754         * config/xtensa/lib2funcs.S: New file.
10755         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10756         * config/xtensa/t-xtensa (LIB2ADD): Set.
10757         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
10758         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
10759         Add t-freebsd-thread to tmake_file for posix threads.
10760         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
10761         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
10762         (*-*-lynxos*): Likewise.
10763         (*-*-netbsd*): Likewise.
10764         (*-*-openbsd*): Likewise.
10765         Add t-openbsd-thread to tmake_file for posix threads.
10766         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
10767         (*-*-vxworks*): Set tmake_file.
10768         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10769         (alpha*-*-freebsd*): Likewise.
10770         (alpha*-*-netbsd*): Likewise.
10771         (alpha*-*-openbsd*): Likewise.
10772         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
10773         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10774         (alpha*-dec-*vms*): Likewise.
10775         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
10776         (bfin*-elf*): Add bfin/t-elf to tmake_file.
10777         (bfin*-uclinux*): Likewise.
10778         (bfin*-linux-uclibc*): Likewise.
10779         (crisv32-*-elf): Add cris/t-cris to tmake_file.
10780         (crisv32-*-none): Likewise.
10781         (cris-*-elf): Likewise.
10782         (cris-*-none): Likewise.
10783         (cris-*-linux*, crisv32-*-linux*): Likewise.
10784         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
10785         tmake_file.
10786         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
10787         tmake_file.
10788         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
10789         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
10790         (x86_64-*-elf*): Likewise.
10791         (i[34567]86-*-nto-qnx*): Likewise.
10792         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
10793         win32 threads.
10794         (x86_64-*-mingw*): Likewise.
10795         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
10796         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
10797         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10798         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10799         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
10800         tmake_file.
10801         (mipsisa64sr71k-*-elf*): Likewise.
10802         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10803         (mips-*-elf*, mipsel-*-elf*): Likewise.
10804         (mips64-*-elf*, mips64el-*-elf*): Likewise.
10805         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10806         (mips*-*-rtems*): Likewise.
10807         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
10808         to tmake_file.
10809         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
10810         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
10811         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
10812         (spu-*-elf*): Likewise.
10813         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
10815 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10817         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
10818         $(srcdir) to refer to $(LIB1ASMSRC).
10819         Use $<.
10820         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
10821         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
10822         config/arm/lib1funcs.S: New files.
10823         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
10824         * config/arm/t-arm: New file.
10825         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
10826         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
10827         config/arm/t-strongarm-elf: New files.
10828         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
10829         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
10830         * config/avr/lib1funcs.S: New file.
10831         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10832         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
10833         * config/c6x/lib1funcs.S: New file.
10834         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10835         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
10836         * config/frv/lib1funcs.S: New file.
10837         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10838         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
10839         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
10840         * config/ia64/__divxf3.asm: Rename to ...
10841         * config/ia64/__divxf3.S: ... this.
10842         Adapt lib1funcs.asm filename.
10843         * config/ia64/_fixtfdi.asm: Rename to ...
10844         * config/ia64/_fixtfdi.S: ... this.
10845         Adapt lib1funcs.asm filename.
10846         * config/ia64/_fixunstfdi.asm: Rename to ...
10847         * config/ia64/_fixunstfdi.S: ... this.
10848         Adapt lib1funcs.asm filename.
10849         * config/ia64/_floatditf.asm: Rename to ...
10850         * config/ia64/_floatditf.S: ... this.
10851         Adapt lib1funcs.asm filename.
10852         * config/ia64/lib1funcs.S: New file.
10853         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
10854         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10855         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
10856         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
10857         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
10858         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
10859         * config/mep/lib1funcs.S: New file.
10860         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10861         * config/mips/mips16.S: New file.
10862         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10863         * config/pa/milli64.S: New file.
10864         * config/pa/t-linux, config/pa/t-linux64: New files.
10865         * config/picochip/lib1funcs.S: New file.
10866         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10867         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
10868         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
10869         * config/sh/t-netbsd: New file.
10870         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
10871         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
10872         * config/sh/t-sh64: New file.
10873         * config/sparc/lb1spc.S: New file.
10874         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
10875         filename.
10876         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
10877         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
10878         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
10879         config/xtensa/lib1funcs.S: New files.
10880         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10881         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
10882         tmake_file.
10883         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
10884         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
10885         (arm*-*-linux*): Likewise.
10886         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
10887         arm*-*-linux-*eabi, add arm/t-linux otherwise.
10888         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
10889         (arm*-*-ecos-elf): Likewise.
10890         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10891         (arm*-*-rtems*): Likewise.
10892         (arm*-*-elf): Likewise.
10893         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
10894         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
10895         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
10896         (bfin*-uclinux*): Likewise.
10897         (bfin*-linux-uclibc*): Likewise.
10898         (bfin*-rtems*): Likewise.
10899         (bfin*-*): Likewise.
10900         (fido-*-elf): Merge into m68k-*-elf*.
10901         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
10902         (frv-*-*linux*): Add frv/t-frv to tmake_file.
10903         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
10904         (h8300-*-elf*): Likewise.
10905         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
10906         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
10907         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
10908         (i[34567]86-*-mingw*): Likewise.
10909         (x86_64-*-mingw*): Likewise.
10910         (i[34567]86-*-interix3*): Likewise.
10911         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
10912         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
10913         (m68k-*-elf*): Also handle fido-*-elf.
10914         Add m68k/t-floatlib to tmake_file.
10915         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
10916         (m68k-*-linux*): Likewise.
10917         (m68k-*-rtems*): Likewise.
10918         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
10919         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
10920         sh64*-*-*.
10921         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
10922         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
10923         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
10924         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
10925         sh/t-netbsd to tmake_file.
10926         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
10927         (sh-*-rtems*): Add sh/t-sh to tmake_file.
10928         (sh-wrs-vxworks): Likewise.
10929         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
10930         *-leon[3-9]*.
10931         (v850*-*-*): Add v850/t-v850 to tmake_file.
10932         (vax-*-linux*): Add vax/t-linux to tmake_file.
10933         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
10935 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10937         * crtstuff.c: New file.
10938         * Makefile.in (CRTSTUFF_CFLAGS): Define.
10939         (CRTSTUFF_T_CFLAGS): Define.
10940         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
10941         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
10942         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
10943         crtstuff.c.
10944         Use $<.
10945         (crtbeginT.o): Use $(objext).
10946         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
10947         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
10948         (gcc-extra-parts): Remove.
10949         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
10950         Set extra_parts.
10951         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10952         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
10953         Add t-crtstuff-pic to tmake_file.
10954         (*-*-lynxos*): New case.
10955         Set tmake_file, extra_parts.
10956         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
10957         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
10958         *-*-netbsdelf[2-9]*.
10959         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
10960         (*-*-rtems*): Set extra_parts.
10961         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
10962         (*-*-uclinux*): New case.
10963         Set extra_parts.
10964         (*-*-vms*): New case.
10965         Set tmake_file, extra_parts.
10966         (*-*-elf): Set extra_parts.
10967         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
10968         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
10969         vms/t-vms64.
10970         Set extra_parts.
10971         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
10972         Set extra_parts.
10973         (arm*-*-freebsd*): Add t-crtin to tmake_file.
10974         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
10975         (arm-wrs-vxworks): Append to tmake_file.
10976         Set extra_parts.
10977         (arm*-*-uclinux*): Set extra_parts.
10978         (arm*-*-ecos-elf): Likewise.
10979         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
10980         arm*-*-eabi*.
10981         (arm*-*-rtems*): Set extra_parts.
10982         (arm*-*-elf): Likewise.
10983         (avr-*-rtems*): Clear extra_parts.
10984         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
10985         Set extra_parts.
10986         (bfin*-uclinux*): Likewise.
10987         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
10988         (bfin*-rtems*): Append to tmake_file.
10989         Set extra_parts.
10990         (bfin*-*): Likewise.
10991         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
10992         (crisv32-*-elf): ... this.
10993         (crisv32-*-none): ... this.
10994         (cris-*-elf, cris-*-none): New cases.
10995         Add cris/t-elfmulti to tmake_file.
10996         (fr30-*-elf): Append to tmake_file.
10997         Set extra_parts.
10998         (frv-*-elf): Append to tmake_file, add frv/t-frv.
10999         Set extra_parts.
11000         (h8300-*-rtems*): Append to tmake_file.
11001         Set extra_parts.
11002         (h8300-*-elf*): Likewise.
11003         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
11004         Set extra_parts.
11005         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
11006         Set extra_parts.
11007         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
11008         (x86_64-*-elf*): Likewise.
11009         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
11010         (x86_64-*-freebsd*): Likewise.
11011         (x86_64-*-netbsd*): Likewise.
11012         (i[34567]86-*-linux*): Likewise.
11013         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11014         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11015         (x86_64-*-linux*): Likewise.
11016         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11017         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
11018         tmake_file.
11019         Set extra_parts.
11020         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
11021         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
11022         Append to extra_parts, remove crtbegin.o, crtend.o.
11023         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
11024         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
11025         crtend.o, crtbeginS.o, crtendS.o.
11026         (ia64*-*-linux*): Comment extra_parts.
11027         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
11028         Set extra_parts.
11029         (iq2000*-*-elf*): Clear extra_parts.
11030         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
11031         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
11032         (m32r-*-elf*, m32r-*-rtems*): Split off ...
11033         (m32r-*-rtems*): ... this.
11034         Add m32r/t-m32r to tmake_file.
11035         (m68k-*-elf*): Add t-crtin to tmake_file.
11036         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
11037         (mcore-*-elf): Likewise.
11038         (microblaze*-*-*): Set extra_parts.
11039         (mips*-sde-elf*): New case.
11040         Set tmake_file, extra_parts.
11041         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
11042         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
11043         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
11044         tmake_file.
11045         Set extra_parts.
11046         (mipsisa64sr71k-*-elf*): Likewise.
11047         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
11048         (mips-*-elf*, mipsel-*-elf*): Likewise.
11049         (mips64-*-elf*, mips64el-*-elf*): Likewise.
11050         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
11051         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
11052         (mips*-*-rtems*): Likewise.
11053         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
11054         (moxie-*-*): Split into ...
11055         (moxie-*-elf, moxie-*-uclinux*): ... this.
11056         Add to extra_parts, remove crtbegin.o, crtend.o.
11057         (moxie-*-rtems*): New case.
11058         Set tmake_file.
11059         Clear extra_parts.
11060         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
11061         Set extra_parts.
11062         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
11063         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
11064         tmake_file.
11065         Set extra_parts.
11066         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
11067         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
11068         Set extra_parts.
11069         (powerpc-*-eabisim*): Likewise.
11070         (powerpc-*-elf*): Likewise.
11071         (powerpc-*-eabialtivec*): Likewise.
11072         (powerpc-xilinx-eabi*): Likewise.
11073         (powerpc-*-eabi*): Likewise.
11074         (powerpc-*-rtems*): Likewise.
11075         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
11076         tmake_file.
11077         Set extra_parts.
11078         (powerpc-*-lynxos*): Add to tmake_file.
11079         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
11080         rs6000/t-crtstuff, t-crtstuff-pic.
11081         Set extra_parts.
11082         (powerpcle-*-eabisim*): Likewise.
11083         (powerpcle-*-eabi*): Likewise.
11084         (rx-*-elf): Remove extra_parts.
11085         (s390x-ibm-tpf*): Set extra_parts.
11086         (score-*-elf): Set extra_parts.
11087         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11088         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11089         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11090         (sh64l*-*-netbsd*): Split into ...
11091         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
11092         Add t-crtstuff-pic to tmake_file.
11093         Set extra_parts.
11094         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
11095         Set extra_parts.
11096         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
11097         (sparc-*-elf*): Remove t-crtin from tmake_file.
11098         Add to extra_parts, remove crtbegin.o, crtend.o.
11099         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
11100         (sparc64-*-linux*): Likewise.
11101         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
11102         Add to extra_parts, remove crtbegin.o, crtend.o.
11103         (sparc64-*-elf*): Remove t-crtin from tmake_file.
11104         Add to extra_parts, remove crtbegin.o, crtend.o.
11105         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
11106         Add to extra_parts, remove crtbegin.o, crtend.o.
11107         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
11108         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
11109         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
11110         Set extra_parts.
11111         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
11112         Set extra_parts.
11113         (tic6x-*-*): Change to ...
11114         (tic6x-*-elf): ... this.
11115         Set extra_parts.
11116         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
11117         Set extra_parts.
11118         (am33_2.0-*-linux*): Add comment.
11119         (mep*-*-*): Add mep/t-mep to tmake_file.
11120         Set extra_parts.
11121         * config/alpha/t-vms: New file.
11122         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
11123         * config/arm/crti.S, config/arm/crtn.S: New files.
11124         * config/bfin/crti.S, config/bfin/crtn.S: New files.
11125         * config/bfin/crtlibid.S: New file.
11126         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
11127         * config/c6x/crti.S, config/c6x/crtn.S: New files.
11128         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
11129         (crti.o, crtin.o): New rules.
11130         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11131         * config/c6x/t-uclinux: New file.
11132         * config/cris/t-elfmulti: New file.
11133         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
11134         * config/fr30/crti.S, config/fr30/crtn.S: New files.
11135         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
11136         * config/frv/t-frv: New file.
11137         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
11138         * config/h8300/crti.S, config/h8300/crtn.S: New files.
11139         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
11140         New files.
11141         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
11142         refer to cygming-crtbegin.c, cygming-crtend.c.
11143         Use $<.
11144         * config/i386/t-nto: New file.
11145         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
11146         * config/ia64/crti.S, config/ia64/crtn.S: New files.
11147         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
11148         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
11149         Use .S extension.
11150         Use $<.
11151         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11152         (crtinitS.o): New rule.
11153         * config/ia64/vms-crtinit.S: New file.
11154         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
11155         * config/m32r/initfini.c: New file.
11156         * config/m32r/t-linux, config/m32r/t-m32r: New files.
11157         * config/m68k/crti.S, config/m68k/crtn.S: New files.
11158         * config/mcore/crti.S, config/mcore/crtn.S: New files.
11159         * config/mep/t-mep: New file.
11160         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
11161         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
11162         * config/mips/crti.S, config/mips/crtn.S: New files.
11163         * config/mips/t-crtstuff: New file.
11164         * config/mmix/crti.S, config/mmix/crtn.S: New files.
11165         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
11166         (CUSTOM_CRTIN): Set.
11167         ($(T)crti.o, $(T)crtn.o): Remove $(T),
11168         dependencies.
11169         Use $(srcdir) to refer to crti.S, crtn.S.
11170         Use .S extension, $<.
11171         * config/moxie/crti.asm: Rename to ...
11172         * config/moxie/crti.S: ... this.
11173         * config/moxie/crtn.asm: Rename to ...
11174         * config/moxie/crtn.S: ... this.
11175         * config/moxie/t-moxie: Remove.
11176         * config/pa/stublib.c: New file.
11177         * config/pa/t-stublib, config/pa/t-stublib64: New files.
11178         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
11179         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
11180         * config/rs6000/t-crtstuff: New file.
11181         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
11182         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
11183         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
11184         Make output file explicit.
11185         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
11186         Make output file explicit.
11187         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
11188         Make output file explicit.
11189         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
11190         Make output file explicit.
11191         * config/score/crti.S, config/score/crtn.S: New files.
11192         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
11193         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
11194         files.
11195         * config/sh/t-sh, config/sh/t-superh: New files.
11196         * config/sparc/t-linux64: New file.
11197         * config/spu/cache.S, config/spu/cachemgr.c: New files.
11198         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
11199         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
11200         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
11201         * config/t-crtin: Remove.
11202         * config/t-crtstuff-pic: New file.
11203         * config/t-sol2 (CUSTOM_CRTIN): Set.
11204         (crti.o, crtn.o): New rules.
11205         * config/vms/t-vms: New file.
11206         * config/vms/vms-ucrt0.c: New file.
11207         * config/xtensa/t-elf: New file.
11209 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11211         * Makefile.in (SHLIB_NM_FLAGS): Set.
11212         * mkmap-flat.awk, mkmap-symver.awk: New files.
11213         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
11214         exceptions.
11215         * configure: Regenerate.
11216         * config/libgcc-glibc.ver: New file.
11217         * config/libgcc-libsystem.ver: New file.
11218         * config/t-libunwind (SHLIB_LC): Set.
11219         * config/t-linux: New file.
11220         * config/t-slibgcc (INSTALL_SHLIB): New.
11221         (SHLIB_INSTALL): Use it.
11222         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
11223         to mkmap-symver.awk.
11224         (SHLIB_MAPFILES): Don't append, adapt pathname.
11225         (SHLIB_VERPFX): Set.
11226         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
11227         to mkmap-symver.awk.
11228         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
11229         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
11230         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
11231         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
11232         to mkmap-flat.awk.
11233         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
11234         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
11235         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
11236         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
11237         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
11238         * config/i386/libgcc-darwin.10.4.ver,
11239         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
11240         New files.
11241         * config/i386/t-darwin: Remove.
11242         * config/i386/t-darwin64: Likewise.
11243         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
11244         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
11245         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
11246         * config/i386/t-linux: New file.
11247         * config/i386/t-mingw32: New file.
11248         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
11249         * config/ia64/t-glibc: Rename to ...
11250         * config/ia64/t-linux: ... this.
11251         (SHLIB_MAPFILES): Set.
11252         * config/ia64/t-glibc-libunwind: Rename to ...
11253         * config/ia64/t-linux-libunwind: ... this.
11254         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
11255         * config/ia64/t-slibgcc-hpux: New file.
11256         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
11257         * config/m68k/t-slibgcc-elf-ver: New file.
11258         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
11259         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
11260         to mkmap-flat.awk.
11261         * config/pa/t-slibgcc-hpux: New file.
11262         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
11263         files.
11264         * config/rs6000/libgcc-darwin.10.4.ver,
11265         config/rs6000/libgcc-darwin.10.5.ver: New files.
11266         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
11267         config/rs6000/libgcc-glibc.ver.
11268         * config/rs6000/libgcc-ppc64.ver: Rename to
11269         config/rs6000/libgcc-ibm-ldouble.ver.
11270         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
11271         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
11272         * config/rs6000/t-ldbl128: Rename to ...
11273         * config/rs6000/t-linux: ... this.
11274         (SHLIB_MAPFILES): Adapt filename.
11275         * config/rs6000/t-slibgcc-aix: New file.
11276         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
11277         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
11278         libgcc-excl.ver, libgcc-glibc.ver.
11279         (SHLIB_LINK, SHLIB_INSTALL): Remove.
11280         * config/sparc/libgcc-glibc.ver: New file.
11281         * config/sparc/t-linux: New file.
11282         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
11283         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
11284         t-slibgcc-elf-ver to tmake_file.
11285         Add t-slibgcc-nolc-override to tmake_file for posix threads on
11286         *-*-freebsd[34].
11287         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11288         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
11289         t-slibgcc-elf-ver, t-linux to tmake_file.
11290         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
11291         tmake_file.
11292         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
11293         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
11294         (alpha*-dec-*vms*): Likewise.
11295         (arm*-*-freebsd*): Append to tmake_file.
11296         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
11297         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
11298         arm*-*-linux-*eabi.
11299         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
11300         tmake_file for arm*-*-symbianelf*.
11301         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
11302         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
11303         cris/t-linux.
11304         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
11305         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
11306         pa/t-slibgcc-dwarf-ver to tmake_file.
11307         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
11308         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
11309         (hppa*64*-*-hpux11*): Likewise.
11310         (hppa[12]*-*-hpux11*): Likewise.
11311         (x86_64-*-darwin*): Don't override tmake_file, but only keep
11312         i386/t-crtpc, i386/t-crtfm.
11313         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
11314         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11315         to tmake_file.
11316         Add i386/t-cygwin to tmake_file.
11317         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
11318         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
11319         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11320         to tmake_file.
11321         Add i386/t-mingw32 to tmake_file.
11322         (x86_64-*-mingw*): Likewise.
11323         (ia64*-*-freebsd*): Append to tmake_file.
11324         (ia64*-*-linux*): Append to tmake_file.
11325         Replace ia64/t-glibc by ia64/t-linux.
11326         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
11327         system libunwind.
11328         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
11329         t-slibgcc-hpux to tmake_file.
11330         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
11331         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
11332         (m32rle-*-linux*): Likewise.
11333         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
11334         sjlj exceptions.
11335         (microblaze*-linux*): New case.
11336         Append to tmake_file, add t-slibgcc-nolc-override.
11337         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
11338         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11339         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
11340         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11341         rs6000/t-slibgcc-aix to tmake_file.
11342         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11343         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11344         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11345         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11346         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11347         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
11348         sh*-*-linux*.
11349         (sparc-*-linux*): Append to tmake_file for *-leon*.
11350         Add sparc/t-linux to tmake_file for non-Leon targets.
11351         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
11352         (tic6x-*-uclinux): New case.
11353         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
11354         (tic6x-*-*): Add c6x/t-elf to tmake_file.
11355         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
11356         (am33_2.0-*-linux*): Append to tmake_file.
11357         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
11358         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
11359         x86_64-*-kfreebsd*-gnu.
11360         Add i386/t-linux to tmake_file.
11362 2011-10-28  Ian Lance Taylor  <iant@google.com>
11364         * config/i386/morestack.S: Correct CFI information to do proper
11365         returns throughout function.  In 32-bit mode, save %ebx so that it
11366         is restored on unwind.
11368 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
11370         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
11371         case where B3 isn't the return register.
11373         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
11374         logic for doubleword pops.
11376 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
11378         * config/rs6000/t-freebsd: Add wildcard.
11380 2011-10-21  Paul Brook  <paul@codesourcery.com>
11382         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
11384 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
11385             Eric Botcazou  <ebotcazou@adacore.com>
11387         PR target/50737
11388         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
11389         fs->signal_frame to 1.
11391 2011-10-07  Ian Lance Taylor  <iant@google.com>
11393         * generic-morestack-thread.c: #include <errno.h>.
11395 2011-10-07  Ian Lance Taylor  <iant@google.com>
11397         PR target/46093
11398         * generic-morestack.c (__generic_morestack): Make sure the segment
11399         is large enough for both the stack frame and the copied
11400         parameters.
11402 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11404         PR bootstrap/49804
11405         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
11406         extra_parts.
11408 2011-09-28  Nick Clifton  <nickc@redhat.com>
11410         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
11411         64-bit doubles are not enabled.
11412         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
11413         and floatunsisf functions.
11415 2011-09-13  Paul Brook  <paul@codesourcery.com>
11417         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
11418         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
11419         * unwind-arm-common.inc: New file.
11420         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
11421         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
11422         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
11423         * config/c6x/libunwind.S: New file.
11424         * config/c6x/pr-support.c: New file.
11425         * config/c6x/unwind-c6x.c: New file.
11426         * config/c6x/unwind-c6x.h: New file.
11427         * config/c6x/t-c6x-elf: New file.
11429 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
11431         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
11432         (ASM_DIVZERO): Ditto.
11433         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
11435 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
11437         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
11439 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
11441         PR target/50090
11442         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
11443         instead of an assembly one.
11445 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
11447         PR bootstrap/50047
11448         * Makefile.in (install-unwind_h): Create
11449         $(gcc_objdir)/include/unwind.h atomically.
11451 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11453         * Makefile.in (install-unwind_h): Remove destination file first.
11455 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11457         * sync.c: New file.
11458         * config/mips/t-mips16: New file.
11459         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
11460         (mips*-*-linux*): Likewise.
11461         (mips*-sde-elf*): Likewise.
11462         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
11463         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
11464         Add mips/t-mips16 to tmake_file.
11465         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
11466         (mips-*-elf*): Likewise.
11467         (mips64-*-elf*): Likewise.
11468         (mips64orion-*-elf*): Likewise.
11469         (mips*-*-rtems*): Likewise.
11470         (mipstx39-*-elf*): Likewise.
11471         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
11472         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
11473         LIBGCC_SYNC_CFLAGS.
11474         Use $(srcdir) to refer to sync.c.
11475         Use $<.
11476         ($(libgcc-sync-funcs-o)): Likewise.
11477         ($(libgcc-sync-size-funcs-s-o)): Likewise.
11478         ($(libgcc-sync-funcs-s-o)): Likewise.
11480 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
11482         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
11483         t-libunwind.
11485 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
11487         PR other/48007
11488         * config/i386/value-unwind.h: New.
11490 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
11492         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
11493         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
11494         Add to tmake_file rather than overriding it.
11496 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11498         * config/t-softfp: Remove.
11499         * soft-fp: Moved from ../gcc/config.
11500         * soft-fp/README: Remove t-softfp reference.
11501         * soft-fp/t-softfp: Move to config/t-softfp.
11502         (softfp_machine_header): Remove.
11503         (softfp_file_list): Remove config subdir.
11504         (soft-fp-objects): New variable.
11505         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
11506         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
11507         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
11508         * config/t-softfp-excl: New file.
11509         * config/t-softfp-sfdf: New file.
11510         * config/t-softfp-tf: New file.
11511         * config/no-sfp-machine.h: New file.
11512         * config/arm/sfp-machine.h: New file.
11513         * config/arm/t-softfp: New file.
11514         * config/c6x/sfp-machine.h: New file.
11515         * config/i386/32/t-fprules-softfp: Rename to ...
11516         * config/i386/32/t-softfp: ... this.
11517         (tifunctions, LIB2ADD): Remove.
11518         (softfp_int_modes): Override.
11519         * config/i386/64/t-softfp-compat (tf-functions): Remove config
11520         subdir.
11521         * config/i386/64/eqtf2.c: Likewise.
11522         * config/i386/64/getf2.c: Likewise.
11523         * config/i386/64/letf2.c: Likewise.
11524         * config/ia64/sft-machine.h: New file.
11525         * config/ia64/t-fprules-softfp: Rename to ...
11526         * config/ia64/t-softfp: ... this.
11527         * config/lm32/sfp-machine.h: New file.
11528         * config/moxie/t-moxie-softfp: Remove.
11529         * config/rs6000/ibm-ldouble-format: New file.
11530         * config/rs6000/ibm-ldouble.c: New file.
11531         * config/rs6000/libgcc-ppc-glibc.ver: New file
11532         * config/rs6000/libgcc-ppc64.ver: New file
11533         * config/rs6000/sfp-machine.h: New file.
11534         * config/rs6000/t-freebsd: New file.
11535         * config/rs6000/t-ibm-ldouble: New file.
11536         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
11537         libgcc-ppc-glibc.ver.
11538         * config/rs6000/t-linux64: New file.
11539         * config/rs6000/t-ppccomm (LIB2ADD): Add
11540         $(srcdir)/config/rs6000/ibm-ldouble.c.
11541         * config/rs6000/t-ppccomm-ldbl: New file.
11542         * config/score/sfp-machine.h: New file.
11543         * config.host (sfp_machine_header): Explain.
11544         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
11545         t-softfp to tmake_file.
11546         (arm*-*-uclinux*): Likewise.
11547         (arm*-*-ecos-elf): Likewise.
11548         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11549         (arm*-*-rtems*): Likewise.
11550         (arm*-*-elf): Likewise.
11551         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
11552         in tmake_file.
11553         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
11554         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
11555         (lm32-*-uclinux*): Likewise.
11556         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
11557         t-softfp-excl, t-softfp.
11558         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
11559         (powerpc64-*-darwin*): Likewise.
11560         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
11561         to tmake_file.
11562         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
11563         tmake_file.
11564         (powerpc-*-eabisim*): Likewise.
11565         (powerpc-*-elf*): Likewise.
11566         (powerpc-*-eabialtivec*): Likewise.
11567         (powerpc-xilinx-eabi*): Likewise.
11568         (powerpc-*-rtems*): Likewise.
11569         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
11570         t-softfp-excl, t-softfp to tmake_file.
11571         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
11572         rs6000/t-ppccomm-ldbl to tmake_file.
11573         (powerpcle-*-elf*): Likewise.
11574         (powerpcle-*-eabisim*): Likewise.
11575         (powerpcle-*-eabi*): Likewise.
11576         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11577         rs6000/t-ibm-ldouble to tmake_file.
11578         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11579         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11580         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
11581         (tic6x-*-*): Likewise.
11582         (i[34567]86-*-darwin*, x86_64-*-darwin*,
11583         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
11584         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
11585         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
11586         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
11587         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
11588         t-softfp to tmake_file.
11589         * configure.ac (sfp_machine_header): Provide default if unset.
11590         Substitute.
11591         Link sfp-machine.h to config/$sfp_machine_header.
11592         * configure: Regenerate.
11594 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11596         * Makefile.in (double_type_size, long_double_type_size): Set.
11597         Remove $(fpbit-in-libgcc) support.
11598         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
11599         (fpbit-src): New variable.
11600         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
11601         Compile with -DFLOAT $(FPBIT_CFLAGS).
11602         Use $<.
11603         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
11604         Compile with $(FPBIT_CFLAGS).
11605         Use $<.
11606         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
11607         Compile with -DFLOAT $(TPBIT_CFLAGS).
11608         Use $<.
11609         * configure.ac (double_type_size, long_double_type_size):
11610         Determine and substitute.
11611         * configure: Regenerate.
11612         * fp-bit.c, fp-bit.h: New files.
11613         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
11614         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
11615         * config/mips/t-mips: New file.
11616         * config/mips/t-sdemtk: New file.
11617         * config/rs6000/ppc64-fp.c: New file.
11618         * config/rs6000/t-darwin (LIB2ADD): Add
11619         $(srcdir)/config/rs6000/ppc64-fp.c.
11620         * config/rs6000/t-ppc64-fp: New file.
11621         * config/rx/rx-lib.h: New file.
11622         * config/rx/t-rx (FPBIT): Set to true.
11623         ($(gcc_objdir)/fp-bit.c): Remove.
11624         (DPBIT): Set to true only with -m64bit-doubles.
11625         ($(gcc_objdir)/dp-bit.c): Remove.
11626         * config/sparc/t-softfp: Remove.
11627         * config/spu/t-elf: New file.
11628         * config/t-fdpbit, config/t-fpbit: New files.
11629         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
11630         (mips*-*-*): Likewise.
11631         (arm-wrs-vxworks): Likewise.
11632         (arm*-*-freebsd*): Likewise.
11633         (avr-*-rtems*): Add t-fpbit to tmake_file.
11634         (avr-*-*): Likewise.
11635         (bfin*-elf*): Add t-fdpbit to tmake_file.
11636         (bfin*-uclinux*): Likewise.
11637         (bfin*-linux-uclibc*): Likewise.
11638         (bfin*-rtems*): New case.
11639         Add t-fdpbit to tmake_file.
11640         (bfin*-*): Add t-fdpbit to tmake_file.
11641         (crisv32-*-elf): Likewise.
11642         (cris-*-linux*): Likewise.
11643         (fr30-*-elf): Likewise.
11644         (frv-*-elf, frv-*-*linux*): Likewise.
11645         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
11646         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
11647         (m32r-*-elf*): Likewise.
11648         (m32rle-*-elf*): Likewise.
11649         (m32r-*-linux*): Likewise.
11650         (m32rle-*-linux*): Likewise.
11651         (mcore-*-elf): Add t-fdpbit to tmake_file.
11652         (microblaze*-*-*): Likewise.
11653         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
11654         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
11655         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
11656         Fix typo.
11657         Add mips/t-tpbit to tmake-file.
11658         (mips*-*-linux*): Fix typo.
11659         (mips*-sde-elf*): New case
11660         Add mips/t-sdemtk unless using newlib.
11661         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
11662         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
11663         (mn10300-*-*): Likewise.
11664         (pdp11-*-*): Likewise.
11665         (picochip-*-*): Add t-fpbit to tmake_file.
11666         (powerpc-*-eabisimaltivec*): Likewise.
11667         (powerpc-*-eabisim*): Likewise.
11668         (powerpc-*-elf*): Likewise.
11669         (powerpc-*-eabialtivec*): Likewise.
11670         (powerpc-xilinx-eabi*): New case.
11671         Add t-fdpbit to tmake_file.
11672         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
11673         (powerpc-*-rtems*): Likewise.
11674         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
11675         tmake_file.
11676         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
11677         tmake_file.
11678         (powerpc-*-lynxos*): Likewise.
11679         (powerpcle-*-elf*): Likewise.
11680         (powerpcle-*-eabisim*): Likewise.
11681         (powerpcle-*-eabi*): Likewise.
11682         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11683         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
11684         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11685         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11686         (rx-*-elf): Add t-fdpbit to tmake_file.
11687         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11688         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11689         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11690         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
11691         sh*-*-netbsd*.
11692         (sh-*-rtems*): Add t-fdpbit to tmake_file.
11693         (sh-wrs-vxworks): Likewise.
11694         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
11695         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
11696         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
11697         (sparc64-*-rtems*): ... new case.
11698         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
11699         (spu-*-elf*): Likewise.
11700         Add spu/t-elf to tmake_file.
11701         (v850*-*-*): Add t-fdpbit to tmake_file.
11702         (xstormy16-*-elf): Likewise.
11703         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
11704         (mep*-*-*): Likewise.
11706 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11708         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
11709         variables.
11710         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
11711         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
11712         (install-unwind_h): New target.
11713         (all): Depend on it.
11714         * config.host (unwind_header): New variable.
11715         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
11716         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11717         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
11718         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
11719         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
11720         Set unwind_header.
11721         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
11722         Set unwind_header.
11723         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
11724         arm*-*-eabi*.
11725         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
11726         Set unwind_header.
11727         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
11728         (ia64*-*-freebsd*): Likewise.
11729         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
11730         tmake_file.
11731         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
11732         $with_system_libunwind.
11733         (ia64*-*-hpux*): Set tmake_file.
11734         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
11735         (picochip-*-*): Set tmake_file.
11736         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
11737         md_unwind_header.
11738         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11739         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11740         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
11741         (xtensa*-*-elf*): Set tmake_file.
11742         (xtensa*-*-linux*): Likewise.
11743         * configure.ac: Include ../config/unwind_ipinfo.m4.
11744         Call GCC_CHECK_UNWIND_GETIPINFO.
11745         Link unwind.h to $unwind_header.
11746         * configure: Regenerate.
11747         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
11748         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
11749         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
11750         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
11751         * config/unwind-dw2-fde-darwin.c: New file.
11752         * config/arm/libunwind.S, config/arm/pr-support.c,
11753         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
11754         config/arm/unwind-arm.h,: New files.
11755         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
11756         config/ia64/t-eh-ia64, config/ia64/t-glibc,
11757         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
11758         config/ia64/t-vms, config/ia64/unwind-ia64.c,
11759         config/ia64/unwind-ia64.h: New files.
11760         * config/picochip/t-picochip: New file.
11761         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
11762         files.
11763         * config/rs6000/t-darwin (LIB2ADDEH): Set.
11764         * config/s390/t-tpf (LIB2ADDEH): Remove.
11765         * config/t-darwin (LIB2ADDEH): Set.
11766         * config/t-eh-dw2-dip: New file.
11767         * config/t-libunwind, config/t-libunwind-elf: New files.
11768         * config/t-sol2 (LIB2ADDEH): Remove.
11769         * config/xtensa/t-xtensa: New file.
11771 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
11773         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
11774         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
11775         long long to check rt_sigreturn syscall.
11777 2011-08-02  Alan Modra  <amodra@gmail.com>
11779         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11780         Restore for indirect call bcrtl from correct stack slot, and only
11781         if cfa+40 isn't valid.
11783 2011-08-01  Julian Brown  <julian@codesourcery.com>
11785         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
11786         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
11787         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
11789 2011-08-01  Julian Brown  <julian@codesourcery.com>
11791         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
11792         (libgcc-std.ver.in): Use above.
11793         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
11794         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
11795         throughout file.
11796         * config/t-fixedpoint-gnu-prefix: New file.
11797         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
11798         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
11799         instead of __PFX__.
11801 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
11803         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
11804         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
11805         for x86-64.  Properly check __x86_64__ and __LP64__.
11807 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
11809         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
11810         version.
11811         (_FP_WS_TYPE): Likewise.
11812         (_FP_I_TYPE): Likewise.
11814 2011-07-28  Alan Modra  <amodra@gmail.com>
11816         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11817         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
11818         in a plt call stub.  Do restore r2 if stopped on bctrl.
11820 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11822         * config.host (i[3456x]86-*-netware*): Remove.
11823         * config/i386/netware-crt0.c, config/i386/t-nwld,
11824         config/i386/t-slibgcc-nwld: Remove.
11826 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
11828         * config.host: Handle tic6x-*-*.
11829         * config/c6x/c6x-abi.h: New file.
11831 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11833         * config/i386/crtprec.c: New file.
11834         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
11835         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
11836         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
11837         (x86_64-*-darwin*): Likewise.
11838         (i[34567]86-*-solaris2*: Likewise.
11840 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11842         * config/alpha/crtfastmath.c: New file.
11843         * config/i386/crtfastmath.c: New file.
11844         * config/ia64/crtfastmath.c: New file.
11845         * config/mips/crtfastmath.c: New file.
11846         * config/sparc/crtfastmath.c: New file.
11848         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
11849         crtfastmath.c.
11850         Add -frandom-seed=gcc-crtfastmath.
11851         * config/alpha/t-crtfm: Remove.
11852         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
11853         * config/ia64/t-ia64 (crtfastmath.o): Remove.
11855         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
11856         (alpha*-dec-osf5.1*): Likewise.
11857         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
11858         Add crtfastmath.o to extra_parts.
11859         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
11860         Add crtfastmath.o to extra_parts.
11861         (x86_64-*-darwin*): Likewise.
11862         (x86_64-*-mingw*): Likewise.
11863         (ia64*-*-elf*): Add t-crtfm to tmake_file.
11864         (ia64*-*-freebsd*): Likewise.
11865         (ia64*-*-linux*): Likewise.
11866         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
11867         Add crtfastmath.o to extra_parts.
11869 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11871         * config/darwin-crt3.o: New file.
11872         * config/rs6000/darwin-crt2.c: New file.
11873         * config/t-darwin: New file.
11874         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
11875         (crt2.o): New rule.
11876         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
11877         (powerpc-*-darwin*): Add crt2.o to extra_parts.
11878         (powerpc64-*-darwin*): Likewise.
11880 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11882         * config/i386/netware-crt0.c: New file.
11883         * config/i386/t-nwld: Rename to ...
11884         * config/i386/t-slibgcc-nwld: ... this.
11885         * config/i386/t-nwld: New file.
11886         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
11887         tmake_file.
11888         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
11889         extra_parts.
11891 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11893         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
11894         i386/t-crtstuff.
11895         * configure: Regenerate.
11897 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11899         * dfp-bit.c, dfp-bit.h: New files.
11900         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
11901         variables.
11902         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
11903         ($(d64pbit-o)): Likewise.
11904         ($(d128pbit-o)): Likewise.
11905         * config/t-dfprules: New file.
11906         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
11907         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
11908         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11909         (x86_64-*-linux*): Likewise.
11910         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11911         (i[34567]86-*-cygwin*): Likewise.
11912         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
11913         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11915 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11917         * Makfile.in (LIBGCOV): New variable.
11918         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
11919         * libgcov.c: New file.
11921 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11923         * fixed-bit.c, fixed-bit.h: New files.
11924         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
11925         refer to fixed-bit.c.
11927 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
11929         * config.host (*local*): Remove.
11931 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11933         PR target/39150
11934         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
11935         like i?86-*-solaris2.1[0-9]*.
11936         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
11937         * configure.ac (i?86-*-solaris2*): Likewise.
11938         * configure: Regenerate.
11940 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
11942         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11943         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
11944         md_unwind_header by splitting out of...
11945         (i[34567]86-*-linux*): ... this.
11946         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
11947         Remove md_unwind_header by splitting out of...
11948         (x86_64-*-linux*): ... this.
11950 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
11952         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
11954 2011-06-28  Nick Clifton  <nickc@redhat.com>
11956         * config.host: Recognize all V850 variants.
11958 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
11960         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
11962 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11964         * shared-object.mk (c_flags-$o): Save c_flags.
11965         ($(base)$(objext)): Use it.
11966         ($(base)_s$(objext)): Likewise.
11968 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
11970         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
11971         * libgcc-std.ver.in (GCC_4.7.0): New section.
11973 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
11975         PR target/49313
11976         PR target/29524
11977         * config/avr/t-avr: Fix line endings.
11978         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
11979         _parityXX2.
11981 2011-06-14  Olivier Hainque  <hainque@adacore.com>
11982             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11984         * config/mips/irix6-unwind.h: New file.
11985         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
11987 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
11989         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
11990         (sparc64_fallback_frame_state): Use it.
11991         (sparc64_frob_update_context): Further adjust context.
11992         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
11993         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
11994         * config/sparc/sol2-cn.S: Likewise.
11996 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11998         * enable-execute-stack-empty.c: New file.
11999         * enable-execute-stack-mprotect.c: New file.
12000         * config/i386/enable-execute-stack-mingw32.c: New file.
12001         * config.host (enable_execute_stack): New variable.
12002         Select appropriate variants.
12003         * configure.ac: Link enable-execute-stack.c to
12004         $enable_execute_stack.
12005         * configure: Regenerate.
12006         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
12007         (lib2funcs): Remove _enable_execute_stack.
12009 2011-06-09  David S. Miller  <davem@davemloft.net>
12010             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12012         * config.host (sparc-*-linux*): Correct md_unwind_header
12013         filename.
12014         (s390x-ibm-tpf*): Fix typo.
12016 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12018         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
12019         Add crtfastmath.o to extra_parts.
12020         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
12021         mips/t-crtfm.
12022         * config/mips/t-crtfm: Remove.
12024 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
12026         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
12028 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
12030         * config.host (sh*-*-linux*): Fix typo.
12032 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12034         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
12035         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
12036         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
12037         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
12038         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
12039         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
12040         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
12041         Wrap in !__MINGW64__.
12042         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
12043         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
12044         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
12045         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
12046         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
12047         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
12048         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
12049         Wrap in !__LP64__.
12050         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
12051         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
12052         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
12053         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
12054         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
12055         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
12056         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
12057         * config/no-unwind.h: New file.
12058         * config.host (md_unwind_header): Document.
12059         Define.
12060         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
12061         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
12062         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
12063         hppa[12]*-*-hpux11*): Set md_unwind_header.
12064         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
12065         Set md_unwind_header.
12066         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
12067         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
12068         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
12069         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
12070         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
12071         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
12072         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
12073         md_unwind_header.
12074         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
12075         * configure: Regenerate.
12077 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12079         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
12080         Set tmake_file, extra_parts.
12081         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
12082         Remove O32 support.
12083         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
12084         Remove O32 support.
12085         * config/mips/t-irix6: New file.
12086         * config/mips/t-slibgcc-irix: New file.
12088 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12090         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
12091         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
12093 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12095         * configure.ac (target_thread_file): Determine thread model.
12096         * configure: Regenerate.
12097         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
12098         * config/alpha/t-alpha: New file.
12099         * config/alpha/t-crtfm: Use $<.
12100         * config/alpha/t-ieee: New file.
12101         * config/alpha/t-osf-pthread: New file.
12102         * config/alpha/t-slibgcc-osf: New file.
12103         * config/alpha/libgcc-osf5.ver: New file.
12105 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12107         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
12108         tmake_file.
12109         Add crtfastmath.o to extra_parts.
12111 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12113         * config/gmon-sol2.c: Reindent.
12114         Cleanup comments.
12115         Remove, correct casts.
12116         Use STDERR_FILENO, NULL.
12117         (BASEADDRESS): Remove.
12118         (minbrk): Remove.
12119         (errno, sbrk): Remove declarations.
12120         (monstartup) [hp300]: Remove.
12121         (mcount): Remove.
12123 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12125         * Makefile.in (cpu_type): Define.
12126         * config.host (i[34567]86-*-rtems*): Handle it.
12127         (i[34567]86-*-solaris2*): Move body ...
12128         (*-*-solaris2*): ... here.
12129         New case, generalize.
12130         (sparc-*-elf*): Handle it.
12131         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
12132         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
12133         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
12134         Fold into ...
12135         (sparc*-*-solaris2*): ... this.
12136         New case.
12137         (sparc64-*-elf*): Handle it.
12138         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
12139         Merge ../gcc/config/i386/gmon-sol2.c.
12140         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
12141         Use C comments.
12142         Merge ../gcc/config/i386/sol2-gc1.asm.
12143         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
12144         Use C comments.
12145         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
12146         Use C comments.
12147         * config/i386/t-crtfm (crtfastmath.o): Use $<.
12148         * config/i386/t-crtstuff: New file.
12149         * config/i386/t-softfp: New file.
12150         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
12151         $(T)crti.o, $(T)crtn.o): Remove.
12152         (gcrt1.o): New rule.
12153         (TARGET_LIBGCC2_CFLAGS): Remove.
12154         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
12155         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
12156         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
12157         * config/sparc/t-sol2: New file.
12158         * config/sparc/t-crtfm: Move to ...
12159         * config/t-crtfm: ... this.
12160         Use $(cpu_type), $<.
12161         * config/t-crtin: New file.
12162         * config/sparc/t-softfp: New file.
12163         * config/sparc/t-softmul: New file.
12164         * config/t-rtems: New file.
12165         * config/t-slibgcc: New file.
12166         * config/t-slibgcc-elf-ver: New file.
12167         * config/t-slibgcc-gld: New file.
12168         * config/t-slibgcc-sld: New file.
12169         * config/t-sol2: New file.
12170         * configure.ac: Include ../config/lib-ld.m4.
12171         Call AC_LIB_PROG_LD_GNU.
12172         Substitute cpu_type.
12173         * configure: Regenerate.
12175 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
12177         PR bootstrap/49173
12178         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
12179         libgcc-std.ver in the build directory.
12180         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
12181         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
12183 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
12185         * libgcc-std.ver.in: New file.
12186         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
12187         variables.
12188         (libgcc-std.ver): New rule.
12189         * config/t-gnu-prefix: New file.
12191 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12193         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
12195 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
12197         * config/i386/darwin-lib.h: New file.
12199 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
12201         * config/arm/symbian-lib.h: New.
12203 2011-05-04  Chris Demetriou  <cgd@google.com>
12205         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
12206         (__x86.get_pc_thunk.bx): ...this.
12207         (__morestack): Adjust for rename, remove undef of __i686.
12209 2011-05-03  Chris Demetriou  <cgd@google.com>
12211         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
12213 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
12215         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
12216         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
12217         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
12218         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
12219         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
12220         Remove cases.
12222 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
12224         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
12225         Adjust copyright year.
12227 2011-03-07  Ian Lance Taylor  <iant@google.com>
12229         * generic-morestack.c (__splitstack_find): Adjust returned stack
12230         pointer to include all registers pushed by __morestack.
12232 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
12234         PR target/40125
12235         * configure.ac: Call ACX_NONCANONICAL_TARGET.
12236         (toolexecdir): Calculate and AC_SUBST.
12237         (toolexeclibdir): Likewise.
12238         * Makefile.in (target_noncanonical): Import.
12239         (toolexecdir): Likewise.
12240         (toolexeclibdir): Likewise.
12241         * configure: Regenerate.
12243 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
12245         PR target/46040
12246         * config/arm/bpabi.h: Rename to...
12247         * config/arm/bpabi-lib.h: ...this.
12249 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12251         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
12252         appropriate.
12253         * configure: Regenerate.
12255 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
12257         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
12258         __FLOAT_WORD_ORDER__.
12259         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
12260         Delete.
12262 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12264         PR other/46202
12265         * Makefile.in (install-strip): New phony target.
12267 2010-11-07  Ian Lance Taylor  <iant@google.com>
12269         PR target/46089
12270         * config/i386/morestack.S (__morestack_large_model): New
12271         function.
12273 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
12275         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
12276         Delete.
12277         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
12279 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
12281         * config/arm/bpabi.h: New file.
12282         * config/frv/frv-abi.h: New file.
12284 2010-10-01  Ian Lance Taylor  <iant@google.com>
12286         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
12287         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
12289 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
12291         PR target/45858
12292         * config.host: Add the missing `$'.
12294 2010-09-30  Michael Eager  <eager@eagercon.com>
12296         * config.host: Add microblaze*-*-*.
12297         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
12298         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
12299         udivsi3.asm,umodsi3.asm}:  New.
12301 2010-09-28  Ian Lance Taylor  <iant@google.com>
12303         * configure.ac: Adjust CFI test to test assembler directly rather
12304         than checking gcc preprocessor macro.
12305         * configure: Rebuild.
12307 2010-09-27  Ian Lance Taylor  <iant@google.com>
12309         * configure.ac: Test whether assembler supports CFI directives.
12310         * config.host: Only add t-stack and i386/t-stack-i386 to
12311         tmake_file if libgcc_cv_cfi is "yes".
12312         * configure: Rebuild.
12314 2010-09-27  Ian Lance Taylor  <iant@google.com>
12316         * generic-morestack.h: New file.
12317         * generic-morestack.c: New file.
12318         * generic-morestack-thread.c: New file.
12319         * config/i386/morestack.S: New file.
12320         * config/t-stack: New file.
12321         * config/i386/t-stack-i386: New file.
12322         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
12323         i386/t-stack-i386 to tmake_file.
12325 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
12327         * Makefile.in (libgcc-extra-parts):  Check for static archives and
12328         invoke ranlib after installing them.
12329         (gcc-extra-parts): Likewise.
12330         (install-leaf): Likewise.
12332 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
12334         * configure: Regenerated.
12336 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
12338         * configure: Regenerated.
12340 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
12341             Andrew Pinski  <pinskia@gmail.com>
12343         PR target/40959
12344         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
12346 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12348         PR target/45524
12349         * configure: Regenerated.
12351 2010-09-06  Andreas Schwab  <schwab@redhat.com>
12353         * configure: Regenerate.
12355 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
12357         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
12358         64bit targets.
12359         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
12360         for 64bit targets.
12362 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
12363             Iain Sandoe  <iains@gcc.gnu.org>
12365         PR target/45476
12366         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
12367         LIB2FUNCS_EXCLUDE functions.
12369 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12371         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
12372         Include dfp.m4.
12373         * configure: Regenerate.
12375 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
12377         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
12378         i386/t-freebsd to tmake_file.
12379         * config/i386/t-freebsd: New file.
12380         * config/i386/libgcc-bsd.ver: New file.
12382 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
12384         * config.host (powerpc*-eabispe*): Set tmake_file.
12385         (powerpc*-eabi*): Likewise.
12386         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
12387         crtbeginS, crtendS, crtbeginT.
12389 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
12391         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
12392         to tmake_file.  Add crtfastmath.o to extra_parts.
12393         * config/mips/t-crtfm: New.
12395 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
12397         * config.host (sparc64-*-rtems*): New target.
12399 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12401         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12402         assembler syntax.
12404 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
12406         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
12408 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12410         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
12411         alpha-dec-osf5.0* support.
12413 2010-04-01  Ralf CorsĂ©pius  <ralf.corsepius@rtems.org>
12415         * config.host: Add lm32-*-rtems*.
12417 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12418             Uros Bizjak  <ubizjak@gmail.com>
12420         PR target/39048
12421         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
12422         like other remaining 32-bit x86 OSes.
12423         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12424         assembler syntax.
12425         * config/i386/libgcc-sol2.ver: New file.
12426         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
12428 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
12430         PR c/43553
12431         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
12432         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
12433         is used and substitute set_use_emutls.
12434         * configure: Regenerated.
12436 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
12438         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
12440 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12442         PR target/38085
12443         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
12444         MULTILIB_CFLAGS.
12445         ($(T)gcrt1.o): Likewise.
12446         ($(T)crt1.o): Likewise.
12447         ($(T)crti.o): Likewise.
12448         ($(T)crtn.o): Likewise.
12450 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12452         PR other/42980
12453         * Makefile.in (install): Use $(MAKE) string in rule, for
12454         parallel make.
12456 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
12458         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
12459         * config/mmix/t-mmix: New file.
12460         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
12462 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
12464         PR java/41991
12465         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
12466         SHLIB_MAPFILES.
12468 2010-01-04  Anthony Green  <green@moxielogic.com>
12470         * config/moxie/crti.asm, config/moxie/crtn.asm,
12471         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
12472         config/moxie/t-moxie: New files.
12473         * config.host: Add t-moxie-softfp reference.
12475 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
12477         PR other/39888
12478         * config/t-slibgcc-darwin: Fix embedded rpaths for
12479         --enable-version-specific-runtime-libs, build extension stub
12480         libs exposing features available from current libgcc_s.
12482 2009-11-11  Jon Beniston  <jon@beniston.com>
12484         * config.host: Add lm32 targets.
12485         * config/lm32: New directory.
12486         * config/lm32/libgcc_lm32.h: New file.
12487         * config/lm32/_mulsi3.c: New file.
12488         * config/lm32/_udivmodsi4.c: New file.
12489         * config/lm32/_divsi3.c: New file.
12490         * config/lm32/_modsi3.c: New file.
12491         * config/lm32/_udivsi3.c: New file.
12492         * config/lm32/_umodsi3.c: New file.
12493         * config/lm32/_lshrsi3.S: New file.
12494         * config/lm32/_ashrsi3.S: New file.
12495         * config/lm32/_ashlsi3.S: New file.
12496         * config/lm32/crti.S: New file.
12497         * config/lm32/crtn.S: New file.
12498         * config/lm32/t-lm32: New file.
12499         * config/lm32/t-elf: New file.
12500         * config/lm32/t-uclinux: New file.
12502 2009-10-26  Nick Clifton  <nickc@redhat.com>
12504         * config.host: Add support for RX target.
12505         * config/rx: New directory.
12506         * config/rx/rx-abi-functions.c: New file. Supplementary
12507         functions for libgcc to support the RX ABI.
12508         * config/rx/rx-abi.h: New file.  Supplementary header file for
12509         libgcc RX ABI functions.
12510         * config/rx/t-rx: New file: Makefile fragment for building
12511         libgcc for the RX.
12513 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
12515         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
12516         constraint of y0 to "g".
12518 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12520         * config.host: Include the s390 makefile fragments.
12521         * config/s390/32/_fixdfdi.c: New file.
12522         * config/s390/32/_fixsfdi.c: New file.
12523         * config/s390/32/_fixtfdi.c: New file.
12524         * config/s390/32/_fixunsdfdi.c: New file.
12525         * config/s390/32/_fixunssfdi.c: New file.
12526         * config/s390/32/_fixunstfdi.c: New file.
12527         * config/s390/32/t-floattodi: New file.
12528         * config/s390/libgcc-glibc.ver: New file.
12529         * config/s390/t-crtstuff: New file.
12530         * config/s390/t-linux: New file.
12531         * config/s390/t-tpf: New file.
12533 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12535         * configure.ac (AC_PREREQ): Bump to 2.64.
12537 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
12539         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
12541 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12543         * configure: Regenerate.
12545 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
12547         * config.host (ia64-hp-*vms*): New target.
12548         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
12549         with ia64-hp-*vms*.
12551 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12553         * configure.ac: Add snippet for maintainer-mode.
12554         * configure: Regenerate.
12555         * Makefile.in (AUTOCONF, configure_deps): New variables.
12556         ($(srcdir)/configure)): New rule, active only with maintainer
12557         mode turned on.
12559 2009-06-23  DJ Delorie  <dj@redhat.com>
12561         Add MeP port.
12562         * config.host: Add mep support.
12564 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
12566         * config.host: Add i386/${host_address}/t-fprules-softfp and
12567         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
12569         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
12570         for mingw targets.
12571         * config/i386/64/_multc3.c: Likewise.
12572         * config/i386/64/_powitf2.c: Likewise.
12573         * config/i386/64/eqtf2.c: Likewise.
12574         * config/i386/64/getf2.c: Likewise.
12575         * config/i386/64/letf2.c: Likewise.
12576         * config/i386/64/letf2.c: Likewise.
12577         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
12578         unsigned long long for x64 mingw targets.
12579         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
12580         (_FP_I_TYPE): Define as long long for x64 mingw target.
12582 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
12584         * config.host (vax-*-linux*): New.
12586 2009-05-31  Anthony Green  <green@moxielogic.com>
12588         * config.host: Add moxie support.
12589         * config/moxie/t-moxie: New file.
12591 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
12593         * config.host: Add i386/${host_address}/t-fprules-softfp and
12594         t-softfp to tmake_file for i[34567]86-*-cygwin*.
12596 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
12598         * config.host: Add i386/${host_address}/t-fprules-softfp to
12599         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
12601 2009-04-09  Nick Clifton  <nickc@redhat.com>
12603         * config/ia64/tf-signs.c: Change copyright header to refer to
12604         version 3 of the GNU General Public License with version 3.1
12605         of the GCC Runtime Library Exception and to point readers at
12606         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
12607         web page.
12608         * config/i386/32/tf-signs.c: Likewise.
12609         * config/libbid/_addsub_dd.c: Likewise.
12610         * config/libbid/_addsub_sd.c: Likewise.
12611         * config/libbid/_addsub_td.c: Likewise.
12612         * config/libbid/_dd_to_df.c: Likewise.
12613         * config/libbid/_dd_to_di.c: Likewise.
12614         * config/libbid/_dd_to_sd.c: Likewise.
12615         * config/libbid/_dd_to_sf.c: Likewise.
12616         * config/libbid/_dd_to_si.c: Likewise.
12617         * config/libbid/_dd_to_td.c: Likewise.
12618         * config/libbid/_dd_to_tf.c: Likewise.
12619         * config/libbid/_dd_to_udi.c: Likewise.
12620         * config/libbid/_dd_to_usi.c: Likewise.
12621         * config/libbid/_dd_to_xf.c: Likewise.
12622         * config/libbid/_df_to_dd.c: Likewise.
12623         * config/libbid/_df_to_sd.c: Likewise.
12624         * config/libbid/_df_to_td.c: Likewise.
12625         * config/libbid/_di_to_dd.c: Likewise.
12626         * config/libbid/_di_to_sd.c: Likewise.
12627         * config/libbid/_di_to_td.c: Likewise.
12628         * config/libbid/_div_dd.c: Likewise.
12629         * config/libbid/_div_sd.c: Likewise.
12630         * config/libbid/_div_td.c: Likewise.
12631         * config/libbid/_eq_dd.c: Likewise.
12632         * config/libbid/_eq_sd.c: Likewise.
12633         * config/libbid/_eq_td.c: Likewise.
12634         * config/libbid/_ge_dd.c: Likewise.
12635         * config/libbid/_ge_sd.c: Likewise.
12636         * config/libbid/_ge_td.c: Likewise.
12637         * config/libbid/_gt_dd.c: Likewise.
12638         * config/libbid/_gt_sd.c: Likewise.
12639         * config/libbid/_gt_td.c: Likewise.
12640         * config/libbid/_isinfd128.c: Likewise.
12641         * config/libbid/_isinfd32.c: Likewise.
12642         * config/libbid/_isinfd64.c: Likewise.
12643         * config/libbid/_le_dd.c: Likewise.
12644         * config/libbid/_le_sd.c: Likewise.
12645         * config/libbid/_le_td.c: Likewise.
12646         * config/libbid/_lt_dd.c: Likewise.
12647         * config/libbid/_lt_sd.c: Likewise.
12648         * config/libbid/_lt_td.c: Likewise.
12649         * config/libbid/_mul_dd.c: Likewise.
12650         * config/libbid/_mul_sd.c: Likewise.
12651         * config/libbid/_mul_td.c: Likewise.
12652         * config/libbid/_ne_dd.c: Likewise.
12653         * config/libbid/_ne_sd.c: Likewise.
12654         * config/libbid/_ne_td.c: Likewise.
12655         * config/libbid/_sd_to_dd.c: Likewise.
12656         * config/libbid/_sd_to_df.c: Likewise.
12657         * config/libbid/_sd_to_di.c: Likewise.
12658         * config/libbid/_sd_to_sf.c: Likewise.
12659         * config/libbid/_sd_to_si.c: Likewise.
12660         * config/libbid/_sd_to_td.c: Likewise.
12661         * config/libbid/_sd_to_tf.c: Likewise.
12662         * config/libbid/_sd_to_udi.c: Likewise.
12663         * config/libbid/_sd_to_usi.c: Likewise.
12664         * config/libbid/_sd_to_xf.c: Likewise.
12665         * config/libbid/_sf_to_dd.c: Likewise.
12666         * config/libbid/_sf_to_sd.c: Likewise.
12667         * config/libbid/_sf_to_td.c: Likewise.
12668         * config/libbid/_si_to_dd.c: Likewise.
12669         * config/libbid/_si_to_sd.c: Likewise.
12670         * config/libbid/_si_to_td.c: Likewise.
12671         * config/libbid/_td_to_dd.c: Likewise.
12672         * config/libbid/_td_to_df.c: Likewise.
12673         * config/libbid/_td_to_di.c: Likewise.
12674         * config/libbid/_td_to_sd.c: Likewise.
12675         * config/libbid/_td_to_sf.c: Likewise.
12676         * config/libbid/_td_to_si.c: Likewise.
12677         * config/libbid/_td_to_tf.c: Likewise.
12678         * config/libbid/_td_to_udi.c: Likewise.
12679         * config/libbid/_td_to_usi.c: Likewise.
12680         * config/libbid/_td_to_xf.c: Likewise.
12681         * config/libbid/_tf_to_dd.c: Likewise.
12682         * config/libbid/_tf_to_sd.c: Likewise.
12683         * config/libbid/_tf_to_td.c: Likewise.
12684         * config/libbid/_udi_to_dd.c: Likewise.
12685         * config/libbid/_udi_to_sd.c: Likewise.
12686         * config/libbid/_udi_to_td.c: Likewise.
12687         * config/libbid/_unord_dd.c: Likewise.
12688         * config/libbid/_unord_sd.c: Likewise.
12689         * config/libbid/_unord_td.c: Likewise.
12690         * config/libbid/_usi_to_dd.c: Likewise.
12691         * config/libbid/_usi_to_sd.c: Likewise.
12692         * config/libbid/_usi_to_td.c: Likewise.
12693         * config/libbid/_xf_to_dd.c: Likewise.
12694         * config/libbid/_xf_to_sd.c: Likewise.
12695         * config/libbid/_xf_to_td.c: Likewise.
12696         * config/libbid/bid128.c: Likewise.
12697         * config/libbid/bid128_2_str.h: Likewise.
12698         * config/libbid/bid128_2_str_macros.h: Likewise.
12699         * config/libbid/bid128_2_str_tables.c: Likewise.
12700         * config/libbid/bid128_add.c: Likewise.
12701         * config/libbid/bid128_compare.c: Likewise.
12702         * config/libbid/bid128_div.c: Likewise.
12703         * config/libbid/bid128_fma.c: Likewise.
12704         * config/libbid/bid128_logb.c: Likewise.
12705         * config/libbid/bid128_minmax.c: Likewise.
12706         * config/libbid/bid128_mul.c: Likewise.
12707         * config/libbid/bid128_next.c: Likewise.
12708         * config/libbid/bid128_noncomp.c: Likewise.
12709         * config/libbid/bid128_quantize.c: Likewise.
12710         * config/libbid/bid128_rem.c: Likewise.
12711         * config/libbid/bid128_round_integral.c: Likewise.
12712         * config/libbid/bid128_scalb.c: Likewise.
12713         * config/libbid/bid128_sqrt.c: Likewise.
12714         * config/libbid/bid128_string.c: Likewise.
12715         * config/libbid/bid128_to_int16.c: Likewise.
12716         * config/libbid/bid128_to_int32.c: Likewise.
12717         * config/libbid/bid128_to_int64.c: Likewise.
12718         * config/libbid/bid128_to_int8.c: Likewise.
12719         * config/libbid/bid128_to_uint16.c: Likewise.
12720         * config/libbid/bid128_to_uint32.c: Likewise.
12721         * config/libbid/bid128_to_uint64.c: Likewise.
12722         * config/libbid/bid128_to_uint8.c: Likewise.
12723         * config/libbid/bid32_to_bid128.c: Likewise.
12724         * config/libbid/bid32_to_bid64.c: Likewise.
12725         * config/libbid/bid64_add.c: Likewise.
12726         * config/libbid/bid64_compare.c: Likewise.
12727         * config/libbid/bid64_div.c: Likewise.
12728         * config/libbid/bid64_fma.c: Likewise.
12729         * config/libbid/bid64_logb.c: Likewise.
12730         * config/libbid/bid64_minmax.c: Likewise.
12731         * config/libbid/bid64_mul.c: Likewise.
12732         * config/libbid/bid64_next.c: Likewise.
12733         * config/libbid/bid64_noncomp.c: Likewise.
12734         * config/libbid/bid64_quantize.c: Likewise.
12735         * config/libbid/bid64_rem.c: Likewise.
12736         * config/libbid/bid64_round_integral.c: Likewise.
12737         * config/libbid/bid64_scalb.c: Likewise.
12738         * config/libbid/bid64_sqrt.c: Likewise.
12739         * config/libbid/bid64_string.c: Likewise.
12740         * config/libbid/bid64_to_bid128.c: Likewise.
12741         * config/libbid/bid64_to_int16.c: Likewise.
12742         * config/libbid/bid64_to_int32.c: Likewise.
12743         * config/libbid/bid64_to_int64.c: Likewise.
12744         * config/libbid/bid64_to_int8.c: Likewise.
12745         * config/libbid/bid64_to_uint16.c: Likewise.
12746         * config/libbid/bid64_to_uint32.c: Likewise.
12747         * config/libbid/bid64_to_uint64.c: Likewise.
12748         * config/libbid/bid64_to_uint8.c: Likewise.
12749         * config/libbid/bid_b2d.h: Likewise.
12750         * config/libbid/bid_binarydecimal.c: Likewise.
12751         * config/libbid/bid_conf.h: Likewise.
12752         * config/libbid/bid_convert_data.c: Likewise.
12753         * config/libbid/bid_decimal_data.c: Likewise.
12754         * config/libbid/bid_decimal_globals.c: Likewise.
12755         * config/libbid/bid_div_macros.h: Likewise.
12756         * config/libbid/bid_dpd.c: Likewise.
12757         * config/libbid/bid_flag_operations.c: Likewise.
12758         * config/libbid/bid_from_int.c: Likewise.
12759         * config/libbid/bid_functions.h: Likewise.
12760         * config/libbid/bid_gcc_intrinsics.h: Likewise.
12761         * config/libbid/bid_inline_add.h: Likewise.
12762         * config/libbid/bid_internal.h: Likewise.
12763         * config/libbid/bid_round.c: Likewise.
12764         * config/libbid/bid_sqrt_macros.h: Likewise.
12766 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
12768         * Makefile.in: Change copyright header to refer to version
12769         3 of the GNU General Public License and to point readers at the
12770         COPYING3 file and the FSF's license web page.
12771         * config.host: Likewise.
12773 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
12775         * config.host: Reorder and merge to match config.gcc change.
12777 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
12779         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
12781 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
12783         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
12784         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
12785         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
12786         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
12788 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
12790         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
12791         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12793 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
12795         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
12796         ia64/t-softfp-compat to tmake_file.
12798         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
12800         * config/ia64/__divxf3.asm: New.
12801         * config/ia64/_fixtfdi.asm: Likewise.
12802         * config/ia64/_fixunstfdi.asm: Likewise.
12803         * config/ia64/_floatditf.asm: Likewise.
12804         * config/ia64/t-fprules-softfp: Likewise.
12805         * config/ia64/t-softfp-compat: Likewise.
12806         * config/ia64/tf-signs.c: Likewise.
12808 2009-01-18  Ben Elliston  <bje@au.ibm.com>
12810         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12812 2009-01-16  Ben Elliston  <bje@au.ibm.com>
12814         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
12815         to tmake_file.
12817 2009-01-13  Ben Elliston  <bje@au.ibm.com>
12819         * config/t-softfp: New file.
12820         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
12821         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
12823 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
12825         * config.host: Add m32r*-*-rtems*.
12827 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
12829         * config.host: Add m32c*-*-rtems*.
12831 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12833         PR bootstrap/33100
12834         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
12835         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
12836         * configure: Regenerate.
12837         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
12838         tmake_file here from gcc/config.gcc.
12839         Move extra_parts here from gcc/config.gcc.
12840         * config/i386/t-sol2: Move here from gcc/config/i386.
12841         Use gcc_srcdir instead of srcdir.
12843 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
12845         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
12846         case.
12848 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
12850         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
12852 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
12854         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
12856 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
12858         Add picoChip port.
12859         * config.host: Add picochip-*-*.
12861 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
12863         * config.host: Match more processor names for Xtensa.
12865 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
12867         * config/i386/64/t-softfp-compat: Update comments.
12869 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
12871         * config/i386/64/_divtc3-compat.c: Moved to ...
12872         * config/i386/64/_divtc3.c: Here.
12874         * config/i386/64/_multc3-compat.c: Moved to ...
12875         * config/i386/64/_multc3.c: Here.
12877         * config/i386/64/_powitf2-compat.c: Moved to ...
12878         * config/i386/64/_powitf2.c: Here.
12880         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
12881         .c suffix instead of -compat.c.
12883 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
12885         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
12886         (_FP_MUL_MEAT_D): Ditto.
12887         (_FP_DIV_MEAT_S): Ditto.
12888         (_FP_DIV_MEAT_D): Ditto.
12890 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
12892         * Makefile.in: Add support for __sync_* libgcc functions.
12894 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
12896         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
12898 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12900         PR boostrap/36702
12901         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
12902         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
12904         * config/i386/64/t-fprules-softfp: Moved to ...
12905         * config/i386/64/t-softfp-compat: This.  New.
12907 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
12909         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
12910         Initialize f with 0.0.
12912 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12914         PR target/36669
12915         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
12917         * config/i386/64/_divtc3-compat.c: New.
12918         * config/i386/64/_multc3-compat.c: Likewise.
12919         * config/i386/64/_powitf2-compat.c: Likewise.
12920         * config/i386/64/eqtf2.c: Likewise.
12921         * config/i386/64/getf2.c: Likewise.
12922         * config/i386/64/letf2.c: Likewise.
12923         * config/i386/64/t-fprules-softfp: Likewise.
12925 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12927         * config.host: Add i386/${host_address}/t-fprules-softfp to
12928         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
12929         i[34567]86-*-linux*, x86_64-*-linux*.
12931         * configure.ac: Set host_address to 64 or 32 for x86.
12932         * configure: Regenerated.
12934         * Makefile.in (config.status): Also depend on
12935         $(srcdir)/config.host.
12937         * config/i386/32/t-fprules-softfp: New.
12938         * config/i386/32/tf-signs.c: Likewise.
12940         * config/i386/64/sfp-machine.h: New. Moved from gcc.
12942 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12943             Uros Bizjak  <ubizjak@gmail.com>
12945         * config/i386/32/sfp-machine.h: New.
12947 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
12949         * config/rs6000/t-ppccomm: Remove rules that conflict with
12950         auto-generated rules.
12952 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12954         * configure.ac: sinclude override.m4.
12955         * configure: Regenerate.
12957 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
12959         * configure: Regenerate.
12961 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
12963         * Makefile.in (DECNUMINC): Remove
12964         -I$(MULTIBUILDTOP)../../libdecnumber.
12965         * gstdint.h: New.
12967 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
12969         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
12970         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
12971         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
12972         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
12973         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
12974         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
12975         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
12976         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
12977         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
12978         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
12979         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
12980         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
12981         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
12982         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
12984 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
12986         * config.host (sh2[lbe]*-*-linux*): Allow target.
12988 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
12990         * config/rs6000/t-ppccomm: Add build rules for new files.
12991         (LIB2ADD_ST): New variable.
12993 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
12995         PR target/34210
12996         PR target/35508
12997         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
12998         * config/t-avr: New file. Build 16bit libgcc functions.
13000 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
13002         PR target/35401
13003         * config/t-slibgcc-darwin: Make install-leaf dependent on
13004         install-darwin-libgcc-stubs instead of install.
13006 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
13008         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
13009         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
13010         sh-*-rtemscoff*): Remove cases.
13012 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
13014         * Makefile.in (all): Use install-leaf rather than install.
13015         (install): Split most of the rule into...
13016         (install-leaf): ...this new one.
13018 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
13019             Paolo Bonzini  <bonzini@gnu.org>
13021         PR target/30572
13022         * Makefile.in: Use @shlib_slibdir@ substitution to get
13023         correct install name on darwin.
13024         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
13026 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
13028         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
13029         cris-*-elf and cris-*-none.
13030         (crisv32-*-linux*): Similar, as cris-*-linux*.
13032 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
13034         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
13036 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
13038         PR regression/33926
13039         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
13040         * configure: Regenerated.
13042 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
13044         * Makefile.in (dfp-filenames): Replace decimal_globals,
13045         decimal_data, binarydecimal and convert_data with
13046         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
13047         and bid_convert_data, respectively.
13049 2007-09-17  Chao-ying Fu  <fu@mips.com>
13050             Nigel Stephens  <nigel@mips.com>
13052         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
13053         * Makefile.in (fixed_point): Define.
13054         Check if fixed_point is yes to build support functions.
13055         * configure.ac: Check for fixed_point support.
13056         * configure: Regenerated.
13057         * gen-fixed.sh: New file to generate lists of fixed-point labels,
13058         funcs, modes, from, to.
13060 2007-09-11  Janis Johnson  <janis187@us.ibm.com
13062         * Makefile.in (dfp-filenames): Add bid128_noncomp.
13064 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
13066         * Makefile.in (dfp-filenames): Remove decUtility, add
13067         decDouble, decPacked, decQuad, decSingle.
13069 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
13071         * config.host : Add x86_64-elf target.
13073 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
13075         * configure.ac (set_have_cc_tls): Add a missing =.
13076         * configure: Regenerated.
13078 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
13080         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
13081         and x86_64-*-linux*.
13083         * config/t-tls: New file.
13085         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
13087         * configure.ac: Include ../config/enable.m4 and
13088         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
13089         supports TLS and substitute set_have_cc_tls.
13090         * configure: Regenerated.
13092 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
13094         * Makefile.in: Use libbid for DFP when BID is enabled.
13096 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
13098         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
13099         extra_parts. Add config/i386/t-cygming to tmake_file.
13100         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
13102 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
13103             Danny Smith  <dannysmith@users.sourceforge.net>
13105         PR target/29498
13106         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
13107         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
13108         * config/i386/t-crtfm: Compile crtfastmath.o with
13109         -minline-all-stringops.
13111 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
13113         * config.host (sparc-wrs-vxworks): New target.
13115 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
13117         * config.host: Recognize fido.
13119 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
13121         * configure: Check host, not target, for decimal float support.
13123 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
13125         * config/i386/t-crtpc: New file.
13126         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
13127         (x86_64-*-linux*): Ditto.
13129 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
13131         * config.host (x86_64-*-mingw*): New target.
13133 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
13134             H.J. Lu  <hongjiu.lu@intel.com>
13136         * Makefile.in (enable_decimal_float): New.
13137         (DECNUMINC): Add
13138         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
13139         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
13140         (decbits-filenames): This.
13141         (decbits-objects): New.
13142         (libgcc-objects): Add $(decbits-objects).
13144         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
13145         Substitute enable_decimal_float.
13146         * configure: Regenerated.
13148 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
13150         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
13152 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
13154         * Makefile.in (install-info): New dummy target.
13156 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
13158         * config.host (bfin*-linux-uclibc*): Set extra_parts.
13160 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
13162         * Makefile.in: Add install-html and install-pdf dummy
13163         targets.
13165 2007-02-05  Roger Sayle  <roger@eyesopen.com>
13166             Daniel Jacobowitz  <dan@codesourcery.com>
13168         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
13169         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
13170         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
13172 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
13174         * Makefile.in (dec-filenames): Add decExcept.
13176 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
13178         PR bootstrap/30469
13179         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
13180         -fprofile-use.
13182 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
13184         * configure.ac: Add --enable-version-specific-runtime-libs.
13185         Correct $slibdir default.
13186         * configure: Regenerated.
13188 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
13190         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
13192 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
13194         PR target/30519
13195         * config.host (alpha*-*-linux*): Set extra_parts.
13197 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
13199         * config/sh/t-linux: New.
13200         * config.host (sh*-*-linux*): Set tmake_file.
13202 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
13204         * Makefile.in (install): Handle multilibs.
13206 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
13208         * Makefile.in: Added .PHONY entry for documentation targets.
13210 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
13212         * Makefile.in: Add empty info, html, dvi, pdf targets.
13214 2007-01-04  Mike Stump  <mrs@apple.com>
13216         * Makefile.in (MAKEINFO): Remove.
13217         (PERL): Likewise.
13219 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
13221         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
13222         * configure: Regenerate.
13223         * Makefile.in (host_subdir): Substitute it.
13224         (gcc_objdir): Use it.
13226 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
13228         * config.host (ia64*-*-linux*): Set tmake_file.
13230 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
13232         * Makefile.in (version): Define.
13234 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
13235             Paolo Bonzini  <bonzini@gnu.org>
13237         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
13238         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
13239         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
13240         config/sparc/t-crtfm, config/t-slibgcc-darwin,
13241         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
13242         shared-object.mk, siditi-object.mk, static-object.mk: New files.
13243         * configure: Generated.
13245 Copyright (C) 2007-2023 Free Software Foundation, Inc.
13247 Copying and distribution of this file, with or without modification,
13248 are permitted in any medium without royalty provided the copyright
13249 notice and this notice are preserved.