libgo: update configure.ac to upstream GCC
[official-gcc.git] / libgcc / ChangeLog
blob33938e48906f0c98f91e3b9e7f3451a2724a1128
1 2023-11-27  Richard Earnshaw  <rearnsha@arm.com>
3         * config/arm/lib1funcs.S (__sync_synchronize): Adjust warning message.
5 2023-11-24  Richard Earnshaw  <rearnsha@arm.com>
7         * config.host (arm*-*-eabi* | arm*-*-rtems*):
8         Add arm/t-sync to the makefile rules.
9         * config/arm/lib1funcs.S (__sync_synchronize_none)
10         (__sync_synchronize_cp15dmb, __sync_synchronize_dmb)
11         (__sync_synchronize): New functions.
12         * config/arm/t-sync: New file.
13         * config/arm/sync-none.specs: Likewise.
14         * config/arm/sync-dmb.specs: Likewise.
15         * config/arm/sync-cp15dmb.specs: Likewise.
17 2023-11-23  Jose E. Marchesi  <jose.marchesi@oracle.com>
19         * hardcfr.c (__hardcfr_check_fail): Mark as always_inline.
21 2023-11-21  Jakub Jelinek  <jakub@redhat.com>
23         * libgcov.h (GCOV_SUPPORTS_ATOMIC): Formatting fixes.
25 2023-11-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
27         * libgcov.h (GCOV_SUPPORTS_ATOMIC): Always define it.
28         Set it also to 1, if __LIBGCC_HAVE_LIBATOMIC is defined.
30 2023-11-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
32         Revert:
33         2023-11-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
35         * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
36         (gcov_type_unsigned): Likewise.
38 2023-11-10  Keith Packard  <keithp@keithp.com>
40         * config/m68k/lb1sf68.S (__adddf3): Properly check for non-zero denorm.
41         (__divdf3): Restore sign bit properly.
42         (__addsf3): Correct exponent check.
43         * config/m68k/fpgnulib.c (EXPMASK): Define.
44         (__extendsfdf2): Handle Inf and NaN properly.
45         (__truncdfsf2): Handle underflow and overflow correctly.
46         (__extenddfxf2): Handle underflow, denorms, Inf and NaN correctly.
47         (__truncxfdf2): Handle underflow and denorms correctly.
48         (__fixxfsi): Reimplement.
50 2023-11-09  Jakub Jelinek  <jakub@redhat.com>
52         PR libgcc/65833
53         * config/t-softfp (softfp_bid_list): Add
54         {U,}TItype <-> _Decimal{32,64,128} conversions.
55         * soft-fp/floattisd.c: New file.
56         * soft-fp/floattidd.c: New file.
57         * soft-fp/floattitd.c: New file.
58         * soft-fp/floatuntisd.c: New file.
59         * soft-fp/floatuntidd.c: New file.
60         * soft-fp/floatuntitd.c: New file.
61         * soft-fp/fixsdti.c: New file.
62         * soft-fp/fixddti.c: New file.
63         * soft-fp/fixtdti.c: New file.
64         * soft-fp/fixunssdti.c: New file.
65         * soft-fp/fixunsddti.c: New file.
66         * soft-fp/fixunstdti.c: New file.
68 2023-11-07  Kwok Cheung Yeung  <kcy@codesourcery.com>
70         * offloadstuff.c (OFFLOAD_IND_FUNC_TABLE_SECTION_NAME): New.
71         (__offload_ind_func_table): New.
72         (__offload_ind_funcs_end): New.
73         (__OFFLOAD_TABLE__): Add entries for indirect functions.
75 2023-11-03  Thomas Schwinge  <thomas@codesourcery.com>
77         * config/gcn/gthr-gcn.h (__gthread_getspecific): 's%NULL%0'.
79 2023-10-31  Alexandre Oliva  <oliva@adacore.com>
81         * hardcfr.c: Adjust copyright year.
83 2023-10-24  Sergei Trofimovich  <siarheit@google.com>
85         * config/aarch64/heap-trampoline.c: Disable when libc is not
86         present.
87         * config/i386/heap-trampoline.c: Ditto.
89 2023-10-22  Iain Sandoe  <iain@sandoe.co.uk>
91         * config/t-slibgcc-darwin: Generate libgcc_s
92         with an @rpath name.
93         * config.host: Handle Darwin rpaths.
94         * config/t-darwin-rpath: New file.
96 2023-10-22  Andrew Burgess  <andrew.burgess@embecosm.com>
97             Maxim Blinov  <maxim.blinov@embecosm.com>
98             Iain Sandoe  <iain@sandoe.co.uk>
99             Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
101         * libgcc2.h (__builtin_nested_func_ptr_created): Declare.
102         (__builtin_nested_func_ptr_deleted): Declare.
103         * libgcc-std.ver.in: Add the new symbols.
104         * config/aarch64/heap-trampoline.c: Implement heap-based
105         trampolines for aarch64.
106         * config/aarch64/t-heap-trampoline: Add rule to build
107         config/aarch64/heap-trampoline.c
108         * config/i386/heap-trampoline.c: Implement heap-based
109         trampolines for x86_64.
110         * config/i386/t-heap-trampoline: Add rule to build
111         config/i386/heap-trampoline.cc
112         * config.host: Handle --enable-heap-trampolines on
113         x86_64-*-linux*, aarch64-*-linux*, x86_64-*-darwin*.
115 2023-10-20  Andrew Stubbs  <ams@codesourcery.com>
117         * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Set false for __RDNA2__.
119 2023-10-20  Alexandre Oliva  <oliva@adacore.com>
121         * Makefile.in (LIB2ADD): Add hardcfr.c.
122         * hardcfr.c: New.
124 2023-10-13  Florian Weimer  <fweimer@redhat.com>
126         * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Add
127         missing cast.
129 2023-10-13  Florian Weimer  <fweimer@redhat.com>
131         * config/arc/linux-unwind.h (arc_fallback_frame_state): Add
132         missing cast.
134 2023-10-13  Florian Weimer  <fweimer@redhat.com>
136         * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Add
137         missing cast.
139 2023-10-13  Florian Weimer  <fweimer@redhat.com>
141         * config/csky/linux-unwind.h (csky_fallback_frame_state): Add
142         missing cast.
144 2023-10-13  Florian Weimer  <fweimer@redhat.com>
146         * config/m68k/fpgnulib.c (__cmpdf2): Declare.
148 2023-09-26  Wilco Dijkstra  <wilco.dijkstra@arm.com>
150         * config/aarch64/lse.S (BTI_C): Remove define.
152 2023-09-20  Pekka Seppänen  <pexu@gcc.mail.kapsi.fi>
154         * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key):
155         Use const unsigned type and a builtin.
157 2023-09-06  Jakub Jelinek  <jakub@redhat.com>
159         PR c/102989
160         * libgcc2.c (bitint_negate): Add function comment.
161         * soft-fp/bitint.h (bitint_negate): Add function comment.
162         (FP_TO_BITINT, FP_FROM_BITINT): Add comment explaining the macros.
164 2023-09-06  Jakub Jelinek  <jakub@redhat.com>
166         PR c/102989
167         * config/aarch64/t-softfp (softfp_extras): Use += rather than :=.
168         * config/i386/64/t-softfp (softfp_extras): Likewise.
169         * config/i386/libgcc-glibc.ver (GCC_14.0.0): Export _BitInt support
170         routines.
171         * config/i386/t-softfp (softfp_extras): Add fixxfbitint and
172         bf, hf and xf mode floatbitint.
173         (CFLAGS-floatbitintbf.c, CFLAGS-floatbitinthf.c): Add -msse2.
174         * config/riscv/t-softfp32 (softfp_extras): Use += rather than :=.
175         * config/rs6000/t-e500v1-fp (softfp_extras): Likewise.
176         * config/rs6000/t-e500v2-fp (softfp_extras): Likewise.
177         * config/t-softfp (softfp_floatbitint_funcs): New.
178         (softfp_bid_list): New.
179         (softfp_func_list): Add sf and df mode from and to _BitInt libcalls.
180         (softfp_bid_file_list): New.
181         (LIB2ADD_ST): Add $(softfp_bid_file_list).
182         * config/t-softfp-sfdftf (softfp_extras): Add fixtfbitint and
183         floatbitinttf.
184         * config/t-softfp-tf (softfp_extras): Likewise.
185         * libgcc2.c (bitint_reduce_prec): New inline function.
186         (BITINT_INC, BITINT_END): Define.
187         (bitint_mul_1, bitint_addmul_1): New helper functions.
188         (__mulbitint3): New function.
189         (bitint_negate, bitint_submul_1): New helper functions.
190         (__divmodbitint4): New function.
191         * libgcc2.h (LIBGCC2_UNITS_PER_WORD): When building _BitInt support
192         libcalls, redefine depending on __LIBGCC_BITINT_LIMB_WIDTH__.
193         (__mulbitint3, __divmodbitint4): Declare.
194         * libgcc-std.ver.in (GCC_14.0.0): Export _BitInt support routines.
195         * Makefile.in (lib2funcs): Add _mulbitint3.
196         (LIB2_DIVMOD_FUNCS): Add _divmodbitint4.
197         * soft-fp/bitint.h: New file.
198         * soft-fp/fixdfbitint.c: New file.
199         * soft-fp/fixsfbitint.c: New file.
200         * soft-fp/fixtfbitint.c: New file.
201         * soft-fp/fixxfbitint.c: New file.
202         * soft-fp/floatbitintbf.c: New file.
203         * soft-fp/floatbitintdf.c: New file.
204         * soft-fp/floatbitinthf.c: New file.
205         * soft-fp/floatbitintsf.c: New file.
206         * soft-fp/floatbitinttf.c: New file.
207         * soft-fp/floatbitintxf.c: New file.
208         * soft-fp/op-common.h (_FP_FROM_INT): Add support for rsize up to
209         4 * _FP_W_TYPE_SIZE rather than just 2 * _FP_W_TYPE_SIZE.
210         * soft-fp/bitintpow10.c: New file.
211         * soft-fp/fixsdbitint.c: New file.
212         * soft-fp/fixddbitint.c: New file.
213         * soft-fp/fixtdbitint.c: New file.
214         * soft-fp/floatbitintsd.c: New file.
215         * soft-fp/floatbitintdd.c: New file.
216         * soft-fp/floatbitinttd.c: New file.
218 2023-09-06  Jakub Jelinek  <jakub@redhat.com>
220         PR c/102989
221         * soft-fp/bitintpow10.h: New file.
223 2023-09-05  Yang Yujie  <yangyujie@loongson.cn>
225         * config.host: add loongarch*-elf target.
227 2023-08-11  Thomas Neumann  <thomas.neumann@in.tum.de>
229         PR libgcc/110956
230         * unwind-dw2-fde.c: Associate object with address of unwinding
231         table.
233 2023-08-07  John Ericson  <git@JohnEricson.me>
235         * configure: Regenerate.
237 2023-08-07  Alan Modra  <amodra@gmail.com>
239         * configure: Regenerate.
241 2023-07-23  Andrew Pinski  <apinski@marvell.com>
243         * config.host (riscv*-*-linux*): Add t-crtstuff to tmake_file.
244         (riscv*-*-freebsd*): Likewise.
245         * config/riscv/t-crtstuff: New file.
247 2023-07-19  liuhongt  <hongtao.liu@intel.com>
249         * config/i386/t-softfp: Add -msse2 to libbid HFtype related
250         files.
252 2023-07-11  Florian Weimer  <fweimer@redhat.com>
254         PR libgcc/110179
255         * unwind-dw2-fde-dip.c (find_fde_tail): Add cast to avoid
256         implicit conversion of pointer value to integer.
258 2023-07-06  Kito Cheng  <kito.cheng@sifive.com>
260         * config/riscv/sfp-machine.h (FP_INIT_ROUNDMODE): Check zfinx.
261         (FP_HANDLE_EXCEPTIONS): Ditto.
263 2023-06-19  Andrew Stubbs  <ams@codesourcery.com>
265         * config/gcn/lib2-divmod-di.c: Reimplement like lib2-divmod.c.
266         * config/gcn/lib2-divmod.c: Likewise.
267         * config/gcn/lib2-gcn.h: Add new types and prototypes for all the
268         new vector libfuncs.
269         * config/gcn/t-amdgcn: Add new files.
270         * config/gcn/amdgcn_veclib.h: New file.
271         * config/gcn/lib2-vec_divmod-di.c: New file.
272         * config/gcn/lib2-vec_divmod-hi.c: New file.
273         * config/gcn/lib2-vec_divmod-qi.c: New file.
274         * config/gcn/lib2-vec_divmod.c: New file.
276 2023-06-19  Andrew Stubbs  <ams@codesourcery.com>
278         * config/gcn/lib2-gcn.h (QItype, UQItype, HItype, UHItype): Delete.
279         (__divhi3, __modhi3, __udivhi3, __umodhi3): Delete.
280         * config/gcn/t-amdgcn: Don't build lib2-divmod-hi.c.
281         * config/gcn/lib2-divmod-hi.c: Removed.
283 2023-06-07  Florian Weimer  <fweimer@redhat.com>
285         PR libgcc/109712
286         * unwind-dw2-fde-dip.c (find_fde_tail): Correct fast path for
287         parsing eh_frame.
289 2023-06-05  Kewen Lin  <linkw@linux.ibm.com>
291         * config/i386/morestack.S: Use @init_array rather than
292         @progbits for section type of section .init_array.
293         * config/rs6000/morestack.S: Likewise.
294         * config/s390/morestack.S: Likewise.
296 2023-06-05  YunQiang Su  <yunqiang.su@cipunited.com>
298         * config/mips/lib1funcs.S: New file.
299         define __speculation_barrier and include mips16.S.
300         * config/mips/t-mips: define LIB1ASMSRC as mips/lib1funcs.S.
301         define LIB1ASMFUNCS as _speculation_barrier.
302         set version info for __speculation_barrier.
303         * config/mips/libgcc-mips.ver: New file.
304         * config/mips/t-mips16: don't define LIB1ASMSRC as mips16.S
305         included in lib1funcs.S now.
307 2023-06-03  Thomas Neumann  <tneumann@users.sourceforge.net>
309         PR libgcc/109670
310         * unwind-dw2-fde.c: Fix radix sort buffer management.
312 2023-06-03  Thomas Neumann  <tneumann@users.sourceforge.net>
314         PR libgcc/109685
315         * unwind-dw2-fde.c: Free sort array in atomic fast path.
317 2023-05-19  Iain Sandoe  <iain@sandoe.co.uk>
319         * config.host: Arrange to set min Darwin OS versions from
320         the configured host version.
321         * config/darwin10-unwind-find-enc-func.c: Do not use current
322         headers, but declare the nexessary structures locally to the
323         versions in use for Mac OSX 10.6.
324         * config/t-darwin: Amend to handle configured min OS
325         versions.
326         * config/t-darwin-min-1: New.
327         * config/t-darwin-min-5: New.
328         * config/t-darwin-min-8: New.
330 2023-05-15  Thomas Neumann  <tneumann@users.sourceforge.net>
332         * unwind-dw2-fde.c: Fix assert in non-atomic path.
334 2023-05-15  Sören Tempel  <soeren+git@soeren-tempel.net>
336         * unwind-dw2-fde.c: Accept empty ranges when deregistering frames.
338 2023-05-02  Patrick O'Neill  <patrick@rivosinc.com>
340         * config/riscv/atomic.c: Change LR.aq/SC.rl pairs into
341         sequentially consistent LR.aqrl/SC.rl pairs.
343 2023-05-01  Dimitar Dimitrov  <dimitar@dinux.eu>
345         * config/pru/t-pru (HOST_LIBGCC2_CFLAGS): Add
346         -DTARGET_HAS_NO_HW_DIVIDE.
348 2023-04-27  Hans-Peter Nilsson  <hp@axis.com>
350         * config/cris/t-cris (HOST_LIBGCC2_CFLAGS): Add
351         -DTARGET_HAS_NO_HW_DIVIDE.
353 2023-04-26  Patrick O'Neill  <patrick@rivosinc.com>
355         PR target/104338
356         * config/riscv/atomic.c: Add reference to duplicate logic.
358 2023-04-08  Tetsuma Hoshino  <t-hoshino@pony-e.jp>
360         PR target/109402
361         * config/v850/lib1funcs.S (___muldi3): Remove unnecessary
362         stack manipulations.
364 2023-04-05  John David Anglin  <danglin@gcc.gnu.org>
366         PR target/109374
367         * config/pa/milli64.S (RETURN_COLUMN): Define.
368         ($$divI): Add CFI directives.
369         ($$divU): Likewise.
370         ($$remI): Likewise.
371         ($$remU): Likewise.
373 2023-03-19  Stafford Horne  <shorne@gmail.com>
375         * config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
376         statement clearing existing exceptions.
378 2023-03-13  Max Filippov  <jcmvbkbc@gmail.com>
380         * config/xtensa/crti.S: Add .note.GNU-stack section on linux.
381         * config/xtensa/crtn.S: Likewise.
382         * config/xtensa/lib1funcs.S: Likewise.
383         * config/xtensa/lib2funcs.S: Likewise.
385 2023-03-12  Jakub Jelinek  <jakub@redhat.com>
387         * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
388         (softfp_truncations): Add tfbf dfbf sfbf hfbf.
389         (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
390         * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
391         __extendbfsf2 and __trunc{s,d,t,h}fbf2.
392         * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
393         * soft-fp/floatundibf.c: New file.
394         * soft-fp/floatdibf.c: New file.
396 2023-03-10  Jakub Jelinek  <jakub@redhat.com>
398         PR target/107703
399         * soft-fp/floattibf.c: New file.
400         * soft-fp/floatuntibf.c: New file.
401         * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
402         * config/i386/64/t-softfp (softfp_extras): Add floattibf and
403         floatuntibf.
404         (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
406 2023-03-08  Kewen Lin  <linkw@linux.ibm.com>
408         PR libgcc/108727
409         * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
410         bump size.
412 2023-03-06   Michael Meissner  <meissner@linux.ibm.com>
414         PR target/107299
415         * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
416         whether long double is IBM or IEEE.
417         (INFINITY): Likewise.
418         (FABS): Likewise.
419         * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
420         (INFINITY): Likewise.
421         * config/rs6000/quad-float128.h (TF): Remove definition.
422         (TFtype): Define to be long double or _Float128.
423         (TCtype): Define to be _Complex long double or _Complex _Float128.
424         * libgcc2.h (TFtype): Allow machine config files to override this.
425         (TCtype): Likewise.
426         * soft-fp/quad.h (TFtype): Likewise.
428 2023-02-13  Kito Cheng  <kito.cheng@sifive.com>
430         * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
431         * config/riscv/value-unwind.h: New.
433 2023-02-03  Christophe Lyon  <christophe.lyon@arm.com>
435         * config/arm/pr-support.c (__gnu_unwind_execute): Use
436         TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
438 2023-01-30  Flavio Cruz  <flaviocruz@gmail.com>
440         * config.host: Recognize x86_64-*-gnu* targets.
441         * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
442         TODO for now.
444 2023-01-23  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
446         * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
447         "0xb5".
449 2023-01-23  Andrea Corallo  <andrea.corallo@arm.com>
450             Tejas Belagod   <tbelagod@arm.com>
451             Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
453         * config/arm/pr-support.c (__gnu_unwind_execute): Decode
454         exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
455         with AUTG if found.
456         * config/arm/unwind-arm.c (struct pseudo_regs): New.
457         (phase1_vrs): Introduce new field to store pseudo-reg state.
458         (phase2_vrs): Likewise.
459         (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
460         (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
461         (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
463 2023-01-18  Wilco Dijkstra  <wilco.dijkstra@arm.com>
465         PR target/107678
466         * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
467         * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
468         * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
469         encode the return address signing state.
470         * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
471         Check current return address signing state.
472         (aarch64_frob_update_contex): Remove.
474 2023-01-13  John David Anglin  <danglin@gcc.gnu.org>
476         * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
477         pa/t-pa64-linux.
478         (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
479         instead of pa/t-hpux and pa/t-pa64.
480         * config/pa/linux-atomic.c: Define u32 type.
481         (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
482         atomic_load_2, atomic_load_4 and atomic_load_8.  Update sync
483         defines to use atomic_load calls for type.
484         (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
485         * config/pa/sync-libfuncs.c: New file.
486         * config/pa/t-netbsd (LIB2ADD_ST): Define.
487         * config/pa/t-openbsd (LIB2ADD_ST): Define.
488         * config/pa/t-pa64-hpux: New file.
489         * config/pa/t-pa64-linux: New file.
491 2023-01-13  Jonathan Wakely  <jwakely@redhat.com>
493         PR libstdc++/108331
494         * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
495         struct matching the previous __gthread_mutex_t struct.
496         (__GTHREAD_LEGACY_MUTEX_T): Define.
498 2023-01-13  Seija Kijin  <doremylover456@gmail.com>
500         * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
501         unified syntax.
503 2023-01-07  LIU Hao  <lh_mouse@126.com>
505         PR middle-end/108300
506         * config/i386/enable-execute-stack-mingw32.c: Define
507         `WIN32_LEAN_AND_MEAN` before <windows.h>.
508         * libgcc2.c: Likewise.
509         * unwind-generic.h: Likewise.
511 2023-01-03  Florian Weimer  <fweimer@redhat.com>
513         * unwind-dw2-execute_cfa.h: New file.  Extracted from
514         the execute_cfa_program function in unwind-dw2.c.
515         * unwind-dw2.c (execute_cfa_program_generic): New function.
516         (execute_cfa_program_specialized): Likewise.
517         (execute_cfa_program): Call execute_cfa_program_specialized
518         or execute_cfa_program_generic, as appropriate.
520 2023-01-03  Florian Weimer  <fweimer@redhat.com>
522         Revert:
523         2023-01-03  Florian Weimer  <fweimer@redhat.com>
525         * unwind-dw2.c (dwarf_reg_size): New function.
526         (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
527         (_Unwind_SetSpColumn, uw_install_context_1): Use it.
528         (uw_init_context_1): Do not initialize dwarf_reg_size_table
529         if not in use.
531 2023-01-03  Florian Weimer  <fweimer@redhat.com>
533         Revert:
534         2023-01-03  Florian Weimer  <fweimer@redhat.com>
536         * unwind-dw2-execute_cfa.h: New file.  Extracted from
537         the execute_cfa_program function in unwind-dw2.c.
538         * unwind-dw2.c (execute_cfa_program_generic): New function.
539         (execute_cfa_program_specialized): Likewise.
540         (execute_cfa_program): Call execute_cfa_program_specialized
541         or execute_cfa_program_generic, as appropriate.
543 2023-01-02  Florian Weimer  <fweimer@redhat.com>
545         * unwind-dw2-execute_cfa.h: New file.  Extracted from
546         the execute_cfa_program function in unwind-dw2.c.
547         * unwind-dw2.c (execute_cfa_program_generic): New function.
548         (execute_cfa_program_specialized): Likewise.
549         (execute_cfa_program): Call execute_cfa_program_specialized
550         or execute_cfa_program_generic, as appropriate.
552 2023-01-02  Florian Weimer  <fweimer@redhat.com>
554         * unwind-dw2.c (dwarf_reg_size): New function.
555         (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
556         (_Unwind_SetSpColumn, uw_install_context_1): Use it.
557         (uw_init_context_1): Do not initialize dwarf_reg_size_table
558         if not in use.
560 2022-12-25  Jonathan Yong  <10walls@gmail.com>
562         * config/i386/gthr-win32.h: undef CC_NONE
564 2022-12-24  Iain Sandoe  <iain@sandoe.co.uk>
566         * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
567         install of libgcc_s.1.dylib when the installation is into the build
568         gcc directory.
570 2022-12-23  Eric Botcazou  <ebotcazou@adacore.com>
572         * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
573         as well as new i386/t-slibgcc-mingw fragment.
574         (x86_64-*-mingw*): Likewise.
575         * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
576         both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
577         Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
578         Include stdlib.h instead of errno.h and do not include _mingw.h.
579         (CONST_CAST2): Add specific definition for C++.
580         (ATTRIBUTE_UNUSED): New macro.
581         (__UNUSED_PARAM): Delete.
582         Define WIN32_LEAN_AND_MEAN before including windows.h.
583         (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
584         (__gthread_objc_init_thread_system): Likewise.
585         (__gthread_objc_thread_get_data): Minor tweak.
586         (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
587         (__gthread_objc_condition_deallocate): Likewise.
588         (__gthread_objc_condition_wait): Likewise.
589         (__gthread_objc_condition_broadcast): Likewise.
590         (__gthread_objc_condition_signal): Likewise.
591         Include sys/time.h.
592         (__gthr_win32_DWORD): New typedef.
593         (__gthr_win32_HANDLE): Likewise.
594         (__gthr_win32_CRITICAL_SECTION): Likewise.
595         (__gthr_win32_CONDITION_VARIABLE): Likewise.
596         (__gthread_t): Adjust.
597         (__gthread_key_t): Likewise.
598         (__gthread_mutex_t): Likewise.
599         (__gthread_recursive_mutex_t): Likewise.
600         (__gthread_cond_t): New typedef.
601         (__gthread_time_t): Likewise.
602         (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
603         (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
604         (__GTHREAD_COND_INIT_FUNCTION): Define.
605         (__GTHREAD_TIME_INIT): Likewise.
606         (__gthr_i486_lock_cmp_xchg): Delete.
607         (__gthr_win32_create): Declare.
608         (__gthr_win32_join): Likewise.
609         (__gthr_win32_self): Likewise.
610         (__gthr_win32_detach): Likewise.
611         (__gthr_win32_equal): Likewise.
612         (__gthr_win32_yield): Likewise.
613         (__gthr_win32_mutex_destroy): Likewise.
614         (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
615         (__gthr_win32_cond_broadcast): Likewise.
616         (__gthr_win32_cond_signal): Likewise.
617         (__gthr_win32_cond_wait): Likewise.
618         (__gthr_win32_cond_timedwait): Likewise.
619         (__gthr_win32_recursive_mutex_init_function): Delete.
620         (__gthr_win32_recursive_mutex_lock): Likewise.
621         (__gthr_win32_recursive_mutex_unlock): Likewise.
622         (__gthr_win32_recursive_mutex_destroy): Likewise.
623         (__gthread_create): New inline function.
624         (__gthread_join): Likewise.
625         (__gthread_self): Likewise.
626         (__gthread_detach): Likewise.
627         (__gthread_equal): Likewise.
628         (__gthread_yield): Likewise.
629         (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
630         (__gthread_cond_broadcast): Likewise.
631         (__gthread_cond_signal): Likewise.
632         (__gthread_cond_wait): Likewise.
633         (__gthread_cond_timedwait): Likewise.
634         (__GTHREAD_WIN32_INLINE): New macro.
635         (__GTHREAD_WIN32_COND_INLINE): Likewise.
636         (__GTHREAD_WIN32_ACTIVE_P): Likewise.
637         Define WIN32_LEAN_AND_MEAN before including windows.h.
638         (__gthread_once): Minor tweaks.
639         (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
640         (__gthread_key_delete): Minor tweak.
641         (__gthread_getspecific): Likewise.
642         (__gthread_setspecific): Likewise.
643         (__gthread_mutex_init_function): Reimplement.
644         (__gthread_mutex_destroy): Likewise.
645         (__gthread_mutex_lock): Likewise.
646         (__gthread_mutex_trylock): Likewise.
647         (__gthread_mutex_unlock): Likewise.
648         (__gthr_win32_abs_to_rel_time): Declare.
649         (__gthread_recursive_mutex_init_function): Reimplement.
650         (__gthread_recursive_mutex_destroy): Likewise.
651         (__gthread_recursive_mutex_lock): Likewise.
652         (__gthread_recursive_mutex_trylock): Likewise.
653         (__gthread_recursive_mutex_unlock): Likewise.
654         (__gthread_cond_destroy): New inline function.
655         (__gthread_cond_wait_recursive): Likewise.
656         * config/i386/gthr-win32.c: Delete everything.
657         Include gthr-win32.h to get the out-of-line version of inline routines.
658         Add compile-time checks for the local version of the Win32 types.
659         * config/i386/gthr-win32-cond.c: New file.
660         * config/i386/gthr-win32-thread.c: Likewise.
661         * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
662         EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
663         the static version of libgcc.
664         * config/i386/t-slibgcc-mingw: New file.
665         * config/i386/libgcc-mingw.ver: Likewise.
667 2022-12-16  Thomas Neumann  <tneumann@users.sourceforge.net>
669         * unwind-dw2-fde.c: Initialize fde object lazily when
670         the first exception tries to pass through.
672 2022-12-16  Thomas Neumann  <tneumann@users.sourceforge.net>
674         * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
676 2022-12-08  Max Filippov  <jcmvbkbc@gmail.com>
678         * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
679         (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
680         (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
681         (XSHAL_ABI): Remove stray symbols from macro definitions.
683 2022-12-07  Max Filippov  <jcmvbkbc@gmail.com>
685         * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
686         xtensa-config-builtin.h.
687         * config/xtensa/crtn.S: Likewise.
688         * config/xtensa/lib1funcs.S: Likewise.
689         * config/xtensa/lib2funcs.S: Likewise.
690         * config/xtensa/xtensa-config-builtin.h: New File.
692 2022-11-04  Florian Weimer  <fweimer@redhat.com>
694         * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
695         values actually used by BFD ld.
697 2022-10-23  LIU Hao  <lh_mouse@126.com>
699         * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
700         libobjc, instead of 'gthr.h'
702 2022-10-19  LIU Hao  <lh_mouse@126.com>
704         * config.host: Add new cases for `mcf` thread model
705         * config/i386/gthr-mcf.h: New file
706         * config/i386/t-mingw-mcfgthread: New file
707         * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
708         * configure: Regenerate
710 2022-10-18  Jonathan Wakely  <jwakely@redhat.com>
712         * Makefile.in: Quote variable.
714 2022-10-17  H.J. Lu  <hjl.tools@gmail.com>
716         * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
717         argument.
718         * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
719         _Unwind_Frames_Increment.
720         (_Unwind_ForcedUnwind_Phase2): Likewise.
721         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
722         Take the EXC argument.  Return _URC_FATAL_PHASE2_ERROR if the
723         return address on normal stack doesn't match the return address
724         on shadow stack.
726 2022-10-17  Florian Weimer  <fweimer@redhat.com>
728         * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
729         and reduce its size.
731 2022-10-14  Jakub Jelinek  <jakub@redhat.com>
733         * config/i386/t-softfp (softfp_extensions): Add bfsf.
734         (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
735         (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
736         CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
737         -msse2.
738         * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
739         __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
740         * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
741         * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
742         * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
743         * soft-fp/brain.h: New file.
744         * soft-fp/truncsfbf2.c: New file.
745         * soft-fp/truncdfbf2.c: New file.
746         * soft-fp/truncxfbf2.c: New file.
747         * soft-fp/trunctfbf2.c: New file.
748         * soft-fp/trunchfbf2.c: New file.
749         * soft-fp/truncbfhf2.c: New file.
750         * soft-fp/extendbfsf2.c: New file.
752 2022-10-12  Martin Liska  <mliska@suse.cz>
754         * libgcov-driver.c: Use new function.
755         * libgcov.h (gcov_write_summary): Rename to ...
756         (gcov_write_object_summary): ... this.
758 2022-10-11  Olivier Hainque  <hainque@adacore.com>
760         * config.host (*vxworks*): When enable_shared, add
761         libgcc and crtstuff "shared" fragments for rtp except
762         large code model.
763         (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
764         the list of fragments.
766 2022-10-06  Jakub Jelinek  <jakub@redhat.com>
768         * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
769         fs->regs.how[X] instead of fs->regs.reg[X].how.
771 2022-10-06  Jakub Jelinek  <jakub@redhat.com>
773         * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
774         REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
775         REG_UNDEFINED): New anonymous enum, moved from inside of
776         struct frame_state_reg_info.
777         (struct frame_state_reg_info): Remove reg[].how element and the
778         anonymous enum there.  Add how element.
779         * unwind-dw2.c: Include stddef.h.
780         (uw_frame_state_for): Don't clear first
781         offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
782         (execute_cfa_program, __frame_state_for, uw_update_context_1,
783         uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
784         or fs.regs.how[X] instead of fs.regs.reg[X].how.
785         * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
786         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
787         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
788         * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
789         UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
790         Likewise.
791         * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
792         Likewise.
793         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
794         * config/arc/linux-unwind.h (arc_fallback_frame_state,
795         arc_frob_update_context): Likewise.
796         * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
797         * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
798         * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
799         * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
800         * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
801         * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
802         MD_FALLBACK_FRAME_STATE_FOR): Likewise.
803         * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
804         sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
805         * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
806         x86_fallback_frame_state): Likewise.
807         * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
808         * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
809         x86_fallback_frame_state): Likewise.
810         * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
811         Likewise.
812         * config/i386/dragonfly-unwind.h
813         (x86_64_dragonfly_fallback_frame_state): Likewise.
814         * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
815         * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
816         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
817         Likewise.
818         * config/aarch64/freebsd-unwind.h
819         (aarch64_freebsd_fallback_frame_state): Likewise.
820         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
821         Likewise.
822         * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
823         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
824         * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
825         Likewise.
826         * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
827         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
828         Likewise.
829         * config/rs6000/darwin-fallback.c (set_offset): Likewise.
830         * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
831         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
832         * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
834 2022-10-02  Olivier Hainque  <hainque@adacore.com>
836         * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment.  Move
837         -I options for gcc/include and gcc/include-fixed at the end
838         and make them -isystem.
840 2022-10-02  Olivier Hainque  <hainque@adacore.com>
842         * config/gthr-vxworks.h: Prevent Wpragma warning for the
843         pragma diagnostics on Wstrict-prototypes.
845 2022-09-29  Olivier Hainque  <hainque@adacore.com>
847         * config/vxcrtstuff.c: Improve the comment attached to the use
848         of auto-host.h and of __dso_handle.  Remove redundant guard on
849         HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
851 2022-09-26  Thomas Neumann  <tneumann@users.sourceforge.net>
853         * unwind-dw2-fde.c: Introduce a constant for in_shutdown
854         for the non-fast-path case. Drop destructor priority.
856 2022-09-22  Thomas Neumann  <tneumann@users.sourceforge.net>
858         * unwind-dw2-fde.c: (release_register_frames) Remember
859         when the btree has been destroyed.
860         (__deregister_frame_info_bases) Disable the assert when
861         shutting down.
863 2022-09-18  Thomas Neumann  <tneumann@users.sourceforge.net>
865         * unwind-dw2-fde.c: Replace uintptr_t with typedef
866         for __UINTPTR_TYPE__.
867         * unwind-dw2-btree.h: Likewise.
869 2022-09-16  Thomas Neumann  <tneumann@users.sourceforge.net>
871         * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
872         (__register_frame_info_table_bases): Use btree in atomic fast path.
873         (__deregister_frame_info_bases): Likewise.
874         (_Unwind_Find_FDE): Likewise.
875         (base_from_object): Make parameter const.
876         (classify_object_over_fdes): Add query-only mode.
877         (get_pc_range): Compute PC range for lookup.
878         * unwind-dw2-fde.h (last_fde): Make parameter const.
879         * unwind-dw2-btree.h: New file.
881 2022-08-31  Martin Liska  <mliska@suse.cz>
883         * config.host: Remove hppa.
885 2022-08-30  Martin Liska  <mliska@suse.cz>
887         * config.host: Remove the port.
889 2022-08-26  Martin Liska  <mliska@suse.cz>
891         * config.host: Remove cr16 related stuff.
892         * config/cr16/crti.S: Removed.
893         * config/cr16/crtlibid.S: Removed.
894         * config/cr16/crtn.S: Removed.
895         * config/cr16/divmodhi3.c: Removed.
896         * config/cr16/lib1funcs.S: Removed.
897         * config/cr16/t-cr16: Removed.
898         * config/cr16/t-crtlibid: Removed.
899         * config/cr16/unwind-cr16.c: Removed.
900         * config/cr16/unwind-dw2.h: Removed.
902 2022-08-16  Kito Cheng  <kito.cheng@sifive.com>
904         * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
905         (_FP_NANFRAC_H): Ditto.
906         (_FP_NANSIGN_H): Ditto.
907         * config/riscv/t-softfp32 (softfp_extensions): Add HF related
908         routines.
909         (softfp_truncations): Ditto.
910         (softfp_extras): Ditto.
911         * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
913 2022-08-16  Kito Cheng  <kito.cheng@sifive.com>
915         * soft-fp/fixhfdi.c: New.
916         * soft-fp/fixhfsi.c: Likewise.
917         * soft-fp/fixunshfdi.c: Likewise.
918         * soft-fp/fixunshfsi.c: Likewise.
919         * soft-fp/floatdihf.c: Likewise.
920         * soft-fp/floatsihf.c: Likewise.
921         * soft-fp/floatundihf.c: Likewise.
922         * soft-fp/floatunsihf.c: Likewise.
923         * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
924         lines and update URL for license.
925         * soft-fp/addsf3.c: Likewise.
926         * soft-fp/addtf3.c: Likewise.
927         * soft-fp/divdf3.c: Likewise.
928         * soft-fp/divsf3.c: Likewise.
929         * soft-fp/divtf3.c: Likewise.
930         * soft-fp/double.h: Likewise.
931         * soft-fp/eqdf2.c: Likewise.
932         * soft-fp/eqhf2.c: Likewise.
933         * soft-fp/eqsf2.c: Likewise.
934         * soft-fp/eqtf2.c: Likewise.
935         * soft-fp/extenddftf2.c: Likewise.
936         * soft-fp/extended.h: Likewise.
937         * soft-fp/extendhfdf2.c: Likewise.
938         * soft-fp/extendhfsf2.c: Likewise.
939         * soft-fp/extendhftf2.c: Likewise.
940         * soft-fp/extendhfxf2.c: Likewise.
941         * soft-fp/extendsfdf2.c: Likewise.
942         * soft-fp/extendsftf2.c: Likewise.
943         * soft-fp/extendxftf2.c: Likewise.
944         * soft-fp/fixdfdi.c: Likewise.
945         * soft-fp/fixdfsi.c: Likewise.
946         * soft-fp/fixdfti.c: Likewise.
947         * soft-fp/fixhfti.c: Likewise.
948         * soft-fp/fixsfdi.c: Likewise.
949         * soft-fp/fixsfsi.c: Likewise.
950         * soft-fp/fixsfti.c: Likewise.
951         * soft-fp/fixtfdi.c: Likewise.
952         * soft-fp/fixtfsi.c: Likewise.
953         * soft-fp/fixtfti.c: Likewise.
954         * soft-fp/fixunsdfdi.c: Likewise.
955         * soft-fp/fixunsdfsi.c: Likewise.
956         * soft-fp/fixunsdfti.c: Likewise.
957         * soft-fp/fixunshfti.c: Likewise.
958         * soft-fp/fixunssfdi.c: Likewise.
959         * soft-fp/fixunssfsi.c: Likewise.
960         * soft-fp/fixunssfti.c: Likewise.
961         * soft-fp/fixunstfdi.c: Likewise.
962         * soft-fp/fixunstfsi.c: Likewise.
963         * soft-fp/fixunstfti.c: Likewise.
964         * soft-fp/floatdidf.c: Likewise.
965         * soft-fp/floatdisf.c: Likewise.
966         * soft-fp/floatditf.c: Likewise.
967         * soft-fp/floatsidf.c: Likewise.
968         * soft-fp/floatsisf.c: Likewise.
969         * soft-fp/floatsitf.c: Likewise.
970         * soft-fp/floattidf.c: Likewise.
971         * soft-fp/floattihf.c: Likewise.
972         * soft-fp/floattisf.c: Likewise.
973         * soft-fp/floattitf.c: Likewise.
974         * soft-fp/floatundidf.c: Likewise.
975         * soft-fp/floatundisf.c: Likewise.
976         * soft-fp/floatunditf.c: Likewise.
977         * soft-fp/floatunsidf.c: Likewise.
978         * soft-fp/floatunsisf.c: Likewise.
979         * soft-fp/floatunsitf.c: Likewise.
980         * soft-fp/floatuntidf.c: Likewise.
981         * soft-fp/floatuntihf.c: Likewise.
982         * soft-fp/floatuntisf.c: Likewise.
983         * soft-fp/floatuntitf.c: Likewise.
984         * soft-fp/gedf2.c: Likewise.
985         * soft-fp/gesf2.c: Likewise.
986         * soft-fp/getf2.c: Likewise.
987         * soft-fp/half.h: Likewise.
988         * soft-fp/ledf2.c: Likewise.
989         * soft-fp/lesf2.c: Likewise.
990         * soft-fp/letf2.c: Likewise.
991         * soft-fp/muldf3.c: Likewise.
992         * soft-fp/mulsf3.c: Likewise.
993         * soft-fp/multf3.c: Likewise.
994         * soft-fp/negdf2.c: Likewise.
995         * soft-fp/negsf2.c: Likewise.
996         * soft-fp/negtf2.c: Likewise.
997         * soft-fp/op-1.h: Likewise.
998         * soft-fp/op-2.h: Likewise.
999         * soft-fp/op-4.h: Likewise.
1000         * soft-fp/op-8.h: Likewise.
1001         * soft-fp/op-common.h: Likewise.
1002         * soft-fp/quad.h: Likewise.
1003         * soft-fp/single.h: Likewise.
1004         * soft-fp/soft-fp.h: Likewise.
1005         * soft-fp/subdf3.c: Likewise.
1006         * soft-fp/subsf3.c: Likewise.
1007         * soft-fp/subtf3.c: Likewise.
1008         * soft-fp/truncdfhf2.c: Likewise.
1009         * soft-fp/truncdfsf2.c: Likewise.
1010         * soft-fp/truncsfhf2.c: Likewise.
1011         * soft-fp/trunctfdf2.c: Likewise.
1012         * soft-fp/trunctfhf2.c: Likewise.
1013         * soft-fp/trunctfsf2.c: Likewise.
1014         * soft-fp/trunctfxf2.c: Likewise.
1015         * soft-fp/truncxfhf2.c: Likewise.
1016         * soft-fp/unorddf2.c: Likewise.
1017         * soft-fp/unordsf2.c: Likewise.
1018         * soft-fp/unordtf2.c: Likewise.
1020 2022-07-18  Claudiu Zissulescu  <claziss@synopsys.com>
1022         * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
1023         * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
1024         configurations.
1026 2022-06-25  Jeff Law  <jeffreyalaw@gmail.com>
1028         * config.host: Removed tilegx and tilepro entries.
1029         * config/tilegx/sfp-machine.h: Removed.
1030         * config/tilegx/sfp-machine32.h: Removed.
1031         * config/tilegx/sfp-machine64.h: Removed.
1032         * config/tilegx/t-crtstuff: Removed.
1033         * config/tilegx/t-softfp: Removed.
1034         * config/tilegx/t-tilegx: Removed.
1035         * config/tilepro/atomic.c: Removed.
1036         * config/tilepro/atomic.h: Removed.
1037         * config/tilepro/linux-unwind.h: Removed.
1038         * config/tilepro/sfp-machine.h: Removed.
1039         * config/tilepro/softdivide.c: Removed.
1040         * config/tilepro/softmpy.S: Removed.
1041         * config/tilepro/t-crtstuff: Removed.
1042         * config/tilepro/t-tilepro: Removed.
1044 2022-06-09  Takayuki 'January June' Suwa  <jjsuwa_sys3175@yahoo.co.jp>
1046         * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
1047         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
1049 2022-06-01  H.J. Lu  <hjl.tools@gmail.com>
1051         PR libgcc/27576
1052         * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
1054 2022-05-25  Wilco Dijkstra  <wilco.dijkstra@arm.com>
1056         PR libgcc/105708
1057         * config/aarch64/lse-init.c: Increase constructor priority.
1059 2022-05-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1061         PR target/104689
1062         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1063         Handle the !REG_UNSAVED case.
1064         * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
1066 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
1068         * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
1069         (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
1070         (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
1072 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
1074         * config.host: Add t-dfprules to AArch64 targets.
1076 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
1078         * configure: Regenerate.
1080 2022-05-13  Sebastian Pop  <spop@amazon.com>
1082         PR target/105162
1083         * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
1084         * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
1086 2022-05-10  Martin Liska  <mliska@suse.cz>
1087             Hans-Peter Helfert  <peter-helfert@t-online.de>
1089         PR gcov-profile/105535
1090         * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
1091         n_functions.
1093 2022-05-02  Martin Liska  <mliska@suse.cz>
1095         * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
1097 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1099         * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
1100         (gcov_profile_merge_stream): Likewise.
1102 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1104         * libgcov-util.c (consume_stream): New.
1105         (get_target_profiles_for_merge): Likewise.
1106         (gcov_profile_merge_stream): Likewise.
1108 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1110         * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
1112 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1114         * libgcov-util.c (read_gcda_file): Do not open file.
1115         (ftw_read_file): Open file here.
1117 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1119         * libgcov-util.c (read_gcda_file): Prepend new info object to global
1120         list.
1121         (ftw_read_file): Remove list append here.
1123 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1125         * libgcov-util.c (read_gcda_file): Do not duplicate filename.
1126         (ftw_read_file): Duplicate filename for read_gcda_file().
1128 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1130         * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
1131         (__gcov_filename_to_gcfn): Declare and document.
1132         * libgcov-driver.c (dump_string): New.
1133         (__gcov_filename_to_gcfn): Likewise.
1134         (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
1136 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1138         * libgcov.h (gcov_seek): Remove define and declaration.
1140 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1142         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
1143         parameter.  Pass mode to gcov_open() calls.
1144         * libgcov-driver.c (dump_one_gcov):  Add mode parameter.  Pass mode to
1145         gcov_exit_open_gcda_file() call.
1146         (gcov_do_dump): Add mode parameter.  Pass mode to dump_one_gcov()
1147         calls.
1148         (__gcov_dump_one):  Open file for reading and writing.
1150 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1152         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
1153         reading and writing.
1154         * libgcov-util.c (read_gcda_file): Open file for reading.
1155         * libgcov.h (gcov_open): Delete declaration.
1157 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1159         * libgcov-util.c (gcov_profile_merge): Return the list of merged
1160         profiles.  Accept empty target and source profile lists.
1162 2022-04-08  Sergei Trofimovich  <siarheit@google.com>
1164         * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
1166 2022-03-29  Chenghua Xu  <xuchenghua@loongson.cn>
1167             Lulu Cheng  <chenglulu@loongson.cn>
1169         * configure: Regenerate file.
1171 2022-03-29  Chenghua Xu  <xuchenghua@loongson.cn>
1172             Lulu Cheng  <chenglulu@loongson.cn>
1174         * config/loongarch/crtfastmath.c: New file.
1175         * config/loongarch/linux-unwind.h: Like wise.
1176         * config/loongarch/sfp-machine.h: Like wise.
1177         * config/loongarch/t-crtstuff: Like wise.
1178         * config/loongarch/t-loongarch: Like wise.
1179         * config/loongarch/t-loongarch64: Like wise.
1180         * config/loongarch/t-softfp-tf: Like wise.
1181         * config.host: Add LoongArch tuples.
1182         * configure.ac: Add LoongArch support.
1184 2022-03-19  Sergei Trofimovich  <slyfox at gentoo dot org>
1186         PR libgcc/86224
1187         * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
1188         for __mulsi3.
1189         (__udivsi3_internal, __divsi3_internal): Similarly.
1190         (__umodsi3, __modsi3): Use the internal function names.
1192 2022-03-09  Tobias Burnus  <tobias@codesourcery.com>
1194         PR target/102215
1195         * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
1196         a line up to non-arg-dependent value first.
1197         (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
1198         __atomic_compare_exchange_{1,2}.
1200 2022-03-04  Iain Sandoe  <iain@sandoe.co.uk>
1202         * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
1203         * config/t-darwin-ehs: Add dependency on unwind.h.
1205 2022-02-24  Xi Ruoyao  <xry111@mengyan1223.wang>
1207         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
1208         with 0 instead of NULL.
1210 2022-02-24  Jose E. Marchesi  <jose.marchesi@oracle.com>
1212         PR target/104656
1213         * configure.ac: --disable-gcov if targetting bpf-*.
1214         * configure: Regenerate.
1216 2022-01-25  Florian Weimer  <fweimer@redhat.com>
1218         PR libgcc/104207
1219         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
1221 2022-01-17  Martin Liska  <mliska@suse.cz>
1223         * libgcov-driver.c: Rename .c names to .cc.
1225 2022-01-15  David  <gccbugzilla@limegreensocks.com>
1227         * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
1228         Remove inlined version, Windows 95 is no longer relevant.
1229         * config/i386/gthr-win32.h
1230         (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
1232 2022-01-14  Claudiu Zissulescu  <claziss@synopsys.com>
1234         * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
1235         DWARF_ALT_FRAME_RETURN_COLUMN macro.
1237 2022-01-04  Florian Weimer  <fweimer@redhat.com>
1239         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
1240         if available.
1242 2022-01-02  John David Anglin  <danglin@gcc.gnu.org>
1244         * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
1245         (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
1246         return is not equal _ASM_EFAULT.
1247         (__kernel_cmpxchg2): Likewise.
1249 2021-12-17  Iain Sandoe  <iain@sandoe.co.uk>
1251         * config.host: Add shim declaration header to powerpc*-darwin builds.
1252         * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
1253         file.
1254         * config/t-darwin-ehs: Add dependencies to the shared unwinder
1255         objects.
1256         * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
1257         the shared EH lib.  Add all-multi to the dependencies for the
1258         libgcc_s.1.dylib redirections.
1260 2021-12-13  Olivier Hainque  <hainque@adacore.com>
1262         * config.host (powerpc*-*-vxworks7*): Remove
1263         rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
1265 2021-12-13  Olivier Hainque  <hainque@adacore.com>
1267         * config.host (*vxworks*): Remove special case for
1268         arm on the use of vxcrtstuff.
1270 2021-12-13  Fred Konrad  <konrad@adacore.com>
1271             Olivier Hainque  <hainque@adacore.com>
1273         * config/t-vxcrtstuffS: New Makefile fragment.
1274         * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
1275         functions for INITFINI_ARRAY support in shared libs and guard
1276         the definition of eh table registration functions on conditions
1277         indicating they are needed.
1279 2021-12-13  Olivier Hainque  <hainque@adacore.com>
1281         * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
1282         ahead of the other files in tmake_files.
1283         * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
1284         overriding it.
1286 2021-12-13  Olivier Hainque  <hainque@adacore.com>
1288         * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
1289         both VxWorks7 and earlier.
1290         * config/t-vxworks7: Remove.
1291         * config.host: Remove special case for vxworks7.
1293 2021-12-11  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1295         * config/vxcrtstuff.c: Make constructor and destructor
1296         functions static when possible.
1298 2021-12-11  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1300         * config/vxcrtstuff.c: Remove constructor/destructor
1301         declarations.
1303 2021-12-10  Iain Sandoe  <iain@sandoe.co.uk>
1305         * config/t-darwin: Add libgcc_tm.h to the dependencies
1306         for darwin10-unwind-find-enc-func.
1308 2021-12-10  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1310         * config/rs6000/t-vxworks: New file.
1311         * config.host (powerpc*-*-vxworks*): Use it instead of
1312         t-ppccomm.
1314 2021-12-09  Fred Konrad  <konrad@adacore.com>
1316         * config.host (powerpc*-wrs-vxworks7*): Fix path to
1317         rs6000/t-ppc64-fp, relative to config/ not libgcc/.
1319 2021-12-09  Olivier Hainque  <hainque@adacore.com>
1320             Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1322         * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
1323         $(LIBGCC2_INCLUDES).
1324         * config/t-vxworks7: Likewise.
1326 2021-12-08  Iain Sandoe  <iain@sandoe.co.uk>
1328         * config.host (*-*-darwin*): Add logic to build a shared
1329         unwinder library for Darwin8-10.
1330         * config/i386/t-darwin: Build legacy libgcc_s.1.
1331         * config/rs6000/t-darwin: Likewise.
1332         * config/t-darwin: Reorganise the EH fragments to place
1333         them for inclusion in a shared EH lib.
1334         * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
1335         the supporting pieces (all FAT libs).
1336         * config/t-darwin-noeh: Removed.
1337         * config/darwin-unwind.ver: New file.
1338         * config/rs6000/t-darwin-ehs: New file.
1339         * config/t-darwin-ehs: New file.
1341 2021-12-06  Nelson Chu  <nelson.chu@sifive.com>
1343         * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
1344         then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
1345         * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
1346         HIDDEN_DEF.
1348 2021-11-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1350         * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
1351         ssize_t and vfork after including auto-host.h.
1353 2021-11-29  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1355         * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
1356         crtend.o to extra_parts.
1358 2021-11-27  John David Anglin  <danglin@gcc.gnu.org>
1360         * config/pa/t-dimode (lib2difuncs): Fix typo.
1362 2021-11-25  Florian Weimer  <fweimer@redhat.com>
1364         * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
1365         Remove func, ret.
1366         (find_fde_tail): New function.  Split from
1367         _Unwind_IteratePhdrCallback.  Move the result initialization
1368         from _Unwind_Find_FDE.
1369         (_Unwind_Find_FDE): Updated to call find_fde_tail.
1371 2021-11-22  Florian Weimer  <fweimer@redhat.com>
1373         * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
1374         (struct unw_eh_callback_data): Make dbase member conditional.
1375         (unw_eh_callback_data_dbase): New function.
1376         (base_from_cb_data): Simplify for the non-dbase case.
1377         (_Unwind_IteratePhdrCallback): Adjust.
1378         (_Unwind_Find_FDE): Likewise.
1380 2021-11-22  Florian Weimer  <fweimer@redhat.com>
1382         * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
1383         tbase member.
1384         (base_from_cb_data): Adjust.
1385         (_Unwind_IteratePhdrCallback): Likewise.
1386         (_Unwind_Find_FDE): Likewise.
1388 2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
1390         * config.host: Add weak emutls crt to the extra_parts.
1391         * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
1392         workaround.
1393         * config/libgcc-libsystem.ver: Add exclude list for the system-
1394         provided unwinder.
1395         * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
1396         * config/i386/libgcc-darwin.10.4.ver: Removed.
1397         * config/i386/libgcc-darwin.10.5.ver: Removed.
1398         * config/rs6000/libgcc-darwin.10.4.ver: Removed.
1399         * config/rs6000/libgcc-darwin.10.5.ver: Removed.
1400         * config/t-darwin-noeh: New file.
1402 2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
1404         * config/t-darwin: Build weak-defined emutls objects.
1405         * emutls.c (__emutls_get_address): Add optional attributes.
1406         (__emutls_register_common): Likewise.
1407         (EMUTLS_ATTR): New.
1409 2021-11-11  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
1411         PR libgcc/103044
1412         * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
1413         called with a null argument or at the end of the backtrace and return.
1414         * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
1416 2021-11-10  Jakub Jelinek  <jakub@redhat.com>
1418         * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
1419         formatting fix.
1421 2021-11-05  Iain Sandoe  <iain@sandoe.co.uk>
1423         * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
1424         * config/i386/darwin-lib.h: Declare Darwin10 crt function.
1426 2021-11-05  John David Anglin  <danglin@gcc.gnu.org>
1428         PR libgomp/96661
1429         * config.host (hppa*64*-*-linux*): Revise tmake_file.
1430         (hppa*64*-*-hpux11*): Likewise.
1431         * config/pa/sfp-exceptions.c: New.
1432         * config/pa/sfp-machine.h: New.
1433         * config/pa/t-dimode: New.
1434         * config/pa/t-softfp-sfdftf: New.
1436 2021-10-27  John David Anglin  <danglin@gcc.gnu.org>
1438         * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
1439         tmake_file.
1440         * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
1441         Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
1442         SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
1443         * config/pa/t-linux64 (LIB1ASMSRC): New define.
1444         (LIB1ASMFUNCS): Revise.
1445         (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
1447 2021-10-22  Stafford Horne  <shorne@gmail.com>
1449         * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1450         Change to 0.
1452 2021-10-14  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
1454         * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
1455         outside of get_regs() in order to use it in another function, this
1456         is done twice: for __powerpc64__ and for !__powerpc64__.
1457         (struct trace_arg): New struct.
1458         (struct layout): New struct.
1459         (ppc_backchain_fallback): New function.
1460         * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
1461         state and call MD_BACKCHAIN_FALLBACK.
1463 2021-10-13  Martin Liska  <mliska@suse.cz>
1465         PR gcov-profile/90364
1466         * libgcov-driver.c (merge_one_data): Skip timestamp and verify
1467         checksums.
1468         (write_one_data): Write also checksum.
1469         * libgcov-util.c (read_gcda_file): Read also checksum field.
1470         * libgcov.h (struct gcov_info): Add new field.
1472 2021-10-08  Ian Lance Taylor  <iant@golang.org>
1474         * config/i386/morestack.S: Use .init_array for constructor if
1475         available.
1476         * config/rs6000/morestack.S: Likewise.
1477         * config/s390/morestack.S: Likewise.
1479 2021-10-03  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
1481         PR target/101104
1482         * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
1483         Use more correct values for native IBM 128-bit.
1485 2021-09-28  Iain Sandoe  <iain@sandoe.co.uk>
1487         * config/i386/libgcc-darwin.ver: Add Symbols for
1488         __cpu_model, __cpu_indicator_init.
1490 2021-09-22  Iain Sandoe  <iain@sandoe.co.uk>
1492         * config/i386/sfp-machine.h: Guard Mach-O-specific code
1493         using __APPLE__.
1495 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1497         * config/t-slibgcc-darwin: Delete unused code.
1499 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1501         * config/i386/t-darwin: Add in a vers file for X86-specific
1502         symbols.
1503         * config/t-darwin: Add the generic symbol maps here...
1504         * config/t-slibgcc-darwin: ... removing from here.
1505         * config/i386/libgcc-darwin.ver: New file.
1507 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1509         * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
1510         and __mulhc3.
1512 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1514         * config.host: Use convenience library for Darwin10
1515         unwinder shim.
1516         * config/t-darwin: Build Darwin10 unwinder shim as a
1517         convenience library.
1519 2021-09-13  Andrew Pinski  <apinski@marvell.com>
1521         * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
1522         * config/m32r/libgcc-glibc.ver: Removed.
1523         * config/m32r/t-linux: Removed.
1525 2021-09-08  liuhongt  <hongtao.liu@intel.com>
1527         * config/i386/t-softfp: Compile __{mul,div}hc3 into
1528         libgcc_s.so.1.
1530 2021-09-08  Jakub Jelinek  <jakub@redhat.com>
1531             Iain Sandoe  <iain@sandoe.co.uk>
1533         * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
1534         and export *hf* and *hc* functions at GCC_12.0.0.
1536 2021-09-06  liuhongt  <hongtao.liu@intel.com>
1538         * Makefile.in: Adjust to support specific CFLAGS for each
1539         libgcc source file.
1540         * config/i386/64/t-softfp: Explicitly add -msse2 for HF
1541         related libgcc source files.
1542         * config/i386/t-softfp: Ditto.
1543         * config/i386/_divhc3.c: New file.
1544         * config/i386/_mulhc3.c: New file.
1546 2021-09-03  Iain Sandoe  <iain@sandoe.co.uk>
1548         * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
1549         alias_DFtype, alias_TFtype): New.
1550         (ALIAS_SELECTOR): New.
1551         (strong_alias): Use __typeof and a _Generic selector to
1552         provide the type to the synthesized function.
1554 2021-09-02  liuhongt  <hongtao.liu@intel.com>
1556         * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
1557         * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
1558         * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
1559         * config/i386/t-softfp: Add hf soft-fp.
1560         * config.host: Add i386/64/t-softfp.
1561         * config/i386/64/t-softfp: New file.
1563 2021-09-02  liuhongt  <hongtao.liu@intel.com>
1565         * soft-fp/eqhf2.c: New file.
1566         * soft-fp/extendhfdf2.c: New file.
1567         * soft-fp/extendhfsf2.c: New file.
1568         * soft-fp/half.h (FP_CMP_EQ_H): New marco.
1569         * soft-fp/truncdfhf2.c: New file
1570         * soft-fp/truncsfhf2.c: New file
1572 2021-09-01  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1574         * unwind-arm-common.inc (abort): Remove.
1576 2021-08-31  Richard Sandiford  <richard.sandiford@arm.com>
1578         * config/aarch64/value-unwind.h: Add missing runtime exception
1579         paragraph.
1580         * config/frv/frv-abi.h: Likewise.
1581         * config/i386/value-unwind.h: Likewise.
1582         * config/pa/pa64-hpux-lib.h: Likewise.
1584 2021-08-26  David Edelsohn  <dje.gcc@gmail.com>
1586         * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
1587         __gcc_qadd.
1588         (__gcc_qadd): Call ldouble_qadd_internal.
1589         (__gcc_qsub): Call ldouble_qadd_internal with second long double
1590         argument negated.
1592 2021-08-26  Jonathan Yong  <10walls@gmail.com>
1594         * config/i386/cygming-crtend.c: Fix register_frame_ctor
1595         and register_frame_dtor warnings.
1597 2021-08-24  Richard Earnshaw  <rearnsha@arm.com>
1599         PR target/102035
1600         * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
1601         Add vlldm erratum work-around.
1603 2021-08-21  John David Anglin  <danglin@gcc.gnu.org>
1605         * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
1607 2021-08-16  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1609         * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
1610         (gcov_type_unsigned): Likewise.
1612 2021-08-14  Stafford Horne  <shorne@gmail.com>
1614         PR target/99783
1615         * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
1616         * config/or1k/t-crtstuff: New file.
1618 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1620         * libgcov-driver.c (#include <stdint.h>): Remove.
1621         (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
1623 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1625         * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
1626         * gcov.h (gcov_info): Declare.
1627         (__gcov_info_to_gdca): Likewise.
1628         * libgcov.h (gcov_write_counter): Remove.
1629         (gcov_write_tag_length): Likewise.
1630         * libgcov-driver.c (#include <stdint.h>): New.
1631         (#include <string.h>): Remove.
1632         (NEED_L_GCOV): Conditionally define.
1633         (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
1634         (are_all_counters_zero): New.
1635         (gcov_dump_handler): Likewise.
1636         (gcov_allocate_handler): Likewise.
1637         (dump_unsigned): Likewise.
1638         (dump_counter): Likewise.
1639         (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
1640         Use dump_unsigned() and dump_counter().
1641         (write_one_data): Add dump_fn, allocate_fn, and arg parameters.  Use
1642         dump_unsigned(), dump_counter(), and are_all_counters_zero().
1643         (__gcov_info_to_gcda): New.
1645 2021-08-05  Jakub Jelinek  <jakub@redhat.com>
1647         * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
1648         * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
1649         * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
1650         * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
1652 2021-08-04  Jakub Jelinek  <jakub@redhat.com>
1654         * config/t-slibgcc-fuchsia: Undo doubly applied patch.
1656 2021-07-15  Alan Modra  <amodra@gmail.com>
1658         * config/rs6000/morestack.S (R2_SAVE): Define.
1659         (__morestack): Save and restore r2.  Set up r2 for called
1660         functions.
1662 2021-07-01  H.J. Lu  <hjl.tools@gmail.com>
1664         * soft-fp/extendhfxf2.c: New file.
1665         * soft-fp/truncxfhf2.c: Likewise.
1667 2021-06-29  Julian Brown  <julian@codesourcery.com>
1669         * config/gcn/lib2-bswapti2.c: New file.
1670         * config/gcn/lib2-divmod-di.c: New file.
1671         * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
1672         typedefs.
1673         (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
1674         * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
1675         lib2-bswapti2.c.
1677 2021-06-29  Julian Brown  <julian@codesourcery.com>
1679         * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
1680         return types to USItype.
1681         * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
1683 2021-06-23  Kewen Lin  <linkw@linux.ibm.com>
1685         * configure: Regenerate.
1686         * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
1687         typos among the name, CFLAGS and the test.
1688         * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
1689         fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
1690         Remove.
1691         * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
1692         macro FLOAT128_HW_INSNS_ISA3_1.
1693         (FP128_3_1_CFLAGS_HW): Fix option typo.
1694         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
1695         FLOAT128_HW_INSNS_ISA3_1.
1696         (__floattikf_resolve): Likewise.
1697         (__floatuntikf_resolve): Likewise.
1698         (__fixkfti_resolve): Likewise.
1699         (__fixunskfti_resolve): Likewise.
1700         (__floattikf): Likewise.
1701         (__floatuntikf): Likewise.
1702         (__fixkfti): Likewise.
1703         (__fixunskfti): Likewise.
1705 2021-06-11  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
1707         PR target/99939
1708         * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
1709         macro.
1710         * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
1711         on passing -mcmse option.
1713 2021-06-10  Segher Boessenkool  <segher@kernel.crashing.org>
1715         * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
1716         _ARCH_PPC64 .
1718 2021-06-09  Carl Love  <cel@us.ibm.com>
1720         * config.host: Add if test and set for
1721         libgcc_cv_powerpc_3_1_float128_hw.
1722         * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
1723         Change calls of __fixkfti to __fixkfti_sw.
1724         * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
1725         Change calls of __fixunskfti to __fixunskfti_sw.
1726         * config/rs6000/float128-p10.c (__floattikf_hw,
1727         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
1728         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
1729         (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
1730         __fixunskfti_resolve): Add resolve functions.
1731         (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
1732         * config/rs6000/float128-sed (floattitf, __floatuntitf,
1733         __fixtfti, __fixunstfti): Add editor commands to change names.
1734         * config/rs6000/float128-sed-hw (__floattitf,
1735         __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
1736         change names.
1737         * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
1738         * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
1739         * config/rs6000/quad-float128.h (__floattikf_sw,
1740         __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
1741         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
1742         __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
1743         * config/rs6000/t-float128 (floattikf, floatuntikf,
1744         fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
1745         (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
1746         file names to fp128_ppc_funcs.
1747         * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
1748         fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
1749         fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
1750         * config/rs6000/t-float128-p10-hw: New file.
1751         * configure: Update script for isa 3.1 128-bit float support.
1752         * configure.ac: Add check for 128-bit float hardware support.
1753         * config/rs6000/fixkfti-sw.c: New file.
1754         * config/rs6000/fixunskfti-sw.c: New file.
1755         * config/rs6000/floattikf-sw.c: New file.
1756         * config/rs6000/floatuntikf-sw.c: New file.
1758 2021-05-13  Dimitar Dimitrov  <dimitar@dinux.eu>
1760         * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
1762 2021-05-13  Martin Liska  <mliska@suse.cz>
1764         * libgcov-driver.c: Fix GNU coding style.
1766 2021-05-10  Martin Liska  <mliska@suse.cz>
1768         * libgcov-driver.c (gcov_version): Use different name that does
1769         not clash with newly introduced macro.
1771 2021-04-29  Eric Botcazou  <ebotcazou@adacore.com>
1773         * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
1774         if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
1775         * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
1777 2021-04-28  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
1779         * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1780         Define.
1781         (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
1782         * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1783         Define.
1784         (__divkc3): Improve complex divide.
1786 2021-04-23  Michael Meissner  <meissner@linux.ibm.com>
1788         PR target/98952
1789         * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
1790         trampoline size comparison in 32-bit by reversing test and
1791         combining load immediate with compare.
1792         (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
1793         in 32-bit by reversing test and combining load immediate with
1794         compare.
1796 2021-04-05  Florian Weimer  <fweimer@redhat.com>
1797             Michael Meissner   <meissner@linux.ibm.com>
1799         * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
1800         point functions for $(decimal_float) only.
1802 2021-04-03  Jakub Jelinek  <jakub@redhat.com>
1804         PR target/97653
1805         * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
1806         $(objext) instead of $(object).  Use _floatunditf instead of
1807         _floatunsditf.  Add tf <-> ti conversion objects.
1808         (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
1810 2021-03-29  Michael Meissner  <meissner@linux.ibm.com>
1812         * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
1813         (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
1814         (fp128_decstr_objs): Delete.
1815         * dfp-bit.h: Call __sprintfieee128 to do conversions from
1816         _Float128 to a Decimal type.  Call __strtoieee128 to do
1817         conversions from a Decimal type to _Float128.
1818         * config/rs6000/_sprintfkf.c: Delete file.
1819         * config/rs6000/_sprintfkf.h: Delete file.
1820         * config/rs6000/_strtokf.c: Delete file.
1821         * config/rs6000/_strtokf.h: Delete file.
1823 2021-03-23  Marcus Comstedt  <marcus@mc.pp.se>
1825         * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
1826         to __BYTE_ORDER__.
1828 2021-03-06  Jakub Jelinek  <jakub@redhat.com>
1830         PR gcov-profile/99406
1831         * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
1832         defined, define these macros if not defined already.
1834 2021-03-04  Martin Liska  <mliska@suse.cz>
1836         PR gcov-profile/99105
1837         * libgcov-driver.c (write_top_counters): Rename to ...
1838         (write_topn_counters): ... this.
1839         (write_one_data): Pre-allocate buffer for number of items
1840         in the corresponding linked lists.
1841         * libgcov.h (malloc_mmap): New function.
1842         (allocate_gcov_kvp): Use it.
1844 2021-03-04  Martin Liska  <mliska@suse.cz>
1846         PR gcov-profile/99385
1847         * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
1849 2021-03-03  Martin Liska  <mliska@suse.cz>
1851         PR gcov-profile/97461
1852         * config.in: Regenerate.
1853         * configure: Likewise.
1854         * configure.ac: Check sys/mman.h header file
1855         * libgcov-driver.c (struct gcov_kvp): Remove static
1856         pre-allocated pool and use a dynamic one.
1857         * libgcov.h (MMAP_CHUNK_SIZE): New.
1858         (gcov_counter_add): Use mmap to allocate pool for struct
1859         gcov_kvp.
1861 2021-03-02  Michael Meissner  <meissner@linux.ibm.com>
1863         * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
1864         the function.
1865         * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
1867 2021-02-24  Jakub Jelinek  <jakub@redhat.com>
1869         PR libgcc/99236
1870         * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
1871         negation of m in unsigned type.
1873 2021-02-24  Christophe Lyon  <christophe.lyon@linaro.org>
1874             Hau Hsu  <hsuhau617@gmail.com>
1876         PR target/99157
1877         * config/arm/t-arm: Fix cmse support detection.
1879 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
1881         * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
1883 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
1885         * config/rs6000/_dd_to_kf.c: New file.
1886         * config/rs6000/_kf_to_dd.c: New file.
1887         * config/rs6000/_kf_to_sd.c: New file.
1888         * config/rs6000/_kf_to_td.c: New file.
1889         * config/rs6000/_sd_to_kf.c: New file.
1890         * config/rs6000/_sprintfkf.c: New file.
1891         * config/rs6000/_sprintfkf.h: New file.
1892         * config/rs6000/_strtokf.h: New file.
1893         * config/rs6000/_strtokf.c: New file.
1894         * config/rs6000/_td_to_kf.c: New file.
1895         * config/rs6000/quad-float128.h: Add new declarations.
1896         * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
1897         (fp128_decstr_funcs): New macro.
1898         (ibm128_dec_funcs): New macro.
1899         (fp128_ppc_funcs): Add the new conversions.
1900         (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
1901         compiled with -mabi=ieeelongdouble.
1902         (fp128_decstr_objs): Force __float128 <-> string conversions to be
1903         compiled with -mabi=ibmlongdouble.
1904         (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
1905         compiled with -mabi=ieeelongdouble.
1906         (FP128_CFLAGS_DECIMAL): New macro.
1907         (IBM128_CFLAGS_DECIMAL): New macro.
1908         * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
1909         (BFP_TO_DFP): Add PowerPC _Float128 support.
1910         * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
1911         IEEE 128-bit floating point.
1912         (DFP_TO_BFP): Add PowerPC _Float128 support.
1913         (BFP_TO_DFP): Add PowerPC _Float128 support.
1914         (BFP_SPRINTF): New macro.
1916 2021-01-27  Jakub Jelinek  <jakub@redhat.com>
1918         * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
1919         * config/i386/savms64f.h: Likewise.
1920         * config/i386/resms64.h: Likewise.
1921         * config/i386/resms64f.h: Likewise.
1922         * config/i386/resms64x.h: Likewise.
1923         * config/i386/resms64fx.h: Likewise.
1925 2021-01-26  Martin Liska  <mliska@suse.cz>
1927         PR gcov-profile/98739
1928         * libgcov.h (gcov_topn_add_value): Do not train when
1929         we have a merged profile with a negative number of total
1930         value.
1932 2021-01-25  Martin Liska  <mliska@suse.cz>
1934         PR gcov-profile/98739
1935         * libgcov-merge.c (__gcov_merge_topn): Mark when merging
1936         ends with a dropped counter.
1937         * libgcov.h (gcov_topn_add_value): Add return value.
1939 2021-01-13  Stafford Horne  <shorne@gmail.com>
1941         * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1942         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
1943         FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
1944         FP_EX_ALL): New constant macros.
1945         (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
1946         FP_HANDLE_EXCEPTIONS): New macros.
1947         (_FP_TININESS_AFTER_ROUNDING): Change to 1.
1949 2021-01-13  Samuel Thibault  <samuel.thibault@gnu.org>
1951         * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
1952         posix siginfo case to struct handler_args. Detect between legacy
1953         and siginfo from the second parameter, which is a small sigcode in
1954         the legacy case, and a pointer in the siginfo case.
1956 2020-12-20  Max Filippov  <jcmvbkbc@gmail.com>
1958         * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
1959         functions.
1960         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
1961         _bswapdi2.
1963 2020-12-08  Ian Lance Taylor  <iant@golang.org>
1965         * generic-morestack-thread.c (free_segments): Block signals during
1966         thread exit.
1968 2020-12-03  Michael Meissner  <meissner@linux.ibm.com>
1970         PR libgcc/97543
1971         PR libgcc/97643
1972         * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
1973         (IBM128_SHARED_OBJS): New make variable.
1974         (IBM128_OBJS): New make variable.  Set all objects to use the
1975         explicit IBM format, and disable gnu attributes.
1976         (IBM128_CFLAGS): New make variable.
1977         (gcc_s_compile): Add -mno-gnu-attribute to all shared library
1978         modules.
1980 2020-12-03  Alexandre Oliva  <oliva@adacore.com>
1982         * config/t-vxworks (LIB2ADD): Drop.
1983         * config/t-vxworks7 (LIB2ADD): Likewise.
1984         * config/vxcache.c: Remove.
1986 2020-11-30  Stefan Kanthak  <stefan.kanthak@nexgo.de>
1988         * libgcc2.c (bswapsi2): Make constants unsigned.
1990 2020-11-25  Stefan Kanthak  <stefan.kanthak@nexgo.de>
1992         * libgcc2.c (absvSI2): Simplify/improve implementation by using
1993         builtin_add_overflow.
1994         (absvsi2, absvDI2): Likewise.
1996 2020-11-20  Maciej W. Rozycki  <macro@linux-mips.org>
1998         * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
1999         (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
2001 2020-11-18  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2003         * config/msp430/lib2hw_mul.S (mult64_hw): New.
2004         (if MUL_32): Use mult64_hw for __muldi3.
2005         (if MUL_F5): Use mult64_hw for __muldi3.
2006         * config/msp430/lib2mul.c (__muldi3): New.
2007         * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
2009 2020-11-17  Alan Modra  <amodra@gmail.com>
2011         * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
2012         (LIB2_SIDITI_CONV_FUNCS): Define.
2013         * config/rs6000/ppc64-fp.c: Delete file.
2015 2020-11-15  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2017         * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
2018         hwmult library functions.
2020 2020-11-10  Jeff Law  <law@redhat.com>
2022         * libgcc2.c: Fix whitespace issues in most recent change.
2024 2020-11-10  Stefan Kanthak  <stefan.kanthak@nexgo.de>
2026         * libgcc2.c (__addvSI3): Use overflow builtins.
2027         (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
2028         (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
2029         (__negvsi2, __negvDI2): Likewise.
2030         (__cmpdi2, __ucmpdi2): Adjust implementation to improve
2031         generated code.
2032         * libgcc2.h (__ucmpdi2): Adjust prototype.
2034 2020-11-03  Pat Bernardi  <bernardi@adacore.com>
2035             Olivier Hainque   <hainque@adacore.com>
2037         * config.host (aarch64-vxworks7*, tmake_file): Add
2038         ${cpu_type}/t-lse and t-slibgcc-libgcc.
2040 2020-11-03  Martin Storsjö  <martin@martin.st>
2042         * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
2043         before calling the callback.
2045 2020-10-30  Olivier Hainque  <hainque@adacore.com>
2046             Douglas Rupp  <rupp@adacore.com>
2047             Pat Bernardi  <bernardi@adacore.com>
2049         * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
2050         to apply to VxWorks 7 as well.
2052 2020-10-29  Olivier Hainque  <hainque@adacore.com>
2054         * config/gthr-vxworks-tls.c: Fix preprocessor logic
2055         controlling the definition of VX_ENTER_TLS_DTOR and
2056         VX_LEAVE_TLS_DTOR based on a version major check.
2058 2020-10-29  Olivier Hainque  <hainque@adacore.com>
2060         * config/gthr-vxworks-thread.c: Fix name of macro used
2061         to condition the inclusion of an actual implementation.
2063 2020-10-27  Martin Liska  <mliska@suse.cz>
2065         PR gcov-profile/97461
2066         * libgcov.h (gcov_counter_add): Use first static counters
2067         as it should help to have malloc wrappers set up.
2069 2020-10-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2071         * config/gthr-vxworks-thread.c: #include gthr.h before
2072         testing the guard defined there.
2073         * config/gthr-vxworks-cond.c: Likewise.
2075 2020-10-21  Douglas Rupp  <rupp@adacore.com>
2076             Olivier Hainque  <hainque@adacore.com>
2078         * config.host (powerpc*-wrs-vxworks7*): New case.
2079         * configure.ac: Handle powerpc*-*-vxworks7* as
2080         powerpc*-*-linux* for ppc-fp_type.
2081         * configure: Regenerate.
2083 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2085         * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
2086         section on VxWorks >= 6.
2087         * config/gthr-vxworks-thread.c: Condition the entire
2088         implementation on __GTHREAD_CXX0X.
2090 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2092         * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
2093         section on VxWorks >= 6.
2094         * config/gthr-vxworks-cond.c: Condition the entire
2095         implementation on __GTHREAD_HAS_COND.
2097 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2099         * config/gthr-vxworks.c: #include <taskLib.h>.
2101 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2103         * config/gthr-vxworks.h: Rewrite remaining occurrence
2104         of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
2106 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2107              Olivier Hainque   <hainque@adacore.com>
2109         * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
2110         except on VxWorks 6.
2112 2020-10-16  Olivier Hainque  <hainque@adacore.com>
2114         * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
2116 2020-10-14  Alexandre Oliva  <oliva@adacore.com>
2118         * config/gthr-vxworks-thread.c: Include stdlib.h.
2119         (tls_delete_hook): Prototype it.
2120         (__gthread_cond_signal): Return early if no waiters.  Consume
2121         signal in case the semaphore got full.  Use semInfoGet instead
2122         of kernel-mode-only semInfo.
2123         (__gthread_cond_timedwait): Use semExchange.  Always take the
2124         mutex again before returning.
2125         * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
2127 2020-10-14  Olivier Hainque  <hainque@adacore.com>
2129         * config/t-vxworks (LIBGCC2_INCLUDES): Append
2130         $(MULTISUBDIR) to the -I path for fixed headers, as we
2131         arrange to have different sets of such headers for different
2132         multilibs when they are activated.
2133         * config/t-vxworks7: Likewise.
2135 2020-10-14  Olivier Hainque  <hainque@adacore.com>
2137         * config/t-vxworks: Add include-fixed to include search
2138         paths for libgcc on VxWorks.
2139         * config/t-vxworks7: Likewise.
2141 2020-10-09  H.J. Lu  <hjl.tools@gmail.com>
2143         PR target/97148
2144         * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
2145         instead of <cetintrin.h>.
2147 2020-10-01  Alan Modra  <amodra@gmail.com>
2149         * config/rs6000/morestack.S,
2150         * config/rs6000/tramp.S: Support __PCREL__ code.
2152 2020-10-01  Alan Modra  <amodra@gmail.com>
2154         * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
2156 2020-09-29  Maciej W. Rozycki  <macro@wdc.com>
2158         * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
2159         variable.
2161 2020-09-28  Richard Sandiford  <richard.sandiford@arm.com>
2163         * config/aarch64/libgcc-softfp.ver: New file.
2164         * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
2166 2020-09-27  Clement Chigot  <clement.chigot@atos.net>
2168         * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
2170 2020-09-22  Sergei Trofimovich  <siarheit@google.com>
2172         PR gcov-profile/96913
2173         * libgcov-driver.c (write_one_data): Avoid function pointer
2174         comparison in TOP streaming decision.
2176 2020-09-17  Torbjörn SVENSSON  <torbjorn.svensson@st.com>
2177             Christophe Lyon  <christophe.lyon@linaro.org>
2179         * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
2180         qualifier.
2181         (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
2182         (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
2183         missing prototypes.
2185 2020-09-17  Wei Wentao  <weiwt.fnst@cn.fujitsu.com>
2187         * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
2188         unused variable warning.
2190 2020-09-16  Jojo R  <jiejie_rong@c-sky.com>
2192         * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
2194 2020-09-09  Tom de Vries  <tdevries@suse.de>
2196         * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
2197         Wbuiltin-declaration-mismatch.
2199 2020-08-26  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2201         * config/msp430/slli.S (__gnu_mspabi_sllp): New.
2202         * config/msp430/srai.S (__gnu_mspabi_srap): New.
2203         * config/msp430/srli.S (__gnu_mspabi_srlp): New.
2205 2020-08-13  Kwok Cheung Yeung  <kcy@codesourcery.com>
2207         * config/nvptx/atomic.c: New.
2208         * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
2210 2020-08-03  Ian Lance Taylor  <iant@golang.org>
2212         * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
2214 2020-08-03  Jakub Jelinek  <jakub@redhat.com>
2216         PR target/96402
2217         * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
2218         of x(tmp0), x(tmp1) in STXP arguments.
2220 2020-07-31  Maciej W. Rozycki  <macro@wdc.com>
2222         * config/riscv/save-restore.S [__riscv_xlen == 64]
2223         (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
2224         (__riscv_save_2): Replace negative immediates used for the final
2225         stack pointer adjustment with positive ones, right-shifted by 4.
2227 2020-07-31  Martin Liska  <mliska@suse.cz>
2229         * libgcov-driver.c: Add __gcov_kvp_pool
2230         and __gcov_kvp_pool_index variables.
2231         * libgcov.h (allocate_gcov_kvp): New.
2232         (gcov_topn_add_value): Use it.
2234 2020-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2236         * config/aarch64/lse.S: Add PAC property note.
2238 2020-07-23  Martin Liska  <mliska@suse.cz>
2240         PR gcov-profile/96035
2241         * libgcov-driver-system.c: Create gcov folders with 0777
2242         so that it respects a system umask.
2244 2020-07-14  David Edelsohn  <dje.gcc@gmail.com>
2246         * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
2248 2020-07-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2250         PR target/94891
2251         * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
2252         (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
2253         (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
2254         (MD_DEMANGLE_RETURN_ADDR): This.
2255         (aarch64_post_extract_frame_addr): Rename to ...
2256         (aarch64_demangle_return_addr): This.
2257         (aarch64_post_frob_eh_handler_addr): Remove.
2258         * unwind-dw2.c (uw_update_context): Demangle return address.
2259         (uw_frob_return_addr): Remove.
2261 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2263         PR target/96001
2264         * config/aarch64/lse.S: Add BTI marking and related definitions,
2265         and add BTI c to function entries.
2267 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2269         * config/aarch64/lse.S: Add stack note.
2271 2020-07-02  Martin Liska  <mliska@suse.cz>
2273         PR gcov-profile/95348
2274         * libgcov-driver.c (merge_one_data): Merge only profiles
2275         that are not of non-zero type.
2276         (write_one_data): Write counters only if there's one non-zero
2277         value.
2278         * libgcov-util.c (tag_function): Change signature from unsigned
2279         to int.
2280         (tag_blocks): Likewise.
2281         (tag_arcs): Likewise.
2282         (tag_counters): Likewise.
2283         (tag_summary): Likewise.
2284         (tag_lines): Read only if COUNTERS is non-zero.
2285         (read_gcda_file): Handle negative length for COUNTERS type.
2287 2020-06-25  Martin Liska  <mliska@suse.cz>
2289         * libgcov-driver.c (merge_summary): Remove function as its name
2290         is misleading and doing something different.
2291         (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
2292         in gcov-tool.
2293         * libgcov-util.c (curr_object_summary): Remove.
2294         (read_gcda_file): Remove unused curr_object_summary.
2295         (gcov_merge): Merge summaries.
2296         * libgcov.h: Add summary argument for gcov_info struct.
2298 2020-06-24  H.J. Lu  <hjl.tools@gmail.com>
2300         PR target/95259
2301         * config/i386/cpuinfo.c: Don't include "cpuinfo.h".  Include
2302         "common/config/i386/i386-cpuinfo.h" and
2303         "common/config/i386/cpuinfo.h".
2304         (__cpu_features2): Changed to array.
2305         (get_amd_cpu): Removed.
2306         (get_intel_cpu): Likewise.
2307         (get_available_features): Likewise.
2308         (__cpu_indicator_init): Call cpu_indicator_init.
2309         * config/i386/cpuinfo.h: Removed.
2311 2020-06-23  David Edelsohn  <dje.gcc@gmail.com>
2313         * Makefile.in: Remove uses of empty.mk. Use -include.
2314         * config/avr/t-avr: Use -include.
2315         * empty.mk: Delete.
2317 2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
2319         * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
2320         * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
2321         and 64 bit with -maix64.
2322         * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
2323         Build and install AIX-style FAT libraries.
2325 2020-06-17  Samuel Thibault  <samuel.thibault@gnu.org>
2327         * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
2328         'i386/gnu-unwind.h'
2329         * config/i386/gnu-unwind.h: New file.
2331 2020-06-17  Martin Liska  <mliska@suse.cz>
2333         * libgcov-util.c (read_gcda_finalize): Remove const operator.
2334         (merge_wrapper): Add both counts and use them properly.
2335         (topn_to_memory_representation): New function.
2336         (gcov_merge): Covert on disk representation to in memory
2337         representation.
2338         * libgcov.h: Remove const operator.
2340 2020-06-15  Max Filippov  <jcmvbkbc@gmail.com>
2342         * configure: Regenerate.
2343         * configure.ac: Use AC_COMPILE_IFELSE instead of manual
2344         preprocessor invocation to check for __XTENSA_CALL0_ABI__.
2346 2020-06-09  Martin Liska  <mliska@suse.cz>
2348         PR gcov-profile/95494
2349         * libgcov-driver.c (write_top_counters): Cast first to
2350         intptr_t as sizeof(*) != sizeof(gcov_type).
2351         * libgcov.h (gcov_counter_set_if_null): Remove.
2352         (gcov_topn_add_value): Cast first to intptr_t and update
2353         linked list directly.
2355 2020-06-09  Max Filippov  <jcmvbkbc@gmail.com>
2357         * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
2358         with uw_install_context_1.
2360 2020-06-04  Andreas Schwab  <schwab@suse.de>
2362         PR target/59230
2363         PR libfortran/59227
2364         * config/ia64/t-softfp-compat (softfp_file_list): Filter out
2365         soft-fp/divtf3.c.
2366         (LIB2ADD): Add config/ia64/divtf3.c.
2367         * config/ia64/divtf3.c: New file.
2369 2020-06-03  Martin Liska  <mliska@suse.cz>
2371         PR gcov-profile/95480
2372         * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
2373         * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
2374         (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
2375         (gcov_counter_set_if_null): Likewise.
2377 2020-06-02  Jim Wilson  <jimw@sifive.com>
2379         * config/riscv/div.S (__divdi3): For negative arguments, change bgez
2380         to bgtz.
2382 2020-06-02  Martin Liska  <mliska@suse.cz>
2384         * libgcov.h (gcov_topn_add_value): Use xcalloc instead
2385         of xmalloc.
2387 2020-06-02  Martin Liska  <mliska@suse.cz>
2389         * libgcov-driver.c (prune_topn_counter): Remove.
2390         (prune_counters): Likewise.
2391         (merge_one_data): Special case TOP N counters
2392         as they have variable length.
2393         (write_top_counters): New.
2394         (write_one_data): Special case TOP N.
2395         (dump_one_gcov): Do not prune TOP N counters.
2396         * libgcov-merge.c (merge_topn_values_set): Remove.
2397         (__gcov_merge_topn): Use gcov_topn_add_value.
2398         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2399         Likewise here.
2400         * libgcov.h (gcov_counter_add): New.
2401         (gcov_counter_set_if_null): Likewise.
2402         (gcov_topn_add_value): New.
2404 2020-06-01  Uroš Bizjak  <ubizjak@gmail.com>
2406         * config/i386/sfp-exceptions.c (struct fenv):
2407         Add __attribute__ ((gcc_struct)).
2409 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
2411         PR bootstrap/95413
2412         * configure: Regenerated.
2414 2020-05-28  Dong JianQiang  <dongjianqiang2@huawei.com>
2416         PR gcov-profile/95332
2417         * libgcov-util.c (read_gcda_file): Call gcov_magic.
2418         * libgcov.h (gcov_magic): Disable GCC poison.
2420 2020-05-21  H.J. Lu  <hongjiu.lu@intel.com>
2422         PR target/95212
2423         * config/i386/cpuinfo.h (processor_features): Move
2424         FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
2426 2020-05-20  H.J. Lu  <hongjiu.lu@intel.com>
2428         PR target/91695
2429         * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
2430         check.
2432 2020-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2434         PR target/95212
2435         PR target/95220
2436         * config/i386/cpuinfo.c (get_available_features): Fix
2437         FEATURE_GFNI check.  Also check FEATURE_AVX512VP2INTERSECT.
2438         * config/i386/cpuinfo.h (processor_features): Add
2439         FEATURE_AVX512VP2INTERSECT.
2441 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2443         PR bootstrap/95147
2444         * configure: Regenerated.
2446 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2448         * configure: Regenerated.
2450 2020-05-09  Hans-Peter Nilsson  <hp@axis.com>
2452         * config.host: Remove support for crisv32-*-* and cris*-*-linux.
2453         * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
2455 2020-05-06  Uroš Bizjak  <ubizjak@gmail.com>
2457         * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
2458         (__math_force_eval_div): New define.
2459         (__sfp_handle_exceptions): Use __math_force_eval_div to use
2460         generic division to generate INVALID, DIVZERO and INEXACT
2461         exceptions.
2463 2020-05-06  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2465         * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
2466         instead of getauxval.
2467         (AT_HWCAP): Define.
2468         (HWCAP_ATOMICS): Define.
2469         Guard detection on __gnu_linux__.
2471 2020-05-05  Michael Meissner  <meissner@linux.ibm.com>
2473         * config.host: Delete changes meant for a private branch.
2474         * config/rs6000/t-float128: Likewise.
2475         * configure.ac: Likewise.
2476         * configure: Likewise.
2478 2020-05-05  Martin Liska  <mliska@suse.cz>
2480         PR gcov-profile/93623
2481         * Makefile.in: Remove __gcov_flush.
2482         * gcov.h (__gcov_flush): Remove.
2483         * libgcov-interface.c (__gcov_flush): Remove.
2484         (init_mx): Use renamed mutex.
2485         (__gcov_lock): Likewise.
2486         (__gcov_unlock): Likewise.
2487         (__gcov_fork): Likewise.
2488         (__gcov_flush): Remove.
2490 2020-05-05  Martin Liska  <mliska@suse.cz>
2492         PR gcov-profile/93623
2493         * libgcov-interface.c (__gcov_fork): Do not flush
2494         and reset only in child process.
2495         (__gcov_execl): Dump counters only and reset them
2496         only if exec* fails.
2497         (__gcov_execlp): Likewise.
2498         (__gcov_execle): Likewise.
2499         (__gcov_execv): Likewise.
2500         (__gcov_execvp): Likewise.
2501         (__gcov_execve): Likewise.
2503 2020-05-05  Martin Liska  <mliska@suse.cz>
2505         PR gcov-profile/93623
2506         * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
2507         * libgcov-interface.c (ALIAS_void_fn): Remove.
2508         (__gcov_lock): New.
2509         (__gcov_unlock): New.
2510         (__gcov_flush): Use __gcov_lock and __gcov_unlock.
2511         (__gcov_reset): Likewise.
2512         (__gcov_dump): Likewise.
2513         * libgcov.h (__gcov_lock): New declaration.
2514         (__gcov_unlock): Likewise.
2516 2020-05-01  Uroš Bizjak  <ubizjak@gmail.com>
2518         * config/i386/sfp-exceptions.c (__math_force_eval): New define.
2519         (__sfp_handle_exceptions): Use __math_force_eval to evaluate
2520         generic division to generate INVALID and DIVZERO exceptions.
2522 2020-04-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2524         * config/rs6000/crtresfpr.S: Use .machine ppc.
2525         * config/rs6000/crtresxfpr.S: Likewise.
2526         * config/rs6000/crtsavfpr.S: Likewise.
2528 2020-04-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2530         PR target/94514
2531         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
2532         Update context->flags accroding to the frame state.
2534 2020-04-19  Uroš Bizjak  <ubizjak@gmail.com>
2536         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
2537         Remove unneeded assignments to volatile memory.
2539 2020-04-15  Jakub Jelinek  <jakub@redhat.com>
2541         PR target/93053
2542         * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
2543         * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
2544         is not defined, use just .arch armv8-a.
2545         (B, M, N, OPN): Define.
2546         (COMMENT): New .macro.
2547         (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
2548         defined.  Otherwise, move the operands right after the glue? and
2549         comment out operands where the macros are used.
2550         * configure: Regenerated.
2551         * config.in: Regenerated.
2553 2020-04-07  Ian Lance Taylor  <iant@golang.org>
2555         PR libgcc/94513
2556         * generic-morestack.c: Give up trying to use __mmap/__munmap, use
2557         syscall instead.
2559 2020-04-04  Ian Lance Taylor  <iant@golang.org>
2561         * generic-morestack.c: Only use __mmap on glibc >= 2.26.
2563 2020-04-03  Ian Lance Taylor  <iant@golang.org>
2565         * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
2566         than mmap/munmap, to avoid hooks.
2568 2020-04-03  Jim Johnston  <jjohnst@us.ibm.com>
2570         * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
2571         (TPFRA_OFFSET): Macros removed.
2572         (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
2573         (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
2574         (PG3_SKIPPING_OFFSET): New macros.
2575         (__isPATrange): Use cinfc_fast for the check.
2576         (__isSkipResetAddr): New function.
2577         (s390_fallback_frame_state): Check for skip trace addresses. Use
2578         either ICST_CRET or ICST_SRET to calculate return address
2579         location.
2580         (__tpf_eh_return): Handle skip trace addresses.
2582 2020-03-26  Richard Earnshaw  <rearnsha@arm.com>
2584         PR target/94220
2585         * config/arm/lib1funcs.asm (COND): Use a single definition for
2586         unified syntax.
2587         (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
2588         (aeabi_idivmod): Likewise.
2589         (divsi3_skip_div0_test): Likewise.
2591 2020-03-17  Mihail Ionescu  <mihail.ionescu@arm.com>
2593         * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
2595 2020-03-04  Andreas Krebbel  <krebbel@linux.ibm.com>
2597         * config.host: Include the new makefile fragment.
2598         * config/s390/t-tpf: New file.
2600 2020-03-03  Richard Earnshaw  <rearnsha@arm.com>
2602         * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
2603         syntax.
2604         (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
2605         (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
2606         (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
2607         (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
2608         * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
2609         syntax.
2610         (divsi3, modsi3): Likewise.
2611         (clzdi2, ctzsi2): Likewise.
2612         * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
2613         unified syntax.
2614         (UNWIND_WRAPPER): Likewise.
2616 2020-03-02  Martin Liska  <mliska@suse.cz>
2618         * libgcov-interface.c: Remove duplicate
2619         declaration of __gcov_flush_mx.
2621 2020-02-18  Martin Liska  <mliska@suse.cz>
2623         PR ipa/92924
2624         * libgcov-merge.c (merge_topn_values_set): Record
2625         when a TOP N counter becomes invalid.  When merging
2626         remove a smallest value if the space is needed.
2628 2020-02-12  Sandra Loosemore  <sandra@codesourcery.com>
2630         PR libstdc++/79193
2631         PR libstdc++/88999
2633         * configure: Regenerated.
2635 2020-02-10  Jeff Law  <law@redhat.com>
2637         * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
2638         sections.
2639         * config/frv/frvend.c: Similarly.
2641 2020-02-10  H.J. Lu  <hongjiu.lu@intel.com>
2643         PR libgcc/85334
2644         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2645         New.
2647 2020-02-10  Christophe Lyon  <christophe.lyon@linaro.org>
2649         PR target/93615
2650         * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
2651         _Unwind_gnu_Find_got.
2652         * unwind-pe.h: Likewise.
2654 2020-02-07  Jakub Jelinek  <jakub@redhat.com>
2656         PR target/93615
2657         * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
2658         (_Unwind_gnu_Find_got): ... this.  Use __asm instead of asm.  Remove
2659         trailing :s in asm.  Formatting fixes.
2660         (_Unwind_decode_typeinfo_ptr): Adjust caller.
2662 2020-01-31  Sandra Loosemore  <sandra@codesourcery.com>
2664         nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
2666         * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
2667         * config/nios2-elf-lib.h: New.
2668         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
2669         code for finding GOT base for nios2.
2671 2020-01-27  Martin Liska  <mliska@suse.cz>
2673         PR gcov-profile/93403
2674         * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
2675         Call __gcov_indirect_call_profiler_body.
2676         (__gcov_indirect_call_profiler_body): New.
2677         (__gcov_indirect_call_profiler_v4_atomic): New.
2678         * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
2679         New declaration.
2681 2020-01-27  Claudiu Zissulescu  <claziss@synopsys.com>
2683         * config/arc/crti.S: Add RF16 object attribute.
2684         * config/arc/crtn.S: Likewise.
2685         * config/arc/crttls.S: Likewise.
2686         * config/arc/lib1funcs.S: Likewise.
2687         * config/arc/fp-hack.h (ARC_OPTFPE): Define.
2688         * config/arc/lib2funcs.c: New file.
2689         * config/arc/t-arc: Add lib2funcs to LIB2ADD.
2691 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
2693         * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
2694         * configure.ac: Handle `--with-toolexeclibdir='.
2695         * configure: Regenerate.
2697 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
2699         * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
2701 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
2703         * config/mips/gnustack.h: New file.
2704         * config/mips/crti.S: Include gnustack.h.
2705         * config/mips/crtn.S: Likewise.
2706         * config/mips/mips16.S: Likewise.
2707         * config/mips/vr4120-div.S: Likewise.
2709 2020-01-23  Martin Liska  <mliska@suse.cz>
2711         * libgcov-driver.c (prune_topn_counter): Remove
2712         check for -1 as we only prune run-time counters
2713         that do not generate an invalid state.
2715 2020-01-22  Martin Liska  <mliska@suse.cz>
2717         PR tree-optimization/92924
2718         * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
2719         try to find an existing value, then find an empty slot
2720         if not found.
2722 2020-01-22  Martin Liska  <mliska@suse.cz>
2724         PR tree-optimization/92924
2725         * libgcov-driver.c (prune_topn_counter): New.
2726         (prune_counters): Likewise.
2727         (dump_one_gcov): Prune a run-time counter.
2728         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2729         For a known value, add GCOV_TOPN_VALUES to value.
2730         Otherwise, decrement all counters by one.
2732 2020-01-18  Hans-Peter Nilsson  <hp@axis.com>
2734         * config/cris/arit.c (DS): Apply attribute __fallthrough__.
2736 2020-01-18  John David Anglin  <danglin@gcc.gnu.org>
2738         PR libgcc/92988
2739         * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
2740         DEFAULT_USE_CXA_ATEXIT is true.
2742 2020-01-16  Mihail-Calin Ionescu  <mihail.ionescu@arm.com>
2743             Thomas Preud'homme  <thomas.preudhomme@arm.com>
2745         * config/arm/t-arm: Check return value of gcc rather than lack of
2746         output.
2748 2020-01-14  Georg-Johann Lay  <avr@gjlay.de>
2750         * config/avr/lib1funcs.S (skip): Simplify.
2752 2020-01-10  Kwok Cheung Yeung  <kcy@codesourcery.com>
2754         * config/gcn/atomic.c: Remove include of stdint.h.
2755         (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
2756         __UINTPTR_TYPE__.
2758 2020-01-09  Kwok Cheung Yeung  <kcy@codesourcery.com>
2760         * config/gcn/atomic.c: New.
2761         * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
2763 2020-01-08  Georg-Johann Lay  <avr@gjlay.de>
2765         Implement 64-bit double functions.
2767         PR target/92055
2768         * config.host (tmake_file) [target=avr]: Add t-libf7,
2769         t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
2770         * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
2771         depending on sizeof (double) or sizeof (long double).
2772         * config/avr/libf7: New folder.
2774 2020-01-05  Olivier Hainque  <hainque@adacore.com>
2776         * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
2777         by IN_LIBGCC2.
2779 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
2781         Update copyright years.
2783 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2785         * config/gthr-vxworks.h: Use _vxworks-versions.h.
2786         * config/gthr-vxworks-tls.c: Likewise.
2788 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2790         * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
2791         standard zero-initializer syntax.
2793 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2795         * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
2796         reference to the internal VX_GET_TLS_DATA interface.
2798 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2800         * config/vxcrtstuff.c: Fix incorrect spelling of
2801         USE_INITFINI_ARRAY in guard.
2803 2019-12-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2805         * config.host: s/msp430*-*-elf/msp430-*-elf*.
2806         Override default "extra_parts" variable.
2807         * configure: Regenerate.
2808         * configure.ac: Disable TM clone registry by default for
2809         msp430-elfbare.
2811 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2813         * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
2814         "extra_parts".
2815         * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
2817 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2819         * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
2820         true.
2822 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2824         * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
2825         defined instead of its value.
2827 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2829         * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
2830         if it will have contents.
2832 2019-12-05  Georg-Johann Lay  <avr@gjlay.de>
2834         PR target/92055
2835         * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
2837 2019-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2839         PR libgcc/91737
2840         * config.host: Add t-gthr-noweak on *-*-musl*.
2841         * config/t-gthr-noweak: New file.
2843 2019-11-17  John David Anglin  <danglin@gcc.gnu.org>
2845         * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
2846         volatile void *.  Remove trap check.
2847         (__kernel_cmpxchg2): Likewise.
2848         (FETCH_AND_OP_2): Adjust operand types.
2849         (OP_AND_FETCH_2): Likewise.
2850         (FETCH_AND_OP_WORD): Likewise.
2851         (OP_AND_FETCH_WORD): Likewise.
2852         (COMPARE_AND_SWAP_2): Likewise.
2853         (__sync_val_compare_and_swap_4): Likewise.
2854         (__sync_bool_compare_and_swap_4): Likewise.
2855         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2856         (__sync_lock_test_and_set_4): Likewise.
2857         (SYNC_LOCK_RELEASE_1): Likewise.  Use __kernel_cmpxchg2 for release.
2858         (__sync_lock_release_4): Adjust operand types.  Use __kernel_cmpxchg
2859         for release.
2860         (__sync_lock_release_8): Remove.
2862 2019-11-15  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2864         * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
2865         of __sigset_t.
2867 2019-11-14  Jerome Lambourg  <lambourg@adacore.com>
2868             Doug Rupp <rupp@adacore.com>
2869             Olivier Hainque  <hainque@adacore.com>
2871         * config.host: Collapse the arm-vxworks entries into
2872         a single arm-wrs-vxworks7* one.
2873         * config/arm/unwind-arm-vxworks.c: Update comments.  Provide
2874         __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
2875         kernel modules, to be overriden by libstdc++ when we link with
2876         it.  Rely on externally provided __exidx_start/end.
2878 2019-11-14  Doug Rupp  <rupp@adacore.com>
2879             Olivier Hainque  <hainque@adacore.com>
2881         * config.host: Handle aarch64*-wrs-vxworks7*.
2883 2019-11-12  Olivier Hainque  <hainque@adacore.com>
2885         * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
2886         sources except the cxx0x support to LIB2ADDEH.  We don't support
2887         cxx0x on AE/653.
2888         * config/t-vxworksae: New file.
2889         * config.host: Handle *-*-vxworksae: Add the two aforementioned
2890         Makefile fragment files at their expected position in the tmake_file
2891         list, in accordance with what is done for other VxWorks variants.
2893 2019-11-12  Corentin Gay  <gay@adacore.com>
2894             Jerome Lambourg  <lambourg@adacore.com>
2895             Olivier Hainque  <hainque@adacore.com>
2897         * config/t-gthr-vxworks: New file, add all the gthr-vxworks
2898         sources to LIB2ADDEH.
2899         * config/t-vxworks: Remove adjustments to LIB2ADDEH.
2900         * config/t-vxworks7: Likewise.
2902         * config.host: Append a block at the end of the file to add the
2903         t-gthr files to the tmake_file list for VxWorks after everything
2904         else.
2906         * config/vxlib.c: Rename as gthr-vxworks.c.
2907         * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
2909         * config/gthr-vxworks.h: Simplify a few comments.  Expose a TAS
2910         API and a basic error checking API, both internal.  Simplify the
2911         __gthread_once_t type definition and initializers.  Add sections
2912         for condition variables support and for the C++0x thread support,
2913         conditioned against Vx653 for the latter.
2915         * config/gthr-vxworks.c (__gthread_once): Simplify comments and
2916         implementation, leveraging the TAS internal API.
2917         * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
2918         API, leveraging the general availability of TLS services in VxWorks7
2919         post SR6xxx.
2920         (__gthread_setspecific, __gthread_setspecific): Use it.
2921         (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
2922         * config/gthr-vxworks-cond.c: New file.  GTHREAD_COND variable
2923         support based on VxWorks primitives.
2924         * config/gthr-vxworks-thread.c: New file.  GTHREAD_CXX0X support
2925         based on VxWorks primitives.
2927 2019-11-06  Jerome Lambourg  <lambourg@adacore.com>
2928             Olivier Hainque  <hainque@adacore.com>
2930         * config/vxcrtstuff.c: New file.
2931         * config/t-vxcrtstuff: New Makefile fragment.
2932         * config.host: Append t-vxcrtstuff to the tmake_file list
2933         on all VxWorks ports using dwarf for table based EH.
2935 2019-11-07  Georg-Johann Lay  <avr@gjlay.de>
2937         Support 64-bit double and 64-bit long double configurations.
2939         PR target/92055
2940         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
2941         long double is a 32-bit type.
2942         * config/avr/t-avrlibc: Copy double64 and long-double64
2943         multilib(s) from the vanilla one.
2944         * config/avr/t-copy-libgcc: New Makefile snip.
2946 2019-11-04  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2948         * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
2949         the target output object format is not ELF.
2950         s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
2952 2019-11-03  Oleg Endo  <olegendo@gcc.gnu.org>
2954         PR libgcc/78804
2955         * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
2956         * fp-bit.c (pack_d, unpack_d): Remove special cases for
2957         FLOAT_BIT_ORDER_MISMATCH.
2958         * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
2960 2019-11-01  Jim Wilson  <jimw@sifive.com>
2962         * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
2964 2019-10-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2966         * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
2967         s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY, 
2968         s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
2969         Define symbols for 32-bit and f5series hardware multiply
2970         register addresses.
2971         Replace hard-coded register addresses with symbols.
2972         Fix "_mspabi*" typo.
2973         Fix whitespace.
2974         * config/msp430/lib2mul.c: Add comment.
2976 2019-10-15  John David Anglin  <danglin@gcc.gnu.org>
2978         * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
2979         unsigned int.  Adjust callers.
2980         (__canonicalize_funcptr_for_compare): Change plabel type to volatile
2981         unsigned int *.  Load relocation offset before function pointer.
2982         Add barrier to ensure ordering.
2984 2019-10-12  John David Anglin  <danglin@gcc.gnu.org>
2986         * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
2987         Load PIC register after branch target.  Fix white space.
2988         * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
2989         implementations.  Load PIC register after branch target.  Don't
2990         clobber function pointer when it points to function descriptor.
2991         Use nullification instead of branch in LINUX implementation.
2993 2019-10-03  John David Anglin  <danglin@gcc.gnu.org>
2995         * config/pa/fptr.c: Disable -Warray-bounds warning.
2997 2019-09-25  Richard Henderson  <richard.henderson@linaro.org>
2999         * config.in, configure: Re-rebuild with stock autoconf 2.69,
3000         not the ubuntu modified 2.69.
3002         PR target/91833
3003         * config/aarch64/lse-init.c: Include auto-target.h.  Disable
3004         initialization if !HAVE_SYS_AUXV_H.
3005         * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
3006         * config.in, configure: Rebuild.
3008         PR target/91834
3009         * config/aarch64/lse.S (LDNM): Ensure STXR output does not
3010         overlap the inputs.
3012 2019-09-25  Shaokun Zhang  <zhangshaokun@hisilicon.com>
3014         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
3015         CTR_EL0.IDC and CTR_EL0.DIC.
3017 2019-09-20  Christophe Lyon  <christophe.lyon@st.com>
3019         Revert:
3020         2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
3021                 MickaĂ«l GuĂŞnĂ© <mickael.guene@st.com>
3023         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3024         architecture.
3026 2019-09-19  Richard Henderson  <richard.henderson@linaro.org>
3028         * config/aarch64/lse-init.c: New file.
3029         * config/aarch64/lse.S: New file.
3030         * config/aarch64/t-lse: New file.
3031         * config.host: Add t-lse to all aarch64 tuples.
3033 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
3034         MickaĂ«l GuĂŞnĂ© <mickael.guene@st.com>
3036         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3037         architecture.
3039 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
3040         MickaĂ«l GuĂŞnĂ© <mickael.guene@st.com>
3042         * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
3043         (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
3044         (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
3045         (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
3046         (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
3047         (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
3048         (__gnu_personality_sigframe_fdpic): New.
3049         (get_eit_entry): Add FDPIC signal frame support.
3051 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
3052         MickaĂ«l GuĂŞnĂ© <mickael.guene@st.com>
3054         * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
3055         (__kernel_dmb): Likewise.
3056         (__fdpic_cmpxchg): New function.
3057         (__fdpic_dmb): New function.
3058         * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
3059         (gnu_Unwind_Find_got): New function.
3060         (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
3061         * unwind-arm-common.inc (UCB_PR_GOT): New.
3062         (funcdesc_t): New struct.
3063         (get_eit_entry): Add FDPIC support.
3064         (unwind_phase2): Likewise.
3065         (unwind_phase2_forced): Likewise.
3066         (__gnu_Unwind_RaiseException): Likewise.
3067         (__gnu_Unwind_Resume): Likewise.
3068         (__gnu_Unwind_Backtrace): Likewise.
3069         * unwind-pe.h (read_encoded_value_with_base): Likewise.
3071 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
3072         MickaĂ«l GuĂŞnĂ© <mickael.guene@st.com>
3074         * libgcc/crtstuff.c: Add support for FDPIC.
3076 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
3078         * config.host: Handle *-*-uclinuxfdpiceabi.
3080 2019-09-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
3082         * config.host: Set cpu_type for bpf-*-* targets.
3083         * config/bpf/t-bpf: Likewise.
3084         * config/bpf/crtn.S: Likewise.
3085         * config/bpf/crti.S: New file.
3087 2019-09-06  Jim Wilson  <jimw@sifive.com>
3089         * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3090         (riscv*-*-freebsd*): Likewise.
3092 2019-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
3094         * config.host: Remove references to spu.
3095         * config/spu/: Remove directory.
3097 2019-08-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3099         PR target/91306
3100         * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
3101         element type, instead of "sizeof" the element type.
3102         (__DTOR_LIST__): Likewise.
3103         (__TMC_LIST__): Likewise.
3104         (__do_global_dtors_aux_fini_array_entry): Likewise.
3105         (__frame_dummy_init_array_entry): Likewise.
3106         (__CTOR_END__): Likewise.
3107         (__DTOR_END__): Likweise.
3108         (__FRAME_END__): Likewise.
3109         (__TMC_END__): Likewise.
3111 2019-08-20  Lili Cui  <lilicui@intel.com>
3113         * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
3114         INTEL_COREI7_COOPERLAKE.
3116 2019-07-31  Matt Thomas  <matt@3am-software.com>
3117             Nick Hudson <nick@nthcliff.demon.co.uk>
3118             Matthew Green <mrg@eterna.com.au>
3119             Maya Rashish <coypu@sdf.org>
3121         * config.host (hppa*-*-netbsd*): New case.
3122         * config/pa/t-netbsd: New file.
3124 2019-07-31  Joel Hutton  <Joel.Hutton@arm.com>
3126         * config/arm/cmse.c (cmse_check_address_range): Add
3127         warn_unused_result attribute.
3129 2019-07-22  Martin Liska  <mliska@suse.cz>
3131         * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
3132         * config/pa/t-stublib: Likewise.
3134 2019-07-22  Stafford Horne  <shorne@gmail.com>
3136         PR target/90362
3137         * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
3138         to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
3139         instructions are not available on every processor.  Change a
3140         l.bnf to l.bf to fix logic issue.
3142 2019-07-04  Iain Sandoe  <iain@sandoe.co.uk>
3144         * config.host: Remove reference to t-darwin8.
3146 2019-07-03  Iain Sandoe  <iain@sandoe.co.uk>
3148         * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
3149         list.
3150         * config/rs6000/t-darwin: Build crt3_2 for older systems.  Revise
3151         mmacosx-version-min for crts to run across all system versions.
3152         * config/rs6000/t-darwin64 (LIB2ADD): Remove.
3153         * config/t-darwin: Revise mmacosx-version-min for crts to run across
3154         system versions >= 10.4.
3156 2019-07-03  Martin Liska  <mliska@suse.cz>
3158         * Makefile.in: Use topn_values instead of one_value names.
3159         * libgcov-merge.c (__gcov_merge_single): Move to ...
3160         (__gcov_merge_topn): ... this.
3161         (merge_single_value_set): Move to ...
3162         (merge_topn_values_set): ... this.
3163         * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
3164         ...
3165         (__gcov_topn_values_profiler_body): ... this.
3166         (__gcov_one_value_profiler_v2): Move to ...
3167         (__gcov_topn_values_profiler): ... this.
3168         (__gcov_one_value_profiler_v2_atomic): Move to ...
3169         (__gcov_topn_values_profiler_atomic): ... this.
3170         (__gcov_indirect_call_profiler_v4): Remove.
3171         * libgcov-util.c (__gcov_single_counter_op): Move to ...
3172         (__gcov_topn_counter_op): ... this.
3173         * libgcov.h (L_gcov_merge_single): Remove.
3174         (L_gcov_merge_topn): New.
3175         (__gcov_merge_single): Remove.
3176         (__gcov_merge_topn): New.
3177         (__gcov_one_value_profiler_v2): Move to ..
3178         (__gcov_topn_values_profiler): ... this.
3179         (__gcov_one_value_profiler_v2_atomic): Move to ...
3180         (__gcov_topn_values_profiler_atomic): ... this.
3182 2019-07-03  Martin Liska  <mliska@suse.cz>
3184         * libgcov-merge.c (merge_single_value_set): Support N values.
3185         * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
3187 2019-06-27  Ilia Diachkov  <ilia.diachkov@optimitech.com>
3189         * Makefile.in (USE_TM_CLONE_REGISTRY): New.
3190         (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
3191         * configure.ac: Add --disable-tm-clone-registry option.
3192         * configure: Regenerate.
3194 2019-06-27  Martin Liska  <mliska@suse.cz>
3196         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
3197         dead assignments.
3198         * libgcov-util.c: Likewise.
3200 2019-06-27  Martin Liska  <mliska@suse.cz>
3202         * libgcov-util.c (gcov_profile_merge): Release allocated
3203         memory.
3204         (calculate_overlap): Likewise.
3206 2019-06-25  Iain Sandoe  <iain@sandoe.co.uk>
3208         * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
3209         * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
3210         Build objects for the out of line save/restore register functions
3211         so that they can be used for any supported Darwin version.
3212         * config/t-darwin: Default the build Darwin version to Darwin8
3213         (MacOS 10.4).
3215 2019-06-25  Martin Liska  <mliska@suse.cz>
3217         * libgcov-driver-system.c (replace_filename_variables): Do not
3218         call strlen with NULL argument.
3220 2019-06-25  Andrew Stubbs  <ams@codesourcery.com>
3222         * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
3223         * config/gcn/unwind-gcn.c: New file.
3225 2019-06-25  Kwok Cheung Yeung  <kcy@codesourcery.com>
3226             Andrew Stubbs  <ams@codesourcery.com>
3228         * configure: Regenerate.
3229         * config/gcn/gthr-gcn.h: New.
3231 2019-06-18  Tom de Vries  <tdevries@suse.de>
3233         * config/nvptx/crt0.c (__main): Declare.
3235 2019-06-17  Matthew Green  <mrg@eterna.com.au>
3236             Maya Rashish  <coypu@sdf.org>
3238         * config.host (aarch64*-*-netbsd*): New case.
3240 2019-06-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3242         * config/msp430/slli.S (__mspabi_sllll): New library function for
3243         performing a logical left shift of a 64-bit value.
3244         * config/msp430/srai.S (__mspabi_srall): New library function for
3245         performing a arithmetic right shift of a 64-bit value.
3246         * config/msp430/srll.S (__mspabi_srlll): New library function for
3247         performing a logical right shift of a 64-bit value.
3249 2019-06-14  Matt Thomas  <matt@3am-software.com>
3250             Matthew Green  <mrg@eterna.com.au>
3251             Nick Hudson  <skrll@netbsd.org>
3252             Maya Rashish  <coypu@sdf.org>
3254         * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
3255         * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
3256         functions to build.
3257         * config/arm/t-netbsd-eabi: New file.
3259 2019-06-12  Dimitar Dimitrov  <dimitar@dinux.eu>
3261         * config.host: Add PRU target.
3262         * config/pru/asri.c: New file.
3263         * config/pru/eqd.c: New file.
3264         * config/pru/eqf.c: New file.
3265         * config/pru/ged.c: New file.
3266         * config/pru/gef.c: New file.
3267         * config/pru/gtd.c: New file.
3268         * config/pru/gtf.c: New file.
3269         * config/pru/led.c: New file.
3270         * config/pru/lef.c: New file.
3271         * config/pru/lib2bitcountHI.c: New file.
3272         * config/pru/lib2divHI.c: New file.
3273         * config/pru/lib2divQI.c: New file.
3274         * config/pru/lib2divSI.c: New file.
3275         * config/pru/libgcc-eabi.ver: New file.
3276         * config/pru/ltd.c: New file.
3277         * config/pru/ltf.c: New file.
3278         * config/pru/mpyll.S: New file.
3279         * config/pru/pru-abi.h: New file.
3280         * config/pru/pru-asm.h: New file.
3281         * config/pru/pru-divmod.h: New file.
3282         * config/pru/sfp-machine.h: New file.
3283         * config/pru/t-pru: New file.
3285 2019-06-11  Jakub Jelinek  <jakub@redhat.com>
3287         * libgcov-merge.c (__gcov_merge_single): Revert previous change.
3289 2019-06-10  Martin Liska  <mliska@suse.cz>
3291         PR bootstrap/90808
3292         * libgcov.h: Add ATTRIBUTE_UNUSED.
3294 2019-06-10  Martin Liska  <mliska@suse.cz>
3296         * Makefile.in: Add __gcov_one_value_profiler_v2,
3297         __gcov_one_value_profiler_v2_atomic and
3298         __gcov_indirect_call_profiler_v4.
3299         * libgcov-merge.c (__gcov_merge_single): Change
3300         function signature.
3301         (merge_single_value_set): New.
3302         * libgcov-profiler.c (__gcov_one_value_profiler_body):
3303         Update functionality.
3304         (__gcov_one_value_profiler): Remove.
3305         (__gcov_one_value_profiler_v2): ... this.
3306         (__gcov_one_value_profiler_atomic): Rename to ...
3307         (__gcov_one_value_profiler_v2_atomic): this.
3308         (__gcov_indirect_call_profiler_v3): Rename to ...
3309         (__gcov_indirect_call_profiler_v4): ... this.
3310         * libgcov.h (__gcov_one_value_profiler): Remove.
3311         (__gcov_one_value_profiler_atomic): Remove.
3312         (__gcov_one_value_profiler_v2_atomic): New.
3313         (__gcov_indirect_call_profiler_v3): Remove.
3314         (__gcov_one_value_profiler_v2): New.
3315         (__gcov_indirect_call_profiler_v4): New.
3316         (gcov_get_counter_ignore_scaling): New function.
3318 2019-06-07  Martin Liska  <mliska@suse.cz>
3320         * Makefile.in: Remove usage of
3321         _gcov_merge_icall_topn.
3322         * libgcov-driver.c (gcov_sort_n_vals): Remove.
3323         (gcov_sort_icall_topn_counter): Likewise.
3324         (gcov_sort_topn_counter_arrays): Likewise.
3325         (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
3326         * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
3327         * libgcov-profiler.c (__gcov_topn_value_profiler_body):
3328         Likewise.
3329         (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
3330         (struct indirect_call_tuple): Remove.
3331         (__gcov_indirect_call_topn_profiler): Remove.
3332         * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
3333         * libgcov.h (gcov_sort_n_vals): Remove.
3334         (L_gcov_merge_icall_topn): Likewise.
3335         (__gcov_merge_icall_topn): Likewise.
3336         (__gcov_indirect_call_topn_profiler): Likewise.
3338 2019-06-06  Iain Sandoe  <iain@sandoe.co.uk>
3340         * config/rs6000/t-darwin: Ensure that the unwinder is built with
3341         altivec enabled.
3343 2019-06-06  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3345         * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
3346         section.
3347         (__mspabi_slli): Likewise.
3348         (__mspabi_slll_n): Likewise.
3349         (__mspabi_slll): Likewise.
3350         * config/msp430/srai.S (__mspabi_srai_n): Likewise.
3351         (__mspabi_srai): Likewise.
3352         (__mspabi_sral_n): Likewise.
3353         (__mspabi_sral): Likewise.
3354         * config/msp430/srli.S (__mspabi_srli_n): Likewise.
3355         (__mspabi_srli): Likewise.
3356         (__mspabi_srll_n): Likewise.
3357         (__mspabi_srll): Likewise.
3359 2019-06-05  Yoshinori Sato  <ysato@users.sourceforge.jp>
3361         * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
3362         Add appropriate tm_file clause as well.
3363         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
3365 2019-06-05  James Clarke  <jrtc27@jrtc27.com>
3367         * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
3368         rather than .data/.bss so it can be accessed via gp-relative
3369         addressing.
3371 2019-06-05  David Edelsohn  <dje.gcc@gmail.com>
3373         * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
3374         (CR2_REGNO): Rename to R_CR2.
3375         (XER_REGNO): Rename to R_XER.
3376         (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
3377         (VRSAVE_REGNO): Rename to R_VRSAVE.
3378         (VSCR_REGNO): R_VSCR.
3380 2019-05-29  Yoshinori Sato  <ysato@users.sourceforge.jp>
3382         * config.host (rx-*-linux*): Add new case.
3383         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
3385 2019-05-29  Sam Tebbs  <sam.tebbs@arm.com>
3387         * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
3388         function.
3389         * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
3390         aarch64_post_frob_eh_handler_addr): Add check for b-key.
3391         * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
3392         aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
3393         Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
3394         * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
3395         string.
3396         * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
3397         string.
3398         (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
3400 2019-05-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3402         * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
3403         Remove Solaris 9 and 10 support.
3404         (sparc_is_sighandler): Likewise.
3406 2019-05-26  John David Anglin  <danglin@gcc.gnu.org>
3408         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
3410 2019-05-17  H.J. Lu  <hongjiu.lu@intel.com>
3412         * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3413         4_FP_W_TYPEs are used for IEEE quad precision.
3414         * soft-fp/extendhftf2.c: Likewise.
3415         * soft-fp/extendsftf2.c: Likewise.
3416         * soft-fp/extendxftf2.c: Likewise.
3417         * soft-fp/trunctfdf2.c: Likewise.
3418         * soft-fp/trunctfhf2.c: Likewise.
3419         * soft-fp/trunctfsf2.c: Likewise.
3420         * soft-fp/trunctfxf2.c: Likewise.
3421         * config/rs6000/ibm-ldouble.c: Likewise.
3423 2019-05-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3425         * config.host: Simplify various *-*-solaris2.1[0-9]* to
3426         *-*-solaris2*.
3427         * configure.ac: Likewise.
3428         * configure: Regenerate.
3430         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3431         Solaris 10 and Solaris 11 < snv_125 handling.
3433 2019-05-12  Iain Sandoe  <iain@sandoe.co.uk>
3435         * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
3437 2019-05-07  Hongtao Liu  <hongtao.liu@intel.com>
3439         * config/i386/cpuinfo.c (get_available_features): Detect BF16.
3440         * config/i386/cpuinfo.h (enum processor_features): Add
3441         FEATURE_AVX512BF16.
3443 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
3444             Bernd Edlinger  <bernd.edlinger@hotmail.de>
3445             Jakub Jelinek  <jakub@redhat.com>
3447         PR target/89093
3448         * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
3449         * config/arm/unwind-arm.c: Likewise.
3450         * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
3451         attribute for ARM.
3453 2019-04-15  Monk Chiang  <sh.chiang04@gmail.com>
3455         * config/nds32/linux-unwind.h (SIGRETURN): Remove.
3456         (RT_SIGRETURN): Update.
3457         (nds32_fallback_frame_state): Update.
3459 2019-02-21  Martin Sebor  <msebor@redhat.com>
3461         * libgcc2.h (__clear_cache): Correct signature.
3462         * libgcc2.c (__clear_cache): Same.
3464 2019-02-20  Uroš Bizjak  <ubizjak@gmail.com>
3466         * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
3467         Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
3469 2019-02-19  Uroš Bizjak  <ubizjak@gmail.com>
3471         * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
3472         regno instead of index to DWARF_ZERO_REG.
3474 2019-02-15  Eric Botcazou  <ebotcazou@adacore.com>
3476         * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
3477         TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
3479 2019-01-31  Uroš Bizjak  <ubizjak@gmail.com>
3481         * config/alpha/t-linux: Add -mfp-rounding-mode=d
3482         to HOST_LIBGCC2_CFLAGS.
3484 2019-01-23  Joseph Myers  <joseph@codesourcery.com>
3486         PR libgcc/88931
3487         * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
3489 2019-01-18  Martin Liska  <mliska@suse.cz>
3491         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
3492         to ...
3493         (__gcov_indirect_call_profiler_v3): ... this.
3494         * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
3495         (__gcov_indirect_call_profiler_v3): Likewise.
3496         * Makefile.in: Bump function name.
3498 2019-01-18  Martin Liska  <mliska@suse.cz>
3500         * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
3501         (gcov_version): Use in gcov_error.
3502         (merge_one_data): Likewise.
3503         (dump_one_gcov): Likewise.
3505 2019-01-18  Martin Liska  <mliska@suse.cz>
3507         * libgcov-driver.c (gcov_version_string): New function.
3508         (gcov_version): Convert version integer into string.
3510 2019-01-17  Andrew Stubbs  <ams@codesourcery.com>
3511             Kwok Cheung Yeung  <kcy@codesourcery.com>
3512             Julian Brown  <julian@codesourcery.com>
3513             Tom de Vries  <tom@codesourcery.com>
3515         * config.host: Recognize amdgcn*-*-amdhsa.
3516         * config/gcn/crt0.c: New file.
3517         * config/gcn/lib2-divmod-hi.c: New file.
3518         * config/gcn/lib2-divmod.c: New file.
3519         * config/gcn/lib2-gcn.h: New file.
3520         * config/gcn/sfp-machine.h: New file.
3521         * config/gcn/t-amdgcn: New file.
3523 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
3525         PR other/16615
3527         * config/c6x/libunwind.S: Mechanically replace "can not" with
3528         "cannot".
3529         * config/tilepro/atomic.h: Likewise.
3530         * config/vxlib-tls.c: Likewise.
3531         * generic-morestack-thread.c: Likewise.
3532         * generic-morestack.c: Likewise.
3533         * mkmap-symver.awk: Likewise.
3535 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
3537         Update copyright years.
3539 2018-12-20  H.J. Lu  <hongjiu.lu@intel.com>
3541         * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
3542         to ignore -Waddress-of-packed-member.
3544 2018-12-19  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
3546         * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
3547         parameter and corresponding code.
3548         (ARM_FUNC_START): Likewise in both definitions.
3549         Also update footer comment about condition that need to match with
3550         gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
3551         * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
3552         defined.  Weakly define it in this case.
3553         * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
3554         * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
3555         _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
3556         comment to keep condition in sync with the one in
3557         libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
3559 2018-12-18  Wei Xiao  <wei3.xiao@intel.com>
3561         * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
3562         * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
3564 2018-12-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3566         * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
3567         and .cfi_endproc directives for VxWorks targets.
3569 2018-12-05  Paul Koning  <ni1d@arrl.net>
3571         * udivmodhi4.c (__udivmodhi4): Fix loop end check.
3573 2018-11-27  Alan Modra  <amodra@gmail.com>
3575         * config/rs6000/morestack.S (__stack_split_initialize),
3576         (__morestack_get_guard, __morestack_set_guard),
3577         (__morestack_make_guard): Provide CFI covering these functions.
3578         * config/rs6000/tramp.S (__trampoline_setup): Likewise.
3580 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
3582         * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
3583         (sc_pt_regs_lr): Update for kernel.
3584         (sc_pt_regs_tls): Update for kernel.
3586 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
3588         * config/csky/linux-unwind.h: Fix coding style.
3590 2018-11-13  Xianmiao Qu  <xianmiao_qu@c-sky.com>
3592         * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
3593         (csky_fallback_frame_state): Modify the check of the
3594         instructions to adapt to changes in the kernel
3596 2018-11-09  Stafford Horne  <shorne@gmail.com>
3597             Richard Henderson  <rth@twiddle.net>
3599         * config.host: Add OpenRISC support.
3600         * config/or1k/*: New.
3602 2018-11-08  Kito Cheng  <kito@andestech.com>
3604         * soft-fp/adddf3.c: Update from glibc.
3605         * soft-fp/addsf3.c: Likewise.
3606         * soft-fp/addtf3.c: Likewise.
3607         * soft-fp/divdf3.c: Likewise.
3608         * soft-fp/divsf3.c: Likewise.
3609         * soft-fp/divtf3.c: Likewise.
3610         * soft-fp/double.h: Likewise.
3611         * soft-fp/eqdf2.c: Likewise.
3612         * soft-fp/eqsf2.c: Likewise.
3613         * soft-fp/eqtf2.c: Likewise.
3614         * soft-fp/extenddftf2.c: Likewise.
3615         * soft-fp/extended.h: Likewise.
3616         * soft-fp/extendhftf2.c: Likewise.
3617         * soft-fp/extendsfdf2.c: Likewise.
3618         * soft-fp/extendsftf2.c: Likewise.
3619         * soft-fp/extendxftf2.c: Likewise.
3620         * soft-fp/fixdfdi.c: Likewise.
3621         * soft-fp/fixdfsi.c: Likewise.
3622         * soft-fp/fixdfti.c: Likewise.
3623         * soft-fp/fixhfti.c: Likewise.
3624         * soft-fp/fixsfdi.c: Likewise.
3625         * soft-fp/fixsfsi.c: Likewise.
3626         * soft-fp/fixsfti.c: Likewise.
3627         * soft-fp/fixtfdi.c: Likewise.
3628         * soft-fp/fixtfsi.c: Likewise.
3629         * soft-fp/fixtfti.c: Likewise.
3630         * soft-fp/fixunsdfdi.c: Likewise.
3631         * soft-fp/fixunsdfsi.c: Likewise.
3632         * soft-fp/fixunsdfti.c: Likewise.
3633         * soft-fp/fixunshfti.c: Likewise.
3634         * soft-fp/fixunssfdi.c: Likewise.
3635         * soft-fp/fixunssfsi.c: Likewise.
3636         * soft-fp/fixunssfti.c: Likewise.
3637         * soft-fp/fixunstfdi.c: Likewise.
3638         * soft-fp/fixunstfsi.c: Likewise.
3639         * soft-fp/fixunstfti.c: Likewise.
3640         * soft-fp/floatdidf.c: Likewise.
3641         * soft-fp/floatdisf.c: Likewise.
3642         * soft-fp/floatditf.c: Likewise.
3643         * soft-fp/floatsidf.c: Likewise.
3644         * soft-fp/floatsisf.c: Likewise.
3645         * soft-fp/floatsitf.c: Likewise.
3646         * soft-fp/floattidf.c: Likewise.
3647         * soft-fp/floattihf.c: Likewise.
3648         * soft-fp/floattisf.c: Likewise.
3649         * soft-fp/floattitf.c: Likewise.
3650         * soft-fp/floatundidf.c: Likewise.
3651         * soft-fp/floatundisf.c: Likewise.
3652         * soft-fp/floatunditf.c: Likewise.
3653         * soft-fp/floatunsidf.c: Likewise.
3654         * soft-fp/floatunsisf.c: Likewise.
3655         * soft-fp/floatunsitf.c: Likewise.
3656         * soft-fp/floatuntidf.c: Likewise.
3657         * soft-fp/floatuntihf.c: Likewise.
3658         * soft-fp/floatuntisf.c: Likewise.
3659         * soft-fp/floatuntitf.c: Likewise.
3660         * soft-fp/gedf2.c: Likewise.
3661         * soft-fp/gesf2.c: Likewise.
3662         * soft-fp/getf2.c: Likewise.
3663         * soft-fp/half.h: Likewise.
3664         * soft-fp/ledf2.c: Likewise.
3665         * soft-fp/lesf2.c: Likewise.
3666         * soft-fp/letf2.c: Likewise.
3667         * soft-fp/muldf3.c: Likewise.
3668         * soft-fp/mulsf3.c: Likewise.
3669         * soft-fp/multf3.c: Likewise.
3670         * soft-fp/negdf2.c: Likewise.
3671         * soft-fp/negsf2.c: Likewise.
3672         * soft-fp/negtf2.c: Likewise.
3673         * soft-fp/op-1.h: Likewise.
3674         * soft-fp/op-2.h: Likewise.
3675         * soft-fp/op-4.h: Likewise.
3676         * soft-fp/op-8.h: Likewise.
3677         * soft-fp/op-common.h: Likewise.
3678         * soft-fp/quad.h: Likewise.
3679         * soft-fp/single.h: Likewise.
3680         * soft-fp/soft-fp.h: Likewise.
3681         * soft-fp/subdf3.c: Likewise.
3682         * soft-fp/subsf3.c: Likewise.
3683         * soft-fp/subtf3.c: Likewise.
3684         * soft-fp/truncdfsf2.c: Likewise.
3685         * soft-fp/trunctfdf2.c: Likewise.
3686         * soft-fp/trunctfhf2.c: Likewise.
3687         * soft-fp/trunctfsf2.c: Likewise.
3688         * soft-fp/trunctfxf2.c: Likewise.
3689         * soft-fp/unorddf2.c: Likewise.
3690         * soft-fp/unordsf2.c: Likewise.
3691         * soft-fp/unordtf2.c: Likewise.
3693 2018-11-04  Venkataramanan Kumar  <Venkataramanan.kumar@amd.com>
3695         * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
3696         * config/i386/cpuinfo.h (processor_types): Add znver2.
3698 2018-11-01  Paul Koning  <ni1d@arrl.net>
3700         * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
3701         (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
3703 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
3705         PR bootstrap/82856
3706         * configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
3707         * configure: Regenerate.
3709 2018-10-31  Claudiu Zissulescu  <claziss@synopsys.com>
3711         * config/arc/lib1funcs.S (_muldi3): New function.
3712         * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
3714 2018-10-30  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3716         * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
3718 2018-10-25  Martin Liska  <mliska@suse.cz>
3720         PR other/87735
3721         * libgcov-profiler.c: Revert.
3723 2018-10-24  Martin Liska  <mliska@suse.cz>
3725         * libgcov-profiler.c: Start from 1 in order to distinguish
3726         functions which were seen and these that were not.
3728 2018-10-18  Paul Koning  <ni1d@arrl.net>
3730         * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
3731         standard.
3732         * divmod.c: Update references to __udivmodsi4.
3733         * udivmod.c: Ditto.
3734         * udivhi3.c: New file.
3735         * udivmodhi4.c: New file.
3736         * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
3738 2018-10-17  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3740         * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
3742 2018-10-12  Olivier Hainque  <hainque@adacore.com>
3744         * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
3745         defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
3747 2018-10-08  Paul Koning  <ni1d@arrl.net>
3749         * config/pdp11/t-pdp11: Remove -mfloat32 switch.
3751 2018-10-04  Martin Liska  <mliska@suse.cz>
3753         PR gcov-profile/84107
3754         * libgcov-profiler.c (__gcov_indirect_call):
3755         Change type to indirect_call_tuple.
3756         (struct indirect_call_tuple): New struct.
3757         (__gcov_indirect_call_topn_profiler): Change type.
3758         (__gcov_indirect_call_profiler_v2): Use the new
3759         variables.
3760         * libgcov.h (struct indirect_call_tuple): New struct
3761         definition.
3763 2018-10-03  Uros Bizjak  <ubizjak@gmail.com>
3765         * libgcc2.c (isnan): Use __builtin_isnan.
3766         (isfinite): Use __builtin_isfinite.
3767         (isinf): Use __builtin_isinf.
3769 2018-09-26  Uros Bizjak  <ubizjak@gmail.com>
3771         * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
3773 2018-09-21  Alexandre Oliva  <oliva@adacore.com>
3775         * config/vxcache.c: New file.  Provide __clear_cache, based on
3776         the cacheTextUpdate VxWorks service.
3777         * config/t-vxworks (LIB2ADD): Add vxcache.c.
3778         (LIB2FUNCS_EXCLUDE): Add _clear_cache.
3779         * config/t-vxwoks7: Likewise.
3781 2018-09-21  Martin Liska  <mliska@suse.cz>
3783         * libgcov-driver.c (crc32_unsigned): Remove.
3784         (gcov_histogram_insert): Likewise.
3785         (gcov_compute_histogram): Likewise.
3786         (compute_summary): Simplify rapidly.
3787         (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
3788         (merge_summary): Rapidly simplify.
3789         (dump_one_gcov): Ignore gcov_summary.
3790         (gcov_do_dump): Do not handle program summary, it's not
3791         used.
3792         * libgcov-util.c (tag_summary): Remove.
3793         (read_gcda_finalize): Fix coding style.
3794         (read_gcda_file): Initialize curr_object_summary.
3795         (compute_summary): Remove.
3796         (calculate_overlap): Remove settings of run_max.
3798 2018-09-21  Monk Chiang  <sh.chiang04@gmail.com>
3800         * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
3801         ucontext_t type instead.
3802         (nds32_fallback_frame_state): Remove struct _sigframe statement.
3804 2018-09-21  Kito Cheng  <kito.cheng@gmail.com>
3806         * config/nds32/t-nds32-glibc: New file.
3808 2018-09-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3810         * configure.ac (solaris_ld_v2_maps): New test.
3811         * configure: Regenerate.
3812         * Makefile.in (solaris_ld_v2_maps): New variable.
3813         * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
3814         if supported.
3816 2018-08-23  Richard Earnshaw  <rearnsha@arm.com>
3818         PR target/86951
3819         * config/arm/lib1funcs.asm (speculation_barrier): New function.
3820         * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
3821         to build.
3823 2018-08-22  Iain Sandoe  <iain@sandoe.co.uk>
3825         * config/unwind-dw2-fde-darwin.c
3826         (_darwin10_Unwind_FindEnclosingFunction): move from here ...
3827         * config/darwin10-unwind-find-enc-func.c: â€¦ to here.
3828         * config/t-darwin: Build Darwin10 unwinder shim crt.
3829         * libgcc/config.host: Add the Darwin10 unwinder shim.
3831 2018-08-21  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3833         * config.host: Add crtbegin.o and crtend.o for
3834         powerpc-wrs-vxworks target.
3836 2018-08-17  Jojo  <jijie_rong@c-sky.com>
3837             Huibin Wang  <huibin_wang@c-sky.com>
3838             Sandra Loosemore  <sandra@codesourcery.com>
3839             Chung-Lin Tang  <cltang@codesourcery.com>
3841         C-SKY port: libgcc
3843         * config.host: Add C-SKY support.
3844         * config/csky/*: New.
3846 2018-08-12  Chung-Ju Wu  <jasonwucj@gmail.com>
3848         * config/nds32/t-nds32-isr: Rearrange object dependency.
3849         * config/nds32/initfini.c: Add dwarf2 unwinding support.
3850         * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
3851         and registers usage.
3852         * config/nds32/isr-library/excp_isr.S: Ditto.
3853         * config/nds32/isr-library/intr_isr.S: Ditto.
3854         * config/nds32/isr-library/reset.S: Ditto.
3855         * config/nds32/isr-library/restore_all.inc: Ditto.
3856         * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
3857         * config/nds32/isr-library/restore_partial.inc: Ditto.
3858         * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
3859         * config/nds32/isr-library/save_all.inc: Ditto.
3860         * config/nds32/isr-library/save_mac_regs.inc: Ditto.
3861         * config/nds32/isr-library/save_partial.inc: Ditto.
3862         * config/nds32/isr-library/save_usr_regs.inc: Ditto.
3863         * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
3865 2018-08-11  John David Anglin  <danglin@gcc.gnu.org>
3867         * config/pa/linux-atomic.c: Update comment.
3868         (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
3869         COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
3870         SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
3871         __ATOMIC_RELAXED for atomic loads.
3872         (SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
3873         unordered store to release lock.
3874         (__sync_lock_release_8): Likewise.
3875         (SYNC_LOCK_RELEASE_2): Remove define.
3877 2018-08-02  Nicolas Pitre <nico@fluxnic.net>
3879         PR libgcc/86512
3880         * config/arm/ieee754-df.S: Don't shortcut denormal handling when
3881         exponent goes negative. Update my email address.
3882         * config/arm/ieee754-sf.S: Likewise.
3884 2018-08-01  Martin Liska  <mliska@suse.cz>
3886         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
3887         check that  __gcov_indirect_call_callee is non-null.
3889 2018-07-30  Christophe Lyon  <christophe.lyon@linaro.org>
3891         * config/arm/ieee754-df.S: Fix comment for code working on
3892         architectures >= 4.
3893         * config/arm/ieee754-sf.S: Likewise.
3895 2018-07-27  H.J. Lu  <hongjiu.lu@intel.com>
3897         PR libgcc/85334
3898         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3899         Removed.
3901 2018-07-05  James Clarke  <jrtc27@jrtc27.com>
3903         * configure: Regenerated.
3905 2018-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3907         * Makefile.in (install_leaf): Use enable_gcov instead of
3908         enable_libgcov.
3910 2018-06-27  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3912         * configure.ac: Add --disable-gcov option.
3913         * configure: Regenerate.
3914         * Makefile.in: Honour @enable_gcov@.
3916 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
3918         * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
3919         __ARM_ARCH and __ARM_FEATURE_CLZ instead.
3920         (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
3921         * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
3922         __ARM_ARCH__.
3923         * config/arm/ieee754-sf.S: Likewise.
3924         * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
3926 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
3928         * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
3929         longer supported.
3930         * config/arm/ieee754-sf.S: Likewise.
3932 2018-06-20  Than McIntosh  <thanm@google.com>
3934         PR libgcc/86213
3935         * generic-morestack.c (allocate_segment): Move calls to getenv and
3936         getpagesize to __morestack_load_mmap.
3937         (__morestack_load_mmap) Initialize static_pagesize and
3938         use_guard_page here so as to avoid clobbering SSE regs during a
3939         __morestack call.
3941 2018-06-18  Michael Meissner  <meissner@linux.ibm.com>
3943         * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
3944         support modules with -mno-gnu-attribute.
3945         * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
3947 2018-06-07  Olivier Hainque  <hainque@adacore.com>
3949         * config/t-vxworks (LIBGCC_INCLUDES): Add
3950         -I$(MULTIBUILDTOP)../../gcc/include.
3951         * config/t-vxworks7: Likewise. Reformat a bit to match
3952         the t-vxworks layout.
3954 2018-06-07  Olga Makhotina  <olga.makhotina@intel.com>
3956         * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
3958 2018-06-07  Martin Liska  <mliska@suse.cz>
3960         * libgcov-driver.c: Rename cs_all to all and assign it from
3961         all_prg.
3963 2018-06-07  Martin Liska  <mliska@suse.cz>
3965         PR bootstrap/86057
3966         * libgcov-driver-system.c (replace_filename_variables): Use
3967         memcpy instead of mempcpy.
3968         (allocate_filename_struct): Do not allocate filename, allocate
3969         prefix and set it.
3970         (gcov_exit_open_gcda_file): Allocate memory for gf->filename
3971         here and properly copy content into it.
3972         * libgcov-driver.c (struct gcov_filename): Remove max_length
3973         field, change prefix from size_t into char *.
3974         (compute_summary): Do not calculate longest filename.
3975         (gcov_do_dump): Release memory of gf.filename after each file.
3976         * libgcov-util.c (compute_summary): Use new signature of
3977         compute_summary.
3978         (calculate_overlap): Likewise.
3980 2018-06-05  Martin Liska  <mliska@suse.cz>
3982         PR gcov-profile/47618
3983         * libgcov-driver-system.c (replace_filename_variables): New
3984         function.
3985         (gcov_exit_open_gcda_file): Use it.
3987 2018-06-05  Martin Liska  <mliska@suse.cz>
3989         * libgcov-driver.c (gcov_compute_histogram): Remove usage
3990         of gcov_ctr_summary.
3991         (compute_summary): Do it just for a single summary.
3992         (merge_one_data): Likewise.
3993         (merge_summary): Simplify as we read just single summary.
3994         (dump_one_gcov): Pass proper argument.
3995         * libgcov-util.c (compute_one_gcov): Simplify as we have just
3996         single summary.
3997         (gcov_info_count_all_cold): Likewise.
3998         (calculate_overlap): Likewise.
4000 2018-06-02  Chung-Ju Wu  <jasonwucj@gmail.com>
4001             Monk Chiang  <sh.chiang04@gmail.com>
4003         * config.host (nds32*-linux*): New.
4004         * config/nds32/linux-atomic.c: New file.
4005         * config/nds32/linux-unwind.h: New file.
4007 2018-05-31  Uros Bizjak  <ubizjak@gmail.com>
4009         PR target/85591
4010         * config/i386/cpuinfo.c (get_amd_cpu): Return
4011         AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
4013 2018-05-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
4015         * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
4017 2018-05-29  Martin Liska  <mliska@suse.cz>
4019         PR gcov-profile/85759
4020         * libgcov-driver-system.c (gcov_error): Introduce usage of
4021         GCOV_EXIT_AT_ERROR env. variable.
4022         * libgcov-driver.c (merge_one_data): Print error that we
4023         overwrite a gcov file with a different timestamp.
4025 2018-05-23  Kalamatee  <kalamatee@gmail.com>
4027         * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
4028         path to Lf$finfty.
4030 2018-05-18  Kito Cheng <kito.cheng@gmail.com>
4031             Monk Chiang  <sh.chiang04@gmail.com>
4032             Jim Wilson <jimw@sifive.com>
4034         * config/riscv/save-restore.S: Add support for rv32e.
4036 2018-05-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
4038         * config/arm/libunwind.S: Update comment relating to armv5.
4040 2018-05-17  Jerome Lambourg  <lambourg@adacore.com>
4042         * config/arm/cmse.c (cmse_check_address_range): Replace
4043         UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
4045 2018-05-17  Olga Makhotina  <olga.makhotina@intel.com>
4047         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
4048         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
4050 2018-05-08  Olga Makhotina  <olga.makhotina@intel.com>
4052         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
4053         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
4055 2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
4057         * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
4059 2018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
4060             Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
4062         PR libgcc/84292
4063         * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
4064         op_and_fetch to return the right result.
4066 2018-04-27  Alan Modra  <amodra@gmail.com>
4068         PR libgcc/85532
4069         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
4070         -fno-asynchronous-unwind-tables.
4072 2018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
4074         * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
4075         * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
4077 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
4079         * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
4080         when including "config/i386/shadow-stack-unwind.h".
4082 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
4084         * configure: Regenerated.
4086 2018-04-20  Michael Meissner  <meissner@linux.ibm.com>
4088         PR target/85456
4089         * config/rs6000/_powikf2.c: New file.  Add support for the
4090         __builtin_powil function when long double is IEEE 128-bit floating
4091         point.
4092         * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
4093         __powikf2 support.
4094         (__powikf2): Likewise.
4095         * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
4096         (__powikf2_hw): Likewise.
4097         (__powikf2): Likewise.
4098         * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
4099         * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
4100         (_powikf2-hw.c): Likewise.
4102 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
4104         PR libgcc/85334
4105         * unwind-generic.h (_Unwind_Frames_Increment): New.
4106         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
4107         Likewise.
4108         * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
4109         count with _Unwind_Frames_Increment.
4110         (_Unwind_ForcedUnwind_Phase2): Likewise.
4112 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
4114         PR libgcc/85379
4115         * config/i386/morestack.S (__stack_split_initialize): Add
4116         _CET_ENDBR.
4118 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
4120         * configure: Regenerated.
4122 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
4124         PR jit/85384
4125         * configure: Regenerate.
4127 2018-04-16  Jakub Jelinek  <jakub@redhat.com>
4129         PR target/84945
4130         * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
4131         -Wdangling-else warnings.  Mask shift counts to avoid
4132         -Wshift-count-negative and -Wshift-count-overflow false positives.
4134 2018-04-06  Ruslan Bukin  <br@bsdpad.com>
4136         * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
4138 2018-03-29  H.J. Lu  <hongjiu.lu@intel.com>
4140         PR target/85100
4141         * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
4142         (XSTATE_FP): Likewise.
4143         (XSTATE_SSE): Likewise.
4144         (XSTATE_YMM): Likewise.
4145         (XSTATE_OPMASK): Likewise.
4146         (XSTATE_ZMM): Likewise.
4147         (XSTATE_HI_ZMM): Likewise.
4148         (XCR_AVX_ENABLED_MASK): Likewise.
4149         (XCR_AVX512F_ENABLED_MASK): Likewise.
4150         (get_available_features): Enable AVX and AVX512 features only
4151         if their states are supported by OSXSAVE.
4153 2018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4155         PR target/85025
4156         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4157         Fix a typo, tmp => 255.
4159 2018-03-20  Jakub Jelinek  <jakub@redhat.com>
4161         PR target/84945
4162         * config/i386/cpuinfo.h (__cpu_features2): Declare.
4163         * config/i386/cpuinfo.c (__cpu_features2): New variable for
4164         ifndef SHARED only.
4165         (set_feature): Define.
4166         (get_available_features): Use set_feature macro.  Set __cpu_features2
4167         to the second word of features ifndef SHARED.
4169 2018-03-15  Julia Koval  <julia.koval@intel.com>
4171         * config/i386/cpuinfo.c (get_available_features): Add
4172         FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
4173         FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
4174         * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
4175         FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
4176         FEATURE_AVX512BITALG.
4178 2018-03-14  Julia Koval  <julia.koval@intel.com>
4180         * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
4181         icelake client and icelake server.
4183 2018-03-06  John David Anglin  <danglin@gcc.gnu.org>
4185         * config/pa/fptr.c (_dl_read_access_allowed): New.
4186         (__canonicalize_funcptr_for_compare): Use it.
4188 2018-02-28  Jakub Jelinek  <jakub@redhat.com>
4190         PR debug/83917
4191         * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
4192         $asm_hidden_op if visibility ("hidden") attribute works.
4193         (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
4194         * config/i386/i386-asm.h: Don't include auto-host.h.
4195         (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
4196         PACKAGE_URL): Don't undefine.
4197         (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
4198         guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
4199         (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
4200         #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
4201         definition instead of hardcoded .hidden.
4202         * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
4203         directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
4204         #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
4205         (USE_GAS_CFI_DIRECTIVES): Don't define.
4206         * configure: Regenerated.
4207         * config.in: Likewise.
4209 2018-02-26  Jakub Jelinek  <jakub@redhat.com>
4211         PR debug/83917
4212         * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
4213         PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
4214         inclusion of auto-target.h and auto-host.h.
4215         (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
4216         __GCC_HAVE_DWARF2_CFI_ASM.
4217         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4218         cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
4219         cfi_pop): Define.
4220         * config/i386/cygwin.S: Don't include auto-host.h here, just
4221         define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
4222         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4223         cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
4224         * config/i386/resms64fx.h: Add cfi_* directives.
4225         * config/i386/resms64x.h: Likewise.
4227 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
4229         * config/xtensa/ieee754-df.S (__adddf3_aux): Add
4230         .literal_position directive.
4231         * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
4233 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4235         PR target/84148
4236         * configure: Regenerate.
4238 2018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4240         PR target/84239
4241         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4242         Include cetintrin.h not x86intrin.h.
4244 2018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4246         PR target/84239
4247         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4248         Use new _get_ssp and _inc_ssp intrinsics.
4250 2018-02-02  Julia Koval  <julia.koval@intel.com>
4252         * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
4254 2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
4256         * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
4257         option.
4258         (__divsi3): Use RF16 safe registers.
4259         (__modsi3): Likewise.
4261 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
4263         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
4264         (__divsf3): Make NaN return value quiet.
4265         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
4266         (__divdf3): Make NaN return value quiet.
4268 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4270         * config/rl78/anddi3.S: New assembly file.
4271         * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
4273 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4275         * config/rl78/umindi3.S: New assembly file.
4276         * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
4278 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4280         * config/rl78/smindi3.S: New assembly file.
4281         * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
4283 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4285         * config/rl78/smaxdi3.S: New assembly file.
4286         * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
4288 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4290         * config/rl78/umaxdi3.S: New assembly file.
4291         * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
4293 2018-01-21  John David Anglin  <danglin@gcc.gnu.org>
4295         PR lto/83452
4296         * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
4297         * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
4299 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
4301         * config/aarch64/value-unwind.h (aarch64_vg): New function.
4302         (DWARF_LAZY_REGISTER_VALUE): Define.
4303         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
4304         to provide a fallback register value.
4306 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
4308         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
4309         __ibm128, instead of trying to use long double.
4310         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
4311         accomidate -mabi=ieeelongdouble multilibs.
4312         (CVT_IBM128_TO_FLOAT128): Likewise.
4313         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
4314         the appropriate IBM extended double type.
4315         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
4316         (__gcc_qsub): Likewise.
4317         (__gcc_qmul): Likewise.
4318         (__gcc_qdiv): Likewise.
4319         (pack_ldouble): Likewise.
4320         (__gcc_qneg): Likewise.
4321         (__gcc_qeq): Likewise.
4322         (__gcc_qne): Likewise.
4323         (__gcc_qge): Likewise.
4324         (__gcc_qle): Likewise.
4325         (__gcc_stoq): Likewise.
4326         (__gcc_dtoq): Likewise.
4327         (__gcc_itoq): Likewise.
4328         (__gcc_utoq): Likewise.
4329         (__gcc_qunord): Likewise.
4330         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
4331         quad-float128.h for the definitions.
4332         (COPYSIGN): Use the f128 version instead of the q version.
4333         (INFINITY): Likewise.
4334         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
4335         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
4336         quad-float128.h for the definitions.
4337         (COPYSIGN): Use the f128 version instead of the q version.
4338         (INFINITY): Likewise.
4339         (FABS): Likewise.
4340         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
4341         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
4342         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
4344 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4346         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
4347         configuration.
4349 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
4351         Update copyright years.
4353 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
4355         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
4356         * config/riscv/multi3.c: New file.
4357         * config/riscv/multi3.S: Remove.
4359 2017-12-08  Jim Wilson  <jimw@sifive.com>
4361         * config/riscv/div.S: Use FUNC_* macros.
4362         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
4363         * config/riscv/save-restore.S: Likewise.
4364         * config/riscv/riscv-asm.h: New.
4366 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
4368         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
4369         * config/rs6000/_divkc3.c (__divkc3): Likewise.
4371         PR libgcc/83112
4372         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
4373         correct type for all ifunc resolvers to silence -Wattribute-alias
4374         warnings.  Eliminate the forward declaration of the resolver
4375         functions which is no longer needed.
4376         (__subkf3_resolve): Likewise.
4377         (__mulkf3_resolve): Likewise.
4378         (__divkf3_resolve): Likewise.
4379         (__negkf2_resolve): Likewise.
4380         (__eqkf2_resolve): Likewise.
4381         (__nekf2_resolve): Likewise.
4382         (__gekf2_resolve): Likewise.
4383         (__gtkf2_resolve): Likewise.
4384         (__lekf2_resolve): Likewise.
4385         (__ltkf2_resolve): Likewise.
4386         (__unordkf2_resolve): Likewise.
4387         (__extendsfkf2_resolve): Likewise.
4388         (__extenddfkf2_resolve): Likewise.
4389         (__trunckfsf2_resolve): Likewise.
4390         (__trunckfdf2_resolve): Likewise.
4391         (__fixkfsi_resolve): Likewise.
4392         (__fixkfdi_resolve): Likewise.
4393         (__fixunskfsi_resolve): Likewise.
4394         (__fixunskfdi_resolve): Likewise.
4395         (__floatsikf_resolve): Likewise.
4396         (__floatdikf_resolve): Likewise.
4397         (__floatunsikf_resolve): Likewise.
4398         (__floatundikf_resolve): Likewise.
4399         (__extendkftf2_resolve): Likewise.
4400         (__trunctfkf2_resolve): Likewise.
4402         PR libgcc/83103
4403         * config/rs6000/quad-float128.h (TF): Don't define if long double
4404         is IEEE 128-bit floating point.
4405         (TCtype): Define as either TCmode or KCmode, depending on whether
4406         long double is IEEE 128-bit floating point.
4407         (__mulkc3_sw): Add declarations for software/hardware versions of
4408         complex multiply/divide.
4409         (__divkc3_sw): Likewise.
4410         (__mulkc3_hw): Likewise.
4411         (__divkc3_hw): Likewise.
4412         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
4413         handlers to switch between using software emulation and hardware
4414         float128 instructions, build the complex multiply/divide functions
4415         for both software and hardware support.
4416         * config/rs6000/_divkc3.c (_divkc3): Likewise.
4417         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
4418         (__divkc3_resolve): Likewise.
4419         (__mulkc3): Likewise.
4420         (__divkc3): Likewise.
4421         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
4422         (fp128_hw_src): Likewise.
4423         (fp128_hw_static_obj): Likewise.
4424         (fp128_hw_shared_obj): Likewise.
4425         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
4426         _mulkc3.c and _divkc3.c, changing the function name.
4427         (_divkc3-hw.c): Likewise.
4428         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
4429         and _divkc3-hw.c.
4431 2017-11-26  Julia Koval  <julia.koval@intel.com>
4433         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
4434         * config/i386/cpuinfo.h (processor_subtypes): Add
4435         INTEL_COREI7_CANNONLAKE.
4437 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4439         PR bootstrap/83015
4440         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
4441         parameter.
4442         * config/xtensa/unwind-dw2-xtensa.c: Likewise
4443         * config/ia64/unwind-ia64.c: Add frames parameter.
4444         * unwind-sjlj.c: Likewise.
4446 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4448         * config/i386/linux-unwind.h: Include
4449         config/i386/shadow-stack-unwind.h.
4450         * config/i386/shadow-stack-unwind.h: New file.
4451         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
4452         pass it to _Unwind_Frames_Extra.
4453         * unwind-generic.h (_Unwind_Frames_Extra): New.
4454         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
4455         parameter. Add local variable frames to count number of frames.
4456         (_Unwind_ForcedUnwind_Phase2): Likewise.
4457         (_Unwind_RaiseException): Add local variable frames to count
4458         number of frames, pass it to _Unwind_RaiseException_Phase2 and
4459         uw_install_context.
4460         (_Unwind_ForcedUnwind): Likewise.
4461         (_Unwind_Resume): Likewise.
4462         (_Unwind_Resume_or_Rethrow): Likewise.
4464 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4466         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
4467         (CET_FLAGS): New.
4468         * config/i386/morestack.S: Include <cet.h>.
4469         (__morestack_large_model): Add _CET_ENDBR at function entrance.
4470         * config/i386/resms64.h: Include <cet.h>.
4471         * config/i386/resms64f.h: Likewise.
4472         * config/i386/resms64fx.h: Likewise.
4473         * config/i386/resms64x.h: Likewise.
4474         * config/i386/savms64.h: Likewise.
4475         * config/i386/savms64f.h: Likewise.
4476         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
4477         (CRTSTUFF_T_CFLAGS): Likewise.
4478         * configure.ac: Include ../config/cet.m4.
4479         Set and substitute CET_FLAGS.
4480         * configure: Regenerated.
4482 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4484         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
4485         renaming.
4486         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
4487         * configure.ac (libgcc_cv_solaris_crts): Likewise.
4488         * configure: Regenerate.
4490 2017-11-07  Tom de Vries  <tom@codesourcery.com>
4492         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
4493         after "do {} while (0)".
4495 2017-11-07  Tom de Vries  <tom@codesourcery.com>
4497         PR other/82784
4498         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
4499         semicolon after "do {} while (0)".
4500         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4501         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4502         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4503         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4505 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
4507         PR libgcc/82635
4508         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
4509         sysctl to determine whether we're in a trampoline.
4510         Keep the pattern matching method for systems without
4511         KERN_PROC_SIGTRAMP sysctl.
4513 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
4514             Vineet Gupta <vgupta@synopsys.com>
4516         * config.host (arc*-*-linux*): Set md_unwind_header variable.
4517         * config/arc/linux-unwind-reg.def: New file.
4518         * config/arc/linux-unwind-reg.h: Likewise.
4520 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
4522         * config/rl78/subdi3.S: New assembly file.
4523         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
4525 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
4527         * config/rl78/adddi3.S: New assembly file.
4528         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
4530 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
4532         PR target/82274
4533         * libgcc2.c (__mulvDI3): If both operands have
4534         the same highpart of -1 and the topmost bit of lowpart is 0,
4535         multiplication overflows even if both lowparts are 0.
4537 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
4539         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
4541 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
4543         * config/microblaze/crti.S, config/microblaze/crtn.S,
4544         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
4545         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
4546         config/microblaze/mulsi3.S,
4547         config/microblaze/stack_overflow_exit.S,
4548         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
4549         config/pa/milli64.S: Add .note.GNU-stack section.
4551 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
4553         * configure.ac: Add Check for HAVE_AS_AVX.
4554         * config.in: Regenerate.
4555         * configure: Likewise.
4556         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
4557         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
4558         Correct out-of-date comments.
4560 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
4562         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
4563         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
4565 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
4567         * config/i386/i386-asm.h (PASTE2): New macro.
4568         (ASMNAME): Modify to use PASTE2.
4569         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
4570         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
4571         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
4572         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
4573         * config/i386/resms64f.S: Likewise.
4574         * config/i386/resms64fx.S: Likewise.
4575         * config/i386/resms64x.S: Likewise.
4576         * config/i386/savms64.S: Likewise.
4577         * config/i386/savms64f.S: Likewise.
4578         * config/i386/avx_resms64.S: New file that only defines a macro and
4579         includes it's corresponding header file.
4580         * config/i386/avx_resms64f.S: Likewise.
4581         * config/i386/avx_resms64fx.S: Likewise.
4582         * config/i386/avx_resms64x.S: Likewise.
4583         * config/i386/avx_savms64.S: Likewise.
4584         * config/i386/avx_savms64f.S: Likewise.
4585         * config/i386/sse_resms64.S: Likewise.
4586         * config/i386/sse_resms64f.S: Likewise.
4587         * config/i386/sse_resms64fx.S: Likewise.
4588         * config/i386/sse_resms64x.S: Likewise.
4589         * config/i386/sse_savms64.S: Likewise.
4590         * config/i386/sse_savms64f.S: Likewise.
4591         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
4593 2017-09-01  Olivier Hainque  <hainque@adacore.com>
4594         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
4596 2017-08-31  Olivier Hainque  <hainque@adacore.com>
4598         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
4599         match as powerpc-wrs-vxworks*.
4601 2017-08-07  Jonathan Yong  <10walls@gmail.com>
4603         * config.host (*-cygwin): Include file from mingw
4604         config/i386/enable-execute-stack-mingw32.c
4606 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
4607             Doug Rupp  <rupp@adacore.com>
4608             Olivier Hainque  <hainque@adacore.com>
4610         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
4611         as well as arm-wrs-vxworks.
4612         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
4613         LIB2ADDEH.
4614         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
4615         __exidx_start and __exidx_end for downloadable modules.
4617 2017-08-01  Olivier Hainque  <hainque@adacore.com>
4619         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
4620         * config/t-vxworks7: Likewise.
4622 2017-08-01  Olivier Hainque  <hainque@adacore.com>
4624         * config/t-vxworks: Instead of redefining LIB2ADD,
4625         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
4627 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4629         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
4631 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
4633         PR testsuite/80759
4634         * config.host: include i386/t-msabi for darwin and solaris.
4635         * config/i386/i386-asm.h
4636         (ELFFN): Rename to FN_TYPE.
4637         (FN_SIZE): New macro.
4638         (FN_HIDDEN): Likewise.
4639         (ASMNAME): Likewise.
4640         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
4641         .globl.
4642         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
4643         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
4644         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
4645         .macro.
4646         * config/i386/resms64f.S: Likewise.
4647         * config/i386/resms64fx.S: Likewise.
4648         * config/i386/resms64x.S: Likewise.
4649         * config/i386/savms64.S: Likewise.
4650         * config/i386/savms64f.S: Likewise.
4652 2017-07-19  John Marino  <gnugcc@marino.st>
4654         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
4656 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
4658         PR target/81193
4659         * configure.ac (PowerPC float128 hardware support): Test whether
4660         we can use __builtin_cpu_supports before enabling the ifunc
4661         handler.
4662         * configure: Regenerate.
4664 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
4666         * config.host: Remove uclibc from arc target spec.
4668 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
4670         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
4672 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
4674         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
4675         (have_ieee_hw_p): Delete function.
4676         (SW_OR_HW) Use __builtin_cpu_supports().
4678 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4680         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
4682 2017-07-03  Olivier Hainque  <hainque@adacore.com>
4684         * config/t-vxworks7: New file, really.
4686 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
4688         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
4689         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
4690         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
4691         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
4692         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
4693         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
4694         config/pa/linux-unwind.h (pa32_fallback_frame_state),
4695         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
4696         config/sh/linux-unwind.h (sh_fallback_frame_state),
4697         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
4698         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
4699         ucontext_t instead of struct ucontext.
4701 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
4703         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
4704         (x86_64-wrs-vxworks7): Likewise.
4706 2017-06-27  Olivier Hainque  <hainque@adacore.com>
4708         * config/t-vxworks7: New file.
4709         * config.host (*-*-vxworks7): Use it.
4711 2017-06-22  Matt Turner  <mattst88@gmail.com>
4713         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
4714         skylake case.
4716 2017-06-21  Richard Biener  <rguenther@suse.de>
4718         PR gcov-profile/81080
4719         * configure.ac: Add AC_SYS_LARGEFILE.
4720         * libgcov.h: Include auto-target.h before tsystem.h to pick
4721         up _FILE_OFFSET_BITS which might differ for multilibs.
4722         * config.in: Regenerate.
4723         * configure: Likewise.
4725 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
4727         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
4729 2017-06-09  Martin Liska  <mliska@suse.cz>
4731         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
4732         Reset __gcov_indirect_call_callee to NULL.
4734 2017-06-08  Olivier Hainque  <hainque@adacore.com>
4736         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
4737         the set of -I options, support for direct inclusions of net/uio.h
4738         by VxWorks header files via ioLib.h.
4740 2017-06-07  Tony Reix  <tony.reix@atos.net>
4741             Matthieu Sarter  <matthieu.sarter.external@atos.net>
4742             David Edelsohn  <dje.gcc@gmail.com>
4744         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
4745         unconditionally.
4746         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
4747         AIX 7.2 support.
4749 2017-06-02  Olivier Hainque  <hainque@adacore.com>
4751         * config/vxlib.c (__gthread_once): Add missing value to
4752         return statement.
4754 2017-05-30  Olivier Hainque  <hainque@adacore.com>
4756         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
4757         dollar sign before $(MULTIDIR).
4759 2017-05-26  Richard Henderson  <rth@redhat.com>
4761         PR libgcc/80037
4762         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
4764 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
4766         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
4767         _Unwind_SetIP available as functions for arm*-*-freebsd*.
4768         * config/arm/unwind-arm.c: Implement the above.
4770 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4772         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
4773         section for a non-executable stack.
4775 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
4777         PR target/80600
4778         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
4780 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
4782         * config.host: Add i386/t-msabi to i386/t-linux file list.
4783         * config/i386/i386-asm.h: New file.
4784         * config/i386/resms64.S: New file.
4785         * config/i386/resms64f.S: New file.
4786         * config/i386/resms64fx.S: New file.
4787         * config/i386/resms64x.S: New file.
4788         * config/i386/savms64.S: New file.
4789         * config/i386/savms64f.S: New file.
4790         * config/i386/t-msabi: New file.
4792 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
4794         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
4795         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
4797 2017-05-05  Joshua Conner  <joshconner@google.com>
4799         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
4800         pc-relative indirect handling for fuchsia.
4801         * config/t-slibgcc-fuchsia: New file.
4802         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
4803         x86_64-*-fuchsia*): Add definitions.
4805 2017-04-19  Martin Liska  <mliska@suse.cz>
4807         PR gcov-profile/80435
4808         * Makefile.in: Install gcov.h.
4809         * gcov.h: New file.
4810         * libgcov.h: Use the header and make __gcov_flush publicly
4811         visible.
4813 2017-04-18  Martin Liska  <mliska@suse.cz>
4815         PR gcov-profile/78783
4816         * libgcov-driver.c (gcov_get_filename): New function.
4818 2017-04-07  Jeff Law  <law@redhat.com>
4820         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
4821         target makefile fragment.
4822         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
4824 2017-04-07  Alan Modra  <amodra@gmail.com>
4826         PR target/45053
4827         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
4829 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
4831         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
4833 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
4835         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
4837 2017-03-10  John Marino  <gnugcc@marino.st>
4839         * config/aarch64/freebsd-unwind.h: New file.
4840         * config.host: Add aarch64-*-freebsd unwinder.
4842 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
4844         * config/rs6000/crtrestvr.s: Use .machine altivec.
4845         * config/rs6000/crtsavevr.s: Ditto.
4847 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
4849         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
4850         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
4851         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
4852         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
4853         * configure: Regenerate.
4854         * config.in: Regenerate.
4856 2017-03-02  Jonathan Yong <10walls@gmail.com>
4858         * config/i386/gthr-win32.h: Define NOGDI before
4859         windows.h include to prevent w32api CC_NONE macro
4860         clash with libgfortran.
4862 2017-03-02  Jonathan Yong <10walls@gmail.com>
4864         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
4866 2017-02-16  Andrew Pinski  <apinski@cavium.com>
4868         * config/aarch64/value-unwind.h: New file.
4869         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
4870         to tm_file.
4872 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
4874         * config.host: Add RISC-V tuples.
4875         * config/riscv/atomic.c: New file.
4876         * config/riscv/crti.S: Likewise.
4877         * config/riscv/crtn.S: Likewise.
4878         * config/riscv/div.S: Likewise.
4879         * config/riscv/linux-unwind.h: Likewise.
4880         * config/riscv/muldi3.S: Likewise.
4881         * config/riscv/multi3.S: Likewise.
4882         * config/riscv/save-restore.S: Likewise.
4883         * config/riscv/sfp-machine.h: Likewise.
4884         * config/riscv/t-elf: Likewise.
4885         * config/riscv/t-elf32: Likewise.
4886         * config/riscv/t-elf64: Likewise.
4887         * config/riscv/t-softfp32: Likewise.
4888         * config/riscv/t-softfp64: Likewise.
4890 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
4892         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4893         /* FALLTHRU */ comments.
4895 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
4897         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
4899 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
4901         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
4902         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
4903         DW_CFA_GNU_window_save for AArch64 and LP64.
4905 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
4907         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
4909 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
4911         * config/aarch64/aarch64-unwind.h: New file.
4912         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
4913         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
4914         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
4915         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
4916         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
4917         (aarch64_post_extract_frame_addr): New function.
4918         (aarch64_post_frob_eh_handler_addr): New function.
4919         (aarch64_frob_update_context): New function.
4920         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
4921         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
4922         aarch64*-*-freebsd*):
4923         Initialize md_unwind_header to include aarch64-unwind.h.
4924         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
4925         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
4926         __aarch64__.
4927         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
4928         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
4929         (uw_frob_return_addr): New function.
4930         (uw_install_context): Use uw_frob_return_addr.
4932 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
4934         PR other/79046
4935         * configure.ac: Add GCC_BASE_VER.
4936         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
4937         version from BASE-VER file.
4938         * configure: Regenerated.
4940 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
4942         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
4943         libmul_f5.a): Filter archived prerequisites.
4945 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
4947         * config/i386/cpuinfo.h (processor_features): Add
4948         FEATURE_AVX512VPOPCNTDQ.
4949         * config/i386/cpuinfo.c (get_available_features): Habdle new
4950         feature.
4952 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
4954         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
4955         payload if [__mips_nan2008].
4957 2017-01-04  Alan Modra  <amodra@gmail.com>
4959         * Makefile.in (configure_deps): Update.
4960         * configure: Regenerate.
4962 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
4964         Update copyright years.
4966 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
4968         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
4969         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
4970         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
4972 2016-12-17  Matthias Klose  <doko@ubuntu.com>
4974         * config/arc/gmon: Remove empty directory.
4976 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
4978         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
4979         crtgend.
4980         (arc*-*-elf*): Likewise.
4981         * config/arc/t-arc: Remove old gmon lib targets.
4982         * config/arc/crtg.S: Remove.
4983         * config/arc/crtgend.S: Likewise.
4984         * config/arc/gmon/atomic.h: Likewise.
4985         * config/arc/gmon/auxreg.h: Likewise.
4986         * config/arc/gmon/dcache_linesz.S: Likewise.
4987         * config/arc/gmon/gmon.c: Likewise.
4988         * config/arc/gmon/machine-gmon.h: Likewise.
4989         * config/arc/gmon/mcount.c: Likewise.
4990         * config/arc/gmon/prof-freq-stub.S: Likewise.
4991         * config/arc/gmon/prof-freq.c: Likewise.
4992         * config/arc/gmon/profil.S: Likewise.
4993         * config/arc/gmon/sys/gmon.h: Likewise.
4994         * config/arc/gmon/sys/gmon_out.h: Likewise.
4995         * config/arc/t-arc-newlib: Likewise.
4996         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
4998 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
5000         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
5002 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
5004         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
5005         R16 instead of push + pop.
5006         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
5008 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
5010         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
5011         tmake_file.
5013 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
5015         * config.host (arc*-*-linux-uclibc*): Use default extra
5016         objects. Include linux-android header.
5017         * config/arc/crti.S (_init): Declare symbol as function.
5018         (_fini): Likewise.
5020 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
5022         PR fortran/78379
5023         * config/i386/cpuinfo.c:  Move denums for processor vendors,
5024         processor type, processor subtypes and declaration of
5025         struct __processor_model into
5026         * config/i386/cpuinfo.h:  New header file.
5028 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
5029             Thomas Preud'homme  <thomas.preudhomme@arm.com>
5031         * config/arm/cmse_nonsecure_call.S: New.
5032         * config/arm/t-arm: Compile cmse_nonsecure_call.S
5034 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
5035             Thomas Preud'homme  <thomas.preudhomme@arm.com>
5037         * config/arm/t-arm (HAVE_CMSE): New.
5038         * config/arm/cmse.c: New.
5040 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
5042         PR gcc/74748
5043         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
5044         use generic linker version information on Blackfin.
5046         PR gcc/74748
5047         * libgcc/mkmap-symver.awk: add support for skip_underscore
5049 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
5050             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5052         PR target/67710
5053         *  config/t-darwin: Default builds to 10.5 codegen.
5055 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
5057         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
5058         (_FP_NANSIGN_H): Likewise.
5059         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
5060         (softfp_truncations): Add tfhf.
5061         (softfp_extras): Add required conversion functions.
5063 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
5064             Matthew Wahab  <matthew.wahab@arm.com>
5066         * config/arm/fp16.c (binary64): New.
5067         (__gnu_d2h_internal): New.
5068         (__gnu_d2h_ieee): New.
5069         (__gnu_d2h_alternative): New.
5071 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
5072             Matthew Wahab  <matthew.wahab@arm.com>
5074         * config/arm/fp16.c (struct format): New.
5075         (binary32): New.
5076         (__gnu_float2h_internal): New.  Body moved from
5077         __gnu_f2h_internal and generalize.
5078         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
5079         Call it with binary32.
5081 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
5083         * soft-fp/extendhftf2.c: Update from glibc.
5084         * soft-fp/fixhfti.c: Likewise.
5085         * soft-fp/fixunshfti.c: Likewise.
5086         * soft-fp/floattihf.c: Likewise.
5087         * soft-fp/floatuntihf.c: Likewise.
5088         * soft-fp/half.h: Likewise.
5089         * soft-fp/trunctfhf2.c: Likewise.
5091 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
5093         PR libgcc/77813
5094         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
5095         __TMC_END__ behind a passthrough asm.
5097 2016-11-18  Walter Lee  <walt@tilera.com>
5099         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
5101 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
5103         * config/i386/cpuinfo.c (processor_features): Add
5104         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
5106 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
5108         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
5109         (__ARC_NORM__): Use instead ARC_OPTFPE.
5110         * config/arc/fp-hack.h: Likewise.
5111         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
5112         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
5114 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
5116         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
5117         * config/nvptx/mgomp.c: New file.
5118         * config/nvptx/t-nvptx: Add mgomp.c
5120 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
5122         PR libgcc/68468
5123         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
5125 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
5127         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
5128         of checking for cpus.
5129         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
5130         (__modsi3, __clzsi2): Likewise.
5132 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5134         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
5135         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
5136         * config/i386/t-cpuinfo-static: New.
5138 2016-11-03  Martin Liska  <mliska@suse.cz>
5140         * libgcov-profiler.c (__gcov_time_profiler): Remove.
5141         (__gcov_time_profiler_atomic): Likewise.
5143 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
5145         PR libgcc/78067
5146         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
5147         count_leading_zeros.
5149 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
5151         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
5152         * libgcc2.c (__divmoddi4): New function.
5153         * libgcc2.h (__divmoddi4): Declare.
5154         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
5155         and __PFX_divmodti4.
5157 2016-10-24  Florian Weimer  <fweimer@redhat.com>
5159         PR libgcc/78064
5160         * unwind-c.c: Include auto-target.h.
5162 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
5164         * config/pa/pa64-hpux-lib.h: New file.
5165         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
5166         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
5167         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
5168         hppa*64*-*-hpux11*.
5170 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
5172         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5173         definition.
5174         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5175         definition.
5176         * config/xtensa/t-windowed (LIB2ADDEH): Use
5177         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
5178         or xtensa/t-linux.
5180 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
5182         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
5183         __ieee754_sqrt): New functions.
5184         (__divdf3): Add implementation with new FPU instructions under
5185         #if XCHAL_HAVE_DFP_DIV.
5186         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
5187         __ieee754_sqrtf): New functions.
5188         (__divsf3): Add implementation with new FPU instructions under
5189         #if XCHAL_HAVE_FP_DIV.
5190         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
5191         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
5193 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5195         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
5196         equivalent.
5197         * config/tilepro/atomic.c: Likewise and stop casting model to
5198         enum memmodel.
5200 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
5202         PR target/77586
5203         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
5204         soft-fp.
5206 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
5208         * config.host: Add support for aarch64-*-freebsd*.
5210 2016-10-05  Andreas Schwab  <schwab@suse.de>
5212         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
5213         (.section .init_array): Don't call __do_jv_register_classes.
5214         (.section .init): Likewise.
5216 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
5218         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
5219         (__JCR_LIST__): Remove.
5220         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
5221         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
5222         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
5223         * config/ia64/crtend.S (__JCR_END__): Remove.
5224         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
5225         conditionals.
5226         (__JCR_LIST__, __JCR_END__): Remove.
5227         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
5228         (__do_global_ctors_1): Likewise.
5230 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
5232         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
5233         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
5235 2016-09-27  Martin Liska  <mliska@suse.cz>
5237         PR gcov-profile/7970
5238         PR gcov-profile/16855
5239         PR gcov-profile/44779
5240         * libgcov-driver.c (__gcov_init): Do not register a atexit
5241         handler.
5242         (__gcov_exit): Rename from gcov_exit.
5243         * libgcov.h (__gcov_exit): Declare.
5245 2016-09-27  Martin Liska  <mliska@suse.cz>
5247         PR bootstrap/77749
5248         * Makefile.in: Remove _gcov_merge_delta.
5249         * libgcov-merge.c (void __gcov_merge_delta): Remove.
5250         * libgcov-util.c (__gcov_delta_counter_op): Remove.
5251         * libgcov.h: Remove declaration of __gcov_merge_delta.
5253 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
5255         * configure.ac: Do not create links, only substitute the filenames.
5256         * configure: Regenerate.
5257         * Makefile.in: Assign the substitution results to variables.
5258         (LIBGCC_LINKS): Define.
5259         (enable-execute-stack.c): New rule.
5260         (unwind.h): Likewise.
5261         (md-unwind-support.h): Likewise.
5262         (sfp-machine.h): Likewise.
5263         (gthr-default.h): Likewise.
5264         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
5265         unwind.h as prerequisite of install-unwind_h-forbuild.
5267 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
5269         PR libgcc/71744
5270         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
5271         is not the primary registry and atomics are available.
5272         (any_objects_registered): New variable.
5273         (__register_frame_info_bases, __register_frame_info_table_bases):
5274         Atomically store 1 to any_objects_registered after registering first
5275         unwind info.
5276         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
5278 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
5280         PR target/63250
5281         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
5282         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
5283         (HFtype): Likewise.
5284         (HCtype): Likewise.
5285         (__divhc3): Likewise.
5286         (__mulhc3): Likewise.
5287         * libgcc2.c: Support _mulhc3 and _divhc3.
5289 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
5291         PR libgcc/77519
5292         * libgcc2.c (NOTRUNC): Invert settings.
5294 2016-09-06  Martin Liska  <mliska@suse.cz>
5296         PR gcov-profile/77378
5297         PR gcov-profile/77466
5298         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
5299         conditionaly enable/disable *_atomic functions.
5301 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
5303         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
5304         where not already enabled.
5306 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5308         * config/mips/linux-unwind.h: Use sys/syscall.h.
5310 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
5312         PR libgcc/77265
5313         * soft-fp/adddf3.c: Update from glibc.
5314         * soft-fp/addsf3.c: Likewise.
5315         * soft-fp/addtf3.c: Likewise.
5316         * soft-fp/divdf3.c: Likewise.
5317         * soft-fp/divsf3.c: Likewise.
5318         * soft-fp/divtf3.c: Likewise.
5319         * soft-fp/double.h: Likewise.
5320         * soft-fp/eqdf2.c: Likewise.
5321         * soft-fp/eqsf2.c: Likewise.
5322         * soft-fp/eqtf2.c: Likewise.
5323         * soft-fp/extenddftf2.c: Likewise.
5324         * soft-fp/extended.h: Likewise.
5325         * soft-fp/extendsfdf2.c: Likewise.
5326         * soft-fp/extendsftf2.c: Likewise.
5327         * soft-fp/extendxftf2.c: Likewise.
5328         * soft-fp/fixdfdi.c: Likewise.
5329         * soft-fp/fixdfsi.c: Likewise.
5330         * soft-fp/fixdfti.c: Likewise.
5331         * soft-fp/fixsfdi.c: Likewise.
5332         * soft-fp/fixsfsi.c: Likewise.
5333         * soft-fp/fixsfti.c: Likewise.
5334         * soft-fp/fixtfdi.c: Likewise.
5335         * soft-fp/fixtfsi.c: Likewise.
5336         * soft-fp/fixtfti.c: Likewise.
5337         * soft-fp/fixunsdfdi.c: Likewise.
5338         * soft-fp/fixunsdfsi.c: Likewise.
5339         * soft-fp/fixunsdfti.c: Likewise.
5340         * soft-fp/fixunssfdi.c: Likewise.
5341         * soft-fp/fixunssfsi.c: Likewise.
5342         * soft-fp/fixunssfti.c: Likewise.
5343         * soft-fp/fixunstfdi.c: Likewise.
5344         * soft-fp/fixunstfsi.c: Likewise.
5345         * soft-fp/fixunstfti.c: Likewise.
5346         * soft-fp/floatdidf.c: Likewise.
5347         * soft-fp/floatdisf.c: Likewise.
5348         * soft-fp/floatditf.c: Likewise.
5349         * soft-fp/floatsidf.c: Likewise.
5350         * soft-fp/floatsisf.c: Likewise.
5351         * soft-fp/floatsitf.c: Likewise.
5352         * soft-fp/floattidf.c: Likewise.
5353         * soft-fp/floattisf.c: Likewise.
5354         * soft-fp/floattitf.c: Likewise.
5355         * soft-fp/floatundidf.c: Likewise.
5356         * soft-fp/floatundisf.c: Likewise.
5357         * soft-fp/floatunditf.c: Likewise.
5358         * soft-fp/floatunsidf.c: Likewise.
5359         * soft-fp/floatunsisf.c: Likewise.
5360         * soft-fp/floatunsitf.c: Likewise.
5361         * soft-fp/floatuntidf.c: Likewise.
5362         * soft-fp/floatuntisf.c: Likewise.
5363         * soft-fp/floatuntitf.c: Likewise.
5364         * soft-fp/gedf2.c: Likewise.
5365         * soft-fp/gesf2.c: Likewise.
5366         * soft-fp/getf2.c: Likewise.
5367         * soft-fp/ledf2.c: Likewise.
5368         * soft-fp/lesf2.c: Likewise.
5369         * soft-fp/letf2.c: Likewise.
5370         * soft-fp/muldf3.c: Likewise.
5371         * soft-fp/mulsf3.c: Likewise.
5372         * soft-fp/multf3.c: Likewise.
5373         * soft-fp/negdf2.c: Likewise.
5374         * soft-fp/negsf2.c: Likewise.
5375         * soft-fp/negtf2.c: Likewise.
5376         * soft-fp/op-1.h: Likewise.
5377         * soft-fp/op-2.h: Likewise.
5378         * soft-fp/op-4.h: Likewise.
5379         * soft-fp/op-8.h: Likewise.
5380         * soft-fp/op-common.h: Likewise.
5381         * soft-fp/quad.h: Likewise.
5382         * soft-fp/single.h: Likewise.
5383         * soft-fp/soft-fp.h: Likewise.
5384         * soft-fp/subdf3.c: Likewise.
5385         * soft-fp/subsf3.c: Likewise.
5386         * soft-fp/subtf3.c: Likewise.
5387         * soft-fp/truncdfsf2.c: Likewise.
5388         * soft-fp/trunctfdf2.c: Likewise.
5389         * soft-fp/trunctfsf2.c: Likewise.
5390         * soft-fp/trunctfxf2.c: Likewise.
5391         * soft-fp/unorddf2.c: Likewise.
5392         * soft-fp/unordsf2.c: Likewise.
5393         * soft-fp/unordtf2.c: Likewise.
5395 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
5397         PR gcov-profile/67097
5398         * libgcov-util.c (gcov_profile_merge): Skip missing files.
5400 2016-08-10  Martin Liska  <mliska@suse.cz>
5402         PR gcov-profile/58306
5403         * Makefile.in: New functions (modules) are added.
5404         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
5405         function.
5406         (__gcov_pow2_profiler_atomic): New function.
5407         (__gcov_one_value_profiler_body): New argument is instroduced.
5408         (__gcov_one_value_profiler): Call with the new argument.
5409         (__gcov_one_value_profiler_atomic): Likewise.
5410         (__gcov_indirect_call_profiler_v2): Likewise.
5411         (__gcov_time_profiler_atomic): New function.
5412         (__gcov_average_profiler_atomic): Likewise.
5413         (__gcov_ior_profiler_atomic): Likewise.
5414         * libgcov.h: Declare the aforementioned functions.
5416 2016-08-09  Martin Liska  <mliska@suse.cz>
5418         * libgcov-util.c: Fix typo and GNU coding style.
5420 2016-08-09  Martin Liska  <mliska@suse.cz>
5422         * Makefile.in: Remove __gcov_indirect_call_profiler.
5423         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
5424         function.
5425         * libgcov.h: And the declaration of the function.
5427 2016-08-09  Martin Liska  <mliska@suse.cz>
5429         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
5430         power of two.
5432 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
5434         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
5435         * config/rs6000/_mulkc3.c: Likewise.
5437 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
5439         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
5440         zero_reg as previous call to __umulhisi3 already cleared it.
5442 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
5444         PR target/59833
5445         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
5447 2016-07-19  Nick Clifton  <nickc@redhat.com>
5449         * config.host (m32r): Add m32r/t-m32r to tmake_file.
5450         Add crtinit.o and crtfini.o to extra_parts.
5452 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
5454         * config/rs6000/_divkc3.c: New.
5455         * config/rs6000/_mulkc3.c: New.
5456         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
5457         and _divkc3.
5458         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
5459         fp128_ppc_funcs.
5461 2016-07-11  Hale Wang  <hale.wang@arm.com>
5462             Andre Vieira  <andre.simoesdiasvieira@arm.com>
5464         * config/arm/lib1funcs.S: Add new wrapper.
5466 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5468         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
5470 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5472         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
5473         and ARMv5t* rather than for a fixed list of architectures.
5475 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5477         * config/arm/bpabi-v6m.S: Clarify what architectures is the
5478         implementation suitable for.
5479         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
5480         for all Thumb-1 only targets.
5481         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
5482         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
5483         __ARM_ARCH_6M__.
5484         (EQUIV): Likewise.
5485         (ARM_FUNC_ALIAS): Likewise.
5486         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
5487         version.
5488         (modsi3): Likewise.
5489         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
5490         (clzdi2): Likewise.
5491         (ctzsi2): Likewise.
5492         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
5493         __ARM_ARCH_6M__ in guard for checking whether it is defined.
5494         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
5495         __ARM_ARCH_6M__ and add comment to indicate the connection between
5496         this condition and the one in gcc/config/arm/elf.h.
5497         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
5498         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
5499         * config/arm/t-softfp: Likewise.
5501 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5503         * libgcc2.c (SYMBOL__MAIN): Remove checks for
5504         CTOR_LISTS_DEFINED_EXTERNALLY.
5506 2016-06-28  Walter Lee  <walt@tilera.com>
5508         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
5509         asm/unistd.h.
5510         (SPR_CMPEXCH_VALUE): Define for tilegx.
5511         (__NR_FAST_cmpxchg): Define for tilepro.
5512         (__NR_FAST_atomic_update): Define for tilepro.
5513         (__NR_FAST_cmpxchg64): Define for tilepro.
5515 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
5517         * config.host: Add suport for arm*-*-phoenix* targets.
5519 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5521         * config.host: Remove support for mep-*.
5522         * config/mep/lib1funcs.S: Remove.
5523         * config/mep/lib2funcs.c: Remove.
5524         * config/mep/t-mep: Remove.
5525         * config/mep/tramp.c: Remove.
5527 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5529         * config.host: Remove support for avr-rtems.
5530         * config/avr/t-rtems: Remove.
5532 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5534         * config.host: Remove m32r-rtems support.
5536 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5538         * config.host: Remove h8300-rtems support.
5540 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5542         * config.host: Remove support for knetbsd.
5544 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5546         * config.host: Remove support for openbsd 2 and 3.
5548 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5550         * config.host: Remove interix support.
5551         * config/i386/t-interix: Remove.
5553 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
5555         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
5556         least-significant bit in function pointer for fixup.
5558 2016-06-05  Aaron Conole  <aconole@redhat.com>
5559             Nathan Sidwell  <nathan@acm.org>
5561         PR libgcc/71400
5562         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
5563         (get_gcov_error_file): Check __gcov_error_file before trying to
5564         initialize it.
5565         (gcov_error): Always use get_gcov_error_file.
5567 2016-06-02  Aaron Conole  <aconole@redhat.com>
5569         * libgcov-driver-system.c (__gcov_error_file): New.
5570         (get_gcov_error_file): New.
5571         (gcov_error): Use and set __gcov_error_file.
5572         (gcov_error_exit): New.
5573         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
5575 2016-05-26  Nathan Sidwell  <nathan@acm.org>
5577         * config/nvptx/free.asm: Delete.
5578         * config/nvptx/malloc.asm: Delete.
5579         * config/nvptx/realloc.c: Delete.
5580         * t-nvptx: Update.
5582 2016-05-25  Nathan Sidwell  <nathan@acm.org>
5584         * config/nvptx/crt0.s: Delete.
5585         * config/nvptx/crt0.c: New.
5586         * t-nvptx: Update.
5588 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
5590         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
5591         dw2/seh configuration.
5592         [x86_64-*-mingw*]: Likewise.
5594 2016-05-10  Joel Sherrill <joel@rtems.org>
5596         PR libgcc/70720
5597         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
5598         targets so the same extra_parts are built.  Also have tmake_file add
5599         on to its value rather than override.
5601 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
5603         * config.host: Remove SH5 support.
5604         * configure: Likewise.
5606 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
5608         * config/sh/crt1.S: Remove SH5 support.
5609         * config/sh/crti.S: Likewise.
5610         * config/sh/crtn.S: Likewise.
5611         * config/sh/lib1funcs-4-300.S: Likewise.
5612         * config/sh/lib1funcs-Os-4-200.S: Likewise.
5613         * config/sh/lib1funcs.S: Likewise.
5614         * config/sh/linux-unwind.h: Likewise.
5615         * config/sh/t-sh64: Delete.
5617 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
5619         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
5621 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
5622             Joern Rennecke  <joern.rennecke@embecosm.com>
5624         * config/arc/crttls.S: New file.
5625         * config/arc/t-arc: New rule.
5626         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
5628 2016-04-25  Nick Clifton  <nickc@redhat.com>
5630         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
5631         (__mspabi_cmpd): Likewise.
5632         * config/msp430/floathidf.c (__floathidf): Likewise.
5633         * config/msp430/floathisf.c (__floathisf): Likewise
5634         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
5635         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
5636         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
5637         second parameter.
5638         (__ashrsi3): Likewise.
5640 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
5642         * config/m68k/linux-atomic.c: Do not include unistd.h
5644 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
5646         * config/arm/ieee754-df.S: Fix typos in comments.
5648 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
5650         PR target/70381
5651         * configure.ac (powerpc*-*-linux*): Rework tests to build
5652         __float128 emulation routines to not depend on using #pragma GCC
5653         target to enable -mfloat128.
5654         * configure: Regnerate.
5656 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
5658         PR target/67172
5659         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
5660         __MINGW32__ is defined.
5662 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
5664         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
5666 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
5668         PR libgcc/70363
5669         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
5670         built with an assembler that does not support ISA 3.0
5671         instructions, rename __extendkftf2_sw to __extendkftf2.
5673 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5675         PR target/38239
5676         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
5677         call-clobbered registers.
5678         (internal_mcount): Remove __i386__ handling.
5680 2016-02-26  Joel Sherrill <joel@rtems.org>
5682         * config.host: Add x86_64-*-rtems*.
5684 2016-02-26  Joel Sherrill <joel@rtems.org>
5686         * libgcc/config.host: Add aarch64-*-rtems*.
5688 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5689             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
5691         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
5692         union of u64 and double.
5693         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
5694         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
5695         value.
5696         (FP_ROUNDMODE): Update the usage of _fpscr.
5698 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
5700         PR driver/68463
5701         * Makefile.in (crtoffloadtable$(objext)): New rule.
5702         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
5703         enable_offload_targets is not empty.
5704         * configure: Regenerate.
5705         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
5706         crtoffloadtable.
5708 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
5710         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
5711         .literal_position before the function.
5712         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
5713         Likewise.
5715 2016-02-15  Marcin KoĹ›cielnicki  <koriakin@0x04.net>
5717         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
5718         * config/s390/morestack.S: New file.
5719         * config/s390/t-stack-s390: New file.
5720         * generic-morestack.c (__splitstack_find): Add s390-specific code.
5722 2016-02-12  Walter Lee  <walt@tilera.com>
5724         * config.host (tilegx*-*-linux*): remove ti from
5725         softfp_int_modes for 32-bit configs.
5727 2016-02-10  Ian Lance Taylor  <iant@google.com>
5729         PR go/68562
5730         * config/i386/morestack.S (__stack_split_initialize): Align
5731         stack.
5733 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
5735         PR bootstrap/69611
5736         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
5737         __FLOAT128__ to compile only for __float128 capable targets.
5739 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
5741         PR target/69444
5742         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
5743         instead of ___NO_FPRS__.
5745 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
5746             Steven Munroe  <munroesj@linux.vnet.ibm.com>
5747             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
5749         * config/rs6000/float128-sed: New files to convert TF names to KF
5750         names for PowerPC IEEE 128-bit floating point support.
5751         * config/rs6000/float128-sed-hw: Likewise.
5753         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5754         floating point hardware support.
5756         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5757         128-bit floating point software emulation or use ISA 3.0 hardware
5758         support if it is available.
5760         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5761         floating point.
5763         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
5764         floating point to IBM extended double.
5766         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
5767         double to IEEE 128-bit floating point.
5769         * config/rs6000/t-float128: New Makefile fragments to enable
5770         building __float128 emulation support.
5771         * config/rs6000/t-float128-hw: Likewise.
5773         * config/rs6000/sfp-exceptions.c: New file to provide exception
5774         support for IEEE 128-bit floating point.
5776         * config/rs6000/floattikf.c: New files for converting between IEEE
5777         128-bit floating point and signed/unsigned 128-bit integers.
5778         * config/rs6000/fixunskfti.c: Likewise.
5779         * config/rs6000/fixkfti.c: Likewise.
5780         * config/rs6000/floatuntikf.c: Likewise.
5782         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5783         when building on 64-bit systems, or when VSX is enabled.
5784         (_FP_W_TYPE): Likewise.
5785         (_FP_WS_TYPE): Likewise.
5786         (_FP_I_TYPE): Likewise.
5787         (TItype): Define on 64-bit systems.
5788         (UTItype): Likewise.
5789         (TI_BITS): Likewise.
5790         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5791         (_FP_MUL_MEAT_Q): Likewise.
5792         (_FP_DIV_MEAT_D): Likewise.
5793         (_FP_DIV_MEAT_Q): Likewise.
5794         (_FP_NANFRAC_D): Likewise.
5795         (_FP_NANFRAC_Q): Likewise.
5796         (ISA_BIT): Add exception support if we are being compiled on a
5797         machine with hardware floating point support to build the IEEE
5798         128-bit emulation functions.
5799         (FP_EX_INVALID): Likewise.
5800         (FP_EX_OVERFLOW): Likewise.
5801         (FP_EX_UNDERFLOW): Likewise.
5802         (FP_EX_DIVZERO): Likewise.
5803         (FP_EX_INEXACT): Likewise.
5804         (FP_EX_ALL): Likewise.
5805         (__sfp_handle_exceptions): Likewise.
5806         (FP_HANDLE_EXCEPTIONS): Likewise.
5807         (FP_RND_NEAREST): Likewise.
5808         (FP_RND_ZERO): Likewise.
5809         (FP_RND_PINF): Likewise.
5810         (FP_RND_MINF): Likewise.
5811         (FP_RND_MASK): Likewise.
5812         (_FP_DECL_EX): Likewise.
5813         (FP_INIT_ROUNDMODE): Likewise.
5814         (FP_ROUNDMODE): Likewise.
5816         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5817         VSX code, enable IEEE 128-bit floating point.  If the compiler can
5818         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
5819         floating point hardware instructions and it supports declaring
5820         functions with the ifunc attribute, enable ifunc functions to
5821         switch between software and hardware support.
5822         * configure.ac (powerpc*-*-linux*): Likewise.
5823         * configure: Regenerate.
5825 2016-01-15  Nick Clifton  <nickc@redhat.com>
5827         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
5828         dependency as the source file to be compiled.
5829         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
5830         (lib2hw_mul_f5.o): Likewise.
5832 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
5834         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
5835         * libgcc/config/rs6000/fixkfti.c: Likewise.
5836         * libgcc/config/rs6000/fixunskfti.c: Likewise.
5837         * libgcc/config/rs6000/float128-hw.c: Likewise.
5838         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
5839         * libgcc/config/rs6000/float128-sed: Likewise.
5840         * libgcc/config/rs6000/floattikf.c: Likewise.
5841         * libgcc/config/rs6000/floatuntikf.c: Likewise.
5842         * libgcc/config/rs6000/quad-float128.h: Likewise.
5843         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
5844         * libgcc/config/rs6000/sfp-machine.h: Likewise.
5845         * libgcc/config/rs6000/t-float128: Likewise.
5846         * libgcc/config/rs6000/t-float128-hw: Likewise.
5847         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
5848         * libgcc/config.host: Likewise.
5849         * libgcc/configure: Likewise.
5850         * libgcc/configure.ac: Likewise.
5852 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
5853             Steven Munroe  <munroesj@linux.vnet.ibm.com>
5854             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
5856         * config/rs6000/sfp-exceptions.c: New file to provide exception
5857         support for IEEE 128-bit floating point.
5859         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5860         floating point hardware support.
5862         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
5863         point conversions.
5864         * config/rs6000/fixunskfti.c: Likewise.
5865         * config/rs6000/fixkfti.c: Likewise.
5866         * config/rs6000/floatuntikf.c: Likewise.
5867         * config/rs6000/extendkftf2-sw.c: Likewise.
5868         * config/rs6000/trunctfkf2-sw.c: Likewise.
5870         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5871         128-bit floating point software emulation or use ISA 3.0 hardware
5872         support if it is available.
5874         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5875         floating point.
5877         * config/rs6000/t-float128: New Makefile fragments to enable
5878         building __float128 emulation support.
5879         * config/rs6000/t-float128-hw: Likewise.
5881         * config/rs6000/float128-sed: New file to convert TF names to KF
5882         names for PowerPC IEEE 128-bit floating point support.
5884         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5885         when building on 64-bit systems, or when VSX is enabled.
5886         (_FP_W_TYPE): Likewise.
5887         (_FP_WS_TYPE): Likewise.
5888         (_FP_I_TYPE): Likewise.
5889         (TItype): Define on 64-bit systems.
5890         (UTItype): Likewise.
5891         (TI_BITS): Likewise.
5892         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5893         (_FP_MUL_MEAT_Q): Likewise.
5894         (_FP_DIV_MEAT_D): Likewise.
5895         (_FP_DIV_MEAT_Q): Likewise.
5896         (_FP_NANFRAC_D): Likewise.
5897         (_FP_NANFRAC_Q): Likewise.
5898         (ISA_BIT): Add exception support if we are being compiled on a
5899         machine with hardware floating point support to build the IEEE
5900         128-bit emulation functions.
5901         (FP_EX_INVALID): Likewise.
5902         (FP_EX_OVERFLOW): Likewise.
5903         (FP_EX_UNDERFLOW): Likewise.
5904         (FP_EX_DIVZERO): Likewise.
5905         (FP_EX_INEXACT): Likewise.
5906         (FP_EX_ALL): Likewise.
5907         (__sfp_handle_exceptions): Likewise.
5908         (FP_HANDLE_EXCEPTIONS): Likewise.
5909         (FP_RND_NEAREST): Likewise.
5910         (FP_RND_ZERO): Likewise.
5911         (FP_RND_PINF): Likewise.
5912         (FP_RND_MINF): Likewise.
5913         (FP_RND_MASK): Likewise.
5914         (_FP_DECL_EX): Likewise.
5915         (FP_INIT_ROUNDMODE): Likewise.
5916         (FP_ROUNDMODE): Likewise.
5918         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
5919         compiler can do __float128.
5920         * configure: Regenerate.
5922         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5923         VSX code, enable IEEE 128-bit floating point.
5925 2016-01-05  Olivier Hainque  <hainque@adacore.com>
5927         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
5928         specificities.
5930 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
5932         Update copyright years.
5934 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
5936         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
5937         soft-fp targets.
5939 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
5941         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
5942         instead of abort to avoid dependency on stdlib.h.
5944 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
5946         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
5947         to initialize call to __dl_fixup once.
5949 2015-12-04  Nick Clifton  <nickc@redhat.com>
5951         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
5952         Allow for the second argument being negative.
5953         * config.host (extra_parts): Define for MSP430.  Create separate
5954         libraries for each of the hardware multiply formats.
5955         * config/msp430/lib2hw_mul.S: Build only the multiply routines
5956         that are needed.
5957         * config/msp430/lib2mul.c: Likewise.
5958         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
5959         Add rules to build hardware multiply libraries.
5960         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
5961         __mspabi_divul function.
5962         (__mspabi_divllu): New stub function.
5964 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
5966         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
5967         fixup values if saved GOT address doesn't match runtime address.
5968         (fixup_branch_offset): Reorder list.
5970 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5972         * Makefile.in (VTV_CFLAGS): New variable.
5973         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
5974         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
5975         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5976         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
5977         to extra_parts if $enable_vtable_verify = yes.
5979 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5981         PR target/68059
5982         * config/arm/linux-atomic-64bit.c (__write): Rename to...
5983         (write): ...this and fix the return type.
5985 2015-11-19  DJ Delorie  <dj@redhat.com>
5987         * config/msp430/lib2hw_mul.S: Fix alignment.
5989 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
5991         * config/nvptx/reduction.c: New.
5992         * config/nvptx/t-nvptx (LIB2ADD): Add it.
5994 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
5996         * config/rs6000/on_exit.c: New file.
5997         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
5998         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
6000 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
6002         * config/arc/dp-hack.h: Add support for ARCHS.
6003         * config/arc/ieee-754/divdf3.S: Likewise.
6004         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6005         * config/arc/ieee-754/muldf3.S: Likewise.
6006         * config/arc/ieee-754/mulsf3.S: Likewise
6007         * config/arc/lib1funcs.S: Likewise
6008         * config/arc/gmon/dcache_linesz.S: Don't read the build register
6009         for ARCv2 cores.
6010         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
6011         for ARCv2 cores.
6012         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
6013         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
6014         cores.
6016 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6018         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
6019         value.
6020         * config/ia64/crtend.S: Likewise.
6022 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
6024         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
6025         __CHAR_BIT__ instead of BITS_PER_UNIT.
6026         * fixed-bit.h: Likewise.
6027         * fp-bit.h: Likewise.
6028         * libgcc2.c (__popcountSI2): Likewise.
6029         (__popcountDI2): Likewise.
6030         * libgcc2.h: Likewise.
6031         * libgcov.h: Likewise.
6033 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
6035         * config/rs6000/atexit.c: New file.
6036         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
6037         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
6038         * config/rs6000/cxa_finalize.c
6039         (catomic_compare_and_exchange_bool_acq): Negate return value.
6041 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
6043         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
6044         (processor_subtypes): Add znver1.
6045         (get_amd_cpu): Detect znver1.
6047 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
6049         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
6050         Include crtfastmath.o.
6052 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
6054         PR libgcc/66883
6055         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
6057 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
6059         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
6060         * config/rl78/divmodsi.S: Update return register to r8.
6061         * config/rl78/divmodhi.S: Update return register to r8,r9.
6062         Branch to main_loop_done_himode to pop registers before return.
6064 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
6066         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
6067         (__cpu_indicator_init): Fix model selection for AMD CPUs.
6069 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
6071         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
6073 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
6075         * config.host (xtensa*-*-uclinux*): New configuration.
6077 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
6079         * config/i386/cpuinfo.c (processor_features): Add
6080         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
6082 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
6084         * soft-fp/adddf3.c: Update from glibc.
6085         * soft-fp/addsf3.c: Likewise.
6086         * soft-fp/addtf3.c: Likewise.
6087         * soft-fp/divdf3.c: Likewise.
6088         * soft-fp/divsf3.c: Likewise.
6089         * soft-fp/divtf3.c: Likewise.
6090         * soft-fp/double.h: Likewise.
6091         * soft-fp/eqdf2.c: Likewise.
6092         * soft-fp/eqsf2.c: Likewise.
6093         * soft-fp/eqtf2.c: Likewise.
6094         * soft-fp/extenddftf2.c: Likewise.
6095         * soft-fp/extended.h: Likewise.
6096         * soft-fp/extendsfdf2.c: Likewise.
6097         * soft-fp/extendsftf2.c: Likewise.
6098         * soft-fp/extendxftf2.c: Likewise.
6099         * soft-fp/fixdfdi.c: Likewise.
6100         * soft-fp/fixdfsi.c: Likewise.
6101         * soft-fp/fixdfti.c: Likewise.
6102         * soft-fp/fixsfdi.c: Likewise.
6103         * soft-fp/fixsfsi.c: Likewise.
6104         * soft-fp/fixsfti.c: Likewise.
6105         * soft-fp/fixtfdi.c: Likewise.
6106         * soft-fp/fixtfsi.c: Likewise.
6107         * soft-fp/fixtfti.c: Likewise.
6108         * soft-fp/fixunsdfdi.c: Likewise.
6109         * soft-fp/fixunsdfsi.c: Likewise.
6110         * soft-fp/fixunsdfti.c: Likewise.
6111         * soft-fp/fixunssfdi.c: Likewise.
6112         * soft-fp/fixunssfsi.c: Likewise.
6113         * soft-fp/fixunssfti.c: Likewise.
6114         * soft-fp/fixunstfdi.c: Likewise.
6115         * soft-fp/fixunstfsi.c: Likewise.
6116         * soft-fp/fixunstfti.c: Likewise.
6117         * soft-fp/floatdidf.c: Likewise.
6118         * soft-fp/floatdisf.c: Likewise.
6119         * soft-fp/floatditf.c: Likewise.
6120         * soft-fp/floatsidf.c: Likewise.
6121         * soft-fp/floatsisf.c: Likewise.
6122         * soft-fp/floatsitf.c: Likewise.
6123         * soft-fp/floattidf.c: Likewise.
6124         * soft-fp/floattisf.c: Likewise.
6125         * soft-fp/floattitf.c: Likewise.
6126         * soft-fp/floatundidf.c: Likewise.
6127         * soft-fp/floatundisf.c: Likewise.
6128         * soft-fp/floatunditf.c: Likewise.
6129         * soft-fp/floatunsidf.c: Likewise.
6130         * soft-fp/floatunsisf.c: Likewise.
6131         * soft-fp/floatunsitf.c: Likewise.
6132         * soft-fp/floatuntidf.c: Likewise.
6133         * soft-fp/floatuntisf.c: Likewise.
6134         * soft-fp/floatuntitf.c: Likewise.
6135         * soft-fp/gedf2.c: Likewise.
6136         * soft-fp/gesf2.c: Likewise.
6137         * soft-fp/getf2.c: Likewise.
6138         * soft-fp/ledf2.c: Likewise.
6139         * soft-fp/lesf2.c: Likewise.
6140         * soft-fp/letf2.c: Likewise.
6141         * soft-fp/muldf3.c: Likewise.
6142         * soft-fp/mulsf3.c: Likewise.
6143         * soft-fp/multf3.c: Likewise.
6144         * soft-fp/negdf2.c: Likewise.
6145         * soft-fp/negsf2.c: Likewise.
6146         * soft-fp/negtf2.c: Likewise.
6147         * soft-fp/op-1.h: Likewise.
6148         * soft-fp/op-2.h: Likewise.
6149         * soft-fp/op-4.h: Likewise.
6150         * soft-fp/op-8.h: Likewise.
6151         * soft-fp/op-common.h: Likewise.
6152         * soft-fp/quad.h: Likewise.
6153         * soft-fp/single.h: Likewise.
6154         * soft-fp/soft-fp.h: Likewise.
6155         * soft-fp/subdf3.c: Likewise.
6156         * soft-fp/subsf3.c: Likewise.
6157         * soft-fp/subtf3.c: Likewise.
6158         * soft-fp/truncdfsf2.c: Likewise.
6159         * soft-fp/trunctfdf2.c: Likewise.
6160         * soft-fp/trunctfsf2.c: Likewise.
6161         * soft-fp/trunctfxf2.c: Likewise.
6162         * soft-fp/unorddf2.c: Likewise.
6163         * soft-fp/unordsf2.c: Likewise.
6164         * soft-fp/unordtf2.c: Likewise.
6166 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
6168         PR libgcc/67624
6169         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
6171 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6173         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
6174         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
6175         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
6176         messages.
6177         (internal_mcount): Likewise.
6178         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
6179         crt_compile, add CRTSTUFF_T_CFLAGS_S.
6181 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6183         * configure.ac (libgcc_cv_solaris_crts): New test.
6184         * configure: Regenerate.
6185         * config.in: Regenerate.
6186         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
6187         * config/gmon-sol2.c: Rename to ...
6188         * config/sol2/gmon.c: ... this.
6189         Include auto-target.h.
6190         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
6191         * config/t-sol2: Rename to ...
6192         * config/sol2/t-sol2: ... this.
6193         (gmon.o): Reflect renaming.
6194         (crtp.o, crtpg.o): New rules.
6195         * config.host (*-*-solaris2*): Reflect renaming.
6196         Use system CRTs if present.
6197         Remove default CRT case.
6199 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
6201         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
6202         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
6203         __kernel_cmpxchg2.
6204         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
6205         (__sync_val_compare_and_swap_##WIDTH): Likewise.
6206         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
6207         (__sync_lock_test_and_set_##WIDTH): Likewise.
6208         (__sync_lock_release_##WIDTH): Likewise.
6209         (__sync_fetch_and_##OP##_4): Change result to match type of
6210         __kernel_cmpxchg.
6211         (__sync_##OP##_and_fetch_4): Likewise.
6212         (__sync_val_compare_and_swap_4): Likewise.
6213         (__sync_bool_compare_and_swap_4): likewise.
6214         (__sync_lock_test_and_set_4): Likewise.
6215         (__sync_lock_release_4): Likewise.
6216         (FETCH_AND_OP_2): Add long long variants.
6217         (OP_AND_FETCH_2): Likewise.
6218         (COMPARE_AND_SWAP_2 ): Likewise.
6219         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6220         (SYNC_LOCK_RELEASE_2): Likewise.
6221         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
6223 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
6225         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
6226         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
6227         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
6228         (get_available_features): Habdle new features.
6230 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
6232         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
6233         memory layout. Deal correctly with BSS region larger than 32K.
6234         Handle a watchdog reset like a power-on reset. Clean up unused
6235         code.
6237 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
6238             David Edelsohn  <dje.gcc@gmail.com>
6240         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
6241         * config/rs6000/crtdbase.S: New file.
6242         * config/rs6000/t-aix-cxa: Build crtdbase.o.
6244 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
6246         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
6247         Add support for call0 ABI.
6249 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
6251         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
6253 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
6255         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
6256         (__GTHREAD_HAS_COND): Likewise.
6257         (__gthread_t): Likewise.
6258         (__gthread_cond_t): Likewise.
6259         (__gthread_time_t): Likewise.
6260         (__GTHREAD_MUTEX_INIT): Likewise.
6261         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
6262         (__GTHREAD_COND_INIT): Likewise.
6263         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
6264         (__GTHREAD_TIME_INIT): Likewise.
6265         (__gthread_create): Likewise.
6266         (__gthread_join): Likewise.
6267         (__gthread_detach): Likewise.
6268         (__gthread_equal): Likewise.
6269         (__gthread_self): Likewise.
6270         (__gthread_yield): Likewise.
6271         (__gthread_cond_broadcast): Likewise.
6272         (__gthread_cond_signal): Likewise.
6273         (__gthread_cond_wait): Likewise.
6274         (__gthread_cond_timedwait): Likewise.
6275         (__gthread_cond_wait_recursive): Likewise.
6276         (__gthread_cond_destroy): Likewise.
6277         (rtems_gxx_once): Delete.
6278         (rtems_gxx_key_create): Likewise.
6279         (rtems_gxx_key_delete): Likewise.
6280         (rtems_gxx_getspecific): Likewise.
6281         (rtems_gxx_setspecific): Likewise.
6282         (rtems_gxx_mutex_init): Likewise.
6283         (rtems_gxx_mutex_destroy): Likewise.
6284         (rtems_gxx_mutex_lock): Likewise.
6285         (rtems_gxx_mutex_trylock): Likewise.
6286         (rtems_gxx_mutex_unlock): Likewise.
6287         (rtems_gxx_recursive_mutex_init): Likewise.
6288         (rtems_gxx_recursive_mutex_lock): Likewise.
6289         (rtems_gxx_recursive_mutex_trylock): Likewise.
6290         (rtems_gxx_recursive_mutex_unlock): Likewise.
6291         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
6292         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
6293         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
6294         (__gthread_once): Likewise.
6295         (__gthread_key_create): Likewise.
6296         (__gthread_key_delete): Likewise.
6297         (__gthread_getspecific): Likewise.
6298         (__gthread_setspecific): Likewise.
6299         (__gthread_key_t): Use <pthread.h> type.
6300         (__gthread_once_t): Likewise
6301         (__gthread_mutex_t): Use <sys/lock.h> type.
6302         (__gthread_recursive_mutex_t): Likewise
6303         (__gthread_mutex_lock): Use <sys/lock.h> function.
6304         (__gthread_mutex_trylock): Likewise.
6305         (__gthread_mutex_timedlock): Likewise.
6306         (__gthread_mutex_unlock): Likewise.
6307         (__gthread_mutex_destroy): Likewise.
6308         (__gthread_recursive_mutex_lock): Likewise.
6309         (__gthread_recursive_mutex_trylock): Likewise.
6310         (__gthread_recursive_mutex_timedlock): Likewise.
6311         (__gthread_recursive_mutex_unlock): Likewise.
6312         (__gthread_recursive_mutex_destroy): Likewise.
6314 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
6316         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
6317         context->sp instead of context->cfa.
6319 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
6321         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
6322         with unwind-dw2-fde-dip.
6324 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
6326         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
6327         CALL12 followed by series of ENTRY to spill windowed registers.
6328         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
6329         instead of making linux spill syscall.
6331 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
6333         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
6334         (get_intel_cpu): Likewise.
6336 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
6338         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
6339         (get_intel_cpu): Add Knights Landing support.
6341 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
6343         PR target/66954
6344         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
6345         (get_available_features): Handle FEATURE_PCLMUL.
6347 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
6349         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
6350         Broadwell.
6352 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
6354         PR target/66954
6355         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
6356         (get_available_features): Handle FEATURE_AES.
6358 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
6360         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
6361         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
6363 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
6365         * offloadstuff.c: Constify host data.
6367 2015-07-17  Jan Beulich  <jbeulich@suse.com>
6369         * config/t-softfp: Split up "else ifneq".
6371 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
6372             Cesar Philippidis  <cesar@codesourcery.com>
6373             Chung-Lin Tang  <cltang@codesourcery.com>
6375         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
6376         for __nios2_arch__ level.
6378 2015-07-13  John Marino  <gnugcc@marino.st>
6380         * config/i386/t-dragonfly: New.
6382 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
6384         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
6385         better match light-weight syscall argument order.
6386         (__kernel_cmpxchg2): Likewise.
6387         Adjust callers.
6389 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
6391         * config.host: Support i[34567]86-*-elfiamcu target.
6392         * config/t-softfp-sfdftf: New file.
6393         * config/i386/32/t-iamcu: Likewise.
6394         * configure: Regenerated.
6396 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
6398         libgcc/config/arm/
6399         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
6401 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
6403         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
6405 2015-05-27  John Marino  <gnugcc@marino.st>
6407         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
6408         md_unwind_header
6409         * config/i386/freebsd-unwind.h: New.
6411 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
6413         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
6414         i386/t-crtfm to tmake_file.
6415         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
6416         (set_fast_math): Use set_fast_math_sse for SSE targets.
6417         * config/i386/t-crtfm: Remove.
6419 2015-05-21  Alan Modra  <amodra@gmail.com>
6421         PR libgcc/66225
6422         * config/rs6000/morestack.S: Remove ".abiversion 1".
6424 2015-05-20  Alan Modra  <amodra@gmail.com>
6426         * config/rs6000/morestack.S: New.
6427         * config/rs6000/t-stack-rs6000: New.
6428         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
6429         to tmake_file.
6430         * generic-morestack.c: Don't build for powerpc 32-bit.
6432 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
6434         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
6435         Remove useless endif/ifneq ($(enable_shared),yes) pair.
6437 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
6439         * config.host: FT32 target added.
6440         * config/ft32/*: New files for FT32 target.
6442 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
6444         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
6445         New macros.
6446         * config/arm/ieee754-df.S: Add CFI directives.
6447         * config/arm/ieee754-sf.S: Add CFI directives.
6449 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
6451         * configure.ac: Include config/sjlj.m4.
6452         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
6453         * config.in: Regenerate.
6454         * configure: Likewise.
6455         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
6457 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
6459         * libgcov-util.c: Add space between string literal and macro name.
6461 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
6462             Chris Jones  <chrisj@nvidia.com>
6463             Joshua Conner  <jconner@nvidia.com>
6465         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
6466         (arm*-*-uclinux*): Likewise.
6467         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
6468         * config/arm/crtfastmath.c: New file.
6470 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
6472         * Makefile.in (real_host_noncanonical): New variable.
6473         (libsubdir): Use it.
6474         * configure.ac (real_host_noncanonical): Compute.  Remove special
6475         case for intelmicemul.
6476         * configure: Regenerate.
6478 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
6480         * config/frv/elf-lib.h: New file.
6481         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
6482         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
6483         to tm_file.
6485 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
6487         * config/frv/frvbengin.c: Do not include defaults.h
6488         * config/frv/frvend.c: Ditto.
6490 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
6492         * config.host: Add h8300-*-linux
6493         * config/h8300/t-linux: New file.
6494         * config/h8300/lib1funs.s: Change symbol prefix.
6495         * config/h8300/sfp-machine.h: 64bit double support.
6497 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
6498             Szabolcs Nagy  <szabolcs.nagy@arm.com>
6500         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
6501         Linux if target provides dl_iterate_phdr.
6503 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
6505         PR target/65612
6506         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
6507         * config/i386/cpuinfo.c (__cpu_model): Initialize.
6508         (__cpu_indicator_init@GCC_4.8.0): New.
6509         (__cpu_model@GCC_4.8.0): Likewise.
6510         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
6511         -DUSE_ELF_SYMVER.
6513 2015-04-16  Nick Clifton  <nickc@redhat.com>
6515         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
6516         and __modhi3 functions.
6517         * config/rl78/divmodso.S: Add G14 and G13 versions of the
6518         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
6520 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
6522         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
6523         do-while loop as macro body to avoid warnings.
6525 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
6526             Iain Sandoe  <iain@codesourcery.com>
6528         PR target/65351
6529         * configure: Regenerate.
6531 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
6532             Iain Sandoe  <iain@codesourcery.com>
6534         PR target/65351
6535         * configure: Regenerate.
6537 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
6539         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
6541 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
6543         Implement call0 ABI for xtensa
6544         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6545         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
6546         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
6547         use ret in call0 ABI.
6548         * config/xtensa/t-windowed: New file.
6549         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
6550         * libgcc/configure: Regenerated.
6551         * libgcc/configure.ac: Check if xtensa target is configured for
6552         windowed ABI and thus needs to use custom unwind code.
6554 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
6556         PR libgcc/64885
6557         * gthr-single.h: Use __unused__ attribute instead of unused.
6558         * config/gthr-vxworks.h: Likewise.
6559         * config/i386/gthr-win32.h: Likewise.
6561 2015-02-27  Kai Tietz  <ktietz@redhat.com>
6563         PR target/65038
6564         * config.in: Regenerated.
6565         * configure: Likewise.
6566         * configure.ac (AC_HEADER_STDC): Added explicit.
6567         (AC_CHECK_HEADERS): Check for default headers  plus
6568         for ftw.h header.
6569         * libgcov-util.c (gcov_read_profile_dir): Disable use
6570         of ftw-function, if header is not found.
6571         (ftw_read_file): Likewise.
6573 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
6575         PR target/65181
6576         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
6577         -Dinhibit_libc.
6579 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
6581         * config/arm/bpabi.S (test_div_by_zero): Make label names
6582         consistent between thumb2 and arm mode cases.  Separate the
6583         signed comparison on the high word of the numerator from the
6584         unsigned comparison on the low word.
6585         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
6586         signed comparison.
6588 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6590         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
6591         and <string.h>.
6592         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
6594 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
6596         PR gcov-profile/61889
6597         * libgcov-driver-system.c: undefine clashing macro for mkdir.
6599 2015-02-02  Nick Clifton  <nickc@redhat.com>
6601         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
6602         rounding up the fraction.
6604 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
6606         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
6607         oldval and newval to const void *.  Fix typo.
6608         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
6609         (FETCH_AND_OP_WORD): Likewise.
6610         (OP_AND_FETCH_WORD): Likewise.
6611         (COMPARE_AND_SWAP_2): Likewise.
6612         (__sync_val_compare_and_swap_4): Likewise.
6613         (__sync_lock_test_and_set_4): Likewise.
6614         (SYNC_LOCK_RELEASE_2): Likewise.
6615         Remove support for long long atomic operations.
6617 2015-01-27  Caroline Tice  <cmtice@google.com>
6619         Committing VTV Cywin/Ming patch for Patrick Wollgast
6620         * Makefile.in: Move rules to build vtv_*.o out of the check
6621         for CUSTOM_CRTSTUFF.
6622         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
6623         i[34567]86-*-mingw*)
6624         (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
6625         enable_vtable_verify.
6627 2015-01-27  Nick Clifton  <nickc@redhat.com>
6629         * config/rl78/cmpsi2.S: Use function start and end macros.
6630         (__gcc_bcmp): New function.
6631         * config/rl78/lshrsi3.S: Use function start and end macros.
6632         * config/rl78/mulsi3.S: Add support for G10.
6633         (__mulqi3): New function for G10.
6634         * config/rl78/signbit.S: Use function start and end macros.
6635         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
6636         fpmath-sf.S.
6637         (LIB2FUNCS_EXCLUDE): Define.
6638         (LIB2FUNCS_ST): Define.
6639         * config/rl78/trampoline.S: Use function start and end macros.
6640         * config/rl78/vregs.h (START_FUNC): New macro.
6641         (START_ANOTHER_FUNC): New macro.
6642         (END_FUNC): New macro.
6643         (END_ANOTHER_FUNC): New macro.
6644         * config/rl78/bit-count.S: New file.  Contains assembler
6645         implementations of the bit counting functions: ___clzhi2,
6646         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
6647         __paritysi2, __popcounthi2 and __popcountsi2.
6648         * config/rl78/fpbit-sf.S: New file.  Contains assembler
6649         implementationas of the math functions: __negsf2, __cmpsf2,
6650         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
6651         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
6652         * config/rl78/fpmath-sf.S: New file.  Contains assembler
6653         implementations of the math functions: __subsf3, __addsf3,
6654         __mulsf3 and __divsf3
6656 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6658         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
6659         Add i386/elf-lib.h to tm_file.
6660         * config/i386/elf-lib.h: Fix comment.
6661         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
6662         && __sun__ && __svr4__]: Remove workaround.
6664 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
6666         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
6667         FEATURE_BMI2.
6668         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
6670 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
6672         * config/i386/cpuinfo.c (processor_subtypes): Add
6673         INTEL_COREI7_BROADWELL.
6674         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
6675         model numbers.
6677 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
6679         * config/i386/elf-lib.h: New file.
6680         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
6681         Wrap definition in #ifdef __i386__.
6682         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6683         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
6684         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
6685         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
6686         to tm_file.
6688 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
6690         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
6691         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
6693 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
6695         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
6696         Update rt_sigframe format and address for current Nios II
6697         Linux conventions.
6699 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
6701         * config.host (arm*-*-freebsd*): Add new configuration for
6702         arm*-*-freebsd*.
6703         * config/arm/freebsd-atomic.c: New file.
6704         * config/arm/t-freebsd: Likewise.
6705         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
6706         'PC-relative indirect' OS's.
6708 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
6710         * config.host: Add Visium support.
6711         * config/visium: New directory.
6713 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
6715         Update copyright years.
6717 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
6719         * config.host: Support mipsisa32r6 and mipsisa64r6.
6720         * config/mips/mips16.S: Do not build for R6.
6722 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
6724         * config/sh/crt.h: New.
6725         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
6726         symbols.
6727         * config/sh/crt1.S: Likewise.
6729 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
6731         PR libgcc/63832
6732         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
6733         func_ptr *dtor_list temporary variable to avoid "array subscript
6734         is above array bounds" warnings.
6736 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
6738         * Makefile.in (with_aix_soname): Define.
6739         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
6740         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
6741         * configure: Recreate.
6743 2014-12-05  Olivier Hainque  <hainque@adacore.com>
6745         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
6746         now provided by defaults.h.
6748 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
6750         PR target/55351
6751         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
6752         whether it's defined.
6754 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
6756         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
6757         * config/i386/cpuinfo.c (get_available_features): Detect it.
6759 2014-11-27  Tony Wang  <tony.wang@arm.com>
6761         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
6762         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
6763         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
6765 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
6767         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
6769 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
6771         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
6772         instead.
6774 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
6775             John David Anglin  <danglin@gcc.gnu.org>
6777         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
6778         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
6779         (OP_AND_FETCH_2): Likewise.
6780         (COMPARE_AND_SWAP_2): Likewise.
6781         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6782         (SYNC_LOCK_RELEASE_2): Likewise.
6783         (SUBWORD_SYNC_OP): Remove.
6784         (SUBWORD_VAL_CAS): Likewise.
6785         (SUBWORD_BOOL_CAS): Likewise.
6786         (FETCH_AND_OP_WORD): Update.
6787         Consistently use signed types.
6789 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
6790             Thomas Schwinge  <thomas@codesourcery.com>
6791             Ilya Verbin  <ilya.verbin@intel.com>
6792             Andrey Turetskiy  <andrey.turetskiy@intel.com>
6794         * Makefile.in (crtoffloadbegin$(objext)): New rule.
6795         (crtoffloadend$(objext)): Likewise.
6796         * configure: Regenerate.
6797         * configure.ac (accel_dir_suffix): Compute new variable.
6798         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
6799         if enable_offload_targets is not empty.
6800         * offloadstuff.c: New file.
6802 2014-11-13  Nick Clifton  <nickc@redhat.com>
6804         * config/rl78/divmodhi.S: Add support for the G10 architecture.
6805         Use START_FUNC and END_FUNC macros to enable linker garbage
6806         collection.
6807         * config/rl78/divmodqi.S: Likewise.
6808         * config/rl78/divmodsi.S: Likewise.
6809         * config/rl78/mulsi3.S: Likewise.
6810         * config/rl78/lib2div.c: Remove G10 functions.
6811         * config/rl78/lib2muls.c: Likewise.
6812         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
6813         * config/rl78/vregs.h (START_FUNC): New macro.
6814         (END_FUNC): New macro.
6816 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
6818         * config/mips/mips16.S: Set .module when supported.  Update O32
6819         FP64 calling convention and use for FPXX when possible.  Add FPXX
6820         calling convention fallback case.
6822 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
6824         * config.host: Handle nvptx-*-*.
6825         * shared-object.mk (as-flags-$o): Define.
6826         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
6827         -xassembler-with-cpp.
6828         * static-object.mk: Identical changes.
6829         * config/nvptx/t-nvptx: New file.
6830         * config/nvptx/crt0.s: New file.
6831         * config/nvptx/free.asm: New file.
6832         * config/nvptx/malloc.asm: New file.
6833         * config/nvptx/realloc.c: New file.
6835 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
6837         * Makefile.in (libgcc.map.in): New target.
6838         (libgcc.map): Use libgcc.map.in.
6839         * config/t-softfp (softfp_compat): New variable to be set by
6840         users.
6841         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
6842         variables.
6843         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
6844         directory.
6845         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
6846         that use compat symbols and disable all code unless [SHARED].
6847         * config/t-softfp-compat: New file.
6848         * find-symver.awk: New file.
6849         * configure.ac (--with-glibc-version): New configure option.
6850         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
6851         * configure: Regenerate.
6852         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
6853         soft-float and e500.
6855 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
6857         * config/t-hardfp (hardfp_exclusions): Document new variable for
6858         user to define.
6859         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
6860         * config/t-softfp (softfp_extras): Document new variable for user
6861         to define.
6862         (softfp_func_list): Add functions from $(softfp_extras).
6863         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
6864         * config.host (powerpc*-*-linux*): For e500v1, use
6865         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
6866         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
6867         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
6869 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
6871         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
6872         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
6873         memory read accesses are ok.
6875 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
6877         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
6878         * configure: Regenerate.
6879         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
6880         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
6881         of soft-fp for 32-bit classic hard float.  Do not use
6882         t-softfp-excl for soft float.
6884 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
6886         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
6887         configurations.
6888         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
6889         Remove variables.
6891 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
6893         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
6894         introduced with 2014-10-21 trunk r216525.
6896 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
6897             Vidya Praveen  <vidya.praveen@atmel.com>
6898             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
6899             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
6900             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
6902         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
6903         order.
6905         Updated library functions for AVRTINY arch.
6906         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
6907         Replaced occurrences of r0/r1 with tmp/zero reg macros.
6908         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
6909         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
6910         wsubi/wadi macors.
6911         (__mulsi3_helper): Update stack, preserve callee saved regs and
6912         argument from stack. Restore callee save registers.
6913         (__mulpsi3): Likewise.
6914         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
6915         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
6916         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
6917         AVRTINY.
6918         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
6919         (__do_copy_data): Added new definition for AVRTINY.
6920         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
6921         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
6922         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
6923         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
6924         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
6925         macors.
6926         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
6927         AVRTINY.
6929         Fix broken long multiplication on tiny arch.
6931 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
6933         * soft-fp/double.h: Update from glibc.
6934         * soft-fp/eqdf2.c: Likewise.
6935         * soft-fp/eqsf2.c: Likewise.
6936         * soft-fp/eqtf2.c: Likewise.
6937         * soft-fp/extenddftf2.c: Likewise.
6938         * soft-fp/extended.h: Likewise.
6939         * soft-fp/extendsfdf2.c: Likewise.
6940         * soft-fp/extendsftf2.c: Likewise.
6941         * soft-fp/extendxftf2.c: Likewise.
6942         * soft-fp/gedf2.c: Likewise.
6943         * soft-fp/gesf2.c: Likewise.
6944         * soft-fp/getf2.c: Likewise.
6945         * soft-fp/ledf2.c: Likewise.
6946         * soft-fp/lesf2.c: Likewise.
6947         * soft-fp/letf2.c: Likewise.
6948         * soft-fp/op-1.h: Likewise.
6949         * soft-fp/op-2.h: Likewise.
6950         * soft-fp/op-4.h: Likewise.
6951         * soft-fp/op-8.h: Likewise.
6952         * soft-fp/op-common.h: Likewise.
6953         * soft-fp/quad.h: Likewise.
6954         * soft-fp/single.h: Likewise.
6955         * soft-fp/soft-fp.h: Likewise.
6956         * soft-fp/unorddf2.c: Likewise.
6957         * soft-fp/unordsf2.c: Likewise.
6958         * soft-fp/unordtf2.c: Likewise.
6959         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
6960         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
6961         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
6962         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
6963         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
6964         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
6965         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
6966         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
6967         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
6968         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
6970 2014-10-08  Rong Xu  <xur@google.com>
6972         * libgcov-util.c (read_gcda_file): Fix format.
6973         (find_match_gcov_info): Ditto.
6974         (calculate_2_entries): New.
6975         (compute_one_gcov): Ditto.
6976         (gcov_info_count_all_cold): Ditto.
6977         (gcov_info_count_all_zero): Ditto.
6978         (extract_file_basename): Ditto.
6979         (get_file_basename): Ditto.
6980         (set_flag): Ditto.
6981         (matched_gcov_info): Ditto.
6982         (calculate_overlap): Ditto.
6983         (gcov_profile_overlap): Ditto.
6984         * libgcov-driver.c (compute_summary): Make
6985         it avavilable for external calls.
6987 2014-10-06  Rong Xu  <xur@google.com>
6989         * Makefile.in: Ditto.
6990         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
6991         (gcov_sort_icall_topn_counter): Ditto.
6992         (gcov_sort_topn_counter_arrays): Ditto.
6993         (dump_one_gcov): Sort indirect_call topn counters.
6994         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
6995         function.
6996         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
6997         utility function.
6998         (__gcov_indirect_call_topn_profiler): New profiler function.
6999         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
7000         * libgcov.h: New decls.
7002 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
7004         * config.host: Remove support for score-*.
7006 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
7008         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
7009         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
7010         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
7011         __LIBGCC_XF_MANT_DIG__.
7012         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
7013         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
7014         __LIBGCC_TF_MANT_DIG__.
7015         * libgcc2.c (NOTRUNC): Define in terms of
7016         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
7017         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
7019 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
7021         PR target/63312
7022         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
7023         New macros.
7025 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
7027         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
7028         override USE_PT_GNU_EH_FRAME.
7029         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
7030         check USE_EH_FRAME_REGISTRY_ALWAYS against
7031         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
7032         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
7033         variable for substituted force_explicit_eh_registry.
7034         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
7035         * configure.ac (explicit-exception-frame-registration):
7036         New AC_ARG_ENABLE.
7037         * configure: Regenerate.
7039 2014-09-19  Olivier Hainque  <hainque@adacore.com>
7041         * config.host (powerpc-wrs-vxworksmils): New configuration,
7042         same as vxworksae.
7044 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
7046         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
7048 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
7050         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
7051         bits not set bits as indicating trapping exceptions.
7053 2014-09-17  Nathan sidwell  <nathan@acm.org>
7055         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
7056         (LIBGCOV_DRIVER): ... here.
7057         * libgcov-driver.c (gcov_master): New.
7058         (gcov_exit): Remove from master chain.
7059         (__gcov_init): Add to master chain if version compatible.  Don't
7060         clear the version.
7061         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
7062         (gcov_reset_int): Clear master chain, if compatible.
7063         (gcov_dump_int): New internal interface.  Dump master chain, if
7064         compatible.
7065         (gcov_dump): Alias for gcov_dump_int.
7066         * libgcov.h (struct gcov_root): Add next and prev fields.
7067         (struct gcov_master): New struct.
7068         (__gcov_master): New.
7069         (gcov_dump_int): Declare.
7071 2014-09-17  Olivier Hainque  <hainque@adacore.com>
7073         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
7074         and crtbegin.o + crtend.o to extra_parts.
7076 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
7078         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
7079         __LIBGCC_HAS_SF_MODE__.
7080         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7081         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7082         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7083         * config/libbid/bid_gcc_intrinsics.h
7084         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7085         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7086         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7087         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7088         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
7089         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7091 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
7093         PR target/63223
7094         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
7095         and R24 as needed.  Make work for all devices and .text locations.
7096         (__do_global_ctors, __do_global_dtors): Use word addresses.
7097         (__tablejump__, __tablejump_elpm__): Remove functions.
7098         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
7099         Add _tablejump2.
7100         (XICALL, XIJMP): New macros.
7102 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7103         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
7105         * config.host (aarch64*): Include crtfastmath.o and
7106         t-crtfm.
7107         * config/aarch64/crtfastmath.c: New file.
7109 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
7111         * config.host: Remove picochip support.
7112         * config/picochip/adddi3.S: Remove.
7113         * config/picochip/ashlsi3.S: Remove.
7114         * config/picochip/ashlsi3.c: Remove.
7115         * config/picochip/ashrsi3.S: Remove.
7116         * config/picochip/ashrsi3.c: Remove.
7117         * config/picochip/clzsi2.S: Remove.
7118         * config/picochip/cmpsi2.S: Remove.
7119         * config/picochip/divmod15.S: Remove.
7120         * config/picochip/divmodhi4.S: Remove.
7121         * config/picochip/divmodsi4.S: Remove.
7122         * config/picochip/lib1funcs.S: Remove.
7123         * config/picochip/longjmp.S: Remove.
7124         * config/picochip/lshrsi3.S: Remove.
7125         * config/picochip/lshrsi3.c: Remove.
7126         * config/picochip/parityhi2.S: Remove.
7127         * config/picochip/popcounthi2.S: Remove.
7128         * config/picochip/setjmp.S: Remove.
7129         * config/picochip/subdi3.S: Remove.
7130         * config/picochip/t-picochip: Remove.
7131         * config/picochip/ucmpsi2.S: Remove.
7132         * config/picochip/udivmodhi4.S: Remove.
7133         * config/picochip/udivmodsi4.S: Remove.
7135 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
7137         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
7138         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
7139         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
7140         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
7141         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
7142         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
7143         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
7144         defined and LIBGCC2_HAS_DF_MODE is defined.
7145         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
7146         defined and LIBGCC2_HAS_XF_MODE is defined.
7147         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
7148         defined and LIBGCC2_HAS_TF_MODE is defined.
7150 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
7152         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
7153         and ROUND_TOWARDS_ZERO conditionals.
7155 2014-09-07  Nathan sidwell  <nathan@acm.org>
7157         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
7158         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
7160 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
7162         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
7163         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7164         uses to __LIBGCC_STACK_POINTER_REGNUM__.
7165         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7166         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7167         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7168         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7169         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
7170         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
7171         (DWARF_FRAME_REGISTERS): Change all uses to
7172         __LIBGCC_DWARF_FRAME_REGISTERS__.
7173         (EH_RETURN_STACKADJ_RTX): Change all uses to
7174         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7175         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
7176         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
7177         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
7178         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
7179         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
7180         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
7181         to __LIBGCC_EH_FRAME_SECTION_NAME__.
7182         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
7183         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
7184         __LIBGCC_STACK_POINTER_REGNUM__.
7185         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7186         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7187         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7188         to __LIBGCC_STACK_POINTER_REGNUM__.
7189         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7190         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7191         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7192         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7193         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7194         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7195         (STACK_POINTER_REGNUM): Change all uses to
7196         __LIBGCC_STACK_POINTER_REGNUM__.
7197         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
7198         use to __LIBGCC_STACK_POINTER_REGNUM__.
7199         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7200         uses to __LIBGCC_STACK_POINTER_REGNUM__.
7201         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
7202         to __LIBGCC_DWARF_FRAME_REGISTERS__.
7203         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
7204         to __LIBGCC_DWARF_FRAME_REGISTERS__.
7205         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7206         to __LIBGCC_STACK_POINTER_REGNUM__.
7207         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
7208         Remove conditional definition.
7209         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
7210         __LIBGCC_TEXT_SECTION_ASM_OP__.
7211         (EH_FRAME_SECTION_NAME): Change all uses to
7212         __LIBGCC_EH_FRAME_SECTION_NAME__.
7213         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
7214         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
7215         (CTORS_SECTION_ASM_OP): Change all uses to
7216         __LIBGCC_CTORS_SECTION_ASM_OP__.
7217         (DTORS_SECTION_ASM_OP): Change all uses to
7218         __LIBGCC_DTORS_SECTION_ASM_OP__.
7219         (JCR_SECTION_NAME): Change all uses to
7220         __LIBGCC_JCR_SECTION_NAME__.
7221         (INIT_SECTION_ASM_OP): Change all uses to
7222         __LIBGCC_INIT_SECTION_ASM_OP__.
7223         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7224         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7225         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
7226         __LIBGCC_STACK_GROWS_DOWNWARD__.
7227         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
7228         __LIBGCC_INIT_SECTION_ASM_OP__.
7229         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7230         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7231         (EH_FRAME_SECTION_NAME): Change all uses to
7232         __LIBGCC_EH_FRAME_SECTION_NAME__.
7233         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
7234         definitions.  Change all uses to
7235         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
7236         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
7237         __LIBGCC_STACK_GROWS_DOWNWARD__.
7238         (DWARF_FRAME_REGISTERS): Change all uses to
7239         __LIBGCC_DWARF_FRAME_REGISTERS__.
7240         (EH_RETURN_STACKADJ_RTX): Change all uses to
7241         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7242         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
7243         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
7244         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
7245         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
7246         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
7248 2014-09-02  Nathan sidwell  <nathan@acm.org>
7250         * libgcov-interface.c (STRONG_ALIAS): New.
7251         (__gcov_flush): Call __gcov_reset_int.
7252         (__gcov_reset): Strong alias for ...
7253         (__gcov_reset_ing): ... this renamed hidden version.
7254         * libgcov.h (__gcov_reset_int): New declaration.
7256 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
7258         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
7259         call from here...
7260         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
7261         (__dso_handle): Define on Cygwin.
7262         * config/i386/t-cygming (crtbeginS.o): New rule.
7263         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
7265         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
7266         declaration syntax.
7268 2014-08-13  Steve Ellcey  <sellcey@mips.com>
7270         * crtstuff.c: Undef caddr_t.
7272 2014-08-12  Steve Ellcey  <sellcey@mips.com>
7274         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
7276 2014-08-07  Nathan Sidwell  <nathan@acm.org>
7278         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
7279         (LIBGCOV_DRIVER): ... to here.
7280         * libgcov.h (gcov_do_dump): New #define.
7281         (struct gcov_root): New.
7282         (__gcov_root): New declaration.
7283         (__gcov_dump_one): Declare.
7284         * libgcov-driver.c (gcov_list, gcov_dump_complete,
7285         run_accounted): Delete.
7286         (gcov_compute_histogram): Add LIST argument, adjust.
7287         (compute_summary): Adjust gcov_compute_histogram call.
7288         (gcov_do_dump): Not hidden, static in libgcov.
7289         (gcov_clear): Move  to interface.c.
7290         (__gcov_dump_one): New, broken out of ...
7291         (gcov_exit): ... here.  Make static.
7292         (__gcov_root): New.
7293         (__gcov_init): Adjust.
7294         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
7295         declarations.
7296         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
7297         (gcov_clear): Moved from driver.c.   Add LIST argument.
7298         (__gcov_reset): Adjust for changed interfaces.
7299         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
7301 2014-08-04  Rohit  <rohitarulraj@freescale.com>
7303         PR target/60102
7304         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
7305         based on change in SPE high register numbers and 3 HTM registers.
7307 2014-08-01  Nathan Sidwell  <nathan@acm.org>
7309         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
7310         LIBGCOV_INTERFACE): Reformat.
7311         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
7312         IN_GCOV_TOOL.
7313         * libgcov-interface.c: Reformat some comments.
7314         (__gcov_flush_mx): Add declaration.  Tidy up definition.
7316 2014-07-31  Alan Modra  <amodra@gmail.com>
7317             Peter Bergner  <bergner@vnet.ibm.com>
7319         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
7320         (pack_ldouble): New function.
7321         (__gcc_qadd): Use it.
7322         (__gcc_qmul): Likewise.
7323         (__gcc_qdiv): Likewise.
7324         (__gcc_qneg): Likewise.
7325         (__gcc_stoq): Likewise.
7326         (__gcc_dtoq): Likewise.
7328 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
7330         * config/s390/tpf-unwind.h: Include <stdbool.h>.
7331         (__tpf_eh_return): Add original return address as second parameter.
7332         Handle cases where unwinder routines were called directly, instead
7333         of from within the C++ library.
7335 2014-07-29  Nathan Sidwell  <nathan@acm.org>
7337         * libgcov.h: Move renaming of entry points to lib gcov specific
7338         portion.
7339         (gcov_do_dump): New rename.
7340         (gcov_rewrite): Remove inline, make HIDDEN.
7341         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
7342         (gcov_exit_compute_summary): Rename to ...
7343         (compute_summary): ... here.  Add LIST argument.
7344         (gcov_exit_merge_gcda): Rename to ...
7345         (merge_one_data): ... here.
7346         (gcov_exit_write_gcda): Rename to ...
7347         (write_one_data): ... here.
7348         (gcov_exit_merge_summary): Rename to ...
7349         (merge_summary): Add RUN_COUNTED argument.
7350         (gcov_exit_dump_gcov): Rename to ...
7351         (dump_one_gcov): Add RUN_COUNTED argument.
7352         (gcov_do_dump): New function, broken out of ...
7353         (gcov_exit): ... here.  Call it.
7355 2014-07-27  Anthony Green  <green@moxielogic.com>
7357         * config.host: Add moxiebox configuration suppport.
7359 2014-07-27  Nathan Sidwell  <nathan@acm.org>
7361         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
7362         (struct gcov_filename): ... here.  Include buffer and max length
7363         fields.
7364         (gcov_max_filename): Remove.
7365         (gi_filename): Remove.
7366         (gcov_exit_compute_summary): Compute max filename here.
7367         (gcov_exit_merge_gcda): Add filename parm, adjust.
7368         (gcov_exit_merge_summary): Likewise.
7369         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
7370         (gcov_exit): Likewise.
7371         (__gcov_init): Don't calculate max length here.
7372         * libgcov_util.c (max_filename_len): Remove.
7373         (read_gcda_file): Don't calculate max length here.
7374         (gcov_read_profile_dir): Don't propagate here.
7375         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
7376         struct gcov_filename changes.
7377         (gcov_exit_open_gcda_file): Likewise.
7379 2014-07-25  Nathan Sidwell  <nathan@acm.org>
7381         * libgcov-driver.c (set_gcov_dump_complete,
7382         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
7383         functions polluting user's namespace.
7384         (gcov_exit): Set variable directly.
7385         (gcov_clear): Reset variable directly.
7386         * libgcov-interface.c (get_gcov_dymp_complete,
7387         reset_gov_dump_complete): Remove declarations.
7388         (__gcov_reset, __gcov_dump): Don't call them.
7390 2014-07-24  DJ Delorie  <dj@redhat.com>
7392         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
7393         (__gcc_deregister_frame): Move logic to detect deregister function
7394         to ...
7395         (__gcc_register_frame): here, so it's consistent with the register
7396         logic.
7398 2014-07-23  Nathan Sidwell  <nathan@acm.org>
7400         * libgcov-driver.c (set_gcov_list): Remove.
7401         (gcov_list): Make non-static in GCOV_TOOL.
7402         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
7404 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
7406         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
7407         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
7408         Don't use SYNC_LOCK_RELEASE for int type.
7410 2014-07-14  Richard Biener  <rguenther@suse.de>
7412         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
7414 2014-07-11  Rong Xu  <xur@google.com>
7416         * libgcov-util.c (gcov_max_filename): Fix declartion.
7418 2014-07-10  Rong Xu  <xur@google.com>
7420         Add gcov-tool: an offline gcda profile processing tool
7421         Support.
7422         * libgcov-driver.c (gcov_max_filename): Make available
7423         to gcov-tool.
7424         * libgcov-merge.c (__gcov_merge_add): Replace
7425         gcov_read_counter() with a Macro.
7426         (__gcov_merge_ior): Ditto.
7427         (__gcov_merge_time_profile): Ditto.
7428         (__gcov_merge_single): Ditto.
7429         (__gcov_merge_delta): Ditto.
7430         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
7431         in the utility functions.
7432         (set_fn_ctrs): Utility function for reading gcda files to in-memory
7433         gcov_list object link lists.
7434         (tag_function): Ditto.
7435         (tag_blocks): Ditto.
7436         (tag_arcs): Ditto.
7437         (tag_lines): Ditto.
7438         (tag_counters): Ditto.
7439         (tag_summary): Ditto.
7440         (read_gcda_finalize): Ditto.
7441         (read_gcda_file): Ditto.
7442         (ftw_read_file): Ditto.
7443         (read_profile_dir_init): Ditto.
7444         (gcov_read_profile_dir): Ditto.
7445         (gcov_read_counter_mem): Ditto.
7446         (gcov_get_merge_weight): Ditto.
7447         (merge_wrapper): A wrapper function that calls merging handler.
7448         (gcov_merge): Merge two gcov_info objects with weights.
7449         (find_match_gcov_info): Find the matched gcov_info in the list.
7450         (gcov_profile_merge): Merge two gcov_info object lists.
7451         (__gcov_add_counter_op): Process edge profile counter values.
7452         (__gcov_ior_counter_op): Process IOR profile counter values.
7453         (__gcov_delta_counter_op): Process delta profile counter values.
7454         (__gcov_single_counter_op): Process single  profile counter values.
7455         (fp_scale): Callback function for float-point scaling.
7456         (int_scale): Callback function for integer fraction scaling.
7457         (gcov_profile_scale): Scaling profile counters.
7458         (gcov_profile_normalize): Normalize profile counters.
7459         * libgcov.h: Add headers and functions for gcov-tool use.
7460         (gcov_get_counter): New.
7461         (gcov_get_counter_target): Ditto.
7462         (struct gcov_info): Make the functions field mutable in gcov-tool
7463         compilation.
7465 2014-06-23  Kai Tietz  <ktietz@redhat.com>
7467         PR libgcc/61585
7468         * unwind-seh.c (_Unwind_GetGR): Check for proper
7469         index range.
7470         (_Unwind_SetGR): Likewise.
7472 2014-05-22  Nick Clifton  <nickc@redhat.com>
7474         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
7475         -mhwmult=none.
7477 2014-05-22  Teresa Johnson  <tejohnson@google.com>
7479         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
7480         include.
7482 2014-05-20  John Marino  <gnugcc@marino.st>
7484         * config.host (*-*-dragonfly*): New target.
7485         * crtstuff.c: Make dl_iterate_support generic on *bsd.
7486         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
7487         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
7488         * config/i386/dragonfly-unwind.h: New.
7490 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
7492         PR libgcc/60166
7493         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
7494         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
7496 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
7498         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
7499         implementation.
7501 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
7503         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
7505 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7507         PR libgcc/61097
7508         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
7509         if --enable-shared.
7511 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
7513         Work around for current cygwin32 build problems.
7514         * config/i386/cygming-crtbegin.c (__register_frame_info,
7515         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
7516         functions only for 64-bit systems.
7518 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7520         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
7521         (sigill_caught, sigill_hdlr): Remove.
7523 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7525         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
7526         check.
7527         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7528         Solaris 9 single-threaded support.
7529         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7530         Solaris 9 single-threaded support.  Add call_user_handler code
7531         sequences.
7532         (sparc_is_sighandler): Likewise.
7534 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7536         * config.host: Append t-floattodi to tmake_file depending on
7537         host_address.
7539 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
7541         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
7543 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
7545         PR libgcc/60472
7546         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
7547         variable to avoid "array subscript is above array bounds" warnings.
7548         Use __builtin_expect when checking *jcr_list for NULL.
7550 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7552         PR libgcc/59339
7553         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
7554         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
7555         vtv_*.o to extra_parts if enable_vtable_verify.
7557 2014-03-06  Nick Clifton  <nickc@redhat.com>
7559         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
7560         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
7562 2014-02-28  Joey Ye  <joey.ye@arm.com>
7564         PR libgcc/60166
7565         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
7566         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
7567         Set to zero.
7569 2014-02-24  Walter Lee  <walt@tilera.com>
7571         * config.host: Support "tilegx*" and "tilepro*" triplets.
7572         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
7573         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
7575 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
7576             Chung-Lin Tang  <cltang@codesourcery.com>
7578         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
7579         * config/nios2/crti.S: Remove .file directive.
7580         * config/nios2/crtn.S: Likewise.
7582 2014-02-18  Kai Tietz  <ktietz@redhat.com>
7583         Jonathan Schleifer  <js@webkeks.org>
7585         PR objc/56870
7586         * unwind-seh.c (_GCC_specific_handler): Pass proper
7587         value to unwind-handler.
7589 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
7591         * soft-fp/adddf3.c: Update from glibc.
7592         * soft-fp/addsf3.c: Likewise.
7593         * soft-fp/addtf3.c: Likewise.
7594         * soft-fp/divdf3.c: Likewise.
7595         * soft-fp/divsf3.c: Likewise.
7596         * soft-fp/divtf3.c: Likewise.
7597         * soft-fp/double.h: Likewise.
7598         * soft-fp/eqdf2.c: Likewise.
7599         * soft-fp/eqsf2.c: Likewise.
7600         * soft-fp/eqtf2.c: Likewise.
7601         * soft-fp/extenddftf2.c: Likewise.
7602         * soft-fp/extended.h: Likewise.
7603         * soft-fp/extendsfdf2.c: Likewise.
7604         * soft-fp/extendsftf2.c: Likewise.
7605         * soft-fp/extendxftf2.c: Likewise.
7606         * soft-fp/fixdfdi.c: Likewise.
7607         * soft-fp/fixdfsi.c: Likewise.
7608         * soft-fp/fixdfti.c: Likewise.
7609         * soft-fp/fixsfdi.c: Likewise.
7610         * soft-fp/fixsfsi.c: Likewise.
7611         * soft-fp/fixsfti.c: Likewise.
7612         * soft-fp/fixtfdi.c: Likewise.
7613         * soft-fp/fixtfsi.c: Likewise.
7614         * soft-fp/fixtfti.c: Likewise.
7615         * soft-fp/fixunsdfdi.c: Likewise.
7616         * soft-fp/fixunsdfsi.c: Likewise.
7617         * soft-fp/fixunsdfti.c: Likewise.
7618         * soft-fp/fixunssfdi.c: Likewise.
7619         * soft-fp/fixunssfsi.c: Likewise.
7620         * soft-fp/fixunssfti.c: Likewise.
7621         * soft-fp/fixunstfdi.c: Likewise.
7622         * soft-fp/fixunstfsi.c: Likewise.
7623         * soft-fp/fixunstfti.c: Likewise.
7624         * soft-fp/floatdidf.c: Likewise.
7625         * soft-fp/floatdisf.c: Likewise.
7626         * soft-fp/floatditf.c: Likewise.
7627         * soft-fp/floatsidf.c: Likewise.
7628         * soft-fp/floatsisf.c: Likewise.
7629         * soft-fp/floatsitf.c: Likewise.
7630         * soft-fp/floattidf.c: Likewise.
7631         * soft-fp/floattisf.c: Likewise.
7632         * soft-fp/floattitf.c: Likewise.
7633         * soft-fp/floatundidf.c: Likewise.
7634         * soft-fp/floatundisf.c: Likewise.
7635         * soft-fp/floatunditf.c: Likewise.
7636         * soft-fp/floatunsidf.c: Likewise.
7637         * soft-fp/floatunsisf.c: Likewise.
7638         * soft-fp/floatunsitf.c: Likewise.
7639         * soft-fp/floatuntidf.c: Likewise.
7640         * soft-fp/floatuntisf.c: Likewise.
7641         * soft-fp/floatuntitf.c: Likewise.
7642         * soft-fp/gedf2.c: Likewise.
7643         * soft-fp/gesf2.c: Likewise.
7644         * soft-fp/getf2.c: Likewise.
7645         * soft-fp/ledf2.c: Likewise.
7646         * soft-fp/lesf2.c: Likewise.
7647         * soft-fp/letf2.c: Likewise.
7648         * soft-fp/muldf3.c: Likewise.
7649         * soft-fp/mulsf3.c: Likewise.
7650         * soft-fp/multf3.c: Likewise.
7651         * soft-fp/negdf2.c: Likewise.
7652         * soft-fp/negsf2.c: Likewise.
7653         * soft-fp/negtf2.c: Likewise.
7654         * soft-fp/op-1.h: Likewise.
7655         * soft-fp/op-2.h: Likewise.
7656         * soft-fp/op-4.h: Likewise.
7657         * soft-fp/op-8.h: Likewise.
7658         * soft-fp/op-common.h: Likewise.
7659         * soft-fp/quad.h: Likewise.
7660         * soft-fp/single.h: Likewise.
7661         * soft-fp/soft-fp.h: Likewise.
7662         * soft-fp/subdf3.c: Likewise.
7663         * soft-fp/subsf3.c: Likewise.
7664         * soft-fp/subtf3.c: Likewise.
7665         * soft-fp/truncdfsf2.c: Likewise.
7666         * soft-fp/trunctfdf2.c: Likewise.
7667         * soft-fp/trunctfsf2.c: Likewise.
7668         * soft-fp/trunctfxf2.c: Likewise.
7669         * soft-fp/unorddf2.c: Likewise.
7670         * soft-fp/unordsf2.c: Likewise.
7671         * soft-fp/unordtf2.c: Likewise.
7672         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
7673         macro.
7674         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7675         Likewise.
7676         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7677         Likewise.
7678         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7679         Likewise.
7680         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7681         Likewise.
7682         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7683         Likewise.
7684         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7685         Likewise.
7686         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7687         Likewise.
7688         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7689         Likewise.
7690         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7691         Likewise.
7692         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7693         Likewise.
7694         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7695         Likewise.
7696         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7697         Likewise.
7698         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
7699         Likewise.
7700         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
7701         Likewise.
7702         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7703         Likewise.
7705 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7707         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
7708         cannot be represented.
7709         * config/s390/32/_fixsfdi.c: Likewise.
7710         * config/s390/32/_fixtfdi.c: Likewise.
7711         * config/s390/32/_fixunsdfdi.c: Likewise.
7712         * config/s390/32/_fixunssfdi.c: Likewise.
7713         * config/s390/32/_fixunstfdi.c: Likewise.
7715 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
7717         * configure.ac (libgcc_cv_mips_hard_float): New.
7718         * configure: Regenerate.
7719         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
7720         t-softfp-sfdf for hard-float targets.
7721         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
7722         (softfp_float_modes, softfp_int_modes, softfp_extensions)
7723         (softfp_truncations, softfp_exclude_libgcc2): New.
7724         * config/t-hardfp: New file.
7725         * config/t-hardfp-sfdf: Likewise.
7726         * config/hardfp.c: Likewise.
7728 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7730         * config.host: Include t-floattodi also for s390x.
7731         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
7732         * config/s390/32/_fixsfdi.c: Likewise.
7733         * config/s390/32/_fixtfdi.c: Likewise.
7734         * config/s390/32/_fixunsdfdi.c: Likewise.
7735         * config/s390/32/_fixunssfdi.c: Likewise.
7736         * config/s390/32/_fixunstfdi.c: Likewise.
7738 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7740         PR target/59788
7741         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
7742         (install-libgcc-unwind-map-forbuild): New target.
7743         (all): Depend on install-libgcc-unwind-map-forbuild.
7744         (install-libgcc-unwind-map): New target.
7745         (install): Depend on install-libgcc-unwind-map.
7747 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
7749         * config/nios2/crti.S (_init): Initialize GOT pointer from
7750         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
7752 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
7754         * configure.ac: Check __mips64 when setting host_address.
7755         * configure: Regenerate.
7756         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
7757         mips/t-mips64 and t-softfp.
7758         (mips*-*-linux*): Don't add mips/t-tpbit.
7759         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
7760         (DPBIT, DPBIT_CFLAGS): Delete.
7761         * config/mips/sfp-machine.h: New file.
7762         * config/mips/t-mips64: Likewise.
7763         * config/mips/t-softfp-tf: Likewise.
7764         * config/mips/t-tpbit: Delete.
7766 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7768         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
7769         as long long.
7771 2014-01-25  Walter Lee  <walt@tilera.com>
7773         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
7774         config.h or system.h.
7775         (bool) Define.
7777 2014-01-25  Walter Lee  <walt@tilera.com>
7779         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
7780         (post_atomic_barrier): Ditto.
7781         (__fetch_and_do): New macro.
7782         (__atomic_fetch_and_do): Use __fetch_and_do.
7783         (__sync_fetch_and_do): New macro.
7784         (__sync_fetch_and_add_4): New function.
7785         (__sync_fetch_and_sub_4): New function.
7786         (__sync_fetch_and_or_4): New function.
7787         (__sync_fetch_and_and_4): New function.
7788         (__sync_fetch_and_xor_4): New function.
7789         (__sync_fetch_and_nand_4): New function.
7790         (__sync_fetch_and_add_8): New function.
7791         (__sync_fetch_and_sub_8): New function.
7792         (__sync_fetch_and_or_8): New function.
7793         (__sync_fetch_and_and_8): New function.
7794         (__sync_fetch_and_xor_8): New function.
7795         (__sync_fetch_and_nand_8): New function.
7796         (__do_and_fetch): New macro.
7797         (__atomic_do_and_fetch): Use __do_and_fetch.
7798         (__sync_do_and_fetch): New macro.
7799         (__sync_add_and_fetch_4): New function.
7800         (__sync_sub_and_fetch_4): New function.
7801         (__sync_or_and_fetch_4): New function.
7802         (__sync_and_and_fetch_4): New function.
7803         (__sync_xor_and_fetch_4): New function.
7804         (__sync_nand_and_fetch_4): New function.
7805         (__sync_add_and_fetch_8): New function.
7806         (__sync_sub_and_fetch_8): New function.
7807         (__sync_or_and_fetch_8): New function.
7808         (__sync_and_and_fetch_8): New function.
7809         (__sync_xor_and_fetch_8): New function.
7810         (__sync_nand_and_fetch_8): New function.
7811         (__sync_exchange_methods): New macro.
7812         (__sync_val_compare_and_swap_4): New function.
7813         (__sync_bool_compare_and_swap_4): New function.
7814         (__sync_lock_test_and_test_4): New function.
7815         (__sync_val_compare_and_swap_8): New function.
7816         (__sync_bool_compare_and_swap_8): New function.
7817         (__sync_lock_test_and_test_8): New function.
7818         (__subword_cmpxchg_body): New macro.
7819         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
7820         (__atomic_compare_exchange_2): Ditto.
7821         (__sync_subword_cmpxchg): New macro.
7822         (__sync_val_compare_and_swap_1): New function.
7823         (__sync_bool_compare_and_swap_1): New function.
7824         (__sync_val_compare_and_swap_2): New function.
7825         (__sync_bool_compare_and_swap_2): New function.
7826         (__atomic_subword): Rename to ...
7827         (__subword): ... New name.
7828         (__atomic_subword_fetch): Use __subword.
7829         (__sync_subword_fetch): New macro.
7830         (__sync_fetch_and_add_1): New function.
7831         (__sync_fetch_and_sub_1): New function.
7832         (__sync_fetch_and_or_1): New function.
7833         (__sync_fetch_and_and_1): New function.
7834         (__sync_fetch_and_xor_1): New function.
7835         (__sync_fetch_and_nand_1): New function.
7836         (__sync_fetch_and_add_2): New function.
7837         (__sync_fetch_and_sub_2): New function.
7838         (__sync_fetch_and_or_2): New function.
7839         (__sync_fetch_and_and_2): New function.
7840         (__sync_fetch_and_xor_2): New function.
7841         (__sync_fetch_and_nand_2): New function.
7842         (__sync_add_and_fetch_1): New function.
7843         (__sync_sub_and_fetch_1): New function.
7844         (__sync_or_and_fetch_1): New function.
7845         (__sync_and_and_fetch_1): New function.
7846         (__sync_xor_and_fetch_1): New function.
7847         (__sync_nand_and_fetch_1): New function.
7848         (__sync_add_and_fetch_2): New function.
7849         (__sync_sub_and_fetch_2): New function.
7850         (__sync_or_and_fetch_2): New function.
7851         (__sync_and_and_fetch_2): New function.
7852         (__sync_xor_and_fetch_2): New function.
7853         (__sync_nand_and_fetch_2): New function.
7854         (__atomic_subword_lock): Use __subword.
7855         (__sync_subword_lock): New macro.
7856         (__sync_lock_test_and_set_1): New function.
7857         (__sync_lock_test_and_set_2): New function.
7859 2014-01-25  Walter Lee  <walt@tilera.com>
7861         * config/tilepro/atomic.c (BIT_OFFSET): Define.
7862         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
7863         (__atomic_subword): Ditto.
7865 2014-01-25  Walter Lee  <walt@tilera.com>
7867         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
7868         a prefix op argument.
7869         (__atomic_nand_fetch_4): Add prefix op.
7870         (__atomic_nand_fetch_8): Ditto.
7872 2014-01-21  Baruch Siach  <barch@tkos.co.il>
7874         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
7876 2014-01-09  Rong Xu  <xur@google.com>
7878         * libgcov-driver.c (this_prg): make it local to save
7879         bss space.
7880         (gcov_exit_compute_summary): Ditto.
7881         (gcov_exit_merge_gcda): Ditto.
7882         (gcov_exit_merge_summary): Ditto.
7883         (gcov_exit_dump_gcov): Ditto.
7885 2014-01-08  Rong Xu  <xur@google.com>
7887         * libgcov-driver.c: Use libgcov.h.
7888         (buffer_fn_data): Use xmalloc instead of malloc.
7889         (gcov_exit_merge_gcda): Ditto.
7890         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
7891         * libgcov.h: New common header files for libgcov-*.h.
7892         * libgcov-interface.c: Use libgcov.h
7893         * libgcov-merge.c: Ditto.
7894         * libgcov-profiler.c: Ditto.
7895         * Makefile.in: Add dependence to libgcov.h
7897 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
7899         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
7900         case of small numerator and finite nonzero result.
7902 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
7904         Update copyright years
7906 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
7908         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
7909         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
7910         config/arc/dp-hack.h, config/arc/fp-hack.h,
7911         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
7912         config/arc/ieee-754/arc600-dsp/divdf3.S,
7913         config/arc/ieee-754/arc600-dsp/divsf3.S,
7914         config/arc/ieee-754/arc600-dsp/muldf3.S,
7915         config/arc/ieee-754/arc600-dsp/mulsf3.S,
7916         config/arc/ieee-754/arc600-mul64/divdf3.S,
7917         config/arc/ieee-754/arc600-mul64/divsf3.S,
7918         config/arc/ieee-754/arc600-mul64/muldf3.S,
7919         config/arc/ieee-754/arc600-mul64/mulsf3.S,
7920         config/arc/ieee-754/arc600/divsf3.S,
7921         config/arc/ieee-754/arc600/mulsf3.S,
7922         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
7923         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
7924         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
7925         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
7926         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
7927         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
7928         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
7929         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
7930         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
7931         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
7932         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
7933         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
7934         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
7935         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
7936         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
7937         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
7938         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
7939         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
7940         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
7941         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
7942         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
7943         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
7944         vtv_start_preinit.c: Use the standard form for the copyright notice.
7946 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
7947             Chung-Lin Tang  <cltang@codesourcery.com>
7948         Based on patches from Altera Corporation
7950         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
7951         * config/nios2/lib2-nios2.h: New file.
7952         * config/nios2/lib2-divmod-hi.c: New file.
7953         * config/nios2/linux-unwind.h: New file.
7954         * config/nios2/lib2-divmod.c: New file.
7955         * config/nios2/linux-atomic.c: New file.
7956         * config/nios2/t-nios2: New file.
7957         * config/nios2/crti.asm: New file.
7958         * config/nios2/t-linux: New file.
7959         * config/nios2/lib2-divtable.c: New file.
7960         * config/nios2/lib2-mul.c: New file.
7961         * config/nios2/tramp.c: New file.
7962         * config/nios2/crtn.asm: New file.
7964 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
7966         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
7967         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
7968         from cpuid.h to check vendor signatures.
7970 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
7972         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
7973         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
7974         (get_amd_cpu): Likewise.
7976 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
7978         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
7979         Haswell.
7981 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
7982             H.J. Lu  <hongjiu.lu@intel.com>
7984         PR target/59422
7985         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
7986         and AMD_JAGUAR.
7987         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
7988         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
7989         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
7990         FEATURE_XOP and FEATURE_FMA.
7991         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
7992         AMDFAM15H_BDVER3.
7993         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
7994         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
7995         FEATURE_FMA4 and FEATURE_XOP.
7997 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
7999         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
8000         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
8001         (get_intel_cpu): Updated.
8003 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
8005         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
8007 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
8009         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8010         instructions when __SSE_MATH__ is defined.
8012 2013-12-06  Ralf CorsĂ©pius  <ralf.corsepius@rtems.org>
8014         * config.host (microblaze-*-rtems*): New.
8016 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
8018         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
8019         architectures that do not have hardware divide instruction.
8020         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
8022 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
8024         * longlong.h: Delete (moved to include/).
8026 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8028         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
8029         of normal number and qNaN to not raise an inexact exception.
8031 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
8033         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
8035 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
8037         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
8038         for correct opcodes on BE.
8040 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
8042         * soft-fp/op-4.h: Update from glibc.
8044 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
8046         * libgcc2.c (__udivmoddi4): Define new implementation when
8047         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
8048         divide instructions.
8050 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
8052         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
8054 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8056         * config/t-softfp (soft-fp-objects-base): New variable.
8057         (soft-fp-objects): Use it.
8059 2013-11-23  David Edelson  <dje.gcc@gmail.com>
8060             Andrew Dixie  <andrewd@gentrack.com>
8062         PR target/33704
8063         * config/rs6000/aixinitfini.c: New file.
8064         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
8065         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
8066         symbols.
8068 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
8070         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
8072 2013-11-18  Jan Hubicka  <jh@suse.cz>
8074         * libgcov-driver.c (run_accounted): Make global level static.
8075         (gcov_exit_merge_summary): Silence warning; do not clear
8076         run_accounted here.
8077         (gcov_exit): Clear it here.
8079         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
8080         run_accounted.
8082         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
8083         (all_prg, crc32): Remove static vars.
8084         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
8085         all_prg.
8086         (gcov_exit_merge_gcda): Add crc32 parameter.
8087         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
8088         do not account run if it was already accounted.
8089         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
8090         (gcov_exit): Initialize all_prg; update.
8092 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
8094         * configure: Regenerate.
8096 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8097             Alan Modra  <amodra@gmail.com>
8099         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
8100         (frob_update_context): Use it.
8102 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8103             Alan Modra  <amodra@gmail.com>
8105         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
8106         (trampoline_initial): Provide ELFv2 variant.
8107         (__trampoline_setup): Likewise.
8109         * config/rs6000/linux-unwind.h (frob_update_context): Do not
8110         check for AIX indirect function call sequence if _CALL_ELF == 2.
8112 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8113             Alan Modra  <amodra@gmail.com>
8115         * config/rs6000/linux-unwind.h (get_regs): Do not support
8116         old kernel versions if _CALL_ELF == 2.
8117         (frob_update_context): Do not support PLT stub variants only
8118         generated by old linkers if _CALL_ELF == 2.
8120 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8121             Alan Modra  <amodra@gmail.com>
8123         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
8124         location of CR save area for 64-bit little-endian systems.
8126 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
8128         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
8129         in tmake_file.
8130         * config/arm/t-vxworks: Delete.
8132 2013-11-10  Kai Tietz  <ktietz@redhat.com>
8134         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
8135         Increment load-count on use of LIBGCC_SONAME DLL.
8136         (hmod_libgcc): New static variable to hold handle of
8137         LIBGCC_SONAME DLL.
8138         (__gcc_deregister_frame): Decrement load-count of
8139         LIBGCC_SONAME DLL.
8141 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
8143         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
8144         availability.
8145         * configure: Regenerate
8147 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
8149         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
8150         FP_EX_DENORM.  Store result to volatile location after SSE division
8151         to close interrupt window.  Remove unneeded fwait after x87
8152         division since interrupt window will be closed by emitted fstp.
8153         Rewrite FP_EX_INEXACT handling.
8155 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
8157         * soft-fp/README: Update.
8158         * soft-fp/adddf3.c: Update from glibc.
8159         * soft-fp/addsf3.c: Likewise.
8160         * soft-fp/addtf3.c: Likewise.
8161         * soft-fp/divdf3.c: Likewise.
8162         * soft-fp/divsf3.c: Likewise.
8163         * soft-fp/divtf3.c: Likewise.
8164         * soft-fp/double.h: Likewise.
8165         * soft-fp/eqdf2.c: Likewise.
8166         * soft-fp/eqsf2.c: Likewise.
8167         * soft-fp/eqtf2.c: Likewise.
8168         * soft-fp/extenddftf2.c: Likewise.
8169         * soft-fp/extended.h: Likewise.
8170         * soft-fp/extendsfdf2.c: Likewise.
8171         * soft-fp/extendsftf2.c: Likewise.
8172         * soft-fp/extendxftf2.c: Likewise.
8173         * soft-fp/fixdfdi.c: Likewise.
8174         * soft-fp/fixdfsi.c: Likewise.
8175         * soft-fp/fixdfti.c: Likewise.
8176         * soft-fp/fixsfdi.c: Likewise.
8177         * soft-fp/fixsfsi.c: Likewise.
8178         * soft-fp/fixsfti.c: Likewise.
8179         * soft-fp/fixtfdi.c: Likewise.
8180         * soft-fp/fixtfsi.c: Likewise.
8181         * soft-fp/fixtfti.c: Likewise.
8182         * soft-fp/fixunsdfdi.c: Likewise.
8183         * soft-fp/fixunsdfsi.c: Likewise.
8184         * soft-fp/fixunsdfti.c: Likewise.
8185         * soft-fp/fixunssfdi.c: Likewise.
8186         * soft-fp/fixunssfsi.c: Likewise.
8187         * soft-fp/fixunssfti.c: Likewise.
8188         * soft-fp/fixunstfdi.c: Likewise.
8189         * soft-fp/fixunstfsi.c: Likewise.
8190         * soft-fp/fixunstfti.c: Likewise.
8191         * soft-fp/floatdidf.c: Likewise.
8192         * soft-fp/floatdisf.c: Likewise.
8193         * soft-fp/floatditf.c: Likewise.
8194         * soft-fp/floatsidf.c: Likewise.
8195         * soft-fp/floatsisf.c: Likewise.
8196         * soft-fp/floatsitf.c: Likewise.
8197         * soft-fp/floattidf.c: Likewise.
8198         * soft-fp/floattisf.c: Likewise.
8199         * soft-fp/floattitf.c: Likewise.
8200         * soft-fp/floatundidf.c: Likewise.
8201         * soft-fp/floatundisf.c: Likewise.
8202         * soft-fp/floatunditf.c: Likewise.
8203         * soft-fp/floatunsidf.c: Likewise.
8204         * soft-fp/floatunsisf.c: Likewise.
8205         * soft-fp/floatunsitf.c: Likewise.
8206         * soft-fp/floatuntidf.c: Likewise.
8207         * soft-fp/floatuntisf.c: Likewise.
8208         * soft-fp/floatuntitf.c: Likewise.
8209         * soft-fp/gedf2.c: Likewise.
8210         * soft-fp/gesf2.c: Likewise.
8211         * soft-fp/getf2.c: Likewise.
8212         * soft-fp/ledf2.c: Likewise.
8213         * soft-fp/lesf2.c: Likewise.
8214         * soft-fp/letf2.c: Likewise.
8215         * soft-fp/muldf3.c: Likewise.
8216         * soft-fp/mulsf3.c: Likewise.
8217         * soft-fp/multf3.c: Likewise.
8218         * soft-fp/negdf2.c: Likewise.
8219         * soft-fp/negsf2.c: Likewise.
8220         * soft-fp/negtf2.c: Likewise.
8221         * soft-fp/op-1.h: Likewise.
8222         * soft-fp/op-2.h: Likewise.
8223         * soft-fp/op-4.h: Likewise.
8224         * soft-fp/op-8.h: Likewise.
8225         * soft-fp/op-common.h: Likewise.
8226         * soft-fp/quad.h: Likewise.
8227         * soft-fp/single.h: Likewise.
8228         * soft-fp/soft-fp.h: Likewise.
8229         * soft-fp/subdf3.c: Likewise.
8230         * soft-fp/subsf3.c: Likewise.
8231         * soft-fp/subtf3.c: Likewise.
8232         * soft-fp/truncdfsf2.c: Likewise.
8233         * soft-fp/trunctfdf2.c: Likewise.
8234         * soft-fp/trunctfsf2.c: Likewise.
8235         * soft-fp/trunctfxf2.c: Likewise.
8236         * soft-fp/unorddf2.c: Likewise.
8237         * soft-fp/unordsf2.c: Likewise.
8238         * soft-fp/unordtf2.c: Likewise.
8240 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
8242         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
8243         (_FP_MUL_MEAT_D): Ditto.
8244         (_FP_DIV_MEAT_S): Ditto.
8245         (_FP_DIV_MEAT_D): Ditto.
8246         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
8247         t-softfp-sfdf and t-softfp to tmake_file.
8249 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
8251         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
8252         * config/i386/crtprec.c: Ditto.
8254 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
8255             Shiva Chen  <shiva0217@gmail.com>
8257         * config.host (nds32*-elf*): Add nds32 target.
8258         * config/nds32 : New directory and files.
8260 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
8262         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
8263         * config.host (cpu_type) <Setting default>: Add entry for
8264         crisv32-*-*.
8265         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
8266         <crisv32-*-linux*>: Adjust.
8267         * longlong.h: Wrap the whole CRIS section in a single
8268         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
8269         and sub_ddmmss.
8270         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
8271         defined.
8272         [__CRIS__] (__umulsidi3): Define.
8273         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
8274         * config/cris/sfp-machine.h: New file.
8275         * config/cris/umulsidi3.S: New file.
8276         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
8277         * config/cris/arit.c (SIGNMULT): New macro.
8278         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
8279         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
8280         saving 3 out of originally 33 cycles from the fastest
8281         path, 3 out of 54 from the medium path and one from the longest
8282         path.  Improve comments.
8284 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
8286         * sync.c: Remove static aliases and define each function directly
8287         under its real name.
8289 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
8291         * config.host (hppa*64*-*-linux*): Define extra_parts.
8292         (hppa*-*-linux*): Likewise.
8294 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
8296         * config/arc/crtgend.S: Add 2013 to Copyright years.
8297         * config/arc/gmon/atomic.h: Likewise.
8298         * config/arc/gmon/auxreg.h: Likewise.
8299         * config/arc/gmon/sys/gmon_out.h: Likewise.
8300         * config/arc/gmon/sys/gmon.h: Likewise.
8301         * config/arc/gmon/prof-freq.c: Likewise.
8302         * config/arc/gmon/mcount.c: Likewise.
8303         * config/arc/gmon/prof-freq-stub.S: Likewise.
8304         * config/arc/gmon/gmon.c: Likewise.
8305         * config/arc/gmon/machine-gmon.h: Likewise.
8306         * config/arc/gmon/profil.S: Likewise.
8307         * config/arc/gmon/dcache_linesz.S: Likewise.
8308         * config/arc/crtg.S: Likewise.
8309         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
8310         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
8311         * config/arc/ieee-754/adddf3.S: Likewise.
8312         * config/arc/ieee-754/truncdfsf2.S: Likewise.
8313         * config/arc/ieee-754/fixsfsi.S: Likewise.
8314         * config/arc/ieee-754/gtsf2.S: Likewise.
8315         * config/arc/ieee-754/floatsisf.S: Likewise.
8316         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
8317         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
8318         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
8319         * config/arc/ieee-754/fixdfsi.S: Likewise.
8320         * config/arc/ieee-754/addsf3.S: Likewise.
8321         * config/arc/ieee-754/gesf2.S: Likewise.
8322         * config/arc/ieee-754/floatsidf.S: Likewise.
8323         * config/arc/ieee-754/extendsfdf2.S: Likewise.
8324         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
8325         * config/arc/ieee-754/gtdf2.S: Likewise.
8326         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
8327         * config/arc/ieee-754/uneqdf2.S: Likewise.
8328         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
8329         * config/arc/ieee-754/uneqsf2.S: Likewise.
8330         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
8331         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
8332         * config/arc/ieee-754/eqdf2.S: Likewise.
8333         * config/arc/ieee-754/ordsf2.S: Likewise.
8334         * config/arc/ieee-754/divsf3.S: Likewise.
8335         * config/arc/ieee-754/divdf3.S: Likewise.
8336         * config/arc/ieee-754/floatunsidf.S: Likewise.
8337         * config/arc/ieee-754/orddf2.S: Likewise.
8338         * config/arc/ieee-754/eqsf2.S: Likewise.
8339         * config/arc/ieee-754/gedf2.S: Likewise.
8340         * config/arc/crtn.S: Likewise.
8341         * config/arc/crti.S: Likewise.
8342         * config/arc/t-arc700-uClibc: Likewise.
8343         * config/arc/asm.h: Likewise.
8344         * config/arc/libgcc-excl.ver: Likewise.
8345         * config/arc/t-arc-newlib: Likewise.
8346         * config/arc/divtab-arc700.c: Likewise.
8347         * config/arc/initfini.c: Likewise.
8348         * config/arc/fp-hack.h: Likewise.
8350 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
8351             Diego Novillo  <dnovillo@google.com>
8353         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
8354         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
8355         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
8356         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
8358 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
8359             Brendan Kehoe  <brendan@zen.org>
8360             Simon Cook  <simon.cook@embecosm.com>
8362         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
8363         * config/arc: New directory.
8364         * longlong.h [__arc__] (umul_ppmm): Remove.
8365         [__arc__] (__umulsidi3): Define.
8366         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
8367         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
8369 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
8371         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
8372         CreateSemaphoreA.
8373         * config/i386/gthr-win32.h: Likewise.
8375 2013-09-16  DJ Delorie  <dj@redhat.com>
8377         * config/rl78/vregs.h: Add G10 register definitions.
8378         * config/rl78/lib2mul.c: Enable for RL78/G10.
8379         * config/rl78/lib2div.c: Likewise.
8380         * config/rl78/lshrsi3.S: Use vregs.h.
8381         * config/rl78/cmpsi2.S: Likewise.
8382         * config/rl78/trampoline.S: Likewise.
8383         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
8385 2013-09-14  DJ Delorie  <dj@redhat.com>
8386             Nick Clifton  <nickc@redhat.com>
8388         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
8389         * config/rl78/vregs.h: New.
8390         * config/rl78/signbit.S: New file.  Implements signbit function.
8391         * config/rl78/divmodsi.S: New.
8392         * config/rl78/divmodhi.S: New.
8393         * config/rl78/divmodqi.S: New.
8394         * config/rl78/t-rl78: Build them here...
8395         * config/rl78/lib2div.c: ...but not here.
8397 2013-09-12  DJ Delorie  <dj@redhat.com>
8399         * config.host (msp*-*-elf): New.
8400         * config/msp430/: New port.
8402 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
8404         PR gcov-profile/58127
8405         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
8406         __thread var for emulated TLS.
8407         (__gcov_indirect_call_counters): Likewise.
8409 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
8410             Catherine Moore  <clm@codesourcery.com>
8411             Richard Sandiford  <rdsandiford@googlemail.com>
8413         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
8414         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
8415         (CALL_STUB_NO_RET): Likewise.
8416         (CALL_STUB_RET): Likewise.
8417         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
8418         __mips16_ret call/return stub symbols.
8419         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
8420         to tmake_file.
8422 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
8424         * config.host <mips*-*-linux*>: Remove a stray comment.
8426 2013-08-10  Jan Hubicka  <jh@suse.cz>
8428         Work around binutils PR14342
8429         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
8430         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
8431         (L_gcov_indirect_call_profiler_v2): New.
8433 2013-08-06  Jan Hubicka  <jh@suse.cz>
8435         * libgcov.c (__gcov_indirect_call_callee,
8436         __gcov_indirect_call_counters): New global vars.
8437         (__gcov_indirect_call_profiler): replace by ...
8438         (__gcov_indirect_call_profiler_v2) ... this one.
8440 2013-08-06  Caroline Tice  <cmtice@google.com>
8442         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
8443         vtv_start_preinit.o and vtv_end_preinit.o.
8444         * configure.ac: Add code to check/set enable_vtable_verify.
8445         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
8446         true.
8447         * vtv_start_preinit.c: New file.
8448         * vtv_end_preinit.c: New file.
8449         * vtv_start.c: New file.
8450         * vtv_end.c: New file.
8451         * configure: Regenerated.
8453 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
8455         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
8456         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
8457         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
8458         GPL-3.0-with-GCC-exception.
8460 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
8462         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
8463         ISA and up.
8465 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8467         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
8468         mapping for FPRs when creating the fallback framestate.
8470 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
8472         PR target/57516
8473         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
8474         (__round_s2_const, __round_u2_const)
8475         (__round_s4_const, __round_u4_const, __round_x8):
8476         Saturate result if addition result cannot be represented.
8478 2013-07-15  Matthias Klose  <doko@ubuntu.com>
8480         * libgcc2.c: Don't include <limits.h>.
8482 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
8484         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
8486 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
8488         PR target/29776
8489         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
8491 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
8493         PR middle-end/36041
8494         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
8495         Define.
8496         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
8497         instead of table lookups.
8498         (__popcountDI2): Likewise.
8500 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
8502         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
8503         correctly.
8505 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
8507         PR other/53317
8508         * soft-fp/adddf3.c: Update from glibc.
8509         * soft-fp/addsf3.c: Likewise.
8510         * soft-fp/addtf3.c: Likewise.
8511         * soft-fp/divdf3.c: Likewise.
8512         * soft-fp/divsf3.c: Likewise.
8513         * soft-fp/divtf3.c: Likewise.
8514         * soft-fp/double.h: Likewise.
8515         * soft-fp/eqdf2.c: Likewise.
8516         * soft-fp/eqsf2.c: Likewise.
8517         * soft-fp/eqtf2.c: Likewise.
8518         * soft-fp/extenddftf2.c: Likewise.
8519         * soft-fp/extended.h: Likewise.
8520         * soft-fp/extendsfdf2.c: Likewise.
8521         * soft-fp/extendsftf2.c: Likewise.
8522         * soft-fp/fixdfdi.c: Likewise.
8523         * soft-fp/fixdfsi.c: Likewise.
8524         * soft-fp/fixsfdi.c: Likewise.
8525         * soft-fp/fixsfsi.c: Likewise.
8526         * soft-fp/fixtfdi.c: Likewise.
8527         * soft-fp/fixtfsi.c: Likewise.
8528         * soft-fp/fixunsdfdi.c: Likewise.
8529         * soft-fp/fixunsdfsi.c: Likewise.
8530         * soft-fp/fixunssfdi.c: Likewise.
8531         * soft-fp/fixunssfsi.c: Likewise.
8532         * soft-fp/fixunstfdi.c: Likewise.
8533         * soft-fp/fixunstfsi.c: Likewise.
8534         * soft-fp/floatdidf.c: Likewise.
8535         * soft-fp/floatdisf.c: Likewise.
8536         * soft-fp/floatditf.c: Likewise.
8537         * soft-fp/floatsidf.c: Likewise.
8538         * soft-fp/floatsisf.c: Likewise.
8539         * soft-fp/floatsitf.c: Likewise.
8540         * soft-fp/floatundidf.c: Likewise.
8541         * soft-fp/floatundisf.c: Likewise.
8542         * soft-fp/floatunditf.c: Likewise.
8543         * soft-fp/floatunsidf.c: Likewise.
8544         * soft-fp/floatunsisf.c: Likewise.
8545         * soft-fp/floatunsitf.c: Likewise.
8546         * soft-fp/gedf2.c: Likewise.
8547         * soft-fp/gesf2.c: Likewise.
8548         * soft-fp/getf2.c: Likewise.
8549         * soft-fp/ledf2.c: Likewise.
8550         * soft-fp/lesf2.c: Likewise.
8551         * soft-fp/letf2.c: Likewise.
8552         * soft-fp/muldf3.c: Likewise.
8553         * soft-fp/mulsf3.c: Likewise.
8554         * soft-fp/multf3.c: Likewise.
8555         * soft-fp/negdf2.c: Likewise.
8556         * soft-fp/negsf2.c: Likewise.
8557         * soft-fp/negtf2.c: Likewise.
8558         * soft-fp/op-1.h: Likewise.
8559         * soft-fp/op-2.h: Likewise.
8560         * soft-fp/op-4.h: Likewise.
8561         * soft-fp/op-8.h: Likewise.
8562         * soft-fp/op-common.h: Likewise.
8563         * soft-fp/quad.h: Likewise.
8564         * soft-fp/single.h: Likewise.
8565         * soft-fp/soft-fp.h: Likewise.
8566         * soft-fp/subdf3.c: Likewise.
8567         * soft-fp/subsf3.c: Likewise.
8568         * soft-fp/subtf3.c: Likewise.
8569         * soft-fp/truncdfsf2.c: Likewise.
8570         * soft-fp/trunctfdf2.c: Likewise.
8571         * soft-fp/trunctfsf2.c: Likewise.
8572         * soft-fp/unorddf2.c: Likewise.
8573         * soft-fp/unordsf2.c: Likewise.
8574         * soft-fp/unordtf2.c: Likewise.
8575         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
8576         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8577         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8578         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8579         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8580         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8581         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8582         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8583         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8584         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
8585         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
8586         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8588 2013-06-16  JĂĽrgen Urban  <JuergenUrban@gmx.de>
8590         * config/mips/lib2funcs.c: New file.
8591         * config/mips/t-mips (LIB2ADD_ST): Add it.
8593 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
8595         PR target/6526
8596         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
8597         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
8599 2013-06-08  Walter Lee  <walt@tilera.com>
8601         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
8602         Replace int64_t with long long.  Add __extension__ where
8603         appropriate.
8604         * config/tilepro/atomic.c: Include config.h.
8606 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
8608         * config.host (arm-wrs-vxworks): Configure with other soft float.
8610 2013-06-04  JĂĽrgen Urban  <JuergenUrban@gmx.de>
8612         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
8613         (mips64r5900el-*-elf*): New configurations.
8615 2013-06-04  Alan Modra  <amodra@gmail.com>
8617         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
8619 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
8621         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
8623 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
8625         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
8626         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
8627         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
8629 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
8631         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
8632         (powerpc-wrs-vxworks): Likewise.
8634 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
8636         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
8637         signal frames as well.
8638         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
8639         STACK_BIAS to the CFA offset.
8641 2013-05-17  Richard Henderson  <rth@redhat.com>
8643         PR target/49146
8644         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
8645         (execute_cfa_program): Use it when storing to fs->regs.
8647 2013-05-08  Kai Tietz  <ktietz@redhat.com>
8649         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
8650         (__deregister_frame_info): Likewise.
8652 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
8654         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
8655         NaN's payload.
8657         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
8659 2013-04-25  Alan Modra  <amodra@gmail.com>
8661         * config.host: Match little-endian powerpc-linux.
8663 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
8665         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
8666         as 'unsigned long long' instead of 'unsigned long'.
8667         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
8668         'signed long'.
8670 2013-04-10  Julian Brown  <julian@codesourcery.com>
8672         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
8673         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
8674         unsigned char/unsigned short.
8675         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
8677 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8679         PR other/55274
8680         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
8682 2013-04-04  Meador Inge  <meadori@codesourcery.com>
8684         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
8685         computing the location of the link register.
8686         (aeabi_uldivmod): Ditto.
8688 2013-03-27  Kai Tietz  <ktietz@redhat.com>
8690         * config.host: Add support for cygwin x64 target.
8691         * configure: Regenerated.
8693 2013-03-26  Walter Lee  <walt@tilera.com>
8695         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
8696         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
8698 2013-03-25  Kai Tietz  <ktietz@redhat.com>
8700         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
8702 2013-03-20  Robert Mason  <rbmj@verizon.net>
8704         * config/vxlib-tls.c (__gthread_get_tsd_data,)
8705         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
8706         (__gthread_leave_tsd_dtor_context): Add prototypes.
8707         (tls_delete_hook): Update.
8709 2013-03-20  Catherine Moore  <clm@codesourcery.com>
8710             Joseph Myers  <joseph@codesourcery.com>
8711             Chao-ying Fu  <fu@mips.com>
8713         * config/mips/mips16.S:  Don't build for microMIPS.
8714         * config/mips/linux-unwind.h: Handle microMIPS frame.
8715         * config/mips/crtn.S (fini, init): New labels.
8717 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
8719         PR tree-optimization/53265
8720         * unwind-dw2.c (execute_cfa_program): Avoid
8721         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
8722         on targets with DWARF_FRAME_REGISTERS < 32.
8724 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
8726         PR target/49880
8727         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
8728         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
8730 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
8732         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
8733         sandybridge processors.
8735 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
8737         PR target/56529
8738         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
8739         inclusion list.
8741 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
8743         * config/microblaze/crti.S: Setup stack protection at entry
8745 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
8747         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
8748         (__rotldi3): Shift bytewise if applicable.
8750 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
8752         * config/aarch64/sync-cache.c
8753         (__aarch64_sync_cache_range): Silence warnings.
8755 2013-02-25  Catherine Moore  <clm@codesourcery.com>
8757         Revert:
8758         2013-02-24  Catherine Moore  <clm@codesourcery.com>
8759             Joseph Myers  <joseph@codesourcery.com>
8760             Chao-ying Fu  <fu@mips.com>
8762         * config/mips/mips16.S:  Don't build for microMIPS.
8763         * config/mips/linux-unwind.h: Handle microMIPS frame.
8764         * config/mips/crtn.S (fini, init): New labels.
8766 2013-02-24  Catherine Moore  <clm@codesourcery.com>
8767             Joseph Myers  <joseph@codesourcery.com>
8768             Chao-ying Fu  <fu@mips.com>
8770         * config/mips/mips16.S:  Don't build for microMIPS.
8771         * config/mips/linux-unwind.h: Handle microMIPS frame.
8772         * config/mips/crtn.S (fini, init): New labels.
8774 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
8775         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
8776         as dividend.
8778 2013-02-16  Alan Modra  <amodra@gmail.com>
8780         PR target/55431
8781         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
8782         (ppc_fallback_frame_state): Always set up save locations for fp
8783         and altivec.  Don't bother with non-callee-saved regs, r0-r13
8784         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
8786 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
8788         PR target/54222
8789         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
8790         _ssmulHA, _ssmulSA.
8791         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
8792         _ssmulha3, _usmulusa3, _ssmulsa3.
8793         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
8794         (__muldi3): XCALL __muldi3_6 instead of rcall.
8795         (__umulsidi3, __mulsidi3): New functions.
8796         (do_prologue_saves, do_epilogue_restores): New .macros.
8797         (__divdi3_moddi3): Use them.
8798         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
8799         (__usmulusa3, __ssmulsa3): New functions.
8801 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
8802             Jack Howarth  <howarth@bromo.med.uc.edu>
8803             Patrick Marlier  <patrick.marlier@gmail.com>
8805         PR libitm/55693
8806         * config/darwin-crt-tm.c: Remove dummy functions hack.
8808 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
8810         PR target/54222
8811         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
8812         * config/avr/lib2-object.mk: New iterator to build objects from it.
8813         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
8814         lib2funcs.c.
8815         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
8816         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
8817         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
8818         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
8819         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
8820         * config/avr/lib1funcs-fixed.S: Implement them.
8822 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
8824         Update copyright years.
8826 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
8828         PR target/54601
8829         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
8830         Add crtcxa to extra_parts.
8831         * config/rs6000/exit.h: New file.
8832         * config/rs6000/cxa_atexit.c: New file.
8833         * config/rs6000/cxa_finalize.c: New file.
8834         * config/rs6000/crtcxa.c: New file.
8835         * config/rs6000/t-aix-cxa: New file.
8836         * config/rs6000/libgcc-aix-cxa.ver: New file.
8838 2013-01-31  Nick Clifton  <nickc@redhat.com>
8840         * config/v850/lib1funcs.S: Add support for e3v5 architecture
8841         variant.
8843 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
8845         PR target/54222
8846         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
8847         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
8848         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
8849         _divQQ,  _divHQ,  _divHA,  _divSA,
8850         _divUQQ, _divUHQ, _divUHA, _divUSA.
8852 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
8854         * config.host(microblaze*-linux*): tmake_file: Remove
8855         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
8856         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
8857         to exclude functions from being built with libgcc.c and use
8858         the microblaze assembly.
8860 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
8862         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
8863         extra_parts.
8865 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
8867         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
8868         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
8869         __UINTPTR_TYPE__; also cast 'base' to the same type before the
8870         alignment operation.
8872 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
8874         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
8875         loop start address for cache clearing.
8877 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
8879         * config/avr/lib1funcs.S: Remove trailing blanks.
8880         * config/avr/lib1funcs-fixed.S: Ditto.
8882 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
8884         * config/avr/avr-lib.h: Add GPL copyright notice.
8886 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
8888         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
8889         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
8890         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
8891         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
8893 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
8895         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
8896         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
8898 2013-01-04  Nick Clifton  <nickc@redhat.com>
8900         * config/v850/lib1funcs.S: Only provide CALLT support functions if
8901         the CALLT instruction is supported.
8903 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
8905         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
8906         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
8908 2012-12-13  John Tytgat  <John@bass-software.com>
8910         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
8911         is 25.
8913 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
8915         PR libgcc/55451
8916         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
8917         undefined signed overflows.
8919 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
8921         PR target/55344
8922         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
8924 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
8926         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
8927         (FP_TRAPPING_EXCEPTIONS): Define.
8928         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
8929         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
8931 2012-12-04  Richard Henderson  <rth@redhat.com>
8933         PR bootstrap/55571
8934         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
8936 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8938         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
8939         (FP_EX_SHIFT): Define.
8940         (FP_TRAPPING_EXCEPTIONS): Define.
8942 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8944         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
8945         (FP_ROUNDMODE): Use FP_RND_MASK.
8946         * config/aarch64/sfp-exceptions.c: New.
8947         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8948         Use __sfp_handle_exceptions.
8950 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
8952         * config.host: (arm*-*-freebsd*): Remove.
8953         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
8954         (arm*-*-elf*): Remove.
8955         (arm*-*-wince-pe*): Remove.
8956         * arm/unwind-arm.c (struct fpa_reg): Delete.
8957         (struct fpa_regs): Delete.
8958         (phase1_vrs): Remove fpa element.
8959         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
8960         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
8961         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
8962         * ieee754-sf.S (floatundisf): Remove FPA support.
8963         (floatdisf): Likewise.
8964         * ieee75f-df.S (floatundidf): Likewise.
8965         (floatdidf): Likewise.
8967 2012-11-29  Kai Tietz  <ktietz@redhat.com>
8969         PR target/55445
8970         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
8971         * unwind-generic.h: Likewise.
8972         * unwind-seh.c: Likewise.
8974 2012-11-28  Richard Henderson  <rth@redhat.com>
8976         PR libgcc/48076
8977         * emutls.c (__emutls_get_address): Avoid race condition between
8978         obj->loc.offset read and emutls_key initialization.
8980 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
8982         Adjust decimal point of signed accum mode to GCC default.
8984         PR target/54222
8985         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
8986         _divqq_helper.
8987         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
8988         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
8989         (__mulha3, __mulsa3)
8990         (__divqq3, __divha3, __divsa3): Adjust to new position of
8991         decimal point of signed accum types.
8993         (__mulusa3_round): New function.
8994         (__mulusa3): Use it.
8995         (__divqq_helper): New function.
8996         (__udivuqq3): Use it.
8998 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
9000         PR bootstrap/55370
9001         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
9003 2012-11-18  Teresa Johnson  <tejohnson@google.com>
9005         PR bootstrap/55051
9006         * libgcov.c (gcov_exit): Remove merged program summary
9007         comparison unless !GCOV_LOCKED.
9009 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9011         * soft-fp: Updated from glibc upstream.
9013 2012-11-06  Ian Lance Taylor  <iant@google.com>
9015         * generic-morestack.c (__generic_morestack): Align the returned
9016         stack pointer to a 32 byte boundary.
9017         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
9018         increment the return address until we have decided that we don't
9019         have a varargs function.
9020         (__morestack) [32-bit]: Align stack correctly when calling C
9021         functions.
9022         (__morestack) [64-bit]: Likewise.
9024 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
9026         * configure: Regenerate.
9028 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
9030         PR target/55175
9031         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
9032         * config/i386/sfp-machine.h: Guard exception handling
9033         code with _SOFT_FLOAT.
9034         * config/i386/32/sfp-machine.h: Guard rounding handling
9035         code with _SOFT_FLOAT.
9036         * config/i386/64/sfp-machine.h: Ditto.
9038 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
9040         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
9041         as extra_parts.
9043 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
9045         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
9046         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
9047         when appropriate.  Correct structure element types.
9048         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
9049         -minline-all-stringops from compile flags.
9051 2012-10-25  Ralf CorsĂ©pius  <ralf.corsepius@rtems.org>
9053         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
9055 2012-10-25  Ralf CorsĂ©pius  <ralf.corsepius@rtems.org>
9057         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
9059 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
9061         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
9062         tmake_file.
9064 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
9065             Jim MacArthur  <jim.macarthur@arm.com>
9066             Marcus Shawcroft  <marcus.shawcroft@arm.com>
9067             Nigel Stephens  <nigel.stephens@arm.com>
9068             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
9069             Richard Earnshaw  <rearnsha@arm.com>
9070             Sofiane Naci  <sofiane.naci@arm.com>
9071             Stephen Thomas  <stephen.thomas@arm.com>
9072             Tejas Belagod  <tejas.belagod@arm.com>
9073             Yufeng Zhang  <yufeng.zhang@arm.com>
9075         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
9076         * config/aarch64/crti.S: New file.
9077         * config/aarch64/crtn.S: New file.
9078         * config/aarch64/linux-unwind.h: New file.
9079         * config/aarch64/sfp-machine.h: New file.
9080         * config/aarch64/sync-cache.c: New file.
9081         * config/aarch64/t-aarch64: New file.
9082         * config/aarch64/t-softfp: New file.
9084 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
9086         * config/mmix/crti.S: Mark program and data addresses using PRELD.
9087         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
9088         no-longer-needed LDBU insns.
9090 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
9092         * config.host
9093         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
9094         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
9096 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
9098         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
9100 2012-10-15  Matthias Klose  <doko@ubuntu.com>
9102         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
9104 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
9106         * configure: Regenerate.
9107         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
9109 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
9111         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
9112         instructions for 64bit targets only.
9114 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
9116         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9117         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
9118         * config/i386/32/sfp-machine.h: ... here.
9119         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
9120         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
9121         New defines.
9123 2012-10-07  Matthias Klose  <doko@ubuntu.com>
9125         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
9126         as unused.
9127         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
9129 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
9131         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
9132         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
9133         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
9134         (ElfW): Likewise.
9136 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
9138         PR other/53889
9139         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9140         Fix parameter names.
9142 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
9144         PR target/33135
9145         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
9146         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
9147         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
9149 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
9151         PR target/50457
9152         * config/sh/linux-atomic.S: Delete.
9153         * config/sh/linux-atomic.c: New.
9154         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
9155         linux-atomic.c.  Add cflags to disable warnings.
9157 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
9159         PR other/53889
9160         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
9161         function.
9162         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
9163         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
9164         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
9165         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
9166         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
9167         Likewise.
9168         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9169         Likewise.
9170         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
9171         Likewise.
9172         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
9173         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
9175 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
9177         * config.host (hppa-*-openbsd*): New target.
9178         * config/pa/t-openbsd: New file.
9180 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
9182         PR target/54222
9183         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
9184         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
9185         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
9186         (__divsa3): Use __negsi2 to negate r_quoL.
9187         * config/avr/lib1funcs.S (FALIAS): New macro.
9188         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
9189         (__negsi2): ...this new function.
9190         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
9191         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
9192         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
9193         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
9194         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
9195         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
9197 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
9199         PR target/54089
9200         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
9201         (lshrsi3): Reimplement as lshrsi3_r0.
9203 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
9205         PR target/46191
9206         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
9207         of libgcc.a.
9209 2012-09-07  Teresa Johnson  <tejohnson@google.com>
9211         PR gcov-profile/54487
9212         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9213         differences.
9215 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
9217         PR target/54461
9218         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
9219         not configured --with-avrlibc=no.
9220         * config/avr/t-avrlibc: New file.
9221         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
9222         (DPBIT_FUNCS): Ditto.
9223         (TPBIT_FUNCS): Ditto.
9225 2012-09-04  Teresa Johnson  <tejohnson@google.com>
9227         * libgcov.c (struct gcov_summary_buffer): New structure.
9228         (gcov_histogram_insert): New function.
9229         (gcov_compute_histogram): Ditto.
9230         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
9231         histograms during summary merging.
9233 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
9235         * config.host (x86_64-*-openbsd*): New target.
9237 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
9239         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
9240         attribute.
9242 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
9244         PR target/54222
9245         * config/avr/t-avr (conv_X): Rename to func_X.
9247 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
9249         PR target/54222
9250         * config/avr/lib1funcs-fixed.S: New file.
9251         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
9252         after they are used.
9253         (neg2, neg4): New macros.
9254         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
9255         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
9256         (__umulhisi3): Speed up MUL variant if there is enough flash.
9257         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
9258         avr-modes.def.
9259         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
9260         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
9261         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
9262         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
9263         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
9264         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
9265         (LIB2FUNCS_EXCLUDE): Add supported functions.
9267 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
9269         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
9270         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
9271         libgcc-s-objects.
9272         * fixed-obj.mk: Only expand dependency if $o is not in
9273         LIB2FUNCS_EXCLUDE.
9275 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
9277         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
9279 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
9281         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
9282         depend on --enable-shared.
9283         ($(lib1asmfuncs-o)): Use %.vis files independent of
9284         --enable-shared.
9285         * static-object.mk ($(base)$(objext), $(base).vis)
9286         ($(base)_s$(objext)): Use same rules for visibility handling as in
9287         shared-object.mk.
9289 2012-08-21  Ian Lance Taylor  <iant@google.com>
9291         * config/i386/morestack.S (__morestack_non_split): Increase amount
9292         of space allocated for non-split code stack.
9294 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
9296         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
9297         even if inhibit_libc.
9299 2012-08-17  Julian Brown  <julian@codesourcery.com>
9301         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
9302         -fexceptions -fnon-call-exceptions if not defined.
9303         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
9304         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
9306 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
9308         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
9309         type.
9311 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
9313         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
9314         rs6000/t-slibgcc-aix.
9316 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
9318         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
9320 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
9322         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
9324 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
9326         PR driver/54171
9327         * Makefile.in (version): Replace top_srcdir with srcdir.
9329 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
9331         * Makefile.in (version): set to BASE-VER file from gcc directory.
9333 2012-08-01  Nick Clifton  <nickc@redhat.com>
9335         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
9336         Implements __clrsb for an HImode argument.
9338 2012-07-31  Nick Clifton  <nickc@redhat.com>
9340         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
9341         Implements __clrsb for an HImode argument.
9342         * config/stormy16/clrsbhi2.c: New file:
9343         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
9345 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
9347         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
9349 2012-07-19  Tristan Gingold  <gingold@adacore.com>
9350             Richard Henderson  <rth@redhat.com>
9352         * unwind-seh.c: New file.
9353         * unwind-generic.h: Include windows.h for SEH.
9354         (_Unwind_Exception): Use 6 private fields for SEH.
9355         (_GCC_specific_handler): Declare.
9356         * unwind-c.c (__gcc_personality_seh0): New function.
9357         Adjust for SEH.
9358         * config/i386/libgcc-cygming.ver: New file.
9359         * config/i386/t-seh-eh: New file.
9360         * config.host (x86_64-*-mingw*): Default to seh.
9362 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
9364         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
9366 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
9368         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
9369         __builtin_expect when checking for exceptions.
9370         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
9372 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
9374         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
9375         function declaration.
9376         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9377         (FP_RND_MASK): New.
9378         * config/ia64/sfp-exceptions.c: New.
9379         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
9381 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
9383         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
9384         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
9385         * config/i386/64/sfp-machine: ... (delete here) ...
9386         * config/i386/sfp-machine.h: ... to here.
9387         (FP_EX_MASK): Remove.
9388         (FP_RND_MASK): New.
9389         (FP_INIT_ROUNDMODE): Declare asm as volatile.
9391 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
9393         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
9394         * config/i386/libgcc-sol2.ver: Ditto.
9395         * config/i386/libgcc-glibc.ver: Ditto.
9397 2012-06-11  Roland McGrath  <mcgrathr@google.com>
9399         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
9400         If __GLIBC__ is defined, refer to __pthread_key_create instead of
9401         pthread_cancel.
9403 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
9405         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
9406         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
9407         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
9408         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9409         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
9410         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
9411         * config/i386/64/sfp-machine: ... (delete here) ...
9412         * config/i386/sfp-machine.h: ... to here.
9413         (FP_EX_MASK): New.
9414         (__sfp_handle_exceptions): New function declaration.
9415         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9416         * config/i386/sfp-exceptions.c: New.
9417         * config/i386/t-softfp: New.
9418         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
9419         i386/t-softfp to tmake_file.
9421 2012-06-03  David S. Miller  <davem@davemloft.net>
9423         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
9424         change.
9426 2012-05-31  David S. Miller  <davem@davemloft.net>
9428         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
9429         multiply and divide instructions on 32-bit when V9.
9430         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
9432 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
9434         * config/arm/ieee754-df.S: Fix typos.
9435         * config/arm/ieee754-sf.S: Fix typos.
9436         * config/c6x/libunwind.S: Fix typos.
9437         * config/epiphany/udivsi3-float.c: Fix typos.
9438         * config/microblaze/muldi3_hard.S: Fix typos.
9439         * config/picochip/adddi3.S: Fix typos.
9440         * config/picochip/ashlsi3.S: Fix typos.
9441         * config/picochip/ashrsi3.S: Fix typos.
9442         * config/picochip/clzsi2.S: Fix typos.
9443         * config/picochip/cmpsi2.S: Fix typos.
9444         * config/picochip/divmod15.S: Fix typos.
9445         * config/picochip/divmodhi4.S: Fix typos.
9446         * config/picochip/divmodsi4.S: Fix typos.
9447         * config/picochip/longjmp.S: Fix typos.
9448         * config/picochip/lshrsi3.S: Fix typos.
9449         * config/picochip/parityhi2.S: Fix typos.
9450         * config/picochip/popcounthi2.S: Fix typos.
9451         * config/picochip/setjmp.S: Fix typos.
9452         * config/picochip/subdi3.S: Fix typos.
9453         * config/picochip/ucmpsi2.S: Fix typos.
9454         * config/picochip/udivmodhi4.S: Fix typos.
9455         * config/picochip/udivmodsi4.S: Fix typos.
9456         * config/spu/divv2df3.c: Fix typos.
9457         * config/spu/mfc_multi_tag_release.c: Fix typos.
9458         * config/spu/mfc_tag_release.c: Fix typos.
9459         * configure.ac: Fix typos.
9460         * configure: Regenerate.
9462 2012-05-25  Ian Lance Taylor  <iant@google.com>
9464         * config/i386/morestack.S (__morestack_non_split): Check whether
9465         caller is varargs and needs %bp to hold the stack frame on return.
9467 2012-05-25  Olivier Hainque  <hainque@adacore.com>
9469         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
9470         sequence in the non pic case on VxWorks.
9472 2012-05-24  Olivier Hainque  <hainque@adacore.com>
9474         * Makefile.in: Move dependency on install-unwind_h from
9475         "install-leaf" to "install".
9477 2012-05-24  Olivier Hainque  <hainque@adacore.com>
9479         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
9480         Use a separate command for stamp removals.
9482 2012-05-21  Andrew Pinski  <apinski@cavium.com>
9484         PR bootstrap/53183
9485         * configure.ac: Define the default includes to being none.
9486         * configure: Regenerate.
9488 2012-05-16  Olivier Hainque  <hainque@adacore.com>
9490         * Makefile.in (install-unwind_h): Rename into ...
9491         (install-unwind_h-forbuild): New target.
9492         (all): Use it instead of the former install-unwind_h.
9493         (install-unwind_h): Reinstate, copy to user install destination
9494         for include files, not to the internal gcc object directory one.
9495         (install-leaf): Depend on it.
9497 2012-05-15  Olivier Hainque  <hainque@adacore.com>
9499         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
9500         register numbers. LR_REGNO replaces R_LR.
9501         (ucontext_for): New, helper for ...
9502         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
9503         and 5.3 of ...
9504         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
9506 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9508         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
9509         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
9510         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
9511         i386/t-cpuinfo ...
9512         (i[34567]86-*-*, x86_64-*-*): ... here.
9514         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
9515         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
9517         * config/i386/i386-cpuinfo.c: Rename to ...
9518         * config/i386/cpuinfo.c: ... this.
9519         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
9521         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
9522         (libgcc_cv_init_priority): New test.
9523         * configure: Regenerate.
9524         * config.in: New file.
9525         * Makefile.in (clean): Rename config.h to auto-target.h.
9526         (config.h): Likewise.
9527         (stamp-h): Likewise.
9529         * config/i386/cpuinfo.c (auto-target.h): Include.
9530         (CONSTRUCTOR_PRIORITY): Define.
9531         (__cpu_indicator_init): Use it.
9533 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
9535         * longlong.h: Use a URL instead of an FSF postal address.
9536         Replace spaces with tab.
9538 2012-05-08  Teresa Johnson  <tejohnson@google.com>
9540         * libgcov.c (gcov_clear, __gcov_reset): New functions.
9541         (__gcov_dump): Ditto.
9542         (gcov_dump_complete): New global variable.
9543         (gcov_exit): Export hidden to enable use in L_gcov_dump.
9544         (__gcov_flush): Outline functionality now in gcov_clear.
9545         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
9547 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
9549         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
9550         (mips*-*-linux*): Include mips/t-tpbit when long double is
9551         16 bytes long.
9553 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
9555         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
9556         (get_available_features): New argument. Check for AVX2.
9557         (__cpu_indicator_init): Modify call to get_available_features.
9559 2012-04-25  Alan Modra  <amodra@gmail.com>
9561         * config/rs6000/crtsavevr.S: New file.
9562         * config/rs6000/crtrestvr.S: New file.
9563         * config/rs6000/t-savresfgpr: Build the above.
9564         * config/rs6000/t-netbsd: Likewise.
9566 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
9568         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
9570 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
9572         * libgcc/config/i386/i386-cpuinfo.c: New file.
9573         * libgcc/config/i386/t-cpuinfo: New file.
9574         * libgcc/config.host: Include t-cpuinfo.
9575         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
9577 2012-04-24  Chao-ying Fu  <fu@mips.com>
9579         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
9581 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
9583         struct siginfo vs. siginfo_t
9585         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
9586         siginfo_t instead of struct siginfo.
9587         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
9588         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
9589         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
9590         (ia64_handle_unwabi): Likewise.
9591         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
9592         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
9593         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
9594         (sh_fallback_frame_state): Likewise.
9595         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
9596         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
9598 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
9600         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
9601         system call number.
9603 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
9605         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
9606         if it hasn't been previously saved.
9608 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
9610         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
9611         only for glibc.
9613 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
9615         PR target/52737
9616         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
9617         instead of __AVR_HAVE_8BIT_SP__.
9619 2012-03-26  Tristan Gingold  <gingold@adacore.com>
9621         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
9622         (unw_table_entry): Use unw_word instead of unsigned long.
9623         (_Unwind_FindTableEntry): Likewise.
9624         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
9625         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
9626         (_Unwind_FindTableEntry): Likewise.
9627         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
9628         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
9629         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
9630         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
9631         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
9632         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
9633         (uw_init_context_1, uw_install_context): Likewise.
9634         (unw_word): Move to unwind-ia64.h
9636 2012-03-26  Tristan Gingold  <gingold@adacore.com>
9638         * config/vms/vms-ucrt0.c: Update copyright years.
9639         Add a sanity check.
9640         (___gcc_main_flags): Declare.
9641         (__main): Check flags to remap argv and exit code.
9642         * config.host (*-*-*vms*): Adjust extra_parts.
9643         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
9644         (crt0.o): Add.
9646 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
9648         * arm/lib1funcs.asm (ctzsi2): New function.
9649         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
9650         * arm/t-linux (LIB1ASMFUNCS): Likewise.
9651         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
9652         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
9653         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
9654         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
9656 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
9658         * config.host: Add bits to support powerpc64-*-freebsd*.
9659         * config/rs6000/freebsd-unwind.h: New file.
9660         * config/rs6000/t-freebsd64: New file.
9662 2012-03-20  Richard Guenther  <rguenther@suse.de>
9664         PR gcov-profile/52627
9665         * libgcov.c (init_mx): Fix mutex name.
9667 2012-03-16  Tristan Gingold  <gingold@adacore.com>
9669         * config/ia64/vms-unwind.h: Remove ulong (and replace
9670         it by unw_reg where used).  Define unw_reg with __int64.
9672 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9674         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
9675         Solaris 8 handling.
9676         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
9677         Solaris 8 handling.
9678         (sparc_is_sighandler): Likewise.
9680 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
9682         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
9683         <= saved reg size.
9685 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9687         * config/arm/crtn.S: Fix typo.
9689 2012-03-13  Richard Guenther  <rguenther@suse.de>
9691         * libgcov.c: Remove stdio.h include and NULL un-define.
9693 2012-03-13  Richard Guenther  <rguenther@suse.de>
9695         PR target/52569
9696         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
9698 2012-03-13  Richard Guenther  <rguenther@suse.de>
9700         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
9702 2012-03-13  Richard Guenther  <rguenther@suse.de>
9704         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
9705         and __gthread_mutex_init_function definitions.
9707 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9709         * config.host (mips*-*-openbsd*): Remove.
9711 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9713         * config.host: Remove alpha*-dec-osf5.1* handling.
9714         * config/alpha/gthr-posix.c: Remove.
9715         * config/alpha/libgcc-osf5.ver: Remove.
9716         * config/alpha/osf5-unwind.h: Remove.
9717         * config/alpha/t-osf-pthread: Remove.
9718         * config/alpha/t-slibgcc-osf: Remove.
9719         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
9720         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
9721         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
9722         * mkmap-flat.awk: Remove osf_export handling.
9724 2012-03-12  Richard Guenther  <rguenther@suse.de>
9726         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
9727         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9728         (__gthread_mutex_init_function): New function.
9729         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9731         PR gcov/49484
9732         * libgcov.c: Include gthr.h.
9733         (__gcov_flush_mx): New global variable.
9734         (init_mx, init_mx_once): New functions.
9735         (__gcov_flush): Protect self with a mutex.
9736         (__gcov_fork): Re-initialize mutex after forking.
9737         * unwind-dw2-fde.c: Change condition under which to use
9738         __GTHREAD_MUTEX_INIT_FUNCTION.
9740 2012-03-12  Tristan Gingold  <gingold@adacore.com>
9742         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
9743         * config/ia64/t-vms: Likewise.
9745 2012-03-11  Michael Hope  <michael.hope@linaro.org>
9747         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
9748         for Thumb-2.
9750 2012-03-07  Walter Lee  <walt@tilera.com>
9752         * config/tilepro/atomic.c: Rename "atomic_" prefix to
9753         "arch_atomic_".
9754         (atomic_xor): Rename and move definition to
9755         config/tilepro/atomic.h.
9756         (atomic_nand): Ditto.
9757         * config/tilepro/atomic.h: Rename "atomic_" prefix to
9758         "arch_atomic_".
9759         (arch_atomic_xor): Move from config/tilepro/atomic.c.
9760         (arch_atomic_nand): Ditto.
9762 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
9764         PR target/52507
9765         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
9767 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
9769         PR target/52505
9770         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
9771         from RAM.
9773 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
9775         PR target/52461
9776         PR target/52508
9777         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
9778         if RAMPZ affects reading from RAM.
9779         (__tablejump_elpm__): Ditto.
9780         (.xload): Ditto.
9781         (__movmemx_hi): Ditto.
9782         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
9783         (__do_global_dtors): Ditto.
9784         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
9785         (__movmemx_hi): Ditto.
9787 2012-03-05  Richard Henderson  <rth@redhat.com>
9789         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
9790         [ARM] (count_trailing_zeros): Use the builtin.
9792 2012-03-01  Kai Tietz  <ktietz@redhat.com>
9794         * soft-fp: Imported from glibc upstream.
9796 2012-02-28  Kai Tietz  <ktietz@redhat.com>
9798         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
9799         for mingw-targets as attribute gcc_struct.
9801 2012-02-28  Ian Lance Taylor  <iant@google.com>
9803         * generic-morestack.c (__splitstack_releasecontext): Correct call
9804         to __morestack_release_segments.
9806 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9808         PR target/52390
9809         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
9810         for __linux__ when removing signals from __morestack_fullmask.
9812 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
9814         PR target/52261
9815         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
9817 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9819         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
9820         instead of HAVE_INITFINI_ARRAY.
9821         * config/ia64/crtend.S: Likewise.
9823 2012-02-20  Kai Tietz  <ktietz@redhat.com>
9825         PR libstdc++/52300
9826         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
9828         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
9829         to w32-unwind.h header.
9831 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
9833         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
9834         (mips*-*-linux*): Remove t-slibgcc-libgcc.
9835         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
9836         * config/mips/mips16.S (__mips16_rdhwr): Delete.
9838 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
9840         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
9842 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
9844         PR libitm/52220
9845         * config/darwin-crt-tm.c: Correct typo.
9847 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
9848             Patrick Marlier  <patrick.marlier@gmail.com>
9850         PR libitm/52220
9851         * config/darwin-crt-tm.c: Generate dummy functions.
9853 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
9854             Patrick Marlier  <patrick.marlier@gmail.com>
9856         PR libitm/52042
9857         * config/darwin-crt-tm.c (getTMCloneTable): New function.
9858         (__doTMRegistrations): Call it.
9859         (__doTMdeRegistrations): Likewise.
9861 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
9862             Anatoly Sokolov  <aesok@post.ru>
9863             Eric Weddington  <eric.weddington@atmel.com>
9865         PR target/52261
9866         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
9867         (__epilogue_restores__): Ditto.
9869 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
9871         PR target/51921
9872         PR target/52205
9873         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
9874         Solaris 11 and slightly reformat.
9875         (sparc_is_sighandler): Likewise.
9877 2012-02-14  Walter Lee  <walt@tilera.com>
9879         * config.host: Handle tilegx and tilepro.
9880         * config/tilegx/sfp-machine.h: New file.
9881         * config/tilegx/sfp-machine32.h: New file.
9882         * config/tilegx/sfp-machine64.h: New file.
9883         * config/tilegx/t-crtstuff: New file.
9884         * config/tilegx/t-softfp: New file.
9885         * config/tilegx/t-tilegx: New file.
9886         * config/tilepro/atomic.c: New file.
9887         * config/tilepro/atomic.h: New file.
9888         * config/tilepro/linux-unwind.h: New file.
9889         * config/tilepro/sfp-machine.h: New file.
9890         * config/tilepro/softdivide.c: New file.
9891         * config/tilepro/softmpy.S: New file.
9892         * config/tilepro/t-crtstuff: New file.
9893         * config/tilepro/t-tilepro: New file.
9895 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
9897         PR libstdc++/51296
9898         PR libstdc++/51906
9899         * gthr-posix.h: Allow static initializer macros to be disabled.
9900         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
9902 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
9904         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
9905         Add t-slibgcc-libgcc to tmake_file.
9906         * config/mips/libgcc-mips16.ver: Revert previous patch.
9907         * config/mips/mips16.S (__mips16_rdhwr): Hide.
9909 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
9910             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
9912         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
9913         * config/cr16/crti.S: New file.
9914         * config/cr16/crtlibid.S: New file.
9915         * config/cr16/crtn.S: New file.
9916         * config/cr16/lib1funcs.S: New file.
9917         * config/cr16/t-cr16: New file.
9918         * config/cr16/t-crtlibid: New file.
9919         * config/cr16/unwind-dw2.h: New file.
9920         * config/cr16/unwind-cr16.c: New file.
9921         * config/cr16/divmodhi3.c: New file.
9923 2012-01-25  Alan Modra  <amodra@gmail.com>
9925         * config/rs6000/t-linux64: Delete.  Move..
9926         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
9927         * config/rs6000/t-linux: ..and libgcc flags to here.
9929 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
9931         * config.host (i[34567]86-*-interix3*):
9932         Change triplet to i[34567]86-*-interix[3-9]*.
9933         * configure: Regenerate.
9935 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
9936             Richard Sandiford  <rdsandiford@googlemail.com>
9938         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
9939         * config/mips/mips16.S (__mips16_rdhwr): New function.
9940         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
9942 2012-01-11  Nathan Sidwell  <nathan@acm.org>
9944         * libgcov.c (__gcov_init): Ignore objects with no functions.
9946 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
9948         PR target/49868
9949         Extend __pgmx semantics to linearize memory.
9950         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
9951         * config/avr/lib1funcs.S (__xload_1): New function.
9952         (__movmemx_qi, __movmemx_hi): New functions.
9953         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
9954         semantics.
9956 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
9958         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
9959         purported sigacthandler address isn't null before dereferencing it.
9960         (sparc_is_sighandler): Likewise.
9962 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
9964         PR ada/41929
9965         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
9966         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
9967         (sparc_is_sighandler): Likewise.
9968         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
9970 2012-01-06  Tristan Gingold  <gingold@adacore.com>
9972         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
9973         compatibility thunks...
9974         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
9975         (crtbeginS.o, crtendS.o): ... and these to ...
9976         * config/ia64/t-ia64-elf: ... this new file.
9977         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
9978         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
9980 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9982         * configure: Regenerate.
9983         * config/s390/t-crtstuff: Remove -fPIC.
9985 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
9987         PR bootstrap/51006
9988         * enable-execute-stack-mprotect.c (getpagesize): Do not define
9989         for NetBSD.
9991 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
9993         PR target/51345
9994         * config/avr/lib1funcs.S: Remove FIXME comments.
9995         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
9997 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
9999         Implement light-weight DImode support.
10000         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
10001         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
10002         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
10003         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
10005 2011-12-30  Nathan Sidwell  <nathan@acm.org>
10007         * libgcov.c (gcov_crc32): Remove global var.
10008         (free_fn_data): New function.
10009         (buffer_fn_data): Pass in filename, more robust error recovery.
10010         (crc32_unsigned): New function.
10011         (gcov_exit): More robust detection of new program. More robust
10012         error recovery.
10013         (__gcov_init): Do not update program's crc here.
10015 2011-12-21  Tristan Gingold  <gingold@adacore.com>
10017         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
10019 2011-12-21  Ian Lance Taylor  <iant@google.com>
10021         * config/i386/morestack.S: Simplify CFI opcodes throughout.
10023 2011-12-20  Ian Lance Taylor  <iant@google.com>
10025         * config/i386/morestack.S (__morestack_non_split): If there is
10026         enough stack space already, don't split.  Ask for more stack space
10027         than we required.
10029 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
10031         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
10032         `sys/sdt.h'.
10033         (_Unwind_DebugHook): New function.
10034         (uw_restore_core_regs): New define.
10035         (unwind_phase2): Use uw_restore_core_regs instead of
10036         restore_core_regs.
10037         (unwind_phase2_forced): Likewise.
10038         (__gnu_Unwind_Resume): Likewise.
10040 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
10042         * config/alpha/linux-unwind.h: Update copyright years.
10043         (MD_FROB_UPDATE_CONTEXT): New define.
10044         (alpha_frob_update_context): New function.
10046 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
10048         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
10049         tmake_file rather replacing it.
10051 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
10053         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
10054         function is not used for PPC64.
10055         (save_world): Amend comments.  Update the VRsave mask to reflect the
10056         saved regs.
10057         (rest_world): Update comments, do not  clobber r10, do not use r8.
10058         (eh_rest_world_r10): Amend comments, do not use r8.
10059         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
10060         no longer used, move restore of CR and target address to the end of
10061         the routine.
10063 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
10065         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
10066         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
10068 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
10070         PR target/49313
10071         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
10072         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
10074 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
10076         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
10078 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
10080         PR target/49313
10081         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
10082         * config/avr/lib1funcs.S (__muldi3): New function.
10084 2011-12-06  Andrew Pinski  <apinski@cavium.com>
10086         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
10087         size of func_ptr.
10088         (__frame_dummy_init_array_entry): Likewise.
10090 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
10092         Forward-port from gcc-4_6-branch r181936 2011-12-02.
10094         PR target/51345
10095         PR target/51002
10096         * config/avr/lib1funcs.S (__prologue_saves__,
10097         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
10098         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
10100 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
10102         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
10104 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
10106         PR other/51272
10107         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
10108         (_ITM_deregisterTMCloneTable): Likewise.
10109         (__register_frame_info): Fix unused warning.
10110         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
10111         pthread_default_stacksize_np): Likewise.
10112         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
10114 2011-11-29  DJ Delorie  <dj@redhat.com>
10116         * config.host (rl78-*-elf): New case.
10117         * config/rl78: New directory for the Renesas RL78.
10119 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
10121         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
10122         formatting.
10124 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10126         PR other/51022
10127         * config/rs6000/t-savresfgpr: New file.
10128         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
10129         $(srcdir)/config/rs6000/eabi.S.
10130         * config/rs6000/t-ppccomm-ldbl: Remove.
10131         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
10132         tmake_file.
10133         (powerpc-*-eabispe*): Likewise.
10134         (powerpc-*-eabi*): Likewise.
10135         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10136         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
10137         to tmake_file, remove rs6000/t-ppccomm-ldbl.
10138         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
10139         tmake_file.
10140         (powerpc-*-eabisim*): Likewise.
10141         (powerpc-*-elf*): Likewise.
10142         (powerpc-*-eabialtivec*): Likewise.
10143         (powerpc-xilinx-eabi*): Likewise.
10144         (powerpc-*-rtems*): Likewise.
10145         (powerpcle-*-elf*): Likewise.
10146         (powerpcle-*-eabisim*): Likewise.
10147         (powerpcle-*-eabi*): Likewise.
10149 2011-11-27  Ian Lance Taylor  <iant@google.com>
10151         * generic-morestack.c (__splitstack_find): Check for NULL old
10152         stack value.
10153         (__splitstack_resetcontext): New function.
10154         (__splitstack_releasecontext): New function.
10155         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10157 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
10159         * config/darwin-crt-tm.c: Correct comments, use correct licence.
10161 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
10163         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
10165 2011-11-26  Richard Henderson  <rth@redhat.com>
10167         * config/m68k/linux-atomic.c: New file.
10168         * config/m68k/t-linux: New file.
10169         * config.host (m68k-uclinux, m68k-linux): Use it.
10171 2011-11-26  Richard Henderson  <rth@redhat.com>
10173         * crtstuff.c (__TMC_LIST__): Mark used not unused.
10174         (__TMC_END__): Only declare if hidden is available; in the definition,
10175         if hidden is unavailable add a null record.
10176         (deregister_tm_clones, register_tm_clones): New.
10177         (__do_global_dtors_aux, frame_dummy): Use them.
10178         (__do_global_dtors, __do_global_ctors_1): Likewise.
10180 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
10182         * config/darwin-crt-tm.c: New file.
10183         * config.host (darwin): Build crttms.o crttme.o to provide
10184         startup and shutdown for tm clones.
10185         * config/t-darwin (crttms.o): New build rule.
10186         (crttme.o): Likewise.
10188 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
10190         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
10191         et al.
10193 2011-11-21  Richard Henderson  <rth@redhat.com>
10195         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
10196         (__TMC_LIST__, __TMC_END__): New.
10197         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
10198         (__do_global_dtors): Likewise.
10199         (frame_dummy): Call _ITM_registerTMCloneTable.
10200         (__do_global_ctors_1): Likewise.
10202 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10204         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
10205         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10206         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
10207         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
10208         * config/i386/t-darwin64: Remove.
10209         * config/sh/t-netbsd (LIB2ADD): Remove.
10211 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
10213         PR target/49313
10214         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
10215         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
10216         * config/avr/lib1funcs.S (wmov): New assembler macro.
10217         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
10218         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
10219         (__udivmod64): New function.
10220         (__negdi2): New function.
10222 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
10224         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
10225         *-*-freebsd*aout*): Remove.
10227 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
10229         * static-object.mk (c_flags-$o): Save c_flags.
10230         ($(base)$(objext)): Use it.
10232 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
10234         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
10236 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
10238         PR target/49868
10239         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
10240         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
10241         New functions.
10243 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
10245         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
10246         functions.
10247         (aeabi_uidivmod): Likewise.
10248         (umodsi3): Likewise.
10249         (divsi3): Likewise.
10250         (aeabi_idivmod): Likewise.
10251         (modsi3): Likewise.
10253 2011-11-16  Tristan Gingold  <gingold@adacore.com>
10255         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
10257 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
10259         PR target/49868
10260         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
10261         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
10263 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
10265         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
10266         tmake_file list.
10267         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
10268         * config/pa/t-stublib64: Delete.
10270 2011-11-12  Richard Henderson  <rth@redhat.com>
10272         * config/rs6000/linux-unwind.h (frob_update_context): Properly
10273         cast the pointer argument to _Unwind_SetGRPtr.
10275 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10277         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
10279 2011-11-09  Ian Lance Taylor  <iant@google.com>
10281         * generic-morestack.c: Include <string.h>.
10282         (uintptr_type): Define.
10283         (struct initial_sp): Add dont_block_signals field.  Reduce size of
10284         extra array by 1.
10285         (allocate_segment): Set prev field to NULL.  Don't set
10286         __morestack_current_segment or __morestack_segments.
10287         (__generic_morestack): Update current->prev and *pp after calling
10288         allocate_segment.
10289         (__morestack_block_signals): Don't do anything if
10290         dont_block_signals is set.
10291         (__morestack_unblock_signals): Likewise.
10292         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
10293         uintptr_type.
10294         (__splitstack_block_signals): New function.
10295         (enum __splitstack_content_offsets): Define.
10296         (__splitstack_getcontext, __splitstack_setcontext): New functions.
10297         (__splitstack_makecontext): New function.
10298         (__splitstack_block_signals_context): New function.
10299         (__splitstack_find_context): New function.
10300         * config/i386/morestack.S (__morestack_get_guard): New function.
10301         (__morestack_set_guard, __morestack_make_guard): New functions.
10302         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10304 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10306         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
10307         (i[34567]86-*-mingw*): ... here.
10308         (x86_64-*-mingw*): ... here.
10310 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10312         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
10314 2011-11-07  Nathan Sidwell  <nathan@acm.org>
10316         * libgcov.c (struct gcov_fn_buffer): New struct.
10317         (buffer_fn_data): New helper.
10318         (gcov_exit): Rework for new gcov data structures.
10320 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
10322         PR target/49313
10323         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
10325 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10327         * config.host (tmake_file): Correct comment.
10328         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
10329         t-libgcc-pic.
10330         (bfin*-uclinux*): Likewise.
10331         (bfin*-linux-uclibc*): Likewise.
10332         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
10334         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
10335         assigning.
10336         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10337         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
10338         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10339         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
10340         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10341         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
10342         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
10343         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10344         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
10345         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
10346         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
10347         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
10348         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
10350         * config/bfin/t-elf: Remove.
10351         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
10353 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10355         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
10356         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
10357         (lm32-*-elf*, lm32-*-rtems*): Split into ...
10358         (lm32-*-elf*): ... this.
10359         (lm32-*-rtems*): ... and this.
10360         Add to tmake_file.
10361         (m32r-*-rtems*): Add to tmake_file.
10362         (moxie-*-rtems*): Likewise.
10363         (sparc-*-rtems*): Likewise.
10364         Remove t-rtems from tmake_file.
10365         (sparc64-*-rtems*): Likewise.
10366         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
10367         instead.
10369 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10371         PR bootstrap/50982
10372         * config/gthr-posix.h: Move ...
10373         * gthr-posix.h: ... here.
10374         * config/gthr-lynx.h: Reflect this.
10375         * config/gthr-vxworks.h: Likewise.
10376         * config/rs6000/gthr-aix.h: Likewise.
10377         * configure.ac (target_thread_file): Likewise.
10378         * configure: Regenerate.
10380 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
10382         * config.host (arm*-*-rtemseabi*): New target.
10384 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
10386         PR other/50991
10387         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
10388         extra-parts.
10390 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
10392         * config.host (epiphany-*-elf*): New configuration.
10393         * config/epiphany: New Directory.
10395 2011-11-05  Ralf CorsĂ©pius  <ralf.corsepius@rtems.org>
10397         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
10398         * config/avr/t-rtems: New.
10399         Filter out _exit from LIB1ASMFUNCS.
10401 2011-11-04  David S. Miller  <davem@davemloft.net>
10403         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
10404         * configure: Rebuild.
10406 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10408         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
10409         variable.
10411 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
10413         PR target/50931
10414         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
10415         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
10417 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
10419         PR target/50989
10420         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
10422 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10424         * config/c6x/t-elf (LIB2ADDEH): Set.
10425         * config/c6x/t-c6x-elf: Remove.
10427 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10429         * config/i386/sol2-ci.S: Rename to ...
10430         * config/i386/crti.S: ... this.
10431         * config/i386/sol2-cn.S: Rename to ...
10432         * config/i386/crtn.S: ... this.
10433         * config/sparc/sol2-ci.S: Rename to ...
10434         * config/sparc/crti.S: ... this.
10435         * config/sparc/sol2-cn.S: Rename to ...
10436         * config/sparc/crtn.S: ... this.
10437         * config/t-sol2 (CUSTOM_CRTIN): Remove.
10438         (crti.o, crtn.o): Remove.
10440 2011-11-04  Tristan Gingold  <gingold@adacore.com>
10442         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
10444 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
10446         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
10448 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
10450         * config.host (crisv32-*-none, cris-*-none): Remove.
10451         (crisv32-*-elf): Append to tmake_file, don't just set it.
10452         (cris-*-elf): Add missing t-fdpbit to tmake_file.
10454 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10456         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
10457         (ecrtn$(objext)): Likewise.
10458         (ncrti$(objext)): Likewise.
10459         (ncrtn$(objext)): Likewise.
10461 2011-11-03  Andreas Schwab  <schwab@redhat.com>
10463         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
10465 2011-11-02  David S. Miller  <davem@davemloft.net>
10467         * configure.ac: Set host_address on sparc too.
10468         * configure: Regenerate.
10469         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
10470         based upon host_address.
10471         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
10473 2011-11-02  Jason Merrill  <jason@redhat.com>
10475         * config/rs6000/t-ppccomm: Add missing \.
10477 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10479         * gthr-single.h, gthr.h: New files.
10480         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
10481         config/gthr-vxworks.h, config/i386/gthr-win32.h,
10482         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
10483         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
10484         * config/i386/gthr-win32.c: Include "gthr-win32.h".
10485         * configure.ac (thread_header): New variable.
10486         Set it depending on target_thread_file.
10487         (gthr-default.h): Link from $thread_header.
10488         * configure: Regenerate.
10489         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
10491 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10493         * configure.ac (tm_file_): New variable.
10494         Determine from tm_file.
10495         (tm_file, tm_defines): Substitute.
10496         * configure: Regenerate.
10497         * mkheader.sh: New file.
10498         * Makefile.in (clean): Remove libgcc_tm.h.
10499         ($(objects)): Depend on libgcc_tm.h.
10500         (libgcc_tm_defines, libgcc_tm_file): New variables.
10501         (libgcc_tm.h, libgcc_tm.stamp): New targets.
10502         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
10503         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
10504         ($(extra-parts)): Depend on libgcc_tm.h.
10505         * config.host (tm_defines, tm_file): New variable.
10506         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
10507         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
10508         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
10509         (avr-*-rtems*): Likewise.
10510         (avr-*-*): Likewise.
10511         (frv-*-elf): Likewise.
10512         (frv-*-*linux*): Likewise.
10513         (h8300-*-rtems*): Likewise.
10514         (h8300-*-elf*): Likewise.
10515         (i[34567]86-*-darwin*): Likewise.
10516         (x86_64-*-darwin*): Likewise.
10517         (rx-*-elf): Likewise.
10518         (tic6x-*-uclinux): Likewise.
10519         (tic6x-*-elf): Likewise.
10520         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
10521         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
10522         * config/i386/cygming-crtbegin.c: Likewise.
10523         * config/i386/cygming-crtend.c: Likewise.
10524         * config/ia64/fde-vms.c: Likewise.
10525         * config/ia64/unwind-ia64.c: Likewise.
10526         * config/libbid/bid_gcc_intrinsics.h: Likewise.
10527         * config/rs6000/darwin-fallback.c: Likewise.
10528         * config/stormy16/lib2funcs.c: Likewise.
10529         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
10530         * crtstuff.c: Likewise.
10531         * dfp-bit.h: Likewise.
10532         * emutls.c: Likewise.
10533         * fixed-bit.c: Likewise.
10534         * fp-bit.c: Likewise.
10535         * generic-morestack-thread.c: Likewise.
10536         * generic-morestack.c: Likewise.
10537         * libgcc2.c: Likewise.
10538         * libgcov.c: Likewise.
10539         * unwind-dw2-fde-dip.c: Likewise.
10540         * unwind-dw2-fde.c: Likewise.
10541         * unwind-dw2.c: Likewise.
10542         * unwind-sjlj.c: Likewise.
10544 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10546         * configure.ac: Include ../config/picflag.m4.
10547         (GCC_PICFLAG): Call it.
10548         Substitute.
10549         * configure: Regenerate.
10550         * Makefile.in (gcc_srcdir): Remove.
10551         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
10552         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
10553         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
10554         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
10555         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
10556         Use $<.
10557         Remove comment.
10558         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
10559         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
10560         to refer to libgcc2.c.
10561         Use $<.
10562         * config/darwin-64.c: New file.
10563         * config/darwin-crt3.c: Remove comment.
10564         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
10565         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
10566         config/udivmodsi4.c: New files.
10567         * config/memcmp.c, config/memcpy.c, config/memmove.c,
10568         config/memset.c: New files.
10569         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
10570         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
10571         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
10572         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
10573         * config/t-openbsd-thread: New file.
10574         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
10575         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
10576         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
10577         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
10578         qrnnd.S.
10579         Adapt filename.
10580         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
10581         to refer to gthr-posix.c.
10582         * config/alpha/t-vms (LIB2ADD): Set.
10583         * config/alpha/vms-gcc_shell_handler.c: New file.
10584         * config/arm/bpabi.c, config/arm/fp16.c,
10585         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
10586         config/arm/unaligned-funcs.c: New files.
10587         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
10588         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10589         * config/arm/t-linux: Likewise.
10590         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
10591         * config/arm/t-netbsd: New file.
10592         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
10593         * config/arm/t-symbian (LIB2ADD_ST): Set.
10594         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
10595         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10596         * config/bfin/t-elf: New file.
10597         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
10598         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
10599         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
10600         config/c6x/ltf.c: New files.
10601         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
10602         (HOST_LIBGCC2_CFLAGS): Set.
10603         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
10604         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10605         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
10606         New files.
10607         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
10608         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
10609         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
10610         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
10611         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
10612         files.
10613         * config/frv/t-frv (LIB2ADD): Set.
10614         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10615         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
10616         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
10617         config/h8300/popcounthi2.c: New files.
10618         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10619         * config/i386/gthr-win32.c: New file.
10620         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
10621         * config/i386/t-cygwin: Likewise.
10622         * config/i386/t-darwin, config/i386/t-darwin64,
10623         config/i386/t-gthr-win32, config/i386/t-interix: New files.
10624         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
10625         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10626         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10627         * config/ia64/quadlib.c: New file.
10628         * config/ia64/t-hpux (LIB2ADD): Set.
10629         * config/ia64/t-ia64: Add comment.
10630         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
10631         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10632         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
10633         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
10634         * config/m32c/t-m32c (LIB2ADD): Set.
10635         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10636         * config/m32r/t-m32r: Likewise.
10637         * config/m68k/fpgnulib.c: New file.
10638         * config/m68k/t-floatlib (LIB2ADD): Set.
10639         (xfgnulib.c): New target.
10640         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
10641         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
10642         * config/mep/t-mep (LIB2ADD): Set.
10643         * config/microblaze/divsi3.asm: Rename to divsi3.S.
10644         * config/microblaze/moddi3.asm: Rename to moddi3.S.
10645         * config/microblaze/modsi3.asm: Rename to modsi3.S.
10646         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
10647         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
10648         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
10649         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
10650         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
10651         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
10652         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
10653         New files.
10654         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
10655         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
10656         * config/pa/fptr.c, config/pa/lib2funcs.S,
10657         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
10658         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10659         (LIB2ADD, LIB2ADD_ST): Set.
10660         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
10661         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
10662         Set.
10663         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
10664         * config/pdp11/t-pdp11: New file.
10665         * config/picochip/libgccExtras/adddi3.S,
10666         config/picochip/libgccExtras/ashlsi3.S,
10667         config/picochip/libgccExtras/ashrsi3.S,
10668         config/picochip/libgccExtras/clzsi2.S,
10669         config/picochip/libgccExtras/cmpsi2.S,
10670         config/picochip/libgccExtras/divmod15.S,
10671         config/picochip/libgccExtras/divmodhi4.S,
10672         config/picochip/libgccExtras/divmodsi4.S,
10673         config/picochip/libgccExtras/lshrsi3.S,
10674         config/picochip/libgccExtras/parityhi2.S,
10675         config/picochip/libgccExtras/popcounthi2.S,
10676         config/picochip/libgccExtras/subdi3.S,
10677         config/picochip/libgccExtras/ucmpsi2.S,
10678         config/picochip/libgccExtras/udivmodhi4.S,
10679         config/picochip/libgccExtras/udivmodsi4.S: New files.
10680         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
10681         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
10682         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
10683         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
10684         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
10685         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
10686         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
10687         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
10688         files.
10689         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
10690         (HOST_LIBGCC2_CFLAGS): Set.
10691         * config/rs6000/t-darwin64: New file.
10692         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
10693         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
10694         * config/rs6000/t-ppccomm (LIB2ADD): Add
10695         $(srcdir)/config/rs6000/tramp.S.
10696         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
10697         Add  $(srcdir)/config/rs6000/eabi.S.
10698         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
10699         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
10700         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
10701         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
10702         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
10703         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
10704         * config/rs6000/tramp.S: New file.
10705         * config/s390/t-tpf: Remove.
10706         * config/sh/linux-atomic.S: New file.
10707         * config/sh/t-linux (LIB2ADD): Set.
10708         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
10709         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10710         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
10711         to unwind-dw2.c.
10712         (HOST_LIBGCC2_CFLAGS): Set.
10713         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10714         * config/spu/divmodti4.c, config/spu/divv2df3.c,
10715         config/spu/float_disf.c, config/spu/float_unsdidf.c,
10716         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
10717         config/spu/mfc_multi_tag_release.c,
10718         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
10719         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
10720         config/spu/multi3.c: New files.
10721         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
10722         (HOST_LIBGCC2_CFLAGS): Set.
10723         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
10724         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
10725         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
10726         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
10727         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
10728         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
10729         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
10730         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
10731         config/stormy16/umodsi3.c: New files.
10732         * config/xtensa/lib2funcs.S: New file.
10733         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10734         * config/xtensa/t-xtensa (LIB2ADD): Set.
10735         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
10736         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
10737         Add t-freebsd-thread to tmake_file for posix threads.
10738         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
10739         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
10740         (*-*-lynxos*): Likewise.
10741         (*-*-netbsd*): Likewise.
10742         (*-*-openbsd*): Likewise.
10743         Add t-openbsd-thread to tmake_file for posix threads.
10744         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
10745         (*-*-vxworks*): Set tmake_file.
10746         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10747         (alpha*-*-freebsd*): Likewise.
10748         (alpha*-*-netbsd*): Likewise.
10749         (alpha*-*-openbsd*): Likewise.
10750         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
10751         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10752         (alpha*-dec-*vms*): Likewise.
10753         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
10754         (bfin*-elf*): Add bfin/t-elf to tmake_file.
10755         (bfin*-uclinux*): Likewise.
10756         (bfin*-linux-uclibc*): Likewise.
10757         (crisv32-*-elf): Add cris/t-cris to tmake_file.
10758         (crisv32-*-none): Likewise.
10759         (cris-*-elf): Likewise.
10760         (cris-*-none): Likewise.
10761         (cris-*-linux*, crisv32-*-linux*): Likewise.
10762         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
10763         tmake_file.
10764         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
10765         tmake_file.
10766         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
10767         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
10768         (x86_64-*-elf*): Likewise.
10769         (i[34567]86-*-nto-qnx*): Likewise.
10770         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
10771         win32 threads.
10772         (x86_64-*-mingw*): Likewise.
10773         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
10774         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
10775         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10776         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10777         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
10778         tmake_file.
10779         (mipsisa64sr71k-*-elf*): Likewise.
10780         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10781         (mips-*-elf*, mipsel-*-elf*): Likewise.
10782         (mips64-*-elf*, mips64el-*-elf*): Likewise.
10783         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10784         (mips*-*-rtems*): Likewise.
10785         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
10786         to tmake_file.
10787         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
10788         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
10789         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
10790         (spu-*-elf*): Likewise.
10791         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
10793 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10795         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
10796         $(srcdir) to refer to $(LIB1ASMSRC).
10797         Use $<.
10798         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
10799         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
10800         config/arm/lib1funcs.S: New files.
10801         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
10802         * config/arm/t-arm: New file.
10803         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
10804         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
10805         config/arm/t-strongarm-elf: New files.
10806         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
10807         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
10808         * config/avr/lib1funcs.S: New file.
10809         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10810         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
10811         * config/c6x/lib1funcs.S: New file.
10812         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10813         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
10814         * config/frv/lib1funcs.S: New file.
10815         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10816         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
10817         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
10818         * config/ia64/__divxf3.asm: Rename to ...
10819         * config/ia64/__divxf3.S: ... this.
10820         Adapt lib1funcs.asm filename.
10821         * config/ia64/_fixtfdi.asm: Rename to ...
10822         * config/ia64/_fixtfdi.S: ... this.
10823         Adapt lib1funcs.asm filename.
10824         * config/ia64/_fixunstfdi.asm: Rename to ...
10825         * config/ia64/_fixunstfdi.S: ... this.
10826         Adapt lib1funcs.asm filename.
10827         * config/ia64/_floatditf.asm: Rename to ...
10828         * config/ia64/_floatditf.S: ... this.
10829         Adapt lib1funcs.asm filename.
10830         * config/ia64/lib1funcs.S: New file.
10831         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
10832         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10833         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
10834         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
10835         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
10836         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
10837         * config/mep/lib1funcs.S: New file.
10838         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10839         * config/mips/mips16.S: New file.
10840         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10841         * config/pa/milli64.S: New file.
10842         * config/pa/t-linux, config/pa/t-linux64: New files.
10843         * config/picochip/lib1funcs.S: New file.
10844         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10845         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
10846         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
10847         * config/sh/t-netbsd: New file.
10848         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
10849         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
10850         * config/sh/t-sh64: New file.
10851         * config/sparc/lb1spc.S: New file.
10852         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
10853         filename.
10854         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
10855         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
10856         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
10857         config/xtensa/lib1funcs.S: New files.
10858         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10859         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
10860         tmake_file.
10861         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
10862         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
10863         (arm*-*-linux*): Likewise.
10864         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
10865         arm*-*-linux-*eabi, add arm/t-linux otherwise.
10866         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
10867         (arm*-*-ecos-elf): Likewise.
10868         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10869         (arm*-*-rtems*): Likewise.
10870         (arm*-*-elf): Likewise.
10871         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
10872         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
10873         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
10874         (bfin*-uclinux*): Likewise.
10875         (bfin*-linux-uclibc*): Likewise.
10876         (bfin*-rtems*): Likewise.
10877         (bfin*-*): Likewise.
10878         (fido-*-elf): Merge into m68k-*-elf*.
10879         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
10880         (frv-*-*linux*): Add frv/t-frv to tmake_file.
10881         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
10882         (h8300-*-elf*): Likewise.
10883         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
10884         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
10885         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
10886         (i[34567]86-*-mingw*): Likewise.
10887         (x86_64-*-mingw*): Likewise.
10888         (i[34567]86-*-interix3*): Likewise.
10889         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
10890         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
10891         (m68k-*-elf*): Also handle fido-*-elf.
10892         Add m68k/t-floatlib to tmake_file.
10893         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
10894         (m68k-*-linux*): Likewise.
10895         (m68k-*-rtems*): Likewise.
10896         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
10897         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
10898         sh64*-*-*.
10899         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
10900         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
10901         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
10902         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
10903         sh/t-netbsd to tmake_file.
10904         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
10905         (sh-*-rtems*): Add sh/t-sh to tmake_file.
10906         (sh-wrs-vxworks): Likewise.
10907         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
10908         *-leon[3-9]*.
10909         (v850*-*-*): Add v850/t-v850 to tmake_file.
10910         (vax-*-linux*): Add vax/t-linux to tmake_file.
10911         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
10913 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10915         * crtstuff.c: New file.
10916         * Makefile.in (CRTSTUFF_CFLAGS): Define.
10917         (CRTSTUFF_T_CFLAGS): Define.
10918         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
10919         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
10920         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
10921         crtstuff.c.
10922         Use $<.
10923         (crtbeginT.o): Use $(objext).
10924         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
10925         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
10926         (gcc-extra-parts): Remove.
10927         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
10928         Set extra_parts.
10929         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10930         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
10931         Add t-crtstuff-pic to tmake_file.
10932         (*-*-lynxos*): New case.
10933         Set tmake_file, extra_parts.
10934         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
10935         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
10936         *-*-netbsdelf[2-9]*.
10937         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
10938         (*-*-rtems*): Set extra_parts.
10939         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
10940         (*-*-uclinux*): New case.
10941         Set extra_parts.
10942         (*-*-vms*): New case.
10943         Set tmake_file, extra_parts.
10944         (*-*-elf): Set extra_parts.
10945         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
10946         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
10947         vms/t-vms64.
10948         Set extra_parts.
10949         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
10950         Set extra_parts.
10951         (arm*-*-freebsd*): Add t-crtin to tmake_file.
10952         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
10953         (arm-wrs-vxworks): Append to tmake_file.
10954         Set extra_parts.
10955         (arm*-*-uclinux*): Set extra_parts.
10956         (arm*-*-ecos-elf): Likewise.
10957         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
10958         arm*-*-eabi*.
10959         (arm*-*-rtems*): Set extra_parts.
10960         (arm*-*-elf): Likewise.
10961         (avr-*-rtems*): Clear extra_parts.
10962         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
10963         Set extra_parts.
10964         (bfin*-uclinux*): Likewise.
10965         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
10966         (bfin*-rtems*): Append to tmake_file.
10967         Set extra_parts.
10968         (bfin*-*): Likewise.
10969         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
10970         (crisv32-*-elf): ... this.
10971         (crisv32-*-none): ... this.
10972         (cris-*-elf, cris-*-none): New cases.
10973         Add cris/t-elfmulti to tmake_file.
10974         (fr30-*-elf): Append to tmake_file.
10975         Set extra_parts.
10976         (frv-*-elf): Append to tmake_file, add frv/t-frv.
10977         Set extra_parts.
10978         (h8300-*-rtems*): Append to tmake_file.
10979         Set extra_parts.
10980         (h8300-*-elf*): Likewise.
10981         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
10982         Set extra_parts.
10983         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
10984         Set extra_parts.
10985         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
10986         (x86_64-*-elf*): Likewise.
10987         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
10988         (x86_64-*-freebsd*): Likewise.
10989         (x86_64-*-netbsd*): Likewise.
10990         (i[34567]86-*-linux*): Likewise.
10991         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10992         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10993         (x86_64-*-linux*): Likewise.
10994         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10995         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
10996         tmake_file.
10997         Set extra_parts.
10998         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
10999         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
11000         Append to extra_parts, remove crtbegin.o, crtend.o.
11001         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
11002         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
11003         crtend.o, crtbeginS.o, crtendS.o.
11004         (ia64*-*-linux*): Comment extra_parts.
11005         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
11006         Set extra_parts.
11007         (iq2000*-*-elf*): Clear extra_parts.
11008         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
11009         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
11010         (m32r-*-elf*, m32r-*-rtems*): Split off ...
11011         (m32r-*-rtems*): ... this.
11012         Add m32r/t-m32r to tmake_file.
11013         (m68k-*-elf*): Add t-crtin to tmake_file.
11014         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
11015         (mcore-*-elf): Likewise.
11016         (microblaze*-*-*): Set extra_parts.
11017         (mips*-sde-elf*): New case.
11018         Set tmake_file, extra_parts.
11019         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
11020         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
11021         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
11022         tmake_file.
11023         Set extra_parts.
11024         (mipsisa64sr71k-*-elf*): Likewise.
11025         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
11026         (mips-*-elf*, mipsel-*-elf*): Likewise.
11027         (mips64-*-elf*, mips64el-*-elf*): Likewise.
11028         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
11029         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
11030         (mips*-*-rtems*): Likewise.
11031         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
11032         (moxie-*-*): Split into ...
11033         (moxie-*-elf, moxie-*-uclinux*): ... this.
11034         Add to extra_parts, remove crtbegin.o, crtend.o.
11035         (moxie-*-rtems*): New case.
11036         Set tmake_file.
11037         Clear extra_parts.
11038         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
11039         Set extra_parts.
11040         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
11041         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
11042         tmake_file.
11043         Set extra_parts.
11044         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
11045         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
11046         Set extra_parts.
11047         (powerpc-*-eabisim*): Likewise.
11048         (powerpc-*-elf*): Likewise.
11049         (powerpc-*-eabialtivec*): Likewise.
11050         (powerpc-xilinx-eabi*): Likewise.
11051         (powerpc-*-eabi*): Likewise.
11052         (powerpc-*-rtems*): Likewise.
11053         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
11054         tmake_file.
11055         Set extra_parts.
11056         (powerpc-*-lynxos*): Add to tmake_file.
11057         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
11058         rs6000/t-crtstuff, t-crtstuff-pic.
11059         Set extra_parts.
11060         (powerpcle-*-eabisim*): Likewise.
11061         (powerpcle-*-eabi*): Likewise.
11062         (rx-*-elf): Remove extra_parts.
11063         (s390x-ibm-tpf*): Set extra_parts.
11064         (score-*-elf): Set extra_parts.
11065         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11066         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11067         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11068         (sh64l*-*-netbsd*): Split into ...
11069         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
11070         Add t-crtstuff-pic to tmake_file.
11071         Set extra_parts.
11072         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
11073         Set extra_parts.
11074         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
11075         (sparc-*-elf*): Remove t-crtin from tmake_file.
11076         Add to extra_parts, remove crtbegin.o, crtend.o.
11077         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
11078         (sparc64-*-linux*): Likewise.
11079         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
11080         Add to extra_parts, remove crtbegin.o, crtend.o.
11081         (sparc64-*-elf*): Remove t-crtin from tmake_file.
11082         Add to extra_parts, remove crtbegin.o, crtend.o.
11083         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
11084         Add to extra_parts, remove crtbegin.o, crtend.o.
11085         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
11086         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
11087         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
11088         Set extra_parts.
11089         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
11090         Set extra_parts.
11091         (tic6x-*-*): Change to ...
11092         (tic6x-*-elf): ... this.
11093         Set extra_parts.
11094         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
11095         Set extra_parts.
11096         (am33_2.0-*-linux*): Add comment.
11097         (mep*-*-*): Add mep/t-mep to tmake_file.
11098         Set extra_parts.
11099         * config/alpha/t-vms: New file.
11100         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
11101         * config/arm/crti.S, config/arm/crtn.S: New files.
11102         * config/bfin/crti.S, config/bfin/crtn.S: New files.
11103         * config/bfin/crtlibid.S: New file.
11104         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
11105         * config/c6x/crti.S, config/c6x/crtn.S: New files.
11106         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
11107         (crti.o, crtin.o): New rules.
11108         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11109         * config/c6x/t-uclinux: New file.
11110         * config/cris/t-elfmulti: New file.
11111         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
11112         * config/fr30/crti.S, config/fr30/crtn.S: New files.
11113         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
11114         * config/frv/t-frv: New file.
11115         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
11116         * config/h8300/crti.S, config/h8300/crtn.S: New files.
11117         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
11118         New files.
11119         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
11120         refer to cygming-crtbegin.c, cygming-crtend.c.
11121         Use $<.
11122         * config/i386/t-nto: New file.
11123         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
11124         * config/ia64/crti.S, config/ia64/crtn.S: New files.
11125         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
11126         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
11127         Use .S extension.
11128         Use $<.
11129         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11130         (crtinitS.o): New rule.
11131         * config/ia64/vms-crtinit.S: New file.
11132         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
11133         * config/m32r/initfini.c: New file.
11134         * config/m32r/t-linux, config/m32r/t-m32r: New files.
11135         * config/m68k/crti.S, config/m68k/crtn.S: New files.
11136         * config/mcore/crti.S, config/mcore/crtn.S: New files.
11137         * config/mep/t-mep: New file.
11138         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
11139         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
11140         * config/mips/crti.S, config/mips/crtn.S: New files.
11141         * config/mips/t-crtstuff: New file.
11142         * config/mmix/crti.S, config/mmix/crtn.S: New files.
11143         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
11144         (CUSTOM_CRTIN): Set.
11145         ($(T)crti.o, $(T)crtn.o): Remove $(T),
11146         dependencies.
11147         Use $(srcdir) to refer to crti.S, crtn.S.
11148         Use .S extension, $<.
11149         * config/moxie/crti.asm: Rename to ...
11150         * config/moxie/crti.S: ... this.
11151         * config/moxie/crtn.asm: Rename to ...
11152         * config/moxie/crtn.S: ... this.
11153         * config/moxie/t-moxie: Remove.
11154         * config/pa/stublib.c: New file.
11155         * config/pa/t-stublib, config/pa/t-stublib64: New files.
11156         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
11157         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
11158         * config/rs6000/t-crtstuff: New file.
11159         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
11160         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
11161         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
11162         Make output file explicit.
11163         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
11164         Make output file explicit.
11165         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
11166         Make output file explicit.
11167         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
11168         Make output file explicit.
11169         * config/score/crti.S, config/score/crtn.S: New files.
11170         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
11171         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
11172         files.
11173         * config/sh/t-sh, config/sh/t-superh: New files.
11174         * config/sparc/t-linux64: New file.
11175         * config/spu/cache.S, config/spu/cachemgr.c: New files.
11176         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
11177         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
11178         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
11179         * config/t-crtin: Remove.
11180         * config/t-crtstuff-pic: New file.
11181         * config/t-sol2 (CUSTOM_CRTIN): Set.
11182         (crti.o, crtn.o): New rules.
11183         * config/vms/t-vms: New file.
11184         * config/vms/vms-ucrt0.c: New file.
11185         * config/xtensa/t-elf: New file.
11187 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11189         * Makefile.in (SHLIB_NM_FLAGS): Set.
11190         * mkmap-flat.awk, mkmap-symver.awk: New files.
11191         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
11192         exceptions.
11193         * configure: Regenerate.
11194         * config/libgcc-glibc.ver: New file.
11195         * config/libgcc-libsystem.ver: New file.
11196         * config/t-libunwind (SHLIB_LC): Set.
11197         * config/t-linux: New file.
11198         * config/t-slibgcc (INSTALL_SHLIB): New.
11199         (SHLIB_INSTALL): Use it.
11200         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
11201         to mkmap-symver.awk.
11202         (SHLIB_MAPFILES): Don't append, adapt pathname.
11203         (SHLIB_VERPFX): Set.
11204         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
11205         to mkmap-symver.awk.
11206         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
11207         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
11208         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
11209         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
11210         to mkmap-flat.awk.
11211         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
11212         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
11213         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
11214         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
11215         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
11216         * config/i386/libgcc-darwin.10.4.ver,
11217         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
11218         New files.
11219         * config/i386/t-darwin: Remove.
11220         * config/i386/t-darwin64: Likewise.
11221         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
11222         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
11223         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
11224         * config/i386/t-linux: New file.
11225         * config/i386/t-mingw32: New file.
11226         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
11227         * config/ia64/t-glibc: Rename to ...
11228         * config/ia64/t-linux: ... this.
11229         (SHLIB_MAPFILES): Set.
11230         * config/ia64/t-glibc-libunwind: Rename to ...
11231         * config/ia64/t-linux-libunwind: ... this.
11232         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
11233         * config/ia64/t-slibgcc-hpux: New file.
11234         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
11235         * config/m68k/t-slibgcc-elf-ver: New file.
11236         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
11237         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
11238         to mkmap-flat.awk.
11239         * config/pa/t-slibgcc-hpux: New file.
11240         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
11241         files.
11242         * config/rs6000/libgcc-darwin.10.4.ver,
11243         config/rs6000/libgcc-darwin.10.5.ver: New files.
11244         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
11245         config/rs6000/libgcc-glibc.ver.
11246         * config/rs6000/libgcc-ppc64.ver: Rename to
11247         config/rs6000/libgcc-ibm-ldouble.ver.
11248         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
11249         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
11250         * config/rs6000/t-ldbl128: Rename to ...
11251         * config/rs6000/t-linux: ... this.
11252         (SHLIB_MAPFILES): Adapt filename.
11253         * config/rs6000/t-slibgcc-aix: New file.
11254         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
11255         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
11256         libgcc-excl.ver, libgcc-glibc.ver.
11257         (SHLIB_LINK, SHLIB_INSTALL): Remove.
11258         * config/sparc/libgcc-glibc.ver: New file.
11259         * config/sparc/t-linux: New file.
11260         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
11261         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
11262         t-slibgcc-elf-ver to tmake_file.
11263         Add t-slibgcc-nolc-override to tmake_file for posix threads on
11264         *-*-freebsd[34].
11265         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11266         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
11267         t-slibgcc-elf-ver, t-linux to tmake_file.
11268         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
11269         tmake_file.
11270         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
11271         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
11272         (alpha*-dec-*vms*): Likewise.
11273         (arm*-*-freebsd*): Append to tmake_file.
11274         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
11275         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
11276         arm*-*-linux-*eabi.
11277         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
11278         tmake_file for arm*-*-symbianelf*.
11279         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
11280         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
11281         cris/t-linux.
11282         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
11283         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
11284         pa/t-slibgcc-dwarf-ver to tmake_file.
11285         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
11286         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
11287         (hppa*64*-*-hpux11*): Likewise.
11288         (hppa[12]*-*-hpux11*): Likewise.
11289         (x86_64-*-darwin*): Don't override tmake_file, but only keep
11290         i386/t-crtpc, i386/t-crtfm.
11291         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
11292         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11293         to tmake_file.
11294         Add i386/t-cygwin to tmake_file.
11295         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
11296         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
11297         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11298         to tmake_file.
11299         Add i386/t-mingw32 to tmake_file.
11300         (x86_64-*-mingw*): Likewise.
11301         (ia64*-*-freebsd*): Append to tmake_file.
11302         (ia64*-*-linux*): Append to tmake_file.
11303         Replace ia64/t-glibc by ia64/t-linux.
11304         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
11305         system libunwind.
11306         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
11307         t-slibgcc-hpux to tmake_file.
11308         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
11309         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
11310         (m32rle-*-linux*): Likewise.
11311         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
11312         sjlj exceptions.
11313         (microblaze*-linux*): New case.
11314         Append to tmake_file, add t-slibgcc-nolc-override.
11315         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
11316         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11317         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
11318         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11319         rs6000/t-slibgcc-aix to tmake_file.
11320         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11321         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11322         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11323         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11324         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11325         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
11326         sh*-*-linux*.
11327         (sparc-*-linux*): Append to tmake_file for *-leon*.
11328         Add sparc/t-linux to tmake_file for non-Leon targets.
11329         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
11330         (tic6x-*-uclinux): New case.
11331         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
11332         (tic6x-*-*): Add c6x/t-elf to tmake_file.
11333         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
11334         (am33_2.0-*-linux*): Append to tmake_file.
11335         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
11336         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
11337         x86_64-*-kfreebsd*-gnu.
11338         Add i386/t-linux to tmake_file.
11340 2011-10-28  Ian Lance Taylor  <iant@google.com>
11342         * config/i386/morestack.S: Correct CFI information to do proper
11343         returns throughout function.  In 32-bit mode, save %ebx so that it
11344         is restored on unwind.
11346 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
11348         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
11349         case where B3 isn't the return register.
11351         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
11352         logic for doubleword pops.
11354 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
11356         * config/rs6000/t-freebsd: Add wildcard.
11358 2011-10-21  Paul Brook  <paul@codesourcery.com>
11360         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
11362 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
11363             Eric Botcazou  <ebotcazou@adacore.com>
11365         PR target/50737
11366         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
11367         fs->signal_frame to 1.
11369 2011-10-07  Ian Lance Taylor  <iant@google.com>
11371         * generic-morestack-thread.c: #include <errno.h>.
11373 2011-10-07  Ian Lance Taylor  <iant@google.com>
11375         PR target/46093
11376         * generic-morestack.c (__generic_morestack): Make sure the segment
11377         is large enough for both the stack frame and the copied
11378         parameters.
11380 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11382         PR bootstrap/49804
11383         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
11384         extra_parts.
11386 2011-09-28  Nick Clifton  <nickc@redhat.com>
11388         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
11389         64-bit doubles are not enabled.
11390         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
11391         and floatunsisf functions.
11393 2011-09-13  Paul Brook  <paul@codesourcery.com>
11395         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
11396         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
11397         * unwind-arm-common.inc: New file.
11398         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
11399         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
11400         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
11401         * config/c6x/libunwind.S: New file.
11402         * config/c6x/pr-support.c: New file.
11403         * config/c6x/unwind-c6x.c: New file.
11404         * config/c6x/unwind-c6x.h: New file.
11405         * config/c6x/t-c6x-elf: New file.
11407 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
11409         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
11410         (ASM_DIVZERO): Ditto.
11411         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
11413 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
11415         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
11417 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
11419         PR target/50090
11420         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
11421         instead of an assembly one.
11423 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
11425         PR bootstrap/50047
11426         * Makefile.in (install-unwind_h): Create
11427         $(gcc_objdir)/include/unwind.h atomically.
11429 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11431         * Makefile.in (install-unwind_h): Remove destination file first.
11433 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11435         * sync.c: New file.
11436         * config/mips/t-mips16: New file.
11437         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
11438         (mips*-*-linux*): Likewise.
11439         (mips*-sde-elf*): Likewise.
11440         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
11441         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
11442         Add mips/t-mips16 to tmake_file.
11443         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
11444         (mips-*-elf*): Likewise.
11445         (mips64-*-elf*): Likewise.
11446         (mips64orion-*-elf*): Likewise.
11447         (mips*-*-rtems*): Likewise.
11448         (mipstx39-*-elf*): Likewise.
11449         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
11450         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
11451         LIBGCC_SYNC_CFLAGS.
11452         Use $(srcdir) to refer to sync.c.
11453         Use $<.
11454         ($(libgcc-sync-funcs-o)): Likewise.
11455         ($(libgcc-sync-size-funcs-s-o)): Likewise.
11456         ($(libgcc-sync-funcs-s-o)): Likewise.
11458 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
11460         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
11461         t-libunwind.
11463 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
11465         PR other/48007
11466         * config/i386/value-unwind.h: New.
11468 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
11470         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
11471         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
11472         Add to tmake_file rather than overriding it.
11474 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11476         * config/t-softfp: Remove.
11477         * soft-fp: Moved from ../gcc/config.
11478         * soft-fp/README: Remove t-softfp reference.
11479         * soft-fp/t-softfp: Move to config/t-softfp.
11480         (softfp_machine_header): Remove.
11481         (softfp_file_list): Remove config subdir.
11482         (soft-fp-objects): New variable.
11483         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
11484         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
11485         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
11486         * config/t-softfp-excl: New file.
11487         * config/t-softfp-sfdf: New file.
11488         * config/t-softfp-tf: New file.
11489         * config/no-sfp-machine.h: New file.
11490         * config/arm/sfp-machine.h: New file.
11491         * config/arm/t-softfp: New file.
11492         * config/c6x/sfp-machine.h: New file.
11493         * config/i386/32/t-fprules-softfp: Rename to ...
11494         * config/i386/32/t-softfp: ... this.
11495         (tifunctions, LIB2ADD): Remove.
11496         (softfp_int_modes): Override.
11497         * config/i386/64/t-softfp-compat (tf-functions): Remove config
11498         subdir.
11499         * config/i386/64/eqtf2.c: Likewise.
11500         * config/i386/64/getf2.c: Likewise.
11501         * config/i386/64/letf2.c: Likewise.
11502         * config/ia64/sft-machine.h: New file.
11503         * config/ia64/t-fprules-softfp: Rename to ...
11504         * config/ia64/t-softfp: ... this.
11505         * config/lm32/sfp-machine.h: New file.
11506         * config/moxie/t-moxie-softfp: Remove.
11507         * config/rs6000/ibm-ldouble-format: New file.
11508         * config/rs6000/ibm-ldouble.c: New file.
11509         * config/rs6000/libgcc-ppc-glibc.ver: New file
11510         * config/rs6000/libgcc-ppc64.ver: New file
11511         * config/rs6000/sfp-machine.h: New file.
11512         * config/rs6000/t-freebsd: New file.
11513         * config/rs6000/t-ibm-ldouble: New file.
11514         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
11515         libgcc-ppc-glibc.ver.
11516         * config/rs6000/t-linux64: New file.
11517         * config/rs6000/t-ppccomm (LIB2ADD): Add
11518         $(srcdir)/config/rs6000/ibm-ldouble.c.
11519         * config/rs6000/t-ppccomm-ldbl: New file.
11520         * config/score/sfp-machine.h: New file.
11521         * config.host (sfp_machine_header): Explain.
11522         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
11523         t-softfp to tmake_file.
11524         (arm*-*-uclinux*): Likewise.
11525         (arm*-*-ecos-elf): Likewise.
11526         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11527         (arm*-*-rtems*): Likewise.
11528         (arm*-*-elf): Likewise.
11529         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
11530         in tmake_file.
11531         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
11532         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
11533         (lm32-*-uclinux*): Likewise.
11534         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
11535         t-softfp-excl, t-softfp.
11536         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
11537         (powerpc64-*-darwin*): Likewise.
11538         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
11539         to tmake_file.
11540         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
11541         tmake_file.
11542         (powerpc-*-eabisim*): Likewise.
11543         (powerpc-*-elf*): Likewise.
11544         (powerpc-*-eabialtivec*): Likewise.
11545         (powerpc-xilinx-eabi*): Likewise.
11546         (powerpc-*-rtems*): Likewise.
11547         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
11548         t-softfp-excl, t-softfp to tmake_file.
11549         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
11550         rs6000/t-ppccomm-ldbl to tmake_file.
11551         (powerpcle-*-elf*): Likewise.
11552         (powerpcle-*-eabisim*): Likewise.
11553         (powerpcle-*-eabi*): Likewise.
11554         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11555         rs6000/t-ibm-ldouble to tmake_file.
11556         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11557         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11558         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
11559         (tic6x-*-*): Likewise.
11560         (i[34567]86-*-darwin*, x86_64-*-darwin*,
11561         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
11562         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
11563         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
11564         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
11565         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
11566         t-softfp to tmake_file.
11567         * configure.ac (sfp_machine_header): Provide default if unset.
11568         Substitute.
11569         Link sfp-machine.h to config/$sfp_machine_header.
11570         * configure: Regenerate.
11572 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11574         * Makefile.in (double_type_size, long_double_type_size): Set.
11575         Remove $(fpbit-in-libgcc) support.
11576         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
11577         (fpbit-src): New variable.
11578         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
11579         Compile with -DFLOAT $(FPBIT_CFLAGS).
11580         Use $<.
11581         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
11582         Compile with $(FPBIT_CFLAGS).
11583         Use $<.
11584         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
11585         Compile with -DFLOAT $(TPBIT_CFLAGS).
11586         Use $<.
11587         * configure.ac (double_type_size, long_double_type_size):
11588         Determine and substitute.
11589         * configure: Regenerate.
11590         * fp-bit.c, fp-bit.h: New files.
11591         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
11592         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
11593         * config/mips/t-mips: New file.
11594         * config/mips/t-sdemtk: New file.
11595         * config/rs6000/ppc64-fp.c: New file.
11596         * config/rs6000/t-darwin (LIB2ADD): Add
11597         $(srcdir)/config/rs6000/ppc64-fp.c.
11598         * config/rs6000/t-ppc64-fp: New file.
11599         * config/rx/rx-lib.h: New file.
11600         * config/rx/t-rx (FPBIT): Set to true.
11601         ($(gcc_objdir)/fp-bit.c): Remove.
11602         (DPBIT): Set to true only with -m64bit-doubles.
11603         ($(gcc_objdir)/dp-bit.c): Remove.
11604         * config/sparc/t-softfp: Remove.
11605         * config/spu/t-elf: New file.
11606         * config/t-fdpbit, config/t-fpbit: New files.
11607         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
11608         (mips*-*-*): Likewise.
11609         (arm-wrs-vxworks): Likewise.
11610         (arm*-*-freebsd*): Likewise.
11611         (avr-*-rtems*): Add t-fpbit to tmake_file.
11612         (avr-*-*): Likewise.
11613         (bfin*-elf*): Add t-fdpbit to tmake_file.
11614         (bfin*-uclinux*): Likewise.
11615         (bfin*-linux-uclibc*): Likewise.
11616         (bfin*-rtems*): New case.
11617         Add t-fdpbit to tmake_file.
11618         (bfin*-*): Add t-fdpbit to tmake_file.
11619         (crisv32-*-elf): Likewise.
11620         (cris-*-linux*): Likewise.
11621         (fr30-*-elf): Likewise.
11622         (frv-*-elf, frv-*-*linux*): Likewise.
11623         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
11624         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
11625         (m32r-*-elf*): Likewise.
11626         (m32rle-*-elf*): Likewise.
11627         (m32r-*-linux*): Likewise.
11628         (m32rle-*-linux*): Likewise.
11629         (mcore-*-elf): Add t-fdpbit to tmake_file.
11630         (microblaze*-*-*): Likewise.
11631         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
11632         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
11633         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
11634         Fix typo.
11635         Add mips/t-tpbit to tmake-file.
11636         (mips*-*-linux*): Fix typo.
11637         (mips*-sde-elf*): New case
11638         Add mips/t-sdemtk unless using newlib.
11639         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
11640         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
11641         (mn10300-*-*): Likewise.
11642         (pdp11-*-*): Likewise.
11643         (picochip-*-*): Add t-fpbit to tmake_file.
11644         (powerpc-*-eabisimaltivec*): Likewise.
11645         (powerpc-*-eabisim*): Likewise.
11646         (powerpc-*-elf*): Likewise.
11647         (powerpc-*-eabialtivec*): Likewise.
11648         (powerpc-xilinx-eabi*): New case.
11649         Add t-fdpbit to tmake_file.
11650         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
11651         (powerpc-*-rtems*): Likewise.
11652         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
11653         tmake_file.
11654         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
11655         tmake_file.
11656         (powerpc-*-lynxos*): Likewise.
11657         (powerpcle-*-elf*): Likewise.
11658         (powerpcle-*-eabisim*): Likewise.
11659         (powerpcle-*-eabi*): Likewise.
11660         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11661         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
11662         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11663         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11664         (rx-*-elf): Add t-fdpbit to tmake_file.
11665         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11666         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11667         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11668         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
11669         sh*-*-netbsd*.
11670         (sh-*-rtems*): Add t-fdpbit to tmake_file.
11671         (sh-wrs-vxworks): Likewise.
11672         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
11673         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
11674         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
11675         (sparc64-*-rtems*): ... new case.
11676         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
11677         (spu-*-elf*): Likewise.
11678         Add spu/t-elf to tmake_file.
11679         (v850*-*-*): Add t-fdpbit to tmake_file.
11680         (xstormy16-*-elf): Likewise.
11681         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
11682         (mep*-*-*): Likewise.
11684 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11686         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
11687         variables.
11688         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
11689         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
11690         (install-unwind_h): New target.
11691         (all): Depend on it.
11692         * config.host (unwind_header): New variable.
11693         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
11694         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11695         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
11696         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
11697         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
11698         Set unwind_header.
11699         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
11700         Set unwind_header.
11701         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
11702         arm*-*-eabi*.
11703         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
11704         Set unwind_header.
11705         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
11706         (ia64*-*-freebsd*): Likewise.
11707         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
11708         tmake_file.
11709         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
11710         $with_system_libunwind.
11711         (ia64*-*-hpux*): Set tmake_file.
11712         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
11713         (picochip-*-*): Set tmake_file.
11714         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
11715         md_unwind_header.
11716         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11717         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11718         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
11719         (xtensa*-*-elf*): Set tmake_file.
11720         (xtensa*-*-linux*): Likewise.
11721         * configure.ac: Include ../config/unwind_ipinfo.m4.
11722         Call GCC_CHECK_UNWIND_GETIPINFO.
11723         Link unwind.h to $unwind_header.
11724         * configure: Regenerate.
11725         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
11726         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
11727         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
11728         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
11729         * config/unwind-dw2-fde-darwin.c: New file.
11730         * config/arm/libunwind.S, config/arm/pr-support.c,
11731         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
11732         config/arm/unwind-arm.h,: New files.
11733         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
11734         config/ia64/t-eh-ia64, config/ia64/t-glibc,
11735         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
11736         config/ia64/t-vms, config/ia64/unwind-ia64.c,
11737         config/ia64/unwind-ia64.h: New files.
11738         * config/picochip/t-picochip: New file.
11739         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
11740         files.
11741         * config/rs6000/t-darwin (LIB2ADDEH): Set.
11742         * config/s390/t-tpf (LIB2ADDEH): Remove.
11743         * config/t-darwin (LIB2ADDEH): Set.
11744         * config/t-eh-dw2-dip: New file.
11745         * config/t-libunwind, config/t-libunwind-elf: New files.
11746         * config/t-sol2 (LIB2ADDEH): Remove.
11747         * config/xtensa/t-xtensa: New file.
11749 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
11751         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
11752         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
11753         long long to check rt_sigreturn syscall.
11755 2011-08-02  Alan Modra  <amodra@gmail.com>
11757         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11758         Restore for indirect call bcrtl from correct stack slot, and only
11759         if cfa+40 isn't valid.
11761 2011-08-01  Julian Brown  <julian@codesourcery.com>
11763         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
11764         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
11765         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
11767 2011-08-01  Julian Brown  <julian@codesourcery.com>
11769         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
11770         (libgcc-std.ver.in): Use above.
11771         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
11772         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
11773         throughout file.
11774         * config/t-fixedpoint-gnu-prefix: New file.
11775         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
11776         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
11777         instead of __PFX__.
11779 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
11781         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
11782         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
11783         for x86-64.  Properly check __x86_64__ and __LP64__.
11785 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
11787         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
11788         version.
11789         (_FP_WS_TYPE): Likewise.
11790         (_FP_I_TYPE): Likewise.
11792 2011-07-28  Alan Modra  <amodra@gmail.com>
11794         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11795         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
11796         in a plt call stub.  Do restore r2 if stopped on bctrl.
11798 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11800         * config.host (i[3456x]86-*-netware*): Remove.
11801         * config/i386/netware-crt0.c, config/i386/t-nwld,
11802         config/i386/t-slibgcc-nwld: Remove.
11804 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
11806         * config.host: Handle tic6x-*-*.
11807         * config/c6x/c6x-abi.h: New file.
11809 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11811         * config/i386/crtprec.c: New file.
11812         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
11813         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
11814         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
11815         (x86_64-*-darwin*): Likewise.
11816         (i[34567]86-*-solaris2*: Likewise.
11818 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11820         * config/alpha/crtfastmath.c: New file.
11821         * config/i386/crtfastmath.c: New file.
11822         * config/ia64/crtfastmath.c: New file.
11823         * config/mips/crtfastmath.c: New file.
11824         * config/sparc/crtfastmath.c: New file.
11826         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
11827         crtfastmath.c.
11828         Add -frandom-seed=gcc-crtfastmath.
11829         * config/alpha/t-crtfm: Remove.
11830         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
11831         * config/ia64/t-ia64 (crtfastmath.o): Remove.
11833         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
11834         (alpha*-dec-osf5.1*): Likewise.
11835         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
11836         Add crtfastmath.o to extra_parts.
11837         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
11838         Add crtfastmath.o to extra_parts.
11839         (x86_64-*-darwin*): Likewise.
11840         (x86_64-*-mingw*): Likewise.
11841         (ia64*-*-elf*): Add t-crtfm to tmake_file.
11842         (ia64*-*-freebsd*): Likewise.
11843         (ia64*-*-linux*): Likewise.
11844         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
11845         Add crtfastmath.o to extra_parts.
11847 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11849         * config/darwin-crt3.o: New file.
11850         * config/rs6000/darwin-crt2.c: New file.
11851         * config/t-darwin: New file.
11852         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
11853         (crt2.o): New rule.
11854         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
11855         (powerpc-*-darwin*): Add crt2.o to extra_parts.
11856         (powerpc64-*-darwin*): Likewise.
11858 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11860         * config/i386/netware-crt0.c: New file.
11861         * config/i386/t-nwld: Rename to ...
11862         * config/i386/t-slibgcc-nwld: ... this.
11863         * config/i386/t-nwld: New file.
11864         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
11865         tmake_file.
11866         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
11867         extra_parts.
11869 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11871         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
11872         i386/t-crtstuff.
11873         * configure: Regenerate.
11875 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11877         * dfp-bit.c, dfp-bit.h: New files.
11878         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
11879         variables.
11880         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
11881         ($(d64pbit-o)): Likewise.
11882         ($(d128pbit-o)): Likewise.
11883         * config/t-dfprules: New file.
11884         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
11885         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
11886         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11887         (x86_64-*-linux*): Likewise.
11888         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11889         (i[34567]86-*-cygwin*): Likewise.
11890         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
11891         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11893 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11895         * Makfile.in (LIBGCOV): New variable.
11896         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
11897         * libgcov.c: New file.
11899 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11901         * fixed-bit.c, fixed-bit.h: New files.
11902         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
11903         refer to fixed-bit.c.
11905 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
11907         * config.host (*local*): Remove.
11909 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11911         PR target/39150
11912         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
11913         like i?86-*-solaris2.1[0-9]*.
11914         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
11915         * configure.ac (i?86-*-solaris2*): Likewise.
11916         * configure: Regenerate.
11918 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
11920         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11921         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
11922         md_unwind_header by splitting out of...
11923         (i[34567]86-*-linux*): ... this.
11924         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
11925         Remove md_unwind_header by splitting out of...
11926         (x86_64-*-linux*): ... this.
11928 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
11930         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
11932 2011-06-28  Nick Clifton  <nickc@redhat.com>
11934         * config.host: Recognize all V850 variants.
11936 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
11938         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
11940 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11942         * shared-object.mk (c_flags-$o): Save c_flags.
11943         ($(base)$(objext)): Use it.
11944         ($(base)_s$(objext)): Likewise.
11946 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
11948         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
11949         * libgcc-std.ver.in (GCC_4.7.0): New section.
11951 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
11953         PR target/49313
11954         PR target/29524
11955         * config/avr/t-avr: Fix line endings.
11956         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
11957         _parityXX2.
11959 2011-06-14  Olivier Hainque  <hainque@adacore.com>
11960             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11962         * config/mips/irix6-unwind.h: New file.
11963         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
11965 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
11967         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
11968         (sparc64_fallback_frame_state): Use it.
11969         (sparc64_frob_update_context): Further adjust context.
11970         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
11971         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
11972         * config/sparc/sol2-cn.S: Likewise.
11974 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11976         * enable-execute-stack-empty.c: New file.
11977         * enable-execute-stack-mprotect.c: New file.
11978         * config/i386/enable-execute-stack-mingw32.c: New file.
11979         * config.host (enable_execute_stack): New variable.
11980         Select appropriate variants.
11981         * configure.ac: Link enable-execute-stack.c to
11982         $enable_execute_stack.
11983         * configure: Regenerate.
11984         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
11985         (lib2funcs): Remove _enable_execute_stack.
11987 2011-06-09  David S. Miller  <davem@davemloft.net>
11988             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11990         * config.host (sparc-*-linux*): Correct md_unwind_header
11991         filename.
11992         (s390x-ibm-tpf*): Fix typo.
11994 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11996         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
11997         Add crtfastmath.o to extra_parts.
11998         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
11999         mips/t-crtfm.
12000         * config/mips/t-crtfm: Remove.
12002 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
12004         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
12006 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
12008         * config.host (sh*-*-linux*): Fix typo.
12010 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12012         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
12013         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
12014         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
12015         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
12016         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
12017         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
12018         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
12019         Wrap in !__MINGW64__.
12020         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
12021         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
12022         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
12023         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
12024         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
12025         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
12026         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
12027         Wrap in !__LP64__.
12028         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
12029         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
12030         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
12031         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
12032         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
12033         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
12034         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
12035         * config/no-unwind.h: New file.
12036         * config.host (md_unwind_header): Document.
12037         Define.
12038         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
12039         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
12040         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
12041         hppa[12]*-*-hpux11*): Set md_unwind_header.
12042         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
12043         Set md_unwind_header.
12044         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
12045         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
12046         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
12047         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
12048         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
12049         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
12050         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
12051         md_unwind_header.
12052         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
12053         * configure: Regenerate.
12055 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12057         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
12058         Set tmake_file, extra_parts.
12059         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
12060         Remove O32 support.
12061         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
12062         Remove O32 support.
12063         * config/mips/t-irix6: New file.
12064         * config/mips/t-slibgcc-irix: New file.
12066 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12068         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
12069         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
12071 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12073         * configure.ac (target_thread_file): Determine thread model.
12074         * configure: Regenerate.
12075         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
12076         * config/alpha/t-alpha: New file.
12077         * config/alpha/t-crtfm: Use $<.
12078         * config/alpha/t-ieee: New file.
12079         * config/alpha/t-osf-pthread: New file.
12080         * config/alpha/t-slibgcc-osf: New file.
12081         * config/alpha/libgcc-osf5.ver: New file.
12083 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12085         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
12086         tmake_file.
12087         Add crtfastmath.o to extra_parts.
12089 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12091         * config/gmon-sol2.c: Reindent.
12092         Cleanup comments.
12093         Remove, correct casts.
12094         Use STDERR_FILENO, NULL.
12095         (BASEADDRESS): Remove.
12096         (minbrk): Remove.
12097         (errno, sbrk): Remove declarations.
12098         (monstartup) [hp300]: Remove.
12099         (mcount): Remove.
12101 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12103         * Makefile.in (cpu_type): Define.
12104         * config.host (i[34567]86-*-rtems*): Handle it.
12105         (i[34567]86-*-solaris2*): Move body ...
12106         (*-*-solaris2*): ... here.
12107         New case, generalize.
12108         (sparc-*-elf*): Handle it.
12109         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
12110         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
12111         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
12112         Fold into ...
12113         (sparc*-*-solaris2*): ... this.
12114         New case.
12115         (sparc64-*-elf*): Handle it.
12116         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
12117         Merge ../gcc/config/i386/gmon-sol2.c.
12118         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
12119         Use C comments.
12120         Merge ../gcc/config/i386/sol2-gc1.asm.
12121         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
12122         Use C comments.
12123         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
12124         Use C comments.
12125         * config/i386/t-crtfm (crtfastmath.o): Use $<.
12126         * config/i386/t-crtstuff: New file.
12127         * config/i386/t-softfp: New file.
12128         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
12129         $(T)crti.o, $(T)crtn.o): Remove.
12130         (gcrt1.o): New rule.
12131         (TARGET_LIBGCC2_CFLAGS): Remove.
12132         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
12133         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
12134         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
12135         * config/sparc/t-sol2: New file.
12136         * config/sparc/t-crtfm: Move to ...
12137         * config/t-crtfm: ... this.
12138         Use $(cpu_type), $<.
12139         * config/t-crtin: New file.
12140         * config/sparc/t-softfp: New file.
12141         * config/sparc/t-softmul: New file.
12142         * config/t-rtems: New file.
12143         * config/t-slibgcc: New file.
12144         * config/t-slibgcc-elf-ver: New file.
12145         * config/t-slibgcc-gld: New file.
12146         * config/t-slibgcc-sld: New file.
12147         * config/t-sol2: New file.
12148         * configure.ac: Include ../config/lib-ld.m4.
12149         Call AC_LIB_PROG_LD_GNU.
12150         Substitute cpu_type.
12151         * configure: Regenerate.
12153 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
12155         PR bootstrap/49173
12156         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
12157         libgcc-std.ver in the build directory.
12158         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
12159         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
12161 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
12163         * libgcc-std.ver.in: New file.
12164         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
12165         variables.
12166         (libgcc-std.ver): New rule.
12167         * config/t-gnu-prefix: New file.
12169 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12171         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
12173 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
12175         * config/i386/darwin-lib.h: New file.
12177 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
12179         * config/arm/symbian-lib.h: New.
12181 2011-05-04  Chris Demetriou  <cgd@google.com>
12183         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
12184         (__x86.get_pc_thunk.bx): ...this.
12185         (__morestack): Adjust for rename, remove undef of __i686.
12187 2011-05-03  Chris Demetriou  <cgd@google.com>
12189         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
12191 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
12193         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
12194         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
12195         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
12196         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
12197         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
12198         Remove cases.
12200 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
12202         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
12203         Adjust copyright year.
12205 2011-03-07  Ian Lance Taylor  <iant@google.com>
12207         * generic-morestack.c (__splitstack_find): Adjust returned stack
12208         pointer to include all registers pushed by __morestack.
12210 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
12212         PR target/40125
12213         * configure.ac: Call ACX_NONCANONICAL_TARGET.
12214         (toolexecdir): Calculate and AC_SUBST.
12215         (toolexeclibdir): Likewise.
12216         * Makefile.in (target_noncanonical): Import.
12217         (toolexecdir): Likewise.
12218         (toolexeclibdir): Likewise.
12219         * configure: Regenerate.
12221 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
12223         PR target/46040
12224         * config/arm/bpabi.h: Rename to...
12225         * config/arm/bpabi-lib.h: ...this.
12227 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12229         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
12230         appropriate.
12231         * configure: Regenerate.
12233 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
12235         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
12236         __FLOAT_WORD_ORDER__.
12237         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
12238         Delete.
12240 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12242         PR other/46202
12243         * Makefile.in (install-strip): New phony target.
12245 2010-11-07  Ian Lance Taylor  <iant@google.com>
12247         PR target/46089
12248         * config/i386/morestack.S (__morestack_large_model): New
12249         function.
12251 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
12253         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
12254         Delete.
12255         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
12257 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
12259         * config/arm/bpabi.h: New file.
12260         * config/frv/frv-abi.h: New file.
12262 2010-10-01  Ian Lance Taylor  <iant@google.com>
12264         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
12265         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
12267 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
12269         PR target/45858
12270         * config.host: Add the missing `$'.
12272 2010-09-30  Michael Eager  <eager@eagercon.com>
12274         * config.host: Add microblaze*-*-*.
12275         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
12276         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
12277         udivsi3.asm,umodsi3.asm}:  New.
12279 2010-09-28  Ian Lance Taylor  <iant@google.com>
12281         * configure.ac: Adjust CFI test to test assembler directly rather
12282         than checking gcc preprocessor macro.
12283         * configure: Rebuild.
12285 2010-09-27  Ian Lance Taylor  <iant@google.com>
12287         * configure.ac: Test whether assembler supports CFI directives.
12288         * config.host: Only add t-stack and i386/t-stack-i386 to
12289         tmake_file if libgcc_cv_cfi is "yes".
12290         * configure: Rebuild.
12292 2010-09-27  Ian Lance Taylor  <iant@google.com>
12294         * generic-morestack.h: New file.
12295         * generic-morestack.c: New file.
12296         * generic-morestack-thread.c: New file.
12297         * config/i386/morestack.S: New file.
12298         * config/t-stack: New file.
12299         * config/i386/t-stack-i386: New file.
12300         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
12301         i386/t-stack-i386 to tmake_file.
12303 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
12305         * Makefile.in (libgcc-extra-parts):  Check for static archives and
12306         invoke ranlib after installing them.
12307         (gcc-extra-parts): Likewise.
12308         (install-leaf): Likewise.
12310 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
12312         * configure: Regenerated.
12314 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
12316         * configure: Regenerated.
12318 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
12319             Andrew Pinski  <pinskia@gmail.com>
12321         PR target/40959
12322         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
12324 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12326         PR target/45524
12327         * configure: Regenerated.
12329 2010-09-06  Andreas Schwab  <schwab@redhat.com>
12331         * configure: Regenerate.
12333 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
12335         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
12336         64bit targets.
12337         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
12338         for 64bit targets.
12340 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
12341             Iain Sandoe  <iains@gcc.gnu.org>
12343         PR target/45476
12344         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
12345         LIB2FUNCS_EXCLUDE functions.
12347 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12349         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
12350         Include dfp.m4.
12351         * configure: Regenerate.
12353 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
12355         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
12356         i386/t-freebsd to tmake_file.
12357         * config/i386/t-freebsd: New file.
12358         * config/i386/libgcc-bsd.ver: New file.
12360 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
12362         * config.host (powerpc*-eabispe*): Set tmake_file.
12363         (powerpc*-eabi*): Likewise.
12364         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
12365         crtbeginS, crtendS, crtbeginT.
12367 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
12369         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
12370         to tmake_file.  Add crtfastmath.o to extra_parts.
12371         * config/mips/t-crtfm: New.
12373 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
12375         * config.host (sparc64-*-rtems*): New target.
12377 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12379         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12380         assembler syntax.
12382 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
12384         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
12386 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12388         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
12389         alpha-dec-osf5.0* support.
12391 2010-04-01  Ralf CorsĂ©pius  <ralf.corsepius@rtems.org>
12393         * config.host: Add lm32-*-rtems*.
12395 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12396             Uros Bizjak  <ubizjak@gmail.com>
12398         PR target/39048
12399         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
12400         like other remaining 32-bit x86 OSes.
12401         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12402         assembler syntax.
12403         * config/i386/libgcc-sol2.ver: New file.
12404         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
12406 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
12408         PR c/43553
12409         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
12410         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
12411         is used and substitute set_use_emutls.
12412         * configure: Regenerated.
12414 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
12416         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
12418 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12420         PR target/38085
12421         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
12422         MULTILIB_CFLAGS.
12423         ($(T)gcrt1.o): Likewise.
12424         ($(T)crt1.o): Likewise.
12425         ($(T)crti.o): Likewise.
12426         ($(T)crtn.o): Likewise.
12428 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12430         PR other/42980
12431         * Makefile.in (install): Use $(MAKE) string in rule, for
12432         parallel make.
12434 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
12436         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
12437         * config/mmix/t-mmix: New file.
12438         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
12440 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
12442         PR java/41991
12443         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
12444         SHLIB_MAPFILES.
12446 2010-01-04  Anthony Green  <green@moxielogic.com>
12448         * config/moxie/crti.asm, config/moxie/crtn.asm,
12449         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
12450         config/moxie/t-moxie: New files.
12451         * config.host: Add t-moxie-softfp reference.
12453 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
12455         PR other/39888
12456         * config/t-slibgcc-darwin: Fix embedded rpaths for
12457         --enable-version-specific-runtime-libs, build extension stub
12458         libs exposing features available from current libgcc_s.
12460 2009-11-11  Jon Beniston  <jon@beniston.com>
12462         * config.host: Add lm32 targets.
12463         * config/lm32: New directory.
12464         * config/lm32/libgcc_lm32.h: New file.
12465         * config/lm32/_mulsi3.c: New file.
12466         * config/lm32/_udivmodsi4.c: New file.
12467         * config/lm32/_divsi3.c: New file.
12468         * config/lm32/_modsi3.c: New file.
12469         * config/lm32/_udivsi3.c: New file.
12470         * config/lm32/_umodsi3.c: New file.
12471         * config/lm32/_lshrsi3.S: New file.
12472         * config/lm32/_ashrsi3.S: New file.
12473         * config/lm32/_ashlsi3.S: New file.
12474         * config/lm32/crti.S: New file.
12475         * config/lm32/crtn.S: New file.
12476         * config/lm32/t-lm32: New file.
12477         * config/lm32/t-elf: New file.
12478         * config/lm32/t-uclinux: New file.
12480 2009-10-26  Nick Clifton  <nickc@redhat.com>
12482         * config.host: Add support for RX target.
12483         * config/rx: New directory.
12484         * config/rx/rx-abi-functions.c: New file. Supplementary
12485         functions for libgcc to support the RX ABI.
12486         * config/rx/rx-abi.h: New file.  Supplementary header file for
12487         libgcc RX ABI functions.
12488         * config/rx/t-rx: New file: Makefile fragment for building
12489         libgcc for the RX.
12491 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
12493         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
12494         constraint of y0 to "g".
12496 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12498         * config.host: Include the s390 makefile fragments.
12499         * config/s390/32/_fixdfdi.c: New file.
12500         * config/s390/32/_fixsfdi.c: New file.
12501         * config/s390/32/_fixtfdi.c: New file.
12502         * config/s390/32/_fixunsdfdi.c: New file.
12503         * config/s390/32/_fixunssfdi.c: New file.
12504         * config/s390/32/_fixunstfdi.c: New file.
12505         * config/s390/32/t-floattodi: New file.
12506         * config/s390/libgcc-glibc.ver: New file.
12507         * config/s390/t-crtstuff: New file.
12508         * config/s390/t-linux: New file.
12509         * config/s390/t-tpf: New file.
12511 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12513         * configure.ac (AC_PREREQ): Bump to 2.64.
12515 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
12517         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
12519 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12521         * configure: Regenerate.
12523 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
12525         * config.host (ia64-hp-*vms*): New target.
12526         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
12527         with ia64-hp-*vms*.
12529 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12531         * configure.ac: Add snippet for maintainer-mode.
12532         * configure: Regenerate.
12533         * Makefile.in (AUTOCONF, configure_deps): New variables.
12534         ($(srcdir)/configure)): New rule, active only with maintainer
12535         mode turned on.
12537 2009-06-23  DJ Delorie  <dj@redhat.com>
12539         Add MeP port.
12540         * config.host: Add mep support.
12542 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
12544         * config.host: Add i386/${host_address}/t-fprules-softfp and
12545         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
12547         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
12548         for mingw targets.
12549         * config/i386/64/_multc3.c: Likewise.
12550         * config/i386/64/_powitf2.c: Likewise.
12551         * config/i386/64/eqtf2.c: Likewise.
12552         * config/i386/64/getf2.c: Likewise.
12553         * config/i386/64/letf2.c: Likewise.
12554         * config/i386/64/letf2.c: Likewise.
12555         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
12556         unsigned long long for x64 mingw targets.
12557         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
12558         (_FP_I_TYPE): Define as long long for x64 mingw target.
12560 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
12562         * config.host (vax-*-linux*): New.
12564 2009-05-31  Anthony Green  <green@moxielogic.com>
12566         * config.host: Add moxie support.
12567         * config/moxie/t-moxie: New file.
12569 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
12571         * config.host: Add i386/${host_address}/t-fprules-softfp and
12572         t-softfp to tmake_file for i[34567]86-*-cygwin*.
12574 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
12576         * config.host: Add i386/${host_address}/t-fprules-softfp to
12577         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
12579 2009-04-09  Nick Clifton  <nickc@redhat.com>
12581         * config/ia64/tf-signs.c: Change copyright header to refer to
12582         version 3 of the GNU General Public License with version 3.1
12583         of the GCC Runtime Library Exception and to point readers at
12584         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
12585         web page.
12586         * config/i386/32/tf-signs.c: Likewise.
12587         * config/libbid/_addsub_dd.c: Likewise.
12588         * config/libbid/_addsub_sd.c: Likewise.
12589         * config/libbid/_addsub_td.c: Likewise.
12590         * config/libbid/_dd_to_df.c: Likewise.
12591         * config/libbid/_dd_to_di.c: Likewise.
12592         * config/libbid/_dd_to_sd.c: Likewise.
12593         * config/libbid/_dd_to_sf.c: Likewise.
12594         * config/libbid/_dd_to_si.c: Likewise.
12595         * config/libbid/_dd_to_td.c: Likewise.
12596         * config/libbid/_dd_to_tf.c: Likewise.
12597         * config/libbid/_dd_to_udi.c: Likewise.
12598         * config/libbid/_dd_to_usi.c: Likewise.
12599         * config/libbid/_dd_to_xf.c: Likewise.
12600         * config/libbid/_df_to_dd.c: Likewise.
12601         * config/libbid/_df_to_sd.c: Likewise.
12602         * config/libbid/_df_to_td.c: Likewise.
12603         * config/libbid/_di_to_dd.c: Likewise.
12604         * config/libbid/_di_to_sd.c: Likewise.
12605         * config/libbid/_di_to_td.c: Likewise.
12606         * config/libbid/_div_dd.c: Likewise.
12607         * config/libbid/_div_sd.c: Likewise.
12608         * config/libbid/_div_td.c: Likewise.
12609         * config/libbid/_eq_dd.c: Likewise.
12610         * config/libbid/_eq_sd.c: Likewise.
12611         * config/libbid/_eq_td.c: Likewise.
12612         * config/libbid/_ge_dd.c: Likewise.
12613         * config/libbid/_ge_sd.c: Likewise.
12614         * config/libbid/_ge_td.c: Likewise.
12615         * config/libbid/_gt_dd.c: Likewise.
12616         * config/libbid/_gt_sd.c: Likewise.
12617         * config/libbid/_gt_td.c: Likewise.
12618         * config/libbid/_isinfd128.c: Likewise.
12619         * config/libbid/_isinfd32.c: Likewise.
12620         * config/libbid/_isinfd64.c: Likewise.
12621         * config/libbid/_le_dd.c: Likewise.
12622         * config/libbid/_le_sd.c: Likewise.
12623         * config/libbid/_le_td.c: Likewise.
12624         * config/libbid/_lt_dd.c: Likewise.
12625         * config/libbid/_lt_sd.c: Likewise.
12626         * config/libbid/_lt_td.c: Likewise.
12627         * config/libbid/_mul_dd.c: Likewise.
12628         * config/libbid/_mul_sd.c: Likewise.
12629         * config/libbid/_mul_td.c: Likewise.
12630         * config/libbid/_ne_dd.c: Likewise.
12631         * config/libbid/_ne_sd.c: Likewise.
12632         * config/libbid/_ne_td.c: Likewise.
12633         * config/libbid/_sd_to_dd.c: Likewise.
12634         * config/libbid/_sd_to_df.c: Likewise.
12635         * config/libbid/_sd_to_di.c: Likewise.
12636         * config/libbid/_sd_to_sf.c: Likewise.
12637         * config/libbid/_sd_to_si.c: Likewise.
12638         * config/libbid/_sd_to_td.c: Likewise.
12639         * config/libbid/_sd_to_tf.c: Likewise.
12640         * config/libbid/_sd_to_udi.c: Likewise.
12641         * config/libbid/_sd_to_usi.c: Likewise.
12642         * config/libbid/_sd_to_xf.c: Likewise.
12643         * config/libbid/_sf_to_dd.c: Likewise.
12644         * config/libbid/_sf_to_sd.c: Likewise.
12645         * config/libbid/_sf_to_td.c: Likewise.
12646         * config/libbid/_si_to_dd.c: Likewise.
12647         * config/libbid/_si_to_sd.c: Likewise.
12648         * config/libbid/_si_to_td.c: Likewise.
12649         * config/libbid/_td_to_dd.c: Likewise.
12650         * config/libbid/_td_to_df.c: Likewise.
12651         * config/libbid/_td_to_di.c: Likewise.
12652         * config/libbid/_td_to_sd.c: Likewise.
12653         * config/libbid/_td_to_sf.c: Likewise.
12654         * config/libbid/_td_to_si.c: Likewise.
12655         * config/libbid/_td_to_tf.c: Likewise.
12656         * config/libbid/_td_to_udi.c: Likewise.
12657         * config/libbid/_td_to_usi.c: Likewise.
12658         * config/libbid/_td_to_xf.c: Likewise.
12659         * config/libbid/_tf_to_dd.c: Likewise.
12660         * config/libbid/_tf_to_sd.c: Likewise.
12661         * config/libbid/_tf_to_td.c: Likewise.
12662         * config/libbid/_udi_to_dd.c: Likewise.
12663         * config/libbid/_udi_to_sd.c: Likewise.
12664         * config/libbid/_udi_to_td.c: Likewise.
12665         * config/libbid/_unord_dd.c: Likewise.
12666         * config/libbid/_unord_sd.c: Likewise.
12667         * config/libbid/_unord_td.c: Likewise.
12668         * config/libbid/_usi_to_dd.c: Likewise.
12669         * config/libbid/_usi_to_sd.c: Likewise.
12670         * config/libbid/_usi_to_td.c: Likewise.
12671         * config/libbid/_xf_to_dd.c: Likewise.
12672         * config/libbid/_xf_to_sd.c: Likewise.
12673         * config/libbid/_xf_to_td.c: Likewise.
12674         * config/libbid/bid128.c: Likewise.
12675         * config/libbid/bid128_2_str.h: Likewise.
12676         * config/libbid/bid128_2_str_macros.h: Likewise.
12677         * config/libbid/bid128_2_str_tables.c: Likewise.
12678         * config/libbid/bid128_add.c: Likewise.
12679         * config/libbid/bid128_compare.c: Likewise.
12680         * config/libbid/bid128_div.c: Likewise.
12681         * config/libbid/bid128_fma.c: Likewise.
12682         * config/libbid/bid128_logb.c: Likewise.
12683         * config/libbid/bid128_minmax.c: Likewise.
12684         * config/libbid/bid128_mul.c: Likewise.
12685         * config/libbid/bid128_next.c: Likewise.
12686         * config/libbid/bid128_noncomp.c: Likewise.
12687         * config/libbid/bid128_quantize.c: Likewise.
12688         * config/libbid/bid128_rem.c: Likewise.
12689         * config/libbid/bid128_round_integral.c: Likewise.
12690         * config/libbid/bid128_scalb.c: Likewise.
12691         * config/libbid/bid128_sqrt.c: Likewise.
12692         * config/libbid/bid128_string.c: Likewise.
12693         * config/libbid/bid128_to_int16.c: Likewise.
12694         * config/libbid/bid128_to_int32.c: Likewise.
12695         * config/libbid/bid128_to_int64.c: Likewise.
12696         * config/libbid/bid128_to_int8.c: Likewise.
12697         * config/libbid/bid128_to_uint16.c: Likewise.
12698         * config/libbid/bid128_to_uint32.c: Likewise.
12699         * config/libbid/bid128_to_uint64.c: Likewise.
12700         * config/libbid/bid128_to_uint8.c: Likewise.
12701         * config/libbid/bid32_to_bid128.c: Likewise.
12702         * config/libbid/bid32_to_bid64.c: Likewise.
12703         * config/libbid/bid64_add.c: Likewise.
12704         * config/libbid/bid64_compare.c: Likewise.
12705         * config/libbid/bid64_div.c: Likewise.
12706         * config/libbid/bid64_fma.c: Likewise.
12707         * config/libbid/bid64_logb.c: Likewise.
12708         * config/libbid/bid64_minmax.c: Likewise.
12709         * config/libbid/bid64_mul.c: Likewise.
12710         * config/libbid/bid64_next.c: Likewise.
12711         * config/libbid/bid64_noncomp.c: Likewise.
12712         * config/libbid/bid64_quantize.c: Likewise.
12713         * config/libbid/bid64_rem.c: Likewise.
12714         * config/libbid/bid64_round_integral.c: Likewise.
12715         * config/libbid/bid64_scalb.c: Likewise.
12716         * config/libbid/bid64_sqrt.c: Likewise.
12717         * config/libbid/bid64_string.c: Likewise.
12718         * config/libbid/bid64_to_bid128.c: Likewise.
12719         * config/libbid/bid64_to_int16.c: Likewise.
12720         * config/libbid/bid64_to_int32.c: Likewise.
12721         * config/libbid/bid64_to_int64.c: Likewise.
12722         * config/libbid/bid64_to_int8.c: Likewise.
12723         * config/libbid/bid64_to_uint16.c: Likewise.
12724         * config/libbid/bid64_to_uint32.c: Likewise.
12725         * config/libbid/bid64_to_uint64.c: Likewise.
12726         * config/libbid/bid64_to_uint8.c: Likewise.
12727         * config/libbid/bid_b2d.h: Likewise.
12728         * config/libbid/bid_binarydecimal.c: Likewise.
12729         * config/libbid/bid_conf.h: Likewise.
12730         * config/libbid/bid_convert_data.c: Likewise.
12731         * config/libbid/bid_decimal_data.c: Likewise.
12732         * config/libbid/bid_decimal_globals.c: Likewise.
12733         * config/libbid/bid_div_macros.h: Likewise.
12734         * config/libbid/bid_dpd.c: Likewise.
12735         * config/libbid/bid_flag_operations.c: Likewise.
12736         * config/libbid/bid_from_int.c: Likewise.
12737         * config/libbid/bid_functions.h: Likewise.
12738         * config/libbid/bid_gcc_intrinsics.h: Likewise.
12739         * config/libbid/bid_inline_add.h: Likewise.
12740         * config/libbid/bid_internal.h: Likewise.
12741         * config/libbid/bid_round.c: Likewise.
12742         * config/libbid/bid_sqrt_macros.h: Likewise.
12744 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
12746         * Makefile.in: Change copyright header to refer to version
12747         3 of the GNU General Public License and to point readers at the
12748         COPYING3 file and the FSF's license web page.
12749         * config.host: Likewise.
12751 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
12753         * config.host: Reorder and merge to match config.gcc change.
12755 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
12757         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
12759 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
12761         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
12762         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
12763         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
12764         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
12766 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
12768         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
12769         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12771 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
12773         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
12774         ia64/t-softfp-compat to tmake_file.
12776         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
12778         * config/ia64/__divxf3.asm: New.
12779         * config/ia64/_fixtfdi.asm: Likewise.
12780         * config/ia64/_fixunstfdi.asm: Likewise.
12781         * config/ia64/_floatditf.asm: Likewise.
12782         * config/ia64/t-fprules-softfp: Likewise.
12783         * config/ia64/t-softfp-compat: Likewise.
12784         * config/ia64/tf-signs.c: Likewise.
12786 2009-01-18  Ben Elliston  <bje@au.ibm.com>
12788         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12790 2009-01-16  Ben Elliston  <bje@au.ibm.com>
12792         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
12793         to tmake_file.
12795 2009-01-13  Ben Elliston  <bje@au.ibm.com>
12797         * config/t-softfp: New file.
12798         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
12799         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
12801 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
12803         * config.host: Add m32r*-*-rtems*.
12805 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
12807         * config.host: Add m32c*-*-rtems*.
12809 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12811         PR bootstrap/33100
12812         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
12813         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
12814         * configure: Regenerate.
12815         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
12816         tmake_file here from gcc/config.gcc.
12817         Move extra_parts here from gcc/config.gcc.
12818         * config/i386/t-sol2: Move here from gcc/config/i386.
12819         Use gcc_srcdir instead of srcdir.
12821 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
12823         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
12824         case.
12826 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
12828         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
12830 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
12832         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
12834 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
12836         Add picoChip port.
12837         * config.host: Add picochip-*-*.
12839 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
12841         * config.host: Match more processor names for Xtensa.
12843 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
12845         * config/i386/64/t-softfp-compat: Update comments.
12847 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
12849         * config/i386/64/_divtc3-compat.c: Moved to ...
12850         * config/i386/64/_divtc3.c: Here.
12852         * config/i386/64/_multc3-compat.c: Moved to ...
12853         * config/i386/64/_multc3.c: Here.
12855         * config/i386/64/_powitf2-compat.c: Moved to ...
12856         * config/i386/64/_powitf2.c: Here.
12858         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
12859         .c suffix instead of -compat.c.
12861 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
12863         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
12864         (_FP_MUL_MEAT_D): Ditto.
12865         (_FP_DIV_MEAT_S): Ditto.
12866         (_FP_DIV_MEAT_D): Ditto.
12868 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
12870         * Makefile.in: Add support for __sync_* libgcc functions.
12872 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
12874         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
12876 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12878         PR boostrap/36702
12879         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
12880         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
12882         * config/i386/64/t-fprules-softfp: Moved to ...
12883         * config/i386/64/t-softfp-compat: This.  New.
12885 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
12887         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
12888         Initialize f with 0.0.
12890 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12892         PR target/36669
12893         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
12895         * config/i386/64/_divtc3-compat.c: New.
12896         * config/i386/64/_multc3-compat.c: Likewise.
12897         * config/i386/64/_powitf2-compat.c: Likewise.
12898         * config/i386/64/eqtf2.c: Likewise.
12899         * config/i386/64/getf2.c: Likewise.
12900         * config/i386/64/letf2.c: Likewise.
12901         * config/i386/64/t-fprules-softfp: Likewise.
12903 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12905         * config.host: Add i386/${host_address}/t-fprules-softfp to
12906         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
12907         i[34567]86-*-linux*, x86_64-*-linux*.
12909         * configure.ac: Set host_address to 64 or 32 for x86.
12910         * configure: Regenerated.
12912         * Makefile.in (config.status): Also depend on
12913         $(srcdir)/config.host.
12915         * config/i386/32/t-fprules-softfp: New.
12916         * config/i386/32/tf-signs.c: Likewise.
12918         * config/i386/64/sfp-machine.h: New. Moved from gcc.
12920 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12921             Uros Bizjak  <ubizjak@gmail.com>
12923         * config/i386/32/sfp-machine.h: New.
12925 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
12927         * config/rs6000/t-ppccomm: Remove rules that conflict with
12928         auto-generated rules.
12930 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12932         * configure.ac: sinclude override.m4.
12933         * configure: Regenerate.
12935 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
12937         * configure: Regenerate.
12939 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
12941         * Makefile.in (DECNUMINC): Remove
12942         -I$(MULTIBUILDTOP)../../libdecnumber.
12943         * gstdint.h: New.
12945 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
12947         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
12948         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
12949         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
12950         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
12951         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
12952         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
12953         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
12954         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
12955         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
12956         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
12957         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
12958         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
12959         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
12960         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
12962 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
12964         * config.host (sh2[lbe]*-*-linux*): Allow target.
12966 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
12968         * config/rs6000/t-ppccomm: Add build rules for new files.
12969         (LIB2ADD_ST): New variable.
12971 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
12973         PR target/34210
12974         PR target/35508
12975         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
12976         * config/t-avr: New file. Build 16bit libgcc functions.
12978 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
12980         PR target/35401
12981         * config/t-slibgcc-darwin: Make install-leaf dependent on
12982         install-darwin-libgcc-stubs instead of install.
12984 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
12986         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
12987         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
12988         sh-*-rtemscoff*): Remove cases.
12990 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
12992         * Makefile.in (all): Use install-leaf rather than install.
12993         (install): Split most of the rule into...
12994         (install-leaf): ...this new one.
12996 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
12997             Paolo Bonzini  <bonzini@gnu.org>
12999         PR target/30572
13000         * Makefile.in: Use @shlib_slibdir@ substitution to get
13001         correct install name on darwin.
13002         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
13004 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
13006         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
13007         cris-*-elf and cris-*-none.
13008         (crisv32-*-linux*): Similar, as cris-*-linux*.
13010 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
13012         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
13014 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
13016         PR regression/33926
13017         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
13018         * configure: Regenerated.
13020 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
13022         * Makefile.in (dfp-filenames): Replace decimal_globals,
13023         decimal_data, binarydecimal and convert_data with
13024         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
13025         and bid_convert_data, respectively.
13027 2007-09-17  Chao-ying Fu  <fu@mips.com>
13028             Nigel Stephens  <nigel@mips.com>
13030         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
13031         * Makefile.in (fixed_point): Define.
13032         Check if fixed_point is yes to build support functions.
13033         * configure.ac: Check for fixed_point support.
13034         * configure: Regenerated.
13035         * gen-fixed.sh: New file to generate lists of fixed-point labels,
13036         funcs, modes, from, to.
13038 2007-09-11  Janis Johnson  <janis187@us.ibm.com
13040         * Makefile.in (dfp-filenames): Add bid128_noncomp.
13042 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
13044         * Makefile.in (dfp-filenames): Remove decUtility, add
13045         decDouble, decPacked, decQuad, decSingle.
13047 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
13049         * config.host : Add x86_64-elf target.
13051 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
13053         * configure.ac (set_have_cc_tls): Add a missing =.
13054         * configure: Regenerated.
13056 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
13058         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
13059         and x86_64-*-linux*.
13061         * config/t-tls: New file.
13063         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
13065         * configure.ac: Include ../config/enable.m4 and
13066         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
13067         supports TLS and substitute set_have_cc_tls.
13068         * configure: Regenerated.
13070 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
13072         * Makefile.in: Use libbid for DFP when BID is enabled.
13074 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
13076         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
13077         extra_parts. Add config/i386/t-cygming to tmake_file.
13078         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
13080 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
13081             Danny Smith  <dannysmith@users.sourceforge.net>
13083         PR target/29498
13084         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
13085         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
13086         * config/i386/t-crtfm: Compile crtfastmath.o with
13087         -minline-all-stringops.
13089 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
13091         * config.host (sparc-wrs-vxworks): New target.
13093 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
13095         * config.host: Recognize fido.
13097 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
13099         * configure: Check host, not target, for decimal float support.
13101 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
13103         * config/i386/t-crtpc: New file.
13104         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
13105         (x86_64-*-linux*): Ditto.
13107 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
13109         * config.host (x86_64-*-mingw*): New target.
13111 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
13112             H.J. Lu  <hongjiu.lu@intel.com>
13114         * Makefile.in (enable_decimal_float): New.
13115         (DECNUMINC): Add
13116         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
13117         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
13118         (decbits-filenames): This.
13119         (decbits-objects): New.
13120         (libgcc-objects): Add $(decbits-objects).
13122         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
13123         Substitute enable_decimal_float.
13124         * configure: Regenerated.
13126 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
13128         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
13130 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
13132         * Makefile.in (install-info): New dummy target.
13134 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
13136         * config.host (bfin*-linux-uclibc*): Set extra_parts.
13138 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
13140         * Makefile.in: Add install-html and install-pdf dummy
13141         targets.
13143 2007-02-05  Roger Sayle  <roger@eyesopen.com>
13144             Daniel Jacobowitz  <dan@codesourcery.com>
13146         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
13147         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
13148         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
13150 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
13152         * Makefile.in (dec-filenames): Add decExcept.
13154 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
13156         PR bootstrap/30469
13157         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
13158         -fprofile-use.
13160 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
13162         * configure.ac: Add --enable-version-specific-runtime-libs.
13163         Correct $slibdir default.
13164         * configure: Regenerated.
13166 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
13168         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
13170 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
13172         PR target/30519
13173         * config.host (alpha*-*-linux*): Set extra_parts.
13175 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
13177         * config/sh/t-linux: New.
13178         * config.host (sh*-*-linux*): Set tmake_file.
13180 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
13182         * Makefile.in (install): Handle multilibs.
13184 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
13186         * Makefile.in: Added .PHONY entry for documentation targets.
13188 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
13190         * Makefile.in: Add empty info, html, dvi, pdf targets.
13192 2007-01-04  Mike Stump  <mrs@apple.com>
13194         * Makefile.in (MAKEINFO): Remove.
13195         (PERL): Likewise.
13197 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
13199         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
13200         * configure: Regenerate.
13201         * Makefile.in (host_subdir): Substitute it.
13202         (gcc_objdir): Use it.
13204 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
13206         * config.host (ia64*-*-linux*): Set tmake_file.
13208 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
13210         * Makefile.in (version): Define.
13212 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
13213             Paolo Bonzini  <bonzini@gnu.org>
13215         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
13216         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
13217         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
13218         config/sparc/t-crtfm, config/t-slibgcc-darwin,
13219         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
13220         shared-object.mk, siditi-object.mk, static-object.mk: New files.
13221         * configure: Generated.
13223 Copyright (C) 2007-2023 Free Software Foundation, Inc.
13225 Copying and distribution of this file, with or without modification,
13226 are permitted in any medium without royalty provided the copyright
13227 notice and this notice are preserved.