Increase timeout factor for hppa*-*-* in gcc.dg/long_branch.c
[official-gcc.git] / libgcc / ChangeLog
blobae5ba7962c6e780fb9e950bdd2ffc867d21889d2
1 2023-09-26  Wilco Dijkstra  <wilco.dijkstra@arm.com>
3         * config/aarch64/lse.S (BTI_C): Remove define.
5 2023-09-20  Pekka Seppänen  <pexu@gcc.mail.kapsi.fi>
7         * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key):
8         Use const unsigned type and a builtin.
10 2023-09-06  Jakub Jelinek  <jakub@redhat.com>
12         PR c/102989
13         * libgcc2.c (bitint_negate): Add function comment.
14         * soft-fp/bitint.h (bitint_negate): Add function comment.
15         (FP_TO_BITINT, FP_FROM_BITINT): Add comment explaining the macros.
17 2023-09-06  Jakub Jelinek  <jakub@redhat.com>
19         PR c/102989
20         * config/aarch64/t-softfp (softfp_extras): Use += rather than :=.
21         * config/i386/64/t-softfp (softfp_extras): Likewise.
22         * config/i386/libgcc-glibc.ver (GCC_14.0.0): Export _BitInt support
23         routines.
24         * config/i386/t-softfp (softfp_extras): Add fixxfbitint and
25         bf, hf and xf mode floatbitint.
26         (CFLAGS-floatbitintbf.c, CFLAGS-floatbitinthf.c): Add -msse2.
27         * config/riscv/t-softfp32 (softfp_extras): Use += rather than :=.
28         * config/rs6000/t-e500v1-fp (softfp_extras): Likewise.
29         * config/rs6000/t-e500v2-fp (softfp_extras): Likewise.
30         * config/t-softfp (softfp_floatbitint_funcs): New.
31         (softfp_bid_list): New.
32         (softfp_func_list): Add sf and df mode from and to _BitInt libcalls.
33         (softfp_bid_file_list): New.
34         (LIB2ADD_ST): Add $(softfp_bid_file_list).
35         * config/t-softfp-sfdftf (softfp_extras): Add fixtfbitint and
36         floatbitinttf.
37         * config/t-softfp-tf (softfp_extras): Likewise.
38         * libgcc2.c (bitint_reduce_prec): New inline function.
39         (BITINT_INC, BITINT_END): Define.
40         (bitint_mul_1, bitint_addmul_1): New helper functions.
41         (__mulbitint3): New function.
42         (bitint_negate, bitint_submul_1): New helper functions.
43         (__divmodbitint4): New function.
44         * libgcc2.h (LIBGCC2_UNITS_PER_WORD): When building _BitInt support
45         libcalls, redefine depending on __LIBGCC_BITINT_LIMB_WIDTH__.
46         (__mulbitint3, __divmodbitint4): Declare.
47         * libgcc-std.ver.in (GCC_14.0.0): Export _BitInt support routines.
48         * Makefile.in (lib2funcs): Add _mulbitint3.
49         (LIB2_DIVMOD_FUNCS): Add _divmodbitint4.
50         * soft-fp/bitint.h: New file.
51         * soft-fp/fixdfbitint.c: New file.
52         * soft-fp/fixsfbitint.c: New file.
53         * soft-fp/fixtfbitint.c: New file.
54         * soft-fp/fixxfbitint.c: New file.
55         * soft-fp/floatbitintbf.c: New file.
56         * soft-fp/floatbitintdf.c: New file.
57         * soft-fp/floatbitinthf.c: New file.
58         * soft-fp/floatbitintsf.c: New file.
59         * soft-fp/floatbitinttf.c: New file.
60         * soft-fp/floatbitintxf.c: New file.
61         * soft-fp/op-common.h (_FP_FROM_INT): Add support for rsize up to
62         4 * _FP_W_TYPE_SIZE rather than just 2 * _FP_W_TYPE_SIZE.
63         * soft-fp/bitintpow10.c: New file.
64         * soft-fp/fixsdbitint.c: New file.
65         * soft-fp/fixddbitint.c: New file.
66         * soft-fp/fixtdbitint.c: New file.
67         * soft-fp/floatbitintsd.c: New file.
68         * soft-fp/floatbitintdd.c: New file.
69         * soft-fp/floatbitinttd.c: New file.
71 2023-09-06  Jakub Jelinek  <jakub@redhat.com>
73         PR c/102989
74         * soft-fp/bitintpow10.h: New file.
76 2023-09-05  Yang Yujie  <yangyujie@loongson.cn>
78         * config.host: add loongarch*-elf target.
80 2023-08-11  Thomas Neumann  <thomas.neumann@in.tum.de>
82         PR libgcc/110956
83         * unwind-dw2-fde.c: Associate object with address of unwinding
84         table.
86 2023-08-07  John Ericson  <git@JohnEricson.me>
88         * configure: Regenerate.
90 2023-08-07  Alan Modra  <amodra@gmail.com>
92         * configure: Regenerate.
94 2023-07-23  Andrew Pinski  <apinski@marvell.com>
96         * config.host (riscv*-*-linux*): Add t-crtstuff to tmake_file.
97         (riscv*-*-freebsd*): Likewise.
98         * config/riscv/t-crtstuff: New file.
100 2023-07-19  liuhongt  <hongtao.liu@intel.com>
102         * config/i386/t-softfp: Add -msse2 to libbid HFtype related
103         files.
105 2023-07-11  Florian Weimer  <fweimer@redhat.com>
107         PR libgcc/110179
108         * unwind-dw2-fde-dip.c (find_fde_tail): Add cast to avoid
109         implicit conversion of pointer value to integer.
111 2023-07-06  Kito Cheng  <kito.cheng@sifive.com>
113         * config/riscv/sfp-machine.h (FP_INIT_ROUNDMODE): Check zfinx.
114         (FP_HANDLE_EXCEPTIONS): Ditto.
116 2023-06-19  Andrew Stubbs  <ams@codesourcery.com>
118         * config/gcn/lib2-divmod-di.c: Reimplement like lib2-divmod.c.
119         * config/gcn/lib2-divmod.c: Likewise.
120         * config/gcn/lib2-gcn.h: Add new types and prototypes for all the
121         new vector libfuncs.
122         * config/gcn/t-amdgcn: Add new files.
123         * config/gcn/amdgcn_veclib.h: New file.
124         * config/gcn/lib2-vec_divmod-di.c: New file.
125         * config/gcn/lib2-vec_divmod-hi.c: New file.
126         * config/gcn/lib2-vec_divmod-qi.c: New file.
127         * config/gcn/lib2-vec_divmod.c: New file.
129 2023-06-19  Andrew Stubbs  <ams@codesourcery.com>
131         * config/gcn/lib2-gcn.h (QItype, UQItype, HItype, UHItype): Delete.
132         (__divhi3, __modhi3, __udivhi3, __umodhi3): Delete.
133         * config/gcn/t-amdgcn: Don't build lib2-divmod-hi.c.
134         * config/gcn/lib2-divmod-hi.c: Removed.
136 2023-06-07  Florian Weimer  <fweimer@redhat.com>
138         PR libgcc/109712
139         * unwind-dw2-fde-dip.c (find_fde_tail): Correct fast path for
140         parsing eh_frame.
142 2023-06-05  Kewen Lin  <linkw@linux.ibm.com>
144         * config/i386/morestack.S: Use @init_array rather than
145         @progbits for section type of section .init_array.
146         * config/rs6000/morestack.S: Likewise.
147         * config/s390/morestack.S: Likewise.
149 2023-06-05  YunQiang Su  <yunqiang.su@cipunited.com>
151         * config/mips/lib1funcs.S: New file.
152         define __speculation_barrier and include mips16.S.
153         * config/mips/t-mips: define LIB1ASMSRC as mips/lib1funcs.S.
154         define LIB1ASMFUNCS as _speculation_barrier.
155         set version info for __speculation_barrier.
156         * config/mips/libgcc-mips.ver: New file.
157         * config/mips/t-mips16: don't define LIB1ASMSRC as mips16.S
158         included in lib1funcs.S now.
160 2023-06-03  Thomas Neumann  <tneumann@users.sourceforge.net>
162         PR libgcc/109670
163         * unwind-dw2-fde.c: Fix radix sort buffer management.
165 2023-06-03  Thomas Neumann  <tneumann@users.sourceforge.net>
167         PR libgcc/109685
168         * unwind-dw2-fde.c: Free sort array in atomic fast path.
170 2023-05-19  Iain Sandoe  <iain@sandoe.co.uk>
172         * config.host: Arrange to set min Darwin OS versions from
173         the configured host version.
174         * config/darwin10-unwind-find-enc-func.c: Do not use current
175         headers, but declare the nexessary structures locally to the
176         versions in use for Mac OSX 10.6.
177         * config/t-darwin: Amend to handle configured min OS
178         versions.
179         * config/t-darwin-min-1: New.
180         * config/t-darwin-min-5: New.
181         * config/t-darwin-min-8: New.
183 2023-05-15  Thomas Neumann  <tneumann@users.sourceforge.net>
185         * unwind-dw2-fde.c: Fix assert in non-atomic path.
187 2023-05-15  Sören Tempel  <soeren+git@soeren-tempel.net>
189         * unwind-dw2-fde.c: Accept empty ranges when deregistering frames.
191 2023-05-02  Patrick O'Neill  <patrick@rivosinc.com>
193         * config/riscv/atomic.c: Change LR.aq/SC.rl pairs into
194         sequentially consistent LR.aqrl/SC.rl pairs.
196 2023-05-01  Dimitar Dimitrov  <dimitar@dinux.eu>
198         * config/pru/t-pru (HOST_LIBGCC2_CFLAGS): Add
199         -DTARGET_HAS_NO_HW_DIVIDE.
201 2023-04-27  Hans-Peter Nilsson  <hp@axis.com>
203         * config/cris/t-cris (HOST_LIBGCC2_CFLAGS): Add
204         -DTARGET_HAS_NO_HW_DIVIDE.
206 2023-04-26  Patrick O'Neill  <patrick@rivosinc.com>
208         PR target/104338
209         * config/riscv/atomic.c: Add reference to duplicate logic.
211 2023-04-08  Tetsuma Hoshino  <t-hoshino@pony-e.jp>
213         PR target/109402
214         * config/v850/lib1funcs.S (___muldi3): Remove unnecessary
215         stack manipulations.
217 2023-04-05  John David Anglin  <danglin@gcc.gnu.org>
219         PR target/109374
220         * config/pa/milli64.S (RETURN_COLUMN): Define.
221         ($$divI): Add CFI directives.
222         ($$divU): Likewise.
223         ($$remI): Likewise.
224         ($$remU): Likewise.
226 2023-03-19  Stafford Horne  <shorne@gmail.com>
228         * config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
229         statement clearing existing exceptions.
231 2023-03-13  Max Filippov  <jcmvbkbc@gmail.com>
233         * config/xtensa/crti.S: Add .note.GNU-stack section on linux.
234         * config/xtensa/crtn.S: Likewise.
235         * config/xtensa/lib1funcs.S: Likewise.
236         * config/xtensa/lib2funcs.S: Likewise.
238 2023-03-12  Jakub Jelinek  <jakub@redhat.com>
240         * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
241         (softfp_truncations): Add tfbf dfbf sfbf hfbf.
242         (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
243         * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
244         __extendbfsf2 and __trunc{s,d,t,h}fbf2.
245         * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
246         * soft-fp/floatundibf.c: New file.
247         * soft-fp/floatdibf.c: New file.
249 2023-03-10  Jakub Jelinek  <jakub@redhat.com>
251         PR target/107703
252         * soft-fp/floattibf.c: New file.
253         * soft-fp/floatuntibf.c: New file.
254         * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
255         * config/i386/64/t-softfp (softfp_extras): Add floattibf and
256         floatuntibf.
257         (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
259 2023-03-08  Kewen Lin  <linkw@linux.ibm.com>
261         PR libgcc/108727
262         * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
263         bump size.
265 2023-03-06   Michael Meissner  <meissner@linux.ibm.com>
267         PR target/107299
268         * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
269         whether long double is IBM or IEEE.
270         (INFINITY): Likewise.
271         (FABS): Likewise.
272         * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
273         (INFINITY): Likewise.
274         * config/rs6000/quad-float128.h (TF): Remove definition.
275         (TFtype): Define to be long double or _Float128.
276         (TCtype): Define to be _Complex long double or _Complex _Float128.
277         * libgcc2.h (TFtype): Allow machine config files to override this.
278         (TCtype): Likewise.
279         * soft-fp/quad.h (TFtype): Likewise.
281 2023-02-13  Kito Cheng  <kito.cheng@sifive.com>
283         * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
284         * config/riscv/value-unwind.h: New.
286 2023-02-03  Christophe Lyon  <christophe.lyon@arm.com>
288         * config/arm/pr-support.c (__gnu_unwind_execute): Use
289         TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
291 2023-01-30  Flavio Cruz  <flaviocruz@gmail.com>
293         * config.host: Recognize x86_64-*-gnu* targets.
294         * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
295         TODO for now.
297 2023-01-23  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
299         * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
300         "0xb5".
302 2023-01-23  Andrea Corallo  <andrea.corallo@arm.com>
303             Tejas Belagod   <tbelagod@arm.com>
304             Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
306         * config/arm/pr-support.c (__gnu_unwind_execute): Decode
307         exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
308         with AUTG if found.
309         * config/arm/unwind-arm.c (struct pseudo_regs): New.
310         (phase1_vrs): Introduce new field to store pseudo-reg state.
311         (phase2_vrs): Likewise.
312         (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
313         (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
314         (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
316 2023-01-18  Wilco Dijkstra  <wilco.dijkstra@arm.com>
318         PR target/107678
319         * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
320         * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
321         * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
322         encode the return address signing state.
323         * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
324         Check current return address signing state.
325         (aarch64_frob_update_contex): Remove.
327 2023-01-13  John David Anglin  <danglin@gcc.gnu.org>
329         * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
330         pa/t-pa64-linux.
331         (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
332         instead of pa/t-hpux and pa/t-pa64.
333         * config/pa/linux-atomic.c: Define u32 type.
334         (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
335         atomic_load_2, atomic_load_4 and atomic_load_8.  Update sync
336         defines to use atomic_load calls for type.
337         (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
338         * config/pa/sync-libfuncs.c: New file.
339         * config/pa/t-netbsd (LIB2ADD_ST): Define.
340         * config/pa/t-openbsd (LIB2ADD_ST): Define.
341         * config/pa/t-pa64-hpux: New file.
342         * config/pa/t-pa64-linux: New file.
344 2023-01-13  Jonathan Wakely  <jwakely@redhat.com>
346         PR libstdc++/108331
347         * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
348         struct matching the previous __gthread_mutex_t struct.
349         (__GTHREAD_LEGACY_MUTEX_T): Define.
351 2023-01-13  Seija Kijin  <doremylover456@gmail.com>
353         * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
354         unified syntax.
356 2023-01-07  LIU Hao  <lh_mouse@126.com>
358         PR middle-end/108300
359         * config/i386/enable-execute-stack-mingw32.c: Define
360         `WIN32_LEAN_AND_MEAN` before <windows.h>.
361         * libgcc2.c: Likewise.
362         * unwind-generic.h: Likewise.
364 2023-01-03  Florian Weimer  <fweimer@redhat.com>
366         * unwind-dw2-execute_cfa.h: New file.  Extracted from
367         the execute_cfa_program function in unwind-dw2.c.
368         * unwind-dw2.c (execute_cfa_program_generic): New function.
369         (execute_cfa_program_specialized): Likewise.
370         (execute_cfa_program): Call execute_cfa_program_specialized
371         or execute_cfa_program_generic, as appropriate.
373 2023-01-03  Florian Weimer  <fweimer@redhat.com>
375         Revert:
376         2023-01-03  Florian Weimer  <fweimer@redhat.com>
378         * unwind-dw2.c (dwarf_reg_size): New function.
379         (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
380         (_Unwind_SetSpColumn, uw_install_context_1): Use it.
381         (uw_init_context_1): Do not initialize dwarf_reg_size_table
382         if not in use.
384 2023-01-03  Florian Weimer  <fweimer@redhat.com>
386         Revert:
387         2023-01-03  Florian Weimer  <fweimer@redhat.com>
389         * unwind-dw2-execute_cfa.h: New file.  Extracted from
390         the execute_cfa_program function in unwind-dw2.c.
391         * unwind-dw2.c (execute_cfa_program_generic): New function.
392         (execute_cfa_program_specialized): Likewise.
393         (execute_cfa_program): Call execute_cfa_program_specialized
394         or execute_cfa_program_generic, as appropriate.
396 2023-01-02  Florian Weimer  <fweimer@redhat.com>
398         * unwind-dw2-execute_cfa.h: New file.  Extracted from
399         the execute_cfa_program function in unwind-dw2.c.
400         * unwind-dw2.c (execute_cfa_program_generic): New function.
401         (execute_cfa_program_specialized): Likewise.
402         (execute_cfa_program): Call execute_cfa_program_specialized
403         or execute_cfa_program_generic, as appropriate.
405 2023-01-02  Florian Weimer  <fweimer@redhat.com>
407         * unwind-dw2.c (dwarf_reg_size): New function.
408         (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
409         (_Unwind_SetSpColumn, uw_install_context_1): Use it.
410         (uw_init_context_1): Do not initialize dwarf_reg_size_table
411         if not in use.
413 2022-12-25  Jonathan Yong  <10walls@gmail.com>
415         * config/i386/gthr-win32.h: undef CC_NONE
417 2022-12-24  Iain Sandoe  <iain@sandoe.co.uk>
419         * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
420         install of libgcc_s.1.dylib when the installation is into the build
421         gcc directory.
423 2022-12-23  Eric Botcazou  <ebotcazou@adacore.com>
425         * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
426         as well as new i386/t-slibgcc-mingw fragment.
427         (x86_64-*-mingw*): Likewise.
428         * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
429         both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
430         Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
431         Include stdlib.h instead of errno.h and do not include _mingw.h.
432         (CONST_CAST2): Add specific definition for C++.
433         (ATTRIBUTE_UNUSED): New macro.
434         (__UNUSED_PARAM): Delete.
435         Define WIN32_LEAN_AND_MEAN before including windows.h.
436         (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
437         (__gthread_objc_init_thread_system): Likewise.
438         (__gthread_objc_thread_get_data): Minor tweak.
439         (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
440         (__gthread_objc_condition_deallocate): Likewise.
441         (__gthread_objc_condition_wait): Likewise.
442         (__gthread_objc_condition_broadcast): Likewise.
443         (__gthread_objc_condition_signal): Likewise.
444         Include sys/time.h.
445         (__gthr_win32_DWORD): New typedef.
446         (__gthr_win32_HANDLE): Likewise.
447         (__gthr_win32_CRITICAL_SECTION): Likewise.
448         (__gthr_win32_CONDITION_VARIABLE): Likewise.
449         (__gthread_t): Adjust.
450         (__gthread_key_t): Likewise.
451         (__gthread_mutex_t): Likewise.
452         (__gthread_recursive_mutex_t): Likewise.
453         (__gthread_cond_t): New typedef.
454         (__gthread_time_t): Likewise.
455         (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
456         (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
457         (__GTHREAD_COND_INIT_FUNCTION): Define.
458         (__GTHREAD_TIME_INIT): Likewise.
459         (__gthr_i486_lock_cmp_xchg): Delete.
460         (__gthr_win32_create): Declare.
461         (__gthr_win32_join): Likewise.
462         (__gthr_win32_self): Likewise.
463         (__gthr_win32_detach): Likewise.
464         (__gthr_win32_equal): Likewise.
465         (__gthr_win32_yield): Likewise.
466         (__gthr_win32_mutex_destroy): Likewise.
467         (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
468         (__gthr_win32_cond_broadcast): Likewise.
469         (__gthr_win32_cond_signal): Likewise.
470         (__gthr_win32_cond_wait): Likewise.
471         (__gthr_win32_cond_timedwait): Likewise.
472         (__gthr_win32_recursive_mutex_init_function): Delete.
473         (__gthr_win32_recursive_mutex_lock): Likewise.
474         (__gthr_win32_recursive_mutex_unlock): Likewise.
475         (__gthr_win32_recursive_mutex_destroy): Likewise.
476         (__gthread_create): New inline function.
477         (__gthread_join): Likewise.
478         (__gthread_self): Likewise.
479         (__gthread_detach): Likewise.
480         (__gthread_equal): Likewise.
481         (__gthread_yield): Likewise.
482         (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
483         (__gthread_cond_broadcast): Likewise.
484         (__gthread_cond_signal): Likewise.
485         (__gthread_cond_wait): Likewise.
486         (__gthread_cond_timedwait): Likewise.
487         (__GTHREAD_WIN32_INLINE): New macro.
488         (__GTHREAD_WIN32_COND_INLINE): Likewise.
489         (__GTHREAD_WIN32_ACTIVE_P): Likewise.
490         Define WIN32_LEAN_AND_MEAN before including windows.h.
491         (__gthread_once): Minor tweaks.
492         (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
493         (__gthread_key_delete): Minor tweak.
494         (__gthread_getspecific): Likewise.
495         (__gthread_setspecific): Likewise.
496         (__gthread_mutex_init_function): Reimplement.
497         (__gthread_mutex_destroy): Likewise.
498         (__gthread_mutex_lock): Likewise.
499         (__gthread_mutex_trylock): Likewise.
500         (__gthread_mutex_unlock): Likewise.
501         (__gthr_win32_abs_to_rel_time): Declare.
502         (__gthread_recursive_mutex_init_function): Reimplement.
503         (__gthread_recursive_mutex_destroy): Likewise.
504         (__gthread_recursive_mutex_lock): Likewise.
505         (__gthread_recursive_mutex_trylock): Likewise.
506         (__gthread_recursive_mutex_unlock): Likewise.
507         (__gthread_cond_destroy): New inline function.
508         (__gthread_cond_wait_recursive): Likewise.
509         * config/i386/gthr-win32.c: Delete everything.
510         Include gthr-win32.h to get the out-of-line version of inline routines.
511         Add compile-time checks for the local version of the Win32 types.
512         * config/i386/gthr-win32-cond.c: New file.
513         * config/i386/gthr-win32-thread.c: Likewise.
514         * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
515         EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
516         the static version of libgcc.
517         * config/i386/t-slibgcc-mingw: New file.
518         * config/i386/libgcc-mingw.ver: Likewise.
520 2022-12-16  Thomas Neumann  <tneumann@users.sourceforge.net>
522         * unwind-dw2-fde.c: Initialize fde object lazily when
523         the first exception tries to pass through.
525 2022-12-16  Thomas Neumann  <tneumann@users.sourceforge.net>
527         * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
529 2022-12-08  Max Filippov  <jcmvbkbc@gmail.com>
531         * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
532         (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
533         (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
534         (XSHAL_ABI): Remove stray symbols from macro definitions.
536 2022-12-07  Max Filippov  <jcmvbkbc@gmail.com>
538         * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
539         xtensa-config-builtin.h.
540         * config/xtensa/crtn.S: Likewise.
541         * config/xtensa/lib1funcs.S: Likewise.
542         * config/xtensa/lib2funcs.S: Likewise.
543         * config/xtensa/xtensa-config-builtin.h: New File.
545 2022-11-04  Florian Weimer  <fweimer@redhat.com>
547         * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
548         values actually used by BFD ld.
550 2022-10-23  LIU Hao  <lh_mouse@126.com>
552         * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
553         libobjc, instead of 'gthr.h'
555 2022-10-19  LIU Hao  <lh_mouse@126.com>
557         * config.host: Add new cases for `mcf` thread model
558         * config/i386/gthr-mcf.h: New file
559         * config/i386/t-mingw-mcfgthread: New file
560         * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
561         * configure: Regenerate
563 2022-10-18  Jonathan Wakely  <jwakely@redhat.com>
565         * Makefile.in: Quote variable.
567 2022-10-17  H.J. Lu  <hjl.tools@gmail.com>
569         * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
570         argument.
571         * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
572         _Unwind_Frames_Increment.
573         (_Unwind_ForcedUnwind_Phase2): Likewise.
574         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
575         Take the EXC argument.  Return _URC_FATAL_PHASE2_ERROR if the
576         return address on normal stack doesn't match the return address
577         on shadow stack.
579 2022-10-17  Florian Weimer  <fweimer@redhat.com>
581         * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
582         and reduce its size.
584 2022-10-14  Jakub Jelinek  <jakub@redhat.com>
586         * config/i386/t-softfp (softfp_extensions): Add bfsf.
587         (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
588         (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
589         CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
590         -msse2.
591         * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
592         __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
593         * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
594         * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
595         * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
596         * soft-fp/brain.h: New file.
597         * soft-fp/truncsfbf2.c: New file.
598         * soft-fp/truncdfbf2.c: New file.
599         * soft-fp/truncxfbf2.c: New file.
600         * soft-fp/trunctfbf2.c: New file.
601         * soft-fp/trunchfbf2.c: New file.
602         * soft-fp/truncbfhf2.c: New file.
603         * soft-fp/extendbfsf2.c: New file.
605 2022-10-12  Martin Liska  <mliska@suse.cz>
607         * libgcov-driver.c: Use new function.
608         * libgcov.h (gcov_write_summary): Rename to ...
609         (gcov_write_object_summary): ... this.
611 2022-10-11  Olivier Hainque  <hainque@adacore.com>
613         * config.host (*vxworks*): When enable_shared, add
614         libgcc and crtstuff "shared" fragments for rtp except
615         large code model.
616         (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
617         the list of fragments.
619 2022-10-06  Jakub Jelinek  <jakub@redhat.com>
621         * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
622         fs->regs.how[X] instead of fs->regs.reg[X].how.
624 2022-10-06  Jakub Jelinek  <jakub@redhat.com>
626         * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
627         REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
628         REG_UNDEFINED): New anonymous enum, moved from inside of
629         struct frame_state_reg_info.
630         (struct frame_state_reg_info): Remove reg[].how element and the
631         anonymous enum there.  Add how element.
632         * unwind-dw2.c: Include stddef.h.
633         (uw_frame_state_for): Don't clear first
634         offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
635         (execute_cfa_program, __frame_state_for, uw_update_context_1,
636         uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
637         or fs.regs.how[X] instead of fs.regs.reg[X].how.
638         * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
639         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
640         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
641         * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
642         UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
643         Likewise.
644         * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
645         Likewise.
646         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
647         * config/arc/linux-unwind.h (arc_fallback_frame_state,
648         arc_frob_update_context): Likewise.
649         * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
650         * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
651         * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
652         * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
653         * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
654         * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
655         MD_FALLBACK_FRAME_STATE_FOR): Likewise.
656         * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
657         sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
658         * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
659         x86_fallback_frame_state): Likewise.
660         * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
661         * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
662         x86_fallback_frame_state): Likewise.
663         * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
664         Likewise.
665         * config/i386/dragonfly-unwind.h
666         (x86_64_dragonfly_fallback_frame_state): Likewise.
667         * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
668         * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
669         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
670         Likewise.
671         * config/aarch64/freebsd-unwind.h
672         (aarch64_freebsd_fallback_frame_state): Likewise.
673         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
674         Likewise.
675         * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
676         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
677         * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
678         Likewise.
679         * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
680         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
681         Likewise.
682         * config/rs6000/darwin-fallback.c (set_offset): Likewise.
683         * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
684         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
685         * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
687 2022-10-02  Olivier Hainque  <hainque@adacore.com>
689         * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment.  Move
690         -I options for gcc/include and gcc/include-fixed at the end
691         and make them -isystem.
693 2022-10-02  Olivier Hainque  <hainque@adacore.com>
695         * config/gthr-vxworks.h: Prevent Wpragma warning for the
696         pragma diagnostics on Wstrict-prototypes.
698 2022-09-29  Olivier Hainque  <hainque@adacore.com>
700         * config/vxcrtstuff.c: Improve the comment attached to the use
701         of auto-host.h and of __dso_handle.  Remove redundant guard on
702         HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
704 2022-09-26  Thomas Neumann  <tneumann@users.sourceforge.net>
706         * unwind-dw2-fde.c: Introduce a constant for in_shutdown
707         for the non-fast-path case. Drop destructor priority.
709 2022-09-22  Thomas Neumann  <tneumann@users.sourceforge.net>
711         * unwind-dw2-fde.c: (release_register_frames) Remember
712         when the btree has been destroyed.
713         (__deregister_frame_info_bases) Disable the assert when
714         shutting down.
716 2022-09-18  Thomas Neumann  <tneumann@users.sourceforge.net>
718         * unwind-dw2-fde.c: Replace uintptr_t with typedef
719         for __UINTPTR_TYPE__.
720         * unwind-dw2-btree.h: Likewise.
722 2022-09-16  Thomas Neumann  <tneumann@users.sourceforge.net>
724         * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
725         (__register_frame_info_table_bases): Use btree in atomic fast path.
726         (__deregister_frame_info_bases): Likewise.
727         (_Unwind_Find_FDE): Likewise.
728         (base_from_object): Make parameter const.
729         (classify_object_over_fdes): Add query-only mode.
730         (get_pc_range): Compute PC range for lookup.
731         * unwind-dw2-fde.h (last_fde): Make parameter const.
732         * unwind-dw2-btree.h: New file.
734 2022-08-31  Martin Liska  <mliska@suse.cz>
736         * config.host: Remove hppa.
738 2022-08-30  Martin Liska  <mliska@suse.cz>
740         * config.host: Remove the port.
742 2022-08-26  Martin Liska  <mliska@suse.cz>
744         * config.host: Remove cr16 related stuff.
745         * config/cr16/crti.S: Removed.
746         * config/cr16/crtlibid.S: Removed.
747         * config/cr16/crtn.S: Removed.
748         * config/cr16/divmodhi3.c: Removed.
749         * config/cr16/lib1funcs.S: Removed.
750         * config/cr16/t-cr16: Removed.
751         * config/cr16/t-crtlibid: Removed.
752         * config/cr16/unwind-cr16.c: Removed.
753         * config/cr16/unwind-dw2.h: Removed.
755 2022-08-16  Kito Cheng  <kito.cheng@sifive.com>
757         * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
758         (_FP_NANFRAC_H): Ditto.
759         (_FP_NANSIGN_H): Ditto.
760         * config/riscv/t-softfp32 (softfp_extensions): Add HF related
761         routines.
762         (softfp_truncations): Ditto.
763         (softfp_extras): Ditto.
764         * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
766 2022-08-16  Kito Cheng  <kito.cheng@sifive.com>
768         * soft-fp/fixhfdi.c: New.
769         * soft-fp/fixhfsi.c: Likewise.
770         * soft-fp/fixunshfdi.c: Likewise.
771         * soft-fp/fixunshfsi.c: Likewise.
772         * soft-fp/floatdihf.c: Likewise.
773         * soft-fp/floatsihf.c: Likewise.
774         * soft-fp/floatundihf.c: Likewise.
775         * soft-fp/floatunsihf.c: Likewise.
776         * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
777         lines and update URL for license.
778         * soft-fp/addsf3.c: Likewise.
779         * soft-fp/addtf3.c: Likewise.
780         * soft-fp/divdf3.c: Likewise.
781         * soft-fp/divsf3.c: Likewise.
782         * soft-fp/divtf3.c: Likewise.
783         * soft-fp/double.h: Likewise.
784         * soft-fp/eqdf2.c: Likewise.
785         * soft-fp/eqhf2.c: Likewise.
786         * soft-fp/eqsf2.c: Likewise.
787         * soft-fp/eqtf2.c: Likewise.
788         * soft-fp/extenddftf2.c: Likewise.
789         * soft-fp/extended.h: Likewise.
790         * soft-fp/extendhfdf2.c: Likewise.
791         * soft-fp/extendhfsf2.c: Likewise.
792         * soft-fp/extendhftf2.c: Likewise.
793         * soft-fp/extendhfxf2.c: Likewise.
794         * soft-fp/extendsfdf2.c: Likewise.
795         * soft-fp/extendsftf2.c: Likewise.
796         * soft-fp/extendxftf2.c: Likewise.
797         * soft-fp/fixdfdi.c: Likewise.
798         * soft-fp/fixdfsi.c: Likewise.
799         * soft-fp/fixdfti.c: Likewise.
800         * soft-fp/fixhfti.c: Likewise.
801         * soft-fp/fixsfdi.c: Likewise.
802         * soft-fp/fixsfsi.c: Likewise.
803         * soft-fp/fixsfti.c: Likewise.
804         * soft-fp/fixtfdi.c: Likewise.
805         * soft-fp/fixtfsi.c: Likewise.
806         * soft-fp/fixtfti.c: Likewise.
807         * soft-fp/fixunsdfdi.c: Likewise.
808         * soft-fp/fixunsdfsi.c: Likewise.
809         * soft-fp/fixunsdfti.c: Likewise.
810         * soft-fp/fixunshfti.c: Likewise.
811         * soft-fp/fixunssfdi.c: Likewise.
812         * soft-fp/fixunssfsi.c: Likewise.
813         * soft-fp/fixunssfti.c: Likewise.
814         * soft-fp/fixunstfdi.c: Likewise.
815         * soft-fp/fixunstfsi.c: Likewise.
816         * soft-fp/fixunstfti.c: Likewise.
817         * soft-fp/floatdidf.c: Likewise.
818         * soft-fp/floatdisf.c: Likewise.
819         * soft-fp/floatditf.c: Likewise.
820         * soft-fp/floatsidf.c: Likewise.
821         * soft-fp/floatsisf.c: Likewise.
822         * soft-fp/floatsitf.c: Likewise.
823         * soft-fp/floattidf.c: Likewise.
824         * soft-fp/floattihf.c: Likewise.
825         * soft-fp/floattisf.c: Likewise.
826         * soft-fp/floattitf.c: Likewise.
827         * soft-fp/floatundidf.c: Likewise.
828         * soft-fp/floatundisf.c: Likewise.
829         * soft-fp/floatunditf.c: Likewise.
830         * soft-fp/floatunsidf.c: Likewise.
831         * soft-fp/floatunsisf.c: Likewise.
832         * soft-fp/floatunsitf.c: Likewise.
833         * soft-fp/floatuntidf.c: Likewise.
834         * soft-fp/floatuntihf.c: Likewise.
835         * soft-fp/floatuntisf.c: Likewise.
836         * soft-fp/floatuntitf.c: Likewise.
837         * soft-fp/gedf2.c: Likewise.
838         * soft-fp/gesf2.c: Likewise.
839         * soft-fp/getf2.c: Likewise.
840         * soft-fp/half.h: Likewise.
841         * soft-fp/ledf2.c: Likewise.
842         * soft-fp/lesf2.c: Likewise.
843         * soft-fp/letf2.c: Likewise.
844         * soft-fp/muldf3.c: Likewise.
845         * soft-fp/mulsf3.c: Likewise.
846         * soft-fp/multf3.c: Likewise.
847         * soft-fp/negdf2.c: Likewise.
848         * soft-fp/negsf2.c: Likewise.
849         * soft-fp/negtf2.c: Likewise.
850         * soft-fp/op-1.h: Likewise.
851         * soft-fp/op-2.h: Likewise.
852         * soft-fp/op-4.h: Likewise.
853         * soft-fp/op-8.h: Likewise.
854         * soft-fp/op-common.h: Likewise.
855         * soft-fp/quad.h: Likewise.
856         * soft-fp/single.h: Likewise.
857         * soft-fp/soft-fp.h: Likewise.
858         * soft-fp/subdf3.c: Likewise.
859         * soft-fp/subsf3.c: Likewise.
860         * soft-fp/subtf3.c: Likewise.
861         * soft-fp/truncdfhf2.c: Likewise.
862         * soft-fp/truncdfsf2.c: Likewise.
863         * soft-fp/truncsfhf2.c: Likewise.
864         * soft-fp/trunctfdf2.c: Likewise.
865         * soft-fp/trunctfhf2.c: Likewise.
866         * soft-fp/trunctfsf2.c: Likewise.
867         * soft-fp/trunctfxf2.c: Likewise.
868         * soft-fp/truncxfhf2.c: Likewise.
869         * soft-fp/unorddf2.c: Likewise.
870         * soft-fp/unordsf2.c: Likewise.
871         * soft-fp/unordtf2.c: Likewise.
873 2022-07-18  Claudiu Zissulescu  <claziss@synopsys.com>
875         * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
876         * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
877         configurations.
879 2022-06-25  Jeff Law  <jeffreyalaw@gmail.com>
881         * config.host: Removed tilegx and tilepro entries.
882         * config/tilegx/sfp-machine.h: Removed.
883         * config/tilegx/sfp-machine32.h: Removed.
884         * config/tilegx/sfp-machine64.h: Removed.
885         * config/tilegx/t-crtstuff: Removed.
886         * config/tilegx/t-softfp: Removed.
887         * config/tilegx/t-tilegx: Removed.
888         * config/tilepro/atomic.c: Removed.
889         * config/tilepro/atomic.h: Removed.
890         * config/tilepro/linux-unwind.h: Removed.
891         * config/tilepro/sfp-machine.h: Removed.
892         * config/tilepro/softdivide.c: Removed.
893         * config/tilepro/softmpy.S: Removed.
894         * config/tilepro/t-crtstuff: Removed.
895         * config/tilepro/t-tilepro: Removed.
897 2022-06-09  Takayuki 'January June' Suwa  <jjsuwa_sys3175@yahoo.co.jp>
899         * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
900         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
902 2022-06-01  H.J. Lu  <hjl.tools@gmail.com>
904         PR libgcc/27576
905         * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
907 2022-05-25  Wilco Dijkstra  <wilco.dijkstra@arm.com>
909         PR libgcc/105708
910         * config/aarch64/lse-init.c: Increase constructor priority.
912 2022-05-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
914         PR target/104689
915         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
916         Handle the !REG_UNSAVED case.
917         * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
919 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
921         * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
922         (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
923         (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
925 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
927         * config.host: Add t-dfprules to AArch64 targets.
929 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
931         * configure: Regenerate.
933 2022-05-13  Sebastian Pop  <spop@amazon.com>
935         PR target/105162
936         * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
937         * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
939 2022-05-10  Martin Liska  <mliska@suse.cz>
940             Hans-Peter Helfert  <peter-helfert@t-online.de>
942         PR gcov-profile/105535
943         * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
944         n_functions.
946 2022-05-02  Martin Liska  <mliska@suse.cz>
948         * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
950 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
952         * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
953         (gcov_profile_merge_stream): Likewise.
955 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
957         * libgcov-util.c (consume_stream): New.
958         (get_target_profiles_for_merge): Likewise.
959         (gcov_profile_merge_stream): Likewise.
961 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
963         * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
965 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
967         * libgcov-util.c (read_gcda_file): Do not open file.
968         (ftw_read_file): Open file here.
970 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
972         * libgcov-util.c (read_gcda_file): Prepend new info object to global
973         list.
974         (ftw_read_file): Remove list append here.
976 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
978         * libgcov-util.c (read_gcda_file): Do not duplicate filename.
979         (ftw_read_file): Duplicate filename for read_gcda_file().
981 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
983         * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
984         (__gcov_filename_to_gcfn): Declare and document.
985         * libgcov-driver.c (dump_string): New.
986         (__gcov_filename_to_gcfn): Likewise.
987         (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
989 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
991         * libgcov.h (gcov_seek): Remove define and declaration.
993 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
995         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
996         parameter.  Pass mode to gcov_open() calls.
997         * libgcov-driver.c (dump_one_gcov):  Add mode parameter.  Pass mode to
998         gcov_exit_open_gcda_file() call.
999         (gcov_do_dump): Add mode parameter.  Pass mode to dump_one_gcov()
1000         calls.
1001         (__gcov_dump_one):  Open file for reading and writing.
1003 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1005         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
1006         reading and writing.
1007         * libgcov-util.c (read_gcda_file): Open file for reading.
1008         * libgcov.h (gcov_open): Delete declaration.
1010 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1012         * libgcov-util.c (gcov_profile_merge): Return the list of merged
1013         profiles.  Accept empty target and source profile lists.
1015 2022-04-08  Sergei Trofimovich  <siarheit@google.com>
1017         * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
1019 2022-03-29  Chenghua Xu  <xuchenghua@loongson.cn>
1020             Lulu Cheng  <chenglulu@loongson.cn>
1022         * configure: Regenerate file.
1024 2022-03-29  Chenghua Xu  <xuchenghua@loongson.cn>
1025             Lulu Cheng  <chenglulu@loongson.cn>
1027         * config/loongarch/crtfastmath.c: New file.
1028         * config/loongarch/linux-unwind.h: Like wise.
1029         * config/loongarch/sfp-machine.h: Like wise.
1030         * config/loongarch/t-crtstuff: Like wise.
1031         * config/loongarch/t-loongarch: Like wise.
1032         * config/loongarch/t-loongarch64: Like wise.
1033         * config/loongarch/t-softfp-tf: Like wise.
1034         * config.host: Add LoongArch tuples.
1035         * configure.ac: Add LoongArch support.
1037 2022-03-19  Sergei Trofimovich  <slyfox at gentoo dot org>
1039         PR libgcc/86224
1040         * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
1041         for __mulsi3.
1042         (__udivsi3_internal, __divsi3_internal): Similarly.
1043         (__umodsi3, __modsi3): Use the internal function names.
1045 2022-03-09  Tobias Burnus  <tobias@codesourcery.com>
1047         PR target/102215
1048         * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
1049         a line up to non-arg-dependent value first.
1050         (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
1051         __atomic_compare_exchange_{1,2}.
1053 2022-03-04  Iain Sandoe  <iain@sandoe.co.uk>
1055         * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
1056         * config/t-darwin-ehs: Add dependency on unwind.h.
1058 2022-02-24  Xi Ruoyao  <xry111@mengyan1223.wang>
1060         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
1061         with 0 instead of NULL.
1063 2022-02-24  Jose E. Marchesi  <jose.marchesi@oracle.com>
1065         PR target/104656
1066         * configure.ac: --disable-gcov if targetting bpf-*.
1067         * configure: Regenerate.
1069 2022-01-25  Florian Weimer  <fweimer@redhat.com>
1071         PR libgcc/104207
1072         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
1074 2022-01-17  Martin Liska  <mliska@suse.cz>
1076         * libgcov-driver.c: Rename .c names to .cc.
1078 2022-01-15  David  <gccbugzilla@limegreensocks.com>
1080         * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
1081         Remove inlined version, Windows 95 is no longer relevant.
1082         * config/i386/gthr-win32.h
1083         (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
1085 2022-01-14  Claudiu Zissulescu  <claziss@synopsys.com>
1087         * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
1088         DWARF_ALT_FRAME_RETURN_COLUMN macro.
1090 2022-01-04  Florian Weimer  <fweimer@redhat.com>
1092         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
1093         if available.
1095 2022-01-02  John David Anglin  <danglin@gcc.gnu.org>
1097         * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
1098         (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
1099         return is not equal _ASM_EFAULT.
1100         (__kernel_cmpxchg2): Likewise.
1102 2021-12-17  Iain Sandoe  <iain@sandoe.co.uk>
1104         * config.host: Add shim declaration header to powerpc*-darwin builds.
1105         * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
1106         file.
1107         * config/t-darwin-ehs: Add dependencies to the shared unwinder
1108         objects.
1109         * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
1110         the shared EH lib.  Add all-multi to the dependencies for the
1111         libgcc_s.1.dylib redirections.
1113 2021-12-13  Olivier Hainque  <hainque@adacore.com>
1115         * config.host (powerpc*-*-vxworks7*): Remove
1116         rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
1118 2021-12-13  Olivier Hainque  <hainque@adacore.com>
1120         * config.host (*vxworks*): Remove special case for
1121         arm on the use of vxcrtstuff.
1123 2021-12-13  Fred Konrad  <konrad@adacore.com>
1124             Olivier Hainque  <hainque@adacore.com>
1126         * config/t-vxcrtstuffS: New Makefile fragment.
1127         * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
1128         functions for INITFINI_ARRAY support in shared libs and guard
1129         the definition of eh table registration functions on conditions
1130         indicating they are needed.
1132 2021-12-13  Olivier Hainque  <hainque@adacore.com>
1134         * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
1135         ahead of the other files in tmake_files.
1136         * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
1137         overriding it.
1139 2021-12-13  Olivier Hainque  <hainque@adacore.com>
1141         * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
1142         both VxWorks7 and earlier.
1143         * config/t-vxworks7: Remove.
1144         * config.host: Remove special case for vxworks7.
1146 2021-12-11  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1148         * config/vxcrtstuff.c: Make constructor and destructor
1149         functions static when possible.
1151 2021-12-11  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1153         * config/vxcrtstuff.c: Remove constructor/destructor
1154         declarations.
1156 2021-12-10  Iain Sandoe  <iain@sandoe.co.uk>
1158         * config/t-darwin: Add libgcc_tm.h to the dependencies
1159         for darwin10-unwind-find-enc-func.
1161 2021-12-10  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1163         * config/rs6000/t-vxworks: New file.
1164         * config.host (powerpc*-*-vxworks*): Use it instead of
1165         t-ppccomm.
1167 2021-12-09  Fred Konrad  <konrad@adacore.com>
1169         * config.host (powerpc*-wrs-vxworks7*): Fix path to
1170         rs6000/t-ppc64-fp, relative to config/ not libgcc/.
1172 2021-12-09  Olivier Hainque  <hainque@adacore.com>
1173             Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1175         * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
1176         $(LIBGCC2_INCLUDES).
1177         * config/t-vxworks7: Likewise.
1179 2021-12-08  Iain Sandoe  <iain@sandoe.co.uk>
1181         * config.host (*-*-darwin*): Add logic to build a shared
1182         unwinder library for Darwin8-10.
1183         * config/i386/t-darwin: Build legacy libgcc_s.1.
1184         * config/rs6000/t-darwin: Likewise.
1185         * config/t-darwin: Reorganise the EH fragments to place
1186         them for inclusion in a shared EH lib.
1187         * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
1188         the supporting pieces (all FAT libs).
1189         * config/t-darwin-noeh: Removed.
1190         * config/darwin-unwind.ver: New file.
1191         * config/rs6000/t-darwin-ehs: New file.
1192         * config/t-darwin-ehs: New file.
1194 2021-12-06  Nelson Chu  <nelson.chu@sifive.com>
1196         * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
1197         then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
1198         * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
1199         HIDDEN_DEF.
1201 2021-11-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1203         * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
1204         ssize_t and vfork after including auto-host.h.
1206 2021-11-29  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1208         * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
1209         crtend.o to extra_parts.
1211 2021-11-27  John David Anglin  <danglin@gcc.gnu.org>
1213         * config/pa/t-dimode (lib2difuncs): Fix typo.
1215 2021-11-25  Florian Weimer  <fweimer@redhat.com>
1217         * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
1218         Remove func, ret.
1219         (find_fde_tail): New function.  Split from
1220         _Unwind_IteratePhdrCallback.  Move the result initialization
1221         from _Unwind_Find_FDE.
1222         (_Unwind_Find_FDE): Updated to call find_fde_tail.
1224 2021-11-22  Florian Weimer  <fweimer@redhat.com>
1226         * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
1227         (struct unw_eh_callback_data): Make dbase member conditional.
1228         (unw_eh_callback_data_dbase): New function.
1229         (base_from_cb_data): Simplify for the non-dbase case.
1230         (_Unwind_IteratePhdrCallback): Adjust.
1231         (_Unwind_Find_FDE): Likewise.
1233 2021-11-22  Florian Weimer  <fweimer@redhat.com>
1235         * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
1236         tbase member.
1237         (base_from_cb_data): Adjust.
1238         (_Unwind_IteratePhdrCallback): Likewise.
1239         (_Unwind_Find_FDE): Likewise.
1241 2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
1243         * config.host: Add weak emutls crt to the extra_parts.
1244         * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
1245         workaround.
1246         * config/libgcc-libsystem.ver: Add exclude list for the system-
1247         provided unwinder.
1248         * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
1249         * config/i386/libgcc-darwin.10.4.ver: Removed.
1250         * config/i386/libgcc-darwin.10.5.ver: Removed.
1251         * config/rs6000/libgcc-darwin.10.4.ver: Removed.
1252         * config/rs6000/libgcc-darwin.10.5.ver: Removed.
1253         * config/t-darwin-noeh: New file.
1255 2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
1257         * config/t-darwin: Build weak-defined emutls objects.
1258         * emutls.c (__emutls_get_address): Add optional attributes.
1259         (__emutls_register_common): Likewise.
1260         (EMUTLS_ATTR): New.
1262 2021-11-11  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
1264         PR libgcc/103044
1265         * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
1266         called with a null argument or at the end of the backtrace and return.
1267         * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
1269 2021-11-10  Jakub Jelinek  <jakub@redhat.com>
1271         * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
1272         formatting fix.
1274 2021-11-05  Iain Sandoe  <iain@sandoe.co.uk>
1276         * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
1277         * config/i386/darwin-lib.h: Declare Darwin10 crt function.
1279 2021-11-05  John David Anglin  <danglin@gcc.gnu.org>
1281         PR libgomp/96661
1282         * config.host (hppa*64*-*-linux*): Revise tmake_file.
1283         (hppa*64*-*-hpux11*): Likewise.
1284         * config/pa/sfp-exceptions.c: New.
1285         * config/pa/sfp-machine.h: New.
1286         * config/pa/t-dimode: New.
1287         * config/pa/t-softfp-sfdftf: New.
1289 2021-10-27  John David Anglin  <danglin@gcc.gnu.org>
1291         * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
1292         tmake_file.
1293         * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
1294         Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
1295         SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
1296         * config/pa/t-linux64 (LIB1ASMSRC): New define.
1297         (LIB1ASMFUNCS): Revise.
1298         (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
1300 2021-10-22  Stafford Horne  <shorne@gmail.com>
1302         * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1303         Change to 0.
1305 2021-10-14  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
1307         * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
1308         outside of get_regs() in order to use it in another function, this
1309         is done twice: for __powerpc64__ and for !__powerpc64__.
1310         (struct trace_arg): New struct.
1311         (struct layout): New struct.
1312         (ppc_backchain_fallback): New function.
1313         * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
1314         state and call MD_BACKCHAIN_FALLBACK.
1316 2021-10-13  Martin Liska  <mliska@suse.cz>
1318         PR gcov-profile/90364
1319         * libgcov-driver.c (merge_one_data): Skip timestamp and verify
1320         checksums.
1321         (write_one_data): Write also checksum.
1322         * libgcov-util.c (read_gcda_file): Read also checksum field.
1323         * libgcov.h (struct gcov_info): Add new field.
1325 2021-10-08  Ian Lance Taylor  <iant@golang.org>
1327         * config/i386/morestack.S: Use .init_array for constructor if
1328         available.
1329         * config/rs6000/morestack.S: Likewise.
1330         * config/s390/morestack.S: Likewise.
1332 2021-10-03  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
1334         PR target/101104
1335         * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
1336         Use more correct values for native IBM 128-bit.
1338 2021-09-28  Iain Sandoe  <iain@sandoe.co.uk>
1340         * config/i386/libgcc-darwin.ver: Add Symbols for
1341         __cpu_model, __cpu_indicator_init.
1343 2021-09-22  Iain Sandoe  <iain@sandoe.co.uk>
1345         * config/i386/sfp-machine.h: Guard Mach-O-specific code
1346         using __APPLE__.
1348 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1350         * config/t-slibgcc-darwin: Delete unused code.
1352 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1354         * config/i386/t-darwin: Add in a vers file for X86-specific
1355         symbols.
1356         * config/t-darwin: Add the generic symbol maps here...
1357         * config/t-slibgcc-darwin: ... removing from here.
1358         * config/i386/libgcc-darwin.ver: New file.
1360 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1362         * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
1363         and __mulhc3.
1365 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1367         * config.host: Use convenience library for Darwin10
1368         unwinder shim.
1369         * config/t-darwin: Build Darwin10 unwinder shim as a
1370         convenience library.
1372 2021-09-13  Andrew Pinski  <apinski@marvell.com>
1374         * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
1375         * config/m32r/libgcc-glibc.ver: Removed.
1376         * config/m32r/t-linux: Removed.
1378 2021-09-08  liuhongt  <hongtao.liu@intel.com>
1380         * config/i386/t-softfp: Compile __{mul,div}hc3 into
1381         libgcc_s.so.1.
1383 2021-09-08  Jakub Jelinek  <jakub@redhat.com>
1384             Iain Sandoe  <iain@sandoe.co.uk>
1386         * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
1387         and export *hf* and *hc* functions at GCC_12.0.0.
1389 2021-09-06  liuhongt  <hongtao.liu@intel.com>
1391         * Makefile.in: Adjust to support specific CFLAGS for each
1392         libgcc source file.
1393         * config/i386/64/t-softfp: Explicitly add -msse2 for HF
1394         related libgcc source files.
1395         * config/i386/t-softfp: Ditto.
1396         * config/i386/_divhc3.c: New file.
1397         * config/i386/_mulhc3.c: New file.
1399 2021-09-03  Iain Sandoe  <iain@sandoe.co.uk>
1401         * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
1402         alias_DFtype, alias_TFtype): New.
1403         (ALIAS_SELECTOR): New.
1404         (strong_alias): Use __typeof and a _Generic selector to
1405         provide the type to the synthesized function.
1407 2021-09-02  liuhongt  <hongtao.liu@intel.com>
1409         * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
1410         * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
1411         * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
1412         * config/i386/t-softfp: Add hf soft-fp.
1413         * config.host: Add i386/64/t-softfp.
1414         * config/i386/64/t-softfp: New file.
1416 2021-09-02  liuhongt  <hongtao.liu@intel.com>
1418         * soft-fp/eqhf2.c: New file.
1419         * soft-fp/extendhfdf2.c: New file.
1420         * soft-fp/extendhfsf2.c: New file.
1421         * soft-fp/half.h (FP_CMP_EQ_H): New marco.
1422         * soft-fp/truncdfhf2.c: New file
1423         * soft-fp/truncsfhf2.c: New file
1425 2021-09-01  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1427         * unwind-arm-common.inc (abort): Remove.
1429 2021-08-31  Richard Sandiford  <richard.sandiford@arm.com>
1431         * config/aarch64/value-unwind.h: Add missing runtime exception
1432         paragraph.
1433         * config/frv/frv-abi.h: Likewise.
1434         * config/i386/value-unwind.h: Likewise.
1435         * config/pa/pa64-hpux-lib.h: Likewise.
1437 2021-08-26  David Edelsohn  <dje.gcc@gmail.com>
1439         * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
1440         __gcc_qadd.
1441         (__gcc_qadd): Call ldouble_qadd_internal.
1442         (__gcc_qsub): Call ldouble_qadd_internal with second long double
1443         argument negated.
1445 2021-08-26  Jonathan Yong  <10walls@gmail.com>
1447         * config/i386/cygming-crtend.c: Fix register_frame_ctor
1448         and register_frame_dtor warnings.
1450 2021-08-24  Richard Earnshaw  <rearnsha@arm.com>
1452         PR target/102035
1453         * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
1454         Add vlldm erratum work-around.
1456 2021-08-21  John David Anglin  <danglin@gcc.gnu.org>
1458         * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
1460 2021-08-16  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1462         * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
1463         (gcov_type_unsigned): Likewise.
1465 2021-08-14  Stafford Horne  <shorne@gmail.com>
1467         PR target/99783
1468         * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
1469         * config/or1k/t-crtstuff: New file.
1471 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1473         * libgcov-driver.c (#include <stdint.h>): Remove.
1474         (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
1476 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1478         * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
1479         * gcov.h (gcov_info): Declare.
1480         (__gcov_info_to_gdca): Likewise.
1481         * libgcov.h (gcov_write_counter): Remove.
1482         (gcov_write_tag_length): Likewise.
1483         * libgcov-driver.c (#include <stdint.h>): New.
1484         (#include <string.h>): Remove.
1485         (NEED_L_GCOV): Conditionally define.
1486         (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
1487         (are_all_counters_zero): New.
1488         (gcov_dump_handler): Likewise.
1489         (gcov_allocate_handler): Likewise.
1490         (dump_unsigned): Likewise.
1491         (dump_counter): Likewise.
1492         (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
1493         Use dump_unsigned() and dump_counter().
1494         (write_one_data): Add dump_fn, allocate_fn, and arg parameters.  Use
1495         dump_unsigned(), dump_counter(), and are_all_counters_zero().
1496         (__gcov_info_to_gcda): New.
1498 2021-08-05  Jakub Jelinek  <jakub@redhat.com>
1500         * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
1501         * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
1502         * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
1503         * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
1505 2021-08-04  Jakub Jelinek  <jakub@redhat.com>
1507         * config/t-slibgcc-fuchsia: Undo doubly applied patch.
1509 2021-07-15  Alan Modra  <amodra@gmail.com>
1511         * config/rs6000/morestack.S (R2_SAVE): Define.
1512         (__morestack): Save and restore r2.  Set up r2 for called
1513         functions.
1515 2021-07-01  H.J. Lu  <hjl.tools@gmail.com>
1517         * soft-fp/extendhfxf2.c: New file.
1518         * soft-fp/truncxfhf2.c: Likewise.
1520 2021-06-29  Julian Brown  <julian@codesourcery.com>
1522         * config/gcn/lib2-bswapti2.c: New file.
1523         * config/gcn/lib2-divmod-di.c: New file.
1524         * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
1525         typedefs.
1526         (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
1527         * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
1528         lib2-bswapti2.c.
1530 2021-06-29  Julian Brown  <julian@codesourcery.com>
1532         * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
1533         return types to USItype.
1534         * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
1536 2021-06-23  Kewen Lin  <linkw@linux.ibm.com>
1538         * configure: Regenerate.
1539         * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
1540         typos among the name, CFLAGS and the test.
1541         * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
1542         fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
1543         Remove.
1544         * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
1545         macro FLOAT128_HW_INSNS_ISA3_1.
1546         (FP128_3_1_CFLAGS_HW): Fix option typo.
1547         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
1548         FLOAT128_HW_INSNS_ISA3_1.
1549         (__floattikf_resolve): Likewise.
1550         (__floatuntikf_resolve): Likewise.
1551         (__fixkfti_resolve): Likewise.
1552         (__fixunskfti_resolve): Likewise.
1553         (__floattikf): Likewise.
1554         (__floatuntikf): Likewise.
1555         (__fixkfti): Likewise.
1556         (__fixunskfti): Likewise.
1558 2021-06-11  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
1560         PR target/99939
1561         * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
1562         macro.
1563         * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
1564         on passing -mcmse option.
1566 2021-06-10  Segher Boessenkool  <segher@kernel.crashing.org>
1568         * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
1569         _ARCH_PPC64 .
1571 2021-06-09  Carl Love  <cel@us.ibm.com>
1573         * config.host: Add if test and set for
1574         libgcc_cv_powerpc_3_1_float128_hw.
1575         * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
1576         Change calls of __fixkfti to __fixkfti_sw.
1577         * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
1578         Change calls of __fixunskfti to __fixunskfti_sw.
1579         * config/rs6000/float128-p10.c (__floattikf_hw,
1580         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
1581         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
1582         (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
1583         __fixunskfti_resolve): Add resolve functions.
1584         (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
1585         * config/rs6000/float128-sed (floattitf, __floatuntitf,
1586         __fixtfti, __fixunstfti): Add editor commands to change names.
1587         * config/rs6000/float128-sed-hw (__floattitf,
1588         __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
1589         change names.
1590         * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
1591         * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
1592         * config/rs6000/quad-float128.h (__floattikf_sw,
1593         __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
1594         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
1595         __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
1596         * config/rs6000/t-float128 (floattikf, floatuntikf,
1597         fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
1598         (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
1599         file names to fp128_ppc_funcs.
1600         * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
1601         fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
1602         fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
1603         * config/rs6000/t-float128-p10-hw: New file.
1604         * configure: Update script for isa 3.1 128-bit float support.
1605         * configure.ac: Add check for 128-bit float hardware support.
1606         * config/rs6000/fixkfti-sw.c: New file.
1607         * config/rs6000/fixunskfti-sw.c: New file.
1608         * config/rs6000/floattikf-sw.c: New file.
1609         * config/rs6000/floatuntikf-sw.c: New file.
1611 2021-05-13  Dimitar Dimitrov  <dimitar@dinux.eu>
1613         * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
1615 2021-05-13  Martin Liska  <mliska@suse.cz>
1617         * libgcov-driver.c: Fix GNU coding style.
1619 2021-05-10  Martin Liska  <mliska@suse.cz>
1621         * libgcov-driver.c (gcov_version): Use different name that does
1622         not clash with newly introduced macro.
1624 2021-04-29  Eric Botcazou  <ebotcazou@adacore.com>
1626         * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
1627         if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
1628         * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
1630 2021-04-28  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
1632         * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1633         Define.
1634         (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
1635         * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1636         Define.
1637         (__divkc3): Improve complex divide.
1639 2021-04-23  Michael Meissner  <meissner@linux.ibm.com>
1641         PR target/98952
1642         * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
1643         trampoline size comparison in 32-bit by reversing test and
1644         combining load immediate with compare.
1645         (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
1646         in 32-bit by reversing test and combining load immediate with
1647         compare.
1649 2021-04-05  Florian Weimer  <fweimer@redhat.com>
1650             Michael Meissner   <meissner@linux.ibm.com>
1652         * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
1653         point functions for $(decimal_float) only.
1655 2021-04-03  Jakub Jelinek  <jakub@redhat.com>
1657         PR target/97653
1658         * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
1659         $(objext) instead of $(object).  Use _floatunditf instead of
1660         _floatunsditf.  Add tf <-> ti conversion objects.
1661         (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
1663 2021-03-29  Michael Meissner  <meissner@linux.ibm.com>
1665         * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
1666         (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
1667         (fp128_decstr_objs): Delete.
1668         * dfp-bit.h: Call __sprintfieee128 to do conversions from
1669         _Float128 to a Decimal type.  Call __strtoieee128 to do
1670         conversions from a Decimal type to _Float128.
1671         * config/rs6000/_sprintfkf.c: Delete file.
1672         * config/rs6000/_sprintfkf.h: Delete file.
1673         * config/rs6000/_strtokf.c: Delete file.
1674         * config/rs6000/_strtokf.h: Delete file.
1676 2021-03-23  Marcus Comstedt  <marcus@mc.pp.se>
1678         * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
1679         to __BYTE_ORDER__.
1681 2021-03-06  Jakub Jelinek  <jakub@redhat.com>
1683         PR gcov-profile/99406
1684         * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
1685         defined, define these macros if not defined already.
1687 2021-03-04  Martin Liska  <mliska@suse.cz>
1689         PR gcov-profile/99105
1690         * libgcov-driver.c (write_top_counters): Rename to ...
1691         (write_topn_counters): ... this.
1692         (write_one_data): Pre-allocate buffer for number of items
1693         in the corresponding linked lists.
1694         * libgcov.h (malloc_mmap): New function.
1695         (allocate_gcov_kvp): Use it.
1697 2021-03-04  Martin Liska  <mliska@suse.cz>
1699         PR gcov-profile/99385
1700         * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
1702 2021-03-03  Martin Liska  <mliska@suse.cz>
1704         PR gcov-profile/97461
1705         * config.in: Regenerate.
1706         * configure: Likewise.
1707         * configure.ac: Check sys/mman.h header file
1708         * libgcov-driver.c (struct gcov_kvp): Remove static
1709         pre-allocated pool and use a dynamic one.
1710         * libgcov.h (MMAP_CHUNK_SIZE): New.
1711         (gcov_counter_add): Use mmap to allocate pool for struct
1712         gcov_kvp.
1714 2021-03-02  Michael Meissner  <meissner@linux.ibm.com>
1716         * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
1717         the function.
1718         * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
1720 2021-02-24  Jakub Jelinek  <jakub@redhat.com>
1722         PR libgcc/99236
1723         * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
1724         negation of m in unsigned type.
1726 2021-02-24  Christophe Lyon  <christophe.lyon@linaro.org>
1727             Hau Hsu  <hsuhau617@gmail.com>
1729         PR target/99157
1730         * config/arm/t-arm: Fix cmse support detection.
1732 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
1734         * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
1736 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
1738         * config/rs6000/_dd_to_kf.c: New file.
1739         * config/rs6000/_kf_to_dd.c: New file.
1740         * config/rs6000/_kf_to_sd.c: New file.
1741         * config/rs6000/_kf_to_td.c: New file.
1742         * config/rs6000/_sd_to_kf.c: New file.
1743         * config/rs6000/_sprintfkf.c: New file.
1744         * config/rs6000/_sprintfkf.h: New file.
1745         * config/rs6000/_strtokf.h: New file.
1746         * config/rs6000/_strtokf.c: New file.
1747         * config/rs6000/_td_to_kf.c: New file.
1748         * config/rs6000/quad-float128.h: Add new declarations.
1749         * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
1750         (fp128_decstr_funcs): New macro.
1751         (ibm128_dec_funcs): New macro.
1752         (fp128_ppc_funcs): Add the new conversions.
1753         (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
1754         compiled with -mabi=ieeelongdouble.
1755         (fp128_decstr_objs): Force __float128 <-> string conversions to be
1756         compiled with -mabi=ibmlongdouble.
1757         (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
1758         compiled with -mabi=ieeelongdouble.
1759         (FP128_CFLAGS_DECIMAL): New macro.
1760         (IBM128_CFLAGS_DECIMAL): New macro.
1761         * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
1762         (BFP_TO_DFP): Add PowerPC _Float128 support.
1763         * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
1764         IEEE 128-bit floating point.
1765         (DFP_TO_BFP): Add PowerPC _Float128 support.
1766         (BFP_TO_DFP): Add PowerPC _Float128 support.
1767         (BFP_SPRINTF): New macro.
1769 2021-01-27  Jakub Jelinek  <jakub@redhat.com>
1771         * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
1772         * config/i386/savms64f.h: Likewise.
1773         * config/i386/resms64.h: Likewise.
1774         * config/i386/resms64f.h: Likewise.
1775         * config/i386/resms64x.h: Likewise.
1776         * config/i386/resms64fx.h: Likewise.
1778 2021-01-26  Martin Liska  <mliska@suse.cz>
1780         PR gcov-profile/98739
1781         * libgcov.h (gcov_topn_add_value): Do not train when
1782         we have a merged profile with a negative number of total
1783         value.
1785 2021-01-25  Martin Liska  <mliska@suse.cz>
1787         PR gcov-profile/98739
1788         * libgcov-merge.c (__gcov_merge_topn): Mark when merging
1789         ends with a dropped counter.
1790         * libgcov.h (gcov_topn_add_value): Add return value.
1792 2021-01-13  Stafford Horne  <shorne@gmail.com>
1794         * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1795         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
1796         FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
1797         FP_EX_ALL): New constant macros.
1798         (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
1799         FP_HANDLE_EXCEPTIONS): New macros.
1800         (_FP_TININESS_AFTER_ROUNDING): Change to 1.
1802 2021-01-13  Samuel Thibault  <samuel.thibault@gnu.org>
1804         * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
1805         posix siginfo case to struct handler_args. Detect between legacy
1806         and siginfo from the second parameter, which is a small sigcode in
1807         the legacy case, and a pointer in the siginfo case.
1809 2020-12-20  Max Filippov  <jcmvbkbc@gmail.com>
1811         * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
1812         functions.
1813         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
1814         _bswapdi2.
1816 2020-12-08  Ian Lance Taylor  <iant@golang.org>
1818         * generic-morestack-thread.c (free_segments): Block signals during
1819         thread exit.
1821 2020-12-03  Michael Meissner  <meissner@linux.ibm.com>
1823         PR libgcc/97543
1824         PR libgcc/97643
1825         * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
1826         (IBM128_SHARED_OBJS): New make variable.
1827         (IBM128_OBJS): New make variable.  Set all objects to use the
1828         explicit IBM format, and disable gnu attributes.
1829         (IBM128_CFLAGS): New make variable.
1830         (gcc_s_compile): Add -mno-gnu-attribute to all shared library
1831         modules.
1833 2020-12-03  Alexandre Oliva  <oliva@adacore.com>
1835         * config/t-vxworks (LIB2ADD): Drop.
1836         * config/t-vxworks7 (LIB2ADD): Likewise.
1837         * config/vxcache.c: Remove.
1839 2020-11-30  Stefan Kanthak  <stefan.kanthak@nexgo.de>
1841         * libgcc2.c (bswapsi2): Make constants unsigned.
1843 2020-11-25  Stefan Kanthak  <stefan.kanthak@nexgo.de>
1845         * libgcc2.c (absvSI2): Simplify/improve implementation by using
1846         builtin_add_overflow.
1847         (absvsi2, absvDI2): Likewise.
1849 2020-11-20  Maciej W. Rozycki  <macro@linux-mips.org>
1851         * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
1852         (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
1854 2020-11-18  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1856         * config/msp430/lib2hw_mul.S (mult64_hw): New.
1857         (if MUL_32): Use mult64_hw for __muldi3.
1858         (if MUL_F5): Use mult64_hw for __muldi3.
1859         * config/msp430/lib2mul.c (__muldi3): New.
1860         * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
1862 2020-11-17  Alan Modra  <amodra@gmail.com>
1864         * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
1865         (LIB2_SIDITI_CONV_FUNCS): Define.
1866         * config/rs6000/ppc64-fp.c: Delete file.
1868 2020-11-15  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1870         * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
1871         hwmult library functions.
1873 2020-11-10  Jeff Law  <law@redhat.com>
1875         * libgcc2.c: Fix whitespace issues in most recent change.
1877 2020-11-10  Stefan Kanthak  <stefan.kanthak@nexgo.de>
1879         * libgcc2.c (__addvSI3): Use overflow builtins.
1880         (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
1881         (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
1882         (__negvsi2, __negvDI2): Likewise.
1883         (__cmpdi2, __ucmpdi2): Adjust implementation to improve
1884         generated code.
1885         * libgcc2.h (__ucmpdi2): Adjust prototype.
1887 2020-11-03  Pat Bernardi  <bernardi@adacore.com>
1888             Olivier Hainque   <hainque@adacore.com>
1890         * config.host (aarch64-vxworks7*, tmake_file): Add
1891         ${cpu_type}/t-lse and t-slibgcc-libgcc.
1893 2020-11-03  Martin Storsjö  <martin@martin.st>
1895         * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
1896         before calling the callback.
1898 2020-10-30  Olivier Hainque  <hainque@adacore.com>
1899             Douglas Rupp  <rupp@adacore.com>
1900             Pat Bernardi  <bernardi@adacore.com>
1902         * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
1903         to apply to VxWorks 7 as well.
1905 2020-10-29  Olivier Hainque  <hainque@adacore.com>
1907         * config/gthr-vxworks-tls.c: Fix preprocessor logic
1908         controlling the definition of VX_ENTER_TLS_DTOR and
1909         VX_LEAVE_TLS_DTOR based on a version major check.
1911 2020-10-29  Olivier Hainque  <hainque@adacore.com>
1913         * config/gthr-vxworks-thread.c: Fix name of macro used
1914         to condition the inclusion of an actual implementation.
1916 2020-10-27  Martin Liska  <mliska@suse.cz>
1918         PR gcov-profile/97461
1919         * libgcov.h (gcov_counter_add): Use first static counters
1920         as it should help to have malloc wrappers set up.
1922 2020-10-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1924         * config/gthr-vxworks-thread.c: #include gthr.h before
1925         testing the guard defined there.
1926         * config/gthr-vxworks-cond.c: Likewise.
1928 2020-10-21  Douglas Rupp  <rupp@adacore.com>
1929             Olivier Hainque  <hainque@adacore.com>
1931         * config.host (powerpc*-wrs-vxworks7*): New case.
1932         * configure.ac: Handle powerpc*-*-vxworks7* as
1933         powerpc*-*-linux* for ppc-fp_type.
1934         * configure: Regenerate.
1936 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1938         * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
1939         section on VxWorks >= 6.
1940         * config/gthr-vxworks-thread.c: Condition the entire
1941         implementation on __GTHREAD_CXX0X.
1943 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1945         * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
1946         section on VxWorks >= 6.
1947         * config/gthr-vxworks-cond.c: Condition the entire
1948         implementation on __GTHREAD_HAS_COND.
1950 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1952         * config/gthr-vxworks.c: #include <taskLib.h>.
1954 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1956         * config/gthr-vxworks.h: Rewrite remaining occurrence
1957         of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
1959 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1960              Olivier Hainque   <hainque@adacore.com>
1962         * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
1963         except on VxWorks 6.
1965 2020-10-16  Olivier Hainque  <hainque@adacore.com>
1967         * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
1969 2020-10-14  Alexandre Oliva  <oliva@adacore.com>
1971         * config/gthr-vxworks-thread.c: Include stdlib.h.
1972         (tls_delete_hook): Prototype it.
1973         (__gthread_cond_signal): Return early if no waiters.  Consume
1974         signal in case the semaphore got full.  Use semInfoGet instead
1975         of kernel-mode-only semInfo.
1976         (__gthread_cond_timedwait): Use semExchange.  Always take the
1977         mutex again before returning.
1978         * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
1980 2020-10-14  Olivier Hainque  <hainque@adacore.com>
1982         * config/t-vxworks (LIBGCC2_INCLUDES): Append
1983         $(MULTISUBDIR) to the -I path for fixed headers, as we
1984         arrange to have different sets of such headers for different
1985         multilibs when they are activated.
1986         * config/t-vxworks7: Likewise.
1988 2020-10-14  Olivier Hainque  <hainque@adacore.com>
1990         * config/t-vxworks: Add include-fixed to include search
1991         paths for libgcc on VxWorks.
1992         * config/t-vxworks7: Likewise.
1994 2020-10-09  H.J. Lu  <hjl.tools@gmail.com>
1996         PR target/97148
1997         * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
1998         instead of <cetintrin.h>.
2000 2020-10-01  Alan Modra  <amodra@gmail.com>
2002         * config/rs6000/morestack.S,
2003         * config/rs6000/tramp.S: Support __PCREL__ code.
2005 2020-10-01  Alan Modra  <amodra@gmail.com>
2007         * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
2009 2020-09-29  Maciej W. Rozycki  <macro@wdc.com>
2011         * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
2012         variable.
2014 2020-09-28  Richard Sandiford  <richard.sandiford@arm.com>
2016         * config/aarch64/libgcc-softfp.ver: New file.
2017         * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
2019 2020-09-27  Clement Chigot  <clement.chigot@atos.net>
2021         * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
2023 2020-09-22  Sergei Trofimovich  <siarheit@google.com>
2025         PR gcov-profile/96913
2026         * libgcov-driver.c (write_one_data): Avoid function pointer
2027         comparison in TOP streaming decision.
2029 2020-09-17  Torbjörn SVENSSON  <torbjorn.svensson@st.com>
2030             Christophe Lyon  <christophe.lyon@linaro.org>
2032         * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
2033         qualifier.
2034         (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
2035         (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
2036         missing prototypes.
2038 2020-09-17  Wei Wentao  <weiwt.fnst@cn.fujitsu.com>
2040         * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
2041         unused variable warning.
2043 2020-09-16  Jojo R  <jiejie_rong@c-sky.com>
2045         * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
2047 2020-09-09  Tom de Vries  <tdevries@suse.de>
2049         * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
2050         Wbuiltin-declaration-mismatch.
2052 2020-08-26  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2054         * config/msp430/slli.S (__gnu_mspabi_sllp): New.
2055         * config/msp430/srai.S (__gnu_mspabi_srap): New.
2056         * config/msp430/srli.S (__gnu_mspabi_srlp): New.
2058 2020-08-13  Kwok Cheung Yeung  <kcy@codesourcery.com>
2060         * config/nvptx/atomic.c: New.
2061         * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
2063 2020-08-03  Ian Lance Taylor  <iant@golang.org>
2065         * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
2067 2020-08-03  Jakub Jelinek  <jakub@redhat.com>
2069         PR target/96402
2070         * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
2071         of x(tmp0), x(tmp1) in STXP arguments.
2073 2020-07-31  Maciej W. Rozycki  <macro@wdc.com>
2075         * config/riscv/save-restore.S [__riscv_xlen == 64]
2076         (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
2077         (__riscv_save_2): Replace negative immediates used for the final
2078         stack pointer adjustment with positive ones, right-shifted by 4.
2080 2020-07-31  Martin Liska  <mliska@suse.cz>
2082         * libgcov-driver.c: Add __gcov_kvp_pool
2083         and __gcov_kvp_pool_index variables.
2084         * libgcov.h (allocate_gcov_kvp): New.
2085         (gcov_topn_add_value): Use it.
2087 2020-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2089         * config/aarch64/lse.S: Add PAC property note.
2091 2020-07-23  Martin Liska  <mliska@suse.cz>
2093         PR gcov-profile/96035
2094         * libgcov-driver-system.c: Create gcov folders with 0777
2095         so that it respects a system umask.
2097 2020-07-14  David Edelsohn  <dje.gcc@gmail.com>
2099         * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
2101 2020-07-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2103         PR target/94891
2104         * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
2105         (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
2106         (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
2107         (MD_DEMANGLE_RETURN_ADDR): This.
2108         (aarch64_post_extract_frame_addr): Rename to ...
2109         (aarch64_demangle_return_addr): This.
2110         (aarch64_post_frob_eh_handler_addr): Remove.
2111         * unwind-dw2.c (uw_update_context): Demangle return address.
2112         (uw_frob_return_addr): Remove.
2114 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2116         PR target/96001
2117         * config/aarch64/lse.S: Add BTI marking and related definitions,
2118         and add BTI c to function entries.
2120 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2122         * config/aarch64/lse.S: Add stack note.
2124 2020-07-02  Martin Liska  <mliska@suse.cz>
2126         PR gcov-profile/95348
2127         * libgcov-driver.c (merge_one_data): Merge only profiles
2128         that are not of non-zero type.
2129         (write_one_data): Write counters only if there's one non-zero
2130         value.
2131         * libgcov-util.c (tag_function): Change signature from unsigned
2132         to int.
2133         (tag_blocks): Likewise.
2134         (tag_arcs): Likewise.
2135         (tag_counters): Likewise.
2136         (tag_summary): Likewise.
2137         (tag_lines): Read only if COUNTERS is non-zero.
2138         (read_gcda_file): Handle negative length for COUNTERS type.
2140 2020-06-25  Martin Liska  <mliska@suse.cz>
2142         * libgcov-driver.c (merge_summary): Remove function as its name
2143         is misleading and doing something different.
2144         (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
2145         in gcov-tool.
2146         * libgcov-util.c (curr_object_summary): Remove.
2147         (read_gcda_file): Remove unused curr_object_summary.
2148         (gcov_merge): Merge summaries.
2149         * libgcov.h: Add summary argument for gcov_info struct.
2151 2020-06-24  H.J. Lu  <hjl.tools@gmail.com>
2153         PR target/95259
2154         * config/i386/cpuinfo.c: Don't include "cpuinfo.h".  Include
2155         "common/config/i386/i386-cpuinfo.h" and
2156         "common/config/i386/cpuinfo.h".
2157         (__cpu_features2): Changed to array.
2158         (get_amd_cpu): Removed.
2159         (get_intel_cpu): Likewise.
2160         (get_available_features): Likewise.
2161         (__cpu_indicator_init): Call cpu_indicator_init.
2162         * config/i386/cpuinfo.h: Removed.
2164 2020-06-23  David Edelsohn  <dje.gcc@gmail.com>
2166         * Makefile.in: Remove uses of empty.mk. Use -include.
2167         * config/avr/t-avr: Use -include.
2168         * empty.mk: Delete.
2170 2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
2172         * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
2173         * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
2174         and 64 bit with -maix64.
2175         * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
2176         Build and install AIX-style FAT libraries.
2178 2020-06-17  Samuel Thibault  <samuel.thibault@gnu.org>
2180         * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
2181         'i386/gnu-unwind.h'
2182         * config/i386/gnu-unwind.h: New file.
2184 2020-06-17  Martin Liska  <mliska@suse.cz>
2186         * libgcov-util.c (read_gcda_finalize): Remove const operator.
2187         (merge_wrapper): Add both counts and use them properly.
2188         (topn_to_memory_representation): New function.
2189         (gcov_merge): Covert on disk representation to in memory
2190         representation.
2191         * libgcov.h: Remove const operator.
2193 2020-06-15  Max Filippov  <jcmvbkbc@gmail.com>
2195         * configure: Regenerate.
2196         * configure.ac: Use AC_COMPILE_IFELSE instead of manual
2197         preprocessor invocation to check for __XTENSA_CALL0_ABI__.
2199 2020-06-09  Martin Liska  <mliska@suse.cz>
2201         PR gcov-profile/95494
2202         * libgcov-driver.c (write_top_counters): Cast first to
2203         intptr_t as sizeof(*) != sizeof(gcov_type).
2204         * libgcov.h (gcov_counter_set_if_null): Remove.
2205         (gcov_topn_add_value): Cast first to intptr_t and update
2206         linked list directly.
2208 2020-06-09  Max Filippov  <jcmvbkbc@gmail.com>
2210         * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
2211         with uw_install_context_1.
2213 2020-06-04  Andreas Schwab  <schwab@suse.de>
2215         PR target/59230
2216         PR libfortran/59227
2217         * config/ia64/t-softfp-compat (softfp_file_list): Filter out
2218         soft-fp/divtf3.c.
2219         (LIB2ADD): Add config/ia64/divtf3.c.
2220         * config/ia64/divtf3.c: New file.
2222 2020-06-03  Martin Liska  <mliska@suse.cz>
2224         PR gcov-profile/95480
2225         * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
2226         * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
2227         (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
2228         (gcov_counter_set_if_null): Likewise.
2230 2020-06-02  Jim Wilson  <jimw@sifive.com>
2232         * config/riscv/div.S (__divdi3): For negative arguments, change bgez
2233         to bgtz.
2235 2020-06-02  Martin Liska  <mliska@suse.cz>
2237         * libgcov.h (gcov_topn_add_value): Use xcalloc instead
2238         of xmalloc.
2240 2020-06-02  Martin Liska  <mliska@suse.cz>
2242         * libgcov-driver.c (prune_topn_counter): Remove.
2243         (prune_counters): Likewise.
2244         (merge_one_data): Special case TOP N counters
2245         as they have variable length.
2246         (write_top_counters): New.
2247         (write_one_data): Special case TOP N.
2248         (dump_one_gcov): Do not prune TOP N counters.
2249         * libgcov-merge.c (merge_topn_values_set): Remove.
2250         (__gcov_merge_topn): Use gcov_topn_add_value.
2251         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2252         Likewise here.
2253         * libgcov.h (gcov_counter_add): New.
2254         (gcov_counter_set_if_null): Likewise.
2255         (gcov_topn_add_value): New.
2257 2020-06-01  Uroš Bizjak  <ubizjak@gmail.com>
2259         * config/i386/sfp-exceptions.c (struct fenv):
2260         Add __attribute__ ((gcc_struct)).
2262 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
2264         PR bootstrap/95413
2265         * configure: Regenerated.
2267 2020-05-28  Dong JianQiang  <dongjianqiang2@huawei.com>
2269         PR gcov-profile/95332
2270         * libgcov-util.c (read_gcda_file): Call gcov_magic.
2271         * libgcov.h (gcov_magic): Disable GCC poison.
2273 2020-05-21  H.J. Lu  <hongjiu.lu@intel.com>
2275         PR target/95212
2276         * config/i386/cpuinfo.h (processor_features): Move
2277         FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
2279 2020-05-20  H.J. Lu  <hongjiu.lu@intel.com>
2281         PR target/91695
2282         * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
2283         check.
2285 2020-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2287         PR target/95212
2288         PR target/95220
2289         * config/i386/cpuinfo.c (get_available_features): Fix
2290         FEATURE_GFNI check.  Also check FEATURE_AVX512VP2INTERSECT.
2291         * config/i386/cpuinfo.h (processor_features): Add
2292         FEATURE_AVX512VP2INTERSECT.
2294 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2296         PR bootstrap/95147
2297         * configure: Regenerated.
2299 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2301         * configure: Regenerated.
2303 2020-05-09  Hans-Peter Nilsson  <hp@axis.com>
2305         * config.host: Remove support for crisv32-*-* and cris*-*-linux.
2306         * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
2308 2020-05-06  Uroš Bizjak  <ubizjak@gmail.com>
2310         * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
2311         (__math_force_eval_div): New define.
2312         (__sfp_handle_exceptions): Use __math_force_eval_div to use
2313         generic division to generate INVALID, DIVZERO and INEXACT
2314         exceptions.
2316 2020-05-06  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2318         * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
2319         instead of getauxval.
2320         (AT_HWCAP): Define.
2321         (HWCAP_ATOMICS): Define.
2322         Guard detection on __gnu_linux__.
2324 2020-05-05  Michael Meissner  <meissner@linux.ibm.com>
2326         * config.host: Delete changes meant for a private branch.
2327         * config/rs6000/t-float128: Likewise.
2328         * configure.ac: Likewise.
2329         * configure: Likewise.
2331 2020-05-05  Martin Liska  <mliska@suse.cz>
2333         PR gcov-profile/93623
2334         * Makefile.in: Remove __gcov_flush.
2335         * gcov.h (__gcov_flush): Remove.
2336         * libgcov-interface.c (__gcov_flush): Remove.
2337         (init_mx): Use renamed mutex.
2338         (__gcov_lock): Likewise.
2339         (__gcov_unlock): Likewise.
2340         (__gcov_fork): Likewise.
2341         (__gcov_flush): Remove.
2343 2020-05-05  Martin Liska  <mliska@suse.cz>
2345         PR gcov-profile/93623
2346         * libgcov-interface.c (__gcov_fork): Do not flush
2347         and reset only in child process.
2348         (__gcov_execl): Dump counters only and reset them
2349         only if exec* fails.
2350         (__gcov_execlp): Likewise.
2351         (__gcov_execle): Likewise.
2352         (__gcov_execv): Likewise.
2353         (__gcov_execvp): Likewise.
2354         (__gcov_execve): Likewise.
2356 2020-05-05  Martin Liska  <mliska@suse.cz>
2358         PR gcov-profile/93623
2359         * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
2360         * libgcov-interface.c (ALIAS_void_fn): Remove.
2361         (__gcov_lock): New.
2362         (__gcov_unlock): New.
2363         (__gcov_flush): Use __gcov_lock and __gcov_unlock.
2364         (__gcov_reset): Likewise.
2365         (__gcov_dump): Likewise.
2366         * libgcov.h (__gcov_lock): New declaration.
2367         (__gcov_unlock): Likewise.
2369 2020-05-01  Uroš Bizjak  <ubizjak@gmail.com>
2371         * config/i386/sfp-exceptions.c (__math_force_eval): New define.
2372         (__sfp_handle_exceptions): Use __math_force_eval to evaluate
2373         generic division to generate INVALID and DIVZERO exceptions.
2375 2020-04-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2377         * config/rs6000/crtresfpr.S: Use .machine ppc.
2378         * config/rs6000/crtresxfpr.S: Likewise.
2379         * config/rs6000/crtsavfpr.S: Likewise.
2381 2020-04-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2383         PR target/94514
2384         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
2385         Update context->flags accroding to the frame state.
2387 2020-04-19  Uroš Bizjak  <ubizjak@gmail.com>
2389         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
2390         Remove unneeded assignments to volatile memory.
2392 2020-04-15  Jakub Jelinek  <jakub@redhat.com>
2394         PR target/93053
2395         * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
2396         * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
2397         is not defined, use just .arch armv8-a.
2398         (B, M, N, OPN): Define.
2399         (COMMENT): New .macro.
2400         (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
2401         defined.  Otherwise, move the operands right after the glue? and
2402         comment out operands where the macros are used.
2403         * configure: Regenerated.
2404         * config.in: Regenerated.
2406 2020-04-07  Ian Lance Taylor  <iant@golang.org>
2408         PR libgcc/94513
2409         * generic-morestack.c: Give up trying to use __mmap/__munmap, use
2410         syscall instead.
2412 2020-04-04  Ian Lance Taylor  <iant@golang.org>
2414         * generic-morestack.c: Only use __mmap on glibc >= 2.26.
2416 2020-04-03  Ian Lance Taylor  <iant@golang.org>
2418         * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
2419         than mmap/munmap, to avoid hooks.
2421 2020-04-03  Jim Johnston  <jjohnst@us.ibm.com>
2423         * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
2424         (TPFRA_OFFSET): Macros removed.
2425         (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
2426         (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
2427         (PG3_SKIPPING_OFFSET): New macros.
2428         (__isPATrange): Use cinfc_fast for the check.
2429         (__isSkipResetAddr): New function.
2430         (s390_fallback_frame_state): Check for skip trace addresses. Use
2431         either ICST_CRET or ICST_SRET to calculate return address
2432         location.
2433         (__tpf_eh_return): Handle skip trace addresses.
2435 2020-03-26  Richard Earnshaw  <rearnsha@arm.com>
2437         PR target/94220
2438         * config/arm/lib1funcs.asm (COND): Use a single definition for
2439         unified syntax.
2440         (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
2441         (aeabi_idivmod): Likewise.
2442         (divsi3_skip_div0_test): Likewise.
2444 2020-03-17  Mihail Ionescu  <mihail.ionescu@arm.com>
2446         * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
2448 2020-03-04  Andreas Krebbel  <krebbel@linux.ibm.com>
2450         * config.host: Include the new makefile fragment.
2451         * config/s390/t-tpf: New file.
2453 2020-03-03  Richard Earnshaw  <rearnsha@arm.com>
2455         * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
2456         syntax.
2457         (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
2458         (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
2459         (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
2460         (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
2461         * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
2462         syntax.
2463         (divsi3, modsi3): Likewise.
2464         (clzdi2, ctzsi2): Likewise.
2465         * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
2466         unified syntax.
2467         (UNWIND_WRAPPER): Likewise.
2469 2020-03-02  Martin Liska  <mliska@suse.cz>
2471         * libgcov-interface.c: Remove duplicate
2472         declaration of __gcov_flush_mx.
2474 2020-02-18  Martin Liska  <mliska@suse.cz>
2476         PR ipa/92924
2477         * libgcov-merge.c (merge_topn_values_set): Record
2478         when a TOP N counter becomes invalid.  When merging
2479         remove a smallest value if the space is needed.
2481 2020-02-12  Sandra Loosemore  <sandra@codesourcery.com>
2483         PR libstdc++/79193
2484         PR libstdc++/88999
2486         * configure: Regenerated.
2488 2020-02-10  Jeff Law  <law@redhat.com>
2490         * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
2491         sections.
2492         * config/frv/frvend.c: Similarly.
2494 2020-02-10  H.J. Lu  <hongjiu.lu@intel.com>
2496         PR libgcc/85334
2497         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2498         New.
2500 2020-02-10  Christophe Lyon  <christophe.lyon@linaro.org>
2502         PR target/93615
2503         * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
2504         _Unwind_gnu_Find_got.
2505         * unwind-pe.h: Likewise.
2507 2020-02-07  Jakub Jelinek  <jakub@redhat.com>
2509         PR target/93615
2510         * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
2511         (_Unwind_gnu_Find_got): ... this.  Use __asm instead of asm.  Remove
2512         trailing :s in asm.  Formatting fixes.
2513         (_Unwind_decode_typeinfo_ptr): Adjust caller.
2515 2020-01-31  Sandra Loosemore  <sandra@codesourcery.com>
2517         nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
2519         * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
2520         * config/nios2-elf-lib.h: New.
2521         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
2522         code for finding GOT base for nios2.
2524 2020-01-27  Martin Liska  <mliska@suse.cz>
2526         PR gcov-profile/93403
2527         * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
2528         Call __gcov_indirect_call_profiler_body.
2529         (__gcov_indirect_call_profiler_body): New.
2530         (__gcov_indirect_call_profiler_v4_atomic): New.
2531         * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
2532         New declaration.
2534 2020-01-27  Claudiu Zissulescu  <claziss@synopsys.com>
2536         * config/arc/crti.S: Add RF16 object attribute.
2537         * config/arc/crtn.S: Likewise.
2538         * config/arc/crttls.S: Likewise.
2539         * config/arc/lib1funcs.S: Likewise.
2540         * config/arc/fp-hack.h (ARC_OPTFPE): Define.
2541         * config/arc/lib2funcs.c: New file.
2542         * config/arc/t-arc: Add lib2funcs to LIB2ADD.
2544 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
2546         * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
2547         * configure.ac: Handle `--with-toolexeclibdir='.
2548         * configure: Regenerate.
2550 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
2552         * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
2554 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
2556         * config/mips/gnustack.h: New file.
2557         * config/mips/crti.S: Include gnustack.h.
2558         * config/mips/crtn.S: Likewise.
2559         * config/mips/mips16.S: Likewise.
2560         * config/mips/vr4120-div.S: Likewise.
2562 2020-01-23  Martin Liska  <mliska@suse.cz>
2564         * libgcov-driver.c (prune_topn_counter): Remove
2565         check for -1 as we only prune run-time counters
2566         that do not generate an invalid state.
2568 2020-01-22  Martin Liska  <mliska@suse.cz>
2570         PR tree-optimization/92924
2571         * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
2572         try to find an existing value, then find an empty slot
2573         if not found.
2575 2020-01-22  Martin Liska  <mliska@suse.cz>
2577         PR tree-optimization/92924
2578         * libgcov-driver.c (prune_topn_counter): New.
2579         (prune_counters): Likewise.
2580         (dump_one_gcov): Prune a run-time counter.
2581         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2582         For a known value, add GCOV_TOPN_VALUES to value.
2583         Otherwise, decrement all counters by one.
2585 2020-01-18  Hans-Peter Nilsson  <hp@axis.com>
2587         * config/cris/arit.c (DS): Apply attribute __fallthrough__.
2589 2020-01-18  John David Anglin  <danglin@gcc.gnu.org>
2591         PR libgcc/92988
2592         * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
2593         DEFAULT_USE_CXA_ATEXIT is true.
2595 2020-01-16  Mihail-Calin Ionescu  <mihail.ionescu@arm.com>
2596             Thomas Preud'homme  <thomas.preudhomme@arm.com>
2598         * config/arm/t-arm: Check return value of gcc rather than lack of
2599         output.
2601 2020-01-14  Georg-Johann Lay  <avr@gjlay.de>
2603         * config/avr/lib1funcs.S (skip): Simplify.
2605 2020-01-10  Kwok Cheung Yeung  <kcy@codesourcery.com>
2607         * config/gcn/atomic.c: Remove include of stdint.h.
2608         (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
2609         __UINTPTR_TYPE__.
2611 2020-01-09  Kwok Cheung Yeung  <kcy@codesourcery.com>
2613         * config/gcn/atomic.c: New.
2614         * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
2616 2020-01-08  Georg-Johann Lay  <avr@gjlay.de>
2618         Implement 64-bit double functions.
2620         PR target/92055
2621         * config.host (tmake_file) [target=avr]: Add t-libf7,
2622         t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
2623         * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
2624         depending on sizeof (double) or sizeof (long double).
2625         * config/avr/libf7: New folder.
2627 2020-01-05  Olivier Hainque  <hainque@adacore.com>
2629         * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
2630         by IN_LIBGCC2.
2632 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
2634         Update copyright years.
2636 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2638         * config/gthr-vxworks.h: Use _vxworks-versions.h.
2639         * config/gthr-vxworks-tls.c: Likewise.
2641 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2643         * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
2644         standard zero-initializer syntax.
2646 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2648         * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
2649         reference to the internal VX_GET_TLS_DATA interface.
2651 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2653         * config/vxcrtstuff.c: Fix incorrect spelling of
2654         USE_INITFINI_ARRAY in guard.
2656 2019-12-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2658         * config.host: s/msp430*-*-elf/msp430-*-elf*.
2659         Override default "extra_parts" variable.
2660         * configure: Regenerate.
2661         * configure.ac: Disable TM clone registry by default for
2662         msp430-elfbare.
2664 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2666         * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
2667         "extra_parts".
2668         * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
2670 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2672         * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
2673         true.
2675 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2677         * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
2678         defined instead of its value.
2680 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2682         * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
2683         if it will have contents.
2685 2019-12-05  Georg-Johann Lay  <avr@gjlay.de>
2687         PR target/92055
2688         * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
2690 2019-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2692         PR libgcc/91737
2693         * config.host: Add t-gthr-noweak on *-*-musl*.
2694         * config/t-gthr-noweak: New file.
2696 2019-11-17  John David Anglin  <danglin@gcc.gnu.org>
2698         * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
2699         volatile void *.  Remove trap check.
2700         (__kernel_cmpxchg2): Likewise.
2701         (FETCH_AND_OP_2): Adjust operand types.
2702         (OP_AND_FETCH_2): Likewise.
2703         (FETCH_AND_OP_WORD): Likewise.
2704         (OP_AND_FETCH_WORD): Likewise.
2705         (COMPARE_AND_SWAP_2): Likewise.
2706         (__sync_val_compare_and_swap_4): Likewise.
2707         (__sync_bool_compare_and_swap_4): Likewise.
2708         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2709         (__sync_lock_test_and_set_4): Likewise.
2710         (SYNC_LOCK_RELEASE_1): Likewise.  Use __kernel_cmpxchg2 for release.
2711         (__sync_lock_release_4): Adjust operand types.  Use __kernel_cmpxchg
2712         for release.
2713         (__sync_lock_release_8): Remove.
2715 2019-11-15  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2717         * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
2718         of __sigset_t.
2720 2019-11-14  Jerome Lambourg  <lambourg@adacore.com>
2721             Doug Rupp <rupp@adacore.com>
2722             Olivier Hainque  <hainque@adacore.com>
2724         * config.host: Collapse the arm-vxworks entries into
2725         a single arm-wrs-vxworks7* one.
2726         * config/arm/unwind-arm-vxworks.c: Update comments.  Provide
2727         __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
2728         kernel modules, to be overriden by libstdc++ when we link with
2729         it.  Rely on externally provided __exidx_start/end.
2731 2019-11-14  Doug Rupp  <rupp@adacore.com>
2732             Olivier Hainque  <hainque@adacore.com>
2734         * config.host: Handle aarch64*-wrs-vxworks7*.
2736 2019-11-12  Olivier Hainque  <hainque@adacore.com>
2738         * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
2739         sources except the cxx0x support to LIB2ADDEH.  We don't support
2740         cxx0x on AE/653.
2741         * config/t-vxworksae: New file.
2742         * config.host: Handle *-*-vxworksae: Add the two aforementioned
2743         Makefile fragment files at their expected position in the tmake_file
2744         list, in accordance with what is done for other VxWorks variants.
2746 2019-11-12  Corentin Gay  <gay@adacore.com>
2747             Jerome Lambourg  <lambourg@adacore.com>
2748             Olivier Hainque  <hainque@adacore.com>
2750         * config/t-gthr-vxworks: New file, add all the gthr-vxworks
2751         sources to LIB2ADDEH.
2752         * config/t-vxworks: Remove adjustments to LIB2ADDEH.
2753         * config/t-vxworks7: Likewise.
2755         * config.host: Append a block at the end of the file to add the
2756         t-gthr files to the tmake_file list for VxWorks after everything
2757         else.
2759         * config/vxlib.c: Rename as gthr-vxworks.c.
2760         * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
2762         * config/gthr-vxworks.h: Simplify a few comments.  Expose a TAS
2763         API and a basic error checking API, both internal.  Simplify the
2764         __gthread_once_t type definition and initializers.  Add sections
2765         for condition variables support and for the C++0x thread support,
2766         conditioned against Vx653 for the latter.
2768         * config/gthr-vxworks.c (__gthread_once): Simplify comments and
2769         implementation, leveraging the TAS internal API.
2770         * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
2771         API, leveraging the general availability of TLS services in VxWorks7
2772         post SR6xxx.
2773         (__gthread_setspecific, __gthread_setspecific): Use it.
2774         (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
2775         * config/gthr-vxworks-cond.c: New file.  GTHREAD_COND variable
2776         support based on VxWorks primitives.
2777         * config/gthr-vxworks-thread.c: New file.  GTHREAD_CXX0X support
2778         based on VxWorks primitives.
2780 2019-11-06  Jerome Lambourg  <lambourg@adacore.com>
2781             Olivier Hainque  <hainque@adacore.com>
2783         * config/vxcrtstuff.c: New file.
2784         * config/t-vxcrtstuff: New Makefile fragment.
2785         * config.host: Append t-vxcrtstuff to the tmake_file list
2786         on all VxWorks ports using dwarf for table based EH.
2788 2019-11-07  Georg-Johann Lay  <avr@gjlay.de>
2790         Support 64-bit double and 64-bit long double configurations.
2792         PR target/92055
2793         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
2794         long double is a 32-bit type.
2795         * config/avr/t-avrlibc: Copy double64 and long-double64
2796         multilib(s) from the vanilla one.
2797         * config/avr/t-copy-libgcc: New Makefile snip.
2799 2019-11-04  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2801         * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
2802         the target output object format is not ELF.
2803         s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
2805 2019-11-03  Oleg Endo  <olegendo@gcc.gnu.org>
2807         PR libgcc/78804
2808         * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
2809         * fp-bit.c (pack_d, unpack_d): Remove special cases for
2810         FLOAT_BIT_ORDER_MISMATCH.
2811         * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
2813 2019-11-01  Jim Wilson  <jimw@sifive.com>
2815         * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
2817 2019-10-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2819         * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
2820         s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY, 
2821         s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
2822         Define symbols for 32-bit and f5series hardware multiply
2823         register addresses.
2824         Replace hard-coded register addresses with symbols.
2825         Fix "_mspabi*" typo.
2826         Fix whitespace.
2827         * config/msp430/lib2mul.c: Add comment.
2829 2019-10-15  John David Anglin  <danglin@gcc.gnu.org>
2831         * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
2832         unsigned int.  Adjust callers.
2833         (__canonicalize_funcptr_for_compare): Change plabel type to volatile
2834         unsigned int *.  Load relocation offset before function pointer.
2835         Add barrier to ensure ordering.
2837 2019-10-12  John David Anglin  <danglin@gcc.gnu.org>
2839         * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
2840         Load PIC register after branch target.  Fix white space.
2841         * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
2842         implementations.  Load PIC register after branch target.  Don't
2843         clobber function pointer when it points to function descriptor.
2844         Use nullification instead of branch in LINUX implementation.
2846 2019-10-03  John David Anglin  <danglin@gcc.gnu.org>
2848         * config/pa/fptr.c: Disable -Warray-bounds warning.
2850 2019-09-25  Richard Henderson  <richard.henderson@linaro.org>
2852         * config.in, configure: Re-rebuild with stock autoconf 2.69,
2853         not the ubuntu modified 2.69.
2855         PR target/91833
2856         * config/aarch64/lse-init.c: Include auto-target.h.  Disable
2857         initialization if !HAVE_SYS_AUXV_H.
2858         * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
2859         * config.in, configure: Rebuild.
2861         PR target/91834
2862         * config/aarch64/lse.S (LDNM): Ensure STXR output does not
2863         overlap the inputs.
2865 2019-09-25  Shaokun Zhang  <zhangshaokun@hisilicon.com>
2867         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
2868         CTR_EL0.IDC and CTR_EL0.DIC.
2870 2019-09-20  Christophe Lyon  <christophe.lyon@st.com>
2872         Revert:
2873         2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2874                 Mickaël Guêné <mickael.guene@st.com>
2876         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2877         architecture.
2879 2019-09-19  Richard Henderson  <richard.henderson@linaro.org>
2881         * config/aarch64/lse-init.c: New file.
2882         * config/aarch64/lse.S: New file.
2883         * config/aarch64/t-lse: New file.
2884         * config.host: Add t-lse to all aarch64 tuples.
2886 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2887         Mickaël Guêné <mickael.guene@st.com>
2889         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2890         architecture.
2892 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2893         Mickaël Guêné <mickael.guene@st.com>
2895         * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
2896         (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
2897         (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
2898         (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
2899         (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
2900         (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
2901         (__gnu_personality_sigframe_fdpic): New.
2902         (get_eit_entry): Add FDPIC signal frame support.
2904 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2905         Mickaël Guêné <mickael.guene@st.com>
2907         * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
2908         (__kernel_dmb): Likewise.
2909         (__fdpic_cmpxchg): New function.
2910         (__fdpic_dmb): New function.
2911         * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
2912         (gnu_Unwind_Find_got): New function.
2913         (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
2914         * unwind-arm-common.inc (UCB_PR_GOT): New.
2915         (funcdesc_t): New struct.
2916         (get_eit_entry): Add FDPIC support.
2917         (unwind_phase2): Likewise.
2918         (unwind_phase2_forced): Likewise.
2919         (__gnu_Unwind_RaiseException): Likewise.
2920         (__gnu_Unwind_Resume): Likewise.
2921         (__gnu_Unwind_Backtrace): Likewise.
2922         * unwind-pe.h (read_encoded_value_with_base): Likewise.
2924 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2925         Mickaël Guêné <mickael.guene@st.com>
2927         * libgcc/crtstuff.c: Add support for FDPIC.
2929 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2931         * config.host: Handle *-*-uclinuxfdpiceabi.
2933 2019-09-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
2935         * config.host: Set cpu_type for bpf-*-* targets.
2936         * config/bpf/t-bpf: Likewise.
2937         * config/bpf/crtn.S: Likewise.
2938         * config/bpf/crti.S: New file.
2940 2019-09-06  Jim Wilson  <jimw@sifive.com>
2942         * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2943         (riscv*-*-freebsd*): Likewise.
2945 2019-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
2947         * config.host: Remove references to spu.
2948         * config/spu/: Remove directory.
2950 2019-08-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2952         PR target/91306
2953         * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
2954         element type, instead of "sizeof" the element type.
2955         (__DTOR_LIST__): Likewise.
2956         (__TMC_LIST__): Likewise.
2957         (__do_global_dtors_aux_fini_array_entry): Likewise.
2958         (__frame_dummy_init_array_entry): Likewise.
2959         (__CTOR_END__): Likewise.
2960         (__DTOR_END__): Likweise.
2961         (__FRAME_END__): Likewise.
2962         (__TMC_END__): Likewise.
2964 2019-08-20  Lili Cui  <lilicui@intel.com>
2966         * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
2967         INTEL_COREI7_COOPERLAKE.
2969 2019-07-31  Matt Thomas  <matt@3am-software.com>
2970             Nick Hudson <nick@nthcliff.demon.co.uk>
2971             Matthew Green <mrg@eterna.com.au>
2972             Maya Rashish <coypu@sdf.org>
2974         * config.host (hppa*-*-netbsd*): New case.
2975         * config/pa/t-netbsd: New file.
2977 2019-07-31  Joel Hutton  <Joel.Hutton@arm.com>
2979         * config/arm/cmse.c (cmse_check_address_range): Add
2980         warn_unused_result attribute.
2982 2019-07-22  Martin Liska  <mliska@suse.cz>
2984         * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
2985         * config/pa/t-stublib: Likewise.
2987 2019-07-22  Stafford Horne  <shorne@gmail.com>
2989         PR target/90362
2990         * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
2991         to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
2992         instructions are not available on every processor.  Change a
2993         l.bnf to l.bf to fix logic issue.
2995 2019-07-04  Iain Sandoe  <iain@sandoe.co.uk>
2997         * config.host: Remove reference to t-darwin8.
2999 2019-07-03  Iain Sandoe  <iain@sandoe.co.uk>
3001         * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
3002         list.
3003         * config/rs6000/t-darwin: Build crt3_2 for older systems.  Revise
3004         mmacosx-version-min for crts to run across all system versions.
3005         * config/rs6000/t-darwin64 (LIB2ADD): Remove.
3006         * config/t-darwin: Revise mmacosx-version-min for crts to run across
3007         system versions >= 10.4.
3009 2019-07-03  Martin Liska  <mliska@suse.cz>
3011         * Makefile.in: Use topn_values instead of one_value names.
3012         * libgcov-merge.c (__gcov_merge_single): Move to ...
3013         (__gcov_merge_topn): ... this.
3014         (merge_single_value_set): Move to ...
3015         (merge_topn_values_set): ... this.
3016         * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
3017         ...
3018         (__gcov_topn_values_profiler_body): ... this.
3019         (__gcov_one_value_profiler_v2): Move to ...
3020         (__gcov_topn_values_profiler): ... this.
3021         (__gcov_one_value_profiler_v2_atomic): Move to ...
3022         (__gcov_topn_values_profiler_atomic): ... this.
3023         (__gcov_indirect_call_profiler_v4): Remove.
3024         * libgcov-util.c (__gcov_single_counter_op): Move to ...
3025         (__gcov_topn_counter_op): ... this.
3026         * libgcov.h (L_gcov_merge_single): Remove.
3027         (L_gcov_merge_topn): New.
3028         (__gcov_merge_single): Remove.
3029         (__gcov_merge_topn): New.
3030         (__gcov_one_value_profiler_v2): Move to ..
3031         (__gcov_topn_values_profiler): ... this.
3032         (__gcov_one_value_profiler_v2_atomic): Move to ...
3033         (__gcov_topn_values_profiler_atomic): ... this.
3035 2019-07-03  Martin Liska  <mliska@suse.cz>
3037         * libgcov-merge.c (merge_single_value_set): Support N values.
3038         * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
3040 2019-06-27  Ilia Diachkov  <ilia.diachkov@optimitech.com>
3042         * Makefile.in (USE_TM_CLONE_REGISTRY): New.
3043         (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
3044         * configure.ac: Add --disable-tm-clone-registry option.
3045         * configure: Regenerate.
3047 2019-06-27  Martin Liska  <mliska@suse.cz>
3049         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
3050         dead assignments.
3051         * libgcov-util.c: Likewise.
3053 2019-06-27  Martin Liska  <mliska@suse.cz>
3055         * libgcov-util.c (gcov_profile_merge): Release allocated
3056         memory.
3057         (calculate_overlap): Likewise.
3059 2019-06-25  Iain Sandoe  <iain@sandoe.co.uk>
3061         * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
3062         * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
3063         Build objects for the out of line save/restore register functions
3064         so that they can be used for any supported Darwin version.
3065         * config/t-darwin: Default the build Darwin version to Darwin8
3066         (MacOS 10.4).
3068 2019-06-25  Martin Liska  <mliska@suse.cz>
3070         * libgcov-driver-system.c (replace_filename_variables): Do not
3071         call strlen with NULL argument.
3073 2019-06-25  Andrew Stubbs  <ams@codesourcery.com>
3075         * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
3076         * config/gcn/unwind-gcn.c: New file.
3078 2019-06-25  Kwok Cheung Yeung  <kcy@codesourcery.com>
3079             Andrew Stubbs  <ams@codesourcery.com>
3081         * configure: Regenerate.
3082         * config/gcn/gthr-gcn.h: New.
3084 2019-06-18  Tom de Vries  <tdevries@suse.de>
3086         * config/nvptx/crt0.c (__main): Declare.
3088 2019-06-17  Matthew Green  <mrg@eterna.com.au>
3089             Maya Rashish  <coypu@sdf.org>
3091         * config.host (aarch64*-*-netbsd*): New case.
3093 2019-06-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3095         * config/msp430/slli.S (__mspabi_sllll): New library function for
3096         performing a logical left shift of a 64-bit value.
3097         * config/msp430/srai.S (__mspabi_srall): New library function for
3098         performing a arithmetic right shift of a 64-bit value.
3099         * config/msp430/srll.S (__mspabi_srlll): New library function for
3100         performing a logical right shift of a 64-bit value.
3102 2019-06-14  Matt Thomas  <matt@3am-software.com>
3103             Matthew Green  <mrg@eterna.com.au>
3104             Nick Hudson  <skrll@netbsd.org>
3105             Maya Rashish  <coypu@sdf.org>
3107         * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
3108         * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
3109         functions to build.
3110         * config/arm/t-netbsd-eabi: New file.
3112 2019-06-12  Dimitar Dimitrov  <dimitar@dinux.eu>
3114         * config.host: Add PRU target.
3115         * config/pru/asri.c: New file.
3116         * config/pru/eqd.c: New file.
3117         * config/pru/eqf.c: New file.
3118         * config/pru/ged.c: New file.
3119         * config/pru/gef.c: New file.
3120         * config/pru/gtd.c: New file.
3121         * config/pru/gtf.c: New file.
3122         * config/pru/led.c: New file.
3123         * config/pru/lef.c: New file.
3124         * config/pru/lib2bitcountHI.c: New file.
3125         * config/pru/lib2divHI.c: New file.
3126         * config/pru/lib2divQI.c: New file.
3127         * config/pru/lib2divSI.c: New file.
3128         * config/pru/libgcc-eabi.ver: New file.
3129         * config/pru/ltd.c: New file.
3130         * config/pru/ltf.c: New file.
3131         * config/pru/mpyll.S: New file.
3132         * config/pru/pru-abi.h: New file.
3133         * config/pru/pru-asm.h: New file.
3134         * config/pru/pru-divmod.h: New file.
3135         * config/pru/sfp-machine.h: New file.
3136         * config/pru/t-pru: New file.
3138 2019-06-11  Jakub Jelinek  <jakub@redhat.com>
3140         * libgcov-merge.c (__gcov_merge_single): Revert previous change.
3142 2019-06-10  Martin Liska  <mliska@suse.cz>
3144         PR bootstrap/90808
3145         * libgcov.h: Add ATTRIBUTE_UNUSED.
3147 2019-06-10  Martin Liska  <mliska@suse.cz>
3149         * Makefile.in: Add __gcov_one_value_profiler_v2,
3150         __gcov_one_value_profiler_v2_atomic and
3151         __gcov_indirect_call_profiler_v4.
3152         * libgcov-merge.c (__gcov_merge_single): Change
3153         function signature.
3154         (merge_single_value_set): New.
3155         * libgcov-profiler.c (__gcov_one_value_profiler_body):
3156         Update functionality.
3157         (__gcov_one_value_profiler): Remove.
3158         (__gcov_one_value_profiler_v2): ... this.
3159         (__gcov_one_value_profiler_atomic): Rename to ...
3160         (__gcov_one_value_profiler_v2_atomic): this.
3161         (__gcov_indirect_call_profiler_v3): Rename to ...
3162         (__gcov_indirect_call_profiler_v4): ... this.
3163         * libgcov.h (__gcov_one_value_profiler): Remove.
3164         (__gcov_one_value_profiler_atomic): Remove.
3165         (__gcov_one_value_profiler_v2_atomic): New.
3166         (__gcov_indirect_call_profiler_v3): Remove.
3167         (__gcov_one_value_profiler_v2): New.
3168         (__gcov_indirect_call_profiler_v4): New.
3169         (gcov_get_counter_ignore_scaling): New function.
3171 2019-06-07  Martin Liska  <mliska@suse.cz>
3173         * Makefile.in: Remove usage of
3174         _gcov_merge_icall_topn.
3175         * libgcov-driver.c (gcov_sort_n_vals): Remove.
3176         (gcov_sort_icall_topn_counter): Likewise.
3177         (gcov_sort_topn_counter_arrays): Likewise.
3178         (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
3179         * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
3180         * libgcov-profiler.c (__gcov_topn_value_profiler_body):
3181         Likewise.
3182         (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
3183         (struct indirect_call_tuple): Remove.
3184         (__gcov_indirect_call_topn_profiler): Remove.
3185         * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
3186         * libgcov.h (gcov_sort_n_vals): Remove.
3187         (L_gcov_merge_icall_topn): Likewise.
3188         (__gcov_merge_icall_topn): Likewise.
3189         (__gcov_indirect_call_topn_profiler): Likewise.
3191 2019-06-06  Iain Sandoe  <iain@sandoe.co.uk>
3193         * config/rs6000/t-darwin: Ensure that the unwinder is built with
3194         altivec enabled.
3196 2019-06-06  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3198         * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
3199         section.
3200         (__mspabi_slli): Likewise.
3201         (__mspabi_slll_n): Likewise.
3202         (__mspabi_slll): Likewise.
3203         * config/msp430/srai.S (__mspabi_srai_n): Likewise.
3204         (__mspabi_srai): Likewise.
3205         (__mspabi_sral_n): Likewise.
3206         (__mspabi_sral): Likewise.
3207         * config/msp430/srli.S (__mspabi_srli_n): Likewise.
3208         (__mspabi_srli): Likewise.
3209         (__mspabi_srll_n): Likewise.
3210         (__mspabi_srll): Likewise.
3212 2019-06-05  Yoshinori Sato  <ysato@users.sourceforge.jp>
3214         * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
3215         Add appropriate tm_file clause as well.
3216         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
3218 2019-06-05  James Clarke  <jrtc27@jrtc27.com>
3220         * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
3221         rather than .data/.bss so it can be accessed via gp-relative
3222         addressing.
3224 2019-06-05  David Edelsohn  <dje.gcc@gmail.com>
3226         * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
3227         (CR2_REGNO): Rename to R_CR2.
3228         (XER_REGNO): Rename to R_XER.
3229         (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
3230         (VRSAVE_REGNO): Rename to R_VRSAVE.
3231         (VSCR_REGNO): R_VSCR.
3233 2019-05-29  Yoshinori Sato  <ysato@users.sourceforge.jp>
3235         * config.host (rx-*-linux*): Add new case.
3236         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
3238 2019-05-29  Sam Tebbs  <sam.tebbs@arm.com>
3240         * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
3241         function.
3242         * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
3243         aarch64_post_frob_eh_handler_addr): Add check for b-key.
3244         * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
3245         aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
3246         Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
3247         * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
3248         string.
3249         * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
3250         string.
3251         (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
3253 2019-05-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3255         * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
3256         Remove Solaris 9 and 10 support.
3257         (sparc_is_sighandler): Likewise.
3259 2019-05-26  John David Anglin  <danglin@gcc.gnu.org>
3261         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
3263 2019-05-17  H.J. Lu  <hongjiu.lu@intel.com>
3265         * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3266         4_FP_W_TYPEs are used for IEEE quad precision.
3267         * soft-fp/extendhftf2.c: Likewise.
3268         * soft-fp/extendsftf2.c: Likewise.
3269         * soft-fp/extendxftf2.c: Likewise.
3270         * soft-fp/trunctfdf2.c: Likewise.
3271         * soft-fp/trunctfhf2.c: Likewise.
3272         * soft-fp/trunctfsf2.c: Likewise.
3273         * soft-fp/trunctfxf2.c: Likewise.
3274         * config/rs6000/ibm-ldouble.c: Likewise.
3276 2019-05-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3278         * config.host: Simplify various *-*-solaris2.1[0-9]* to
3279         *-*-solaris2*.
3280         * configure.ac: Likewise.
3281         * configure: Regenerate.
3283         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3284         Solaris 10 and Solaris 11 < snv_125 handling.
3286 2019-05-12  Iain Sandoe  <iain@sandoe.co.uk>
3288         * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
3290 2019-05-07  Hongtao Liu  <hongtao.liu@intel.com>
3292         * config/i386/cpuinfo.c (get_available_features): Detect BF16.
3293         * config/i386/cpuinfo.h (enum processor_features): Add
3294         FEATURE_AVX512BF16.
3296 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
3297             Bernd Edlinger  <bernd.edlinger@hotmail.de>
3298             Jakub Jelinek  <jakub@redhat.com>
3300         PR target/89093
3301         * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
3302         * config/arm/unwind-arm.c: Likewise.
3303         * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
3304         attribute for ARM.
3306 2019-04-15  Monk Chiang  <sh.chiang04@gmail.com>
3308         * config/nds32/linux-unwind.h (SIGRETURN): Remove.
3309         (RT_SIGRETURN): Update.
3310         (nds32_fallback_frame_state): Update.
3312 2019-02-21  Martin Sebor  <msebor@redhat.com>
3314         * libgcc2.h (__clear_cache): Correct signature.
3315         * libgcc2.c (__clear_cache): Same.
3317 2019-02-20  Uroš Bizjak  <ubizjak@gmail.com>
3319         * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
3320         Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
3322 2019-02-19  Uroš Bizjak  <ubizjak@gmail.com>
3324         * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
3325         regno instead of index to DWARF_ZERO_REG.
3327 2019-02-15  Eric Botcazou  <ebotcazou@adacore.com>
3329         * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
3330         TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
3332 2019-01-31  Uroš Bizjak  <ubizjak@gmail.com>
3334         * config/alpha/t-linux: Add -mfp-rounding-mode=d
3335         to HOST_LIBGCC2_CFLAGS.
3337 2019-01-23  Joseph Myers  <joseph@codesourcery.com>
3339         PR libgcc/88931
3340         * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
3342 2019-01-18  Martin Liska  <mliska@suse.cz>
3344         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
3345         to ...
3346         (__gcov_indirect_call_profiler_v3): ... this.
3347         * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
3348         (__gcov_indirect_call_profiler_v3): Likewise.
3349         * Makefile.in: Bump function name.
3351 2019-01-18  Martin Liska  <mliska@suse.cz>
3353         * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
3354         (gcov_version): Use in gcov_error.
3355         (merge_one_data): Likewise.
3356         (dump_one_gcov): Likewise.
3358 2019-01-18  Martin Liska  <mliska@suse.cz>
3360         * libgcov-driver.c (gcov_version_string): New function.
3361         (gcov_version): Convert version integer into string.
3363 2019-01-17  Andrew Stubbs  <ams@codesourcery.com>
3364             Kwok Cheung Yeung  <kcy@codesourcery.com>
3365             Julian Brown  <julian@codesourcery.com>
3366             Tom de Vries  <tom@codesourcery.com>
3368         * config.host: Recognize amdgcn*-*-amdhsa.
3369         * config/gcn/crt0.c: New file.
3370         * config/gcn/lib2-divmod-hi.c: New file.
3371         * config/gcn/lib2-divmod.c: New file.
3372         * config/gcn/lib2-gcn.h: New file.
3373         * config/gcn/sfp-machine.h: New file.
3374         * config/gcn/t-amdgcn: New file.
3376 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
3378         PR other/16615
3380         * config/c6x/libunwind.S: Mechanically replace "can not" with
3381         "cannot".
3382         * config/tilepro/atomic.h: Likewise.
3383         * config/vxlib-tls.c: Likewise.
3384         * generic-morestack-thread.c: Likewise.
3385         * generic-morestack.c: Likewise.
3386         * mkmap-symver.awk: Likewise.
3388 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
3390         Update copyright years.
3392 2018-12-20  H.J. Lu  <hongjiu.lu@intel.com>
3394         * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
3395         to ignore -Waddress-of-packed-member.
3397 2018-12-19  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
3399         * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
3400         parameter and corresponding code.
3401         (ARM_FUNC_START): Likewise in both definitions.
3402         Also update footer comment about condition that need to match with
3403         gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
3404         * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
3405         defined.  Weakly define it in this case.
3406         * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
3407         * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
3408         _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
3409         comment to keep condition in sync with the one in
3410         libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
3412 2018-12-18  Wei Xiao  <wei3.xiao@intel.com>
3414         * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
3415         * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
3417 2018-12-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3419         * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
3420         and .cfi_endproc directives for VxWorks targets.
3422 2018-12-05  Paul Koning  <ni1d@arrl.net>
3424         * udivmodhi4.c (__udivmodhi4): Fix loop end check.
3426 2018-11-27  Alan Modra  <amodra@gmail.com>
3428         * config/rs6000/morestack.S (__stack_split_initialize),
3429         (__morestack_get_guard, __morestack_set_guard),
3430         (__morestack_make_guard): Provide CFI covering these functions.
3431         * config/rs6000/tramp.S (__trampoline_setup): Likewise.
3433 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
3435         * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
3436         (sc_pt_regs_lr): Update for kernel.
3437         (sc_pt_regs_tls): Update for kernel.
3439 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
3441         * config/csky/linux-unwind.h: Fix coding style.
3443 2018-11-13  Xianmiao Qu  <xianmiao_qu@c-sky.com>
3445         * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
3446         (csky_fallback_frame_state): Modify the check of the
3447         instructions to adapt to changes in the kernel
3449 2018-11-09  Stafford Horne  <shorne@gmail.com>
3450             Richard Henderson  <rth@twiddle.net>
3452         * config.host: Add OpenRISC support.
3453         * config/or1k/*: New.
3455 2018-11-08  Kito Cheng  <kito@andestech.com>
3457         * soft-fp/adddf3.c: Update from glibc.
3458         * soft-fp/addsf3.c: Likewise.
3459         * soft-fp/addtf3.c: Likewise.
3460         * soft-fp/divdf3.c: Likewise.
3461         * soft-fp/divsf3.c: Likewise.
3462         * soft-fp/divtf3.c: Likewise.
3463         * soft-fp/double.h: Likewise.
3464         * soft-fp/eqdf2.c: Likewise.
3465         * soft-fp/eqsf2.c: Likewise.
3466         * soft-fp/eqtf2.c: Likewise.
3467         * soft-fp/extenddftf2.c: Likewise.
3468         * soft-fp/extended.h: Likewise.
3469         * soft-fp/extendhftf2.c: Likewise.
3470         * soft-fp/extendsfdf2.c: Likewise.
3471         * soft-fp/extendsftf2.c: Likewise.
3472         * soft-fp/extendxftf2.c: Likewise.
3473         * soft-fp/fixdfdi.c: Likewise.
3474         * soft-fp/fixdfsi.c: Likewise.
3475         * soft-fp/fixdfti.c: Likewise.
3476         * soft-fp/fixhfti.c: Likewise.
3477         * soft-fp/fixsfdi.c: Likewise.
3478         * soft-fp/fixsfsi.c: Likewise.
3479         * soft-fp/fixsfti.c: Likewise.
3480         * soft-fp/fixtfdi.c: Likewise.
3481         * soft-fp/fixtfsi.c: Likewise.
3482         * soft-fp/fixtfti.c: Likewise.
3483         * soft-fp/fixunsdfdi.c: Likewise.
3484         * soft-fp/fixunsdfsi.c: Likewise.
3485         * soft-fp/fixunsdfti.c: Likewise.
3486         * soft-fp/fixunshfti.c: Likewise.
3487         * soft-fp/fixunssfdi.c: Likewise.
3488         * soft-fp/fixunssfsi.c: Likewise.
3489         * soft-fp/fixunssfti.c: Likewise.
3490         * soft-fp/fixunstfdi.c: Likewise.
3491         * soft-fp/fixunstfsi.c: Likewise.
3492         * soft-fp/fixunstfti.c: Likewise.
3493         * soft-fp/floatdidf.c: Likewise.
3494         * soft-fp/floatdisf.c: Likewise.
3495         * soft-fp/floatditf.c: Likewise.
3496         * soft-fp/floatsidf.c: Likewise.
3497         * soft-fp/floatsisf.c: Likewise.
3498         * soft-fp/floatsitf.c: Likewise.
3499         * soft-fp/floattidf.c: Likewise.
3500         * soft-fp/floattihf.c: Likewise.
3501         * soft-fp/floattisf.c: Likewise.
3502         * soft-fp/floattitf.c: Likewise.
3503         * soft-fp/floatundidf.c: Likewise.
3504         * soft-fp/floatundisf.c: Likewise.
3505         * soft-fp/floatunditf.c: Likewise.
3506         * soft-fp/floatunsidf.c: Likewise.
3507         * soft-fp/floatunsisf.c: Likewise.
3508         * soft-fp/floatunsitf.c: Likewise.
3509         * soft-fp/floatuntidf.c: Likewise.
3510         * soft-fp/floatuntihf.c: Likewise.
3511         * soft-fp/floatuntisf.c: Likewise.
3512         * soft-fp/floatuntitf.c: Likewise.
3513         * soft-fp/gedf2.c: Likewise.
3514         * soft-fp/gesf2.c: Likewise.
3515         * soft-fp/getf2.c: Likewise.
3516         * soft-fp/half.h: Likewise.
3517         * soft-fp/ledf2.c: Likewise.
3518         * soft-fp/lesf2.c: Likewise.
3519         * soft-fp/letf2.c: Likewise.
3520         * soft-fp/muldf3.c: Likewise.
3521         * soft-fp/mulsf3.c: Likewise.
3522         * soft-fp/multf3.c: Likewise.
3523         * soft-fp/negdf2.c: Likewise.
3524         * soft-fp/negsf2.c: Likewise.
3525         * soft-fp/negtf2.c: Likewise.
3526         * soft-fp/op-1.h: Likewise.
3527         * soft-fp/op-2.h: Likewise.
3528         * soft-fp/op-4.h: Likewise.
3529         * soft-fp/op-8.h: Likewise.
3530         * soft-fp/op-common.h: Likewise.
3531         * soft-fp/quad.h: Likewise.
3532         * soft-fp/single.h: Likewise.
3533         * soft-fp/soft-fp.h: Likewise.
3534         * soft-fp/subdf3.c: Likewise.
3535         * soft-fp/subsf3.c: Likewise.
3536         * soft-fp/subtf3.c: Likewise.
3537         * soft-fp/truncdfsf2.c: Likewise.
3538         * soft-fp/trunctfdf2.c: Likewise.
3539         * soft-fp/trunctfhf2.c: Likewise.
3540         * soft-fp/trunctfsf2.c: Likewise.
3541         * soft-fp/trunctfxf2.c: Likewise.
3542         * soft-fp/unorddf2.c: Likewise.
3543         * soft-fp/unordsf2.c: Likewise.
3544         * soft-fp/unordtf2.c: Likewise.
3546 2018-11-04  Venkataramanan Kumar  <Venkataramanan.kumar@amd.com>
3548         * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
3549         * config/i386/cpuinfo.h (processor_types): Add znver2.
3551 2018-11-01  Paul Koning  <ni1d@arrl.net>
3553         * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
3554         (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
3556 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
3558         PR bootstrap/82856
3559         * configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
3560         * configure: Regenerate.
3562 2018-10-31  Claudiu Zissulescu  <claziss@synopsys.com>
3564         * config/arc/lib1funcs.S (_muldi3): New function.
3565         * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
3567 2018-10-30  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3569         * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
3571 2018-10-25  Martin Liska  <mliska@suse.cz>
3573         PR other/87735
3574         * libgcov-profiler.c: Revert.
3576 2018-10-24  Martin Liska  <mliska@suse.cz>
3578         * libgcov-profiler.c: Start from 1 in order to distinguish
3579         functions which were seen and these that were not.
3581 2018-10-18  Paul Koning  <ni1d@arrl.net>
3583         * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
3584         standard.
3585         * divmod.c: Update references to __udivmodsi4.
3586         * udivmod.c: Ditto.
3587         * udivhi3.c: New file.
3588         * udivmodhi4.c: New file.
3589         * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
3591 2018-10-17  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3593         * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
3595 2018-10-12  Olivier Hainque  <hainque@adacore.com>
3597         * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
3598         defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
3600 2018-10-08  Paul Koning  <ni1d@arrl.net>
3602         * config/pdp11/t-pdp11: Remove -mfloat32 switch.
3604 2018-10-04  Martin Liska  <mliska@suse.cz>
3606         PR gcov-profile/84107
3607         * libgcov-profiler.c (__gcov_indirect_call):
3608         Change type to indirect_call_tuple.
3609         (struct indirect_call_tuple): New struct.
3610         (__gcov_indirect_call_topn_profiler): Change type.
3611         (__gcov_indirect_call_profiler_v2): Use the new
3612         variables.
3613         * libgcov.h (struct indirect_call_tuple): New struct
3614         definition.
3616 2018-10-03  Uros Bizjak  <ubizjak@gmail.com>
3618         * libgcc2.c (isnan): Use __builtin_isnan.
3619         (isfinite): Use __builtin_isfinite.
3620         (isinf): Use __builtin_isinf.
3622 2018-09-26  Uros Bizjak  <ubizjak@gmail.com>
3624         * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
3626 2018-09-21  Alexandre Oliva  <oliva@adacore.com>
3628         * config/vxcache.c: New file.  Provide __clear_cache, based on
3629         the cacheTextUpdate VxWorks service.
3630         * config/t-vxworks (LIB2ADD): Add vxcache.c.
3631         (LIB2FUNCS_EXCLUDE): Add _clear_cache.
3632         * config/t-vxwoks7: Likewise.
3634 2018-09-21  Martin Liska  <mliska@suse.cz>
3636         * libgcov-driver.c (crc32_unsigned): Remove.
3637         (gcov_histogram_insert): Likewise.
3638         (gcov_compute_histogram): Likewise.
3639         (compute_summary): Simplify rapidly.
3640         (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
3641         (merge_summary): Rapidly simplify.
3642         (dump_one_gcov): Ignore gcov_summary.
3643         (gcov_do_dump): Do not handle program summary, it's not
3644         used.
3645         * libgcov-util.c (tag_summary): Remove.
3646         (read_gcda_finalize): Fix coding style.
3647         (read_gcda_file): Initialize curr_object_summary.
3648         (compute_summary): Remove.
3649         (calculate_overlap): Remove settings of run_max.
3651 2018-09-21  Monk Chiang  <sh.chiang04@gmail.com>
3653         * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
3654         ucontext_t type instead.
3655         (nds32_fallback_frame_state): Remove struct _sigframe statement.
3657 2018-09-21  Kito Cheng  <kito.cheng@gmail.com>
3659         * config/nds32/t-nds32-glibc: New file.
3661 2018-09-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3663         * configure.ac (solaris_ld_v2_maps): New test.
3664         * configure: Regenerate.
3665         * Makefile.in (solaris_ld_v2_maps): New variable.
3666         * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
3667         if supported.
3669 2018-08-23  Richard Earnshaw  <rearnsha@arm.com>
3671         PR target/86951
3672         * config/arm/lib1funcs.asm (speculation_barrier): New function.
3673         * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
3674         to build.
3676 2018-08-22  Iain Sandoe  <iain@sandoe.co.uk>
3678         * config/unwind-dw2-fde-darwin.c
3679         (_darwin10_Unwind_FindEnclosingFunction): move from here ...
3680         * config/darwin10-unwind-find-enc-func.c: … to here.
3681         * config/t-darwin: Build Darwin10 unwinder shim crt.
3682         * libgcc/config.host: Add the Darwin10 unwinder shim.
3684 2018-08-21  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3686         * config.host: Add crtbegin.o and crtend.o for
3687         powerpc-wrs-vxworks target.
3689 2018-08-17  Jojo  <jijie_rong@c-sky.com>
3690             Huibin Wang  <huibin_wang@c-sky.com>
3691             Sandra Loosemore  <sandra@codesourcery.com>
3692             Chung-Lin Tang  <cltang@codesourcery.com>
3694         C-SKY port: libgcc
3696         * config.host: Add C-SKY support.
3697         * config/csky/*: New.
3699 2018-08-12  Chung-Ju Wu  <jasonwucj@gmail.com>
3701         * config/nds32/t-nds32-isr: Rearrange object dependency.
3702         * config/nds32/initfini.c: Add dwarf2 unwinding support.
3703         * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
3704         and registers usage.
3705         * config/nds32/isr-library/excp_isr.S: Ditto.
3706         * config/nds32/isr-library/intr_isr.S: Ditto.
3707         * config/nds32/isr-library/reset.S: Ditto.
3708         * config/nds32/isr-library/restore_all.inc: Ditto.
3709         * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
3710         * config/nds32/isr-library/restore_partial.inc: Ditto.
3711         * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
3712         * config/nds32/isr-library/save_all.inc: Ditto.
3713         * config/nds32/isr-library/save_mac_regs.inc: Ditto.
3714         * config/nds32/isr-library/save_partial.inc: Ditto.
3715         * config/nds32/isr-library/save_usr_regs.inc: Ditto.
3716         * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
3718 2018-08-11  John David Anglin  <danglin@gcc.gnu.org>
3720         * config/pa/linux-atomic.c: Update comment.
3721         (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
3722         COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
3723         SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
3724         __ATOMIC_RELAXED for atomic loads.
3725         (SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
3726         unordered store to release lock.
3727         (__sync_lock_release_8): Likewise.
3728         (SYNC_LOCK_RELEASE_2): Remove define.
3730 2018-08-02  Nicolas Pitre <nico@fluxnic.net>
3732         PR libgcc/86512
3733         * config/arm/ieee754-df.S: Don't shortcut denormal handling when
3734         exponent goes negative. Update my email address.
3735         * config/arm/ieee754-sf.S: Likewise.
3737 2018-08-01  Martin Liska  <mliska@suse.cz>
3739         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
3740         check that  __gcov_indirect_call_callee is non-null.
3742 2018-07-30  Christophe Lyon  <christophe.lyon@linaro.org>
3744         * config/arm/ieee754-df.S: Fix comment for code working on
3745         architectures >= 4.
3746         * config/arm/ieee754-sf.S: Likewise.
3748 2018-07-27  H.J. Lu  <hongjiu.lu@intel.com>
3750         PR libgcc/85334
3751         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3752         Removed.
3754 2018-07-05  James Clarke  <jrtc27@jrtc27.com>
3756         * configure: Regenerated.
3758 2018-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3760         * Makefile.in (install_leaf): Use enable_gcov instead of
3761         enable_libgcov.
3763 2018-06-27  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3765         * configure.ac: Add --disable-gcov option.
3766         * configure: Regenerate.
3767         * Makefile.in: Honour @enable_gcov@.
3769 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
3771         * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
3772         __ARM_ARCH and __ARM_FEATURE_CLZ instead.
3773         (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
3774         * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
3775         __ARM_ARCH__.
3776         * config/arm/ieee754-sf.S: Likewise.
3777         * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
3779 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
3781         * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
3782         longer supported.
3783         * config/arm/ieee754-sf.S: Likewise.
3785 2018-06-20  Than McIntosh  <thanm@google.com>
3787         PR libgcc/86213
3788         * generic-morestack.c (allocate_segment): Move calls to getenv and
3789         getpagesize to __morestack_load_mmap.
3790         (__morestack_load_mmap) Initialize static_pagesize and
3791         use_guard_page here so as to avoid clobbering SSE regs during a
3792         __morestack call.
3794 2018-06-18  Michael Meissner  <meissner@linux.ibm.com>
3796         * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
3797         support modules with -mno-gnu-attribute.
3798         * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
3800 2018-06-07  Olivier Hainque  <hainque@adacore.com>
3802         * config/t-vxworks (LIBGCC_INCLUDES): Add
3803         -I$(MULTIBUILDTOP)../../gcc/include.
3804         * config/t-vxworks7: Likewise. Reformat a bit to match
3805         the t-vxworks layout.
3807 2018-06-07  Olga Makhotina  <olga.makhotina@intel.com>
3809         * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
3811 2018-06-07  Martin Liska  <mliska@suse.cz>
3813         * libgcov-driver.c: Rename cs_all to all and assign it from
3814         all_prg.
3816 2018-06-07  Martin Liska  <mliska@suse.cz>
3818         PR bootstrap/86057
3819         * libgcov-driver-system.c (replace_filename_variables): Use
3820         memcpy instead of mempcpy.
3821         (allocate_filename_struct): Do not allocate filename, allocate
3822         prefix and set it.
3823         (gcov_exit_open_gcda_file): Allocate memory for gf->filename
3824         here and properly copy content into it.
3825         * libgcov-driver.c (struct gcov_filename): Remove max_length
3826         field, change prefix from size_t into char *.
3827         (compute_summary): Do not calculate longest filename.
3828         (gcov_do_dump): Release memory of gf.filename after each file.
3829         * libgcov-util.c (compute_summary): Use new signature of
3830         compute_summary.
3831         (calculate_overlap): Likewise.
3833 2018-06-05  Martin Liska  <mliska@suse.cz>
3835         PR gcov-profile/47618
3836         * libgcov-driver-system.c (replace_filename_variables): New
3837         function.
3838         (gcov_exit_open_gcda_file): Use it.
3840 2018-06-05  Martin Liska  <mliska@suse.cz>
3842         * libgcov-driver.c (gcov_compute_histogram): Remove usage
3843         of gcov_ctr_summary.
3844         (compute_summary): Do it just for a single summary.
3845         (merge_one_data): Likewise.
3846         (merge_summary): Simplify as we read just single summary.
3847         (dump_one_gcov): Pass proper argument.
3848         * libgcov-util.c (compute_one_gcov): Simplify as we have just
3849         single summary.
3850         (gcov_info_count_all_cold): Likewise.
3851         (calculate_overlap): Likewise.
3853 2018-06-02  Chung-Ju Wu  <jasonwucj@gmail.com>
3854             Monk Chiang  <sh.chiang04@gmail.com>
3856         * config.host (nds32*-linux*): New.
3857         * config/nds32/linux-atomic.c: New file.
3858         * config/nds32/linux-unwind.h: New file.
3860 2018-05-31  Uros Bizjak  <ubizjak@gmail.com>
3862         PR target/85591
3863         * config/i386/cpuinfo.c (get_amd_cpu): Return
3864         AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
3866 2018-05-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
3868         * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
3870 2018-05-29  Martin Liska  <mliska@suse.cz>
3872         PR gcov-profile/85759
3873         * libgcov-driver-system.c (gcov_error): Introduce usage of
3874         GCOV_EXIT_AT_ERROR env. variable.
3875         * libgcov-driver.c (merge_one_data): Print error that we
3876         overwrite a gcov file with a different timestamp.
3878 2018-05-23  Kalamatee  <kalamatee@gmail.com>
3880         * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
3881         path to Lf$finfty.
3883 2018-05-18  Kito Cheng <kito.cheng@gmail.com>
3884             Monk Chiang  <sh.chiang04@gmail.com>
3885             Jim Wilson <jimw@sifive.com>
3887         * config/riscv/save-restore.S: Add support for rv32e.
3889 2018-05-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
3891         * config/arm/libunwind.S: Update comment relating to armv5.
3893 2018-05-17  Jerome Lambourg  <lambourg@adacore.com>
3895         * config/arm/cmse.c (cmse_check_address_range): Replace
3896         UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
3898 2018-05-17  Olga Makhotina  <olga.makhotina@intel.com>
3900         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
3901         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
3903 2018-05-08  Olga Makhotina  <olga.makhotina@intel.com>
3905         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
3906         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
3908 2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
3910         * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
3912 2018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
3913             Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
3915         PR libgcc/84292
3916         * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
3917         op_and_fetch to return the right result.
3919 2018-04-27  Alan Modra  <amodra@gmail.com>
3921         PR libgcc/85532
3922         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
3923         -fno-asynchronous-unwind-tables.
3925 2018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
3927         * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
3928         * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
3930 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
3932         * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
3933         when including "config/i386/shadow-stack-unwind.h".
3935 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
3937         * configure: Regenerated.
3939 2018-04-20  Michael Meissner  <meissner@linux.ibm.com>
3941         PR target/85456
3942         * config/rs6000/_powikf2.c: New file.  Add support for the
3943         __builtin_powil function when long double is IEEE 128-bit floating
3944         point.
3945         * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
3946         __powikf2 support.
3947         (__powikf2): Likewise.
3948         * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
3949         (__powikf2_hw): Likewise.
3950         (__powikf2): Likewise.
3951         * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
3952         * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
3953         (_powikf2-hw.c): Likewise.
3955 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
3957         PR libgcc/85334
3958         * unwind-generic.h (_Unwind_Frames_Increment): New.
3959         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3960         Likewise.
3961         * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
3962         count with _Unwind_Frames_Increment.
3963         (_Unwind_ForcedUnwind_Phase2): Likewise.
3965 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
3967         PR libgcc/85379
3968         * config/i386/morestack.S (__stack_split_initialize): Add
3969         _CET_ENDBR.
3971 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
3973         * configure: Regenerated.
3975 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
3977         PR jit/85384
3978         * configure: Regenerate.
3980 2018-04-16  Jakub Jelinek  <jakub@redhat.com>
3982         PR target/84945
3983         * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
3984         -Wdangling-else warnings.  Mask shift counts to avoid
3985         -Wshift-count-negative and -Wshift-count-overflow false positives.
3987 2018-04-06  Ruslan Bukin  <br@bsdpad.com>
3989         * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
3991 2018-03-29  H.J. Lu  <hongjiu.lu@intel.com>
3993         PR target/85100
3994         * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
3995         (XSTATE_FP): Likewise.
3996         (XSTATE_SSE): Likewise.
3997         (XSTATE_YMM): Likewise.
3998         (XSTATE_OPMASK): Likewise.
3999         (XSTATE_ZMM): Likewise.
4000         (XSTATE_HI_ZMM): Likewise.
4001         (XCR_AVX_ENABLED_MASK): Likewise.
4002         (XCR_AVX512F_ENABLED_MASK): Likewise.
4003         (get_available_features): Enable AVX and AVX512 features only
4004         if their states are supported by OSXSAVE.
4006 2018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4008         PR target/85025
4009         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4010         Fix a typo, tmp => 255.
4012 2018-03-20  Jakub Jelinek  <jakub@redhat.com>
4014         PR target/84945
4015         * config/i386/cpuinfo.h (__cpu_features2): Declare.
4016         * config/i386/cpuinfo.c (__cpu_features2): New variable for
4017         ifndef SHARED only.
4018         (set_feature): Define.
4019         (get_available_features): Use set_feature macro.  Set __cpu_features2
4020         to the second word of features ifndef SHARED.
4022 2018-03-15  Julia Koval  <julia.koval@intel.com>
4024         * config/i386/cpuinfo.c (get_available_features): Add
4025         FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
4026         FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
4027         * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
4028         FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
4029         FEATURE_AVX512BITALG.
4031 2018-03-14  Julia Koval  <julia.koval@intel.com>
4033         * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
4034         icelake client and icelake server.
4036 2018-03-06  John David Anglin  <danglin@gcc.gnu.org>
4038         * config/pa/fptr.c (_dl_read_access_allowed): New.
4039         (__canonicalize_funcptr_for_compare): Use it.
4041 2018-02-28  Jakub Jelinek  <jakub@redhat.com>
4043         PR debug/83917
4044         * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
4045         $asm_hidden_op if visibility ("hidden") attribute works.
4046         (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
4047         * config/i386/i386-asm.h: Don't include auto-host.h.
4048         (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
4049         PACKAGE_URL): Don't undefine.
4050         (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
4051         guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
4052         (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
4053         #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
4054         definition instead of hardcoded .hidden.
4055         * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
4056         directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
4057         #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
4058         (USE_GAS_CFI_DIRECTIVES): Don't define.
4059         * configure: Regenerated.
4060         * config.in: Likewise.
4062 2018-02-26  Jakub Jelinek  <jakub@redhat.com>
4064         PR debug/83917
4065         * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
4066         PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
4067         inclusion of auto-target.h and auto-host.h.
4068         (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
4069         __GCC_HAVE_DWARF2_CFI_ASM.
4070         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4071         cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
4072         cfi_pop): Define.
4073         * config/i386/cygwin.S: Don't include auto-host.h here, just
4074         define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
4075         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4076         cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
4077         * config/i386/resms64fx.h: Add cfi_* directives.
4078         * config/i386/resms64x.h: Likewise.
4080 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
4082         * config/xtensa/ieee754-df.S (__adddf3_aux): Add
4083         .literal_position directive.
4084         * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
4086 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4088         PR target/84148
4089         * configure: Regenerate.
4091 2018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4093         PR target/84239
4094         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4095         Include cetintrin.h not x86intrin.h.
4097 2018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4099         PR target/84239
4100         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4101         Use new _get_ssp and _inc_ssp intrinsics.
4103 2018-02-02  Julia Koval  <julia.koval@intel.com>
4105         * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
4107 2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
4109         * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
4110         option.
4111         (__divsi3): Use RF16 safe registers.
4112         (__modsi3): Likewise.
4114 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
4116         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
4117         (__divsf3): Make NaN return value quiet.
4118         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
4119         (__divdf3): Make NaN return value quiet.
4121 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4123         * config/rl78/anddi3.S: New assembly file.
4124         * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
4126 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4128         * config/rl78/umindi3.S: New assembly file.
4129         * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
4131 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4133         * config/rl78/smindi3.S: New assembly file.
4134         * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
4136 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4138         * config/rl78/smaxdi3.S: New assembly file.
4139         * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
4141 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4143         * config/rl78/umaxdi3.S: New assembly file.
4144         * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
4146 2018-01-21  John David Anglin  <danglin@gcc.gnu.org>
4148         PR lto/83452
4149         * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
4150         * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
4152 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
4154         * config/aarch64/value-unwind.h (aarch64_vg): New function.
4155         (DWARF_LAZY_REGISTER_VALUE): Define.
4156         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
4157         to provide a fallback register value.
4159 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
4161         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
4162         __ibm128, instead of trying to use long double.
4163         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
4164         accomidate -mabi=ieeelongdouble multilibs.
4165         (CVT_IBM128_TO_FLOAT128): Likewise.
4166         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
4167         the appropriate IBM extended double type.
4168         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
4169         (__gcc_qsub): Likewise.
4170         (__gcc_qmul): Likewise.
4171         (__gcc_qdiv): Likewise.
4172         (pack_ldouble): Likewise.
4173         (__gcc_qneg): Likewise.
4174         (__gcc_qeq): Likewise.
4175         (__gcc_qne): Likewise.
4176         (__gcc_qge): Likewise.
4177         (__gcc_qle): Likewise.
4178         (__gcc_stoq): Likewise.
4179         (__gcc_dtoq): Likewise.
4180         (__gcc_itoq): Likewise.
4181         (__gcc_utoq): Likewise.
4182         (__gcc_qunord): Likewise.
4183         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
4184         quad-float128.h for the definitions.
4185         (COPYSIGN): Use the f128 version instead of the q version.
4186         (INFINITY): Likewise.
4187         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
4188         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
4189         quad-float128.h for the definitions.
4190         (COPYSIGN): Use the f128 version instead of the q version.
4191         (INFINITY): Likewise.
4192         (FABS): Likewise.
4193         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
4194         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
4195         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
4197 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4199         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
4200         configuration.
4202 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
4204         Update copyright years.
4206 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
4208         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
4209         * config/riscv/multi3.c: New file.
4210         * config/riscv/multi3.S: Remove.
4212 2017-12-08  Jim Wilson  <jimw@sifive.com>
4214         * config/riscv/div.S: Use FUNC_* macros.
4215         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
4216         * config/riscv/save-restore.S: Likewise.
4217         * config/riscv/riscv-asm.h: New.
4219 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
4221         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
4222         * config/rs6000/_divkc3.c (__divkc3): Likewise.
4224         PR libgcc/83112
4225         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
4226         correct type for all ifunc resolvers to silence -Wattribute-alias
4227         warnings.  Eliminate the forward declaration of the resolver
4228         functions which is no longer needed.
4229         (__subkf3_resolve): Likewise.
4230         (__mulkf3_resolve): Likewise.
4231         (__divkf3_resolve): Likewise.
4232         (__negkf2_resolve): Likewise.
4233         (__eqkf2_resolve): Likewise.
4234         (__nekf2_resolve): Likewise.
4235         (__gekf2_resolve): Likewise.
4236         (__gtkf2_resolve): Likewise.
4237         (__lekf2_resolve): Likewise.
4238         (__ltkf2_resolve): Likewise.
4239         (__unordkf2_resolve): Likewise.
4240         (__extendsfkf2_resolve): Likewise.
4241         (__extenddfkf2_resolve): Likewise.
4242         (__trunckfsf2_resolve): Likewise.
4243         (__trunckfdf2_resolve): Likewise.
4244         (__fixkfsi_resolve): Likewise.
4245         (__fixkfdi_resolve): Likewise.
4246         (__fixunskfsi_resolve): Likewise.
4247         (__fixunskfdi_resolve): Likewise.
4248         (__floatsikf_resolve): Likewise.
4249         (__floatdikf_resolve): Likewise.
4250         (__floatunsikf_resolve): Likewise.
4251         (__floatundikf_resolve): Likewise.
4252         (__extendkftf2_resolve): Likewise.
4253         (__trunctfkf2_resolve): Likewise.
4255         PR libgcc/83103
4256         * config/rs6000/quad-float128.h (TF): Don't define if long double
4257         is IEEE 128-bit floating point.
4258         (TCtype): Define as either TCmode or KCmode, depending on whether
4259         long double is IEEE 128-bit floating point.
4260         (__mulkc3_sw): Add declarations for software/hardware versions of
4261         complex multiply/divide.
4262         (__divkc3_sw): Likewise.
4263         (__mulkc3_hw): Likewise.
4264         (__divkc3_hw): Likewise.
4265         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
4266         handlers to switch between using software emulation and hardware
4267         float128 instructions, build the complex multiply/divide functions
4268         for both software and hardware support.
4269         * config/rs6000/_divkc3.c (_divkc3): Likewise.
4270         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
4271         (__divkc3_resolve): Likewise.
4272         (__mulkc3): Likewise.
4273         (__divkc3): Likewise.
4274         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
4275         (fp128_hw_src): Likewise.
4276         (fp128_hw_static_obj): Likewise.
4277         (fp128_hw_shared_obj): Likewise.
4278         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
4279         _mulkc3.c and _divkc3.c, changing the function name.
4280         (_divkc3-hw.c): Likewise.
4281         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
4282         and _divkc3-hw.c.
4284 2017-11-26  Julia Koval  <julia.koval@intel.com>
4286         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
4287         * config/i386/cpuinfo.h (processor_subtypes): Add
4288         INTEL_COREI7_CANNONLAKE.
4290 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4292         PR bootstrap/83015
4293         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
4294         parameter.
4295         * config/xtensa/unwind-dw2-xtensa.c: Likewise
4296         * config/ia64/unwind-ia64.c: Add frames parameter.
4297         * unwind-sjlj.c: Likewise.
4299 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4301         * config/i386/linux-unwind.h: Include
4302         config/i386/shadow-stack-unwind.h.
4303         * config/i386/shadow-stack-unwind.h: New file.
4304         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
4305         pass it to _Unwind_Frames_Extra.
4306         * unwind-generic.h (_Unwind_Frames_Extra): New.
4307         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
4308         parameter. Add local variable frames to count number of frames.
4309         (_Unwind_ForcedUnwind_Phase2): Likewise.
4310         (_Unwind_RaiseException): Add local variable frames to count
4311         number of frames, pass it to _Unwind_RaiseException_Phase2 and
4312         uw_install_context.
4313         (_Unwind_ForcedUnwind): Likewise.
4314         (_Unwind_Resume): Likewise.
4315         (_Unwind_Resume_or_Rethrow): Likewise.
4317 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4319         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
4320         (CET_FLAGS): New.
4321         * config/i386/morestack.S: Include <cet.h>.
4322         (__morestack_large_model): Add _CET_ENDBR at function entrance.
4323         * config/i386/resms64.h: Include <cet.h>.
4324         * config/i386/resms64f.h: Likewise.
4325         * config/i386/resms64fx.h: Likewise.
4326         * config/i386/resms64x.h: Likewise.
4327         * config/i386/savms64.h: Likewise.
4328         * config/i386/savms64f.h: Likewise.
4329         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
4330         (CRTSTUFF_T_CFLAGS): Likewise.
4331         * configure.ac: Include ../config/cet.m4.
4332         Set and substitute CET_FLAGS.
4333         * configure: Regenerated.
4335 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4337         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
4338         renaming.
4339         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
4340         * configure.ac (libgcc_cv_solaris_crts): Likewise.
4341         * configure: Regenerate.
4343 2017-11-07  Tom de Vries  <tom@codesourcery.com>
4345         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
4346         after "do {} while (0)".
4348 2017-11-07  Tom de Vries  <tom@codesourcery.com>
4350         PR other/82784
4351         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
4352         semicolon after "do {} while (0)".
4353         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4354         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4355         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4356         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4358 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
4360         PR libgcc/82635
4361         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
4362         sysctl to determine whether we're in a trampoline.
4363         Keep the pattern matching method for systems without
4364         KERN_PROC_SIGTRAMP sysctl.
4366 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
4367             Vineet Gupta <vgupta@synopsys.com>
4369         * config.host (arc*-*-linux*): Set md_unwind_header variable.
4370         * config/arc/linux-unwind-reg.def: New file.
4371         * config/arc/linux-unwind-reg.h: Likewise.
4373 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
4375         * config/rl78/subdi3.S: New assembly file.
4376         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
4378 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
4380         * config/rl78/adddi3.S: New assembly file.
4381         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
4383 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
4385         PR target/82274
4386         * libgcc2.c (__mulvDI3): If both operands have
4387         the same highpart of -1 and the topmost bit of lowpart is 0,
4388         multiplication overflows even if both lowparts are 0.
4390 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
4392         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
4394 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
4396         * config/microblaze/crti.S, config/microblaze/crtn.S,
4397         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
4398         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
4399         config/microblaze/mulsi3.S,
4400         config/microblaze/stack_overflow_exit.S,
4401         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
4402         config/pa/milli64.S: Add .note.GNU-stack section.
4404 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
4406         * configure.ac: Add Check for HAVE_AS_AVX.
4407         * config.in: Regenerate.
4408         * configure: Likewise.
4409         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
4410         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
4411         Correct out-of-date comments.
4413 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
4415         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
4416         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
4418 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
4420         * config/i386/i386-asm.h (PASTE2): New macro.
4421         (ASMNAME): Modify to use PASTE2.
4422         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
4423         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
4424         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
4425         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
4426         * config/i386/resms64f.S: Likewise.
4427         * config/i386/resms64fx.S: Likewise.
4428         * config/i386/resms64x.S: Likewise.
4429         * config/i386/savms64.S: Likewise.
4430         * config/i386/savms64f.S: Likewise.
4431         * config/i386/avx_resms64.S: New file that only defines a macro and
4432         includes it's corresponding header file.
4433         * config/i386/avx_resms64f.S: Likewise.
4434         * config/i386/avx_resms64fx.S: Likewise.
4435         * config/i386/avx_resms64x.S: Likewise.
4436         * config/i386/avx_savms64.S: Likewise.
4437         * config/i386/avx_savms64f.S: Likewise.
4438         * config/i386/sse_resms64.S: Likewise.
4439         * config/i386/sse_resms64f.S: Likewise.
4440         * config/i386/sse_resms64fx.S: Likewise.
4441         * config/i386/sse_resms64x.S: Likewise.
4442         * config/i386/sse_savms64.S: Likewise.
4443         * config/i386/sse_savms64f.S: Likewise.
4444         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
4446 2017-09-01  Olivier Hainque  <hainque@adacore.com>
4447         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
4449 2017-08-31  Olivier Hainque  <hainque@adacore.com>
4451         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
4452         match as powerpc-wrs-vxworks*.
4454 2017-08-07  Jonathan Yong  <10walls@gmail.com>
4456         * config.host (*-cygwin): Include file from mingw
4457         config/i386/enable-execute-stack-mingw32.c
4459 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
4460             Doug Rupp  <rupp@adacore.com>
4461             Olivier Hainque  <hainque@adacore.com>
4463         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
4464         as well as arm-wrs-vxworks.
4465         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
4466         LIB2ADDEH.
4467         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
4468         __exidx_start and __exidx_end for downloadable modules.
4470 2017-08-01  Olivier Hainque  <hainque@adacore.com>
4472         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
4473         * config/t-vxworks7: Likewise.
4475 2017-08-01  Olivier Hainque  <hainque@adacore.com>
4477         * config/t-vxworks: Instead of redefining LIB2ADD,
4478         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
4480 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4482         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
4484 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
4486         PR testsuite/80759
4487         * config.host: include i386/t-msabi for darwin and solaris.
4488         * config/i386/i386-asm.h
4489         (ELFFN): Rename to FN_TYPE.
4490         (FN_SIZE): New macro.
4491         (FN_HIDDEN): Likewise.
4492         (ASMNAME): Likewise.
4493         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
4494         .globl.
4495         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
4496         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
4497         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
4498         .macro.
4499         * config/i386/resms64f.S: Likewise.
4500         * config/i386/resms64fx.S: Likewise.
4501         * config/i386/resms64x.S: Likewise.
4502         * config/i386/savms64.S: Likewise.
4503         * config/i386/savms64f.S: Likewise.
4505 2017-07-19  John Marino  <gnugcc@marino.st>
4507         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
4509 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
4511         PR target/81193
4512         * configure.ac (PowerPC float128 hardware support): Test whether
4513         we can use __builtin_cpu_supports before enabling the ifunc
4514         handler.
4515         * configure: Regenerate.
4517 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
4519         * config.host: Remove uclibc from arc target spec.
4521 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
4523         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
4525 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
4527         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
4528         (have_ieee_hw_p): Delete function.
4529         (SW_OR_HW) Use __builtin_cpu_supports().
4531 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4533         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
4535 2017-07-03  Olivier Hainque  <hainque@adacore.com>
4537         * config/t-vxworks7: New file, really.
4539 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
4541         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
4542         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
4543         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
4544         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
4545         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
4546         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
4547         config/pa/linux-unwind.h (pa32_fallback_frame_state),
4548         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
4549         config/sh/linux-unwind.h (sh_fallback_frame_state),
4550         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
4551         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
4552         ucontext_t instead of struct ucontext.
4554 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
4556         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
4557         (x86_64-wrs-vxworks7): Likewise.
4559 2017-06-27  Olivier Hainque  <hainque@adacore.com>
4561         * config/t-vxworks7: New file.
4562         * config.host (*-*-vxworks7): Use it.
4564 2017-06-22  Matt Turner  <mattst88@gmail.com>
4566         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
4567         skylake case.
4569 2017-06-21  Richard Biener  <rguenther@suse.de>
4571         PR gcov-profile/81080
4572         * configure.ac: Add AC_SYS_LARGEFILE.
4573         * libgcov.h: Include auto-target.h before tsystem.h to pick
4574         up _FILE_OFFSET_BITS which might differ for multilibs.
4575         * config.in: Regenerate.
4576         * configure: Likewise.
4578 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
4580         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
4582 2017-06-09  Martin Liska  <mliska@suse.cz>
4584         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
4585         Reset __gcov_indirect_call_callee to NULL.
4587 2017-06-08  Olivier Hainque  <hainque@adacore.com>
4589         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
4590         the set of -I options, support for direct inclusions of net/uio.h
4591         by VxWorks header files via ioLib.h.
4593 2017-06-07  Tony Reix  <tony.reix@atos.net>
4594             Matthieu Sarter  <matthieu.sarter.external@atos.net>
4595             David Edelsohn  <dje.gcc@gmail.com>
4597         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
4598         unconditionally.
4599         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
4600         AIX 7.2 support.
4602 2017-06-02  Olivier Hainque  <hainque@adacore.com>
4604         * config/vxlib.c (__gthread_once): Add missing value to
4605         return statement.
4607 2017-05-30  Olivier Hainque  <hainque@adacore.com>
4609         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
4610         dollar sign before $(MULTIDIR).
4612 2017-05-26  Richard Henderson  <rth@redhat.com>
4614         PR libgcc/80037
4615         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
4617 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
4619         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
4620         _Unwind_SetIP available as functions for arm*-*-freebsd*.
4621         * config/arm/unwind-arm.c: Implement the above.
4623 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4625         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
4626         section for a non-executable stack.
4628 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
4630         PR target/80600
4631         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
4633 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
4635         * config.host: Add i386/t-msabi to i386/t-linux file list.
4636         * config/i386/i386-asm.h: New file.
4637         * config/i386/resms64.S: New file.
4638         * config/i386/resms64f.S: New file.
4639         * config/i386/resms64fx.S: New file.
4640         * config/i386/resms64x.S: New file.
4641         * config/i386/savms64.S: New file.
4642         * config/i386/savms64f.S: New file.
4643         * config/i386/t-msabi: New file.
4645 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
4647         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
4648         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
4650 2017-05-05  Joshua Conner  <joshconner@google.com>
4652         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
4653         pc-relative indirect handling for fuchsia.
4654         * config/t-slibgcc-fuchsia: New file.
4655         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
4656         x86_64-*-fuchsia*): Add definitions.
4658 2017-04-19  Martin Liska  <mliska@suse.cz>
4660         PR gcov-profile/80435
4661         * Makefile.in: Install gcov.h.
4662         * gcov.h: New file.
4663         * libgcov.h: Use the header and make __gcov_flush publicly
4664         visible.
4666 2017-04-18  Martin Liska  <mliska@suse.cz>
4668         PR gcov-profile/78783
4669         * libgcov-driver.c (gcov_get_filename): New function.
4671 2017-04-07  Jeff Law  <law@redhat.com>
4673         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
4674         target makefile fragment.
4675         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
4677 2017-04-07  Alan Modra  <amodra@gmail.com>
4679         PR target/45053
4680         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
4682 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
4684         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
4686 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
4688         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
4690 2017-03-10  John Marino  <gnugcc@marino.st>
4692         * config/aarch64/freebsd-unwind.h: New file.
4693         * config.host: Add aarch64-*-freebsd unwinder.
4695 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
4697         * config/rs6000/crtrestvr.s: Use .machine altivec.
4698         * config/rs6000/crtsavevr.s: Ditto.
4700 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
4702         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
4703         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
4704         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
4705         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
4706         * configure: Regenerate.
4707         * config.in: Regenerate.
4709 2017-03-02  Jonathan Yong <10walls@gmail.com>
4711         * config/i386/gthr-win32.h: Define NOGDI before
4712         windows.h include to prevent w32api CC_NONE macro
4713         clash with libgfortran.
4715 2017-03-02  Jonathan Yong <10walls@gmail.com>
4717         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
4719 2017-02-16  Andrew Pinski  <apinski@cavium.com>
4721         * config/aarch64/value-unwind.h: New file.
4722         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
4723         to tm_file.
4725 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
4727         * config.host: Add RISC-V tuples.
4728         * config/riscv/atomic.c: New file.
4729         * config/riscv/crti.S: Likewise.
4730         * config/riscv/crtn.S: Likewise.
4731         * config/riscv/div.S: Likewise.
4732         * config/riscv/linux-unwind.h: Likewise.
4733         * config/riscv/muldi3.S: Likewise.
4734         * config/riscv/multi3.S: Likewise.
4735         * config/riscv/save-restore.S: Likewise.
4736         * config/riscv/sfp-machine.h: Likewise.
4737         * config/riscv/t-elf: Likewise.
4738         * config/riscv/t-elf32: Likewise.
4739         * config/riscv/t-elf64: Likewise.
4740         * config/riscv/t-softfp32: Likewise.
4741         * config/riscv/t-softfp64: Likewise.
4743 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
4745         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4746         /* FALLTHRU */ comments.
4748 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
4750         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
4752 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
4754         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
4755         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
4756         DW_CFA_GNU_window_save for AArch64 and LP64.
4758 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
4760         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
4762 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
4764         * config/aarch64/aarch64-unwind.h: New file.
4765         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
4766         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
4767         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
4768         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
4769         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
4770         (aarch64_post_extract_frame_addr): New function.
4771         (aarch64_post_frob_eh_handler_addr): New function.
4772         (aarch64_frob_update_context): New function.
4773         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
4774         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
4775         aarch64*-*-freebsd*):
4776         Initialize md_unwind_header to include aarch64-unwind.h.
4777         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
4778         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
4779         __aarch64__.
4780         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
4781         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
4782         (uw_frob_return_addr): New function.
4783         (uw_install_context): Use uw_frob_return_addr.
4785 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
4787         PR other/79046
4788         * configure.ac: Add GCC_BASE_VER.
4789         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
4790         version from BASE-VER file.
4791         * configure: Regenerated.
4793 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
4795         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
4796         libmul_f5.a): Filter archived prerequisites.
4798 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
4800         * config/i386/cpuinfo.h (processor_features): Add
4801         FEATURE_AVX512VPOPCNTDQ.
4802         * config/i386/cpuinfo.c (get_available_features): Habdle new
4803         feature.
4805 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
4807         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
4808         payload if [__mips_nan2008].
4810 2017-01-04  Alan Modra  <amodra@gmail.com>
4812         * Makefile.in (configure_deps): Update.
4813         * configure: Regenerate.
4815 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
4817         Update copyright years.
4819 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
4821         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
4822         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
4823         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
4825 2016-12-17  Matthias Klose  <doko@ubuntu.com>
4827         * config/arc/gmon: Remove empty directory.
4829 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
4831         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
4832         crtgend.
4833         (arc*-*-elf*): Likewise.
4834         * config/arc/t-arc: Remove old gmon lib targets.
4835         * config/arc/crtg.S: Remove.
4836         * config/arc/crtgend.S: Likewise.
4837         * config/arc/gmon/atomic.h: Likewise.
4838         * config/arc/gmon/auxreg.h: Likewise.
4839         * config/arc/gmon/dcache_linesz.S: Likewise.
4840         * config/arc/gmon/gmon.c: Likewise.
4841         * config/arc/gmon/machine-gmon.h: Likewise.
4842         * config/arc/gmon/mcount.c: Likewise.
4843         * config/arc/gmon/prof-freq-stub.S: Likewise.
4844         * config/arc/gmon/prof-freq.c: Likewise.
4845         * config/arc/gmon/profil.S: Likewise.
4846         * config/arc/gmon/sys/gmon.h: Likewise.
4847         * config/arc/gmon/sys/gmon_out.h: Likewise.
4848         * config/arc/t-arc-newlib: Likewise.
4849         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
4851 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
4853         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
4855 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
4857         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
4858         R16 instead of push + pop.
4859         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
4861 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
4863         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
4864         tmake_file.
4866 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
4868         * config.host (arc*-*-linux-uclibc*): Use default extra
4869         objects. Include linux-android header.
4870         * config/arc/crti.S (_init): Declare symbol as function.
4871         (_fini): Likewise.
4873 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
4875         PR fortran/78379
4876         * config/i386/cpuinfo.c:  Move denums for processor vendors,
4877         processor type, processor subtypes and declaration of
4878         struct __processor_model into
4879         * config/i386/cpuinfo.h:  New header file.
4881 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
4882             Thomas Preud'homme  <thomas.preudhomme@arm.com>
4884         * config/arm/cmse_nonsecure_call.S: New.
4885         * config/arm/t-arm: Compile cmse_nonsecure_call.S
4887 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
4888             Thomas Preud'homme  <thomas.preudhomme@arm.com>
4890         * config/arm/t-arm (HAVE_CMSE): New.
4891         * config/arm/cmse.c: New.
4893 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
4895         PR gcc/74748
4896         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
4897         use generic linker version information on Blackfin.
4899         PR gcc/74748
4900         * libgcc/mkmap-symver.awk: add support for skip_underscore
4902 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
4903             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4905         PR target/67710
4906         *  config/t-darwin: Default builds to 10.5 codegen.
4908 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
4910         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
4911         (_FP_NANSIGN_H): Likewise.
4912         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
4913         (softfp_truncations): Add tfhf.
4914         (softfp_extras): Add required conversion functions.
4916 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
4917             Matthew Wahab  <matthew.wahab@arm.com>
4919         * config/arm/fp16.c (binary64): New.
4920         (__gnu_d2h_internal): New.
4921         (__gnu_d2h_ieee): New.
4922         (__gnu_d2h_alternative): New.
4924 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
4925             Matthew Wahab  <matthew.wahab@arm.com>
4927         * config/arm/fp16.c (struct format): New.
4928         (binary32): New.
4929         (__gnu_float2h_internal): New.  Body moved from
4930         __gnu_f2h_internal and generalize.
4931         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
4932         Call it with binary32.
4934 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
4936         * soft-fp/extendhftf2.c: Update from glibc.
4937         * soft-fp/fixhfti.c: Likewise.
4938         * soft-fp/fixunshfti.c: Likewise.
4939         * soft-fp/floattihf.c: Likewise.
4940         * soft-fp/floatuntihf.c: Likewise.
4941         * soft-fp/half.h: Likewise.
4942         * soft-fp/trunctfhf2.c: Likewise.
4944 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
4946         PR libgcc/77813
4947         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
4948         __TMC_END__ behind a passthrough asm.
4950 2016-11-18  Walter Lee  <walt@tilera.com>
4952         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
4954 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
4956         * config/i386/cpuinfo.c (processor_features): Add
4957         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
4959 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
4961         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
4962         (__ARC_NORM__): Use instead ARC_OPTFPE.
4963         * config/arc/fp-hack.h: Likewise.
4964         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
4965         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
4967 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
4969         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
4970         * config/nvptx/mgomp.c: New file.
4971         * config/nvptx/t-nvptx: Add mgomp.c
4973 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
4975         PR libgcc/68468
4976         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
4978 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
4980         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
4981         of checking for cpus.
4982         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
4983         (__modsi3, __clzsi2): Likewise.
4985 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4987         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
4988         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
4989         * config/i386/t-cpuinfo-static: New.
4991 2016-11-03  Martin Liska  <mliska@suse.cz>
4993         * libgcov-profiler.c (__gcov_time_profiler): Remove.
4994         (__gcov_time_profiler_atomic): Likewise.
4996 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
4998         PR libgcc/78067
4999         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
5000         count_leading_zeros.
5002 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
5004         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
5005         * libgcc2.c (__divmoddi4): New function.
5006         * libgcc2.h (__divmoddi4): Declare.
5007         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
5008         and __PFX_divmodti4.
5010 2016-10-24  Florian Weimer  <fweimer@redhat.com>
5012         PR libgcc/78064
5013         * unwind-c.c: Include auto-target.h.
5015 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
5017         * config/pa/pa64-hpux-lib.h: New file.
5018         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
5019         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
5020         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
5021         hppa*64*-*-hpux11*.
5023 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
5025         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5026         definition.
5027         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5028         definition.
5029         * config/xtensa/t-windowed (LIB2ADDEH): Use
5030         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
5031         or xtensa/t-linux.
5033 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
5035         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
5036         __ieee754_sqrt): New functions.
5037         (__divdf3): Add implementation with new FPU instructions under
5038         #if XCHAL_HAVE_DFP_DIV.
5039         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
5040         __ieee754_sqrtf): New functions.
5041         (__divsf3): Add implementation with new FPU instructions under
5042         #if XCHAL_HAVE_FP_DIV.
5043         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
5044         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
5046 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5048         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
5049         equivalent.
5050         * config/tilepro/atomic.c: Likewise and stop casting model to
5051         enum memmodel.
5053 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
5055         PR target/77586
5056         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
5057         soft-fp.
5059 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
5061         * config.host: Add support for aarch64-*-freebsd*.
5063 2016-10-05  Andreas Schwab  <schwab@suse.de>
5065         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
5066         (.section .init_array): Don't call __do_jv_register_classes.
5067         (.section .init): Likewise.
5069 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
5071         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
5072         (__JCR_LIST__): Remove.
5073         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
5074         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
5075         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
5076         * config/ia64/crtend.S (__JCR_END__): Remove.
5077         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
5078         conditionals.
5079         (__JCR_LIST__, __JCR_END__): Remove.
5080         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
5081         (__do_global_ctors_1): Likewise.
5083 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
5085         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
5086         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
5088 2016-09-27  Martin Liska  <mliska@suse.cz>
5090         PR gcov-profile/7970
5091         PR gcov-profile/16855
5092         PR gcov-profile/44779
5093         * libgcov-driver.c (__gcov_init): Do not register a atexit
5094         handler.
5095         (__gcov_exit): Rename from gcov_exit.
5096         * libgcov.h (__gcov_exit): Declare.
5098 2016-09-27  Martin Liska  <mliska@suse.cz>
5100         PR bootstrap/77749
5101         * Makefile.in: Remove _gcov_merge_delta.
5102         * libgcov-merge.c (void __gcov_merge_delta): Remove.
5103         * libgcov-util.c (__gcov_delta_counter_op): Remove.
5104         * libgcov.h: Remove declaration of __gcov_merge_delta.
5106 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
5108         * configure.ac: Do not create links, only substitute the filenames.
5109         * configure: Regenerate.
5110         * Makefile.in: Assign the substitution results to variables.
5111         (LIBGCC_LINKS): Define.
5112         (enable-execute-stack.c): New rule.
5113         (unwind.h): Likewise.
5114         (md-unwind-support.h): Likewise.
5115         (sfp-machine.h): Likewise.
5116         (gthr-default.h): Likewise.
5117         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
5118         unwind.h as prerequisite of install-unwind_h-forbuild.
5120 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
5122         PR libgcc/71744
5123         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
5124         is not the primary registry and atomics are available.
5125         (any_objects_registered): New variable.
5126         (__register_frame_info_bases, __register_frame_info_table_bases):
5127         Atomically store 1 to any_objects_registered after registering first
5128         unwind info.
5129         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
5131 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
5133         PR target/63250
5134         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
5135         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
5136         (HFtype): Likewise.
5137         (HCtype): Likewise.
5138         (__divhc3): Likewise.
5139         (__mulhc3): Likewise.
5140         * libgcc2.c: Support _mulhc3 and _divhc3.
5142 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
5144         PR libgcc/77519
5145         * libgcc2.c (NOTRUNC): Invert settings.
5147 2016-09-06  Martin Liska  <mliska@suse.cz>
5149         PR gcov-profile/77378
5150         PR gcov-profile/77466
5151         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
5152         conditionaly enable/disable *_atomic functions.
5154 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
5156         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
5157         where not already enabled.
5159 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5161         * config/mips/linux-unwind.h: Use sys/syscall.h.
5163 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
5165         PR libgcc/77265
5166         * soft-fp/adddf3.c: Update from glibc.
5167         * soft-fp/addsf3.c: Likewise.
5168         * soft-fp/addtf3.c: Likewise.
5169         * soft-fp/divdf3.c: Likewise.
5170         * soft-fp/divsf3.c: Likewise.
5171         * soft-fp/divtf3.c: Likewise.
5172         * soft-fp/double.h: Likewise.
5173         * soft-fp/eqdf2.c: Likewise.
5174         * soft-fp/eqsf2.c: Likewise.
5175         * soft-fp/eqtf2.c: Likewise.
5176         * soft-fp/extenddftf2.c: Likewise.
5177         * soft-fp/extended.h: Likewise.
5178         * soft-fp/extendsfdf2.c: Likewise.
5179         * soft-fp/extendsftf2.c: Likewise.
5180         * soft-fp/extendxftf2.c: Likewise.
5181         * soft-fp/fixdfdi.c: Likewise.
5182         * soft-fp/fixdfsi.c: Likewise.
5183         * soft-fp/fixdfti.c: Likewise.
5184         * soft-fp/fixsfdi.c: Likewise.
5185         * soft-fp/fixsfsi.c: Likewise.
5186         * soft-fp/fixsfti.c: Likewise.
5187         * soft-fp/fixtfdi.c: Likewise.
5188         * soft-fp/fixtfsi.c: Likewise.
5189         * soft-fp/fixtfti.c: Likewise.
5190         * soft-fp/fixunsdfdi.c: Likewise.
5191         * soft-fp/fixunsdfsi.c: Likewise.
5192         * soft-fp/fixunsdfti.c: Likewise.
5193         * soft-fp/fixunssfdi.c: Likewise.
5194         * soft-fp/fixunssfsi.c: Likewise.
5195         * soft-fp/fixunssfti.c: Likewise.
5196         * soft-fp/fixunstfdi.c: Likewise.
5197         * soft-fp/fixunstfsi.c: Likewise.
5198         * soft-fp/fixunstfti.c: Likewise.
5199         * soft-fp/floatdidf.c: Likewise.
5200         * soft-fp/floatdisf.c: Likewise.
5201         * soft-fp/floatditf.c: Likewise.
5202         * soft-fp/floatsidf.c: Likewise.
5203         * soft-fp/floatsisf.c: Likewise.
5204         * soft-fp/floatsitf.c: Likewise.
5205         * soft-fp/floattidf.c: Likewise.
5206         * soft-fp/floattisf.c: Likewise.
5207         * soft-fp/floattitf.c: Likewise.
5208         * soft-fp/floatundidf.c: Likewise.
5209         * soft-fp/floatundisf.c: Likewise.
5210         * soft-fp/floatunditf.c: Likewise.
5211         * soft-fp/floatunsidf.c: Likewise.
5212         * soft-fp/floatunsisf.c: Likewise.
5213         * soft-fp/floatunsitf.c: Likewise.
5214         * soft-fp/floatuntidf.c: Likewise.
5215         * soft-fp/floatuntisf.c: Likewise.
5216         * soft-fp/floatuntitf.c: Likewise.
5217         * soft-fp/gedf2.c: Likewise.
5218         * soft-fp/gesf2.c: Likewise.
5219         * soft-fp/getf2.c: Likewise.
5220         * soft-fp/ledf2.c: Likewise.
5221         * soft-fp/lesf2.c: Likewise.
5222         * soft-fp/letf2.c: Likewise.
5223         * soft-fp/muldf3.c: Likewise.
5224         * soft-fp/mulsf3.c: Likewise.
5225         * soft-fp/multf3.c: Likewise.
5226         * soft-fp/negdf2.c: Likewise.
5227         * soft-fp/negsf2.c: Likewise.
5228         * soft-fp/negtf2.c: Likewise.
5229         * soft-fp/op-1.h: Likewise.
5230         * soft-fp/op-2.h: Likewise.
5231         * soft-fp/op-4.h: Likewise.
5232         * soft-fp/op-8.h: Likewise.
5233         * soft-fp/op-common.h: Likewise.
5234         * soft-fp/quad.h: Likewise.
5235         * soft-fp/single.h: Likewise.
5236         * soft-fp/soft-fp.h: Likewise.
5237         * soft-fp/subdf3.c: Likewise.
5238         * soft-fp/subsf3.c: Likewise.
5239         * soft-fp/subtf3.c: Likewise.
5240         * soft-fp/truncdfsf2.c: Likewise.
5241         * soft-fp/trunctfdf2.c: Likewise.
5242         * soft-fp/trunctfsf2.c: Likewise.
5243         * soft-fp/trunctfxf2.c: Likewise.
5244         * soft-fp/unorddf2.c: Likewise.
5245         * soft-fp/unordsf2.c: Likewise.
5246         * soft-fp/unordtf2.c: Likewise.
5248 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
5250         PR gcov-profile/67097
5251         * libgcov-util.c (gcov_profile_merge): Skip missing files.
5253 2016-08-10  Martin Liska  <mliska@suse.cz>
5255         PR gcov-profile/58306
5256         * Makefile.in: New functions (modules) are added.
5257         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
5258         function.
5259         (__gcov_pow2_profiler_atomic): New function.
5260         (__gcov_one_value_profiler_body): New argument is instroduced.
5261         (__gcov_one_value_profiler): Call with the new argument.
5262         (__gcov_one_value_profiler_atomic): Likewise.
5263         (__gcov_indirect_call_profiler_v2): Likewise.
5264         (__gcov_time_profiler_atomic): New function.
5265         (__gcov_average_profiler_atomic): Likewise.
5266         (__gcov_ior_profiler_atomic): Likewise.
5267         * libgcov.h: Declare the aforementioned functions.
5269 2016-08-09  Martin Liska  <mliska@suse.cz>
5271         * libgcov-util.c: Fix typo and GNU coding style.
5273 2016-08-09  Martin Liska  <mliska@suse.cz>
5275         * Makefile.in: Remove __gcov_indirect_call_profiler.
5276         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
5277         function.
5278         * libgcov.h: And the declaration of the function.
5280 2016-08-09  Martin Liska  <mliska@suse.cz>
5282         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
5283         power of two.
5285 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
5287         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
5288         * config/rs6000/_mulkc3.c: Likewise.
5290 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
5292         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
5293         zero_reg as previous call to __umulhisi3 already cleared it.
5295 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
5297         PR target/59833
5298         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
5300 2016-07-19  Nick Clifton  <nickc@redhat.com>
5302         * config.host (m32r): Add m32r/t-m32r to tmake_file.
5303         Add crtinit.o and crtfini.o to extra_parts.
5305 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
5307         * config/rs6000/_divkc3.c: New.
5308         * config/rs6000/_mulkc3.c: New.
5309         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
5310         and _divkc3.
5311         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
5312         fp128_ppc_funcs.
5314 2016-07-11  Hale Wang  <hale.wang@arm.com>
5315             Andre Vieira  <andre.simoesdiasvieira@arm.com>
5317         * config/arm/lib1funcs.S: Add new wrapper.
5319 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5321         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
5323 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5325         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
5326         and ARMv5t* rather than for a fixed list of architectures.
5328 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5330         * config/arm/bpabi-v6m.S: Clarify what architectures is the
5331         implementation suitable for.
5332         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
5333         for all Thumb-1 only targets.
5334         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
5335         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
5336         __ARM_ARCH_6M__.
5337         (EQUIV): Likewise.
5338         (ARM_FUNC_ALIAS): Likewise.
5339         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
5340         version.
5341         (modsi3): Likewise.
5342         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
5343         (clzdi2): Likewise.
5344         (ctzsi2): Likewise.
5345         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
5346         __ARM_ARCH_6M__ in guard for checking whether it is defined.
5347         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
5348         __ARM_ARCH_6M__ and add comment to indicate the connection between
5349         this condition and the one in gcc/config/arm/elf.h.
5350         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
5351         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
5352         * config/arm/t-softfp: Likewise.
5354 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5356         * libgcc2.c (SYMBOL__MAIN): Remove checks for
5357         CTOR_LISTS_DEFINED_EXTERNALLY.
5359 2016-06-28  Walter Lee  <walt@tilera.com>
5361         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
5362         asm/unistd.h.
5363         (SPR_CMPEXCH_VALUE): Define for tilegx.
5364         (__NR_FAST_cmpxchg): Define for tilepro.
5365         (__NR_FAST_atomic_update): Define for tilepro.
5366         (__NR_FAST_cmpxchg64): Define for tilepro.
5368 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
5370         * config.host: Add suport for arm*-*-phoenix* targets.
5372 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5374         * config.host: Remove support for mep-*.
5375         * config/mep/lib1funcs.S: Remove.
5376         * config/mep/lib2funcs.c: Remove.
5377         * config/mep/t-mep: Remove.
5378         * config/mep/tramp.c: Remove.
5380 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5382         * config.host: Remove support for avr-rtems.
5383         * config/avr/t-rtems: Remove.
5385 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5387         * config.host: Remove m32r-rtems support.
5389 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5391         * config.host: Remove h8300-rtems support.
5393 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5395         * config.host: Remove support for knetbsd.
5397 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5399         * config.host: Remove support for openbsd 2 and 3.
5401 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5403         * config.host: Remove interix support.
5404         * config/i386/t-interix: Remove.
5406 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
5408         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
5409         least-significant bit in function pointer for fixup.
5411 2016-06-05  Aaron Conole  <aconole@redhat.com>
5412             Nathan Sidwell  <nathan@acm.org>
5414         PR libgcc/71400
5415         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
5416         (get_gcov_error_file): Check __gcov_error_file before trying to
5417         initialize it.
5418         (gcov_error): Always use get_gcov_error_file.
5420 2016-06-02  Aaron Conole  <aconole@redhat.com>
5422         * libgcov-driver-system.c (__gcov_error_file): New.
5423         (get_gcov_error_file): New.
5424         (gcov_error): Use and set __gcov_error_file.
5425         (gcov_error_exit): New.
5426         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
5428 2016-05-26  Nathan Sidwell  <nathan@acm.org>
5430         * config/nvptx/free.asm: Delete.
5431         * config/nvptx/malloc.asm: Delete.
5432         * config/nvptx/realloc.c: Delete.
5433         * t-nvptx: Update.
5435 2016-05-25  Nathan Sidwell  <nathan@acm.org>
5437         * config/nvptx/crt0.s: Delete.
5438         * config/nvptx/crt0.c: New.
5439         * t-nvptx: Update.
5441 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
5443         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
5444         dw2/seh configuration.
5445         [x86_64-*-mingw*]: Likewise.
5447 2016-05-10  Joel Sherrill <joel@rtems.org>
5449         PR libgcc/70720
5450         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
5451         targets so the same extra_parts are built.  Also have tmake_file add
5452         on to its value rather than override.
5454 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
5456         * config.host: Remove SH5 support.
5457         * configure: Likewise.
5459 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
5461         * config/sh/crt1.S: Remove SH5 support.
5462         * config/sh/crti.S: Likewise.
5463         * config/sh/crtn.S: Likewise.
5464         * config/sh/lib1funcs-4-300.S: Likewise.
5465         * config/sh/lib1funcs-Os-4-200.S: Likewise.
5466         * config/sh/lib1funcs.S: Likewise.
5467         * config/sh/linux-unwind.h: Likewise.
5468         * config/sh/t-sh64: Delete.
5470 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
5472         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
5474 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
5475             Joern Rennecke  <joern.rennecke@embecosm.com>
5477         * config/arc/crttls.S: New file.
5478         * config/arc/t-arc: New rule.
5479         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
5481 2016-04-25  Nick Clifton  <nickc@redhat.com>
5483         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
5484         (__mspabi_cmpd): Likewise.
5485         * config/msp430/floathidf.c (__floathidf): Likewise.
5486         * config/msp430/floathisf.c (__floathisf): Likewise
5487         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
5488         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
5489         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
5490         second parameter.
5491         (__ashrsi3): Likewise.
5493 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
5495         * config/m68k/linux-atomic.c: Do not include unistd.h
5497 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
5499         * config/arm/ieee754-df.S: Fix typos in comments.
5501 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
5503         PR target/70381
5504         * configure.ac (powerpc*-*-linux*): Rework tests to build
5505         __float128 emulation routines to not depend on using #pragma GCC
5506         target to enable -mfloat128.
5507         * configure: Regnerate.
5509 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
5511         PR target/67172
5512         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
5513         __MINGW32__ is defined.
5515 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
5517         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
5519 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
5521         PR libgcc/70363
5522         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
5523         built with an assembler that does not support ISA 3.0
5524         instructions, rename __extendkftf2_sw to __extendkftf2.
5526 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5528         PR target/38239
5529         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
5530         call-clobbered registers.
5531         (internal_mcount): Remove __i386__ handling.
5533 2016-02-26  Joel Sherrill <joel@rtems.org>
5535         * config.host: Add x86_64-*-rtems*.
5537 2016-02-26  Joel Sherrill <joel@rtems.org>
5539         * libgcc/config.host: Add aarch64-*-rtems*.
5541 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5542             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
5544         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
5545         union of u64 and double.
5546         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
5547         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
5548         value.
5549         (FP_ROUNDMODE): Update the usage of _fpscr.
5551 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
5553         PR driver/68463
5554         * Makefile.in (crtoffloadtable$(objext)): New rule.
5555         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
5556         enable_offload_targets is not empty.
5557         * configure: Regenerate.
5558         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
5559         crtoffloadtable.
5561 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
5563         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
5564         .literal_position before the function.
5565         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
5566         Likewise.
5568 2016-02-15  Marcin Kościelnicki  <koriakin@0x04.net>
5570         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
5571         * config/s390/morestack.S: New file.
5572         * config/s390/t-stack-s390: New file.
5573         * generic-morestack.c (__splitstack_find): Add s390-specific code.
5575 2016-02-12  Walter Lee  <walt@tilera.com>
5577         * config.host (tilegx*-*-linux*): remove ti from
5578         softfp_int_modes for 32-bit configs.
5580 2016-02-10  Ian Lance Taylor  <iant@google.com>
5582         PR go/68562
5583         * config/i386/morestack.S (__stack_split_initialize): Align
5584         stack.
5586 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
5588         PR bootstrap/69611
5589         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
5590         __FLOAT128__ to compile only for __float128 capable targets.
5592 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
5594         PR target/69444
5595         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
5596         instead of ___NO_FPRS__.
5598 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
5599             Steven Munroe  <munroesj@linux.vnet.ibm.com>
5600             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
5602         * config/rs6000/float128-sed: New files to convert TF names to KF
5603         names for PowerPC IEEE 128-bit floating point support.
5604         * config/rs6000/float128-sed-hw: Likewise.
5606         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5607         floating point hardware support.
5609         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5610         128-bit floating point software emulation or use ISA 3.0 hardware
5611         support if it is available.
5613         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5614         floating point.
5616         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
5617         floating point to IBM extended double.
5619         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
5620         double to IEEE 128-bit floating point.
5622         * config/rs6000/t-float128: New Makefile fragments to enable
5623         building __float128 emulation support.
5624         * config/rs6000/t-float128-hw: Likewise.
5626         * config/rs6000/sfp-exceptions.c: New file to provide exception
5627         support for IEEE 128-bit floating point.
5629         * config/rs6000/floattikf.c: New files for converting between IEEE
5630         128-bit floating point and signed/unsigned 128-bit integers.
5631         * config/rs6000/fixunskfti.c: Likewise.
5632         * config/rs6000/fixkfti.c: Likewise.
5633         * config/rs6000/floatuntikf.c: Likewise.
5635         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5636         when building on 64-bit systems, or when VSX is enabled.
5637         (_FP_W_TYPE): Likewise.
5638         (_FP_WS_TYPE): Likewise.
5639         (_FP_I_TYPE): Likewise.
5640         (TItype): Define on 64-bit systems.
5641         (UTItype): Likewise.
5642         (TI_BITS): Likewise.
5643         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5644         (_FP_MUL_MEAT_Q): Likewise.
5645         (_FP_DIV_MEAT_D): Likewise.
5646         (_FP_DIV_MEAT_Q): Likewise.
5647         (_FP_NANFRAC_D): Likewise.
5648         (_FP_NANFRAC_Q): Likewise.
5649         (ISA_BIT): Add exception support if we are being compiled on a
5650         machine with hardware floating point support to build the IEEE
5651         128-bit emulation functions.
5652         (FP_EX_INVALID): Likewise.
5653         (FP_EX_OVERFLOW): Likewise.
5654         (FP_EX_UNDERFLOW): Likewise.
5655         (FP_EX_DIVZERO): Likewise.
5656         (FP_EX_INEXACT): Likewise.
5657         (FP_EX_ALL): Likewise.
5658         (__sfp_handle_exceptions): Likewise.
5659         (FP_HANDLE_EXCEPTIONS): Likewise.
5660         (FP_RND_NEAREST): Likewise.
5661         (FP_RND_ZERO): Likewise.
5662         (FP_RND_PINF): Likewise.
5663         (FP_RND_MINF): Likewise.
5664         (FP_RND_MASK): Likewise.
5665         (_FP_DECL_EX): Likewise.
5666         (FP_INIT_ROUNDMODE): Likewise.
5667         (FP_ROUNDMODE): Likewise.
5669         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5670         VSX code, enable IEEE 128-bit floating point.  If the compiler can
5671         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
5672         floating point hardware instructions and it supports declaring
5673         functions with the ifunc attribute, enable ifunc functions to
5674         switch between software and hardware support.
5675         * configure.ac (powerpc*-*-linux*): Likewise.
5676         * configure: Regenerate.
5678 2016-01-15  Nick Clifton  <nickc@redhat.com>
5680         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
5681         dependency as the source file to be compiled.
5682         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
5683         (lib2hw_mul_f5.o): Likewise.
5685 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
5687         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
5688         * libgcc/config/rs6000/fixkfti.c: Likewise.
5689         * libgcc/config/rs6000/fixunskfti.c: Likewise.
5690         * libgcc/config/rs6000/float128-hw.c: Likewise.
5691         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
5692         * libgcc/config/rs6000/float128-sed: Likewise.
5693         * libgcc/config/rs6000/floattikf.c: Likewise.
5694         * libgcc/config/rs6000/floatuntikf.c: Likewise.
5695         * libgcc/config/rs6000/quad-float128.h: Likewise.
5696         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
5697         * libgcc/config/rs6000/sfp-machine.h: Likewise.
5698         * libgcc/config/rs6000/t-float128: Likewise.
5699         * libgcc/config/rs6000/t-float128-hw: Likewise.
5700         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
5701         * libgcc/config.host: Likewise.
5702         * libgcc/configure: Likewise.
5703         * libgcc/configure.ac: Likewise.
5705 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
5706             Steven Munroe  <munroesj@linux.vnet.ibm.com>
5707             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
5709         * config/rs6000/sfp-exceptions.c: New file to provide exception
5710         support for IEEE 128-bit floating point.
5712         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5713         floating point hardware support.
5715         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
5716         point conversions.
5717         * config/rs6000/fixunskfti.c: Likewise.
5718         * config/rs6000/fixkfti.c: Likewise.
5719         * config/rs6000/floatuntikf.c: Likewise.
5720         * config/rs6000/extendkftf2-sw.c: Likewise.
5721         * config/rs6000/trunctfkf2-sw.c: Likewise.
5723         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5724         128-bit floating point software emulation or use ISA 3.0 hardware
5725         support if it is available.
5727         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5728         floating point.
5730         * config/rs6000/t-float128: New Makefile fragments to enable
5731         building __float128 emulation support.
5732         * config/rs6000/t-float128-hw: Likewise.
5734         * config/rs6000/float128-sed: New file to convert TF names to KF
5735         names for PowerPC IEEE 128-bit floating point support.
5737         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5738         when building on 64-bit systems, or when VSX is enabled.
5739         (_FP_W_TYPE): Likewise.
5740         (_FP_WS_TYPE): Likewise.
5741         (_FP_I_TYPE): Likewise.
5742         (TItype): Define on 64-bit systems.
5743         (UTItype): Likewise.
5744         (TI_BITS): Likewise.
5745         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5746         (_FP_MUL_MEAT_Q): Likewise.
5747         (_FP_DIV_MEAT_D): Likewise.
5748         (_FP_DIV_MEAT_Q): Likewise.
5749         (_FP_NANFRAC_D): Likewise.
5750         (_FP_NANFRAC_Q): Likewise.
5751         (ISA_BIT): Add exception support if we are being compiled on a
5752         machine with hardware floating point support to build the IEEE
5753         128-bit emulation functions.
5754         (FP_EX_INVALID): Likewise.
5755         (FP_EX_OVERFLOW): Likewise.
5756         (FP_EX_UNDERFLOW): Likewise.
5757         (FP_EX_DIVZERO): Likewise.
5758         (FP_EX_INEXACT): Likewise.
5759         (FP_EX_ALL): Likewise.
5760         (__sfp_handle_exceptions): Likewise.
5761         (FP_HANDLE_EXCEPTIONS): Likewise.
5762         (FP_RND_NEAREST): Likewise.
5763         (FP_RND_ZERO): Likewise.
5764         (FP_RND_PINF): Likewise.
5765         (FP_RND_MINF): Likewise.
5766         (FP_RND_MASK): Likewise.
5767         (_FP_DECL_EX): Likewise.
5768         (FP_INIT_ROUNDMODE): Likewise.
5769         (FP_ROUNDMODE): Likewise.
5771         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
5772         compiler can do __float128.
5773         * configure: Regenerate.
5775         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5776         VSX code, enable IEEE 128-bit floating point.
5778 2016-01-05  Olivier Hainque  <hainque@adacore.com>
5780         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
5781         specificities.
5783 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
5785         Update copyright years.
5787 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
5789         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
5790         soft-fp targets.
5792 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
5794         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
5795         instead of abort to avoid dependency on stdlib.h.
5797 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
5799         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
5800         to initialize call to __dl_fixup once.
5802 2015-12-04  Nick Clifton  <nickc@redhat.com>
5804         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
5805         Allow for the second argument being negative.
5806         * config.host (extra_parts): Define for MSP430.  Create separate
5807         libraries for each of the hardware multiply formats.
5808         * config/msp430/lib2hw_mul.S: Build only the multiply routines
5809         that are needed.
5810         * config/msp430/lib2mul.c: Likewise.
5811         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
5812         Add rules to build hardware multiply libraries.
5813         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
5814         __mspabi_divul function.
5815         (__mspabi_divllu): New stub function.
5817 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
5819         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
5820         fixup values if saved GOT address doesn't match runtime address.
5821         (fixup_branch_offset): Reorder list.
5823 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5825         * Makefile.in (VTV_CFLAGS): New variable.
5826         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
5827         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
5828         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5829         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
5830         to extra_parts if $enable_vtable_verify = yes.
5832 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5834         PR target/68059
5835         * config/arm/linux-atomic-64bit.c (__write): Rename to...
5836         (write): ...this and fix the return type.
5838 2015-11-19  DJ Delorie  <dj@redhat.com>
5840         * config/msp430/lib2hw_mul.S: Fix alignment.
5842 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
5844         * config/nvptx/reduction.c: New.
5845         * config/nvptx/t-nvptx (LIB2ADD): Add it.
5847 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
5849         * config/rs6000/on_exit.c: New file.
5850         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
5851         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
5853 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
5855         * config/arc/dp-hack.h: Add support for ARCHS.
5856         * config/arc/ieee-754/divdf3.S: Likewise.
5857         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5858         * config/arc/ieee-754/muldf3.S: Likewise.
5859         * config/arc/ieee-754/mulsf3.S: Likewise
5860         * config/arc/lib1funcs.S: Likewise
5861         * config/arc/gmon/dcache_linesz.S: Don't read the build register
5862         for ARCv2 cores.
5863         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
5864         for ARCv2 cores.
5865         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
5866         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
5867         cores.
5869 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5871         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
5872         value.
5873         * config/ia64/crtend.S: Likewise.
5875 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5877         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
5878         __CHAR_BIT__ instead of BITS_PER_UNIT.
5879         * fixed-bit.h: Likewise.
5880         * fp-bit.h: Likewise.
5881         * libgcc2.c (__popcountSI2): Likewise.
5882         (__popcountDI2): Likewise.
5883         * libgcc2.h: Likewise.
5884         * libgcov.h: Likewise.
5886 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
5888         * config/rs6000/atexit.c: New file.
5889         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
5890         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
5891         * config/rs6000/cxa_finalize.c
5892         (catomic_compare_and_exchange_bool_acq): Negate return value.
5894 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
5896         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
5897         (processor_subtypes): Add znver1.
5898         (get_amd_cpu): Detect znver1.
5900 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
5902         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
5903         Include crtfastmath.o.
5905 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
5907         PR libgcc/66883
5908         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
5910 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
5912         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
5913         * config/rl78/divmodsi.S: Update return register to r8.
5914         * config/rl78/divmodhi.S: Update return register to r8,r9.
5915         Branch to main_loop_done_himode to pop registers before return.
5917 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
5919         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
5920         (__cpu_indicator_init): Fix model selection for AMD CPUs.
5922 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
5924         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
5926 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
5928         * config.host (xtensa*-*-uclinux*): New configuration.
5930 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
5932         * config/i386/cpuinfo.c (processor_features): Add
5933         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
5935 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
5937         * soft-fp/adddf3.c: Update from glibc.
5938         * soft-fp/addsf3.c: Likewise.
5939         * soft-fp/addtf3.c: Likewise.
5940         * soft-fp/divdf3.c: Likewise.
5941         * soft-fp/divsf3.c: Likewise.
5942         * soft-fp/divtf3.c: Likewise.
5943         * soft-fp/double.h: Likewise.
5944         * soft-fp/eqdf2.c: Likewise.
5945         * soft-fp/eqsf2.c: Likewise.
5946         * soft-fp/eqtf2.c: Likewise.
5947         * soft-fp/extenddftf2.c: Likewise.
5948         * soft-fp/extended.h: Likewise.
5949         * soft-fp/extendsfdf2.c: Likewise.
5950         * soft-fp/extendsftf2.c: Likewise.
5951         * soft-fp/extendxftf2.c: Likewise.
5952         * soft-fp/fixdfdi.c: Likewise.
5953         * soft-fp/fixdfsi.c: Likewise.
5954         * soft-fp/fixdfti.c: Likewise.
5955         * soft-fp/fixsfdi.c: Likewise.
5956         * soft-fp/fixsfsi.c: Likewise.
5957         * soft-fp/fixsfti.c: Likewise.
5958         * soft-fp/fixtfdi.c: Likewise.
5959         * soft-fp/fixtfsi.c: Likewise.
5960         * soft-fp/fixtfti.c: Likewise.
5961         * soft-fp/fixunsdfdi.c: Likewise.
5962         * soft-fp/fixunsdfsi.c: Likewise.
5963         * soft-fp/fixunsdfti.c: Likewise.
5964         * soft-fp/fixunssfdi.c: Likewise.
5965         * soft-fp/fixunssfsi.c: Likewise.
5966         * soft-fp/fixunssfti.c: Likewise.
5967         * soft-fp/fixunstfdi.c: Likewise.
5968         * soft-fp/fixunstfsi.c: Likewise.
5969         * soft-fp/fixunstfti.c: Likewise.
5970         * soft-fp/floatdidf.c: Likewise.
5971         * soft-fp/floatdisf.c: Likewise.
5972         * soft-fp/floatditf.c: Likewise.
5973         * soft-fp/floatsidf.c: Likewise.
5974         * soft-fp/floatsisf.c: Likewise.
5975         * soft-fp/floatsitf.c: Likewise.
5976         * soft-fp/floattidf.c: Likewise.
5977         * soft-fp/floattisf.c: Likewise.
5978         * soft-fp/floattitf.c: Likewise.
5979         * soft-fp/floatundidf.c: Likewise.
5980         * soft-fp/floatundisf.c: Likewise.
5981         * soft-fp/floatunditf.c: Likewise.
5982         * soft-fp/floatunsidf.c: Likewise.
5983         * soft-fp/floatunsisf.c: Likewise.
5984         * soft-fp/floatunsitf.c: Likewise.
5985         * soft-fp/floatuntidf.c: Likewise.
5986         * soft-fp/floatuntisf.c: Likewise.
5987         * soft-fp/floatuntitf.c: Likewise.
5988         * soft-fp/gedf2.c: Likewise.
5989         * soft-fp/gesf2.c: Likewise.
5990         * soft-fp/getf2.c: Likewise.
5991         * soft-fp/ledf2.c: Likewise.
5992         * soft-fp/lesf2.c: Likewise.
5993         * soft-fp/letf2.c: Likewise.
5994         * soft-fp/muldf3.c: Likewise.
5995         * soft-fp/mulsf3.c: Likewise.
5996         * soft-fp/multf3.c: Likewise.
5997         * soft-fp/negdf2.c: Likewise.
5998         * soft-fp/negsf2.c: Likewise.
5999         * soft-fp/negtf2.c: Likewise.
6000         * soft-fp/op-1.h: Likewise.
6001         * soft-fp/op-2.h: Likewise.
6002         * soft-fp/op-4.h: Likewise.
6003         * soft-fp/op-8.h: Likewise.
6004         * soft-fp/op-common.h: Likewise.
6005         * soft-fp/quad.h: Likewise.
6006         * soft-fp/single.h: Likewise.
6007         * soft-fp/soft-fp.h: Likewise.
6008         * soft-fp/subdf3.c: Likewise.
6009         * soft-fp/subsf3.c: Likewise.
6010         * soft-fp/subtf3.c: Likewise.
6011         * soft-fp/truncdfsf2.c: Likewise.
6012         * soft-fp/trunctfdf2.c: Likewise.
6013         * soft-fp/trunctfsf2.c: Likewise.
6014         * soft-fp/trunctfxf2.c: Likewise.
6015         * soft-fp/unorddf2.c: Likewise.
6016         * soft-fp/unordsf2.c: Likewise.
6017         * soft-fp/unordtf2.c: Likewise.
6019 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
6021         PR libgcc/67624
6022         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
6024 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6026         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
6027         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
6028         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
6029         messages.
6030         (internal_mcount): Likewise.
6031         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
6032         crt_compile, add CRTSTUFF_T_CFLAGS_S.
6034 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6036         * configure.ac (libgcc_cv_solaris_crts): New test.
6037         * configure: Regenerate.
6038         * config.in: Regenerate.
6039         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
6040         * config/gmon-sol2.c: Rename to ...
6041         * config/sol2/gmon.c: ... this.
6042         Include auto-target.h.
6043         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
6044         * config/t-sol2: Rename to ...
6045         * config/sol2/t-sol2: ... this.
6046         (gmon.o): Reflect renaming.
6047         (crtp.o, crtpg.o): New rules.
6048         * config.host (*-*-solaris2*): Reflect renaming.
6049         Use system CRTs if present.
6050         Remove default CRT case.
6052 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
6054         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
6055         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
6056         __kernel_cmpxchg2.
6057         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
6058         (__sync_val_compare_and_swap_##WIDTH): Likewise.
6059         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
6060         (__sync_lock_test_and_set_##WIDTH): Likewise.
6061         (__sync_lock_release_##WIDTH): Likewise.
6062         (__sync_fetch_and_##OP##_4): Change result to match type of
6063         __kernel_cmpxchg.
6064         (__sync_##OP##_and_fetch_4): Likewise.
6065         (__sync_val_compare_and_swap_4): Likewise.
6066         (__sync_bool_compare_and_swap_4): likewise.
6067         (__sync_lock_test_and_set_4): Likewise.
6068         (__sync_lock_release_4): Likewise.
6069         (FETCH_AND_OP_2): Add long long variants.
6070         (OP_AND_FETCH_2): Likewise.
6071         (COMPARE_AND_SWAP_2 ): Likewise.
6072         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6073         (SYNC_LOCK_RELEASE_2): Likewise.
6074         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
6076 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
6078         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
6079         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
6080         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
6081         (get_available_features): Habdle new features.
6083 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
6085         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
6086         memory layout. Deal correctly with BSS region larger than 32K.
6087         Handle a watchdog reset like a power-on reset. Clean up unused
6088         code.
6090 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
6091             David Edelsohn  <dje.gcc@gmail.com>
6093         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
6094         * config/rs6000/crtdbase.S: New file.
6095         * config/rs6000/t-aix-cxa: Build crtdbase.o.
6097 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
6099         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
6100         Add support for call0 ABI.
6102 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
6104         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
6106 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
6108         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
6109         (__GTHREAD_HAS_COND): Likewise.
6110         (__gthread_t): Likewise.
6111         (__gthread_cond_t): Likewise.
6112         (__gthread_time_t): Likewise.
6113         (__GTHREAD_MUTEX_INIT): Likewise.
6114         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
6115         (__GTHREAD_COND_INIT): Likewise.
6116         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
6117         (__GTHREAD_TIME_INIT): Likewise.
6118         (__gthread_create): Likewise.
6119         (__gthread_join): Likewise.
6120         (__gthread_detach): Likewise.
6121         (__gthread_equal): Likewise.
6122         (__gthread_self): Likewise.
6123         (__gthread_yield): Likewise.
6124         (__gthread_cond_broadcast): Likewise.
6125         (__gthread_cond_signal): Likewise.
6126         (__gthread_cond_wait): Likewise.
6127         (__gthread_cond_timedwait): Likewise.
6128         (__gthread_cond_wait_recursive): Likewise.
6129         (__gthread_cond_destroy): Likewise.
6130         (rtems_gxx_once): Delete.
6131         (rtems_gxx_key_create): Likewise.
6132         (rtems_gxx_key_delete): Likewise.
6133         (rtems_gxx_getspecific): Likewise.
6134         (rtems_gxx_setspecific): Likewise.
6135         (rtems_gxx_mutex_init): Likewise.
6136         (rtems_gxx_mutex_destroy): Likewise.
6137         (rtems_gxx_mutex_lock): Likewise.
6138         (rtems_gxx_mutex_trylock): Likewise.
6139         (rtems_gxx_mutex_unlock): Likewise.
6140         (rtems_gxx_recursive_mutex_init): Likewise.
6141         (rtems_gxx_recursive_mutex_lock): Likewise.
6142         (rtems_gxx_recursive_mutex_trylock): Likewise.
6143         (rtems_gxx_recursive_mutex_unlock): Likewise.
6144         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
6145         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
6146         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
6147         (__gthread_once): Likewise.
6148         (__gthread_key_create): Likewise.
6149         (__gthread_key_delete): Likewise.
6150         (__gthread_getspecific): Likewise.
6151         (__gthread_setspecific): Likewise.
6152         (__gthread_key_t): Use <pthread.h> type.
6153         (__gthread_once_t): Likewise
6154         (__gthread_mutex_t): Use <sys/lock.h> type.
6155         (__gthread_recursive_mutex_t): Likewise
6156         (__gthread_mutex_lock): Use <sys/lock.h> function.
6157         (__gthread_mutex_trylock): Likewise.
6158         (__gthread_mutex_timedlock): Likewise.
6159         (__gthread_mutex_unlock): Likewise.
6160         (__gthread_mutex_destroy): Likewise.
6161         (__gthread_recursive_mutex_lock): Likewise.
6162         (__gthread_recursive_mutex_trylock): Likewise.
6163         (__gthread_recursive_mutex_timedlock): Likewise.
6164         (__gthread_recursive_mutex_unlock): Likewise.
6165         (__gthread_recursive_mutex_destroy): Likewise.
6167 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
6169         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
6170         context->sp instead of context->cfa.
6172 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
6174         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
6175         with unwind-dw2-fde-dip.
6177 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
6179         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
6180         CALL12 followed by series of ENTRY to spill windowed registers.
6181         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
6182         instead of making linux spill syscall.
6184 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
6186         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
6187         (get_intel_cpu): Likewise.
6189 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
6191         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
6192         (get_intel_cpu): Add Knights Landing support.
6194 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
6196         PR target/66954
6197         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
6198         (get_available_features): Handle FEATURE_PCLMUL.
6200 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
6202         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
6203         Broadwell.
6205 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
6207         PR target/66954
6208         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
6209         (get_available_features): Handle FEATURE_AES.
6211 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
6213         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
6214         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
6216 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
6218         * offloadstuff.c: Constify host data.
6220 2015-07-17  Jan Beulich  <jbeulich@suse.com>
6222         * config/t-softfp: Split up "else ifneq".
6224 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
6225             Cesar Philippidis  <cesar@codesourcery.com>
6226             Chung-Lin Tang  <cltang@codesourcery.com>
6228         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
6229         for __nios2_arch__ level.
6231 2015-07-13  John Marino  <gnugcc@marino.st>
6233         * config/i386/t-dragonfly: New.
6235 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
6237         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
6238         better match light-weight syscall argument order.
6239         (__kernel_cmpxchg2): Likewise.
6240         Adjust callers.
6242 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
6244         * config.host: Support i[34567]86-*-elfiamcu target.
6245         * config/t-softfp-sfdftf: New file.
6246         * config/i386/32/t-iamcu: Likewise.
6247         * configure: Regenerated.
6249 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
6251         libgcc/config/arm/
6252         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
6254 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
6256         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
6258 2015-05-27  John Marino  <gnugcc@marino.st>
6260         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
6261         md_unwind_header
6262         * config/i386/freebsd-unwind.h: New.
6264 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
6266         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
6267         i386/t-crtfm to tmake_file.
6268         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
6269         (set_fast_math): Use set_fast_math_sse for SSE targets.
6270         * config/i386/t-crtfm: Remove.
6272 2015-05-21  Alan Modra  <amodra@gmail.com>
6274         PR libgcc/66225
6275         * config/rs6000/morestack.S: Remove ".abiversion 1".
6277 2015-05-20  Alan Modra  <amodra@gmail.com>
6279         * config/rs6000/morestack.S: New.
6280         * config/rs6000/t-stack-rs6000: New.
6281         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
6282         to tmake_file.
6283         * generic-morestack.c: Don't build for powerpc 32-bit.
6285 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
6287         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
6288         Remove useless endif/ifneq ($(enable_shared),yes) pair.
6290 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
6292         * config.host: FT32 target added.
6293         * config/ft32/*: New files for FT32 target.
6295 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
6297         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
6298         New macros.
6299         * config/arm/ieee754-df.S: Add CFI directives.
6300         * config/arm/ieee754-sf.S: Add CFI directives.
6302 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
6304         * configure.ac: Include config/sjlj.m4.
6305         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
6306         * config.in: Regenerate.
6307         * configure: Likewise.
6308         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
6310 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
6312         * libgcov-util.c: Add space between string literal and macro name.
6314 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
6315             Chris Jones  <chrisj@nvidia.com>
6316             Joshua Conner  <jconner@nvidia.com>
6318         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
6319         (arm*-*-uclinux*): Likewise.
6320         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
6321         * config/arm/crtfastmath.c: New file.
6323 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
6325         * Makefile.in (real_host_noncanonical): New variable.
6326         (libsubdir): Use it.
6327         * configure.ac (real_host_noncanonical): Compute.  Remove special
6328         case for intelmicemul.
6329         * configure: Regenerate.
6331 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
6333         * config/frv/elf-lib.h: New file.
6334         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
6335         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
6336         to tm_file.
6338 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
6340         * config/frv/frvbengin.c: Do not include defaults.h
6341         * config/frv/frvend.c: Ditto.
6343 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
6345         * config.host: Add h8300-*-linux
6346         * config/h8300/t-linux: New file.
6347         * config/h8300/lib1funs.s: Change symbol prefix.
6348         * config/h8300/sfp-machine.h: 64bit double support.
6350 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
6351             Szabolcs Nagy  <szabolcs.nagy@arm.com>
6353         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
6354         Linux if target provides dl_iterate_phdr.
6356 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
6358         PR target/65612
6359         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
6360         * config/i386/cpuinfo.c (__cpu_model): Initialize.
6361         (__cpu_indicator_init@GCC_4.8.0): New.
6362         (__cpu_model@GCC_4.8.0): Likewise.
6363         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
6364         -DUSE_ELF_SYMVER.
6366 2015-04-16  Nick Clifton  <nickc@redhat.com>
6368         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
6369         and __modhi3 functions.
6370         * config/rl78/divmodso.S: Add G14 and G13 versions of the
6371         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
6373 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
6375         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
6376         do-while loop as macro body to avoid warnings.
6378 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
6379             Iain Sandoe  <iain@codesourcery.com>
6381         PR target/65351
6382         * configure: Regenerate.
6384 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
6385             Iain Sandoe  <iain@codesourcery.com>
6387         PR target/65351
6388         * configure: Regenerate.
6390 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
6392         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
6394 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
6396         Implement call0 ABI for xtensa
6397         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6398         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
6399         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
6400         use ret in call0 ABI.
6401         * config/xtensa/t-windowed: New file.
6402         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
6403         * libgcc/configure: Regenerated.
6404         * libgcc/configure.ac: Check if xtensa target is configured for
6405         windowed ABI and thus needs to use custom unwind code.
6407 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
6409         PR libgcc/64885
6410         * gthr-single.h: Use __unused__ attribute instead of unused.
6411         * config/gthr-vxworks.h: Likewise.
6412         * config/i386/gthr-win32.h: Likewise.
6414 2015-02-27  Kai Tietz  <ktietz@redhat.com>
6416         PR target/65038
6417         * config.in: Regenerated.
6418         * configure: Likewise.
6419         * configure.ac (AC_HEADER_STDC): Added explicit.
6420         (AC_CHECK_HEADERS): Check for default headers  plus
6421         for ftw.h header.
6422         * libgcov-util.c (gcov_read_profile_dir): Disable use
6423         of ftw-function, if header is not found.
6424         (ftw_read_file): Likewise.
6426 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
6428         PR target/65181
6429         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
6430         -Dinhibit_libc.
6432 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
6434         * config/arm/bpabi.S (test_div_by_zero): Make label names
6435         consistent between thumb2 and arm mode cases.  Separate the
6436         signed comparison on the high word of the numerator from the
6437         unsigned comparison on the low word.
6438         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
6439         signed comparison.
6441 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6443         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
6444         and <string.h>.
6445         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
6447 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
6449         PR gcov-profile/61889
6450         * libgcov-driver-system.c: undefine clashing macro for mkdir.
6452 2015-02-02  Nick Clifton  <nickc@redhat.com>
6454         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
6455         rounding up the fraction.
6457 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
6459         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
6460         oldval and newval to const void *.  Fix typo.
6461         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
6462         (FETCH_AND_OP_WORD): Likewise.
6463         (OP_AND_FETCH_WORD): Likewise.
6464         (COMPARE_AND_SWAP_2): Likewise.
6465         (__sync_val_compare_and_swap_4): Likewise.
6466         (__sync_lock_test_and_set_4): Likewise.
6467         (SYNC_LOCK_RELEASE_2): Likewise.
6468         Remove support for long long atomic operations.
6470 2015-01-27  Caroline Tice  <cmtice@google.com>
6472         Committing VTV Cywin/Ming patch for Patrick Wollgast
6473         * Makefile.in: Move rules to build vtv_*.o out of the check
6474         for CUSTOM_CRTSTUFF.
6475         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
6476         i[34567]86-*-mingw*)
6477         (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
6478         enable_vtable_verify.
6480 2015-01-27  Nick Clifton  <nickc@redhat.com>
6482         * config/rl78/cmpsi2.S: Use function start and end macros.
6483         (__gcc_bcmp): New function.
6484         * config/rl78/lshrsi3.S: Use function start and end macros.
6485         * config/rl78/mulsi3.S: Add support for G10.
6486         (__mulqi3): New function for G10.
6487         * config/rl78/signbit.S: Use function start and end macros.
6488         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
6489         fpmath-sf.S.
6490         (LIB2FUNCS_EXCLUDE): Define.
6491         (LIB2FUNCS_ST): Define.
6492         * config/rl78/trampoline.S: Use function start and end macros.
6493         * config/rl78/vregs.h (START_FUNC): New macro.
6494         (START_ANOTHER_FUNC): New macro.
6495         (END_FUNC): New macro.
6496         (END_ANOTHER_FUNC): New macro.
6497         * config/rl78/bit-count.S: New file.  Contains assembler
6498         implementations of the bit counting functions: ___clzhi2,
6499         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
6500         __paritysi2, __popcounthi2 and __popcountsi2.
6501         * config/rl78/fpbit-sf.S: New file.  Contains assembler
6502         implementationas of the math functions: __negsf2, __cmpsf2,
6503         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
6504         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
6505         * config/rl78/fpmath-sf.S: New file.  Contains assembler
6506         implementations of the math functions: __subsf3, __addsf3,
6507         __mulsf3 and __divsf3
6509 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6511         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
6512         Add i386/elf-lib.h to tm_file.
6513         * config/i386/elf-lib.h: Fix comment.
6514         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
6515         && __sun__ && __svr4__]: Remove workaround.
6517 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
6519         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
6520         FEATURE_BMI2.
6521         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
6523 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
6525         * config/i386/cpuinfo.c (processor_subtypes): Add
6526         INTEL_COREI7_BROADWELL.
6527         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
6528         model numbers.
6530 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
6532         * config/i386/elf-lib.h: New file.
6533         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
6534         Wrap definition in #ifdef __i386__.
6535         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6536         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
6537         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
6538         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
6539         to tm_file.
6541 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
6543         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
6544         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
6546 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
6548         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
6549         Update rt_sigframe format and address for current Nios II
6550         Linux conventions.
6552 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
6554         * config.host (arm*-*-freebsd*): Add new configuration for
6555         arm*-*-freebsd*.
6556         * config/arm/freebsd-atomic.c: New file.
6557         * config/arm/t-freebsd: Likewise.
6558         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
6559         'PC-relative indirect' OS's.
6561 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
6563         * config.host: Add Visium support.
6564         * config/visium: New directory.
6566 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
6568         Update copyright years.
6570 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
6572         * config.host: Support mipsisa32r6 and mipsisa64r6.
6573         * config/mips/mips16.S: Do not build for R6.
6575 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
6577         * config/sh/crt.h: New.
6578         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
6579         symbols.
6580         * config/sh/crt1.S: Likewise.
6582 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
6584         PR libgcc/63832
6585         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
6586         func_ptr *dtor_list temporary variable to avoid "array subscript
6587         is above array bounds" warnings.
6589 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
6591         * Makefile.in (with_aix_soname): Define.
6592         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
6593         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
6594         * configure: Recreate.
6596 2014-12-05  Olivier Hainque  <hainque@adacore.com>
6598         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
6599         now provided by defaults.h.
6601 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
6603         PR target/55351
6604         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
6605         whether it's defined.
6607 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
6609         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
6610         * config/i386/cpuinfo.c (get_available_features): Detect it.
6612 2014-11-27  Tony Wang  <tony.wang@arm.com>
6614         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
6615         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
6616         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
6618 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
6620         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
6622 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
6624         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
6625         instead.
6627 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
6628             John David Anglin  <danglin@gcc.gnu.org>
6630         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
6631         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
6632         (OP_AND_FETCH_2): Likewise.
6633         (COMPARE_AND_SWAP_2): Likewise.
6634         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6635         (SYNC_LOCK_RELEASE_2): Likewise.
6636         (SUBWORD_SYNC_OP): Remove.
6637         (SUBWORD_VAL_CAS): Likewise.
6638         (SUBWORD_BOOL_CAS): Likewise.
6639         (FETCH_AND_OP_WORD): Update.
6640         Consistently use signed types.
6642 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
6643             Thomas Schwinge  <thomas@codesourcery.com>
6644             Ilya Verbin  <ilya.verbin@intel.com>
6645             Andrey Turetskiy  <andrey.turetskiy@intel.com>
6647         * Makefile.in (crtoffloadbegin$(objext)): New rule.
6648         (crtoffloadend$(objext)): Likewise.
6649         * configure: Regenerate.
6650         * configure.ac (accel_dir_suffix): Compute new variable.
6651         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
6652         if enable_offload_targets is not empty.
6653         * offloadstuff.c: New file.
6655 2014-11-13  Nick Clifton  <nickc@redhat.com>
6657         * config/rl78/divmodhi.S: Add support for the G10 architecture.
6658         Use START_FUNC and END_FUNC macros to enable linker garbage
6659         collection.
6660         * config/rl78/divmodqi.S: Likewise.
6661         * config/rl78/divmodsi.S: Likewise.
6662         * config/rl78/mulsi3.S: Likewise.
6663         * config/rl78/lib2div.c: Remove G10 functions.
6664         * config/rl78/lib2muls.c: Likewise.
6665         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
6666         * config/rl78/vregs.h (START_FUNC): New macro.
6667         (END_FUNC): New macro.
6669 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
6671         * config/mips/mips16.S: Set .module when supported.  Update O32
6672         FP64 calling convention and use for FPXX when possible.  Add FPXX
6673         calling convention fallback case.
6675 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
6677         * config.host: Handle nvptx-*-*.
6678         * shared-object.mk (as-flags-$o): Define.
6679         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
6680         -xassembler-with-cpp.
6681         * static-object.mk: Identical changes.
6682         * config/nvptx/t-nvptx: New file.
6683         * config/nvptx/crt0.s: New file.
6684         * config/nvptx/free.asm: New file.
6685         * config/nvptx/malloc.asm: New file.
6686         * config/nvptx/realloc.c: New file.
6688 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
6690         * Makefile.in (libgcc.map.in): New target.
6691         (libgcc.map): Use libgcc.map.in.
6692         * config/t-softfp (softfp_compat): New variable to be set by
6693         users.
6694         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
6695         variables.
6696         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
6697         directory.
6698         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
6699         that use compat symbols and disable all code unless [SHARED].
6700         * config/t-softfp-compat: New file.
6701         * find-symver.awk: New file.
6702         * configure.ac (--with-glibc-version): New configure option.
6703         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
6704         * configure: Regenerate.
6705         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
6706         soft-float and e500.
6708 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
6710         * config/t-hardfp (hardfp_exclusions): Document new variable for
6711         user to define.
6712         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
6713         * config/t-softfp (softfp_extras): Document new variable for user
6714         to define.
6715         (softfp_func_list): Add functions from $(softfp_extras).
6716         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
6717         * config.host (powerpc*-*-linux*): For e500v1, use
6718         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
6719         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
6720         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
6722 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
6724         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
6725         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
6726         memory read accesses are ok.
6728 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
6730         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
6731         * configure: Regenerate.
6732         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
6733         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
6734         of soft-fp for 32-bit classic hard float.  Do not use
6735         t-softfp-excl for soft float.
6737 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
6739         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
6740         configurations.
6741         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
6742         Remove variables.
6744 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
6746         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
6747         introduced with 2014-10-21 trunk r216525.
6749 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
6750             Vidya Praveen  <vidya.praveen@atmel.com>
6751             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
6752             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
6753             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
6755         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
6756         order.
6758         Updated library functions for AVRTINY arch.
6759         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
6760         Replaced occurrences of r0/r1 with tmp/zero reg macros.
6761         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
6762         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
6763         wsubi/wadi macors.
6764         (__mulsi3_helper): Update stack, preserve callee saved regs and
6765         argument from stack. Restore callee save registers.
6766         (__mulpsi3): Likewise.
6767         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
6768         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
6769         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
6770         AVRTINY.
6771         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
6772         (__do_copy_data): Added new definition for AVRTINY.
6773         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
6774         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
6775         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
6776         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
6777         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
6778         macors.
6779         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
6780         AVRTINY.
6782         Fix broken long multiplication on tiny arch.
6784 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
6786         * soft-fp/double.h: Update from glibc.
6787         * soft-fp/eqdf2.c: Likewise.
6788         * soft-fp/eqsf2.c: Likewise.
6789         * soft-fp/eqtf2.c: Likewise.
6790         * soft-fp/extenddftf2.c: Likewise.
6791         * soft-fp/extended.h: Likewise.
6792         * soft-fp/extendsfdf2.c: Likewise.
6793         * soft-fp/extendsftf2.c: Likewise.
6794         * soft-fp/extendxftf2.c: Likewise.
6795         * soft-fp/gedf2.c: Likewise.
6796         * soft-fp/gesf2.c: Likewise.
6797         * soft-fp/getf2.c: Likewise.
6798         * soft-fp/ledf2.c: Likewise.
6799         * soft-fp/lesf2.c: Likewise.
6800         * soft-fp/letf2.c: Likewise.
6801         * soft-fp/op-1.h: Likewise.
6802         * soft-fp/op-2.h: Likewise.
6803         * soft-fp/op-4.h: Likewise.
6804         * soft-fp/op-8.h: Likewise.
6805         * soft-fp/op-common.h: Likewise.
6806         * soft-fp/quad.h: Likewise.
6807         * soft-fp/single.h: Likewise.
6808         * soft-fp/soft-fp.h: Likewise.
6809         * soft-fp/unorddf2.c: Likewise.
6810         * soft-fp/unordsf2.c: Likewise.
6811         * soft-fp/unordtf2.c: Likewise.
6812         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
6813         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
6814         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
6815         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
6816         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
6817         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
6818         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
6819         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
6820         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
6821         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
6823 2014-10-08  Rong Xu  <xur@google.com>
6825         * libgcov-util.c (read_gcda_file): Fix format.
6826         (find_match_gcov_info): Ditto.
6827         (calculate_2_entries): New.
6828         (compute_one_gcov): Ditto.
6829         (gcov_info_count_all_cold): Ditto.
6830         (gcov_info_count_all_zero): Ditto.
6831         (extract_file_basename): Ditto.
6832         (get_file_basename): Ditto.
6833         (set_flag): Ditto.
6834         (matched_gcov_info): Ditto.
6835         (calculate_overlap): Ditto.
6836         (gcov_profile_overlap): Ditto.
6837         * libgcov-driver.c (compute_summary): Make
6838         it avavilable for external calls.
6840 2014-10-06  Rong Xu  <xur@google.com>
6842         * Makefile.in: Ditto.
6843         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
6844         (gcov_sort_icall_topn_counter): Ditto.
6845         (gcov_sort_topn_counter_arrays): Ditto.
6846         (dump_one_gcov): Sort indirect_call topn counters.
6847         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
6848         function.
6849         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
6850         utility function.
6851         (__gcov_indirect_call_topn_profiler): New profiler function.
6852         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
6853         * libgcov.h: New decls.
6855 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
6857         * config.host: Remove support for score-*.
6859 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
6861         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6862         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
6863         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
6864         __LIBGCC_XF_MANT_DIG__.
6865         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
6866         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
6867         __LIBGCC_TF_MANT_DIG__.
6868         * libgcc2.c (NOTRUNC): Define in terms of
6869         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
6870         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6872 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
6874         PR target/63312
6875         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
6876         New macros.
6878 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
6880         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
6881         override USE_PT_GNU_EH_FRAME.
6882         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
6883         check USE_EH_FRAME_REGISTRY_ALWAYS against
6884         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
6885         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
6886         variable for substituted force_explicit_eh_registry.
6887         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
6888         * configure.ac (explicit-exception-frame-registration):
6889         New AC_ARG_ENABLE.
6890         * configure: Regenerate.
6892 2014-09-19  Olivier Hainque  <hainque@adacore.com>
6894         * config.host (powerpc-wrs-vxworksmils): New configuration,
6895         same as vxworksae.
6897 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
6899         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
6901 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
6903         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
6904         bits not set bits as indicating trapping exceptions.
6906 2014-09-17  Nathan sidwell  <nathan@acm.org>
6908         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
6909         (LIBGCOV_DRIVER): ... here.
6910         * libgcov-driver.c (gcov_master): New.
6911         (gcov_exit): Remove from master chain.
6912         (__gcov_init): Add to master chain if version compatible.  Don't
6913         clear the version.
6914         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
6915         (gcov_reset_int): Clear master chain, if compatible.
6916         (gcov_dump_int): New internal interface.  Dump master chain, if
6917         compatible.
6918         (gcov_dump): Alias for gcov_dump_int.
6919         * libgcov.h (struct gcov_root): Add next and prev fields.
6920         (struct gcov_master): New struct.
6921         (__gcov_master): New.
6922         (gcov_dump_int): Declare.
6924 2014-09-17  Olivier Hainque  <hainque@adacore.com>
6926         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
6927         and crtbegin.o + crtend.o to extra_parts.
6929 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
6931         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
6932         __LIBGCC_HAS_SF_MODE__.
6933         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6934         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6935         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6936         * config/libbid/bid_gcc_intrinsics.h
6937         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6938         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6939         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6940         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6941         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
6942         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6944 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
6946         PR target/63223
6947         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
6948         and R24 as needed.  Make work for all devices and .text locations.
6949         (__do_global_ctors, __do_global_dtors): Use word addresses.
6950         (__tablejump__, __tablejump_elpm__): Remove functions.
6951         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
6952         Add _tablejump2.
6953         (XICALL, XIJMP): New macros.
6955 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6956         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
6958         * config.host (aarch64*): Include crtfastmath.o and
6959         t-crtfm.
6960         * config/aarch64/crtfastmath.c: New file.
6962 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
6964         * config.host: Remove picochip support.
6965         * config/picochip/adddi3.S: Remove.
6966         * config/picochip/ashlsi3.S: Remove.
6967         * config/picochip/ashlsi3.c: Remove.
6968         * config/picochip/ashrsi3.S: Remove.
6969         * config/picochip/ashrsi3.c: Remove.
6970         * config/picochip/clzsi2.S: Remove.
6971         * config/picochip/cmpsi2.S: Remove.
6972         * config/picochip/divmod15.S: Remove.
6973         * config/picochip/divmodhi4.S: Remove.
6974         * config/picochip/divmodsi4.S: Remove.
6975         * config/picochip/lib1funcs.S: Remove.
6976         * config/picochip/longjmp.S: Remove.
6977         * config/picochip/lshrsi3.S: Remove.
6978         * config/picochip/lshrsi3.c: Remove.
6979         * config/picochip/parityhi2.S: Remove.
6980         * config/picochip/popcounthi2.S: Remove.
6981         * config/picochip/setjmp.S: Remove.
6982         * config/picochip/subdi3.S: Remove.
6983         * config/picochip/t-picochip: Remove.
6984         * config/picochip/ucmpsi2.S: Remove.
6985         * config/picochip/udivmodhi4.S: Remove.
6986         * config/picochip/udivmodsi4.S: Remove.
6988 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
6990         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
6991         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
6992         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
6993         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
6994         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
6995         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
6996         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
6997         defined and LIBGCC2_HAS_DF_MODE is defined.
6998         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
6999         defined and LIBGCC2_HAS_XF_MODE is defined.
7000         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
7001         defined and LIBGCC2_HAS_TF_MODE is defined.
7003 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
7005         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
7006         and ROUND_TOWARDS_ZERO conditionals.
7008 2014-09-07  Nathan sidwell  <nathan@acm.org>
7010         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
7011         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
7013 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
7015         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
7016         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7017         uses to __LIBGCC_STACK_POINTER_REGNUM__.
7018         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7019         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7020         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7021         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7022         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
7023         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
7024         (DWARF_FRAME_REGISTERS): Change all uses to
7025         __LIBGCC_DWARF_FRAME_REGISTERS__.
7026         (EH_RETURN_STACKADJ_RTX): Change all uses to
7027         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7028         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
7029         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
7030         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
7031         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
7032         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
7033         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
7034         to __LIBGCC_EH_FRAME_SECTION_NAME__.
7035         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
7036         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
7037         __LIBGCC_STACK_POINTER_REGNUM__.
7038         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7039         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7040         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7041         to __LIBGCC_STACK_POINTER_REGNUM__.
7042         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7043         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7044         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7045         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7046         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7047         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7048         (STACK_POINTER_REGNUM): Change all uses to
7049         __LIBGCC_STACK_POINTER_REGNUM__.
7050         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
7051         use to __LIBGCC_STACK_POINTER_REGNUM__.
7052         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7053         uses to __LIBGCC_STACK_POINTER_REGNUM__.
7054         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
7055         to __LIBGCC_DWARF_FRAME_REGISTERS__.
7056         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
7057         to __LIBGCC_DWARF_FRAME_REGISTERS__.
7058         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7059         to __LIBGCC_STACK_POINTER_REGNUM__.
7060         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
7061         Remove conditional definition.
7062         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
7063         __LIBGCC_TEXT_SECTION_ASM_OP__.
7064         (EH_FRAME_SECTION_NAME): Change all uses to
7065         __LIBGCC_EH_FRAME_SECTION_NAME__.
7066         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
7067         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
7068         (CTORS_SECTION_ASM_OP): Change all uses to
7069         __LIBGCC_CTORS_SECTION_ASM_OP__.
7070         (DTORS_SECTION_ASM_OP): Change all uses to
7071         __LIBGCC_DTORS_SECTION_ASM_OP__.
7072         (JCR_SECTION_NAME): Change all uses to
7073         __LIBGCC_JCR_SECTION_NAME__.
7074         (INIT_SECTION_ASM_OP): Change all uses to
7075         __LIBGCC_INIT_SECTION_ASM_OP__.
7076         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7077         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7078         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
7079         __LIBGCC_STACK_GROWS_DOWNWARD__.
7080         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
7081         __LIBGCC_INIT_SECTION_ASM_OP__.
7082         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7083         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7084         (EH_FRAME_SECTION_NAME): Change all uses to
7085         __LIBGCC_EH_FRAME_SECTION_NAME__.
7086         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
7087         definitions.  Change all uses to
7088         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
7089         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
7090         __LIBGCC_STACK_GROWS_DOWNWARD__.
7091         (DWARF_FRAME_REGISTERS): Change all uses to
7092         __LIBGCC_DWARF_FRAME_REGISTERS__.
7093         (EH_RETURN_STACKADJ_RTX): Change all uses to
7094         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7095         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
7096         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
7097         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
7098         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
7099         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
7101 2014-09-02  Nathan sidwell  <nathan@acm.org>
7103         * libgcov-interface.c (STRONG_ALIAS): New.
7104         (__gcov_flush): Call __gcov_reset_int.
7105         (__gcov_reset): Strong alias for ...
7106         (__gcov_reset_ing): ... this renamed hidden version.
7107         * libgcov.h (__gcov_reset_int): New declaration.
7109 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
7111         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
7112         call from here...
7113         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
7114         (__dso_handle): Define on Cygwin.
7115         * config/i386/t-cygming (crtbeginS.o): New rule.
7116         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
7118         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
7119         declaration syntax.
7121 2014-08-13  Steve Ellcey  <sellcey@mips.com>
7123         * crtstuff.c: Undef caddr_t.
7125 2014-08-12  Steve Ellcey  <sellcey@mips.com>
7127         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
7129 2014-08-07  Nathan Sidwell  <nathan@acm.org>
7131         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
7132         (LIBGCOV_DRIVER): ... to here.
7133         * libgcov.h (gcov_do_dump): New #define.
7134         (struct gcov_root): New.
7135         (__gcov_root): New declaration.
7136         (__gcov_dump_one): Declare.
7137         * libgcov-driver.c (gcov_list, gcov_dump_complete,
7138         run_accounted): Delete.
7139         (gcov_compute_histogram): Add LIST argument, adjust.
7140         (compute_summary): Adjust gcov_compute_histogram call.
7141         (gcov_do_dump): Not hidden, static in libgcov.
7142         (gcov_clear): Move  to interface.c.
7143         (__gcov_dump_one): New, broken out of ...
7144         (gcov_exit): ... here.  Make static.
7145         (__gcov_root): New.
7146         (__gcov_init): Adjust.
7147         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
7148         declarations.
7149         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
7150         (gcov_clear): Moved from driver.c.   Add LIST argument.
7151         (__gcov_reset): Adjust for changed interfaces.
7152         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
7154 2014-08-04  Rohit  <rohitarulraj@freescale.com>
7156         PR target/60102
7157         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
7158         based on change in SPE high register numbers and 3 HTM registers.
7160 2014-08-01  Nathan Sidwell  <nathan@acm.org>
7162         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
7163         LIBGCOV_INTERFACE): Reformat.
7164         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
7165         IN_GCOV_TOOL.
7166         * libgcov-interface.c: Reformat some comments.
7167         (__gcov_flush_mx): Add declaration.  Tidy up definition.
7169 2014-07-31  Alan Modra  <amodra@gmail.com>
7170             Peter Bergner  <bergner@vnet.ibm.com>
7172         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
7173         (pack_ldouble): New function.
7174         (__gcc_qadd): Use it.
7175         (__gcc_qmul): Likewise.
7176         (__gcc_qdiv): Likewise.
7177         (__gcc_qneg): Likewise.
7178         (__gcc_stoq): Likewise.
7179         (__gcc_dtoq): Likewise.
7181 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
7183         * config/s390/tpf-unwind.h: Include <stdbool.h>.
7184         (__tpf_eh_return): Add original return address as second parameter.
7185         Handle cases where unwinder routines were called directly, instead
7186         of from within the C++ library.
7188 2014-07-29  Nathan Sidwell  <nathan@acm.org>
7190         * libgcov.h: Move renaming of entry points to lib gcov specific
7191         portion.
7192         (gcov_do_dump): New rename.
7193         (gcov_rewrite): Remove inline, make HIDDEN.
7194         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
7195         (gcov_exit_compute_summary): Rename to ...
7196         (compute_summary): ... here.  Add LIST argument.
7197         (gcov_exit_merge_gcda): Rename to ...
7198         (merge_one_data): ... here.
7199         (gcov_exit_write_gcda): Rename to ...
7200         (write_one_data): ... here.
7201         (gcov_exit_merge_summary): Rename to ...
7202         (merge_summary): Add RUN_COUNTED argument.
7203         (gcov_exit_dump_gcov): Rename to ...
7204         (dump_one_gcov): Add RUN_COUNTED argument.
7205         (gcov_do_dump): New function, broken out of ...
7206         (gcov_exit): ... here.  Call it.
7208 2014-07-27  Anthony Green  <green@moxielogic.com>
7210         * config.host: Add moxiebox configuration suppport.
7212 2014-07-27  Nathan Sidwell  <nathan@acm.org>
7214         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
7215         (struct gcov_filename): ... here.  Include buffer and max length
7216         fields.
7217         (gcov_max_filename): Remove.
7218         (gi_filename): Remove.
7219         (gcov_exit_compute_summary): Compute max filename here.
7220         (gcov_exit_merge_gcda): Add filename parm, adjust.
7221         (gcov_exit_merge_summary): Likewise.
7222         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
7223         (gcov_exit): Likewise.
7224         (__gcov_init): Don't calculate max length here.
7225         * libgcov_util.c (max_filename_len): Remove.
7226         (read_gcda_file): Don't calculate max length here.
7227         (gcov_read_profile_dir): Don't propagate here.
7228         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
7229         struct gcov_filename changes.
7230         (gcov_exit_open_gcda_file): Likewise.
7232 2014-07-25  Nathan Sidwell  <nathan@acm.org>
7234         * libgcov-driver.c (set_gcov_dump_complete,
7235         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
7236         functions polluting user's namespace.
7237         (gcov_exit): Set variable directly.
7238         (gcov_clear): Reset variable directly.
7239         * libgcov-interface.c (get_gcov_dymp_complete,
7240         reset_gov_dump_complete): Remove declarations.
7241         (__gcov_reset, __gcov_dump): Don't call them.
7243 2014-07-24  DJ Delorie  <dj@redhat.com>
7245         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
7246         (__gcc_deregister_frame): Move logic to detect deregister function
7247         to ...
7248         (__gcc_register_frame): here, so it's consistent with the register
7249         logic.
7251 2014-07-23  Nathan Sidwell  <nathan@acm.org>
7253         * libgcov-driver.c (set_gcov_list): Remove.
7254         (gcov_list): Make non-static in GCOV_TOOL.
7255         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
7257 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
7259         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
7260         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
7261         Don't use SYNC_LOCK_RELEASE for int type.
7263 2014-07-14  Richard Biener  <rguenther@suse.de>
7265         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
7267 2014-07-11  Rong Xu  <xur@google.com>
7269         * libgcov-util.c (gcov_max_filename): Fix declartion.
7271 2014-07-10  Rong Xu  <xur@google.com>
7273         Add gcov-tool: an offline gcda profile processing tool
7274         Support.
7275         * libgcov-driver.c (gcov_max_filename): Make available
7276         to gcov-tool.
7277         * libgcov-merge.c (__gcov_merge_add): Replace
7278         gcov_read_counter() with a Macro.
7279         (__gcov_merge_ior): Ditto.
7280         (__gcov_merge_time_profile): Ditto.
7281         (__gcov_merge_single): Ditto.
7282         (__gcov_merge_delta): Ditto.
7283         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
7284         in the utility functions.
7285         (set_fn_ctrs): Utility function for reading gcda files to in-memory
7286         gcov_list object link lists.
7287         (tag_function): Ditto.
7288         (tag_blocks): Ditto.
7289         (tag_arcs): Ditto.
7290         (tag_lines): Ditto.
7291         (tag_counters): Ditto.
7292         (tag_summary): Ditto.
7293         (read_gcda_finalize): Ditto.
7294         (read_gcda_file): Ditto.
7295         (ftw_read_file): Ditto.
7296         (read_profile_dir_init): Ditto.
7297         (gcov_read_profile_dir): Ditto.
7298         (gcov_read_counter_mem): Ditto.
7299         (gcov_get_merge_weight): Ditto.
7300         (merge_wrapper): A wrapper function that calls merging handler.
7301         (gcov_merge): Merge two gcov_info objects with weights.
7302         (find_match_gcov_info): Find the matched gcov_info in the list.
7303         (gcov_profile_merge): Merge two gcov_info object lists.
7304         (__gcov_add_counter_op): Process edge profile counter values.
7305         (__gcov_ior_counter_op): Process IOR profile counter values.
7306         (__gcov_delta_counter_op): Process delta profile counter values.
7307         (__gcov_single_counter_op): Process single  profile counter values.
7308         (fp_scale): Callback function for float-point scaling.
7309         (int_scale): Callback function for integer fraction scaling.
7310         (gcov_profile_scale): Scaling profile counters.
7311         (gcov_profile_normalize): Normalize profile counters.
7312         * libgcov.h: Add headers and functions for gcov-tool use.
7313         (gcov_get_counter): New.
7314         (gcov_get_counter_target): Ditto.
7315         (struct gcov_info): Make the functions field mutable in gcov-tool
7316         compilation.
7318 2014-06-23  Kai Tietz  <ktietz@redhat.com>
7320         PR libgcc/61585
7321         * unwind-seh.c (_Unwind_GetGR): Check for proper
7322         index range.
7323         (_Unwind_SetGR): Likewise.
7325 2014-05-22  Nick Clifton  <nickc@redhat.com>
7327         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
7328         -mhwmult=none.
7330 2014-05-22  Teresa Johnson  <tejohnson@google.com>
7332         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
7333         include.
7335 2014-05-20  John Marino  <gnugcc@marino.st>
7337         * config.host (*-*-dragonfly*): New target.
7338         * crtstuff.c: Make dl_iterate_support generic on *bsd.
7339         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
7340         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
7341         * config/i386/dragonfly-unwind.h: New.
7343 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
7345         PR libgcc/60166
7346         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
7347         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
7349 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
7351         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
7352         implementation.
7354 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
7356         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
7358 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7360         PR libgcc/61097
7361         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
7362         if --enable-shared.
7364 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
7366         Work around for current cygwin32 build problems.
7367         * config/i386/cygming-crtbegin.c (__register_frame_info,
7368         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
7369         functions only for 64-bit systems.
7371 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7373         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
7374         (sigill_caught, sigill_hdlr): Remove.
7376 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7378         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
7379         check.
7380         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7381         Solaris 9 single-threaded support.
7382         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7383         Solaris 9 single-threaded support.  Add call_user_handler code
7384         sequences.
7385         (sparc_is_sighandler): Likewise.
7387 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7389         * config.host: Append t-floattodi to tmake_file depending on
7390         host_address.
7392 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
7394         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
7396 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
7398         PR libgcc/60472
7399         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
7400         variable to avoid "array subscript is above array bounds" warnings.
7401         Use __builtin_expect when checking *jcr_list for NULL.
7403 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7405         PR libgcc/59339
7406         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
7407         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
7408         vtv_*.o to extra_parts if enable_vtable_verify.
7410 2014-03-06  Nick Clifton  <nickc@redhat.com>
7412         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
7413         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
7415 2014-02-28  Joey Ye  <joey.ye@arm.com>
7417         PR libgcc/60166
7418         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
7419         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
7420         Set to zero.
7422 2014-02-24  Walter Lee  <walt@tilera.com>
7424         * config.host: Support "tilegx*" and "tilepro*" triplets.
7425         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
7426         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
7428 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
7429             Chung-Lin Tang  <cltang@codesourcery.com>
7431         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
7432         * config/nios2/crti.S: Remove .file directive.
7433         * config/nios2/crtn.S: Likewise.
7435 2014-02-18  Kai Tietz  <ktietz@redhat.com>
7436         Jonathan Schleifer  <js@webkeks.org>
7438         PR objc/56870
7439         * unwind-seh.c (_GCC_specific_handler): Pass proper
7440         value to unwind-handler.
7442 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
7444         * soft-fp/adddf3.c: Update from glibc.
7445         * soft-fp/addsf3.c: Likewise.
7446         * soft-fp/addtf3.c: Likewise.
7447         * soft-fp/divdf3.c: Likewise.
7448         * soft-fp/divsf3.c: Likewise.
7449         * soft-fp/divtf3.c: Likewise.
7450         * soft-fp/double.h: Likewise.
7451         * soft-fp/eqdf2.c: Likewise.
7452         * soft-fp/eqsf2.c: Likewise.
7453         * soft-fp/eqtf2.c: Likewise.
7454         * soft-fp/extenddftf2.c: Likewise.
7455         * soft-fp/extended.h: Likewise.
7456         * soft-fp/extendsfdf2.c: Likewise.
7457         * soft-fp/extendsftf2.c: Likewise.
7458         * soft-fp/extendxftf2.c: Likewise.
7459         * soft-fp/fixdfdi.c: Likewise.
7460         * soft-fp/fixdfsi.c: Likewise.
7461         * soft-fp/fixdfti.c: Likewise.
7462         * soft-fp/fixsfdi.c: Likewise.
7463         * soft-fp/fixsfsi.c: Likewise.
7464         * soft-fp/fixsfti.c: Likewise.
7465         * soft-fp/fixtfdi.c: Likewise.
7466         * soft-fp/fixtfsi.c: Likewise.
7467         * soft-fp/fixtfti.c: Likewise.
7468         * soft-fp/fixunsdfdi.c: Likewise.
7469         * soft-fp/fixunsdfsi.c: Likewise.
7470         * soft-fp/fixunsdfti.c: Likewise.
7471         * soft-fp/fixunssfdi.c: Likewise.
7472         * soft-fp/fixunssfsi.c: Likewise.
7473         * soft-fp/fixunssfti.c: Likewise.
7474         * soft-fp/fixunstfdi.c: Likewise.
7475         * soft-fp/fixunstfsi.c: Likewise.
7476         * soft-fp/fixunstfti.c: Likewise.
7477         * soft-fp/floatdidf.c: Likewise.
7478         * soft-fp/floatdisf.c: Likewise.
7479         * soft-fp/floatditf.c: Likewise.
7480         * soft-fp/floatsidf.c: Likewise.
7481         * soft-fp/floatsisf.c: Likewise.
7482         * soft-fp/floatsitf.c: Likewise.
7483         * soft-fp/floattidf.c: Likewise.
7484         * soft-fp/floattisf.c: Likewise.
7485         * soft-fp/floattitf.c: Likewise.
7486         * soft-fp/floatundidf.c: Likewise.
7487         * soft-fp/floatundisf.c: Likewise.
7488         * soft-fp/floatunditf.c: Likewise.
7489         * soft-fp/floatunsidf.c: Likewise.
7490         * soft-fp/floatunsisf.c: Likewise.
7491         * soft-fp/floatunsitf.c: Likewise.
7492         * soft-fp/floatuntidf.c: Likewise.
7493         * soft-fp/floatuntisf.c: Likewise.
7494         * soft-fp/floatuntitf.c: Likewise.
7495         * soft-fp/gedf2.c: Likewise.
7496         * soft-fp/gesf2.c: Likewise.
7497         * soft-fp/getf2.c: Likewise.
7498         * soft-fp/ledf2.c: Likewise.
7499         * soft-fp/lesf2.c: Likewise.
7500         * soft-fp/letf2.c: Likewise.
7501         * soft-fp/muldf3.c: Likewise.
7502         * soft-fp/mulsf3.c: Likewise.
7503         * soft-fp/multf3.c: Likewise.
7504         * soft-fp/negdf2.c: Likewise.
7505         * soft-fp/negsf2.c: Likewise.
7506         * soft-fp/negtf2.c: Likewise.
7507         * soft-fp/op-1.h: Likewise.
7508         * soft-fp/op-2.h: Likewise.
7509         * soft-fp/op-4.h: Likewise.
7510         * soft-fp/op-8.h: Likewise.
7511         * soft-fp/op-common.h: Likewise.
7512         * soft-fp/quad.h: Likewise.
7513         * soft-fp/single.h: Likewise.
7514         * soft-fp/soft-fp.h: Likewise.
7515         * soft-fp/subdf3.c: Likewise.
7516         * soft-fp/subsf3.c: Likewise.
7517         * soft-fp/subtf3.c: Likewise.
7518         * soft-fp/truncdfsf2.c: Likewise.
7519         * soft-fp/trunctfdf2.c: Likewise.
7520         * soft-fp/trunctfsf2.c: Likewise.
7521         * soft-fp/trunctfxf2.c: Likewise.
7522         * soft-fp/unorddf2.c: Likewise.
7523         * soft-fp/unordsf2.c: Likewise.
7524         * soft-fp/unordtf2.c: Likewise.
7525         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
7526         macro.
7527         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7528         Likewise.
7529         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7530         Likewise.
7531         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7532         Likewise.
7533         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7534         Likewise.
7535         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7536         Likewise.
7537         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7538         Likewise.
7539         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7540         Likewise.
7541         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7542         Likewise.
7543         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7544         Likewise.
7545         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7546         Likewise.
7547         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7548         Likewise.
7549         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7550         Likewise.
7551         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
7552         Likewise.
7553         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
7554         Likewise.
7555         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7556         Likewise.
7558 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7560         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
7561         cannot be represented.
7562         * config/s390/32/_fixsfdi.c: Likewise.
7563         * config/s390/32/_fixtfdi.c: Likewise.
7564         * config/s390/32/_fixunsdfdi.c: Likewise.
7565         * config/s390/32/_fixunssfdi.c: Likewise.
7566         * config/s390/32/_fixunstfdi.c: Likewise.
7568 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
7570         * configure.ac (libgcc_cv_mips_hard_float): New.
7571         * configure: Regenerate.
7572         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
7573         t-softfp-sfdf for hard-float targets.
7574         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
7575         (softfp_float_modes, softfp_int_modes, softfp_extensions)
7576         (softfp_truncations, softfp_exclude_libgcc2): New.
7577         * config/t-hardfp: New file.
7578         * config/t-hardfp-sfdf: Likewise.
7579         * config/hardfp.c: Likewise.
7581 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7583         * config.host: Include t-floattodi also for s390x.
7584         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
7585         * config/s390/32/_fixsfdi.c: Likewise.
7586         * config/s390/32/_fixtfdi.c: Likewise.
7587         * config/s390/32/_fixunsdfdi.c: Likewise.
7588         * config/s390/32/_fixunssfdi.c: Likewise.
7589         * config/s390/32/_fixunstfdi.c: Likewise.
7591 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7593         PR target/59788
7594         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
7595         (install-libgcc-unwind-map-forbuild): New target.
7596         (all): Depend on install-libgcc-unwind-map-forbuild.
7597         (install-libgcc-unwind-map): New target.
7598         (install): Depend on install-libgcc-unwind-map.
7600 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
7602         * config/nios2/crti.S (_init): Initialize GOT pointer from
7603         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
7605 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
7607         * configure.ac: Check __mips64 when setting host_address.
7608         * configure: Regenerate.
7609         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
7610         mips/t-mips64 and t-softfp.
7611         (mips*-*-linux*): Don't add mips/t-tpbit.
7612         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
7613         (DPBIT, DPBIT_CFLAGS): Delete.
7614         * config/mips/sfp-machine.h: New file.
7615         * config/mips/t-mips64: Likewise.
7616         * config/mips/t-softfp-tf: Likewise.
7617         * config/mips/t-tpbit: Delete.
7619 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7621         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
7622         as long long.
7624 2014-01-25  Walter Lee  <walt@tilera.com>
7626         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
7627         config.h or system.h.
7628         (bool) Define.
7630 2014-01-25  Walter Lee  <walt@tilera.com>
7632         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
7633         (post_atomic_barrier): Ditto.
7634         (__fetch_and_do): New macro.
7635         (__atomic_fetch_and_do): Use __fetch_and_do.
7636         (__sync_fetch_and_do): New macro.
7637         (__sync_fetch_and_add_4): New function.
7638         (__sync_fetch_and_sub_4): New function.
7639         (__sync_fetch_and_or_4): New function.
7640         (__sync_fetch_and_and_4): New function.
7641         (__sync_fetch_and_xor_4): New function.
7642         (__sync_fetch_and_nand_4): New function.
7643         (__sync_fetch_and_add_8): New function.
7644         (__sync_fetch_and_sub_8): New function.
7645         (__sync_fetch_and_or_8): New function.
7646         (__sync_fetch_and_and_8): New function.
7647         (__sync_fetch_and_xor_8): New function.
7648         (__sync_fetch_and_nand_8): New function.
7649         (__do_and_fetch): New macro.
7650         (__atomic_do_and_fetch): Use __do_and_fetch.
7651         (__sync_do_and_fetch): New macro.
7652         (__sync_add_and_fetch_4): New function.
7653         (__sync_sub_and_fetch_4): New function.
7654         (__sync_or_and_fetch_4): New function.
7655         (__sync_and_and_fetch_4): New function.
7656         (__sync_xor_and_fetch_4): New function.
7657         (__sync_nand_and_fetch_4): New function.
7658         (__sync_add_and_fetch_8): New function.
7659         (__sync_sub_and_fetch_8): New function.
7660         (__sync_or_and_fetch_8): New function.
7661         (__sync_and_and_fetch_8): New function.
7662         (__sync_xor_and_fetch_8): New function.
7663         (__sync_nand_and_fetch_8): New function.
7664         (__sync_exchange_methods): New macro.
7665         (__sync_val_compare_and_swap_4): New function.
7666         (__sync_bool_compare_and_swap_4): New function.
7667         (__sync_lock_test_and_test_4): New function.
7668         (__sync_val_compare_and_swap_8): New function.
7669         (__sync_bool_compare_and_swap_8): New function.
7670         (__sync_lock_test_and_test_8): New function.
7671         (__subword_cmpxchg_body): New macro.
7672         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
7673         (__atomic_compare_exchange_2): Ditto.
7674         (__sync_subword_cmpxchg): New macro.
7675         (__sync_val_compare_and_swap_1): New function.
7676         (__sync_bool_compare_and_swap_1): New function.
7677         (__sync_val_compare_and_swap_2): New function.
7678         (__sync_bool_compare_and_swap_2): New function.
7679         (__atomic_subword): Rename to ...
7680         (__subword): ... New name.
7681         (__atomic_subword_fetch): Use __subword.
7682         (__sync_subword_fetch): New macro.
7683         (__sync_fetch_and_add_1): New function.
7684         (__sync_fetch_and_sub_1): New function.
7685         (__sync_fetch_and_or_1): New function.
7686         (__sync_fetch_and_and_1): New function.
7687         (__sync_fetch_and_xor_1): New function.
7688         (__sync_fetch_and_nand_1): New function.
7689         (__sync_fetch_and_add_2): New function.
7690         (__sync_fetch_and_sub_2): New function.
7691         (__sync_fetch_and_or_2): New function.
7692         (__sync_fetch_and_and_2): New function.
7693         (__sync_fetch_and_xor_2): New function.
7694         (__sync_fetch_and_nand_2): New function.
7695         (__sync_add_and_fetch_1): New function.
7696         (__sync_sub_and_fetch_1): New function.
7697         (__sync_or_and_fetch_1): New function.
7698         (__sync_and_and_fetch_1): New function.
7699         (__sync_xor_and_fetch_1): New function.
7700         (__sync_nand_and_fetch_1): New function.
7701         (__sync_add_and_fetch_2): New function.
7702         (__sync_sub_and_fetch_2): New function.
7703         (__sync_or_and_fetch_2): New function.
7704         (__sync_and_and_fetch_2): New function.
7705         (__sync_xor_and_fetch_2): New function.
7706         (__sync_nand_and_fetch_2): New function.
7707         (__atomic_subword_lock): Use __subword.
7708         (__sync_subword_lock): New macro.
7709         (__sync_lock_test_and_set_1): New function.
7710         (__sync_lock_test_and_set_2): New function.
7712 2014-01-25  Walter Lee  <walt@tilera.com>
7714         * config/tilepro/atomic.c (BIT_OFFSET): Define.
7715         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
7716         (__atomic_subword): Ditto.
7718 2014-01-25  Walter Lee  <walt@tilera.com>
7720         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
7721         a prefix op argument.
7722         (__atomic_nand_fetch_4): Add prefix op.
7723         (__atomic_nand_fetch_8): Ditto.
7725 2014-01-21  Baruch Siach  <barch@tkos.co.il>
7727         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
7729 2014-01-09  Rong Xu  <xur@google.com>
7731         * libgcov-driver.c (this_prg): make it local to save
7732         bss space.
7733         (gcov_exit_compute_summary): Ditto.
7734         (gcov_exit_merge_gcda): Ditto.
7735         (gcov_exit_merge_summary): Ditto.
7736         (gcov_exit_dump_gcov): Ditto.
7738 2014-01-08  Rong Xu  <xur@google.com>
7740         * libgcov-driver.c: Use libgcov.h.
7741         (buffer_fn_data): Use xmalloc instead of malloc.
7742         (gcov_exit_merge_gcda): Ditto.
7743         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
7744         * libgcov.h: New common header files for libgcov-*.h.
7745         * libgcov-interface.c: Use libgcov.h
7746         * libgcov-merge.c: Ditto.
7747         * libgcov-profiler.c: Ditto.
7748         * Makefile.in: Add dependence to libgcov.h
7750 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
7752         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
7753         case of small numerator and finite nonzero result.
7755 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
7757         Update copyright years
7759 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
7761         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
7762         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
7763         config/arc/dp-hack.h, config/arc/fp-hack.h,
7764         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
7765         config/arc/ieee-754/arc600-dsp/divdf3.S,
7766         config/arc/ieee-754/arc600-dsp/divsf3.S,
7767         config/arc/ieee-754/arc600-dsp/muldf3.S,
7768         config/arc/ieee-754/arc600-dsp/mulsf3.S,
7769         config/arc/ieee-754/arc600-mul64/divdf3.S,
7770         config/arc/ieee-754/arc600-mul64/divsf3.S,
7771         config/arc/ieee-754/arc600-mul64/muldf3.S,
7772         config/arc/ieee-754/arc600-mul64/mulsf3.S,
7773         config/arc/ieee-754/arc600/divsf3.S,
7774         config/arc/ieee-754/arc600/mulsf3.S,
7775         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
7776         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
7777         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
7778         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
7779         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
7780         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
7781         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
7782         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
7783         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
7784         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
7785         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
7786         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
7787         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
7788         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
7789         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
7790         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
7791         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
7792         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
7793         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
7794         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
7795         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
7796         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
7797         vtv_start_preinit.c: Use the standard form for the copyright notice.
7799 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
7800             Chung-Lin Tang  <cltang@codesourcery.com>
7801         Based on patches from Altera Corporation
7803         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
7804         * config/nios2/lib2-nios2.h: New file.
7805         * config/nios2/lib2-divmod-hi.c: New file.
7806         * config/nios2/linux-unwind.h: New file.
7807         * config/nios2/lib2-divmod.c: New file.
7808         * config/nios2/linux-atomic.c: New file.
7809         * config/nios2/t-nios2: New file.
7810         * config/nios2/crti.asm: New file.
7811         * config/nios2/t-linux: New file.
7812         * config/nios2/lib2-divtable.c: New file.
7813         * config/nios2/lib2-mul.c: New file.
7814         * config/nios2/tramp.c: New file.
7815         * config/nios2/crtn.asm: New file.
7817 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
7819         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
7820         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
7821         from cpuid.h to check vendor signatures.
7823 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
7825         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
7826         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
7827         (get_amd_cpu): Likewise.
7829 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
7831         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
7832         Haswell.
7834 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
7835             H.J. Lu  <hongjiu.lu@intel.com>
7837         PR target/59422
7838         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
7839         and AMD_JAGUAR.
7840         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
7841         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
7842         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
7843         FEATURE_XOP and FEATURE_FMA.
7844         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
7845         AMDFAM15H_BDVER3.
7846         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
7847         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
7848         FEATURE_FMA4 and FEATURE_XOP.
7850 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
7852         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
7853         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
7854         (get_intel_cpu): Updated.
7856 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
7858         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
7860 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
7862         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7863         instructions when __SSE_MATH__ is defined.
7865 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
7867         * config.host (microblaze-*-rtems*): New.
7869 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
7871         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
7872         architectures that do not have hardware divide instruction.
7873         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
7875 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
7877         * longlong.h: Delete (moved to include/).
7879 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7881         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
7882         of normal number and qNaN to not raise an inexact exception.
7884 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
7886         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
7888 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
7890         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
7891         for correct opcodes on BE.
7893 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
7895         * soft-fp/op-4.h: Update from glibc.
7897 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
7899         * libgcc2.c (__udivmoddi4): Define new implementation when
7900         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
7901         divide instructions.
7903 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
7905         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
7907 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7909         * config/t-softfp (soft-fp-objects-base): New variable.
7910         (soft-fp-objects): Use it.
7912 2013-11-23  David Edelson  <dje.gcc@gmail.com>
7913             Andrew Dixie  <andrewd@gentrack.com>
7915         PR target/33704
7916         * config/rs6000/aixinitfini.c: New file.
7917         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
7918         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
7919         symbols.
7921 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
7923         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
7925 2013-11-18  Jan Hubicka  <jh@suse.cz>
7927         * libgcov-driver.c (run_accounted): Make global level static.
7928         (gcov_exit_merge_summary): Silence warning; do not clear
7929         run_accounted here.
7930         (gcov_exit): Clear it here.
7932         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
7933         run_accounted.
7935         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
7936         (all_prg, crc32): Remove static vars.
7937         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
7938         all_prg.
7939         (gcov_exit_merge_gcda): Add crc32 parameter.
7940         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
7941         do not account run if it was already accounted.
7942         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
7943         (gcov_exit): Initialize all_prg; update.
7945 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
7947         * configure: Regenerate.
7949 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7950             Alan Modra  <amodra@gmail.com>
7952         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
7953         (frob_update_context): Use it.
7955 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7956             Alan Modra  <amodra@gmail.com>
7958         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
7959         (trampoline_initial): Provide ELFv2 variant.
7960         (__trampoline_setup): Likewise.
7962         * config/rs6000/linux-unwind.h (frob_update_context): Do not
7963         check for AIX indirect function call sequence if _CALL_ELF == 2.
7965 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7966             Alan Modra  <amodra@gmail.com>
7968         * config/rs6000/linux-unwind.h (get_regs): Do not support
7969         old kernel versions if _CALL_ELF == 2.
7970         (frob_update_context): Do not support PLT stub variants only
7971         generated by old linkers if _CALL_ELF == 2.
7973 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7974             Alan Modra  <amodra@gmail.com>
7976         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
7977         location of CR save area for 64-bit little-endian systems.
7979 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
7981         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
7982         in tmake_file.
7983         * config/arm/t-vxworks: Delete.
7985 2013-11-10  Kai Tietz  <ktietz@redhat.com>
7987         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
7988         Increment load-count on use of LIBGCC_SONAME DLL.
7989         (hmod_libgcc): New static variable to hold handle of
7990         LIBGCC_SONAME DLL.
7991         (__gcc_deregister_frame): Decrement load-count of
7992         LIBGCC_SONAME DLL.
7994 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
7996         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
7997         availability.
7998         * configure: Regenerate
8000 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
8002         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
8003         FP_EX_DENORM.  Store result to volatile location after SSE division
8004         to close interrupt window.  Remove unneeded fwait after x87
8005         division since interrupt window will be closed by emitted fstp.
8006         Rewrite FP_EX_INEXACT handling.
8008 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
8010         * soft-fp/README: Update.
8011         * soft-fp/adddf3.c: Update from glibc.
8012         * soft-fp/addsf3.c: Likewise.
8013         * soft-fp/addtf3.c: Likewise.
8014         * soft-fp/divdf3.c: Likewise.
8015         * soft-fp/divsf3.c: Likewise.
8016         * soft-fp/divtf3.c: Likewise.
8017         * soft-fp/double.h: Likewise.
8018         * soft-fp/eqdf2.c: Likewise.
8019         * soft-fp/eqsf2.c: Likewise.
8020         * soft-fp/eqtf2.c: Likewise.
8021         * soft-fp/extenddftf2.c: Likewise.
8022         * soft-fp/extended.h: Likewise.
8023         * soft-fp/extendsfdf2.c: Likewise.
8024         * soft-fp/extendsftf2.c: Likewise.
8025         * soft-fp/extendxftf2.c: Likewise.
8026         * soft-fp/fixdfdi.c: Likewise.
8027         * soft-fp/fixdfsi.c: Likewise.
8028         * soft-fp/fixdfti.c: Likewise.
8029         * soft-fp/fixsfdi.c: Likewise.
8030         * soft-fp/fixsfsi.c: Likewise.
8031         * soft-fp/fixsfti.c: Likewise.
8032         * soft-fp/fixtfdi.c: Likewise.
8033         * soft-fp/fixtfsi.c: Likewise.
8034         * soft-fp/fixtfti.c: Likewise.
8035         * soft-fp/fixunsdfdi.c: Likewise.
8036         * soft-fp/fixunsdfsi.c: Likewise.
8037         * soft-fp/fixunsdfti.c: Likewise.
8038         * soft-fp/fixunssfdi.c: Likewise.
8039         * soft-fp/fixunssfsi.c: Likewise.
8040         * soft-fp/fixunssfti.c: Likewise.
8041         * soft-fp/fixunstfdi.c: Likewise.
8042         * soft-fp/fixunstfsi.c: Likewise.
8043         * soft-fp/fixunstfti.c: Likewise.
8044         * soft-fp/floatdidf.c: Likewise.
8045         * soft-fp/floatdisf.c: Likewise.
8046         * soft-fp/floatditf.c: Likewise.
8047         * soft-fp/floatsidf.c: Likewise.
8048         * soft-fp/floatsisf.c: Likewise.
8049         * soft-fp/floatsitf.c: Likewise.
8050         * soft-fp/floattidf.c: Likewise.
8051         * soft-fp/floattisf.c: Likewise.
8052         * soft-fp/floattitf.c: Likewise.
8053         * soft-fp/floatundidf.c: Likewise.
8054         * soft-fp/floatundisf.c: Likewise.
8055         * soft-fp/floatunditf.c: Likewise.
8056         * soft-fp/floatunsidf.c: Likewise.
8057         * soft-fp/floatunsisf.c: Likewise.
8058         * soft-fp/floatunsitf.c: Likewise.
8059         * soft-fp/floatuntidf.c: Likewise.
8060         * soft-fp/floatuntisf.c: Likewise.
8061         * soft-fp/floatuntitf.c: Likewise.
8062         * soft-fp/gedf2.c: Likewise.
8063         * soft-fp/gesf2.c: Likewise.
8064         * soft-fp/getf2.c: Likewise.
8065         * soft-fp/ledf2.c: Likewise.
8066         * soft-fp/lesf2.c: Likewise.
8067         * soft-fp/letf2.c: Likewise.
8068         * soft-fp/muldf3.c: Likewise.
8069         * soft-fp/mulsf3.c: Likewise.
8070         * soft-fp/multf3.c: Likewise.
8071         * soft-fp/negdf2.c: Likewise.
8072         * soft-fp/negsf2.c: Likewise.
8073         * soft-fp/negtf2.c: Likewise.
8074         * soft-fp/op-1.h: Likewise.
8075         * soft-fp/op-2.h: Likewise.
8076         * soft-fp/op-4.h: Likewise.
8077         * soft-fp/op-8.h: Likewise.
8078         * soft-fp/op-common.h: Likewise.
8079         * soft-fp/quad.h: Likewise.
8080         * soft-fp/single.h: Likewise.
8081         * soft-fp/soft-fp.h: Likewise.
8082         * soft-fp/subdf3.c: Likewise.
8083         * soft-fp/subsf3.c: Likewise.
8084         * soft-fp/subtf3.c: Likewise.
8085         * soft-fp/truncdfsf2.c: Likewise.
8086         * soft-fp/trunctfdf2.c: Likewise.
8087         * soft-fp/trunctfsf2.c: Likewise.
8088         * soft-fp/trunctfxf2.c: Likewise.
8089         * soft-fp/unorddf2.c: Likewise.
8090         * soft-fp/unordsf2.c: Likewise.
8091         * soft-fp/unordtf2.c: Likewise.
8093 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
8095         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
8096         (_FP_MUL_MEAT_D): Ditto.
8097         (_FP_DIV_MEAT_S): Ditto.
8098         (_FP_DIV_MEAT_D): Ditto.
8099         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
8100         t-softfp-sfdf and t-softfp to tmake_file.
8102 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
8104         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
8105         * config/i386/crtprec.c: Ditto.
8107 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
8108             Shiva Chen  <shiva0217@gmail.com>
8110         * config.host (nds32*-elf*): Add nds32 target.
8111         * config/nds32 : New directory and files.
8113 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
8115         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
8116         * config.host (cpu_type) <Setting default>: Add entry for
8117         crisv32-*-*.
8118         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
8119         <crisv32-*-linux*>: Adjust.
8120         * longlong.h: Wrap the whole CRIS section in a single
8121         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
8122         and sub_ddmmss.
8123         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
8124         defined.
8125         [__CRIS__] (__umulsidi3): Define.
8126         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
8127         * config/cris/sfp-machine.h: New file.
8128         * config/cris/umulsidi3.S: New file.
8129         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
8130         * config/cris/arit.c (SIGNMULT): New macro.
8131         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
8132         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
8133         saving 3 out of originally 33 cycles from the fastest
8134         path, 3 out of 54 from the medium path and one from the longest
8135         path.  Improve comments.
8137 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
8139         * sync.c: Remove static aliases and define each function directly
8140         under its real name.
8142 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
8144         * config.host (hppa*64*-*-linux*): Define extra_parts.
8145         (hppa*-*-linux*): Likewise.
8147 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
8149         * config/arc/crtgend.S: Add 2013 to Copyright years.
8150         * config/arc/gmon/atomic.h: Likewise.
8151         * config/arc/gmon/auxreg.h: Likewise.
8152         * config/arc/gmon/sys/gmon_out.h: Likewise.
8153         * config/arc/gmon/sys/gmon.h: Likewise.
8154         * config/arc/gmon/prof-freq.c: Likewise.
8155         * config/arc/gmon/mcount.c: Likewise.
8156         * config/arc/gmon/prof-freq-stub.S: Likewise.
8157         * config/arc/gmon/gmon.c: Likewise.
8158         * config/arc/gmon/machine-gmon.h: Likewise.
8159         * config/arc/gmon/profil.S: Likewise.
8160         * config/arc/gmon/dcache_linesz.S: Likewise.
8161         * config/arc/crtg.S: Likewise.
8162         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
8163         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
8164         * config/arc/ieee-754/adddf3.S: Likewise.
8165         * config/arc/ieee-754/truncdfsf2.S: Likewise.
8166         * config/arc/ieee-754/fixsfsi.S: Likewise.
8167         * config/arc/ieee-754/gtsf2.S: Likewise.
8168         * config/arc/ieee-754/floatsisf.S: Likewise.
8169         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
8170         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
8171         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
8172         * config/arc/ieee-754/fixdfsi.S: Likewise.
8173         * config/arc/ieee-754/addsf3.S: Likewise.
8174         * config/arc/ieee-754/gesf2.S: Likewise.
8175         * config/arc/ieee-754/floatsidf.S: Likewise.
8176         * config/arc/ieee-754/extendsfdf2.S: Likewise.
8177         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
8178         * config/arc/ieee-754/gtdf2.S: Likewise.
8179         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
8180         * config/arc/ieee-754/uneqdf2.S: Likewise.
8181         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
8182         * config/arc/ieee-754/uneqsf2.S: Likewise.
8183         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
8184         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
8185         * config/arc/ieee-754/eqdf2.S: Likewise.
8186         * config/arc/ieee-754/ordsf2.S: Likewise.
8187         * config/arc/ieee-754/divsf3.S: Likewise.
8188         * config/arc/ieee-754/divdf3.S: Likewise.
8189         * config/arc/ieee-754/floatunsidf.S: Likewise.
8190         * config/arc/ieee-754/orddf2.S: Likewise.
8191         * config/arc/ieee-754/eqsf2.S: Likewise.
8192         * config/arc/ieee-754/gedf2.S: Likewise.
8193         * config/arc/crtn.S: Likewise.
8194         * config/arc/crti.S: Likewise.
8195         * config/arc/t-arc700-uClibc: Likewise.
8196         * config/arc/asm.h: Likewise.
8197         * config/arc/libgcc-excl.ver: Likewise.
8198         * config/arc/t-arc-newlib: Likewise.
8199         * config/arc/divtab-arc700.c: Likewise.
8200         * config/arc/initfini.c: Likewise.
8201         * config/arc/fp-hack.h: Likewise.
8203 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
8204             Diego Novillo  <dnovillo@google.com>
8206         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
8207         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
8208         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
8209         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
8211 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
8212             Brendan Kehoe  <brendan@zen.org>
8213             Simon Cook  <simon.cook@embecosm.com>
8215         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
8216         * config/arc: New directory.
8217         * longlong.h [__arc__] (umul_ppmm): Remove.
8218         [__arc__] (__umulsidi3): Define.
8219         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
8220         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
8222 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
8224         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
8225         CreateSemaphoreA.
8226         * config/i386/gthr-win32.h: Likewise.
8228 2013-09-16  DJ Delorie  <dj@redhat.com>
8230         * config/rl78/vregs.h: Add G10 register definitions.
8231         * config/rl78/lib2mul.c: Enable for RL78/G10.
8232         * config/rl78/lib2div.c: Likewise.
8233         * config/rl78/lshrsi3.S: Use vregs.h.
8234         * config/rl78/cmpsi2.S: Likewise.
8235         * config/rl78/trampoline.S: Likewise.
8236         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
8238 2013-09-14  DJ Delorie  <dj@redhat.com>
8239             Nick Clifton  <nickc@redhat.com>
8241         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
8242         * config/rl78/vregs.h: New.
8243         * config/rl78/signbit.S: New file.  Implements signbit function.
8244         * config/rl78/divmodsi.S: New.
8245         * config/rl78/divmodhi.S: New.
8246         * config/rl78/divmodqi.S: New.
8247         * config/rl78/t-rl78: Build them here...
8248         * config/rl78/lib2div.c: ...but not here.
8250 2013-09-12  DJ Delorie  <dj@redhat.com>
8252         * config.host (msp*-*-elf): New.
8253         * config/msp430/: New port.
8255 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
8257         PR gcov-profile/58127
8258         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
8259         __thread var for emulated TLS.
8260         (__gcov_indirect_call_counters): Likewise.
8262 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
8263             Catherine Moore  <clm@codesourcery.com>
8264             Richard Sandiford  <rdsandiford@googlemail.com>
8266         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
8267         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
8268         (CALL_STUB_NO_RET): Likewise.
8269         (CALL_STUB_RET): Likewise.
8270         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
8271         __mips16_ret call/return stub symbols.
8272         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
8273         to tmake_file.
8275 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
8277         * config.host <mips*-*-linux*>: Remove a stray comment.
8279 2013-08-10  Jan Hubicka  <jh@suse.cz>
8281         Work around binutils PR14342
8282         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
8283         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
8284         (L_gcov_indirect_call_profiler_v2): New.
8286 2013-08-06  Jan Hubicka  <jh@suse.cz>
8288         * libgcov.c (__gcov_indirect_call_callee,
8289         __gcov_indirect_call_counters): New global vars.
8290         (__gcov_indirect_call_profiler): replace by ...
8291         (__gcov_indirect_call_profiler_v2) ... this one.
8293 2013-08-06  Caroline Tice  <cmtice@google.com>
8295         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
8296         vtv_start_preinit.o and vtv_end_preinit.o.
8297         * configure.ac: Add code to check/set enable_vtable_verify.
8298         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
8299         true.
8300         * vtv_start_preinit.c: New file.
8301         * vtv_end_preinit.c: New file.
8302         * vtv_start.c: New file.
8303         * vtv_end.c: New file.
8304         * configure: Regenerated.
8306 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
8308         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
8309         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
8310         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
8311         GPL-3.0-with-GCC-exception.
8313 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
8315         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
8316         ISA and up.
8318 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8320         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
8321         mapping for FPRs when creating the fallback framestate.
8323 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
8325         PR target/57516
8326         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
8327         (__round_s2_const, __round_u2_const)
8328         (__round_s4_const, __round_u4_const, __round_x8):
8329         Saturate result if addition result cannot be represented.
8331 2013-07-15  Matthias Klose  <doko@ubuntu.com>
8333         * libgcc2.c: Don't include <limits.h>.
8335 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
8337         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
8339 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
8341         PR target/29776
8342         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
8344 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
8346         PR middle-end/36041
8347         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
8348         Define.
8349         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
8350         instead of table lookups.
8351         (__popcountDI2): Likewise.
8353 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
8355         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
8356         correctly.
8358 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
8360         PR other/53317
8361         * soft-fp/adddf3.c: Update from glibc.
8362         * soft-fp/addsf3.c: Likewise.
8363         * soft-fp/addtf3.c: Likewise.
8364         * soft-fp/divdf3.c: Likewise.
8365         * soft-fp/divsf3.c: Likewise.
8366         * soft-fp/divtf3.c: Likewise.
8367         * soft-fp/double.h: Likewise.
8368         * soft-fp/eqdf2.c: Likewise.
8369         * soft-fp/eqsf2.c: Likewise.
8370         * soft-fp/eqtf2.c: Likewise.
8371         * soft-fp/extenddftf2.c: Likewise.
8372         * soft-fp/extended.h: Likewise.
8373         * soft-fp/extendsfdf2.c: Likewise.
8374         * soft-fp/extendsftf2.c: Likewise.
8375         * soft-fp/fixdfdi.c: Likewise.
8376         * soft-fp/fixdfsi.c: Likewise.
8377         * soft-fp/fixsfdi.c: Likewise.
8378         * soft-fp/fixsfsi.c: Likewise.
8379         * soft-fp/fixtfdi.c: Likewise.
8380         * soft-fp/fixtfsi.c: Likewise.
8381         * soft-fp/fixunsdfdi.c: Likewise.
8382         * soft-fp/fixunsdfsi.c: Likewise.
8383         * soft-fp/fixunssfdi.c: Likewise.
8384         * soft-fp/fixunssfsi.c: Likewise.
8385         * soft-fp/fixunstfdi.c: Likewise.
8386         * soft-fp/fixunstfsi.c: Likewise.
8387         * soft-fp/floatdidf.c: Likewise.
8388         * soft-fp/floatdisf.c: Likewise.
8389         * soft-fp/floatditf.c: Likewise.
8390         * soft-fp/floatsidf.c: Likewise.
8391         * soft-fp/floatsisf.c: Likewise.
8392         * soft-fp/floatsitf.c: Likewise.
8393         * soft-fp/floatundidf.c: Likewise.
8394         * soft-fp/floatundisf.c: Likewise.
8395         * soft-fp/floatunditf.c: Likewise.
8396         * soft-fp/floatunsidf.c: Likewise.
8397         * soft-fp/floatunsisf.c: Likewise.
8398         * soft-fp/floatunsitf.c: Likewise.
8399         * soft-fp/gedf2.c: Likewise.
8400         * soft-fp/gesf2.c: Likewise.
8401         * soft-fp/getf2.c: Likewise.
8402         * soft-fp/ledf2.c: Likewise.
8403         * soft-fp/lesf2.c: Likewise.
8404         * soft-fp/letf2.c: Likewise.
8405         * soft-fp/muldf3.c: Likewise.
8406         * soft-fp/mulsf3.c: Likewise.
8407         * soft-fp/multf3.c: Likewise.
8408         * soft-fp/negdf2.c: Likewise.
8409         * soft-fp/negsf2.c: Likewise.
8410         * soft-fp/negtf2.c: Likewise.
8411         * soft-fp/op-1.h: Likewise.
8412         * soft-fp/op-2.h: Likewise.
8413         * soft-fp/op-4.h: Likewise.
8414         * soft-fp/op-8.h: Likewise.
8415         * soft-fp/op-common.h: Likewise.
8416         * soft-fp/quad.h: Likewise.
8417         * soft-fp/single.h: Likewise.
8418         * soft-fp/soft-fp.h: Likewise.
8419         * soft-fp/subdf3.c: Likewise.
8420         * soft-fp/subsf3.c: Likewise.
8421         * soft-fp/subtf3.c: Likewise.
8422         * soft-fp/truncdfsf2.c: Likewise.
8423         * soft-fp/trunctfdf2.c: Likewise.
8424         * soft-fp/trunctfsf2.c: Likewise.
8425         * soft-fp/unorddf2.c: Likewise.
8426         * soft-fp/unordsf2.c: Likewise.
8427         * soft-fp/unordtf2.c: Likewise.
8428         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
8429         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8430         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8431         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8432         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8433         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8434         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8435         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8436         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8437         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
8438         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
8439         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8441 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
8443         * config/mips/lib2funcs.c: New file.
8444         * config/mips/t-mips (LIB2ADD_ST): Add it.
8446 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
8448         PR target/6526
8449         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
8450         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
8452 2013-06-08  Walter Lee  <walt@tilera.com>
8454         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
8455         Replace int64_t with long long.  Add __extension__ where
8456         appropriate.
8457         * config/tilepro/atomic.c: Include config.h.
8459 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
8461         * config.host (arm-wrs-vxworks): Configure with other soft float.
8463 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
8465         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
8466         (mips64r5900el-*-elf*): New configurations.
8468 2013-06-04  Alan Modra  <amodra@gmail.com>
8470         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
8472 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
8474         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
8476 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
8478         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
8479         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
8480         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
8482 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
8484         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
8485         (powerpc-wrs-vxworks): Likewise.
8487 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
8489         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
8490         signal frames as well.
8491         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
8492         STACK_BIAS to the CFA offset.
8494 2013-05-17  Richard Henderson  <rth@redhat.com>
8496         PR target/49146
8497         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
8498         (execute_cfa_program): Use it when storing to fs->regs.
8500 2013-05-08  Kai Tietz  <ktietz@redhat.com>
8502         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
8503         (__deregister_frame_info): Likewise.
8505 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
8507         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
8508         NaN's payload.
8510         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
8512 2013-04-25  Alan Modra  <amodra@gmail.com>
8514         * config.host: Match little-endian powerpc-linux.
8516 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
8518         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
8519         as 'unsigned long long' instead of 'unsigned long'.
8520         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
8521         'signed long'.
8523 2013-04-10  Julian Brown  <julian@codesourcery.com>
8525         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
8526         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
8527         unsigned char/unsigned short.
8528         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
8530 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8532         PR other/55274
8533         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
8535 2013-04-04  Meador Inge  <meadori@codesourcery.com>
8537         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
8538         computing the location of the link register.
8539         (aeabi_uldivmod): Ditto.
8541 2013-03-27  Kai Tietz  <ktietz@redhat.com>
8543         * config.host: Add support for cygwin x64 target.
8544         * configure: Regenerated.
8546 2013-03-26  Walter Lee  <walt@tilera.com>
8548         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
8549         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
8551 2013-03-25  Kai Tietz  <ktietz@redhat.com>
8553         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
8555 2013-03-20  Robert Mason  <rbmj@verizon.net>
8557         * config/vxlib-tls.c (__gthread_get_tsd_data,)
8558         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
8559         (__gthread_leave_tsd_dtor_context): Add prototypes.
8560         (tls_delete_hook): Update.
8562 2013-03-20  Catherine Moore  <clm@codesourcery.com>
8563             Joseph Myers  <joseph@codesourcery.com>
8564             Chao-ying Fu  <fu@mips.com>
8566         * config/mips/mips16.S:  Don't build for microMIPS.
8567         * config/mips/linux-unwind.h: Handle microMIPS frame.
8568         * config/mips/crtn.S (fini, init): New labels.
8570 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
8572         PR tree-optimization/53265
8573         * unwind-dw2.c (execute_cfa_program): Avoid
8574         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
8575         on targets with DWARF_FRAME_REGISTERS < 32.
8577 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
8579         PR target/49880
8580         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
8581         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
8583 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
8585         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
8586         sandybridge processors.
8588 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
8590         PR target/56529
8591         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
8592         inclusion list.
8594 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
8596         * config/microblaze/crti.S: Setup stack protection at entry
8598 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
8600         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
8601         (__rotldi3): Shift bytewise if applicable.
8603 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
8605         * config/aarch64/sync-cache.c
8606         (__aarch64_sync_cache_range): Silence warnings.
8608 2013-02-25  Catherine Moore  <clm@codesourcery.com>
8610         Revert:
8611         2013-02-24  Catherine Moore  <clm@codesourcery.com>
8612             Joseph Myers  <joseph@codesourcery.com>
8613             Chao-ying Fu  <fu@mips.com>
8615         * config/mips/mips16.S:  Don't build for microMIPS.
8616         * config/mips/linux-unwind.h: Handle microMIPS frame.
8617         * config/mips/crtn.S (fini, init): New labels.
8619 2013-02-24  Catherine Moore  <clm@codesourcery.com>
8620             Joseph Myers  <joseph@codesourcery.com>
8621             Chao-ying Fu  <fu@mips.com>
8623         * config/mips/mips16.S:  Don't build for microMIPS.
8624         * config/mips/linux-unwind.h: Handle microMIPS frame.
8625         * config/mips/crtn.S (fini, init): New labels.
8627 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
8628         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
8629         as dividend.
8631 2013-02-16  Alan Modra  <amodra@gmail.com>
8633         PR target/55431
8634         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
8635         (ppc_fallback_frame_state): Always set up save locations for fp
8636         and altivec.  Don't bother with non-callee-saved regs, r0-r13
8637         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
8639 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
8641         PR target/54222
8642         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
8643         _ssmulHA, _ssmulSA.
8644         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
8645         _ssmulha3, _usmulusa3, _ssmulsa3.
8646         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
8647         (__muldi3): XCALL __muldi3_6 instead of rcall.
8648         (__umulsidi3, __mulsidi3): New functions.
8649         (do_prologue_saves, do_epilogue_restores): New .macros.
8650         (__divdi3_moddi3): Use them.
8651         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
8652         (__usmulusa3, __ssmulsa3): New functions.
8654 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
8655             Jack Howarth  <howarth@bromo.med.uc.edu>
8656             Patrick Marlier  <patrick.marlier@gmail.com>
8658         PR libitm/55693
8659         * config/darwin-crt-tm.c: Remove dummy functions hack.
8661 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
8663         PR target/54222
8664         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
8665         * config/avr/lib2-object.mk: New iterator to build objects from it.
8666         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
8667         lib2funcs.c.
8668         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
8669         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
8670         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
8671         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
8672         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
8673         * config/avr/lib1funcs-fixed.S: Implement them.
8675 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
8677         Update copyright years.
8679 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
8681         PR target/54601
8682         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
8683         Add crtcxa to extra_parts.
8684         * config/rs6000/exit.h: New file.
8685         * config/rs6000/cxa_atexit.c: New file.
8686         * config/rs6000/cxa_finalize.c: New file.
8687         * config/rs6000/crtcxa.c: New file.
8688         * config/rs6000/t-aix-cxa: New file.
8689         * config/rs6000/libgcc-aix-cxa.ver: New file.
8691 2013-01-31  Nick Clifton  <nickc@redhat.com>
8693         * config/v850/lib1funcs.S: Add support for e3v5 architecture
8694         variant.
8696 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
8698         PR target/54222
8699         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
8700         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
8701         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
8702         _divQQ,  _divHQ,  _divHA,  _divSA,
8703         _divUQQ, _divUHQ, _divUHA, _divUSA.
8705 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
8707         * config.host(microblaze*-linux*): tmake_file: Remove
8708         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
8709         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
8710         to exclude functions from being built with libgcc.c and use
8711         the microblaze assembly.
8713 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
8715         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
8716         extra_parts.
8718 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
8720         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
8721         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
8722         __UINTPTR_TYPE__; also cast 'base' to the same type before the
8723         alignment operation.
8725 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
8727         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
8728         loop start address for cache clearing.
8730 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
8732         * config/avr/lib1funcs.S: Remove trailing blanks.
8733         * config/avr/lib1funcs-fixed.S: Ditto.
8735 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
8737         * config/avr/avr-lib.h: Add GPL copyright notice.
8739 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
8741         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
8742         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
8743         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
8744         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
8746 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
8748         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
8749         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
8751 2013-01-04  Nick Clifton  <nickc@redhat.com>
8753         * config/v850/lib1funcs.S: Only provide CALLT support functions if
8754         the CALLT instruction is supported.
8756 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
8758         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
8759         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
8761 2012-12-13  John Tytgat  <John@bass-software.com>
8763         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
8764         is 25.
8766 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
8768         PR libgcc/55451
8769         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
8770         undefined signed overflows.
8772 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
8774         PR target/55344
8775         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
8777 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
8779         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
8780         (FP_TRAPPING_EXCEPTIONS): Define.
8781         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
8782         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
8784 2012-12-04  Richard Henderson  <rth@redhat.com>
8786         PR bootstrap/55571
8787         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
8789 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8791         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
8792         (FP_EX_SHIFT): Define.
8793         (FP_TRAPPING_EXCEPTIONS): Define.
8795 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8797         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
8798         (FP_ROUNDMODE): Use FP_RND_MASK.
8799         * config/aarch64/sfp-exceptions.c: New.
8800         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8801         Use __sfp_handle_exceptions.
8803 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
8805         * config.host: (arm*-*-freebsd*): Remove.
8806         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
8807         (arm*-*-elf*): Remove.
8808         (arm*-*-wince-pe*): Remove.
8809         * arm/unwind-arm.c (struct fpa_reg): Delete.
8810         (struct fpa_regs): Delete.
8811         (phase1_vrs): Remove fpa element.
8812         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
8813         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
8814         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
8815         * ieee754-sf.S (floatundisf): Remove FPA support.
8816         (floatdisf): Likewise.
8817         * ieee75f-df.S (floatundidf): Likewise.
8818         (floatdidf): Likewise.
8820 2012-11-29  Kai Tietz  <ktietz@redhat.com>
8822         PR target/55445
8823         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
8824         * unwind-generic.h: Likewise.
8825         * unwind-seh.c: Likewise.
8827 2012-11-28  Richard Henderson  <rth@redhat.com>
8829         PR libgcc/48076
8830         * emutls.c (__emutls_get_address): Avoid race condition between
8831         obj->loc.offset read and emutls_key initialization.
8833 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
8835         Adjust decimal point of signed accum mode to GCC default.
8837         PR target/54222
8838         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
8839         _divqq_helper.
8840         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
8841         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
8842         (__mulha3, __mulsa3)
8843         (__divqq3, __divha3, __divsa3): Adjust to new position of
8844         decimal point of signed accum types.
8846         (__mulusa3_round): New function.
8847         (__mulusa3): Use it.
8848         (__divqq_helper): New function.
8849         (__udivuqq3): Use it.
8851 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
8853         PR bootstrap/55370
8854         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
8856 2012-11-18  Teresa Johnson  <tejohnson@google.com>
8858         PR bootstrap/55051
8859         * libgcov.c (gcov_exit): Remove merged program summary
8860         comparison unless !GCOV_LOCKED.
8862 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8864         * soft-fp: Updated from glibc upstream.
8866 2012-11-06  Ian Lance Taylor  <iant@google.com>
8868         * generic-morestack.c (__generic_morestack): Align the returned
8869         stack pointer to a 32 byte boundary.
8870         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
8871         increment the return address until we have decided that we don't
8872         have a varargs function.
8873         (__morestack) [32-bit]: Align stack correctly when calling C
8874         functions.
8875         (__morestack) [64-bit]: Likewise.
8877 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
8879         * configure: Regenerate.
8881 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
8883         PR target/55175
8884         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
8885         * config/i386/sfp-machine.h: Guard exception handling
8886         code with _SOFT_FLOAT.
8887         * config/i386/32/sfp-machine.h: Guard rounding handling
8888         code with _SOFT_FLOAT.
8889         * config/i386/64/sfp-machine.h: Ditto.
8891 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
8893         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
8894         as extra_parts.
8896 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
8898         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
8899         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
8900         when appropriate.  Correct structure element types.
8901         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
8902         -minline-all-stringops from compile flags.
8904 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
8906         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
8908 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
8910         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
8912 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
8914         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
8915         tmake_file.
8917 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
8918             Jim MacArthur  <jim.macarthur@arm.com>
8919             Marcus Shawcroft  <marcus.shawcroft@arm.com>
8920             Nigel Stephens  <nigel.stephens@arm.com>
8921             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
8922             Richard Earnshaw  <rearnsha@arm.com>
8923             Sofiane Naci  <sofiane.naci@arm.com>
8924             Stephen Thomas  <stephen.thomas@arm.com>
8925             Tejas Belagod  <tejas.belagod@arm.com>
8926             Yufeng Zhang  <yufeng.zhang@arm.com>
8928         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
8929         * config/aarch64/crti.S: New file.
8930         * config/aarch64/crtn.S: New file.
8931         * config/aarch64/linux-unwind.h: New file.
8932         * config/aarch64/sfp-machine.h: New file.
8933         * config/aarch64/sync-cache.c: New file.
8934         * config/aarch64/t-aarch64: New file.
8935         * config/aarch64/t-softfp: New file.
8937 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
8939         * config/mmix/crti.S: Mark program and data addresses using PRELD.
8940         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
8941         no-longer-needed LDBU insns.
8943 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
8945         * config.host
8946         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
8947         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
8949 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
8951         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
8953 2012-10-15  Matthias Klose  <doko@ubuntu.com>
8955         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
8957 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
8959         * configure: Regenerate.
8960         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
8962 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
8964         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8965         instructions for 64bit targets only.
8967 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
8969         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8970         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
8971         * config/i386/32/sfp-machine.h: ... here.
8972         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
8973         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
8974         New defines.
8976 2012-10-07  Matthias Klose  <doko@ubuntu.com>
8978         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
8979         as unused.
8980         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
8982 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
8984         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
8985         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
8986         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
8987         (ElfW): Likewise.
8989 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
8991         PR other/53889
8992         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8993         Fix parameter names.
8995 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
8997         PR target/33135
8998         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
8999         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
9000         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
9002 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
9004         PR target/50457
9005         * config/sh/linux-atomic.S: Delete.
9006         * config/sh/linux-atomic.c: New.
9007         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
9008         linux-atomic.c.  Add cflags to disable warnings.
9010 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
9012         PR other/53889
9013         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
9014         function.
9015         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
9016         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
9017         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
9018         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
9019         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
9020         Likewise.
9021         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9022         Likewise.
9023         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
9024         Likewise.
9025         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
9026         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
9028 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
9030         * config.host (hppa-*-openbsd*): New target.
9031         * config/pa/t-openbsd: New file.
9033 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
9035         PR target/54222
9036         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
9037         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
9038         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
9039         (__divsa3): Use __negsi2 to negate r_quoL.
9040         * config/avr/lib1funcs.S (FALIAS): New macro.
9041         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
9042         (__negsi2): ...this new function.
9043         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
9044         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
9045         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
9046         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
9047         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
9048         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
9050 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
9052         PR target/54089
9053         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
9054         (lshrsi3): Reimplement as lshrsi3_r0.
9056 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
9058         PR target/46191
9059         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
9060         of libgcc.a.
9062 2012-09-07  Teresa Johnson  <tejohnson@google.com>
9064         PR gcov-profile/54487
9065         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9066         differences.
9068 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
9070         PR target/54461
9071         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
9072         not configured --with-avrlibc=no.
9073         * config/avr/t-avrlibc: New file.
9074         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
9075         (DPBIT_FUNCS): Ditto.
9076         (TPBIT_FUNCS): Ditto.
9078 2012-09-04  Teresa Johnson  <tejohnson@google.com>
9080         * libgcov.c (struct gcov_summary_buffer): New structure.
9081         (gcov_histogram_insert): New function.
9082         (gcov_compute_histogram): Ditto.
9083         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
9084         histograms during summary merging.
9086 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
9088         * config.host (x86_64-*-openbsd*): New target.
9090 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
9092         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
9093         attribute.
9095 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
9097         PR target/54222
9098         * config/avr/t-avr (conv_X): Rename to func_X.
9100 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
9102         PR target/54222
9103         * config/avr/lib1funcs-fixed.S: New file.
9104         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
9105         after they are used.
9106         (neg2, neg4): New macros.
9107         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
9108         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
9109         (__umulhisi3): Speed up MUL variant if there is enough flash.
9110         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
9111         avr-modes.def.
9112         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
9113         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
9114         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
9115         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
9116         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
9117         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
9118         (LIB2FUNCS_EXCLUDE): Add supported functions.
9120 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
9122         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
9123         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
9124         libgcc-s-objects.
9125         * fixed-obj.mk: Only expand dependency if $o is not in
9126         LIB2FUNCS_EXCLUDE.
9128 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
9130         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
9132 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
9134         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
9135         depend on --enable-shared.
9136         ($(lib1asmfuncs-o)): Use %.vis files independent of
9137         --enable-shared.
9138         * static-object.mk ($(base)$(objext), $(base).vis)
9139         ($(base)_s$(objext)): Use same rules for visibility handling as in
9140         shared-object.mk.
9142 2012-08-21  Ian Lance Taylor  <iant@google.com>
9144         * config/i386/morestack.S (__morestack_non_split): Increase amount
9145         of space allocated for non-split code stack.
9147 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
9149         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
9150         even if inhibit_libc.
9152 2012-08-17  Julian Brown  <julian@codesourcery.com>
9154         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
9155         -fexceptions -fnon-call-exceptions if not defined.
9156         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
9157         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
9159 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
9161         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
9162         type.
9164 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
9166         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
9167         rs6000/t-slibgcc-aix.
9169 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
9171         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
9173 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
9175         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
9177 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
9179         PR driver/54171
9180         * Makefile.in (version): Replace top_srcdir with srcdir.
9182 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
9184         * Makefile.in (version): set to BASE-VER file from gcc directory.
9186 2012-08-01  Nick Clifton  <nickc@redhat.com>
9188         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
9189         Implements __clrsb for an HImode argument.
9191 2012-07-31  Nick Clifton  <nickc@redhat.com>
9193         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
9194         Implements __clrsb for an HImode argument.
9195         * config/stormy16/clrsbhi2.c: New file:
9196         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
9198 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
9200         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
9202 2012-07-19  Tristan Gingold  <gingold@adacore.com>
9203             Richard Henderson  <rth@redhat.com>
9205         * unwind-seh.c: New file.
9206         * unwind-generic.h: Include windows.h for SEH.
9207         (_Unwind_Exception): Use 6 private fields for SEH.
9208         (_GCC_specific_handler): Declare.
9209         * unwind-c.c (__gcc_personality_seh0): New function.
9210         Adjust for SEH.
9211         * config/i386/libgcc-cygming.ver: New file.
9212         * config/i386/t-seh-eh: New file.
9213         * config.host (x86_64-*-mingw*): Default to seh.
9215 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
9217         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
9219 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
9221         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
9222         __builtin_expect when checking for exceptions.
9223         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
9225 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
9227         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
9228         function declaration.
9229         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9230         (FP_RND_MASK): New.
9231         * config/ia64/sfp-exceptions.c: New.
9232         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
9234 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
9236         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
9237         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
9238         * config/i386/64/sfp-machine: ... (delete here) ...
9239         * config/i386/sfp-machine.h: ... to here.
9240         (FP_EX_MASK): Remove.
9241         (FP_RND_MASK): New.
9242         (FP_INIT_ROUNDMODE): Declare asm as volatile.
9244 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
9246         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
9247         * config/i386/libgcc-sol2.ver: Ditto.
9248         * config/i386/libgcc-glibc.ver: Ditto.
9250 2012-06-11  Roland McGrath  <mcgrathr@google.com>
9252         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
9253         If __GLIBC__ is defined, refer to __pthread_key_create instead of
9254         pthread_cancel.
9256 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
9258         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
9259         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
9260         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
9261         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9262         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
9263         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
9264         * config/i386/64/sfp-machine: ... (delete here) ...
9265         * config/i386/sfp-machine.h: ... to here.
9266         (FP_EX_MASK): New.
9267         (__sfp_handle_exceptions): New function declaration.
9268         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9269         * config/i386/sfp-exceptions.c: New.
9270         * config/i386/t-softfp: New.
9271         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
9272         i386/t-softfp to tmake_file.
9274 2012-06-03  David S. Miller  <davem@davemloft.net>
9276         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
9277         change.
9279 2012-05-31  David S. Miller  <davem@davemloft.net>
9281         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
9282         multiply and divide instructions on 32-bit when V9.
9283         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
9285 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
9287         * config/arm/ieee754-df.S: Fix typos.
9288         * config/arm/ieee754-sf.S: Fix typos.
9289         * config/c6x/libunwind.S: Fix typos.
9290         * config/epiphany/udivsi3-float.c: Fix typos.
9291         * config/microblaze/muldi3_hard.S: Fix typos.
9292         * config/picochip/adddi3.S: Fix typos.
9293         * config/picochip/ashlsi3.S: Fix typos.
9294         * config/picochip/ashrsi3.S: Fix typos.
9295         * config/picochip/clzsi2.S: Fix typos.
9296         * config/picochip/cmpsi2.S: Fix typos.
9297         * config/picochip/divmod15.S: Fix typos.
9298         * config/picochip/divmodhi4.S: Fix typos.
9299         * config/picochip/divmodsi4.S: Fix typos.
9300         * config/picochip/longjmp.S: Fix typos.
9301         * config/picochip/lshrsi3.S: Fix typos.
9302         * config/picochip/parityhi2.S: Fix typos.
9303         * config/picochip/popcounthi2.S: Fix typos.
9304         * config/picochip/setjmp.S: Fix typos.
9305         * config/picochip/subdi3.S: Fix typos.
9306         * config/picochip/ucmpsi2.S: Fix typos.
9307         * config/picochip/udivmodhi4.S: Fix typos.
9308         * config/picochip/udivmodsi4.S: Fix typos.
9309         * config/spu/divv2df3.c: Fix typos.
9310         * config/spu/mfc_multi_tag_release.c: Fix typos.
9311         * config/spu/mfc_tag_release.c: Fix typos.
9312         * configure.ac: Fix typos.
9313         * configure: Regenerate.
9315 2012-05-25  Ian Lance Taylor  <iant@google.com>
9317         * config/i386/morestack.S (__morestack_non_split): Check whether
9318         caller is varargs and needs %bp to hold the stack frame on return.
9320 2012-05-25  Olivier Hainque  <hainque@adacore.com>
9322         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
9323         sequence in the non pic case on VxWorks.
9325 2012-05-24  Olivier Hainque  <hainque@adacore.com>
9327         * Makefile.in: Move dependency on install-unwind_h from
9328         "install-leaf" to "install".
9330 2012-05-24  Olivier Hainque  <hainque@adacore.com>
9332         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
9333         Use a separate command for stamp removals.
9335 2012-05-21  Andrew Pinski  <apinski@cavium.com>
9337         PR bootstrap/53183
9338         * configure.ac: Define the default includes to being none.
9339         * configure: Regenerate.
9341 2012-05-16  Olivier Hainque  <hainque@adacore.com>
9343         * Makefile.in (install-unwind_h): Rename into ...
9344         (install-unwind_h-forbuild): New target.
9345         (all): Use it instead of the former install-unwind_h.
9346         (install-unwind_h): Reinstate, copy to user install destination
9347         for include files, not to the internal gcc object directory one.
9348         (install-leaf): Depend on it.
9350 2012-05-15  Olivier Hainque  <hainque@adacore.com>
9352         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
9353         register numbers. LR_REGNO replaces R_LR.
9354         (ucontext_for): New, helper for ...
9355         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
9356         and 5.3 of ...
9357         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
9359 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9361         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
9362         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
9363         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
9364         i386/t-cpuinfo ...
9365         (i[34567]86-*-*, x86_64-*-*): ... here.
9367         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
9368         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
9370         * config/i386/i386-cpuinfo.c: Rename to ...
9371         * config/i386/cpuinfo.c: ... this.
9372         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
9374         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
9375         (libgcc_cv_init_priority): New test.
9376         * configure: Regenerate.
9377         * config.in: New file.
9378         * Makefile.in (clean): Rename config.h to auto-target.h.
9379         (config.h): Likewise.
9380         (stamp-h): Likewise.
9382         * config/i386/cpuinfo.c (auto-target.h): Include.
9383         (CONSTRUCTOR_PRIORITY): Define.
9384         (__cpu_indicator_init): Use it.
9386 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
9388         * longlong.h: Use a URL instead of an FSF postal address.
9389         Replace spaces with tab.
9391 2012-05-08  Teresa Johnson  <tejohnson@google.com>
9393         * libgcov.c (gcov_clear, __gcov_reset): New functions.
9394         (__gcov_dump): Ditto.
9395         (gcov_dump_complete): New global variable.
9396         (gcov_exit): Export hidden to enable use in L_gcov_dump.
9397         (__gcov_flush): Outline functionality now in gcov_clear.
9398         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
9400 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
9402         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
9403         (mips*-*-linux*): Include mips/t-tpbit when long double is
9404         16 bytes long.
9406 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
9408         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
9409         (get_available_features): New argument. Check for AVX2.
9410         (__cpu_indicator_init): Modify call to get_available_features.
9412 2012-04-25  Alan Modra  <amodra@gmail.com>
9414         * config/rs6000/crtsavevr.S: New file.
9415         * config/rs6000/crtrestvr.S: New file.
9416         * config/rs6000/t-savresfgpr: Build the above.
9417         * config/rs6000/t-netbsd: Likewise.
9419 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
9421         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
9423 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
9425         * libgcc/config/i386/i386-cpuinfo.c: New file.
9426         * libgcc/config/i386/t-cpuinfo: New file.
9427         * libgcc/config.host: Include t-cpuinfo.
9428         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
9430 2012-04-24  Chao-ying Fu  <fu@mips.com>
9432         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
9434 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
9436         struct siginfo vs. siginfo_t
9438         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
9439         siginfo_t instead of struct siginfo.
9440         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
9441         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
9442         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
9443         (ia64_handle_unwabi): Likewise.
9444         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
9445         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
9446         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
9447         (sh_fallback_frame_state): Likewise.
9448         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
9449         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
9451 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
9453         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
9454         system call number.
9456 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
9458         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
9459         if it hasn't been previously saved.
9461 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
9463         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
9464         only for glibc.
9466 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
9468         PR target/52737
9469         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
9470         instead of __AVR_HAVE_8BIT_SP__.
9472 2012-03-26  Tristan Gingold  <gingold@adacore.com>
9474         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
9475         (unw_table_entry): Use unw_word instead of unsigned long.
9476         (_Unwind_FindTableEntry): Likewise.
9477         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
9478         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
9479         (_Unwind_FindTableEntry): Likewise.
9480         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
9481         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
9482         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
9483         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
9484         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
9485         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
9486         (uw_init_context_1, uw_install_context): Likewise.
9487         (unw_word): Move to unwind-ia64.h
9489 2012-03-26  Tristan Gingold  <gingold@adacore.com>
9491         * config/vms/vms-ucrt0.c: Update copyright years.
9492         Add a sanity check.
9493         (___gcc_main_flags): Declare.
9494         (__main): Check flags to remap argv and exit code.
9495         * config.host (*-*-*vms*): Adjust extra_parts.
9496         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
9497         (crt0.o): Add.
9499 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
9501         * arm/lib1funcs.asm (ctzsi2): New function.
9502         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
9503         * arm/t-linux (LIB1ASMFUNCS): Likewise.
9504         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
9505         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
9506         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
9507         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
9509 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
9511         * config.host: Add bits to support powerpc64-*-freebsd*.
9512         * config/rs6000/freebsd-unwind.h: New file.
9513         * config/rs6000/t-freebsd64: New file.
9515 2012-03-20  Richard Guenther  <rguenther@suse.de>
9517         PR gcov-profile/52627
9518         * libgcov.c (init_mx): Fix mutex name.
9520 2012-03-16  Tristan Gingold  <gingold@adacore.com>
9522         * config/ia64/vms-unwind.h: Remove ulong (and replace
9523         it by unw_reg where used).  Define unw_reg with __int64.
9525 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9527         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
9528         Solaris 8 handling.
9529         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
9530         Solaris 8 handling.
9531         (sparc_is_sighandler): Likewise.
9533 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
9535         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
9536         <= saved reg size.
9538 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9540         * config/arm/crtn.S: Fix typo.
9542 2012-03-13  Richard Guenther  <rguenther@suse.de>
9544         * libgcov.c: Remove stdio.h include and NULL un-define.
9546 2012-03-13  Richard Guenther  <rguenther@suse.de>
9548         PR target/52569
9549         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
9551 2012-03-13  Richard Guenther  <rguenther@suse.de>
9553         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
9555 2012-03-13  Richard Guenther  <rguenther@suse.de>
9557         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
9558         and __gthread_mutex_init_function definitions.
9560 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9562         * config.host (mips*-*-openbsd*): Remove.
9564 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9566         * config.host: Remove alpha*-dec-osf5.1* handling.
9567         * config/alpha/gthr-posix.c: Remove.
9568         * config/alpha/libgcc-osf5.ver: Remove.
9569         * config/alpha/osf5-unwind.h: Remove.
9570         * config/alpha/t-osf-pthread: Remove.
9571         * config/alpha/t-slibgcc-osf: Remove.
9572         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
9573         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
9574         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
9575         * mkmap-flat.awk: Remove osf_export handling.
9577 2012-03-12  Richard Guenther  <rguenther@suse.de>
9579         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
9580         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9581         (__gthread_mutex_init_function): New function.
9582         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9584         PR gcov/49484
9585         * libgcov.c: Include gthr.h.
9586         (__gcov_flush_mx): New global variable.
9587         (init_mx, init_mx_once): New functions.
9588         (__gcov_flush): Protect self with a mutex.
9589         (__gcov_fork): Re-initialize mutex after forking.
9590         * unwind-dw2-fde.c: Change condition under which to use
9591         __GTHREAD_MUTEX_INIT_FUNCTION.
9593 2012-03-12  Tristan Gingold  <gingold@adacore.com>
9595         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
9596         * config/ia64/t-vms: Likewise.
9598 2012-03-11  Michael Hope  <michael.hope@linaro.org>
9600         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
9601         for Thumb-2.
9603 2012-03-07  Walter Lee  <walt@tilera.com>
9605         * config/tilepro/atomic.c: Rename "atomic_" prefix to
9606         "arch_atomic_".
9607         (atomic_xor): Rename and move definition to
9608         config/tilepro/atomic.h.
9609         (atomic_nand): Ditto.
9610         * config/tilepro/atomic.h: Rename "atomic_" prefix to
9611         "arch_atomic_".
9612         (arch_atomic_xor): Move from config/tilepro/atomic.c.
9613         (arch_atomic_nand): Ditto.
9615 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
9617         PR target/52507
9618         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
9620 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
9622         PR target/52505
9623         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
9624         from RAM.
9626 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
9628         PR target/52461
9629         PR target/52508
9630         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
9631         if RAMPZ affects reading from RAM.
9632         (__tablejump_elpm__): Ditto.
9633         (.xload): Ditto.
9634         (__movmemx_hi): Ditto.
9635         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
9636         (__do_global_dtors): Ditto.
9637         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
9638         (__movmemx_hi): Ditto.
9640 2012-03-05  Richard Henderson  <rth@redhat.com>
9642         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
9643         [ARM] (count_trailing_zeros): Use the builtin.
9645 2012-03-01  Kai Tietz  <ktietz@redhat.com>
9647         * soft-fp: Imported from glibc upstream.
9649 2012-02-28  Kai Tietz  <ktietz@redhat.com>
9651         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
9652         for mingw-targets as attribute gcc_struct.
9654 2012-02-28  Ian Lance Taylor  <iant@google.com>
9656         * generic-morestack.c (__splitstack_releasecontext): Correct call
9657         to __morestack_release_segments.
9659 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9661         PR target/52390
9662         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
9663         for __linux__ when removing signals from __morestack_fullmask.
9665 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
9667         PR target/52261
9668         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
9670 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9672         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
9673         instead of HAVE_INITFINI_ARRAY.
9674         * config/ia64/crtend.S: Likewise.
9676 2012-02-20  Kai Tietz  <ktietz@redhat.com>
9678         PR libstdc++/52300
9679         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
9681         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
9682         to w32-unwind.h header.
9684 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
9686         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
9687         (mips*-*-linux*): Remove t-slibgcc-libgcc.
9688         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
9689         * config/mips/mips16.S (__mips16_rdhwr): Delete.
9691 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
9693         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
9695 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
9697         PR libitm/52220
9698         * config/darwin-crt-tm.c: Correct typo.
9700 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
9701             Patrick Marlier  <patrick.marlier@gmail.com>
9703         PR libitm/52220
9704         * config/darwin-crt-tm.c: Generate dummy functions.
9706 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
9707             Patrick Marlier  <patrick.marlier@gmail.com>
9709         PR libitm/52042
9710         * config/darwin-crt-tm.c (getTMCloneTable): New function.
9711         (__doTMRegistrations): Call it.
9712         (__doTMdeRegistrations): Likewise.
9714 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
9715             Anatoly Sokolov  <aesok@post.ru>
9716             Eric Weddington  <eric.weddington@atmel.com>
9718         PR target/52261
9719         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
9720         (__epilogue_restores__): Ditto.
9722 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
9724         PR target/51921
9725         PR target/52205
9726         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
9727         Solaris 11 and slightly reformat.
9728         (sparc_is_sighandler): Likewise.
9730 2012-02-14  Walter Lee  <walt@tilera.com>
9732         * config.host: Handle tilegx and tilepro.
9733         * config/tilegx/sfp-machine.h: New file.
9734         * config/tilegx/sfp-machine32.h: New file.
9735         * config/tilegx/sfp-machine64.h: New file.
9736         * config/tilegx/t-crtstuff: New file.
9737         * config/tilegx/t-softfp: New file.
9738         * config/tilegx/t-tilegx: New file.
9739         * config/tilepro/atomic.c: New file.
9740         * config/tilepro/atomic.h: New file.
9741         * config/tilepro/linux-unwind.h: New file.
9742         * config/tilepro/sfp-machine.h: New file.
9743         * config/tilepro/softdivide.c: New file.
9744         * config/tilepro/softmpy.S: New file.
9745         * config/tilepro/t-crtstuff: New file.
9746         * config/tilepro/t-tilepro: New file.
9748 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
9750         PR libstdc++/51296
9751         PR libstdc++/51906
9752         * gthr-posix.h: Allow static initializer macros to be disabled.
9753         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
9755 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
9757         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
9758         Add t-slibgcc-libgcc to tmake_file.
9759         * config/mips/libgcc-mips16.ver: Revert previous patch.
9760         * config/mips/mips16.S (__mips16_rdhwr): Hide.
9762 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
9763             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
9765         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
9766         * config/cr16/crti.S: New file.
9767         * config/cr16/crtlibid.S: New file.
9768         * config/cr16/crtn.S: New file.
9769         * config/cr16/lib1funcs.S: New file.
9770         * config/cr16/t-cr16: New file.
9771         * config/cr16/t-crtlibid: New file.
9772         * config/cr16/unwind-dw2.h: New file.
9773         * config/cr16/unwind-cr16.c: New file.
9774         * config/cr16/divmodhi3.c: New file.
9776 2012-01-25  Alan Modra  <amodra@gmail.com>
9778         * config/rs6000/t-linux64: Delete.  Move..
9779         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
9780         * config/rs6000/t-linux: ..and libgcc flags to here.
9782 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
9784         * config.host (i[34567]86-*-interix3*):
9785         Change triplet to i[34567]86-*-interix[3-9]*.
9786         * configure: Regenerate.
9788 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
9789             Richard Sandiford  <rdsandiford@googlemail.com>
9791         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
9792         * config/mips/mips16.S (__mips16_rdhwr): New function.
9793         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
9795 2012-01-11  Nathan Sidwell  <nathan@acm.org>
9797         * libgcov.c (__gcov_init): Ignore objects with no functions.
9799 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
9801         PR target/49868
9802         Extend __pgmx semantics to linearize memory.
9803         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
9804         * config/avr/lib1funcs.S (__xload_1): New function.
9805         (__movmemx_qi, __movmemx_hi): New functions.
9806         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
9807         semantics.
9809 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
9811         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
9812         purported sigacthandler address isn't null before dereferencing it.
9813         (sparc_is_sighandler): Likewise.
9815 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
9817         PR ada/41929
9818         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
9819         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
9820         (sparc_is_sighandler): Likewise.
9821         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
9823 2012-01-06  Tristan Gingold  <gingold@adacore.com>
9825         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
9826         compatibility thunks...
9827         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
9828         (crtbeginS.o, crtendS.o): ... and these to ...
9829         * config/ia64/t-ia64-elf: ... this new file.
9830         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
9831         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
9833 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9835         * configure: Regenerate.
9836         * config/s390/t-crtstuff: Remove -fPIC.
9838 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
9840         PR bootstrap/51006
9841         * enable-execute-stack-mprotect.c (getpagesize): Do not define
9842         for NetBSD.
9844 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
9846         PR target/51345
9847         * config/avr/lib1funcs.S: Remove FIXME comments.
9848         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
9850 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
9852         Implement light-weight DImode support.
9853         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
9854         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
9855         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
9856         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
9858 2011-12-30  Nathan Sidwell  <nathan@acm.org>
9860         * libgcov.c (gcov_crc32): Remove global var.
9861         (free_fn_data): New function.
9862         (buffer_fn_data): Pass in filename, more robust error recovery.
9863         (crc32_unsigned): New function.
9864         (gcov_exit): More robust detection of new program. More robust
9865         error recovery.
9866         (__gcov_init): Do not update program's crc here.
9868 2011-12-21  Tristan Gingold  <gingold@adacore.com>
9870         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
9872 2011-12-21  Ian Lance Taylor  <iant@google.com>
9874         * config/i386/morestack.S: Simplify CFI opcodes throughout.
9876 2011-12-20  Ian Lance Taylor  <iant@google.com>
9878         * config/i386/morestack.S (__morestack_non_split): If there is
9879         enough stack space already, don't split.  Ask for more stack space
9880         than we required.
9882 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
9884         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
9885         `sys/sdt.h'.
9886         (_Unwind_DebugHook): New function.
9887         (uw_restore_core_regs): New define.
9888         (unwind_phase2): Use uw_restore_core_regs instead of
9889         restore_core_regs.
9890         (unwind_phase2_forced): Likewise.
9891         (__gnu_Unwind_Resume): Likewise.
9893 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
9895         * config/alpha/linux-unwind.h: Update copyright years.
9896         (MD_FROB_UPDATE_CONTEXT): New define.
9897         (alpha_frob_update_context): New function.
9899 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
9901         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
9902         tmake_file rather replacing it.
9904 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
9906         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
9907         function is not used for PPC64.
9908         (save_world): Amend comments.  Update the VRsave mask to reflect the
9909         saved regs.
9910         (rest_world): Update comments, do not  clobber r10, do not use r8.
9911         (eh_rest_world_r10): Amend comments, do not use r8.
9912         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
9913         no longer used, move restore of CR and target address to the end of
9914         the routine.
9916 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
9918         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
9919         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
9921 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
9923         PR target/49313
9924         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
9925         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
9927 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
9929         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
9931 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
9933         PR target/49313
9934         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
9935         * config/avr/lib1funcs.S (__muldi3): New function.
9937 2011-12-06  Andrew Pinski  <apinski@cavium.com>
9939         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
9940         size of func_ptr.
9941         (__frame_dummy_init_array_entry): Likewise.
9943 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
9945         Forward-port from gcc-4_6-branch r181936 2011-12-02.
9947         PR target/51345
9948         PR target/51002
9949         * config/avr/lib1funcs.S (__prologue_saves__,
9950         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
9951         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
9953 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
9955         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
9957 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
9959         PR other/51272
9960         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
9961         (_ITM_deregisterTMCloneTable): Likewise.
9962         (__register_frame_info): Fix unused warning.
9963         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
9964         pthread_default_stacksize_np): Likewise.
9965         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
9967 2011-11-29  DJ Delorie  <dj@redhat.com>
9969         * config.host (rl78-*-elf): New case.
9970         * config/rl78: New directory for the Renesas RL78.
9972 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
9974         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
9975         formatting.
9977 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9979         PR other/51022
9980         * config/rs6000/t-savresfgpr: New file.
9981         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
9982         $(srcdir)/config/rs6000/eabi.S.
9983         * config/rs6000/t-ppccomm-ldbl: Remove.
9984         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
9985         tmake_file.
9986         (powerpc-*-eabispe*): Likewise.
9987         (powerpc-*-eabi*): Likewise.
9988         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9989         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
9990         to tmake_file, remove rs6000/t-ppccomm-ldbl.
9991         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
9992         tmake_file.
9993         (powerpc-*-eabisim*): Likewise.
9994         (powerpc-*-elf*): Likewise.
9995         (powerpc-*-eabialtivec*): Likewise.
9996         (powerpc-xilinx-eabi*): Likewise.
9997         (powerpc-*-rtems*): Likewise.
9998         (powerpcle-*-elf*): Likewise.
9999         (powerpcle-*-eabisim*): Likewise.
10000         (powerpcle-*-eabi*): Likewise.
10002 2011-11-27  Ian Lance Taylor  <iant@google.com>
10004         * generic-morestack.c (__splitstack_find): Check for NULL old
10005         stack value.
10006         (__splitstack_resetcontext): New function.
10007         (__splitstack_releasecontext): New function.
10008         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10010 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
10012         * config/darwin-crt-tm.c: Correct comments, use correct licence.
10014 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
10016         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
10018 2011-11-26  Richard Henderson  <rth@redhat.com>
10020         * config/m68k/linux-atomic.c: New file.
10021         * config/m68k/t-linux: New file.
10022         * config.host (m68k-uclinux, m68k-linux): Use it.
10024 2011-11-26  Richard Henderson  <rth@redhat.com>
10026         * crtstuff.c (__TMC_LIST__): Mark used not unused.
10027         (__TMC_END__): Only declare if hidden is available; in the definition,
10028         if hidden is unavailable add a null record.
10029         (deregister_tm_clones, register_tm_clones): New.
10030         (__do_global_dtors_aux, frame_dummy): Use them.
10031         (__do_global_dtors, __do_global_ctors_1): Likewise.
10033 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
10035         * config/darwin-crt-tm.c: New file.
10036         * config.host (darwin): Build crttms.o crttme.o to provide
10037         startup and shutdown for tm clones.
10038         * config/t-darwin (crttms.o): New build rule.
10039         (crttme.o): Likewise.
10041 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
10043         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
10044         et al.
10046 2011-11-21  Richard Henderson  <rth@redhat.com>
10048         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
10049         (__TMC_LIST__, __TMC_END__): New.
10050         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
10051         (__do_global_dtors): Likewise.
10052         (frame_dummy): Call _ITM_registerTMCloneTable.
10053         (__do_global_ctors_1): Likewise.
10055 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10057         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
10058         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10059         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
10060         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
10061         * config/i386/t-darwin64: Remove.
10062         * config/sh/t-netbsd (LIB2ADD): Remove.
10064 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
10066         PR target/49313
10067         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
10068         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
10069         * config/avr/lib1funcs.S (wmov): New assembler macro.
10070         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
10071         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
10072         (__udivmod64): New function.
10073         (__negdi2): New function.
10075 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
10077         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
10078         *-*-freebsd*aout*): Remove.
10080 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
10082         * static-object.mk (c_flags-$o): Save c_flags.
10083         ($(base)$(objext)): Use it.
10085 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
10087         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
10089 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
10091         PR target/49868
10092         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
10093         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
10094         New functions.
10096 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
10098         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
10099         functions.
10100         (aeabi_uidivmod): Likewise.
10101         (umodsi3): Likewise.
10102         (divsi3): Likewise.
10103         (aeabi_idivmod): Likewise.
10104         (modsi3): Likewise.
10106 2011-11-16  Tristan Gingold  <gingold@adacore.com>
10108         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
10110 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
10112         PR target/49868
10113         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
10114         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
10116 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
10118         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
10119         tmake_file list.
10120         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
10121         * config/pa/t-stublib64: Delete.
10123 2011-11-12  Richard Henderson  <rth@redhat.com>
10125         * config/rs6000/linux-unwind.h (frob_update_context): Properly
10126         cast the pointer argument to _Unwind_SetGRPtr.
10128 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10130         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
10132 2011-11-09  Ian Lance Taylor  <iant@google.com>
10134         * generic-morestack.c: Include <string.h>.
10135         (uintptr_type): Define.
10136         (struct initial_sp): Add dont_block_signals field.  Reduce size of
10137         extra array by 1.
10138         (allocate_segment): Set prev field to NULL.  Don't set
10139         __morestack_current_segment or __morestack_segments.
10140         (__generic_morestack): Update current->prev and *pp after calling
10141         allocate_segment.
10142         (__morestack_block_signals): Don't do anything if
10143         dont_block_signals is set.
10144         (__morestack_unblock_signals): Likewise.
10145         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
10146         uintptr_type.
10147         (__splitstack_block_signals): New function.
10148         (enum __splitstack_content_offsets): Define.
10149         (__splitstack_getcontext, __splitstack_setcontext): New functions.
10150         (__splitstack_makecontext): New function.
10151         (__splitstack_block_signals_context): New function.
10152         (__splitstack_find_context): New function.
10153         * config/i386/morestack.S (__morestack_get_guard): New function.
10154         (__morestack_set_guard, __morestack_make_guard): New functions.
10155         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10157 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10159         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
10160         (i[34567]86-*-mingw*): ... here.
10161         (x86_64-*-mingw*): ... here.
10163 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10165         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
10167 2011-11-07  Nathan Sidwell  <nathan@acm.org>
10169         * libgcov.c (struct gcov_fn_buffer): New struct.
10170         (buffer_fn_data): New helper.
10171         (gcov_exit): Rework for new gcov data structures.
10173 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
10175         PR target/49313
10176         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
10178 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10180         * config.host (tmake_file): Correct comment.
10181         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
10182         t-libgcc-pic.
10183         (bfin*-uclinux*): Likewise.
10184         (bfin*-linux-uclibc*): Likewise.
10185         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
10187         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
10188         assigning.
10189         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10190         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
10191         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10192         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
10193         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10194         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
10195         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
10196         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10197         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
10198         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
10199         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
10200         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
10201         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
10203         * config/bfin/t-elf: Remove.
10204         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
10206 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10208         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
10209         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
10210         (lm32-*-elf*, lm32-*-rtems*): Split into ...
10211         (lm32-*-elf*): ... this.
10212         (lm32-*-rtems*): ... and this.
10213         Add to tmake_file.
10214         (m32r-*-rtems*): Add to tmake_file.
10215         (moxie-*-rtems*): Likewise.
10216         (sparc-*-rtems*): Likewise.
10217         Remove t-rtems from tmake_file.
10218         (sparc64-*-rtems*): Likewise.
10219         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
10220         instead.
10222 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10224         PR bootstrap/50982
10225         * config/gthr-posix.h: Move ...
10226         * gthr-posix.h: ... here.
10227         * config/gthr-lynx.h: Reflect this.
10228         * config/gthr-vxworks.h: Likewise.
10229         * config/rs6000/gthr-aix.h: Likewise.
10230         * configure.ac (target_thread_file): Likewise.
10231         * configure: Regenerate.
10233 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
10235         * config.host (arm*-*-rtemseabi*): New target.
10237 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
10239         PR other/50991
10240         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
10241         extra-parts.
10243 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
10245         * config.host (epiphany-*-elf*): New configuration.
10246         * config/epiphany: New Directory.
10248 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
10250         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
10251         * config/avr/t-rtems: New.
10252         Filter out _exit from LIB1ASMFUNCS.
10254 2011-11-04  David S. Miller  <davem@davemloft.net>
10256         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
10257         * configure: Rebuild.
10259 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10261         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
10262         variable.
10264 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
10266         PR target/50931
10267         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
10268         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
10270 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
10272         PR target/50989
10273         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
10275 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10277         * config/c6x/t-elf (LIB2ADDEH): Set.
10278         * config/c6x/t-c6x-elf: Remove.
10280 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10282         * config/i386/sol2-ci.S: Rename to ...
10283         * config/i386/crti.S: ... this.
10284         * config/i386/sol2-cn.S: Rename to ...
10285         * config/i386/crtn.S: ... this.
10286         * config/sparc/sol2-ci.S: Rename to ...
10287         * config/sparc/crti.S: ... this.
10288         * config/sparc/sol2-cn.S: Rename to ...
10289         * config/sparc/crtn.S: ... this.
10290         * config/t-sol2 (CUSTOM_CRTIN): Remove.
10291         (crti.o, crtn.o): Remove.
10293 2011-11-04  Tristan Gingold  <gingold@adacore.com>
10295         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
10297 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
10299         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
10301 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
10303         * config.host (crisv32-*-none, cris-*-none): Remove.
10304         (crisv32-*-elf): Append to tmake_file, don't just set it.
10305         (cris-*-elf): Add missing t-fdpbit to tmake_file.
10307 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10309         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
10310         (ecrtn$(objext)): Likewise.
10311         (ncrti$(objext)): Likewise.
10312         (ncrtn$(objext)): Likewise.
10314 2011-11-03  Andreas Schwab  <schwab@redhat.com>
10316         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
10318 2011-11-02  David S. Miller  <davem@davemloft.net>
10320         * configure.ac: Set host_address on sparc too.
10321         * configure: Regenerate.
10322         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
10323         based upon host_address.
10324         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
10326 2011-11-02  Jason Merrill  <jason@redhat.com>
10328         * config/rs6000/t-ppccomm: Add missing \.
10330 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10332         * gthr-single.h, gthr.h: New files.
10333         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
10334         config/gthr-vxworks.h, config/i386/gthr-win32.h,
10335         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
10336         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
10337         * config/i386/gthr-win32.c: Include "gthr-win32.h".
10338         * configure.ac (thread_header): New variable.
10339         Set it depending on target_thread_file.
10340         (gthr-default.h): Link from $thread_header.
10341         * configure: Regenerate.
10342         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
10344 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10346         * configure.ac (tm_file_): New variable.
10347         Determine from tm_file.
10348         (tm_file, tm_defines): Substitute.
10349         * configure: Regenerate.
10350         * mkheader.sh: New file.
10351         * Makefile.in (clean): Remove libgcc_tm.h.
10352         ($(objects)): Depend on libgcc_tm.h.
10353         (libgcc_tm_defines, libgcc_tm_file): New variables.
10354         (libgcc_tm.h, libgcc_tm.stamp): New targets.
10355         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
10356         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
10357         ($(extra-parts)): Depend on libgcc_tm.h.
10358         * config.host (tm_defines, tm_file): New variable.
10359         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
10360         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
10361         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
10362         (avr-*-rtems*): Likewise.
10363         (avr-*-*): Likewise.
10364         (frv-*-elf): Likewise.
10365         (frv-*-*linux*): Likewise.
10366         (h8300-*-rtems*): Likewise.
10367         (h8300-*-elf*): Likewise.
10368         (i[34567]86-*-darwin*): Likewise.
10369         (x86_64-*-darwin*): Likewise.
10370         (rx-*-elf): Likewise.
10371         (tic6x-*-uclinux): Likewise.
10372         (tic6x-*-elf): Likewise.
10373         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
10374         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
10375         * config/i386/cygming-crtbegin.c: Likewise.
10376         * config/i386/cygming-crtend.c: Likewise.
10377         * config/ia64/fde-vms.c: Likewise.
10378         * config/ia64/unwind-ia64.c: Likewise.
10379         * config/libbid/bid_gcc_intrinsics.h: Likewise.
10380         * config/rs6000/darwin-fallback.c: Likewise.
10381         * config/stormy16/lib2funcs.c: Likewise.
10382         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
10383         * crtstuff.c: Likewise.
10384         * dfp-bit.h: Likewise.
10385         * emutls.c: Likewise.
10386         * fixed-bit.c: Likewise.
10387         * fp-bit.c: Likewise.
10388         * generic-morestack-thread.c: Likewise.
10389         * generic-morestack.c: Likewise.
10390         * libgcc2.c: Likewise.
10391         * libgcov.c: Likewise.
10392         * unwind-dw2-fde-dip.c: Likewise.
10393         * unwind-dw2-fde.c: Likewise.
10394         * unwind-dw2.c: Likewise.
10395         * unwind-sjlj.c: Likewise.
10397 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10399         * configure.ac: Include ../config/picflag.m4.
10400         (GCC_PICFLAG): Call it.
10401         Substitute.
10402         * configure: Regenerate.
10403         * Makefile.in (gcc_srcdir): Remove.
10404         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
10405         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
10406         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
10407         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
10408         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
10409         Use $<.
10410         Remove comment.
10411         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
10412         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
10413         to refer to libgcc2.c.
10414         Use $<.
10415         * config/darwin-64.c: New file.
10416         * config/darwin-crt3.c: Remove comment.
10417         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
10418         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
10419         config/udivmodsi4.c: New files.
10420         * config/memcmp.c, config/memcpy.c, config/memmove.c,
10421         config/memset.c: New files.
10422         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
10423         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
10424         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
10425         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
10426         * config/t-openbsd-thread: New file.
10427         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
10428         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
10429         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
10430         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
10431         qrnnd.S.
10432         Adapt filename.
10433         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
10434         to refer to gthr-posix.c.
10435         * config/alpha/t-vms (LIB2ADD): Set.
10436         * config/alpha/vms-gcc_shell_handler.c: New file.
10437         * config/arm/bpabi.c, config/arm/fp16.c,
10438         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
10439         config/arm/unaligned-funcs.c: New files.
10440         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
10441         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10442         * config/arm/t-linux: Likewise.
10443         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
10444         * config/arm/t-netbsd: New file.
10445         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
10446         * config/arm/t-symbian (LIB2ADD_ST): Set.
10447         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
10448         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10449         * config/bfin/t-elf: New file.
10450         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
10451         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
10452         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
10453         config/c6x/ltf.c: New files.
10454         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
10455         (HOST_LIBGCC2_CFLAGS): Set.
10456         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
10457         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10458         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
10459         New files.
10460         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
10461         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
10462         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
10463         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
10464         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
10465         files.
10466         * config/frv/t-frv (LIB2ADD): Set.
10467         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10468         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
10469         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
10470         config/h8300/popcounthi2.c: New files.
10471         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10472         * config/i386/gthr-win32.c: New file.
10473         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
10474         * config/i386/t-cygwin: Likewise.
10475         * config/i386/t-darwin, config/i386/t-darwin64,
10476         config/i386/t-gthr-win32, config/i386/t-interix: New files.
10477         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
10478         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10479         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10480         * config/ia64/quadlib.c: New file.
10481         * config/ia64/t-hpux (LIB2ADD): Set.
10482         * config/ia64/t-ia64: Add comment.
10483         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
10484         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10485         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
10486         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
10487         * config/m32c/t-m32c (LIB2ADD): Set.
10488         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10489         * config/m32r/t-m32r: Likewise.
10490         * config/m68k/fpgnulib.c: New file.
10491         * config/m68k/t-floatlib (LIB2ADD): Set.
10492         (xfgnulib.c): New target.
10493         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
10494         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
10495         * config/mep/t-mep (LIB2ADD): Set.
10496         * config/microblaze/divsi3.asm: Rename to divsi3.S.
10497         * config/microblaze/moddi3.asm: Rename to moddi3.S.
10498         * config/microblaze/modsi3.asm: Rename to modsi3.S.
10499         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
10500         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
10501         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
10502         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
10503         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
10504         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
10505         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
10506         New files.
10507         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
10508         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
10509         * config/pa/fptr.c, config/pa/lib2funcs.S,
10510         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
10511         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10512         (LIB2ADD, LIB2ADD_ST): Set.
10513         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
10514         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
10515         Set.
10516         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
10517         * config/pdp11/t-pdp11: New file.
10518         * config/picochip/libgccExtras/adddi3.S,
10519         config/picochip/libgccExtras/ashlsi3.S,
10520         config/picochip/libgccExtras/ashrsi3.S,
10521         config/picochip/libgccExtras/clzsi2.S,
10522         config/picochip/libgccExtras/cmpsi2.S,
10523         config/picochip/libgccExtras/divmod15.S,
10524         config/picochip/libgccExtras/divmodhi4.S,
10525         config/picochip/libgccExtras/divmodsi4.S,
10526         config/picochip/libgccExtras/lshrsi3.S,
10527         config/picochip/libgccExtras/parityhi2.S,
10528         config/picochip/libgccExtras/popcounthi2.S,
10529         config/picochip/libgccExtras/subdi3.S,
10530         config/picochip/libgccExtras/ucmpsi2.S,
10531         config/picochip/libgccExtras/udivmodhi4.S,
10532         config/picochip/libgccExtras/udivmodsi4.S: New files.
10533         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
10534         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
10535         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
10536         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
10537         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
10538         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
10539         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
10540         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
10541         files.
10542         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
10543         (HOST_LIBGCC2_CFLAGS): Set.
10544         * config/rs6000/t-darwin64: New file.
10545         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
10546         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
10547         * config/rs6000/t-ppccomm (LIB2ADD): Add
10548         $(srcdir)/config/rs6000/tramp.S.
10549         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
10550         Add  $(srcdir)/config/rs6000/eabi.S.
10551         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
10552         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
10553         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
10554         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
10555         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
10556         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
10557         * config/rs6000/tramp.S: New file.
10558         * config/s390/t-tpf: Remove.
10559         * config/sh/linux-atomic.S: New file.
10560         * config/sh/t-linux (LIB2ADD): Set.
10561         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
10562         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10563         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
10564         to unwind-dw2.c.
10565         (HOST_LIBGCC2_CFLAGS): Set.
10566         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10567         * config/spu/divmodti4.c, config/spu/divv2df3.c,
10568         config/spu/float_disf.c, config/spu/float_unsdidf.c,
10569         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
10570         config/spu/mfc_multi_tag_release.c,
10571         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
10572         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
10573         config/spu/multi3.c: New files.
10574         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
10575         (HOST_LIBGCC2_CFLAGS): Set.
10576         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
10577         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
10578         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
10579         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
10580         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
10581         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
10582         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
10583         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
10584         config/stormy16/umodsi3.c: New files.
10585         * config/xtensa/lib2funcs.S: New file.
10586         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10587         * config/xtensa/t-xtensa (LIB2ADD): Set.
10588         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
10589         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
10590         Add t-freebsd-thread to tmake_file for posix threads.
10591         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
10592         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
10593         (*-*-lynxos*): Likewise.
10594         (*-*-netbsd*): Likewise.
10595         (*-*-openbsd*): Likewise.
10596         Add t-openbsd-thread to tmake_file for posix threads.
10597         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
10598         (*-*-vxworks*): Set tmake_file.
10599         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10600         (alpha*-*-freebsd*): Likewise.
10601         (alpha*-*-netbsd*): Likewise.
10602         (alpha*-*-openbsd*): Likewise.
10603         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
10604         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10605         (alpha*-dec-*vms*): Likewise.
10606         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
10607         (bfin*-elf*): Add bfin/t-elf to tmake_file.
10608         (bfin*-uclinux*): Likewise.
10609         (bfin*-linux-uclibc*): Likewise.
10610         (crisv32-*-elf): Add cris/t-cris to tmake_file.
10611         (crisv32-*-none): Likewise.
10612         (cris-*-elf): Likewise.
10613         (cris-*-none): Likewise.
10614         (cris-*-linux*, crisv32-*-linux*): Likewise.
10615         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
10616         tmake_file.
10617         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
10618         tmake_file.
10619         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
10620         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
10621         (x86_64-*-elf*): Likewise.
10622         (i[34567]86-*-nto-qnx*): Likewise.
10623         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
10624         win32 threads.
10625         (x86_64-*-mingw*): Likewise.
10626         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
10627         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
10628         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10629         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10630         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
10631         tmake_file.
10632         (mipsisa64sr71k-*-elf*): Likewise.
10633         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10634         (mips-*-elf*, mipsel-*-elf*): Likewise.
10635         (mips64-*-elf*, mips64el-*-elf*): Likewise.
10636         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10637         (mips*-*-rtems*): Likewise.
10638         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
10639         to tmake_file.
10640         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
10641         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
10642         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
10643         (spu-*-elf*): Likewise.
10644         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
10646 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10648         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
10649         $(srcdir) to refer to $(LIB1ASMSRC).
10650         Use $<.
10651         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
10652         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
10653         config/arm/lib1funcs.S: New files.
10654         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
10655         * config/arm/t-arm: New file.
10656         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
10657         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
10658         config/arm/t-strongarm-elf: New files.
10659         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
10660         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
10661         * config/avr/lib1funcs.S: New file.
10662         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10663         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
10664         * config/c6x/lib1funcs.S: New file.
10665         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10666         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
10667         * config/frv/lib1funcs.S: New file.
10668         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10669         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
10670         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
10671         * config/ia64/__divxf3.asm: Rename to ...
10672         * config/ia64/__divxf3.S: ... this.
10673         Adapt lib1funcs.asm filename.
10674         * config/ia64/_fixtfdi.asm: Rename to ...
10675         * config/ia64/_fixtfdi.S: ... this.
10676         Adapt lib1funcs.asm filename.
10677         * config/ia64/_fixunstfdi.asm: Rename to ...
10678         * config/ia64/_fixunstfdi.S: ... this.
10679         Adapt lib1funcs.asm filename.
10680         * config/ia64/_floatditf.asm: Rename to ...
10681         * config/ia64/_floatditf.S: ... this.
10682         Adapt lib1funcs.asm filename.
10683         * config/ia64/lib1funcs.S: New file.
10684         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
10685         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10686         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
10687         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
10688         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
10689         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
10690         * config/mep/lib1funcs.S: New file.
10691         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10692         * config/mips/mips16.S: New file.
10693         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10694         * config/pa/milli64.S: New file.
10695         * config/pa/t-linux, config/pa/t-linux64: New files.
10696         * config/picochip/lib1funcs.S: New file.
10697         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10698         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
10699         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
10700         * config/sh/t-netbsd: New file.
10701         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
10702         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
10703         * config/sh/t-sh64: New file.
10704         * config/sparc/lb1spc.S: New file.
10705         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
10706         filename.
10707         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
10708         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
10709         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
10710         config/xtensa/lib1funcs.S: New files.
10711         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10712         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
10713         tmake_file.
10714         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
10715         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
10716         (arm*-*-linux*): Likewise.
10717         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
10718         arm*-*-linux-*eabi, add arm/t-linux otherwise.
10719         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
10720         (arm*-*-ecos-elf): Likewise.
10721         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10722         (arm*-*-rtems*): Likewise.
10723         (arm*-*-elf): Likewise.
10724         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
10725         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
10726         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
10727         (bfin*-uclinux*): Likewise.
10728         (bfin*-linux-uclibc*): Likewise.
10729         (bfin*-rtems*): Likewise.
10730         (bfin*-*): Likewise.
10731         (fido-*-elf): Merge into m68k-*-elf*.
10732         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
10733         (frv-*-*linux*): Add frv/t-frv to tmake_file.
10734         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
10735         (h8300-*-elf*): Likewise.
10736         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
10737         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
10738         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
10739         (i[34567]86-*-mingw*): Likewise.
10740         (x86_64-*-mingw*): Likewise.
10741         (i[34567]86-*-interix3*): Likewise.
10742         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
10743         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
10744         (m68k-*-elf*): Also handle fido-*-elf.
10745         Add m68k/t-floatlib to tmake_file.
10746         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
10747         (m68k-*-linux*): Likewise.
10748         (m68k-*-rtems*): Likewise.
10749         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
10750         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
10751         sh64*-*-*.
10752         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
10753         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
10754         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
10755         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
10756         sh/t-netbsd to tmake_file.
10757         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
10758         (sh-*-rtems*): Add sh/t-sh to tmake_file.
10759         (sh-wrs-vxworks): Likewise.
10760         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
10761         *-leon[3-9]*.
10762         (v850*-*-*): Add v850/t-v850 to tmake_file.
10763         (vax-*-linux*): Add vax/t-linux to tmake_file.
10764         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
10766 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10768         * crtstuff.c: New file.
10769         * Makefile.in (CRTSTUFF_CFLAGS): Define.
10770         (CRTSTUFF_T_CFLAGS): Define.
10771         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
10772         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
10773         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
10774         crtstuff.c.
10775         Use $<.
10776         (crtbeginT.o): Use $(objext).
10777         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
10778         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
10779         (gcc-extra-parts): Remove.
10780         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
10781         Set extra_parts.
10782         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10783         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
10784         Add t-crtstuff-pic to tmake_file.
10785         (*-*-lynxos*): New case.
10786         Set tmake_file, extra_parts.
10787         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
10788         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
10789         *-*-netbsdelf[2-9]*.
10790         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
10791         (*-*-rtems*): Set extra_parts.
10792         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
10793         (*-*-uclinux*): New case.
10794         Set extra_parts.
10795         (*-*-vms*): New case.
10796         Set tmake_file, extra_parts.
10797         (*-*-elf): Set extra_parts.
10798         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
10799         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
10800         vms/t-vms64.
10801         Set extra_parts.
10802         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
10803         Set extra_parts.
10804         (arm*-*-freebsd*): Add t-crtin to tmake_file.
10805         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
10806         (arm-wrs-vxworks): Append to tmake_file.
10807         Set extra_parts.
10808         (arm*-*-uclinux*): Set extra_parts.
10809         (arm*-*-ecos-elf): Likewise.
10810         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
10811         arm*-*-eabi*.
10812         (arm*-*-rtems*): Set extra_parts.
10813         (arm*-*-elf): Likewise.
10814         (avr-*-rtems*): Clear extra_parts.
10815         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
10816         Set extra_parts.
10817         (bfin*-uclinux*): Likewise.
10818         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
10819         (bfin*-rtems*): Append to tmake_file.
10820         Set extra_parts.
10821         (bfin*-*): Likewise.
10822         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
10823         (crisv32-*-elf): ... this.
10824         (crisv32-*-none): ... this.
10825         (cris-*-elf, cris-*-none): New cases.
10826         Add cris/t-elfmulti to tmake_file.
10827         (fr30-*-elf): Append to tmake_file.
10828         Set extra_parts.
10829         (frv-*-elf): Append to tmake_file, add frv/t-frv.
10830         Set extra_parts.
10831         (h8300-*-rtems*): Append to tmake_file.
10832         Set extra_parts.
10833         (h8300-*-elf*): Likewise.
10834         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
10835         Set extra_parts.
10836         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
10837         Set extra_parts.
10838         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
10839         (x86_64-*-elf*): Likewise.
10840         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
10841         (x86_64-*-freebsd*): Likewise.
10842         (x86_64-*-netbsd*): Likewise.
10843         (i[34567]86-*-linux*): Likewise.
10844         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10845         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10846         (x86_64-*-linux*): Likewise.
10847         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10848         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
10849         tmake_file.
10850         Set extra_parts.
10851         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
10852         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
10853         Append to extra_parts, remove crtbegin.o, crtend.o.
10854         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
10855         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
10856         crtend.o, crtbeginS.o, crtendS.o.
10857         (ia64*-*-linux*): Comment extra_parts.
10858         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
10859         Set extra_parts.
10860         (iq2000*-*-elf*): Clear extra_parts.
10861         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
10862         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
10863         (m32r-*-elf*, m32r-*-rtems*): Split off ...
10864         (m32r-*-rtems*): ... this.
10865         Add m32r/t-m32r to tmake_file.
10866         (m68k-*-elf*): Add t-crtin to tmake_file.
10867         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
10868         (mcore-*-elf): Likewise.
10869         (microblaze*-*-*): Set extra_parts.
10870         (mips*-sde-elf*): New case.
10871         Set tmake_file, extra_parts.
10872         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10873         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10874         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
10875         tmake_file.
10876         Set extra_parts.
10877         (mipsisa64sr71k-*-elf*): Likewise.
10878         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10879         (mips-*-elf*, mipsel-*-elf*): Likewise.
10880         (mips64-*-elf*, mips64el-*-elf*): Likewise.
10881         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
10882         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
10883         (mips*-*-rtems*): Likewise.
10884         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
10885         (moxie-*-*): Split into ...
10886         (moxie-*-elf, moxie-*-uclinux*): ... this.
10887         Add to extra_parts, remove crtbegin.o, crtend.o.
10888         (moxie-*-rtems*): New case.
10889         Set tmake_file.
10890         Clear extra_parts.
10891         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
10892         Set extra_parts.
10893         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10894         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
10895         tmake_file.
10896         Set extra_parts.
10897         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
10898         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
10899         Set extra_parts.
10900         (powerpc-*-eabisim*): Likewise.
10901         (powerpc-*-elf*): Likewise.
10902         (powerpc-*-eabialtivec*): Likewise.
10903         (powerpc-xilinx-eabi*): Likewise.
10904         (powerpc-*-eabi*): Likewise.
10905         (powerpc-*-rtems*): Likewise.
10906         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
10907         tmake_file.
10908         Set extra_parts.
10909         (powerpc-*-lynxos*): Add to tmake_file.
10910         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
10911         rs6000/t-crtstuff, t-crtstuff-pic.
10912         Set extra_parts.
10913         (powerpcle-*-eabisim*): Likewise.
10914         (powerpcle-*-eabi*): Likewise.
10915         (rx-*-elf): Remove extra_parts.
10916         (s390x-ibm-tpf*): Set extra_parts.
10917         (score-*-elf): Set extra_parts.
10918         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10919         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10920         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10921         (sh64l*-*-netbsd*): Split into ...
10922         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
10923         Add t-crtstuff-pic to tmake_file.
10924         Set extra_parts.
10925         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
10926         Set extra_parts.
10927         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
10928         (sparc-*-elf*): Remove t-crtin from tmake_file.
10929         Add to extra_parts, remove crtbegin.o, crtend.o.
10930         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
10931         (sparc64-*-linux*): Likewise.
10932         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
10933         Add to extra_parts, remove crtbegin.o, crtend.o.
10934         (sparc64-*-elf*): Remove t-crtin from tmake_file.
10935         Add to extra_parts, remove crtbegin.o, crtend.o.
10936         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
10937         Add to extra_parts, remove crtbegin.o, crtend.o.
10938         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
10939         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
10940         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
10941         Set extra_parts.
10942         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
10943         Set extra_parts.
10944         (tic6x-*-*): Change to ...
10945         (tic6x-*-elf): ... this.
10946         Set extra_parts.
10947         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
10948         Set extra_parts.
10949         (am33_2.0-*-linux*): Add comment.
10950         (mep*-*-*): Add mep/t-mep to tmake_file.
10951         Set extra_parts.
10952         * config/alpha/t-vms: New file.
10953         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
10954         * config/arm/crti.S, config/arm/crtn.S: New files.
10955         * config/bfin/crti.S, config/bfin/crtn.S: New files.
10956         * config/bfin/crtlibid.S: New file.
10957         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
10958         * config/c6x/crti.S, config/c6x/crtn.S: New files.
10959         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
10960         (crti.o, crtin.o): New rules.
10961         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10962         * config/c6x/t-uclinux: New file.
10963         * config/cris/t-elfmulti: New file.
10964         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
10965         * config/fr30/crti.S, config/fr30/crtn.S: New files.
10966         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
10967         * config/frv/t-frv: New file.
10968         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
10969         * config/h8300/crti.S, config/h8300/crtn.S: New files.
10970         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
10971         New files.
10972         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
10973         refer to cygming-crtbegin.c, cygming-crtend.c.
10974         Use $<.
10975         * config/i386/t-nto: New file.
10976         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
10977         * config/ia64/crti.S, config/ia64/crtn.S: New files.
10978         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
10979         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
10980         Use .S extension.
10981         Use $<.
10982         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10983         (crtinitS.o): New rule.
10984         * config/ia64/vms-crtinit.S: New file.
10985         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
10986         * config/m32r/initfini.c: New file.
10987         * config/m32r/t-linux, config/m32r/t-m32r: New files.
10988         * config/m68k/crti.S, config/m68k/crtn.S: New files.
10989         * config/mcore/crti.S, config/mcore/crtn.S: New files.
10990         * config/mep/t-mep: New file.
10991         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
10992         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
10993         * config/mips/crti.S, config/mips/crtn.S: New files.
10994         * config/mips/t-crtstuff: New file.
10995         * config/mmix/crti.S, config/mmix/crtn.S: New files.
10996         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
10997         (CUSTOM_CRTIN): Set.
10998         ($(T)crti.o, $(T)crtn.o): Remove $(T),
10999         dependencies.
11000         Use $(srcdir) to refer to crti.S, crtn.S.
11001         Use .S extension, $<.
11002         * config/moxie/crti.asm: Rename to ...
11003         * config/moxie/crti.S: ... this.
11004         * config/moxie/crtn.asm: Rename to ...
11005         * config/moxie/crtn.S: ... this.
11006         * config/moxie/t-moxie: Remove.
11007         * config/pa/stublib.c: New file.
11008         * config/pa/t-stublib, config/pa/t-stublib64: New files.
11009         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
11010         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
11011         * config/rs6000/t-crtstuff: New file.
11012         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
11013         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
11014         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
11015         Make output file explicit.
11016         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
11017         Make output file explicit.
11018         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
11019         Make output file explicit.
11020         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
11021         Make output file explicit.
11022         * config/score/crti.S, config/score/crtn.S: New files.
11023         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
11024         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
11025         files.
11026         * config/sh/t-sh, config/sh/t-superh: New files.
11027         * config/sparc/t-linux64: New file.
11028         * config/spu/cache.S, config/spu/cachemgr.c: New files.
11029         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
11030         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
11031         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
11032         * config/t-crtin: Remove.
11033         * config/t-crtstuff-pic: New file.
11034         * config/t-sol2 (CUSTOM_CRTIN): Set.
11035         (crti.o, crtn.o): New rules.
11036         * config/vms/t-vms: New file.
11037         * config/vms/vms-ucrt0.c: New file.
11038         * config/xtensa/t-elf: New file.
11040 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11042         * Makefile.in (SHLIB_NM_FLAGS): Set.
11043         * mkmap-flat.awk, mkmap-symver.awk: New files.
11044         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
11045         exceptions.
11046         * configure: Regenerate.
11047         * config/libgcc-glibc.ver: New file.
11048         * config/libgcc-libsystem.ver: New file.
11049         * config/t-libunwind (SHLIB_LC): Set.
11050         * config/t-linux: New file.
11051         * config/t-slibgcc (INSTALL_SHLIB): New.
11052         (SHLIB_INSTALL): Use it.
11053         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
11054         to mkmap-symver.awk.
11055         (SHLIB_MAPFILES): Don't append, adapt pathname.
11056         (SHLIB_VERPFX): Set.
11057         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
11058         to mkmap-symver.awk.
11059         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
11060         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
11061         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
11062         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
11063         to mkmap-flat.awk.
11064         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
11065         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
11066         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
11067         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
11068         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
11069         * config/i386/libgcc-darwin.10.4.ver,
11070         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
11071         New files.
11072         * config/i386/t-darwin: Remove.
11073         * config/i386/t-darwin64: Likewise.
11074         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
11075         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
11076         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
11077         * config/i386/t-linux: New file.
11078         * config/i386/t-mingw32: New file.
11079         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
11080         * config/ia64/t-glibc: Rename to ...
11081         * config/ia64/t-linux: ... this.
11082         (SHLIB_MAPFILES): Set.
11083         * config/ia64/t-glibc-libunwind: Rename to ...
11084         * config/ia64/t-linux-libunwind: ... this.
11085         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
11086         * config/ia64/t-slibgcc-hpux: New file.
11087         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
11088         * config/m68k/t-slibgcc-elf-ver: New file.
11089         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
11090         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
11091         to mkmap-flat.awk.
11092         * config/pa/t-slibgcc-hpux: New file.
11093         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
11094         files.
11095         * config/rs6000/libgcc-darwin.10.4.ver,
11096         config/rs6000/libgcc-darwin.10.5.ver: New files.
11097         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
11098         config/rs6000/libgcc-glibc.ver.
11099         * config/rs6000/libgcc-ppc64.ver: Rename to
11100         config/rs6000/libgcc-ibm-ldouble.ver.
11101         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
11102         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
11103         * config/rs6000/t-ldbl128: Rename to ...
11104         * config/rs6000/t-linux: ... this.
11105         (SHLIB_MAPFILES): Adapt filename.
11106         * config/rs6000/t-slibgcc-aix: New file.
11107         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
11108         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
11109         libgcc-excl.ver, libgcc-glibc.ver.
11110         (SHLIB_LINK, SHLIB_INSTALL): Remove.
11111         * config/sparc/libgcc-glibc.ver: New file.
11112         * config/sparc/t-linux: New file.
11113         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
11114         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
11115         t-slibgcc-elf-ver to tmake_file.
11116         Add t-slibgcc-nolc-override to tmake_file for posix threads on
11117         *-*-freebsd[34].
11118         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11119         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
11120         t-slibgcc-elf-ver, t-linux to tmake_file.
11121         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
11122         tmake_file.
11123         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
11124         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
11125         (alpha*-dec-*vms*): Likewise.
11126         (arm*-*-freebsd*): Append to tmake_file.
11127         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
11128         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
11129         arm*-*-linux-*eabi.
11130         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
11131         tmake_file for arm*-*-symbianelf*.
11132         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
11133         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
11134         cris/t-linux.
11135         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
11136         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
11137         pa/t-slibgcc-dwarf-ver to tmake_file.
11138         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
11139         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
11140         (hppa*64*-*-hpux11*): Likewise.
11141         (hppa[12]*-*-hpux11*): Likewise.
11142         (x86_64-*-darwin*): Don't override tmake_file, but only keep
11143         i386/t-crtpc, i386/t-crtfm.
11144         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
11145         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11146         to tmake_file.
11147         Add i386/t-cygwin to tmake_file.
11148         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
11149         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
11150         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11151         to tmake_file.
11152         Add i386/t-mingw32 to tmake_file.
11153         (x86_64-*-mingw*): Likewise.
11154         (ia64*-*-freebsd*): Append to tmake_file.
11155         (ia64*-*-linux*): Append to tmake_file.
11156         Replace ia64/t-glibc by ia64/t-linux.
11157         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
11158         system libunwind.
11159         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
11160         t-slibgcc-hpux to tmake_file.
11161         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
11162         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
11163         (m32rle-*-linux*): Likewise.
11164         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
11165         sjlj exceptions.
11166         (microblaze*-linux*): New case.
11167         Append to tmake_file, add t-slibgcc-nolc-override.
11168         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
11169         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11170         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
11171         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11172         rs6000/t-slibgcc-aix to tmake_file.
11173         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11174         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11175         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11176         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11177         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11178         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
11179         sh*-*-linux*.
11180         (sparc-*-linux*): Append to tmake_file for *-leon*.
11181         Add sparc/t-linux to tmake_file for non-Leon targets.
11182         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
11183         (tic6x-*-uclinux): New case.
11184         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
11185         (tic6x-*-*): Add c6x/t-elf to tmake_file.
11186         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
11187         (am33_2.0-*-linux*): Append to tmake_file.
11188         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
11189         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
11190         x86_64-*-kfreebsd*-gnu.
11191         Add i386/t-linux to tmake_file.
11193 2011-10-28  Ian Lance Taylor  <iant@google.com>
11195         * config/i386/morestack.S: Correct CFI information to do proper
11196         returns throughout function.  In 32-bit mode, save %ebx so that it
11197         is restored on unwind.
11199 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
11201         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
11202         case where B3 isn't the return register.
11204         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
11205         logic for doubleword pops.
11207 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
11209         * config/rs6000/t-freebsd: Add wildcard.
11211 2011-10-21  Paul Brook  <paul@codesourcery.com>
11213         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
11215 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
11216             Eric Botcazou  <ebotcazou@adacore.com>
11218         PR target/50737
11219         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
11220         fs->signal_frame to 1.
11222 2011-10-07  Ian Lance Taylor  <iant@google.com>
11224         * generic-morestack-thread.c: #include <errno.h>.
11226 2011-10-07  Ian Lance Taylor  <iant@google.com>
11228         PR target/46093
11229         * generic-morestack.c (__generic_morestack): Make sure the segment
11230         is large enough for both the stack frame and the copied
11231         parameters.
11233 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11235         PR bootstrap/49804
11236         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
11237         extra_parts.
11239 2011-09-28  Nick Clifton  <nickc@redhat.com>
11241         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
11242         64-bit doubles are not enabled.
11243         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
11244         and floatunsisf functions.
11246 2011-09-13  Paul Brook  <paul@codesourcery.com>
11248         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
11249         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
11250         * unwind-arm-common.inc: New file.
11251         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
11252         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
11253         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
11254         * config/c6x/libunwind.S: New file.
11255         * config/c6x/pr-support.c: New file.
11256         * config/c6x/unwind-c6x.c: New file.
11257         * config/c6x/unwind-c6x.h: New file.
11258         * config/c6x/t-c6x-elf: New file.
11260 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
11262         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
11263         (ASM_DIVZERO): Ditto.
11264         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
11266 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
11268         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
11270 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
11272         PR target/50090
11273         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
11274         instead of an assembly one.
11276 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
11278         PR bootstrap/50047
11279         * Makefile.in (install-unwind_h): Create
11280         $(gcc_objdir)/include/unwind.h atomically.
11282 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11284         * Makefile.in (install-unwind_h): Remove destination file first.
11286 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11288         * sync.c: New file.
11289         * config/mips/t-mips16: New file.
11290         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
11291         (mips*-*-linux*): Likewise.
11292         (mips*-sde-elf*): Likewise.
11293         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
11294         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
11295         Add mips/t-mips16 to tmake_file.
11296         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
11297         (mips-*-elf*): Likewise.
11298         (mips64-*-elf*): Likewise.
11299         (mips64orion-*-elf*): Likewise.
11300         (mips*-*-rtems*): Likewise.
11301         (mipstx39-*-elf*): Likewise.
11302         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
11303         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
11304         LIBGCC_SYNC_CFLAGS.
11305         Use $(srcdir) to refer to sync.c.
11306         Use $<.
11307         ($(libgcc-sync-funcs-o)): Likewise.
11308         ($(libgcc-sync-size-funcs-s-o)): Likewise.
11309         ($(libgcc-sync-funcs-s-o)): Likewise.
11311 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
11313         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
11314         t-libunwind.
11316 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
11318         PR other/48007
11319         * config/i386/value-unwind.h: New.
11321 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
11323         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
11324         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
11325         Add to tmake_file rather than overriding it.
11327 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11329         * config/t-softfp: Remove.
11330         * soft-fp: Moved from ../gcc/config.
11331         * soft-fp/README: Remove t-softfp reference.
11332         * soft-fp/t-softfp: Move to config/t-softfp.
11333         (softfp_machine_header): Remove.
11334         (softfp_file_list): Remove config subdir.
11335         (soft-fp-objects): New variable.
11336         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
11337         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
11338         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
11339         * config/t-softfp-excl: New file.
11340         * config/t-softfp-sfdf: New file.
11341         * config/t-softfp-tf: New file.
11342         * config/no-sfp-machine.h: New file.
11343         * config/arm/sfp-machine.h: New file.
11344         * config/arm/t-softfp: New file.
11345         * config/c6x/sfp-machine.h: New file.
11346         * config/i386/32/t-fprules-softfp: Rename to ...
11347         * config/i386/32/t-softfp: ... this.
11348         (tifunctions, LIB2ADD): Remove.
11349         (softfp_int_modes): Override.
11350         * config/i386/64/t-softfp-compat (tf-functions): Remove config
11351         subdir.
11352         * config/i386/64/eqtf2.c: Likewise.
11353         * config/i386/64/getf2.c: Likewise.
11354         * config/i386/64/letf2.c: Likewise.
11355         * config/ia64/sft-machine.h: New file.
11356         * config/ia64/t-fprules-softfp: Rename to ...
11357         * config/ia64/t-softfp: ... this.
11358         * config/lm32/sfp-machine.h: New file.
11359         * config/moxie/t-moxie-softfp: Remove.
11360         * config/rs6000/ibm-ldouble-format: New file.
11361         * config/rs6000/ibm-ldouble.c: New file.
11362         * config/rs6000/libgcc-ppc-glibc.ver: New file
11363         * config/rs6000/libgcc-ppc64.ver: New file
11364         * config/rs6000/sfp-machine.h: New file.
11365         * config/rs6000/t-freebsd: New file.
11366         * config/rs6000/t-ibm-ldouble: New file.
11367         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
11368         libgcc-ppc-glibc.ver.
11369         * config/rs6000/t-linux64: New file.
11370         * config/rs6000/t-ppccomm (LIB2ADD): Add
11371         $(srcdir)/config/rs6000/ibm-ldouble.c.
11372         * config/rs6000/t-ppccomm-ldbl: New file.
11373         * config/score/sfp-machine.h: New file.
11374         * config.host (sfp_machine_header): Explain.
11375         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
11376         t-softfp to tmake_file.
11377         (arm*-*-uclinux*): Likewise.
11378         (arm*-*-ecos-elf): Likewise.
11379         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11380         (arm*-*-rtems*): Likewise.
11381         (arm*-*-elf): Likewise.
11382         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
11383         in tmake_file.
11384         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
11385         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
11386         (lm32-*-uclinux*): Likewise.
11387         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
11388         t-softfp-excl, t-softfp.
11389         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
11390         (powerpc64-*-darwin*): Likewise.
11391         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
11392         to tmake_file.
11393         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
11394         tmake_file.
11395         (powerpc-*-eabisim*): Likewise.
11396         (powerpc-*-elf*): Likewise.
11397         (powerpc-*-eabialtivec*): Likewise.
11398         (powerpc-xilinx-eabi*): Likewise.
11399         (powerpc-*-rtems*): Likewise.
11400         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
11401         t-softfp-excl, t-softfp to tmake_file.
11402         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
11403         rs6000/t-ppccomm-ldbl to tmake_file.
11404         (powerpcle-*-elf*): Likewise.
11405         (powerpcle-*-eabisim*): Likewise.
11406         (powerpcle-*-eabi*): Likewise.
11407         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11408         rs6000/t-ibm-ldouble to tmake_file.
11409         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11410         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11411         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
11412         (tic6x-*-*): Likewise.
11413         (i[34567]86-*-darwin*, x86_64-*-darwin*,
11414         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
11415         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
11416         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
11417         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
11418         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
11419         t-softfp to tmake_file.
11420         * configure.ac (sfp_machine_header): Provide default if unset.
11421         Substitute.
11422         Link sfp-machine.h to config/$sfp_machine_header.
11423         * configure: Regenerate.
11425 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11427         * Makefile.in (double_type_size, long_double_type_size): Set.
11428         Remove $(fpbit-in-libgcc) support.
11429         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
11430         (fpbit-src): New variable.
11431         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
11432         Compile with -DFLOAT $(FPBIT_CFLAGS).
11433         Use $<.
11434         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
11435         Compile with $(FPBIT_CFLAGS).
11436         Use $<.
11437         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
11438         Compile with -DFLOAT $(TPBIT_CFLAGS).
11439         Use $<.
11440         * configure.ac (double_type_size, long_double_type_size):
11441         Determine and substitute.
11442         * configure: Regenerate.
11443         * fp-bit.c, fp-bit.h: New files.
11444         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
11445         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
11446         * config/mips/t-mips: New file.
11447         * config/mips/t-sdemtk: New file.
11448         * config/rs6000/ppc64-fp.c: New file.
11449         * config/rs6000/t-darwin (LIB2ADD): Add
11450         $(srcdir)/config/rs6000/ppc64-fp.c.
11451         * config/rs6000/t-ppc64-fp: New file.
11452         * config/rx/rx-lib.h: New file.
11453         * config/rx/t-rx (FPBIT): Set to true.
11454         ($(gcc_objdir)/fp-bit.c): Remove.
11455         (DPBIT): Set to true only with -m64bit-doubles.
11456         ($(gcc_objdir)/dp-bit.c): Remove.
11457         * config/sparc/t-softfp: Remove.
11458         * config/spu/t-elf: New file.
11459         * config/t-fdpbit, config/t-fpbit: New files.
11460         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
11461         (mips*-*-*): Likewise.
11462         (arm-wrs-vxworks): Likewise.
11463         (arm*-*-freebsd*): Likewise.
11464         (avr-*-rtems*): Add t-fpbit to tmake_file.
11465         (avr-*-*): Likewise.
11466         (bfin*-elf*): Add t-fdpbit to tmake_file.
11467         (bfin*-uclinux*): Likewise.
11468         (bfin*-linux-uclibc*): Likewise.
11469         (bfin*-rtems*): New case.
11470         Add t-fdpbit to tmake_file.
11471         (bfin*-*): Add t-fdpbit to tmake_file.
11472         (crisv32-*-elf): Likewise.
11473         (cris-*-linux*): Likewise.
11474         (fr30-*-elf): Likewise.
11475         (frv-*-elf, frv-*-*linux*): Likewise.
11476         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
11477         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
11478         (m32r-*-elf*): Likewise.
11479         (m32rle-*-elf*): Likewise.
11480         (m32r-*-linux*): Likewise.
11481         (m32rle-*-linux*): Likewise.
11482         (mcore-*-elf): Add t-fdpbit to tmake_file.
11483         (microblaze*-*-*): Likewise.
11484         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
11485         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
11486         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
11487         Fix typo.
11488         Add mips/t-tpbit to tmake-file.
11489         (mips*-*-linux*): Fix typo.
11490         (mips*-sde-elf*): New case
11491         Add mips/t-sdemtk unless using newlib.
11492         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
11493         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
11494         (mn10300-*-*): Likewise.
11495         (pdp11-*-*): Likewise.
11496         (picochip-*-*): Add t-fpbit to tmake_file.
11497         (powerpc-*-eabisimaltivec*): Likewise.
11498         (powerpc-*-eabisim*): Likewise.
11499         (powerpc-*-elf*): Likewise.
11500         (powerpc-*-eabialtivec*): Likewise.
11501         (powerpc-xilinx-eabi*): New case.
11502         Add t-fdpbit to tmake_file.
11503         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
11504         (powerpc-*-rtems*): Likewise.
11505         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
11506         tmake_file.
11507         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
11508         tmake_file.
11509         (powerpc-*-lynxos*): Likewise.
11510         (powerpcle-*-elf*): Likewise.
11511         (powerpcle-*-eabisim*): Likewise.
11512         (powerpcle-*-eabi*): Likewise.
11513         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11514         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
11515         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11516         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11517         (rx-*-elf): Add t-fdpbit to tmake_file.
11518         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11519         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11520         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11521         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
11522         sh*-*-netbsd*.
11523         (sh-*-rtems*): Add t-fdpbit to tmake_file.
11524         (sh-wrs-vxworks): Likewise.
11525         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
11526         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
11527         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
11528         (sparc64-*-rtems*): ... new case.
11529         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
11530         (spu-*-elf*): Likewise.
11531         Add spu/t-elf to tmake_file.
11532         (v850*-*-*): Add t-fdpbit to tmake_file.
11533         (xstormy16-*-elf): Likewise.
11534         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
11535         (mep*-*-*): Likewise.
11537 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11539         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
11540         variables.
11541         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
11542         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
11543         (install-unwind_h): New target.
11544         (all): Depend on it.
11545         * config.host (unwind_header): New variable.
11546         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
11547         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11548         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
11549         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
11550         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
11551         Set unwind_header.
11552         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
11553         Set unwind_header.
11554         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
11555         arm*-*-eabi*.
11556         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
11557         Set unwind_header.
11558         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
11559         (ia64*-*-freebsd*): Likewise.
11560         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
11561         tmake_file.
11562         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
11563         $with_system_libunwind.
11564         (ia64*-*-hpux*): Set tmake_file.
11565         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
11566         (picochip-*-*): Set tmake_file.
11567         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
11568         md_unwind_header.
11569         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11570         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11571         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
11572         (xtensa*-*-elf*): Set tmake_file.
11573         (xtensa*-*-linux*): Likewise.
11574         * configure.ac: Include ../config/unwind_ipinfo.m4.
11575         Call GCC_CHECK_UNWIND_GETIPINFO.
11576         Link unwind.h to $unwind_header.
11577         * configure: Regenerate.
11578         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
11579         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
11580         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
11581         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
11582         * config/unwind-dw2-fde-darwin.c: New file.
11583         * config/arm/libunwind.S, config/arm/pr-support.c,
11584         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
11585         config/arm/unwind-arm.h,: New files.
11586         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
11587         config/ia64/t-eh-ia64, config/ia64/t-glibc,
11588         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
11589         config/ia64/t-vms, config/ia64/unwind-ia64.c,
11590         config/ia64/unwind-ia64.h: New files.
11591         * config/picochip/t-picochip: New file.
11592         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
11593         files.
11594         * config/rs6000/t-darwin (LIB2ADDEH): Set.
11595         * config/s390/t-tpf (LIB2ADDEH): Remove.
11596         * config/t-darwin (LIB2ADDEH): Set.
11597         * config/t-eh-dw2-dip: New file.
11598         * config/t-libunwind, config/t-libunwind-elf: New files.
11599         * config/t-sol2 (LIB2ADDEH): Remove.
11600         * config/xtensa/t-xtensa: New file.
11602 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
11604         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
11605         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
11606         long long to check rt_sigreturn syscall.
11608 2011-08-02  Alan Modra  <amodra@gmail.com>
11610         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11611         Restore for indirect call bcrtl from correct stack slot, and only
11612         if cfa+40 isn't valid.
11614 2011-08-01  Julian Brown  <julian@codesourcery.com>
11616         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
11617         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
11618         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
11620 2011-08-01  Julian Brown  <julian@codesourcery.com>
11622         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
11623         (libgcc-std.ver.in): Use above.
11624         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
11625         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
11626         throughout file.
11627         * config/t-fixedpoint-gnu-prefix: New file.
11628         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
11629         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
11630         instead of __PFX__.
11632 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
11634         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
11635         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
11636         for x86-64.  Properly check __x86_64__ and __LP64__.
11638 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
11640         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
11641         version.
11642         (_FP_WS_TYPE): Likewise.
11643         (_FP_I_TYPE): Likewise.
11645 2011-07-28  Alan Modra  <amodra@gmail.com>
11647         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11648         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
11649         in a plt call stub.  Do restore r2 if stopped on bctrl.
11651 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11653         * config.host (i[3456x]86-*-netware*): Remove.
11654         * config/i386/netware-crt0.c, config/i386/t-nwld,
11655         config/i386/t-slibgcc-nwld: Remove.
11657 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
11659         * config.host: Handle tic6x-*-*.
11660         * config/c6x/c6x-abi.h: New file.
11662 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11664         * config/i386/crtprec.c: New file.
11665         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
11666         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
11667         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
11668         (x86_64-*-darwin*): Likewise.
11669         (i[34567]86-*-solaris2*: Likewise.
11671 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11673         * config/alpha/crtfastmath.c: New file.
11674         * config/i386/crtfastmath.c: New file.
11675         * config/ia64/crtfastmath.c: New file.
11676         * config/mips/crtfastmath.c: New file.
11677         * config/sparc/crtfastmath.c: New file.
11679         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
11680         crtfastmath.c.
11681         Add -frandom-seed=gcc-crtfastmath.
11682         * config/alpha/t-crtfm: Remove.
11683         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
11684         * config/ia64/t-ia64 (crtfastmath.o): Remove.
11686         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
11687         (alpha*-dec-osf5.1*): Likewise.
11688         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
11689         Add crtfastmath.o to extra_parts.
11690         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
11691         Add crtfastmath.o to extra_parts.
11692         (x86_64-*-darwin*): Likewise.
11693         (x86_64-*-mingw*): Likewise.
11694         (ia64*-*-elf*): Add t-crtfm to tmake_file.
11695         (ia64*-*-freebsd*): Likewise.
11696         (ia64*-*-linux*): Likewise.
11697         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
11698         Add crtfastmath.o to extra_parts.
11700 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11702         * config/darwin-crt3.o: New file.
11703         * config/rs6000/darwin-crt2.c: New file.
11704         * config/t-darwin: New file.
11705         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
11706         (crt2.o): New rule.
11707         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
11708         (powerpc-*-darwin*): Add crt2.o to extra_parts.
11709         (powerpc64-*-darwin*): Likewise.
11711 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11713         * config/i386/netware-crt0.c: New file.
11714         * config/i386/t-nwld: Rename to ...
11715         * config/i386/t-slibgcc-nwld: ... this.
11716         * config/i386/t-nwld: New file.
11717         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
11718         tmake_file.
11719         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
11720         extra_parts.
11722 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11724         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
11725         i386/t-crtstuff.
11726         * configure: Regenerate.
11728 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11730         * dfp-bit.c, dfp-bit.h: New files.
11731         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
11732         variables.
11733         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
11734         ($(d64pbit-o)): Likewise.
11735         ($(d128pbit-o)): Likewise.
11736         * config/t-dfprules: New file.
11737         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
11738         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
11739         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11740         (x86_64-*-linux*): Likewise.
11741         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11742         (i[34567]86-*-cygwin*): Likewise.
11743         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
11744         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11746 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11748         * Makfile.in (LIBGCOV): New variable.
11749         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
11750         * libgcov.c: New file.
11752 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11754         * fixed-bit.c, fixed-bit.h: New files.
11755         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
11756         refer to fixed-bit.c.
11758 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
11760         * config.host (*local*): Remove.
11762 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11764         PR target/39150
11765         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
11766         like i?86-*-solaris2.1[0-9]*.
11767         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
11768         * configure.ac (i?86-*-solaris2*): Likewise.
11769         * configure: Regenerate.
11771 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
11773         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11774         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
11775         md_unwind_header by splitting out of...
11776         (i[34567]86-*-linux*): ... this.
11777         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
11778         Remove md_unwind_header by splitting out of...
11779         (x86_64-*-linux*): ... this.
11781 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
11783         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
11785 2011-06-28  Nick Clifton  <nickc@redhat.com>
11787         * config.host: Recognize all V850 variants.
11789 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
11791         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
11793 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11795         * shared-object.mk (c_flags-$o): Save c_flags.
11796         ($(base)$(objext)): Use it.
11797         ($(base)_s$(objext)): Likewise.
11799 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
11801         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
11802         * libgcc-std.ver.in (GCC_4.7.0): New section.
11804 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
11806         PR target/49313
11807         PR target/29524
11808         * config/avr/t-avr: Fix line endings.
11809         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
11810         _parityXX2.
11812 2011-06-14  Olivier Hainque  <hainque@adacore.com>
11813             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11815         * config/mips/irix6-unwind.h: New file.
11816         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
11818 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
11820         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
11821         (sparc64_fallback_frame_state): Use it.
11822         (sparc64_frob_update_context): Further adjust context.
11823         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
11824         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
11825         * config/sparc/sol2-cn.S: Likewise.
11827 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11829         * enable-execute-stack-empty.c: New file.
11830         * enable-execute-stack-mprotect.c: New file.
11831         * config/i386/enable-execute-stack-mingw32.c: New file.
11832         * config.host (enable_execute_stack): New variable.
11833         Select appropriate variants.
11834         * configure.ac: Link enable-execute-stack.c to
11835         $enable_execute_stack.
11836         * configure: Regenerate.
11837         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
11838         (lib2funcs): Remove _enable_execute_stack.
11840 2011-06-09  David S. Miller  <davem@davemloft.net>
11841             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11843         * config.host (sparc-*-linux*): Correct md_unwind_header
11844         filename.
11845         (s390x-ibm-tpf*): Fix typo.
11847 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11849         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
11850         Add crtfastmath.o to extra_parts.
11851         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
11852         mips/t-crtfm.
11853         * config/mips/t-crtfm: Remove.
11855 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
11857         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
11859 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
11861         * config.host (sh*-*-linux*): Fix typo.
11863 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11865         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
11866         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
11867         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
11868         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
11869         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
11870         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
11871         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
11872         Wrap in !__MINGW64__.
11873         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
11874         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
11875         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
11876         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
11877         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
11878         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
11879         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
11880         Wrap in !__LP64__.
11881         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
11882         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
11883         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
11884         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
11885         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
11886         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
11887         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
11888         * config/no-unwind.h: New file.
11889         * config.host (md_unwind_header): Document.
11890         Define.
11891         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
11892         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
11893         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
11894         hppa[12]*-*-hpux11*): Set md_unwind_header.
11895         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
11896         Set md_unwind_header.
11897         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
11898         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
11899         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
11900         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
11901         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
11902         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
11903         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
11904         md_unwind_header.
11905         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
11906         * configure: Regenerate.
11908 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11910         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
11911         Set tmake_file, extra_parts.
11912         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
11913         Remove O32 support.
11914         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
11915         Remove O32 support.
11916         * config/mips/t-irix6: New file.
11917         * config/mips/t-slibgcc-irix: New file.
11919 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11921         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
11922         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
11924 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11926         * configure.ac (target_thread_file): Determine thread model.
11927         * configure: Regenerate.
11928         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
11929         * config/alpha/t-alpha: New file.
11930         * config/alpha/t-crtfm: Use $<.
11931         * config/alpha/t-ieee: New file.
11932         * config/alpha/t-osf-pthread: New file.
11933         * config/alpha/t-slibgcc-osf: New file.
11934         * config/alpha/libgcc-osf5.ver: New file.
11936 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11938         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
11939         tmake_file.
11940         Add crtfastmath.o to extra_parts.
11942 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11944         * config/gmon-sol2.c: Reindent.
11945         Cleanup comments.
11946         Remove, correct casts.
11947         Use STDERR_FILENO, NULL.
11948         (BASEADDRESS): Remove.
11949         (minbrk): Remove.
11950         (errno, sbrk): Remove declarations.
11951         (monstartup) [hp300]: Remove.
11952         (mcount): Remove.
11954 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11956         * Makefile.in (cpu_type): Define.
11957         * config.host (i[34567]86-*-rtems*): Handle it.
11958         (i[34567]86-*-solaris2*): Move body ...
11959         (*-*-solaris2*): ... here.
11960         New case, generalize.
11961         (sparc-*-elf*): Handle it.
11962         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
11963         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
11964         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
11965         Fold into ...
11966         (sparc*-*-solaris2*): ... this.
11967         New case.
11968         (sparc64-*-elf*): Handle it.
11969         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
11970         Merge ../gcc/config/i386/gmon-sol2.c.
11971         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
11972         Use C comments.
11973         Merge ../gcc/config/i386/sol2-gc1.asm.
11974         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
11975         Use C comments.
11976         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
11977         Use C comments.
11978         * config/i386/t-crtfm (crtfastmath.o): Use $<.
11979         * config/i386/t-crtstuff: New file.
11980         * config/i386/t-softfp: New file.
11981         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
11982         $(T)crti.o, $(T)crtn.o): Remove.
11983         (gcrt1.o): New rule.
11984         (TARGET_LIBGCC2_CFLAGS): Remove.
11985         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
11986         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
11987         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
11988         * config/sparc/t-sol2: New file.
11989         * config/sparc/t-crtfm: Move to ...
11990         * config/t-crtfm: ... this.
11991         Use $(cpu_type), $<.
11992         * config/t-crtin: New file.
11993         * config/sparc/t-softfp: New file.
11994         * config/sparc/t-softmul: New file.
11995         * config/t-rtems: New file.
11996         * config/t-slibgcc: New file.
11997         * config/t-slibgcc-elf-ver: New file.
11998         * config/t-slibgcc-gld: New file.
11999         * config/t-slibgcc-sld: New file.
12000         * config/t-sol2: New file.
12001         * configure.ac: Include ../config/lib-ld.m4.
12002         Call AC_LIB_PROG_LD_GNU.
12003         Substitute cpu_type.
12004         * configure: Regenerate.
12006 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
12008         PR bootstrap/49173
12009         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
12010         libgcc-std.ver in the build directory.
12011         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
12012         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
12014 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
12016         * libgcc-std.ver.in: New file.
12017         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
12018         variables.
12019         (libgcc-std.ver): New rule.
12020         * config/t-gnu-prefix: New file.
12022 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12024         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
12026 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
12028         * config/i386/darwin-lib.h: New file.
12030 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
12032         * config/arm/symbian-lib.h: New.
12034 2011-05-04  Chris Demetriou  <cgd@google.com>
12036         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
12037         (__x86.get_pc_thunk.bx): ...this.
12038         (__morestack): Adjust for rename, remove undef of __i686.
12040 2011-05-03  Chris Demetriou  <cgd@google.com>
12042         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
12044 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
12046         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
12047         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
12048         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
12049         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
12050         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
12051         Remove cases.
12053 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
12055         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
12056         Adjust copyright year.
12058 2011-03-07  Ian Lance Taylor  <iant@google.com>
12060         * generic-morestack.c (__splitstack_find): Adjust returned stack
12061         pointer to include all registers pushed by __morestack.
12063 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
12065         PR target/40125
12066         * configure.ac: Call ACX_NONCANONICAL_TARGET.
12067         (toolexecdir): Calculate and AC_SUBST.
12068         (toolexeclibdir): Likewise.
12069         * Makefile.in (target_noncanonical): Import.
12070         (toolexecdir): Likewise.
12071         (toolexeclibdir): Likewise.
12072         * configure: Regenerate.
12074 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
12076         PR target/46040
12077         * config/arm/bpabi.h: Rename to...
12078         * config/arm/bpabi-lib.h: ...this.
12080 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12082         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
12083         appropriate.
12084         * configure: Regenerate.
12086 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
12088         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
12089         __FLOAT_WORD_ORDER__.
12090         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
12091         Delete.
12093 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12095         PR other/46202
12096         * Makefile.in (install-strip): New phony target.
12098 2010-11-07  Ian Lance Taylor  <iant@google.com>
12100         PR target/46089
12101         * config/i386/morestack.S (__morestack_large_model): New
12102         function.
12104 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
12106         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
12107         Delete.
12108         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
12110 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
12112         * config/arm/bpabi.h: New file.
12113         * config/frv/frv-abi.h: New file.
12115 2010-10-01  Ian Lance Taylor  <iant@google.com>
12117         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
12118         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
12120 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
12122         PR target/45858
12123         * config.host: Add the missing `$'.
12125 2010-09-30  Michael Eager  <eager@eagercon.com>
12127         * config.host: Add microblaze*-*-*.
12128         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
12129         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
12130         udivsi3.asm,umodsi3.asm}:  New.
12132 2010-09-28  Ian Lance Taylor  <iant@google.com>
12134         * configure.ac: Adjust CFI test to test assembler directly rather
12135         than checking gcc preprocessor macro.
12136         * configure: Rebuild.
12138 2010-09-27  Ian Lance Taylor  <iant@google.com>
12140         * configure.ac: Test whether assembler supports CFI directives.
12141         * config.host: Only add t-stack and i386/t-stack-i386 to
12142         tmake_file if libgcc_cv_cfi is "yes".
12143         * configure: Rebuild.
12145 2010-09-27  Ian Lance Taylor  <iant@google.com>
12147         * generic-morestack.h: New file.
12148         * generic-morestack.c: New file.
12149         * generic-morestack-thread.c: New file.
12150         * config/i386/morestack.S: New file.
12151         * config/t-stack: New file.
12152         * config/i386/t-stack-i386: New file.
12153         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
12154         i386/t-stack-i386 to tmake_file.
12156 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
12158         * Makefile.in (libgcc-extra-parts):  Check for static archives and
12159         invoke ranlib after installing them.
12160         (gcc-extra-parts): Likewise.
12161         (install-leaf): Likewise.
12163 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
12165         * configure: Regenerated.
12167 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
12169         * configure: Regenerated.
12171 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
12172             Andrew Pinski  <pinskia@gmail.com>
12174         PR target/40959
12175         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
12177 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12179         PR target/45524
12180         * configure: Regenerated.
12182 2010-09-06  Andreas Schwab  <schwab@redhat.com>
12184         * configure: Regenerate.
12186 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
12188         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
12189         64bit targets.
12190         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
12191         for 64bit targets.
12193 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
12194             Iain Sandoe  <iains@gcc.gnu.org>
12196         PR target/45476
12197         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
12198         LIB2FUNCS_EXCLUDE functions.
12200 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12202         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
12203         Include dfp.m4.
12204         * configure: Regenerate.
12206 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
12208         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
12209         i386/t-freebsd to tmake_file.
12210         * config/i386/t-freebsd: New file.
12211         * config/i386/libgcc-bsd.ver: New file.
12213 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
12215         * config.host (powerpc*-eabispe*): Set tmake_file.
12216         (powerpc*-eabi*): Likewise.
12217         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
12218         crtbeginS, crtendS, crtbeginT.
12220 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
12222         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
12223         to tmake_file.  Add crtfastmath.o to extra_parts.
12224         * config/mips/t-crtfm: New.
12226 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
12228         * config.host (sparc64-*-rtems*): New target.
12230 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12232         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12233         assembler syntax.
12235 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
12237         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
12239 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12241         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
12242         alpha-dec-osf5.0* support.
12244 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
12246         * config.host: Add lm32-*-rtems*.
12248 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12249             Uros Bizjak  <ubizjak@gmail.com>
12251         PR target/39048
12252         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
12253         like other remaining 32-bit x86 OSes.
12254         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12255         assembler syntax.
12256         * config/i386/libgcc-sol2.ver: New file.
12257         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
12259 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
12261         PR c/43553
12262         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
12263         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
12264         is used and substitute set_use_emutls.
12265         * configure: Regenerated.
12267 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
12269         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
12271 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12273         PR target/38085
12274         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
12275         MULTILIB_CFLAGS.
12276         ($(T)gcrt1.o): Likewise.
12277         ($(T)crt1.o): Likewise.
12278         ($(T)crti.o): Likewise.
12279         ($(T)crtn.o): Likewise.
12281 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12283         PR other/42980
12284         * Makefile.in (install): Use $(MAKE) string in rule, for
12285         parallel make.
12287 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
12289         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
12290         * config/mmix/t-mmix: New file.
12291         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
12293 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
12295         PR java/41991
12296         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
12297         SHLIB_MAPFILES.
12299 2010-01-04  Anthony Green  <green@moxielogic.com>
12301         * config/moxie/crti.asm, config/moxie/crtn.asm,
12302         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
12303         config/moxie/t-moxie: New files.
12304         * config.host: Add t-moxie-softfp reference.
12306 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
12308         PR other/39888
12309         * config/t-slibgcc-darwin: Fix embedded rpaths for
12310         --enable-version-specific-runtime-libs, build extension stub
12311         libs exposing features available from current libgcc_s.
12313 2009-11-11  Jon Beniston  <jon@beniston.com>
12315         * config.host: Add lm32 targets.
12316         * config/lm32: New directory.
12317         * config/lm32/libgcc_lm32.h: New file.
12318         * config/lm32/_mulsi3.c: New file.
12319         * config/lm32/_udivmodsi4.c: New file.
12320         * config/lm32/_divsi3.c: New file.
12321         * config/lm32/_modsi3.c: New file.
12322         * config/lm32/_udivsi3.c: New file.
12323         * config/lm32/_umodsi3.c: New file.
12324         * config/lm32/_lshrsi3.S: New file.
12325         * config/lm32/_ashrsi3.S: New file.
12326         * config/lm32/_ashlsi3.S: New file.
12327         * config/lm32/crti.S: New file.
12328         * config/lm32/crtn.S: New file.
12329         * config/lm32/t-lm32: New file.
12330         * config/lm32/t-elf: New file.
12331         * config/lm32/t-uclinux: New file.
12333 2009-10-26  Nick Clifton  <nickc@redhat.com>
12335         * config.host: Add support for RX target.
12336         * config/rx: New directory.
12337         * config/rx/rx-abi-functions.c: New file. Supplementary
12338         functions for libgcc to support the RX ABI.
12339         * config/rx/rx-abi.h: New file.  Supplementary header file for
12340         libgcc RX ABI functions.
12341         * config/rx/t-rx: New file: Makefile fragment for building
12342         libgcc for the RX.
12344 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
12346         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
12347         constraint of y0 to "g".
12349 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12351         * config.host: Include the s390 makefile fragments.
12352         * config/s390/32/_fixdfdi.c: New file.
12353         * config/s390/32/_fixsfdi.c: New file.
12354         * config/s390/32/_fixtfdi.c: New file.
12355         * config/s390/32/_fixunsdfdi.c: New file.
12356         * config/s390/32/_fixunssfdi.c: New file.
12357         * config/s390/32/_fixunstfdi.c: New file.
12358         * config/s390/32/t-floattodi: New file.
12359         * config/s390/libgcc-glibc.ver: New file.
12360         * config/s390/t-crtstuff: New file.
12361         * config/s390/t-linux: New file.
12362         * config/s390/t-tpf: New file.
12364 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12366         * configure.ac (AC_PREREQ): Bump to 2.64.
12368 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
12370         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
12372 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12374         * configure: Regenerate.
12376 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
12378         * config.host (ia64-hp-*vms*): New target.
12379         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
12380         with ia64-hp-*vms*.
12382 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12384         * configure.ac: Add snippet for maintainer-mode.
12385         * configure: Regenerate.
12386         * Makefile.in (AUTOCONF, configure_deps): New variables.
12387         ($(srcdir)/configure)): New rule, active only with maintainer
12388         mode turned on.
12390 2009-06-23  DJ Delorie  <dj@redhat.com>
12392         Add MeP port.
12393         * config.host: Add mep support.
12395 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
12397         * config.host: Add i386/${host_address}/t-fprules-softfp and
12398         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
12400         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
12401         for mingw targets.
12402         * config/i386/64/_multc3.c: Likewise.
12403         * config/i386/64/_powitf2.c: Likewise.
12404         * config/i386/64/eqtf2.c: Likewise.
12405         * config/i386/64/getf2.c: Likewise.
12406         * config/i386/64/letf2.c: Likewise.
12407         * config/i386/64/letf2.c: Likewise.
12408         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
12409         unsigned long long for x64 mingw targets.
12410         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
12411         (_FP_I_TYPE): Define as long long for x64 mingw target.
12413 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
12415         * config.host (vax-*-linux*): New.
12417 2009-05-31  Anthony Green  <green@moxielogic.com>
12419         * config.host: Add moxie support.
12420         * config/moxie/t-moxie: New file.
12422 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
12424         * config.host: Add i386/${host_address}/t-fprules-softfp and
12425         t-softfp to tmake_file for i[34567]86-*-cygwin*.
12427 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
12429         * config.host: Add i386/${host_address}/t-fprules-softfp to
12430         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
12432 2009-04-09  Nick Clifton  <nickc@redhat.com>
12434         * config/ia64/tf-signs.c: Change copyright header to refer to
12435         version 3 of the GNU General Public License with version 3.1
12436         of the GCC Runtime Library Exception and to point readers at
12437         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
12438         web page.
12439         * config/i386/32/tf-signs.c: Likewise.
12440         * config/libbid/_addsub_dd.c: Likewise.
12441         * config/libbid/_addsub_sd.c: Likewise.
12442         * config/libbid/_addsub_td.c: Likewise.
12443         * config/libbid/_dd_to_df.c: Likewise.
12444         * config/libbid/_dd_to_di.c: Likewise.
12445         * config/libbid/_dd_to_sd.c: Likewise.
12446         * config/libbid/_dd_to_sf.c: Likewise.
12447         * config/libbid/_dd_to_si.c: Likewise.
12448         * config/libbid/_dd_to_td.c: Likewise.
12449         * config/libbid/_dd_to_tf.c: Likewise.
12450         * config/libbid/_dd_to_udi.c: Likewise.
12451         * config/libbid/_dd_to_usi.c: Likewise.
12452         * config/libbid/_dd_to_xf.c: Likewise.
12453         * config/libbid/_df_to_dd.c: Likewise.
12454         * config/libbid/_df_to_sd.c: Likewise.
12455         * config/libbid/_df_to_td.c: Likewise.
12456         * config/libbid/_di_to_dd.c: Likewise.
12457         * config/libbid/_di_to_sd.c: Likewise.
12458         * config/libbid/_di_to_td.c: Likewise.
12459         * config/libbid/_div_dd.c: Likewise.
12460         * config/libbid/_div_sd.c: Likewise.
12461         * config/libbid/_div_td.c: Likewise.
12462         * config/libbid/_eq_dd.c: Likewise.
12463         * config/libbid/_eq_sd.c: Likewise.
12464         * config/libbid/_eq_td.c: Likewise.
12465         * config/libbid/_ge_dd.c: Likewise.
12466         * config/libbid/_ge_sd.c: Likewise.
12467         * config/libbid/_ge_td.c: Likewise.
12468         * config/libbid/_gt_dd.c: Likewise.
12469         * config/libbid/_gt_sd.c: Likewise.
12470         * config/libbid/_gt_td.c: Likewise.
12471         * config/libbid/_isinfd128.c: Likewise.
12472         * config/libbid/_isinfd32.c: Likewise.
12473         * config/libbid/_isinfd64.c: Likewise.
12474         * config/libbid/_le_dd.c: Likewise.
12475         * config/libbid/_le_sd.c: Likewise.
12476         * config/libbid/_le_td.c: Likewise.
12477         * config/libbid/_lt_dd.c: Likewise.
12478         * config/libbid/_lt_sd.c: Likewise.
12479         * config/libbid/_lt_td.c: Likewise.
12480         * config/libbid/_mul_dd.c: Likewise.
12481         * config/libbid/_mul_sd.c: Likewise.
12482         * config/libbid/_mul_td.c: Likewise.
12483         * config/libbid/_ne_dd.c: Likewise.
12484         * config/libbid/_ne_sd.c: Likewise.
12485         * config/libbid/_ne_td.c: Likewise.
12486         * config/libbid/_sd_to_dd.c: Likewise.
12487         * config/libbid/_sd_to_df.c: Likewise.
12488         * config/libbid/_sd_to_di.c: Likewise.
12489         * config/libbid/_sd_to_sf.c: Likewise.
12490         * config/libbid/_sd_to_si.c: Likewise.
12491         * config/libbid/_sd_to_td.c: Likewise.
12492         * config/libbid/_sd_to_tf.c: Likewise.
12493         * config/libbid/_sd_to_udi.c: Likewise.
12494         * config/libbid/_sd_to_usi.c: Likewise.
12495         * config/libbid/_sd_to_xf.c: Likewise.
12496         * config/libbid/_sf_to_dd.c: Likewise.
12497         * config/libbid/_sf_to_sd.c: Likewise.
12498         * config/libbid/_sf_to_td.c: Likewise.
12499         * config/libbid/_si_to_dd.c: Likewise.
12500         * config/libbid/_si_to_sd.c: Likewise.
12501         * config/libbid/_si_to_td.c: Likewise.
12502         * config/libbid/_td_to_dd.c: Likewise.
12503         * config/libbid/_td_to_df.c: Likewise.
12504         * config/libbid/_td_to_di.c: Likewise.
12505         * config/libbid/_td_to_sd.c: Likewise.
12506         * config/libbid/_td_to_sf.c: Likewise.
12507         * config/libbid/_td_to_si.c: Likewise.
12508         * config/libbid/_td_to_tf.c: Likewise.
12509         * config/libbid/_td_to_udi.c: Likewise.
12510         * config/libbid/_td_to_usi.c: Likewise.
12511         * config/libbid/_td_to_xf.c: Likewise.
12512         * config/libbid/_tf_to_dd.c: Likewise.
12513         * config/libbid/_tf_to_sd.c: Likewise.
12514         * config/libbid/_tf_to_td.c: Likewise.
12515         * config/libbid/_udi_to_dd.c: Likewise.
12516         * config/libbid/_udi_to_sd.c: Likewise.
12517         * config/libbid/_udi_to_td.c: Likewise.
12518         * config/libbid/_unord_dd.c: Likewise.
12519         * config/libbid/_unord_sd.c: Likewise.
12520         * config/libbid/_unord_td.c: Likewise.
12521         * config/libbid/_usi_to_dd.c: Likewise.
12522         * config/libbid/_usi_to_sd.c: Likewise.
12523         * config/libbid/_usi_to_td.c: Likewise.
12524         * config/libbid/_xf_to_dd.c: Likewise.
12525         * config/libbid/_xf_to_sd.c: Likewise.
12526         * config/libbid/_xf_to_td.c: Likewise.
12527         * config/libbid/bid128.c: Likewise.
12528         * config/libbid/bid128_2_str.h: Likewise.
12529         * config/libbid/bid128_2_str_macros.h: Likewise.
12530         * config/libbid/bid128_2_str_tables.c: Likewise.
12531         * config/libbid/bid128_add.c: Likewise.
12532         * config/libbid/bid128_compare.c: Likewise.
12533         * config/libbid/bid128_div.c: Likewise.
12534         * config/libbid/bid128_fma.c: Likewise.
12535         * config/libbid/bid128_logb.c: Likewise.
12536         * config/libbid/bid128_minmax.c: Likewise.
12537         * config/libbid/bid128_mul.c: Likewise.
12538         * config/libbid/bid128_next.c: Likewise.
12539         * config/libbid/bid128_noncomp.c: Likewise.
12540         * config/libbid/bid128_quantize.c: Likewise.
12541         * config/libbid/bid128_rem.c: Likewise.
12542         * config/libbid/bid128_round_integral.c: Likewise.
12543         * config/libbid/bid128_scalb.c: Likewise.
12544         * config/libbid/bid128_sqrt.c: Likewise.
12545         * config/libbid/bid128_string.c: Likewise.
12546         * config/libbid/bid128_to_int16.c: Likewise.
12547         * config/libbid/bid128_to_int32.c: Likewise.
12548         * config/libbid/bid128_to_int64.c: Likewise.
12549         * config/libbid/bid128_to_int8.c: Likewise.
12550         * config/libbid/bid128_to_uint16.c: Likewise.
12551         * config/libbid/bid128_to_uint32.c: Likewise.
12552         * config/libbid/bid128_to_uint64.c: Likewise.
12553         * config/libbid/bid128_to_uint8.c: Likewise.
12554         * config/libbid/bid32_to_bid128.c: Likewise.
12555         * config/libbid/bid32_to_bid64.c: Likewise.
12556         * config/libbid/bid64_add.c: Likewise.
12557         * config/libbid/bid64_compare.c: Likewise.
12558         * config/libbid/bid64_div.c: Likewise.
12559         * config/libbid/bid64_fma.c: Likewise.
12560         * config/libbid/bid64_logb.c: Likewise.
12561         * config/libbid/bid64_minmax.c: Likewise.
12562         * config/libbid/bid64_mul.c: Likewise.
12563         * config/libbid/bid64_next.c: Likewise.
12564         * config/libbid/bid64_noncomp.c: Likewise.
12565         * config/libbid/bid64_quantize.c: Likewise.
12566         * config/libbid/bid64_rem.c: Likewise.
12567         * config/libbid/bid64_round_integral.c: Likewise.
12568         * config/libbid/bid64_scalb.c: Likewise.
12569         * config/libbid/bid64_sqrt.c: Likewise.
12570         * config/libbid/bid64_string.c: Likewise.
12571         * config/libbid/bid64_to_bid128.c: Likewise.
12572         * config/libbid/bid64_to_int16.c: Likewise.
12573         * config/libbid/bid64_to_int32.c: Likewise.
12574         * config/libbid/bid64_to_int64.c: Likewise.
12575         * config/libbid/bid64_to_int8.c: Likewise.
12576         * config/libbid/bid64_to_uint16.c: Likewise.
12577         * config/libbid/bid64_to_uint32.c: Likewise.
12578         * config/libbid/bid64_to_uint64.c: Likewise.
12579         * config/libbid/bid64_to_uint8.c: Likewise.
12580         * config/libbid/bid_b2d.h: Likewise.
12581         * config/libbid/bid_binarydecimal.c: Likewise.
12582         * config/libbid/bid_conf.h: Likewise.
12583         * config/libbid/bid_convert_data.c: Likewise.
12584         * config/libbid/bid_decimal_data.c: Likewise.
12585         * config/libbid/bid_decimal_globals.c: Likewise.
12586         * config/libbid/bid_div_macros.h: Likewise.
12587         * config/libbid/bid_dpd.c: Likewise.
12588         * config/libbid/bid_flag_operations.c: Likewise.
12589         * config/libbid/bid_from_int.c: Likewise.
12590         * config/libbid/bid_functions.h: Likewise.
12591         * config/libbid/bid_gcc_intrinsics.h: Likewise.
12592         * config/libbid/bid_inline_add.h: Likewise.
12593         * config/libbid/bid_internal.h: Likewise.
12594         * config/libbid/bid_round.c: Likewise.
12595         * config/libbid/bid_sqrt_macros.h: Likewise.
12597 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
12599         * Makefile.in: Change copyright header to refer to version
12600         3 of the GNU General Public License and to point readers at the
12601         COPYING3 file and the FSF's license web page.
12602         * config.host: Likewise.
12604 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
12606         * config.host: Reorder and merge to match config.gcc change.
12608 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
12610         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
12612 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
12614         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
12615         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
12616         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
12617         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
12619 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
12621         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
12622         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12624 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
12626         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
12627         ia64/t-softfp-compat to tmake_file.
12629         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
12631         * config/ia64/__divxf3.asm: New.
12632         * config/ia64/_fixtfdi.asm: Likewise.
12633         * config/ia64/_fixunstfdi.asm: Likewise.
12634         * config/ia64/_floatditf.asm: Likewise.
12635         * config/ia64/t-fprules-softfp: Likewise.
12636         * config/ia64/t-softfp-compat: Likewise.
12637         * config/ia64/tf-signs.c: Likewise.
12639 2009-01-18  Ben Elliston  <bje@au.ibm.com>
12641         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12643 2009-01-16  Ben Elliston  <bje@au.ibm.com>
12645         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
12646         to tmake_file.
12648 2009-01-13  Ben Elliston  <bje@au.ibm.com>
12650         * config/t-softfp: New file.
12651         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
12652         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
12654 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
12656         * config.host: Add m32r*-*-rtems*.
12658 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
12660         * config.host: Add m32c*-*-rtems*.
12662 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12664         PR bootstrap/33100
12665         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
12666         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
12667         * configure: Regenerate.
12668         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
12669         tmake_file here from gcc/config.gcc.
12670         Move extra_parts here from gcc/config.gcc.
12671         * config/i386/t-sol2: Move here from gcc/config/i386.
12672         Use gcc_srcdir instead of srcdir.
12674 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
12676         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
12677         case.
12679 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
12681         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
12683 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
12685         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
12687 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
12689         Add picoChip port.
12690         * config.host: Add picochip-*-*.
12692 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
12694         * config.host: Match more processor names for Xtensa.
12696 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
12698         * config/i386/64/t-softfp-compat: Update comments.
12700 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
12702         * config/i386/64/_divtc3-compat.c: Moved to ...
12703         * config/i386/64/_divtc3.c: Here.
12705         * config/i386/64/_multc3-compat.c: Moved to ...
12706         * config/i386/64/_multc3.c: Here.
12708         * config/i386/64/_powitf2-compat.c: Moved to ...
12709         * config/i386/64/_powitf2.c: Here.
12711         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
12712         .c suffix instead of -compat.c.
12714 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
12716         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
12717         (_FP_MUL_MEAT_D): Ditto.
12718         (_FP_DIV_MEAT_S): Ditto.
12719         (_FP_DIV_MEAT_D): Ditto.
12721 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
12723         * Makefile.in: Add support for __sync_* libgcc functions.
12725 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
12727         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
12729 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12731         PR boostrap/36702
12732         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
12733         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
12735         * config/i386/64/t-fprules-softfp: Moved to ...
12736         * config/i386/64/t-softfp-compat: This.  New.
12738 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
12740         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
12741         Initialize f with 0.0.
12743 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12745         PR target/36669
12746         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
12748         * config/i386/64/_divtc3-compat.c: New.
12749         * config/i386/64/_multc3-compat.c: Likewise.
12750         * config/i386/64/_powitf2-compat.c: Likewise.
12751         * config/i386/64/eqtf2.c: Likewise.
12752         * config/i386/64/getf2.c: Likewise.
12753         * config/i386/64/letf2.c: Likewise.
12754         * config/i386/64/t-fprules-softfp: Likewise.
12756 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12758         * config.host: Add i386/${host_address}/t-fprules-softfp to
12759         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
12760         i[34567]86-*-linux*, x86_64-*-linux*.
12762         * configure.ac: Set host_address to 64 or 32 for x86.
12763         * configure: Regenerated.
12765         * Makefile.in (config.status): Also depend on
12766         $(srcdir)/config.host.
12768         * config/i386/32/t-fprules-softfp: New.
12769         * config/i386/32/tf-signs.c: Likewise.
12771         * config/i386/64/sfp-machine.h: New. Moved from gcc.
12773 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12774             Uros Bizjak  <ubizjak@gmail.com>
12776         * config/i386/32/sfp-machine.h: New.
12778 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
12780         * config/rs6000/t-ppccomm: Remove rules that conflict with
12781         auto-generated rules.
12783 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12785         * configure.ac: sinclude override.m4.
12786         * configure: Regenerate.
12788 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
12790         * configure: Regenerate.
12792 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
12794         * Makefile.in (DECNUMINC): Remove
12795         -I$(MULTIBUILDTOP)../../libdecnumber.
12796         * gstdint.h: New.
12798 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
12800         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
12801         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
12802         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
12803         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
12804         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
12805         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
12806         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
12807         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
12808         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
12809         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
12810         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
12811         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
12812         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
12813         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
12815 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
12817         * config.host (sh2[lbe]*-*-linux*): Allow target.
12819 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
12821         * config/rs6000/t-ppccomm: Add build rules for new files.
12822         (LIB2ADD_ST): New variable.
12824 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
12826         PR target/34210
12827         PR target/35508
12828         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
12829         * config/t-avr: New file. Build 16bit libgcc functions.
12831 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
12833         PR target/35401
12834         * config/t-slibgcc-darwin: Make install-leaf dependent on
12835         install-darwin-libgcc-stubs instead of install.
12837 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
12839         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
12840         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
12841         sh-*-rtemscoff*): Remove cases.
12843 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
12845         * Makefile.in (all): Use install-leaf rather than install.
12846         (install): Split most of the rule into...
12847         (install-leaf): ...this new one.
12849 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
12850             Paolo Bonzini  <bonzini@gnu.org>
12852         PR target/30572
12853         * Makefile.in: Use @shlib_slibdir@ substitution to get
12854         correct install name on darwin.
12855         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
12857 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
12859         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
12860         cris-*-elf and cris-*-none.
12861         (crisv32-*-linux*): Similar, as cris-*-linux*.
12863 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
12865         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
12867 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
12869         PR regression/33926
12870         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
12871         * configure: Regenerated.
12873 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
12875         * Makefile.in (dfp-filenames): Replace decimal_globals,
12876         decimal_data, binarydecimal and convert_data with
12877         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
12878         and bid_convert_data, respectively.
12880 2007-09-17  Chao-ying Fu  <fu@mips.com>
12881             Nigel Stephens  <nigel@mips.com>
12883         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
12884         * Makefile.in (fixed_point): Define.
12885         Check if fixed_point is yes to build support functions.
12886         * configure.ac: Check for fixed_point support.
12887         * configure: Regenerated.
12888         * gen-fixed.sh: New file to generate lists of fixed-point labels,
12889         funcs, modes, from, to.
12891 2007-09-11  Janis Johnson  <janis187@us.ibm.com
12893         * Makefile.in (dfp-filenames): Add bid128_noncomp.
12895 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
12897         * Makefile.in (dfp-filenames): Remove decUtility, add
12898         decDouble, decPacked, decQuad, decSingle.
12900 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
12902         * config.host : Add x86_64-elf target.
12904 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
12906         * configure.ac (set_have_cc_tls): Add a missing =.
12907         * configure: Regenerated.
12909 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
12911         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
12912         and x86_64-*-linux*.
12914         * config/t-tls: New file.
12916         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
12918         * configure.ac: Include ../config/enable.m4 and
12919         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
12920         supports TLS and substitute set_have_cc_tls.
12921         * configure: Regenerated.
12923 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
12925         * Makefile.in: Use libbid for DFP when BID is enabled.
12927 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
12929         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
12930         extra_parts. Add config/i386/t-cygming to tmake_file.
12931         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
12933 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
12934             Danny Smith  <dannysmith@users.sourceforge.net>
12936         PR target/29498
12937         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
12938         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
12939         * config/i386/t-crtfm: Compile crtfastmath.o with
12940         -minline-all-stringops.
12942 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
12944         * config.host (sparc-wrs-vxworks): New target.
12946 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
12948         * config.host: Recognize fido.
12950 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
12952         * configure: Check host, not target, for decimal float support.
12954 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
12956         * config/i386/t-crtpc: New file.
12957         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
12958         (x86_64-*-linux*): Ditto.
12960 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
12962         * config.host (x86_64-*-mingw*): New target.
12964 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
12965             H.J. Lu  <hongjiu.lu@intel.com>
12967         * Makefile.in (enable_decimal_float): New.
12968         (DECNUMINC): Add
12969         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
12970         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
12971         (decbits-filenames): This.
12972         (decbits-objects): New.
12973         (libgcc-objects): Add $(decbits-objects).
12975         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
12976         Substitute enable_decimal_float.
12977         * configure: Regenerated.
12979 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
12981         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
12983 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
12985         * Makefile.in (install-info): New dummy target.
12987 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
12989         * config.host (bfin*-linux-uclibc*): Set extra_parts.
12991 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
12993         * Makefile.in: Add install-html and install-pdf dummy
12994         targets.
12996 2007-02-05  Roger Sayle  <roger@eyesopen.com>
12997             Daniel Jacobowitz  <dan@codesourcery.com>
12999         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
13000         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
13001         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
13003 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
13005         * Makefile.in (dec-filenames): Add decExcept.
13007 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
13009         PR bootstrap/30469
13010         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
13011         -fprofile-use.
13013 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
13015         * configure.ac: Add --enable-version-specific-runtime-libs.
13016         Correct $slibdir default.
13017         * configure: Regenerated.
13019 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
13021         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
13023 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
13025         PR target/30519
13026         * config.host (alpha*-*-linux*): Set extra_parts.
13028 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
13030         * config/sh/t-linux: New.
13031         * config.host (sh*-*-linux*): Set tmake_file.
13033 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
13035         * Makefile.in (install): Handle multilibs.
13037 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
13039         * Makefile.in: Added .PHONY entry for documentation targets.
13041 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
13043         * Makefile.in: Add empty info, html, dvi, pdf targets.
13045 2007-01-04  Mike Stump  <mrs@apple.com>
13047         * Makefile.in (MAKEINFO): Remove.
13048         (PERL): Likewise.
13050 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
13052         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
13053         * configure: Regenerate.
13054         * Makefile.in (host_subdir): Substitute it.
13055         (gcc_objdir): Use it.
13057 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
13059         * config.host (ia64*-*-linux*): Set tmake_file.
13061 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
13063         * Makefile.in (version): Define.
13065 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
13066             Paolo Bonzini  <bonzini@gnu.org>
13068         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
13069         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
13070         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
13071         config/sparc/t-crtfm, config/t-slibgcc-darwin,
13072         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
13073         shared-object.mk, siditi-object.mk, static-object.mk: New files.
13074         * configure: Generated.
13076 Copyright (C) 2007-2023 Free Software Foundation, Inc.
13078 Copying and distribution of this file, with or without modification,
13079 are permitted in any medium without royalty provided the copyright
13080 notice and this notice are preserved.