libstdc++: testsuite: Enhance codecvt_unicode with tests for length()
[official-gcc.git] / libgcc / ChangeLog
blob678364b71b781e80400df47662284ca1b3566249
1 2023-10-20  Andrew Stubbs  <ams@codesourcery.com>
3         * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Set false for __RDNA2__.
5 2023-10-20  Alexandre Oliva  <oliva@adacore.com>
7         * Makefile.in (LIB2ADD): Add hardcfr.c.
8         * hardcfr.c: New.
10 2023-10-13  Florian Weimer  <fweimer@redhat.com>
12         * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Add
13         missing cast.
15 2023-10-13  Florian Weimer  <fweimer@redhat.com>
17         * config/arc/linux-unwind.h (arc_fallback_frame_state): Add
18         missing cast.
20 2023-10-13  Florian Weimer  <fweimer@redhat.com>
22         * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Add
23         missing cast.
25 2023-10-13  Florian Weimer  <fweimer@redhat.com>
27         * config/csky/linux-unwind.h (csky_fallback_frame_state): Add
28         missing cast.
30 2023-10-13  Florian Weimer  <fweimer@redhat.com>
32         * config/m68k/fpgnulib.c (__cmpdf2): Declare.
34 2023-09-26  Wilco Dijkstra  <wilco.dijkstra@arm.com>
36         * config/aarch64/lse.S (BTI_C): Remove define.
38 2023-09-20  Pekka Seppänen  <pexu@gcc.mail.kapsi.fi>
40         * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key):
41         Use const unsigned type and a builtin.
43 2023-09-06  Jakub Jelinek  <jakub@redhat.com>
45         PR c/102989
46         * libgcc2.c (bitint_negate): Add function comment.
47         * soft-fp/bitint.h (bitint_negate): Add function comment.
48         (FP_TO_BITINT, FP_FROM_BITINT): Add comment explaining the macros.
50 2023-09-06  Jakub Jelinek  <jakub@redhat.com>
52         PR c/102989
53         * config/aarch64/t-softfp (softfp_extras): Use += rather than :=.
54         * config/i386/64/t-softfp (softfp_extras): Likewise.
55         * config/i386/libgcc-glibc.ver (GCC_14.0.0): Export _BitInt support
56         routines.
57         * config/i386/t-softfp (softfp_extras): Add fixxfbitint and
58         bf, hf and xf mode floatbitint.
59         (CFLAGS-floatbitintbf.c, CFLAGS-floatbitinthf.c): Add -msse2.
60         * config/riscv/t-softfp32 (softfp_extras): Use += rather than :=.
61         * config/rs6000/t-e500v1-fp (softfp_extras): Likewise.
62         * config/rs6000/t-e500v2-fp (softfp_extras): Likewise.
63         * config/t-softfp (softfp_floatbitint_funcs): New.
64         (softfp_bid_list): New.
65         (softfp_func_list): Add sf and df mode from and to _BitInt libcalls.
66         (softfp_bid_file_list): New.
67         (LIB2ADD_ST): Add $(softfp_bid_file_list).
68         * config/t-softfp-sfdftf (softfp_extras): Add fixtfbitint and
69         floatbitinttf.
70         * config/t-softfp-tf (softfp_extras): Likewise.
71         * libgcc2.c (bitint_reduce_prec): New inline function.
72         (BITINT_INC, BITINT_END): Define.
73         (bitint_mul_1, bitint_addmul_1): New helper functions.
74         (__mulbitint3): New function.
75         (bitint_negate, bitint_submul_1): New helper functions.
76         (__divmodbitint4): New function.
77         * libgcc2.h (LIBGCC2_UNITS_PER_WORD): When building _BitInt support
78         libcalls, redefine depending on __LIBGCC_BITINT_LIMB_WIDTH__.
79         (__mulbitint3, __divmodbitint4): Declare.
80         * libgcc-std.ver.in (GCC_14.0.0): Export _BitInt support routines.
81         * Makefile.in (lib2funcs): Add _mulbitint3.
82         (LIB2_DIVMOD_FUNCS): Add _divmodbitint4.
83         * soft-fp/bitint.h: New file.
84         * soft-fp/fixdfbitint.c: New file.
85         * soft-fp/fixsfbitint.c: New file.
86         * soft-fp/fixtfbitint.c: New file.
87         * soft-fp/fixxfbitint.c: New file.
88         * soft-fp/floatbitintbf.c: New file.
89         * soft-fp/floatbitintdf.c: New file.
90         * soft-fp/floatbitinthf.c: New file.
91         * soft-fp/floatbitintsf.c: New file.
92         * soft-fp/floatbitinttf.c: New file.
93         * soft-fp/floatbitintxf.c: New file.
94         * soft-fp/op-common.h (_FP_FROM_INT): Add support for rsize up to
95         4 * _FP_W_TYPE_SIZE rather than just 2 * _FP_W_TYPE_SIZE.
96         * soft-fp/bitintpow10.c: New file.
97         * soft-fp/fixsdbitint.c: New file.
98         * soft-fp/fixddbitint.c: New file.
99         * soft-fp/fixtdbitint.c: New file.
100         * soft-fp/floatbitintsd.c: New file.
101         * soft-fp/floatbitintdd.c: New file.
102         * soft-fp/floatbitinttd.c: New file.
104 2023-09-06  Jakub Jelinek  <jakub@redhat.com>
106         PR c/102989
107         * soft-fp/bitintpow10.h: New file.
109 2023-09-05  Yang Yujie  <yangyujie@loongson.cn>
111         * config.host: add loongarch*-elf target.
113 2023-08-11  Thomas Neumann  <thomas.neumann@in.tum.de>
115         PR libgcc/110956
116         * unwind-dw2-fde.c: Associate object with address of unwinding
117         table.
119 2023-08-07  John Ericson  <git@JohnEricson.me>
121         * configure: Regenerate.
123 2023-08-07  Alan Modra  <amodra@gmail.com>
125         * configure: Regenerate.
127 2023-07-23  Andrew Pinski  <apinski@marvell.com>
129         * config.host (riscv*-*-linux*): Add t-crtstuff to tmake_file.
130         (riscv*-*-freebsd*): Likewise.
131         * config/riscv/t-crtstuff: New file.
133 2023-07-19  liuhongt  <hongtao.liu@intel.com>
135         * config/i386/t-softfp: Add -msse2 to libbid HFtype related
136         files.
138 2023-07-11  Florian Weimer  <fweimer@redhat.com>
140         PR libgcc/110179
141         * unwind-dw2-fde-dip.c (find_fde_tail): Add cast to avoid
142         implicit conversion of pointer value to integer.
144 2023-07-06  Kito Cheng  <kito.cheng@sifive.com>
146         * config/riscv/sfp-machine.h (FP_INIT_ROUNDMODE): Check zfinx.
147         (FP_HANDLE_EXCEPTIONS): Ditto.
149 2023-06-19  Andrew Stubbs  <ams@codesourcery.com>
151         * config/gcn/lib2-divmod-di.c: Reimplement like lib2-divmod.c.
152         * config/gcn/lib2-divmod.c: Likewise.
153         * config/gcn/lib2-gcn.h: Add new types and prototypes for all the
154         new vector libfuncs.
155         * config/gcn/t-amdgcn: Add new files.
156         * config/gcn/amdgcn_veclib.h: New file.
157         * config/gcn/lib2-vec_divmod-di.c: New file.
158         * config/gcn/lib2-vec_divmod-hi.c: New file.
159         * config/gcn/lib2-vec_divmod-qi.c: New file.
160         * config/gcn/lib2-vec_divmod.c: New file.
162 2023-06-19  Andrew Stubbs  <ams@codesourcery.com>
164         * config/gcn/lib2-gcn.h (QItype, UQItype, HItype, UHItype): Delete.
165         (__divhi3, __modhi3, __udivhi3, __umodhi3): Delete.
166         * config/gcn/t-amdgcn: Don't build lib2-divmod-hi.c.
167         * config/gcn/lib2-divmod-hi.c: Removed.
169 2023-06-07  Florian Weimer  <fweimer@redhat.com>
171         PR libgcc/109712
172         * unwind-dw2-fde-dip.c (find_fde_tail): Correct fast path for
173         parsing eh_frame.
175 2023-06-05  Kewen Lin  <linkw@linux.ibm.com>
177         * config/i386/morestack.S: Use @init_array rather than
178         @progbits for section type of section .init_array.
179         * config/rs6000/morestack.S: Likewise.
180         * config/s390/morestack.S: Likewise.
182 2023-06-05  YunQiang Su  <yunqiang.su@cipunited.com>
184         * config/mips/lib1funcs.S: New file.
185         define __speculation_barrier and include mips16.S.
186         * config/mips/t-mips: define LIB1ASMSRC as mips/lib1funcs.S.
187         define LIB1ASMFUNCS as _speculation_barrier.
188         set version info for __speculation_barrier.
189         * config/mips/libgcc-mips.ver: New file.
190         * config/mips/t-mips16: don't define LIB1ASMSRC as mips16.S
191         included in lib1funcs.S now.
193 2023-06-03  Thomas Neumann  <tneumann@users.sourceforge.net>
195         PR libgcc/109670
196         * unwind-dw2-fde.c: Fix radix sort buffer management.
198 2023-06-03  Thomas Neumann  <tneumann@users.sourceforge.net>
200         PR libgcc/109685
201         * unwind-dw2-fde.c: Free sort array in atomic fast path.
203 2023-05-19  Iain Sandoe  <iain@sandoe.co.uk>
205         * config.host: Arrange to set min Darwin OS versions from
206         the configured host version.
207         * config/darwin10-unwind-find-enc-func.c: Do not use current
208         headers, but declare the nexessary structures locally to the
209         versions in use for Mac OSX 10.6.
210         * config/t-darwin: Amend to handle configured min OS
211         versions.
212         * config/t-darwin-min-1: New.
213         * config/t-darwin-min-5: New.
214         * config/t-darwin-min-8: New.
216 2023-05-15  Thomas Neumann  <tneumann@users.sourceforge.net>
218         * unwind-dw2-fde.c: Fix assert in non-atomic path.
220 2023-05-15  Sören Tempel  <soeren+git@soeren-tempel.net>
222         * unwind-dw2-fde.c: Accept empty ranges when deregistering frames.
224 2023-05-02  Patrick O'Neill  <patrick@rivosinc.com>
226         * config/riscv/atomic.c: Change LR.aq/SC.rl pairs into
227         sequentially consistent LR.aqrl/SC.rl pairs.
229 2023-05-01  Dimitar Dimitrov  <dimitar@dinux.eu>
231         * config/pru/t-pru (HOST_LIBGCC2_CFLAGS): Add
232         -DTARGET_HAS_NO_HW_DIVIDE.
234 2023-04-27  Hans-Peter Nilsson  <hp@axis.com>
236         * config/cris/t-cris (HOST_LIBGCC2_CFLAGS): Add
237         -DTARGET_HAS_NO_HW_DIVIDE.
239 2023-04-26  Patrick O'Neill  <patrick@rivosinc.com>
241         PR target/104338
242         * config/riscv/atomic.c: Add reference to duplicate logic.
244 2023-04-08  Tetsuma Hoshino  <t-hoshino@pony-e.jp>
246         PR target/109402
247         * config/v850/lib1funcs.S (___muldi3): Remove unnecessary
248         stack manipulations.
250 2023-04-05  John David Anglin  <danglin@gcc.gnu.org>
252         PR target/109374
253         * config/pa/milli64.S (RETURN_COLUMN): Define.
254         ($$divI): Add CFI directives.
255         ($$divU): Likewise.
256         ($$remI): Likewise.
257         ($$remU): Likewise.
259 2023-03-19  Stafford Horne  <shorne@gmail.com>
261         * config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
262         statement clearing existing exceptions.
264 2023-03-13  Max Filippov  <jcmvbkbc@gmail.com>
266         * config/xtensa/crti.S: Add .note.GNU-stack section on linux.
267         * config/xtensa/crtn.S: Likewise.
268         * config/xtensa/lib1funcs.S: Likewise.
269         * config/xtensa/lib2funcs.S: Likewise.
271 2023-03-12  Jakub Jelinek  <jakub@redhat.com>
273         * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
274         (softfp_truncations): Add tfbf dfbf sfbf hfbf.
275         (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
276         * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
277         __extendbfsf2 and __trunc{s,d,t,h}fbf2.
278         * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
279         * soft-fp/floatundibf.c: New file.
280         * soft-fp/floatdibf.c: New file.
282 2023-03-10  Jakub Jelinek  <jakub@redhat.com>
284         PR target/107703
285         * soft-fp/floattibf.c: New file.
286         * soft-fp/floatuntibf.c: New file.
287         * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
288         * config/i386/64/t-softfp (softfp_extras): Add floattibf and
289         floatuntibf.
290         (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
292 2023-03-08  Kewen Lin  <linkw@linux.ibm.com>
294         PR libgcc/108727
295         * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
296         bump size.
298 2023-03-06   Michael Meissner  <meissner@linux.ibm.com>
300         PR target/107299
301         * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
302         whether long double is IBM or IEEE.
303         (INFINITY): Likewise.
304         (FABS): Likewise.
305         * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
306         (INFINITY): Likewise.
307         * config/rs6000/quad-float128.h (TF): Remove definition.
308         (TFtype): Define to be long double or _Float128.
309         (TCtype): Define to be _Complex long double or _Complex _Float128.
310         * libgcc2.h (TFtype): Allow machine config files to override this.
311         (TCtype): Likewise.
312         * soft-fp/quad.h (TFtype): Likewise.
314 2023-02-13  Kito Cheng  <kito.cheng@sifive.com>
316         * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
317         * config/riscv/value-unwind.h: New.
319 2023-02-03  Christophe Lyon  <christophe.lyon@arm.com>
321         * config/arm/pr-support.c (__gnu_unwind_execute): Use
322         TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
324 2023-01-30  Flavio Cruz  <flaviocruz@gmail.com>
326         * config.host: Recognize x86_64-*-gnu* targets.
327         * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
328         TODO for now.
330 2023-01-23  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
332         * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
333         "0xb5".
335 2023-01-23  Andrea Corallo  <andrea.corallo@arm.com>
336             Tejas Belagod   <tbelagod@arm.com>
337             Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
339         * config/arm/pr-support.c (__gnu_unwind_execute): Decode
340         exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
341         with AUTG if found.
342         * config/arm/unwind-arm.c (struct pseudo_regs): New.
343         (phase1_vrs): Introduce new field to store pseudo-reg state.
344         (phase2_vrs): Likewise.
345         (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
346         (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
347         (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
349 2023-01-18  Wilco Dijkstra  <wilco.dijkstra@arm.com>
351         PR target/107678
352         * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
353         * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
354         * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
355         encode the return address signing state.
356         * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
357         Check current return address signing state.
358         (aarch64_frob_update_contex): Remove.
360 2023-01-13  John David Anglin  <danglin@gcc.gnu.org>
362         * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
363         pa/t-pa64-linux.
364         (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
365         instead of pa/t-hpux and pa/t-pa64.
366         * config/pa/linux-atomic.c: Define u32 type.
367         (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
368         atomic_load_2, atomic_load_4 and atomic_load_8.  Update sync
369         defines to use atomic_load calls for type.
370         (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
371         * config/pa/sync-libfuncs.c: New file.
372         * config/pa/t-netbsd (LIB2ADD_ST): Define.
373         * config/pa/t-openbsd (LIB2ADD_ST): Define.
374         * config/pa/t-pa64-hpux: New file.
375         * config/pa/t-pa64-linux: New file.
377 2023-01-13  Jonathan Wakely  <jwakely@redhat.com>
379         PR libstdc++/108331
380         * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
381         struct matching the previous __gthread_mutex_t struct.
382         (__GTHREAD_LEGACY_MUTEX_T): Define.
384 2023-01-13  Seija Kijin  <doremylover456@gmail.com>
386         * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
387         unified syntax.
389 2023-01-07  LIU Hao  <lh_mouse@126.com>
391         PR middle-end/108300
392         * config/i386/enable-execute-stack-mingw32.c: Define
393         `WIN32_LEAN_AND_MEAN` before <windows.h>.
394         * libgcc2.c: Likewise.
395         * unwind-generic.h: Likewise.
397 2023-01-03  Florian Weimer  <fweimer@redhat.com>
399         * unwind-dw2-execute_cfa.h: New file.  Extracted from
400         the execute_cfa_program function in unwind-dw2.c.
401         * unwind-dw2.c (execute_cfa_program_generic): New function.
402         (execute_cfa_program_specialized): Likewise.
403         (execute_cfa_program): Call execute_cfa_program_specialized
404         or execute_cfa_program_generic, as appropriate.
406 2023-01-03  Florian Weimer  <fweimer@redhat.com>
408         Revert:
409         2023-01-03  Florian Weimer  <fweimer@redhat.com>
411         * unwind-dw2.c (dwarf_reg_size): New function.
412         (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
413         (_Unwind_SetSpColumn, uw_install_context_1): Use it.
414         (uw_init_context_1): Do not initialize dwarf_reg_size_table
415         if not in use.
417 2023-01-03  Florian Weimer  <fweimer@redhat.com>
419         Revert:
420         2023-01-03  Florian Weimer  <fweimer@redhat.com>
422         * unwind-dw2-execute_cfa.h: New file.  Extracted from
423         the execute_cfa_program function in unwind-dw2.c.
424         * unwind-dw2.c (execute_cfa_program_generic): New function.
425         (execute_cfa_program_specialized): Likewise.
426         (execute_cfa_program): Call execute_cfa_program_specialized
427         or execute_cfa_program_generic, as appropriate.
429 2023-01-02  Florian Weimer  <fweimer@redhat.com>
431         * unwind-dw2-execute_cfa.h: New file.  Extracted from
432         the execute_cfa_program function in unwind-dw2.c.
433         * unwind-dw2.c (execute_cfa_program_generic): New function.
434         (execute_cfa_program_specialized): Likewise.
435         (execute_cfa_program): Call execute_cfa_program_specialized
436         or execute_cfa_program_generic, as appropriate.
438 2023-01-02  Florian Weimer  <fweimer@redhat.com>
440         * unwind-dw2.c (dwarf_reg_size): New function.
441         (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
442         (_Unwind_SetSpColumn, uw_install_context_1): Use it.
443         (uw_init_context_1): Do not initialize dwarf_reg_size_table
444         if not in use.
446 2022-12-25  Jonathan Yong  <10walls@gmail.com>
448         * config/i386/gthr-win32.h: undef CC_NONE
450 2022-12-24  Iain Sandoe  <iain@sandoe.co.uk>
452         * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
453         install of libgcc_s.1.dylib when the installation is into the build
454         gcc directory.
456 2022-12-23  Eric Botcazou  <ebotcazou@adacore.com>
458         * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
459         as well as new i386/t-slibgcc-mingw fragment.
460         (x86_64-*-mingw*): Likewise.
461         * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
462         both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
463         Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
464         Include stdlib.h instead of errno.h and do not include _mingw.h.
465         (CONST_CAST2): Add specific definition for C++.
466         (ATTRIBUTE_UNUSED): New macro.
467         (__UNUSED_PARAM): Delete.
468         Define WIN32_LEAN_AND_MEAN before including windows.h.
469         (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
470         (__gthread_objc_init_thread_system): Likewise.
471         (__gthread_objc_thread_get_data): Minor tweak.
472         (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
473         (__gthread_objc_condition_deallocate): Likewise.
474         (__gthread_objc_condition_wait): Likewise.
475         (__gthread_objc_condition_broadcast): Likewise.
476         (__gthread_objc_condition_signal): Likewise.
477         Include sys/time.h.
478         (__gthr_win32_DWORD): New typedef.
479         (__gthr_win32_HANDLE): Likewise.
480         (__gthr_win32_CRITICAL_SECTION): Likewise.
481         (__gthr_win32_CONDITION_VARIABLE): Likewise.
482         (__gthread_t): Adjust.
483         (__gthread_key_t): Likewise.
484         (__gthread_mutex_t): Likewise.
485         (__gthread_recursive_mutex_t): Likewise.
486         (__gthread_cond_t): New typedef.
487         (__gthread_time_t): Likewise.
488         (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
489         (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
490         (__GTHREAD_COND_INIT_FUNCTION): Define.
491         (__GTHREAD_TIME_INIT): Likewise.
492         (__gthr_i486_lock_cmp_xchg): Delete.
493         (__gthr_win32_create): Declare.
494         (__gthr_win32_join): Likewise.
495         (__gthr_win32_self): Likewise.
496         (__gthr_win32_detach): Likewise.
497         (__gthr_win32_equal): Likewise.
498         (__gthr_win32_yield): Likewise.
499         (__gthr_win32_mutex_destroy): Likewise.
500         (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
501         (__gthr_win32_cond_broadcast): Likewise.
502         (__gthr_win32_cond_signal): Likewise.
503         (__gthr_win32_cond_wait): Likewise.
504         (__gthr_win32_cond_timedwait): Likewise.
505         (__gthr_win32_recursive_mutex_init_function): Delete.
506         (__gthr_win32_recursive_mutex_lock): Likewise.
507         (__gthr_win32_recursive_mutex_unlock): Likewise.
508         (__gthr_win32_recursive_mutex_destroy): Likewise.
509         (__gthread_create): New inline function.
510         (__gthread_join): Likewise.
511         (__gthread_self): Likewise.
512         (__gthread_detach): Likewise.
513         (__gthread_equal): Likewise.
514         (__gthread_yield): Likewise.
515         (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
516         (__gthread_cond_broadcast): Likewise.
517         (__gthread_cond_signal): Likewise.
518         (__gthread_cond_wait): Likewise.
519         (__gthread_cond_timedwait): Likewise.
520         (__GTHREAD_WIN32_INLINE): New macro.
521         (__GTHREAD_WIN32_COND_INLINE): Likewise.
522         (__GTHREAD_WIN32_ACTIVE_P): Likewise.
523         Define WIN32_LEAN_AND_MEAN before including windows.h.
524         (__gthread_once): Minor tweaks.
525         (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
526         (__gthread_key_delete): Minor tweak.
527         (__gthread_getspecific): Likewise.
528         (__gthread_setspecific): Likewise.
529         (__gthread_mutex_init_function): Reimplement.
530         (__gthread_mutex_destroy): Likewise.
531         (__gthread_mutex_lock): Likewise.
532         (__gthread_mutex_trylock): Likewise.
533         (__gthread_mutex_unlock): Likewise.
534         (__gthr_win32_abs_to_rel_time): Declare.
535         (__gthread_recursive_mutex_init_function): Reimplement.
536         (__gthread_recursive_mutex_destroy): Likewise.
537         (__gthread_recursive_mutex_lock): Likewise.
538         (__gthread_recursive_mutex_trylock): Likewise.
539         (__gthread_recursive_mutex_unlock): Likewise.
540         (__gthread_cond_destroy): New inline function.
541         (__gthread_cond_wait_recursive): Likewise.
542         * config/i386/gthr-win32.c: Delete everything.
543         Include gthr-win32.h to get the out-of-line version of inline routines.
544         Add compile-time checks for the local version of the Win32 types.
545         * config/i386/gthr-win32-cond.c: New file.
546         * config/i386/gthr-win32-thread.c: Likewise.
547         * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
548         EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
549         the static version of libgcc.
550         * config/i386/t-slibgcc-mingw: New file.
551         * config/i386/libgcc-mingw.ver: Likewise.
553 2022-12-16  Thomas Neumann  <tneumann@users.sourceforge.net>
555         * unwind-dw2-fde.c: Initialize fde object lazily when
556         the first exception tries to pass through.
558 2022-12-16  Thomas Neumann  <tneumann@users.sourceforge.net>
560         * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
562 2022-12-08  Max Filippov  <jcmvbkbc@gmail.com>
564         * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
565         (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
566         (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
567         (XSHAL_ABI): Remove stray symbols from macro definitions.
569 2022-12-07  Max Filippov  <jcmvbkbc@gmail.com>
571         * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
572         xtensa-config-builtin.h.
573         * config/xtensa/crtn.S: Likewise.
574         * config/xtensa/lib1funcs.S: Likewise.
575         * config/xtensa/lib2funcs.S: Likewise.
576         * config/xtensa/xtensa-config-builtin.h: New File.
578 2022-11-04  Florian Weimer  <fweimer@redhat.com>
580         * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
581         values actually used by BFD ld.
583 2022-10-23  LIU Hao  <lh_mouse@126.com>
585         * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
586         libobjc, instead of 'gthr.h'
588 2022-10-19  LIU Hao  <lh_mouse@126.com>
590         * config.host: Add new cases for `mcf` thread model
591         * config/i386/gthr-mcf.h: New file
592         * config/i386/t-mingw-mcfgthread: New file
593         * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
594         * configure: Regenerate
596 2022-10-18  Jonathan Wakely  <jwakely@redhat.com>
598         * Makefile.in: Quote variable.
600 2022-10-17  H.J. Lu  <hjl.tools@gmail.com>
602         * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
603         argument.
604         * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
605         _Unwind_Frames_Increment.
606         (_Unwind_ForcedUnwind_Phase2): Likewise.
607         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
608         Take the EXC argument.  Return _URC_FATAL_PHASE2_ERROR if the
609         return address on normal stack doesn't match the return address
610         on shadow stack.
612 2022-10-17  Florian Weimer  <fweimer@redhat.com>
614         * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
615         and reduce its size.
617 2022-10-14  Jakub Jelinek  <jakub@redhat.com>
619         * config/i386/t-softfp (softfp_extensions): Add bfsf.
620         (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
621         (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
622         CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
623         -msse2.
624         * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
625         __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
626         * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
627         * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
628         * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
629         * soft-fp/brain.h: New file.
630         * soft-fp/truncsfbf2.c: New file.
631         * soft-fp/truncdfbf2.c: New file.
632         * soft-fp/truncxfbf2.c: New file.
633         * soft-fp/trunctfbf2.c: New file.
634         * soft-fp/trunchfbf2.c: New file.
635         * soft-fp/truncbfhf2.c: New file.
636         * soft-fp/extendbfsf2.c: New file.
638 2022-10-12  Martin Liska  <mliska@suse.cz>
640         * libgcov-driver.c: Use new function.
641         * libgcov.h (gcov_write_summary): Rename to ...
642         (gcov_write_object_summary): ... this.
644 2022-10-11  Olivier Hainque  <hainque@adacore.com>
646         * config.host (*vxworks*): When enable_shared, add
647         libgcc and crtstuff "shared" fragments for rtp except
648         large code model.
649         (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
650         the list of fragments.
652 2022-10-06  Jakub Jelinek  <jakub@redhat.com>
654         * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
655         fs->regs.how[X] instead of fs->regs.reg[X].how.
657 2022-10-06  Jakub Jelinek  <jakub@redhat.com>
659         * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
660         REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
661         REG_UNDEFINED): New anonymous enum, moved from inside of
662         struct frame_state_reg_info.
663         (struct frame_state_reg_info): Remove reg[].how element and the
664         anonymous enum there.  Add how element.
665         * unwind-dw2.c: Include stddef.h.
666         (uw_frame_state_for): Don't clear first
667         offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
668         (execute_cfa_program, __frame_state_for, uw_update_context_1,
669         uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
670         or fs.regs.how[X] instead of fs.regs.reg[X].how.
671         * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
672         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
673         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
674         * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
675         UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
676         Likewise.
677         * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
678         Likewise.
679         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
680         * config/arc/linux-unwind.h (arc_fallback_frame_state,
681         arc_frob_update_context): Likewise.
682         * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
683         * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
684         * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
685         * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
686         * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
687         * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
688         MD_FALLBACK_FRAME_STATE_FOR): Likewise.
689         * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
690         sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
691         * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
692         x86_fallback_frame_state): Likewise.
693         * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
694         * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
695         x86_fallback_frame_state): Likewise.
696         * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
697         Likewise.
698         * config/i386/dragonfly-unwind.h
699         (x86_64_dragonfly_fallback_frame_state): Likewise.
700         * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
701         * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
702         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
703         Likewise.
704         * config/aarch64/freebsd-unwind.h
705         (aarch64_freebsd_fallback_frame_state): Likewise.
706         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
707         Likewise.
708         * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
709         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
710         * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
711         Likewise.
712         * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
713         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
714         Likewise.
715         * config/rs6000/darwin-fallback.c (set_offset): Likewise.
716         * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
717         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
718         * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
720 2022-10-02  Olivier Hainque  <hainque@adacore.com>
722         * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment.  Move
723         -I options for gcc/include and gcc/include-fixed at the end
724         and make them -isystem.
726 2022-10-02  Olivier Hainque  <hainque@adacore.com>
728         * config/gthr-vxworks.h: Prevent Wpragma warning for the
729         pragma diagnostics on Wstrict-prototypes.
731 2022-09-29  Olivier Hainque  <hainque@adacore.com>
733         * config/vxcrtstuff.c: Improve the comment attached to the use
734         of auto-host.h and of __dso_handle.  Remove redundant guard on
735         HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
737 2022-09-26  Thomas Neumann  <tneumann@users.sourceforge.net>
739         * unwind-dw2-fde.c: Introduce a constant for in_shutdown
740         for the non-fast-path case. Drop destructor priority.
742 2022-09-22  Thomas Neumann  <tneumann@users.sourceforge.net>
744         * unwind-dw2-fde.c: (release_register_frames) Remember
745         when the btree has been destroyed.
746         (__deregister_frame_info_bases) Disable the assert when
747         shutting down.
749 2022-09-18  Thomas Neumann  <tneumann@users.sourceforge.net>
751         * unwind-dw2-fde.c: Replace uintptr_t with typedef
752         for __UINTPTR_TYPE__.
753         * unwind-dw2-btree.h: Likewise.
755 2022-09-16  Thomas Neumann  <tneumann@users.sourceforge.net>
757         * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
758         (__register_frame_info_table_bases): Use btree in atomic fast path.
759         (__deregister_frame_info_bases): Likewise.
760         (_Unwind_Find_FDE): Likewise.
761         (base_from_object): Make parameter const.
762         (classify_object_over_fdes): Add query-only mode.
763         (get_pc_range): Compute PC range for lookup.
764         * unwind-dw2-fde.h (last_fde): Make parameter const.
765         * unwind-dw2-btree.h: New file.
767 2022-08-31  Martin Liska  <mliska@suse.cz>
769         * config.host: Remove hppa.
771 2022-08-30  Martin Liska  <mliska@suse.cz>
773         * config.host: Remove the port.
775 2022-08-26  Martin Liska  <mliska@suse.cz>
777         * config.host: Remove cr16 related stuff.
778         * config/cr16/crti.S: Removed.
779         * config/cr16/crtlibid.S: Removed.
780         * config/cr16/crtn.S: Removed.
781         * config/cr16/divmodhi3.c: Removed.
782         * config/cr16/lib1funcs.S: Removed.
783         * config/cr16/t-cr16: Removed.
784         * config/cr16/t-crtlibid: Removed.
785         * config/cr16/unwind-cr16.c: Removed.
786         * config/cr16/unwind-dw2.h: Removed.
788 2022-08-16  Kito Cheng  <kito.cheng@sifive.com>
790         * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
791         (_FP_NANFRAC_H): Ditto.
792         (_FP_NANSIGN_H): Ditto.
793         * config/riscv/t-softfp32 (softfp_extensions): Add HF related
794         routines.
795         (softfp_truncations): Ditto.
796         (softfp_extras): Ditto.
797         * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
799 2022-08-16  Kito Cheng  <kito.cheng@sifive.com>
801         * soft-fp/fixhfdi.c: New.
802         * soft-fp/fixhfsi.c: Likewise.
803         * soft-fp/fixunshfdi.c: Likewise.
804         * soft-fp/fixunshfsi.c: Likewise.
805         * soft-fp/floatdihf.c: Likewise.
806         * soft-fp/floatsihf.c: Likewise.
807         * soft-fp/floatundihf.c: Likewise.
808         * soft-fp/floatunsihf.c: Likewise.
809         * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
810         lines and update URL for license.
811         * soft-fp/addsf3.c: Likewise.
812         * soft-fp/addtf3.c: Likewise.
813         * soft-fp/divdf3.c: Likewise.
814         * soft-fp/divsf3.c: Likewise.
815         * soft-fp/divtf3.c: Likewise.
816         * soft-fp/double.h: Likewise.
817         * soft-fp/eqdf2.c: Likewise.
818         * soft-fp/eqhf2.c: Likewise.
819         * soft-fp/eqsf2.c: Likewise.
820         * soft-fp/eqtf2.c: Likewise.
821         * soft-fp/extenddftf2.c: Likewise.
822         * soft-fp/extended.h: Likewise.
823         * soft-fp/extendhfdf2.c: Likewise.
824         * soft-fp/extendhfsf2.c: Likewise.
825         * soft-fp/extendhftf2.c: Likewise.
826         * soft-fp/extendhfxf2.c: Likewise.
827         * soft-fp/extendsfdf2.c: Likewise.
828         * soft-fp/extendsftf2.c: Likewise.
829         * soft-fp/extendxftf2.c: Likewise.
830         * soft-fp/fixdfdi.c: Likewise.
831         * soft-fp/fixdfsi.c: Likewise.
832         * soft-fp/fixdfti.c: Likewise.
833         * soft-fp/fixhfti.c: Likewise.
834         * soft-fp/fixsfdi.c: Likewise.
835         * soft-fp/fixsfsi.c: Likewise.
836         * soft-fp/fixsfti.c: Likewise.
837         * soft-fp/fixtfdi.c: Likewise.
838         * soft-fp/fixtfsi.c: Likewise.
839         * soft-fp/fixtfti.c: Likewise.
840         * soft-fp/fixunsdfdi.c: Likewise.
841         * soft-fp/fixunsdfsi.c: Likewise.
842         * soft-fp/fixunsdfti.c: Likewise.
843         * soft-fp/fixunshfti.c: Likewise.
844         * soft-fp/fixunssfdi.c: Likewise.
845         * soft-fp/fixunssfsi.c: Likewise.
846         * soft-fp/fixunssfti.c: Likewise.
847         * soft-fp/fixunstfdi.c: Likewise.
848         * soft-fp/fixunstfsi.c: Likewise.
849         * soft-fp/fixunstfti.c: Likewise.
850         * soft-fp/floatdidf.c: Likewise.
851         * soft-fp/floatdisf.c: Likewise.
852         * soft-fp/floatditf.c: Likewise.
853         * soft-fp/floatsidf.c: Likewise.
854         * soft-fp/floatsisf.c: Likewise.
855         * soft-fp/floatsitf.c: Likewise.
856         * soft-fp/floattidf.c: Likewise.
857         * soft-fp/floattihf.c: Likewise.
858         * soft-fp/floattisf.c: Likewise.
859         * soft-fp/floattitf.c: Likewise.
860         * soft-fp/floatundidf.c: Likewise.
861         * soft-fp/floatundisf.c: Likewise.
862         * soft-fp/floatunditf.c: Likewise.
863         * soft-fp/floatunsidf.c: Likewise.
864         * soft-fp/floatunsisf.c: Likewise.
865         * soft-fp/floatunsitf.c: Likewise.
866         * soft-fp/floatuntidf.c: Likewise.
867         * soft-fp/floatuntihf.c: Likewise.
868         * soft-fp/floatuntisf.c: Likewise.
869         * soft-fp/floatuntitf.c: Likewise.
870         * soft-fp/gedf2.c: Likewise.
871         * soft-fp/gesf2.c: Likewise.
872         * soft-fp/getf2.c: Likewise.
873         * soft-fp/half.h: Likewise.
874         * soft-fp/ledf2.c: Likewise.
875         * soft-fp/lesf2.c: Likewise.
876         * soft-fp/letf2.c: Likewise.
877         * soft-fp/muldf3.c: Likewise.
878         * soft-fp/mulsf3.c: Likewise.
879         * soft-fp/multf3.c: Likewise.
880         * soft-fp/negdf2.c: Likewise.
881         * soft-fp/negsf2.c: Likewise.
882         * soft-fp/negtf2.c: Likewise.
883         * soft-fp/op-1.h: Likewise.
884         * soft-fp/op-2.h: Likewise.
885         * soft-fp/op-4.h: Likewise.
886         * soft-fp/op-8.h: Likewise.
887         * soft-fp/op-common.h: Likewise.
888         * soft-fp/quad.h: Likewise.
889         * soft-fp/single.h: Likewise.
890         * soft-fp/soft-fp.h: Likewise.
891         * soft-fp/subdf3.c: Likewise.
892         * soft-fp/subsf3.c: Likewise.
893         * soft-fp/subtf3.c: Likewise.
894         * soft-fp/truncdfhf2.c: Likewise.
895         * soft-fp/truncdfsf2.c: Likewise.
896         * soft-fp/truncsfhf2.c: Likewise.
897         * soft-fp/trunctfdf2.c: Likewise.
898         * soft-fp/trunctfhf2.c: Likewise.
899         * soft-fp/trunctfsf2.c: Likewise.
900         * soft-fp/trunctfxf2.c: Likewise.
901         * soft-fp/truncxfhf2.c: Likewise.
902         * soft-fp/unorddf2.c: Likewise.
903         * soft-fp/unordsf2.c: Likewise.
904         * soft-fp/unordtf2.c: Likewise.
906 2022-07-18  Claudiu Zissulescu  <claziss@synopsys.com>
908         * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
909         * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
910         configurations.
912 2022-06-25  Jeff Law  <jeffreyalaw@gmail.com>
914         * config.host: Removed tilegx and tilepro entries.
915         * config/tilegx/sfp-machine.h: Removed.
916         * config/tilegx/sfp-machine32.h: Removed.
917         * config/tilegx/sfp-machine64.h: Removed.
918         * config/tilegx/t-crtstuff: Removed.
919         * config/tilegx/t-softfp: Removed.
920         * config/tilegx/t-tilegx: Removed.
921         * config/tilepro/atomic.c: Removed.
922         * config/tilepro/atomic.h: Removed.
923         * config/tilepro/linux-unwind.h: Removed.
924         * config/tilepro/sfp-machine.h: Removed.
925         * config/tilepro/softdivide.c: Removed.
926         * config/tilepro/softmpy.S: Removed.
927         * config/tilepro/t-crtstuff: Removed.
928         * config/tilepro/t-tilepro: Removed.
930 2022-06-09  Takayuki 'January June' Suwa  <jjsuwa_sys3175@yahoo.co.jp>
932         * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
933         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
935 2022-06-01  H.J. Lu  <hjl.tools@gmail.com>
937         PR libgcc/27576
938         * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
940 2022-05-25  Wilco Dijkstra  <wilco.dijkstra@arm.com>
942         PR libgcc/105708
943         * config/aarch64/lse-init.c: Increase constructor priority.
945 2022-05-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
947         PR target/104689
948         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
949         Handle the !REG_UNSAVED case.
950         * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
952 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
954         * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
955         (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
956         (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
958 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
960         * config.host: Add t-dfprules to AArch64 targets.
962 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
964         * configure: Regenerate.
966 2022-05-13  Sebastian Pop  <spop@amazon.com>
968         PR target/105162
969         * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
970         * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
972 2022-05-10  Martin Liska  <mliska@suse.cz>
973             Hans-Peter Helfert  <peter-helfert@t-online.de>
975         PR gcov-profile/105535
976         * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
977         n_functions.
979 2022-05-02  Martin Liska  <mliska@suse.cz>
981         * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
983 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
985         * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
986         (gcov_profile_merge_stream): Likewise.
988 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
990         * libgcov-util.c (consume_stream): New.
991         (get_target_profiles_for_merge): Likewise.
992         (gcov_profile_merge_stream): Likewise.
994 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
996         * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
998 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1000         * libgcov-util.c (read_gcda_file): Do not open file.
1001         (ftw_read_file): Open file here.
1003 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1005         * libgcov-util.c (read_gcda_file): Prepend new info object to global
1006         list.
1007         (ftw_read_file): Remove list append here.
1009 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1011         * libgcov-util.c (read_gcda_file): Do not duplicate filename.
1012         (ftw_read_file): Duplicate filename for read_gcda_file().
1014 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1016         * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
1017         (__gcov_filename_to_gcfn): Declare and document.
1018         * libgcov-driver.c (dump_string): New.
1019         (__gcov_filename_to_gcfn): Likewise.
1020         (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
1022 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1024         * libgcov.h (gcov_seek): Remove define and declaration.
1026 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1028         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
1029         parameter.  Pass mode to gcov_open() calls.
1030         * libgcov-driver.c (dump_one_gcov):  Add mode parameter.  Pass mode to
1031         gcov_exit_open_gcda_file() call.
1032         (gcov_do_dump): Add mode parameter.  Pass mode to dump_one_gcov()
1033         calls.
1034         (__gcov_dump_one):  Open file for reading and writing.
1036 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1038         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
1039         reading and writing.
1040         * libgcov-util.c (read_gcda_file): Open file for reading.
1041         * libgcov.h (gcov_open): Delete declaration.
1043 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1045         * libgcov-util.c (gcov_profile_merge): Return the list of merged
1046         profiles.  Accept empty target and source profile lists.
1048 2022-04-08  Sergei Trofimovich  <siarheit@google.com>
1050         * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
1052 2022-03-29  Chenghua Xu  <xuchenghua@loongson.cn>
1053             Lulu Cheng  <chenglulu@loongson.cn>
1055         * configure: Regenerate file.
1057 2022-03-29  Chenghua Xu  <xuchenghua@loongson.cn>
1058             Lulu Cheng  <chenglulu@loongson.cn>
1060         * config/loongarch/crtfastmath.c: New file.
1061         * config/loongarch/linux-unwind.h: Like wise.
1062         * config/loongarch/sfp-machine.h: Like wise.
1063         * config/loongarch/t-crtstuff: Like wise.
1064         * config/loongarch/t-loongarch: Like wise.
1065         * config/loongarch/t-loongarch64: Like wise.
1066         * config/loongarch/t-softfp-tf: Like wise.
1067         * config.host: Add LoongArch tuples.
1068         * configure.ac: Add LoongArch support.
1070 2022-03-19  Sergei Trofimovich  <slyfox at gentoo dot org>
1072         PR libgcc/86224
1073         * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
1074         for __mulsi3.
1075         (__udivsi3_internal, __divsi3_internal): Similarly.
1076         (__umodsi3, __modsi3): Use the internal function names.
1078 2022-03-09  Tobias Burnus  <tobias@codesourcery.com>
1080         PR target/102215
1081         * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
1082         a line up to non-arg-dependent value first.
1083         (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
1084         __atomic_compare_exchange_{1,2}.
1086 2022-03-04  Iain Sandoe  <iain@sandoe.co.uk>
1088         * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
1089         * config/t-darwin-ehs: Add dependency on unwind.h.
1091 2022-02-24  Xi Ruoyao  <xry111@mengyan1223.wang>
1093         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
1094         with 0 instead of NULL.
1096 2022-02-24  Jose E. Marchesi  <jose.marchesi@oracle.com>
1098         PR target/104656
1099         * configure.ac: --disable-gcov if targetting bpf-*.
1100         * configure: Regenerate.
1102 2022-01-25  Florian Weimer  <fweimer@redhat.com>
1104         PR libgcc/104207
1105         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
1107 2022-01-17  Martin Liska  <mliska@suse.cz>
1109         * libgcov-driver.c: Rename .c names to .cc.
1111 2022-01-15  David  <gccbugzilla@limegreensocks.com>
1113         * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
1114         Remove inlined version, Windows 95 is no longer relevant.
1115         * config/i386/gthr-win32.h
1116         (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
1118 2022-01-14  Claudiu Zissulescu  <claziss@synopsys.com>
1120         * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
1121         DWARF_ALT_FRAME_RETURN_COLUMN macro.
1123 2022-01-04  Florian Weimer  <fweimer@redhat.com>
1125         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
1126         if available.
1128 2022-01-02  John David Anglin  <danglin@gcc.gnu.org>
1130         * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
1131         (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
1132         return is not equal _ASM_EFAULT.
1133         (__kernel_cmpxchg2): Likewise.
1135 2021-12-17  Iain Sandoe  <iain@sandoe.co.uk>
1137         * config.host: Add shim declaration header to powerpc*-darwin builds.
1138         * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
1139         file.
1140         * config/t-darwin-ehs: Add dependencies to the shared unwinder
1141         objects.
1142         * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
1143         the shared EH lib.  Add all-multi to the dependencies for the
1144         libgcc_s.1.dylib redirections.
1146 2021-12-13  Olivier Hainque  <hainque@adacore.com>
1148         * config.host (powerpc*-*-vxworks7*): Remove
1149         rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
1151 2021-12-13  Olivier Hainque  <hainque@adacore.com>
1153         * config.host (*vxworks*): Remove special case for
1154         arm on the use of vxcrtstuff.
1156 2021-12-13  Fred Konrad  <konrad@adacore.com>
1157             Olivier Hainque  <hainque@adacore.com>
1159         * config/t-vxcrtstuffS: New Makefile fragment.
1160         * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
1161         functions for INITFINI_ARRAY support in shared libs and guard
1162         the definition of eh table registration functions on conditions
1163         indicating they are needed.
1165 2021-12-13  Olivier Hainque  <hainque@adacore.com>
1167         * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
1168         ahead of the other files in tmake_files.
1169         * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
1170         overriding it.
1172 2021-12-13  Olivier Hainque  <hainque@adacore.com>
1174         * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
1175         both VxWorks7 and earlier.
1176         * config/t-vxworks7: Remove.
1177         * config.host: Remove special case for vxworks7.
1179 2021-12-11  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1181         * config/vxcrtstuff.c: Make constructor and destructor
1182         functions static when possible.
1184 2021-12-11  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1186         * config/vxcrtstuff.c: Remove constructor/destructor
1187         declarations.
1189 2021-12-10  Iain Sandoe  <iain@sandoe.co.uk>
1191         * config/t-darwin: Add libgcc_tm.h to the dependencies
1192         for darwin10-unwind-find-enc-func.
1194 2021-12-10  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1196         * config/rs6000/t-vxworks: New file.
1197         * config.host (powerpc*-*-vxworks*): Use it instead of
1198         t-ppccomm.
1200 2021-12-09  Fred Konrad  <konrad@adacore.com>
1202         * config.host (powerpc*-wrs-vxworks7*): Fix path to
1203         rs6000/t-ppc64-fp, relative to config/ not libgcc/.
1205 2021-12-09  Olivier Hainque  <hainque@adacore.com>
1206             Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1208         * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
1209         $(LIBGCC2_INCLUDES).
1210         * config/t-vxworks7: Likewise.
1212 2021-12-08  Iain Sandoe  <iain@sandoe.co.uk>
1214         * config.host (*-*-darwin*): Add logic to build a shared
1215         unwinder library for Darwin8-10.
1216         * config/i386/t-darwin: Build legacy libgcc_s.1.
1217         * config/rs6000/t-darwin: Likewise.
1218         * config/t-darwin: Reorganise the EH fragments to place
1219         them for inclusion in a shared EH lib.
1220         * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
1221         the supporting pieces (all FAT libs).
1222         * config/t-darwin-noeh: Removed.
1223         * config/darwin-unwind.ver: New file.
1224         * config/rs6000/t-darwin-ehs: New file.
1225         * config/t-darwin-ehs: New file.
1227 2021-12-06  Nelson Chu  <nelson.chu@sifive.com>
1229         * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
1230         then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
1231         * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
1232         HIDDEN_DEF.
1234 2021-11-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1236         * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
1237         ssize_t and vfork after including auto-host.h.
1239 2021-11-29  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1241         * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
1242         crtend.o to extra_parts.
1244 2021-11-27  John David Anglin  <danglin@gcc.gnu.org>
1246         * config/pa/t-dimode (lib2difuncs): Fix typo.
1248 2021-11-25  Florian Weimer  <fweimer@redhat.com>
1250         * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
1251         Remove func, ret.
1252         (find_fde_tail): New function.  Split from
1253         _Unwind_IteratePhdrCallback.  Move the result initialization
1254         from _Unwind_Find_FDE.
1255         (_Unwind_Find_FDE): Updated to call find_fde_tail.
1257 2021-11-22  Florian Weimer  <fweimer@redhat.com>
1259         * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
1260         (struct unw_eh_callback_data): Make dbase member conditional.
1261         (unw_eh_callback_data_dbase): New function.
1262         (base_from_cb_data): Simplify for the non-dbase case.
1263         (_Unwind_IteratePhdrCallback): Adjust.
1264         (_Unwind_Find_FDE): Likewise.
1266 2021-11-22  Florian Weimer  <fweimer@redhat.com>
1268         * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
1269         tbase member.
1270         (base_from_cb_data): Adjust.
1271         (_Unwind_IteratePhdrCallback): Likewise.
1272         (_Unwind_Find_FDE): Likewise.
1274 2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
1276         * config.host: Add weak emutls crt to the extra_parts.
1277         * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
1278         workaround.
1279         * config/libgcc-libsystem.ver: Add exclude list for the system-
1280         provided unwinder.
1281         * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
1282         * config/i386/libgcc-darwin.10.4.ver: Removed.
1283         * config/i386/libgcc-darwin.10.5.ver: Removed.
1284         * config/rs6000/libgcc-darwin.10.4.ver: Removed.
1285         * config/rs6000/libgcc-darwin.10.5.ver: Removed.
1286         * config/t-darwin-noeh: New file.
1288 2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
1290         * config/t-darwin: Build weak-defined emutls objects.
1291         * emutls.c (__emutls_get_address): Add optional attributes.
1292         (__emutls_register_common): Likewise.
1293         (EMUTLS_ATTR): New.
1295 2021-11-11  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
1297         PR libgcc/103044
1298         * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
1299         called with a null argument or at the end of the backtrace and return.
1300         * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
1302 2021-11-10  Jakub Jelinek  <jakub@redhat.com>
1304         * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
1305         formatting fix.
1307 2021-11-05  Iain Sandoe  <iain@sandoe.co.uk>
1309         * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
1310         * config/i386/darwin-lib.h: Declare Darwin10 crt function.
1312 2021-11-05  John David Anglin  <danglin@gcc.gnu.org>
1314         PR libgomp/96661
1315         * config.host (hppa*64*-*-linux*): Revise tmake_file.
1316         (hppa*64*-*-hpux11*): Likewise.
1317         * config/pa/sfp-exceptions.c: New.
1318         * config/pa/sfp-machine.h: New.
1319         * config/pa/t-dimode: New.
1320         * config/pa/t-softfp-sfdftf: New.
1322 2021-10-27  John David Anglin  <danglin@gcc.gnu.org>
1324         * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
1325         tmake_file.
1326         * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
1327         Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
1328         SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
1329         * config/pa/t-linux64 (LIB1ASMSRC): New define.
1330         (LIB1ASMFUNCS): Revise.
1331         (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
1333 2021-10-22  Stafford Horne  <shorne@gmail.com>
1335         * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1336         Change to 0.
1338 2021-10-14  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
1340         * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
1341         outside of get_regs() in order to use it in another function, this
1342         is done twice: for __powerpc64__ and for !__powerpc64__.
1343         (struct trace_arg): New struct.
1344         (struct layout): New struct.
1345         (ppc_backchain_fallback): New function.
1346         * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
1347         state and call MD_BACKCHAIN_FALLBACK.
1349 2021-10-13  Martin Liska  <mliska@suse.cz>
1351         PR gcov-profile/90364
1352         * libgcov-driver.c (merge_one_data): Skip timestamp and verify
1353         checksums.
1354         (write_one_data): Write also checksum.
1355         * libgcov-util.c (read_gcda_file): Read also checksum field.
1356         * libgcov.h (struct gcov_info): Add new field.
1358 2021-10-08  Ian Lance Taylor  <iant@golang.org>
1360         * config/i386/morestack.S: Use .init_array for constructor if
1361         available.
1362         * config/rs6000/morestack.S: Likewise.
1363         * config/s390/morestack.S: Likewise.
1365 2021-10-03  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
1367         PR target/101104
1368         * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
1369         Use more correct values for native IBM 128-bit.
1371 2021-09-28  Iain Sandoe  <iain@sandoe.co.uk>
1373         * config/i386/libgcc-darwin.ver: Add Symbols for
1374         __cpu_model, __cpu_indicator_init.
1376 2021-09-22  Iain Sandoe  <iain@sandoe.co.uk>
1378         * config/i386/sfp-machine.h: Guard Mach-O-specific code
1379         using __APPLE__.
1381 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1383         * config/t-slibgcc-darwin: Delete unused code.
1385 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1387         * config/i386/t-darwin: Add in a vers file for X86-specific
1388         symbols.
1389         * config/t-darwin: Add the generic symbol maps here...
1390         * config/t-slibgcc-darwin: ... removing from here.
1391         * config/i386/libgcc-darwin.ver: New file.
1393 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1395         * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
1396         and __mulhc3.
1398 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1400         * config.host: Use convenience library for Darwin10
1401         unwinder shim.
1402         * config/t-darwin: Build Darwin10 unwinder shim as a
1403         convenience library.
1405 2021-09-13  Andrew Pinski  <apinski@marvell.com>
1407         * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
1408         * config/m32r/libgcc-glibc.ver: Removed.
1409         * config/m32r/t-linux: Removed.
1411 2021-09-08  liuhongt  <hongtao.liu@intel.com>
1413         * config/i386/t-softfp: Compile __{mul,div}hc3 into
1414         libgcc_s.so.1.
1416 2021-09-08  Jakub Jelinek  <jakub@redhat.com>
1417             Iain Sandoe  <iain@sandoe.co.uk>
1419         * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
1420         and export *hf* and *hc* functions at GCC_12.0.0.
1422 2021-09-06  liuhongt  <hongtao.liu@intel.com>
1424         * Makefile.in: Adjust to support specific CFLAGS for each
1425         libgcc source file.
1426         * config/i386/64/t-softfp: Explicitly add -msse2 for HF
1427         related libgcc source files.
1428         * config/i386/t-softfp: Ditto.
1429         * config/i386/_divhc3.c: New file.
1430         * config/i386/_mulhc3.c: New file.
1432 2021-09-03  Iain Sandoe  <iain@sandoe.co.uk>
1434         * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
1435         alias_DFtype, alias_TFtype): New.
1436         (ALIAS_SELECTOR): New.
1437         (strong_alias): Use __typeof and a _Generic selector to
1438         provide the type to the synthesized function.
1440 2021-09-02  liuhongt  <hongtao.liu@intel.com>
1442         * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
1443         * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
1444         * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
1445         * config/i386/t-softfp: Add hf soft-fp.
1446         * config.host: Add i386/64/t-softfp.
1447         * config/i386/64/t-softfp: New file.
1449 2021-09-02  liuhongt  <hongtao.liu@intel.com>
1451         * soft-fp/eqhf2.c: New file.
1452         * soft-fp/extendhfdf2.c: New file.
1453         * soft-fp/extendhfsf2.c: New file.
1454         * soft-fp/half.h (FP_CMP_EQ_H): New marco.
1455         * soft-fp/truncdfhf2.c: New file
1456         * soft-fp/truncsfhf2.c: New file
1458 2021-09-01  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1460         * unwind-arm-common.inc (abort): Remove.
1462 2021-08-31  Richard Sandiford  <richard.sandiford@arm.com>
1464         * config/aarch64/value-unwind.h: Add missing runtime exception
1465         paragraph.
1466         * config/frv/frv-abi.h: Likewise.
1467         * config/i386/value-unwind.h: Likewise.
1468         * config/pa/pa64-hpux-lib.h: Likewise.
1470 2021-08-26  David Edelsohn  <dje.gcc@gmail.com>
1472         * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
1473         __gcc_qadd.
1474         (__gcc_qadd): Call ldouble_qadd_internal.
1475         (__gcc_qsub): Call ldouble_qadd_internal with second long double
1476         argument negated.
1478 2021-08-26  Jonathan Yong  <10walls@gmail.com>
1480         * config/i386/cygming-crtend.c: Fix register_frame_ctor
1481         and register_frame_dtor warnings.
1483 2021-08-24  Richard Earnshaw  <rearnsha@arm.com>
1485         PR target/102035
1486         * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
1487         Add vlldm erratum work-around.
1489 2021-08-21  John David Anglin  <danglin@gcc.gnu.org>
1491         * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
1493 2021-08-16  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1495         * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
1496         (gcov_type_unsigned): Likewise.
1498 2021-08-14  Stafford Horne  <shorne@gmail.com>
1500         PR target/99783
1501         * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
1502         * config/or1k/t-crtstuff: New file.
1504 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1506         * libgcov-driver.c (#include <stdint.h>): Remove.
1507         (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
1509 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1511         * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
1512         * gcov.h (gcov_info): Declare.
1513         (__gcov_info_to_gdca): Likewise.
1514         * libgcov.h (gcov_write_counter): Remove.
1515         (gcov_write_tag_length): Likewise.
1516         * libgcov-driver.c (#include <stdint.h>): New.
1517         (#include <string.h>): Remove.
1518         (NEED_L_GCOV): Conditionally define.
1519         (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
1520         (are_all_counters_zero): New.
1521         (gcov_dump_handler): Likewise.
1522         (gcov_allocate_handler): Likewise.
1523         (dump_unsigned): Likewise.
1524         (dump_counter): Likewise.
1525         (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
1526         Use dump_unsigned() and dump_counter().
1527         (write_one_data): Add dump_fn, allocate_fn, and arg parameters.  Use
1528         dump_unsigned(), dump_counter(), and are_all_counters_zero().
1529         (__gcov_info_to_gcda): New.
1531 2021-08-05  Jakub Jelinek  <jakub@redhat.com>
1533         * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
1534         * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
1535         * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
1536         * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
1538 2021-08-04  Jakub Jelinek  <jakub@redhat.com>
1540         * config/t-slibgcc-fuchsia: Undo doubly applied patch.
1542 2021-07-15  Alan Modra  <amodra@gmail.com>
1544         * config/rs6000/morestack.S (R2_SAVE): Define.
1545         (__morestack): Save and restore r2.  Set up r2 for called
1546         functions.
1548 2021-07-01  H.J. Lu  <hjl.tools@gmail.com>
1550         * soft-fp/extendhfxf2.c: New file.
1551         * soft-fp/truncxfhf2.c: Likewise.
1553 2021-06-29  Julian Brown  <julian@codesourcery.com>
1555         * config/gcn/lib2-bswapti2.c: New file.
1556         * config/gcn/lib2-divmod-di.c: New file.
1557         * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
1558         typedefs.
1559         (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
1560         * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
1561         lib2-bswapti2.c.
1563 2021-06-29  Julian Brown  <julian@codesourcery.com>
1565         * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
1566         return types to USItype.
1567         * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
1569 2021-06-23  Kewen Lin  <linkw@linux.ibm.com>
1571         * configure: Regenerate.
1572         * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
1573         typos among the name, CFLAGS and the test.
1574         * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
1575         fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
1576         Remove.
1577         * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
1578         macro FLOAT128_HW_INSNS_ISA3_1.
1579         (FP128_3_1_CFLAGS_HW): Fix option typo.
1580         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
1581         FLOAT128_HW_INSNS_ISA3_1.
1582         (__floattikf_resolve): Likewise.
1583         (__floatuntikf_resolve): Likewise.
1584         (__fixkfti_resolve): Likewise.
1585         (__fixunskfti_resolve): Likewise.
1586         (__floattikf): Likewise.
1587         (__floatuntikf): Likewise.
1588         (__fixkfti): Likewise.
1589         (__fixunskfti): Likewise.
1591 2021-06-11  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
1593         PR target/99939
1594         * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
1595         macro.
1596         * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
1597         on passing -mcmse option.
1599 2021-06-10  Segher Boessenkool  <segher@kernel.crashing.org>
1601         * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
1602         _ARCH_PPC64 .
1604 2021-06-09  Carl Love  <cel@us.ibm.com>
1606         * config.host: Add if test and set for
1607         libgcc_cv_powerpc_3_1_float128_hw.
1608         * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
1609         Change calls of __fixkfti to __fixkfti_sw.
1610         * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
1611         Change calls of __fixunskfti to __fixunskfti_sw.
1612         * config/rs6000/float128-p10.c (__floattikf_hw,
1613         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
1614         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
1615         (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
1616         __fixunskfti_resolve): Add resolve functions.
1617         (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
1618         * config/rs6000/float128-sed (floattitf, __floatuntitf,
1619         __fixtfti, __fixunstfti): Add editor commands to change names.
1620         * config/rs6000/float128-sed-hw (__floattitf,
1621         __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
1622         change names.
1623         * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
1624         * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
1625         * config/rs6000/quad-float128.h (__floattikf_sw,
1626         __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
1627         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
1628         __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
1629         * config/rs6000/t-float128 (floattikf, floatuntikf,
1630         fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
1631         (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
1632         file names to fp128_ppc_funcs.
1633         * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
1634         fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
1635         fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
1636         * config/rs6000/t-float128-p10-hw: New file.
1637         * configure: Update script for isa 3.1 128-bit float support.
1638         * configure.ac: Add check for 128-bit float hardware support.
1639         * config/rs6000/fixkfti-sw.c: New file.
1640         * config/rs6000/fixunskfti-sw.c: New file.
1641         * config/rs6000/floattikf-sw.c: New file.
1642         * config/rs6000/floatuntikf-sw.c: New file.
1644 2021-05-13  Dimitar Dimitrov  <dimitar@dinux.eu>
1646         * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
1648 2021-05-13  Martin Liska  <mliska@suse.cz>
1650         * libgcov-driver.c: Fix GNU coding style.
1652 2021-05-10  Martin Liska  <mliska@suse.cz>
1654         * libgcov-driver.c (gcov_version): Use different name that does
1655         not clash with newly introduced macro.
1657 2021-04-29  Eric Botcazou  <ebotcazou@adacore.com>
1659         * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
1660         if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
1661         * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
1663 2021-04-28  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
1665         * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1666         Define.
1667         (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
1668         * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1669         Define.
1670         (__divkc3): Improve complex divide.
1672 2021-04-23  Michael Meissner  <meissner@linux.ibm.com>
1674         PR target/98952
1675         * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
1676         trampoline size comparison in 32-bit by reversing test and
1677         combining load immediate with compare.
1678         (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
1679         in 32-bit by reversing test and combining load immediate with
1680         compare.
1682 2021-04-05  Florian Weimer  <fweimer@redhat.com>
1683             Michael Meissner   <meissner@linux.ibm.com>
1685         * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
1686         point functions for $(decimal_float) only.
1688 2021-04-03  Jakub Jelinek  <jakub@redhat.com>
1690         PR target/97653
1691         * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
1692         $(objext) instead of $(object).  Use _floatunditf instead of
1693         _floatunsditf.  Add tf <-> ti conversion objects.
1694         (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
1696 2021-03-29  Michael Meissner  <meissner@linux.ibm.com>
1698         * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
1699         (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
1700         (fp128_decstr_objs): Delete.
1701         * dfp-bit.h: Call __sprintfieee128 to do conversions from
1702         _Float128 to a Decimal type.  Call __strtoieee128 to do
1703         conversions from a Decimal type to _Float128.
1704         * config/rs6000/_sprintfkf.c: Delete file.
1705         * config/rs6000/_sprintfkf.h: Delete file.
1706         * config/rs6000/_strtokf.c: Delete file.
1707         * config/rs6000/_strtokf.h: Delete file.
1709 2021-03-23  Marcus Comstedt  <marcus@mc.pp.se>
1711         * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
1712         to __BYTE_ORDER__.
1714 2021-03-06  Jakub Jelinek  <jakub@redhat.com>
1716         PR gcov-profile/99406
1717         * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
1718         defined, define these macros if not defined already.
1720 2021-03-04  Martin Liska  <mliska@suse.cz>
1722         PR gcov-profile/99105
1723         * libgcov-driver.c (write_top_counters): Rename to ...
1724         (write_topn_counters): ... this.
1725         (write_one_data): Pre-allocate buffer for number of items
1726         in the corresponding linked lists.
1727         * libgcov.h (malloc_mmap): New function.
1728         (allocate_gcov_kvp): Use it.
1730 2021-03-04  Martin Liska  <mliska@suse.cz>
1732         PR gcov-profile/99385
1733         * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
1735 2021-03-03  Martin Liska  <mliska@suse.cz>
1737         PR gcov-profile/97461
1738         * config.in: Regenerate.
1739         * configure: Likewise.
1740         * configure.ac: Check sys/mman.h header file
1741         * libgcov-driver.c (struct gcov_kvp): Remove static
1742         pre-allocated pool and use a dynamic one.
1743         * libgcov.h (MMAP_CHUNK_SIZE): New.
1744         (gcov_counter_add): Use mmap to allocate pool for struct
1745         gcov_kvp.
1747 2021-03-02  Michael Meissner  <meissner@linux.ibm.com>
1749         * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
1750         the function.
1751         * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
1753 2021-02-24  Jakub Jelinek  <jakub@redhat.com>
1755         PR libgcc/99236
1756         * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
1757         negation of m in unsigned type.
1759 2021-02-24  Christophe Lyon  <christophe.lyon@linaro.org>
1760             Hau Hsu  <hsuhau617@gmail.com>
1762         PR target/99157
1763         * config/arm/t-arm: Fix cmse support detection.
1765 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
1767         * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
1769 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
1771         * config/rs6000/_dd_to_kf.c: New file.
1772         * config/rs6000/_kf_to_dd.c: New file.
1773         * config/rs6000/_kf_to_sd.c: New file.
1774         * config/rs6000/_kf_to_td.c: New file.
1775         * config/rs6000/_sd_to_kf.c: New file.
1776         * config/rs6000/_sprintfkf.c: New file.
1777         * config/rs6000/_sprintfkf.h: New file.
1778         * config/rs6000/_strtokf.h: New file.
1779         * config/rs6000/_strtokf.c: New file.
1780         * config/rs6000/_td_to_kf.c: New file.
1781         * config/rs6000/quad-float128.h: Add new declarations.
1782         * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
1783         (fp128_decstr_funcs): New macro.
1784         (ibm128_dec_funcs): New macro.
1785         (fp128_ppc_funcs): Add the new conversions.
1786         (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
1787         compiled with -mabi=ieeelongdouble.
1788         (fp128_decstr_objs): Force __float128 <-> string conversions to be
1789         compiled with -mabi=ibmlongdouble.
1790         (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
1791         compiled with -mabi=ieeelongdouble.
1792         (FP128_CFLAGS_DECIMAL): New macro.
1793         (IBM128_CFLAGS_DECIMAL): New macro.
1794         * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
1795         (BFP_TO_DFP): Add PowerPC _Float128 support.
1796         * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
1797         IEEE 128-bit floating point.
1798         (DFP_TO_BFP): Add PowerPC _Float128 support.
1799         (BFP_TO_DFP): Add PowerPC _Float128 support.
1800         (BFP_SPRINTF): New macro.
1802 2021-01-27  Jakub Jelinek  <jakub@redhat.com>
1804         * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
1805         * config/i386/savms64f.h: Likewise.
1806         * config/i386/resms64.h: Likewise.
1807         * config/i386/resms64f.h: Likewise.
1808         * config/i386/resms64x.h: Likewise.
1809         * config/i386/resms64fx.h: Likewise.
1811 2021-01-26  Martin Liska  <mliska@suse.cz>
1813         PR gcov-profile/98739
1814         * libgcov.h (gcov_topn_add_value): Do not train when
1815         we have a merged profile with a negative number of total
1816         value.
1818 2021-01-25  Martin Liska  <mliska@suse.cz>
1820         PR gcov-profile/98739
1821         * libgcov-merge.c (__gcov_merge_topn): Mark when merging
1822         ends with a dropped counter.
1823         * libgcov.h (gcov_topn_add_value): Add return value.
1825 2021-01-13  Stafford Horne  <shorne@gmail.com>
1827         * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1828         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
1829         FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
1830         FP_EX_ALL): New constant macros.
1831         (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
1832         FP_HANDLE_EXCEPTIONS): New macros.
1833         (_FP_TININESS_AFTER_ROUNDING): Change to 1.
1835 2021-01-13  Samuel Thibault  <samuel.thibault@gnu.org>
1837         * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
1838         posix siginfo case to struct handler_args. Detect between legacy
1839         and siginfo from the second parameter, which is a small sigcode in
1840         the legacy case, and a pointer in the siginfo case.
1842 2020-12-20  Max Filippov  <jcmvbkbc@gmail.com>
1844         * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
1845         functions.
1846         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
1847         _bswapdi2.
1849 2020-12-08  Ian Lance Taylor  <iant@golang.org>
1851         * generic-morestack-thread.c (free_segments): Block signals during
1852         thread exit.
1854 2020-12-03  Michael Meissner  <meissner@linux.ibm.com>
1856         PR libgcc/97543
1857         PR libgcc/97643
1858         * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
1859         (IBM128_SHARED_OBJS): New make variable.
1860         (IBM128_OBJS): New make variable.  Set all objects to use the
1861         explicit IBM format, and disable gnu attributes.
1862         (IBM128_CFLAGS): New make variable.
1863         (gcc_s_compile): Add -mno-gnu-attribute to all shared library
1864         modules.
1866 2020-12-03  Alexandre Oliva  <oliva@adacore.com>
1868         * config/t-vxworks (LIB2ADD): Drop.
1869         * config/t-vxworks7 (LIB2ADD): Likewise.
1870         * config/vxcache.c: Remove.
1872 2020-11-30  Stefan Kanthak  <stefan.kanthak@nexgo.de>
1874         * libgcc2.c (bswapsi2): Make constants unsigned.
1876 2020-11-25  Stefan Kanthak  <stefan.kanthak@nexgo.de>
1878         * libgcc2.c (absvSI2): Simplify/improve implementation by using
1879         builtin_add_overflow.
1880         (absvsi2, absvDI2): Likewise.
1882 2020-11-20  Maciej W. Rozycki  <macro@linux-mips.org>
1884         * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
1885         (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
1887 2020-11-18  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1889         * config/msp430/lib2hw_mul.S (mult64_hw): New.
1890         (if MUL_32): Use mult64_hw for __muldi3.
1891         (if MUL_F5): Use mult64_hw for __muldi3.
1892         * config/msp430/lib2mul.c (__muldi3): New.
1893         * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
1895 2020-11-17  Alan Modra  <amodra@gmail.com>
1897         * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
1898         (LIB2_SIDITI_CONV_FUNCS): Define.
1899         * config/rs6000/ppc64-fp.c: Delete file.
1901 2020-11-15  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1903         * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
1904         hwmult library functions.
1906 2020-11-10  Jeff Law  <law@redhat.com>
1908         * libgcc2.c: Fix whitespace issues in most recent change.
1910 2020-11-10  Stefan Kanthak  <stefan.kanthak@nexgo.de>
1912         * libgcc2.c (__addvSI3): Use overflow builtins.
1913         (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
1914         (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
1915         (__negvsi2, __negvDI2): Likewise.
1916         (__cmpdi2, __ucmpdi2): Adjust implementation to improve
1917         generated code.
1918         * libgcc2.h (__ucmpdi2): Adjust prototype.
1920 2020-11-03  Pat Bernardi  <bernardi@adacore.com>
1921             Olivier Hainque   <hainque@adacore.com>
1923         * config.host (aarch64-vxworks7*, tmake_file): Add
1924         ${cpu_type}/t-lse and t-slibgcc-libgcc.
1926 2020-11-03  Martin Storsjö  <martin@martin.st>
1928         * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
1929         before calling the callback.
1931 2020-10-30  Olivier Hainque  <hainque@adacore.com>
1932             Douglas Rupp  <rupp@adacore.com>
1933             Pat Bernardi  <bernardi@adacore.com>
1935         * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
1936         to apply to VxWorks 7 as well.
1938 2020-10-29  Olivier Hainque  <hainque@adacore.com>
1940         * config/gthr-vxworks-tls.c: Fix preprocessor logic
1941         controlling the definition of VX_ENTER_TLS_DTOR and
1942         VX_LEAVE_TLS_DTOR based on a version major check.
1944 2020-10-29  Olivier Hainque  <hainque@adacore.com>
1946         * config/gthr-vxworks-thread.c: Fix name of macro used
1947         to condition the inclusion of an actual implementation.
1949 2020-10-27  Martin Liska  <mliska@suse.cz>
1951         PR gcov-profile/97461
1952         * libgcov.h (gcov_counter_add): Use first static counters
1953         as it should help to have malloc wrappers set up.
1955 2020-10-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1957         * config/gthr-vxworks-thread.c: #include gthr.h before
1958         testing the guard defined there.
1959         * config/gthr-vxworks-cond.c: Likewise.
1961 2020-10-21  Douglas Rupp  <rupp@adacore.com>
1962             Olivier Hainque  <hainque@adacore.com>
1964         * config.host (powerpc*-wrs-vxworks7*): New case.
1965         * configure.ac: Handle powerpc*-*-vxworks7* as
1966         powerpc*-*-linux* for ppc-fp_type.
1967         * configure: Regenerate.
1969 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1971         * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
1972         section on VxWorks >= 6.
1973         * config/gthr-vxworks-thread.c: Condition the entire
1974         implementation on __GTHREAD_CXX0X.
1976 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1978         * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
1979         section on VxWorks >= 6.
1980         * config/gthr-vxworks-cond.c: Condition the entire
1981         implementation on __GTHREAD_HAS_COND.
1983 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1985         * config/gthr-vxworks.c: #include <taskLib.h>.
1987 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1989         * config/gthr-vxworks.h: Rewrite remaining occurrence
1990         of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
1992 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1993              Olivier Hainque   <hainque@adacore.com>
1995         * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
1996         except on VxWorks 6.
1998 2020-10-16  Olivier Hainque  <hainque@adacore.com>
2000         * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
2002 2020-10-14  Alexandre Oliva  <oliva@adacore.com>
2004         * config/gthr-vxworks-thread.c: Include stdlib.h.
2005         (tls_delete_hook): Prototype it.
2006         (__gthread_cond_signal): Return early if no waiters.  Consume
2007         signal in case the semaphore got full.  Use semInfoGet instead
2008         of kernel-mode-only semInfo.
2009         (__gthread_cond_timedwait): Use semExchange.  Always take the
2010         mutex again before returning.
2011         * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
2013 2020-10-14  Olivier Hainque  <hainque@adacore.com>
2015         * config/t-vxworks (LIBGCC2_INCLUDES): Append
2016         $(MULTISUBDIR) to the -I path for fixed headers, as we
2017         arrange to have different sets of such headers for different
2018         multilibs when they are activated.
2019         * config/t-vxworks7: Likewise.
2021 2020-10-14  Olivier Hainque  <hainque@adacore.com>
2023         * config/t-vxworks: Add include-fixed to include search
2024         paths for libgcc on VxWorks.
2025         * config/t-vxworks7: Likewise.
2027 2020-10-09  H.J. Lu  <hjl.tools@gmail.com>
2029         PR target/97148
2030         * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
2031         instead of <cetintrin.h>.
2033 2020-10-01  Alan Modra  <amodra@gmail.com>
2035         * config/rs6000/morestack.S,
2036         * config/rs6000/tramp.S: Support __PCREL__ code.
2038 2020-10-01  Alan Modra  <amodra@gmail.com>
2040         * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
2042 2020-09-29  Maciej W. Rozycki  <macro@wdc.com>
2044         * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
2045         variable.
2047 2020-09-28  Richard Sandiford  <richard.sandiford@arm.com>
2049         * config/aarch64/libgcc-softfp.ver: New file.
2050         * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
2052 2020-09-27  Clement Chigot  <clement.chigot@atos.net>
2054         * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
2056 2020-09-22  Sergei Trofimovich  <siarheit@google.com>
2058         PR gcov-profile/96913
2059         * libgcov-driver.c (write_one_data): Avoid function pointer
2060         comparison in TOP streaming decision.
2062 2020-09-17  Torbjörn SVENSSON  <torbjorn.svensson@st.com>
2063             Christophe Lyon  <christophe.lyon@linaro.org>
2065         * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
2066         qualifier.
2067         (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
2068         (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
2069         missing prototypes.
2071 2020-09-17  Wei Wentao  <weiwt.fnst@cn.fujitsu.com>
2073         * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
2074         unused variable warning.
2076 2020-09-16  Jojo R  <jiejie_rong@c-sky.com>
2078         * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
2080 2020-09-09  Tom de Vries  <tdevries@suse.de>
2082         * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
2083         Wbuiltin-declaration-mismatch.
2085 2020-08-26  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2087         * config/msp430/slli.S (__gnu_mspabi_sllp): New.
2088         * config/msp430/srai.S (__gnu_mspabi_srap): New.
2089         * config/msp430/srli.S (__gnu_mspabi_srlp): New.
2091 2020-08-13  Kwok Cheung Yeung  <kcy@codesourcery.com>
2093         * config/nvptx/atomic.c: New.
2094         * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
2096 2020-08-03  Ian Lance Taylor  <iant@golang.org>
2098         * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
2100 2020-08-03  Jakub Jelinek  <jakub@redhat.com>
2102         PR target/96402
2103         * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
2104         of x(tmp0), x(tmp1) in STXP arguments.
2106 2020-07-31  Maciej W. Rozycki  <macro@wdc.com>
2108         * config/riscv/save-restore.S [__riscv_xlen == 64]
2109         (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
2110         (__riscv_save_2): Replace negative immediates used for the final
2111         stack pointer adjustment with positive ones, right-shifted by 4.
2113 2020-07-31  Martin Liska  <mliska@suse.cz>
2115         * libgcov-driver.c: Add __gcov_kvp_pool
2116         and __gcov_kvp_pool_index variables.
2117         * libgcov.h (allocate_gcov_kvp): New.
2118         (gcov_topn_add_value): Use it.
2120 2020-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2122         * config/aarch64/lse.S: Add PAC property note.
2124 2020-07-23  Martin Liska  <mliska@suse.cz>
2126         PR gcov-profile/96035
2127         * libgcov-driver-system.c: Create gcov folders with 0777
2128         so that it respects a system umask.
2130 2020-07-14  David Edelsohn  <dje.gcc@gmail.com>
2132         * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
2134 2020-07-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2136         PR target/94891
2137         * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
2138         (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
2139         (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
2140         (MD_DEMANGLE_RETURN_ADDR): This.
2141         (aarch64_post_extract_frame_addr): Rename to ...
2142         (aarch64_demangle_return_addr): This.
2143         (aarch64_post_frob_eh_handler_addr): Remove.
2144         * unwind-dw2.c (uw_update_context): Demangle return address.
2145         (uw_frob_return_addr): Remove.
2147 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2149         PR target/96001
2150         * config/aarch64/lse.S: Add BTI marking and related definitions,
2151         and add BTI c to function entries.
2153 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2155         * config/aarch64/lse.S: Add stack note.
2157 2020-07-02  Martin Liska  <mliska@suse.cz>
2159         PR gcov-profile/95348
2160         * libgcov-driver.c (merge_one_data): Merge only profiles
2161         that are not of non-zero type.
2162         (write_one_data): Write counters only if there's one non-zero
2163         value.
2164         * libgcov-util.c (tag_function): Change signature from unsigned
2165         to int.
2166         (tag_blocks): Likewise.
2167         (tag_arcs): Likewise.
2168         (tag_counters): Likewise.
2169         (tag_summary): Likewise.
2170         (tag_lines): Read only if COUNTERS is non-zero.
2171         (read_gcda_file): Handle negative length for COUNTERS type.
2173 2020-06-25  Martin Liska  <mliska@suse.cz>
2175         * libgcov-driver.c (merge_summary): Remove function as its name
2176         is misleading and doing something different.
2177         (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
2178         in gcov-tool.
2179         * libgcov-util.c (curr_object_summary): Remove.
2180         (read_gcda_file): Remove unused curr_object_summary.
2181         (gcov_merge): Merge summaries.
2182         * libgcov.h: Add summary argument for gcov_info struct.
2184 2020-06-24  H.J. Lu  <hjl.tools@gmail.com>
2186         PR target/95259
2187         * config/i386/cpuinfo.c: Don't include "cpuinfo.h".  Include
2188         "common/config/i386/i386-cpuinfo.h" and
2189         "common/config/i386/cpuinfo.h".
2190         (__cpu_features2): Changed to array.
2191         (get_amd_cpu): Removed.
2192         (get_intel_cpu): Likewise.
2193         (get_available_features): Likewise.
2194         (__cpu_indicator_init): Call cpu_indicator_init.
2195         * config/i386/cpuinfo.h: Removed.
2197 2020-06-23  David Edelsohn  <dje.gcc@gmail.com>
2199         * Makefile.in: Remove uses of empty.mk. Use -include.
2200         * config/avr/t-avr: Use -include.
2201         * empty.mk: Delete.
2203 2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
2205         * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
2206         * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
2207         and 64 bit with -maix64.
2208         * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
2209         Build and install AIX-style FAT libraries.
2211 2020-06-17  Samuel Thibault  <samuel.thibault@gnu.org>
2213         * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
2214         'i386/gnu-unwind.h'
2215         * config/i386/gnu-unwind.h: New file.
2217 2020-06-17  Martin Liska  <mliska@suse.cz>
2219         * libgcov-util.c (read_gcda_finalize): Remove const operator.
2220         (merge_wrapper): Add both counts and use them properly.
2221         (topn_to_memory_representation): New function.
2222         (gcov_merge): Covert on disk representation to in memory
2223         representation.
2224         * libgcov.h: Remove const operator.
2226 2020-06-15  Max Filippov  <jcmvbkbc@gmail.com>
2228         * configure: Regenerate.
2229         * configure.ac: Use AC_COMPILE_IFELSE instead of manual
2230         preprocessor invocation to check for __XTENSA_CALL0_ABI__.
2232 2020-06-09  Martin Liska  <mliska@suse.cz>
2234         PR gcov-profile/95494
2235         * libgcov-driver.c (write_top_counters): Cast first to
2236         intptr_t as sizeof(*) != sizeof(gcov_type).
2237         * libgcov.h (gcov_counter_set_if_null): Remove.
2238         (gcov_topn_add_value): Cast first to intptr_t and update
2239         linked list directly.
2241 2020-06-09  Max Filippov  <jcmvbkbc@gmail.com>
2243         * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
2244         with uw_install_context_1.
2246 2020-06-04  Andreas Schwab  <schwab@suse.de>
2248         PR target/59230
2249         PR libfortran/59227
2250         * config/ia64/t-softfp-compat (softfp_file_list): Filter out
2251         soft-fp/divtf3.c.
2252         (LIB2ADD): Add config/ia64/divtf3.c.
2253         * config/ia64/divtf3.c: New file.
2255 2020-06-03  Martin Liska  <mliska@suse.cz>
2257         PR gcov-profile/95480
2258         * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
2259         * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
2260         (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
2261         (gcov_counter_set_if_null): Likewise.
2263 2020-06-02  Jim Wilson  <jimw@sifive.com>
2265         * config/riscv/div.S (__divdi3): For negative arguments, change bgez
2266         to bgtz.
2268 2020-06-02  Martin Liska  <mliska@suse.cz>
2270         * libgcov.h (gcov_topn_add_value): Use xcalloc instead
2271         of xmalloc.
2273 2020-06-02  Martin Liska  <mliska@suse.cz>
2275         * libgcov-driver.c (prune_topn_counter): Remove.
2276         (prune_counters): Likewise.
2277         (merge_one_data): Special case TOP N counters
2278         as they have variable length.
2279         (write_top_counters): New.
2280         (write_one_data): Special case TOP N.
2281         (dump_one_gcov): Do not prune TOP N counters.
2282         * libgcov-merge.c (merge_topn_values_set): Remove.
2283         (__gcov_merge_topn): Use gcov_topn_add_value.
2284         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2285         Likewise here.
2286         * libgcov.h (gcov_counter_add): New.
2287         (gcov_counter_set_if_null): Likewise.
2288         (gcov_topn_add_value): New.
2290 2020-06-01  Uroš Bizjak  <ubizjak@gmail.com>
2292         * config/i386/sfp-exceptions.c (struct fenv):
2293         Add __attribute__ ((gcc_struct)).
2295 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
2297         PR bootstrap/95413
2298         * configure: Regenerated.
2300 2020-05-28  Dong JianQiang  <dongjianqiang2@huawei.com>
2302         PR gcov-profile/95332
2303         * libgcov-util.c (read_gcda_file): Call gcov_magic.
2304         * libgcov.h (gcov_magic): Disable GCC poison.
2306 2020-05-21  H.J. Lu  <hongjiu.lu@intel.com>
2308         PR target/95212
2309         * config/i386/cpuinfo.h (processor_features): Move
2310         FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
2312 2020-05-20  H.J. Lu  <hongjiu.lu@intel.com>
2314         PR target/91695
2315         * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
2316         check.
2318 2020-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2320         PR target/95212
2321         PR target/95220
2322         * config/i386/cpuinfo.c (get_available_features): Fix
2323         FEATURE_GFNI check.  Also check FEATURE_AVX512VP2INTERSECT.
2324         * config/i386/cpuinfo.h (processor_features): Add
2325         FEATURE_AVX512VP2INTERSECT.
2327 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2329         PR bootstrap/95147
2330         * configure: Regenerated.
2332 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2334         * configure: Regenerated.
2336 2020-05-09  Hans-Peter Nilsson  <hp@axis.com>
2338         * config.host: Remove support for crisv32-*-* and cris*-*-linux.
2339         * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
2341 2020-05-06  Uroš Bizjak  <ubizjak@gmail.com>
2343         * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
2344         (__math_force_eval_div): New define.
2345         (__sfp_handle_exceptions): Use __math_force_eval_div to use
2346         generic division to generate INVALID, DIVZERO and INEXACT
2347         exceptions.
2349 2020-05-06  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2351         * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
2352         instead of getauxval.
2353         (AT_HWCAP): Define.
2354         (HWCAP_ATOMICS): Define.
2355         Guard detection on __gnu_linux__.
2357 2020-05-05  Michael Meissner  <meissner@linux.ibm.com>
2359         * config.host: Delete changes meant for a private branch.
2360         * config/rs6000/t-float128: Likewise.
2361         * configure.ac: Likewise.
2362         * configure: Likewise.
2364 2020-05-05  Martin Liska  <mliska@suse.cz>
2366         PR gcov-profile/93623
2367         * Makefile.in: Remove __gcov_flush.
2368         * gcov.h (__gcov_flush): Remove.
2369         * libgcov-interface.c (__gcov_flush): Remove.
2370         (init_mx): Use renamed mutex.
2371         (__gcov_lock): Likewise.
2372         (__gcov_unlock): Likewise.
2373         (__gcov_fork): Likewise.
2374         (__gcov_flush): Remove.
2376 2020-05-05  Martin Liska  <mliska@suse.cz>
2378         PR gcov-profile/93623
2379         * libgcov-interface.c (__gcov_fork): Do not flush
2380         and reset only in child process.
2381         (__gcov_execl): Dump counters only and reset them
2382         only if exec* fails.
2383         (__gcov_execlp): Likewise.
2384         (__gcov_execle): Likewise.
2385         (__gcov_execv): Likewise.
2386         (__gcov_execvp): Likewise.
2387         (__gcov_execve): Likewise.
2389 2020-05-05  Martin Liska  <mliska@suse.cz>
2391         PR gcov-profile/93623
2392         * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
2393         * libgcov-interface.c (ALIAS_void_fn): Remove.
2394         (__gcov_lock): New.
2395         (__gcov_unlock): New.
2396         (__gcov_flush): Use __gcov_lock and __gcov_unlock.
2397         (__gcov_reset): Likewise.
2398         (__gcov_dump): Likewise.
2399         * libgcov.h (__gcov_lock): New declaration.
2400         (__gcov_unlock): Likewise.
2402 2020-05-01  Uroš Bizjak  <ubizjak@gmail.com>
2404         * config/i386/sfp-exceptions.c (__math_force_eval): New define.
2405         (__sfp_handle_exceptions): Use __math_force_eval to evaluate
2406         generic division to generate INVALID and DIVZERO exceptions.
2408 2020-04-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2410         * config/rs6000/crtresfpr.S: Use .machine ppc.
2411         * config/rs6000/crtresxfpr.S: Likewise.
2412         * config/rs6000/crtsavfpr.S: Likewise.
2414 2020-04-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2416         PR target/94514
2417         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
2418         Update context->flags accroding to the frame state.
2420 2020-04-19  Uroš Bizjak  <ubizjak@gmail.com>
2422         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
2423         Remove unneeded assignments to volatile memory.
2425 2020-04-15  Jakub Jelinek  <jakub@redhat.com>
2427         PR target/93053
2428         * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
2429         * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
2430         is not defined, use just .arch armv8-a.
2431         (B, M, N, OPN): Define.
2432         (COMMENT): New .macro.
2433         (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
2434         defined.  Otherwise, move the operands right after the glue? and
2435         comment out operands where the macros are used.
2436         * configure: Regenerated.
2437         * config.in: Regenerated.
2439 2020-04-07  Ian Lance Taylor  <iant@golang.org>
2441         PR libgcc/94513
2442         * generic-morestack.c: Give up trying to use __mmap/__munmap, use
2443         syscall instead.
2445 2020-04-04  Ian Lance Taylor  <iant@golang.org>
2447         * generic-morestack.c: Only use __mmap on glibc >= 2.26.
2449 2020-04-03  Ian Lance Taylor  <iant@golang.org>
2451         * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
2452         than mmap/munmap, to avoid hooks.
2454 2020-04-03  Jim Johnston  <jjohnst@us.ibm.com>
2456         * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
2457         (TPFRA_OFFSET): Macros removed.
2458         (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
2459         (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
2460         (PG3_SKIPPING_OFFSET): New macros.
2461         (__isPATrange): Use cinfc_fast for the check.
2462         (__isSkipResetAddr): New function.
2463         (s390_fallback_frame_state): Check for skip trace addresses. Use
2464         either ICST_CRET or ICST_SRET to calculate return address
2465         location.
2466         (__tpf_eh_return): Handle skip trace addresses.
2468 2020-03-26  Richard Earnshaw  <rearnsha@arm.com>
2470         PR target/94220
2471         * config/arm/lib1funcs.asm (COND): Use a single definition for
2472         unified syntax.
2473         (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
2474         (aeabi_idivmod): Likewise.
2475         (divsi3_skip_div0_test): Likewise.
2477 2020-03-17  Mihail Ionescu  <mihail.ionescu@arm.com>
2479         * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
2481 2020-03-04  Andreas Krebbel  <krebbel@linux.ibm.com>
2483         * config.host: Include the new makefile fragment.
2484         * config/s390/t-tpf: New file.
2486 2020-03-03  Richard Earnshaw  <rearnsha@arm.com>
2488         * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
2489         syntax.
2490         (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
2491         (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
2492         (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
2493         (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
2494         * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
2495         syntax.
2496         (divsi3, modsi3): Likewise.
2497         (clzdi2, ctzsi2): Likewise.
2498         * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
2499         unified syntax.
2500         (UNWIND_WRAPPER): Likewise.
2502 2020-03-02  Martin Liska  <mliska@suse.cz>
2504         * libgcov-interface.c: Remove duplicate
2505         declaration of __gcov_flush_mx.
2507 2020-02-18  Martin Liska  <mliska@suse.cz>
2509         PR ipa/92924
2510         * libgcov-merge.c (merge_topn_values_set): Record
2511         when a TOP N counter becomes invalid.  When merging
2512         remove a smallest value if the space is needed.
2514 2020-02-12  Sandra Loosemore  <sandra@codesourcery.com>
2516         PR libstdc++/79193
2517         PR libstdc++/88999
2519         * configure: Regenerated.
2521 2020-02-10  Jeff Law  <law@redhat.com>
2523         * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
2524         sections.
2525         * config/frv/frvend.c: Similarly.
2527 2020-02-10  H.J. Lu  <hongjiu.lu@intel.com>
2529         PR libgcc/85334
2530         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2531         New.
2533 2020-02-10  Christophe Lyon  <christophe.lyon@linaro.org>
2535         PR target/93615
2536         * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
2537         _Unwind_gnu_Find_got.
2538         * unwind-pe.h: Likewise.
2540 2020-02-07  Jakub Jelinek  <jakub@redhat.com>
2542         PR target/93615
2543         * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
2544         (_Unwind_gnu_Find_got): ... this.  Use __asm instead of asm.  Remove
2545         trailing :s in asm.  Formatting fixes.
2546         (_Unwind_decode_typeinfo_ptr): Adjust caller.
2548 2020-01-31  Sandra Loosemore  <sandra@codesourcery.com>
2550         nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
2552         * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
2553         * config/nios2-elf-lib.h: New.
2554         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
2555         code for finding GOT base for nios2.
2557 2020-01-27  Martin Liska  <mliska@suse.cz>
2559         PR gcov-profile/93403
2560         * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
2561         Call __gcov_indirect_call_profiler_body.
2562         (__gcov_indirect_call_profiler_body): New.
2563         (__gcov_indirect_call_profiler_v4_atomic): New.
2564         * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
2565         New declaration.
2567 2020-01-27  Claudiu Zissulescu  <claziss@synopsys.com>
2569         * config/arc/crti.S: Add RF16 object attribute.
2570         * config/arc/crtn.S: Likewise.
2571         * config/arc/crttls.S: Likewise.
2572         * config/arc/lib1funcs.S: Likewise.
2573         * config/arc/fp-hack.h (ARC_OPTFPE): Define.
2574         * config/arc/lib2funcs.c: New file.
2575         * config/arc/t-arc: Add lib2funcs to LIB2ADD.
2577 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
2579         * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
2580         * configure.ac: Handle `--with-toolexeclibdir='.
2581         * configure: Regenerate.
2583 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
2585         * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
2587 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
2589         * config/mips/gnustack.h: New file.
2590         * config/mips/crti.S: Include gnustack.h.
2591         * config/mips/crtn.S: Likewise.
2592         * config/mips/mips16.S: Likewise.
2593         * config/mips/vr4120-div.S: Likewise.
2595 2020-01-23  Martin Liska  <mliska@suse.cz>
2597         * libgcov-driver.c (prune_topn_counter): Remove
2598         check for -1 as we only prune run-time counters
2599         that do not generate an invalid state.
2601 2020-01-22  Martin Liska  <mliska@suse.cz>
2603         PR tree-optimization/92924
2604         * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
2605         try to find an existing value, then find an empty slot
2606         if not found.
2608 2020-01-22  Martin Liska  <mliska@suse.cz>
2610         PR tree-optimization/92924
2611         * libgcov-driver.c (prune_topn_counter): New.
2612         (prune_counters): Likewise.
2613         (dump_one_gcov): Prune a run-time counter.
2614         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2615         For a known value, add GCOV_TOPN_VALUES to value.
2616         Otherwise, decrement all counters by one.
2618 2020-01-18  Hans-Peter Nilsson  <hp@axis.com>
2620         * config/cris/arit.c (DS): Apply attribute __fallthrough__.
2622 2020-01-18  John David Anglin  <danglin@gcc.gnu.org>
2624         PR libgcc/92988
2625         * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
2626         DEFAULT_USE_CXA_ATEXIT is true.
2628 2020-01-16  Mihail-Calin Ionescu  <mihail.ionescu@arm.com>
2629             Thomas Preud'homme  <thomas.preudhomme@arm.com>
2631         * config/arm/t-arm: Check return value of gcc rather than lack of
2632         output.
2634 2020-01-14  Georg-Johann Lay  <avr@gjlay.de>
2636         * config/avr/lib1funcs.S (skip): Simplify.
2638 2020-01-10  Kwok Cheung Yeung  <kcy@codesourcery.com>
2640         * config/gcn/atomic.c: Remove include of stdint.h.
2641         (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
2642         __UINTPTR_TYPE__.
2644 2020-01-09  Kwok Cheung Yeung  <kcy@codesourcery.com>
2646         * config/gcn/atomic.c: New.
2647         * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
2649 2020-01-08  Georg-Johann Lay  <avr@gjlay.de>
2651         Implement 64-bit double functions.
2653         PR target/92055
2654         * config.host (tmake_file) [target=avr]: Add t-libf7,
2655         t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
2656         * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
2657         depending on sizeof (double) or sizeof (long double).
2658         * config/avr/libf7: New folder.
2660 2020-01-05  Olivier Hainque  <hainque@adacore.com>
2662         * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
2663         by IN_LIBGCC2.
2665 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
2667         Update copyright years.
2669 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2671         * config/gthr-vxworks.h: Use _vxworks-versions.h.
2672         * config/gthr-vxworks-tls.c: Likewise.
2674 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2676         * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
2677         standard zero-initializer syntax.
2679 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2681         * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
2682         reference to the internal VX_GET_TLS_DATA interface.
2684 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2686         * config/vxcrtstuff.c: Fix incorrect spelling of
2687         USE_INITFINI_ARRAY in guard.
2689 2019-12-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2691         * config.host: s/msp430*-*-elf/msp430-*-elf*.
2692         Override default "extra_parts" variable.
2693         * configure: Regenerate.
2694         * configure.ac: Disable TM clone registry by default for
2695         msp430-elfbare.
2697 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2699         * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
2700         "extra_parts".
2701         * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
2703 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2705         * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
2706         true.
2708 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2710         * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
2711         defined instead of its value.
2713 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2715         * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
2716         if it will have contents.
2718 2019-12-05  Georg-Johann Lay  <avr@gjlay.de>
2720         PR target/92055
2721         * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
2723 2019-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2725         PR libgcc/91737
2726         * config.host: Add t-gthr-noweak on *-*-musl*.
2727         * config/t-gthr-noweak: New file.
2729 2019-11-17  John David Anglin  <danglin@gcc.gnu.org>
2731         * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
2732         volatile void *.  Remove trap check.
2733         (__kernel_cmpxchg2): Likewise.
2734         (FETCH_AND_OP_2): Adjust operand types.
2735         (OP_AND_FETCH_2): Likewise.
2736         (FETCH_AND_OP_WORD): Likewise.
2737         (OP_AND_FETCH_WORD): Likewise.
2738         (COMPARE_AND_SWAP_2): Likewise.
2739         (__sync_val_compare_and_swap_4): Likewise.
2740         (__sync_bool_compare_and_swap_4): Likewise.
2741         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2742         (__sync_lock_test_and_set_4): Likewise.
2743         (SYNC_LOCK_RELEASE_1): Likewise.  Use __kernel_cmpxchg2 for release.
2744         (__sync_lock_release_4): Adjust operand types.  Use __kernel_cmpxchg
2745         for release.
2746         (__sync_lock_release_8): Remove.
2748 2019-11-15  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2750         * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
2751         of __sigset_t.
2753 2019-11-14  Jerome Lambourg  <lambourg@adacore.com>
2754             Doug Rupp <rupp@adacore.com>
2755             Olivier Hainque  <hainque@adacore.com>
2757         * config.host: Collapse the arm-vxworks entries into
2758         a single arm-wrs-vxworks7* one.
2759         * config/arm/unwind-arm-vxworks.c: Update comments.  Provide
2760         __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
2761         kernel modules, to be overriden by libstdc++ when we link with
2762         it.  Rely on externally provided __exidx_start/end.
2764 2019-11-14  Doug Rupp  <rupp@adacore.com>
2765             Olivier Hainque  <hainque@adacore.com>
2767         * config.host: Handle aarch64*-wrs-vxworks7*.
2769 2019-11-12  Olivier Hainque  <hainque@adacore.com>
2771         * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
2772         sources except the cxx0x support to LIB2ADDEH.  We don't support
2773         cxx0x on AE/653.
2774         * config/t-vxworksae: New file.
2775         * config.host: Handle *-*-vxworksae: Add the two aforementioned
2776         Makefile fragment files at their expected position in the tmake_file
2777         list, in accordance with what is done for other VxWorks variants.
2779 2019-11-12  Corentin Gay  <gay@adacore.com>
2780             Jerome Lambourg  <lambourg@adacore.com>
2781             Olivier Hainque  <hainque@adacore.com>
2783         * config/t-gthr-vxworks: New file, add all the gthr-vxworks
2784         sources to LIB2ADDEH.
2785         * config/t-vxworks: Remove adjustments to LIB2ADDEH.
2786         * config/t-vxworks7: Likewise.
2788         * config.host: Append a block at the end of the file to add the
2789         t-gthr files to the tmake_file list for VxWorks after everything
2790         else.
2792         * config/vxlib.c: Rename as gthr-vxworks.c.
2793         * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
2795         * config/gthr-vxworks.h: Simplify a few comments.  Expose a TAS
2796         API and a basic error checking API, both internal.  Simplify the
2797         __gthread_once_t type definition and initializers.  Add sections
2798         for condition variables support and for the C++0x thread support,
2799         conditioned against Vx653 for the latter.
2801         * config/gthr-vxworks.c (__gthread_once): Simplify comments and
2802         implementation, leveraging the TAS internal API.
2803         * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
2804         API, leveraging the general availability of TLS services in VxWorks7
2805         post SR6xxx.
2806         (__gthread_setspecific, __gthread_setspecific): Use it.
2807         (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
2808         * config/gthr-vxworks-cond.c: New file.  GTHREAD_COND variable
2809         support based on VxWorks primitives.
2810         * config/gthr-vxworks-thread.c: New file.  GTHREAD_CXX0X support
2811         based on VxWorks primitives.
2813 2019-11-06  Jerome Lambourg  <lambourg@adacore.com>
2814             Olivier Hainque  <hainque@adacore.com>
2816         * config/vxcrtstuff.c: New file.
2817         * config/t-vxcrtstuff: New Makefile fragment.
2818         * config.host: Append t-vxcrtstuff to the tmake_file list
2819         on all VxWorks ports using dwarf for table based EH.
2821 2019-11-07  Georg-Johann Lay  <avr@gjlay.de>
2823         Support 64-bit double and 64-bit long double configurations.
2825         PR target/92055
2826         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
2827         long double is a 32-bit type.
2828         * config/avr/t-avrlibc: Copy double64 and long-double64
2829         multilib(s) from the vanilla one.
2830         * config/avr/t-copy-libgcc: New Makefile snip.
2832 2019-11-04  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2834         * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
2835         the target output object format is not ELF.
2836         s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
2838 2019-11-03  Oleg Endo  <olegendo@gcc.gnu.org>
2840         PR libgcc/78804
2841         * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
2842         * fp-bit.c (pack_d, unpack_d): Remove special cases for
2843         FLOAT_BIT_ORDER_MISMATCH.
2844         * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
2846 2019-11-01  Jim Wilson  <jimw@sifive.com>
2848         * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
2850 2019-10-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2852         * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
2853         s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY, 
2854         s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
2855         Define symbols for 32-bit and f5series hardware multiply
2856         register addresses.
2857         Replace hard-coded register addresses with symbols.
2858         Fix "_mspabi*" typo.
2859         Fix whitespace.
2860         * config/msp430/lib2mul.c: Add comment.
2862 2019-10-15  John David Anglin  <danglin@gcc.gnu.org>
2864         * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
2865         unsigned int.  Adjust callers.
2866         (__canonicalize_funcptr_for_compare): Change plabel type to volatile
2867         unsigned int *.  Load relocation offset before function pointer.
2868         Add barrier to ensure ordering.
2870 2019-10-12  John David Anglin  <danglin@gcc.gnu.org>
2872         * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
2873         Load PIC register after branch target.  Fix white space.
2874         * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
2875         implementations.  Load PIC register after branch target.  Don't
2876         clobber function pointer when it points to function descriptor.
2877         Use nullification instead of branch in LINUX implementation.
2879 2019-10-03  John David Anglin  <danglin@gcc.gnu.org>
2881         * config/pa/fptr.c: Disable -Warray-bounds warning.
2883 2019-09-25  Richard Henderson  <richard.henderson@linaro.org>
2885         * config.in, configure: Re-rebuild with stock autoconf 2.69,
2886         not the ubuntu modified 2.69.
2888         PR target/91833
2889         * config/aarch64/lse-init.c: Include auto-target.h.  Disable
2890         initialization if !HAVE_SYS_AUXV_H.
2891         * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
2892         * config.in, configure: Rebuild.
2894         PR target/91834
2895         * config/aarch64/lse.S (LDNM): Ensure STXR output does not
2896         overlap the inputs.
2898 2019-09-25  Shaokun Zhang  <zhangshaokun@hisilicon.com>
2900         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
2901         CTR_EL0.IDC and CTR_EL0.DIC.
2903 2019-09-20  Christophe Lyon  <christophe.lyon@st.com>
2905         Revert:
2906         2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2907                 Mickaël Guêné <mickael.guene@st.com>
2909         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2910         architecture.
2912 2019-09-19  Richard Henderson  <richard.henderson@linaro.org>
2914         * config/aarch64/lse-init.c: New file.
2915         * config/aarch64/lse.S: New file.
2916         * config/aarch64/t-lse: New file.
2917         * config.host: Add t-lse to all aarch64 tuples.
2919 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2920         Mickaël Guêné <mickael.guene@st.com>
2922         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2923         architecture.
2925 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2926         Mickaël Guêné <mickael.guene@st.com>
2928         * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
2929         (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
2930         (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
2931         (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
2932         (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
2933         (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
2934         (__gnu_personality_sigframe_fdpic): New.
2935         (get_eit_entry): Add FDPIC signal frame support.
2937 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2938         Mickaël Guêné <mickael.guene@st.com>
2940         * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
2941         (__kernel_dmb): Likewise.
2942         (__fdpic_cmpxchg): New function.
2943         (__fdpic_dmb): New function.
2944         * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
2945         (gnu_Unwind_Find_got): New function.
2946         (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
2947         * unwind-arm-common.inc (UCB_PR_GOT): New.
2948         (funcdesc_t): New struct.
2949         (get_eit_entry): Add FDPIC support.
2950         (unwind_phase2): Likewise.
2951         (unwind_phase2_forced): Likewise.
2952         (__gnu_Unwind_RaiseException): Likewise.
2953         (__gnu_Unwind_Resume): Likewise.
2954         (__gnu_Unwind_Backtrace): Likewise.
2955         * unwind-pe.h (read_encoded_value_with_base): Likewise.
2957 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2958         Mickaël Guêné <mickael.guene@st.com>
2960         * libgcc/crtstuff.c: Add support for FDPIC.
2962 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2964         * config.host: Handle *-*-uclinuxfdpiceabi.
2966 2019-09-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
2968         * config.host: Set cpu_type for bpf-*-* targets.
2969         * config/bpf/t-bpf: Likewise.
2970         * config/bpf/crtn.S: Likewise.
2971         * config/bpf/crti.S: New file.
2973 2019-09-06  Jim Wilson  <jimw@sifive.com>
2975         * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2976         (riscv*-*-freebsd*): Likewise.
2978 2019-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
2980         * config.host: Remove references to spu.
2981         * config/spu/: Remove directory.
2983 2019-08-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2985         PR target/91306
2986         * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
2987         element type, instead of "sizeof" the element type.
2988         (__DTOR_LIST__): Likewise.
2989         (__TMC_LIST__): Likewise.
2990         (__do_global_dtors_aux_fini_array_entry): Likewise.
2991         (__frame_dummy_init_array_entry): Likewise.
2992         (__CTOR_END__): Likewise.
2993         (__DTOR_END__): Likweise.
2994         (__FRAME_END__): Likewise.
2995         (__TMC_END__): Likewise.
2997 2019-08-20  Lili Cui  <lilicui@intel.com>
2999         * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
3000         INTEL_COREI7_COOPERLAKE.
3002 2019-07-31  Matt Thomas  <matt@3am-software.com>
3003             Nick Hudson <nick@nthcliff.demon.co.uk>
3004             Matthew Green <mrg@eterna.com.au>
3005             Maya Rashish <coypu@sdf.org>
3007         * config.host (hppa*-*-netbsd*): New case.
3008         * config/pa/t-netbsd: New file.
3010 2019-07-31  Joel Hutton  <Joel.Hutton@arm.com>
3012         * config/arm/cmse.c (cmse_check_address_range): Add
3013         warn_unused_result attribute.
3015 2019-07-22  Martin Liska  <mliska@suse.cz>
3017         * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
3018         * config/pa/t-stublib: Likewise.
3020 2019-07-22  Stafford Horne  <shorne@gmail.com>
3022         PR target/90362
3023         * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
3024         to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
3025         instructions are not available on every processor.  Change a
3026         l.bnf to l.bf to fix logic issue.
3028 2019-07-04  Iain Sandoe  <iain@sandoe.co.uk>
3030         * config.host: Remove reference to t-darwin8.
3032 2019-07-03  Iain Sandoe  <iain@sandoe.co.uk>
3034         * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
3035         list.
3036         * config/rs6000/t-darwin: Build crt3_2 for older systems.  Revise
3037         mmacosx-version-min for crts to run across all system versions.
3038         * config/rs6000/t-darwin64 (LIB2ADD): Remove.
3039         * config/t-darwin: Revise mmacosx-version-min for crts to run across
3040         system versions >= 10.4.
3042 2019-07-03  Martin Liska  <mliska@suse.cz>
3044         * Makefile.in: Use topn_values instead of one_value names.
3045         * libgcov-merge.c (__gcov_merge_single): Move to ...
3046         (__gcov_merge_topn): ... this.
3047         (merge_single_value_set): Move to ...
3048         (merge_topn_values_set): ... this.
3049         * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
3050         ...
3051         (__gcov_topn_values_profiler_body): ... this.
3052         (__gcov_one_value_profiler_v2): Move to ...
3053         (__gcov_topn_values_profiler): ... this.
3054         (__gcov_one_value_profiler_v2_atomic): Move to ...
3055         (__gcov_topn_values_profiler_atomic): ... this.
3056         (__gcov_indirect_call_profiler_v4): Remove.
3057         * libgcov-util.c (__gcov_single_counter_op): Move to ...
3058         (__gcov_topn_counter_op): ... this.
3059         * libgcov.h (L_gcov_merge_single): Remove.
3060         (L_gcov_merge_topn): New.
3061         (__gcov_merge_single): Remove.
3062         (__gcov_merge_topn): New.
3063         (__gcov_one_value_profiler_v2): Move to ..
3064         (__gcov_topn_values_profiler): ... this.
3065         (__gcov_one_value_profiler_v2_atomic): Move to ...
3066         (__gcov_topn_values_profiler_atomic): ... this.
3068 2019-07-03  Martin Liska  <mliska@suse.cz>
3070         * libgcov-merge.c (merge_single_value_set): Support N values.
3071         * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
3073 2019-06-27  Ilia Diachkov  <ilia.diachkov@optimitech.com>
3075         * Makefile.in (USE_TM_CLONE_REGISTRY): New.
3076         (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
3077         * configure.ac: Add --disable-tm-clone-registry option.
3078         * configure: Regenerate.
3080 2019-06-27  Martin Liska  <mliska@suse.cz>
3082         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
3083         dead assignments.
3084         * libgcov-util.c: Likewise.
3086 2019-06-27  Martin Liska  <mliska@suse.cz>
3088         * libgcov-util.c (gcov_profile_merge): Release allocated
3089         memory.
3090         (calculate_overlap): Likewise.
3092 2019-06-25  Iain Sandoe  <iain@sandoe.co.uk>
3094         * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
3095         * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
3096         Build objects for the out of line save/restore register functions
3097         so that they can be used for any supported Darwin version.
3098         * config/t-darwin: Default the build Darwin version to Darwin8
3099         (MacOS 10.4).
3101 2019-06-25  Martin Liska  <mliska@suse.cz>
3103         * libgcov-driver-system.c (replace_filename_variables): Do not
3104         call strlen with NULL argument.
3106 2019-06-25  Andrew Stubbs  <ams@codesourcery.com>
3108         * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
3109         * config/gcn/unwind-gcn.c: New file.
3111 2019-06-25  Kwok Cheung Yeung  <kcy@codesourcery.com>
3112             Andrew Stubbs  <ams@codesourcery.com>
3114         * configure: Regenerate.
3115         * config/gcn/gthr-gcn.h: New.
3117 2019-06-18  Tom de Vries  <tdevries@suse.de>
3119         * config/nvptx/crt0.c (__main): Declare.
3121 2019-06-17  Matthew Green  <mrg@eterna.com.au>
3122             Maya Rashish  <coypu@sdf.org>
3124         * config.host (aarch64*-*-netbsd*): New case.
3126 2019-06-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3128         * config/msp430/slli.S (__mspabi_sllll): New library function for
3129         performing a logical left shift of a 64-bit value.
3130         * config/msp430/srai.S (__mspabi_srall): New library function for
3131         performing a arithmetic right shift of a 64-bit value.
3132         * config/msp430/srll.S (__mspabi_srlll): New library function for
3133         performing a logical right shift of a 64-bit value.
3135 2019-06-14  Matt Thomas  <matt@3am-software.com>
3136             Matthew Green  <mrg@eterna.com.au>
3137             Nick Hudson  <skrll@netbsd.org>
3138             Maya Rashish  <coypu@sdf.org>
3140         * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
3141         * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
3142         functions to build.
3143         * config/arm/t-netbsd-eabi: New file.
3145 2019-06-12  Dimitar Dimitrov  <dimitar@dinux.eu>
3147         * config.host: Add PRU target.
3148         * config/pru/asri.c: New file.
3149         * config/pru/eqd.c: New file.
3150         * config/pru/eqf.c: New file.
3151         * config/pru/ged.c: New file.
3152         * config/pru/gef.c: New file.
3153         * config/pru/gtd.c: New file.
3154         * config/pru/gtf.c: New file.
3155         * config/pru/led.c: New file.
3156         * config/pru/lef.c: New file.
3157         * config/pru/lib2bitcountHI.c: New file.
3158         * config/pru/lib2divHI.c: New file.
3159         * config/pru/lib2divQI.c: New file.
3160         * config/pru/lib2divSI.c: New file.
3161         * config/pru/libgcc-eabi.ver: New file.
3162         * config/pru/ltd.c: New file.
3163         * config/pru/ltf.c: New file.
3164         * config/pru/mpyll.S: New file.
3165         * config/pru/pru-abi.h: New file.
3166         * config/pru/pru-asm.h: New file.
3167         * config/pru/pru-divmod.h: New file.
3168         * config/pru/sfp-machine.h: New file.
3169         * config/pru/t-pru: New file.
3171 2019-06-11  Jakub Jelinek  <jakub@redhat.com>
3173         * libgcov-merge.c (__gcov_merge_single): Revert previous change.
3175 2019-06-10  Martin Liska  <mliska@suse.cz>
3177         PR bootstrap/90808
3178         * libgcov.h: Add ATTRIBUTE_UNUSED.
3180 2019-06-10  Martin Liska  <mliska@suse.cz>
3182         * Makefile.in: Add __gcov_one_value_profiler_v2,
3183         __gcov_one_value_profiler_v2_atomic and
3184         __gcov_indirect_call_profiler_v4.
3185         * libgcov-merge.c (__gcov_merge_single): Change
3186         function signature.
3187         (merge_single_value_set): New.
3188         * libgcov-profiler.c (__gcov_one_value_profiler_body):
3189         Update functionality.
3190         (__gcov_one_value_profiler): Remove.
3191         (__gcov_one_value_profiler_v2): ... this.
3192         (__gcov_one_value_profiler_atomic): Rename to ...
3193         (__gcov_one_value_profiler_v2_atomic): this.
3194         (__gcov_indirect_call_profiler_v3): Rename to ...
3195         (__gcov_indirect_call_profiler_v4): ... this.
3196         * libgcov.h (__gcov_one_value_profiler): Remove.
3197         (__gcov_one_value_profiler_atomic): Remove.
3198         (__gcov_one_value_profiler_v2_atomic): New.
3199         (__gcov_indirect_call_profiler_v3): Remove.
3200         (__gcov_one_value_profiler_v2): New.
3201         (__gcov_indirect_call_profiler_v4): New.
3202         (gcov_get_counter_ignore_scaling): New function.
3204 2019-06-07  Martin Liska  <mliska@suse.cz>
3206         * Makefile.in: Remove usage of
3207         _gcov_merge_icall_topn.
3208         * libgcov-driver.c (gcov_sort_n_vals): Remove.
3209         (gcov_sort_icall_topn_counter): Likewise.
3210         (gcov_sort_topn_counter_arrays): Likewise.
3211         (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
3212         * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
3213         * libgcov-profiler.c (__gcov_topn_value_profiler_body):
3214         Likewise.
3215         (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
3216         (struct indirect_call_tuple): Remove.
3217         (__gcov_indirect_call_topn_profiler): Remove.
3218         * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
3219         * libgcov.h (gcov_sort_n_vals): Remove.
3220         (L_gcov_merge_icall_topn): Likewise.
3221         (__gcov_merge_icall_topn): Likewise.
3222         (__gcov_indirect_call_topn_profiler): Likewise.
3224 2019-06-06  Iain Sandoe  <iain@sandoe.co.uk>
3226         * config/rs6000/t-darwin: Ensure that the unwinder is built with
3227         altivec enabled.
3229 2019-06-06  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3231         * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
3232         section.
3233         (__mspabi_slli): Likewise.
3234         (__mspabi_slll_n): Likewise.
3235         (__mspabi_slll): Likewise.
3236         * config/msp430/srai.S (__mspabi_srai_n): Likewise.
3237         (__mspabi_srai): Likewise.
3238         (__mspabi_sral_n): Likewise.
3239         (__mspabi_sral): Likewise.
3240         * config/msp430/srli.S (__mspabi_srli_n): Likewise.
3241         (__mspabi_srli): Likewise.
3242         (__mspabi_srll_n): Likewise.
3243         (__mspabi_srll): Likewise.
3245 2019-06-05  Yoshinori Sato  <ysato@users.sourceforge.jp>
3247         * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
3248         Add appropriate tm_file clause as well.
3249         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
3251 2019-06-05  James Clarke  <jrtc27@jrtc27.com>
3253         * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
3254         rather than .data/.bss so it can be accessed via gp-relative
3255         addressing.
3257 2019-06-05  David Edelsohn  <dje.gcc@gmail.com>
3259         * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
3260         (CR2_REGNO): Rename to R_CR2.
3261         (XER_REGNO): Rename to R_XER.
3262         (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
3263         (VRSAVE_REGNO): Rename to R_VRSAVE.
3264         (VSCR_REGNO): R_VSCR.
3266 2019-05-29  Yoshinori Sato  <ysato@users.sourceforge.jp>
3268         * config.host (rx-*-linux*): Add new case.
3269         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
3271 2019-05-29  Sam Tebbs  <sam.tebbs@arm.com>
3273         * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
3274         function.
3275         * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
3276         aarch64_post_frob_eh_handler_addr): Add check for b-key.
3277         * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
3278         aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
3279         Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
3280         * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
3281         string.
3282         * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
3283         string.
3284         (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
3286 2019-05-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3288         * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
3289         Remove Solaris 9 and 10 support.
3290         (sparc_is_sighandler): Likewise.
3292 2019-05-26  John David Anglin  <danglin@gcc.gnu.org>
3294         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
3296 2019-05-17  H.J. Lu  <hongjiu.lu@intel.com>
3298         * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3299         4_FP_W_TYPEs are used for IEEE quad precision.
3300         * soft-fp/extendhftf2.c: Likewise.
3301         * soft-fp/extendsftf2.c: Likewise.
3302         * soft-fp/extendxftf2.c: Likewise.
3303         * soft-fp/trunctfdf2.c: Likewise.
3304         * soft-fp/trunctfhf2.c: Likewise.
3305         * soft-fp/trunctfsf2.c: Likewise.
3306         * soft-fp/trunctfxf2.c: Likewise.
3307         * config/rs6000/ibm-ldouble.c: Likewise.
3309 2019-05-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3311         * config.host: Simplify various *-*-solaris2.1[0-9]* to
3312         *-*-solaris2*.
3313         * configure.ac: Likewise.
3314         * configure: Regenerate.
3316         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3317         Solaris 10 and Solaris 11 < snv_125 handling.
3319 2019-05-12  Iain Sandoe  <iain@sandoe.co.uk>
3321         * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
3323 2019-05-07  Hongtao Liu  <hongtao.liu@intel.com>
3325         * config/i386/cpuinfo.c (get_available_features): Detect BF16.
3326         * config/i386/cpuinfo.h (enum processor_features): Add
3327         FEATURE_AVX512BF16.
3329 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
3330             Bernd Edlinger  <bernd.edlinger@hotmail.de>
3331             Jakub Jelinek  <jakub@redhat.com>
3333         PR target/89093
3334         * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
3335         * config/arm/unwind-arm.c: Likewise.
3336         * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
3337         attribute for ARM.
3339 2019-04-15  Monk Chiang  <sh.chiang04@gmail.com>
3341         * config/nds32/linux-unwind.h (SIGRETURN): Remove.
3342         (RT_SIGRETURN): Update.
3343         (nds32_fallback_frame_state): Update.
3345 2019-02-21  Martin Sebor  <msebor@redhat.com>
3347         * libgcc2.h (__clear_cache): Correct signature.
3348         * libgcc2.c (__clear_cache): Same.
3350 2019-02-20  Uroš Bizjak  <ubizjak@gmail.com>
3352         * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
3353         Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
3355 2019-02-19  Uroš Bizjak  <ubizjak@gmail.com>
3357         * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
3358         regno instead of index to DWARF_ZERO_REG.
3360 2019-02-15  Eric Botcazou  <ebotcazou@adacore.com>
3362         * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
3363         TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
3365 2019-01-31  Uroš Bizjak  <ubizjak@gmail.com>
3367         * config/alpha/t-linux: Add -mfp-rounding-mode=d
3368         to HOST_LIBGCC2_CFLAGS.
3370 2019-01-23  Joseph Myers  <joseph@codesourcery.com>
3372         PR libgcc/88931
3373         * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
3375 2019-01-18  Martin Liska  <mliska@suse.cz>
3377         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
3378         to ...
3379         (__gcov_indirect_call_profiler_v3): ... this.
3380         * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
3381         (__gcov_indirect_call_profiler_v3): Likewise.
3382         * Makefile.in: Bump function name.
3384 2019-01-18  Martin Liska  <mliska@suse.cz>
3386         * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
3387         (gcov_version): Use in gcov_error.
3388         (merge_one_data): Likewise.
3389         (dump_one_gcov): Likewise.
3391 2019-01-18  Martin Liska  <mliska@suse.cz>
3393         * libgcov-driver.c (gcov_version_string): New function.
3394         (gcov_version): Convert version integer into string.
3396 2019-01-17  Andrew Stubbs  <ams@codesourcery.com>
3397             Kwok Cheung Yeung  <kcy@codesourcery.com>
3398             Julian Brown  <julian@codesourcery.com>
3399             Tom de Vries  <tom@codesourcery.com>
3401         * config.host: Recognize amdgcn*-*-amdhsa.
3402         * config/gcn/crt0.c: New file.
3403         * config/gcn/lib2-divmod-hi.c: New file.
3404         * config/gcn/lib2-divmod.c: New file.
3405         * config/gcn/lib2-gcn.h: New file.
3406         * config/gcn/sfp-machine.h: New file.
3407         * config/gcn/t-amdgcn: New file.
3409 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
3411         PR other/16615
3413         * config/c6x/libunwind.S: Mechanically replace "can not" with
3414         "cannot".
3415         * config/tilepro/atomic.h: Likewise.
3416         * config/vxlib-tls.c: Likewise.
3417         * generic-morestack-thread.c: Likewise.
3418         * generic-morestack.c: Likewise.
3419         * mkmap-symver.awk: Likewise.
3421 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
3423         Update copyright years.
3425 2018-12-20  H.J. Lu  <hongjiu.lu@intel.com>
3427         * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
3428         to ignore -Waddress-of-packed-member.
3430 2018-12-19  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
3432         * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
3433         parameter and corresponding code.
3434         (ARM_FUNC_START): Likewise in both definitions.
3435         Also update footer comment about condition that need to match with
3436         gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
3437         * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
3438         defined.  Weakly define it in this case.
3439         * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
3440         * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
3441         _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
3442         comment to keep condition in sync with the one in
3443         libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
3445 2018-12-18  Wei Xiao  <wei3.xiao@intel.com>
3447         * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
3448         * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
3450 2018-12-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3452         * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
3453         and .cfi_endproc directives for VxWorks targets.
3455 2018-12-05  Paul Koning  <ni1d@arrl.net>
3457         * udivmodhi4.c (__udivmodhi4): Fix loop end check.
3459 2018-11-27  Alan Modra  <amodra@gmail.com>
3461         * config/rs6000/morestack.S (__stack_split_initialize),
3462         (__morestack_get_guard, __morestack_set_guard),
3463         (__morestack_make_guard): Provide CFI covering these functions.
3464         * config/rs6000/tramp.S (__trampoline_setup): Likewise.
3466 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
3468         * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
3469         (sc_pt_regs_lr): Update for kernel.
3470         (sc_pt_regs_tls): Update for kernel.
3472 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
3474         * config/csky/linux-unwind.h: Fix coding style.
3476 2018-11-13  Xianmiao Qu  <xianmiao_qu@c-sky.com>
3478         * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
3479         (csky_fallback_frame_state): Modify the check of the
3480         instructions to adapt to changes in the kernel
3482 2018-11-09  Stafford Horne  <shorne@gmail.com>
3483             Richard Henderson  <rth@twiddle.net>
3485         * config.host: Add OpenRISC support.
3486         * config/or1k/*: New.
3488 2018-11-08  Kito Cheng  <kito@andestech.com>
3490         * soft-fp/adddf3.c: Update from glibc.
3491         * soft-fp/addsf3.c: Likewise.
3492         * soft-fp/addtf3.c: Likewise.
3493         * soft-fp/divdf3.c: Likewise.
3494         * soft-fp/divsf3.c: Likewise.
3495         * soft-fp/divtf3.c: Likewise.
3496         * soft-fp/double.h: Likewise.
3497         * soft-fp/eqdf2.c: Likewise.
3498         * soft-fp/eqsf2.c: Likewise.
3499         * soft-fp/eqtf2.c: Likewise.
3500         * soft-fp/extenddftf2.c: Likewise.
3501         * soft-fp/extended.h: Likewise.
3502         * soft-fp/extendhftf2.c: Likewise.
3503         * soft-fp/extendsfdf2.c: Likewise.
3504         * soft-fp/extendsftf2.c: Likewise.
3505         * soft-fp/extendxftf2.c: Likewise.
3506         * soft-fp/fixdfdi.c: Likewise.
3507         * soft-fp/fixdfsi.c: Likewise.
3508         * soft-fp/fixdfti.c: Likewise.
3509         * soft-fp/fixhfti.c: Likewise.
3510         * soft-fp/fixsfdi.c: Likewise.
3511         * soft-fp/fixsfsi.c: Likewise.
3512         * soft-fp/fixsfti.c: Likewise.
3513         * soft-fp/fixtfdi.c: Likewise.
3514         * soft-fp/fixtfsi.c: Likewise.
3515         * soft-fp/fixtfti.c: Likewise.
3516         * soft-fp/fixunsdfdi.c: Likewise.
3517         * soft-fp/fixunsdfsi.c: Likewise.
3518         * soft-fp/fixunsdfti.c: Likewise.
3519         * soft-fp/fixunshfti.c: Likewise.
3520         * soft-fp/fixunssfdi.c: Likewise.
3521         * soft-fp/fixunssfsi.c: Likewise.
3522         * soft-fp/fixunssfti.c: Likewise.
3523         * soft-fp/fixunstfdi.c: Likewise.
3524         * soft-fp/fixunstfsi.c: Likewise.
3525         * soft-fp/fixunstfti.c: Likewise.
3526         * soft-fp/floatdidf.c: Likewise.
3527         * soft-fp/floatdisf.c: Likewise.
3528         * soft-fp/floatditf.c: Likewise.
3529         * soft-fp/floatsidf.c: Likewise.
3530         * soft-fp/floatsisf.c: Likewise.
3531         * soft-fp/floatsitf.c: Likewise.
3532         * soft-fp/floattidf.c: Likewise.
3533         * soft-fp/floattihf.c: Likewise.
3534         * soft-fp/floattisf.c: Likewise.
3535         * soft-fp/floattitf.c: Likewise.
3536         * soft-fp/floatundidf.c: Likewise.
3537         * soft-fp/floatundisf.c: Likewise.
3538         * soft-fp/floatunditf.c: Likewise.
3539         * soft-fp/floatunsidf.c: Likewise.
3540         * soft-fp/floatunsisf.c: Likewise.
3541         * soft-fp/floatunsitf.c: Likewise.
3542         * soft-fp/floatuntidf.c: Likewise.
3543         * soft-fp/floatuntihf.c: Likewise.
3544         * soft-fp/floatuntisf.c: Likewise.
3545         * soft-fp/floatuntitf.c: Likewise.
3546         * soft-fp/gedf2.c: Likewise.
3547         * soft-fp/gesf2.c: Likewise.
3548         * soft-fp/getf2.c: Likewise.
3549         * soft-fp/half.h: Likewise.
3550         * soft-fp/ledf2.c: Likewise.
3551         * soft-fp/lesf2.c: Likewise.
3552         * soft-fp/letf2.c: Likewise.
3553         * soft-fp/muldf3.c: Likewise.
3554         * soft-fp/mulsf3.c: Likewise.
3555         * soft-fp/multf3.c: Likewise.
3556         * soft-fp/negdf2.c: Likewise.
3557         * soft-fp/negsf2.c: Likewise.
3558         * soft-fp/negtf2.c: Likewise.
3559         * soft-fp/op-1.h: Likewise.
3560         * soft-fp/op-2.h: Likewise.
3561         * soft-fp/op-4.h: Likewise.
3562         * soft-fp/op-8.h: Likewise.
3563         * soft-fp/op-common.h: Likewise.
3564         * soft-fp/quad.h: Likewise.
3565         * soft-fp/single.h: Likewise.
3566         * soft-fp/soft-fp.h: Likewise.
3567         * soft-fp/subdf3.c: Likewise.
3568         * soft-fp/subsf3.c: Likewise.
3569         * soft-fp/subtf3.c: Likewise.
3570         * soft-fp/truncdfsf2.c: Likewise.
3571         * soft-fp/trunctfdf2.c: Likewise.
3572         * soft-fp/trunctfhf2.c: Likewise.
3573         * soft-fp/trunctfsf2.c: Likewise.
3574         * soft-fp/trunctfxf2.c: Likewise.
3575         * soft-fp/unorddf2.c: Likewise.
3576         * soft-fp/unordsf2.c: Likewise.
3577         * soft-fp/unordtf2.c: Likewise.
3579 2018-11-04  Venkataramanan Kumar  <Venkataramanan.kumar@amd.com>
3581         * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
3582         * config/i386/cpuinfo.h (processor_types): Add znver2.
3584 2018-11-01  Paul Koning  <ni1d@arrl.net>
3586         * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
3587         (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
3589 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
3591         PR bootstrap/82856
3592         * configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
3593         * configure: Regenerate.
3595 2018-10-31  Claudiu Zissulescu  <claziss@synopsys.com>
3597         * config/arc/lib1funcs.S (_muldi3): New function.
3598         * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
3600 2018-10-30  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3602         * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
3604 2018-10-25  Martin Liska  <mliska@suse.cz>
3606         PR other/87735
3607         * libgcov-profiler.c: Revert.
3609 2018-10-24  Martin Liska  <mliska@suse.cz>
3611         * libgcov-profiler.c: Start from 1 in order to distinguish
3612         functions which were seen and these that were not.
3614 2018-10-18  Paul Koning  <ni1d@arrl.net>
3616         * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
3617         standard.
3618         * divmod.c: Update references to __udivmodsi4.
3619         * udivmod.c: Ditto.
3620         * udivhi3.c: New file.
3621         * udivmodhi4.c: New file.
3622         * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
3624 2018-10-17  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3626         * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
3628 2018-10-12  Olivier Hainque  <hainque@adacore.com>
3630         * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
3631         defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
3633 2018-10-08  Paul Koning  <ni1d@arrl.net>
3635         * config/pdp11/t-pdp11: Remove -mfloat32 switch.
3637 2018-10-04  Martin Liska  <mliska@suse.cz>
3639         PR gcov-profile/84107
3640         * libgcov-profiler.c (__gcov_indirect_call):
3641         Change type to indirect_call_tuple.
3642         (struct indirect_call_tuple): New struct.
3643         (__gcov_indirect_call_topn_profiler): Change type.
3644         (__gcov_indirect_call_profiler_v2): Use the new
3645         variables.
3646         * libgcov.h (struct indirect_call_tuple): New struct
3647         definition.
3649 2018-10-03  Uros Bizjak  <ubizjak@gmail.com>
3651         * libgcc2.c (isnan): Use __builtin_isnan.
3652         (isfinite): Use __builtin_isfinite.
3653         (isinf): Use __builtin_isinf.
3655 2018-09-26  Uros Bizjak  <ubizjak@gmail.com>
3657         * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
3659 2018-09-21  Alexandre Oliva  <oliva@adacore.com>
3661         * config/vxcache.c: New file.  Provide __clear_cache, based on
3662         the cacheTextUpdate VxWorks service.
3663         * config/t-vxworks (LIB2ADD): Add vxcache.c.
3664         (LIB2FUNCS_EXCLUDE): Add _clear_cache.
3665         * config/t-vxwoks7: Likewise.
3667 2018-09-21  Martin Liska  <mliska@suse.cz>
3669         * libgcov-driver.c (crc32_unsigned): Remove.
3670         (gcov_histogram_insert): Likewise.
3671         (gcov_compute_histogram): Likewise.
3672         (compute_summary): Simplify rapidly.
3673         (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
3674         (merge_summary): Rapidly simplify.
3675         (dump_one_gcov): Ignore gcov_summary.
3676         (gcov_do_dump): Do not handle program summary, it's not
3677         used.
3678         * libgcov-util.c (tag_summary): Remove.
3679         (read_gcda_finalize): Fix coding style.
3680         (read_gcda_file): Initialize curr_object_summary.
3681         (compute_summary): Remove.
3682         (calculate_overlap): Remove settings of run_max.
3684 2018-09-21  Monk Chiang  <sh.chiang04@gmail.com>
3686         * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
3687         ucontext_t type instead.
3688         (nds32_fallback_frame_state): Remove struct _sigframe statement.
3690 2018-09-21  Kito Cheng  <kito.cheng@gmail.com>
3692         * config/nds32/t-nds32-glibc: New file.
3694 2018-09-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3696         * configure.ac (solaris_ld_v2_maps): New test.
3697         * configure: Regenerate.
3698         * Makefile.in (solaris_ld_v2_maps): New variable.
3699         * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
3700         if supported.
3702 2018-08-23  Richard Earnshaw  <rearnsha@arm.com>
3704         PR target/86951
3705         * config/arm/lib1funcs.asm (speculation_barrier): New function.
3706         * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
3707         to build.
3709 2018-08-22  Iain Sandoe  <iain@sandoe.co.uk>
3711         * config/unwind-dw2-fde-darwin.c
3712         (_darwin10_Unwind_FindEnclosingFunction): move from here ...
3713         * config/darwin10-unwind-find-enc-func.c: … to here.
3714         * config/t-darwin: Build Darwin10 unwinder shim crt.
3715         * libgcc/config.host: Add the Darwin10 unwinder shim.
3717 2018-08-21  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3719         * config.host: Add crtbegin.o and crtend.o for
3720         powerpc-wrs-vxworks target.
3722 2018-08-17  Jojo  <jijie_rong@c-sky.com>
3723             Huibin Wang  <huibin_wang@c-sky.com>
3724             Sandra Loosemore  <sandra@codesourcery.com>
3725             Chung-Lin Tang  <cltang@codesourcery.com>
3727         C-SKY port: libgcc
3729         * config.host: Add C-SKY support.
3730         * config/csky/*: New.
3732 2018-08-12  Chung-Ju Wu  <jasonwucj@gmail.com>
3734         * config/nds32/t-nds32-isr: Rearrange object dependency.
3735         * config/nds32/initfini.c: Add dwarf2 unwinding support.
3736         * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
3737         and registers usage.
3738         * config/nds32/isr-library/excp_isr.S: Ditto.
3739         * config/nds32/isr-library/intr_isr.S: Ditto.
3740         * config/nds32/isr-library/reset.S: Ditto.
3741         * config/nds32/isr-library/restore_all.inc: Ditto.
3742         * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
3743         * config/nds32/isr-library/restore_partial.inc: Ditto.
3744         * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
3745         * config/nds32/isr-library/save_all.inc: Ditto.
3746         * config/nds32/isr-library/save_mac_regs.inc: Ditto.
3747         * config/nds32/isr-library/save_partial.inc: Ditto.
3748         * config/nds32/isr-library/save_usr_regs.inc: Ditto.
3749         * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
3751 2018-08-11  John David Anglin  <danglin@gcc.gnu.org>
3753         * config/pa/linux-atomic.c: Update comment.
3754         (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
3755         COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
3756         SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
3757         __ATOMIC_RELAXED for atomic loads.
3758         (SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
3759         unordered store to release lock.
3760         (__sync_lock_release_8): Likewise.
3761         (SYNC_LOCK_RELEASE_2): Remove define.
3763 2018-08-02  Nicolas Pitre <nico@fluxnic.net>
3765         PR libgcc/86512
3766         * config/arm/ieee754-df.S: Don't shortcut denormal handling when
3767         exponent goes negative. Update my email address.
3768         * config/arm/ieee754-sf.S: Likewise.
3770 2018-08-01  Martin Liska  <mliska@suse.cz>
3772         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
3773         check that  __gcov_indirect_call_callee is non-null.
3775 2018-07-30  Christophe Lyon  <christophe.lyon@linaro.org>
3777         * config/arm/ieee754-df.S: Fix comment for code working on
3778         architectures >= 4.
3779         * config/arm/ieee754-sf.S: Likewise.
3781 2018-07-27  H.J. Lu  <hongjiu.lu@intel.com>
3783         PR libgcc/85334
3784         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3785         Removed.
3787 2018-07-05  James Clarke  <jrtc27@jrtc27.com>
3789         * configure: Regenerated.
3791 2018-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3793         * Makefile.in (install_leaf): Use enable_gcov instead of
3794         enable_libgcov.
3796 2018-06-27  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3798         * configure.ac: Add --disable-gcov option.
3799         * configure: Regenerate.
3800         * Makefile.in: Honour @enable_gcov@.
3802 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
3804         * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
3805         __ARM_ARCH and __ARM_FEATURE_CLZ instead.
3806         (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
3807         * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
3808         __ARM_ARCH__.
3809         * config/arm/ieee754-sf.S: Likewise.
3810         * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
3812 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
3814         * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
3815         longer supported.
3816         * config/arm/ieee754-sf.S: Likewise.
3818 2018-06-20  Than McIntosh  <thanm@google.com>
3820         PR libgcc/86213
3821         * generic-morestack.c (allocate_segment): Move calls to getenv and
3822         getpagesize to __morestack_load_mmap.
3823         (__morestack_load_mmap) Initialize static_pagesize and
3824         use_guard_page here so as to avoid clobbering SSE regs during a
3825         __morestack call.
3827 2018-06-18  Michael Meissner  <meissner@linux.ibm.com>
3829         * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
3830         support modules with -mno-gnu-attribute.
3831         * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
3833 2018-06-07  Olivier Hainque  <hainque@adacore.com>
3835         * config/t-vxworks (LIBGCC_INCLUDES): Add
3836         -I$(MULTIBUILDTOP)../../gcc/include.
3837         * config/t-vxworks7: Likewise. Reformat a bit to match
3838         the t-vxworks layout.
3840 2018-06-07  Olga Makhotina  <olga.makhotina@intel.com>
3842         * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
3844 2018-06-07  Martin Liska  <mliska@suse.cz>
3846         * libgcov-driver.c: Rename cs_all to all and assign it from
3847         all_prg.
3849 2018-06-07  Martin Liska  <mliska@suse.cz>
3851         PR bootstrap/86057
3852         * libgcov-driver-system.c (replace_filename_variables): Use
3853         memcpy instead of mempcpy.
3854         (allocate_filename_struct): Do not allocate filename, allocate
3855         prefix and set it.
3856         (gcov_exit_open_gcda_file): Allocate memory for gf->filename
3857         here and properly copy content into it.
3858         * libgcov-driver.c (struct gcov_filename): Remove max_length
3859         field, change prefix from size_t into char *.
3860         (compute_summary): Do not calculate longest filename.
3861         (gcov_do_dump): Release memory of gf.filename after each file.
3862         * libgcov-util.c (compute_summary): Use new signature of
3863         compute_summary.
3864         (calculate_overlap): Likewise.
3866 2018-06-05  Martin Liska  <mliska@suse.cz>
3868         PR gcov-profile/47618
3869         * libgcov-driver-system.c (replace_filename_variables): New
3870         function.
3871         (gcov_exit_open_gcda_file): Use it.
3873 2018-06-05  Martin Liska  <mliska@suse.cz>
3875         * libgcov-driver.c (gcov_compute_histogram): Remove usage
3876         of gcov_ctr_summary.
3877         (compute_summary): Do it just for a single summary.
3878         (merge_one_data): Likewise.
3879         (merge_summary): Simplify as we read just single summary.
3880         (dump_one_gcov): Pass proper argument.
3881         * libgcov-util.c (compute_one_gcov): Simplify as we have just
3882         single summary.
3883         (gcov_info_count_all_cold): Likewise.
3884         (calculate_overlap): Likewise.
3886 2018-06-02  Chung-Ju Wu  <jasonwucj@gmail.com>
3887             Monk Chiang  <sh.chiang04@gmail.com>
3889         * config.host (nds32*-linux*): New.
3890         * config/nds32/linux-atomic.c: New file.
3891         * config/nds32/linux-unwind.h: New file.
3893 2018-05-31  Uros Bizjak  <ubizjak@gmail.com>
3895         PR target/85591
3896         * config/i386/cpuinfo.c (get_amd_cpu): Return
3897         AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
3899 2018-05-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
3901         * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
3903 2018-05-29  Martin Liska  <mliska@suse.cz>
3905         PR gcov-profile/85759
3906         * libgcov-driver-system.c (gcov_error): Introduce usage of
3907         GCOV_EXIT_AT_ERROR env. variable.
3908         * libgcov-driver.c (merge_one_data): Print error that we
3909         overwrite a gcov file with a different timestamp.
3911 2018-05-23  Kalamatee  <kalamatee@gmail.com>
3913         * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
3914         path to Lf$finfty.
3916 2018-05-18  Kito Cheng <kito.cheng@gmail.com>
3917             Monk Chiang  <sh.chiang04@gmail.com>
3918             Jim Wilson <jimw@sifive.com>
3920         * config/riscv/save-restore.S: Add support for rv32e.
3922 2018-05-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
3924         * config/arm/libunwind.S: Update comment relating to armv5.
3926 2018-05-17  Jerome Lambourg  <lambourg@adacore.com>
3928         * config/arm/cmse.c (cmse_check_address_range): Replace
3929         UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
3931 2018-05-17  Olga Makhotina  <olga.makhotina@intel.com>
3933         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
3934         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
3936 2018-05-08  Olga Makhotina  <olga.makhotina@intel.com>
3938         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
3939         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
3941 2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
3943         * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
3945 2018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
3946             Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
3948         PR libgcc/84292
3949         * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
3950         op_and_fetch to return the right result.
3952 2018-04-27  Alan Modra  <amodra@gmail.com>
3954         PR libgcc/85532
3955         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
3956         -fno-asynchronous-unwind-tables.
3958 2018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
3960         * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
3961         * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
3963 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
3965         * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
3966         when including "config/i386/shadow-stack-unwind.h".
3968 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
3970         * configure: Regenerated.
3972 2018-04-20  Michael Meissner  <meissner@linux.ibm.com>
3974         PR target/85456
3975         * config/rs6000/_powikf2.c: New file.  Add support for the
3976         __builtin_powil function when long double is IEEE 128-bit floating
3977         point.
3978         * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
3979         __powikf2 support.
3980         (__powikf2): Likewise.
3981         * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
3982         (__powikf2_hw): Likewise.
3983         (__powikf2): Likewise.
3984         * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
3985         * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
3986         (_powikf2-hw.c): Likewise.
3988 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
3990         PR libgcc/85334
3991         * unwind-generic.h (_Unwind_Frames_Increment): New.
3992         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3993         Likewise.
3994         * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
3995         count with _Unwind_Frames_Increment.
3996         (_Unwind_ForcedUnwind_Phase2): Likewise.
3998 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
4000         PR libgcc/85379
4001         * config/i386/morestack.S (__stack_split_initialize): Add
4002         _CET_ENDBR.
4004 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
4006         * configure: Regenerated.
4008 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
4010         PR jit/85384
4011         * configure: Regenerate.
4013 2018-04-16  Jakub Jelinek  <jakub@redhat.com>
4015         PR target/84945
4016         * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
4017         -Wdangling-else warnings.  Mask shift counts to avoid
4018         -Wshift-count-negative and -Wshift-count-overflow false positives.
4020 2018-04-06  Ruslan Bukin  <br@bsdpad.com>
4022         * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
4024 2018-03-29  H.J. Lu  <hongjiu.lu@intel.com>
4026         PR target/85100
4027         * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
4028         (XSTATE_FP): Likewise.
4029         (XSTATE_SSE): Likewise.
4030         (XSTATE_YMM): Likewise.
4031         (XSTATE_OPMASK): Likewise.
4032         (XSTATE_ZMM): Likewise.
4033         (XSTATE_HI_ZMM): Likewise.
4034         (XCR_AVX_ENABLED_MASK): Likewise.
4035         (XCR_AVX512F_ENABLED_MASK): Likewise.
4036         (get_available_features): Enable AVX and AVX512 features only
4037         if their states are supported by OSXSAVE.
4039 2018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4041         PR target/85025
4042         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4043         Fix a typo, tmp => 255.
4045 2018-03-20  Jakub Jelinek  <jakub@redhat.com>
4047         PR target/84945
4048         * config/i386/cpuinfo.h (__cpu_features2): Declare.
4049         * config/i386/cpuinfo.c (__cpu_features2): New variable for
4050         ifndef SHARED only.
4051         (set_feature): Define.
4052         (get_available_features): Use set_feature macro.  Set __cpu_features2
4053         to the second word of features ifndef SHARED.
4055 2018-03-15  Julia Koval  <julia.koval@intel.com>
4057         * config/i386/cpuinfo.c (get_available_features): Add
4058         FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
4059         FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
4060         * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
4061         FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
4062         FEATURE_AVX512BITALG.
4064 2018-03-14  Julia Koval  <julia.koval@intel.com>
4066         * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
4067         icelake client and icelake server.
4069 2018-03-06  John David Anglin  <danglin@gcc.gnu.org>
4071         * config/pa/fptr.c (_dl_read_access_allowed): New.
4072         (__canonicalize_funcptr_for_compare): Use it.
4074 2018-02-28  Jakub Jelinek  <jakub@redhat.com>
4076         PR debug/83917
4077         * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
4078         $asm_hidden_op if visibility ("hidden") attribute works.
4079         (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
4080         * config/i386/i386-asm.h: Don't include auto-host.h.
4081         (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
4082         PACKAGE_URL): Don't undefine.
4083         (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
4084         guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
4085         (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
4086         #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
4087         definition instead of hardcoded .hidden.
4088         * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
4089         directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
4090         #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
4091         (USE_GAS_CFI_DIRECTIVES): Don't define.
4092         * configure: Regenerated.
4093         * config.in: Likewise.
4095 2018-02-26  Jakub Jelinek  <jakub@redhat.com>
4097         PR debug/83917
4098         * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
4099         PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
4100         inclusion of auto-target.h and auto-host.h.
4101         (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
4102         __GCC_HAVE_DWARF2_CFI_ASM.
4103         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4104         cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
4105         cfi_pop): Define.
4106         * config/i386/cygwin.S: Don't include auto-host.h here, just
4107         define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
4108         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4109         cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
4110         * config/i386/resms64fx.h: Add cfi_* directives.
4111         * config/i386/resms64x.h: Likewise.
4113 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
4115         * config/xtensa/ieee754-df.S (__adddf3_aux): Add
4116         .literal_position directive.
4117         * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
4119 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4121         PR target/84148
4122         * configure: Regenerate.
4124 2018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4126         PR target/84239
4127         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4128         Include cetintrin.h not x86intrin.h.
4130 2018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4132         PR target/84239
4133         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4134         Use new _get_ssp and _inc_ssp intrinsics.
4136 2018-02-02  Julia Koval  <julia.koval@intel.com>
4138         * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
4140 2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
4142         * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
4143         option.
4144         (__divsi3): Use RF16 safe registers.
4145         (__modsi3): Likewise.
4147 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
4149         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
4150         (__divsf3): Make NaN return value quiet.
4151         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
4152         (__divdf3): Make NaN return value quiet.
4154 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4156         * config/rl78/anddi3.S: New assembly file.
4157         * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
4159 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4161         * config/rl78/umindi3.S: New assembly file.
4162         * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
4164 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4166         * config/rl78/smindi3.S: New assembly file.
4167         * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
4169 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4171         * config/rl78/smaxdi3.S: New assembly file.
4172         * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
4174 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4176         * config/rl78/umaxdi3.S: New assembly file.
4177         * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
4179 2018-01-21  John David Anglin  <danglin@gcc.gnu.org>
4181         PR lto/83452
4182         * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
4183         * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
4185 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
4187         * config/aarch64/value-unwind.h (aarch64_vg): New function.
4188         (DWARF_LAZY_REGISTER_VALUE): Define.
4189         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
4190         to provide a fallback register value.
4192 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
4194         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
4195         __ibm128, instead of trying to use long double.
4196         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
4197         accomidate -mabi=ieeelongdouble multilibs.
4198         (CVT_IBM128_TO_FLOAT128): Likewise.
4199         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
4200         the appropriate IBM extended double type.
4201         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
4202         (__gcc_qsub): Likewise.
4203         (__gcc_qmul): Likewise.
4204         (__gcc_qdiv): Likewise.
4205         (pack_ldouble): Likewise.
4206         (__gcc_qneg): Likewise.
4207         (__gcc_qeq): Likewise.
4208         (__gcc_qne): Likewise.
4209         (__gcc_qge): Likewise.
4210         (__gcc_qle): Likewise.
4211         (__gcc_stoq): Likewise.
4212         (__gcc_dtoq): Likewise.
4213         (__gcc_itoq): Likewise.
4214         (__gcc_utoq): Likewise.
4215         (__gcc_qunord): Likewise.
4216         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
4217         quad-float128.h for the definitions.
4218         (COPYSIGN): Use the f128 version instead of the q version.
4219         (INFINITY): Likewise.
4220         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
4221         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
4222         quad-float128.h for the definitions.
4223         (COPYSIGN): Use the f128 version instead of the q version.
4224         (INFINITY): Likewise.
4225         (FABS): Likewise.
4226         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
4227         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
4228         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
4230 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4232         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
4233         configuration.
4235 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
4237         Update copyright years.
4239 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
4241         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
4242         * config/riscv/multi3.c: New file.
4243         * config/riscv/multi3.S: Remove.
4245 2017-12-08  Jim Wilson  <jimw@sifive.com>
4247         * config/riscv/div.S: Use FUNC_* macros.
4248         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
4249         * config/riscv/save-restore.S: Likewise.
4250         * config/riscv/riscv-asm.h: New.
4252 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
4254         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
4255         * config/rs6000/_divkc3.c (__divkc3): Likewise.
4257         PR libgcc/83112
4258         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
4259         correct type for all ifunc resolvers to silence -Wattribute-alias
4260         warnings.  Eliminate the forward declaration of the resolver
4261         functions which is no longer needed.
4262         (__subkf3_resolve): Likewise.
4263         (__mulkf3_resolve): Likewise.
4264         (__divkf3_resolve): Likewise.
4265         (__negkf2_resolve): Likewise.
4266         (__eqkf2_resolve): Likewise.
4267         (__nekf2_resolve): Likewise.
4268         (__gekf2_resolve): Likewise.
4269         (__gtkf2_resolve): Likewise.
4270         (__lekf2_resolve): Likewise.
4271         (__ltkf2_resolve): Likewise.
4272         (__unordkf2_resolve): Likewise.
4273         (__extendsfkf2_resolve): Likewise.
4274         (__extenddfkf2_resolve): Likewise.
4275         (__trunckfsf2_resolve): Likewise.
4276         (__trunckfdf2_resolve): Likewise.
4277         (__fixkfsi_resolve): Likewise.
4278         (__fixkfdi_resolve): Likewise.
4279         (__fixunskfsi_resolve): Likewise.
4280         (__fixunskfdi_resolve): Likewise.
4281         (__floatsikf_resolve): Likewise.
4282         (__floatdikf_resolve): Likewise.
4283         (__floatunsikf_resolve): Likewise.
4284         (__floatundikf_resolve): Likewise.
4285         (__extendkftf2_resolve): Likewise.
4286         (__trunctfkf2_resolve): Likewise.
4288         PR libgcc/83103
4289         * config/rs6000/quad-float128.h (TF): Don't define if long double
4290         is IEEE 128-bit floating point.
4291         (TCtype): Define as either TCmode or KCmode, depending on whether
4292         long double is IEEE 128-bit floating point.
4293         (__mulkc3_sw): Add declarations for software/hardware versions of
4294         complex multiply/divide.
4295         (__divkc3_sw): Likewise.
4296         (__mulkc3_hw): Likewise.
4297         (__divkc3_hw): Likewise.
4298         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
4299         handlers to switch between using software emulation and hardware
4300         float128 instructions, build the complex multiply/divide functions
4301         for both software and hardware support.
4302         * config/rs6000/_divkc3.c (_divkc3): Likewise.
4303         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
4304         (__divkc3_resolve): Likewise.
4305         (__mulkc3): Likewise.
4306         (__divkc3): Likewise.
4307         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
4308         (fp128_hw_src): Likewise.
4309         (fp128_hw_static_obj): Likewise.
4310         (fp128_hw_shared_obj): Likewise.
4311         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
4312         _mulkc3.c and _divkc3.c, changing the function name.
4313         (_divkc3-hw.c): Likewise.
4314         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
4315         and _divkc3-hw.c.
4317 2017-11-26  Julia Koval  <julia.koval@intel.com>
4319         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
4320         * config/i386/cpuinfo.h (processor_subtypes): Add
4321         INTEL_COREI7_CANNONLAKE.
4323 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4325         PR bootstrap/83015
4326         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
4327         parameter.
4328         * config/xtensa/unwind-dw2-xtensa.c: Likewise
4329         * config/ia64/unwind-ia64.c: Add frames parameter.
4330         * unwind-sjlj.c: Likewise.
4332 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4334         * config/i386/linux-unwind.h: Include
4335         config/i386/shadow-stack-unwind.h.
4336         * config/i386/shadow-stack-unwind.h: New file.
4337         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
4338         pass it to _Unwind_Frames_Extra.
4339         * unwind-generic.h (_Unwind_Frames_Extra): New.
4340         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
4341         parameter. Add local variable frames to count number of frames.
4342         (_Unwind_ForcedUnwind_Phase2): Likewise.
4343         (_Unwind_RaiseException): Add local variable frames to count
4344         number of frames, pass it to _Unwind_RaiseException_Phase2 and
4345         uw_install_context.
4346         (_Unwind_ForcedUnwind): Likewise.
4347         (_Unwind_Resume): Likewise.
4348         (_Unwind_Resume_or_Rethrow): Likewise.
4350 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4352         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
4353         (CET_FLAGS): New.
4354         * config/i386/morestack.S: Include <cet.h>.
4355         (__morestack_large_model): Add _CET_ENDBR at function entrance.
4356         * config/i386/resms64.h: Include <cet.h>.
4357         * config/i386/resms64f.h: Likewise.
4358         * config/i386/resms64fx.h: Likewise.
4359         * config/i386/resms64x.h: Likewise.
4360         * config/i386/savms64.h: Likewise.
4361         * config/i386/savms64f.h: Likewise.
4362         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
4363         (CRTSTUFF_T_CFLAGS): Likewise.
4364         * configure.ac: Include ../config/cet.m4.
4365         Set and substitute CET_FLAGS.
4366         * configure: Regenerated.
4368 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4370         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
4371         renaming.
4372         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
4373         * configure.ac (libgcc_cv_solaris_crts): Likewise.
4374         * configure: Regenerate.
4376 2017-11-07  Tom de Vries  <tom@codesourcery.com>
4378         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
4379         after "do {} while (0)".
4381 2017-11-07  Tom de Vries  <tom@codesourcery.com>
4383         PR other/82784
4384         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
4385         semicolon after "do {} while (0)".
4386         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4387         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4388         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4389         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4391 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
4393         PR libgcc/82635
4394         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
4395         sysctl to determine whether we're in a trampoline.
4396         Keep the pattern matching method for systems without
4397         KERN_PROC_SIGTRAMP sysctl.
4399 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
4400             Vineet Gupta <vgupta@synopsys.com>
4402         * config.host (arc*-*-linux*): Set md_unwind_header variable.
4403         * config/arc/linux-unwind-reg.def: New file.
4404         * config/arc/linux-unwind-reg.h: Likewise.
4406 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
4408         * config/rl78/subdi3.S: New assembly file.
4409         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
4411 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
4413         * config/rl78/adddi3.S: New assembly file.
4414         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
4416 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
4418         PR target/82274
4419         * libgcc2.c (__mulvDI3): If both operands have
4420         the same highpart of -1 and the topmost bit of lowpart is 0,
4421         multiplication overflows even if both lowparts are 0.
4423 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
4425         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
4427 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
4429         * config/microblaze/crti.S, config/microblaze/crtn.S,
4430         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
4431         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
4432         config/microblaze/mulsi3.S,
4433         config/microblaze/stack_overflow_exit.S,
4434         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
4435         config/pa/milli64.S: Add .note.GNU-stack section.
4437 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
4439         * configure.ac: Add Check for HAVE_AS_AVX.
4440         * config.in: Regenerate.
4441         * configure: Likewise.
4442         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
4443         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
4444         Correct out-of-date comments.
4446 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
4448         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
4449         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
4451 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
4453         * config/i386/i386-asm.h (PASTE2): New macro.
4454         (ASMNAME): Modify to use PASTE2.
4455         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
4456         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
4457         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
4458         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
4459         * config/i386/resms64f.S: Likewise.
4460         * config/i386/resms64fx.S: Likewise.
4461         * config/i386/resms64x.S: Likewise.
4462         * config/i386/savms64.S: Likewise.
4463         * config/i386/savms64f.S: Likewise.
4464         * config/i386/avx_resms64.S: New file that only defines a macro and
4465         includes it's corresponding header file.
4466         * config/i386/avx_resms64f.S: Likewise.
4467         * config/i386/avx_resms64fx.S: Likewise.
4468         * config/i386/avx_resms64x.S: Likewise.
4469         * config/i386/avx_savms64.S: Likewise.
4470         * config/i386/avx_savms64f.S: Likewise.
4471         * config/i386/sse_resms64.S: Likewise.
4472         * config/i386/sse_resms64f.S: Likewise.
4473         * config/i386/sse_resms64fx.S: Likewise.
4474         * config/i386/sse_resms64x.S: Likewise.
4475         * config/i386/sse_savms64.S: Likewise.
4476         * config/i386/sse_savms64f.S: Likewise.
4477         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
4479 2017-09-01  Olivier Hainque  <hainque@adacore.com>
4480         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
4482 2017-08-31  Olivier Hainque  <hainque@adacore.com>
4484         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
4485         match as powerpc-wrs-vxworks*.
4487 2017-08-07  Jonathan Yong  <10walls@gmail.com>
4489         * config.host (*-cygwin): Include file from mingw
4490         config/i386/enable-execute-stack-mingw32.c
4492 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
4493             Doug Rupp  <rupp@adacore.com>
4494             Olivier Hainque  <hainque@adacore.com>
4496         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
4497         as well as arm-wrs-vxworks.
4498         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
4499         LIB2ADDEH.
4500         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
4501         __exidx_start and __exidx_end for downloadable modules.
4503 2017-08-01  Olivier Hainque  <hainque@adacore.com>
4505         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
4506         * config/t-vxworks7: Likewise.
4508 2017-08-01  Olivier Hainque  <hainque@adacore.com>
4510         * config/t-vxworks: Instead of redefining LIB2ADD,
4511         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
4513 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4515         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
4517 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
4519         PR testsuite/80759
4520         * config.host: include i386/t-msabi for darwin and solaris.
4521         * config/i386/i386-asm.h
4522         (ELFFN): Rename to FN_TYPE.
4523         (FN_SIZE): New macro.
4524         (FN_HIDDEN): Likewise.
4525         (ASMNAME): Likewise.
4526         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
4527         .globl.
4528         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
4529         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
4530         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
4531         .macro.
4532         * config/i386/resms64f.S: Likewise.
4533         * config/i386/resms64fx.S: Likewise.
4534         * config/i386/resms64x.S: Likewise.
4535         * config/i386/savms64.S: Likewise.
4536         * config/i386/savms64f.S: Likewise.
4538 2017-07-19  John Marino  <gnugcc@marino.st>
4540         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
4542 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
4544         PR target/81193
4545         * configure.ac (PowerPC float128 hardware support): Test whether
4546         we can use __builtin_cpu_supports before enabling the ifunc
4547         handler.
4548         * configure: Regenerate.
4550 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
4552         * config.host: Remove uclibc from arc target spec.
4554 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
4556         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
4558 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
4560         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
4561         (have_ieee_hw_p): Delete function.
4562         (SW_OR_HW) Use __builtin_cpu_supports().
4564 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4566         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
4568 2017-07-03  Olivier Hainque  <hainque@adacore.com>
4570         * config/t-vxworks7: New file, really.
4572 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
4574         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
4575         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
4576         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
4577         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
4578         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
4579         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
4580         config/pa/linux-unwind.h (pa32_fallback_frame_state),
4581         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
4582         config/sh/linux-unwind.h (sh_fallback_frame_state),
4583         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
4584         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
4585         ucontext_t instead of struct ucontext.
4587 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
4589         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
4590         (x86_64-wrs-vxworks7): Likewise.
4592 2017-06-27  Olivier Hainque  <hainque@adacore.com>
4594         * config/t-vxworks7: New file.
4595         * config.host (*-*-vxworks7): Use it.
4597 2017-06-22  Matt Turner  <mattst88@gmail.com>
4599         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
4600         skylake case.
4602 2017-06-21  Richard Biener  <rguenther@suse.de>
4604         PR gcov-profile/81080
4605         * configure.ac: Add AC_SYS_LARGEFILE.
4606         * libgcov.h: Include auto-target.h before tsystem.h to pick
4607         up _FILE_OFFSET_BITS which might differ for multilibs.
4608         * config.in: Regenerate.
4609         * configure: Likewise.
4611 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
4613         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
4615 2017-06-09  Martin Liska  <mliska@suse.cz>
4617         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
4618         Reset __gcov_indirect_call_callee to NULL.
4620 2017-06-08  Olivier Hainque  <hainque@adacore.com>
4622         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
4623         the set of -I options, support for direct inclusions of net/uio.h
4624         by VxWorks header files via ioLib.h.
4626 2017-06-07  Tony Reix  <tony.reix@atos.net>
4627             Matthieu Sarter  <matthieu.sarter.external@atos.net>
4628             David Edelsohn  <dje.gcc@gmail.com>
4630         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
4631         unconditionally.
4632         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
4633         AIX 7.2 support.
4635 2017-06-02  Olivier Hainque  <hainque@adacore.com>
4637         * config/vxlib.c (__gthread_once): Add missing value to
4638         return statement.
4640 2017-05-30  Olivier Hainque  <hainque@adacore.com>
4642         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
4643         dollar sign before $(MULTIDIR).
4645 2017-05-26  Richard Henderson  <rth@redhat.com>
4647         PR libgcc/80037
4648         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
4650 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
4652         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
4653         _Unwind_SetIP available as functions for arm*-*-freebsd*.
4654         * config/arm/unwind-arm.c: Implement the above.
4656 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4658         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
4659         section for a non-executable stack.
4661 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
4663         PR target/80600
4664         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
4666 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
4668         * config.host: Add i386/t-msabi to i386/t-linux file list.
4669         * config/i386/i386-asm.h: New file.
4670         * config/i386/resms64.S: New file.
4671         * config/i386/resms64f.S: New file.
4672         * config/i386/resms64fx.S: New file.
4673         * config/i386/resms64x.S: New file.
4674         * config/i386/savms64.S: New file.
4675         * config/i386/savms64f.S: New file.
4676         * config/i386/t-msabi: New file.
4678 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
4680         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
4681         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
4683 2017-05-05  Joshua Conner  <joshconner@google.com>
4685         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
4686         pc-relative indirect handling for fuchsia.
4687         * config/t-slibgcc-fuchsia: New file.
4688         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
4689         x86_64-*-fuchsia*): Add definitions.
4691 2017-04-19  Martin Liska  <mliska@suse.cz>
4693         PR gcov-profile/80435
4694         * Makefile.in: Install gcov.h.
4695         * gcov.h: New file.
4696         * libgcov.h: Use the header and make __gcov_flush publicly
4697         visible.
4699 2017-04-18  Martin Liska  <mliska@suse.cz>
4701         PR gcov-profile/78783
4702         * libgcov-driver.c (gcov_get_filename): New function.
4704 2017-04-07  Jeff Law  <law@redhat.com>
4706         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
4707         target makefile fragment.
4708         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
4710 2017-04-07  Alan Modra  <amodra@gmail.com>
4712         PR target/45053
4713         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
4715 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
4717         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
4719 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
4721         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
4723 2017-03-10  John Marino  <gnugcc@marino.st>
4725         * config/aarch64/freebsd-unwind.h: New file.
4726         * config.host: Add aarch64-*-freebsd unwinder.
4728 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
4730         * config/rs6000/crtrestvr.s: Use .machine altivec.
4731         * config/rs6000/crtsavevr.s: Ditto.
4733 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
4735         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
4736         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
4737         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
4738         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
4739         * configure: Regenerate.
4740         * config.in: Regenerate.
4742 2017-03-02  Jonathan Yong <10walls@gmail.com>
4744         * config/i386/gthr-win32.h: Define NOGDI before
4745         windows.h include to prevent w32api CC_NONE macro
4746         clash with libgfortran.
4748 2017-03-02  Jonathan Yong <10walls@gmail.com>
4750         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
4752 2017-02-16  Andrew Pinski  <apinski@cavium.com>
4754         * config/aarch64/value-unwind.h: New file.
4755         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
4756         to tm_file.
4758 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
4760         * config.host: Add RISC-V tuples.
4761         * config/riscv/atomic.c: New file.
4762         * config/riscv/crti.S: Likewise.
4763         * config/riscv/crtn.S: Likewise.
4764         * config/riscv/div.S: Likewise.
4765         * config/riscv/linux-unwind.h: Likewise.
4766         * config/riscv/muldi3.S: Likewise.
4767         * config/riscv/multi3.S: Likewise.
4768         * config/riscv/save-restore.S: Likewise.
4769         * config/riscv/sfp-machine.h: Likewise.
4770         * config/riscv/t-elf: Likewise.
4771         * config/riscv/t-elf32: Likewise.
4772         * config/riscv/t-elf64: Likewise.
4773         * config/riscv/t-softfp32: Likewise.
4774         * config/riscv/t-softfp64: Likewise.
4776 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
4778         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4779         /* FALLTHRU */ comments.
4781 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
4783         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
4785 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
4787         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
4788         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
4789         DW_CFA_GNU_window_save for AArch64 and LP64.
4791 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
4793         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
4795 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
4797         * config/aarch64/aarch64-unwind.h: New file.
4798         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
4799         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
4800         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
4801         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
4802         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
4803         (aarch64_post_extract_frame_addr): New function.
4804         (aarch64_post_frob_eh_handler_addr): New function.
4805         (aarch64_frob_update_context): New function.
4806         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
4807         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
4808         aarch64*-*-freebsd*):
4809         Initialize md_unwind_header to include aarch64-unwind.h.
4810         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
4811         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
4812         __aarch64__.
4813         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
4814         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
4815         (uw_frob_return_addr): New function.
4816         (uw_install_context): Use uw_frob_return_addr.
4818 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
4820         PR other/79046
4821         * configure.ac: Add GCC_BASE_VER.
4822         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
4823         version from BASE-VER file.
4824         * configure: Regenerated.
4826 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
4828         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
4829         libmul_f5.a): Filter archived prerequisites.
4831 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
4833         * config/i386/cpuinfo.h (processor_features): Add
4834         FEATURE_AVX512VPOPCNTDQ.
4835         * config/i386/cpuinfo.c (get_available_features): Habdle new
4836         feature.
4838 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
4840         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
4841         payload if [__mips_nan2008].
4843 2017-01-04  Alan Modra  <amodra@gmail.com>
4845         * Makefile.in (configure_deps): Update.
4846         * configure: Regenerate.
4848 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
4850         Update copyright years.
4852 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
4854         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
4855         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
4856         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
4858 2016-12-17  Matthias Klose  <doko@ubuntu.com>
4860         * config/arc/gmon: Remove empty directory.
4862 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
4864         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
4865         crtgend.
4866         (arc*-*-elf*): Likewise.
4867         * config/arc/t-arc: Remove old gmon lib targets.
4868         * config/arc/crtg.S: Remove.
4869         * config/arc/crtgend.S: Likewise.
4870         * config/arc/gmon/atomic.h: Likewise.
4871         * config/arc/gmon/auxreg.h: Likewise.
4872         * config/arc/gmon/dcache_linesz.S: Likewise.
4873         * config/arc/gmon/gmon.c: Likewise.
4874         * config/arc/gmon/machine-gmon.h: Likewise.
4875         * config/arc/gmon/mcount.c: Likewise.
4876         * config/arc/gmon/prof-freq-stub.S: Likewise.
4877         * config/arc/gmon/prof-freq.c: Likewise.
4878         * config/arc/gmon/profil.S: Likewise.
4879         * config/arc/gmon/sys/gmon.h: Likewise.
4880         * config/arc/gmon/sys/gmon_out.h: Likewise.
4881         * config/arc/t-arc-newlib: Likewise.
4882         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
4884 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
4886         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
4888 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
4890         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
4891         R16 instead of push + pop.
4892         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
4894 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
4896         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
4897         tmake_file.
4899 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
4901         * config.host (arc*-*-linux-uclibc*): Use default extra
4902         objects. Include linux-android header.
4903         * config/arc/crti.S (_init): Declare symbol as function.
4904         (_fini): Likewise.
4906 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
4908         PR fortran/78379
4909         * config/i386/cpuinfo.c:  Move denums for processor vendors,
4910         processor type, processor subtypes and declaration of
4911         struct __processor_model into
4912         * config/i386/cpuinfo.h:  New header file.
4914 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
4915             Thomas Preud'homme  <thomas.preudhomme@arm.com>
4917         * config/arm/cmse_nonsecure_call.S: New.
4918         * config/arm/t-arm: Compile cmse_nonsecure_call.S
4920 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
4921             Thomas Preud'homme  <thomas.preudhomme@arm.com>
4923         * config/arm/t-arm (HAVE_CMSE): New.
4924         * config/arm/cmse.c: New.
4926 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
4928         PR gcc/74748
4929         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
4930         use generic linker version information on Blackfin.
4932         PR gcc/74748
4933         * libgcc/mkmap-symver.awk: add support for skip_underscore
4935 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
4936             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4938         PR target/67710
4939         *  config/t-darwin: Default builds to 10.5 codegen.
4941 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
4943         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
4944         (_FP_NANSIGN_H): Likewise.
4945         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
4946         (softfp_truncations): Add tfhf.
4947         (softfp_extras): Add required conversion functions.
4949 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
4950             Matthew Wahab  <matthew.wahab@arm.com>
4952         * config/arm/fp16.c (binary64): New.
4953         (__gnu_d2h_internal): New.
4954         (__gnu_d2h_ieee): New.
4955         (__gnu_d2h_alternative): New.
4957 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
4958             Matthew Wahab  <matthew.wahab@arm.com>
4960         * config/arm/fp16.c (struct format): New.
4961         (binary32): New.
4962         (__gnu_float2h_internal): New.  Body moved from
4963         __gnu_f2h_internal and generalize.
4964         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
4965         Call it with binary32.
4967 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
4969         * soft-fp/extendhftf2.c: Update from glibc.
4970         * soft-fp/fixhfti.c: Likewise.
4971         * soft-fp/fixunshfti.c: Likewise.
4972         * soft-fp/floattihf.c: Likewise.
4973         * soft-fp/floatuntihf.c: Likewise.
4974         * soft-fp/half.h: Likewise.
4975         * soft-fp/trunctfhf2.c: Likewise.
4977 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
4979         PR libgcc/77813
4980         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
4981         __TMC_END__ behind a passthrough asm.
4983 2016-11-18  Walter Lee  <walt@tilera.com>
4985         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
4987 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
4989         * config/i386/cpuinfo.c (processor_features): Add
4990         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
4992 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
4994         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
4995         (__ARC_NORM__): Use instead ARC_OPTFPE.
4996         * config/arc/fp-hack.h: Likewise.
4997         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
4998         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
5000 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
5002         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
5003         * config/nvptx/mgomp.c: New file.
5004         * config/nvptx/t-nvptx: Add mgomp.c
5006 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
5008         PR libgcc/68468
5009         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
5011 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
5013         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
5014         of checking for cpus.
5015         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
5016         (__modsi3, __clzsi2): Likewise.
5018 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5020         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
5021         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
5022         * config/i386/t-cpuinfo-static: New.
5024 2016-11-03  Martin Liska  <mliska@suse.cz>
5026         * libgcov-profiler.c (__gcov_time_profiler): Remove.
5027         (__gcov_time_profiler_atomic): Likewise.
5029 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
5031         PR libgcc/78067
5032         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
5033         count_leading_zeros.
5035 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
5037         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
5038         * libgcc2.c (__divmoddi4): New function.
5039         * libgcc2.h (__divmoddi4): Declare.
5040         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
5041         and __PFX_divmodti4.
5043 2016-10-24  Florian Weimer  <fweimer@redhat.com>
5045         PR libgcc/78064
5046         * unwind-c.c: Include auto-target.h.
5048 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
5050         * config/pa/pa64-hpux-lib.h: New file.
5051         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
5052         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
5053         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
5054         hppa*64*-*-hpux11*.
5056 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
5058         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5059         definition.
5060         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5061         definition.
5062         * config/xtensa/t-windowed (LIB2ADDEH): Use
5063         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
5064         or xtensa/t-linux.
5066 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
5068         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
5069         __ieee754_sqrt): New functions.
5070         (__divdf3): Add implementation with new FPU instructions under
5071         #if XCHAL_HAVE_DFP_DIV.
5072         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
5073         __ieee754_sqrtf): New functions.
5074         (__divsf3): Add implementation with new FPU instructions under
5075         #if XCHAL_HAVE_FP_DIV.
5076         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
5077         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
5079 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5081         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
5082         equivalent.
5083         * config/tilepro/atomic.c: Likewise and stop casting model to
5084         enum memmodel.
5086 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
5088         PR target/77586
5089         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
5090         soft-fp.
5092 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
5094         * config.host: Add support for aarch64-*-freebsd*.
5096 2016-10-05  Andreas Schwab  <schwab@suse.de>
5098         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
5099         (.section .init_array): Don't call __do_jv_register_classes.
5100         (.section .init): Likewise.
5102 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
5104         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
5105         (__JCR_LIST__): Remove.
5106         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
5107         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
5108         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
5109         * config/ia64/crtend.S (__JCR_END__): Remove.
5110         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
5111         conditionals.
5112         (__JCR_LIST__, __JCR_END__): Remove.
5113         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
5114         (__do_global_ctors_1): Likewise.
5116 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
5118         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
5119         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
5121 2016-09-27  Martin Liska  <mliska@suse.cz>
5123         PR gcov-profile/7970
5124         PR gcov-profile/16855
5125         PR gcov-profile/44779
5126         * libgcov-driver.c (__gcov_init): Do not register a atexit
5127         handler.
5128         (__gcov_exit): Rename from gcov_exit.
5129         * libgcov.h (__gcov_exit): Declare.
5131 2016-09-27  Martin Liska  <mliska@suse.cz>
5133         PR bootstrap/77749
5134         * Makefile.in: Remove _gcov_merge_delta.
5135         * libgcov-merge.c (void __gcov_merge_delta): Remove.
5136         * libgcov-util.c (__gcov_delta_counter_op): Remove.
5137         * libgcov.h: Remove declaration of __gcov_merge_delta.
5139 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
5141         * configure.ac: Do not create links, only substitute the filenames.
5142         * configure: Regenerate.
5143         * Makefile.in: Assign the substitution results to variables.
5144         (LIBGCC_LINKS): Define.
5145         (enable-execute-stack.c): New rule.
5146         (unwind.h): Likewise.
5147         (md-unwind-support.h): Likewise.
5148         (sfp-machine.h): Likewise.
5149         (gthr-default.h): Likewise.
5150         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
5151         unwind.h as prerequisite of install-unwind_h-forbuild.
5153 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
5155         PR libgcc/71744
5156         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
5157         is not the primary registry and atomics are available.
5158         (any_objects_registered): New variable.
5159         (__register_frame_info_bases, __register_frame_info_table_bases):
5160         Atomically store 1 to any_objects_registered after registering first
5161         unwind info.
5162         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
5164 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
5166         PR target/63250
5167         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
5168         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
5169         (HFtype): Likewise.
5170         (HCtype): Likewise.
5171         (__divhc3): Likewise.
5172         (__mulhc3): Likewise.
5173         * libgcc2.c: Support _mulhc3 and _divhc3.
5175 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
5177         PR libgcc/77519
5178         * libgcc2.c (NOTRUNC): Invert settings.
5180 2016-09-06  Martin Liska  <mliska@suse.cz>
5182         PR gcov-profile/77378
5183         PR gcov-profile/77466
5184         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
5185         conditionaly enable/disable *_atomic functions.
5187 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
5189         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
5190         where not already enabled.
5192 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5194         * config/mips/linux-unwind.h: Use sys/syscall.h.
5196 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
5198         PR libgcc/77265
5199         * soft-fp/adddf3.c: Update from glibc.
5200         * soft-fp/addsf3.c: Likewise.
5201         * soft-fp/addtf3.c: Likewise.
5202         * soft-fp/divdf3.c: Likewise.
5203         * soft-fp/divsf3.c: Likewise.
5204         * soft-fp/divtf3.c: Likewise.
5205         * soft-fp/double.h: Likewise.
5206         * soft-fp/eqdf2.c: Likewise.
5207         * soft-fp/eqsf2.c: Likewise.
5208         * soft-fp/eqtf2.c: Likewise.
5209         * soft-fp/extenddftf2.c: Likewise.
5210         * soft-fp/extended.h: Likewise.
5211         * soft-fp/extendsfdf2.c: Likewise.
5212         * soft-fp/extendsftf2.c: Likewise.
5213         * soft-fp/extendxftf2.c: Likewise.
5214         * soft-fp/fixdfdi.c: Likewise.
5215         * soft-fp/fixdfsi.c: Likewise.
5216         * soft-fp/fixdfti.c: Likewise.
5217         * soft-fp/fixsfdi.c: Likewise.
5218         * soft-fp/fixsfsi.c: Likewise.
5219         * soft-fp/fixsfti.c: Likewise.
5220         * soft-fp/fixtfdi.c: Likewise.
5221         * soft-fp/fixtfsi.c: Likewise.
5222         * soft-fp/fixtfti.c: Likewise.
5223         * soft-fp/fixunsdfdi.c: Likewise.
5224         * soft-fp/fixunsdfsi.c: Likewise.
5225         * soft-fp/fixunsdfti.c: Likewise.
5226         * soft-fp/fixunssfdi.c: Likewise.
5227         * soft-fp/fixunssfsi.c: Likewise.
5228         * soft-fp/fixunssfti.c: Likewise.
5229         * soft-fp/fixunstfdi.c: Likewise.
5230         * soft-fp/fixunstfsi.c: Likewise.
5231         * soft-fp/fixunstfti.c: Likewise.
5232         * soft-fp/floatdidf.c: Likewise.
5233         * soft-fp/floatdisf.c: Likewise.
5234         * soft-fp/floatditf.c: Likewise.
5235         * soft-fp/floatsidf.c: Likewise.
5236         * soft-fp/floatsisf.c: Likewise.
5237         * soft-fp/floatsitf.c: Likewise.
5238         * soft-fp/floattidf.c: Likewise.
5239         * soft-fp/floattisf.c: Likewise.
5240         * soft-fp/floattitf.c: Likewise.
5241         * soft-fp/floatundidf.c: Likewise.
5242         * soft-fp/floatundisf.c: Likewise.
5243         * soft-fp/floatunditf.c: Likewise.
5244         * soft-fp/floatunsidf.c: Likewise.
5245         * soft-fp/floatunsisf.c: Likewise.
5246         * soft-fp/floatunsitf.c: Likewise.
5247         * soft-fp/floatuntidf.c: Likewise.
5248         * soft-fp/floatuntisf.c: Likewise.
5249         * soft-fp/floatuntitf.c: Likewise.
5250         * soft-fp/gedf2.c: Likewise.
5251         * soft-fp/gesf2.c: Likewise.
5252         * soft-fp/getf2.c: Likewise.
5253         * soft-fp/ledf2.c: Likewise.
5254         * soft-fp/lesf2.c: Likewise.
5255         * soft-fp/letf2.c: Likewise.
5256         * soft-fp/muldf3.c: Likewise.
5257         * soft-fp/mulsf3.c: Likewise.
5258         * soft-fp/multf3.c: Likewise.
5259         * soft-fp/negdf2.c: Likewise.
5260         * soft-fp/negsf2.c: Likewise.
5261         * soft-fp/negtf2.c: Likewise.
5262         * soft-fp/op-1.h: Likewise.
5263         * soft-fp/op-2.h: Likewise.
5264         * soft-fp/op-4.h: Likewise.
5265         * soft-fp/op-8.h: Likewise.
5266         * soft-fp/op-common.h: Likewise.
5267         * soft-fp/quad.h: Likewise.
5268         * soft-fp/single.h: Likewise.
5269         * soft-fp/soft-fp.h: Likewise.
5270         * soft-fp/subdf3.c: Likewise.
5271         * soft-fp/subsf3.c: Likewise.
5272         * soft-fp/subtf3.c: Likewise.
5273         * soft-fp/truncdfsf2.c: Likewise.
5274         * soft-fp/trunctfdf2.c: Likewise.
5275         * soft-fp/trunctfsf2.c: Likewise.
5276         * soft-fp/trunctfxf2.c: Likewise.
5277         * soft-fp/unorddf2.c: Likewise.
5278         * soft-fp/unordsf2.c: Likewise.
5279         * soft-fp/unordtf2.c: Likewise.
5281 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
5283         PR gcov-profile/67097
5284         * libgcov-util.c (gcov_profile_merge): Skip missing files.
5286 2016-08-10  Martin Liska  <mliska@suse.cz>
5288         PR gcov-profile/58306
5289         * Makefile.in: New functions (modules) are added.
5290         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
5291         function.
5292         (__gcov_pow2_profiler_atomic): New function.
5293         (__gcov_one_value_profiler_body): New argument is instroduced.
5294         (__gcov_one_value_profiler): Call with the new argument.
5295         (__gcov_one_value_profiler_atomic): Likewise.
5296         (__gcov_indirect_call_profiler_v2): Likewise.
5297         (__gcov_time_profiler_atomic): New function.
5298         (__gcov_average_profiler_atomic): Likewise.
5299         (__gcov_ior_profiler_atomic): Likewise.
5300         * libgcov.h: Declare the aforementioned functions.
5302 2016-08-09  Martin Liska  <mliska@suse.cz>
5304         * libgcov-util.c: Fix typo and GNU coding style.
5306 2016-08-09  Martin Liska  <mliska@suse.cz>
5308         * Makefile.in: Remove __gcov_indirect_call_profiler.
5309         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
5310         function.
5311         * libgcov.h: And the declaration of the function.
5313 2016-08-09  Martin Liska  <mliska@suse.cz>
5315         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
5316         power of two.
5318 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
5320         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
5321         * config/rs6000/_mulkc3.c: Likewise.
5323 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
5325         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
5326         zero_reg as previous call to __umulhisi3 already cleared it.
5328 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
5330         PR target/59833
5331         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
5333 2016-07-19  Nick Clifton  <nickc@redhat.com>
5335         * config.host (m32r): Add m32r/t-m32r to tmake_file.
5336         Add crtinit.o and crtfini.o to extra_parts.
5338 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
5340         * config/rs6000/_divkc3.c: New.
5341         * config/rs6000/_mulkc3.c: New.
5342         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
5343         and _divkc3.
5344         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
5345         fp128_ppc_funcs.
5347 2016-07-11  Hale Wang  <hale.wang@arm.com>
5348             Andre Vieira  <andre.simoesdiasvieira@arm.com>
5350         * config/arm/lib1funcs.S: Add new wrapper.
5352 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5354         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
5356 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5358         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
5359         and ARMv5t* rather than for a fixed list of architectures.
5361 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5363         * config/arm/bpabi-v6m.S: Clarify what architectures is the
5364         implementation suitable for.
5365         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
5366         for all Thumb-1 only targets.
5367         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
5368         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
5369         __ARM_ARCH_6M__.
5370         (EQUIV): Likewise.
5371         (ARM_FUNC_ALIAS): Likewise.
5372         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
5373         version.
5374         (modsi3): Likewise.
5375         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
5376         (clzdi2): Likewise.
5377         (ctzsi2): Likewise.
5378         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
5379         __ARM_ARCH_6M__ in guard for checking whether it is defined.
5380         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
5381         __ARM_ARCH_6M__ and add comment to indicate the connection between
5382         this condition and the one in gcc/config/arm/elf.h.
5383         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
5384         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
5385         * config/arm/t-softfp: Likewise.
5387 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5389         * libgcc2.c (SYMBOL__MAIN): Remove checks for
5390         CTOR_LISTS_DEFINED_EXTERNALLY.
5392 2016-06-28  Walter Lee  <walt@tilera.com>
5394         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
5395         asm/unistd.h.
5396         (SPR_CMPEXCH_VALUE): Define for tilegx.
5397         (__NR_FAST_cmpxchg): Define for tilepro.
5398         (__NR_FAST_atomic_update): Define for tilepro.
5399         (__NR_FAST_cmpxchg64): Define for tilepro.
5401 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
5403         * config.host: Add suport for arm*-*-phoenix* targets.
5405 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5407         * config.host: Remove support for mep-*.
5408         * config/mep/lib1funcs.S: Remove.
5409         * config/mep/lib2funcs.c: Remove.
5410         * config/mep/t-mep: Remove.
5411         * config/mep/tramp.c: Remove.
5413 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5415         * config.host: Remove support for avr-rtems.
5416         * config/avr/t-rtems: Remove.
5418 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5420         * config.host: Remove m32r-rtems support.
5422 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5424         * config.host: Remove h8300-rtems support.
5426 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5428         * config.host: Remove support for knetbsd.
5430 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5432         * config.host: Remove support for openbsd 2 and 3.
5434 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5436         * config.host: Remove interix support.
5437         * config/i386/t-interix: Remove.
5439 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
5441         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
5442         least-significant bit in function pointer for fixup.
5444 2016-06-05  Aaron Conole  <aconole@redhat.com>
5445             Nathan Sidwell  <nathan@acm.org>
5447         PR libgcc/71400
5448         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
5449         (get_gcov_error_file): Check __gcov_error_file before trying to
5450         initialize it.
5451         (gcov_error): Always use get_gcov_error_file.
5453 2016-06-02  Aaron Conole  <aconole@redhat.com>
5455         * libgcov-driver-system.c (__gcov_error_file): New.
5456         (get_gcov_error_file): New.
5457         (gcov_error): Use and set __gcov_error_file.
5458         (gcov_error_exit): New.
5459         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
5461 2016-05-26  Nathan Sidwell  <nathan@acm.org>
5463         * config/nvptx/free.asm: Delete.
5464         * config/nvptx/malloc.asm: Delete.
5465         * config/nvptx/realloc.c: Delete.
5466         * t-nvptx: Update.
5468 2016-05-25  Nathan Sidwell  <nathan@acm.org>
5470         * config/nvptx/crt0.s: Delete.
5471         * config/nvptx/crt0.c: New.
5472         * t-nvptx: Update.
5474 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
5476         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
5477         dw2/seh configuration.
5478         [x86_64-*-mingw*]: Likewise.
5480 2016-05-10  Joel Sherrill <joel@rtems.org>
5482         PR libgcc/70720
5483         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
5484         targets so the same extra_parts are built.  Also have tmake_file add
5485         on to its value rather than override.
5487 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
5489         * config.host: Remove SH5 support.
5490         * configure: Likewise.
5492 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
5494         * config/sh/crt1.S: Remove SH5 support.
5495         * config/sh/crti.S: Likewise.
5496         * config/sh/crtn.S: Likewise.
5497         * config/sh/lib1funcs-4-300.S: Likewise.
5498         * config/sh/lib1funcs-Os-4-200.S: Likewise.
5499         * config/sh/lib1funcs.S: Likewise.
5500         * config/sh/linux-unwind.h: Likewise.
5501         * config/sh/t-sh64: Delete.
5503 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
5505         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
5507 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
5508             Joern Rennecke  <joern.rennecke@embecosm.com>
5510         * config/arc/crttls.S: New file.
5511         * config/arc/t-arc: New rule.
5512         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
5514 2016-04-25  Nick Clifton  <nickc@redhat.com>
5516         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
5517         (__mspabi_cmpd): Likewise.
5518         * config/msp430/floathidf.c (__floathidf): Likewise.
5519         * config/msp430/floathisf.c (__floathisf): Likewise
5520         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
5521         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
5522         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
5523         second parameter.
5524         (__ashrsi3): Likewise.
5526 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
5528         * config/m68k/linux-atomic.c: Do not include unistd.h
5530 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
5532         * config/arm/ieee754-df.S: Fix typos in comments.
5534 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
5536         PR target/70381
5537         * configure.ac (powerpc*-*-linux*): Rework tests to build
5538         __float128 emulation routines to not depend on using #pragma GCC
5539         target to enable -mfloat128.
5540         * configure: Regnerate.
5542 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
5544         PR target/67172
5545         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
5546         __MINGW32__ is defined.
5548 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
5550         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
5552 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
5554         PR libgcc/70363
5555         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
5556         built with an assembler that does not support ISA 3.0
5557         instructions, rename __extendkftf2_sw to __extendkftf2.
5559 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5561         PR target/38239
5562         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
5563         call-clobbered registers.
5564         (internal_mcount): Remove __i386__ handling.
5566 2016-02-26  Joel Sherrill <joel@rtems.org>
5568         * config.host: Add x86_64-*-rtems*.
5570 2016-02-26  Joel Sherrill <joel@rtems.org>
5572         * libgcc/config.host: Add aarch64-*-rtems*.
5574 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5575             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
5577         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
5578         union of u64 and double.
5579         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
5580         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
5581         value.
5582         (FP_ROUNDMODE): Update the usage of _fpscr.
5584 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
5586         PR driver/68463
5587         * Makefile.in (crtoffloadtable$(objext)): New rule.
5588         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
5589         enable_offload_targets is not empty.
5590         * configure: Regenerate.
5591         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
5592         crtoffloadtable.
5594 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
5596         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
5597         .literal_position before the function.
5598         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
5599         Likewise.
5601 2016-02-15  Marcin Kościelnicki  <koriakin@0x04.net>
5603         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
5604         * config/s390/morestack.S: New file.
5605         * config/s390/t-stack-s390: New file.
5606         * generic-morestack.c (__splitstack_find): Add s390-specific code.
5608 2016-02-12  Walter Lee  <walt@tilera.com>
5610         * config.host (tilegx*-*-linux*): remove ti from
5611         softfp_int_modes for 32-bit configs.
5613 2016-02-10  Ian Lance Taylor  <iant@google.com>
5615         PR go/68562
5616         * config/i386/morestack.S (__stack_split_initialize): Align
5617         stack.
5619 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
5621         PR bootstrap/69611
5622         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
5623         __FLOAT128__ to compile only for __float128 capable targets.
5625 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
5627         PR target/69444
5628         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
5629         instead of ___NO_FPRS__.
5631 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
5632             Steven Munroe  <munroesj@linux.vnet.ibm.com>
5633             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
5635         * config/rs6000/float128-sed: New files to convert TF names to KF
5636         names for PowerPC IEEE 128-bit floating point support.
5637         * config/rs6000/float128-sed-hw: Likewise.
5639         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5640         floating point hardware support.
5642         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5643         128-bit floating point software emulation or use ISA 3.0 hardware
5644         support if it is available.
5646         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5647         floating point.
5649         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
5650         floating point to IBM extended double.
5652         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
5653         double to IEEE 128-bit floating point.
5655         * config/rs6000/t-float128: New Makefile fragments to enable
5656         building __float128 emulation support.
5657         * config/rs6000/t-float128-hw: Likewise.
5659         * config/rs6000/sfp-exceptions.c: New file to provide exception
5660         support for IEEE 128-bit floating point.
5662         * config/rs6000/floattikf.c: New files for converting between IEEE
5663         128-bit floating point and signed/unsigned 128-bit integers.
5664         * config/rs6000/fixunskfti.c: Likewise.
5665         * config/rs6000/fixkfti.c: Likewise.
5666         * config/rs6000/floatuntikf.c: Likewise.
5668         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5669         when building on 64-bit systems, or when VSX is enabled.
5670         (_FP_W_TYPE): Likewise.
5671         (_FP_WS_TYPE): Likewise.
5672         (_FP_I_TYPE): Likewise.
5673         (TItype): Define on 64-bit systems.
5674         (UTItype): Likewise.
5675         (TI_BITS): Likewise.
5676         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5677         (_FP_MUL_MEAT_Q): Likewise.
5678         (_FP_DIV_MEAT_D): Likewise.
5679         (_FP_DIV_MEAT_Q): Likewise.
5680         (_FP_NANFRAC_D): Likewise.
5681         (_FP_NANFRAC_Q): Likewise.
5682         (ISA_BIT): Add exception support if we are being compiled on a
5683         machine with hardware floating point support to build the IEEE
5684         128-bit emulation functions.
5685         (FP_EX_INVALID): Likewise.
5686         (FP_EX_OVERFLOW): Likewise.
5687         (FP_EX_UNDERFLOW): Likewise.
5688         (FP_EX_DIVZERO): Likewise.
5689         (FP_EX_INEXACT): Likewise.
5690         (FP_EX_ALL): Likewise.
5691         (__sfp_handle_exceptions): Likewise.
5692         (FP_HANDLE_EXCEPTIONS): Likewise.
5693         (FP_RND_NEAREST): Likewise.
5694         (FP_RND_ZERO): Likewise.
5695         (FP_RND_PINF): Likewise.
5696         (FP_RND_MINF): Likewise.
5697         (FP_RND_MASK): Likewise.
5698         (_FP_DECL_EX): Likewise.
5699         (FP_INIT_ROUNDMODE): Likewise.
5700         (FP_ROUNDMODE): Likewise.
5702         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5703         VSX code, enable IEEE 128-bit floating point.  If the compiler can
5704         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
5705         floating point hardware instructions and it supports declaring
5706         functions with the ifunc attribute, enable ifunc functions to
5707         switch between software and hardware support.
5708         * configure.ac (powerpc*-*-linux*): Likewise.
5709         * configure: Regenerate.
5711 2016-01-15  Nick Clifton  <nickc@redhat.com>
5713         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
5714         dependency as the source file to be compiled.
5715         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
5716         (lib2hw_mul_f5.o): Likewise.
5718 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
5720         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
5721         * libgcc/config/rs6000/fixkfti.c: Likewise.
5722         * libgcc/config/rs6000/fixunskfti.c: Likewise.
5723         * libgcc/config/rs6000/float128-hw.c: Likewise.
5724         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
5725         * libgcc/config/rs6000/float128-sed: Likewise.
5726         * libgcc/config/rs6000/floattikf.c: Likewise.
5727         * libgcc/config/rs6000/floatuntikf.c: Likewise.
5728         * libgcc/config/rs6000/quad-float128.h: Likewise.
5729         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
5730         * libgcc/config/rs6000/sfp-machine.h: Likewise.
5731         * libgcc/config/rs6000/t-float128: Likewise.
5732         * libgcc/config/rs6000/t-float128-hw: Likewise.
5733         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
5734         * libgcc/config.host: Likewise.
5735         * libgcc/configure: Likewise.
5736         * libgcc/configure.ac: Likewise.
5738 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
5739             Steven Munroe  <munroesj@linux.vnet.ibm.com>
5740             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
5742         * config/rs6000/sfp-exceptions.c: New file to provide exception
5743         support for IEEE 128-bit floating point.
5745         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5746         floating point hardware support.
5748         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
5749         point conversions.
5750         * config/rs6000/fixunskfti.c: Likewise.
5751         * config/rs6000/fixkfti.c: Likewise.
5752         * config/rs6000/floatuntikf.c: Likewise.
5753         * config/rs6000/extendkftf2-sw.c: Likewise.
5754         * config/rs6000/trunctfkf2-sw.c: Likewise.
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/t-float128: New Makefile fragments to enable
5764         building __float128 emulation support.
5765         * config/rs6000/t-float128-hw: Likewise.
5767         * config/rs6000/float128-sed: New file to convert TF names to KF
5768         names for PowerPC IEEE 128-bit floating point support.
5770         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5771         when building on 64-bit systems, or when VSX is enabled.
5772         (_FP_W_TYPE): Likewise.
5773         (_FP_WS_TYPE): Likewise.
5774         (_FP_I_TYPE): Likewise.
5775         (TItype): Define on 64-bit systems.
5776         (UTItype): Likewise.
5777         (TI_BITS): Likewise.
5778         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5779         (_FP_MUL_MEAT_Q): Likewise.
5780         (_FP_DIV_MEAT_D): Likewise.
5781         (_FP_DIV_MEAT_Q): Likewise.
5782         (_FP_NANFRAC_D): Likewise.
5783         (_FP_NANFRAC_Q): Likewise.
5784         (ISA_BIT): Add exception support if we are being compiled on a
5785         machine with hardware floating point support to build the IEEE
5786         128-bit emulation functions.
5787         (FP_EX_INVALID): Likewise.
5788         (FP_EX_OVERFLOW): Likewise.
5789         (FP_EX_UNDERFLOW): Likewise.
5790         (FP_EX_DIVZERO): Likewise.
5791         (FP_EX_INEXACT): Likewise.
5792         (FP_EX_ALL): Likewise.
5793         (__sfp_handle_exceptions): Likewise.
5794         (FP_HANDLE_EXCEPTIONS): Likewise.
5795         (FP_RND_NEAREST): Likewise.
5796         (FP_RND_ZERO): Likewise.
5797         (FP_RND_PINF): Likewise.
5798         (FP_RND_MINF): Likewise.
5799         (FP_RND_MASK): Likewise.
5800         (_FP_DECL_EX): Likewise.
5801         (FP_INIT_ROUNDMODE): Likewise.
5802         (FP_ROUNDMODE): Likewise.
5804         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
5805         compiler can do __float128.
5806         * configure: Regenerate.
5808         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5809         VSX code, enable IEEE 128-bit floating point.
5811 2016-01-05  Olivier Hainque  <hainque@adacore.com>
5813         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
5814         specificities.
5816 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
5818         Update copyright years.
5820 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
5822         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
5823         soft-fp targets.
5825 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
5827         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
5828         instead of abort to avoid dependency on stdlib.h.
5830 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
5832         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
5833         to initialize call to __dl_fixup once.
5835 2015-12-04  Nick Clifton  <nickc@redhat.com>
5837         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
5838         Allow for the second argument being negative.
5839         * config.host (extra_parts): Define for MSP430.  Create separate
5840         libraries for each of the hardware multiply formats.
5841         * config/msp430/lib2hw_mul.S: Build only the multiply routines
5842         that are needed.
5843         * config/msp430/lib2mul.c: Likewise.
5844         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
5845         Add rules to build hardware multiply libraries.
5846         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
5847         __mspabi_divul function.
5848         (__mspabi_divllu): New stub function.
5850 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
5852         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
5853         fixup values if saved GOT address doesn't match runtime address.
5854         (fixup_branch_offset): Reorder list.
5856 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5858         * Makefile.in (VTV_CFLAGS): New variable.
5859         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
5860         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
5861         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5862         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
5863         to extra_parts if $enable_vtable_verify = yes.
5865 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5867         PR target/68059
5868         * config/arm/linux-atomic-64bit.c (__write): Rename to...
5869         (write): ...this and fix the return type.
5871 2015-11-19  DJ Delorie  <dj@redhat.com>
5873         * config/msp430/lib2hw_mul.S: Fix alignment.
5875 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
5877         * config/nvptx/reduction.c: New.
5878         * config/nvptx/t-nvptx (LIB2ADD): Add it.
5880 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
5882         * config/rs6000/on_exit.c: New file.
5883         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
5884         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
5886 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
5888         * config/arc/dp-hack.h: Add support for ARCHS.
5889         * config/arc/ieee-754/divdf3.S: Likewise.
5890         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5891         * config/arc/ieee-754/muldf3.S: Likewise.
5892         * config/arc/ieee-754/mulsf3.S: Likewise
5893         * config/arc/lib1funcs.S: Likewise
5894         * config/arc/gmon/dcache_linesz.S: Don't read the build register
5895         for ARCv2 cores.
5896         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
5897         for ARCv2 cores.
5898         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
5899         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
5900         cores.
5902 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5904         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
5905         value.
5906         * config/ia64/crtend.S: Likewise.
5908 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5910         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
5911         __CHAR_BIT__ instead of BITS_PER_UNIT.
5912         * fixed-bit.h: Likewise.
5913         * fp-bit.h: Likewise.
5914         * libgcc2.c (__popcountSI2): Likewise.
5915         (__popcountDI2): Likewise.
5916         * libgcc2.h: Likewise.
5917         * libgcov.h: Likewise.
5919 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
5921         * config/rs6000/atexit.c: New file.
5922         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
5923         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
5924         * config/rs6000/cxa_finalize.c
5925         (catomic_compare_and_exchange_bool_acq): Negate return value.
5927 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
5929         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
5930         (processor_subtypes): Add znver1.
5931         (get_amd_cpu): Detect znver1.
5933 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
5935         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
5936         Include crtfastmath.o.
5938 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
5940         PR libgcc/66883
5941         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
5943 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
5945         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
5946         * config/rl78/divmodsi.S: Update return register to r8.
5947         * config/rl78/divmodhi.S: Update return register to r8,r9.
5948         Branch to main_loop_done_himode to pop registers before return.
5950 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
5952         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
5953         (__cpu_indicator_init): Fix model selection for AMD CPUs.
5955 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
5957         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
5959 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
5961         * config.host (xtensa*-*-uclinux*): New configuration.
5963 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
5965         * config/i386/cpuinfo.c (processor_features): Add
5966         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
5968 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
5970         * soft-fp/adddf3.c: Update from glibc.
5971         * soft-fp/addsf3.c: Likewise.
5972         * soft-fp/addtf3.c: Likewise.
5973         * soft-fp/divdf3.c: Likewise.
5974         * soft-fp/divsf3.c: Likewise.
5975         * soft-fp/divtf3.c: Likewise.
5976         * soft-fp/double.h: Likewise.
5977         * soft-fp/eqdf2.c: Likewise.
5978         * soft-fp/eqsf2.c: Likewise.
5979         * soft-fp/eqtf2.c: Likewise.
5980         * soft-fp/extenddftf2.c: Likewise.
5981         * soft-fp/extended.h: Likewise.
5982         * soft-fp/extendsfdf2.c: Likewise.
5983         * soft-fp/extendsftf2.c: Likewise.
5984         * soft-fp/extendxftf2.c: Likewise.
5985         * soft-fp/fixdfdi.c: Likewise.
5986         * soft-fp/fixdfsi.c: Likewise.
5987         * soft-fp/fixdfti.c: Likewise.
5988         * soft-fp/fixsfdi.c: Likewise.
5989         * soft-fp/fixsfsi.c: Likewise.
5990         * soft-fp/fixsfti.c: Likewise.
5991         * soft-fp/fixtfdi.c: Likewise.
5992         * soft-fp/fixtfsi.c: Likewise.
5993         * soft-fp/fixtfti.c: Likewise.
5994         * soft-fp/fixunsdfdi.c: Likewise.
5995         * soft-fp/fixunsdfsi.c: Likewise.
5996         * soft-fp/fixunsdfti.c: Likewise.
5997         * soft-fp/fixunssfdi.c: Likewise.
5998         * soft-fp/fixunssfsi.c: Likewise.
5999         * soft-fp/fixunssfti.c: Likewise.
6000         * soft-fp/fixunstfdi.c: Likewise.
6001         * soft-fp/fixunstfsi.c: Likewise.
6002         * soft-fp/fixunstfti.c: Likewise.
6003         * soft-fp/floatdidf.c: Likewise.
6004         * soft-fp/floatdisf.c: Likewise.
6005         * soft-fp/floatditf.c: Likewise.
6006         * soft-fp/floatsidf.c: Likewise.
6007         * soft-fp/floatsisf.c: Likewise.
6008         * soft-fp/floatsitf.c: Likewise.
6009         * soft-fp/floattidf.c: Likewise.
6010         * soft-fp/floattisf.c: Likewise.
6011         * soft-fp/floattitf.c: Likewise.
6012         * soft-fp/floatundidf.c: Likewise.
6013         * soft-fp/floatundisf.c: Likewise.
6014         * soft-fp/floatunditf.c: Likewise.
6015         * soft-fp/floatunsidf.c: Likewise.
6016         * soft-fp/floatunsisf.c: Likewise.
6017         * soft-fp/floatunsitf.c: Likewise.
6018         * soft-fp/floatuntidf.c: Likewise.
6019         * soft-fp/floatuntisf.c: Likewise.
6020         * soft-fp/floatuntitf.c: Likewise.
6021         * soft-fp/gedf2.c: Likewise.
6022         * soft-fp/gesf2.c: Likewise.
6023         * soft-fp/getf2.c: Likewise.
6024         * soft-fp/ledf2.c: Likewise.
6025         * soft-fp/lesf2.c: Likewise.
6026         * soft-fp/letf2.c: Likewise.
6027         * soft-fp/muldf3.c: Likewise.
6028         * soft-fp/mulsf3.c: Likewise.
6029         * soft-fp/multf3.c: Likewise.
6030         * soft-fp/negdf2.c: Likewise.
6031         * soft-fp/negsf2.c: Likewise.
6032         * soft-fp/negtf2.c: Likewise.
6033         * soft-fp/op-1.h: Likewise.
6034         * soft-fp/op-2.h: Likewise.
6035         * soft-fp/op-4.h: Likewise.
6036         * soft-fp/op-8.h: Likewise.
6037         * soft-fp/op-common.h: Likewise.
6038         * soft-fp/quad.h: Likewise.
6039         * soft-fp/single.h: Likewise.
6040         * soft-fp/soft-fp.h: Likewise.
6041         * soft-fp/subdf3.c: Likewise.
6042         * soft-fp/subsf3.c: Likewise.
6043         * soft-fp/subtf3.c: Likewise.
6044         * soft-fp/truncdfsf2.c: Likewise.
6045         * soft-fp/trunctfdf2.c: Likewise.
6046         * soft-fp/trunctfsf2.c: Likewise.
6047         * soft-fp/trunctfxf2.c: Likewise.
6048         * soft-fp/unorddf2.c: Likewise.
6049         * soft-fp/unordsf2.c: Likewise.
6050         * soft-fp/unordtf2.c: Likewise.
6052 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
6054         PR libgcc/67624
6055         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
6057 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6059         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
6060         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
6061         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
6062         messages.
6063         (internal_mcount): Likewise.
6064         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
6065         crt_compile, add CRTSTUFF_T_CFLAGS_S.
6067 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6069         * configure.ac (libgcc_cv_solaris_crts): New test.
6070         * configure: Regenerate.
6071         * config.in: Regenerate.
6072         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
6073         * config/gmon-sol2.c: Rename to ...
6074         * config/sol2/gmon.c: ... this.
6075         Include auto-target.h.
6076         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
6077         * config/t-sol2: Rename to ...
6078         * config/sol2/t-sol2: ... this.
6079         (gmon.o): Reflect renaming.
6080         (crtp.o, crtpg.o): New rules.
6081         * config.host (*-*-solaris2*): Reflect renaming.
6082         Use system CRTs if present.
6083         Remove default CRT case.
6085 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
6087         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
6088         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
6089         __kernel_cmpxchg2.
6090         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
6091         (__sync_val_compare_and_swap_##WIDTH): Likewise.
6092         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
6093         (__sync_lock_test_and_set_##WIDTH): Likewise.
6094         (__sync_lock_release_##WIDTH): Likewise.
6095         (__sync_fetch_and_##OP##_4): Change result to match type of
6096         __kernel_cmpxchg.
6097         (__sync_##OP##_and_fetch_4): Likewise.
6098         (__sync_val_compare_and_swap_4): Likewise.
6099         (__sync_bool_compare_and_swap_4): likewise.
6100         (__sync_lock_test_and_set_4): Likewise.
6101         (__sync_lock_release_4): Likewise.
6102         (FETCH_AND_OP_2): Add long long variants.
6103         (OP_AND_FETCH_2): Likewise.
6104         (COMPARE_AND_SWAP_2 ): Likewise.
6105         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6106         (SYNC_LOCK_RELEASE_2): Likewise.
6107         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
6109 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
6111         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
6112         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
6113         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
6114         (get_available_features): Habdle new features.
6116 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
6118         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
6119         memory layout. Deal correctly with BSS region larger than 32K.
6120         Handle a watchdog reset like a power-on reset. Clean up unused
6121         code.
6123 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
6124             David Edelsohn  <dje.gcc@gmail.com>
6126         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
6127         * config/rs6000/crtdbase.S: New file.
6128         * config/rs6000/t-aix-cxa: Build crtdbase.o.
6130 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
6132         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
6133         Add support for call0 ABI.
6135 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
6137         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
6139 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
6141         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
6142         (__GTHREAD_HAS_COND): Likewise.
6143         (__gthread_t): Likewise.
6144         (__gthread_cond_t): Likewise.
6145         (__gthread_time_t): Likewise.
6146         (__GTHREAD_MUTEX_INIT): Likewise.
6147         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
6148         (__GTHREAD_COND_INIT): Likewise.
6149         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
6150         (__GTHREAD_TIME_INIT): Likewise.
6151         (__gthread_create): Likewise.
6152         (__gthread_join): Likewise.
6153         (__gthread_detach): Likewise.
6154         (__gthread_equal): Likewise.
6155         (__gthread_self): Likewise.
6156         (__gthread_yield): Likewise.
6157         (__gthread_cond_broadcast): Likewise.
6158         (__gthread_cond_signal): Likewise.
6159         (__gthread_cond_wait): Likewise.
6160         (__gthread_cond_timedwait): Likewise.
6161         (__gthread_cond_wait_recursive): Likewise.
6162         (__gthread_cond_destroy): Likewise.
6163         (rtems_gxx_once): Delete.
6164         (rtems_gxx_key_create): Likewise.
6165         (rtems_gxx_key_delete): Likewise.
6166         (rtems_gxx_getspecific): Likewise.
6167         (rtems_gxx_setspecific): Likewise.
6168         (rtems_gxx_mutex_init): Likewise.
6169         (rtems_gxx_mutex_destroy): Likewise.
6170         (rtems_gxx_mutex_lock): Likewise.
6171         (rtems_gxx_mutex_trylock): Likewise.
6172         (rtems_gxx_mutex_unlock): Likewise.
6173         (rtems_gxx_recursive_mutex_init): Likewise.
6174         (rtems_gxx_recursive_mutex_lock): Likewise.
6175         (rtems_gxx_recursive_mutex_trylock): Likewise.
6176         (rtems_gxx_recursive_mutex_unlock): Likewise.
6177         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
6178         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
6179         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
6180         (__gthread_once): Likewise.
6181         (__gthread_key_create): Likewise.
6182         (__gthread_key_delete): Likewise.
6183         (__gthread_getspecific): Likewise.
6184         (__gthread_setspecific): Likewise.
6185         (__gthread_key_t): Use <pthread.h> type.
6186         (__gthread_once_t): Likewise
6187         (__gthread_mutex_t): Use <sys/lock.h> type.
6188         (__gthread_recursive_mutex_t): Likewise
6189         (__gthread_mutex_lock): Use <sys/lock.h> function.
6190         (__gthread_mutex_trylock): Likewise.
6191         (__gthread_mutex_timedlock): Likewise.
6192         (__gthread_mutex_unlock): Likewise.
6193         (__gthread_mutex_destroy): Likewise.
6194         (__gthread_recursive_mutex_lock): Likewise.
6195         (__gthread_recursive_mutex_trylock): Likewise.
6196         (__gthread_recursive_mutex_timedlock): Likewise.
6197         (__gthread_recursive_mutex_unlock): Likewise.
6198         (__gthread_recursive_mutex_destroy): Likewise.
6200 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
6202         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
6203         context->sp instead of context->cfa.
6205 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
6207         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
6208         with unwind-dw2-fde-dip.
6210 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
6212         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
6213         CALL12 followed by series of ENTRY to spill windowed registers.
6214         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
6215         instead of making linux spill syscall.
6217 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
6219         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
6220         (get_intel_cpu): Likewise.
6222 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
6224         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
6225         (get_intel_cpu): Add Knights Landing support.
6227 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
6229         PR target/66954
6230         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
6231         (get_available_features): Handle FEATURE_PCLMUL.
6233 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
6235         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
6236         Broadwell.
6238 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
6240         PR target/66954
6241         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
6242         (get_available_features): Handle FEATURE_AES.
6244 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
6246         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
6247         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
6249 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
6251         * offloadstuff.c: Constify host data.
6253 2015-07-17  Jan Beulich  <jbeulich@suse.com>
6255         * config/t-softfp: Split up "else ifneq".
6257 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
6258             Cesar Philippidis  <cesar@codesourcery.com>
6259             Chung-Lin Tang  <cltang@codesourcery.com>
6261         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
6262         for __nios2_arch__ level.
6264 2015-07-13  John Marino  <gnugcc@marino.st>
6266         * config/i386/t-dragonfly: New.
6268 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
6270         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
6271         better match light-weight syscall argument order.
6272         (__kernel_cmpxchg2): Likewise.
6273         Adjust callers.
6275 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
6277         * config.host: Support i[34567]86-*-elfiamcu target.
6278         * config/t-softfp-sfdftf: New file.
6279         * config/i386/32/t-iamcu: Likewise.
6280         * configure: Regenerated.
6282 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
6284         libgcc/config/arm/
6285         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
6287 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
6289         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
6291 2015-05-27  John Marino  <gnugcc@marino.st>
6293         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
6294         md_unwind_header
6295         * config/i386/freebsd-unwind.h: New.
6297 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
6299         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
6300         i386/t-crtfm to tmake_file.
6301         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
6302         (set_fast_math): Use set_fast_math_sse for SSE targets.
6303         * config/i386/t-crtfm: Remove.
6305 2015-05-21  Alan Modra  <amodra@gmail.com>
6307         PR libgcc/66225
6308         * config/rs6000/morestack.S: Remove ".abiversion 1".
6310 2015-05-20  Alan Modra  <amodra@gmail.com>
6312         * config/rs6000/morestack.S: New.
6313         * config/rs6000/t-stack-rs6000: New.
6314         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
6315         to tmake_file.
6316         * generic-morestack.c: Don't build for powerpc 32-bit.
6318 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
6320         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
6321         Remove useless endif/ifneq ($(enable_shared),yes) pair.
6323 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
6325         * config.host: FT32 target added.
6326         * config/ft32/*: New files for FT32 target.
6328 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
6330         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
6331         New macros.
6332         * config/arm/ieee754-df.S: Add CFI directives.
6333         * config/arm/ieee754-sf.S: Add CFI directives.
6335 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
6337         * configure.ac: Include config/sjlj.m4.
6338         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
6339         * config.in: Regenerate.
6340         * configure: Likewise.
6341         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
6343 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
6345         * libgcov-util.c: Add space between string literal and macro name.
6347 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
6348             Chris Jones  <chrisj@nvidia.com>
6349             Joshua Conner  <jconner@nvidia.com>
6351         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
6352         (arm*-*-uclinux*): Likewise.
6353         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
6354         * config/arm/crtfastmath.c: New file.
6356 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
6358         * Makefile.in (real_host_noncanonical): New variable.
6359         (libsubdir): Use it.
6360         * configure.ac (real_host_noncanonical): Compute.  Remove special
6361         case for intelmicemul.
6362         * configure: Regenerate.
6364 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
6366         * config/frv/elf-lib.h: New file.
6367         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
6368         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
6369         to tm_file.
6371 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
6373         * config/frv/frvbengin.c: Do not include defaults.h
6374         * config/frv/frvend.c: Ditto.
6376 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
6378         * config.host: Add h8300-*-linux
6379         * config/h8300/t-linux: New file.
6380         * config/h8300/lib1funs.s: Change symbol prefix.
6381         * config/h8300/sfp-machine.h: 64bit double support.
6383 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
6384             Szabolcs Nagy  <szabolcs.nagy@arm.com>
6386         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
6387         Linux if target provides dl_iterate_phdr.
6389 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
6391         PR target/65612
6392         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
6393         * config/i386/cpuinfo.c (__cpu_model): Initialize.
6394         (__cpu_indicator_init@GCC_4.8.0): New.
6395         (__cpu_model@GCC_4.8.0): Likewise.
6396         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
6397         -DUSE_ELF_SYMVER.
6399 2015-04-16  Nick Clifton  <nickc@redhat.com>
6401         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
6402         and __modhi3 functions.
6403         * config/rl78/divmodso.S: Add G14 and G13 versions of the
6404         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
6406 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
6408         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
6409         do-while loop as macro body to avoid warnings.
6411 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
6412             Iain Sandoe  <iain@codesourcery.com>
6414         PR target/65351
6415         * configure: Regenerate.
6417 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
6418             Iain Sandoe  <iain@codesourcery.com>
6420         PR target/65351
6421         * configure: Regenerate.
6423 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
6425         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
6427 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
6429         Implement call0 ABI for xtensa
6430         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6431         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
6432         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
6433         use ret in call0 ABI.
6434         * config/xtensa/t-windowed: New file.
6435         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
6436         * libgcc/configure: Regenerated.
6437         * libgcc/configure.ac: Check if xtensa target is configured for
6438         windowed ABI and thus needs to use custom unwind code.
6440 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
6442         PR libgcc/64885
6443         * gthr-single.h: Use __unused__ attribute instead of unused.
6444         * config/gthr-vxworks.h: Likewise.
6445         * config/i386/gthr-win32.h: Likewise.
6447 2015-02-27  Kai Tietz  <ktietz@redhat.com>
6449         PR target/65038
6450         * config.in: Regenerated.
6451         * configure: Likewise.
6452         * configure.ac (AC_HEADER_STDC): Added explicit.
6453         (AC_CHECK_HEADERS): Check for default headers  plus
6454         for ftw.h header.
6455         * libgcov-util.c (gcov_read_profile_dir): Disable use
6456         of ftw-function, if header is not found.
6457         (ftw_read_file): Likewise.
6459 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
6461         PR target/65181
6462         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
6463         -Dinhibit_libc.
6465 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
6467         * config/arm/bpabi.S (test_div_by_zero): Make label names
6468         consistent between thumb2 and arm mode cases.  Separate the
6469         signed comparison on the high word of the numerator from the
6470         unsigned comparison on the low word.
6471         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
6472         signed comparison.
6474 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6476         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
6477         and <string.h>.
6478         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
6480 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
6482         PR gcov-profile/61889
6483         * libgcov-driver-system.c: undefine clashing macro for mkdir.
6485 2015-02-02  Nick Clifton  <nickc@redhat.com>
6487         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
6488         rounding up the fraction.
6490 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
6492         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
6493         oldval and newval to const void *.  Fix typo.
6494         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
6495         (FETCH_AND_OP_WORD): Likewise.
6496         (OP_AND_FETCH_WORD): Likewise.
6497         (COMPARE_AND_SWAP_2): Likewise.
6498         (__sync_val_compare_and_swap_4): Likewise.
6499         (__sync_lock_test_and_set_4): Likewise.
6500         (SYNC_LOCK_RELEASE_2): Likewise.
6501         Remove support for long long atomic operations.
6503 2015-01-27  Caroline Tice  <cmtice@google.com>
6505         Committing VTV Cywin/Ming patch for Patrick Wollgast
6506         * Makefile.in: Move rules to build vtv_*.o out of the check
6507         for CUSTOM_CRTSTUFF.
6508         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
6509         i[34567]86-*-mingw*)
6510         (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
6511         enable_vtable_verify.
6513 2015-01-27  Nick Clifton  <nickc@redhat.com>
6515         * config/rl78/cmpsi2.S: Use function start and end macros.
6516         (__gcc_bcmp): New function.
6517         * config/rl78/lshrsi3.S: Use function start and end macros.
6518         * config/rl78/mulsi3.S: Add support for G10.
6519         (__mulqi3): New function for G10.
6520         * config/rl78/signbit.S: Use function start and end macros.
6521         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
6522         fpmath-sf.S.
6523         (LIB2FUNCS_EXCLUDE): Define.
6524         (LIB2FUNCS_ST): Define.
6525         * config/rl78/trampoline.S: Use function start and end macros.
6526         * config/rl78/vregs.h (START_FUNC): New macro.
6527         (START_ANOTHER_FUNC): New macro.
6528         (END_FUNC): New macro.
6529         (END_ANOTHER_FUNC): New macro.
6530         * config/rl78/bit-count.S: New file.  Contains assembler
6531         implementations of the bit counting functions: ___clzhi2,
6532         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
6533         __paritysi2, __popcounthi2 and __popcountsi2.
6534         * config/rl78/fpbit-sf.S: New file.  Contains assembler
6535         implementationas of the math functions: __negsf2, __cmpsf2,
6536         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
6537         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
6538         * config/rl78/fpmath-sf.S: New file.  Contains assembler
6539         implementations of the math functions: __subsf3, __addsf3,
6540         __mulsf3 and __divsf3
6542 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6544         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
6545         Add i386/elf-lib.h to tm_file.
6546         * config/i386/elf-lib.h: Fix comment.
6547         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
6548         && __sun__ && __svr4__]: Remove workaround.
6550 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
6552         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
6553         FEATURE_BMI2.
6554         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
6556 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
6558         * config/i386/cpuinfo.c (processor_subtypes): Add
6559         INTEL_COREI7_BROADWELL.
6560         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
6561         model numbers.
6563 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
6565         * config/i386/elf-lib.h: New file.
6566         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
6567         Wrap definition in #ifdef __i386__.
6568         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6569         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
6570         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
6571         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
6572         to tm_file.
6574 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
6576         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
6577         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
6579 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
6581         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
6582         Update rt_sigframe format and address for current Nios II
6583         Linux conventions.
6585 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
6587         * config.host (arm*-*-freebsd*): Add new configuration for
6588         arm*-*-freebsd*.
6589         * config/arm/freebsd-atomic.c: New file.
6590         * config/arm/t-freebsd: Likewise.
6591         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
6592         'PC-relative indirect' OS's.
6594 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
6596         * config.host: Add Visium support.
6597         * config/visium: New directory.
6599 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
6601         Update copyright years.
6603 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
6605         * config.host: Support mipsisa32r6 and mipsisa64r6.
6606         * config/mips/mips16.S: Do not build for R6.
6608 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
6610         * config/sh/crt.h: New.
6611         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
6612         symbols.
6613         * config/sh/crt1.S: Likewise.
6615 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
6617         PR libgcc/63832
6618         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
6619         func_ptr *dtor_list temporary variable to avoid "array subscript
6620         is above array bounds" warnings.
6622 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
6624         * Makefile.in (with_aix_soname): Define.
6625         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
6626         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
6627         * configure: Recreate.
6629 2014-12-05  Olivier Hainque  <hainque@adacore.com>
6631         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
6632         now provided by defaults.h.
6634 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
6636         PR target/55351
6637         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
6638         whether it's defined.
6640 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
6642         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
6643         * config/i386/cpuinfo.c (get_available_features): Detect it.
6645 2014-11-27  Tony Wang  <tony.wang@arm.com>
6647         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
6648         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
6649         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
6651 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
6653         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
6655 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
6657         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
6658         instead.
6660 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
6661             John David Anglin  <danglin@gcc.gnu.org>
6663         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
6664         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
6665         (OP_AND_FETCH_2): Likewise.
6666         (COMPARE_AND_SWAP_2): Likewise.
6667         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6668         (SYNC_LOCK_RELEASE_2): Likewise.
6669         (SUBWORD_SYNC_OP): Remove.
6670         (SUBWORD_VAL_CAS): Likewise.
6671         (SUBWORD_BOOL_CAS): Likewise.
6672         (FETCH_AND_OP_WORD): Update.
6673         Consistently use signed types.
6675 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
6676             Thomas Schwinge  <thomas@codesourcery.com>
6677             Ilya Verbin  <ilya.verbin@intel.com>
6678             Andrey Turetskiy  <andrey.turetskiy@intel.com>
6680         * Makefile.in (crtoffloadbegin$(objext)): New rule.
6681         (crtoffloadend$(objext)): Likewise.
6682         * configure: Regenerate.
6683         * configure.ac (accel_dir_suffix): Compute new variable.
6684         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
6685         if enable_offload_targets is not empty.
6686         * offloadstuff.c: New file.
6688 2014-11-13  Nick Clifton  <nickc@redhat.com>
6690         * config/rl78/divmodhi.S: Add support for the G10 architecture.
6691         Use START_FUNC and END_FUNC macros to enable linker garbage
6692         collection.
6693         * config/rl78/divmodqi.S: Likewise.
6694         * config/rl78/divmodsi.S: Likewise.
6695         * config/rl78/mulsi3.S: Likewise.
6696         * config/rl78/lib2div.c: Remove G10 functions.
6697         * config/rl78/lib2muls.c: Likewise.
6698         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
6699         * config/rl78/vregs.h (START_FUNC): New macro.
6700         (END_FUNC): New macro.
6702 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
6704         * config/mips/mips16.S: Set .module when supported.  Update O32
6705         FP64 calling convention and use for FPXX when possible.  Add FPXX
6706         calling convention fallback case.
6708 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
6710         * config.host: Handle nvptx-*-*.
6711         * shared-object.mk (as-flags-$o): Define.
6712         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
6713         -xassembler-with-cpp.
6714         * static-object.mk: Identical changes.
6715         * config/nvptx/t-nvptx: New file.
6716         * config/nvptx/crt0.s: New file.
6717         * config/nvptx/free.asm: New file.
6718         * config/nvptx/malloc.asm: New file.
6719         * config/nvptx/realloc.c: New file.
6721 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
6723         * Makefile.in (libgcc.map.in): New target.
6724         (libgcc.map): Use libgcc.map.in.
6725         * config/t-softfp (softfp_compat): New variable to be set by
6726         users.
6727         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
6728         variables.
6729         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
6730         directory.
6731         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
6732         that use compat symbols and disable all code unless [SHARED].
6733         * config/t-softfp-compat: New file.
6734         * find-symver.awk: New file.
6735         * configure.ac (--with-glibc-version): New configure option.
6736         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
6737         * configure: Regenerate.
6738         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
6739         soft-float and e500.
6741 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
6743         * config/t-hardfp (hardfp_exclusions): Document new variable for
6744         user to define.
6745         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
6746         * config/t-softfp (softfp_extras): Document new variable for user
6747         to define.
6748         (softfp_func_list): Add functions from $(softfp_extras).
6749         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
6750         * config.host (powerpc*-*-linux*): For e500v1, use
6751         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
6752         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
6753         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
6755 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
6757         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
6758         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
6759         memory read accesses are ok.
6761 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
6763         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
6764         * configure: Regenerate.
6765         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
6766         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
6767         of soft-fp for 32-bit classic hard float.  Do not use
6768         t-softfp-excl for soft float.
6770 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
6772         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
6773         configurations.
6774         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
6775         Remove variables.
6777 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
6779         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
6780         introduced with 2014-10-21 trunk r216525.
6782 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
6783             Vidya Praveen  <vidya.praveen@atmel.com>
6784             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
6785             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
6786             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
6788         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
6789         order.
6791         Updated library functions for AVRTINY arch.
6792         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
6793         Replaced occurrences of r0/r1 with tmp/zero reg macros.
6794         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
6795         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
6796         wsubi/wadi macors.
6797         (__mulsi3_helper): Update stack, preserve callee saved regs and
6798         argument from stack. Restore callee save registers.
6799         (__mulpsi3): Likewise.
6800         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
6801         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
6802         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
6803         AVRTINY.
6804         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
6805         (__do_copy_data): Added new definition for AVRTINY.
6806         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
6807         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
6808         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
6809         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
6810         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
6811         macors.
6812         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
6813         AVRTINY.
6815         Fix broken long multiplication on tiny arch.
6817 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
6819         * soft-fp/double.h: Update from glibc.
6820         * soft-fp/eqdf2.c: Likewise.
6821         * soft-fp/eqsf2.c: Likewise.
6822         * soft-fp/eqtf2.c: Likewise.
6823         * soft-fp/extenddftf2.c: Likewise.
6824         * soft-fp/extended.h: Likewise.
6825         * soft-fp/extendsfdf2.c: Likewise.
6826         * soft-fp/extendsftf2.c: Likewise.
6827         * soft-fp/extendxftf2.c: Likewise.
6828         * soft-fp/gedf2.c: Likewise.
6829         * soft-fp/gesf2.c: Likewise.
6830         * soft-fp/getf2.c: Likewise.
6831         * soft-fp/ledf2.c: Likewise.
6832         * soft-fp/lesf2.c: Likewise.
6833         * soft-fp/letf2.c: Likewise.
6834         * soft-fp/op-1.h: Likewise.
6835         * soft-fp/op-2.h: Likewise.
6836         * soft-fp/op-4.h: Likewise.
6837         * soft-fp/op-8.h: Likewise.
6838         * soft-fp/op-common.h: Likewise.
6839         * soft-fp/quad.h: Likewise.
6840         * soft-fp/single.h: Likewise.
6841         * soft-fp/soft-fp.h: Likewise.
6842         * soft-fp/unorddf2.c: Likewise.
6843         * soft-fp/unordsf2.c: Likewise.
6844         * soft-fp/unordtf2.c: Likewise.
6845         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
6846         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
6847         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
6848         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
6849         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
6850         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
6851         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
6852         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
6853         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
6854         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
6856 2014-10-08  Rong Xu  <xur@google.com>
6858         * libgcov-util.c (read_gcda_file): Fix format.
6859         (find_match_gcov_info): Ditto.
6860         (calculate_2_entries): New.
6861         (compute_one_gcov): Ditto.
6862         (gcov_info_count_all_cold): Ditto.
6863         (gcov_info_count_all_zero): Ditto.
6864         (extract_file_basename): Ditto.
6865         (get_file_basename): Ditto.
6866         (set_flag): Ditto.
6867         (matched_gcov_info): Ditto.
6868         (calculate_overlap): Ditto.
6869         (gcov_profile_overlap): Ditto.
6870         * libgcov-driver.c (compute_summary): Make
6871         it avavilable for external calls.
6873 2014-10-06  Rong Xu  <xur@google.com>
6875         * Makefile.in: Ditto.
6876         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
6877         (gcov_sort_icall_topn_counter): Ditto.
6878         (gcov_sort_topn_counter_arrays): Ditto.
6879         (dump_one_gcov): Sort indirect_call topn counters.
6880         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
6881         function.
6882         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
6883         utility function.
6884         (__gcov_indirect_call_topn_profiler): New profiler function.
6885         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
6886         * libgcov.h: New decls.
6888 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
6890         * config.host: Remove support for score-*.
6892 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
6894         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6895         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
6896         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
6897         __LIBGCC_XF_MANT_DIG__.
6898         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
6899         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
6900         __LIBGCC_TF_MANT_DIG__.
6901         * libgcc2.c (NOTRUNC): Define in terms of
6902         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
6903         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6905 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
6907         PR target/63312
6908         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
6909         New macros.
6911 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
6913         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
6914         override USE_PT_GNU_EH_FRAME.
6915         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
6916         check USE_EH_FRAME_REGISTRY_ALWAYS against
6917         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
6918         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
6919         variable for substituted force_explicit_eh_registry.
6920         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
6921         * configure.ac (explicit-exception-frame-registration):
6922         New AC_ARG_ENABLE.
6923         * configure: Regenerate.
6925 2014-09-19  Olivier Hainque  <hainque@adacore.com>
6927         * config.host (powerpc-wrs-vxworksmils): New configuration,
6928         same as vxworksae.
6930 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
6932         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
6934 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
6936         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
6937         bits not set bits as indicating trapping exceptions.
6939 2014-09-17  Nathan sidwell  <nathan@acm.org>
6941         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
6942         (LIBGCOV_DRIVER): ... here.
6943         * libgcov-driver.c (gcov_master): New.
6944         (gcov_exit): Remove from master chain.
6945         (__gcov_init): Add to master chain if version compatible.  Don't
6946         clear the version.
6947         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
6948         (gcov_reset_int): Clear master chain, if compatible.
6949         (gcov_dump_int): New internal interface.  Dump master chain, if
6950         compatible.
6951         (gcov_dump): Alias for gcov_dump_int.
6952         * libgcov.h (struct gcov_root): Add next and prev fields.
6953         (struct gcov_master): New struct.
6954         (__gcov_master): New.
6955         (gcov_dump_int): Declare.
6957 2014-09-17  Olivier Hainque  <hainque@adacore.com>
6959         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
6960         and crtbegin.o + crtend.o to extra_parts.
6962 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
6964         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
6965         __LIBGCC_HAS_SF_MODE__.
6966         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6967         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6968         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6969         * config/libbid/bid_gcc_intrinsics.h
6970         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6971         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6972         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6973         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6974         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
6975         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6977 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
6979         PR target/63223
6980         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
6981         and R24 as needed.  Make work for all devices and .text locations.
6982         (__do_global_ctors, __do_global_dtors): Use word addresses.
6983         (__tablejump__, __tablejump_elpm__): Remove functions.
6984         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
6985         Add _tablejump2.
6986         (XICALL, XIJMP): New macros.
6988 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6989         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
6991         * config.host (aarch64*): Include crtfastmath.o and
6992         t-crtfm.
6993         * config/aarch64/crtfastmath.c: New file.
6995 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
6997         * config.host: Remove picochip support.
6998         * config/picochip/adddi3.S: Remove.
6999         * config/picochip/ashlsi3.S: Remove.
7000         * config/picochip/ashlsi3.c: Remove.
7001         * config/picochip/ashrsi3.S: Remove.
7002         * config/picochip/ashrsi3.c: Remove.
7003         * config/picochip/clzsi2.S: Remove.
7004         * config/picochip/cmpsi2.S: Remove.
7005         * config/picochip/divmod15.S: Remove.
7006         * config/picochip/divmodhi4.S: Remove.
7007         * config/picochip/divmodsi4.S: Remove.
7008         * config/picochip/lib1funcs.S: Remove.
7009         * config/picochip/longjmp.S: Remove.
7010         * config/picochip/lshrsi3.S: Remove.
7011         * config/picochip/lshrsi3.c: Remove.
7012         * config/picochip/parityhi2.S: Remove.
7013         * config/picochip/popcounthi2.S: Remove.
7014         * config/picochip/setjmp.S: Remove.
7015         * config/picochip/subdi3.S: Remove.
7016         * config/picochip/t-picochip: Remove.
7017         * config/picochip/ucmpsi2.S: Remove.
7018         * config/picochip/udivmodhi4.S: Remove.
7019         * config/picochip/udivmodsi4.S: Remove.
7021 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
7023         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
7024         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
7025         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
7026         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
7027         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
7028         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
7029         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
7030         defined and LIBGCC2_HAS_DF_MODE is defined.
7031         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
7032         defined and LIBGCC2_HAS_XF_MODE is defined.
7033         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
7034         defined and LIBGCC2_HAS_TF_MODE is defined.
7036 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
7038         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
7039         and ROUND_TOWARDS_ZERO conditionals.
7041 2014-09-07  Nathan sidwell  <nathan@acm.org>
7043         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
7044         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
7046 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
7048         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
7049         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7050         uses to __LIBGCC_STACK_POINTER_REGNUM__.
7051         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7052         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7053         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7054         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7055         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
7056         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
7057         (DWARF_FRAME_REGISTERS): Change all uses to
7058         __LIBGCC_DWARF_FRAME_REGISTERS__.
7059         (EH_RETURN_STACKADJ_RTX): Change all uses to
7060         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7061         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
7062         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
7063         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
7064         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
7065         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
7066         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
7067         to __LIBGCC_EH_FRAME_SECTION_NAME__.
7068         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
7069         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
7070         __LIBGCC_STACK_POINTER_REGNUM__.
7071         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7072         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7073         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7074         to __LIBGCC_STACK_POINTER_REGNUM__.
7075         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7076         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7077         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7078         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7079         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7080         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7081         (STACK_POINTER_REGNUM): Change all uses to
7082         __LIBGCC_STACK_POINTER_REGNUM__.
7083         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
7084         use to __LIBGCC_STACK_POINTER_REGNUM__.
7085         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7086         uses to __LIBGCC_STACK_POINTER_REGNUM__.
7087         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
7088         to __LIBGCC_DWARF_FRAME_REGISTERS__.
7089         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
7090         to __LIBGCC_DWARF_FRAME_REGISTERS__.
7091         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7092         to __LIBGCC_STACK_POINTER_REGNUM__.
7093         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
7094         Remove conditional definition.
7095         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
7096         __LIBGCC_TEXT_SECTION_ASM_OP__.
7097         (EH_FRAME_SECTION_NAME): Change all uses to
7098         __LIBGCC_EH_FRAME_SECTION_NAME__.
7099         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
7100         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
7101         (CTORS_SECTION_ASM_OP): Change all uses to
7102         __LIBGCC_CTORS_SECTION_ASM_OP__.
7103         (DTORS_SECTION_ASM_OP): Change all uses to
7104         __LIBGCC_DTORS_SECTION_ASM_OP__.
7105         (JCR_SECTION_NAME): Change all uses to
7106         __LIBGCC_JCR_SECTION_NAME__.
7107         (INIT_SECTION_ASM_OP): Change all uses to
7108         __LIBGCC_INIT_SECTION_ASM_OP__.
7109         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7110         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7111         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
7112         __LIBGCC_STACK_GROWS_DOWNWARD__.
7113         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
7114         __LIBGCC_INIT_SECTION_ASM_OP__.
7115         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7116         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7117         (EH_FRAME_SECTION_NAME): Change all uses to
7118         __LIBGCC_EH_FRAME_SECTION_NAME__.
7119         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
7120         definitions.  Change all uses to
7121         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
7122         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
7123         __LIBGCC_STACK_GROWS_DOWNWARD__.
7124         (DWARF_FRAME_REGISTERS): Change all uses to
7125         __LIBGCC_DWARF_FRAME_REGISTERS__.
7126         (EH_RETURN_STACKADJ_RTX): Change all uses to
7127         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7128         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
7129         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
7130         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
7131         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
7132         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
7134 2014-09-02  Nathan sidwell  <nathan@acm.org>
7136         * libgcov-interface.c (STRONG_ALIAS): New.
7137         (__gcov_flush): Call __gcov_reset_int.
7138         (__gcov_reset): Strong alias for ...
7139         (__gcov_reset_ing): ... this renamed hidden version.
7140         * libgcov.h (__gcov_reset_int): New declaration.
7142 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
7144         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
7145         call from here...
7146         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
7147         (__dso_handle): Define on Cygwin.
7148         * config/i386/t-cygming (crtbeginS.o): New rule.
7149         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
7151         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
7152         declaration syntax.
7154 2014-08-13  Steve Ellcey  <sellcey@mips.com>
7156         * crtstuff.c: Undef caddr_t.
7158 2014-08-12  Steve Ellcey  <sellcey@mips.com>
7160         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
7162 2014-08-07  Nathan Sidwell  <nathan@acm.org>
7164         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
7165         (LIBGCOV_DRIVER): ... to here.
7166         * libgcov.h (gcov_do_dump): New #define.
7167         (struct gcov_root): New.
7168         (__gcov_root): New declaration.
7169         (__gcov_dump_one): Declare.
7170         * libgcov-driver.c (gcov_list, gcov_dump_complete,
7171         run_accounted): Delete.
7172         (gcov_compute_histogram): Add LIST argument, adjust.
7173         (compute_summary): Adjust gcov_compute_histogram call.
7174         (gcov_do_dump): Not hidden, static in libgcov.
7175         (gcov_clear): Move  to interface.c.
7176         (__gcov_dump_one): New, broken out of ...
7177         (gcov_exit): ... here.  Make static.
7178         (__gcov_root): New.
7179         (__gcov_init): Adjust.
7180         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
7181         declarations.
7182         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
7183         (gcov_clear): Moved from driver.c.   Add LIST argument.
7184         (__gcov_reset): Adjust for changed interfaces.
7185         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
7187 2014-08-04  Rohit  <rohitarulraj@freescale.com>
7189         PR target/60102
7190         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
7191         based on change in SPE high register numbers and 3 HTM registers.
7193 2014-08-01  Nathan Sidwell  <nathan@acm.org>
7195         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
7196         LIBGCOV_INTERFACE): Reformat.
7197         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
7198         IN_GCOV_TOOL.
7199         * libgcov-interface.c: Reformat some comments.
7200         (__gcov_flush_mx): Add declaration.  Tidy up definition.
7202 2014-07-31  Alan Modra  <amodra@gmail.com>
7203             Peter Bergner  <bergner@vnet.ibm.com>
7205         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
7206         (pack_ldouble): New function.
7207         (__gcc_qadd): Use it.
7208         (__gcc_qmul): Likewise.
7209         (__gcc_qdiv): Likewise.
7210         (__gcc_qneg): Likewise.
7211         (__gcc_stoq): Likewise.
7212         (__gcc_dtoq): Likewise.
7214 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
7216         * config/s390/tpf-unwind.h: Include <stdbool.h>.
7217         (__tpf_eh_return): Add original return address as second parameter.
7218         Handle cases where unwinder routines were called directly, instead
7219         of from within the C++ library.
7221 2014-07-29  Nathan Sidwell  <nathan@acm.org>
7223         * libgcov.h: Move renaming of entry points to lib gcov specific
7224         portion.
7225         (gcov_do_dump): New rename.
7226         (gcov_rewrite): Remove inline, make HIDDEN.
7227         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
7228         (gcov_exit_compute_summary): Rename to ...
7229         (compute_summary): ... here.  Add LIST argument.
7230         (gcov_exit_merge_gcda): Rename to ...
7231         (merge_one_data): ... here.
7232         (gcov_exit_write_gcda): Rename to ...
7233         (write_one_data): ... here.
7234         (gcov_exit_merge_summary): Rename to ...
7235         (merge_summary): Add RUN_COUNTED argument.
7236         (gcov_exit_dump_gcov): Rename to ...
7237         (dump_one_gcov): Add RUN_COUNTED argument.
7238         (gcov_do_dump): New function, broken out of ...
7239         (gcov_exit): ... here.  Call it.
7241 2014-07-27  Anthony Green  <green@moxielogic.com>
7243         * config.host: Add moxiebox configuration suppport.
7245 2014-07-27  Nathan Sidwell  <nathan@acm.org>
7247         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
7248         (struct gcov_filename): ... here.  Include buffer and max length
7249         fields.
7250         (gcov_max_filename): Remove.
7251         (gi_filename): Remove.
7252         (gcov_exit_compute_summary): Compute max filename here.
7253         (gcov_exit_merge_gcda): Add filename parm, adjust.
7254         (gcov_exit_merge_summary): Likewise.
7255         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
7256         (gcov_exit): Likewise.
7257         (__gcov_init): Don't calculate max length here.
7258         * libgcov_util.c (max_filename_len): Remove.
7259         (read_gcda_file): Don't calculate max length here.
7260         (gcov_read_profile_dir): Don't propagate here.
7261         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
7262         struct gcov_filename changes.
7263         (gcov_exit_open_gcda_file): Likewise.
7265 2014-07-25  Nathan Sidwell  <nathan@acm.org>
7267         * libgcov-driver.c (set_gcov_dump_complete,
7268         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
7269         functions polluting user's namespace.
7270         (gcov_exit): Set variable directly.
7271         (gcov_clear): Reset variable directly.
7272         * libgcov-interface.c (get_gcov_dymp_complete,
7273         reset_gov_dump_complete): Remove declarations.
7274         (__gcov_reset, __gcov_dump): Don't call them.
7276 2014-07-24  DJ Delorie  <dj@redhat.com>
7278         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
7279         (__gcc_deregister_frame): Move logic to detect deregister function
7280         to ...
7281         (__gcc_register_frame): here, so it's consistent with the register
7282         logic.
7284 2014-07-23  Nathan Sidwell  <nathan@acm.org>
7286         * libgcov-driver.c (set_gcov_list): Remove.
7287         (gcov_list): Make non-static in GCOV_TOOL.
7288         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
7290 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
7292         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
7293         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
7294         Don't use SYNC_LOCK_RELEASE for int type.
7296 2014-07-14  Richard Biener  <rguenther@suse.de>
7298         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
7300 2014-07-11  Rong Xu  <xur@google.com>
7302         * libgcov-util.c (gcov_max_filename): Fix declartion.
7304 2014-07-10  Rong Xu  <xur@google.com>
7306         Add gcov-tool: an offline gcda profile processing tool
7307         Support.
7308         * libgcov-driver.c (gcov_max_filename): Make available
7309         to gcov-tool.
7310         * libgcov-merge.c (__gcov_merge_add): Replace
7311         gcov_read_counter() with a Macro.
7312         (__gcov_merge_ior): Ditto.
7313         (__gcov_merge_time_profile): Ditto.
7314         (__gcov_merge_single): Ditto.
7315         (__gcov_merge_delta): Ditto.
7316         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
7317         in the utility functions.
7318         (set_fn_ctrs): Utility function for reading gcda files to in-memory
7319         gcov_list object link lists.
7320         (tag_function): Ditto.
7321         (tag_blocks): Ditto.
7322         (tag_arcs): Ditto.
7323         (tag_lines): Ditto.
7324         (tag_counters): Ditto.
7325         (tag_summary): Ditto.
7326         (read_gcda_finalize): Ditto.
7327         (read_gcda_file): Ditto.
7328         (ftw_read_file): Ditto.
7329         (read_profile_dir_init): Ditto.
7330         (gcov_read_profile_dir): Ditto.
7331         (gcov_read_counter_mem): Ditto.
7332         (gcov_get_merge_weight): Ditto.
7333         (merge_wrapper): A wrapper function that calls merging handler.
7334         (gcov_merge): Merge two gcov_info objects with weights.
7335         (find_match_gcov_info): Find the matched gcov_info in the list.
7336         (gcov_profile_merge): Merge two gcov_info object lists.
7337         (__gcov_add_counter_op): Process edge profile counter values.
7338         (__gcov_ior_counter_op): Process IOR profile counter values.
7339         (__gcov_delta_counter_op): Process delta profile counter values.
7340         (__gcov_single_counter_op): Process single  profile counter values.
7341         (fp_scale): Callback function for float-point scaling.
7342         (int_scale): Callback function for integer fraction scaling.
7343         (gcov_profile_scale): Scaling profile counters.
7344         (gcov_profile_normalize): Normalize profile counters.
7345         * libgcov.h: Add headers and functions for gcov-tool use.
7346         (gcov_get_counter): New.
7347         (gcov_get_counter_target): Ditto.
7348         (struct gcov_info): Make the functions field mutable in gcov-tool
7349         compilation.
7351 2014-06-23  Kai Tietz  <ktietz@redhat.com>
7353         PR libgcc/61585
7354         * unwind-seh.c (_Unwind_GetGR): Check for proper
7355         index range.
7356         (_Unwind_SetGR): Likewise.
7358 2014-05-22  Nick Clifton  <nickc@redhat.com>
7360         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
7361         -mhwmult=none.
7363 2014-05-22  Teresa Johnson  <tejohnson@google.com>
7365         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
7366         include.
7368 2014-05-20  John Marino  <gnugcc@marino.st>
7370         * config.host (*-*-dragonfly*): New target.
7371         * crtstuff.c: Make dl_iterate_support generic on *bsd.
7372         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
7373         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
7374         * config/i386/dragonfly-unwind.h: New.
7376 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
7378         PR libgcc/60166
7379         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
7380         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
7382 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
7384         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
7385         implementation.
7387 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
7389         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
7391 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7393         PR libgcc/61097
7394         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
7395         if --enable-shared.
7397 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
7399         Work around for current cygwin32 build problems.
7400         * config/i386/cygming-crtbegin.c (__register_frame_info,
7401         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
7402         functions only for 64-bit systems.
7404 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7406         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
7407         (sigill_caught, sigill_hdlr): Remove.
7409 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7411         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
7412         check.
7413         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7414         Solaris 9 single-threaded support.
7415         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7416         Solaris 9 single-threaded support.  Add call_user_handler code
7417         sequences.
7418         (sparc_is_sighandler): Likewise.
7420 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7422         * config.host: Append t-floattodi to tmake_file depending on
7423         host_address.
7425 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
7427         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
7429 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
7431         PR libgcc/60472
7432         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
7433         variable to avoid "array subscript is above array bounds" warnings.
7434         Use __builtin_expect when checking *jcr_list for NULL.
7436 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7438         PR libgcc/59339
7439         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
7440         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
7441         vtv_*.o to extra_parts if enable_vtable_verify.
7443 2014-03-06  Nick Clifton  <nickc@redhat.com>
7445         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
7446         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
7448 2014-02-28  Joey Ye  <joey.ye@arm.com>
7450         PR libgcc/60166
7451         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
7452         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
7453         Set to zero.
7455 2014-02-24  Walter Lee  <walt@tilera.com>
7457         * config.host: Support "tilegx*" and "tilepro*" triplets.
7458         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
7459         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
7461 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
7462             Chung-Lin Tang  <cltang@codesourcery.com>
7464         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
7465         * config/nios2/crti.S: Remove .file directive.
7466         * config/nios2/crtn.S: Likewise.
7468 2014-02-18  Kai Tietz  <ktietz@redhat.com>
7469         Jonathan Schleifer  <js@webkeks.org>
7471         PR objc/56870
7472         * unwind-seh.c (_GCC_specific_handler): Pass proper
7473         value to unwind-handler.
7475 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
7477         * soft-fp/adddf3.c: Update from glibc.
7478         * soft-fp/addsf3.c: Likewise.
7479         * soft-fp/addtf3.c: Likewise.
7480         * soft-fp/divdf3.c: Likewise.
7481         * soft-fp/divsf3.c: Likewise.
7482         * soft-fp/divtf3.c: Likewise.
7483         * soft-fp/double.h: Likewise.
7484         * soft-fp/eqdf2.c: Likewise.
7485         * soft-fp/eqsf2.c: Likewise.
7486         * soft-fp/eqtf2.c: Likewise.
7487         * soft-fp/extenddftf2.c: Likewise.
7488         * soft-fp/extended.h: Likewise.
7489         * soft-fp/extendsfdf2.c: Likewise.
7490         * soft-fp/extendsftf2.c: Likewise.
7491         * soft-fp/extendxftf2.c: Likewise.
7492         * soft-fp/fixdfdi.c: Likewise.
7493         * soft-fp/fixdfsi.c: Likewise.
7494         * soft-fp/fixdfti.c: Likewise.
7495         * soft-fp/fixsfdi.c: Likewise.
7496         * soft-fp/fixsfsi.c: Likewise.
7497         * soft-fp/fixsfti.c: Likewise.
7498         * soft-fp/fixtfdi.c: Likewise.
7499         * soft-fp/fixtfsi.c: Likewise.
7500         * soft-fp/fixtfti.c: Likewise.
7501         * soft-fp/fixunsdfdi.c: Likewise.
7502         * soft-fp/fixunsdfsi.c: Likewise.
7503         * soft-fp/fixunsdfti.c: Likewise.
7504         * soft-fp/fixunssfdi.c: Likewise.
7505         * soft-fp/fixunssfsi.c: Likewise.
7506         * soft-fp/fixunssfti.c: Likewise.
7507         * soft-fp/fixunstfdi.c: Likewise.
7508         * soft-fp/fixunstfsi.c: Likewise.
7509         * soft-fp/fixunstfti.c: Likewise.
7510         * soft-fp/floatdidf.c: Likewise.
7511         * soft-fp/floatdisf.c: Likewise.
7512         * soft-fp/floatditf.c: Likewise.
7513         * soft-fp/floatsidf.c: Likewise.
7514         * soft-fp/floatsisf.c: Likewise.
7515         * soft-fp/floatsitf.c: Likewise.
7516         * soft-fp/floattidf.c: Likewise.
7517         * soft-fp/floattisf.c: Likewise.
7518         * soft-fp/floattitf.c: Likewise.
7519         * soft-fp/floatundidf.c: Likewise.
7520         * soft-fp/floatundisf.c: Likewise.
7521         * soft-fp/floatunditf.c: Likewise.
7522         * soft-fp/floatunsidf.c: Likewise.
7523         * soft-fp/floatunsisf.c: Likewise.
7524         * soft-fp/floatunsitf.c: Likewise.
7525         * soft-fp/floatuntidf.c: Likewise.
7526         * soft-fp/floatuntisf.c: Likewise.
7527         * soft-fp/floatuntitf.c: Likewise.
7528         * soft-fp/gedf2.c: Likewise.
7529         * soft-fp/gesf2.c: Likewise.
7530         * soft-fp/getf2.c: Likewise.
7531         * soft-fp/ledf2.c: Likewise.
7532         * soft-fp/lesf2.c: Likewise.
7533         * soft-fp/letf2.c: Likewise.
7534         * soft-fp/muldf3.c: Likewise.
7535         * soft-fp/mulsf3.c: Likewise.
7536         * soft-fp/multf3.c: Likewise.
7537         * soft-fp/negdf2.c: Likewise.
7538         * soft-fp/negsf2.c: Likewise.
7539         * soft-fp/negtf2.c: Likewise.
7540         * soft-fp/op-1.h: Likewise.
7541         * soft-fp/op-2.h: Likewise.
7542         * soft-fp/op-4.h: Likewise.
7543         * soft-fp/op-8.h: Likewise.
7544         * soft-fp/op-common.h: Likewise.
7545         * soft-fp/quad.h: Likewise.
7546         * soft-fp/single.h: Likewise.
7547         * soft-fp/soft-fp.h: Likewise.
7548         * soft-fp/subdf3.c: Likewise.
7549         * soft-fp/subsf3.c: Likewise.
7550         * soft-fp/subtf3.c: Likewise.
7551         * soft-fp/truncdfsf2.c: Likewise.
7552         * soft-fp/trunctfdf2.c: Likewise.
7553         * soft-fp/trunctfsf2.c: Likewise.
7554         * soft-fp/trunctfxf2.c: Likewise.
7555         * soft-fp/unorddf2.c: Likewise.
7556         * soft-fp/unordsf2.c: Likewise.
7557         * soft-fp/unordtf2.c: Likewise.
7558         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
7559         macro.
7560         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7561         Likewise.
7562         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7563         Likewise.
7564         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7565         Likewise.
7566         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7567         Likewise.
7568         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7569         Likewise.
7570         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7571         Likewise.
7572         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7573         Likewise.
7574         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7575         Likewise.
7576         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7577         Likewise.
7578         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7579         Likewise.
7580         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7581         Likewise.
7582         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7583         Likewise.
7584         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
7585         Likewise.
7586         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
7587         Likewise.
7588         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7589         Likewise.
7591 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7593         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
7594         cannot be represented.
7595         * config/s390/32/_fixsfdi.c: Likewise.
7596         * config/s390/32/_fixtfdi.c: Likewise.
7597         * config/s390/32/_fixunsdfdi.c: Likewise.
7598         * config/s390/32/_fixunssfdi.c: Likewise.
7599         * config/s390/32/_fixunstfdi.c: Likewise.
7601 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
7603         * configure.ac (libgcc_cv_mips_hard_float): New.
7604         * configure: Regenerate.
7605         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
7606         t-softfp-sfdf for hard-float targets.
7607         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
7608         (softfp_float_modes, softfp_int_modes, softfp_extensions)
7609         (softfp_truncations, softfp_exclude_libgcc2): New.
7610         * config/t-hardfp: New file.
7611         * config/t-hardfp-sfdf: Likewise.
7612         * config/hardfp.c: Likewise.
7614 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7616         * config.host: Include t-floattodi also for s390x.
7617         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
7618         * config/s390/32/_fixsfdi.c: Likewise.
7619         * config/s390/32/_fixtfdi.c: Likewise.
7620         * config/s390/32/_fixunsdfdi.c: Likewise.
7621         * config/s390/32/_fixunssfdi.c: Likewise.
7622         * config/s390/32/_fixunstfdi.c: Likewise.
7624 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7626         PR target/59788
7627         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
7628         (install-libgcc-unwind-map-forbuild): New target.
7629         (all): Depend on install-libgcc-unwind-map-forbuild.
7630         (install-libgcc-unwind-map): New target.
7631         (install): Depend on install-libgcc-unwind-map.
7633 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
7635         * config/nios2/crti.S (_init): Initialize GOT pointer from
7636         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
7638 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
7640         * configure.ac: Check __mips64 when setting host_address.
7641         * configure: Regenerate.
7642         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
7643         mips/t-mips64 and t-softfp.
7644         (mips*-*-linux*): Don't add mips/t-tpbit.
7645         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
7646         (DPBIT, DPBIT_CFLAGS): Delete.
7647         * config/mips/sfp-machine.h: New file.
7648         * config/mips/t-mips64: Likewise.
7649         * config/mips/t-softfp-tf: Likewise.
7650         * config/mips/t-tpbit: Delete.
7652 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7654         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
7655         as long long.
7657 2014-01-25  Walter Lee  <walt@tilera.com>
7659         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
7660         config.h or system.h.
7661         (bool) Define.
7663 2014-01-25  Walter Lee  <walt@tilera.com>
7665         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
7666         (post_atomic_barrier): Ditto.
7667         (__fetch_and_do): New macro.
7668         (__atomic_fetch_and_do): Use __fetch_and_do.
7669         (__sync_fetch_and_do): New macro.
7670         (__sync_fetch_and_add_4): New function.
7671         (__sync_fetch_and_sub_4): New function.
7672         (__sync_fetch_and_or_4): New function.
7673         (__sync_fetch_and_and_4): New function.
7674         (__sync_fetch_and_xor_4): New function.
7675         (__sync_fetch_and_nand_4): New function.
7676         (__sync_fetch_and_add_8): New function.
7677         (__sync_fetch_and_sub_8): New function.
7678         (__sync_fetch_and_or_8): New function.
7679         (__sync_fetch_and_and_8): New function.
7680         (__sync_fetch_and_xor_8): New function.
7681         (__sync_fetch_and_nand_8): New function.
7682         (__do_and_fetch): New macro.
7683         (__atomic_do_and_fetch): Use __do_and_fetch.
7684         (__sync_do_and_fetch): New macro.
7685         (__sync_add_and_fetch_4): New function.
7686         (__sync_sub_and_fetch_4): New function.
7687         (__sync_or_and_fetch_4): New function.
7688         (__sync_and_and_fetch_4): New function.
7689         (__sync_xor_and_fetch_4): New function.
7690         (__sync_nand_and_fetch_4): New function.
7691         (__sync_add_and_fetch_8): New function.
7692         (__sync_sub_and_fetch_8): New function.
7693         (__sync_or_and_fetch_8): New function.
7694         (__sync_and_and_fetch_8): New function.
7695         (__sync_xor_and_fetch_8): New function.
7696         (__sync_nand_and_fetch_8): New function.
7697         (__sync_exchange_methods): New macro.
7698         (__sync_val_compare_and_swap_4): New function.
7699         (__sync_bool_compare_and_swap_4): New function.
7700         (__sync_lock_test_and_test_4): New function.
7701         (__sync_val_compare_and_swap_8): New function.
7702         (__sync_bool_compare_and_swap_8): New function.
7703         (__sync_lock_test_and_test_8): New function.
7704         (__subword_cmpxchg_body): New macro.
7705         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
7706         (__atomic_compare_exchange_2): Ditto.
7707         (__sync_subword_cmpxchg): New macro.
7708         (__sync_val_compare_and_swap_1): New function.
7709         (__sync_bool_compare_and_swap_1): New function.
7710         (__sync_val_compare_and_swap_2): New function.
7711         (__sync_bool_compare_and_swap_2): New function.
7712         (__atomic_subword): Rename to ...
7713         (__subword): ... New name.
7714         (__atomic_subword_fetch): Use __subword.
7715         (__sync_subword_fetch): New macro.
7716         (__sync_fetch_and_add_1): New function.
7717         (__sync_fetch_and_sub_1): New function.
7718         (__sync_fetch_and_or_1): New function.
7719         (__sync_fetch_and_and_1): New function.
7720         (__sync_fetch_and_xor_1): New function.
7721         (__sync_fetch_and_nand_1): New function.
7722         (__sync_fetch_and_add_2): New function.
7723         (__sync_fetch_and_sub_2): New function.
7724         (__sync_fetch_and_or_2): New function.
7725         (__sync_fetch_and_and_2): New function.
7726         (__sync_fetch_and_xor_2): New function.
7727         (__sync_fetch_and_nand_2): New function.
7728         (__sync_add_and_fetch_1): New function.
7729         (__sync_sub_and_fetch_1): New function.
7730         (__sync_or_and_fetch_1): New function.
7731         (__sync_and_and_fetch_1): New function.
7732         (__sync_xor_and_fetch_1): New function.
7733         (__sync_nand_and_fetch_1): New function.
7734         (__sync_add_and_fetch_2): New function.
7735         (__sync_sub_and_fetch_2): New function.
7736         (__sync_or_and_fetch_2): New function.
7737         (__sync_and_and_fetch_2): New function.
7738         (__sync_xor_and_fetch_2): New function.
7739         (__sync_nand_and_fetch_2): New function.
7740         (__atomic_subword_lock): Use __subword.
7741         (__sync_subword_lock): New macro.
7742         (__sync_lock_test_and_set_1): New function.
7743         (__sync_lock_test_and_set_2): New function.
7745 2014-01-25  Walter Lee  <walt@tilera.com>
7747         * config/tilepro/atomic.c (BIT_OFFSET): Define.
7748         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
7749         (__atomic_subword): Ditto.
7751 2014-01-25  Walter Lee  <walt@tilera.com>
7753         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
7754         a prefix op argument.
7755         (__atomic_nand_fetch_4): Add prefix op.
7756         (__atomic_nand_fetch_8): Ditto.
7758 2014-01-21  Baruch Siach  <barch@tkos.co.il>
7760         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
7762 2014-01-09  Rong Xu  <xur@google.com>
7764         * libgcov-driver.c (this_prg): make it local to save
7765         bss space.
7766         (gcov_exit_compute_summary): Ditto.
7767         (gcov_exit_merge_gcda): Ditto.
7768         (gcov_exit_merge_summary): Ditto.
7769         (gcov_exit_dump_gcov): Ditto.
7771 2014-01-08  Rong Xu  <xur@google.com>
7773         * libgcov-driver.c: Use libgcov.h.
7774         (buffer_fn_data): Use xmalloc instead of malloc.
7775         (gcov_exit_merge_gcda): Ditto.
7776         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
7777         * libgcov.h: New common header files for libgcov-*.h.
7778         * libgcov-interface.c: Use libgcov.h
7779         * libgcov-merge.c: Ditto.
7780         * libgcov-profiler.c: Ditto.
7781         * Makefile.in: Add dependence to libgcov.h
7783 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
7785         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
7786         case of small numerator and finite nonzero result.
7788 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
7790         Update copyright years
7792 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
7794         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
7795         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
7796         config/arc/dp-hack.h, config/arc/fp-hack.h,
7797         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
7798         config/arc/ieee-754/arc600-dsp/divdf3.S,
7799         config/arc/ieee-754/arc600-dsp/divsf3.S,
7800         config/arc/ieee-754/arc600-dsp/muldf3.S,
7801         config/arc/ieee-754/arc600-dsp/mulsf3.S,
7802         config/arc/ieee-754/arc600-mul64/divdf3.S,
7803         config/arc/ieee-754/arc600-mul64/divsf3.S,
7804         config/arc/ieee-754/arc600-mul64/muldf3.S,
7805         config/arc/ieee-754/arc600-mul64/mulsf3.S,
7806         config/arc/ieee-754/arc600/divsf3.S,
7807         config/arc/ieee-754/arc600/mulsf3.S,
7808         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
7809         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
7810         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
7811         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
7812         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
7813         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
7814         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
7815         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
7816         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
7817         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
7818         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
7819         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
7820         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
7821         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
7822         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
7823         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
7824         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
7825         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
7826         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
7827         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
7828         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
7829         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
7830         vtv_start_preinit.c: Use the standard form for the copyright notice.
7832 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
7833             Chung-Lin Tang  <cltang@codesourcery.com>
7834         Based on patches from Altera Corporation
7836         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
7837         * config/nios2/lib2-nios2.h: New file.
7838         * config/nios2/lib2-divmod-hi.c: New file.
7839         * config/nios2/linux-unwind.h: New file.
7840         * config/nios2/lib2-divmod.c: New file.
7841         * config/nios2/linux-atomic.c: New file.
7842         * config/nios2/t-nios2: New file.
7843         * config/nios2/crti.asm: New file.
7844         * config/nios2/t-linux: New file.
7845         * config/nios2/lib2-divtable.c: New file.
7846         * config/nios2/lib2-mul.c: New file.
7847         * config/nios2/tramp.c: New file.
7848         * config/nios2/crtn.asm: New file.
7850 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
7852         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
7853         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
7854         from cpuid.h to check vendor signatures.
7856 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
7858         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
7859         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
7860         (get_amd_cpu): Likewise.
7862 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
7864         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
7865         Haswell.
7867 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
7868             H.J. Lu  <hongjiu.lu@intel.com>
7870         PR target/59422
7871         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
7872         and AMD_JAGUAR.
7873         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
7874         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
7875         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
7876         FEATURE_XOP and FEATURE_FMA.
7877         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
7878         AMDFAM15H_BDVER3.
7879         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
7880         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
7881         FEATURE_FMA4 and FEATURE_XOP.
7883 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
7885         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
7886         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
7887         (get_intel_cpu): Updated.
7889 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
7891         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
7893 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
7895         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7896         instructions when __SSE_MATH__ is defined.
7898 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
7900         * config.host (microblaze-*-rtems*): New.
7902 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
7904         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
7905         architectures that do not have hardware divide instruction.
7906         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
7908 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
7910         * longlong.h: Delete (moved to include/).
7912 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7914         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
7915         of normal number and qNaN to not raise an inexact exception.
7917 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
7919         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
7921 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
7923         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
7924         for correct opcodes on BE.
7926 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
7928         * soft-fp/op-4.h: Update from glibc.
7930 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
7932         * libgcc2.c (__udivmoddi4): Define new implementation when
7933         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
7934         divide instructions.
7936 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
7938         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
7940 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7942         * config/t-softfp (soft-fp-objects-base): New variable.
7943         (soft-fp-objects): Use it.
7945 2013-11-23  David Edelson  <dje.gcc@gmail.com>
7946             Andrew Dixie  <andrewd@gentrack.com>
7948         PR target/33704
7949         * config/rs6000/aixinitfini.c: New file.
7950         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
7951         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
7952         symbols.
7954 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
7956         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
7958 2013-11-18  Jan Hubicka  <jh@suse.cz>
7960         * libgcov-driver.c (run_accounted): Make global level static.
7961         (gcov_exit_merge_summary): Silence warning; do not clear
7962         run_accounted here.
7963         (gcov_exit): Clear it here.
7965         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
7966         run_accounted.
7968         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
7969         (all_prg, crc32): Remove static vars.
7970         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
7971         all_prg.
7972         (gcov_exit_merge_gcda): Add crc32 parameter.
7973         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
7974         do not account run if it was already accounted.
7975         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
7976         (gcov_exit): Initialize all_prg; update.
7978 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
7980         * configure: Regenerate.
7982 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7983             Alan Modra  <amodra@gmail.com>
7985         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
7986         (frob_update_context): Use it.
7988 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7989             Alan Modra  <amodra@gmail.com>
7991         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
7992         (trampoline_initial): Provide ELFv2 variant.
7993         (__trampoline_setup): Likewise.
7995         * config/rs6000/linux-unwind.h (frob_update_context): Do not
7996         check for AIX indirect function call sequence if _CALL_ELF == 2.
7998 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7999             Alan Modra  <amodra@gmail.com>
8001         * config/rs6000/linux-unwind.h (get_regs): Do not support
8002         old kernel versions if _CALL_ELF == 2.
8003         (frob_update_context): Do not support PLT stub variants only
8004         generated by old linkers if _CALL_ELF == 2.
8006 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8007             Alan Modra  <amodra@gmail.com>
8009         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
8010         location of CR save area for 64-bit little-endian systems.
8012 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
8014         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
8015         in tmake_file.
8016         * config/arm/t-vxworks: Delete.
8018 2013-11-10  Kai Tietz  <ktietz@redhat.com>
8020         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
8021         Increment load-count on use of LIBGCC_SONAME DLL.
8022         (hmod_libgcc): New static variable to hold handle of
8023         LIBGCC_SONAME DLL.
8024         (__gcc_deregister_frame): Decrement load-count of
8025         LIBGCC_SONAME DLL.
8027 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
8029         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
8030         availability.
8031         * configure: Regenerate
8033 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
8035         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
8036         FP_EX_DENORM.  Store result to volatile location after SSE division
8037         to close interrupt window.  Remove unneeded fwait after x87
8038         division since interrupt window will be closed by emitted fstp.
8039         Rewrite FP_EX_INEXACT handling.
8041 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
8043         * soft-fp/README: Update.
8044         * soft-fp/adddf3.c: Update from glibc.
8045         * soft-fp/addsf3.c: Likewise.
8046         * soft-fp/addtf3.c: Likewise.
8047         * soft-fp/divdf3.c: Likewise.
8048         * soft-fp/divsf3.c: Likewise.
8049         * soft-fp/divtf3.c: Likewise.
8050         * soft-fp/double.h: Likewise.
8051         * soft-fp/eqdf2.c: Likewise.
8052         * soft-fp/eqsf2.c: Likewise.
8053         * soft-fp/eqtf2.c: Likewise.
8054         * soft-fp/extenddftf2.c: Likewise.
8055         * soft-fp/extended.h: Likewise.
8056         * soft-fp/extendsfdf2.c: Likewise.
8057         * soft-fp/extendsftf2.c: Likewise.
8058         * soft-fp/extendxftf2.c: Likewise.
8059         * soft-fp/fixdfdi.c: Likewise.
8060         * soft-fp/fixdfsi.c: Likewise.
8061         * soft-fp/fixdfti.c: Likewise.
8062         * soft-fp/fixsfdi.c: Likewise.
8063         * soft-fp/fixsfsi.c: Likewise.
8064         * soft-fp/fixsfti.c: Likewise.
8065         * soft-fp/fixtfdi.c: Likewise.
8066         * soft-fp/fixtfsi.c: Likewise.
8067         * soft-fp/fixtfti.c: Likewise.
8068         * soft-fp/fixunsdfdi.c: Likewise.
8069         * soft-fp/fixunsdfsi.c: Likewise.
8070         * soft-fp/fixunsdfti.c: Likewise.
8071         * soft-fp/fixunssfdi.c: Likewise.
8072         * soft-fp/fixunssfsi.c: Likewise.
8073         * soft-fp/fixunssfti.c: Likewise.
8074         * soft-fp/fixunstfdi.c: Likewise.
8075         * soft-fp/fixunstfsi.c: Likewise.
8076         * soft-fp/fixunstfti.c: Likewise.
8077         * soft-fp/floatdidf.c: Likewise.
8078         * soft-fp/floatdisf.c: Likewise.
8079         * soft-fp/floatditf.c: Likewise.
8080         * soft-fp/floatsidf.c: Likewise.
8081         * soft-fp/floatsisf.c: Likewise.
8082         * soft-fp/floatsitf.c: Likewise.
8083         * soft-fp/floattidf.c: Likewise.
8084         * soft-fp/floattisf.c: Likewise.
8085         * soft-fp/floattitf.c: Likewise.
8086         * soft-fp/floatundidf.c: Likewise.
8087         * soft-fp/floatundisf.c: Likewise.
8088         * soft-fp/floatunditf.c: Likewise.
8089         * soft-fp/floatunsidf.c: Likewise.
8090         * soft-fp/floatunsisf.c: Likewise.
8091         * soft-fp/floatunsitf.c: Likewise.
8092         * soft-fp/floatuntidf.c: Likewise.
8093         * soft-fp/floatuntisf.c: Likewise.
8094         * soft-fp/floatuntitf.c: Likewise.
8095         * soft-fp/gedf2.c: Likewise.
8096         * soft-fp/gesf2.c: Likewise.
8097         * soft-fp/getf2.c: Likewise.
8098         * soft-fp/ledf2.c: Likewise.
8099         * soft-fp/lesf2.c: Likewise.
8100         * soft-fp/letf2.c: Likewise.
8101         * soft-fp/muldf3.c: Likewise.
8102         * soft-fp/mulsf3.c: Likewise.
8103         * soft-fp/multf3.c: Likewise.
8104         * soft-fp/negdf2.c: Likewise.
8105         * soft-fp/negsf2.c: Likewise.
8106         * soft-fp/negtf2.c: Likewise.
8107         * soft-fp/op-1.h: Likewise.
8108         * soft-fp/op-2.h: Likewise.
8109         * soft-fp/op-4.h: Likewise.
8110         * soft-fp/op-8.h: Likewise.
8111         * soft-fp/op-common.h: Likewise.
8112         * soft-fp/quad.h: Likewise.
8113         * soft-fp/single.h: Likewise.
8114         * soft-fp/soft-fp.h: Likewise.
8115         * soft-fp/subdf3.c: Likewise.
8116         * soft-fp/subsf3.c: Likewise.
8117         * soft-fp/subtf3.c: Likewise.
8118         * soft-fp/truncdfsf2.c: Likewise.
8119         * soft-fp/trunctfdf2.c: Likewise.
8120         * soft-fp/trunctfsf2.c: Likewise.
8121         * soft-fp/trunctfxf2.c: Likewise.
8122         * soft-fp/unorddf2.c: Likewise.
8123         * soft-fp/unordsf2.c: Likewise.
8124         * soft-fp/unordtf2.c: Likewise.
8126 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
8128         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
8129         (_FP_MUL_MEAT_D): Ditto.
8130         (_FP_DIV_MEAT_S): Ditto.
8131         (_FP_DIV_MEAT_D): Ditto.
8132         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
8133         t-softfp-sfdf and t-softfp to tmake_file.
8135 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
8137         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
8138         * config/i386/crtprec.c: Ditto.
8140 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
8141             Shiva Chen  <shiva0217@gmail.com>
8143         * config.host (nds32*-elf*): Add nds32 target.
8144         * config/nds32 : New directory and files.
8146 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
8148         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
8149         * config.host (cpu_type) <Setting default>: Add entry for
8150         crisv32-*-*.
8151         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
8152         <crisv32-*-linux*>: Adjust.
8153         * longlong.h: Wrap the whole CRIS section in a single
8154         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
8155         and sub_ddmmss.
8156         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
8157         defined.
8158         [__CRIS__] (__umulsidi3): Define.
8159         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
8160         * config/cris/sfp-machine.h: New file.
8161         * config/cris/umulsidi3.S: New file.
8162         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
8163         * config/cris/arit.c (SIGNMULT): New macro.
8164         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
8165         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
8166         saving 3 out of originally 33 cycles from the fastest
8167         path, 3 out of 54 from the medium path and one from the longest
8168         path.  Improve comments.
8170 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
8172         * sync.c: Remove static aliases and define each function directly
8173         under its real name.
8175 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
8177         * config.host (hppa*64*-*-linux*): Define extra_parts.
8178         (hppa*-*-linux*): Likewise.
8180 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
8182         * config/arc/crtgend.S: Add 2013 to Copyright years.
8183         * config/arc/gmon/atomic.h: Likewise.
8184         * config/arc/gmon/auxreg.h: Likewise.
8185         * config/arc/gmon/sys/gmon_out.h: Likewise.
8186         * config/arc/gmon/sys/gmon.h: Likewise.
8187         * config/arc/gmon/prof-freq.c: Likewise.
8188         * config/arc/gmon/mcount.c: Likewise.
8189         * config/arc/gmon/prof-freq-stub.S: Likewise.
8190         * config/arc/gmon/gmon.c: Likewise.
8191         * config/arc/gmon/machine-gmon.h: Likewise.
8192         * config/arc/gmon/profil.S: Likewise.
8193         * config/arc/gmon/dcache_linesz.S: Likewise.
8194         * config/arc/crtg.S: Likewise.
8195         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
8196         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
8197         * config/arc/ieee-754/adddf3.S: Likewise.
8198         * config/arc/ieee-754/truncdfsf2.S: Likewise.
8199         * config/arc/ieee-754/fixsfsi.S: Likewise.
8200         * config/arc/ieee-754/gtsf2.S: Likewise.
8201         * config/arc/ieee-754/floatsisf.S: Likewise.
8202         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
8203         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
8204         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
8205         * config/arc/ieee-754/fixdfsi.S: Likewise.
8206         * config/arc/ieee-754/addsf3.S: Likewise.
8207         * config/arc/ieee-754/gesf2.S: Likewise.
8208         * config/arc/ieee-754/floatsidf.S: Likewise.
8209         * config/arc/ieee-754/extendsfdf2.S: Likewise.
8210         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
8211         * config/arc/ieee-754/gtdf2.S: Likewise.
8212         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
8213         * config/arc/ieee-754/uneqdf2.S: Likewise.
8214         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
8215         * config/arc/ieee-754/uneqsf2.S: Likewise.
8216         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
8217         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
8218         * config/arc/ieee-754/eqdf2.S: Likewise.
8219         * config/arc/ieee-754/ordsf2.S: Likewise.
8220         * config/arc/ieee-754/divsf3.S: Likewise.
8221         * config/arc/ieee-754/divdf3.S: Likewise.
8222         * config/arc/ieee-754/floatunsidf.S: Likewise.
8223         * config/arc/ieee-754/orddf2.S: Likewise.
8224         * config/arc/ieee-754/eqsf2.S: Likewise.
8225         * config/arc/ieee-754/gedf2.S: Likewise.
8226         * config/arc/crtn.S: Likewise.
8227         * config/arc/crti.S: Likewise.
8228         * config/arc/t-arc700-uClibc: Likewise.
8229         * config/arc/asm.h: Likewise.
8230         * config/arc/libgcc-excl.ver: Likewise.
8231         * config/arc/t-arc-newlib: Likewise.
8232         * config/arc/divtab-arc700.c: Likewise.
8233         * config/arc/initfini.c: Likewise.
8234         * config/arc/fp-hack.h: Likewise.
8236 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
8237             Diego Novillo  <dnovillo@google.com>
8239         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
8240         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
8241         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
8242         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
8244 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
8245             Brendan Kehoe  <brendan@zen.org>
8246             Simon Cook  <simon.cook@embecosm.com>
8248         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
8249         * config/arc: New directory.
8250         * longlong.h [__arc__] (umul_ppmm): Remove.
8251         [__arc__] (__umulsidi3): Define.
8252         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
8253         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
8255 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
8257         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
8258         CreateSemaphoreA.
8259         * config/i386/gthr-win32.h: Likewise.
8261 2013-09-16  DJ Delorie  <dj@redhat.com>
8263         * config/rl78/vregs.h: Add G10 register definitions.
8264         * config/rl78/lib2mul.c: Enable for RL78/G10.
8265         * config/rl78/lib2div.c: Likewise.
8266         * config/rl78/lshrsi3.S: Use vregs.h.
8267         * config/rl78/cmpsi2.S: Likewise.
8268         * config/rl78/trampoline.S: Likewise.
8269         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
8271 2013-09-14  DJ Delorie  <dj@redhat.com>
8272             Nick Clifton  <nickc@redhat.com>
8274         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
8275         * config/rl78/vregs.h: New.
8276         * config/rl78/signbit.S: New file.  Implements signbit function.
8277         * config/rl78/divmodsi.S: New.
8278         * config/rl78/divmodhi.S: New.
8279         * config/rl78/divmodqi.S: New.
8280         * config/rl78/t-rl78: Build them here...
8281         * config/rl78/lib2div.c: ...but not here.
8283 2013-09-12  DJ Delorie  <dj@redhat.com>
8285         * config.host (msp*-*-elf): New.
8286         * config/msp430/: New port.
8288 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
8290         PR gcov-profile/58127
8291         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
8292         __thread var for emulated TLS.
8293         (__gcov_indirect_call_counters): Likewise.
8295 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
8296             Catherine Moore  <clm@codesourcery.com>
8297             Richard Sandiford  <rdsandiford@googlemail.com>
8299         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
8300         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
8301         (CALL_STUB_NO_RET): Likewise.
8302         (CALL_STUB_RET): Likewise.
8303         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
8304         __mips16_ret call/return stub symbols.
8305         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
8306         to tmake_file.
8308 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
8310         * config.host <mips*-*-linux*>: Remove a stray comment.
8312 2013-08-10  Jan Hubicka  <jh@suse.cz>
8314         Work around binutils PR14342
8315         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
8316         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
8317         (L_gcov_indirect_call_profiler_v2): New.
8319 2013-08-06  Jan Hubicka  <jh@suse.cz>
8321         * libgcov.c (__gcov_indirect_call_callee,
8322         __gcov_indirect_call_counters): New global vars.
8323         (__gcov_indirect_call_profiler): replace by ...
8324         (__gcov_indirect_call_profiler_v2) ... this one.
8326 2013-08-06  Caroline Tice  <cmtice@google.com>
8328         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
8329         vtv_start_preinit.o and vtv_end_preinit.o.
8330         * configure.ac: Add code to check/set enable_vtable_verify.
8331         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
8332         true.
8333         * vtv_start_preinit.c: New file.
8334         * vtv_end_preinit.c: New file.
8335         * vtv_start.c: New file.
8336         * vtv_end.c: New file.
8337         * configure: Regenerated.
8339 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
8341         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
8342         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
8343         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
8344         GPL-3.0-with-GCC-exception.
8346 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
8348         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
8349         ISA and up.
8351 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8353         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
8354         mapping for FPRs when creating the fallback framestate.
8356 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
8358         PR target/57516
8359         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
8360         (__round_s2_const, __round_u2_const)
8361         (__round_s4_const, __round_u4_const, __round_x8):
8362         Saturate result if addition result cannot be represented.
8364 2013-07-15  Matthias Klose  <doko@ubuntu.com>
8366         * libgcc2.c: Don't include <limits.h>.
8368 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
8370         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
8372 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
8374         PR target/29776
8375         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
8377 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
8379         PR middle-end/36041
8380         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
8381         Define.
8382         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
8383         instead of table lookups.
8384         (__popcountDI2): Likewise.
8386 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
8388         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
8389         correctly.
8391 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
8393         PR other/53317
8394         * soft-fp/adddf3.c: Update from glibc.
8395         * soft-fp/addsf3.c: Likewise.
8396         * soft-fp/addtf3.c: Likewise.
8397         * soft-fp/divdf3.c: Likewise.
8398         * soft-fp/divsf3.c: Likewise.
8399         * soft-fp/divtf3.c: Likewise.
8400         * soft-fp/double.h: Likewise.
8401         * soft-fp/eqdf2.c: Likewise.
8402         * soft-fp/eqsf2.c: Likewise.
8403         * soft-fp/eqtf2.c: Likewise.
8404         * soft-fp/extenddftf2.c: Likewise.
8405         * soft-fp/extended.h: Likewise.
8406         * soft-fp/extendsfdf2.c: Likewise.
8407         * soft-fp/extendsftf2.c: Likewise.
8408         * soft-fp/fixdfdi.c: Likewise.
8409         * soft-fp/fixdfsi.c: Likewise.
8410         * soft-fp/fixsfdi.c: Likewise.
8411         * soft-fp/fixsfsi.c: Likewise.
8412         * soft-fp/fixtfdi.c: Likewise.
8413         * soft-fp/fixtfsi.c: Likewise.
8414         * soft-fp/fixunsdfdi.c: Likewise.
8415         * soft-fp/fixunsdfsi.c: Likewise.
8416         * soft-fp/fixunssfdi.c: Likewise.
8417         * soft-fp/fixunssfsi.c: Likewise.
8418         * soft-fp/fixunstfdi.c: Likewise.
8419         * soft-fp/fixunstfsi.c: Likewise.
8420         * soft-fp/floatdidf.c: Likewise.
8421         * soft-fp/floatdisf.c: Likewise.
8422         * soft-fp/floatditf.c: Likewise.
8423         * soft-fp/floatsidf.c: Likewise.
8424         * soft-fp/floatsisf.c: Likewise.
8425         * soft-fp/floatsitf.c: Likewise.
8426         * soft-fp/floatundidf.c: Likewise.
8427         * soft-fp/floatundisf.c: Likewise.
8428         * soft-fp/floatunditf.c: Likewise.
8429         * soft-fp/floatunsidf.c: Likewise.
8430         * soft-fp/floatunsisf.c: Likewise.
8431         * soft-fp/floatunsitf.c: Likewise.
8432         * soft-fp/gedf2.c: Likewise.
8433         * soft-fp/gesf2.c: Likewise.
8434         * soft-fp/getf2.c: Likewise.
8435         * soft-fp/ledf2.c: Likewise.
8436         * soft-fp/lesf2.c: Likewise.
8437         * soft-fp/letf2.c: Likewise.
8438         * soft-fp/muldf3.c: Likewise.
8439         * soft-fp/mulsf3.c: Likewise.
8440         * soft-fp/multf3.c: Likewise.
8441         * soft-fp/negdf2.c: Likewise.
8442         * soft-fp/negsf2.c: Likewise.
8443         * soft-fp/negtf2.c: Likewise.
8444         * soft-fp/op-1.h: Likewise.
8445         * soft-fp/op-2.h: Likewise.
8446         * soft-fp/op-4.h: Likewise.
8447         * soft-fp/op-8.h: Likewise.
8448         * soft-fp/op-common.h: Likewise.
8449         * soft-fp/quad.h: Likewise.
8450         * soft-fp/single.h: Likewise.
8451         * soft-fp/soft-fp.h: Likewise.
8452         * soft-fp/subdf3.c: Likewise.
8453         * soft-fp/subsf3.c: Likewise.
8454         * soft-fp/subtf3.c: Likewise.
8455         * soft-fp/truncdfsf2.c: Likewise.
8456         * soft-fp/trunctfdf2.c: Likewise.
8457         * soft-fp/trunctfsf2.c: Likewise.
8458         * soft-fp/unorddf2.c: Likewise.
8459         * soft-fp/unordsf2.c: Likewise.
8460         * soft-fp/unordtf2.c: Likewise.
8461         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
8462         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8463         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8464         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8465         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8466         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8467         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8468         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8469         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8470         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
8471         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
8472         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8474 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
8476         * config/mips/lib2funcs.c: New file.
8477         * config/mips/t-mips (LIB2ADD_ST): Add it.
8479 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
8481         PR target/6526
8482         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
8483         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
8485 2013-06-08  Walter Lee  <walt@tilera.com>
8487         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
8488         Replace int64_t with long long.  Add __extension__ where
8489         appropriate.
8490         * config/tilepro/atomic.c: Include config.h.
8492 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
8494         * config.host (arm-wrs-vxworks): Configure with other soft float.
8496 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
8498         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
8499         (mips64r5900el-*-elf*): New configurations.
8501 2013-06-04  Alan Modra  <amodra@gmail.com>
8503         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
8505 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
8507         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
8509 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
8511         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
8512         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
8513         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
8515 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
8517         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
8518         (powerpc-wrs-vxworks): Likewise.
8520 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
8522         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
8523         signal frames as well.
8524         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
8525         STACK_BIAS to the CFA offset.
8527 2013-05-17  Richard Henderson  <rth@redhat.com>
8529         PR target/49146
8530         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
8531         (execute_cfa_program): Use it when storing to fs->regs.
8533 2013-05-08  Kai Tietz  <ktietz@redhat.com>
8535         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
8536         (__deregister_frame_info): Likewise.
8538 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
8540         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
8541         NaN's payload.
8543         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
8545 2013-04-25  Alan Modra  <amodra@gmail.com>
8547         * config.host: Match little-endian powerpc-linux.
8549 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
8551         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
8552         as 'unsigned long long' instead of 'unsigned long'.
8553         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
8554         'signed long'.
8556 2013-04-10  Julian Brown  <julian@codesourcery.com>
8558         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
8559         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
8560         unsigned char/unsigned short.
8561         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
8563 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8565         PR other/55274
8566         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
8568 2013-04-04  Meador Inge  <meadori@codesourcery.com>
8570         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
8571         computing the location of the link register.
8572         (aeabi_uldivmod): Ditto.
8574 2013-03-27  Kai Tietz  <ktietz@redhat.com>
8576         * config.host: Add support for cygwin x64 target.
8577         * configure: Regenerated.
8579 2013-03-26  Walter Lee  <walt@tilera.com>
8581         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
8582         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
8584 2013-03-25  Kai Tietz  <ktietz@redhat.com>
8586         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
8588 2013-03-20  Robert Mason  <rbmj@verizon.net>
8590         * config/vxlib-tls.c (__gthread_get_tsd_data,)
8591         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
8592         (__gthread_leave_tsd_dtor_context): Add prototypes.
8593         (tls_delete_hook): Update.
8595 2013-03-20  Catherine Moore  <clm@codesourcery.com>
8596             Joseph Myers  <joseph@codesourcery.com>
8597             Chao-ying Fu  <fu@mips.com>
8599         * config/mips/mips16.S:  Don't build for microMIPS.
8600         * config/mips/linux-unwind.h: Handle microMIPS frame.
8601         * config/mips/crtn.S (fini, init): New labels.
8603 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
8605         PR tree-optimization/53265
8606         * unwind-dw2.c (execute_cfa_program): Avoid
8607         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
8608         on targets with DWARF_FRAME_REGISTERS < 32.
8610 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
8612         PR target/49880
8613         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
8614         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
8616 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
8618         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
8619         sandybridge processors.
8621 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
8623         PR target/56529
8624         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
8625         inclusion list.
8627 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
8629         * config/microblaze/crti.S: Setup stack protection at entry
8631 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
8633         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
8634         (__rotldi3): Shift bytewise if applicable.
8636 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
8638         * config/aarch64/sync-cache.c
8639         (__aarch64_sync_cache_range): Silence warnings.
8641 2013-02-25  Catherine Moore  <clm@codesourcery.com>
8643         Revert:
8644         2013-02-24  Catherine Moore  <clm@codesourcery.com>
8645             Joseph Myers  <joseph@codesourcery.com>
8646             Chao-ying Fu  <fu@mips.com>
8648         * config/mips/mips16.S:  Don't build for microMIPS.
8649         * config/mips/linux-unwind.h: Handle microMIPS frame.
8650         * config/mips/crtn.S (fini, init): New labels.
8652 2013-02-24  Catherine Moore  <clm@codesourcery.com>
8653             Joseph Myers  <joseph@codesourcery.com>
8654             Chao-ying Fu  <fu@mips.com>
8656         * config/mips/mips16.S:  Don't build for microMIPS.
8657         * config/mips/linux-unwind.h: Handle microMIPS frame.
8658         * config/mips/crtn.S (fini, init): New labels.
8660 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
8661         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
8662         as dividend.
8664 2013-02-16  Alan Modra  <amodra@gmail.com>
8666         PR target/55431
8667         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
8668         (ppc_fallback_frame_state): Always set up save locations for fp
8669         and altivec.  Don't bother with non-callee-saved regs, r0-r13
8670         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
8672 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
8674         PR target/54222
8675         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
8676         _ssmulHA, _ssmulSA.
8677         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
8678         _ssmulha3, _usmulusa3, _ssmulsa3.
8679         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
8680         (__muldi3): XCALL __muldi3_6 instead of rcall.
8681         (__umulsidi3, __mulsidi3): New functions.
8682         (do_prologue_saves, do_epilogue_restores): New .macros.
8683         (__divdi3_moddi3): Use them.
8684         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
8685         (__usmulusa3, __ssmulsa3): New functions.
8687 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
8688             Jack Howarth  <howarth@bromo.med.uc.edu>
8689             Patrick Marlier  <patrick.marlier@gmail.com>
8691         PR libitm/55693
8692         * config/darwin-crt-tm.c: Remove dummy functions hack.
8694 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
8696         PR target/54222
8697         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
8698         * config/avr/lib2-object.mk: New iterator to build objects from it.
8699         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
8700         lib2funcs.c.
8701         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
8702         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
8703         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
8704         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
8705         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
8706         * config/avr/lib1funcs-fixed.S: Implement them.
8708 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
8710         Update copyright years.
8712 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
8714         PR target/54601
8715         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
8716         Add crtcxa to extra_parts.
8717         * config/rs6000/exit.h: New file.
8718         * config/rs6000/cxa_atexit.c: New file.
8719         * config/rs6000/cxa_finalize.c: New file.
8720         * config/rs6000/crtcxa.c: New file.
8721         * config/rs6000/t-aix-cxa: New file.
8722         * config/rs6000/libgcc-aix-cxa.ver: New file.
8724 2013-01-31  Nick Clifton  <nickc@redhat.com>
8726         * config/v850/lib1funcs.S: Add support for e3v5 architecture
8727         variant.
8729 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
8731         PR target/54222
8732         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
8733         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
8734         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
8735         _divQQ,  _divHQ,  _divHA,  _divSA,
8736         _divUQQ, _divUHQ, _divUHA, _divUSA.
8738 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
8740         * config.host(microblaze*-linux*): tmake_file: Remove
8741         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
8742         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
8743         to exclude functions from being built with libgcc.c and use
8744         the microblaze assembly.
8746 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
8748         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
8749         extra_parts.
8751 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
8753         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
8754         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
8755         __UINTPTR_TYPE__; also cast 'base' to the same type before the
8756         alignment operation.
8758 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
8760         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
8761         loop start address for cache clearing.
8763 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
8765         * config/avr/lib1funcs.S: Remove trailing blanks.
8766         * config/avr/lib1funcs-fixed.S: Ditto.
8768 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
8770         * config/avr/avr-lib.h: Add GPL copyright notice.
8772 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
8774         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
8775         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
8776         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
8777         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
8779 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
8781         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
8782         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
8784 2013-01-04  Nick Clifton  <nickc@redhat.com>
8786         * config/v850/lib1funcs.S: Only provide CALLT support functions if
8787         the CALLT instruction is supported.
8789 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
8791         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
8792         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
8794 2012-12-13  John Tytgat  <John@bass-software.com>
8796         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
8797         is 25.
8799 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
8801         PR libgcc/55451
8802         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
8803         undefined signed overflows.
8805 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
8807         PR target/55344
8808         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
8810 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
8812         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
8813         (FP_TRAPPING_EXCEPTIONS): Define.
8814         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
8815         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
8817 2012-12-04  Richard Henderson  <rth@redhat.com>
8819         PR bootstrap/55571
8820         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
8822 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8824         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
8825         (FP_EX_SHIFT): Define.
8826         (FP_TRAPPING_EXCEPTIONS): Define.
8828 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8830         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
8831         (FP_ROUNDMODE): Use FP_RND_MASK.
8832         * config/aarch64/sfp-exceptions.c: New.
8833         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8834         Use __sfp_handle_exceptions.
8836 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
8838         * config.host: (arm*-*-freebsd*): Remove.
8839         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
8840         (arm*-*-elf*): Remove.
8841         (arm*-*-wince-pe*): Remove.
8842         * arm/unwind-arm.c (struct fpa_reg): Delete.
8843         (struct fpa_regs): Delete.
8844         (phase1_vrs): Remove fpa element.
8845         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
8846         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
8847         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
8848         * ieee754-sf.S (floatundisf): Remove FPA support.
8849         (floatdisf): Likewise.
8850         * ieee75f-df.S (floatundidf): Likewise.
8851         (floatdidf): Likewise.
8853 2012-11-29  Kai Tietz  <ktietz@redhat.com>
8855         PR target/55445
8856         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
8857         * unwind-generic.h: Likewise.
8858         * unwind-seh.c: Likewise.
8860 2012-11-28  Richard Henderson  <rth@redhat.com>
8862         PR libgcc/48076
8863         * emutls.c (__emutls_get_address): Avoid race condition between
8864         obj->loc.offset read and emutls_key initialization.
8866 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
8868         Adjust decimal point of signed accum mode to GCC default.
8870         PR target/54222
8871         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
8872         _divqq_helper.
8873         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
8874         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
8875         (__mulha3, __mulsa3)
8876         (__divqq3, __divha3, __divsa3): Adjust to new position of
8877         decimal point of signed accum types.
8879         (__mulusa3_round): New function.
8880         (__mulusa3): Use it.
8881         (__divqq_helper): New function.
8882         (__udivuqq3): Use it.
8884 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
8886         PR bootstrap/55370
8887         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
8889 2012-11-18  Teresa Johnson  <tejohnson@google.com>
8891         PR bootstrap/55051
8892         * libgcov.c (gcov_exit): Remove merged program summary
8893         comparison unless !GCOV_LOCKED.
8895 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8897         * soft-fp: Updated from glibc upstream.
8899 2012-11-06  Ian Lance Taylor  <iant@google.com>
8901         * generic-morestack.c (__generic_morestack): Align the returned
8902         stack pointer to a 32 byte boundary.
8903         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
8904         increment the return address until we have decided that we don't
8905         have a varargs function.
8906         (__morestack) [32-bit]: Align stack correctly when calling C
8907         functions.
8908         (__morestack) [64-bit]: Likewise.
8910 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
8912         * configure: Regenerate.
8914 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
8916         PR target/55175
8917         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
8918         * config/i386/sfp-machine.h: Guard exception handling
8919         code with _SOFT_FLOAT.
8920         * config/i386/32/sfp-machine.h: Guard rounding handling
8921         code with _SOFT_FLOAT.
8922         * config/i386/64/sfp-machine.h: Ditto.
8924 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
8926         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
8927         as extra_parts.
8929 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
8931         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
8932         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
8933         when appropriate.  Correct structure element types.
8934         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
8935         -minline-all-stringops from compile flags.
8937 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
8939         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
8941 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
8943         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
8945 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
8947         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
8948         tmake_file.
8950 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
8951             Jim MacArthur  <jim.macarthur@arm.com>
8952             Marcus Shawcroft  <marcus.shawcroft@arm.com>
8953             Nigel Stephens  <nigel.stephens@arm.com>
8954             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
8955             Richard Earnshaw  <rearnsha@arm.com>
8956             Sofiane Naci  <sofiane.naci@arm.com>
8957             Stephen Thomas  <stephen.thomas@arm.com>
8958             Tejas Belagod  <tejas.belagod@arm.com>
8959             Yufeng Zhang  <yufeng.zhang@arm.com>
8961         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
8962         * config/aarch64/crti.S: New file.
8963         * config/aarch64/crtn.S: New file.
8964         * config/aarch64/linux-unwind.h: New file.
8965         * config/aarch64/sfp-machine.h: New file.
8966         * config/aarch64/sync-cache.c: New file.
8967         * config/aarch64/t-aarch64: New file.
8968         * config/aarch64/t-softfp: New file.
8970 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
8972         * config/mmix/crti.S: Mark program and data addresses using PRELD.
8973         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
8974         no-longer-needed LDBU insns.
8976 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
8978         * config.host
8979         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
8980         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
8982 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
8984         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
8986 2012-10-15  Matthias Klose  <doko@ubuntu.com>
8988         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
8990 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
8992         * configure: Regenerate.
8993         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
8995 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
8997         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8998         instructions for 64bit targets only.
9000 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
9002         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9003         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
9004         * config/i386/32/sfp-machine.h: ... here.
9005         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
9006         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
9007         New defines.
9009 2012-10-07  Matthias Klose  <doko@ubuntu.com>
9011         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
9012         as unused.
9013         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
9015 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
9017         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
9018         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
9019         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
9020         (ElfW): Likewise.
9022 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
9024         PR other/53889
9025         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9026         Fix parameter names.
9028 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
9030         PR target/33135
9031         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
9032         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
9033         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
9035 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
9037         PR target/50457
9038         * config/sh/linux-atomic.S: Delete.
9039         * config/sh/linux-atomic.c: New.
9040         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
9041         linux-atomic.c.  Add cflags to disable warnings.
9043 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
9045         PR other/53889
9046         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
9047         function.
9048         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
9049         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
9050         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
9051         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
9052         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
9053         Likewise.
9054         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9055         Likewise.
9056         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
9057         Likewise.
9058         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
9059         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
9061 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
9063         * config.host (hppa-*-openbsd*): New target.
9064         * config/pa/t-openbsd: New file.
9066 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
9068         PR target/54222
9069         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
9070         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
9071         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
9072         (__divsa3): Use __negsi2 to negate r_quoL.
9073         * config/avr/lib1funcs.S (FALIAS): New macro.
9074         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
9075         (__negsi2): ...this new function.
9076         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
9077         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
9078         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
9079         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
9080         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
9081         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
9083 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
9085         PR target/54089
9086         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
9087         (lshrsi3): Reimplement as lshrsi3_r0.
9089 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
9091         PR target/46191
9092         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
9093         of libgcc.a.
9095 2012-09-07  Teresa Johnson  <tejohnson@google.com>
9097         PR gcov-profile/54487
9098         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9099         differences.
9101 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
9103         PR target/54461
9104         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
9105         not configured --with-avrlibc=no.
9106         * config/avr/t-avrlibc: New file.
9107         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
9108         (DPBIT_FUNCS): Ditto.
9109         (TPBIT_FUNCS): Ditto.
9111 2012-09-04  Teresa Johnson  <tejohnson@google.com>
9113         * libgcov.c (struct gcov_summary_buffer): New structure.
9114         (gcov_histogram_insert): New function.
9115         (gcov_compute_histogram): Ditto.
9116         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
9117         histograms during summary merging.
9119 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
9121         * config.host (x86_64-*-openbsd*): New target.
9123 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
9125         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
9126         attribute.
9128 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
9130         PR target/54222
9131         * config/avr/t-avr (conv_X): Rename to func_X.
9133 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
9135         PR target/54222
9136         * config/avr/lib1funcs-fixed.S: New file.
9137         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
9138         after they are used.
9139         (neg2, neg4): New macros.
9140         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
9141         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
9142         (__umulhisi3): Speed up MUL variant if there is enough flash.
9143         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
9144         avr-modes.def.
9145         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
9146         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
9147         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
9148         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
9149         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
9150         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
9151         (LIB2FUNCS_EXCLUDE): Add supported functions.
9153 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
9155         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
9156         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
9157         libgcc-s-objects.
9158         * fixed-obj.mk: Only expand dependency if $o is not in
9159         LIB2FUNCS_EXCLUDE.
9161 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
9163         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
9165 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
9167         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
9168         depend on --enable-shared.
9169         ($(lib1asmfuncs-o)): Use %.vis files independent of
9170         --enable-shared.
9171         * static-object.mk ($(base)$(objext), $(base).vis)
9172         ($(base)_s$(objext)): Use same rules for visibility handling as in
9173         shared-object.mk.
9175 2012-08-21  Ian Lance Taylor  <iant@google.com>
9177         * config/i386/morestack.S (__morestack_non_split): Increase amount
9178         of space allocated for non-split code stack.
9180 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
9182         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
9183         even if inhibit_libc.
9185 2012-08-17  Julian Brown  <julian@codesourcery.com>
9187         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
9188         -fexceptions -fnon-call-exceptions if not defined.
9189         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
9190         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
9192 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
9194         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
9195         type.
9197 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
9199         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
9200         rs6000/t-slibgcc-aix.
9202 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
9204         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
9206 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
9208         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
9210 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
9212         PR driver/54171
9213         * Makefile.in (version): Replace top_srcdir with srcdir.
9215 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
9217         * Makefile.in (version): set to BASE-VER file from gcc directory.
9219 2012-08-01  Nick Clifton  <nickc@redhat.com>
9221         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
9222         Implements __clrsb for an HImode argument.
9224 2012-07-31  Nick Clifton  <nickc@redhat.com>
9226         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
9227         Implements __clrsb for an HImode argument.
9228         * config/stormy16/clrsbhi2.c: New file:
9229         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
9231 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
9233         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
9235 2012-07-19  Tristan Gingold  <gingold@adacore.com>
9236             Richard Henderson  <rth@redhat.com>
9238         * unwind-seh.c: New file.
9239         * unwind-generic.h: Include windows.h for SEH.
9240         (_Unwind_Exception): Use 6 private fields for SEH.
9241         (_GCC_specific_handler): Declare.
9242         * unwind-c.c (__gcc_personality_seh0): New function.
9243         Adjust for SEH.
9244         * config/i386/libgcc-cygming.ver: New file.
9245         * config/i386/t-seh-eh: New file.
9246         * config.host (x86_64-*-mingw*): Default to seh.
9248 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
9250         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
9252 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
9254         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
9255         __builtin_expect when checking for exceptions.
9256         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
9258 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
9260         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
9261         function declaration.
9262         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9263         (FP_RND_MASK): New.
9264         * config/ia64/sfp-exceptions.c: New.
9265         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
9267 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
9269         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
9270         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
9271         * config/i386/64/sfp-machine: ... (delete here) ...
9272         * config/i386/sfp-machine.h: ... to here.
9273         (FP_EX_MASK): Remove.
9274         (FP_RND_MASK): New.
9275         (FP_INIT_ROUNDMODE): Declare asm as volatile.
9277 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
9279         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
9280         * config/i386/libgcc-sol2.ver: Ditto.
9281         * config/i386/libgcc-glibc.ver: Ditto.
9283 2012-06-11  Roland McGrath  <mcgrathr@google.com>
9285         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
9286         If __GLIBC__ is defined, refer to __pthread_key_create instead of
9287         pthread_cancel.
9289 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
9291         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
9292         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
9293         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
9294         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9295         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
9296         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
9297         * config/i386/64/sfp-machine: ... (delete here) ...
9298         * config/i386/sfp-machine.h: ... to here.
9299         (FP_EX_MASK): New.
9300         (__sfp_handle_exceptions): New function declaration.
9301         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9302         * config/i386/sfp-exceptions.c: New.
9303         * config/i386/t-softfp: New.
9304         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
9305         i386/t-softfp to tmake_file.
9307 2012-06-03  David S. Miller  <davem@davemloft.net>
9309         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
9310         change.
9312 2012-05-31  David S. Miller  <davem@davemloft.net>
9314         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
9315         multiply and divide instructions on 32-bit when V9.
9316         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
9318 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
9320         * config/arm/ieee754-df.S: Fix typos.
9321         * config/arm/ieee754-sf.S: Fix typos.
9322         * config/c6x/libunwind.S: Fix typos.
9323         * config/epiphany/udivsi3-float.c: Fix typos.
9324         * config/microblaze/muldi3_hard.S: Fix typos.
9325         * config/picochip/adddi3.S: Fix typos.
9326         * config/picochip/ashlsi3.S: Fix typos.
9327         * config/picochip/ashrsi3.S: Fix typos.
9328         * config/picochip/clzsi2.S: Fix typos.
9329         * config/picochip/cmpsi2.S: Fix typos.
9330         * config/picochip/divmod15.S: Fix typos.
9331         * config/picochip/divmodhi4.S: Fix typos.
9332         * config/picochip/divmodsi4.S: Fix typos.
9333         * config/picochip/longjmp.S: Fix typos.
9334         * config/picochip/lshrsi3.S: Fix typos.
9335         * config/picochip/parityhi2.S: Fix typos.
9336         * config/picochip/popcounthi2.S: Fix typos.
9337         * config/picochip/setjmp.S: Fix typos.
9338         * config/picochip/subdi3.S: Fix typos.
9339         * config/picochip/ucmpsi2.S: Fix typos.
9340         * config/picochip/udivmodhi4.S: Fix typos.
9341         * config/picochip/udivmodsi4.S: Fix typos.
9342         * config/spu/divv2df3.c: Fix typos.
9343         * config/spu/mfc_multi_tag_release.c: Fix typos.
9344         * config/spu/mfc_tag_release.c: Fix typos.
9345         * configure.ac: Fix typos.
9346         * configure: Regenerate.
9348 2012-05-25  Ian Lance Taylor  <iant@google.com>
9350         * config/i386/morestack.S (__morestack_non_split): Check whether
9351         caller is varargs and needs %bp to hold the stack frame on return.
9353 2012-05-25  Olivier Hainque  <hainque@adacore.com>
9355         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
9356         sequence in the non pic case on VxWorks.
9358 2012-05-24  Olivier Hainque  <hainque@adacore.com>
9360         * Makefile.in: Move dependency on install-unwind_h from
9361         "install-leaf" to "install".
9363 2012-05-24  Olivier Hainque  <hainque@adacore.com>
9365         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
9366         Use a separate command for stamp removals.
9368 2012-05-21  Andrew Pinski  <apinski@cavium.com>
9370         PR bootstrap/53183
9371         * configure.ac: Define the default includes to being none.
9372         * configure: Regenerate.
9374 2012-05-16  Olivier Hainque  <hainque@adacore.com>
9376         * Makefile.in (install-unwind_h): Rename into ...
9377         (install-unwind_h-forbuild): New target.
9378         (all): Use it instead of the former install-unwind_h.
9379         (install-unwind_h): Reinstate, copy to user install destination
9380         for include files, not to the internal gcc object directory one.
9381         (install-leaf): Depend on it.
9383 2012-05-15  Olivier Hainque  <hainque@adacore.com>
9385         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
9386         register numbers. LR_REGNO replaces R_LR.
9387         (ucontext_for): New, helper for ...
9388         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
9389         and 5.3 of ...
9390         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
9392 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9394         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
9395         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
9396         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
9397         i386/t-cpuinfo ...
9398         (i[34567]86-*-*, x86_64-*-*): ... here.
9400         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
9401         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
9403         * config/i386/i386-cpuinfo.c: Rename to ...
9404         * config/i386/cpuinfo.c: ... this.
9405         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
9407         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
9408         (libgcc_cv_init_priority): New test.
9409         * configure: Regenerate.
9410         * config.in: New file.
9411         * Makefile.in (clean): Rename config.h to auto-target.h.
9412         (config.h): Likewise.
9413         (stamp-h): Likewise.
9415         * config/i386/cpuinfo.c (auto-target.h): Include.
9416         (CONSTRUCTOR_PRIORITY): Define.
9417         (__cpu_indicator_init): Use it.
9419 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
9421         * longlong.h: Use a URL instead of an FSF postal address.
9422         Replace spaces with tab.
9424 2012-05-08  Teresa Johnson  <tejohnson@google.com>
9426         * libgcov.c (gcov_clear, __gcov_reset): New functions.
9427         (__gcov_dump): Ditto.
9428         (gcov_dump_complete): New global variable.
9429         (gcov_exit): Export hidden to enable use in L_gcov_dump.
9430         (__gcov_flush): Outline functionality now in gcov_clear.
9431         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
9433 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
9435         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
9436         (mips*-*-linux*): Include mips/t-tpbit when long double is
9437         16 bytes long.
9439 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
9441         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
9442         (get_available_features): New argument. Check for AVX2.
9443         (__cpu_indicator_init): Modify call to get_available_features.
9445 2012-04-25  Alan Modra  <amodra@gmail.com>
9447         * config/rs6000/crtsavevr.S: New file.
9448         * config/rs6000/crtrestvr.S: New file.
9449         * config/rs6000/t-savresfgpr: Build the above.
9450         * config/rs6000/t-netbsd: Likewise.
9452 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
9454         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
9456 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
9458         * libgcc/config/i386/i386-cpuinfo.c: New file.
9459         * libgcc/config/i386/t-cpuinfo: New file.
9460         * libgcc/config.host: Include t-cpuinfo.
9461         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
9463 2012-04-24  Chao-ying Fu  <fu@mips.com>
9465         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
9467 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
9469         struct siginfo vs. siginfo_t
9471         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
9472         siginfo_t instead of struct siginfo.
9473         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
9474         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
9475         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
9476         (ia64_handle_unwabi): Likewise.
9477         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
9478         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
9479         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
9480         (sh_fallback_frame_state): Likewise.
9481         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
9482         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
9484 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
9486         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
9487         system call number.
9489 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
9491         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
9492         if it hasn't been previously saved.
9494 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
9496         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
9497         only for glibc.
9499 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
9501         PR target/52737
9502         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
9503         instead of __AVR_HAVE_8BIT_SP__.
9505 2012-03-26  Tristan Gingold  <gingold@adacore.com>
9507         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
9508         (unw_table_entry): Use unw_word instead of unsigned long.
9509         (_Unwind_FindTableEntry): Likewise.
9510         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
9511         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
9512         (_Unwind_FindTableEntry): Likewise.
9513         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
9514         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
9515         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
9516         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
9517         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
9518         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
9519         (uw_init_context_1, uw_install_context): Likewise.
9520         (unw_word): Move to unwind-ia64.h
9522 2012-03-26  Tristan Gingold  <gingold@adacore.com>
9524         * config/vms/vms-ucrt0.c: Update copyright years.
9525         Add a sanity check.
9526         (___gcc_main_flags): Declare.
9527         (__main): Check flags to remap argv and exit code.
9528         * config.host (*-*-*vms*): Adjust extra_parts.
9529         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
9530         (crt0.o): Add.
9532 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
9534         * arm/lib1funcs.asm (ctzsi2): New function.
9535         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
9536         * arm/t-linux (LIB1ASMFUNCS): Likewise.
9537         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
9538         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
9539         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
9540         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
9542 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
9544         * config.host: Add bits to support powerpc64-*-freebsd*.
9545         * config/rs6000/freebsd-unwind.h: New file.
9546         * config/rs6000/t-freebsd64: New file.
9548 2012-03-20  Richard Guenther  <rguenther@suse.de>
9550         PR gcov-profile/52627
9551         * libgcov.c (init_mx): Fix mutex name.
9553 2012-03-16  Tristan Gingold  <gingold@adacore.com>
9555         * config/ia64/vms-unwind.h: Remove ulong (and replace
9556         it by unw_reg where used).  Define unw_reg with __int64.
9558 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9560         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
9561         Solaris 8 handling.
9562         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
9563         Solaris 8 handling.
9564         (sparc_is_sighandler): Likewise.
9566 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
9568         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
9569         <= saved reg size.
9571 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9573         * config/arm/crtn.S: Fix typo.
9575 2012-03-13  Richard Guenther  <rguenther@suse.de>
9577         * libgcov.c: Remove stdio.h include and NULL un-define.
9579 2012-03-13  Richard Guenther  <rguenther@suse.de>
9581         PR target/52569
9582         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
9584 2012-03-13  Richard Guenther  <rguenther@suse.de>
9586         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
9588 2012-03-13  Richard Guenther  <rguenther@suse.de>
9590         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
9591         and __gthread_mutex_init_function definitions.
9593 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9595         * config.host (mips*-*-openbsd*): Remove.
9597 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9599         * config.host: Remove alpha*-dec-osf5.1* handling.
9600         * config/alpha/gthr-posix.c: Remove.
9601         * config/alpha/libgcc-osf5.ver: Remove.
9602         * config/alpha/osf5-unwind.h: Remove.
9603         * config/alpha/t-osf-pthread: Remove.
9604         * config/alpha/t-slibgcc-osf: Remove.
9605         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
9606         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
9607         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
9608         * mkmap-flat.awk: Remove osf_export handling.
9610 2012-03-12  Richard Guenther  <rguenther@suse.de>
9612         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
9613         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9614         (__gthread_mutex_init_function): New function.
9615         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9617         PR gcov/49484
9618         * libgcov.c: Include gthr.h.
9619         (__gcov_flush_mx): New global variable.
9620         (init_mx, init_mx_once): New functions.
9621         (__gcov_flush): Protect self with a mutex.
9622         (__gcov_fork): Re-initialize mutex after forking.
9623         * unwind-dw2-fde.c: Change condition under which to use
9624         __GTHREAD_MUTEX_INIT_FUNCTION.
9626 2012-03-12  Tristan Gingold  <gingold@adacore.com>
9628         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
9629         * config/ia64/t-vms: Likewise.
9631 2012-03-11  Michael Hope  <michael.hope@linaro.org>
9633         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
9634         for Thumb-2.
9636 2012-03-07  Walter Lee  <walt@tilera.com>
9638         * config/tilepro/atomic.c: Rename "atomic_" prefix to
9639         "arch_atomic_".
9640         (atomic_xor): Rename and move definition to
9641         config/tilepro/atomic.h.
9642         (atomic_nand): Ditto.
9643         * config/tilepro/atomic.h: Rename "atomic_" prefix to
9644         "arch_atomic_".
9645         (arch_atomic_xor): Move from config/tilepro/atomic.c.
9646         (arch_atomic_nand): Ditto.
9648 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
9650         PR target/52507
9651         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
9653 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
9655         PR target/52505
9656         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
9657         from RAM.
9659 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
9661         PR target/52461
9662         PR target/52508
9663         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
9664         if RAMPZ affects reading from RAM.
9665         (__tablejump_elpm__): Ditto.
9666         (.xload): Ditto.
9667         (__movmemx_hi): Ditto.
9668         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
9669         (__do_global_dtors): Ditto.
9670         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
9671         (__movmemx_hi): Ditto.
9673 2012-03-05  Richard Henderson  <rth@redhat.com>
9675         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
9676         [ARM] (count_trailing_zeros): Use the builtin.
9678 2012-03-01  Kai Tietz  <ktietz@redhat.com>
9680         * soft-fp: Imported from glibc upstream.
9682 2012-02-28  Kai Tietz  <ktietz@redhat.com>
9684         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
9685         for mingw-targets as attribute gcc_struct.
9687 2012-02-28  Ian Lance Taylor  <iant@google.com>
9689         * generic-morestack.c (__splitstack_releasecontext): Correct call
9690         to __morestack_release_segments.
9692 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9694         PR target/52390
9695         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
9696         for __linux__ when removing signals from __morestack_fullmask.
9698 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
9700         PR target/52261
9701         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
9703 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9705         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
9706         instead of HAVE_INITFINI_ARRAY.
9707         * config/ia64/crtend.S: Likewise.
9709 2012-02-20  Kai Tietz  <ktietz@redhat.com>
9711         PR libstdc++/52300
9712         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
9714         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
9715         to w32-unwind.h header.
9717 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
9719         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
9720         (mips*-*-linux*): Remove t-slibgcc-libgcc.
9721         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
9722         * config/mips/mips16.S (__mips16_rdhwr): Delete.
9724 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
9726         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
9728 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
9730         PR libitm/52220
9731         * config/darwin-crt-tm.c: Correct typo.
9733 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
9734             Patrick Marlier  <patrick.marlier@gmail.com>
9736         PR libitm/52220
9737         * config/darwin-crt-tm.c: Generate dummy functions.
9739 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
9740             Patrick Marlier  <patrick.marlier@gmail.com>
9742         PR libitm/52042
9743         * config/darwin-crt-tm.c (getTMCloneTable): New function.
9744         (__doTMRegistrations): Call it.
9745         (__doTMdeRegistrations): Likewise.
9747 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
9748             Anatoly Sokolov  <aesok@post.ru>
9749             Eric Weddington  <eric.weddington@atmel.com>
9751         PR target/52261
9752         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
9753         (__epilogue_restores__): Ditto.
9755 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
9757         PR target/51921
9758         PR target/52205
9759         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
9760         Solaris 11 and slightly reformat.
9761         (sparc_is_sighandler): Likewise.
9763 2012-02-14  Walter Lee  <walt@tilera.com>
9765         * config.host: Handle tilegx and tilepro.
9766         * config/tilegx/sfp-machine.h: New file.
9767         * config/tilegx/sfp-machine32.h: New file.
9768         * config/tilegx/sfp-machine64.h: New file.
9769         * config/tilegx/t-crtstuff: New file.
9770         * config/tilegx/t-softfp: New file.
9771         * config/tilegx/t-tilegx: New file.
9772         * config/tilepro/atomic.c: New file.
9773         * config/tilepro/atomic.h: New file.
9774         * config/tilepro/linux-unwind.h: New file.
9775         * config/tilepro/sfp-machine.h: New file.
9776         * config/tilepro/softdivide.c: New file.
9777         * config/tilepro/softmpy.S: New file.
9778         * config/tilepro/t-crtstuff: New file.
9779         * config/tilepro/t-tilepro: New file.
9781 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
9783         PR libstdc++/51296
9784         PR libstdc++/51906
9785         * gthr-posix.h: Allow static initializer macros to be disabled.
9786         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
9788 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
9790         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
9791         Add t-slibgcc-libgcc to tmake_file.
9792         * config/mips/libgcc-mips16.ver: Revert previous patch.
9793         * config/mips/mips16.S (__mips16_rdhwr): Hide.
9795 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
9796             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
9798         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
9799         * config/cr16/crti.S: New file.
9800         * config/cr16/crtlibid.S: New file.
9801         * config/cr16/crtn.S: New file.
9802         * config/cr16/lib1funcs.S: New file.
9803         * config/cr16/t-cr16: New file.
9804         * config/cr16/t-crtlibid: New file.
9805         * config/cr16/unwind-dw2.h: New file.
9806         * config/cr16/unwind-cr16.c: New file.
9807         * config/cr16/divmodhi3.c: New file.
9809 2012-01-25  Alan Modra  <amodra@gmail.com>
9811         * config/rs6000/t-linux64: Delete.  Move..
9812         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
9813         * config/rs6000/t-linux: ..and libgcc flags to here.
9815 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
9817         * config.host (i[34567]86-*-interix3*):
9818         Change triplet to i[34567]86-*-interix[3-9]*.
9819         * configure: Regenerate.
9821 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
9822             Richard Sandiford  <rdsandiford@googlemail.com>
9824         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
9825         * config/mips/mips16.S (__mips16_rdhwr): New function.
9826         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
9828 2012-01-11  Nathan Sidwell  <nathan@acm.org>
9830         * libgcov.c (__gcov_init): Ignore objects with no functions.
9832 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
9834         PR target/49868
9835         Extend __pgmx semantics to linearize memory.
9836         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
9837         * config/avr/lib1funcs.S (__xload_1): New function.
9838         (__movmemx_qi, __movmemx_hi): New functions.
9839         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
9840         semantics.
9842 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
9844         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
9845         purported sigacthandler address isn't null before dereferencing it.
9846         (sparc_is_sighandler): Likewise.
9848 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
9850         PR ada/41929
9851         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
9852         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
9853         (sparc_is_sighandler): Likewise.
9854         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
9856 2012-01-06  Tristan Gingold  <gingold@adacore.com>
9858         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
9859         compatibility thunks...
9860         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
9861         (crtbeginS.o, crtendS.o): ... and these to ...
9862         * config/ia64/t-ia64-elf: ... this new file.
9863         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
9864         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
9866 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9868         * configure: Regenerate.
9869         * config/s390/t-crtstuff: Remove -fPIC.
9871 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
9873         PR bootstrap/51006
9874         * enable-execute-stack-mprotect.c (getpagesize): Do not define
9875         for NetBSD.
9877 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
9879         PR target/51345
9880         * config/avr/lib1funcs.S: Remove FIXME comments.
9881         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
9883 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
9885         Implement light-weight DImode support.
9886         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
9887         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
9888         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
9889         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
9891 2011-12-30  Nathan Sidwell  <nathan@acm.org>
9893         * libgcov.c (gcov_crc32): Remove global var.
9894         (free_fn_data): New function.
9895         (buffer_fn_data): Pass in filename, more robust error recovery.
9896         (crc32_unsigned): New function.
9897         (gcov_exit): More robust detection of new program. More robust
9898         error recovery.
9899         (__gcov_init): Do not update program's crc here.
9901 2011-12-21  Tristan Gingold  <gingold@adacore.com>
9903         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
9905 2011-12-21  Ian Lance Taylor  <iant@google.com>
9907         * config/i386/morestack.S: Simplify CFI opcodes throughout.
9909 2011-12-20  Ian Lance Taylor  <iant@google.com>
9911         * config/i386/morestack.S (__morestack_non_split): If there is
9912         enough stack space already, don't split.  Ask for more stack space
9913         than we required.
9915 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
9917         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
9918         `sys/sdt.h'.
9919         (_Unwind_DebugHook): New function.
9920         (uw_restore_core_regs): New define.
9921         (unwind_phase2): Use uw_restore_core_regs instead of
9922         restore_core_regs.
9923         (unwind_phase2_forced): Likewise.
9924         (__gnu_Unwind_Resume): Likewise.
9926 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
9928         * config/alpha/linux-unwind.h: Update copyright years.
9929         (MD_FROB_UPDATE_CONTEXT): New define.
9930         (alpha_frob_update_context): New function.
9932 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
9934         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
9935         tmake_file rather replacing it.
9937 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
9939         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
9940         function is not used for PPC64.
9941         (save_world): Amend comments.  Update the VRsave mask to reflect the
9942         saved regs.
9943         (rest_world): Update comments, do not  clobber r10, do not use r8.
9944         (eh_rest_world_r10): Amend comments, do not use r8.
9945         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
9946         no longer used, move restore of CR and target address to the end of
9947         the routine.
9949 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
9951         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
9952         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
9954 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
9956         PR target/49313
9957         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
9958         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
9960 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
9962         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
9964 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
9966         PR target/49313
9967         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
9968         * config/avr/lib1funcs.S (__muldi3): New function.
9970 2011-12-06  Andrew Pinski  <apinski@cavium.com>
9972         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
9973         size of func_ptr.
9974         (__frame_dummy_init_array_entry): Likewise.
9976 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
9978         Forward-port from gcc-4_6-branch r181936 2011-12-02.
9980         PR target/51345
9981         PR target/51002
9982         * config/avr/lib1funcs.S (__prologue_saves__,
9983         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
9984         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
9986 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
9988         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
9990 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
9992         PR other/51272
9993         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
9994         (_ITM_deregisterTMCloneTable): Likewise.
9995         (__register_frame_info): Fix unused warning.
9996         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
9997         pthread_default_stacksize_np): Likewise.
9998         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
10000 2011-11-29  DJ Delorie  <dj@redhat.com>
10002         * config.host (rl78-*-elf): New case.
10003         * config/rl78: New directory for the Renesas RL78.
10005 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
10007         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
10008         formatting.
10010 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10012         PR other/51022
10013         * config/rs6000/t-savresfgpr: New file.
10014         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
10015         $(srcdir)/config/rs6000/eabi.S.
10016         * config/rs6000/t-ppccomm-ldbl: Remove.
10017         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
10018         tmake_file.
10019         (powerpc-*-eabispe*): Likewise.
10020         (powerpc-*-eabi*): Likewise.
10021         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10022         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
10023         to tmake_file, remove rs6000/t-ppccomm-ldbl.
10024         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
10025         tmake_file.
10026         (powerpc-*-eabisim*): Likewise.
10027         (powerpc-*-elf*): Likewise.
10028         (powerpc-*-eabialtivec*): Likewise.
10029         (powerpc-xilinx-eabi*): Likewise.
10030         (powerpc-*-rtems*): Likewise.
10031         (powerpcle-*-elf*): Likewise.
10032         (powerpcle-*-eabisim*): Likewise.
10033         (powerpcle-*-eabi*): Likewise.
10035 2011-11-27  Ian Lance Taylor  <iant@google.com>
10037         * generic-morestack.c (__splitstack_find): Check for NULL old
10038         stack value.
10039         (__splitstack_resetcontext): New function.
10040         (__splitstack_releasecontext): New function.
10041         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10043 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
10045         * config/darwin-crt-tm.c: Correct comments, use correct licence.
10047 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
10049         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
10051 2011-11-26  Richard Henderson  <rth@redhat.com>
10053         * config/m68k/linux-atomic.c: New file.
10054         * config/m68k/t-linux: New file.
10055         * config.host (m68k-uclinux, m68k-linux): Use it.
10057 2011-11-26  Richard Henderson  <rth@redhat.com>
10059         * crtstuff.c (__TMC_LIST__): Mark used not unused.
10060         (__TMC_END__): Only declare if hidden is available; in the definition,
10061         if hidden is unavailable add a null record.
10062         (deregister_tm_clones, register_tm_clones): New.
10063         (__do_global_dtors_aux, frame_dummy): Use them.
10064         (__do_global_dtors, __do_global_ctors_1): Likewise.
10066 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
10068         * config/darwin-crt-tm.c: New file.
10069         * config.host (darwin): Build crttms.o crttme.o to provide
10070         startup and shutdown for tm clones.
10071         * config/t-darwin (crttms.o): New build rule.
10072         (crttme.o): Likewise.
10074 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
10076         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
10077         et al.
10079 2011-11-21  Richard Henderson  <rth@redhat.com>
10081         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
10082         (__TMC_LIST__, __TMC_END__): New.
10083         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
10084         (__do_global_dtors): Likewise.
10085         (frame_dummy): Call _ITM_registerTMCloneTable.
10086         (__do_global_ctors_1): Likewise.
10088 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10090         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
10091         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10092         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
10093         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
10094         * config/i386/t-darwin64: Remove.
10095         * config/sh/t-netbsd (LIB2ADD): Remove.
10097 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
10099         PR target/49313
10100         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
10101         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
10102         * config/avr/lib1funcs.S (wmov): New assembler macro.
10103         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
10104         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
10105         (__udivmod64): New function.
10106         (__negdi2): New function.
10108 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
10110         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
10111         *-*-freebsd*aout*): Remove.
10113 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
10115         * static-object.mk (c_flags-$o): Save c_flags.
10116         ($(base)$(objext)): Use it.
10118 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
10120         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
10122 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
10124         PR target/49868
10125         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
10126         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
10127         New functions.
10129 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
10131         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
10132         functions.
10133         (aeabi_uidivmod): Likewise.
10134         (umodsi3): Likewise.
10135         (divsi3): Likewise.
10136         (aeabi_idivmod): Likewise.
10137         (modsi3): Likewise.
10139 2011-11-16  Tristan Gingold  <gingold@adacore.com>
10141         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
10143 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
10145         PR target/49868
10146         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
10147         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
10149 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
10151         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
10152         tmake_file list.
10153         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
10154         * config/pa/t-stublib64: Delete.
10156 2011-11-12  Richard Henderson  <rth@redhat.com>
10158         * config/rs6000/linux-unwind.h (frob_update_context): Properly
10159         cast the pointer argument to _Unwind_SetGRPtr.
10161 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10163         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
10165 2011-11-09  Ian Lance Taylor  <iant@google.com>
10167         * generic-morestack.c: Include <string.h>.
10168         (uintptr_type): Define.
10169         (struct initial_sp): Add dont_block_signals field.  Reduce size of
10170         extra array by 1.
10171         (allocate_segment): Set prev field to NULL.  Don't set
10172         __morestack_current_segment or __morestack_segments.
10173         (__generic_morestack): Update current->prev and *pp after calling
10174         allocate_segment.
10175         (__morestack_block_signals): Don't do anything if
10176         dont_block_signals is set.
10177         (__morestack_unblock_signals): Likewise.
10178         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
10179         uintptr_type.
10180         (__splitstack_block_signals): New function.
10181         (enum __splitstack_content_offsets): Define.
10182         (__splitstack_getcontext, __splitstack_setcontext): New functions.
10183         (__splitstack_makecontext): New function.
10184         (__splitstack_block_signals_context): New function.
10185         (__splitstack_find_context): New function.
10186         * config/i386/morestack.S (__morestack_get_guard): New function.
10187         (__morestack_set_guard, __morestack_make_guard): New functions.
10188         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10190 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10192         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
10193         (i[34567]86-*-mingw*): ... here.
10194         (x86_64-*-mingw*): ... here.
10196 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10198         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
10200 2011-11-07  Nathan Sidwell  <nathan@acm.org>
10202         * libgcov.c (struct gcov_fn_buffer): New struct.
10203         (buffer_fn_data): New helper.
10204         (gcov_exit): Rework for new gcov data structures.
10206 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
10208         PR target/49313
10209         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
10211 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10213         * config.host (tmake_file): Correct comment.
10214         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
10215         t-libgcc-pic.
10216         (bfin*-uclinux*): Likewise.
10217         (bfin*-linux-uclibc*): Likewise.
10218         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
10220         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
10221         assigning.
10222         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10223         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
10224         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10225         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
10226         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10227         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
10228         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
10229         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10230         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
10231         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
10232         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
10233         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
10234         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
10236         * config/bfin/t-elf: Remove.
10237         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
10239 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10241         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
10242         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
10243         (lm32-*-elf*, lm32-*-rtems*): Split into ...
10244         (lm32-*-elf*): ... this.
10245         (lm32-*-rtems*): ... and this.
10246         Add to tmake_file.
10247         (m32r-*-rtems*): Add to tmake_file.
10248         (moxie-*-rtems*): Likewise.
10249         (sparc-*-rtems*): Likewise.
10250         Remove t-rtems from tmake_file.
10251         (sparc64-*-rtems*): Likewise.
10252         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
10253         instead.
10255 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10257         PR bootstrap/50982
10258         * config/gthr-posix.h: Move ...
10259         * gthr-posix.h: ... here.
10260         * config/gthr-lynx.h: Reflect this.
10261         * config/gthr-vxworks.h: Likewise.
10262         * config/rs6000/gthr-aix.h: Likewise.
10263         * configure.ac (target_thread_file): Likewise.
10264         * configure: Regenerate.
10266 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
10268         * config.host (arm*-*-rtemseabi*): New target.
10270 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
10272         PR other/50991
10273         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
10274         extra-parts.
10276 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
10278         * config.host (epiphany-*-elf*): New configuration.
10279         * config/epiphany: New Directory.
10281 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
10283         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
10284         * config/avr/t-rtems: New.
10285         Filter out _exit from LIB1ASMFUNCS.
10287 2011-11-04  David S. Miller  <davem@davemloft.net>
10289         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
10290         * configure: Rebuild.
10292 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10294         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
10295         variable.
10297 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
10299         PR target/50931
10300         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
10301         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
10303 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
10305         PR target/50989
10306         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
10308 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10310         * config/c6x/t-elf (LIB2ADDEH): Set.
10311         * config/c6x/t-c6x-elf: Remove.
10313 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10315         * config/i386/sol2-ci.S: Rename to ...
10316         * config/i386/crti.S: ... this.
10317         * config/i386/sol2-cn.S: Rename to ...
10318         * config/i386/crtn.S: ... this.
10319         * config/sparc/sol2-ci.S: Rename to ...
10320         * config/sparc/crti.S: ... this.
10321         * config/sparc/sol2-cn.S: Rename to ...
10322         * config/sparc/crtn.S: ... this.
10323         * config/t-sol2 (CUSTOM_CRTIN): Remove.
10324         (crti.o, crtn.o): Remove.
10326 2011-11-04  Tristan Gingold  <gingold@adacore.com>
10328         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
10330 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
10332         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
10334 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
10336         * config.host (crisv32-*-none, cris-*-none): Remove.
10337         (crisv32-*-elf): Append to tmake_file, don't just set it.
10338         (cris-*-elf): Add missing t-fdpbit to tmake_file.
10340 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10342         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
10343         (ecrtn$(objext)): Likewise.
10344         (ncrti$(objext)): Likewise.
10345         (ncrtn$(objext)): Likewise.
10347 2011-11-03  Andreas Schwab  <schwab@redhat.com>
10349         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
10351 2011-11-02  David S. Miller  <davem@davemloft.net>
10353         * configure.ac: Set host_address on sparc too.
10354         * configure: Regenerate.
10355         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
10356         based upon host_address.
10357         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
10359 2011-11-02  Jason Merrill  <jason@redhat.com>
10361         * config/rs6000/t-ppccomm: Add missing \.
10363 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10365         * gthr-single.h, gthr.h: New files.
10366         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
10367         config/gthr-vxworks.h, config/i386/gthr-win32.h,
10368         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
10369         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
10370         * config/i386/gthr-win32.c: Include "gthr-win32.h".
10371         * configure.ac (thread_header): New variable.
10372         Set it depending on target_thread_file.
10373         (gthr-default.h): Link from $thread_header.
10374         * configure: Regenerate.
10375         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
10377 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10379         * configure.ac (tm_file_): New variable.
10380         Determine from tm_file.
10381         (tm_file, tm_defines): Substitute.
10382         * configure: Regenerate.
10383         * mkheader.sh: New file.
10384         * Makefile.in (clean): Remove libgcc_tm.h.
10385         ($(objects)): Depend on libgcc_tm.h.
10386         (libgcc_tm_defines, libgcc_tm_file): New variables.
10387         (libgcc_tm.h, libgcc_tm.stamp): New targets.
10388         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
10389         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
10390         ($(extra-parts)): Depend on libgcc_tm.h.
10391         * config.host (tm_defines, tm_file): New variable.
10392         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
10393         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
10394         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
10395         (avr-*-rtems*): Likewise.
10396         (avr-*-*): Likewise.
10397         (frv-*-elf): Likewise.
10398         (frv-*-*linux*): Likewise.
10399         (h8300-*-rtems*): Likewise.
10400         (h8300-*-elf*): Likewise.
10401         (i[34567]86-*-darwin*): Likewise.
10402         (x86_64-*-darwin*): Likewise.
10403         (rx-*-elf): Likewise.
10404         (tic6x-*-uclinux): Likewise.
10405         (tic6x-*-elf): Likewise.
10406         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
10407         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
10408         * config/i386/cygming-crtbegin.c: Likewise.
10409         * config/i386/cygming-crtend.c: Likewise.
10410         * config/ia64/fde-vms.c: Likewise.
10411         * config/ia64/unwind-ia64.c: Likewise.
10412         * config/libbid/bid_gcc_intrinsics.h: Likewise.
10413         * config/rs6000/darwin-fallback.c: Likewise.
10414         * config/stormy16/lib2funcs.c: Likewise.
10415         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
10416         * crtstuff.c: Likewise.
10417         * dfp-bit.h: Likewise.
10418         * emutls.c: Likewise.
10419         * fixed-bit.c: Likewise.
10420         * fp-bit.c: Likewise.
10421         * generic-morestack-thread.c: Likewise.
10422         * generic-morestack.c: Likewise.
10423         * libgcc2.c: Likewise.
10424         * libgcov.c: Likewise.
10425         * unwind-dw2-fde-dip.c: Likewise.
10426         * unwind-dw2-fde.c: Likewise.
10427         * unwind-dw2.c: Likewise.
10428         * unwind-sjlj.c: Likewise.
10430 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10432         * configure.ac: Include ../config/picflag.m4.
10433         (GCC_PICFLAG): Call it.
10434         Substitute.
10435         * configure: Regenerate.
10436         * Makefile.in (gcc_srcdir): Remove.
10437         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
10438         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
10439         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
10440         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
10441         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
10442         Use $<.
10443         Remove comment.
10444         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
10445         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
10446         to refer to libgcc2.c.
10447         Use $<.
10448         * config/darwin-64.c: New file.
10449         * config/darwin-crt3.c: Remove comment.
10450         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
10451         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
10452         config/udivmodsi4.c: New files.
10453         * config/memcmp.c, config/memcpy.c, config/memmove.c,
10454         config/memset.c: New files.
10455         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
10456         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
10457         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
10458         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
10459         * config/t-openbsd-thread: New file.
10460         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
10461         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
10462         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
10463         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
10464         qrnnd.S.
10465         Adapt filename.
10466         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
10467         to refer to gthr-posix.c.
10468         * config/alpha/t-vms (LIB2ADD): Set.
10469         * config/alpha/vms-gcc_shell_handler.c: New file.
10470         * config/arm/bpabi.c, config/arm/fp16.c,
10471         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
10472         config/arm/unaligned-funcs.c: New files.
10473         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
10474         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10475         * config/arm/t-linux: Likewise.
10476         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
10477         * config/arm/t-netbsd: New file.
10478         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
10479         * config/arm/t-symbian (LIB2ADD_ST): Set.
10480         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
10481         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10482         * config/bfin/t-elf: New file.
10483         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
10484         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
10485         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
10486         config/c6x/ltf.c: New files.
10487         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
10488         (HOST_LIBGCC2_CFLAGS): Set.
10489         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
10490         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10491         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
10492         New files.
10493         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
10494         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
10495         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
10496         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
10497         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
10498         files.
10499         * config/frv/t-frv (LIB2ADD): Set.
10500         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10501         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
10502         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
10503         config/h8300/popcounthi2.c: New files.
10504         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10505         * config/i386/gthr-win32.c: New file.
10506         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
10507         * config/i386/t-cygwin: Likewise.
10508         * config/i386/t-darwin, config/i386/t-darwin64,
10509         config/i386/t-gthr-win32, config/i386/t-interix: New files.
10510         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
10511         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10512         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10513         * config/ia64/quadlib.c: New file.
10514         * config/ia64/t-hpux (LIB2ADD): Set.
10515         * config/ia64/t-ia64: Add comment.
10516         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
10517         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10518         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
10519         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
10520         * config/m32c/t-m32c (LIB2ADD): Set.
10521         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10522         * config/m32r/t-m32r: Likewise.
10523         * config/m68k/fpgnulib.c: New file.
10524         * config/m68k/t-floatlib (LIB2ADD): Set.
10525         (xfgnulib.c): New target.
10526         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
10527         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
10528         * config/mep/t-mep (LIB2ADD): Set.
10529         * config/microblaze/divsi3.asm: Rename to divsi3.S.
10530         * config/microblaze/moddi3.asm: Rename to moddi3.S.
10531         * config/microblaze/modsi3.asm: Rename to modsi3.S.
10532         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
10533         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
10534         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
10535         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
10536         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
10537         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
10538         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
10539         New files.
10540         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
10541         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
10542         * config/pa/fptr.c, config/pa/lib2funcs.S,
10543         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
10544         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10545         (LIB2ADD, LIB2ADD_ST): Set.
10546         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
10547         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
10548         Set.
10549         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
10550         * config/pdp11/t-pdp11: New file.
10551         * config/picochip/libgccExtras/adddi3.S,
10552         config/picochip/libgccExtras/ashlsi3.S,
10553         config/picochip/libgccExtras/ashrsi3.S,
10554         config/picochip/libgccExtras/clzsi2.S,
10555         config/picochip/libgccExtras/cmpsi2.S,
10556         config/picochip/libgccExtras/divmod15.S,
10557         config/picochip/libgccExtras/divmodhi4.S,
10558         config/picochip/libgccExtras/divmodsi4.S,
10559         config/picochip/libgccExtras/lshrsi3.S,
10560         config/picochip/libgccExtras/parityhi2.S,
10561         config/picochip/libgccExtras/popcounthi2.S,
10562         config/picochip/libgccExtras/subdi3.S,
10563         config/picochip/libgccExtras/ucmpsi2.S,
10564         config/picochip/libgccExtras/udivmodhi4.S,
10565         config/picochip/libgccExtras/udivmodsi4.S: New files.
10566         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
10567         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
10568         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
10569         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
10570         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
10571         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
10572         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
10573         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
10574         files.
10575         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
10576         (HOST_LIBGCC2_CFLAGS): Set.
10577         * config/rs6000/t-darwin64: New file.
10578         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
10579         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
10580         * config/rs6000/t-ppccomm (LIB2ADD): Add
10581         $(srcdir)/config/rs6000/tramp.S.
10582         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
10583         Add  $(srcdir)/config/rs6000/eabi.S.
10584         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
10585         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
10586         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
10587         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
10588         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
10589         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
10590         * config/rs6000/tramp.S: New file.
10591         * config/s390/t-tpf: Remove.
10592         * config/sh/linux-atomic.S: New file.
10593         * config/sh/t-linux (LIB2ADD): Set.
10594         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
10595         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10596         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
10597         to unwind-dw2.c.
10598         (HOST_LIBGCC2_CFLAGS): Set.
10599         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10600         * config/spu/divmodti4.c, config/spu/divv2df3.c,
10601         config/spu/float_disf.c, config/spu/float_unsdidf.c,
10602         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
10603         config/spu/mfc_multi_tag_release.c,
10604         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
10605         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
10606         config/spu/multi3.c: New files.
10607         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
10608         (HOST_LIBGCC2_CFLAGS): Set.
10609         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
10610         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
10611         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
10612         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
10613         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
10614         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
10615         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
10616         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
10617         config/stormy16/umodsi3.c: New files.
10618         * config/xtensa/lib2funcs.S: New file.
10619         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10620         * config/xtensa/t-xtensa (LIB2ADD): Set.
10621         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
10622         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
10623         Add t-freebsd-thread to tmake_file for posix threads.
10624         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
10625         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
10626         (*-*-lynxos*): Likewise.
10627         (*-*-netbsd*): Likewise.
10628         (*-*-openbsd*): Likewise.
10629         Add t-openbsd-thread to tmake_file for posix threads.
10630         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
10631         (*-*-vxworks*): Set tmake_file.
10632         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10633         (alpha*-*-freebsd*): Likewise.
10634         (alpha*-*-netbsd*): Likewise.
10635         (alpha*-*-openbsd*): Likewise.
10636         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
10637         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10638         (alpha*-dec-*vms*): Likewise.
10639         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
10640         (bfin*-elf*): Add bfin/t-elf to tmake_file.
10641         (bfin*-uclinux*): Likewise.
10642         (bfin*-linux-uclibc*): Likewise.
10643         (crisv32-*-elf): Add cris/t-cris to tmake_file.
10644         (crisv32-*-none): Likewise.
10645         (cris-*-elf): Likewise.
10646         (cris-*-none): Likewise.
10647         (cris-*-linux*, crisv32-*-linux*): Likewise.
10648         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
10649         tmake_file.
10650         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
10651         tmake_file.
10652         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
10653         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
10654         (x86_64-*-elf*): Likewise.
10655         (i[34567]86-*-nto-qnx*): Likewise.
10656         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
10657         win32 threads.
10658         (x86_64-*-mingw*): Likewise.
10659         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
10660         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
10661         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10662         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10663         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
10664         tmake_file.
10665         (mipsisa64sr71k-*-elf*): Likewise.
10666         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10667         (mips-*-elf*, mipsel-*-elf*): Likewise.
10668         (mips64-*-elf*, mips64el-*-elf*): Likewise.
10669         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10670         (mips*-*-rtems*): Likewise.
10671         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
10672         to tmake_file.
10673         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
10674         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
10675         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
10676         (spu-*-elf*): Likewise.
10677         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
10679 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10681         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
10682         $(srcdir) to refer to $(LIB1ASMSRC).
10683         Use $<.
10684         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
10685         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
10686         config/arm/lib1funcs.S: New files.
10687         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
10688         * config/arm/t-arm: New file.
10689         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
10690         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
10691         config/arm/t-strongarm-elf: New files.
10692         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
10693         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
10694         * config/avr/lib1funcs.S: New file.
10695         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10696         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
10697         * config/c6x/lib1funcs.S: New file.
10698         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10699         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
10700         * config/frv/lib1funcs.S: New file.
10701         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10702         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
10703         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
10704         * config/ia64/__divxf3.asm: Rename to ...
10705         * config/ia64/__divxf3.S: ... this.
10706         Adapt lib1funcs.asm filename.
10707         * config/ia64/_fixtfdi.asm: Rename to ...
10708         * config/ia64/_fixtfdi.S: ... this.
10709         Adapt lib1funcs.asm filename.
10710         * config/ia64/_fixunstfdi.asm: Rename to ...
10711         * config/ia64/_fixunstfdi.S: ... this.
10712         Adapt lib1funcs.asm filename.
10713         * config/ia64/_floatditf.asm: Rename to ...
10714         * config/ia64/_floatditf.S: ... this.
10715         Adapt lib1funcs.asm filename.
10716         * config/ia64/lib1funcs.S: New file.
10717         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
10718         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10719         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
10720         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
10721         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
10722         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
10723         * config/mep/lib1funcs.S: New file.
10724         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10725         * config/mips/mips16.S: New file.
10726         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10727         * config/pa/milli64.S: New file.
10728         * config/pa/t-linux, config/pa/t-linux64: New files.
10729         * config/picochip/lib1funcs.S: New file.
10730         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10731         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
10732         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
10733         * config/sh/t-netbsd: New file.
10734         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
10735         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
10736         * config/sh/t-sh64: New file.
10737         * config/sparc/lb1spc.S: New file.
10738         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
10739         filename.
10740         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
10741         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
10742         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
10743         config/xtensa/lib1funcs.S: New files.
10744         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10745         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
10746         tmake_file.
10747         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
10748         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
10749         (arm*-*-linux*): Likewise.
10750         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
10751         arm*-*-linux-*eabi, add arm/t-linux otherwise.
10752         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
10753         (arm*-*-ecos-elf): Likewise.
10754         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10755         (arm*-*-rtems*): Likewise.
10756         (arm*-*-elf): Likewise.
10757         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
10758         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
10759         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
10760         (bfin*-uclinux*): Likewise.
10761         (bfin*-linux-uclibc*): Likewise.
10762         (bfin*-rtems*): Likewise.
10763         (bfin*-*): Likewise.
10764         (fido-*-elf): Merge into m68k-*-elf*.
10765         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
10766         (frv-*-*linux*): Add frv/t-frv to tmake_file.
10767         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
10768         (h8300-*-elf*): Likewise.
10769         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
10770         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
10771         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
10772         (i[34567]86-*-mingw*): Likewise.
10773         (x86_64-*-mingw*): Likewise.
10774         (i[34567]86-*-interix3*): Likewise.
10775         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
10776         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
10777         (m68k-*-elf*): Also handle fido-*-elf.
10778         Add m68k/t-floatlib to tmake_file.
10779         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
10780         (m68k-*-linux*): Likewise.
10781         (m68k-*-rtems*): Likewise.
10782         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
10783         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
10784         sh64*-*-*.
10785         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
10786         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
10787         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
10788         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
10789         sh/t-netbsd to tmake_file.
10790         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
10791         (sh-*-rtems*): Add sh/t-sh to tmake_file.
10792         (sh-wrs-vxworks): Likewise.
10793         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
10794         *-leon[3-9]*.
10795         (v850*-*-*): Add v850/t-v850 to tmake_file.
10796         (vax-*-linux*): Add vax/t-linux to tmake_file.
10797         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
10799 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10801         * crtstuff.c: New file.
10802         * Makefile.in (CRTSTUFF_CFLAGS): Define.
10803         (CRTSTUFF_T_CFLAGS): Define.
10804         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
10805         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
10806         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
10807         crtstuff.c.
10808         Use $<.
10809         (crtbeginT.o): Use $(objext).
10810         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
10811         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
10812         (gcc-extra-parts): Remove.
10813         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
10814         Set extra_parts.
10815         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10816         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
10817         Add t-crtstuff-pic to tmake_file.
10818         (*-*-lynxos*): New case.
10819         Set tmake_file, extra_parts.
10820         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
10821         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
10822         *-*-netbsdelf[2-9]*.
10823         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
10824         (*-*-rtems*): Set extra_parts.
10825         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
10826         (*-*-uclinux*): New case.
10827         Set extra_parts.
10828         (*-*-vms*): New case.
10829         Set tmake_file, extra_parts.
10830         (*-*-elf): Set extra_parts.
10831         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
10832         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
10833         vms/t-vms64.
10834         Set extra_parts.
10835         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
10836         Set extra_parts.
10837         (arm*-*-freebsd*): Add t-crtin to tmake_file.
10838         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
10839         (arm-wrs-vxworks): Append to tmake_file.
10840         Set extra_parts.
10841         (arm*-*-uclinux*): Set extra_parts.
10842         (arm*-*-ecos-elf): Likewise.
10843         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
10844         arm*-*-eabi*.
10845         (arm*-*-rtems*): Set extra_parts.
10846         (arm*-*-elf): Likewise.
10847         (avr-*-rtems*): Clear extra_parts.
10848         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
10849         Set extra_parts.
10850         (bfin*-uclinux*): Likewise.
10851         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
10852         (bfin*-rtems*): Append to tmake_file.
10853         Set extra_parts.
10854         (bfin*-*): Likewise.
10855         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
10856         (crisv32-*-elf): ... this.
10857         (crisv32-*-none): ... this.
10858         (cris-*-elf, cris-*-none): New cases.
10859         Add cris/t-elfmulti to tmake_file.
10860         (fr30-*-elf): Append to tmake_file.
10861         Set extra_parts.
10862         (frv-*-elf): Append to tmake_file, add frv/t-frv.
10863         Set extra_parts.
10864         (h8300-*-rtems*): Append to tmake_file.
10865         Set extra_parts.
10866         (h8300-*-elf*): Likewise.
10867         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
10868         Set extra_parts.
10869         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
10870         Set extra_parts.
10871         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
10872         (x86_64-*-elf*): Likewise.
10873         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
10874         (x86_64-*-freebsd*): Likewise.
10875         (x86_64-*-netbsd*): Likewise.
10876         (i[34567]86-*-linux*): Likewise.
10877         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10878         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10879         (x86_64-*-linux*): Likewise.
10880         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10881         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
10882         tmake_file.
10883         Set extra_parts.
10884         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
10885         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
10886         Append to extra_parts, remove crtbegin.o, crtend.o.
10887         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
10888         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
10889         crtend.o, crtbeginS.o, crtendS.o.
10890         (ia64*-*-linux*): Comment extra_parts.
10891         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
10892         Set extra_parts.
10893         (iq2000*-*-elf*): Clear extra_parts.
10894         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
10895         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
10896         (m32r-*-elf*, m32r-*-rtems*): Split off ...
10897         (m32r-*-rtems*): ... this.
10898         Add m32r/t-m32r to tmake_file.
10899         (m68k-*-elf*): Add t-crtin to tmake_file.
10900         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
10901         (mcore-*-elf): Likewise.
10902         (microblaze*-*-*): Set extra_parts.
10903         (mips*-sde-elf*): New case.
10904         Set tmake_file, extra_parts.
10905         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10906         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10907         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
10908         tmake_file.
10909         Set extra_parts.
10910         (mipsisa64sr71k-*-elf*): Likewise.
10911         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10912         (mips-*-elf*, mipsel-*-elf*): Likewise.
10913         (mips64-*-elf*, mips64el-*-elf*): Likewise.
10914         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
10915         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
10916         (mips*-*-rtems*): Likewise.
10917         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
10918         (moxie-*-*): Split into ...
10919         (moxie-*-elf, moxie-*-uclinux*): ... this.
10920         Add to extra_parts, remove crtbegin.o, crtend.o.
10921         (moxie-*-rtems*): New case.
10922         Set tmake_file.
10923         Clear extra_parts.
10924         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
10925         Set extra_parts.
10926         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10927         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
10928         tmake_file.
10929         Set extra_parts.
10930         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
10931         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
10932         Set extra_parts.
10933         (powerpc-*-eabisim*): Likewise.
10934         (powerpc-*-elf*): Likewise.
10935         (powerpc-*-eabialtivec*): Likewise.
10936         (powerpc-xilinx-eabi*): Likewise.
10937         (powerpc-*-eabi*): Likewise.
10938         (powerpc-*-rtems*): Likewise.
10939         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
10940         tmake_file.
10941         Set extra_parts.
10942         (powerpc-*-lynxos*): Add to tmake_file.
10943         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
10944         rs6000/t-crtstuff, t-crtstuff-pic.
10945         Set extra_parts.
10946         (powerpcle-*-eabisim*): Likewise.
10947         (powerpcle-*-eabi*): Likewise.
10948         (rx-*-elf): Remove extra_parts.
10949         (s390x-ibm-tpf*): Set extra_parts.
10950         (score-*-elf): Set extra_parts.
10951         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10952         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10953         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10954         (sh64l*-*-netbsd*): Split into ...
10955         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
10956         Add t-crtstuff-pic to tmake_file.
10957         Set extra_parts.
10958         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
10959         Set extra_parts.
10960         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
10961         (sparc-*-elf*): Remove t-crtin from tmake_file.
10962         Add to extra_parts, remove crtbegin.o, crtend.o.
10963         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
10964         (sparc64-*-linux*): Likewise.
10965         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
10966         Add to extra_parts, remove crtbegin.o, crtend.o.
10967         (sparc64-*-elf*): Remove t-crtin from tmake_file.
10968         Add to extra_parts, remove crtbegin.o, crtend.o.
10969         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
10970         Add to extra_parts, remove crtbegin.o, crtend.o.
10971         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
10972         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
10973         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
10974         Set extra_parts.
10975         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
10976         Set extra_parts.
10977         (tic6x-*-*): Change to ...
10978         (tic6x-*-elf): ... this.
10979         Set extra_parts.
10980         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
10981         Set extra_parts.
10982         (am33_2.0-*-linux*): Add comment.
10983         (mep*-*-*): Add mep/t-mep to tmake_file.
10984         Set extra_parts.
10985         * config/alpha/t-vms: New file.
10986         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
10987         * config/arm/crti.S, config/arm/crtn.S: New files.
10988         * config/bfin/crti.S, config/bfin/crtn.S: New files.
10989         * config/bfin/crtlibid.S: New file.
10990         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
10991         * config/c6x/crti.S, config/c6x/crtn.S: New files.
10992         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
10993         (crti.o, crtin.o): New rules.
10994         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10995         * config/c6x/t-uclinux: New file.
10996         * config/cris/t-elfmulti: New file.
10997         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
10998         * config/fr30/crti.S, config/fr30/crtn.S: New files.
10999         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
11000         * config/frv/t-frv: New file.
11001         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
11002         * config/h8300/crti.S, config/h8300/crtn.S: New files.
11003         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
11004         New files.
11005         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
11006         refer to cygming-crtbegin.c, cygming-crtend.c.
11007         Use $<.
11008         * config/i386/t-nto: New file.
11009         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
11010         * config/ia64/crti.S, config/ia64/crtn.S: New files.
11011         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
11012         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
11013         Use .S extension.
11014         Use $<.
11015         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11016         (crtinitS.o): New rule.
11017         * config/ia64/vms-crtinit.S: New file.
11018         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
11019         * config/m32r/initfini.c: New file.
11020         * config/m32r/t-linux, config/m32r/t-m32r: New files.
11021         * config/m68k/crti.S, config/m68k/crtn.S: New files.
11022         * config/mcore/crti.S, config/mcore/crtn.S: New files.
11023         * config/mep/t-mep: New file.
11024         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
11025         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
11026         * config/mips/crti.S, config/mips/crtn.S: New files.
11027         * config/mips/t-crtstuff: New file.
11028         * config/mmix/crti.S, config/mmix/crtn.S: New files.
11029         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
11030         (CUSTOM_CRTIN): Set.
11031         ($(T)crti.o, $(T)crtn.o): Remove $(T),
11032         dependencies.
11033         Use $(srcdir) to refer to crti.S, crtn.S.
11034         Use .S extension, $<.
11035         * config/moxie/crti.asm: Rename to ...
11036         * config/moxie/crti.S: ... this.
11037         * config/moxie/crtn.asm: Rename to ...
11038         * config/moxie/crtn.S: ... this.
11039         * config/moxie/t-moxie: Remove.
11040         * config/pa/stublib.c: New file.
11041         * config/pa/t-stublib, config/pa/t-stublib64: New files.
11042         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
11043         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
11044         * config/rs6000/t-crtstuff: New file.
11045         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
11046         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
11047         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
11048         Make output file explicit.
11049         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
11050         Make output file explicit.
11051         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
11052         Make output file explicit.
11053         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
11054         Make output file explicit.
11055         * config/score/crti.S, config/score/crtn.S: New files.
11056         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
11057         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
11058         files.
11059         * config/sh/t-sh, config/sh/t-superh: New files.
11060         * config/sparc/t-linux64: New file.
11061         * config/spu/cache.S, config/spu/cachemgr.c: New files.
11062         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
11063         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
11064         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
11065         * config/t-crtin: Remove.
11066         * config/t-crtstuff-pic: New file.
11067         * config/t-sol2 (CUSTOM_CRTIN): Set.
11068         (crti.o, crtn.o): New rules.
11069         * config/vms/t-vms: New file.
11070         * config/vms/vms-ucrt0.c: New file.
11071         * config/xtensa/t-elf: New file.
11073 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11075         * Makefile.in (SHLIB_NM_FLAGS): Set.
11076         * mkmap-flat.awk, mkmap-symver.awk: New files.
11077         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
11078         exceptions.
11079         * configure: Regenerate.
11080         * config/libgcc-glibc.ver: New file.
11081         * config/libgcc-libsystem.ver: New file.
11082         * config/t-libunwind (SHLIB_LC): Set.
11083         * config/t-linux: New file.
11084         * config/t-slibgcc (INSTALL_SHLIB): New.
11085         (SHLIB_INSTALL): Use it.
11086         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
11087         to mkmap-symver.awk.
11088         (SHLIB_MAPFILES): Don't append, adapt pathname.
11089         (SHLIB_VERPFX): Set.
11090         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
11091         to mkmap-symver.awk.
11092         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
11093         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
11094         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
11095         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
11096         to mkmap-flat.awk.
11097         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
11098         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
11099         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
11100         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
11101         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
11102         * config/i386/libgcc-darwin.10.4.ver,
11103         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
11104         New files.
11105         * config/i386/t-darwin: Remove.
11106         * config/i386/t-darwin64: Likewise.
11107         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
11108         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
11109         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
11110         * config/i386/t-linux: New file.
11111         * config/i386/t-mingw32: New file.
11112         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
11113         * config/ia64/t-glibc: Rename to ...
11114         * config/ia64/t-linux: ... this.
11115         (SHLIB_MAPFILES): Set.
11116         * config/ia64/t-glibc-libunwind: Rename to ...
11117         * config/ia64/t-linux-libunwind: ... this.
11118         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
11119         * config/ia64/t-slibgcc-hpux: New file.
11120         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
11121         * config/m68k/t-slibgcc-elf-ver: New file.
11122         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
11123         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
11124         to mkmap-flat.awk.
11125         * config/pa/t-slibgcc-hpux: New file.
11126         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
11127         files.
11128         * config/rs6000/libgcc-darwin.10.4.ver,
11129         config/rs6000/libgcc-darwin.10.5.ver: New files.
11130         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
11131         config/rs6000/libgcc-glibc.ver.
11132         * config/rs6000/libgcc-ppc64.ver: Rename to
11133         config/rs6000/libgcc-ibm-ldouble.ver.
11134         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
11135         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
11136         * config/rs6000/t-ldbl128: Rename to ...
11137         * config/rs6000/t-linux: ... this.
11138         (SHLIB_MAPFILES): Adapt filename.
11139         * config/rs6000/t-slibgcc-aix: New file.
11140         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
11141         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
11142         libgcc-excl.ver, libgcc-glibc.ver.
11143         (SHLIB_LINK, SHLIB_INSTALL): Remove.
11144         * config/sparc/libgcc-glibc.ver: New file.
11145         * config/sparc/t-linux: New file.
11146         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
11147         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
11148         t-slibgcc-elf-ver to tmake_file.
11149         Add t-slibgcc-nolc-override to tmake_file for posix threads on
11150         *-*-freebsd[34].
11151         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11152         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
11153         t-slibgcc-elf-ver, t-linux to tmake_file.
11154         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
11155         tmake_file.
11156         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
11157         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
11158         (alpha*-dec-*vms*): Likewise.
11159         (arm*-*-freebsd*): Append to tmake_file.
11160         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
11161         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
11162         arm*-*-linux-*eabi.
11163         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
11164         tmake_file for arm*-*-symbianelf*.
11165         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
11166         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
11167         cris/t-linux.
11168         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
11169         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
11170         pa/t-slibgcc-dwarf-ver to tmake_file.
11171         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
11172         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
11173         (hppa*64*-*-hpux11*): Likewise.
11174         (hppa[12]*-*-hpux11*): Likewise.
11175         (x86_64-*-darwin*): Don't override tmake_file, but only keep
11176         i386/t-crtpc, i386/t-crtfm.
11177         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
11178         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11179         to tmake_file.
11180         Add i386/t-cygwin to tmake_file.
11181         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
11182         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
11183         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11184         to tmake_file.
11185         Add i386/t-mingw32 to tmake_file.
11186         (x86_64-*-mingw*): Likewise.
11187         (ia64*-*-freebsd*): Append to tmake_file.
11188         (ia64*-*-linux*): Append to tmake_file.
11189         Replace ia64/t-glibc by ia64/t-linux.
11190         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
11191         system libunwind.
11192         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
11193         t-slibgcc-hpux to tmake_file.
11194         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
11195         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
11196         (m32rle-*-linux*): Likewise.
11197         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
11198         sjlj exceptions.
11199         (microblaze*-linux*): New case.
11200         Append to tmake_file, add t-slibgcc-nolc-override.
11201         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
11202         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11203         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
11204         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11205         rs6000/t-slibgcc-aix to tmake_file.
11206         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11207         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11208         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11209         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11210         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11211         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
11212         sh*-*-linux*.
11213         (sparc-*-linux*): Append to tmake_file for *-leon*.
11214         Add sparc/t-linux to tmake_file for non-Leon targets.
11215         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
11216         (tic6x-*-uclinux): New case.
11217         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
11218         (tic6x-*-*): Add c6x/t-elf to tmake_file.
11219         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
11220         (am33_2.0-*-linux*): Append to tmake_file.
11221         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
11222         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
11223         x86_64-*-kfreebsd*-gnu.
11224         Add i386/t-linux to tmake_file.
11226 2011-10-28  Ian Lance Taylor  <iant@google.com>
11228         * config/i386/morestack.S: Correct CFI information to do proper
11229         returns throughout function.  In 32-bit mode, save %ebx so that it
11230         is restored on unwind.
11232 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
11234         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
11235         case where B3 isn't the return register.
11237         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
11238         logic for doubleword pops.
11240 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
11242         * config/rs6000/t-freebsd: Add wildcard.
11244 2011-10-21  Paul Brook  <paul@codesourcery.com>
11246         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
11248 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
11249             Eric Botcazou  <ebotcazou@adacore.com>
11251         PR target/50737
11252         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
11253         fs->signal_frame to 1.
11255 2011-10-07  Ian Lance Taylor  <iant@google.com>
11257         * generic-morestack-thread.c: #include <errno.h>.
11259 2011-10-07  Ian Lance Taylor  <iant@google.com>
11261         PR target/46093
11262         * generic-morestack.c (__generic_morestack): Make sure the segment
11263         is large enough for both the stack frame and the copied
11264         parameters.
11266 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11268         PR bootstrap/49804
11269         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
11270         extra_parts.
11272 2011-09-28  Nick Clifton  <nickc@redhat.com>
11274         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
11275         64-bit doubles are not enabled.
11276         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
11277         and floatunsisf functions.
11279 2011-09-13  Paul Brook  <paul@codesourcery.com>
11281         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
11282         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
11283         * unwind-arm-common.inc: New file.
11284         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
11285         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
11286         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
11287         * config/c6x/libunwind.S: New file.
11288         * config/c6x/pr-support.c: New file.
11289         * config/c6x/unwind-c6x.c: New file.
11290         * config/c6x/unwind-c6x.h: New file.
11291         * config/c6x/t-c6x-elf: New file.
11293 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
11295         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
11296         (ASM_DIVZERO): Ditto.
11297         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
11299 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
11301         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
11303 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
11305         PR target/50090
11306         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
11307         instead of an assembly one.
11309 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
11311         PR bootstrap/50047
11312         * Makefile.in (install-unwind_h): Create
11313         $(gcc_objdir)/include/unwind.h atomically.
11315 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11317         * Makefile.in (install-unwind_h): Remove destination file first.
11319 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11321         * sync.c: New file.
11322         * config/mips/t-mips16: New file.
11323         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
11324         (mips*-*-linux*): Likewise.
11325         (mips*-sde-elf*): Likewise.
11326         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
11327         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
11328         Add mips/t-mips16 to tmake_file.
11329         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
11330         (mips-*-elf*): Likewise.
11331         (mips64-*-elf*): Likewise.
11332         (mips64orion-*-elf*): Likewise.
11333         (mips*-*-rtems*): Likewise.
11334         (mipstx39-*-elf*): Likewise.
11335         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
11336         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
11337         LIBGCC_SYNC_CFLAGS.
11338         Use $(srcdir) to refer to sync.c.
11339         Use $<.
11340         ($(libgcc-sync-funcs-o)): Likewise.
11341         ($(libgcc-sync-size-funcs-s-o)): Likewise.
11342         ($(libgcc-sync-funcs-s-o)): Likewise.
11344 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
11346         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
11347         t-libunwind.
11349 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
11351         PR other/48007
11352         * config/i386/value-unwind.h: New.
11354 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
11356         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
11357         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
11358         Add to tmake_file rather than overriding it.
11360 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11362         * config/t-softfp: Remove.
11363         * soft-fp: Moved from ../gcc/config.
11364         * soft-fp/README: Remove t-softfp reference.
11365         * soft-fp/t-softfp: Move to config/t-softfp.
11366         (softfp_machine_header): Remove.
11367         (softfp_file_list): Remove config subdir.
11368         (soft-fp-objects): New variable.
11369         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
11370         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
11371         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
11372         * config/t-softfp-excl: New file.
11373         * config/t-softfp-sfdf: New file.
11374         * config/t-softfp-tf: New file.
11375         * config/no-sfp-machine.h: New file.
11376         * config/arm/sfp-machine.h: New file.
11377         * config/arm/t-softfp: New file.
11378         * config/c6x/sfp-machine.h: New file.
11379         * config/i386/32/t-fprules-softfp: Rename to ...
11380         * config/i386/32/t-softfp: ... this.
11381         (tifunctions, LIB2ADD): Remove.
11382         (softfp_int_modes): Override.
11383         * config/i386/64/t-softfp-compat (tf-functions): Remove config
11384         subdir.
11385         * config/i386/64/eqtf2.c: Likewise.
11386         * config/i386/64/getf2.c: Likewise.
11387         * config/i386/64/letf2.c: Likewise.
11388         * config/ia64/sft-machine.h: New file.
11389         * config/ia64/t-fprules-softfp: Rename to ...
11390         * config/ia64/t-softfp: ... this.
11391         * config/lm32/sfp-machine.h: New file.
11392         * config/moxie/t-moxie-softfp: Remove.
11393         * config/rs6000/ibm-ldouble-format: New file.
11394         * config/rs6000/ibm-ldouble.c: New file.
11395         * config/rs6000/libgcc-ppc-glibc.ver: New file
11396         * config/rs6000/libgcc-ppc64.ver: New file
11397         * config/rs6000/sfp-machine.h: New file.
11398         * config/rs6000/t-freebsd: New file.
11399         * config/rs6000/t-ibm-ldouble: New file.
11400         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
11401         libgcc-ppc-glibc.ver.
11402         * config/rs6000/t-linux64: New file.
11403         * config/rs6000/t-ppccomm (LIB2ADD): Add
11404         $(srcdir)/config/rs6000/ibm-ldouble.c.
11405         * config/rs6000/t-ppccomm-ldbl: New file.
11406         * config/score/sfp-machine.h: New file.
11407         * config.host (sfp_machine_header): Explain.
11408         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
11409         t-softfp to tmake_file.
11410         (arm*-*-uclinux*): Likewise.
11411         (arm*-*-ecos-elf): Likewise.
11412         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11413         (arm*-*-rtems*): Likewise.
11414         (arm*-*-elf): Likewise.
11415         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
11416         in tmake_file.
11417         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
11418         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
11419         (lm32-*-uclinux*): Likewise.
11420         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
11421         t-softfp-excl, t-softfp.
11422         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
11423         (powerpc64-*-darwin*): Likewise.
11424         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
11425         to tmake_file.
11426         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
11427         tmake_file.
11428         (powerpc-*-eabisim*): Likewise.
11429         (powerpc-*-elf*): Likewise.
11430         (powerpc-*-eabialtivec*): Likewise.
11431         (powerpc-xilinx-eabi*): Likewise.
11432         (powerpc-*-rtems*): Likewise.
11433         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
11434         t-softfp-excl, t-softfp to tmake_file.
11435         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
11436         rs6000/t-ppccomm-ldbl to tmake_file.
11437         (powerpcle-*-elf*): Likewise.
11438         (powerpcle-*-eabisim*): Likewise.
11439         (powerpcle-*-eabi*): Likewise.
11440         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11441         rs6000/t-ibm-ldouble to tmake_file.
11442         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11443         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11444         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
11445         (tic6x-*-*): Likewise.
11446         (i[34567]86-*-darwin*, x86_64-*-darwin*,
11447         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
11448         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
11449         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
11450         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
11451         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
11452         t-softfp to tmake_file.
11453         * configure.ac (sfp_machine_header): Provide default if unset.
11454         Substitute.
11455         Link sfp-machine.h to config/$sfp_machine_header.
11456         * configure: Regenerate.
11458 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11460         * Makefile.in (double_type_size, long_double_type_size): Set.
11461         Remove $(fpbit-in-libgcc) support.
11462         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
11463         (fpbit-src): New variable.
11464         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
11465         Compile with -DFLOAT $(FPBIT_CFLAGS).
11466         Use $<.
11467         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
11468         Compile with $(FPBIT_CFLAGS).
11469         Use $<.
11470         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
11471         Compile with -DFLOAT $(TPBIT_CFLAGS).
11472         Use $<.
11473         * configure.ac (double_type_size, long_double_type_size):
11474         Determine and substitute.
11475         * configure: Regenerate.
11476         * fp-bit.c, fp-bit.h: New files.
11477         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
11478         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
11479         * config/mips/t-mips: New file.
11480         * config/mips/t-sdemtk: New file.
11481         * config/rs6000/ppc64-fp.c: New file.
11482         * config/rs6000/t-darwin (LIB2ADD): Add
11483         $(srcdir)/config/rs6000/ppc64-fp.c.
11484         * config/rs6000/t-ppc64-fp: New file.
11485         * config/rx/rx-lib.h: New file.
11486         * config/rx/t-rx (FPBIT): Set to true.
11487         ($(gcc_objdir)/fp-bit.c): Remove.
11488         (DPBIT): Set to true only with -m64bit-doubles.
11489         ($(gcc_objdir)/dp-bit.c): Remove.
11490         * config/sparc/t-softfp: Remove.
11491         * config/spu/t-elf: New file.
11492         * config/t-fdpbit, config/t-fpbit: New files.
11493         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
11494         (mips*-*-*): Likewise.
11495         (arm-wrs-vxworks): Likewise.
11496         (arm*-*-freebsd*): Likewise.
11497         (avr-*-rtems*): Add t-fpbit to tmake_file.
11498         (avr-*-*): Likewise.
11499         (bfin*-elf*): Add t-fdpbit to tmake_file.
11500         (bfin*-uclinux*): Likewise.
11501         (bfin*-linux-uclibc*): Likewise.
11502         (bfin*-rtems*): New case.
11503         Add t-fdpbit to tmake_file.
11504         (bfin*-*): Add t-fdpbit to tmake_file.
11505         (crisv32-*-elf): Likewise.
11506         (cris-*-linux*): Likewise.
11507         (fr30-*-elf): Likewise.
11508         (frv-*-elf, frv-*-*linux*): Likewise.
11509         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
11510         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
11511         (m32r-*-elf*): Likewise.
11512         (m32rle-*-elf*): Likewise.
11513         (m32r-*-linux*): Likewise.
11514         (m32rle-*-linux*): Likewise.
11515         (mcore-*-elf): Add t-fdpbit to tmake_file.
11516         (microblaze*-*-*): Likewise.
11517         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
11518         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
11519         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
11520         Fix typo.
11521         Add mips/t-tpbit to tmake-file.
11522         (mips*-*-linux*): Fix typo.
11523         (mips*-sde-elf*): New case
11524         Add mips/t-sdemtk unless using newlib.
11525         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
11526         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
11527         (mn10300-*-*): Likewise.
11528         (pdp11-*-*): Likewise.
11529         (picochip-*-*): Add t-fpbit to tmake_file.
11530         (powerpc-*-eabisimaltivec*): Likewise.
11531         (powerpc-*-eabisim*): Likewise.
11532         (powerpc-*-elf*): Likewise.
11533         (powerpc-*-eabialtivec*): Likewise.
11534         (powerpc-xilinx-eabi*): New case.
11535         Add t-fdpbit to tmake_file.
11536         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
11537         (powerpc-*-rtems*): Likewise.
11538         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
11539         tmake_file.
11540         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
11541         tmake_file.
11542         (powerpc-*-lynxos*): Likewise.
11543         (powerpcle-*-elf*): Likewise.
11544         (powerpcle-*-eabisim*): Likewise.
11545         (powerpcle-*-eabi*): Likewise.
11546         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11547         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
11548         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11549         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11550         (rx-*-elf): Add t-fdpbit to tmake_file.
11551         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11552         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11553         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11554         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
11555         sh*-*-netbsd*.
11556         (sh-*-rtems*): Add t-fdpbit to tmake_file.
11557         (sh-wrs-vxworks): Likewise.
11558         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
11559         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
11560         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
11561         (sparc64-*-rtems*): ... new case.
11562         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
11563         (spu-*-elf*): Likewise.
11564         Add spu/t-elf to tmake_file.
11565         (v850*-*-*): Add t-fdpbit to tmake_file.
11566         (xstormy16-*-elf): Likewise.
11567         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
11568         (mep*-*-*): Likewise.
11570 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11572         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
11573         variables.
11574         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
11575         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
11576         (install-unwind_h): New target.
11577         (all): Depend on it.
11578         * config.host (unwind_header): New variable.
11579         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
11580         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11581         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
11582         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
11583         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
11584         Set unwind_header.
11585         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
11586         Set unwind_header.
11587         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
11588         arm*-*-eabi*.
11589         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
11590         Set unwind_header.
11591         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
11592         (ia64*-*-freebsd*): Likewise.
11593         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
11594         tmake_file.
11595         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
11596         $with_system_libunwind.
11597         (ia64*-*-hpux*): Set tmake_file.
11598         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
11599         (picochip-*-*): Set tmake_file.
11600         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
11601         md_unwind_header.
11602         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11603         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11604         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
11605         (xtensa*-*-elf*): Set tmake_file.
11606         (xtensa*-*-linux*): Likewise.
11607         * configure.ac: Include ../config/unwind_ipinfo.m4.
11608         Call GCC_CHECK_UNWIND_GETIPINFO.
11609         Link unwind.h to $unwind_header.
11610         * configure: Regenerate.
11611         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
11612         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
11613         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
11614         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
11615         * config/unwind-dw2-fde-darwin.c: New file.
11616         * config/arm/libunwind.S, config/arm/pr-support.c,
11617         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
11618         config/arm/unwind-arm.h,: New files.
11619         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
11620         config/ia64/t-eh-ia64, config/ia64/t-glibc,
11621         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
11622         config/ia64/t-vms, config/ia64/unwind-ia64.c,
11623         config/ia64/unwind-ia64.h: New files.
11624         * config/picochip/t-picochip: New file.
11625         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
11626         files.
11627         * config/rs6000/t-darwin (LIB2ADDEH): Set.
11628         * config/s390/t-tpf (LIB2ADDEH): Remove.
11629         * config/t-darwin (LIB2ADDEH): Set.
11630         * config/t-eh-dw2-dip: New file.
11631         * config/t-libunwind, config/t-libunwind-elf: New files.
11632         * config/t-sol2 (LIB2ADDEH): Remove.
11633         * config/xtensa/t-xtensa: New file.
11635 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
11637         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
11638         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
11639         long long to check rt_sigreturn syscall.
11641 2011-08-02  Alan Modra  <amodra@gmail.com>
11643         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11644         Restore for indirect call bcrtl from correct stack slot, and only
11645         if cfa+40 isn't valid.
11647 2011-08-01  Julian Brown  <julian@codesourcery.com>
11649         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
11650         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
11651         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
11653 2011-08-01  Julian Brown  <julian@codesourcery.com>
11655         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
11656         (libgcc-std.ver.in): Use above.
11657         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
11658         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
11659         throughout file.
11660         * config/t-fixedpoint-gnu-prefix: New file.
11661         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
11662         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
11663         instead of __PFX__.
11665 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
11667         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
11668         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
11669         for x86-64.  Properly check __x86_64__ and __LP64__.
11671 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
11673         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
11674         version.
11675         (_FP_WS_TYPE): Likewise.
11676         (_FP_I_TYPE): Likewise.
11678 2011-07-28  Alan Modra  <amodra@gmail.com>
11680         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11681         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
11682         in a plt call stub.  Do restore r2 if stopped on bctrl.
11684 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11686         * config.host (i[3456x]86-*-netware*): Remove.
11687         * config/i386/netware-crt0.c, config/i386/t-nwld,
11688         config/i386/t-slibgcc-nwld: Remove.
11690 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
11692         * config.host: Handle tic6x-*-*.
11693         * config/c6x/c6x-abi.h: New file.
11695 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11697         * config/i386/crtprec.c: New file.
11698         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
11699         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
11700         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
11701         (x86_64-*-darwin*): Likewise.
11702         (i[34567]86-*-solaris2*: Likewise.
11704 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11706         * config/alpha/crtfastmath.c: New file.
11707         * config/i386/crtfastmath.c: New file.
11708         * config/ia64/crtfastmath.c: New file.
11709         * config/mips/crtfastmath.c: New file.
11710         * config/sparc/crtfastmath.c: New file.
11712         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
11713         crtfastmath.c.
11714         Add -frandom-seed=gcc-crtfastmath.
11715         * config/alpha/t-crtfm: Remove.
11716         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
11717         * config/ia64/t-ia64 (crtfastmath.o): Remove.
11719         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
11720         (alpha*-dec-osf5.1*): Likewise.
11721         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
11722         Add crtfastmath.o to extra_parts.
11723         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
11724         Add crtfastmath.o to extra_parts.
11725         (x86_64-*-darwin*): Likewise.
11726         (x86_64-*-mingw*): Likewise.
11727         (ia64*-*-elf*): Add t-crtfm to tmake_file.
11728         (ia64*-*-freebsd*): Likewise.
11729         (ia64*-*-linux*): Likewise.
11730         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
11731         Add crtfastmath.o to extra_parts.
11733 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11735         * config/darwin-crt3.o: New file.
11736         * config/rs6000/darwin-crt2.c: New file.
11737         * config/t-darwin: New file.
11738         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
11739         (crt2.o): New rule.
11740         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
11741         (powerpc-*-darwin*): Add crt2.o to extra_parts.
11742         (powerpc64-*-darwin*): Likewise.
11744 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11746         * config/i386/netware-crt0.c: New file.
11747         * config/i386/t-nwld: Rename to ...
11748         * config/i386/t-slibgcc-nwld: ... this.
11749         * config/i386/t-nwld: New file.
11750         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
11751         tmake_file.
11752         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
11753         extra_parts.
11755 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11757         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
11758         i386/t-crtstuff.
11759         * configure: Regenerate.
11761 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11763         * dfp-bit.c, dfp-bit.h: New files.
11764         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
11765         variables.
11766         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
11767         ($(d64pbit-o)): Likewise.
11768         ($(d128pbit-o)): Likewise.
11769         * config/t-dfprules: New file.
11770         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
11771         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
11772         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11773         (x86_64-*-linux*): Likewise.
11774         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11775         (i[34567]86-*-cygwin*): Likewise.
11776         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
11777         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11779 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11781         * Makfile.in (LIBGCOV): New variable.
11782         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
11783         * libgcov.c: New file.
11785 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11787         * fixed-bit.c, fixed-bit.h: New files.
11788         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
11789         refer to fixed-bit.c.
11791 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
11793         * config.host (*local*): Remove.
11795 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11797         PR target/39150
11798         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
11799         like i?86-*-solaris2.1[0-9]*.
11800         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
11801         * configure.ac (i?86-*-solaris2*): Likewise.
11802         * configure: Regenerate.
11804 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
11806         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11807         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
11808         md_unwind_header by splitting out of...
11809         (i[34567]86-*-linux*): ... this.
11810         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
11811         Remove md_unwind_header by splitting out of...
11812         (x86_64-*-linux*): ... this.
11814 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
11816         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
11818 2011-06-28  Nick Clifton  <nickc@redhat.com>
11820         * config.host: Recognize all V850 variants.
11822 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
11824         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
11826 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11828         * shared-object.mk (c_flags-$o): Save c_flags.
11829         ($(base)$(objext)): Use it.
11830         ($(base)_s$(objext)): Likewise.
11832 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
11834         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
11835         * libgcc-std.ver.in (GCC_4.7.0): New section.
11837 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
11839         PR target/49313
11840         PR target/29524
11841         * config/avr/t-avr: Fix line endings.
11842         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
11843         _parityXX2.
11845 2011-06-14  Olivier Hainque  <hainque@adacore.com>
11846             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11848         * config/mips/irix6-unwind.h: New file.
11849         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
11851 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
11853         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
11854         (sparc64_fallback_frame_state): Use it.
11855         (sparc64_frob_update_context): Further adjust context.
11856         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
11857         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
11858         * config/sparc/sol2-cn.S: Likewise.
11860 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11862         * enable-execute-stack-empty.c: New file.
11863         * enable-execute-stack-mprotect.c: New file.
11864         * config/i386/enable-execute-stack-mingw32.c: New file.
11865         * config.host (enable_execute_stack): New variable.
11866         Select appropriate variants.
11867         * configure.ac: Link enable-execute-stack.c to
11868         $enable_execute_stack.
11869         * configure: Regenerate.
11870         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
11871         (lib2funcs): Remove _enable_execute_stack.
11873 2011-06-09  David S. Miller  <davem@davemloft.net>
11874             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11876         * config.host (sparc-*-linux*): Correct md_unwind_header
11877         filename.
11878         (s390x-ibm-tpf*): Fix typo.
11880 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11882         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
11883         Add crtfastmath.o to extra_parts.
11884         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
11885         mips/t-crtfm.
11886         * config/mips/t-crtfm: Remove.
11888 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
11890         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
11892 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
11894         * config.host (sh*-*-linux*): Fix typo.
11896 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11898         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
11899         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
11900         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
11901         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
11902         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
11903         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
11904         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
11905         Wrap in !__MINGW64__.
11906         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
11907         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
11908         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
11909         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
11910         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
11911         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
11912         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
11913         Wrap in !__LP64__.
11914         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
11915         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
11916         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
11917         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
11918         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
11919         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
11920         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
11921         * config/no-unwind.h: New file.
11922         * config.host (md_unwind_header): Document.
11923         Define.
11924         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
11925         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
11926         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
11927         hppa[12]*-*-hpux11*): Set md_unwind_header.
11928         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
11929         Set md_unwind_header.
11930         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
11931         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
11932         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
11933         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
11934         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
11935         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
11936         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
11937         md_unwind_header.
11938         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
11939         * configure: Regenerate.
11941 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11943         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
11944         Set tmake_file, extra_parts.
11945         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
11946         Remove O32 support.
11947         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
11948         Remove O32 support.
11949         * config/mips/t-irix6: New file.
11950         * config/mips/t-slibgcc-irix: New file.
11952 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11954         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
11955         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
11957 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11959         * configure.ac (target_thread_file): Determine thread model.
11960         * configure: Regenerate.
11961         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
11962         * config/alpha/t-alpha: New file.
11963         * config/alpha/t-crtfm: Use $<.
11964         * config/alpha/t-ieee: New file.
11965         * config/alpha/t-osf-pthread: New file.
11966         * config/alpha/t-slibgcc-osf: New file.
11967         * config/alpha/libgcc-osf5.ver: New file.
11969 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11971         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
11972         tmake_file.
11973         Add crtfastmath.o to extra_parts.
11975 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11977         * config/gmon-sol2.c: Reindent.
11978         Cleanup comments.
11979         Remove, correct casts.
11980         Use STDERR_FILENO, NULL.
11981         (BASEADDRESS): Remove.
11982         (minbrk): Remove.
11983         (errno, sbrk): Remove declarations.
11984         (monstartup) [hp300]: Remove.
11985         (mcount): Remove.
11987 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11989         * Makefile.in (cpu_type): Define.
11990         * config.host (i[34567]86-*-rtems*): Handle it.
11991         (i[34567]86-*-solaris2*): Move body ...
11992         (*-*-solaris2*): ... here.
11993         New case, generalize.
11994         (sparc-*-elf*): Handle it.
11995         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
11996         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
11997         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
11998         Fold into ...
11999         (sparc*-*-solaris2*): ... this.
12000         New case.
12001         (sparc64-*-elf*): Handle it.
12002         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
12003         Merge ../gcc/config/i386/gmon-sol2.c.
12004         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
12005         Use C comments.
12006         Merge ../gcc/config/i386/sol2-gc1.asm.
12007         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
12008         Use C comments.
12009         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
12010         Use C comments.
12011         * config/i386/t-crtfm (crtfastmath.o): Use $<.
12012         * config/i386/t-crtstuff: New file.
12013         * config/i386/t-softfp: New file.
12014         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
12015         $(T)crti.o, $(T)crtn.o): Remove.
12016         (gcrt1.o): New rule.
12017         (TARGET_LIBGCC2_CFLAGS): Remove.
12018         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
12019         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
12020         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
12021         * config/sparc/t-sol2: New file.
12022         * config/sparc/t-crtfm: Move to ...
12023         * config/t-crtfm: ... this.
12024         Use $(cpu_type), $<.
12025         * config/t-crtin: New file.
12026         * config/sparc/t-softfp: New file.
12027         * config/sparc/t-softmul: New file.
12028         * config/t-rtems: New file.
12029         * config/t-slibgcc: New file.
12030         * config/t-slibgcc-elf-ver: New file.
12031         * config/t-slibgcc-gld: New file.
12032         * config/t-slibgcc-sld: New file.
12033         * config/t-sol2: New file.
12034         * configure.ac: Include ../config/lib-ld.m4.
12035         Call AC_LIB_PROG_LD_GNU.
12036         Substitute cpu_type.
12037         * configure: Regenerate.
12039 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
12041         PR bootstrap/49173
12042         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
12043         libgcc-std.ver in the build directory.
12044         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
12045         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
12047 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
12049         * libgcc-std.ver.in: New file.
12050         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
12051         variables.
12052         (libgcc-std.ver): New rule.
12053         * config/t-gnu-prefix: New file.
12055 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12057         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
12059 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
12061         * config/i386/darwin-lib.h: New file.
12063 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
12065         * config/arm/symbian-lib.h: New.
12067 2011-05-04  Chris Demetriou  <cgd@google.com>
12069         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
12070         (__x86.get_pc_thunk.bx): ...this.
12071         (__morestack): Adjust for rename, remove undef of __i686.
12073 2011-05-03  Chris Demetriou  <cgd@google.com>
12075         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
12077 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
12079         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
12080         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
12081         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
12082         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
12083         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
12084         Remove cases.
12086 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
12088         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
12089         Adjust copyright year.
12091 2011-03-07  Ian Lance Taylor  <iant@google.com>
12093         * generic-morestack.c (__splitstack_find): Adjust returned stack
12094         pointer to include all registers pushed by __morestack.
12096 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
12098         PR target/40125
12099         * configure.ac: Call ACX_NONCANONICAL_TARGET.
12100         (toolexecdir): Calculate and AC_SUBST.
12101         (toolexeclibdir): Likewise.
12102         * Makefile.in (target_noncanonical): Import.
12103         (toolexecdir): Likewise.
12104         (toolexeclibdir): Likewise.
12105         * configure: Regenerate.
12107 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
12109         PR target/46040
12110         * config/arm/bpabi.h: Rename to...
12111         * config/arm/bpabi-lib.h: ...this.
12113 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12115         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
12116         appropriate.
12117         * configure: Regenerate.
12119 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
12121         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
12122         __FLOAT_WORD_ORDER__.
12123         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
12124         Delete.
12126 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12128         PR other/46202
12129         * Makefile.in (install-strip): New phony target.
12131 2010-11-07  Ian Lance Taylor  <iant@google.com>
12133         PR target/46089
12134         * config/i386/morestack.S (__morestack_large_model): New
12135         function.
12137 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
12139         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
12140         Delete.
12141         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
12143 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
12145         * config/arm/bpabi.h: New file.
12146         * config/frv/frv-abi.h: New file.
12148 2010-10-01  Ian Lance Taylor  <iant@google.com>
12150         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
12151         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
12153 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
12155         PR target/45858
12156         * config.host: Add the missing `$'.
12158 2010-09-30  Michael Eager  <eager@eagercon.com>
12160         * config.host: Add microblaze*-*-*.
12161         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
12162         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
12163         udivsi3.asm,umodsi3.asm}:  New.
12165 2010-09-28  Ian Lance Taylor  <iant@google.com>
12167         * configure.ac: Adjust CFI test to test assembler directly rather
12168         than checking gcc preprocessor macro.
12169         * configure: Rebuild.
12171 2010-09-27  Ian Lance Taylor  <iant@google.com>
12173         * configure.ac: Test whether assembler supports CFI directives.
12174         * config.host: Only add t-stack and i386/t-stack-i386 to
12175         tmake_file if libgcc_cv_cfi is "yes".
12176         * configure: Rebuild.
12178 2010-09-27  Ian Lance Taylor  <iant@google.com>
12180         * generic-morestack.h: New file.
12181         * generic-morestack.c: New file.
12182         * generic-morestack-thread.c: New file.
12183         * config/i386/morestack.S: New file.
12184         * config/t-stack: New file.
12185         * config/i386/t-stack-i386: New file.
12186         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
12187         i386/t-stack-i386 to tmake_file.
12189 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
12191         * Makefile.in (libgcc-extra-parts):  Check for static archives and
12192         invoke ranlib after installing them.
12193         (gcc-extra-parts): Likewise.
12194         (install-leaf): Likewise.
12196 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
12198         * configure: Regenerated.
12200 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
12202         * configure: Regenerated.
12204 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
12205             Andrew Pinski  <pinskia@gmail.com>
12207         PR target/40959
12208         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
12210 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12212         PR target/45524
12213         * configure: Regenerated.
12215 2010-09-06  Andreas Schwab  <schwab@redhat.com>
12217         * configure: Regenerate.
12219 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
12221         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
12222         64bit targets.
12223         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
12224         for 64bit targets.
12226 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
12227             Iain Sandoe  <iains@gcc.gnu.org>
12229         PR target/45476
12230         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
12231         LIB2FUNCS_EXCLUDE functions.
12233 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12235         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
12236         Include dfp.m4.
12237         * configure: Regenerate.
12239 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
12241         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
12242         i386/t-freebsd to tmake_file.
12243         * config/i386/t-freebsd: New file.
12244         * config/i386/libgcc-bsd.ver: New file.
12246 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
12248         * config.host (powerpc*-eabispe*): Set tmake_file.
12249         (powerpc*-eabi*): Likewise.
12250         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
12251         crtbeginS, crtendS, crtbeginT.
12253 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
12255         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
12256         to tmake_file.  Add crtfastmath.o to extra_parts.
12257         * config/mips/t-crtfm: New.
12259 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
12261         * config.host (sparc64-*-rtems*): New target.
12263 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12265         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12266         assembler syntax.
12268 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
12270         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
12272 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12274         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
12275         alpha-dec-osf5.0* support.
12277 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
12279         * config.host: Add lm32-*-rtems*.
12281 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12282             Uros Bizjak  <ubizjak@gmail.com>
12284         PR target/39048
12285         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
12286         like other remaining 32-bit x86 OSes.
12287         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12288         assembler syntax.
12289         * config/i386/libgcc-sol2.ver: New file.
12290         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
12292 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
12294         PR c/43553
12295         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
12296         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
12297         is used and substitute set_use_emutls.
12298         * configure: Regenerated.
12300 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
12302         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
12304 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12306         PR target/38085
12307         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
12308         MULTILIB_CFLAGS.
12309         ($(T)gcrt1.o): Likewise.
12310         ($(T)crt1.o): Likewise.
12311         ($(T)crti.o): Likewise.
12312         ($(T)crtn.o): Likewise.
12314 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12316         PR other/42980
12317         * Makefile.in (install): Use $(MAKE) string in rule, for
12318         parallel make.
12320 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
12322         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
12323         * config/mmix/t-mmix: New file.
12324         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
12326 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
12328         PR java/41991
12329         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
12330         SHLIB_MAPFILES.
12332 2010-01-04  Anthony Green  <green@moxielogic.com>
12334         * config/moxie/crti.asm, config/moxie/crtn.asm,
12335         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
12336         config/moxie/t-moxie: New files.
12337         * config.host: Add t-moxie-softfp reference.
12339 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
12341         PR other/39888
12342         * config/t-slibgcc-darwin: Fix embedded rpaths for
12343         --enable-version-specific-runtime-libs, build extension stub
12344         libs exposing features available from current libgcc_s.
12346 2009-11-11  Jon Beniston  <jon@beniston.com>
12348         * config.host: Add lm32 targets.
12349         * config/lm32: New directory.
12350         * config/lm32/libgcc_lm32.h: New file.
12351         * config/lm32/_mulsi3.c: New file.
12352         * config/lm32/_udivmodsi4.c: New file.
12353         * config/lm32/_divsi3.c: New file.
12354         * config/lm32/_modsi3.c: New file.
12355         * config/lm32/_udivsi3.c: New file.
12356         * config/lm32/_umodsi3.c: New file.
12357         * config/lm32/_lshrsi3.S: New file.
12358         * config/lm32/_ashrsi3.S: New file.
12359         * config/lm32/_ashlsi3.S: New file.
12360         * config/lm32/crti.S: New file.
12361         * config/lm32/crtn.S: New file.
12362         * config/lm32/t-lm32: New file.
12363         * config/lm32/t-elf: New file.
12364         * config/lm32/t-uclinux: New file.
12366 2009-10-26  Nick Clifton  <nickc@redhat.com>
12368         * config.host: Add support for RX target.
12369         * config/rx: New directory.
12370         * config/rx/rx-abi-functions.c: New file. Supplementary
12371         functions for libgcc to support the RX ABI.
12372         * config/rx/rx-abi.h: New file.  Supplementary header file for
12373         libgcc RX ABI functions.
12374         * config/rx/t-rx: New file: Makefile fragment for building
12375         libgcc for the RX.
12377 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
12379         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
12380         constraint of y0 to "g".
12382 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12384         * config.host: Include the s390 makefile fragments.
12385         * config/s390/32/_fixdfdi.c: New file.
12386         * config/s390/32/_fixsfdi.c: New file.
12387         * config/s390/32/_fixtfdi.c: New file.
12388         * config/s390/32/_fixunsdfdi.c: New file.
12389         * config/s390/32/_fixunssfdi.c: New file.
12390         * config/s390/32/_fixunstfdi.c: New file.
12391         * config/s390/32/t-floattodi: New file.
12392         * config/s390/libgcc-glibc.ver: New file.
12393         * config/s390/t-crtstuff: New file.
12394         * config/s390/t-linux: New file.
12395         * config/s390/t-tpf: New file.
12397 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12399         * configure.ac (AC_PREREQ): Bump to 2.64.
12401 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
12403         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
12405 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12407         * configure: Regenerate.
12409 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
12411         * config.host (ia64-hp-*vms*): New target.
12412         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
12413         with ia64-hp-*vms*.
12415 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12417         * configure.ac: Add snippet for maintainer-mode.
12418         * configure: Regenerate.
12419         * Makefile.in (AUTOCONF, configure_deps): New variables.
12420         ($(srcdir)/configure)): New rule, active only with maintainer
12421         mode turned on.
12423 2009-06-23  DJ Delorie  <dj@redhat.com>
12425         Add MeP port.
12426         * config.host: Add mep support.
12428 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
12430         * config.host: Add i386/${host_address}/t-fprules-softfp and
12431         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
12433         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
12434         for mingw targets.
12435         * config/i386/64/_multc3.c: Likewise.
12436         * config/i386/64/_powitf2.c: Likewise.
12437         * config/i386/64/eqtf2.c: Likewise.
12438         * config/i386/64/getf2.c: Likewise.
12439         * config/i386/64/letf2.c: Likewise.
12440         * config/i386/64/letf2.c: Likewise.
12441         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
12442         unsigned long long for x64 mingw targets.
12443         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
12444         (_FP_I_TYPE): Define as long long for x64 mingw target.
12446 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
12448         * config.host (vax-*-linux*): New.
12450 2009-05-31  Anthony Green  <green@moxielogic.com>
12452         * config.host: Add moxie support.
12453         * config/moxie/t-moxie: New file.
12455 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
12457         * config.host: Add i386/${host_address}/t-fprules-softfp and
12458         t-softfp to tmake_file for i[34567]86-*-cygwin*.
12460 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
12462         * config.host: Add i386/${host_address}/t-fprules-softfp to
12463         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
12465 2009-04-09  Nick Clifton  <nickc@redhat.com>
12467         * config/ia64/tf-signs.c: Change copyright header to refer to
12468         version 3 of the GNU General Public License with version 3.1
12469         of the GCC Runtime Library Exception and to point readers at
12470         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
12471         web page.
12472         * config/i386/32/tf-signs.c: Likewise.
12473         * config/libbid/_addsub_dd.c: Likewise.
12474         * config/libbid/_addsub_sd.c: Likewise.
12475         * config/libbid/_addsub_td.c: Likewise.
12476         * config/libbid/_dd_to_df.c: Likewise.
12477         * config/libbid/_dd_to_di.c: Likewise.
12478         * config/libbid/_dd_to_sd.c: Likewise.
12479         * config/libbid/_dd_to_sf.c: Likewise.
12480         * config/libbid/_dd_to_si.c: Likewise.
12481         * config/libbid/_dd_to_td.c: Likewise.
12482         * config/libbid/_dd_to_tf.c: Likewise.
12483         * config/libbid/_dd_to_udi.c: Likewise.
12484         * config/libbid/_dd_to_usi.c: Likewise.
12485         * config/libbid/_dd_to_xf.c: Likewise.
12486         * config/libbid/_df_to_dd.c: Likewise.
12487         * config/libbid/_df_to_sd.c: Likewise.
12488         * config/libbid/_df_to_td.c: Likewise.
12489         * config/libbid/_di_to_dd.c: Likewise.
12490         * config/libbid/_di_to_sd.c: Likewise.
12491         * config/libbid/_di_to_td.c: Likewise.
12492         * config/libbid/_div_dd.c: Likewise.
12493         * config/libbid/_div_sd.c: Likewise.
12494         * config/libbid/_div_td.c: Likewise.
12495         * config/libbid/_eq_dd.c: Likewise.
12496         * config/libbid/_eq_sd.c: Likewise.
12497         * config/libbid/_eq_td.c: Likewise.
12498         * config/libbid/_ge_dd.c: Likewise.
12499         * config/libbid/_ge_sd.c: Likewise.
12500         * config/libbid/_ge_td.c: Likewise.
12501         * config/libbid/_gt_dd.c: Likewise.
12502         * config/libbid/_gt_sd.c: Likewise.
12503         * config/libbid/_gt_td.c: Likewise.
12504         * config/libbid/_isinfd128.c: Likewise.
12505         * config/libbid/_isinfd32.c: Likewise.
12506         * config/libbid/_isinfd64.c: Likewise.
12507         * config/libbid/_le_dd.c: Likewise.
12508         * config/libbid/_le_sd.c: Likewise.
12509         * config/libbid/_le_td.c: Likewise.
12510         * config/libbid/_lt_dd.c: Likewise.
12511         * config/libbid/_lt_sd.c: Likewise.
12512         * config/libbid/_lt_td.c: Likewise.
12513         * config/libbid/_mul_dd.c: Likewise.
12514         * config/libbid/_mul_sd.c: Likewise.
12515         * config/libbid/_mul_td.c: Likewise.
12516         * config/libbid/_ne_dd.c: Likewise.
12517         * config/libbid/_ne_sd.c: Likewise.
12518         * config/libbid/_ne_td.c: Likewise.
12519         * config/libbid/_sd_to_dd.c: Likewise.
12520         * config/libbid/_sd_to_df.c: Likewise.
12521         * config/libbid/_sd_to_di.c: Likewise.
12522         * config/libbid/_sd_to_sf.c: Likewise.
12523         * config/libbid/_sd_to_si.c: Likewise.
12524         * config/libbid/_sd_to_td.c: Likewise.
12525         * config/libbid/_sd_to_tf.c: Likewise.
12526         * config/libbid/_sd_to_udi.c: Likewise.
12527         * config/libbid/_sd_to_usi.c: Likewise.
12528         * config/libbid/_sd_to_xf.c: Likewise.
12529         * config/libbid/_sf_to_dd.c: Likewise.
12530         * config/libbid/_sf_to_sd.c: Likewise.
12531         * config/libbid/_sf_to_td.c: Likewise.
12532         * config/libbid/_si_to_dd.c: Likewise.
12533         * config/libbid/_si_to_sd.c: Likewise.
12534         * config/libbid/_si_to_td.c: Likewise.
12535         * config/libbid/_td_to_dd.c: Likewise.
12536         * config/libbid/_td_to_df.c: Likewise.
12537         * config/libbid/_td_to_di.c: Likewise.
12538         * config/libbid/_td_to_sd.c: Likewise.
12539         * config/libbid/_td_to_sf.c: Likewise.
12540         * config/libbid/_td_to_si.c: Likewise.
12541         * config/libbid/_td_to_tf.c: Likewise.
12542         * config/libbid/_td_to_udi.c: Likewise.
12543         * config/libbid/_td_to_usi.c: Likewise.
12544         * config/libbid/_td_to_xf.c: Likewise.
12545         * config/libbid/_tf_to_dd.c: Likewise.
12546         * config/libbid/_tf_to_sd.c: Likewise.
12547         * config/libbid/_tf_to_td.c: Likewise.
12548         * config/libbid/_udi_to_dd.c: Likewise.
12549         * config/libbid/_udi_to_sd.c: Likewise.
12550         * config/libbid/_udi_to_td.c: Likewise.
12551         * config/libbid/_unord_dd.c: Likewise.
12552         * config/libbid/_unord_sd.c: Likewise.
12553         * config/libbid/_unord_td.c: Likewise.
12554         * config/libbid/_usi_to_dd.c: Likewise.
12555         * config/libbid/_usi_to_sd.c: Likewise.
12556         * config/libbid/_usi_to_td.c: Likewise.
12557         * config/libbid/_xf_to_dd.c: Likewise.
12558         * config/libbid/_xf_to_sd.c: Likewise.
12559         * config/libbid/_xf_to_td.c: Likewise.
12560         * config/libbid/bid128.c: Likewise.
12561         * config/libbid/bid128_2_str.h: Likewise.
12562         * config/libbid/bid128_2_str_macros.h: Likewise.
12563         * config/libbid/bid128_2_str_tables.c: Likewise.
12564         * config/libbid/bid128_add.c: Likewise.
12565         * config/libbid/bid128_compare.c: Likewise.
12566         * config/libbid/bid128_div.c: Likewise.
12567         * config/libbid/bid128_fma.c: Likewise.
12568         * config/libbid/bid128_logb.c: Likewise.
12569         * config/libbid/bid128_minmax.c: Likewise.
12570         * config/libbid/bid128_mul.c: Likewise.
12571         * config/libbid/bid128_next.c: Likewise.
12572         * config/libbid/bid128_noncomp.c: Likewise.
12573         * config/libbid/bid128_quantize.c: Likewise.
12574         * config/libbid/bid128_rem.c: Likewise.
12575         * config/libbid/bid128_round_integral.c: Likewise.
12576         * config/libbid/bid128_scalb.c: Likewise.
12577         * config/libbid/bid128_sqrt.c: Likewise.
12578         * config/libbid/bid128_string.c: Likewise.
12579         * config/libbid/bid128_to_int16.c: Likewise.
12580         * config/libbid/bid128_to_int32.c: Likewise.
12581         * config/libbid/bid128_to_int64.c: Likewise.
12582         * config/libbid/bid128_to_int8.c: Likewise.
12583         * config/libbid/bid128_to_uint16.c: Likewise.
12584         * config/libbid/bid128_to_uint32.c: Likewise.
12585         * config/libbid/bid128_to_uint64.c: Likewise.
12586         * config/libbid/bid128_to_uint8.c: Likewise.
12587         * config/libbid/bid32_to_bid128.c: Likewise.
12588         * config/libbid/bid32_to_bid64.c: Likewise.
12589         * config/libbid/bid64_add.c: Likewise.
12590         * config/libbid/bid64_compare.c: Likewise.
12591         * config/libbid/bid64_div.c: Likewise.
12592         * config/libbid/bid64_fma.c: Likewise.
12593         * config/libbid/bid64_logb.c: Likewise.
12594         * config/libbid/bid64_minmax.c: Likewise.
12595         * config/libbid/bid64_mul.c: Likewise.
12596         * config/libbid/bid64_next.c: Likewise.
12597         * config/libbid/bid64_noncomp.c: Likewise.
12598         * config/libbid/bid64_quantize.c: Likewise.
12599         * config/libbid/bid64_rem.c: Likewise.
12600         * config/libbid/bid64_round_integral.c: Likewise.
12601         * config/libbid/bid64_scalb.c: Likewise.
12602         * config/libbid/bid64_sqrt.c: Likewise.
12603         * config/libbid/bid64_string.c: Likewise.
12604         * config/libbid/bid64_to_bid128.c: Likewise.
12605         * config/libbid/bid64_to_int16.c: Likewise.
12606         * config/libbid/bid64_to_int32.c: Likewise.
12607         * config/libbid/bid64_to_int64.c: Likewise.
12608         * config/libbid/bid64_to_int8.c: Likewise.
12609         * config/libbid/bid64_to_uint16.c: Likewise.
12610         * config/libbid/bid64_to_uint32.c: Likewise.
12611         * config/libbid/bid64_to_uint64.c: Likewise.
12612         * config/libbid/bid64_to_uint8.c: Likewise.
12613         * config/libbid/bid_b2d.h: Likewise.
12614         * config/libbid/bid_binarydecimal.c: Likewise.
12615         * config/libbid/bid_conf.h: Likewise.
12616         * config/libbid/bid_convert_data.c: Likewise.
12617         * config/libbid/bid_decimal_data.c: Likewise.
12618         * config/libbid/bid_decimal_globals.c: Likewise.
12619         * config/libbid/bid_div_macros.h: Likewise.
12620         * config/libbid/bid_dpd.c: Likewise.
12621         * config/libbid/bid_flag_operations.c: Likewise.
12622         * config/libbid/bid_from_int.c: Likewise.
12623         * config/libbid/bid_functions.h: Likewise.
12624         * config/libbid/bid_gcc_intrinsics.h: Likewise.
12625         * config/libbid/bid_inline_add.h: Likewise.
12626         * config/libbid/bid_internal.h: Likewise.
12627         * config/libbid/bid_round.c: Likewise.
12628         * config/libbid/bid_sqrt_macros.h: Likewise.
12630 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
12632         * Makefile.in: Change copyright header to refer to version
12633         3 of the GNU General Public License and to point readers at the
12634         COPYING3 file and the FSF's license web page.
12635         * config.host: Likewise.
12637 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
12639         * config.host: Reorder and merge to match config.gcc change.
12641 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
12643         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
12645 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
12647         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
12648         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
12649         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
12650         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
12652 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
12654         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
12655         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12657 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
12659         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
12660         ia64/t-softfp-compat to tmake_file.
12662         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
12664         * config/ia64/__divxf3.asm: New.
12665         * config/ia64/_fixtfdi.asm: Likewise.
12666         * config/ia64/_fixunstfdi.asm: Likewise.
12667         * config/ia64/_floatditf.asm: Likewise.
12668         * config/ia64/t-fprules-softfp: Likewise.
12669         * config/ia64/t-softfp-compat: Likewise.
12670         * config/ia64/tf-signs.c: Likewise.
12672 2009-01-18  Ben Elliston  <bje@au.ibm.com>
12674         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12676 2009-01-16  Ben Elliston  <bje@au.ibm.com>
12678         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
12679         to tmake_file.
12681 2009-01-13  Ben Elliston  <bje@au.ibm.com>
12683         * config/t-softfp: New file.
12684         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
12685         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
12687 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
12689         * config.host: Add m32r*-*-rtems*.
12691 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
12693         * config.host: Add m32c*-*-rtems*.
12695 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12697         PR bootstrap/33100
12698         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
12699         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
12700         * configure: Regenerate.
12701         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
12702         tmake_file here from gcc/config.gcc.
12703         Move extra_parts here from gcc/config.gcc.
12704         * config/i386/t-sol2: Move here from gcc/config/i386.
12705         Use gcc_srcdir instead of srcdir.
12707 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
12709         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
12710         case.
12712 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
12714         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
12716 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
12718         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
12720 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
12722         Add picoChip port.
12723         * config.host: Add picochip-*-*.
12725 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
12727         * config.host: Match more processor names for Xtensa.
12729 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
12731         * config/i386/64/t-softfp-compat: Update comments.
12733 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
12735         * config/i386/64/_divtc3-compat.c: Moved to ...
12736         * config/i386/64/_divtc3.c: Here.
12738         * config/i386/64/_multc3-compat.c: Moved to ...
12739         * config/i386/64/_multc3.c: Here.
12741         * config/i386/64/_powitf2-compat.c: Moved to ...
12742         * config/i386/64/_powitf2.c: Here.
12744         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
12745         .c suffix instead of -compat.c.
12747 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
12749         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
12750         (_FP_MUL_MEAT_D): Ditto.
12751         (_FP_DIV_MEAT_S): Ditto.
12752         (_FP_DIV_MEAT_D): Ditto.
12754 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
12756         * Makefile.in: Add support for __sync_* libgcc functions.
12758 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
12760         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
12762 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12764         PR boostrap/36702
12765         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
12766         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
12768         * config/i386/64/t-fprules-softfp: Moved to ...
12769         * config/i386/64/t-softfp-compat: This.  New.
12771 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
12773         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
12774         Initialize f with 0.0.
12776 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12778         PR target/36669
12779         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
12781         * config/i386/64/_divtc3-compat.c: New.
12782         * config/i386/64/_multc3-compat.c: Likewise.
12783         * config/i386/64/_powitf2-compat.c: Likewise.
12784         * config/i386/64/eqtf2.c: Likewise.
12785         * config/i386/64/getf2.c: Likewise.
12786         * config/i386/64/letf2.c: Likewise.
12787         * config/i386/64/t-fprules-softfp: Likewise.
12789 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12791         * config.host: Add i386/${host_address}/t-fprules-softfp to
12792         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
12793         i[34567]86-*-linux*, x86_64-*-linux*.
12795         * configure.ac: Set host_address to 64 or 32 for x86.
12796         * configure: Regenerated.
12798         * Makefile.in (config.status): Also depend on
12799         $(srcdir)/config.host.
12801         * config/i386/32/t-fprules-softfp: New.
12802         * config/i386/32/tf-signs.c: Likewise.
12804         * config/i386/64/sfp-machine.h: New. Moved from gcc.
12806 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12807             Uros Bizjak  <ubizjak@gmail.com>
12809         * config/i386/32/sfp-machine.h: New.
12811 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
12813         * config/rs6000/t-ppccomm: Remove rules that conflict with
12814         auto-generated rules.
12816 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12818         * configure.ac: sinclude override.m4.
12819         * configure: Regenerate.
12821 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
12823         * configure: Regenerate.
12825 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
12827         * Makefile.in (DECNUMINC): Remove
12828         -I$(MULTIBUILDTOP)../../libdecnumber.
12829         * gstdint.h: New.
12831 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
12833         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
12834         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
12835         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
12836         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
12837         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
12838         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
12839         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
12840         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
12841         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
12842         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
12843         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
12844         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
12845         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
12846         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
12848 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
12850         * config.host (sh2[lbe]*-*-linux*): Allow target.
12852 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
12854         * config/rs6000/t-ppccomm: Add build rules for new files.
12855         (LIB2ADD_ST): New variable.
12857 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
12859         PR target/34210
12860         PR target/35508
12861         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
12862         * config/t-avr: New file. Build 16bit libgcc functions.
12864 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
12866         PR target/35401
12867         * config/t-slibgcc-darwin: Make install-leaf dependent on
12868         install-darwin-libgcc-stubs instead of install.
12870 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
12872         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
12873         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
12874         sh-*-rtemscoff*): Remove cases.
12876 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
12878         * Makefile.in (all): Use install-leaf rather than install.
12879         (install): Split most of the rule into...
12880         (install-leaf): ...this new one.
12882 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
12883             Paolo Bonzini  <bonzini@gnu.org>
12885         PR target/30572
12886         * Makefile.in: Use @shlib_slibdir@ substitution to get
12887         correct install name on darwin.
12888         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
12890 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
12892         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
12893         cris-*-elf and cris-*-none.
12894         (crisv32-*-linux*): Similar, as cris-*-linux*.
12896 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
12898         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
12900 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
12902         PR regression/33926
12903         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
12904         * configure: Regenerated.
12906 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
12908         * Makefile.in (dfp-filenames): Replace decimal_globals,
12909         decimal_data, binarydecimal and convert_data with
12910         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
12911         and bid_convert_data, respectively.
12913 2007-09-17  Chao-ying Fu  <fu@mips.com>
12914             Nigel Stephens  <nigel@mips.com>
12916         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
12917         * Makefile.in (fixed_point): Define.
12918         Check if fixed_point is yes to build support functions.
12919         * configure.ac: Check for fixed_point support.
12920         * configure: Regenerated.
12921         * gen-fixed.sh: New file to generate lists of fixed-point labels,
12922         funcs, modes, from, to.
12924 2007-09-11  Janis Johnson  <janis187@us.ibm.com
12926         * Makefile.in (dfp-filenames): Add bid128_noncomp.
12928 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
12930         * Makefile.in (dfp-filenames): Remove decUtility, add
12931         decDouble, decPacked, decQuad, decSingle.
12933 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
12935         * config.host : Add x86_64-elf target.
12937 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
12939         * configure.ac (set_have_cc_tls): Add a missing =.
12940         * configure: Regenerated.
12942 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
12944         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
12945         and x86_64-*-linux*.
12947         * config/t-tls: New file.
12949         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
12951         * configure.ac: Include ../config/enable.m4 and
12952         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
12953         supports TLS and substitute set_have_cc_tls.
12954         * configure: Regenerated.
12956 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
12958         * Makefile.in: Use libbid for DFP when BID is enabled.
12960 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
12962         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
12963         extra_parts. Add config/i386/t-cygming to tmake_file.
12964         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
12966 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
12967             Danny Smith  <dannysmith@users.sourceforge.net>
12969         PR target/29498
12970         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
12971         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
12972         * config/i386/t-crtfm: Compile crtfastmath.o with
12973         -minline-all-stringops.
12975 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
12977         * config.host (sparc-wrs-vxworks): New target.
12979 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
12981         * config.host: Recognize fido.
12983 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
12985         * configure: Check host, not target, for decimal float support.
12987 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
12989         * config/i386/t-crtpc: New file.
12990         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
12991         (x86_64-*-linux*): Ditto.
12993 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
12995         * config.host (x86_64-*-mingw*): New target.
12997 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
12998             H.J. Lu  <hongjiu.lu@intel.com>
13000         * Makefile.in (enable_decimal_float): New.
13001         (DECNUMINC): Add
13002         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
13003         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
13004         (decbits-filenames): This.
13005         (decbits-objects): New.
13006         (libgcc-objects): Add $(decbits-objects).
13008         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
13009         Substitute enable_decimal_float.
13010         * configure: Regenerated.
13012 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
13014         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
13016 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
13018         * Makefile.in (install-info): New dummy target.
13020 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
13022         * config.host (bfin*-linux-uclibc*): Set extra_parts.
13024 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
13026         * Makefile.in: Add install-html and install-pdf dummy
13027         targets.
13029 2007-02-05  Roger Sayle  <roger@eyesopen.com>
13030             Daniel Jacobowitz  <dan@codesourcery.com>
13032         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
13033         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
13034         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
13036 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
13038         * Makefile.in (dec-filenames): Add decExcept.
13040 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
13042         PR bootstrap/30469
13043         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
13044         -fprofile-use.
13046 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
13048         * configure.ac: Add --enable-version-specific-runtime-libs.
13049         Correct $slibdir default.
13050         * configure: Regenerated.
13052 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
13054         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
13056 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
13058         PR target/30519
13059         * config.host (alpha*-*-linux*): Set extra_parts.
13061 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
13063         * config/sh/t-linux: New.
13064         * config.host (sh*-*-linux*): Set tmake_file.
13066 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
13068         * Makefile.in (install): Handle multilibs.
13070 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
13072         * Makefile.in: Added .PHONY entry for documentation targets.
13074 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
13076         * Makefile.in: Add empty info, html, dvi, pdf targets.
13078 2007-01-04  Mike Stump  <mrs@apple.com>
13080         * Makefile.in (MAKEINFO): Remove.
13081         (PERL): Likewise.
13083 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
13085         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
13086         * configure: Regenerate.
13087         * Makefile.in (host_subdir): Substitute it.
13088         (gcc_objdir): Use it.
13090 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
13092         * config.host (ia64*-*-linux*): Set tmake_file.
13094 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
13096         * Makefile.in (version): Define.
13098 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
13099             Paolo Bonzini  <bonzini@gnu.org>
13101         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
13102         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
13103         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
13104         config/sparc/t-crtfm, config/t-slibgcc-darwin,
13105         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
13106         shared-object.mk, siditi-object.mk, static-object.mk: New files.
13107         * configure: Generated.
13109 Copyright (C) 2007-2023 Free Software Foundation, Inc.
13111 Copying and distribution of this file, with or without modification,
13112 are permitted in any medium without royalty provided the copyright
13113 notice and this notice are preserved.