c++: fix cxx_print_type's template-info dumping
[official-gcc.git] / libgcc / ChangeLog
blob25561ad0f7be9b3e89b2773ef23e05afc68e8cc8
1 2023-09-06  Jakub Jelinek  <jakub@redhat.com>
3         PR c/102989
4         * libgcc2.c (bitint_negate): Add function comment.
5         * soft-fp/bitint.h (bitint_negate): Add function comment.
6         (FP_TO_BITINT, FP_FROM_BITINT): Add comment explaining the macros.
8 2023-09-06  Jakub Jelinek  <jakub@redhat.com>
10         PR c/102989
11         * config/aarch64/t-softfp (softfp_extras): Use += rather than :=.
12         * config/i386/64/t-softfp (softfp_extras): Likewise.
13         * config/i386/libgcc-glibc.ver (GCC_14.0.0): Export _BitInt support
14         routines.
15         * config/i386/t-softfp (softfp_extras): Add fixxfbitint and
16         bf, hf and xf mode floatbitint.
17         (CFLAGS-floatbitintbf.c, CFLAGS-floatbitinthf.c): Add -msse2.
18         * config/riscv/t-softfp32 (softfp_extras): Use += rather than :=.
19         * config/rs6000/t-e500v1-fp (softfp_extras): Likewise.
20         * config/rs6000/t-e500v2-fp (softfp_extras): Likewise.
21         * config/t-softfp (softfp_floatbitint_funcs): New.
22         (softfp_bid_list): New.
23         (softfp_func_list): Add sf and df mode from and to _BitInt libcalls.
24         (softfp_bid_file_list): New.
25         (LIB2ADD_ST): Add $(softfp_bid_file_list).
26         * config/t-softfp-sfdftf (softfp_extras): Add fixtfbitint and
27         floatbitinttf.
28         * config/t-softfp-tf (softfp_extras): Likewise.
29         * libgcc2.c (bitint_reduce_prec): New inline function.
30         (BITINT_INC, BITINT_END): Define.
31         (bitint_mul_1, bitint_addmul_1): New helper functions.
32         (__mulbitint3): New function.
33         (bitint_negate, bitint_submul_1): New helper functions.
34         (__divmodbitint4): New function.
35         * libgcc2.h (LIBGCC2_UNITS_PER_WORD): When building _BitInt support
36         libcalls, redefine depending on __LIBGCC_BITINT_LIMB_WIDTH__.
37         (__mulbitint3, __divmodbitint4): Declare.
38         * libgcc-std.ver.in (GCC_14.0.0): Export _BitInt support routines.
39         * Makefile.in (lib2funcs): Add _mulbitint3.
40         (LIB2_DIVMOD_FUNCS): Add _divmodbitint4.
41         * soft-fp/bitint.h: New file.
42         * soft-fp/fixdfbitint.c: New file.
43         * soft-fp/fixsfbitint.c: New file.
44         * soft-fp/fixtfbitint.c: New file.
45         * soft-fp/fixxfbitint.c: New file.
46         * soft-fp/floatbitintbf.c: New file.
47         * soft-fp/floatbitintdf.c: New file.
48         * soft-fp/floatbitinthf.c: New file.
49         * soft-fp/floatbitintsf.c: New file.
50         * soft-fp/floatbitinttf.c: New file.
51         * soft-fp/floatbitintxf.c: New file.
52         * soft-fp/op-common.h (_FP_FROM_INT): Add support for rsize up to
53         4 * _FP_W_TYPE_SIZE rather than just 2 * _FP_W_TYPE_SIZE.
54         * soft-fp/bitintpow10.c: New file.
55         * soft-fp/fixsdbitint.c: New file.
56         * soft-fp/fixddbitint.c: New file.
57         * soft-fp/fixtdbitint.c: New file.
58         * soft-fp/floatbitintsd.c: New file.
59         * soft-fp/floatbitintdd.c: New file.
60         * soft-fp/floatbitinttd.c: New file.
62 2023-09-06  Jakub Jelinek  <jakub@redhat.com>
64         PR c/102989
65         * soft-fp/bitintpow10.h: New file.
67 2023-09-05  Yang Yujie  <yangyujie@loongson.cn>
69         * config.host: add loongarch*-elf target.
71 2023-08-11  Thomas Neumann  <thomas.neumann@in.tum.de>
73         PR libgcc/110956
74         * unwind-dw2-fde.c: Associate object with address of unwinding
75         table.
77 2023-08-07  John Ericson  <git@JohnEricson.me>
79         * configure: Regenerate.
81 2023-08-07  Alan Modra  <amodra@gmail.com>
83         * configure: Regenerate.
85 2023-07-23  Andrew Pinski  <apinski@marvell.com>
87         * config.host (riscv*-*-linux*): Add t-crtstuff to tmake_file.
88         (riscv*-*-freebsd*): Likewise.
89         * config/riscv/t-crtstuff: New file.
91 2023-07-19  liuhongt  <hongtao.liu@intel.com>
93         * config/i386/t-softfp: Add -msse2 to libbid HFtype related
94         files.
96 2023-07-11  Florian Weimer  <fweimer@redhat.com>
98         PR libgcc/110179
99         * unwind-dw2-fde-dip.c (find_fde_tail): Add cast to avoid
100         implicit conversion of pointer value to integer.
102 2023-07-06  Kito Cheng  <kito.cheng@sifive.com>
104         * config/riscv/sfp-machine.h (FP_INIT_ROUNDMODE): Check zfinx.
105         (FP_HANDLE_EXCEPTIONS): Ditto.
107 2023-06-19  Andrew Stubbs  <ams@codesourcery.com>
109         * config/gcn/lib2-divmod-di.c: Reimplement like lib2-divmod.c.
110         * config/gcn/lib2-divmod.c: Likewise.
111         * config/gcn/lib2-gcn.h: Add new types and prototypes for all the
112         new vector libfuncs.
113         * config/gcn/t-amdgcn: Add new files.
114         * config/gcn/amdgcn_veclib.h: New file.
115         * config/gcn/lib2-vec_divmod-di.c: New file.
116         * config/gcn/lib2-vec_divmod-hi.c: New file.
117         * config/gcn/lib2-vec_divmod-qi.c: New file.
118         * config/gcn/lib2-vec_divmod.c: New file.
120 2023-06-19  Andrew Stubbs  <ams@codesourcery.com>
122         * config/gcn/lib2-gcn.h (QItype, UQItype, HItype, UHItype): Delete.
123         (__divhi3, __modhi3, __udivhi3, __umodhi3): Delete.
124         * config/gcn/t-amdgcn: Don't build lib2-divmod-hi.c.
125         * config/gcn/lib2-divmod-hi.c: Removed.
127 2023-06-07  Florian Weimer  <fweimer@redhat.com>
129         PR libgcc/109712
130         * unwind-dw2-fde-dip.c (find_fde_tail): Correct fast path for
131         parsing eh_frame.
133 2023-06-05  Kewen Lin  <linkw@linux.ibm.com>
135         * config/i386/morestack.S: Use @init_array rather than
136         @progbits for section type of section .init_array.
137         * config/rs6000/morestack.S: Likewise.
138         * config/s390/morestack.S: Likewise.
140 2023-06-05  YunQiang Su  <yunqiang.su@cipunited.com>
142         * config/mips/lib1funcs.S: New file.
143         define __speculation_barrier and include mips16.S.
144         * config/mips/t-mips: define LIB1ASMSRC as mips/lib1funcs.S.
145         define LIB1ASMFUNCS as _speculation_barrier.
146         set version info for __speculation_barrier.
147         * config/mips/libgcc-mips.ver: New file.
148         * config/mips/t-mips16: don't define LIB1ASMSRC as mips16.S
149         included in lib1funcs.S now.
151 2023-06-03  Thomas Neumann  <tneumann@users.sourceforge.net>
153         PR libgcc/109670
154         * unwind-dw2-fde.c: Fix radix sort buffer management.
156 2023-06-03  Thomas Neumann  <tneumann@users.sourceforge.net>
158         PR libgcc/109685
159         * unwind-dw2-fde.c: Free sort array in atomic fast path.
161 2023-05-19  Iain Sandoe  <iain@sandoe.co.uk>
163         * config.host: Arrange to set min Darwin OS versions from
164         the configured host version.
165         * config/darwin10-unwind-find-enc-func.c: Do not use current
166         headers, but declare the nexessary structures locally to the
167         versions in use for Mac OSX 10.6.
168         * config/t-darwin: Amend to handle configured min OS
169         versions.
170         * config/t-darwin-min-1: New.
171         * config/t-darwin-min-5: New.
172         * config/t-darwin-min-8: New.
174 2023-05-15  Thomas Neumann  <tneumann@users.sourceforge.net>
176         * unwind-dw2-fde.c: Fix assert in non-atomic path.
178 2023-05-15  Sören Tempel  <soeren+git@soeren-tempel.net>
180         * unwind-dw2-fde.c: Accept empty ranges when deregistering frames.
182 2023-05-02  Patrick O'Neill  <patrick@rivosinc.com>
184         * config/riscv/atomic.c: Change LR.aq/SC.rl pairs into
185         sequentially consistent LR.aqrl/SC.rl pairs.
187 2023-05-01  Dimitar Dimitrov  <dimitar@dinux.eu>
189         * config/pru/t-pru (HOST_LIBGCC2_CFLAGS): Add
190         -DTARGET_HAS_NO_HW_DIVIDE.
192 2023-04-27  Hans-Peter Nilsson  <hp@axis.com>
194         * config/cris/t-cris (HOST_LIBGCC2_CFLAGS): Add
195         -DTARGET_HAS_NO_HW_DIVIDE.
197 2023-04-26  Patrick O'Neill  <patrick@rivosinc.com>
199         PR target/104338
200         * config/riscv/atomic.c: Add reference to duplicate logic.
202 2023-04-08  Tetsuma Hoshino  <t-hoshino@pony-e.jp>
204         PR target/109402
205         * config/v850/lib1funcs.S (___muldi3): Remove unnecessary
206         stack manipulations.
208 2023-04-05  John David Anglin  <danglin@gcc.gnu.org>
210         PR target/109374
211         * config/pa/milli64.S (RETURN_COLUMN): Define.
212         ($$divI): Add CFI directives.
213         ($$divU): Likewise.
214         ($$remI): Likewise.
215         ($$remU): Likewise.
217 2023-03-19  Stafford Horne  <shorne@gmail.com>
219         * config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
220         statement clearing existing exceptions.
222 2023-03-13  Max Filippov  <jcmvbkbc@gmail.com>
224         * config/xtensa/crti.S: Add .note.GNU-stack section on linux.
225         * config/xtensa/crtn.S: Likewise.
226         * config/xtensa/lib1funcs.S: Likewise.
227         * config/xtensa/lib2funcs.S: Likewise.
229 2023-03-12  Jakub Jelinek  <jakub@redhat.com>
231         * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
232         (softfp_truncations): Add tfbf dfbf sfbf hfbf.
233         (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
234         * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
235         __extendbfsf2 and __trunc{s,d,t,h}fbf2.
236         * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
237         * soft-fp/floatundibf.c: New file.
238         * soft-fp/floatdibf.c: New file.
240 2023-03-10  Jakub Jelinek  <jakub@redhat.com>
242         PR target/107703
243         * soft-fp/floattibf.c: New file.
244         * soft-fp/floatuntibf.c: New file.
245         * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
246         * config/i386/64/t-softfp (softfp_extras): Add floattibf and
247         floatuntibf.
248         (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
250 2023-03-08  Kewen Lin  <linkw@linux.ibm.com>
252         PR libgcc/108727
253         * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
254         bump size.
256 2023-03-06   Michael Meissner  <meissner@linux.ibm.com>
258         PR target/107299
259         * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
260         whether long double is IBM or IEEE.
261         (INFINITY): Likewise.
262         (FABS): Likewise.
263         * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
264         (INFINITY): Likewise.
265         * config/rs6000/quad-float128.h (TF): Remove definition.
266         (TFtype): Define to be long double or _Float128.
267         (TCtype): Define to be _Complex long double or _Complex _Float128.
268         * libgcc2.h (TFtype): Allow machine config files to override this.
269         (TCtype): Likewise.
270         * soft-fp/quad.h (TFtype): Likewise.
272 2023-02-13  Kito Cheng  <kito.cheng@sifive.com>
274         * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
275         * config/riscv/value-unwind.h: New.
277 2023-02-03  Christophe Lyon  <christophe.lyon@arm.com>
279         * config/arm/pr-support.c (__gnu_unwind_execute): Use
280         TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
282 2023-01-30  Flavio Cruz  <flaviocruz@gmail.com>
284         * config.host: Recognize x86_64-*-gnu* targets.
285         * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
286         TODO for now.
288 2023-01-23  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
290         * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
291         "0xb5".
293 2023-01-23  Andrea Corallo  <andrea.corallo@arm.com>
294             Tejas Belagod   <tbelagod@arm.com>
295             Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
297         * config/arm/pr-support.c (__gnu_unwind_execute): Decode
298         exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
299         with AUTG if found.
300         * config/arm/unwind-arm.c (struct pseudo_regs): New.
301         (phase1_vrs): Introduce new field to store pseudo-reg state.
302         (phase2_vrs): Likewise.
303         (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
304         (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
305         (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
307 2023-01-18  Wilco Dijkstra  <wilco.dijkstra@arm.com>
309         PR target/107678
310         * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
311         * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
312         * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
313         encode the return address signing state.
314         * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
315         Check current return address signing state.
316         (aarch64_frob_update_contex): Remove.
318 2023-01-13  John David Anglin  <danglin@gcc.gnu.org>
320         * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
321         pa/t-pa64-linux.
322         (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
323         instead of pa/t-hpux and pa/t-pa64.
324         * config/pa/linux-atomic.c: Define u32 type.
325         (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
326         atomic_load_2, atomic_load_4 and atomic_load_8.  Update sync
327         defines to use atomic_load calls for type.
328         (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
329         * config/pa/sync-libfuncs.c: New file.
330         * config/pa/t-netbsd (LIB2ADD_ST): Define.
331         * config/pa/t-openbsd (LIB2ADD_ST): Define.
332         * config/pa/t-pa64-hpux: New file.
333         * config/pa/t-pa64-linux: New file.
335 2023-01-13  Jonathan Wakely  <jwakely@redhat.com>
337         PR libstdc++/108331
338         * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
339         struct matching the previous __gthread_mutex_t struct.
340         (__GTHREAD_LEGACY_MUTEX_T): Define.
342 2023-01-13  Seija Kijin  <doremylover456@gmail.com>
344         * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
345         unified syntax.
347 2023-01-07  LIU Hao  <lh_mouse@126.com>
349         PR middle-end/108300
350         * config/i386/enable-execute-stack-mingw32.c: Define
351         `WIN32_LEAN_AND_MEAN` before <windows.h>.
352         * libgcc2.c: Likewise.
353         * unwind-generic.h: Likewise.
355 2023-01-03  Florian Weimer  <fweimer@redhat.com>
357         * unwind-dw2-execute_cfa.h: New file.  Extracted from
358         the execute_cfa_program function in unwind-dw2.c.
359         * unwind-dw2.c (execute_cfa_program_generic): New function.
360         (execute_cfa_program_specialized): Likewise.
361         (execute_cfa_program): Call execute_cfa_program_specialized
362         or execute_cfa_program_generic, as appropriate.
364 2023-01-03  Florian Weimer  <fweimer@redhat.com>
366         Revert:
367         2023-01-03  Florian Weimer  <fweimer@redhat.com>
369         * unwind-dw2.c (dwarf_reg_size): New function.
370         (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
371         (_Unwind_SetSpColumn, uw_install_context_1): Use it.
372         (uw_init_context_1): Do not initialize dwarf_reg_size_table
373         if not in use.
375 2023-01-03  Florian Weimer  <fweimer@redhat.com>
377         Revert:
378         2023-01-03  Florian Weimer  <fweimer@redhat.com>
380         * unwind-dw2-execute_cfa.h: New file.  Extracted from
381         the execute_cfa_program function in unwind-dw2.c.
382         * unwind-dw2.c (execute_cfa_program_generic): New function.
383         (execute_cfa_program_specialized): Likewise.
384         (execute_cfa_program): Call execute_cfa_program_specialized
385         or execute_cfa_program_generic, as appropriate.
387 2023-01-02  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.c (dwarf_reg_size): New function.
399         (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
400         (_Unwind_SetSpColumn, uw_install_context_1): Use it.
401         (uw_init_context_1): Do not initialize dwarf_reg_size_table
402         if not in use.
404 2022-12-25  Jonathan Yong  <10walls@gmail.com>
406         * config/i386/gthr-win32.h: undef CC_NONE
408 2022-12-24  Iain Sandoe  <iain@sandoe.co.uk>
410         * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
411         install of libgcc_s.1.dylib when the installation is into the build
412         gcc directory.
414 2022-12-23  Eric Botcazou  <ebotcazou@adacore.com>
416         * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
417         as well as new i386/t-slibgcc-mingw fragment.
418         (x86_64-*-mingw*): Likewise.
419         * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
420         both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
421         Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
422         Include stdlib.h instead of errno.h and do not include _mingw.h.
423         (CONST_CAST2): Add specific definition for C++.
424         (ATTRIBUTE_UNUSED): New macro.
425         (__UNUSED_PARAM): Delete.
426         Define WIN32_LEAN_AND_MEAN before including windows.h.
427         (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
428         (__gthread_objc_init_thread_system): Likewise.
429         (__gthread_objc_thread_get_data): Minor tweak.
430         (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
431         (__gthread_objc_condition_deallocate): Likewise.
432         (__gthread_objc_condition_wait): Likewise.
433         (__gthread_objc_condition_broadcast): Likewise.
434         (__gthread_objc_condition_signal): Likewise.
435         Include sys/time.h.
436         (__gthr_win32_DWORD): New typedef.
437         (__gthr_win32_HANDLE): Likewise.
438         (__gthr_win32_CRITICAL_SECTION): Likewise.
439         (__gthr_win32_CONDITION_VARIABLE): Likewise.
440         (__gthread_t): Adjust.
441         (__gthread_key_t): Likewise.
442         (__gthread_mutex_t): Likewise.
443         (__gthread_recursive_mutex_t): Likewise.
444         (__gthread_cond_t): New typedef.
445         (__gthread_time_t): Likewise.
446         (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
447         (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
448         (__GTHREAD_COND_INIT_FUNCTION): Define.
449         (__GTHREAD_TIME_INIT): Likewise.
450         (__gthr_i486_lock_cmp_xchg): Delete.
451         (__gthr_win32_create): Declare.
452         (__gthr_win32_join): Likewise.
453         (__gthr_win32_self): Likewise.
454         (__gthr_win32_detach): Likewise.
455         (__gthr_win32_equal): Likewise.
456         (__gthr_win32_yield): Likewise.
457         (__gthr_win32_mutex_destroy): Likewise.
458         (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
459         (__gthr_win32_cond_broadcast): Likewise.
460         (__gthr_win32_cond_signal): Likewise.
461         (__gthr_win32_cond_wait): Likewise.
462         (__gthr_win32_cond_timedwait): Likewise.
463         (__gthr_win32_recursive_mutex_init_function): Delete.
464         (__gthr_win32_recursive_mutex_lock): Likewise.
465         (__gthr_win32_recursive_mutex_unlock): Likewise.
466         (__gthr_win32_recursive_mutex_destroy): Likewise.
467         (__gthread_create): New inline function.
468         (__gthread_join): Likewise.
469         (__gthread_self): Likewise.
470         (__gthread_detach): Likewise.
471         (__gthread_equal): Likewise.
472         (__gthread_yield): Likewise.
473         (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
474         (__gthread_cond_broadcast): Likewise.
475         (__gthread_cond_signal): Likewise.
476         (__gthread_cond_wait): Likewise.
477         (__gthread_cond_timedwait): Likewise.
478         (__GTHREAD_WIN32_INLINE): New macro.
479         (__GTHREAD_WIN32_COND_INLINE): Likewise.
480         (__GTHREAD_WIN32_ACTIVE_P): Likewise.
481         Define WIN32_LEAN_AND_MEAN before including windows.h.
482         (__gthread_once): Minor tweaks.
483         (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
484         (__gthread_key_delete): Minor tweak.
485         (__gthread_getspecific): Likewise.
486         (__gthread_setspecific): Likewise.
487         (__gthread_mutex_init_function): Reimplement.
488         (__gthread_mutex_destroy): Likewise.
489         (__gthread_mutex_lock): Likewise.
490         (__gthread_mutex_trylock): Likewise.
491         (__gthread_mutex_unlock): Likewise.
492         (__gthr_win32_abs_to_rel_time): Declare.
493         (__gthread_recursive_mutex_init_function): Reimplement.
494         (__gthread_recursive_mutex_destroy): Likewise.
495         (__gthread_recursive_mutex_lock): Likewise.
496         (__gthread_recursive_mutex_trylock): Likewise.
497         (__gthread_recursive_mutex_unlock): Likewise.
498         (__gthread_cond_destroy): New inline function.
499         (__gthread_cond_wait_recursive): Likewise.
500         * config/i386/gthr-win32.c: Delete everything.
501         Include gthr-win32.h to get the out-of-line version of inline routines.
502         Add compile-time checks for the local version of the Win32 types.
503         * config/i386/gthr-win32-cond.c: New file.
504         * config/i386/gthr-win32-thread.c: Likewise.
505         * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
506         EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
507         the static version of libgcc.
508         * config/i386/t-slibgcc-mingw: New file.
509         * config/i386/libgcc-mingw.ver: Likewise.
511 2022-12-16  Thomas Neumann  <tneumann@users.sourceforge.net>
513         * unwind-dw2-fde.c: Initialize fde object lazily when
514         the first exception tries to pass through.
516 2022-12-16  Thomas Neumann  <tneumann@users.sourceforge.net>
518         * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
520 2022-12-08  Max Filippov  <jcmvbkbc@gmail.com>
522         * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
523         (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
524         (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
525         (XSHAL_ABI): Remove stray symbols from macro definitions.
527 2022-12-07  Max Filippov  <jcmvbkbc@gmail.com>
529         * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
530         xtensa-config-builtin.h.
531         * config/xtensa/crtn.S: Likewise.
532         * config/xtensa/lib1funcs.S: Likewise.
533         * config/xtensa/lib2funcs.S: Likewise.
534         * config/xtensa/xtensa-config-builtin.h: New File.
536 2022-11-04  Florian Weimer  <fweimer@redhat.com>
538         * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
539         values actually used by BFD ld.
541 2022-10-23  LIU Hao  <lh_mouse@126.com>
543         * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
544         libobjc, instead of 'gthr.h'
546 2022-10-19  LIU Hao  <lh_mouse@126.com>
548         * config.host: Add new cases for `mcf` thread model
549         * config/i386/gthr-mcf.h: New file
550         * config/i386/t-mingw-mcfgthread: New file
551         * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
552         * configure: Regenerate
554 2022-10-18  Jonathan Wakely  <jwakely@redhat.com>
556         * Makefile.in: Quote variable.
558 2022-10-17  H.J. Lu  <hjl.tools@gmail.com>
560         * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
561         argument.
562         * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
563         _Unwind_Frames_Increment.
564         (_Unwind_ForcedUnwind_Phase2): Likewise.
565         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
566         Take the EXC argument.  Return _URC_FATAL_PHASE2_ERROR if the
567         return address on normal stack doesn't match the return address
568         on shadow stack.
570 2022-10-17  Florian Weimer  <fweimer@redhat.com>
572         * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
573         and reduce its size.
575 2022-10-14  Jakub Jelinek  <jakub@redhat.com>
577         * config/i386/t-softfp (softfp_extensions): Add bfsf.
578         (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
579         (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
580         CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
581         -msse2.
582         * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
583         __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
584         * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
585         * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
586         * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
587         * soft-fp/brain.h: New file.
588         * soft-fp/truncsfbf2.c: New file.
589         * soft-fp/truncdfbf2.c: New file.
590         * soft-fp/truncxfbf2.c: New file.
591         * soft-fp/trunctfbf2.c: New file.
592         * soft-fp/trunchfbf2.c: New file.
593         * soft-fp/truncbfhf2.c: New file.
594         * soft-fp/extendbfsf2.c: New file.
596 2022-10-12  Martin Liska  <mliska@suse.cz>
598         * libgcov-driver.c: Use new function.
599         * libgcov.h (gcov_write_summary): Rename to ...
600         (gcov_write_object_summary): ... this.
602 2022-10-11  Olivier Hainque  <hainque@adacore.com>
604         * config.host (*vxworks*): When enable_shared, add
605         libgcc and crtstuff "shared" fragments for rtp except
606         large code model.
607         (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
608         the list of fragments.
610 2022-10-06  Jakub Jelinek  <jakub@redhat.com>
612         * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
613         fs->regs.how[X] instead of fs->regs.reg[X].how.
615 2022-10-06  Jakub Jelinek  <jakub@redhat.com>
617         * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
618         REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
619         REG_UNDEFINED): New anonymous enum, moved from inside of
620         struct frame_state_reg_info.
621         (struct frame_state_reg_info): Remove reg[].how element and the
622         anonymous enum there.  Add how element.
623         * unwind-dw2.c: Include stddef.h.
624         (uw_frame_state_for): Don't clear first
625         offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
626         (execute_cfa_program, __frame_state_for, uw_update_context_1,
627         uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
628         or fs.regs.how[X] instead of fs.regs.reg[X].how.
629         * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
630         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
631         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
632         * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
633         UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
634         Likewise.
635         * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
636         Likewise.
637         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
638         * config/arc/linux-unwind.h (arc_fallback_frame_state,
639         arc_frob_update_context): Likewise.
640         * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
641         * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
642         * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
643         * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
644         * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
645         * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
646         MD_FALLBACK_FRAME_STATE_FOR): Likewise.
647         * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
648         sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
649         * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
650         x86_fallback_frame_state): Likewise.
651         * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
652         * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
653         x86_fallback_frame_state): Likewise.
654         * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
655         Likewise.
656         * config/i386/dragonfly-unwind.h
657         (x86_64_dragonfly_fallback_frame_state): Likewise.
658         * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
659         * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
660         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
661         Likewise.
662         * config/aarch64/freebsd-unwind.h
663         (aarch64_freebsd_fallback_frame_state): Likewise.
664         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
665         Likewise.
666         * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
667         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
668         * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
669         Likewise.
670         * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
671         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
672         Likewise.
673         * config/rs6000/darwin-fallback.c (set_offset): Likewise.
674         * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
675         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
676         * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
678 2022-10-02  Olivier Hainque  <hainque@adacore.com>
680         * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment.  Move
681         -I options for gcc/include and gcc/include-fixed at the end
682         and make them -isystem.
684 2022-10-02  Olivier Hainque  <hainque@adacore.com>
686         * config/gthr-vxworks.h: Prevent Wpragma warning for the
687         pragma diagnostics on Wstrict-prototypes.
689 2022-09-29  Olivier Hainque  <hainque@adacore.com>
691         * config/vxcrtstuff.c: Improve the comment attached to the use
692         of auto-host.h and of __dso_handle.  Remove redundant guard on
693         HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
695 2022-09-26  Thomas Neumann  <tneumann@users.sourceforge.net>
697         * unwind-dw2-fde.c: Introduce a constant for in_shutdown
698         for the non-fast-path case. Drop destructor priority.
700 2022-09-22  Thomas Neumann  <tneumann@users.sourceforge.net>
702         * unwind-dw2-fde.c: (release_register_frames) Remember
703         when the btree has been destroyed.
704         (__deregister_frame_info_bases) Disable the assert when
705         shutting down.
707 2022-09-18  Thomas Neumann  <tneumann@users.sourceforge.net>
709         * unwind-dw2-fde.c: Replace uintptr_t with typedef
710         for __UINTPTR_TYPE__.
711         * unwind-dw2-btree.h: Likewise.
713 2022-09-16  Thomas Neumann  <tneumann@users.sourceforge.net>
715         * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
716         (__register_frame_info_table_bases): Use btree in atomic fast path.
717         (__deregister_frame_info_bases): Likewise.
718         (_Unwind_Find_FDE): Likewise.
719         (base_from_object): Make parameter const.
720         (classify_object_over_fdes): Add query-only mode.
721         (get_pc_range): Compute PC range for lookup.
722         * unwind-dw2-fde.h (last_fde): Make parameter const.
723         * unwind-dw2-btree.h: New file.
725 2022-08-31  Martin Liska  <mliska@suse.cz>
727         * config.host: Remove hppa.
729 2022-08-30  Martin Liska  <mliska@suse.cz>
731         * config.host: Remove the port.
733 2022-08-26  Martin Liska  <mliska@suse.cz>
735         * config.host: Remove cr16 related stuff.
736         * config/cr16/crti.S: Removed.
737         * config/cr16/crtlibid.S: Removed.
738         * config/cr16/crtn.S: Removed.
739         * config/cr16/divmodhi3.c: Removed.
740         * config/cr16/lib1funcs.S: Removed.
741         * config/cr16/t-cr16: Removed.
742         * config/cr16/t-crtlibid: Removed.
743         * config/cr16/unwind-cr16.c: Removed.
744         * config/cr16/unwind-dw2.h: Removed.
746 2022-08-16  Kito Cheng  <kito.cheng@sifive.com>
748         * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
749         (_FP_NANFRAC_H): Ditto.
750         (_FP_NANSIGN_H): Ditto.
751         * config/riscv/t-softfp32 (softfp_extensions): Add HF related
752         routines.
753         (softfp_truncations): Ditto.
754         (softfp_extras): Ditto.
755         * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
757 2022-08-16  Kito Cheng  <kito.cheng@sifive.com>
759         * soft-fp/fixhfdi.c: New.
760         * soft-fp/fixhfsi.c: Likewise.
761         * soft-fp/fixunshfdi.c: Likewise.
762         * soft-fp/fixunshfsi.c: Likewise.
763         * soft-fp/floatdihf.c: Likewise.
764         * soft-fp/floatsihf.c: Likewise.
765         * soft-fp/floatundihf.c: Likewise.
766         * soft-fp/floatunsihf.c: Likewise.
767         * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
768         lines and update URL for license.
769         * soft-fp/addsf3.c: Likewise.
770         * soft-fp/addtf3.c: Likewise.
771         * soft-fp/divdf3.c: Likewise.
772         * soft-fp/divsf3.c: Likewise.
773         * soft-fp/divtf3.c: Likewise.
774         * soft-fp/double.h: Likewise.
775         * soft-fp/eqdf2.c: Likewise.
776         * soft-fp/eqhf2.c: Likewise.
777         * soft-fp/eqsf2.c: Likewise.
778         * soft-fp/eqtf2.c: Likewise.
779         * soft-fp/extenddftf2.c: Likewise.
780         * soft-fp/extended.h: Likewise.
781         * soft-fp/extendhfdf2.c: Likewise.
782         * soft-fp/extendhfsf2.c: Likewise.
783         * soft-fp/extendhftf2.c: Likewise.
784         * soft-fp/extendhfxf2.c: Likewise.
785         * soft-fp/extendsfdf2.c: Likewise.
786         * soft-fp/extendsftf2.c: Likewise.
787         * soft-fp/extendxftf2.c: Likewise.
788         * soft-fp/fixdfdi.c: Likewise.
789         * soft-fp/fixdfsi.c: Likewise.
790         * soft-fp/fixdfti.c: Likewise.
791         * soft-fp/fixhfti.c: Likewise.
792         * soft-fp/fixsfdi.c: Likewise.
793         * soft-fp/fixsfsi.c: Likewise.
794         * soft-fp/fixsfti.c: Likewise.
795         * soft-fp/fixtfdi.c: Likewise.
796         * soft-fp/fixtfsi.c: Likewise.
797         * soft-fp/fixtfti.c: Likewise.
798         * soft-fp/fixunsdfdi.c: Likewise.
799         * soft-fp/fixunsdfsi.c: Likewise.
800         * soft-fp/fixunsdfti.c: Likewise.
801         * soft-fp/fixunshfti.c: Likewise.
802         * soft-fp/fixunssfdi.c: Likewise.
803         * soft-fp/fixunssfsi.c: Likewise.
804         * soft-fp/fixunssfti.c: Likewise.
805         * soft-fp/fixunstfdi.c: Likewise.
806         * soft-fp/fixunstfsi.c: Likewise.
807         * soft-fp/fixunstfti.c: Likewise.
808         * soft-fp/floatdidf.c: Likewise.
809         * soft-fp/floatdisf.c: Likewise.
810         * soft-fp/floatditf.c: Likewise.
811         * soft-fp/floatsidf.c: Likewise.
812         * soft-fp/floatsisf.c: Likewise.
813         * soft-fp/floatsitf.c: Likewise.
814         * soft-fp/floattidf.c: Likewise.
815         * soft-fp/floattihf.c: Likewise.
816         * soft-fp/floattisf.c: Likewise.
817         * soft-fp/floattitf.c: Likewise.
818         * soft-fp/floatundidf.c: Likewise.
819         * soft-fp/floatundisf.c: Likewise.
820         * soft-fp/floatunditf.c: Likewise.
821         * soft-fp/floatunsidf.c: Likewise.
822         * soft-fp/floatunsisf.c: Likewise.
823         * soft-fp/floatunsitf.c: Likewise.
824         * soft-fp/floatuntidf.c: Likewise.
825         * soft-fp/floatuntihf.c: Likewise.
826         * soft-fp/floatuntisf.c: Likewise.
827         * soft-fp/floatuntitf.c: Likewise.
828         * soft-fp/gedf2.c: Likewise.
829         * soft-fp/gesf2.c: Likewise.
830         * soft-fp/getf2.c: Likewise.
831         * soft-fp/half.h: Likewise.
832         * soft-fp/ledf2.c: Likewise.
833         * soft-fp/lesf2.c: Likewise.
834         * soft-fp/letf2.c: Likewise.
835         * soft-fp/muldf3.c: Likewise.
836         * soft-fp/mulsf3.c: Likewise.
837         * soft-fp/multf3.c: Likewise.
838         * soft-fp/negdf2.c: Likewise.
839         * soft-fp/negsf2.c: Likewise.
840         * soft-fp/negtf2.c: Likewise.
841         * soft-fp/op-1.h: Likewise.
842         * soft-fp/op-2.h: Likewise.
843         * soft-fp/op-4.h: Likewise.
844         * soft-fp/op-8.h: Likewise.
845         * soft-fp/op-common.h: Likewise.
846         * soft-fp/quad.h: Likewise.
847         * soft-fp/single.h: Likewise.
848         * soft-fp/soft-fp.h: Likewise.
849         * soft-fp/subdf3.c: Likewise.
850         * soft-fp/subsf3.c: Likewise.
851         * soft-fp/subtf3.c: Likewise.
852         * soft-fp/truncdfhf2.c: Likewise.
853         * soft-fp/truncdfsf2.c: Likewise.
854         * soft-fp/truncsfhf2.c: Likewise.
855         * soft-fp/trunctfdf2.c: Likewise.
856         * soft-fp/trunctfhf2.c: Likewise.
857         * soft-fp/trunctfsf2.c: Likewise.
858         * soft-fp/trunctfxf2.c: Likewise.
859         * soft-fp/truncxfhf2.c: Likewise.
860         * soft-fp/unorddf2.c: Likewise.
861         * soft-fp/unordsf2.c: Likewise.
862         * soft-fp/unordtf2.c: Likewise.
864 2022-07-18  Claudiu Zissulescu  <claziss@synopsys.com>
866         * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
867         * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
868         configurations.
870 2022-06-25  Jeff Law  <jeffreyalaw@gmail.com>
872         * config.host: Removed tilegx and tilepro entries.
873         * config/tilegx/sfp-machine.h: Removed.
874         * config/tilegx/sfp-machine32.h: Removed.
875         * config/tilegx/sfp-machine64.h: Removed.
876         * config/tilegx/t-crtstuff: Removed.
877         * config/tilegx/t-softfp: Removed.
878         * config/tilegx/t-tilegx: Removed.
879         * config/tilepro/atomic.c: Removed.
880         * config/tilepro/atomic.h: Removed.
881         * config/tilepro/linux-unwind.h: Removed.
882         * config/tilepro/sfp-machine.h: Removed.
883         * config/tilepro/softdivide.c: Removed.
884         * config/tilepro/softmpy.S: Removed.
885         * config/tilepro/t-crtstuff: Removed.
886         * config/tilepro/t-tilepro: Removed.
888 2022-06-09  Takayuki 'January June' Suwa  <jjsuwa_sys3175@yahoo.co.jp>
890         * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
891         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
893 2022-06-01  H.J. Lu  <hjl.tools@gmail.com>
895         PR libgcc/27576
896         * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
898 2022-05-25  Wilco Dijkstra  <wilco.dijkstra@arm.com>
900         PR libgcc/105708
901         * config/aarch64/lse-init.c: Increase constructor priority.
903 2022-05-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
905         PR target/104689
906         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
907         Handle the !REG_UNSAVED case.
908         * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
910 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
912         * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
913         (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
914         (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
916 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
918         * config.host: Add t-dfprules to AArch64 targets.
920 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
922         * configure: Regenerate.
924 2022-05-13  Sebastian Pop  <spop@amazon.com>
926         PR target/105162
927         * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
928         * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
930 2022-05-10  Martin Liska  <mliska@suse.cz>
931             Hans-Peter Helfert  <peter-helfert@t-online.de>
933         PR gcov-profile/105535
934         * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
935         n_functions.
937 2022-05-02  Martin Liska  <mliska@suse.cz>
939         * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
941 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
943         * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
944         (gcov_profile_merge_stream): Likewise.
946 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
948         * libgcov-util.c (consume_stream): New.
949         (get_target_profiles_for_merge): Likewise.
950         (gcov_profile_merge_stream): Likewise.
952 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
954         * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
956 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
958         * libgcov-util.c (read_gcda_file): Do not open file.
959         (ftw_read_file): Open file here.
961 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
963         * libgcov-util.c (read_gcda_file): Prepend new info object to global
964         list.
965         (ftw_read_file): Remove list append here.
967 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
969         * libgcov-util.c (read_gcda_file): Do not duplicate filename.
970         (ftw_read_file): Duplicate filename for read_gcda_file().
972 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
974         * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
975         (__gcov_filename_to_gcfn): Declare and document.
976         * libgcov-driver.c (dump_string): New.
977         (__gcov_filename_to_gcfn): Likewise.
978         (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
980 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
982         * libgcov.h (gcov_seek): Remove define and declaration.
984 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
986         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
987         parameter.  Pass mode to gcov_open() calls.
988         * libgcov-driver.c (dump_one_gcov):  Add mode parameter.  Pass mode to
989         gcov_exit_open_gcda_file() call.
990         (gcov_do_dump): Add mode parameter.  Pass mode to dump_one_gcov()
991         calls.
992         (__gcov_dump_one):  Open file for reading and writing.
994 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
996         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
997         reading and writing.
998         * libgcov-util.c (read_gcda_file): Open file for reading.
999         * libgcov.h (gcov_open): Delete declaration.
1001 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1003         * libgcov-util.c (gcov_profile_merge): Return the list of merged
1004         profiles.  Accept empty target and source profile lists.
1006 2022-04-08  Sergei Trofimovich  <siarheit@google.com>
1008         * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
1010 2022-03-29  Chenghua Xu  <xuchenghua@loongson.cn>
1011             Lulu Cheng  <chenglulu@loongson.cn>
1013         * configure: Regenerate file.
1015 2022-03-29  Chenghua Xu  <xuchenghua@loongson.cn>
1016             Lulu Cheng  <chenglulu@loongson.cn>
1018         * config/loongarch/crtfastmath.c: New file.
1019         * config/loongarch/linux-unwind.h: Like wise.
1020         * config/loongarch/sfp-machine.h: Like wise.
1021         * config/loongarch/t-crtstuff: Like wise.
1022         * config/loongarch/t-loongarch: Like wise.
1023         * config/loongarch/t-loongarch64: Like wise.
1024         * config/loongarch/t-softfp-tf: Like wise.
1025         * config.host: Add LoongArch tuples.
1026         * configure.ac: Add LoongArch support.
1028 2022-03-19  Sergei Trofimovich  <slyfox at gentoo dot org>
1030         PR libgcc/86224
1031         * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
1032         for __mulsi3.
1033         (__udivsi3_internal, __divsi3_internal): Similarly.
1034         (__umodsi3, __modsi3): Use the internal function names.
1036 2022-03-09  Tobias Burnus  <tobias@codesourcery.com>
1038         PR target/102215
1039         * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
1040         a line up to non-arg-dependent value first.
1041         (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
1042         __atomic_compare_exchange_{1,2}.
1044 2022-03-04  Iain Sandoe  <iain@sandoe.co.uk>
1046         * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
1047         * config/t-darwin-ehs: Add dependency on unwind.h.
1049 2022-02-24  Xi Ruoyao  <xry111@mengyan1223.wang>
1051         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
1052         with 0 instead of NULL.
1054 2022-02-24  Jose E. Marchesi  <jose.marchesi@oracle.com>
1056         PR target/104656
1057         * configure.ac: --disable-gcov if targetting bpf-*.
1058         * configure: Regenerate.
1060 2022-01-25  Florian Weimer  <fweimer@redhat.com>
1062         PR libgcc/104207
1063         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
1065 2022-01-17  Martin Liska  <mliska@suse.cz>
1067         * libgcov-driver.c: Rename .c names to .cc.
1069 2022-01-15  David  <gccbugzilla@limegreensocks.com>
1071         * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
1072         Remove inlined version, Windows 95 is no longer relevant.
1073         * config/i386/gthr-win32.h
1074         (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
1076 2022-01-14  Claudiu Zissulescu  <claziss@synopsys.com>
1078         * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
1079         DWARF_ALT_FRAME_RETURN_COLUMN macro.
1081 2022-01-04  Florian Weimer  <fweimer@redhat.com>
1083         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
1084         if available.
1086 2022-01-02  John David Anglin  <danglin@gcc.gnu.org>
1088         * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
1089         (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
1090         return is not equal _ASM_EFAULT.
1091         (__kernel_cmpxchg2): Likewise.
1093 2021-12-17  Iain Sandoe  <iain@sandoe.co.uk>
1095         * config.host: Add shim declaration header to powerpc*-darwin builds.
1096         * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
1097         file.
1098         * config/t-darwin-ehs: Add dependencies to the shared unwinder
1099         objects.
1100         * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
1101         the shared EH lib.  Add all-multi to the dependencies for the
1102         libgcc_s.1.dylib redirections.
1104 2021-12-13  Olivier Hainque  <hainque@adacore.com>
1106         * config.host (powerpc*-*-vxworks7*): Remove
1107         rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
1109 2021-12-13  Olivier Hainque  <hainque@adacore.com>
1111         * config.host (*vxworks*): Remove special case for
1112         arm on the use of vxcrtstuff.
1114 2021-12-13  Fred Konrad  <konrad@adacore.com>
1115             Olivier Hainque  <hainque@adacore.com>
1117         * config/t-vxcrtstuffS: New Makefile fragment.
1118         * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
1119         functions for INITFINI_ARRAY support in shared libs and guard
1120         the definition of eh table registration functions on conditions
1121         indicating they are needed.
1123 2021-12-13  Olivier Hainque  <hainque@adacore.com>
1125         * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
1126         ahead of the other files in tmake_files.
1127         * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
1128         overriding it.
1130 2021-12-13  Olivier Hainque  <hainque@adacore.com>
1132         * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
1133         both VxWorks7 and earlier.
1134         * config/t-vxworks7: Remove.
1135         * config.host: Remove special case for vxworks7.
1137 2021-12-11  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1139         * config/vxcrtstuff.c: Make constructor and destructor
1140         functions static when possible.
1142 2021-12-11  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1144         * config/vxcrtstuff.c: Remove constructor/destructor
1145         declarations.
1147 2021-12-10  Iain Sandoe  <iain@sandoe.co.uk>
1149         * config/t-darwin: Add libgcc_tm.h to the dependencies
1150         for darwin10-unwind-find-enc-func.
1152 2021-12-10  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1154         * config/rs6000/t-vxworks: New file.
1155         * config.host (powerpc*-*-vxworks*): Use it instead of
1156         t-ppccomm.
1158 2021-12-09  Fred Konrad  <konrad@adacore.com>
1160         * config.host (powerpc*-wrs-vxworks7*): Fix path to
1161         rs6000/t-ppc64-fp, relative to config/ not libgcc/.
1163 2021-12-09  Olivier Hainque  <hainque@adacore.com>
1164             Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1166         * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
1167         $(LIBGCC2_INCLUDES).
1168         * config/t-vxworks7: Likewise.
1170 2021-12-08  Iain Sandoe  <iain@sandoe.co.uk>
1172         * config.host (*-*-darwin*): Add logic to build a shared
1173         unwinder library for Darwin8-10.
1174         * config/i386/t-darwin: Build legacy libgcc_s.1.
1175         * config/rs6000/t-darwin: Likewise.
1176         * config/t-darwin: Reorganise the EH fragments to place
1177         them for inclusion in a shared EH lib.
1178         * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
1179         the supporting pieces (all FAT libs).
1180         * config/t-darwin-noeh: Removed.
1181         * config/darwin-unwind.ver: New file.
1182         * config/rs6000/t-darwin-ehs: New file.
1183         * config/t-darwin-ehs: New file.
1185 2021-12-06  Nelson Chu  <nelson.chu@sifive.com>
1187         * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
1188         then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
1189         * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
1190         HIDDEN_DEF.
1192 2021-11-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1194         * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
1195         ssize_t and vfork after including auto-host.h.
1197 2021-11-29  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1199         * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
1200         crtend.o to extra_parts.
1202 2021-11-27  John David Anglin  <danglin@gcc.gnu.org>
1204         * config/pa/t-dimode (lib2difuncs): Fix typo.
1206 2021-11-25  Florian Weimer  <fweimer@redhat.com>
1208         * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
1209         Remove func, ret.
1210         (find_fde_tail): New function.  Split from
1211         _Unwind_IteratePhdrCallback.  Move the result initialization
1212         from _Unwind_Find_FDE.
1213         (_Unwind_Find_FDE): Updated to call find_fde_tail.
1215 2021-11-22  Florian Weimer  <fweimer@redhat.com>
1217         * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
1218         (struct unw_eh_callback_data): Make dbase member conditional.
1219         (unw_eh_callback_data_dbase): New function.
1220         (base_from_cb_data): Simplify for the non-dbase case.
1221         (_Unwind_IteratePhdrCallback): Adjust.
1222         (_Unwind_Find_FDE): Likewise.
1224 2021-11-22  Florian Weimer  <fweimer@redhat.com>
1226         * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
1227         tbase member.
1228         (base_from_cb_data): Adjust.
1229         (_Unwind_IteratePhdrCallback): Likewise.
1230         (_Unwind_Find_FDE): Likewise.
1232 2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
1234         * config.host: Add weak emutls crt to the extra_parts.
1235         * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
1236         workaround.
1237         * config/libgcc-libsystem.ver: Add exclude list for the system-
1238         provided unwinder.
1239         * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
1240         * config/i386/libgcc-darwin.10.4.ver: Removed.
1241         * config/i386/libgcc-darwin.10.5.ver: Removed.
1242         * config/rs6000/libgcc-darwin.10.4.ver: Removed.
1243         * config/rs6000/libgcc-darwin.10.5.ver: Removed.
1244         * config/t-darwin-noeh: New file.
1246 2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
1248         * config/t-darwin: Build weak-defined emutls objects.
1249         * emutls.c (__emutls_get_address): Add optional attributes.
1250         (__emutls_register_common): Likewise.
1251         (EMUTLS_ATTR): New.
1253 2021-11-11  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
1255         PR libgcc/103044
1256         * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
1257         called with a null argument or at the end of the backtrace and return.
1258         * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
1260 2021-11-10  Jakub Jelinek  <jakub@redhat.com>
1262         * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
1263         formatting fix.
1265 2021-11-05  Iain Sandoe  <iain@sandoe.co.uk>
1267         * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
1268         * config/i386/darwin-lib.h: Declare Darwin10 crt function.
1270 2021-11-05  John David Anglin  <danglin@gcc.gnu.org>
1272         PR libgomp/96661
1273         * config.host (hppa*64*-*-linux*): Revise tmake_file.
1274         (hppa*64*-*-hpux11*): Likewise.
1275         * config/pa/sfp-exceptions.c: New.
1276         * config/pa/sfp-machine.h: New.
1277         * config/pa/t-dimode: New.
1278         * config/pa/t-softfp-sfdftf: New.
1280 2021-10-27  John David Anglin  <danglin@gcc.gnu.org>
1282         * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
1283         tmake_file.
1284         * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
1285         Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
1286         SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
1287         * config/pa/t-linux64 (LIB1ASMSRC): New define.
1288         (LIB1ASMFUNCS): Revise.
1289         (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
1291 2021-10-22  Stafford Horne  <shorne@gmail.com>
1293         * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1294         Change to 0.
1296 2021-10-14  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
1298         * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
1299         outside of get_regs() in order to use it in another function, this
1300         is done twice: for __powerpc64__ and for !__powerpc64__.
1301         (struct trace_arg): New struct.
1302         (struct layout): New struct.
1303         (ppc_backchain_fallback): New function.
1304         * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
1305         state and call MD_BACKCHAIN_FALLBACK.
1307 2021-10-13  Martin Liska  <mliska@suse.cz>
1309         PR gcov-profile/90364
1310         * libgcov-driver.c (merge_one_data): Skip timestamp and verify
1311         checksums.
1312         (write_one_data): Write also checksum.
1313         * libgcov-util.c (read_gcda_file): Read also checksum field.
1314         * libgcov.h (struct gcov_info): Add new field.
1316 2021-10-08  Ian Lance Taylor  <iant@golang.org>
1318         * config/i386/morestack.S: Use .init_array for constructor if
1319         available.
1320         * config/rs6000/morestack.S: Likewise.
1321         * config/s390/morestack.S: Likewise.
1323 2021-10-03  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
1325         PR target/101104
1326         * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
1327         Use more correct values for native IBM 128-bit.
1329 2021-09-28  Iain Sandoe  <iain@sandoe.co.uk>
1331         * config/i386/libgcc-darwin.ver: Add Symbols for
1332         __cpu_model, __cpu_indicator_init.
1334 2021-09-22  Iain Sandoe  <iain@sandoe.co.uk>
1336         * config/i386/sfp-machine.h: Guard Mach-O-specific code
1337         using __APPLE__.
1339 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1341         * config/t-slibgcc-darwin: Delete unused code.
1343 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1345         * config/i386/t-darwin: Add in a vers file for X86-specific
1346         symbols.
1347         * config/t-darwin: Add the generic symbol maps here...
1348         * config/t-slibgcc-darwin: ... removing from here.
1349         * config/i386/libgcc-darwin.ver: New file.
1351 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1353         * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
1354         and __mulhc3.
1356 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1358         * config.host: Use convenience library for Darwin10
1359         unwinder shim.
1360         * config/t-darwin: Build Darwin10 unwinder shim as a
1361         convenience library.
1363 2021-09-13  Andrew Pinski  <apinski@marvell.com>
1365         * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
1366         * config/m32r/libgcc-glibc.ver: Removed.
1367         * config/m32r/t-linux: Removed.
1369 2021-09-08  liuhongt  <hongtao.liu@intel.com>
1371         * config/i386/t-softfp: Compile __{mul,div}hc3 into
1372         libgcc_s.so.1.
1374 2021-09-08  Jakub Jelinek  <jakub@redhat.com>
1375             Iain Sandoe  <iain@sandoe.co.uk>
1377         * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
1378         and export *hf* and *hc* functions at GCC_12.0.0.
1380 2021-09-06  liuhongt  <hongtao.liu@intel.com>
1382         * Makefile.in: Adjust to support specific CFLAGS for each
1383         libgcc source file.
1384         * config/i386/64/t-softfp: Explicitly add -msse2 for HF
1385         related libgcc source files.
1386         * config/i386/t-softfp: Ditto.
1387         * config/i386/_divhc3.c: New file.
1388         * config/i386/_mulhc3.c: New file.
1390 2021-09-03  Iain Sandoe  <iain@sandoe.co.uk>
1392         * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
1393         alias_DFtype, alias_TFtype): New.
1394         (ALIAS_SELECTOR): New.
1395         (strong_alias): Use __typeof and a _Generic selector to
1396         provide the type to the synthesized function.
1398 2021-09-02  liuhongt  <hongtao.liu@intel.com>
1400         * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
1401         * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
1402         * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
1403         * config/i386/t-softfp: Add hf soft-fp.
1404         * config.host: Add i386/64/t-softfp.
1405         * config/i386/64/t-softfp: New file.
1407 2021-09-02  liuhongt  <hongtao.liu@intel.com>
1409         * soft-fp/eqhf2.c: New file.
1410         * soft-fp/extendhfdf2.c: New file.
1411         * soft-fp/extendhfsf2.c: New file.
1412         * soft-fp/half.h (FP_CMP_EQ_H): New marco.
1413         * soft-fp/truncdfhf2.c: New file
1414         * soft-fp/truncsfhf2.c: New file
1416 2021-09-01  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1418         * unwind-arm-common.inc (abort): Remove.
1420 2021-08-31  Richard Sandiford  <richard.sandiford@arm.com>
1422         * config/aarch64/value-unwind.h: Add missing runtime exception
1423         paragraph.
1424         * config/frv/frv-abi.h: Likewise.
1425         * config/i386/value-unwind.h: Likewise.
1426         * config/pa/pa64-hpux-lib.h: Likewise.
1428 2021-08-26  David Edelsohn  <dje.gcc@gmail.com>
1430         * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
1431         __gcc_qadd.
1432         (__gcc_qadd): Call ldouble_qadd_internal.
1433         (__gcc_qsub): Call ldouble_qadd_internal with second long double
1434         argument negated.
1436 2021-08-26  Jonathan Yong  <10walls@gmail.com>
1438         * config/i386/cygming-crtend.c: Fix register_frame_ctor
1439         and register_frame_dtor warnings.
1441 2021-08-24  Richard Earnshaw  <rearnsha@arm.com>
1443         PR target/102035
1444         * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
1445         Add vlldm erratum work-around.
1447 2021-08-21  John David Anglin  <danglin@gcc.gnu.org>
1449         * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
1451 2021-08-16  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1453         * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
1454         (gcov_type_unsigned): Likewise.
1456 2021-08-14  Stafford Horne  <shorne@gmail.com>
1458         PR target/99783
1459         * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
1460         * config/or1k/t-crtstuff: New file.
1462 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1464         * libgcov-driver.c (#include <stdint.h>): Remove.
1465         (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
1467 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1469         * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
1470         * gcov.h (gcov_info): Declare.
1471         (__gcov_info_to_gdca): Likewise.
1472         * libgcov.h (gcov_write_counter): Remove.
1473         (gcov_write_tag_length): Likewise.
1474         * libgcov-driver.c (#include <stdint.h>): New.
1475         (#include <string.h>): Remove.
1476         (NEED_L_GCOV): Conditionally define.
1477         (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
1478         (are_all_counters_zero): New.
1479         (gcov_dump_handler): Likewise.
1480         (gcov_allocate_handler): Likewise.
1481         (dump_unsigned): Likewise.
1482         (dump_counter): Likewise.
1483         (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
1484         Use dump_unsigned() and dump_counter().
1485         (write_one_data): Add dump_fn, allocate_fn, and arg parameters.  Use
1486         dump_unsigned(), dump_counter(), and are_all_counters_zero().
1487         (__gcov_info_to_gcda): New.
1489 2021-08-05  Jakub Jelinek  <jakub@redhat.com>
1491         * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
1492         * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
1493         * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
1494         * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
1496 2021-08-04  Jakub Jelinek  <jakub@redhat.com>
1498         * config/t-slibgcc-fuchsia: Undo doubly applied patch.
1500 2021-07-15  Alan Modra  <amodra@gmail.com>
1502         * config/rs6000/morestack.S (R2_SAVE): Define.
1503         (__morestack): Save and restore r2.  Set up r2 for called
1504         functions.
1506 2021-07-01  H.J. Lu  <hjl.tools@gmail.com>
1508         * soft-fp/extendhfxf2.c: New file.
1509         * soft-fp/truncxfhf2.c: Likewise.
1511 2021-06-29  Julian Brown  <julian@codesourcery.com>
1513         * config/gcn/lib2-bswapti2.c: New file.
1514         * config/gcn/lib2-divmod-di.c: New file.
1515         * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
1516         typedefs.
1517         (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
1518         * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
1519         lib2-bswapti2.c.
1521 2021-06-29  Julian Brown  <julian@codesourcery.com>
1523         * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
1524         return types to USItype.
1525         * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
1527 2021-06-23  Kewen Lin  <linkw@linux.ibm.com>
1529         * configure: Regenerate.
1530         * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
1531         typos among the name, CFLAGS and the test.
1532         * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
1533         fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
1534         Remove.
1535         * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
1536         macro FLOAT128_HW_INSNS_ISA3_1.
1537         (FP128_3_1_CFLAGS_HW): Fix option typo.
1538         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
1539         FLOAT128_HW_INSNS_ISA3_1.
1540         (__floattikf_resolve): Likewise.
1541         (__floatuntikf_resolve): Likewise.
1542         (__fixkfti_resolve): Likewise.
1543         (__fixunskfti_resolve): Likewise.
1544         (__floattikf): Likewise.
1545         (__floatuntikf): Likewise.
1546         (__fixkfti): Likewise.
1547         (__fixunskfti): Likewise.
1549 2021-06-11  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
1551         PR target/99939
1552         * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
1553         macro.
1554         * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
1555         on passing -mcmse option.
1557 2021-06-10  Segher Boessenkool  <segher@kernel.crashing.org>
1559         * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
1560         _ARCH_PPC64 .
1562 2021-06-09  Carl Love  <cel@us.ibm.com>
1564         * config.host: Add if test and set for
1565         libgcc_cv_powerpc_3_1_float128_hw.
1566         * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
1567         Change calls of __fixkfti to __fixkfti_sw.
1568         * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
1569         Change calls of __fixunskfti to __fixunskfti_sw.
1570         * config/rs6000/float128-p10.c (__floattikf_hw,
1571         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
1572         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
1573         (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
1574         __fixunskfti_resolve): Add resolve functions.
1575         (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
1576         * config/rs6000/float128-sed (floattitf, __floatuntitf,
1577         __fixtfti, __fixunstfti): Add editor commands to change names.
1578         * config/rs6000/float128-sed-hw (__floattitf,
1579         __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
1580         change names.
1581         * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
1582         * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
1583         * config/rs6000/quad-float128.h (__floattikf_sw,
1584         __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
1585         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
1586         __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
1587         * config/rs6000/t-float128 (floattikf, floatuntikf,
1588         fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
1589         (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
1590         file names to fp128_ppc_funcs.
1591         * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
1592         fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
1593         fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
1594         * config/rs6000/t-float128-p10-hw: New file.
1595         * configure: Update script for isa 3.1 128-bit float support.
1596         * configure.ac: Add check for 128-bit float hardware support.
1597         * config/rs6000/fixkfti-sw.c: New file.
1598         * config/rs6000/fixunskfti-sw.c: New file.
1599         * config/rs6000/floattikf-sw.c: New file.
1600         * config/rs6000/floatuntikf-sw.c: New file.
1602 2021-05-13  Dimitar Dimitrov  <dimitar@dinux.eu>
1604         * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
1606 2021-05-13  Martin Liska  <mliska@suse.cz>
1608         * libgcov-driver.c: Fix GNU coding style.
1610 2021-05-10  Martin Liska  <mliska@suse.cz>
1612         * libgcov-driver.c (gcov_version): Use different name that does
1613         not clash with newly introduced macro.
1615 2021-04-29  Eric Botcazou  <ebotcazou@adacore.com>
1617         * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
1618         if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
1619         * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
1621 2021-04-28  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
1623         * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1624         Define.
1625         (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
1626         * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1627         Define.
1628         (__divkc3): Improve complex divide.
1630 2021-04-23  Michael Meissner  <meissner@linux.ibm.com>
1632         PR target/98952
1633         * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
1634         trampoline size comparison in 32-bit by reversing test and
1635         combining load immediate with compare.
1636         (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
1637         in 32-bit by reversing test and combining load immediate with
1638         compare.
1640 2021-04-05  Florian Weimer  <fweimer@redhat.com>
1641             Michael Meissner   <meissner@linux.ibm.com>
1643         * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
1644         point functions for $(decimal_float) only.
1646 2021-04-03  Jakub Jelinek  <jakub@redhat.com>
1648         PR target/97653
1649         * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
1650         $(objext) instead of $(object).  Use _floatunditf instead of
1651         _floatunsditf.  Add tf <-> ti conversion objects.
1652         (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
1654 2021-03-29  Michael Meissner  <meissner@linux.ibm.com>
1656         * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
1657         (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
1658         (fp128_decstr_objs): Delete.
1659         * dfp-bit.h: Call __sprintfieee128 to do conversions from
1660         _Float128 to a Decimal type.  Call __strtoieee128 to do
1661         conversions from a Decimal type to _Float128.
1662         * config/rs6000/_sprintfkf.c: Delete file.
1663         * config/rs6000/_sprintfkf.h: Delete file.
1664         * config/rs6000/_strtokf.c: Delete file.
1665         * config/rs6000/_strtokf.h: Delete file.
1667 2021-03-23  Marcus Comstedt  <marcus@mc.pp.se>
1669         * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
1670         to __BYTE_ORDER__.
1672 2021-03-06  Jakub Jelinek  <jakub@redhat.com>
1674         PR gcov-profile/99406
1675         * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
1676         defined, define these macros if not defined already.
1678 2021-03-04  Martin Liska  <mliska@suse.cz>
1680         PR gcov-profile/99105
1681         * libgcov-driver.c (write_top_counters): Rename to ...
1682         (write_topn_counters): ... this.
1683         (write_one_data): Pre-allocate buffer for number of items
1684         in the corresponding linked lists.
1685         * libgcov.h (malloc_mmap): New function.
1686         (allocate_gcov_kvp): Use it.
1688 2021-03-04  Martin Liska  <mliska@suse.cz>
1690         PR gcov-profile/99385
1691         * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
1693 2021-03-03  Martin Liska  <mliska@suse.cz>
1695         PR gcov-profile/97461
1696         * config.in: Regenerate.
1697         * configure: Likewise.
1698         * configure.ac: Check sys/mman.h header file
1699         * libgcov-driver.c (struct gcov_kvp): Remove static
1700         pre-allocated pool and use a dynamic one.
1701         * libgcov.h (MMAP_CHUNK_SIZE): New.
1702         (gcov_counter_add): Use mmap to allocate pool for struct
1703         gcov_kvp.
1705 2021-03-02  Michael Meissner  <meissner@linux.ibm.com>
1707         * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
1708         the function.
1709         * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
1711 2021-02-24  Jakub Jelinek  <jakub@redhat.com>
1713         PR libgcc/99236
1714         * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
1715         negation of m in unsigned type.
1717 2021-02-24  Christophe Lyon  <christophe.lyon@linaro.org>
1718             Hau Hsu  <hsuhau617@gmail.com>
1720         PR target/99157
1721         * config/arm/t-arm: Fix cmse support detection.
1723 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
1725         * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
1727 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
1729         * config/rs6000/_dd_to_kf.c: New file.
1730         * config/rs6000/_kf_to_dd.c: New file.
1731         * config/rs6000/_kf_to_sd.c: New file.
1732         * config/rs6000/_kf_to_td.c: New file.
1733         * config/rs6000/_sd_to_kf.c: New file.
1734         * config/rs6000/_sprintfkf.c: New file.
1735         * config/rs6000/_sprintfkf.h: New file.
1736         * config/rs6000/_strtokf.h: New file.
1737         * config/rs6000/_strtokf.c: New file.
1738         * config/rs6000/_td_to_kf.c: New file.
1739         * config/rs6000/quad-float128.h: Add new declarations.
1740         * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
1741         (fp128_decstr_funcs): New macro.
1742         (ibm128_dec_funcs): New macro.
1743         (fp128_ppc_funcs): Add the new conversions.
1744         (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
1745         compiled with -mabi=ieeelongdouble.
1746         (fp128_decstr_objs): Force __float128 <-> string conversions to be
1747         compiled with -mabi=ibmlongdouble.
1748         (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
1749         compiled with -mabi=ieeelongdouble.
1750         (FP128_CFLAGS_DECIMAL): New macro.
1751         (IBM128_CFLAGS_DECIMAL): New macro.
1752         * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
1753         (BFP_TO_DFP): Add PowerPC _Float128 support.
1754         * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
1755         IEEE 128-bit floating point.
1756         (DFP_TO_BFP): Add PowerPC _Float128 support.
1757         (BFP_TO_DFP): Add PowerPC _Float128 support.
1758         (BFP_SPRINTF): New macro.
1760 2021-01-27  Jakub Jelinek  <jakub@redhat.com>
1762         * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
1763         * config/i386/savms64f.h: Likewise.
1764         * config/i386/resms64.h: Likewise.
1765         * config/i386/resms64f.h: Likewise.
1766         * config/i386/resms64x.h: Likewise.
1767         * config/i386/resms64fx.h: Likewise.
1769 2021-01-26  Martin Liska  <mliska@suse.cz>
1771         PR gcov-profile/98739
1772         * libgcov.h (gcov_topn_add_value): Do not train when
1773         we have a merged profile with a negative number of total
1774         value.
1776 2021-01-25  Martin Liska  <mliska@suse.cz>
1778         PR gcov-profile/98739
1779         * libgcov-merge.c (__gcov_merge_topn): Mark when merging
1780         ends with a dropped counter.
1781         * libgcov.h (gcov_topn_add_value): Add return value.
1783 2021-01-13  Stafford Horne  <shorne@gmail.com>
1785         * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1786         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
1787         FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
1788         FP_EX_ALL): New constant macros.
1789         (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
1790         FP_HANDLE_EXCEPTIONS): New macros.
1791         (_FP_TININESS_AFTER_ROUNDING): Change to 1.
1793 2021-01-13  Samuel Thibault  <samuel.thibault@gnu.org>
1795         * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
1796         posix siginfo case to struct handler_args. Detect between legacy
1797         and siginfo from the second parameter, which is a small sigcode in
1798         the legacy case, and a pointer in the siginfo case.
1800 2020-12-20  Max Filippov  <jcmvbkbc@gmail.com>
1802         * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
1803         functions.
1804         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
1805         _bswapdi2.
1807 2020-12-08  Ian Lance Taylor  <iant@golang.org>
1809         * generic-morestack-thread.c (free_segments): Block signals during
1810         thread exit.
1812 2020-12-03  Michael Meissner  <meissner@linux.ibm.com>
1814         PR libgcc/97543
1815         PR libgcc/97643
1816         * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
1817         (IBM128_SHARED_OBJS): New make variable.
1818         (IBM128_OBJS): New make variable.  Set all objects to use the
1819         explicit IBM format, and disable gnu attributes.
1820         (IBM128_CFLAGS): New make variable.
1821         (gcc_s_compile): Add -mno-gnu-attribute to all shared library
1822         modules.
1824 2020-12-03  Alexandre Oliva  <oliva@adacore.com>
1826         * config/t-vxworks (LIB2ADD): Drop.
1827         * config/t-vxworks7 (LIB2ADD): Likewise.
1828         * config/vxcache.c: Remove.
1830 2020-11-30  Stefan Kanthak  <stefan.kanthak@nexgo.de>
1832         * libgcc2.c (bswapsi2): Make constants unsigned.
1834 2020-11-25  Stefan Kanthak  <stefan.kanthak@nexgo.de>
1836         * libgcc2.c (absvSI2): Simplify/improve implementation by using
1837         builtin_add_overflow.
1838         (absvsi2, absvDI2): Likewise.
1840 2020-11-20  Maciej W. Rozycki  <macro@linux-mips.org>
1842         * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
1843         (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
1845 2020-11-18  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1847         * config/msp430/lib2hw_mul.S (mult64_hw): New.
1848         (if MUL_32): Use mult64_hw for __muldi3.
1849         (if MUL_F5): Use mult64_hw for __muldi3.
1850         * config/msp430/lib2mul.c (__muldi3): New.
1851         * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
1853 2020-11-17  Alan Modra  <amodra@gmail.com>
1855         * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
1856         (LIB2_SIDITI_CONV_FUNCS): Define.
1857         * config/rs6000/ppc64-fp.c: Delete file.
1859 2020-11-15  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1861         * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
1862         hwmult library functions.
1864 2020-11-10  Jeff Law  <law@redhat.com>
1866         * libgcc2.c: Fix whitespace issues in most recent change.
1868 2020-11-10  Stefan Kanthak  <stefan.kanthak@nexgo.de>
1870         * libgcc2.c (__addvSI3): Use overflow builtins.
1871         (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
1872         (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
1873         (__negvsi2, __negvDI2): Likewise.
1874         (__cmpdi2, __ucmpdi2): Adjust implementation to improve
1875         generated code.
1876         * libgcc2.h (__ucmpdi2): Adjust prototype.
1878 2020-11-03  Pat Bernardi  <bernardi@adacore.com>
1879             Olivier Hainque   <hainque@adacore.com>
1881         * config.host (aarch64-vxworks7*, tmake_file): Add
1882         ${cpu_type}/t-lse and t-slibgcc-libgcc.
1884 2020-11-03  Martin Storsjö  <martin@martin.st>
1886         * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
1887         before calling the callback.
1889 2020-10-30  Olivier Hainque  <hainque@adacore.com>
1890             Douglas Rupp  <rupp@adacore.com>
1891             Pat Bernardi  <bernardi@adacore.com>
1893         * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
1894         to apply to VxWorks 7 as well.
1896 2020-10-29  Olivier Hainque  <hainque@adacore.com>
1898         * config/gthr-vxworks-tls.c: Fix preprocessor logic
1899         controlling the definition of VX_ENTER_TLS_DTOR and
1900         VX_LEAVE_TLS_DTOR based on a version major check.
1902 2020-10-29  Olivier Hainque  <hainque@adacore.com>
1904         * config/gthr-vxworks-thread.c: Fix name of macro used
1905         to condition the inclusion of an actual implementation.
1907 2020-10-27  Martin Liska  <mliska@suse.cz>
1909         PR gcov-profile/97461
1910         * libgcov.h (gcov_counter_add): Use first static counters
1911         as it should help to have malloc wrappers set up.
1913 2020-10-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1915         * config/gthr-vxworks-thread.c: #include gthr.h before
1916         testing the guard defined there.
1917         * config/gthr-vxworks-cond.c: Likewise.
1919 2020-10-21  Douglas Rupp  <rupp@adacore.com>
1920             Olivier Hainque  <hainque@adacore.com>
1922         * config.host (powerpc*-wrs-vxworks7*): New case.
1923         * configure.ac: Handle powerpc*-*-vxworks7* as
1924         powerpc*-*-linux* for ppc-fp_type.
1925         * configure: Regenerate.
1927 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1929         * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
1930         section on VxWorks >= 6.
1931         * config/gthr-vxworks-thread.c: Condition the entire
1932         implementation on __GTHREAD_CXX0X.
1934 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1936         * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
1937         section on VxWorks >= 6.
1938         * config/gthr-vxworks-cond.c: Condition the entire
1939         implementation on __GTHREAD_HAS_COND.
1941 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1943         * config/gthr-vxworks.c: #include <taskLib.h>.
1945 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1947         * config/gthr-vxworks.h: Rewrite remaining occurrence
1948         of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
1950 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1951              Olivier Hainque   <hainque@adacore.com>
1953         * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
1954         except on VxWorks 6.
1956 2020-10-16  Olivier Hainque  <hainque@adacore.com>
1958         * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
1960 2020-10-14  Alexandre Oliva  <oliva@adacore.com>
1962         * config/gthr-vxworks-thread.c: Include stdlib.h.
1963         (tls_delete_hook): Prototype it.
1964         (__gthread_cond_signal): Return early if no waiters.  Consume
1965         signal in case the semaphore got full.  Use semInfoGet instead
1966         of kernel-mode-only semInfo.
1967         (__gthread_cond_timedwait): Use semExchange.  Always take the
1968         mutex again before returning.
1969         * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
1971 2020-10-14  Olivier Hainque  <hainque@adacore.com>
1973         * config/t-vxworks (LIBGCC2_INCLUDES): Append
1974         $(MULTISUBDIR) to the -I path for fixed headers, as we
1975         arrange to have different sets of such headers for different
1976         multilibs when they are activated.
1977         * config/t-vxworks7: Likewise.
1979 2020-10-14  Olivier Hainque  <hainque@adacore.com>
1981         * config/t-vxworks: Add include-fixed to include search
1982         paths for libgcc on VxWorks.
1983         * config/t-vxworks7: Likewise.
1985 2020-10-09  H.J. Lu  <hjl.tools@gmail.com>
1987         PR target/97148
1988         * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
1989         instead of <cetintrin.h>.
1991 2020-10-01  Alan Modra  <amodra@gmail.com>
1993         * config/rs6000/morestack.S,
1994         * config/rs6000/tramp.S: Support __PCREL__ code.
1996 2020-10-01  Alan Modra  <amodra@gmail.com>
1998         * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
2000 2020-09-29  Maciej W. Rozycki  <macro@wdc.com>
2002         * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
2003         variable.
2005 2020-09-28  Richard Sandiford  <richard.sandiford@arm.com>
2007         * config/aarch64/libgcc-softfp.ver: New file.
2008         * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
2010 2020-09-27  Clement Chigot  <clement.chigot@atos.net>
2012         * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
2014 2020-09-22  Sergei Trofimovich  <siarheit@google.com>
2016         PR gcov-profile/96913
2017         * libgcov-driver.c (write_one_data): Avoid function pointer
2018         comparison in TOP streaming decision.
2020 2020-09-17  Torbjörn SVENSSON  <torbjorn.svensson@st.com>
2021             Christophe Lyon  <christophe.lyon@linaro.org>
2023         * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
2024         qualifier.
2025         (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
2026         (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
2027         missing prototypes.
2029 2020-09-17  Wei Wentao  <weiwt.fnst@cn.fujitsu.com>
2031         * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
2032         unused variable warning.
2034 2020-09-16  Jojo R  <jiejie_rong@c-sky.com>
2036         * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
2038 2020-09-09  Tom de Vries  <tdevries@suse.de>
2040         * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
2041         Wbuiltin-declaration-mismatch.
2043 2020-08-26  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2045         * config/msp430/slli.S (__gnu_mspabi_sllp): New.
2046         * config/msp430/srai.S (__gnu_mspabi_srap): New.
2047         * config/msp430/srli.S (__gnu_mspabi_srlp): New.
2049 2020-08-13  Kwok Cheung Yeung  <kcy@codesourcery.com>
2051         * config/nvptx/atomic.c: New.
2052         * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
2054 2020-08-03  Ian Lance Taylor  <iant@golang.org>
2056         * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
2058 2020-08-03  Jakub Jelinek  <jakub@redhat.com>
2060         PR target/96402
2061         * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
2062         of x(tmp0), x(tmp1) in STXP arguments.
2064 2020-07-31  Maciej W. Rozycki  <macro@wdc.com>
2066         * config/riscv/save-restore.S [__riscv_xlen == 64]
2067         (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
2068         (__riscv_save_2): Replace negative immediates used for the final
2069         stack pointer adjustment with positive ones, right-shifted by 4.
2071 2020-07-31  Martin Liska  <mliska@suse.cz>
2073         * libgcov-driver.c: Add __gcov_kvp_pool
2074         and __gcov_kvp_pool_index variables.
2075         * libgcov.h (allocate_gcov_kvp): New.
2076         (gcov_topn_add_value): Use it.
2078 2020-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2080         * config/aarch64/lse.S: Add PAC property note.
2082 2020-07-23  Martin Liska  <mliska@suse.cz>
2084         PR gcov-profile/96035
2085         * libgcov-driver-system.c: Create gcov folders with 0777
2086         so that it respects a system umask.
2088 2020-07-14  David Edelsohn  <dje.gcc@gmail.com>
2090         * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
2092 2020-07-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2094         PR target/94891
2095         * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
2096         (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
2097         (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
2098         (MD_DEMANGLE_RETURN_ADDR): This.
2099         (aarch64_post_extract_frame_addr): Rename to ...
2100         (aarch64_demangle_return_addr): This.
2101         (aarch64_post_frob_eh_handler_addr): Remove.
2102         * unwind-dw2.c (uw_update_context): Demangle return address.
2103         (uw_frob_return_addr): Remove.
2105 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2107         PR target/96001
2108         * config/aarch64/lse.S: Add BTI marking and related definitions,
2109         and add BTI c to function entries.
2111 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2113         * config/aarch64/lse.S: Add stack note.
2115 2020-07-02  Martin Liska  <mliska@suse.cz>
2117         PR gcov-profile/95348
2118         * libgcov-driver.c (merge_one_data): Merge only profiles
2119         that are not of non-zero type.
2120         (write_one_data): Write counters only if there's one non-zero
2121         value.
2122         * libgcov-util.c (tag_function): Change signature from unsigned
2123         to int.
2124         (tag_blocks): Likewise.
2125         (tag_arcs): Likewise.
2126         (tag_counters): Likewise.
2127         (tag_summary): Likewise.
2128         (tag_lines): Read only if COUNTERS is non-zero.
2129         (read_gcda_file): Handle negative length for COUNTERS type.
2131 2020-06-25  Martin Liska  <mliska@suse.cz>
2133         * libgcov-driver.c (merge_summary): Remove function as its name
2134         is misleading and doing something different.
2135         (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
2136         in gcov-tool.
2137         * libgcov-util.c (curr_object_summary): Remove.
2138         (read_gcda_file): Remove unused curr_object_summary.
2139         (gcov_merge): Merge summaries.
2140         * libgcov.h: Add summary argument for gcov_info struct.
2142 2020-06-24  H.J. Lu  <hjl.tools@gmail.com>
2144         PR target/95259
2145         * config/i386/cpuinfo.c: Don't include "cpuinfo.h".  Include
2146         "common/config/i386/i386-cpuinfo.h" and
2147         "common/config/i386/cpuinfo.h".
2148         (__cpu_features2): Changed to array.
2149         (get_amd_cpu): Removed.
2150         (get_intel_cpu): Likewise.
2151         (get_available_features): Likewise.
2152         (__cpu_indicator_init): Call cpu_indicator_init.
2153         * config/i386/cpuinfo.h: Removed.
2155 2020-06-23  David Edelsohn  <dje.gcc@gmail.com>
2157         * Makefile.in: Remove uses of empty.mk. Use -include.
2158         * config/avr/t-avr: Use -include.
2159         * empty.mk: Delete.
2161 2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
2163         * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
2164         * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
2165         and 64 bit with -maix64.
2166         * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
2167         Build and install AIX-style FAT libraries.
2169 2020-06-17  Samuel Thibault  <samuel.thibault@gnu.org>
2171         * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
2172         'i386/gnu-unwind.h'
2173         * config/i386/gnu-unwind.h: New file.
2175 2020-06-17  Martin Liska  <mliska@suse.cz>
2177         * libgcov-util.c (read_gcda_finalize): Remove const operator.
2178         (merge_wrapper): Add both counts and use them properly.
2179         (topn_to_memory_representation): New function.
2180         (gcov_merge): Covert on disk representation to in memory
2181         representation.
2182         * libgcov.h: Remove const operator.
2184 2020-06-15  Max Filippov  <jcmvbkbc@gmail.com>
2186         * configure: Regenerate.
2187         * configure.ac: Use AC_COMPILE_IFELSE instead of manual
2188         preprocessor invocation to check for __XTENSA_CALL0_ABI__.
2190 2020-06-09  Martin Liska  <mliska@suse.cz>
2192         PR gcov-profile/95494
2193         * libgcov-driver.c (write_top_counters): Cast first to
2194         intptr_t as sizeof(*) != sizeof(gcov_type).
2195         * libgcov.h (gcov_counter_set_if_null): Remove.
2196         (gcov_topn_add_value): Cast first to intptr_t and update
2197         linked list directly.
2199 2020-06-09  Max Filippov  <jcmvbkbc@gmail.com>
2201         * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
2202         with uw_install_context_1.
2204 2020-06-04  Andreas Schwab  <schwab@suse.de>
2206         PR target/59230
2207         PR libfortran/59227
2208         * config/ia64/t-softfp-compat (softfp_file_list): Filter out
2209         soft-fp/divtf3.c.
2210         (LIB2ADD): Add config/ia64/divtf3.c.
2211         * config/ia64/divtf3.c: New file.
2213 2020-06-03  Martin Liska  <mliska@suse.cz>
2215         PR gcov-profile/95480
2216         * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
2217         * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
2218         (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
2219         (gcov_counter_set_if_null): Likewise.
2221 2020-06-02  Jim Wilson  <jimw@sifive.com>
2223         * config/riscv/div.S (__divdi3): For negative arguments, change bgez
2224         to bgtz.
2226 2020-06-02  Martin Liska  <mliska@suse.cz>
2228         * libgcov.h (gcov_topn_add_value): Use xcalloc instead
2229         of xmalloc.
2231 2020-06-02  Martin Liska  <mliska@suse.cz>
2233         * libgcov-driver.c (prune_topn_counter): Remove.
2234         (prune_counters): Likewise.
2235         (merge_one_data): Special case TOP N counters
2236         as they have variable length.
2237         (write_top_counters): New.
2238         (write_one_data): Special case TOP N.
2239         (dump_one_gcov): Do not prune TOP N counters.
2240         * libgcov-merge.c (merge_topn_values_set): Remove.
2241         (__gcov_merge_topn): Use gcov_topn_add_value.
2242         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2243         Likewise here.
2244         * libgcov.h (gcov_counter_add): New.
2245         (gcov_counter_set_if_null): Likewise.
2246         (gcov_topn_add_value): New.
2248 2020-06-01  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2250         * config/i386/sfp-exceptions.c (struct fenv):
2251         Add __attribute__ ((gcc_struct)).
2253 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
2255         PR bootstrap/95413
2256         * configure: Regenerated.
2258 2020-05-28  Dong JianQiang  <dongjianqiang2@huawei.com>
2260         PR gcov-profile/95332
2261         * libgcov-util.c (read_gcda_file): Call gcov_magic.
2262         * libgcov.h (gcov_magic): Disable GCC poison.
2264 2020-05-21  H.J. Lu  <hongjiu.lu@intel.com>
2266         PR target/95212
2267         * config/i386/cpuinfo.h (processor_features): Move
2268         FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
2270 2020-05-20  H.J. Lu  <hongjiu.lu@intel.com>
2272         PR target/91695
2273         * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
2274         check.
2276 2020-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2278         PR target/95212
2279         PR target/95220
2280         * config/i386/cpuinfo.c (get_available_features): Fix
2281         FEATURE_GFNI check.  Also check FEATURE_AVX512VP2INTERSECT.
2282         * config/i386/cpuinfo.h (processor_features): Add
2283         FEATURE_AVX512VP2INTERSECT.
2285 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2287         PR bootstrap/95147
2288         * configure: Regenerated.
2290 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2292         * configure: Regenerated.
2294 2020-05-09  Hans-Peter Nilsson  <hp@axis.com>
2296         * config.host: Remove support for crisv32-*-* and cris*-*-linux.
2297         * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
2299 2020-05-06  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2301         * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
2302         (__math_force_eval_div): New define.
2303         (__sfp_handle_exceptions): Use __math_force_eval_div to use
2304         generic division to generate INVALID, DIVZERO and INEXACT
2305         exceptions.
2307 2020-05-06  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2309         * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
2310         instead of getauxval.
2311         (AT_HWCAP): Define.
2312         (HWCAP_ATOMICS): Define.
2313         Guard detection on __gnu_linux__.
2315 2020-05-05  Michael Meissner  <meissner@linux.ibm.com>
2317         * config.host: Delete changes meant for a private branch.
2318         * config/rs6000/t-float128: Likewise.
2319         * configure.ac: Likewise.
2320         * configure: Likewise.
2322 2020-05-05  Martin Liska  <mliska@suse.cz>
2324         PR gcov-profile/93623
2325         * Makefile.in: Remove __gcov_flush.
2326         * gcov.h (__gcov_flush): Remove.
2327         * libgcov-interface.c (__gcov_flush): Remove.
2328         (init_mx): Use renamed mutex.
2329         (__gcov_lock): Likewise.
2330         (__gcov_unlock): Likewise.
2331         (__gcov_fork): Likewise.
2332         (__gcov_flush): Remove.
2334 2020-05-05  Martin Liska  <mliska@suse.cz>
2336         PR gcov-profile/93623
2337         * libgcov-interface.c (__gcov_fork): Do not flush
2338         and reset only in child process.
2339         (__gcov_execl): Dump counters only and reset them
2340         only if exec* fails.
2341         (__gcov_execlp): Likewise.
2342         (__gcov_execle): Likewise.
2343         (__gcov_execv): Likewise.
2344         (__gcov_execvp): Likewise.
2345         (__gcov_execve): Likewise.
2347 2020-05-05  Martin Liska  <mliska@suse.cz>
2349         PR gcov-profile/93623
2350         * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
2351         * libgcov-interface.c (ALIAS_void_fn): Remove.
2352         (__gcov_lock): New.
2353         (__gcov_unlock): New.
2354         (__gcov_flush): Use __gcov_lock and __gcov_unlock.
2355         (__gcov_reset): Likewise.
2356         (__gcov_dump): Likewise.
2357         * libgcov.h (__gcov_lock): New declaration.
2358         (__gcov_unlock): Likewise.
2360 2020-05-01  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2362         * config/i386/sfp-exceptions.c (__math_force_eval): New define.
2363         (__sfp_handle_exceptions): Use __math_force_eval to evaluate
2364         generic division to generate INVALID and DIVZERO exceptions.
2366 2020-04-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2368         * config/rs6000/crtresfpr.S: Use .machine ppc.
2369         * config/rs6000/crtresxfpr.S: Likewise.
2370         * config/rs6000/crtsavfpr.S: Likewise.
2372 2020-04-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2374         PR target/94514
2375         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
2376         Update context->flags accroding to the frame state.
2378 2020-04-19  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2380         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
2381         Remove unneeded assignments to volatile memory.
2383 2020-04-15  Jakub Jelinek  <jakub@redhat.com>
2385         PR target/93053
2386         * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
2387         * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
2388         is not defined, use just .arch armv8-a.
2389         (B, M, N, OPN): Define.
2390         (COMMENT): New .macro.
2391         (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
2392         defined.  Otherwise, move the operands right after the glue? and
2393         comment out operands where the macros are used.
2394         * configure: Regenerated.
2395         * config.in: Regenerated.
2397 2020-04-07  Ian Lance Taylor  <iant@golang.org>
2399         PR libgcc/94513
2400         * generic-morestack.c: Give up trying to use __mmap/__munmap, use
2401         syscall instead.
2403 2020-04-04  Ian Lance Taylor  <iant@golang.org>
2405         * generic-morestack.c: Only use __mmap on glibc >= 2.26.
2407 2020-04-03  Ian Lance Taylor  <iant@golang.org>
2409         * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
2410         than mmap/munmap, to avoid hooks.
2412 2020-04-03  Jim Johnston  <jjohnst@us.ibm.com>
2414         * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
2415         (TPFRA_OFFSET): Macros removed.
2416         (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
2417         (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
2418         (PG3_SKIPPING_OFFSET): New macros.
2419         (__isPATrange): Use cinfc_fast for the check.
2420         (__isSkipResetAddr): New function.
2421         (s390_fallback_frame_state): Check for skip trace addresses. Use
2422         either ICST_CRET or ICST_SRET to calculate return address
2423         location.
2424         (__tpf_eh_return): Handle skip trace addresses.
2426 2020-03-26  Richard Earnshaw  <rearnsha@arm.com>
2428         PR target/94220
2429         * config/arm/lib1funcs.asm (COND): Use a single definition for
2430         unified syntax.
2431         (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
2432         (aeabi_idivmod): Likewise.
2433         (divsi3_skip_div0_test): Likewise.
2435 2020-03-17  Mihail Ionescu  <mihail.ionescu@arm.com>
2437         * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
2439 2020-03-04  Andreas Krebbel  <krebbel@linux.ibm.com>
2441         * config.host: Include the new makefile fragment.
2442         * config/s390/t-tpf: New file.
2444 2020-03-03  Richard Earnshaw  <rearnsha@arm.com>
2446         * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
2447         syntax.
2448         (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
2449         (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
2450         (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
2451         (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
2452         * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
2453         syntax.
2454         (divsi3, modsi3): Likewise.
2455         (clzdi2, ctzsi2): Likewise.
2456         * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
2457         unified syntax.
2458         (UNWIND_WRAPPER): Likewise.
2460 2020-03-02  Martin Liska  <mliska@suse.cz>
2462         * libgcov-interface.c: Remove duplicate
2463         declaration of __gcov_flush_mx.
2465 2020-02-18  Martin Liska  <mliska@suse.cz>
2467         PR ipa/92924
2468         * libgcov-merge.c (merge_topn_values_set): Record
2469         when a TOP N counter becomes invalid.  When merging
2470         remove a smallest value if the space is needed.
2472 2020-02-12  Sandra Loosemore  <sandra@codesourcery.com>
2474         PR libstdc++/79193
2475         PR libstdc++/88999
2477         * configure: Regenerated.
2479 2020-02-10  Jeff Law  <law@redhat.com>
2481         * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
2482         sections.
2483         * config/frv/frvend.c: Similarly.
2485 2020-02-10  H.J. Lu  <hongjiu.lu@intel.com>
2487         PR libgcc/85334
2488         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2489         New.
2491 2020-02-10  Christophe Lyon  <christophe.lyon@linaro.org>
2493         PR target/93615
2494         * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
2495         _Unwind_gnu_Find_got.
2496         * unwind-pe.h: Likewise.
2498 2020-02-07  Jakub Jelinek  <jakub@redhat.com>
2500         PR target/93615
2501         * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
2502         (_Unwind_gnu_Find_got): ... this.  Use __asm instead of asm.  Remove
2503         trailing :s in asm.  Formatting fixes.
2504         (_Unwind_decode_typeinfo_ptr): Adjust caller.
2506 2020-01-31  Sandra Loosemore  <sandra@codesourcery.com>
2508         nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
2510         * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
2511         * config/nios2-elf-lib.h: New.
2512         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
2513         code for finding GOT base for nios2.
2515 2020-01-27  Martin Liska  <mliska@suse.cz>
2517         PR gcov-profile/93403
2518         * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
2519         Call __gcov_indirect_call_profiler_body.
2520         (__gcov_indirect_call_profiler_body): New.
2521         (__gcov_indirect_call_profiler_v4_atomic): New.
2522         * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
2523         New declaration.
2525 2020-01-27  Claudiu Zissulescu  <claziss@synopsys.com>
2527         * config/arc/crti.S: Add RF16 object attribute.
2528         * config/arc/crtn.S: Likewise.
2529         * config/arc/crttls.S: Likewise.
2530         * config/arc/lib1funcs.S: Likewise.
2531         * config/arc/fp-hack.h (ARC_OPTFPE): Define.
2532         * config/arc/lib2funcs.c: New file.
2533         * config/arc/t-arc: Add lib2funcs to LIB2ADD.
2535 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
2537         * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
2538         * configure.ac: Handle `--with-toolexeclibdir='.
2539         * configure: Regenerate.
2541 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
2543         * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
2545 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
2547         * config/mips/gnustack.h: New file.
2548         * config/mips/crti.S: Include gnustack.h.
2549         * config/mips/crtn.S: Likewise.
2550         * config/mips/mips16.S: Likewise.
2551         * config/mips/vr4120-div.S: Likewise.
2553 2020-01-23  Martin Liska  <mliska@suse.cz>
2555         * libgcov-driver.c (prune_topn_counter): Remove
2556         check for -1 as we only prune run-time counters
2557         that do not generate an invalid state.
2559 2020-01-22  Martin Liska  <mliska@suse.cz>
2561         PR tree-optimization/92924
2562         * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
2563         try to find an existing value, then find an empty slot
2564         if not found.
2566 2020-01-22  Martin Liska  <mliska@suse.cz>
2568         PR tree-optimization/92924
2569         * libgcov-driver.c (prune_topn_counter): New.
2570         (prune_counters): Likewise.
2571         (dump_one_gcov): Prune a run-time counter.
2572         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2573         For a known value, add GCOV_TOPN_VALUES to value.
2574         Otherwise, decrement all counters by one.
2576 2020-01-18  Hans-Peter Nilsson  <hp@axis.com>
2578         * config/cris/arit.c (DS): Apply attribute __fallthrough__.
2580 2020-01-18  John David Anglin  <danglin@gcc.gnu.org>
2582         PR libgcc/92988
2583         * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
2584         DEFAULT_USE_CXA_ATEXIT is true.
2586 2020-01-16  Mihail-Calin Ionescu  <mihail.ionescu@arm.com>
2587             Thomas Preud'homme  <thomas.preudhomme@arm.com>
2589         * config/arm/t-arm: Check return value of gcc rather than lack of
2590         output.
2592 2020-01-14  Georg-Johann Lay  <avr@gjlay.de>
2594         * config/avr/lib1funcs.S (skip): Simplify.
2596 2020-01-10  Kwok Cheung Yeung  <kcy@codesourcery.com>
2598         * config/gcn/atomic.c: Remove include of stdint.h.
2599         (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
2600         __UINTPTR_TYPE__.
2602 2020-01-09  Kwok Cheung Yeung  <kcy@codesourcery.com>
2604         * config/gcn/atomic.c: New.
2605         * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
2607 2020-01-08  Georg-Johann Lay  <avr@gjlay.de>
2609         Implement 64-bit double functions.
2611         PR target/92055
2612         * config.host (tmake_file) [target=avr]: Add t-libf7,
2613         t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
2614         * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
2615         depending on sizeof (double) or sizeof (long double).
2616         * config/avr/libf7: New folder.
2618 2020-01-05  Olivier Hainque  <hainque@adacore.com>
2620         * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
2621         by IN_LIBGCC2.
2623 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
2625         Update copyright years.
2627 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2629         * config/gthr-vxworks.h: Use _vxworks-versions.h.
2630         * config/gthr-vxworks-tls.c: Likewise.
2632 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2634         * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
2635         standard zero-initializer syntax.
2637 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2639         * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
2640         reference to the internal VX_GET_TLS_DATA interface.
2642 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2644         * config/vxcrtstuff.c: Fix incorrect spelling of
2645         USE_INITFINI_ARRAY in guard.
2647 2019-12-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2649         * config.host: s/msp430*-*-elf/msp430-*-elf*.
2650         Override default "extra_parts" variable.
2651         * configure: Regenerate.
2652         * configure.ac: Disable TM clone registry by default for
2653         msp430-elfbare.
2655 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2657         * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
2658         "extra_parts".
2659         * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
2661 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2663         * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
2664         true.
2666 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2668         * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
2669         defined instead of its value.
2671 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2673         * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
2674         if it will have contents.
2676 2019-12-05  Georg-Johann Lay  <avr@gjlay.de>
2678         PR target/92055
2679         * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
2681 2019-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2683         PR libgcc/91737
2684         * config.host: Add t-gthr-noweak on *-*-musl*.
2685         * config/t-gthr-noweak: New file.
2687 2019-11-17  John David Anglin  <danglin@gcc.gnu.org>
2689         * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
2690         volatile void *.  Remove trap check.
2691         (__kernel_cmpxchg2): Likewise.
2692         (FETCH_AND_OP_2): Adjust operand types.
2693         (OP_AND_FETCH_2): Likewise.
2694         (FETCH_AND_OP_WORD): Likewise.
2695         (OP_AND_FETCH_WORD): Likewise.
2696         (COMPARE_AND_SWAP_2): Likewise.
2697         (__sync_val_compare_and_swap_4): Likewise.
2698         (__sync_bool_compare_and_swap_4): Likewise.
2699         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2700         (__sync_lock_test_and_set_4): Likewise.
2701         (SYNC_LOCK_RELEASE_1): Likewise.  Use __kernel_cmpxchg2 for release.
2702         (__sync_lock_release_4): Adjust operand types.  Use __kernel_cmpxchg
2703         for release.
2704         (__sync_lock_release_8): Remove.
2706 2019-11-15  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2708         * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
2709         of __sigset_t.
2711 2019-11-14  Jerome Lambourg  <lambourg@adacore.com>
2712             Doug Rupp <rupp@adacore.com>
2713             Olivier Hainque  <hainque@adacore.com>
2715         * config.host: Collapse the arm-vxworks entries into
2716         a single arm-wrs-vxworks7* one.
2717         * config/arm/unwind-arm-vxworks.c: Update comments.  Provide
2718         __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
2719         kernel modules, to be overriden by libstdc++ when we link with
2720         it.  Rely on externally provided __exidx_start/end.
2722 2019-11-14  Doug Rupp  <rupp@adacore.com>
2723             Olivier Hainque  <hainque@adacore.com>
2725         * config.host: Handle aarch64*-wrs-vxworks7*.
2727 2019-11-12  Olivier Hainque  <hainque@adacore.com>
2729         * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
2730         sources except the cxx0x support to LIB2ADDEH.  We don't support
2731         cxx0x on AE/653.
2732         * config/t-vxworksae: New file.
2733         * config.host: Handle *-*-vxworksae: Add the two aforementioned
2734         Makefile fragment files at their expected position in the tmake_file
2735         list, in accordance with what is done for other VxWorks variants.
2737 2019-11-12  Corentin Gay  <gay@adacore.com>
2738             Jerome Lambourg  <lambourg@adacore.com>
2739             Olivier Hainque  <hainque@adacore.com>
2741         * config/t-gthr-vxworks: New file, add all the gthr-vxworks
2742         sources to LIB2ADDEH.
2743         * config/t-vxworks: Remove adjustments to LIB2ADDEH.
2744         * config/t-vxworks7: Likewise.
2746         * config.host: Append a block at the end of the file to add the
2747         t-gthr files to the tmake_file list for VxWorks after everything
2748         else.
2750         * config/vxlib.c: Rename as gthr-vxworks.c.
2751         * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
2753         * config/gthr-vxworks.h: Simplify a few comments.  Expose a TAS
2754         API and a basic error checking API, both internal.  Simplify the
2755         __gthread_once_t type definition and initializers.  Add sections
2756         for condition variables support and for the C++0x thread support,
2757         conditioned against Vx653 for the latter.
2759         * config/gthr-vxworks.c (__gthread_once): Simplify comments and
2760         implementation, leveraging the TAS internal API.
2761         * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
2762         API, leveraging the general availability of TLS services in VxWorks7
2763         post SR6xxx.
2764         (__gthread_setspecific, __gthread_setspecific): Use it.
2765         (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
2766         * config/gthr-vxworks-cond.c: New file.  GTHREAD_COND variable
2767         support based on VxWorks primitives.
2768         * config/gthr-vxworks-thread.c: New file.  GTHREAD_CXX0X support
2769         based on VxWorks primitives.
2771 2019-11-06  Jerome Lambourg  <lambourg@adacore.com>
2772             Olivier Hainque  <hainque@adacore.com>
2774         * config/vxcrtstuff.c: New file.
2775         * config/t-vxcrtstuff: New Makefile fragment.
2776         * config.host: Append t-vxcrtstuff to the tmake_file list
2777         on all VxWorks ports using dwarf for table based EH.
2779 2019-11-07  Georg-Johann Lay  <avr@gjlay.de>
2781         Support 64-bit double and 64-bit long double configurations.
2783         PR target/92055
2784         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
2785         long double is a 32-bit type.
2786         * config/avr/t-avrlibc: Copy double64 and long-double64
2787         multilib(s) from the vanilla one.
2788         * config/avr/t-copy-libgcc: New Makefile snip.
2790 2019-11-04  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2792         * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
2793         the target output object format is not ELF.
2794         s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
2796 2019-11-03  Oleg Endo  <olegendo@gcc.gnu.org>
2798         PR libgcc/78804
2799         * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
2800         * fp-bit.c (pack_d, unpack_d): Remove special cases for
2801         FLOAT_BIT_ORDER_MISMATCH.
2802         * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
2804 2019-11-01  Jim Wilson  <jimw@sifive.com>
2806         * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
2808 2019-10-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2810         * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
2811         s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY, 
2812         s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
2813         Define symbols for 32-bit and f5series hardware multiply
2814         register addresses.
2815         Replace hard-coded register addresses with symbols.
2816         Fix "_mspabi*" typo.
2817         Fix whitespace.
2818         * config/msp430/lib2mul.c: Add comment.
2820 2019-10-15  John David Anglin  <danglin@gcc.gnu.org>
2822         * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
2823         unsigned int.  Adjust callers.
2824         (__canonicalize_funcptr_for_compare): Change plabel type to volatile
2825         unsigned int *.  Load relocation offset before function pointer.
2826         Add barrier to ensure ordering.
2828 2019-10-12  John David Anglin  <danglin@gcc.gnu.org>
2830         * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
2831         Load PIC register after branch target.  Fix white space.
2832         * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
2833         implementations.  Load PIC register after branch target.  Don't
2834         clobber function pointer when it points to function descriptor.
2835         Use nullification instead of branch in LINUX implementation.
2837 2019-10-03  John David Anglin  <danglin@gcc.gnu.org>
2839         * config/pa/fptr.c: Disable -Warray-bounds warning.
2841 2019-09-25  Richard Henderson  <richard.henderson@linaro.org>
2843         * config.in, configure: Re-rebuild with stock autoconf 2.69,
2844         not the ubuntu modified 2.69.
2846         PR target/91833
2847         * config/aarch64/lse-init.c: Include auto-target.h.  Disable
2848         initialization if !HAVE_SYS_AUXV_H.
2849         * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
2850         * config.in, configure: Rebuild.
2852         PR target/91834
2853         * config/aarch64/lse.S (LDNM): Ensure STXR output does not
2854         overlap the inputs.
2856 2019-09-25  Shaokun Zhang  <zhangshaokun@hisilicon.com>
2858         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
2859         CTR_EL0.IDC and CTR_EL0.DIC.
2861 2019-09-20  Christophe Lyon  <christophe.lyon@st.com>
2863         Revert:
2864         2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2865                 Mickaël Guêné <mickael.guene@st.com>
2867         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2868         architecture.
2870 2019-09-19  Richard Henderson  <richard.henderson@linaro.org>
2872         * config/aarch64/lse-init.c: New file.
2873         * config/aarch64/lse.S: New file.
2874         * config/aarch64/t-lse: New file.
2875         * config.host: Add t-lse to all aarch64 tuples.
2877 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2878         Mickaël Guêné <mickael.guene@st.com>
2880         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2881         architecture.
2883 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2884         Mickaël Guêné <mickael.guene@st.com>
2886         * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
2887         (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
2888         (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
2889         (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
2890         (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
2891         (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
2892         (__gnu_personality_sigframe_fdpic): New.
2893         (get_eit_entry): Add FDPIC signal frame support.
2895 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2896         Mickaël Guêné <mickael.guene@st.com>
2898         * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
2899         (__kernel_dmb): Likewise.
2900         (__fdpic_cmpxchg): New function.
2901         (__fdpic_dmb): New function.
2902         * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
2903         (gnu_Unwind_Find_got): New function.
2904         (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
2905         * unwind-arm-common.inc (UCB_PR_GOT): New.
2906         (funcdesc_t): New struct.
2907         (get_eit_entry): Add FDPIC support.
2908         (unwind_phase2): Likewise.
2909         (unwind_phase2_forced): Likewise.
2910         (__gnu_Unwind_RaiseException): Likewise.
2911         (__gnu_Unwind_Resume): Likewise.
2912         (__gnu_Unwind_Backtrace): Likewise.
2913         * unwind-pe.h (read_encoded_value_with_base): Likewise.
2915 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2916         Mickaël Guêné <mickael.guene@st.com>
2918         * libgcc/crtstuff.c: Add support for FDPIC.
2920 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2922         * config.host: Handle *-*-uclinuxfdpiceabi.
2924 2019-09-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
2926         * config.host: Set cpu_type for bpf-*-* targets.
2927         * config/bpf/t-bpf: Likewise.
2928         * config/bpf/crtn.S: Likewise.
2929         * config/bpf/crti.S: New file.
2931 2019-09-06  Jim Wilson  <jimw@sifive.com>
2933         * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2934         (riscv*-*-freebsd*): Likewise.
2936 2019-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
2938         * config.host: Remove references to spu.
2939         * config/spu/: Remove directory.
2941 2019-08-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2943         PR target/91306
2944         * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
2945         element type, instead of "sizeof" the element type.
2946         (__DTOR_LIST__): Likewise.
2947         (__TMC_LIST__): Likewise.
2948         (__do_global_dtors_aux_fini_array_entry): Likewise.
2949         (__frame_dummy_init_array_entry): Likewise.
2950         (__CTOR_END__): Likewise.
2951         (__DTOR_END__): Likweise.
2952         (__FRAME_END__): Likewise.
2953         (__TMC_END__): Likewise.
2955 2019-08-20  Lili Cui  <lilicui@intel.com>
2957         * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
2958         INTEL_COREI7_COOPERLAKE.
2960 2019-07-31  Matt Thomas  <matt@3am-software.com>
2961             Nick Hudson <nick@nthcliff.demon.co.uk>
2962             Matthew Green <mrg@eterna.com.au>
2963             Maya Rashish <coypu@sdf.org>
2965         * config.host (hppa*-*-netbsd*): New case.
2966         * config/pa/t-netbsd: New file.
2968 2019-07-31  Joel Hutton  <Joel.Hutton@arm.com>
2970         * config/arm/cmse.c (cmse_check_address_range): Add
2971         warn_unused_result attribute.
2973 2019-07-22  Martin Liska  <mliska@suse.cz>
2975         * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
2976         * config/pa/t-stublib: Likewise.
2978 2019-07-22  Stafford Horne  <shorne@gmail.com>
2980         PR target/90362
2981         * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
2982         to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
2983         instructions are not available on every processor.  Change a
2984         l.bnf to l.bf to fix logic issue.
2986 2019-07-04  Iain Sandoe  <iain@sandoe.co.uk>
2988         * config.host: Remove reference to t-darwin8.
2990 2019-07-03  Iain Sandoe  <iain@sandoe.co.uk>
2992         * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
2993         list.
2994         * config/rs6000/t-darwin: Build crt3_2 for older systems.  Revise
2995         mmacosx-version-min for crts to run across all system versions.
2996         * config/rs6000/t-darwin64 (LIB2ADD): Remove.
2997         * config/t-darwin: Revise mmacosx-version-min for crts to run across
2998         system versions >= 10.4.
3000 2019-07-03  Martin Liska  <mliska@suse.cz>
3002         * Makefile.in: Use topn_values instead of one_value names.
3003         * libgcov-merge.c (__gcov_merge_single): Move to ...
3004         (__gcov_merge_topn): ... this.
3005         (merge_single_value_set): Move to ...
3006         (merge_topn_values_set): ... this.
3007         * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
3008         ...
3009         (__gcov_topn_values_profiler_body): ... this.
3010         (__gcov_one_value_profiler_v2): Move to ...
3011         (__gcov_topn_values_profiler): ... this.
3012         (__gcov_one_value_profiler_v2_atomic): Move to ...
3013         (__gcov_topn_values_profiler_atomic): ... this.
3014         (__gcov_indirect_call_profiler_v4): Remove.
3015         * libgcov-util.c (__gcov_single_counter_op): Move to ...
3016         (__gcov_topn_counter_op): ... this.
3017         * libgcov.h (L_gcov_merge_single): Remove.
3018         (L_gcov_merge_topn): New.
3019         (__gcov_merge_single): Remove.
3020         (__gcov_merge_topn): New.
3021         (__gcov_one_value_profiler_v2): Move to ..
3022         (__gcov_topn_values_profiler): ... this.
3023         (__gcov_one_value_profiler_v2_atomic): Move to ...
3024         (__gcov_topn_values_profiler_atomic): ... this.
3026 2019-07-03  Martin Liska  <mliska@suse.cz>
3028         * libgcov-merge.c (merge_single_value_set): Support N values.
3029         * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
3031 2019-06-27  Ilia Diachkov  <ilia.diachkov@optimitech.com>
3033         * Makefile.in (USE_TM_CLONE_REGISTRY): New.
3034         (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
3035         * configure.ac: Add --disable-tm-clone-registry option.
3036         * configure: Regenerate.
3038 2019-06-27  Martin Liska  <mliska@suse.cz>
3040         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
3041         dead assignments.
3042         * libgcov-util.c: Likewise.
3044 2019-06-27  Martin Liska  <mliska@suse.cz>
3046         * libgcov-util.c (gcov_profile_merge): Release allocated
3047         memory.
3048         (calculate_overlap): Likewise.
3050 2019-06-25  Iain Sandoe  <iain@sandoe.co.uk>
3052         * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
3053         * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
3054         Build objects for the out of line save/restore register functions
3055         so that they can be used for any supported Darwin version.
3056         * config/t-darwin: Default the build Darwin version to Darwin8
3057         (MacOS 10.4).
3059 2019-06-25  Martin Liska  <mliska@suse.cz>
3061         * libgcov-driver-system.c (replace_filename_variables): Do not
3062         call strlen with NULL argument.
3064 2019-06-25  Andrew Stubbs  <ams@codesourcery.com>
3066         * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
3067         * config/gcn/unwind-gcn.c: New file.
3069 2019-06-25  Kwok Cheung Yeung  <kcy@codesourcery.com>
3070             Andrew Stubbs  <ams@codesourcery.com>
3072         * configure: Regenerate.
3073         * config/gcn/gthr-gcn.h: New.
3075 2019-06-18  Tom de Vries  <tdevries@suse.de>
3077         * config/nvptx/crt0.c (__main): Declare.
3079 2019-06-17  Matthew Green  <mrg@eterna.com.au>
3080             Maya Rashish  <coypu@sdf.org>
3082         * config.host (aarch64*-*-netbsd*): New case.
3084 2019-06-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3086         * config/msp430/slli.S (__mspabi_sllll): New library function for
3087         performing a logical left shift of a 64-bit value.
3088         * config/msp430/srai.S (__mspabi_srall): New library function for
3089         performing a arithmetic right shift of a 64-bit value.
3090         * config/msp430/srll.S (__mspabi_srlll): New library function for
3091         performing a logical right shift of a 64-bit value.
3093 2019-06-14  Matt Thomas  <matt@3am-software.com>
3094             Matthew Green  <mrg@eterna.com.au>
3095             Nick Hudson  <skrll@netbsd.org>
3096             Maya Rashish  <coypu@sdf.org>
3098         * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
3099         * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
3100         functions to build.
3101         * config/arm/t-netbsd-eabi: New file.
3103 2019-06-12  Dimitar Dimitrov  <dimitar@dinux.eu>
3105         * config.host: Add PRU target.
3106         * config/pru/asri.c: New file.
3107         * config/pru/eqd.c: New file.
3108         * config/pru/eqf.c: New file.
3109         * config/pru/ged.c: New file.
3110         * config/pru/gef.c: New file.
3111         * config/pru/gtd.c: New file.
3112         * config/pru/gtf.c: New file.
3113         * config/pru/led.c: New file.
3114         * config/pru/lef.c: New file.
3115         * config/pru/lib2bitcountHI.c: New file.
3116         * config/pru/lib2divHI.c: New file.
3117         * config/pru/lib2divQI.c: New file.
3118         * config/pru/lib2divSI.c: New file.
3119         * config/pru/libgcc-eabi.ver: New file.
3120         * config/pru/ltd.c: New file.
3121         * config/pru/ltf.c: New file.
3122         * config/pru/mpyll.S: New file.
3123         * config/pru/pru-abi.h: New file.
3124         * config/pru/pru-asm.h: New file.
3125         * config/pru/pru-divmod.h: New file.
3126         * config/pru/sfp-machine.h: New file.
3127         * config/pru/t-pru: New file.
3129 2019-06-11  Jakub Jelinek  <jakub@redhat.com>
3131         * libgcov-merge.c (__gcov_merge_single): Revert previous change.
3133 2019-06-10  Martin Liska  <mliska@suse.cz>
3135         PR bootstrap/90808
3136         * libgcov.h: Add ATTRIBUTE_UNUSED.
3138 2019-06-10  Martin Liska  <mliska@suse.cz>
3140         * Makefile.in: Add __gcov_one_value_profiler_v2,
3141         __gcov_one_value_profiler_v2_atomic and
3142         __gcov_indirect_call_profiler_v4.
3143         * libgcov-merge.c (__gcov_merge_single): Change
3144         function signature.
3145         (merge_single_value_set): New.
3146         * libgcov-profiler.c (__gcov_one_value_profiler_body):
3147         Update functionality.
3148         (__gcov_one_value_profiler): Remove.
3149         (__gcov_one_value_profiler_v2): ... this.
3150         (__gcov_one_value_profiler_atomic): Rename to ...
3151         (__gcov_one_value_profiler_v2_atomic): this.
3152         (__gcov_indirect_call_profiler_v3): Rename to ...
3153         (__gcov_indirect_call_profiler_v4): ... this.
3154         * libgcov.h (__gcov_one_value_profiler): Remove.
3155         (__gcov_one_value_profiler_atomic): Remove.
3156         (__gcov_one_value_profiler_v2_atomic): New.
3157         (__gcov_indirect_call_profiler_v3): Remove.
3158         (__gcov_one_value_profiler_v2): New.
3159         (__gcov_indirect_call_profiler_v4): New.
3160         (gcov_get_counter_ignore_scaling): New function.
3162 2019-06-07  Martin Liska  <mliska@suse.cz>
3164         * Makefile.in: Remove usage of
3165         _gcov_merge_icall_topn.
3166         * libgcov-driver.c (gcov_sort_n_vals): Remove.
3167         (gcov_sort_icall_topn_counter): Likewise.
3168         (gcov_sort_topn_counter_arrays): Likewise.
3169         (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
3170         * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
3171         * libgcov-profiler.c (__gcov_topn_value_profiler_body):
3172         Likewise.
3173         (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
3174         (struct indirect_call_tuple): Remove.
3175         (__gcov_indirect_call_topn_profiler): Remove.
3176         * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
3177         * libgcov.h (gcov_sort_n_vals): Remove.
3178         (L_gcov_merge_icall_topn): Likewise.
3179         (__gcov_merge_icall_topn): Likewise.
3180         (__gcov_indirect_call_topn_profiler): Likewise.
3182 2019-06-06  Iain Sandoe  <iain@sandoe.co.uk>
3184         * config/rs6000/t-darwin: Ensure that the unwinder is built with
3185         altivec enabled.
3187 2019-06-06  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3189         * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
3190         section.
3191         (__mspabi_slli): Likewise.
3192         (__mspabi_slll_n): Likewise.
3193         (__mspabi_slll): Likewise.
3194         * config/msp430/srai.S (__mspabi_srai_n): Likewise.
3195         (__mspabi_srai): Likewise.
3196         (__mspabi_sral_n): Likewise.
3197         (__mspabi_sral): Likewise.
3198         * config/msp430/srli.S (__mspabi_srli_n): Likewise.
3199         (__mspabi_srli): Likewise.
3200         (__mspabi_srll_n): Likewise.
3201         (__mspabi_srll): Likewise.
3203 2019-06-05  Yoshinori Sato  <ysato@users.sourceforge.jp>
3205         * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
3206         Add appropriate tm_file clause as well.
3207         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
3209 2019-06-05  James Clarke  <jrtc27@jrtc27.com>
3211         * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
3212         rather than .data/.bss so it can be accessed via gp-relative
3213         addressing.
3215 2019-06-05  David Edelsohn  <dje.gcc@gmail.com>
3217         * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
3218         (CR2_REGNO): Rename to R_CR2.
3219         (XER_REGNO): Rename to R_XER.
3220         (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
3221         (VRSAVE_REGNO): Rename to R_VRSAVE.
3222         (VSCR_REGNO): R_VSCR.
3224 2019-05-29  Yoshinori Sato  <ysato@users.sourceforge.jp>
3226         * config.host (rx-*-linux*): Add new case.
3227         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
3229 2019-05-29  Sam Tebbs  <sam.tebbs@arm.com>
3231         * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
3232         function.
3233         * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
3234         aarch64_post_frob_eh_handler_addr): Add check for b-key.
3235         * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
3236         aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
3237         Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
3238         * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
3239         string.
3240         * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
3241         string.
3242         (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
3244 2019-05-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3246         * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
3247         Remove Solaris 9 and 10 support.
3248         (sparc_is_sighandler): Likewise.
3250 2019-05-26  John David Anglin  <danglin@gcc.gnu.org>
3252         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
3254 2019-05-17  H.J. Lu  <hongjiu.lu@intel.com>
3256         * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3257         4_FP_W_TYPEs are used for IEEE quad precision.
3258         * soft-fp/extendhftf2.c: Likewise.
3259         * soft-fp/extendsftf2.c: Likewise.
3260         * soft-fp/extendxftf2.c: Likewise.
3261         * soft-fp/trunctfdf2.c: Likewise.
3262         * soft-fp/trunctfhf2.c: Likewise.
3263         * soft-fp/trunctfsf2.c: Likewise.
3264         * soft-fp/trunctfxf2.c: Likewise.
3265         * config/rs6000/ibm-ldouble.c: Likewise.
3267 2019-05-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3269         * config.host: Simplify various *-*-solaris2.1[0-9]* to
3270         *-*-solaris2*.
3271         * configure.ac: Likewise.
3272         * configure: Regenerate.
3274         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3275         Solaris 10 and Solaris 11 < snv_125 handling.
3277 2019-05-12  Iain Sandoe  <iain@sandoe.co.uk>
3279         * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
3281 2019-05-07  Hongtao Liu  <hongtao.liu@intel.com>
3283         * config/i386/cpuinfo.c (get_available_features): Detect BF16.
3284         * config/i386/cpuinfo.h (enum processor_features): Add
3285         FEATURE_AVX512BF16.
3287 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
3288             Bernd Edlinger  <bernd.edlinger@hotmail.de>
3289             Jakub Jelinek  <jakub@redhat.com>
3291         PR target/89093
3292         * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
3293         * config/arm/unwind-arm.c: Likewise.
3294         * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
3295         attribute for ARM.
3297 2019-04-15  Monk Chiang  <sh.chiang04@gmail.com>
3299         * config/nds32/linux-unwind.h (SIGRETURN): Remove.
3300         (RT_SIGRETURN): Update.
3301         (nds32_fallback_frame_state): Update.
3303 2019-02-21  Martin Sebor  <msebor@redhat.com>
3305         * libgcc2.h (__clear_cache): Correct signature.
3306         * libgcc2.c (__clear_cache): Same.
3308 2019-02-20  UroÅ¡ Bizjak  <ubizjak@gmail.com>
3310         * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
3311         Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
3313 2019-02-19  UroÅ¡ Bizjak  <ubizjak@gmail.com>
3315         * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
3316         regno instead of index to DWARF_ZERO_REG.
3318 2019-02-15  Eric Botcazou  <ebotcazou@adacore.com>
3320         * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
3321         TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
3323 2019-01-31  UroÅ¡ Bizjak  <ubizjak@gmail.com>
3325         * config/alpha/t-linux: Add -mfp-rounding-mode=d
3326         to HOST_LIBGCC2_CFLAGS.
3328 2019-01-23  Joseph Myers  <joseph@codesourcery.com>
3330         PR libgcc/88931
3331         * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
3333 2019-01-18  Martin Liska  <mliska@suse.cz>
3335         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
3336         to ...
3337         (__gcov_indirect_call_profiler_v3): ... this.
3338         * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
3339         (__gcov_indirect_call_profiler_v3): Likewise.
3340         * Makefile.in: Bump function name.
3342 2019-01-18  Martin Liska  <mliska@suse.cz>
3344         * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
3345         (gcov_version): Use in gcov_error.
3346         (merge_one_data): Likewise.
3347         (dump_one_gcov): Likewise.
3349 2019-01-18  Martin Liska  <mliska@suse.cz>
3351         * libgcov-driver.c (gcov_version_string): New function.
3352         (gcov_version): Convert version integer into string.
3354 2019-01-17  Andrew Stubbs  <ams@codesourcery.com>
3355             Kwok Cheung Yeung  <kcy@codesourcery.com>
3356             Julian Brown  <julian@codesourcery.com>
3357             Tom de Vries  <tom@codesourcery.com>
3359         * config.host: Recognize amdgcn*-*-amdhsa.
3360         * config/gcn/crt0.c: New file.
3361         * config/gcn/lib2-divmod-hi.c: New file.
3362         * config/gcn/lib2-divmod.c: New file.
3363         * config/gcn/lib2-gcn.h: New file.
3364         * config/gcn/sfp-machine.h: New file.
3365         * config/gcn/t-amdgcn: New file.
3367 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
3369         PR other/16615
3371         * config/c6x/libunwind.S: Mechanically replace "can not" with
3372         "cannot".
3373         * config/tilepro/atomic.h: Likewise.
3374         * config/vxlib-tls.c: Likewise.
3375         * generic-morestack-thread.c: Likewise.
3376         * generic-morestack.c: Likewise.
3377         * mkmap-symver.awk: Likewise.
3379 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
3381         Update copyright years.
3383 2018-12-20  H.J. Lu  <hongjiu.lu@intel.com>
3385         * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
3386         to ignore -Waddress-of-packed-member.
3388 2018-12-19  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
3390         * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
3391         parameter and corresponding code.
3392         (ARM_FUNC_START): Likewise in both definitions.
3393         Also update footer comment about condition that need to match with
3394         gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
3395         * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
3396         defined.  Weakly define it in this case.
3397         * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
3398         * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
3399         _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
3400         comment to keep condition in sync with the one in
3401         libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
3403 2018-12-18  Wei Xiao  <wei3.xiao@intel.com>
3405         * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
3406         * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
3408 2018-12-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3410         * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
3411         and .cfi_endproc directives for VxWorks targets.
3413 2018-12-05  Paul Koning  <ni1d@arrl.net>
3415         * udivmodhi4.c (__udivmodhi4): Fix loop end check.
3417 2018-11-27  Alan Modra  <amodra@gmail.com>
3419         * config/rs6000/morestack.S (__stack_split_initialize),
3420         (__morestack_get_guard, __morestack_set_guard),
3421         (__morestack_make_guard): Provide CFI covering these functions.
3422         * config/rs6000/tramp.S (__trampoline_setup): Likewise.
3424 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
3426         * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
3427         (sc_pt_regs_lr): Update for kernel.
3428         (sc_pt_regs_tls): Update for kernel.
3430 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
3432         * config/csky/linux-unwind.h: Fix coding style.
3434 2018-11-13  Xianmiao Qu  <xianmiao_qu@c-sky.com>
3436         * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
3437         (csky_fallback_frame_state): Modify the check of the
3438         instructions to adapt to changes in the kernel
3440 2018-11-09  Stafford Horne  <shorne@gmail.com>
3441             Richard Henderson  <rth@twiddle.net>
3443         * config.host: Add OpenRISC support.
3444         * config/or1k/*: New.
3446 2018-11-08  Kito Cheng  <kito@andestech.com>
3448         * soft-fp/adddf3.c: Update from glibc.
3449         * soft-fp/addsf3.c: Likewise.
3450         * soft-fp/addtf3.c: Likewise.
3451         * soft-fp/divdf3.c: Likewise.
3452         * soft-fp/divsf3.c: Likewise.
3453         * soft-fp/divtf3.c: Likewise.
3454         * soft-fp/double.h: Likewise.
3455         * soft-fp/eqdf2.c: Likewise.
3456         * soft-fp/eqsf2.c: Likewise.
3457         * soft-fp/eqtf2.c: Likewise.
3458         * soft-fp/extenddftf2.c: Likewise.
3459         * soft-fp/extended.h: Likewise.
3460         * soft-fp/extendhftf2.c: Likewise.
3461         * soft-fp/extendsfdf2.c: Likewise.
3462         * soft-fp/extendsftf2.c: Likewise.
3463         * soft-fp/extendxftf2.c: Likewise.
3464         * soft-fp/fixdfdi.c: Likewise.
3465         * soft-fp/fixdfsi.c: Likewise.
3466         * soft-fp/fixdfti.c: Likewise.
3467         * soft-fp/fixhfti.c: Likewise.
3468         * soft-fp/fixsfdi.c: Likewise.
3469         * soft-fp/fixsfsi.c: Likewise.
3470         * soft-fp/fixsfti.c: Likewise.
3471         * soft-fp/fixtfdi.c: Likewise.
3472         * soft-fp/fixtfsi.c: Likewise.
3473         * soft-fp/fixtfti.c: Likewise.
3474         * soft-fp/fixunsdfdi.c: Likewise.
3475         * soft-fp/fixunsdfsi.c: Likewise.
3476         * soft-fp/fixunsdfti.c: Likewise.
3477         * soft-fp/fixunshfti.c: Likewise.
3478         * soft-fp/fixunssfdi.c: Likewise.
3479         * soft-fp/fixunssfsi.c: Likewise.
3480         * soft-fp/fixunssfti.c: Likewise.
3481         * soft-fp/fixunstfdi.c: Likewise.
3482         * soft-fp/fixunstfsi.c: Likewise.
3483         * soft-fp/fixunstfti.c: Likewise.
3484         * soft-fp/floatdidf.c: Likewise.
3485         * soft-fp/floatdisf.c: Likewise.
3486         * soft-fp/floatditf.c: Likewise.
3487         * soft-fp/floatsidf.c: Likewise.
3488         * soft-fp/floatsisf.c: Likewise.
3489         * soft-fp/floatsitf.c: Likewise.
3490         * soft-fp/floattidf.c: Likewise.
3491         * soft-fp/floattihf.c: Likewise.
3492         * soft-fp/floattisf.c: Likewise.
3493         * soft-fp/floattitf.c: Likewise.
3494         * soft-fp/floatundidf.c: Likewise.
3495         * soft-fp/floatundisf.c: Likewise.
3496         * soft-fp/floatunditf.c: Likewise.
3497         * soft-fp/floatunsidf.c: Likewise.
3498         * soft-fp/floatunsisf.c: Likewise.
3499         * soft-fp/floatunsitf.c: Likewise.
3500         * soft-fp/floatuntidf.c: Likewise.
3501         * soft-fp/floatuntihf.c: Likewise.
3502         * soft-fp/floatuntisf.c: Likewise.
3503         * soft-fp/floatuntitf.c: Likewise.
3504         * soft-fp/gedf2.c: Likewise.
3505         * soft-fp/gesf2.c: Likewise.
3506         * soft-fp/getf2.c: Likewise.
3507         * soft-fp/half.h: Likewise.
3508         * soft-fp/ledf2.c: Likewise.
3509         * soft-fp/lesf2.c: Likewise.
3510         * soft-fp/letf2.c: Likewise.
3511         * soft-fp/muldf3.c: Likewise.
3512         * soft-fp/mulsf3.c: Likewise.
3513         * soft-fp/multf3.c: Likewise.
3514         * soft-fp/negdf2.c: Likewise.
3515         * soft-fp/negsf2.c: Likewise.
3516         * soft-fp/negtf2.c: Likewise.
3517         * soft-fp/op-1.h: Likewise.
3518         * soft-fp/op-2.h: Likewise.
3519         * soft-fp/op-4.h: Likewise.
3520         * soft-fp/op-8.h: Likewise.
3521         * soft-fp/op-common.h: Likewise.
3522         * soft-fp/quad.h: Likewise.
3523         * soft-fp/single.h: Likewise.
3524         * soft-fp/soft-fp.h: Likewise.
3525         * soft-fp/subdf3.c: Likewise.
3526         * soft-fp/subsf3.c: Likewise.
3527         * soft-fp/subtf3.c: Likewise.
3528         * soft-fp/truncdfsf2.c: Likewise.
3529         * soft-fp/trunctfdf2.c: Likewise.
3530         * soft-fp/trunctfhf2.c: Likewise.
3531         * soft-fp/trunctfsf2.c: Likewise.
3532         * soft-fp/trunctfxf2.c: Likewise.
3533         * soft-fp/unorddf2.c: Likewise.
3534         * soft-fp/unordsf2.c: Likewise.
3535         * soft-fp/unordtf2.c: Likewise.
3537 2018-11-04  Venkataramanan Kumar  <Venkataramanan.kumar@amd.com>
3539         * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
3540         * config/i386/cpuinfo.h (processor_types): Add znver2.
3542 2018-11-01  Paul Koning  <ni1d@arrl.net>
3544         * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
3545         (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
3547 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
3549         PR bootstrap/82856
3550         * configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
3551         * configure: Regenerate.
3553 2018-10-31  Claudiu Zissulescu  <claziss@synopsys.com>
3555         * config/arc/lib1funcs.S (_muldi3): New function.
3556         * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
3558 2018-10-30  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3560         * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
3562 2018-10-25  Martin Liska  <mliska@suse.cz>
3564         PR other/87735
3565         * libgcov-profiler.c: Revert.
3567 2018-10-24  Martin Liska  <mliska@suse.cz>
3569         * libgcov-profiler.c: Start from 1 in order to distinguish
3570         functions which were seen and these that were not.
3572 2018-10-18  Paul Koning  <ni1d@arrl.net>
3574         * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
3575         standard.
3576         * divmod.c: Update references to __udivmodsi4.
3577         * udivmod.c: Ditto.
3578         * udivhi3.c: New file.
3579         * udivmodhi4.c: New file.
3580         * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
3582 2018-10-17  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3584         * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
3586 2018-10-12  Olivier Hainque  <hainque@adacore.com>
3588         * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
3589         defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
3591 2018-10-08  Paul Koning  <ni1d@arrl.net>
3593         * config/pdp11/t-pdp11: Remove -mfloat32 switch.
3595 2018-10-04  Martin Liska  <mliska@suse.cz>
3597         PR gcov-profile/84107
3598         * libgcov-profiler.c (__gcov_indirect_call):
3599         Change type to indirect_call_tuple.
3600         (struct indirect_call_tuple): New struct.
3601         (__gcov_indirect_call_topn_profiler): Change type.
3602         (__gcov_indirect_call_profiler_v2): Use the new
3603         variables.
3604         * libgcov.h (struct indirect_call_tuple): New struct
3605         definition.
3607 2018-10-03  Uros Bizjak  <ubizjak@gmail.com>
3609         * libgcc2.c (isnan): Use __builtin_isnan.
3610         (isfinite): Use __builtin_isfinite.
3611         (isinf): Use __builtin_isinf.
3613 2018-09-26  Uros Bizjak  <ubizjak@gmail.com>
3615         * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
3617 2018-09-21  Alexandre Oliva  <oliva@adacore.com>
3619         * config/vxcache.c: New file.  Provide __clear_cache, based on
3620         the cacheTextUpdate VxWorks service.
3621         * config/t-vxworks (LIB2ADD): Add vxcache.c.
3622         (LIB2FUNCS_EXCLUDE): Add _clear_cache.
3623         * config/t-vxwoks7: Likewise.
3625 2018-09-21  Martin Liska  <mliska@suse.cz>
3627         * libgcov-driver.c (crc32_unsigned): Remove.
3628         (gcov_histogram_insert): Likewise.
3629         (gcov_compute_histogram): Likewise.
3630         (compute_summary): Simplify rapidly.
3631         (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
3632         (merge_summary): Rapidly simplify.
3633         (dump_one_gcov): Ignore gcov_summary.
3634         (gcov_do_dump): Do not handle program summary, it's not
3635         used.
3636         * libgcov-util.c (tag_summary): Remove.
3637         (read_gcda_finalize): Fix coding style.
3638         (read_gcda_file): Initialize curr_object_summary.
3639         (compute_summary): Remove.
3640         (calculate_overlap): Remove settings of run_max.
3642 2018-09-21  Monk Chiang  <sh.chiang04@gmail.com>
3644         * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
3645         ucontext_t type instead.
3646         (nds32_fallback_frame_state): Remove struct _sigframe statement.
3648 2018-09-21  Kito Cheng  <kito.cheng@gmail.com>
3650         * config/nds32/t-nds32-glibc: New file.
3652 2018-09-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3654         * configure.ac (solaris_ld_v2_maps): New test.
3655         * configure: Regenerate.
3656         * Makefile.in (solaris_ld_v2_maps): New variable.
3657         * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
3658         if supported.
3660 2018-08-23  Richard Earnshaw  <rearnsha@arm.com>
3662         PR target/86951
3663         * config/arm/lib1funcs.asm (speculation_barrier): New function.
3664         * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
3665         to build.
3667 2018-08-22  Iain Sandoe  <iain@sandoe.co.uk>
3669         * config/unwind-dw2-fde-darwin.c
3670         (_darwin10_Unwind_FindEnclosingFunction): move from here ...
3671         * config/darwin10-unwind-find-enc-func.c: â€¦ to here.
3672         * config/t-darwin: Build Darwin10 unwinder shim crt.
3673         * libgcc/config.host: Add the Darwin10 unwinder shim.
3675 2018-08-21  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3677         * config.host: Add crtbegin.o and crtend.o for
3678         powerpc-wrs-vxworks target.
3680 2018-08-17  Jojo  <jijie_rong@c-sky.com>
3681             Huibin Wang  <huibin_wang@c-sky.com>
3682             Sandra Loosemore  <sandra@codesourcery.com>
3683             Chung-Lin Tang  <cltang@codesourcery.com>
3685         C-SKY port: libgcc
3687         * config.host: Add C-SKY support.
3688         * config/csky/*: New.
3690 2018-08-12  Chung-Ju Wu  <jasonwucj@gmail.com>
3692         * config/nds32/t-nds32-isr: Rearrange object dependency.
3693         * config/nds32/initfini.c: Add dwarf2 unwinding support.
3694         * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
3695         and registers usage.
3696         * config/nds32/isr-library/excp_isr.S: Ditto.
3697         * config/nds32/isr-library/intr_isr.S: Ditto.
3698         * config/nds32/isr-library/reset.S: Ditto.
3699         * config/nds32/isr-library/restore_all.inc: Ditto.
3700         * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
3701         * config/nds32/isr-library/restore_partial.inc: Ditto.
3702         * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
3703         * config/nds32/isr-library/save_all.inc: Ditto.
3704         * config/nds32/isr-library/save_mac_regs.inc: Ditto.
3705         * config/nds32/isr-library/save_partial.inc: Ditto.
3706         * config/nds32/isr-library/save_usr_regs.inc: Ditto.
3707         * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
3709 2018-08-11  John David Anglin  <danglin@gcc.gnu.org>
3711         * config/pa/linux-atomic.c: Update comment.
3712         (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
3713         COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
3714         SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
3715         __ATOMIC_RELAXED for atomic loads.
3716         (SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
3717         unordered store to release lock.
3718         (__sync_lock_release_8): Likewise.
3719         (SYNC_LOCK_RELEASE_2): Remove define.
3721 2018-08-02  Nicolas Pitre <nico@fluxnic.net>
3723         PR libgcc/86512
3724         * config/arm/ieee754-df.S: Don't shortcut denormal handling when
3725         exponent goes negative. Update my email address.
3726         * config/arm/ieee754-sf.S: Likewise.
3728 2018-08-01  Martin Liska  <mliska@suse.cz>
3730         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
3731         check that  __gcov_indirect_call_callee is non-null.
3733 2018-07-30  Christophe Lyon  <christophe.lyon@linaro.org>
3735         * config/arm/ieee754-df.S: Fix comment for code working on
3736         architectures >= 4.
3737         * config/arm/ieee754-sf.S: Likewise.
3739 2018-07-27  H.J. Lu  <hongjiu.lu@intel.com>
3741         PR libgcc/85334
3742         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3743         Removed.
3745 2018-07-05  James Clarke  <jrtc27@jrtc27.com>
3747         * configure: Regenerated.
3749 2018-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3751         * Makefile.in (install_leaf): Use enable_gcov instead of
3752         enable_libgcov.
3754 2018-06-27  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3756         * configure.ac: Add --disable-gcov option.
3757         * configure: Regenerate.
3758         * Makefile.in: Honour @enable_gcov@.
3760 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
3762         * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
3763         __ARM_ARCH and __ARM_FEATURE_CLZ instead.
3764         (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
3765         * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
3766         __ARM_ARCH__.
3767         * config/arm/ieee754-sf.S: Likewise.
3768         * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
3770 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
3772         * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
3773         longer supported.
3774         * config/arm/ieee754-sf.S: Likewise.
3776 2018-06-20  Than McIntosh  <thanm@google.com>
3778         PR libgcc/86213
3779         * generic-morestack.c (allocate_segment): Move calls to getenv and
3780         getpagesize to __morestack_load_mmap.
3781         (__morestack_load_mmap) Initialize static_pagesize and
3782         use_guard_page here so as to avoid clobbering SSE regs during a
3783         __morestack call.
3785 2018-06-18  Michael Meissner  <meissner@linux.ibm.com>
3787         * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
3788         support modules with -mno-gnu-attribute.
3789         * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
3791 2018-06-07  Olivier Hainque  <hainque@adacore.com>
3793         * config/t-vxworks (LIBGCC_INCLUDES): Add
3794         -I$(MULTIBUILDTOP)../../gcc/include.
3795         * config/t-vxworks7: Likewise. Reformat a bit to match
3796         the t-vxworks layout.
3798 2018-06-07  Olga Makhotina  <olga.makhotina@intel.com>
3800         * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
3802 2018-06-07  Martin Liska  <mliska@suse.cz>
3804         * libgcov-driver.c: Rename cs_all to all and assign it from
3805         all_prg.
3807 2018-06-07  Martin Liska  <mliska@suse.cz>
3809         PR bootstrap/86057
3810         * libgcov-driver-system.c (replace_filename_variables): Use
3811         memcpy instead of mempcpy.
3812         (allocate_filename_struct): Do not allocate filename, allocate
3813         prefix and set it.
3814         (gcov_exit_open_gcda_file): Allocate memory for gf->filename
3815         here and properly copy content into it.
3816         * libgcov-driver.c (struct gcov_filename): Remove max_length
3817         field, change prefix from size_t into char *.
3818         (compute_summary): Do not calculate longest filename.
3819         (gcov_do_dump): Release memory of gf.filename after each file.
3820         * libgcov-util.c (compute_summary): Use new signature of
3821         compute_summary.
3822         (calculate_overlap): Likewise.
3824 2018-06-05  Martin Liska  <mliska@suse.cz>
3826         PR gcov-profile/47618
3827         * libgcov-driver-system.c (replace_filename_variables): New
3828         function.
3829         (gcov_exit_open_gcda_file): Use it.
3831 2018-06-05  Martin Liska  <mliska@suse.cz>
3833         * libgcov-driver.c (gcov_compute_histogram): Remove usage
3834         of gcov_ctr_summary.
3835         (compute_summary): Do it just for a single summary.
3836         (merge_one_data): Likewise.
3837         (merge_summary): Simplify as we read just single summary.
3838         (dump_one_gcov): Pass proper argument.
3839         * libgcov-util.c (compute_one_gcov): Simplify as we have just
3840         single summary.
3841         (gcov_info_count_all_cold): Likewise.
3842         (calculate_overlap): Likewise.
3844 2018-06-02  Chung-Ju Wu  <jasonwucj@gmail.com>
3845             Monk Chiang  <sh.chiang04@gmail.com>
3847         * config.host (nds32*-linux*): New.
3848         * config/nds32/linux-atomic.c: New file.
3849         * config/nds32/linux-unwind.h: New file.
3851 2018-05-31  Uros Bizjak  <ubizjak@gmail.com>
3853         PR target/85591
3854         * config/i386/cpuinfo.c (get_amd_cpu): Return
3855         AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
3857 2018-05-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
3859         * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
3861 2018-05-29  Martin Liska  <mliska@suse.cz>
3863         PR gcov-profile/85759
3864         * libgcov-driver-system.c (gcov_error): Introduce usage of
3865         GCOV_EXIT_AT_ERROR env. variable.
3866         * libgcov-driver.c (merge_one_data): Print error that we
3867         overwrite a gcov file with a different timestamp.
3869 2018-05-23  Kalamatee  <kalamatee@gmail.com>
3871         * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
3872         path to Lf$finfty.
3874 2018-05-18  Kito Cheng <kito.cheng@gmail.com>
3875             Monk Chiang  <sh.chiang04@gmail.com>
3876             Jim Wilson <jimw@sifive.com>
3878         * config/riscv/save-restore.S: Add support for rv32e.
3880 2018-05-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
3882         * config/arm/libunwind.S: Update comment relating to armv5.
3884 2018-05-17  Jerome Lambourg  <lambourg@adacore.com>
3886         * config/arm/cmse.c (cmse_check_address_range): Replace
3887         UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
3889 2018-05-17  Olga Makhotina  <olga.makhotina@intel.com>
3891         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
3892         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
3894 2018-05-08  Olga Makhotina  <olga.makhotina@intel.com>
3896         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
3897         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
3899 2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
3901         * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
3903 2018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
3904             Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
3906         PR libgcc/84292
3907         * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
3908         op_and_fetch to return the right result.
3910 2018-04-27  Alan Modra  <amodra@gmail.com>
3912         PR libgcc/85532
3913         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
3914         -fno-asynchronous-unwind-tables.
3916 2018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
3918         * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
3919         * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
3921 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
3923         * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
3924         when including "config/i386/shadow-stack-unwind.h".
3926 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
3928         * configure: Regenerated.
3930 2018-04-20  Michael Meissner  <meissner@linux.ibm.com>
3932         PR target/85456
3933         * config/rs6000/_powikf2.c: New file.  Add support for the
3934         __builtin_powil function when long double is IEEE 128-bit floating
3935         point.
3936         * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
3937         __powikf2 support.
3938         (__powikf2): Likewise.
3939         * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
3940         (__powikf2_hw): Likewise.
3941         (__powikf2): Likewise.
3942         * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
3943         * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
3944         (_powikf2-hw.c): Likewise.
3946 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
3948         PR libgcc/85334
3949         * unwind-generic.h (_Unwind_Frames_Increment): New.
3950         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3951         Likewise.
3952         * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
3953         count with _Unwind_Frames_Increment.
3954         (_Unwind_ForcedUnwind_Phase2): Likewise.
3956 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
3958         PR libgcc/85379
3959         * config/i386/morestack.S (__stack_split_initialize): Add
3960         _CET_ENDBR.
3962 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
3964         * configure: Regenerated.
3966 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
3968         PR jit/85384
3969         * configure: Regenerate.
3971 2018-04-16  Jakub Jelinek  <jakub@redhat.com>
3973         PR target/84945
3974         * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
3975         -Wdangling-else warnings.  Mask shift counts to avoid
3976         -Wshift-count-negative and -Wshift-count-overflow false positives.
3978 2018-04-06  Ruslan Bukin  <br@bsdpad.com>
3980         * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
3982 2018-03-29  H.J. Lu  <hongjiu.lu@intel.com>
3984         PR target/85100
3985         * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
3986         (XSTATE_FP): Likewise.
3987         (XSTATE_SSE): Likewise.
3988         (XSTATE_YMM): Likewise.
3989         (XSTATE_OPMASK): Likewise.
3990         (XSTATE_ZMM): Likewise.
3991         (XSTATE_HI_ZMM): Likewise.
3992         (XCR_AVX_ENABLED_MASK): Likewise.
3993         (XCR_AVX512F_ENABLED_MASK): Likewise.
3994         (get_available_features): Enable AVX and AVX512 features only
3995         if their states are supported by OSXSAVE.
3997 2018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3999         PR target/85025
4000         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4001         Fix a typo, tmp => 255.
4003 2018-03-20  Jakub Jelinek  <jakub@redhat.com>
4005         PR target/84945
4006         * config/i386/cpuinfo.h (__cpu_features2): Declare.
4007         * config/i386/cpuinfo.c (__cpu_features2): New variable for
4008         ifndef SHARED only.
4009         (set_feature): Define.
4010         (get_available_features): Use set_feature macro.  Set __cpu_features2
4011         to the second word of features ifndef SHARED.
4013 2018-03-15  Julia Koval  <julia.koval@intel.com>
4015         * config/i386/cpuinfo.c (get_available_features): Add
4016         FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
4017         FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
4018         * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
4019         FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
4020         FEATURE_AVX512BITALG.
4022 2018-03-14  Julia Koval  <julia.koval@intel.com>
4024         * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
4025         icelake client and icelake server.
4027 2018-03-06  John David Anglin  <danglin@gcc.gnu.org>
4029         * config/pa/fptr.c (_dl_read_access_allowed): New.
4030         (__canonicalize_funcptr_for_compare): Use it.
4032 2018-02-28  Jakub Jelinek  <jakub@redhat.com>
4034         PR debug/83917
4035         * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
4036         $asm_hidden_op if visibility ("hidden") attribute works.
4037         (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
4038         * config/i386/i386-asm.h: Don't include auto-host.h.
4039         (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
4040         PACKAGE_URL): Don't undefine.
4041         (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
4042         guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
4043         (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
4044         #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
4045         definition instead of hardcoded .hidden.
4046         * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
4047         directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
4048         #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
4049         (USE_GAS_CFI_DIRECTIVES): Don't define.
4050         * configure: Regenerated.
4051         * config.in: Likewise.
4053 2018-02-26  Jakub Jelinek  <jakub@redhat.com>
4055         PR debug/83917
4056         * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
4057         PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
4058         inclusion of auto-target.h and auto-host.h.
4059         (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
4060         __GCC_HAVE_DWARF2_CFI_ASM.
4061         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4062         cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
4063         cfi_pop): Define.
4064         * config/i386/cygwin.S: Don't include auto-host.h here, just
4065         define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
4066         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4067         cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
4068         * config/i386/resms64fx.h: Add cfi_* directives.
4069         * config/i386/resms64x.h: Likewise.
4071 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
4073         * config/xtensa/ieee754-df.S (__adddf3_aux): Add
4074         .literal_position directive.
4075         * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
4077 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4079         PR target/84148
4080         * configure: Regenerate.
4082 2018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4084         PR target/84239
4085         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4086         Include cetintrin.h not x86intrin.h.
4088 2018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4090         PR target/84239
4091         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4092         Use new _get_ssp and _inc_ssp intrinsics.
4094 2018-02-02  Julia Koval  <julia.koval@intel.com>
4096         * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
4098 2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
4100         * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
4101         option.
4102         (__divsi3): Use RF16 safe registers.
4103         (__modsi3): Likewise.
4105 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
4107         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
4108         (__divsf3): Make NaN return value quiet.
4109         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
4110         (__divdf3): Make NaN return value quiet.
4112 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4114         * config/rl78/anddi3.S: New assembly file.
4115         * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
4117 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4119         * config/rl78/umindi3.S: New assembly file.
4120         * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
4122 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4124         * config/rl78/smindi3.S: New assembly file.
4125         * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
4127 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4129         * config/rl78/smaxdi3.S: New assembly file.
4130         * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
4132 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
4134         * config/rl78/umaxdi3.S: New assembly file.
4135         * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
4137 2018-01-21  John David Anglin  <danglin@gcc.gnu.org>
4139         PR lto/83452
4140         * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
4141         * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
4143 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
4145         * config/aarch64/value-unwind.h (aarch64_vg): New function.
4146         (DWARF_LAZY_REGISTER_VALUE): Define.
4147         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
4148         to provide a fallback register value.
4150 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
4152         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
4153         __ibm128, instead of trying to use long double.
4154         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
4155         accomidate -mabi=ieeelongdouble multilibs.
4156         (CVT_IBM128_TO_FLOAT128): Likewise.
4157         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
4158         the appropriate IBM extended double type.
4159         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
4160         (__gcc_qsub): Likewise.
4161         (__gcc_qmul): Likewise.
4162         (__gcc_qdiv): Likewise.
4163         (pack_ldouble): Likewise.
4164         (__gcc_qneg): Likewise.
4165         (__gcc_qeq): Likewise.
4166         (__gcc_qne): Likewise.
4167         (__gcc_qge): Likewise.
4168         (__gcc_qle): Likewise.
4169         (__gcc_stoq): Likewise.
4170         (__gcc_dtoq): Likewise.
4171         (__gcc_itoq): Likewise.
4172         (__gcc_utoq): Likewise.
4173         (__gcc_qunord): Likewise.
4174         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
4175         quad-float128.h for the definitions.
4176         (COPYSIGN): Use the f128 version instead of the q version.
4177         (INFINITY): Likewise.
4178         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
4179         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
4180         quad-float128.h for the definitions.
4181         (COPYSIGN): Use the f128 version instead of the q version.
4182         (INFINITY): Likewise.
4183         (FABS): Likewise.
4184         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
4185         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
4186         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
4188 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4190         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
4191         configuration.
4193 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
4195         Update copyright years.
4197 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
4199         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
4200         * config/riscv/multi3.c: New file.
4201         * config/riscv/multi3.S: Remove.
4203 2017-12-08  Jim Wilson  <jimw@sifive.com>
4205         * config/riscv/div.S: Use FUNC_* macros.
4206         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
4207         * config/riscv/save-restore.S: Likewise.
4208         * config/riscv/riscv-asm.h: New.
4210 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
4212         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
4213         * config/rs6000/_divkc3.c (__divkc3): Likewise.
4215         PR libgcc/83112
4216         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
4217         correct type for all ifunc resolvers to silence -Wattribute-alias
4218         warnings.  Eliminate the forward declaration of the resolver
4219         functions which is no longer needed.
4220         (__subkf3_resolve): Likewise.
4221         (__mulkf3_resolve): Likewise.
4222         (__divkf3_resolve): Likewise.
4223         (__negkf2_resolve): Likewise.
4224         (__eqkf2_resolve): Likewise.
4225         (__nekf2_resolve): Likewise.
4226         (__gekf2_resolve): Likewise.
4227         (__gtkf2_resolve): Likewise.
4228         (__lekf2_resolve): Likewise.
4229         (__ltkf2_resolve): Likewise.
4230         (__unordkf2_resolve): Likewise.
4231         (__extendsfkf2_resolve): Likewise.
4232         (__extenddfkf2_resolve): Likewise.
4233         (__trunckfsf2_resolve): Likewise.
4234         (__trunckfdf2_resolve): Likewise.
4235         (__fixkfsi_resolve): Likewise.
4236         (__fixkfdi_resolve): Likewise.
4237         (__fixunskfsi_resolve): Likewise.
4238         (__fixunskfdi_resolve): Likewise.
4239         (__floatsikf_resolve): Likewise.
4240         (__floatdikf_resolve): Likewise.
4241         (__floatunsikf_resolve): Likewise.
4242         (__floatundikf_resolve): Likewise.
4243         (__extendkftf2_resolve): Likewise.
4244         (__trunctfkf2_resolve): Likewise.
4246         PR libgcc/83103
4247         * config/rs6000/quad-float128.h (TF): Don't define if long double
4248         is IEEE 128-bit floating point.
4249         (TCtype): Define as either TCmode or KCmode, depending on whether
4250         long double is IEEE 128-bit floating point.
4251         (__mulkc3_sw): Add declarations for software/hardware versions of
4252         complex multiply/divide.
4253         (__divkc3_sw): Likewise.
4254         (__mulkc3_hw): Likewise.
4255         (__divkc3_hw): Likewise.
4256         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
4257         handlers to switch between using software emulation and hardware
4258         float128 instructions, build the complex multiply/divide functions
4259         for both software and hardware support.
4260         * config/rs6000/_divkc3.c (_divkc3): Likewise.
4261         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
4262         (__divkc3_resolve): Likewise.
4263         (__mulkc3): Likewise.
4264         (__divkc3): Likewise.
4265         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
4266         (fp128_hw_src): Likewise.
4267         (fp128_hw_static_obj): Likewise.
4268         (fp128_hw_shared_obj): Likewise.
4269         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
4270         _mulkc3.c and _divkc3.c, changing the function name.
4271         (_divkc3-hw.c): Likewise.
4272         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
4273         and _divkc3-hw.c.
4275 2017-11-26  Julia Koval  <julia.koval@intel.com>
4277         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
4278         * config/i386/cpuinfo.h (processor_subtypes): Add
4279         INTEL_COREI7_CANNONLAKE.
4281 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4283         PR bootstrap/83015
4284         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
4285         parameter.
4286         * config/xtensa/unwind-dw2-xtensa.c: Likewise
4287         * config/ia64/unwind-ia64.c: Add frames parameter.
4288         * unwind-sjlj.c: Likewise.
4290 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4292         * config/i386/linux-unwind.h: Include
4293         config/i386/shadow-stack-unwind.h.
4294         * config/i386/shadow-stack-unwind.h: New file.
4295         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
4296         pass it to _Unwind_Frames_Extra.
4297         * unwind-generic.h (_Unwind_Frames_Extra): New.
4298         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
4299         parameter. Add local variable frames to count number of frames.
4300         (_Unwind_ForcedUnwind_Phase2): Likewise.
4301         (_Unwind_RaiseException): Add local variable frames to count
4302         number of frames, pass it to _Unwind_RaiseException_Phase2 and
4303         uw_install_context.
4304         (_Unwind_ForcedUnwind): Likewise.
4305         (_Unwind_Resume): Likewise.
4306         (_Unwind_Resume_or_Rethrow): Likewise.
4308 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4310         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
4311         (CET_FLAGS): New.
4312         * config/i386/morestack.S: Include <cet.h>.
4313         (__morestack_large_model): Add _CET_ENDBR at function entrance.
4314         * config/i386/resms64.h: Include <cet.h>.
4315         * config/i386/resms64f.h: Likewise.
4316         * config/i386/resms64fx.h: Likewise.
4317         * config/i386/resms64x.h: Likewise.
4318         * config/i386/savms64.h: Likewise.
4319         * config/i386/savms64f.h: Likewise.
4320         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
4321         (CRTSTUFF_T_CFLAGS): Likewise.
4322         * configure.ac: Include ../config/cet.m4.
4323         Set and substitute CET_FLAGS.
4324         * configure: Regenerated.
4326 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4328         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
4329         renaming.
4330         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
4331         * configure.ac (libgcc_cv_solaris_crts): Likewise.
4332         * configure: Regenerate.
4334 2017-11-07  Tom de Vries  <tom@codesourcery.com>
4336         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
4337         after "do {} while (0)".
4339 2017-11-07  Tom de Vries  <tom@codesourcery.com>
4341         PR other/82784
4342         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
4343         semicolon after "do {} while (0)".
4344         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4345         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4346         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4347         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4349 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
4351         PR libgcc/82635
4352         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
4353         sysctl to determine whether we're in a trampoline.
4354         Keep the pattern matching method for systems without
4355         KERN_PROC_SIGTRAMP sysctl.
4357 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
4358             Vineet Gupta <vgupta@synopsys.com>
4360         * config.host (arc*-*-linux*): Set md_unwind_header variable.
4361         * config/arc/linux-unwind-reg.def: New file.
4362         * config/arc/linux-unwind-reg.h: Likewise.
4364 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
4366         * config/rl78/subdi3.S: New assembly file.
4367         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
4369 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
4371         * config/rl78/adddi3.S: New assembly file.
4372         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
4374 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
4376         PR target/82274
4377         * libgcc2.c (__mulvDI3): If both operands have
4378         the same highpart of -1 and the topmost bit of lowpart is 0,
4379         multiplication overflows even if both lowparts are 0.
4381 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
4383         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
4385 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
4387         * config/microblaze/crti.S, config/microblaze/crtn.S,
4388         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
4389         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
4390         config/microblaze/mulsi3.S,
4391         config/microblaze/stack_overflow_exit.S,
4392         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
4393         config/pa/milli64.S: Add .note.GNU-stack section.
4395 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
4397         * configure.ac: Add Check for HAVE_AS_AVX.
4398         * config.in: Regenerate.
4399         * configure: Likewise.
4400         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
4401         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
4402         Correct out-of-date comments.
4404 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
4406         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
4407         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
4409 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
4411         * config/i386/i386-asm.h (PASTE2): New macro.
4412         (ASMNAME): Modify to use PASTE2.
4413         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
4414         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
4415         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
4416         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
4417         * config/i386/resms64f.S: Likewise.
4418         * config/i386/resms64fx.S: Likewise.
4419         * config/i386/resms64x.S: Likewise.
4420         * config/i386/savms64.S: Likewise.
4421         * config/i386/savms64f.S: Likewise.
4422         * config/i386/avx_resms64.S: New file that only defines a macro and
4423         includes it's corresponding header file.
4424         * config/i386/avx_resms64f.S: Likewise.
4425         * config/i386/avx_resms64fx.S: Likewise.
4426         * config/i386/avx_resms64x.S: Likewise.
4427         * config/i386/avx_savms64.S: Likewise.
4428         * config/i386/avx_savms64f.S: Likewise.
4429         * config/i386/sse_resms64.S: Likewise.
4430         * config/i386/sse_resms64f.S: Likewise.
4431         * config/i386/sse_resms64fx.S: Likewise.
4432         * config/i386/sse_resms64x.S: Likewise.
4433         * config/i386/sse_savms64.S: Likewise.
4434         * config/i386/sse_savms64f.S: Likewise.
4435         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
4437 2017-09-01  Olivier Hainque  <hainque@adacore.com>
4438         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
4440 2017-08-31  Olivier Hainque  <hainque@adacore.com>
4442         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
4443         match as powerpc-wrs-vxworks*.
4445 2017-08-07  Jonathan Yong  <10walls@gmail.com>
4447         * config.host (*-cygwin): Include file from mingw
4448         config/i386/enable-execute-stack-mingw32.c
4450 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
4451             Doug Rupp  <rupp@adacore.com>
4452             Olivier Hainque  <hainque@adacore.com>
4454         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
4455         as well as arm-wrs-vxworks.
4456         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
4457         LIB2ADDEH.
4458         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
4459         __exidx_start and __exidx_end for downloadable modules.
4461 2017-08-01  Olivier Hainque  <hainque@adacore.com>
4463         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
4464         * config/t-vxworks7: Likewise.
4466 2017-08-01  Olivier Hainque  <hainque@adacore.com>
4468         * config/t-vxworks: Instead of redefining LIB2ADD,
4469         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
4471 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4473         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
4475 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
4477         PR testsuite/80759
4478         * config.host: include i386/t-msabi for darwin and solaris.
4479         * config/i386/i386-asm.h
4480         (ELFFN): Rename to FN_TYPE.
4481         (FN_SIZE): New macro.
4482         (FN_HIDDEN): Likewise.
4483         (ASMNAME): Likewise.
4484         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
4485         .globl.
4486         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
4487         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
4488         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
4489         .macro.
4490         * config/i386/resms64f.S: Likewise.
4491         * config/i386/resms64fx.S: Likewise.
4492         * config/i386/resms64x.S: Likewise.
4493         * config/i386/savms64.S: Likewise.
4494         * config/i386/savms64f.S: Likewise.
4496 2017-07-19  John Marino  <gnugcc@marino.st>
4498         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
4500 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
4502         PR target/81193
4503         * configure.ac (PowerPC float128 hardware support): Test whether
4504         we can use __builtin_cpu_supports before enabling the ifunc
4505         handler.
4506         * configure: Regenerate.
4508 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
4510         * config.host: Remove uclibc from arc target spec.
4512 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
4514         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
4516 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
4518         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
4519         (have_ieee_hw_p): Delete function.
4520         (SW_OR_HW) Use __builtin_cpu_supports().
4522 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4524         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
4526 2017-07-03  Olivier Hainque  <hainque@adacore.com>
4528         * config/t-vxworks7: New file, really.
4530 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
4532         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
4533         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
4534         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
4535         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
4536         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
4537         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
4538         config/pa/linux-unwind.h (pa32_fallback_frame_state),
4539         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
4540         config/sh/linux-unwind.h (sh_fallback_frame_state),
4541         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
4542         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
4543         ucontext_t instead of struct ucontext.
4545 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
4547         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
4548         (x86_64-wrs-vxworks7): Likewise.
4550 2017-06-27  Olivier Hainque  <hainque@adacore.com>
4552         * config/t-vxworks7: New file.
4553         * config.host (*-*-vxworks7): Use it.
4555 2017-06-22  Matt Turner  <mattst88@gmail.com>
4557         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
4558         skylake case.
4560 2017-06-21  Richard Biener  <rguenther@suse.de>
4562         PR gcov-profile/81080
4563         * configure.ac: Add AC_SYS_LARGEFILE.
4564         * libgcov.h: Include auto-target.h before tsystem.h to pick
4565         up _FILE_OFFSET_BITS which might differ for multilibs.
4566         * config.in: Regenerate.
4567         * configure: Likewise.
4569 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
4571         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
4573 2017-06-09  Martin Liska  <mliska@suse.cz>
4575         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
4576         Reset __gcov_indirect_call_callee to NULL.
4578 2017-06-08  Olivier Hainque  <hainque@adacore.com>
4580         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
4581         the set of -I options, support for direct inclusions of net/uio.h
4582         by VxWorks header files via ioLib.h.
4584 2017-06-07  Tony Reix  <tony.reix@atos.net>
4585             Matthieu Sarter  <matthieu.sarter.external@atos.net>
4586             David Edelsohn  <dje.gcc@gmail.com>
4588         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
4589         unconditionally.
4590         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
4591         AIX 7.2 support.
4593 2017-06-02  Olivier Hainque  <hainque@adacore.com>
4595         * config/vxlib.c (__gthread_once): Add missing value to
4596         return statement.
4598 2017-05-30  Olivier Hainque  <hainque@adacore.com>
4600         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
4601         dollar sign before $(MULTIDIR).
4603 2017-05-26  Richard Henderson  <rth@redhat.com>
4605         PR libgcc/80037
4606         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
4608 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
4610         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
4611         _Unwind_SetIP available as functions for arm*-*-freebsd*.
4612         * config/arm/unwind-arm.c: Implement the above.
4614 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4616         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
4617         section for a non-executable stack.
4619 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
4621         PR target/80600
4622         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
4624 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
4626         * config.host: Add i386/t-msabi to i386/t-linux file list.
4627         * config/i386/i386-asm.h: New file.
4628         * config/i386/resms64.S: New file.
4629         * config/i386/resms64f.S: New file.
4630         * config/i386/resms64fx.S: New file.
4631         * config/i386/resms64x.S: New file.
4632         * config/i386/savms64.S: New file.
4633         * config/i386/savms64f.S: New file.
4634         * config/i386/t-msabi: New file.
4636 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
4638         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
4639         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
4641 2017-05-05  Joshua Conner  <joshconner@google.com>
4643         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
4644         pc-relative indirect handling for fuchsia.
4645         * config/t-slibgcc-fuchsia: New file.
4646         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
4647         x86_64-*-fuchsia*): Add definitions.
4649 2017-04-19  Martin Liska  <mliska@suse.cz>
4651         PR gcov-profile/80435
4652         * Makefile.in: Install gcov.h.
4653         * gcov.h: New file.
4654         * libgcov.h: Use the header and make __gcov_flush publicly
4655         visible.
4657 2017-04-18  Martin Liska  <mliska@suse.cz>
4659         PR gcov-profile/78783
4660         * libgcov-driver.c (gcov_get_filename): New function.
4662 2017-04-07  Jeff Law  <law@redhat.com>
4664         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
4665         target makefile fragment.
4666         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
4668 2017-04-07  Alan Modra  <amodra@gmail.com>
4670         PR target/45053
4671         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
4673 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
4675         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
4677 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
4679         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
4681 2017-03-10  John Marino  <gnugcc@marino.st>
4683         * config/aarch64/freebsd-unwind.h: New file.
4684         * config.host: Add aarch64-*-freebsd unwinder.
4686 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
4688         * config/rs6000/crtrestvr.s: Use .machine altivec.
4689         * config/rs6000/crtsavevr.s: Ditto.
4691 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
4693         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
4694         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
4695         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
4696         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
4697         * configure: Regenerate.
4698         * config.in: Regenerate.
4700 2017-03-02  Jonathan Yong <10walls@gmail.com>
4702         * config/i386/gthr-win32.h: Define NOGDI before
4703         windows.h include to prevent w32api CC_NONE macro
4704         clash with libgfortran.
4706 2017-03-02  Jonathan Yong <10walls@gmail.com>
4708         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
4710 2017-02-16  Andrew Pinski  <apinski@cavium.com>
4712         * config/aarch64/value-unwind.h: New file.
4713         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
4714         to tm_file.
4716 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
4718         * config.host: Add RISC-V tuples.
4719         * config/riscv/atomic.c: New file.
4720         * config/riscv/crti.S: Likewise.
4721         * config/riscv/crtn.S: Likewise.
4722         * config/riscv/div.S: Likewise.
4723         * config/riscv/linux-unwind.h: Likewise.
4724         * config/riscv/muldi3.S: Likewise.
4725         * config/riscv/multi3.S: Likewise.
4726         * config/riscv/save-restore.S: Likewise.
4727         * config/riscv/sfp-machine.h: Likewise.
4728         * config/riscv/t-elf: Likewise.
4729         * config/riscv/t-elf32: Likewise.
4730         * config/riscv/t-elf64: Likewise.
4731         * config/riscv/t-softfp32: Likewise.
4732         * config/riscv/t-softfp64: Likewise.
4734 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
4736         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4737         /* FALLTHRU */ comments.
4739 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
4741         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
4743 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
4745         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
4746         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
4747         DW_CFA_GNU_window_save for AArch64 and LP64.
4749 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
4751         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
4753 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
4755         * config/aarch64/aarch64-unwind.h: New file.
4756         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
4757         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
4758         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
4759         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
4760         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
4761         (aarch64_post_extract_frame_addr): New function.
4762         (aarch64_post_frob_eh_handler_addr): New function.
4763         (aarch64_frob_update_context): New function.
4764         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
4765         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
4766         aarch64*-*-freebsd*):
4767         Initialize md_unwind_header to include aarch64-unwind.h.
4768         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
4769         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
4770         __aarch64__.
4771         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
4772         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
4773         (uw_frob_return_addr): New function.
4774         (uw_install_context): Use uw_frob_return_addr.
4776 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
4778         PR other/79046
4779         * configure.ac: Add GCC_BASE_VER.
4780         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
4781         version from BASE-VER file.
4782         * configure: Regenerated.
4784 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
4786         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
4787         libmul_f5.a): Filter archived prerequisites.
4789 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
4791         * config/i386/cpuinfo.h (processor_features): Add
4792         FEATURE_AVX512VPOPCNTDQ.
4793         * config/i386/cpuinfo.c (get_available_features): Habdle new
4794         feature.
4796 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
4798         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
4799         payload if [__mips_nan2008].
4801 2017-01-04  Alan Modra  <amodra@gmail.com>
4803         * Makefile.in (configure_deps): Update.
4804         * configure: Regenerate.
4806 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
4808         Update copyright years.
4810 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
4812         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
4813         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
4814         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
4816 2016-12-17  Matthias Klose  <doko@ubuntu.com>
4818         * config/arc/gmon: Remove empty directory.
4820 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
4822         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
4823         crtgend.
4824         (arc*-*-elf*): Likewise.
4825         * config/arc/t-arc: Remove old gmon lib targets.
4826         * config/arc/crtg.S: Remove.
4827         * config/arc/crtgend.S: Likewise.
4828         * config/arc/gmon/atomic.h: Likewise.
4829         * config/arc/gmon/auxreg.h: Likewise.
4830         * config/arc/gmon/dcache_linesz.S: Likewise.
4831         * config/arc/gmon/gmon.c: Likewise.
4832         * config/arc/gmon/machine-gmon.h: Likewise.
4833         * config/arc/gmon/mcount.c: Likewise.
4834         * config/arc/gmon/prof-freq-stub.S: Likewise.
4835         * config/arc/gmon/prof-freq.c: Likewise.
4836         * config/arc/gmon/profil.S: Likewise.
4837         * config/arc/gmon/sys/gmon.h: Likewise.
4838         * config/arc/gmon/sys/gmon_out.h: Likewise.
4839         * config/arc/t-arc-newlib: Likewise.
4840         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
4842 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
4844         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
4846 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
4848         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
4849         R16 instead of push + pop.
4850         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
4852 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
4854         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
4855         tmake_file.
4857 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
4859         * config.host (arc*-*-linux-uclibc*): Use default extra
4860         objects. Include linux-android header.
4861         * config/arc/crti.S (_init): Declare symbol as function.
4862         (_fini): Likewise.
4864 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
4866         PR fortran/78379
4867         * config/i386/cpuinfo.c:  Move denums for processor vendors,
4868         processor type, processor subtypes and declaration of
4869         struct __processor_model into
4870         * config/i386/cpuinfo.h:  New header file.
4872 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
4873             Thomas Preud'homme  <thomas.preudhomme@arm.com>
4875         * config/arm/cmse_nonsecure_call.S: New.
4876         * config/arm/t-arm: Compile cmse_nonsecure_call.S
4878 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
4879             Thomas Preud'homme  <thomas.preudhomme@arm.com>
4881         * config/arm/t-arm (HAVE_CMSE): New.
4882         * config/arm/cmse.c: New.
4884 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
4886         PR gcc/74748
4887         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
4888         use generic linker version information on Blackfin.
4890         PR gcc/74748
4891         * libgcc/mkmap-symver.awk: add support for skip_underscore
4893 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
4894             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4896         PR target/67710
4897         *  config/t-darwin: Default builds to 10.5 codegen.
4899 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
4901         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
4902         (_FP_NANSIGN_H): Likewise.
4903         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
4904         (softfp_truncations): Add tfhf.
4905         (softfp_extras): Add required conversion functions.
4907 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
4908             Matthew Wahab  <matthew.wahab@arm.com>
4910         * config/arm/fp16.c (binary64): New.
4911         (__gnu_d2h_internal): New.
4912         (__gnu_d2h_ieee): New.
4913         (__gnu_d2h_alternative): New.
4915 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
4916             Matthew Wahab  <matthew.wahab@arm.com>
4918         * config/arm/fp16.c (struct format): New.
4919         (binary32): New.
4920         (__gnu_float2h_internal): New.  Body moved from
4921         __gnu_f2h_internal and generalize.
4922         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
4923         Call it with binary32.
4925 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
4927         * soft-fp/extendhftf2.c: Update from glibc.
4928         * soft-fp/fixhfti.c: Likewise.
4929         * soft-fp/fixunshfti.c: Likewise.
4930         * soft-fp/floattihf.c: Likewise.
4931         * soft-fp/floatuntihf.c: Likewise.
4932         * soft-fp/half.h: Likewise.
4933         * soft-fp/trunctfhf2.c: Likewise.
4935 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
4937         PR libgcc/77813
4938         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
4939         __TMC_END__ behind a passthrough asm.
4941 2016-11-18  Walter Lee  <walt@tilera.com>
4943         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
4945 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
4947         * config/i386/cpuinfo.c (processor_features): Add
4948         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
4950 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
4952         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
4953         (__ARC_NORM__): Use instead ARC_OPTFPE.
4954         * config/arc/fp-hack.h: Likewise.
4955         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
4956         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
4958 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
4960         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
4961         * config/nvptx/mgomp.c: New file.
4962         * config/nvptx/t-nvptx: Add mgomp.c
4964 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
4966         PR libgcc/68468
4967         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
4969 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
4971         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
4972         of checking for cpus.
4973         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
4974         (__modsi3, __clzsi2): Likewise.
4976 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4978         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
4979         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
4980         * config/i386/t-cpuinfo-static: New.
4982 2016-11-03  Martin Liska  <mliska@suse.cz>
4984         * libgcov-profiler.c (__gcov_time_profiler): Remove.
4985         (__gcov_time_profiler_atomic): Likewise.
4987 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
4989         PR libgcc/78067
4990         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
4991         count_leading_zeros.
4993 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
4995         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
4996         * libgcc2.c (__divmoddi4): New function.
4997         * libgcc2.h (__divmoddi4): Declare.
4998         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
4999         and __PFX_divmodti4.
5001 2016-10-24  Florian Weimer  <fweimer@redhat.com>
5003         PR libgcc/78064
5004         * unwind-c.c: Include auto-target.h.
5006 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
5008         * config/pa/pa64-hpux-lib.h: New file.
5009         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
5010         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
5011         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
5012         hppa*64*-*-hpux11*.
5014 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
5016         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5017         definition.
5018         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5019         definition.
5020         * config/xtensa/t-windowed (LIB2ADDEH): Use
5021         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
5022         or xtensa/t-linux.
5024 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
5026         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
5027         __ieee754_sqrt): New functions.
5028         (__divdf3): Add implementation with new FPU instructions under
5029         #if XCHAL_HAVE_DFP_DIV.
5030         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
5031         __ieee754_sqrtf): New functions.
5032         (__divsf3): Add implementation with new FPU instructions under
5033         #if XCHAL_HAVE_FP_DIV.
5034         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
5035         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
5037 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5039         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
5040         equivalent.
5041         * config/tilepro/atomic.c: Likewise and stop casting model to
5042         enum memmodel.
5044 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
5046         PR target/77586
5047         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
5048         soft-fp.
5050 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
5052         * config.host: Add support for aarch64-*-freebsd*.
5054 2016-10-05  Andreas Schwab  <schwab@suse.de>
5056         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
5057         (.section .init_array): Don't call __do_jv_register_classes.
5058         (.section .init): Likewise.
5060 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
5062         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
5063         (__JCR_LIST__): Remove.
5064         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
5065         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
5066         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
5067         * config/ia64/crtend.S (__JCR_END__): Remove.
5068         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
5069         conditionals.
5070         (__JCR_LIST__, __JCR_END__): Remove.
5071         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
5072         (__do_global_ctors_1): Likewise.
5074 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
5076         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
5077         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
5079 2016-09-27  Martin Liska  <mliska@suse.cz>
5081         PR gcov-profile/7970
5082         PR gcov-profile/16855
5083         PR gcov-profile/44779
5084         * libgcov-driver.c (__gcov_init): Do not register a atexit
5085         handler.
5086         (__gcov_exit): Rename from gcov_exit.
5087         * libgcov.h (__gcov_exit): Declare.
5089 2016-09-27  Martin Liska  <mliska@suse.cz>
5091         PR bootstrap/77749
5092         * Makefile.in: Remove _gcov_merge_delta.
5093         * libgcov-merge.c (void __gcov_merge_delta): Remove.
5094         * libgcov-util.c (__gcov_delta_counter_op): Remove.
5095         * libgcov.h: Remove declaration of __gcov_merge_delta.
5097 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
5099         * configure.ac: Do not create links, only substitute the filenames.
5100         * configure: Regenerate.
5101         * Makefile.in: Assign the substitution results to variables.
5102         (LIBGCC_LINKS): Define.
5103         (enable-execute-stack.c): New rule.
5104         (unwind.h): Likewise.
5105         (md-unwind-support.h): Likewise.
5106         (sfp-machine.h): Likewise.
5107         (gthr-default.h): Likewise.
5108         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
5109         unwind.h as prerequisite of install-unwind_h-forbuild.
5111 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
5113         PR libgcc/71744
5114         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
5115         is not the primary registry and atomics are available.
5116         (any_objects_registered): New variable.
5117         (__register_frame_info_bases, __register_frame_info_table_bases):
5118         Atomically store 1 to any_objects_registered after registering first
5119         unwind info.
5120         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
5122 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
5124         PR target/63250
5125         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
5126         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
5127         (HFtype): Likewise.
5128         (HCtype): Likewise.
5129         (__divhc3): Likewise.
5130         (__mulhc3): Likewise.
5131         * libgcc2.c: Support _mulhc3 and _divhc3.
5133 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
5135         PR libgcc/77519
5136         * libgcc2.c (NOTRUNC): Invert settings.
5138 2016-09-06  Martin Liska  <mliska@suse.cz>
5140         PR gcov-profile/77378
5141         PR gcov-profile/77466
5142         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
5143         conditionaly enable/disable *_atomic functions.
5145 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
5147         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
5148         where not already enabled.
5150 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5152         * config/mips/linux-unwind.h: Use sys/syscall.h.
5154 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
5156         PR libgcc/77265
5157         * soft-fp/adddf3.c: Update from glibc.
5158         * soft-fp/addsf3.c: Likewise.
5159         * soft-fp/addtf3.c: Likewise.
5160         * soft-fp/divdf3.c: Likewise.
5161         * soft-fp/divsf3.c: Likewise.
5162         * soft-fp/divtf3.c: Likewise.
5163         * soft-fp/double.h: Likewise.
5164         * soft-fp/eqdf2.c: Likewise.
5165         * soft-fp/eqsf2.c: Likewise.
5166         * soft-fp/eqtf2.c: Likewise.
5167         * soft-fp/extenddftf2.c: Likewise.
5168         * soft-fp/extended.h: Likewise.
5169         * soft-fp/extendsfdf2.c: Likewise.
5170         * soft-fp/extendsftf2.c: Likewise.
5171         * soft-fp/extendxftf2.c: Likewise.
5172         * soft-fp/fixdfdi.c: Likewise.
5173         * soft-fp/fixdfsi.c: Likewise.
5174         * soft-fp/fixdfti.c: Likewise.
5175         * soft-fp/fixsfdi.c: Likewise.
5176         * soft-fp/fixsfsi.c: Likewise.
5177         * soft-fp/fixsfti.c: Likewise.
5178         * soft-fp/fixtfdi.c: Likewise.
5179         * soft-fp/fixtfsi.c: Likewise.
5180         * soft-fp/fixtfti.c: Likewise.
5181         * soft-fp/fixunsdfdi.c: Likewise.
5182         * soft-fp/fixunsdfsi.c: Likewise.
5183         * soft-fp/fixunsdfti.c: Likewise.
5184         * soft-fp/fixunssfdi.c: Likewise.
5185         * soft-fp/fixunssfsi.c: Likewise.
5186         * soft-fp/fixunssfti.c: Likewise.
5187         * soft-fp/fixunstfdi.c: Likewise.
5188         * soft-fp/fixunstfsi.c: Likewise.
5189         * soft-fp/fixunstfti.c: Likewise.
5190         * soft-fp/floatdidf.c: Likewise.
5191         * soft-fp/floatdisf.c: Likewise.
5192         * soft-fp/floatditf.c: Likewise.
5193         * soft-fp/floatsidf.c: Likewise.
5194         * soft-fp/floatsisf.c: Likewise.
5195         * soft-fp/floatsitf.c: Likewise.
5196         * soft-fp/floattidf.c: Likewise.
5197         * soft-fp/floattisf.c: Likewise.
5198         * soft-fp/floattitf.c: Likewise.
5199         * soft-fp/floatundidf.c: Likewise.
5200         * soft-fp/floatundisf.c: Likewise.
5201         * soft-fp/floatunditf.c: Likewise.
5202         * soft-fp/floatunsidf.c: Likewise.
5203         * soft-fp/floatunsisf.c: Likewise.
5204         * soft-fp/floatunsitf.c: Likewise.
5205         * soft-fp/floatuntidf.c: Likewise.
5206         * soft-fp/floatuntisf.c: Likewise.
5207         * soft-fp/floatuntitf.c: Likewise.
5208         * soft-fp/gedf2.c: Likewise.
5209         * soft-fp/gesf2.c: Likewise.
5210         * soft-fp/getf2.c: Likewise.
5211         * soft-fp/ledf2.c: Likewise.
5212         * soft-fp/lesf2.c: Likewise.
5213         * soft-fp/letf2.c: Likewise.
5214         * soft-fp/muldf3.c: Likewise.
5215         * soft-fp/mulsf3.c: Likewise.
5216         * soft-fp/multf3.c: Likewise.
5217         * soft-fp/negdf2.c: Likewise.
5218         * soft-fp/negsf2.c: Likewise.
5219         * soft-fp/negtf2.c: Likewise.
5220         * soft-fp/op-1.h: Likewise.
5221         * soft-fp/op-2.h: Likewise.
5222         * soft-fp/op-4.h: Likewise.
5223         * soft-fp/op-8.h: Likewise.
5224         * soft-fp/op-common.h: Likewise.
5225         * soft-fp/quad.h: Likewise.
5226         * soft-fp/single.h: Likewise.
5227         * soft-fp/soft-fp.h: Likewise.
5228         * soft-fp/subdf3.c: Likewise.
5229         * soft-fp/subsf3.c: Likewise.
5230         * soft-fp/subtf3.c: Likewise.
5231         * soft-fp/truncdfsf2.c: Likewise.
5232         * soft-fp/trunctfdf2.c: Likewise.
5233         * soft-fp/trunctfsf2.c: Likewise.
5234         * soft-fp/trunctfxf2.c: Likewise.
5235         * soft-fp/unorddf2.c: Likewise.
5236         * soft-fp/unordsf2.c: Likewise.
5237         * soft-fp/unordtf2.c: Likewise.
5239 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
5241         PR gcov-profile/67097
5242         * libgcov-util.c (gcov_profile_merge): Skip missing files.
5244 2016-08-10  Martin Liska  <mliska@suse.cz>
5246         PR gcov-profile/58306
5247         * Makefile.in: New functions (modules) are added.
5248         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
5249         function.
5250         (__gcov_pow2_profiler_atomic): New function.
5251         (__gcov_one_value_profiler_body): New argument is instroduced.
5252         (__gcov_one_value_profiler): Call with the new argument.
5253         (__gcov_one_value_profiler_atomic): Likewise.
5254         (__gcov_indirect_call_profiler_v2): Likewise.
5255         (__gcov_time_profiler_atomic): New function.
5256         (__gcov_average_profiler_atomic): Likewise.
5257         (__gcov_ior_profiler_atomic): Likewise.
5258         * libgcov.h: Declare the aforementioned functions.
5260 2016-08-09  Martin Liska  <mliska@suse.cz>
5262         * libgcov-util.c: Fix typo and GNU coding style.
5264 2016-08-09  Martin Liska  <mliska@suse.cz>
5266         * Makefile.in: Remove __gcov_indirect_call_profiler.
5267         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
5268         function.
5269         * libgcov.h: And the declaration of the function.
5271 2016-08-09  Martin Liska  <mliska@suse.cz>
5273         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
5274         power of two.
5276 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
5278         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
5279         * config/rs6000/_mulkc3.c: Likewise.
5281 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
5283         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
5284         zero_reg as previous call to __umulhisi3 already cleared it.
5286 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
5288         PR target/59833
5289         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
5291 2016-07-19  Nick Clifton  <nickc@redhat.com>
5293         * config.host (m32r): Add m32r/t-m32r to tmake_file.
5294         Add crtinit.o and crtfini.o to extra_parts.
5296 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
5298         * config/rs6000/_divkc3.c: New.
5299         * config/rs6000/_mulkc3.c: New.
5300         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
5301         and _divkc3.
5302         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
5303         fp128_ppc_funcs.
5305 2016-07-11  Hale Wang  <hale.wang@arm.com>
5306             Andre Vieira  <andre.simoesdiasvieira@arm.com>
5308         * config/arm/lib1funcs.S: Add new wrapper.
5310 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5312         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
5314 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5316         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
5317         and ARMv5t* rather than for a fixed list of architectures.
5319 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5321         * config/arm/bpabi-v6m.S: Clarify what architectures is the
5322         implementation suitable for.
5323         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
5324         for all Thumb-1 only targets.
5325         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
5326         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
5327         __ARM_ARCH_6M__.
5328         (EQUIV): Likewise.
5329         (ARM_FUNC_ALIAS): Likewise.
5330         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
5331         version.
5332         (modsi3): Likewise.
5333         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
5334         (clzdi2): Likewise.
5335         (ctzsi2): Likewise.
5336         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
5337         __ARM_ARCH_6M__ in guard for checking whether it is defined.
5338         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
5339         __ARM_ARCH_6M__ and add comment to indicate the connection between
5340         this condition and the one in gcc/config/arm/elf.h.
5341         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
5342         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
5343         * config/arm/t-softfp: Likewise.
5345 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5347         * libgcc2.c (SYMBOL__MAIN): Remove checks for
5348         CTOR_LISTS_DEFINED_EXTERNALLY.
5350 2016-06-28  Walter Lee  <walt@tilera.com>
5352         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
5353         asm/unistd.h.
5354         (SPR_CMPEXCH_VALUE): Define for tilegx.
5355         (__NR_FAST_cmpxchg): Define for tilepro.
5356         (__NR_FAST_atomic_update): Define for tilepro.
5357         (__NR_FAST_cmpxchg64): Define for tilepro.
5359 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
5361         * config.host: Add suport for arm*-*-phoenix* targets.
5363 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5365         * config.host: Remove support for mep-*.
5366         * config/mep/lib1funcs.S: Remove.
5367         * config/mep/lib2funcs.c: Remove.
5368         * config/mep/t-mep: Remove.
5369         * config/mep/tramp.c: Remove.
5371 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5373         * config.host: Remove support for avr-rtems.
5374         * config/avr/t-rtems: Remove.
5376 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5378         * config.host: Remove m32r-rtems support.
5380 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5382         * config.host: Remove h8300-rtems support.
5384 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5386         * config.host: Remove support for knetbsd.
5388 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5390         * config.host: Remove support for openbsd 2 and 3.
5392 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5394         * config.host: Remove interix support.
5395         * config/i386/t-interix: Remove.
5397 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
5399         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
5400         least-significant bit in function pointer for fixup.
5402 2016-06-05  Aaron Conole  <aconole@redhat.com>
5403             Nathan Sidwell  <nathan@acm.org>
5405         PR libgcc/71400
5406         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
5407         (get_gcov_error_file): Check __gcov_error_file before trying to
5408         initialize it.
5409         (gcov_error): Always use get_gcov_error_file.
5411 2016-06-02  Aaron Conole  <aconole@redhat.com>
5413         * libgcov-driver-system.c (__gcov_error_file): New.
5414         (get_gcov_error_file): New.
5415         (gcov_error): Use and set __gcov_error_file.
5416         (gcov_error_exit): New.
5417         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
5419 2016-05-26  Nathan Sidwell  <nathan@acm.org>
5421         * config/nvptx/free.asm: Delete.
5422         * config/nvptx/malloc.asm: Delete.
5423         * config/nvptx/realloc.c: Delete.
5424         * t-nvptx: Update.
5426 2016-05-25  Nathan Sidwell  <nathan@acm.org>
5428         * config/nvptx/crt0.s: Delete.
5429         * config/nvptx/crt0.c: New.
5430         * t-nvptx: Update.
5432 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
5434         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
5435         dw2/seh configuration.
5436         [x86_64-*-mingw*]: Likewise.
5438 2016-05-10  Joel Sherrill <joel@rtems.org>
5440         PR libgcc/70720
5441         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
5442         targets so the same extra_parts are built.  Also have tmake_file add
5443         on to its value rather than override.
5445 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
5447         * config.host: Remove SH5 support.
5448         * configure: Likewise.
5450 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
5452         * config/sh/crt1.S: Remove SH5 support.
5453         * config/sh/crti.S: Likewise.
5454         * config/sh/crtn.S: Likewise.
5455         * config/sh/lib1funcs-4-300.S: Likewise.
5456         * config/sh/lib1funcs-Os-4-200.S: Likewise.
5457         * config/sh/lib1funcs.S: Likewise.
5458         * config/sh/linux-unwind.h: Likewise.
5459         * config/sh/t-sh64: Delete.
5461 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
5463         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
5465 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
5466             Joern Rennecke  <joern.rennecke@embecosm.com>
5468         * config/arc/crttls.S: New file.
5469         * config/arc/t-arc: New rule.
5470         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
5472 2016-04-25  Nick Clifton  <nickc@redhat.com>
5474         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
5475         (__mspabi_cmpd): Likewise.
5476         * config/msp430/floathidf.c (__floathidf): Likewise.
5477         * config/msp430/floathisf.c (__floathisf): Likewise
5478         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
5479         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
5480         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
5481         second parameter.
5482         (__ashrsi3): Likewise.
5484 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
5486         * config/m68k/linux-atomic.c: Do not include unistd.h
5488 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
5490         * config/arm/ieee754-df.S: Fix typos in comments.
5492 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
5494         PR target/70381
5495         * configure.ac (powerpc*-*-linux*): Rework tests to build
5496         __float128 emulation routines to not depend on using #pragma GCC
5497         target to enable -mfloat128.
5498         * configure: Regnerate.
5500 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
5502         PR target/67172
5503         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
5504         __MINGW32__ is defined.
5506 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
5508         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
5510 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
5512         PR libgcc/70363
5513         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
5514         built with an assembler that does not support ISA 3.0
5515         instructions, rename __extendkftf2_sw to __extendkftf2.
5517 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5519         PR target/38239
5520         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
5521         call-clobbered registers.
5522         (internal_mcount): Remove __i386__ handling.
5524 2016-02-26  Joel Sherrill <joel@rtems.org>
5526         * config.host: Add x86_64-*-rtems*.
5528 2016-02-26  Joel Sherrill <joel@rtems.org>
5530         * libgcc/config.host: Add aarch64-*-rtems*.
5532 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5533             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
5535         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
5536         union of u64 and double.
5537         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
5538         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
5539         value.
5540         (FP_ROUNDMODE): Update the usage of _fpscr.
5542 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
5544         PR driver/68463
5545         * Makefile.in (crtoffloadtable$(objext)): New rule.
5546         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
5547         enable_offload_targets is not empty.
5548         * configure: Regenerate.
5549         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
5550         crtoffloadtable.
5552 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
5554         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
5555         .literal_position before the function.
5556         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
5557         Likewise.
5559 2016-02-15  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5561         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
5562         * config/s390/morestack.S: New file.
5563         * config/s390/t-stack-s390: New file.
5564         * generic-morestack.c (__splitstack_find): Add s390-specific code.
5566 2016-02-12  Walter Lee  <walt@tilera.com>
5568         * config.host (tilegx*-*-linux*): remove ti from
5569         softfp_int_modes for 32-bit configs.
5571 2016-02-10  Ian Lance Taylor  <iant@google.com>
5573         PR go/68562
5574         * config/i386/morestack.S (__stack_split_initialize): Align
5575         stack.
5577 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
5579         PR bootstrap/69611
5580         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
5581         __FLOAT128__ to compile only for __float128 capable targets.
5583 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
5585         PR target/69444
5586         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
5587         instead of ___NO_FPRS__.
5589 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
5590             Steven Munroe  <munroesj@linux.vnet.ibm.com>
5591             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
5593         * config/rs6000/float128-sed: New files to convert TF names to KF
5594         names for PowerPC IEEE 128-bit floating point support.
5595         * config/rs6000/float128-sed-hw: Likewise.
5597         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5598         floating point hardware support.
5600         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5601         128-bit floating point software emulation or use ISA 3.0 hardware
5602         support if it is available.
5604         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5605         floating point.
5607         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
5608         floating point to IBM extended double.
5610         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
5611         double to IEEE 128-bit floating point.
5613         * config/rs6000/t-float128: New Makefile fragments to enable
5614         building __float128 emulation support.
5615         * config/rs6000/t-float128-hw: Likewise.
5617         * config/rs6000/sfp-exceptions.c: New file to provide exception
5618         support for IEEE 128-bit floating point.
5620         * config/rs6000/floattikf.c: New files for converting between IEEE
5621         128-bit floating point and signed/unsigned 128-bit integers.
5622         * config/rs6000/fixunskfti.c: Likewise.
5623         * config/rs6000/fixkfti.c: Likewise.
5624         * config/rs6000/floatuntikf.c: Likewise.
5626         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5627         when building on 64-bit systems, or when VSX is enabled.
5628         (_FP_W_TYPE): Likewise.
5629         (_FP_WS_TYPE): Likewise.
5630         (_FP_I_TYPE): Likewise.
5631         (TItype): Define on 64-bit systems.
5632         (UTItype): Likewise.
5633         (TI_BITS): Likewise.
5634         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5635         (_FP_MUL_MEAT_Q): Likewise.
5636         (_FP_DIV_MEAT_D): Likewise.
5637         (_FP_DIV_MEAT_Q): Likewise.
5638         (_FP_NANFRAC_D): Likewise.
5639         (_FP_NANFRAC_Q): Likewise.
5640         (ISA_BIT): Add exception support if we are being compiled on a
5641         machine with hardware floating point support to build the IEEE
5642         128-bit emulation functions.
5643         (FP_EX_INVALID): Likewise.
5644         (FP_EX_OVERFLOW): Likewise.
5645         (FP_EX_UNDERFLOW): Likewise.
5646         (FP_EX_DIVZERO): Likewise.
5647         (FP_EX_INEXACT): Likewise.
5648         (FP_EX_ALL): Likewise.
5649         (__sfp_handle_exceptions): Likewise.
5650         (FP_HANDLE_EXCEPTIONS): Likewise.
5651         (FP_RND_NEAREST): Likewise.
5652         (FP_RND_ZERO): Likewise.
5653         (FP_RND_PINF): Likewise.
5654         (FP_RND_MINF): Likewise.
5655         (FP_RND_MASK): Likewise.
5656         (_FP_DECL_EX): Likewise.
5657         (FP_INIT_ROUNDMODE): Likewise.
5658         (FP_ROUNDMODE): Likewise.
5660         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5661         VSX code, enable IEEE 128-bit floating point.  If the compiler can
5662         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
5663         floating point hardware instructions and it supports declaring
5664         functions with the ifunc attribute, enable ifunc functions to
5665         switch between software and hardware support.
5666         * configure.ac (powerpc*-*-linux*): Likewise.
5667         * configure: Regenerate.
5669 2016-01-15  Nick Clifton  <nickc@redhat.com>
5671         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
5672         dependency as the source file to be compiled.
5673         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
5674         (lib2hw_mul_f5.o): Likewise.
5676 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
5678         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
5679         * libgcc/config/rs6000/fixkfti.c: Likewise.
5680         * libgcc/config/rs6000/fixunskfti.c: Likewise.
5681         * libgcc/config/rs6000/float128-hw.c: Likewise.
5682         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
5683         * libgcc/config/rs6000/float128-sed: Likewise.
5684         * libgcc/config/rs6000/floattikf.c: Likewise.
5685         * libgcc/config/rs6000/floatuntikf.c: Likewise.
5686         * libgcc/config/rs6000/quad-float128.h: Likewise.
5687         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
5688         * libgcc/config/rs6000/sfp-machine.h: Likewise.
5689         * libgcc/config/rs6000/t-float128: Likewise.
5690         * libgcc/config/rs6000/t-float128-hw: Likewise.
5691         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
5692         * libgcc/config.host: Likewise.
5693         * libgcc/configure: Likewise.
5694         * libgcc/configure.ac: Likewise.
5696 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
5697             Steven Munroe  <munroesj@linux.vnet.ibm.com>
5698             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
5700         * config/rs6000/sfp-exceptions.c: New file to provide exception
5701         support for IEEE 128-bit floating point.
5703         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5704         floating point hardware support.
5706         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
5707         point conversions.
5708         * config/rs6000/fixunskfti.c: Likewise.
5709         * config/rs6000/fixkfti.c: Likewise.
5710         * config/rs6000/floatuntikf.c: Likewise.
5711         * config/rs6000/extendkftf2-sw.c: Likewise.
5712         * config/rs6000/trunctfkf2-sw.c: Likewise.
5714         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5715         128-bit floating point software emulation or use ISA 3.0 hardware
5716         support if it is available.
5718         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5719         floating point.
5721         * config/rs6000/t-float128: New Makefile fragments to enable
5722         building __float128 emulation support.
5723         * config/rs6000/t-float128-hw: Likewise.
5725         * config/rs6000/float128-sed: New file to convert TF names to KF
5726         names for PowerPC IEEE 128-bit floating point support.
5728         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5729         when building on 64-bit systems, or when VSX is enabled.
5730         (_FP_W_TYPE): Likewise.
5731         (_FP_WS_TYPE): Likewise.
5732         (_FP_I_TYPE): Likewise.
5733         (TItype): Define on 64-bit systems.
5734         (UTItype): Likewise.
5735         (TI_BITS): Likewise.
5736         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5737         (_FP_MUL_MEAT_Q): Likewise.
5738         (_FP_DIV_MEAT_D): Likewise.
5739         (_FP_DIV_MEAT_Q): Likewise.
5740         (_FP_NANFRAC_D): Likewise.
5741         (_FP_NANFRAC_Q): Likewise.
5742         (ISA_BIT): Add exception support if we are being compiled on a
5743         machine with hardware floating point support to build the IEEE
5744         128-bit emulation functions.
5745         (FP_EX_INVALID): Likewise.
5746         (FP_EX_OVERFLOW): Likewise.
5747         (FP_EX_UNDERFLOW): Likewise.
5748         (FP_EX_DIVZERO): Likewise.
5749         (FP_EX_INEXACT): Likewise.
5750         (FP_EX_ALL): Likewise.
5751         (__sfp_handle_exceptions): Likewise.
5752         (FP_HANDLE_EXCEPTIONS): Likewise.
5753         (FP_RND_NEAREST): Likewise.
5754         (FP_RND_ZERO): Likewise.
5755         (FP_RND_PINF): Likewise.
5756         (FP_RND_MINF): Likewise.
5757         (FP_RND_MASK): Likewise.
5758         (_FP_DECL_EX): Likewise.
5759         (FP_INIT_ROUNDMODE): Likewise.
5760         (FP_ROUNDMODE): Likewise.
5762         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
5763         compiler can do __float128.
5764         * configure: Regenerate.
5766         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5767         VSX code, enable IEEE 128-bit floating point.
5769 2016-01-05  Olivier Hainque  <hainque@adacore.com>
5771         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
5772         specificities.
5774 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
5776         Update copyright years.
5778 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
5780         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
5781         soft-fp targets.
5783 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
5785         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
5786         instead of abort to avoid dependency on stdlib.h.
5788 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
5790         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
5791         to initialize call to __dl_fixup once.
5793 2015-12-04  Nick Clifton  <nickc@redhat.com>
5795         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
5796         Allow for the second argument being negative.
5797         * config.host (extra_parts): Define for MSP430.  Create separate
5798         libraries for each of the hardware multiply formats.
5799         * config/msp430/lib2hw_mul.S: Build only the multiply routines
5800         that are needed.
5801         * config/msp430/lib2mul.c: Likewise.
5802         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
5803         Add rules to build hardware multiply libraries.
5804         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
5805         __mspabi_divul function.
5806         (__mspabi_divllu): New stub function.
5808 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
5810         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
5811         fixup values if saved GOT address doesn't match runtime address.
5812         (fixup_branch_offset): Reorder list.
5814 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5816         * Makefile.in (VTV_CFLAGS): New variable.
5817         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
5818         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
5819         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5820         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
5821         to extra_parts if $enable_vtable_verify = yes.
5823 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5825         PR target/68059
5826         * config/arm/linux-atomic-64bit.c (__write): Rename to...
5827         (write): ...this and fix the return type.
5829 2015-11-19  DJ Delorie  <dj@redhat.com>
5831         * config/msp430/lib2hw_mul.S: Fix alignment.
5833 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
5835         * config/nvptx/reduction.c: New.
5836         * config/nvptx/t-nvptx (LIB2ADD): Add it.
5838 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
5840         * config/rs6000/on_exit.c: New file.
5841         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
5842         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
5844 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
5846         * config/arc/dp-hack.h: Add support for ARCHS.
5847         * config/arc/ieee-754/divdf3.S: Likewise.
5848         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5849         * config/arc/ieee-754/muldf3.S: Likewise.
5850         * config/arc/ieee-754/mulsf3.S: Likewise
5851         * config/arc/lib1funcs.S: Likewise
5852         * config/arc/gmon/dcache_linesz.S: Don't read the build register
5853         for ARCv2 cores.
5854         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
5855         for ARCv2 cores.
5856         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
5857         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
5858         cores.
5860 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5862         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
5863         value.
5864         * config/ia64/crtend.S: Likewise.
5866 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5868         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
5869         __CHAR_BIT__ instead of BITS_PER_UNIT.
5870         * fixed-bit.h: Likewise.
5871         * fp-bit.h: Likewise.
5872         * libgcc2.c (__popcountSI2): Likewise.
5873         (__popcountDI2): Likewise.
5874         * libgcc2.h: Likewise.
5875         * libgcov.h: Likewise.
5877 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
5879         * config/rs6000/atexit.c: New file.
5880         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
5881         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
5882         * config/rs6000/cxa_finalize.c
5883         (catomic_compare_and_exchange_bool_acq): Negate return value.
5885 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
5887         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
5888         (processor_subtypes): Add znver1.
5889         (get_amd_cpu): Detect znver1.
5891 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
5893         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
5894         Include crtfastmath.o.
5896 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
5898         PR libgcc/66883
5899         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
5901 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
5903         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
5904         * config/rl78/divmodsi.S: Update return register to r8.
5905         * config/rl78/divmodhi.S: Update return register to r8,r9.
5906         Branch to main_loop_done_himode to pop registers before return.
5908 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
5910         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
5911         (__cpu_indicator_init): Fix model selection for AMD CPUs.
5913 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
5915         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
5917 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
5919         * config.host (xtensa*-*-uclinux*): New configuration.
5921 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
5923         * config/i386/cpuinfo.c (processor_features): Add
5924         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
5926 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
5928         * soft-fp/adddf3.c: Update from glibc.
5929         * soft-fp/addsf3.c: Likewise.
5930         * soft-fp/addtf3.c: Likewise.
5931         * soft-fp/divdf3.c: Likewise.
5932         * soft-fp/divsf3.c: Likewise.
5933         * soft-fp/divtf3.c: Likewise.
5934         * soft-fp/double.h: Likewise.
5935         * soft-fp/eqdf2.c: Likewise.
5936         * soft-fp/eqsf2.c: Likewise.
5937         * soft-fp/eqtf2.c: Likewise.
5938         * soft-fp/extenddftf2.c: Likewise.
5939         * soft-fp/extended.h: Likewise.
5940         * soft-fp/extendsfdf2.c: Likewise.
5941         * soft-fp/extendsftf2.c: Likewise.
5942         * soft-fp/extendxftf2.c: Likewise.
5943         * soft-fp/fixdfdi.c: Likewise.
5944         * soft-fp/fixdfsi.c: Likewise.
5945         * soft-fp/fixdfti.c: Likewise.
5946         * soft-fp/fixsfdi.c: Likewise.
5947         * soft-fp/fixsfsi.c: Likewise.
5948         * soft-fp/fixsfti.c: Likewise.
5949         * soft-fp/fixtfdi.c: Likewise.
5950         * soft-fp/fixtfsi.c: Likewise.
5951         * soft-fp/fixtfti.c: Likewise.
5952         * soft-fp/fixunsdfdi.c: Likewise.
5953         * soft-fp/fixunsdfsi.c: Likewise.
5954         * soft-fp/fixunsdfti.c: Likewise.
5955         * soft-fp/fixunssfdi.c: Likewise.
5956         * soft-fp/fixunssfsi.c: Likewise.
5957         * soft-fp/fixunssfti.c: Likewise.
5958         * soft-fp/fixunstfdi.c: Likewise.
5959         * soft-fp/fixunstfsi.c: Likewise.
5960         * soft-fp/fixunstfti.c: Likewise.
5961         * soft-fp/floatdidf.c: Likewise.
5962         * soft-fp/floatdisf.c: Likewise.
5963         * soft-fp/floatditf.c: Likewise.
5964         * soft-fp/floatsidf.c: Likewise.
5965         * soft-fp/floatsisf.c: Likewise.
5966         * soft-fp/floatsitf.c: Likewise.
5967         * soft-fp/floattidf.c: Likewise.
5968         * soft-fp/floattisf.c: Likewise.
5969         * soft-fp/floattitf.c: Likewise.
5970         * soft-fp/floatundidf.c: Likewise.
5971         * soft-fp/floatundisf.c: Likewise.
5972         * soft-fp/floatunditf.c: Likewise.
5973         * soft-fp/floatunsidf.c: Likewise.
5974         * soft-fp/floatunsisf.c: Likewise.
5975         * soft-fp/floatunsitf.c: Likewise.
5976         * soft-fp/floatuntidf.c: Likewise.
5977         * soft-fp/floatuntisf.c: Likewise.
5978         * soft-fp/floatuntitf.c: Likewise.
5979         * soft-fp/gedf2.c: Likewise.
5980         * soft-fp/gesf2.c: Likewise.
5981         * soft-fp/getf2.c: Likewise.
5982         * soft-fp/ledf2.c: Likewise.
5983         * soft-fp/lesf2.c: Likewise.
5984         * soft-fp/letf2.c: Likewise.
5985         * soft-fp/muldf3.c: Likewise.
5986         * soft-fp/mulsf3.c: Likewise.
5987         * soft-fp/multf3.c: Likewise.
5988         * soft-fp/negdf2.c: Likewise.
5989         * soft-fp/negsf2.c: Likewise.
5990         * soft-fp/negtf2.c: Likewise.
5991         * soft-fp/op-1.h: Likewise.
5992         * soft-fp/op-2.h: Likewise.
5993         * soft-fp/op-4.h: Likewise.
5994         * soft-fp/op-8.h: Likewise.
5995         * soft-fp/op-common.h: Likewise.
5996         * soft-fp/quad.h: Likewise.
5997         * soft-fp/single.h: Likewise.
5998         * soft-fp/soft-fp.h: Likewise.
5999         * soft-fp/subdf3.c: Likewise.
6000         * soft-fp/subsf3.c: Likewise.
6001         * soft-fp/subtf3.c: Likewise.
6002         * soft-fp/truncdfsf2.c: Likewise.
6003         * soft-fp/trunctfdf2.c: Likewise.
6004         * soft-fp/trunctfsf2.c: Likewise.
6005         * soft-fp/trunctfxf2.c: Likewise.
6006         * soft-fp/unorddf2.c: Likewise.
6007         * soft-fp/unordsf2.c: Likewise.
6008         * soft-fp/unordtf2.c: Likewise.
6010 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
6012         PR libgcc/67624
6013         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
6015 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6017         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
6018         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
6019         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
6020         messages.
6021         (internal_mcount): Likewise.
6022         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
6023         crt_compile, add CRTSTUFF_T_CFLAGS_S.
6025 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6027         * configure.ac (libgcc_cv_solaris_crts): New test.
6028         * configure: Regenerate.
6029         * config.in: Regenerate.
6030         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
6031         * config/gmon-sol2.c: Rename to ...
6032         * config/sol2/gmon.c: ... this.
6033         Include auto-target.h.
6034         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
6035         * config/t-sol2: Rename to ...
6036         * config/sol2/t-sol2: ... this.
6037         (gmon.o): Reflect renaming.
6038         (crtp.o, crtpg.o): New rules.
6039         * config.host (*-*-solaris2*): Reflect renaming.
6040         Use system CRTs if present.
6041         Remove default CRT case.
6043 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
6045         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
6046         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
6047         __kernel_cmpxchg2.
6048         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
6049         (__sync_val_compare_and_swap_##WIDTH): Likewise.
6050         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
6051         (__sync_lock_test_and_set_##WIDTH): Likewise.
6052         (__sync_lock_release_##WIDTH): Likewise.
6053         (__sync_fetch_and_##OP##_4): Change result to match type of
6054         __kernel_cmpxchg.
6055         (__sync_##OP##_and_fetch_4): Likewise.
6056         (__sync_val_compare_and_swap_4): Likewise.
6057         (__sync_bool_compare_and_swap_4): likewise.
6058         (__sync_lock_test_and_set_4): Likewise.
6059         (__sync_lock_release_4): Likewise.
6060         (FETCH_AND_OP_2): Add long long variants.
6061         (OP_AND_FETCH_2): Likewise.
6062         (COMPARE_AND_SWAP_2 ): Likewise.
6063         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6064         (SYNC_LOCK_RELEASE_2): Likewise.
6065         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
6067 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
6069         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
6070         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
6071         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
6072         (get_available_features): Habdle new features.
6074 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
6076         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
6077         memory layout. Deal correctly with BSS region larger than 32K.
6078         Handle a watchdog reset like a power-on reset. Clean up unused
6079         code.
6081 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
6082             David Edelsohn  <dje.gcc@gmail.com>
6084         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
6085         * config/rs6000/crtdbase.S: New file.
6086         * config/rs6000/t-aix-cxa: Build crtdbase.o.
6088 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
6090         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
6091         Add support for call0 ABI.
6093 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
6095         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
6097 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
6099         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
6100         (__GTHREAD_HAS_COND): Likewise.
6101         (__gthread_t): Likewise.
6102         (__gthread_cond_t): Likewise.
6103         (__gthread_time_t): Likewise.
6104         (__GTHREAD_MUTEX_INIT): Likewise.
6105         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
6106         (__GTHREAD_COND_INIT): Likewise.
6107         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
6108         (__GTHREAD_TIME_INIT): Likewise.
6109         (__gthread_create): Likewise.
6110         (__gthread_join): Likewise.
6111         (__gthread_detach): Likewise.
6112         (__gthread_equal): Likewise.
6113         (__gthread_self): Likewise.
6114         (__gthread_yield): Likewise.
6115         (__gthread_cond_broadcast): Likewise.
6116         (__gthread_cond_signal): Likewise.
6117         (__gthread_cond_wait): Likewise.
6118         (__gthread_cond_timedwait): Likewise.
6119         (__gthread_cond_wait_recursive): Likewise.
6120         (__gthread_cond_destroy): Likewise.
6121         (rtems_gxx_once): Delete.
6122         (rtems_gxx_key_create): Likewise.
6123         (rtems_gxx_key_delete): Likewise.
6124         (rtems_gxx_getspecific): Likewise.
6125         (rtems_gxx_setspecific): Likewise.
6126         (rtems_gxx_mutex_init): Likewise.
6127         (rtems_gxx_mutex_destroy): Likewise.
6128         (rtems_gxx_mutex_lock): Likewise.
6129         (rtems_gxx_mutex_trylock): Likewise.
6130         (rtems_gxx_mutex_unlock): Likewise.
6131         (rtems_gxx_recursive_mutex_init): Likewise.
6132         (rtems_gxx_recursive_mutex_lock): Likewise.
6133         (rtems_gxx_recursive_mutex_trylock): Likewise.
6134         (rtems_gxx_recursive_mutex_unlock): Likewise.
6135         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
6136         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
6137         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
6138         (__gthread_once): Likewise.
6139         (__gthread_key_create): Likewise.
6140         (__gthread_key_delete): Likewise.
6141         (__gthread_getspecific): Likewise.
6142         (__gthread_setspecific): Likewise.
6143         (__gthread_key_t): Use <pthread.h> type.
6144         (__gthread_once_t): Likewise
6145         (__gthread_mutex_t): Use <sys/lock.h> type.
6146         (__gthread_recursive_mutex_t): Likewise
6147         (__gthread_mutex_lock): Use <sys/lock.h> function.
6148         (__gthread_mutex_trylock): Likewise.
6149         (__gthread_mutex_timedlock): Likewise.
6150         (__gthread_mutex_unlock): Likewise.
6151         (__gthread_mutex_destroy): Likewise.
6152         (__gthread_recursive_mutex_lock): Likewise.
6153         (__gthread_recursive_mutex_trylock): Likewise.
6154         (__gthread_recursive_mutex_timedlock): Likewise.
6155         (__gthread_recursive_mutex_unlock): Likewise.
6156         (__gthread_recursive_mutex_destroy): Likewise.
6158 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
6160         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
6161         context->sp instead of context->cfa.
6163 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
6165         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
6166         with unwind-dw2-fde-dip.
6168 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
6170         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
6171         CALL12 followed by series of ENTRY to spill windowed registers.
6172         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
6173         instead of making linux spill syscall.
6175 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
6177         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
6178         (get_intel_cpu): Likewise.
6180 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
6182         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
6183         (get_intel_cpu): Add Knights Landing support.
6185 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
6187         PR target/66954
6188         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
6189         (get_available_features): Handle FEATURE_PCLMUL.
6191 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
6193         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
6194         Broadwell.
6196 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
6198         PR target/66954
6199         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
6200         (get_available_features): Handle FEATURE_AES.
6202 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
6204         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
6205         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
6207 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
6209         * offloadstuff.c: Constify host data.
6211 2015-07-17  Jan Beulich  <jbeulich@suse.com>
6213         * config/t-softfp: Split up "else ifneq".
6215 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
6216             Cesar Philippidis  <cesar@codesourcery.com>
6217             Chung-Lin Tang  <cltang@codesourcery.com>
6219         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
6220         for __nios2_arch__ level.
6222 2015-07-13  John Marino  <gnugcc@marino.st>
6224         * config/i386/t-dragonfly: New.
6226 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
6228         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
6229         better match light-weight syscall argument order.
6230         (__kernel_cmpxchg2): Likewise.
6231         Adjust callers.
6233 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
6235         * config.host: Support i[34567]86-*-elfiamcu target.
6236         * config/t-softfp-sfdftf: New file.
6237         * config/i386/32/t-iamcu: Likewise.
6238         * configure: Regenerated.
6240 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
6242         libgcc/config/arm/
6243         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
6245 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
6247         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
6249 2015-05-27  John Marino  <gnugcc@marino.st>
6251         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
6252         md_unwind_header
6253         * config/i386/freebsd-unwind.h: New.
6255 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
6257         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
6258         i386/t-crtfm to tmake_file.
6259         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
6260         (set_fast_math): Use set_fast_math_sse for SSE targets.
6261         * config/i386/t-crtfm: Remove.
6263 2015-05-21  Alan Modra  <amodra@gmail.com>
6265         PR libgcc/66225
6266         * config/rs6000/morestack.S: Remove ".abiversion 1".
6268 2015-05-20  Alan Modra  <amodra@gmail.com>
6270         * config/rs6000/morestack.S: New.
6271         * config/rs6000/t-stack-rs6000: New.
6272         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
6273         to tmake_file.
6274         * generic-morestack.c: Don't build for powerpc 32-bit.
6276 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
6278         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
6279         Remove useless endif/ifneq ($(enable_shared),yes) pair.
6281 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
6283         * config.host: FT32 target added.
6284         * config/ft32/*: New files for FT32 target.
6286 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
6288         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
6289         New macros.
6290         * config/arm/ieee754-df.S: Add CFI directives.
6291         * config/arm/ieee754-sf.S: Add CFI directives.
6293 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
6295         * configure.ac: Include config/sjlj.m4.
6296         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
6297         * config.in: Regenerate.
6298         * configure: Likewise.
6299         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
6301 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
6303         * libgcov-util.c: Add space between string literal and macro name.
6305 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
6306             Chris Jones  <chrisj@nvidia.com>
6307             Joshua Conner  <jconner@nvidia.com>
6309         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
6310         (arm*-*-uclinux*): Likewise.
6311         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
6312         * config/arm/crtfastmath.c: New file.
6314 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
6316         * Makefile.in (real_host_noncanonical): New variable.
6317         (libsubdir): Use it.
6318         * configure.ac (real_host_noncanonical): Compute.  Remove special
6319         case for intelmicemul.
6320         * configure: Regenerate.
6322 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
6324         * config/frv/elf-lib.h: New file.
6325         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
6326         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
6327         to tm_file.
6329 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
6331         * config/frv/frvbengin.c: Do not include defaults.h
6332         * config/frv/frvend.c: Ditto.
6334 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
6336         * config.host: Add h8300-*-linux
6337         * config/h8300/t-linux: New file.
6338         * config/h8300/lib1funs.s: Change symbol prefix.
6339         * config/h8300/sfp-machine.h: 64bit double support.
6341 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
6342             Szabolcs Nagy  <szabolcs.nagy@arm.com>
6344         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
6345         Linux if target provides dl_iterate_phdr.
6347 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
6349         PR target/65612
6350         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
6351         * config/i386/cpuinfo.c (__cpu_model): Initialize.
6352         (__cpu_indicator_init@GCC_4.8.0): New.
6353         (__cpu_model@GCC_4.8.0): Likewise.
6354         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
6355         -DUSE_ELF_SYMVER.
6357 2015-04-16  Nick Clifton  <nickc@redhat.com>
6359         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
6360         and __modhi3 functions.
6361         * config/rl78/divmodso.S: Add G14 and G13 versions of the
6362         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
6364 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
6366         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
6367         do-while loop as macro body to avoid warnings.
6369 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
6370             Iain Sandoe  <iain@codesourcery.com>
6372         PR target/65351
6373         * configure: Regenerate.
6375 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
6376             Iain Sandoe  <iain@codesourcery.com>
6378         PR target/65351
6379         * configure: Regenerate.
6381 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
6383         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
6385 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
6387         Implement call0 ABI for xtensa
6388         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6389         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
6390         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
6391         use ret in call0 ABI.
6392         * config/xtensa/t-windowed: New file.
6393         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
6394         * libgcc/configure: Regenerated.
6395         * libgcc/configure.ac: Check if xtensa target is configured for
6396         windowed ABI and thus needs to use custom unwind code.
6398 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
6400         PR libgcc/64885
6401         * gthr-single.h: Use __unused__ attribute instead of unused.
6402         * config/gthr-vxworks.h: Likewise.
6403         * config/i386/gthr-win32.h: Likewise.
6405 2015-02-27  Kai Tietz  <ktietz@redhat.com>
6407         PR target/65038
6408         * config.in: Regenerated.
6409         * configure: Likewise.
6410         * configure.ac (AC_HEADER_STDC): Added explicit.
6411         (AC_CHECK_HEADERS): Check for default headers  plus
6412         for ftw.h header.
6413         * libgcov-util.c (gcov_read_profile_dir): Disable use
6414         of ftw-function, if header is not found.
6415         (ftw_read_file): Likewise.
6417 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
6419         PR target/65181
6420         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
6421         -Dinhibit_libc.
6423 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
6425         * config/arm/bpabi.S (test_div_by_zero): Make label names
6426         consistent between thumb2 and arm mode cases.  Separate the
6427         signed comparison on the high word of the numerator from the
6428         unsigned comparison on the low word.
6429         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
6430         signed comparison.
6432 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6434         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
6435         and <string.h>.
6436         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
6438 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
6440         PR gcov-profile/61889
6441         * libgcov-driver-system.c: undefine clashing macro for mkdir.
6443 2015-02-02  Nick Clifton  <nickc@redhat.com>
6445         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
6446         rounding up the fraction.
6448 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
6450         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
6451         oldval and newval to const void *.  Fix typo.
6452         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
6453         (FETCH_AND_OP_WORD): Likewise.
6454         (OP_AND_FETCH_WORD): Likewise.
6455         (COMPARE_AND_SWAP_2): Likewise.
6456         (__sync_val_compare_and_swap_4): Likewise.
6457         (__sync_lock_test_and_set_4): Likewise.
6458         (SYNC_LOCK_RELEASE_2): Likewise.
6459         Remove support for long long atomic operations.
6461 2015-01-27  Caroline Tice  <cmtice@google.com>
6463         Committing VTV Cywin/Ming patch for Patrick Wollgast
6464         * Makefile.in: Move rules to build vtv_*.o out of the check
6465         for CUSTOM_CRTSTUFF.
6466         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
6467         i[34567]86-*-mingw*)
6468         (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
6469         enable_vtable_verify.
6471 2015-01-27  Nick Clifton  <nickc@redhat.com>
6473         * config/rl78/cmpsi2.S: Use function start and end macros.
6474         (__gcc_bcmp): New function.
6475         * config/rl78/lshrsi3.S: Use function start and end macros.
6476         * config/rl78/mulsi3.S: Add support for G10.
6477         (__mulqi3): New function for G10.
6478         * config/rl78/signbit.S: Use function start and end macros.
6479         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
6480         fpmath-sf.S.
6481         (LIB2FUNCS_EXCLUDE): Define.
6482         (LIB2FUNCS_ST): Define.
6483         * config/rl78/trampoline.S: Use function start and end macros.
6484         * config/rl78/vregs.h (START_FUNC): New macro.
6485         (START_ANOTHER_FUNC): New macro.
6486         (END_FUNC): New macro.
6487         (END_ANOTHER_FUNC): New macro.
6488         * config/rl78/bit-count.S: New file.  Contains assembler
6489         implementations of the bit counting functions: ___clzhi2,
6490         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
6491         __paritysi2, __popcounthi2 and __popcountsi2.
6492         * config/rl78/fpbit-sf.S: New file.  Contains assembler
6493         implementationas of the math functions: __negsf2, __cmpsf2,
6494         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
6495         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
6496         * config/rl78/fpmath-sf.S: New file.  Contains assembler
6497         implementations of the math functions: __subsf3, __addsf3,
6498         __mulsf3 and __divsf3
6500 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6502         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
6503         Add i386/elf-lib.h to tm_file.
6504         * config/i386/elf-lib.h: Fix comment.
6505         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
6506         && __sun__ && __svr4__]: Remove workaround.
6508 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
6510         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
6511         FEATURE_BMI2.
6512         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
6514 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
6516         * config/i386/cpuinfo.c (processor_subtypes): Add
6517         INTEL_COREI7_BROADWELL.
6518         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
6519         model numbers.
6521 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
6523         * config/i386/elf-lib.h: New file.
6524         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
6525         Wrap definition in #ifdef __i386__.
6526         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6527         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
6528         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
6529         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
6530         to tm_file.
6532 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
6534         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
6535         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
6537 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
6539         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
6540         Update rt_sigframe format and address for current Nios II
6541         Linux conventions.
6543 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
6545         * config.host (arm*-*-freebsd*): Add new configuration for
6546         arm*-*-freebsd*.
6547         * config/arm/freebsd-atomic.c: New file.
6548         * config/arm/t-freebsd: Likewise.
6549         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
6550         'PC-relative indirect' OS's.
6552 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
6554         * config.host: Add Visium support.
6555         * config/visium: New directory.
6557 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
6559         Update copyright years.
6561 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
6563         * config.host: Support mipsisa32r6 and mipsisa64r6.
6564         * config/mips/mips16.S: Do not build for R6.
6566 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
6568         * config/sh/crt.h: New.
6569         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
6570         symbols.
6571         * config/sh/crt1.S: Likewise.
6573 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
6575         PR libgcc/63832
6576         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
6577         func_ptr *dtor_list temporary variable to avoid "array subscript
6578         is above array bounds" warnings.
6580 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
6582         * Makefile.in (with_aix_soname): Define.
6583         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
6584         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
6585         * configure: Recreate.
6587 2014-12-05  Olivier Hainque  <hainque@adacore.com>
6589         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
6590         now provided by defaults.h.
6592 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
6594         PR target/55351
6595         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
6596         whether it's defined.
6598 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
6600         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
6601         * config/i386/cpuinfo.c (get_available_features): Detect it.
6603 2014-11-27  Tony Wang  <tony.wang@arm.com>
6605         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
6606         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
6607         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
6609 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
6611         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
6613 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
6615         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
6616         instead.
6618 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
6619             John David Anglin  <danglin@gcc.gnu.org>
6621         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
6622         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
6623         (OP_AND_FETCH_2): Likewise.
6624         (COMPARE_AND_SWAP_2): Likewise.
6625         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6626         (SYNC_LOCK_RELEASE_2): Likewise.
6627         (SUBWORD_SYNC_OP): Remove.
6628         (SUBWORD_VAL_CAS): Likewise.
6629         (SUBWORD_BOOL_CAS): Likewise.
6630         (FETCH_AND_OP_WORD): Update.
6631         Consistently use signed types.
6633 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
6634             Thomas Schwinge  <thomas@codesourcery.com>
6635             Ilya Verbin  <ilya.verbin@intel.com>
6636             Andrey Turetskiy  <andrey.turetskiy@intel.com>
6638         * Makefile.in (crtoffloadbegin$(objext)): New rule.
6639         (crtoffloadend$(objext)): Likewise.
6640         * configure: Regenerate.
6641         * configure.ac (accel_dir_suffix): Compute new variable.
6642         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
6643         if enable_offload_targets is not empty.
6644         * offloadstuff.c: New file.
6646 2014-11-13  Nick Clifton  <nickc@redhat.com>
6648         * config/rl78/divmodhi.S: Add support for the G10 architecture.
6649         Use START_FUNC and END_FUNC macros to enable linker garbage
6650         collection.
6651         * config/rl78/divmodqi.S: Likewise.
6652         * config/rl78/divmodsi.S: Likewise.
6653         * config/rl78/mulsi3.S: Likewise.
6654         * config/rl78/lib2div.c: Remove G10 functions.
6655         * config/rl78/lib2muls.c: Likewise.
6656         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
6657         * config/rl78/vregs.h (START_FUNC): New macro.
6658         (END_FUNC): New macro.
6660 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
6662         * config/mips/mips16.S: Set .module when supported.  Update O32
6663         FP64 calling convention and use for FPXX when possible.  Add FPXX
6664         calling convention fallback case.
6666 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
6668         * config.host: Handle nvptx-*-*.
6669         * shared-object.mk (as-flags-$o): Define.
6670         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
6671         -xassembler-with-cpp.
6672         * static-object.mk: Identical changes.
6673         * config/nvptx/t-nvptx: New file.
6674         * config/nvptx/crt0.s: New file.
6675         * config/nvptx/free.asm: New file.
6676         * config/nvptx/malloc.asm: New file.
6677         * config/nvptx/realloc.c: New file.
6679 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
6681         * Makefile.in (libgcc.map.in): New target.
6682         (libgcc.map): Use libgcc.map.in.
6683         * config/t-softfp (softfp_compat): New variable to be set by
6684         users.
6685         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
6686         variables.
6687         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
6688         directory.
6689         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
6690         that use compat symbols and disable all code unless [SHARED].
6691         * config/t-softfp-compat: New file.
6692         * find-symver.awk: New file.
6693         * configure.ac (--with-glibc-version): New configure option.
6694         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
6695         * configure: Regenerate.
6696         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
6697         soft-float and e500.
6699 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
6701         * config/t-hardfp (hardfp_exclusions): Document new variable for
6702         user to define.
6703         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
6704         * config/t-softfp (softfp_extras): Document new variable for user
6705         to define.
6706         (softfp_func_list): Add functions from $(softfp_extras).
6707         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
6708         * config.host (powerpc*-*-linux*): For e500v1, use
6709         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
6710         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
6711         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
6713 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
6715         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
6716         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
6717         memory read accesses are ok.
6719 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
6721         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
6722         * configure: Regenerate.
6723         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
6724         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
6725         of soft-fp for 32-bit classic hard float.  Do not use
6726         t-softfp-excl for soft float.
6728 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
6730         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
6731         configurations.
6732         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
6733         Remove variables.
6735 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
6737         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
6738         introduced with 2014-10-21 trunk r216525.
6740 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
6741             Vidya Praveen  <vidya.praveen@atmel.com>
6742             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
6743             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
6744             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
6746         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
6747         order.
6749         Updated library functions for AVRTINY arch.
6750         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
6751         Replaced occurrences of r0/r1 with tmp/zero reg macros.
6752         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
6753         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
6754         wsubi/wadi macors.
6755         (__mulsi3_helper): Update stack, preserve callee saved regs and
6756         argument from stack. Restore callee save registers.
6757         (__mulpsi3): Likewise.
6758         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
6759         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
6760         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
6761         AVRTINY.
6762         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
6763         (__do_copy_data): Added new definition for AVRTINY.
6764         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
6765         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
6766         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
6767         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
6768         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
6769         macors.
6770         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
6771         AVRTINY.
6773         Fix broken long multiplication on tiny arch.
6775 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
6777         * soft-fp/double.h: Update from glibc.
6778         * soft-fp/eqdf2.c: Likewise.
6779         * soft-fp/eqsf2.c: Likewise.
6780         * soft-fp/eqtf2.c: Likewise.
6781         * soft-fp/extenddftf2.c: Likewise.
6782         * soft-fp/extended.h: Likewise.
6783         * soft-fp/extendsfdf2.c: Likewise.
6784         * soft-fp/extendsftf2.c: Likewise.
6785         * soft-fp/extendxftf2.c: Likewise.
6786         * soft-fp/gedf2.c: Likewise.
6787         * soft-fp/gesf2.c: Likewise.
6788         * soft-fp/getf2.c: Likewise.
6789         * soft-fp/ledf2.c: Likewise.
6790         * soft-fp/lesf2.c: Likewise.
6791         * soft-fp/letf2.c: Likewise.
6792         * soft-fp/op-1.h: Likewise.
6793         * soft-fp/op-2.h: Likewise.
6794         * soft-fp/op-4.h: Likewise.
6795         * soft-fp/op-8.h: Likewise.
6796         * soft-fp/op-common.h: Likewise.
6797         * soft-fp/quad.h: Likewise.
6798         * soft-fp/single.h: Likewise.
6799         * soft-fp/soft-fp.h: Likewise.
6800         * soft-fp/unorddf2.c: Likewise.
6801         * soft-fp/unordsf2.c: Likewise.
6802         * soft-fp/unordtf2.c: Likewise.
6803         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
6804         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
6805         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
6806         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
6807         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
6808         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
6809         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
6810         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
6811         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
6812         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
6814 2014-10-08  Rong Xu  <xur@google.com>
6816         * libgcov-util.c (read_gcda_file): Fix format.
6817         (find_match_gcov_info): Ditto.
6818         (calculate_2_entries): New.
6819         (compute_one_gcov): Ditto.
6820         (gcov_info_count_all_cold): Ditto.
6821         (gcov_info_count_all_zero): Ditto.
6822         (extract_file_basename): Ditto.
6823         (get_file_basename): Ditto.
6824         (set_flag): Ditto.
6825         (matched_gcov_info): Ditto.
6826         (calculate_overlap): Ditto.
6827         (gcov_profile_overlap): Ditto.
6828         * libgcov-driver.c (compute_summary): Make
6829         it avavilable for external calls.
6831 2014-10-06  Rong Xu  <xur@google.com>
6833         * Makefile.in: Ditto.
6834         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
6835         (gcov_sort_icall_topn_counter): Ditto.
6836         (gcov_sort_topn_counter_arrays): Ditto.
6837         (dump_one_gcov): Sort indirect_call topn counters.
6838         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
6839         function.
6840         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
6841         utility function.
6842         (__gcov_indirect_call_topn_profiler): New profiler function.
6843         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
6844         * libgcov.h: New decls.
6846 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
6848         * config.host: Remove support for score-*.
6850 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
6852         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6853         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
6854         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
6855         __LIBGCC_XF_MANT_DIG__.
6856         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
6857         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
6858         __LIBGCC_TF_MANT_DIG__.
6859         * libgcc2.c (NOTRUNC): Define in terms of
6860         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
6861         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6863 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
6865         PR target/63312
6866         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
6867         New macros.
6869 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
6871         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
6872         override USE_PT_GNU_EH_FRAME.
6873         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
6874         check USE_EH_FRAME_REGISTRY_ALWAYS against
6875         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
6876         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
6877         variable for substituted force_explicit_eh_registry.
6878         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
6879         * configure.ac (explicit-exception-frame-registration):
6880         New AC_ARG_ENABLE.
6881         * configure: Regenerate.
6883 2014-09-19  Olivier Hainque  <hainque@adacore.com>
6885         * config.host (powerpc-wrs-vxworksmils): New configuration,
6886         same as vxworksae.
6888 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
6890         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
6892 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
6894         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
6895         bits not set bits as indicating trapping exceptions.
6897 2014-09-17  Nathan sidwell  <nathan@acm.org>
6899         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
6900         (LIBGCOV_DRIVER): ... here.
6901         * libgcov-driver.c (gcov_master): New.
6902         (gcov_exit): Remove from master chain.
6903         (__gcov_init): Add to master chain if version compatible.  Don't
6904         clear the version.
6905         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
6906         (gcov_reset_int): Clear master chain, if compatible.
6907         (gcov_dump_int): New internal interface.  Dump master chain, if
6908         compatible.
6909         (gcov_dump): Alias for gcov_dump_int.
6910         * libgcov.h (struct gcov_root): Add next and prev fields.
6911         (struct gcov_master): New struct.
6912         (__gcov_master): New.
6913         (gcov_dump_int): Declare.
6915 2014-09-17  Olivier Hainque  <hainque@adacore.com>
6917         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
6918         and crtbegin.o + crtend.o to extra_parts.
6920 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
6922         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
6923         __LIBGCC_HAS_SF_MODE__.
6924         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6925         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6926         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6927         * config/libbid/bid_gcc_intrinsics.h
6928         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6929         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6930         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6931         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6932         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
6933         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6935 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
6937         PR target/63223
6938         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
6939         and R24 as needed.  Make work for all devices and .text locations.
6940         (__do_global_ctors, __do_global_dtors): Use word addresses.
6941         (__tablejump__, __tablejump_elpm__): Remove functions.
6942         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
6943         Add _tablejump2.
6944         (XICALL, XIJMP): New macros.
6946 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6947         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
6949         * config.host (aarch64*): Include crtfastmath.o and
6950         t-crtfm.
6951         * config/aarch64/crtfastmath.c: New file.
6953 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
6955         * config.host: Remove picochip support.
6956         * config/picochip/adddi3.S: Remove.
6957         * config/picochip/ashlsi3.S: Remove.
6958         * config/picochip/ashlsi3.c: Remove.
6959         * config/picochip/ashrsi3.S: Remove.
6960         * config/picochip/ashrsi3.c: Remove.
6961         * config/picochip/clzsi2.S: Remove.
6962         * config/picochip/cmpsi2.S: Remove.
6963         * config/picochip/divmod15.S: Remove.
6964         * config/picochip/divmodhi4.S: Remove.
6965         * config/picochip/divmodsi4.S: Remove.
6966         * config/picochip/lib1funcs.S: Remove.
6967         * config/picochip/longjmp.S: Remove.
6968         * config/picochip/lshrsi3.S: Remove.
6969         * config/picochip/lshrsi3.c: Remove.
6970         * config/picochip/parityhi2.S: Remove.
6971         * config/picochip/popcounthi2.S: Remove.
6972         * config/picochip/setjmp.S: Remove.
6973         * config/picochip/subdi3.S: Remove.
6974         * config/picochip/t-picochip: Remove.
6975         * config/picochip/ucmpsi2.S: Remove.
6976         * config/picochip/udivmodhi4.S: Remove.
6977         * config/picochip/udivmodsi4.S: Remove.
6979 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
6981         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
6982         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
6983         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
6984         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
6985         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
6986         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
6987         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
6988         defined and LIBGCC2_HAS_DF_MODE is defined.
6989         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
6990         defined and LIBGCC2_HAS_XF_MODE is defined.
6991         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
6992         defined and LIBGCC2_HAS_TF_MODE is defined.
6994 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
6996         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
6997         and ROUND_TOWARDS_ZERO conditionals.
6999 2014-09-07  Nathan sidwell  <nathan@acm.org>
7001         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
7002         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
7004 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
7006         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
7007         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7008         uses to __LIBGCC_STACK_POINTER_REGNUM__.
7009         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7010         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7011         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7012         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7013         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
7014         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
7015         (DWARF_FRAME_REGISTERS): Change all uses to
7016         __LIBGCC_DWARF_FRAME_REGISTERS__.
7017         (EH_RETURN_STACKADJ_RTX): Change all uses to
7018         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7019         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
7020         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
7021         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
7022         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
7023         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
7024         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
7025         to __LIBGCC_EH_FRAME_SECTION_NAME__.
7026         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
7027         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
7028         __LIBGCC_STACK_POINTER_REGNUM__.
7029         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7030         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7031         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7032         to __LIBGCC_STACK_POINTER_REGNUM__.
7033         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7034         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7035         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7036         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7037         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7038         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7039         (STACK_POINTER_REGNUM): Change all uses to
7040         __LIBGCC_STACK_POINTER_REGNUM__.
7041         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
7042         use to __LIBGCC_STACK_POINTER_REGNUM__.
7043         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7044         uses to __LIBGCC_STACK_POINTER_REGNUM__.
7045         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
7046         to __LIBGCC_DWARF_FRAME_REGISTERS__.
7047         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
7048         to __LIBGCC_DWARF_FRAME_REGISTERS__.
7049         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7050         to __LIBGCC_STACK_POINTER_REGNUM__.
7051         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
7052         Remove conditional definition.
7053         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
7054         __LIBGCC_TEXT_SECTION_ASM_OP__.
7055         (EH_FRAME_SECTION_NAME): Change all uses to
7056         __LIBGCC_EH_FRAME_SECTION_NAME__.
7057         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
7058         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
7059         (CTORS_SECTION_ASM_OP): Change all uses to
7060         __LIBGCC_CTORS_SECTION_ASM_OP__.
7061         (DTORS_SECTION_ASM_OP): Change all uses to
7062         __LIBGCC_DTORS_SECTION_ASM_OP__.
7063         (JCR_SECTION_NAME): Change all uses to
7064         __LIBGCC_JCR_SECTION_NAME__.
7065         (INIT_SECTION_ASM_OP): Change all uses to
7066         __LIBGCC_INIT_SECTION_ASM_OP__.
7067         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7068         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7069         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
7070         __LIBGCC_STACK_GROWS_DOWNWARD__.
7071         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
7072         __LIBGCC_INIT_SECTION_ASM_OP__.
7073         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7074         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7075         (EH_FRAME_SECTION_NAME): Change all uses to
7076         __LIBGCC_EH_FRAME_SECTION_NAME__.
7077         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
7078         definitions.  Change all uses to
7079         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
7080         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
7081         __LIBGCC_STACK_GROWS_DOWNWARD__.
7082         (DWARF_FRAME_REGISTERS): Change all uses to
7083         __LIBGCC_DWARF_FRAME_REGISTERS__.
7084         (EH_RETURN_STACKADJ_RTX): Change all uses to
7085         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7086         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
7087         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
7088         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
7089         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
7090         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
7092 2014-09-02  Nathan sidwell  <nathan@acm.org>
7094         * libgcov-interface.c (STRONG_ALIAS): New.
7095         (__gcov_flush): Call __gcov_reset_int.
7096         (__gcov_reset): Strong alias for ...
7097         (__gcov_reset_ing): ... this renamed hidden version.
7098         * libgcov.h (__gcov_reset_int): New declaration.
7100 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
7102         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
7103         call from here...
7104         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
7105         (__dso_handle): Define on Cygwin.
7106         * config/i386/t-cygming (crtbeginS.o): New rule.
7107         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
7109         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
7110         declaration syntax.
7112 2014-08-13  Steve Ellcey  <sellcey@mips.com>
7114         * crtstuff.c: Undef caddr_t.
7116 2014-08-12  Steve Ellcey  <sellcey@mips.com>
7118         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
7120 2014-08-07  Nathan Sidwell  <nathan@acm.org>
7122         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
7123         (LIBGCOV_DRIVER): ... to here.
7124         * libgcov.h (gcov_do_dump): New #define.
7125         (struct gcov_root): New.
7126         (__gcov_root): New declaration.
7127         (__gcov_dump_one): Declare.
7128         * libgcov-driver.c (gcov_list, gcov_dump_complete,
7129         run_accounted): Delete.
7130         (gcov_compute_histogram): Add LIST argument, adjust.
7131         (compute_summary): Adjust gcov_compute_histogram call.
7132         (gcov_do_dump): Not hidden, static in libgcov.
7133         (gcov_clear): Move  to interface.c.
7134         (__gcov_dump_one): New, broken out of ...
7135         (gcov_exit): ... here.  Make static.
7136         (__gcov_root): New.
7137         (__gcov_init): Adjust.
7138         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
7139         declarations.
7140         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
7141         (gcov_clear): Moved from driver.c.   Add LIST argument.
7142         (__gcov_reset): Adjust for changed interfaces.
7143         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
7145 2014-08-04  Rohit  <rohitarulraj@freescale.com>
7147         PR target/60102
7148         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
7149         based on change in SPE high register numbers and 3 HTM registers.
7151 2014-08-01  Nathan Sidwell  <nathan@acm.org>
7153         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
7154         LIBGCOV_INTERFACE): Reformat.
7155         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
7156         IN_GCOV_TOOL.
7157         * libgcov-interface.c: Reformat some comments.
7158         (__gcov_flush_mx): Add declaration.  Tidy up definition.
7160 2014-07-31  Alan Modra  <amodra@gmail.com>
7161             Peter Bergner  <bergner@vnet.ibm.com>
7163         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
7164         (pack_ldouble): New function.
7165         (__gcc_qadd): Use it.
7166         (__gcc_qmul): Likewise.
7167         (__gcc_qdiv): Likewise.
7168         (__gcc_qneg): Likewise.
7169         (__gcc_stoq): Likewise.
7170         (__gcc_dtoq): Likewise.
7172 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
7174         * config/s390/tpf-unwind.h: Include <stdbool.h>.
7175         (__tpf_eh_return): Add original return address as second parameter.
7176         Handle cases where unwinder routines were called directly, instead
7177         of from within the C++ library.
7179 2014-07-29  Nathan Sidwell  <nathan@acm.org>
7181         * libgcov.h: Move renaming of entry points to lib gcov specific
7182         portion.
7183         (gcov_do_dump): New rename.
7184         (gcov_rewrite): Remove inline, make HIDDEN.
7185         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
7186         (gcov_exit_compute_summary): Rename to ...
7187         (compute_summary): ... here.  Add LIST argument.
7188         (gcov_exit_merge_gcda): Rename to ...
7189         (merge_one_data): ... here.
7190         (gcov_exit_write_gcda): Rename to ...
7191         (write_one_data): ... here.
7192         (gcov_exit_merge_summary): Rename to ...
7193         (merge_summary): Add RUN_COUNTED argument.
7194         (gcov_exit_dump_gcov): Rename to ...
7195         (dump_one_gcov): Add RUN_COUNTED argument.
7196         (gcov_do_dump): New function, broken out of ...
7197         (gcov_exit): ... here.  Call it.
7199 2014-07-27  Anthony Green  <green@moxielogic.com>
7201         * config.host: Add moxiebox configuration suppport.
7203 2014-07-27  Nathan Sidwell  <nathan@acm.org>
7205         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
7206         (struct gcov_filename): ... here.  Include buffer and max length
7207         fields.
7208         (gcov_max_filename): Remove.
7209         (gi_filename): Remove.
7210         (gcov_exit_compute_summary): Compute max filename here.
7211         (gcov_exit_merge_gcda): Add filename parm, adjust.
7212         (gcov_exit_merge_summary): Likewise.
7213         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
7214         (gcov_exit): Likewise.
7215         (__gcov_init): Don't calculate max length here.
7216         * libgcov_util.c (max_filename_len): Remove.
7217         (read_gcda_file): Don't calculate max length here.
7218         (gcov_read_profile_dir): Don't propagate here.
7219         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
7220         struct gcov_filename changes.
7221         (gcov_exit_open_gcda_file): Likewise.
7223 2014-07-25  Nathan Sidwell  <nathan@acm.org>
7225         * libgcov-driver.c (set_gcov_dump_complete,
7226         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
7227         functions polluting user's namespace.
7228         (gcov_exit): Set variable directly.
7229         (gcov_clear): Reset variable directly.
7230         * libgcov-interface.c (get_gcov_dymp_complete,
7231         reset_gov_dump_complete): Remove declarations.
7232         (__gcov_reset, __gcov_dump): Don't call them.
7234 2014-07-24  DJ Delorie  <dj@redhat.com>
7236         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
7237         (__gcc_deregister_frame): Move logic to detect deregister function
7238         to ...
7239         (__gcc_register_frame): here, so it's consistent with the register
7240         logic.
7242 2014-07-23  Nathan Sidwell  <nathan@acm.org>
7244         * libgcov-driver.c (set_gcov_list): Remove.
7245         (gcov_list): Make non-static in GCOV_TOOL.
7246         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
7248 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
7250         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
7251         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
7252         Don't use SYNC_LOCK_RELEASE for int type.
7254 2014-07-14  Richard Biener  <rguenther@suse.de>
7256         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
7258 2014-07-11  Rong Xu  <xur@google.com>
7260         * libgcov-util.c (gcov_max_filename): Fix declartion.
7262 2014-07-10  Rong Xu  <xur@google.com>
7264         Add gcov-tool: an offline gcda profile processing tool
7265         Support.
7266         * libgcov-driver.c (gcov_max_filename): Make available
7267         to gcov-tool.
7268         * libgcov-merge.c (__gcov_merge_add): Replace
7269         gcov_read_counter() with a Macro.
7270         (__gcov_merge_ior): Ditto.
7271         (__gcov_merge_time_profile): Ditto.
7272         (__gcov_merge_single): Ditto.
7273         (__gcov_merge_delta): Ditto.
7274         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
7275         in the utility functions.
7276         (set_fn_ctrs): Utility function for reading gcda files to in-memory
7277         gcov_list object link lists.
7278         (tag_function): Ditto.
7279         (tag_blocks): Ditto.
7280         (tag_arcs): Ditto.
7281         (tag_lines): Ditto.
7282         (tag_counters): Ditto.
7283         (tag_summary): Ditto.
7284         (read_gcda_finalize): Ditto.
7285         (read_gcda_file): Ditto.
7286         (ftw_read_file): Ditto.
7287         (read_profile_dir_init): Ditto.
7288         (gcov_read_profile_dir): Ditto.
7289         (gcov_read_counter_mem): Ditto.
7290         (gcov_get_merge_weight): Ditto.
7291         (merge_wrapper): A wrapper function that calls merging handler.
7292         (gcov_merge): Merge two gcov_info objects with weights.
7293         (find_match_gcov_info): Find the matched gcov_info in the list.
7294         (gcov_profile_merge): Merge two gcov_info object lists.
7295         (__gcov_add_counter_op): Process edge profile counter values.
7296         (__gcov_ior_counter_op): Process IOR profile counter values.
7297         (__gcov_delta_counter_op): Process delta profile counter values.
7298         (__gcov_single_counter_op): Process single  profile counter values.
7299         (fp_scale): Callback function for float-point scaling.
7300         (int_scale): Callback function for integer fraction scaling.
7301         (gcov_profile_scale): Scaling profile counters.
7302         (gcov_profile_normalize): Normalize profile counters.
7303         * libgcov.h: Add headers and functions for gcov-tool use.
7304         (gcov_get_counter): New.
7305         (gcov_get_counter_target): Ditto.
7306         (struct gcov_info): Make the functions field mutable in gcov-tool
7307         compilation.
7309 2014-06-23  Kai Tietz  <ktietz@redhat.com>
7311         PR libgcc/61585
7312         * unwind-seh.c (_Unwind_GetGR): Check for proper
7313         index range.
7314         (_Unwind_SetGR): Likewise.
7316 2014-05-22  Nick Clifton  <nickc@redhat.com>
7318         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
7319         -mhwmult=none.
7321 2014-05-22  Teresa Johnson  <tejohnson@google.com>
7323         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
7324         include.
7326 2014-05-20  John Marino  <gnugcc@marino.st>
7328         * config.host (*-*-dragonfly*): New target.
7329         * crtstuff.c: Make dl_iterate_support generic on *bsd.
7330         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
7331         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
7332         * config/i386/dragonfly-unwind.h: New.
7334 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
7336         PR libgcc/60166
7337         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
7338         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
7340 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
7342         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
7343         implementation.
7345 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
7347         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
7349 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7351         PR libgcc/61097
7352         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
7353         if --enable-shared.
7355 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
7357         Work around for current cygwin32 build problems.
7358         * config/i386/cygming-crtbegin.c (__register_frame_info,
7359         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
7360         functions only for 64-bit systems.
7362 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7364         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
7365         (sigill_caught, sigill_hdlr): Remove.
7367 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7369         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
7370         check.
7371         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7372         Solaris 9 single-threaded support.
7373         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7374         Solaris 9 single-threaded support.  Add call_user_handler code
7375         sequences.
7376         (sparc_is_sighandler): Likewise.
7378 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7380         * config.host: Append t-floattodi to tmake_file depending on
7381         host_address.
7383 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
7385         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
7387 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
7389         PR libgcc/60472
7390         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
7391         variable to avoid "array subscript is above array bounds" warnings.
7392         Use __builtin_expect when checking *jcr_list for NULL.
7394 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7396         PR libgcc/59339
7397         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
7398         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
7399         vtv_*.o to extra_parts if enable_vtable_verify.
7401 2014-03-06  Nick Clifton  <nickc@redhat.com>
7403         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
7404         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
7406 2014-02-28  Joey Ye  <joey.ye@arm.com>
7408         PR libgcc/60166
7409         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
7410         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
7411         Set to zero.
7413 2014-02-24  Walter Lee  <walt@tilera.com>
7415         * config.host: Support "tilegx*" and "tilepro*" triplets.
7416         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
7417         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
7419 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
7420             Chung-Lin Tang  <cltang@codesourcery.com>
7422         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
7423         * config/nios2/crti.S: Remove .file directive.
7424         * config/nios2/crtn.S: Likewise.
7426 2014-02-18  Kai Tietz  <ktietz@redhat.com>
7427         Jonathan Schleifer  <js@webkeks.org>
7429         PR objc/56870
7430         * unwind-seh.c (_GCC_specific_handler): Pass proper
7431         value to unwind-handler.
7433 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
7435         * soft-fp/adddf3.c: Update from glibc.
7436         * soft-fp/addsf3.c: Likewise.
7437         * soft-fp/addtf3.c: Likewise.
7438         * soft-fp/divdf3.c: Likewise.
7439         * soft-fp/divsf3.c: Likewise.
7440         * soft-fp/divtf3.c: Likewise.
7441         * soft-fp/double.h: Likewise.
7442         * soft-fp/eqdf2.c: Likewise.
7443         * soft-fp/eqsf2.c: Likewise.
7444         * soft-fp/eqtf2.c: Likewise.
7445         * soft-fp/extenddftf2.c: Likewise.
7446         * soft-fp/extended.h: Likewise.
7447         * soft-fp/extendsfdf2.c: Likewise.
7448         * soft-fp/extendsftf2.c: Likewise.
7449         * soft-fp/extendxftf2.c: Likewise.
7450         * soft-fp/fixdfdi.c: Likewise.
7451         * soft-fp/fixdfsi.c: Likewise.
7452         * soft-fp/fixdfti.c: Likewise.
7453         * soft-fp/fixsfdi.c: Likewise.
7454         * soft-fp/fixsfsi.c: Likewise.
7455         * soft-fp/fixsfti.c: Likewise.
7456         * soft-fp/fixtfdi.c: Likewise.
7457         * soft-fp/fixtfsi.c: Likewise.
7458         * soft-fp/fixtfti.c: Likewise.
7459         * soft-fp/fixunsdfdi.c: Likewise.
7460         * soft-fp/fixunsdfsi.c: Likewise.
7461         * soft-fp/fixunsdfti.c: Likewise.
7462         * soft-fp/fixunssfdi.c: Likewise.
7463         * soft-fp/fixunssfsi.c: Likewise.
7464         * soft-fp/fixunssfti.c: Likewise.
7465         * soft-fp/fixunstfdi.c: Likewise.
7466         * soft-fp/fixunstfsi.c: Likewise.
7467         * soft-fp/fixunstfti.c: Likewise.
7468         * soft-fp/floatdidf.c: Likewise.
7469         * soft-fp/floatdisf.c: Likewise.
7470         * soft-fp/floatditf.c: Likewise.
7471         * soft-fp/floatsidf.c: Likewise.
7472         * soft-fp/floatsisf.c: Likewise.
7473         * soft-fp/floatsitf.c: Likewise.
7474         * soft-fp/floattidf.c: Likewise.
7475         * soft-fp/floattisf.c: Likewise.
7476         * soft-fp/floattitf.c: Likewise.
7477         * soft-fp/floatundidf.c: Likewise.
7478         * soft-fp/floatundisf.c: Likewise.
7479         * soft-fp/floatunditf.c: Likewise.
7480         * soft-fp/floatunsidf.c: Likewise.
7481         * soft-fp/floatunsisf.c: Likewise.
7482         * soft-fp/floatunsitf.c: Likewise.
7483         * soft-fp/floatuntidf.c: Likewise.
7484         * soft-fp/floatuntisf.c: Likewise.
7485         * soft-fp/floatuntitf.c: Likewise.
7486         * soft-fp/gedf2.c: Likewise.
7487         * soft-fp/gesf2.c: Likewise.
7488         * soft-fp/getf2.c: Likewise.
7489         * soft-fp/ledf2.c: Likewise.
7490         * soft-fp/lesf2.c: Likewise.
7491         * soft-fp/letf2.c: Likewise.
7492         * soft-fp/muldf3.c: Likewise.
7493         * soft-fp/mulsf3.c: Likewise.
7494         * soft-fp/multf3.c: Likewise.
7495         * soft-fp/negdf2.c: Likewise.
7496         * soft-fp/negsf2.c: Likewise.
7497         * soft-fp/negtf2.c: Likewise.
7498         * soft-fp/op-1.h: Likewise.
7499         * soft-fp/op-2.h: Likewise.
7500         * soft-fp/op-4.h: Likewise.
7501         * soft-fp/op-8.h: Likewise.
7502         * soft-fp/op-common.h: Likewise.
7503         * soft-fp/quad.h: Likewise.
7504         * soft-fp/single.h: Likewise.
7505         * soft-fp/soft-fp.h: Likewise.
7506         * soft-fp/subdf3.c: Likewise.
7507         * soft-fp/subsf3.c: Likewise.
7508         * soft-fp/subtf3.c: Likewise.
7509         * soft-fp/truncdfsf2.c: Likewise.
7510         * soft-fp/trunctfdf2.c: Likewise.
7511         * soft-fp/trunctfsf2.c: Likewise.
7512         * soft-fp/trunctfxf2.c: Likewise.
7513         * soft-fp/unorddf2.c: Likewise.
7514         * soft-fp/unordsf2.c: Likewise.
7515         * soft-fp/unordtf2.c: Likewise.
7516         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
7517         macro.
7518         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7519         Likewise.
7520         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7521         Likewise.
7522         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7523         Likewise.
7524         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7525         Likewise.
7526         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7527         Likewise.
7528         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7529         Likewise.
7530         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7531         Likewise.
7532         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7533         Likewise.
7534         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7535         Likewise.
7536         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7537         Likewise.
7538         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7539         Likewise.
7540         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7541         Likewise.
7542         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
7543         Likewise.
7544         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
7545         Likewise.
7546         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7547         Likewise.
7549 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7551         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
7552         cannot be represented.
7553         * config/s390/32/_fixsfdi.c: Likewise.
7554         * config/s390/32/_fixtfdi.c: Likewise.
7555         * config/s390/32/_fixunsdfdi.c: Likewise.
7556         * config/s390/32/_fixunssfdi.c: Likewise.
7557         * config/s390/32/_fixunstfdi.c: Likewise.
7559 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
7561         * configure.ac (libgcc_cv_mips_hard_float): New.
7562         * configure: Regenerate.
7563         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
7564         t-softfp-sfdf for hard-float targets.
7565         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
7566         (softfp_float_modes, softfp_int_modes, softfp_extensions)
7567         (softfp_truncations, softfp_exclude_libgcc2): New.
7568         * config/t-hardfp: New file.
7569         * config/t-hardfp-sfdf: Likewise.
7570         * config/hardfp.c: Likewise.
7572 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7574         * config.host: Include t-floattodi also for s390x.
7575         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
7576         * config/s390/32/_fixsfdi.c: Likewise.
7577         * config/s390/32/_fixtfdi.c: Likewise.
7578         * config/s390/32/_fixunsdfdi.c: Likewise.
7579         * config/s390/32/_fixunssfdi.c: Likewise.
7580         * config/s390/32/_fixunstfdi.c: Likewise.
7582 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7584         PR target/59788
7585         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
7586         (install-libgcc-unwind-map-forbuild): New target.
7587         (all): Depend on install-libgcc-unwind-map-forbuild.
7588         (install-libgcc-unwind-map): New target.
7589         (install): Depend on install-libgcc-unwind-map.
7591 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
7593         * config/nios2/crti.S (_init): Initialize GOT pointer from
7594         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
7596 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
7598         * configure.ac: Check __mips64 when setting host_address.
7599         * configure: Regenerate.
7600         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
7601         mips/t-mips64 and t-softfp.
7602         (mips*-*-linux*): Don't add mips/t-tpbit.
7603         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
7604         (DPBIT, DPBIT_CFLAGS): Delete.
7605         * config/mips/sfp-machine.h: New file.
7606         * config/mips/t-mips64: Likewise.
7607         * config/mips/t-softfp-tf: Likewise.
7608         * config/mips/t-tpbit: Delete.
7610 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7612         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
7613         as long long.
7615 2014-01-25  Walter Lee  <walt@tilera.com>
7617         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
7618         config.h or system.h.
7619         (bool) Define.
7621 2014-01-25  Walter Lee  <walt@tilera.com>
7623         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
7624         (post_atomic_barrier): Ditto.
7625         (__fetch_and_do): New macro.
7626         (__atomic_fetch_and_do): Use __fetch_and_do.
7627         (__sync_fetch_and_do): New macro.
7628         (__sync_fetch_and_add_4): New function.
7629         (__sync_fetch_and_sub_4): New function.
7630         (__sync_fetch_and_or_4): New function.
7631         (__sync_fetch_and_and_4): New function.
7632         (__sync_fetch_and_xor_4): New function.
7633         (__sync_fetch_and_nand_4): New function.
7634         (__sync_fetch_and_add_8): New function.
7635         (__sync_fetch_and_sub_8): New function.
7636         (__sync_fetch_and_or_8): New function.
7637         (__sync_fetch_and_and_8): New function.
7638         (__sync_fetch_and_xor_8): New function.
7639         (__sync_fetch_and_nand_8): New function.
7640         (__do_and_fetch): New macro.
7641         (__atomic_do_and_fetch): Use __do_and_fetch.
7642         (__sync_do_and_fetch): New macro.
7643         (__sync_add_and_fetch_4): New function.
7644         (__sync_sub_and_fetch_4): New function.
7645         (__sync_or_and_fetch_4): New function.
7646         (__sync_and_and_fetch_4): New function.
7647         (__sync_xor_and_fetch_4): New function.
7648         (__sync_nand_and_fetch_4): New function.
7649         (__sync_add_and_fetch_8): New function.
7650         (__sync_sub_and_fetch_8): New function.
7651         (__sync_or_and_fetch_8): New function.
7652         (__sync_and_and_fetch_8): New function.
7653         (__sync_xor_and_fetch_8): New function.
7654         (__sync_nand_and_fetch_8): New function.
7655         (__sync_exchange_methods): New macro.
7656         (__sync_val_compare_and_swap_4): New function.
7657         (__sync_bool_compare_and_swap_4): New function.
7658         (__sync_lock_test_and_test_4): New function.
7659         (__sync_val_compare_and_swap_8): New function.
7660         (__sync_bool_compare_and_swap_8): New function.
7661         (__sync_lock_test_and_test_8): New function.
7662         (__subword_cmpxchg_body): New macro.
7663         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
7664         (__atomic_compare_exchange_2): Ditto.
7665         (__sync_subword_cmpxchg): New macro.
7666         (__sync_val_compare_and_swap_1): New function.
7667         (__sync_bool_compare_and_swap_1): New function.
7668         (__sync_val_compare_and_swap_2): New function.
7669         (__sync_bool_compare_and_swap_2): New function.
7670         (__atomic_subword): Rename to ...
7671         (__subword): ... New name.
7672         (__atomic_subword_fetch): Use __subword.
7673         (__sync_subword_fetch): New macro.
7674         (__sync_fetch_and_add_1): New function.
7675         (__sync_fetch_and_sub_1): New function.
7676         (__sync_fetch_and_or_1): New function.
7677         (__sync_fetch_and_and_1): New function.
7678         (__sync_fetch_and_xor_1): New function.
7679         (__sync_fetch_and_nand_1): New function.
7680         (__sync_fetch_and_add_2): New function.
7681         (__sync_fetch_and_sub_2): New function.
7682         (__sync_fetch_and_or_2): New function.
7683         (__sync_fetch_and_and_2): New function.
7684         (__sync_fetch_and_xor_2): New function.
7685         (__sync_fetch_and_nand_2): New function.
7686         (__sync_add_and_fetch_1): New function.
7687         (__sync_sub_and_fetch_1): New function.
7688         (__sync_or_and_fetch_1): New function.
7689         (__sync_and_and_fetch_1): New function.
7690         (__sync_xor_and_fetch_1): New function.
7691         (__sync_nand_and_fetch_1): New function.
7692         (__sync_add_and_fetch_2): New function.
7693         (__sync_sub_and_fetch_2): New function.
7694         (__sync_or_and_fetch_2): New function.
7695         (__sync_and_and_fetch_2): New function.
7696         (__sync_xor_and_fetch_2): New function.
7697         (__sync_nand_and_fetch_2): New function.
7698         (__atomic_subword_lock): Use __subword.
7699         (__sync_subword_lock): New macro.
7700         (__sync_lock_test_and_set_1): New function.
7701         (__sync_lock_test_and_set_2): New function.
7703 2014-01-25  Walter Lee  <walt@tilera.com>
7705         * config/tilepro/atomic.c (BIT_OFFSET): Define.
7706         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
7707         (__atomic_subword): Ditto.
7709 2014-01-25  Walter Lee  <walt@tilera.com>
7711         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
7712         a prefix op argument.
7713         (__atomic_nand_fetch_4): Add prefix op.
7714         (__atomic_nand_fetch_8): Ditto.
7716 2014-01-21  Baruch Siach  <barch@tkos.co.il>
7718         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
7720 2014-01-09  Rong Xu  <xur@google.com>
7722         * libgcov-driver.c (this_prg): make it local to save
7723         bss space.
7724         (gcov_exit_compute_summary): Ditto.
7725         (gcov_exit_merge_gcda): Ditto.
7726         (gcov_exit_merge_summary): Ditto.
7727         (gcov_exit_dump_gcov): Ditto.
7729 2014-01-08  Rong Xu  <xur@google.com>
7731         * libgcov-driver.c: Use libgcov.h.
7732         (buffer_fn_data): Use xmalloc instead of malloc.
7733         (gcov_exit_merge_gcda): Ditto.
7734         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
7735         * libgcov.h: New common header files for libgcov-*.h.
7736         * libgcov-interface.c: Use libgcov.h
7737         * libgcov-merge.c: Ditto.
7738         * libgcov-profiler.c: Ditto.
7739         * Makefile.in: Add dependence to libgcov.h
7741 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
7743         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
7744         case of small numerator and finite nonzero result.
7746 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
7748         Update copyright years
7750 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
7752         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
7753         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
7754         config/arc/dp-hack.h, config/arc/fp-hack.h,
7755         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
7756         config/arc/ieee-754/arc600-dsp/divdf3.S,
7757         config/arc/ieee-754/arc600-dsp/divsf3.S,
7758         config/arc/ieee-754/arc600-dsp/muldf3.S,
7759         config/arc/ieee-754/arc600-dsp/mulsf3.S,
7760         config/arc/ieee-754/arc600-mul64/divdf3.S,
7761         config/arc/ieee-754/arc600-mul64/divsf3.S,
7762         config/arc/ieee-754/arc600-mul64/muldf3.S,
7763         config/arc/ieee-754/arc600-mul64/mulsf3.S,
7764         config/arc/ieee-754/arc600/divsf3.S,
7765         config/arc/ieee-754/arc600/mulsf3.S,
7766         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
7767         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
7768         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
7769         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
7770         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
7771         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
7772         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
7773         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
7774         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
7775         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
7776         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
7777         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
7778         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
7779         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
7780         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
7781         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
7782         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
7783         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
7784         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
7785         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
7786         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
7787         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
7788         vtv_start_preinit.c: Use the standard form for the copyright notice.
7790 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
7791             Chung-Lin Tang  <cltang@codesourcery.com>
7792         Based on patches from Altera Corporation
7794         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
7795         * config/nios2/lib2-nios2.h: New file.
7796         * config/nios2/lib2-divmod-hi.c: New file.
7797         * config/nios2/linux-unwind.h: New file.
7798         * config/nios2/lib2-divmod.c: New file.
7799         * config/nios2/linux-atomic.c: New file.
7800         * config/nios2/t-nios2: New file.
7801         * config/nios2/crti.asm: New file.
7802         * config/nios2/t-linux: New file.
7803         * config/nios2/lib2-divtable.c: New file.
7804         * config/nios2/lib2-mul.c: New file.
7805         * config/nios2/tramp.c: New file.
7806         * config/nios2/crtn.asm: New file.
7808 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
7810         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
7811         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
7812         from cpuid.h to check vendor signatures.
7814 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
7816         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
7817         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
7818         (get_amd_cpu): Likewise.
7820 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
7822         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
7823         Haswell.
7825 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
7826             H.J. Lu  <hongjiu.lu@intel.com>
7828         PR target/59422
7829         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
7830         and AMD_JAGUAR.
7831         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
7832         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
7833         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
7834         FEATURE_XOP and FEATURE_FMA.
7835         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
7836         AMDFAM15H_BDVER3.
7837         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
7838         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
7839         FEATURE_FMA4 and FEATURE_XOP.
7841 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
7843         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
7844         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
7845         (get_intel_cpu): Updated.
7847 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
7849         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
7851 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
7853         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7854         instructions when __SSE_MATH__ is defined.
7856 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
7858         * config.host (microblaze-*-rtems*): New.
7860 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
7862         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
7863         architectures that do not have hardware divide instruction.
7864         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
7866 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
7868         * longlong.h: Delete (moved to include/).
7870 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7872         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
7873         of normal number and qNaN to not raise an inexact exception.
7875 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
7877         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
7879 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
7881         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
7882         for correct opcodes on BE.
7884 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
7886         * soft-fp/op-4.h: Update from glibc.
7888 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
7890         * libgcc2.c (__udivmoddi4): Define new implementation when
7891         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
7892         divide instructions.
7894 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
7896         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
7898 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7900         * config/t-softfp (soft-fp-objects-base): New variable.
7901         (soft-fp-objects): Use it.
7903 2013-11-23  David Edelson  <dje.gcc@gmail.com>
7904             Andrew Dixie  <andrewd@gentrack.com>
7906         PR target/33704
7907         * config/rs6000/aixinitfini.c: New file.
7908         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
7909         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
7910         symbols.
7912 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
7914         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
7916 2013-11-18  Jan Hubicka  <jh@suse.cz>
7918         * libgcov-driver.c (run_accounted): Make global level static.
7919         (gcov_exit_merge_summary): Silence warning; do not clear
7920         run_accounted here.
7921         (gcov_exit): Clear it here.
7923         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
7924         run_accounted.
7926         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
7927         (all_prg, crc32): Remove static vars.
7928         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
7929         all_prg.
7930         (gcov_exit_merge_gcda): Add crc32 parameter.
7931         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
7932         do not account run if it was already accounted.
7933         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
7934         (gcov_exit): Initialize all_prg; update.
7936 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
7938         * configure: Regenerate.
7940 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7941             Alan Modra  <amodra@gmail.com>
7943         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
7944         (frob_update_context): Use it.
7946 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7947             Alan Modra  <amodra@gmail.com>
7949         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
7950         (trampoline_initial): Provide ELFv2 variant.
7951         (__trampoline_setup): Likewise.
7953         * config/rs6000/linux-unwind.h (frob_update_context): Do not
7954         check for AIX indirect function call sequence if _CALL_ELF == 2.
7956 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7957             Alan Modra  <amodra@gmail.com>
7959         * config/rs6000/linux-unwind.h (get_regs): Do not support
7960         old kernel versions if _CALL_ELF == 2.
7961         (frob_update_context): Do not support PLT stub variants only
7962         generated by old linkers if _CALL_ELF == 2.
7964 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7965             Alan Modra  <amodra@gmail.com>
7967         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
7968         location of CR save area for 64-bit little-endian systems.
7970 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
7972         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
7973         in tmake_file.
7974         * config/arm/t-vxworks: Delete.
7976 2013-11-10  Kai Tietz  <ktietz@redhat.com>
7978         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
7979         Increment load-count on use of LIBGCC_SONAME DLL.
7980         (hmod_libgcc): New static variable to hold handle of
7981         LIBGCC_SONAME DLL.
7982         (__gcc_deregister_frame): Decrement load-count of
7983         LIBGCC_SONAME DLL.
7985 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
7987         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
7988         availability.
7989         * configure: Regenerate
7991 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
7993         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
7994         FP_EX_DENORM.  Store result to volatile location after SSE division
7995         to close interrupt window.  Remove unneeded fwait after x87
7996         division since interrupt window will be closed by emitted fstp.
7997         Rewrite FP_EX_INEXACT handling.
7999 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
8001         * soft-fp/README: Update.
8002         * soft-fp/adddf3.c: Update from glibc.
8003         * soft-fp/addsf3.c: Likewise.
8004         * soft-fp/addtf3.c: Likewise.
8005         * soft-fp/divdf3.c: Likewise.
8006         * soft-fp/divsf3.c: Likewise.
8007         * soft-fp/divtf3.c: Likewise.
8008         * soft-fp/double.h: Likewise.
8009         * soft-fp/eqdf2.c: Likewise.
8010         * soft-fp/eqsf2.c: Likewise.
8011         * soft-fp/eqtf2.c: Likewise.
8012         * soft-fp/extenddftf2.c: Likewise.
8013         * soft-fp/extended.h: Likewise.
8014         * soft-fp/extendsfdf2.c: Likewise.
8015         * soft-fp/extendsftf2.c: Likewise.
8016         * soft-fp/extendxftf2.c: Likewise.
8017         * soft-fp/fixdfdi.c: Likewise.
8018         * soft-fp/fixdfsi.c: Likewise.
8019         * soft-fp/fixdfti.c: Likewise.
8020         * soft-fp/fixsfdi.c: Likewise.
8021         * soft-fp/fixsfsi.c: Likewise.
8022         * soft-fp/fixsfti.c: Likewise.
8023         * soft-fp/fixtfdi.c: Likewise.
8024         * soft-fp/fixtfsi.c: Likewise.
8025         * soft-fp/fixtfti.c: Likewise.
8026         * soft-fp/fixunsdfdi.c: Likewise.
8027         * soft-fp/fixunsdfsi.c: Likewise.
8028         * soft-fp/fixunsdfti.c: Likewise.
8029         * soft-fp/fixunssfdi.c: Likewise.
8030         * soft-fp/fixunssfsi.c: Likewise.
8031         * soft-fp/fixunssfti.c: Likewise.
8032         * soft-fp/fixunstfdi.c: Likewise.
8033         * soft-fp/fixunstfsi.c: Likewise.
8034         * soft-fp/fixunstfti.c: Likewise.
8035         * soft-fp/floatdidf.c: Likewise.
8036         * soft-fp/floatdisf.c: Likewise.
8037         * soft-fp/floatditf.c: Likewise.
8038         * soft-fp/floatsidf.c: Likewise.
8039         * soft-fp/floatsisf.c: Likewise.
8040         * soft-fp/floatsitf.c: Likewise.
8041         * soft-fp/floattidf.c: Likewise.
8042         * soft-fp/floattisf.c: Likewise.
8043         * soft-fp/floattitf.c: Likewise.
8044         * soft-fp/floatundidf.c: Likewise.
8045         * soft-fp/floatundisf.c: Likewise.
8046         * soft-fp/floatunditf.c: Likewise.
8047         * soft-fp/floatunsidf.c: Likewise.
8048         * soft-fp/floatunsisf.c: Likewise.
8049         * soft-fp/floatunsitf.c: Likewise.
8050         * soft-fp/floatuntidf.c: Likewise.
8051         * soft-fp/floatuntisf.c: Likewise.
8052         * soft-fp/floatuntitf.c: Likewise.
8053         * soft-fp/gedf2.c: Likewise.
8054         * soft-fp/gesf2.c: Likewise.
8055         * soft-fp/getf2.c: Likewise.
8056         * soft-fp/ledf2.c: Likewise.
8057         * soft-fp/lesf2.c: Likewise.
8058         * soft-fp/letf2.c: Likewise.
8059         * soft-fp/muldf3.c: Likewise.
8060         * soft-fp/mulsf3.c: Likewise.
8061         * soft-fp/multf3.c: Likewise.
8062         * soft-fp/negdf2.c: Likewise.
8063         * soft-fp/negsf2.c: Likewise.
8064         * soft-fp/negtf2.c: Likewise.
8065         * soft-fp/op-1.h: Likewise.
8066         * soft-fp/op-2.h: Likewise.
8067         * soft-fp/op-4.h: Likewise.
8068         * soft-fp/op-8.h: Likewise.
8069         * soft-fp/op-common.h: Likewise.
8070         * soft-fp/quad.h: Likewise.
8071         * soft-fp/single.h: Likewise.
8072         * soft-fp/soft-fp.h: Likewise.
8073         * soft-fp/subdf3.c: Likewise.
8074         * soft-fp/subsf3.c: Likewise.
8075         * soft-fp/subtf3.c: Likewise.
8076         * soft-fp/truncdfsf2.c: Likewise.
8077         * soft-fp/trunctfdf2.c: Likewise.
8078         * soft-fp/trunctfsf2.c: Likewise.
8079         * soft-fp/trunctfxf2.c: Likewise.
8080         * soft-fp/unorddf2.c: Likewise.
8081         * soft-fp/unordsf2.c: Likewise.
8082         * soft-fp/unordtf2.c: Likewise.
8084 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
8086         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
8087         (_FP_MUL_MEAT_D): Ditto.
8088         (_FP_DIV_MEAT_S): Ditto.
8089         (_FP_DIV_MEAT_D): Ditto.
8090         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
8091         t-softfp-sfdf and t-softfp to tmake_file.
8093 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
8095         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
8096         * config/i386/crtprec.c: Ditto.
8098 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
8099             Shiva Chen  <shiva0217@gmail.com>
8101         * config.host (nds32*-elf*): Add nds32 target.
8102         * config/nds32 : New directory and files.
8104 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
8106         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
8107         * config.host (cpu_type) <Setting default>: Add entry for
8108         crisv32-*-*.
8109         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
8110         <crisv32-*-linux*>: Adjust.
8111         * longlong.h: Wrap the whole CRIS section in a single
8112         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
8113         and sub_ddmmss.
8114         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
8115         defined.
8116         [__CRIS__] (__umulsidi3): Define.
8117         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
8118         * config/cris/sfp-machine.h: New file.
8119         * config/cris/umulsidi3.S: New file.
8120         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
8121         * config/cris/arit.c (SIGNMULT): New macro.
8122         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
8123         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
8124         saving 3 out of originally 33 cycles from the fastest
8125         path, 3 out of 54 from the medium path and one from the longest
8126         path.  Improve comments.
8128 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
8130         * sync.c: Remove static aliases and define each function directly
8131         under its real name.
8133 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
8135         * config.host (hppa*64*-*-linux*): Define extra_parts.
8136         (hppa*-*-linux*): Likewise.
8138 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
8140         * config/arc/crtgend.S: Add 2013 to Copyright years.
8141         * config/arc/gmon/atomic.h: Likewise.
8142         * config/arc/gmon/auxreg.h: Likewise.
8143         * config/arc/gmon/sys/gmon_out.h: Likewise.
8144         * config/arc/gmon/sys/gmon.h: Likewise.
8145         * config/arc/gmon/prof-freq.c: Likewise.
8146         * config/arc/gmon/mcount.c: Likewise.
8147         * config/arc/gmon/prof-freq-stub.S: Likewise.
8148         * config/arc/gmon/gmon.c: Likewise.
8149         * config/arc/gmon/machine-gmon.h: Likewise.
8150         * config/arc/gmon/profil.S: Likewise.
8151         * config/arc/gmon/dcache_linesz.S: Likewise.
8152         * config/arc/crtg.S: Likewise.
8153         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
8154         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
8155         * config/arc/ieee-754/adddf3.S: Likewise.
8156         * config/arc/ieee-754/truncdfsf2.S: Likewise.
8157         * config/arc/ieee-754/fixsfsi.S: Likewise.
8158         * config/arc/ieee-754/gtsf2.S: Likewise.
8159         * config/arc/ieee-754/floatsisf.S: Likewise.
8160         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
8161         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
8162         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
8163         * config/arc/ieee-754/fixdfsi.S: Likewise.
8164         * config/arc/ieee-754/addsf3.S: Likewise.
8165         * config/arc/ieee-754/gesf2.S: Likewise.
8166         * config/arc/ieee-754/floatsidf.S: Likewise.
8167         * config/arc/ieee-754/extendsfdf2.S: Likewise.
8168         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
8169         * config/arc/ieee-754/gtdf2.S: Likewise.
8170         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
8171         * config/arc/ieee-754/uneqdf2.S: Likewise.
8172         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
8173         * config/arc/ieee-754/uneqsf2.S: Likewise.
8174         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
8175         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
8176         * config/arc/ieee-754/eqdf2.S: Likewise.
8177         * config/arc/ieee-754/ordsf2.S: Likewise.
8178         * config/arc/ieee-754/divsf3.S: Likewise.
8179         * config/arc/ieee-754/divdf3.S: Likewise.
8180         * config/arc/ieee-754/floatunsidf.S: Likewise.
8181         * config/arc/ieee-754/orddf2.S: Likewise.
8182         * config/arc/ieee-754/eqsf2.S: Likewise.
8183         * config/arc/ieee-754/gedf2.S: Likewise.
8184         * config/arc/crtn.S: Likewise.
8185         * config/arc/crti.S: Likewise.
8186         * config/arc/t-arc700-uClibc: Likewise.
8187         * config/arc/asm.h: Likewise.
8188         * config/arc/libgcc-excl.ver: Likewise.
8189         * config/arc/t-arc-newlib: Likewise.
8190         * config/arc/divtab-arc700.c: Likewise.
8191         * config/arc/initfini.c: Likewise.
8192         * config/arc/fp-hack.h: Likewise.
8194 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
8195             Diego Novillo  <dnovillo@google.com>
8197         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
8198         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
8199         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
8200         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
8202 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
8203             Brendan Kehoe  <brendan@zen.org>
8204             Simon Cook  <simon.cook@embecosm.com>
8206         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
8207         * config/arc: New directory.
8208         * longlong.h [__arc__] (umul_ppmm): Remove.
8209         [__arc__] (__umulsidi3): Define.
8210         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
8211         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
8213 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
8215         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
8216         CreateSemaphoreA.
8217         * config/i386/gthr-win32.h: Likewise.
8219 2013-09-16  DJ Delorie  <dj@redhat.com>
8221         * config/rl78/vregs.h: Add G10 register definitions.
8222         * config/rl78/lib2mul.c: Enable for RL78/G10.
8223         * config/rl78/lib2div.c: Likewise.
8224         * config/rl78/lshrsi3.S: Use vregs.h.
8225         * config/rl78/cmpsi2.S: Likewise.
8226         * config/rl78/trampoline.S: Likewise.
8227         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
8229 2013-09-14  DJ Delorie  <dj@redhat.com>
8230             Nick Clifton  <nickc@redhat.com>
8232         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
8233         * config/rl78/vregs.h: New.
8234         * config/rl78/signbit.S: New file.  Implements signbit function.
8235         * config/rl78/divmodsi.S: New.
8236         * config/rl78/divmodhi.S: New.
8237         * config/rl78/divmodqi.S: New.
8238         * config/rl78/t-rl78: Build them here...
8239         * config/rl78/lib2div.c: ...but not here.
8241 2013-09-12  DJ Delorie  <dj@redhat.com>
8243         * config.host (msp*-*-elf): New.
8244         * config/msp430/: New port.
8246 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
8248         PR gcov-profile/58127
8249         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
8250         __thread var for emulated TLS.
8251         (__gcov_indirect_call_counters): Likewise.
8253 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
8254             Catherine Moore  <clm@codesourcery.com>
8255             Richard Sandiford  <rdsandiford@googlemail.com>
8257         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
8258         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
8259         (CALL_STUB_NO_RET): Likewise.
8260         (CALL_STUB_RET): Likewise.
8261         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
8262         __mips16_ret call/return stub symbols.
8263         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
8264         to tmake_file.
8266 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
8268         * config.host <mips*-*-linux*>: Remove a stray comment.
8270 2013-08-10  Jan Hubicka  <jh@suse.cz>
8272         Work around binutils PR14342
8273         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
8274         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
8275         (L_gcov_indirect_call_profiler_v2): New.
8277 2013-08-06  Jan Hubicka  <jh@suse.cz>
8279         * libgcov.c (__gcov_indirect_call_callee,
8280         __gcov_indirect_call_counters): New global vars.
8281         (__gcov_indirect_call_profiler): replace by ...
8282         (__gcov_indirect_call_profiler_v2) ... this one.
8284 2013-08-06  Caroline Tice  <cmtice@google.com>
8286         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
8287         vtv_start_preinit.o and vtv_end_preinit.o.
8288         * configure.ac: Add code to check/set enable_vtable_verify.
8289         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
8290         true.
8291         * vtv_start_preinit.c: New file.
8292         * vtv_end_preinit.c: New file.
8293         * vtv_start.c: New file.
8294         * vtv_end.c: New file.
8295         * configure: Regenerated.
8297 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
8299         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
8300         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
8301         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
8302         GPL-3.0-with-GCC-exception.
8304 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
8306         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
8307         ISA and up.
8309 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8311         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
8312         mapping for FPRs when creating the fallback framestate.
8314 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
8316         PR target/57516
8317         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
8318         (__round_s2_const, __round_u2_const)
8319         (__round_s4_const, __round_u4_const, __round_x8):
8320         Saturate result if addition result cannot be represented.
8322 2013-07-15  Matthias Klose  <doko@ubuntu.com>
8324         * libgcc2.c: Don't include <limits.h>.
8326 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
8328         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
8330 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
8332         PR target/29776
8333         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
8335 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
8337         PR middle-end/36041
8338         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
8339         Define.
8340         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
8341         instead of table lookups.
8342         (__popcountDI2): Likewise.
8344 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
8346         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
8347         correctly.
8349 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
8351         PR other/53317
8352         * soft-fp/adddf3.c: Update from glibc.
8353         * soft-fp/addsf3.c: Likewise.
8354         * soft-fp/addtf3.c: Likewise.
8355         * soft-fp/divdf3.c: Likewise.
8356         * soft-fp/divsf3.c: Likewise.
8357         * soft-fp/divtf3.c: Likewise.
8358         * soft-fp/double.h: Likewise.
8359         * soft-fp/eqdf2.c: Likewise.
8360         * soft-fp/eqsf2.c: Likewise.
8361         * soft-fp/eqtf2.c: Likewise.
8362         * soft-fp/extenddftf2.c: Likewise.
8363         * soft-fp/extended.h: Likewise.
8364         * soft-fp/extendsfdf2.c: Likewise.
8365         * soft-fp/extendsftf2.c: Likewise.
8366         * soft-fp/fixdfdi.c: Likewise.
8367         * soft-fp/fixdfsi.c: Likewise.
8368         * soft-fp/fixsfdi.c: Likewise.
8369         * soft-fp/fixsfsi.c: Likewise.
8370         * soft-fp/fixtfdi.c: Likewise.
8371         * soft-fp/fixtfsi.c: Likewise.
8372         * soft-fp/fixunsdfdi.c: Likewise.
8373         * soft-fp/fixunsdfsi.c: Likewise.
8374         * soft-fp/fixunssfdi.c: Likewise.
8375         * soft-fp/fixunssfsi.c: Likewise.
8376         * soft-fp/fixunstfdi.c: Likewise.
8377         * soft-fp/fixunstfsi.c: Likewise.
8378         * soft-fp/floatdidf.c: Likewise.
8379         * soft-fp/floatdisf.c: Likewise.
8380         * soft-fp/floatditf.c: Likewise.
8381         * soft-fp/floatsidf.c: Likewise.
8382         * soft-fp/floatsisf.c: Likewise.
8383         * soft-fp/floatsitf.c: Likewise.
8384         * soft-fp/floatundidf.c: Likewise.
8385         * soft-fp/floatundisf.c: Likewise.
8386         * soft-fp/floatunditf.c: Likewise.
8387         * soft-fp/floatunsidf.c: Likewise.
8388         * soft-fp/floatunsisf.c: Likewise.
8389         * soft-fp/floatunsitf.c: Likewise.
8390         * soft-fp/gedf2.c: Likewise.
8391         * soft-fp/gesf2.c: Likewise.
8392         * soft-fp/getf2.c: Likewise.
8393         * soft-fp/ledf2.c: Likewise.
8394         * soft-fp/lesf2.c: Likewise.
8395         * soft-fp/letf2.c: Likewise.
8396         * soft-fp/muldf3.c: Likewise.
8397         * soft-fp/mulsf3.c: Likewise.
8398         * soft-fp/multf3.c: Likewise.
8399         * soft-fp/negdf2.c: Likewise.
8400         * soft-fp/negsf2.c: Likewise.
8401         * soft-fp/negtf2.c: Likewise.
8402         * soft-fp/op-1.h: Likewise.
8403         * soft-fp/op-2.h: Likewise.
8404         * soft-fp/op-4.h: Likewise.
8405         * soft-fp/op-8.h: Likewise.
8406         * soft-fp/op-common.h: Likewise.
8407         * soft-fp/quad.h: Likewise.
8408         * soft-fp/single.h: Likewise.
8409         * soft-fp/soft-fp.h: Likewise.
8410         * soft-fp/subdf3.c: Likewise.
8411         * soft-fp/subsf3.c: Likewise.
8412         * soft-fp/subtf3.c: Likewise.
8413         * soft-fp/truncdfsf2.c: Likewise.
8414         * soft-fp/trunctfdf2.c: Likewise.
8415         * soft-fp/trunctfsf2.c: Likewise.
8416         * soft-fp/unorddf2.c: Likewise.
8417         * soft-fp/unordsf2.c: Likewise.
8418         * soft-fp/unordtf2.c: Likewise.
8419         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
8420         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8421         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8422         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8423         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8424         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8425         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8426         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8427         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8428         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
8429         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
8430         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8432 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
8434         * config/mips/lib2funcs.c: New file.
8435         * config/mips/t-mips (LIB2ADD_ST): Add it.
8437 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
8439         PR target/6526
8440         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
8441         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
8443 2013-06-08  Walter Lee  <walt@tilera.com>
8445         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
8446         Replace int64_t with long long.  Add __extension__ where
8447         appropriate.
8448         * config/tilepro/atomic.c: Include config.h.
8450 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
8452         * config.host (arm-wrs-vxworks): Configure with other soft float.
8454 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
8456         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
8457         (mips64r5900el-*-elf*): New configurations.
8459 2013-06-04  Alan Modra  <amodra@gmail.com>
8461         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
8463 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
8465         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
8467 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
8469         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
8470         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
8471         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
8473 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
8475         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
8476         (powerpc-wrs-vxworks): Likewise.
8478 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
8480         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
8481         signal frames as well.
8482         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
8483         STACK_BIAS to the CFA offset.
8485 2013-05-17  Richard Henderson  <rth@redhat.com>
8487         PR target/49146
8488         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
8489         (execute_cfa_program): Use it when storing to fs->regs.
8491 2013-05-08  Kai Tietz  <ktietz@redhat.com>
8493         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
8494         (__deregister_frame_info): Likewise.
8496 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
8498         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
8499         NaN's payload.
8501         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
8503 2013-04-25  Alan Modra  <amodra@gmail.com>
8505         * config.host: Match little-endian powerpc-linux.
8507 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
8509         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
8510         as 'unsigned long long' instead of 'unsigned long'.
8511         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
8512         'signed long'.
8514 2013-04-10  Julian Brown  <julian@codesourcery.com>
8516         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
8517         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
8518         unsigned char/unsigned short.
8519         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
8521 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8523         PR other/55274
8524         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
8526 2013-04-04  Meador Inge  <meadori@codesourcery.com>
8528         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
8529         computing the location of the link register.
8530         (aeabi_uldivmod): Ditto.
8532 2013-03-27  Kai Tietz  <ktietz@redhat.com>
8534         * config.host: Add support for cygwin x64 target.
8535         * configure: Regenerated.
8537 2013-03-26  Walter Lee  <walt@tilera.com>
8539         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
8540         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
8542 2013-03-25  Kai Tietz  <ktietz@redhat.com>
8544         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
8546 2013-03-20  Robert Mason  <rbmj@verizon.net>
8548         * config/vxlib-tls.c (__gthread_get_tsd_data,)
8549         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
8550         (__gthread_leave_tsd_dtor_context): Add prototypes.
8551         (tls_delete_hook): Update.
8553 2013-03-20  Catherine Moore  <clm@codesourcery.com>
8554             Joseph Myers  <joseph@codesourcery.com>
8555             Chao-ying Fu  <fu@mips.com>
8557         * config/mips/mips16.S:  Don't build for microMIPS.
8558         * config/mips/linux-unwind.h: Handle microMIPS frame.
8559         * config/mips/crtn.S (fini, init): New labels.
8561 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
8563         PR tree-optimization/53265
8564         * unwind-dw2.c (execute_cfa_program): Avoid
8565         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
8566         on targets with DWARF_FRAME_REGISTERS < 32.
8568 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
8570         PR target/49880
8571         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
8572         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
8574 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
8576         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
8577         sandybridge processors.
8579 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
8581         PR target/56529
8582         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
8583         inclusion list.
8585 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
8587         * config/microblaze/crti.S: Setup stack protection at entry
8589 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
8591         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
8592         (__rotldi3): Shift bytewise if applicable.
8594 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
8596         * config/aarch64/sync-cache.c
8597         (__aarch64_sync_cache_range): Silence warnings.
8599 2013-02-25  Catherine Moore  <clm@codesourcery.com>
8601         Revert:
8602         2013-02-24  Catherine Moore  <clm@codesourcery.com>
8603             Joseph Myers  <joseph@codesourcery.com>
8604             Chao-ying Fu  <fu@mips.com>
8606         * config/mips/mips16.S:  Don't build for microMIPS.
8607         * config/mips/linux-unwind.h: Handle microMIPS frame.
8608         * config/mips/crtn.S (fini, init): New labels.
8610 2013-02-24  Catherine Moore  <clm@codesourcery.com>
8611             Joseph Myers  <joseph@codesourcery.com>
8612             Chao-ying Fu  <fu@mips.com>
8614         * config/mips/mips16.S:  Don't build for microMIPS.
8615         * config/mips/linux-unwind.h: Handle microMIPS frame.
8616         * config/mips/crtn.S (fini, init): New labels.
8618 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
8619         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
8620         as dividend.
8622 2013-02-16  Alan Modra  <amodra@gmail.com>
8624         PR target/55431
8625         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
8626         (ppc_fallback_frame_state): Always set up save locations for fp
8627         and altivec.  Don't bother with non-callee-saved regs, r0-r13
8628         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
8630 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
8632         PR target/54222
8633         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
8634         _ssmulHA, _ssmulSA.
8635         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
8636         _ssmulha3, _usmulusa3, _ssmulsa3.
8637         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
8638         (__muldi3): XCALL __muldi3_6 instead of rcall.
8639         (__umulsidi3, __mulsidi3): New functions.
8640         (do_prologue_saves, do_epilogue_restores): New .macros.
8641         (__divdi3_moddi3): Use them.
8642         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
8643         (__usmulusa3, __ssmulsa3): New functions.
8645 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
8646             Jack Howarth  <howarth@bromo.med.uc.edu>
8647             Patrick Marlier  <patrick.marlier@gmail.com>
8649         PR libitm/55693
8650         * config/darwin-crt-tm.c: Remove dummy functions hack.
8652 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
8654         PR target/54222
8655         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
8656         * config/avr/lib2-object.mk: New iterator to build objects from it.
8657         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
8658         lib2funcs.c.
8659         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
8660         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
8661         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
8662         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
8663         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
8664         * config/avr/lib1funcs-fixed.S: Implement them.
8666 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
8668         Update copyright years.
8670 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
8672         PR target/54601
8673         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
8674         Add crtcxa to extra_parts.
8675         * config/rs6000/exit.h: New file.
8676         * config/rs6000/cxa_atexit.c: New file.
8677         * config/rs6000/cxa_finalize.c: New file.
8678         * config/rs6000/crtcxa.c: New file.
8679         * config/rs6000/t-aix-cxa: New file.
8680         * config/rs6000/libgcc-aix-cxa.ver: New file.
8682 2013-01-31  Nick Clifton  <nickc@redhat.com>
8684         * config/v850/lib1funcs.S: Add support for e3v5 architecture
8685         variant.
8687 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
8689         PR target/54222
8690         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
8691         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
8692         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
8693         _divQQ,  _divHQ,  _divHA,  _divSA,
8694         _divUQQ, _divUHQ, _divUHA, _divUSA.
8696 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
8698         * config.host(microblaze*-linux*): tmake_file: Remove
8699         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
8700         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
8701         to exclude functions from being built with libgcc.c and use
8702         the microblaze assembly.
8704 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
8706         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
8707         extra_parts.
8709 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
8711         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
8712         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
8713         __UINTPTR_TYPE__; also cast 'base' to the same type before the
8714         alignment operation.
8716 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
8718         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
8719         loop start address for cache clearing.
8721 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
8723         * config/avr/lib1funcs.S: Remove trailing blanks.
8724         * config/avr/lib1funcs-fixed.S: Ditto.
8726 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
8728         * config/avr/avr-lib.h: Add GPL copyright notice.
8730 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
8732         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
8733         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
8734         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
8735         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
8737 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
8739         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
8740         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
8742 2013-01-04  Nick Clifton  <nickc@redhat.com>
8744         * config/v850/lib1funcs.S: Only provide CALLT support functions if
8745         the CALLT instruction is supported.
8747 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
8749         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
8750         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
8752 2012-12-13  John Tytgat  <John@bass-software.com>
8754         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
8755         is 25.
8757 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
8759         PR libgcc/55451
8760         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
8761         undefined signed overflows.
8763 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
8765         PR target/55344
8766         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
8768 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
8770         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
8771         (FP_TRAPPING_EXCEPTIONS): Define.
8772         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
8773         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
8775 2012-12-04  Richard Henderson  <rth@redhat.com>
8777         PR bootstrap/55571
8778         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
8780 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8782         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
8783         (FP_EX_SHIFT): Define.
8784         (FP_TRAPPING_EXCEPTIONS): Define.
8786 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8788         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
8789         (FP_ROUNDMODE): Use FP_RND_MASK.
8790         * config/aarch64/sfp-exceptions.c: New.
8791         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8792         Use __sfp_handle_exceptions.
8794 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
8796         * config.host: (arm*-*-freebsd*): Remove.
8797         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
8798         (arm*-*-elf*): Remove.
8799         (arm*-*-wince-pe*): Remove.
8800         * arm/unwind-arm.c (struct fpa_reg): Delete.
8801         (struct fpa_regs): Delete.
8802         (phase1_vrs): Remove fpa element.
8803         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
8804         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
8805         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
8806         * ieee754-sf.S (floatundisf): Remove FPA support.
8807         (floatdisf): Likewise.
8808         * ieee75f-df.S (floatundidf): Likewise.
8809         (floatdidf): Likewise.
8811 2012-11-29  Kai Tietz  <ktietz@redhat.com>
8813         PR target/55445
8814         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
8815         * unwind-generic.h: Likewise.
8816         * unwind-seh.c: Likewise.
8818 2012-11-28  Richard Henderson  <rth@redhat.com>
8820         PR libgcc/48076
8821         * emutls.c (__emutls_get_address): Avoid race condition between
8822         obj->loc.offset read and emutls_key initialization.
8824 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
8826         Adjust decimal point of signed accum mode to GCC default.
8828         PR target/54222
8829         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
8830         _divqq_helper.
8831         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
8832         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
8833         (__mulha3, __mulsa3)
8834         (__divqq3, __divha3, __divsa3): Adjust to new position of
8835         decimal point of signed accum types.
8837         (__mulusa3_round): New function.
8838         (__mulusa3): Use it.
8839         (__divqq_helper): New function.
8840         (__udivuqq3): Use it.
8842 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
8844         PR bootstrap/55370
8845         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
8847 2012-11-18  Teresa Johnson  <tejohnson@google.com>
8849         PR bootstrap/55051
8850         * libgcov.c (gcov_exit): Remove merged program summary
8851         comparison unless !GCOV_LOCKED.
8853 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8855         * soft-fp: Updated from glibc upstream.
8857 2012-11-06  Ian Lance Taylor  <iant@google.com>
8859         * generic-morestack.c (__generic_morestack): Align the returned
8860         stack pointer to a 32 byte boundary.
8861         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
8862         increment the return address until we have decided that we don't
8863         have a varargs function.
8864         (__morestack) [32-bit]: Align stack correctly when calling C
8865         functions.
8866         (__morestack) [64-bit]: Likewise.
8868 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
8870         * configure: Regenerate.
8872 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
8874         PR target/55175
8875         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
8876         * config/i386/sfp-machine.h: Guard exception handling
8877         code with _SOFT_FLOAT.
8878         * config/i386/32/sfp-machine.h: Guard rounding handling
8879         code with _SOFT_FLOAT.
8880         * config/i386/64/sfp-machine.h: Ditto.
8882 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
8884         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
8885         as extra_parts.
8887 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
8889         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
8890         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
8891         when appropriate.  Correct structure element types.
8892         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
8893         -minline-all-stringops from compile flags.
8895 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
8897         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
8899 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
8901         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
8903 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
8905         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
8906         tmake_file.
8908 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
8909             Jim MacArthur  <jim.macarthur@arm.com>
8910             Marcus Shawcroft  <marcus.shawcroft@arm.com>
8911             Nigel Stephens  <nigel.stephens@arm.com>
8912             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
8913             Richard Earnshaw  <rearnsha@arm.com>
8914             Sofiane Naci  <sofiane.naci@arm.com>
8915             Stephen Thomas  <stephen.thomas@arm.com>
8916             Tejas Belagod  <tejas.belagod@arm.com>
8917             Yufeng Zhang  <yufeng.zhang@arm.com>
8919         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
8920         * config/aarch64/crti.S: New file.
8921         * config/aarch64/crtn.S: New file.
8922         * config/aarch64/linux-unwind.h: New file.
8923         * config/aarch64/sfp-machine.h: New file.
8924         * config/aarch64/sync-cache.c: New file.
8925         * config/aarch64/t-aarch64: New file.
8926         * config/aarch64/t-softfp: New file.
8928 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
8930         * config/mmix/crti.S: Mark program and data addresses using PRELD.
8931         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
8932         no-longer-needed LDBU insns.
8934 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
8936         * config.host
8937         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
8938         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
8940 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
8942         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
8944 2012-10-15  Matthias Klose  <doko@ubuntu.com>
8946         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
8948 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
8950         * configure: Regenerate.
8951         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
8953 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
8955         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8956         instructions for 64bit targets only.
8958 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
8960         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8961         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
8962         * config/i386/32/sfp-machine.h: ... here.
8963         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
8964         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
8965         New defines.
8967 2012-10-07  Matthias Klose  <doko@ubuntu.com>
8969         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
8970         as unused.
8971         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
8973 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
8975         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
8976         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
8977         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
8978         (ElfW): Likewise.
8980 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
8982         PR other/53889
8983         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8984         Fix parameter names.
8986 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
8988         PR target/33135
8989         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
8990         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
8991         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
8993 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
8995         PR target/50457
8996         * config/sh/linux-atomic.S: Delete.
8997         * config/sh/linux-atomic.c: New.
8998         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
8999         linux-atomic.c.  Add cflags to disable warnings.
9001 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
9003         PR other/53889
9004         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
9005         function.
9006         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
9007         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
9008         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
9009         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
9010         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
9011         Likewise.
9012         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9013         Likewise.
9014         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
9015         Likewise.
9016         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
9017         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
9019 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
9021         * config.host (hppa-*-openbsd*): New target.
9022         * config/pa/t-openbsd: New file.
9024 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
9026         PR target/54222
9027         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
9028         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
9029         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
9030         (__divsa3): Use __negsi2 to negate r_quoL.
9031         * config/avr/lib1funcs.S (FALIAS): New macro.
9032         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
9033         (__negsi2): ...this new function.
9034         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
9035         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
9036         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
9037         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
9038         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
9039         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
9041 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
9043         PR target/54089
9044         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
9045         (lshrsi3): Reimplement as lshrsi3_r0.
9047 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
9049         PR target/46191
9050         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
9051         of libgcc.a.
9053 2012-09-07  Teresa Johnson  <tejohnson@google.com>
9055         PR gcov-profile/54487
9056         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9057         differences.
9059 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
9061         PR target/54461
9062         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
9063         not configured --with-avrlibc=no.
9064         * config/avr/t-avrlibc: New file.
9065         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
9066         (DPBIT_FUNCS): Ditto.
9067         (TPBIT_FUNCS): Ditto.
9069 2012-09-04  Teresa Johnson  <tejohnson@google.com>
9071         * libgcov.c (struct gcov_summary_buffer): New structure.
9072         (gcov_histogram_insert): New function.
9073         (gcov_compute_histogram): Ditto.
9074         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
9075         histograms during summary merging.
9077 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
9079         * config.host (x86_64-*-openbsd*): New target.
9081 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
9083         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
9084         attribute.
9086 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
9088         PR target/54222
9089         * config/avr/t-avr (conv_X): Rename to func_X.
9091 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
9093         PR target/54222
9094         * config/avr/lib1funcs-fixed.S: New file.
9095         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
9096         after they are used.
9097         (neg2, neg4): New macros.
9098         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
9099         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
9100         (__umulhisi3): Speed up MUL variant if there is enough flash.
9101         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
9102         avr-modes.def.
9103         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
9104         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
9105         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
9106         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
9107         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
9108         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
9109         (LIB2FUNCS_EXCLUDE): Add supported functions.
9111 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
9113         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
9114         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
9115         libgcc-s-objects.
9116         * fixed-obj.mk: Only expand dependency if $o is not in
9117         LIB2FUNCS_EXCLUDE.
9119 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
9121         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
9123 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
9125         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
9126         depend on --enable-shared.
9127         ($(lib1asmfuncs-o)): Use %.vis files independent of
9128         --enable-shared.
9129         * static-object.mk ($(base)$(objext), $(base).vis)
9130         ($(base)_s$(objext)): Use same rules for visibility handling as in
9131         shared-object.mk.
9133 2012-08-21  Ian Lance Taylor  <iant@google.com>
9135         * config/i386/morestack.S (__morestack_non_split): Increase amount
9136         of space allocated for non-split code stack.
9138 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
9140         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
9141         even if inhibit_libc.
9143 2012-08-17  Julian Brown  <julian@codesourcery.com>
9145         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
9146         -fexceptions -fnon-call-exceptions if not defined.
9147         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
9148         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
9150 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
9152         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
9153         type.
9155 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
9157         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
9158         rs6000/t-slibgcc-aix.
9160 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
9162         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
9164 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
9166         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
9168 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
9170         PR driver/54171
9171         * Makefile.in (version): Replace top_srcdir with srcdir.
9173 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
9175         * Makefile.in (version): set to BASE-VER file from gcc directory.
9177 2012-08-01  Nick Clifton  <nickc@redhat.com>
9179         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
9180         Implements __clrsb for an HImode argument.
9182 2012-07-31  Nick Clifton  <nickc@redhat.com>
9184         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
9185         Implements __clrsb for an HImode argument.
9186         * config/stormy16/clrsbhi2.c: New file:
9187         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
9189 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
9191         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
9193 2012-07-19  Tristan Gingold  <gingold@adacore.com>
9194             Richard Henderson  <rth@redhat.com>
9196         * unwind-seh.c: New file.
9197         * unwind-generic.h: Include windows.h for SEH.
9198         (_Unwind_Exception): Use 6 private fields for SEH.
9199         (_GCC_specific_handler): Declare.
9200         * unwind-c.c (__gcc_personality_seh0): New function.
9201         Adjust for SEH.
9202         * config/i386/libgcc-cygming.ver: New file.
9203         * config/i386/t-seh-eh: New file.
9204         * config.host (x86_64-*-mingw*): Default to seh.
9206 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
9208         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
9210 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
9212         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
9213         __builtin_expect when checking for exceptions.
9214         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
9216 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
9218         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
9219         function declaration.
9220         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9221         (FP_RND_MASK): New.
9222         * config/ia64/sfp-exceptions.c: New.
9223         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
9225 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
9227         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
9228         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
9229         * config/i386/64/sfp-machine: ... (delete here) ...
9230         * config/i386/sfp-machine.h: ... to here.
9231         (FP_EX_MASK): Remove.
9232         (FP_RND_MASK): New.
9233         (FP_INIT_ROUNDMODE): Declare asm as volatile.
9235 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
9237         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
9238         * config/i386/libgcc-sol2.ver: Ditto.
9239         * config/i386/libgcc-glibc.ver: Ditto.
9241 2012-06-11  Roland McGrath  <mcgrathr@google.com>
9243         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
9244         If __GLIBC__ is defined, refer to __pthread_key_create instead of
9245         pthread_cancel.
9247 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
9249         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
9250         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
9251         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
9252         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9253         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
9254         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
9255         * config/i386/64/sfp-machine: ... (delete here) ...
9256         * config/i386/sfp-machine.h: ... to here.
9257         (FP_EX_MASK): New.
9258         (__sfp_handle_exceptions): New function declaration.
9259         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9260         * config/i386/sfp-exceptions.c: New.
9261         * config/i386/t-softfp: New.
9262         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
9263         i386/t-softfp to tmake_file.
9265 2012-06-03  David S. Miller  <davem@davemloft.net>
9267         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
9268         change.
9270 2012-05-31  David S. Miller  <davem@davemloft.net>
9272         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
9273         multiply and divide instructions on 32-bit when V9.
9274         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
9276 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
9278         * config/arm/ieee754-df.S: Fix typos.
9279         * config/arm/ieee754-sf.S: Fix typos.
9280         * config/c6x/libunwind.S: Fix typos.
9281         * config/epiphany/udivsi3-float.c: Fix typos.
9282         * config/microblaze/muldi3_hard.S: Fix typos.
9283         * config/picochip/adddi3.S: Fix typos.
9284         * config/picochip/ashlsi3.S: Fix typos.
9285         * config/picochip/ashrsi3.S: Fix typos.
9286         * config/picochip/clzsi2.S: Fix typos.
9287         * config/picochip/cmpsi2.S: Fix typos.
9288         * config/picochip/divmod15.S: Fix typos.
9289         * config/picochip/divmodhi4.S: Fix typos.
9290         * config/picochip/divmodsi4.S: Fix typos.
9291         * config/picochip/longjmp.S: Fix typos.
9292         * config/picochip/lshrsi3.S: Fix typos.
9293         * config/picochip/parityhi2.S: Fix typos.
9294         * config/picochip/popcounthi2.S: Fix typos.
9295         * config/picochip/setjmp.S: Fix typos.
9296         * config/picochip/subdi3.S: Fix typos.
9297         * config/picochip/ucmpsi2.S: Fix typos.
9298         * config/picochip/udivmodhi4.S: Fix typos.
9299         * config/picochip/udivmodsi4.S: Fix typos.
9300         * config/spu/divv2df3.c: Fix typos.
9301         * config/spu/mfc_multi_tag_release.c: Fix typos.
9302         * config/spu/mfc_tag_release.c: Fix typos.
9303         * configure.ac: Fix typos.
9304         * configure: Regenerate.
9306 2012-05-25  Ian Lance Taylor  <iant@google.com>
9308         * config/i386/morestack.S (__morestack_non_split): Check whether
9309         caller is varargs and needs %bp to hold the stack frame on return.
9311 2012-05-25  Olivier Hainque  <hainque@adacore.com>
9313         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
9314         sequence in the non pic case on VxWorks.
9316 2012-05-24  Olivier Hainque  <hainque@adacore.com>
9318         * Makefile.in: Move dependency on install-unwind_h from
9319         "install-leaf" to "install".
9321 2012-05-24  Olivier Hainque  <hainque@adacore.com>
9323         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
9324         Use a separate command for stamp removals.
9326 2012-05-21  Andrew Pinski  <apinski@cavium.com>
9328         PR bootstrap/53183
9329         * configure.ac: Define the default includes to being none.
9330         * configure: Regenerate.
9332 2012-05-16  Olivier Hainque  <hainque@adacore.com>
9334         * Makefile.in (install-unwind_h): Rename into ...
9335         (install-unwind_h-forbuild): New target.
9336         (all): Use it instead of the former install-unwind_h.
9337         (install-unwind_h): Reinstate, copy to user install destination
9338         for include files, not to the internal gcc object directory one.
9339         (install-leaf): Depend on it.
9341 2012-05-15  Olivier Hainque  <hainque@adacore.com>
9343         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
9344         register numbers. LR_REGNO replaces R_LR.
9345         (ucontext_for): New, helper for ...
9346         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
9347         and 5.3 of ...
9348         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
9350 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9352         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
9353         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
9354         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
9355         i386/t-cpuinfo ...
9356         (i[34567]86-*-*, x86_64-*-*): ... here.
9358         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
9359         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
9361         * config/i386/i386-cpuinfo.c: Rename to ...
9362         * config/i386/cpuinfo.c: ... this.
9363         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
9365         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
9366         (libgcc_cv_init_priority): New test.
9367         * configure: Regenerate.
9368         * config.in: New file.
9369         * Makefile.in (clean): Rename config.h to auto-target.h.
9370         (config.h): Likewise.
9371         (stamp-h): Likewise.
9373         * config/i386/cpuinfo.c (auto-target.h): Include.
9374         (CONSTRUCTOR_PRIORITY): Define.
9375         (__cpu_indicator_init): Use it.
9377 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
9379         * longlong.h: Use a URL instead of an FSF postal address.
9380         Replace spaces with tab.
9382 2012-05-08  Teresa Johnson  <tejohnson@google.com>
9384         * libgcov.c (gcov_clear, __gcov_reset): New functions.
9385         (__gcov_dump): Ditto.
9386         (gcov_dump_complete): New global variable.
9387         (gcov_exit): Export hidden to enable use in L_gcov_dump.
9388         (__gcov_flush): Outline functionality now in gcov_clear.
9389         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
9391 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
9393         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
9394         (mips*-*-linux*): Include mips/t-tpbit when long double is
9395         16 bytes long.
9397 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
9399         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
9400         (get_available_features): New argument. Check for AVX2.
9401         (__cpu_indicator_init): Modify call to get_available_features.
9403 2012-04-25  Alan Modra  <amodra@gmail.com>
9405         * config/rs6000/crtsavevr.S: New file.
9406         * config/rs6000/crtrestvr.S: New file.
9407         * config/rs6000/t-savresfgpr: Build the above.
9408         * config/rs6000/t-netbsd: Likewise.
9410 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
9412         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
9414 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
9416         * libgcc/config/i386/i386-cpuinfo.c: New file.
9417         * libgcc/config/i386/t-cpuinfo: New file.
9418         * libgcc/config.host: Include t-cpuinfo.
9419         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
9421 2012-04-24  Chao-ying Fu  <fu@mips.com>
9423         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
9425 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
9427         struct siginfo vs. siginfo_t
9429         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
9430         siginfo_t instead of struct siginfo.
9431         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
9432         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
9433         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
9434         (ia64_handle_unwabi): Likewise.
9435         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
9436         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
9437         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
9438         (sh_fallback_frame_state): Likewise.
9439         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
9440         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
9442 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
9444         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
9445         system call number.
9447 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
9449         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
9450         if it hasn't been previously saved.
9452 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
9454         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
9455         only for glibc.
9457 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
9459         PR target/52737
9460         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
9461         instead of __AVR_HAVE_8BIT_SP__.
9463 2012-03-26  Tristan Gingold  <gingold@adacore.com>
9465         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
9466         (unw_table_entry): Use unw_word instead of unsigned long.
9467         (_Unwind_FindTableEntry): Likewise.
9468         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
9469         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
9470         (_Unwind_FindTableEntry): Likewise.
9471         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
9472         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
9473         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
9474         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
9475         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
9476         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
9477         (uw_init_context_1, uw_install_context): Likewise.
9478         (unw_word): Move to unwind-ia64.h
9480 2012-03-26  Tristan Gingold  <gingold@adacore.com>
9482         * config/vms/vms-ucrt0.c: Update copyright years.
9483         Add a sanity check.
9484         (___gcc_main_flags): Declare.
9485         (__main): Check flags to remap argv and exit code.
9486         * config.host (*-*-*vms*): Adjust extra_parts.
9487         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
9488         (crt0.o): Add.
9490 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
9492         * arm/lib1funcs.asm (ctzsi2): New function.
9493         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
9494         * arm/t-linux (LIB1ASMFUNCS): Likewise.
9495         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
9496         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
9497         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
9498         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
9500 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
9502         * config.host: Add bits to support powerpc64-*-freebsd*.
9503         * config/rs6000/freebsd-unwind.h: New file.
9504         * config/rs6000/t-freebsd64: New file.
9506 2012-03-20  Richard Guenther  <rguenther@suse.de>
9508         PR gcov-profile/52627
9509         * libgcov.c (init_mx): Fix mutex name.
9511 2012-03-16  Tristan Gingold  <gingold@adacore.com>
9513         * config/ia64/vms-unwind.h: Remove ulong (and replace
9514         it by unw_reg where used).  Define unw_reg with __int64.
9516 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9518         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
9519         Solaris 8 handling.
9520         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
9521         Solaris 8 handling.
9522         (sparc_is_sighandler): Likewise.
9524 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
9526         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
9527         <= saved reg size.
9529 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9531         * config/arm/crtn.S: Fix typo.
9533 2012-03-13  Richard Guenther  <rguenther@suse.de>
9535         * libgcov.c: Remove stdio.h include and NULL un-define.
9537 2012-03-13  Richard Guenther  <rguenther@suse.de>
9539         PR target/52569
9540         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
9542 2012-03-13  Richard Guenther  <rguenther@suse.de>
9544         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
9546 2012-03-13  Richard Guenther  <rguenther@suse.de>
9548         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
9549         and __gthread_mutex_init_function definitions.
9551 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9553         * config.host (mips*-*-openbsd*): Remove.
9555 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9557         * config.host: Remove alpha*-dec-osf5.1* handling.
9558         * config/alpha/gthr-posix.c: Remove.
9559         * config/alpha/libgcc-osf5.ver: Remove.
9560         * config/alpha/osf5-unwind.h: Remove.
9561         * config/alpha/t-osf-pthread: Remove.
9562         * config/alpha/t-slibgcc-osf: Remove.
9563         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
9564         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
9565         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
9566         * mkmap-flat.awk: Remove osf_export handling.
9568 2012-03-12  Richard Guenther  <rguenther@suse.de>
9570         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
9571         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9572         (__gthread_mutex_init_function): New function.
9573         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9575         PR gcov/49484
9576         * libgcov.c: Include gthr.h.
9577         (__gcov_flush_mx): New global variable.
9578         (init_mx, init_mx_once): New functions.
9579         (__gcov_flush): Protect self with a mutex.
9580         (__gcov_fork): Re-initialize mutex after forking.
9581         * unwind-dw2-fde.c: Change condition under which to use
9582         __GTHREAD_MUTEX_INIT_FUNCTION.
9584 2012-03-12  Tristan Gingold  <gingold@adacore.com>
9586         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
9587         * config/ia64/t-vms: Likewise.
9589 2012-03-11  Michael Hope  <michael.hope@linaro.org>
9591         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
9592         for Thumb-2.
9594 2012-03-07  Walter Lee  <walt@tilera.com>
9596         * config/tilepro/atomic.c: Rename "atomic_" prefix to
9597         "arch_atomic_".
9598         (atomic_xor): Rename and move definition to
9599         config/tilepro/atomic.h.
9600         (atomic_nand): Ditto.
9601         * config/tilepro/atomic.h: Rename "atomic_" prefix to
9602         "arch_atomic_".
9603         (arch_atomic_xor): Move from config/tilepro/atomic.c.
9604         (arch_atomic_nand): Ditto.
9606 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
9608         PR target/52507
9609         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
9611 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
9613         PR target/52505
9614         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
9615         from RAM.
9617 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
9619         PR target/52461
9620         PR target/52508
9621         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
9622         if RAMPZ affects reading from RAM.
9623         (__tablejump_elpm__): Ditto.
9624         (.xload): Ditto.
9625         (__movmemx_hi): Ditto.
9626         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
9627         (__do_global_dtors): Ditto.
9628         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
9629         (__movmemx_hi): Ditto.
9631 2012-03-05  Richard Henderson  <rth@redhat.com>
9633         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
9634         [ARM] (count_trailing_zeros): Use the builtin.
9636 2012-03-01  Kai Tietz  <ktietz@redhat.com>
9638         * soft-fp: Imported from glibc upstream.
9640 2012-02-28  Kai Tietz  <ktietz@redhat.com>
9642         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
9643         for mingw-targets as attribute gcc_struct.
9645 2012-02-28  Ian Lance Taylor  <iant@google.com>
9647         * generic-morestack.c (__splitstack_releasecontext): Correct call
9648         to __morestack_release_segments.
9650 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9652         PR target/52390
9653         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
9654         for __linux__ when removing signals from __morestack_fullmask.
9656 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
9658         PR target/52261
9659         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
9661 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9663         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
9664         instead of HAVE_INITFINI_ARRAY.
9665         * config/ia64/crtend.S: Likewise.
9667 2012-02-20  Kai Tietz  <ktietz@redhat.com>
9669         PR libstdc++/52300
9670         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
9672         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
9673         to w32-unwind.h header.
9675 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
9677         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
9678         (mips*-*-linux*): Remove t-slibgcc-libgcc.
9679         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
9680         * config/mips/mips16.S (__mips16_rdhwr): Delete.
9682 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
9684         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
9686 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
9688         PR libitm/52220
9689         * config/darwin-crt-tm.c: Correct typo.
9691 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
9692             Patrick Marlier  <patrick.marlier@gmail.com>
9694         PR libitm/52220
9695         * config/darwin-crt-tm.c: Generate dummy functions.
9697 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
9698             Patrick Marlier  <patrick.marlier@gmail.com>
9700         PR libitm/52042
9701         * config/darwin-crt-tm.c (getTMCloneTable): New function.
9702         (__doTMRegistrations): Call it.
9703         (__doTMdeRegistrations): Likewise.
9705 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
9706             Anatoly Sokolov  <aesok@post.ru>
9707             Eric Weddington  <eric.weddington@atmel.com>
9709         PR target/52261
9710         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
9711         (__epilogue_restores__): Ditto.
9713 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
9715         PR target/51921
9716         PR target/52205
9717         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
9718         Solaris 11 and slightly reformat.
9719         (sparc_is_sighandler): Likewise.
9721 2012-02-14  Walter Lee  <walt@tilera.com>
9723         * config.host: Handle tilegx and tilepro.
9724         * config/tilegx/sfp-machine.h: New file.
9725         * config/tilegx/sfp-machine32.h: New file.
9726         * config/tilegx/sfp-machine64.h: New file.
9727         * config/tilegx/t-crtstuff: New file.
9728         * config/tilegx/t-softfp: New file.
9729         * config/tilegx/t-tilegx: New file.
9730         * config/tilepro/atomic.c: New file.
9731         * config/tilepro/atomic.h: New file.
9732         * config/tilepro/linux-unwind.h: New file.
9733         * config/tilepro/sfp-machine.h: New file.
9734         * config/tilepro/softdivide.c: New file.
9735         * config/tilepro/softmpy.S: New file.
9736         * config/tilepro/t-crtstuff: New file.
9737         * config/tilepro/t-tilepro: New file.
9739 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
9741         PR libstdc++/51296
9742         PR libstdc++/51906
9743         * gthr-posix.h: Allow static initializer macros to be disabled.
9744         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
9746 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
9748         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
9749         Add t-slibgcc-libgcc to tmake_file.
9750         * config/mips/libgcc-mips16.ver: Revert previous patch.
9751         * config/mips/mips16.S (__mips16_rdhwr): Hide.
9753 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
9754             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
9756         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
9757         * config/cr16/crti.S: New file.
9758         * config/cr16/crtlibid.S: New file.
9759         * config/cr16/crtn.S: New file.
9760         * config/cr16/lib1funcs.S: New file.
9761         * config/cr16/t-cr16: New file.
9762         * config/cr16/t-crtlibid: New file.
9763         * config/cr16/unwind-dw2.h: New file.
9764         * config/cr16/unwind-cr16.c: New file.
9765         * config/cr16/divmodhi3.c: New file.
9767 2012-01-25  Alan Modra  <amodra@gmail.com>
9769         * config/rs6000/t-linux64: Delete.  Move..
9770         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
9771         * config/rs6000/t-linux: ..and libgcc flags to here.
9773 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
9775         * config.host (i[34567]86-*-interix3*):
9776         Change triplet to i[34567]86-*-interix[3-9]*.
9777         * configure: Regenerate.
9779 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
9780             Richard Sandiford  <rdsandiford@googlemail.com>
9782         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
9783         * config/mips/mips16.S (__mips16_rdhwr): New function.
9784         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
9786 2012-01-11  Nathan Sidwell  <nathan@acm.org>
9788         * libgcov.c (__gcov_init): Ignore objects with no functions.
9790 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
9792         PR target/49868
9793         Extend __pgmx semantics to linearize memory.
9794         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
9795         * config/avr/lib1funcs.S (__xload_1): New function.
9796         (__movmemx_qi, __movmemx_hi): New functions.
9797         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
9798         semantics.
9800 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
9802         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
9803         purported sigacthandler address isn't null before dereferencing it.
9804         (sparc_is_sighandler): Likewise.
9806 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
9808         PR ada/41929
9809         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
9810         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
9811         (sparc_is_sighandler): Likewise.
9812         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
9814 2012-01-06  Tristan Gingold  <gingold@adacore.com>
9816         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
9817         compatibility thunks...
9818         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
9819         (crtbeginS.o, crtendS.o): ... and these to ...
9820         * config/ia64/t-ia64-elf: ... this new file.
9821         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
9822         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
9824 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9826         * configure: Regenerate.
9827         * config/s390/t-crtstuff: Remove -fPIC.
9829 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
9831         PR bootstrap/51006
9832         * enable-execute-stack-mprotect.c (getpagesize): Do not define
9833         for NetBSD.
9835 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
9837         PR target/51345
9838         * config/avr/lib1funcs.S: Remove FIXME comments.
9839         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
9841 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
9843         Implement light-weight DImode support.
9844         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
9845         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
9846         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
9847         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
9849 2011-12-30  Nathan Sidwell  <nathan@acm.org>
9851         * libgcov.c (gcov_crc32): Remove global var.
9852         (free_fn_data): New function.
9853         (buffer_fn_data): Pass in filename, more robust error recovery.
9854         (crc32_unsigned): New function.
9855         (gcov_exit): More robust detection of new program. More robust
9856         error recovery.
9857         (__gcov_init): Do not update program's crc here.
9859 2011-12-21  Tristan Gingold  <gingold@adacore.com>
9861         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
9863 2011-12-21  Ian Lance Taylor  <iant@google.com>
9865         * config/i386/morestack.S: Simplify CFI opcodes throughout.
9867 2011-12-20  Ian Lance Taylor  <iant@google.com>
9869         * config/i386/morestack.S (__morestack_non_split): If there is
9870         enough stack space already, don't split.  Ask for more stack space
9871         than we required.
9873 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
9875         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
9876         `sys/sdt.h'.
9877         (_Unwind_DebugHook): New function.
9878         (uw_restore_core_regs): New define.
9879         (unwind_phase2): Use uw_restore_core_regs instead of
9880         restore_core_regs.
9881         (unwind_phase2_forced): Likewise.
9882         (__gnu_Unwind_Resume): Likewise.
9884 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
9886         * config/alpha/linux-unwind.h: Update copyright years.
9887         (MD_FROB_UPDATE_CONTEXT): New define.
9888         (alpha_frob_update_context): New function.
9890 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
9892         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
9893         tmake_file rather replacing it.
9895 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
9897         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
9898         function is not used for PPC64.
9899         (save_world): Amend comments.  Update the VRsave mask to reflect the
9900         saved regs.
9901         (rest_world): Update comments, do not  clobber r10, do not use r8.
9902         (eh_rest_world_r10): Amend comments, do not use r8.
9903         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
9904         no longer used, move restore of CR and target address to the end of
9905         the routine.
9907 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
9909         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
9910         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
9912 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
9914         PR target/49313
9915         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
9916         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
9918 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
9920         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
9922 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
9924         PR target/49313
9925         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
9926         * config/avr/lib1funcs.S (__muldi3): New function.
9928 2011-12-06  Andrew Pinski  <apinski@cavium.com>
9930         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
9931         size of func_ptr.
9932         (__frame_dummy_init_array_entry): Likewise.
9934 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
9936         Forward-port from gcc-4_6-branch r181936 2011-12-02.
9938         PR target/51345
9939         PR target/51002
9940         * config/avr/lib1funcs.S (__prologue_saves__,
9941         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
9942         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
9944 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
9946         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
9948 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
9950         PR other/51272
9951         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
9952         (_ITM_deregisterTMCloneTable): Likewise.
9953         (__register_frame_info): Fix unused warning.
9954         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
9955         pthread_default_stacksize_np): Likewise.
9956         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
9958 2011-11-29  DJ Delorie  <dj@redhat.com>
9960         * config.host (rl78-*-elf): New case.
9961         * config/rl78: New directory for the Renesas RL78.
9963 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
9965         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
9966         formatting.
9968 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9970         PR other/51022
9971         * config/rs6000/t-savresfgpr: New file.
9972         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
9973         $(srcdir)/config/rs6000/eabi.S.
9974         * config/rs6000/t-ppccomm-ldbl: Remove.
9975         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
9976         tmake_file.
9977         (powerpc-*-eabispe*): Likewise.
9978         (powerpc-*-eabi*): Likewise.
9979         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9980         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
9981         to tmake_file, remove rs6000/t-ppccomm-ldbl.
9982         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
9983         tmake_file.
9984         (powerpc-*-eabisim*): Likewise.
9985         (powerpc-*-elf*): Likewise.
9986         (powerpc-*-eabialtivec*): Likewise.
9987         (powerpc-xilinx-eabi*): Likewise.
9988         (powerpc-*-rtems*): Likewise.
9989         (powerpcle-*-elf*): Likewise.
9990         (powerpcle-*-eabisim*): Likewise.
9991         (powerpcle-*-eabi*): Likewise.
9993 2011-11-27  Ian Lance Taylor  <iant@google.com>
9995         * generic-morestack.c (__splitstack_find): Check for NULL old
9996         stack value.
9997         (__splitstack_resetcontext): New function.
9998         (__splitstack_releasecontext): New function.
9999         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10001 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
10003         * config/darwin-crt-tm.c: Correct comments, use correct licence.
10005 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
10007         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
10009 2011-11-26  Richard Henderson  <rth@redhat.com>
10011         * config/m68k/linux-atomic.c: New file.
10012         * config/m68k/t-linux: New file.
10013         * config.host (m68k-uclinux, m68k-linux): Use it.
10015 2011-11-26  Richard Henderson  <rth@redhat.com>
10017         * crtstuff.c (__TMC_LIST__): Mark used not unused.
10018         (__TMC_END__): Only declare if hidden is available; in the definition,
10019         if hidden is unavailable add a null record.
10020         (deregister_tm_clones, register_tm_clones): New.
10021         (__do_global_dtors_aux, frame_dummy): Use them.
10022         (__do_global_dtors, __do_global_ctors_1): Likewise.
10024 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
10026         * config/darwin-crt-tm.c: New file.
10027         * config.host (darwin): Build crttms.o crttme.o to provide
10028         startup and shutdown for tm clones.
10029         * config/t-darwin (crttms.o): New build rule.
10030         (crttme.o): Likewise.
10032 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
10034         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
10035         et al.
10037 2011-11-21  Richard Henderson  <rth@redhat.com>
10039         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
10040         (__TMC_LIST__, __TMC_END__): New.
10041         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
10042         (__do_global_dtors): Likewise.
10043         (frame_dummy): Call _ITM_registerTMCloneTable.
10044         (__do_global_ctors_1): Likewise.
10046 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10048         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
10049         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10050         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
10051         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
10052         * config/i386/t-darwin64: Remove.
10053         * config/sh/t-netbsd (LIB2ADD): Remove.
10055 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
10057         PR target/49313
10058         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
10059         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
10060         * config/avr/lib1funcs.S (wmov): New assembler macro.
10061         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
10062         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
10063         (__udivmod64): New function.
10064         (__negdi2): New function.
10066 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
10068         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
10069         *-*-freebsd*aout*): Remove.
10071 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
10073         * static-object.mk (c_flags-$o): Save c_flags.
10074         ($(base)$(objext)): Use it.
10076 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
10078         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
10080 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
10082         PR target/49868
10083         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
10084         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
10085         New functions.
10087 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
10089         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
10090         functions.
10091         (aeabi_uidivmod): Likewise.
10092         (umodsi3): Likewise.
10093         (divsi3): Likewise.
10094         (aeabi_idivmod): Likewise.
10095         (modsi3): Likewise.
10097 2011-11-16  Tristan Gingold  <gingold@adacore.com>
10099         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
10101 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
10103         PR target/49868
10104         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
10105         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
10107 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
10109         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
10110         tmake_file list.
10111         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
10112         * config/pa/t-stublib64: Delete.
10114 2011-11-12  Richard Henderson  <rth@redhat.com>
10116         * config/rs6000/linux-unwind.h (frob_update_context): Properly
10117         cast the pointer argument to _Unwind_SetGRPtr.
10119 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10121         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
10123 2011-11-09  Ian Lance Taylor  <iant@google.com>
10125         * generic-morestack.c: Include <string.h>.
10126         (uintptr_type): Define.
10127         (struct initial_sp): Add dont_block_signals field.  Reduce size of
10128         extra array by 1.
10129         (allocate_segment): Set prev field to NULL.  Don't set
10130         __morestack_current_segment or __morestack_segments.
10131         (__generic_morestack): Update current->prev and *pp after calling
10132         allocate_segment.
10133         (__morestack_block_signals): Don't do anything if
10134         dont_block_signals is set.
10135         (__morestack_unblock_signals): Likewise.
10136         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
10137         uintptr_type.
10138         (__splitstack_block_signals): New function.
10139         (enum __splitstack_content_offsets): Define.
10140         (__splitstack_getcontext, __splitstack_setcontext): New functions.
10141         (__splitstack_makecontext): New function.
10142         (__splitstack_block_signals_context): New function.
10143         (__splitstack_find_context): New function.
10144         * config/i386/morestack.S (__morestack_get_guard): New function.
10145         (__morestack_set_guard, __morestack_make_guard): New functions.
10146         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10148 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10150         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
10151         (i[34567]86-*-mingw*): ... here.
10152         (x86_64-*-mingw*): ... here.
10154 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10156         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
10158 2011-11-07  Nathan Sidwell  <nathan@acm.org>
10160         * libgcov.c (struct gcov_fn_buffer): New struct.
10161         (buffer_fn_data): New helper.
10162         (gcov_exit): Rework for new gcov data structures.
10164 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
10166         PR target/49313
10167         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
10169 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10171         * config.host (tmake_file): Correct comment.
10172         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
10173         t-libgcc-pic.
10174         (bfin*-uclinux*): Likewise.
10175         (bfin*-linux-uclibc*): Likewise.
10176         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
10178         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
10179         assigning.
10180         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10181         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
10182         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10183         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
10184         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10185         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
10186         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
10187         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10188         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
10189         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
10190         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
10191         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
10192         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
10194         * config/bfin/t-elf: Remove.
10195         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
10197 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10199         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
10200         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
10201         (lm32-*-elf*, lm32-*-rtems*): Split into ...
10202         (lm32-*-elf*): ... this.
10203         (lm32-*-rtems*): ... and this.
10204         Add to tmake_file.
10205         (m32r-*-rtems*): Add to tmake_file.
10206         (moxie-*-rtems*): Likewise.
10207         (sparc-*-rtems*): Likewise.
10208         Remove t-rtems from tmake_file.
10209         (sparc64-*-rtems*): Likewise.
10210         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
10211         instead.
10213 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10215         PR bootstrap/50982
10216         * config/gthr-posix.h: Move ...
10217         * gthr-posix.h: ... here.
10218         * config/gthr-lynx.h: Reflect this.
10219         * config/gthr-vxworks.h: Likewise.
10220         * config/rs6000/gthr-aix.h: Likewise.
10221         * configure.ac (target_thread_file): Likewise.
10222         * configure: Regenerate.
10224 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
10226         * config.host (arm*-*-rtemseabi*): New target.
10228 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
10230         PR other/50991
10231         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
10232         extra-parts.
10234 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
10236         * config.host (epiphany-*-elf*): New configuration.
10237         * config/epiphany: New Directory.
10239 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
10241         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
10242         * config/avr/t-rtems: New.
10243         Filter out _exit from LIB1ASMFUNCS.
10245 2011-11-04  David S. Miller  <davem@davemloft.net>
10247         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
10248         * configure: Rebuild.
10250 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10252         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
10253         variable.
10255 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
10257         PR target/50931
10258         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
10259         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
10261 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
10263         PR target/50989
10264         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
10266 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10268         * config/c6x/t-elf (LIB2ADDEH): Set.
10269         * config/c6x/t-c6x-elf: Remove.
10271 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10273         * config/i386/sol2-ci.S: Rename to ...
10274         * config/i386/crti.S: ... this.
10275         * config/i386/sol2-cn.S: Rename to ...
10276         * config/i386/crtn.S: ... this.
10277         * config/sparc/sol2-ci.S: Rename to ...
10278         * config/sparc/crti.S: ... this.
10279         * config/sparc/sol2-cn.S: Rename to ...
10280         * config/sparc/crtn.S: ... this.
10281         * config/t-sol2 (CUSTOM_CRTIN): Remove.
10282         (crti.o, crtn.o): Remove.
10284 2011-11-04  Tristan Gingold  <gingold@adacore.com>
10286         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
10288 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
10290         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
10292 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
10294         * config.host (crisv32-*-none, cris-*-none): Remove.
10295         (crisv32-*-elf): Append to tmake_file, don't just set it.
10296         (cris-*-elf): Add missing t-fdpbit to tmake_file.
10298 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10300         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
10301         (ecrtn$(objext)): Likewise.
10302         (ncrti$(objext)): Likewise.
10303         (ncrtn$(objext)): Likewise.
10305 2011-11-03  Andreas Schwab  <schwab@redhat.com>
10307         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
10309 2011-11-02  David S. Miller  <davem@davemloft.net>
10311         * configure.ac: Set host_address on sparc too.
10312         * configure: Regenerate.
10313         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
10314         based upon host_address.
10315         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
10317 2011-11-02  Jason Merrill  <jason@redhat.com>
10319         * config/rs6000/t-ppccomm: Add missing \.
10321 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10323         * gthr-single.h, gthr.h: New files.
10324         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
10325         config/gthr-vxworks.h, config/i386/gthr-win32.h,
10326         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
10327         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
10328         * config/i386/gthr-win32.c: Include "gthr-win32.h".
10329         * configure.ac (thread_header): New variable.
10330         Set it depending on target_thread_file.
10331         (gthr-default.h): Link from $thread_header.
10332         * configure: Regenerate.
10333         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
10335 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10337         * configure.ac (tm_file_): New variable.
10338         Determine from tm_file.
10339         (tm_file, tm_defines): Substitute.
10340         * configure: Regenerate.
10341         * mkheader.sh: New file.
10342         * Makefile.in (clean): Remove libgcc_tm.h.
10343         ($(objects)): Depend on libgcc_tm.h.
10344         (libgcc_tm_defines, libgcc_tm_file): New variables.
10345         (libgcc_tm.h, libgcc_tm.stamp): New targets.
10346         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
10347         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
10348         ($(extra-parts)): Depend on libgcc_tm.h.
10349         * config.host (tm_defines, tm_file): New variable.
10350         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
10351         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
10352         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
10353         (avr-*-rtems*): Likewise.
10354         (avr-*-*): Likewise.
10355         (frv-*-elf): Likewise.
10356         (frv-*-*linux*): Likewise.
10357         (h8300-*-rtems*): Likewise.
10358         (h8300-*-elf*): Likewise.
10359         (i[34567]86-*-darwin*): Likewise.
10360         (x86_64-*-darwin*): Likewise.
10361         (rx-*-elf): Likewise.
10362         (tic6x-*-uclinux): Likewise.
10363         (tic6x-*-elf): Likewise.
10364         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
10365         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
10366         * config/i386/cygming-crtbegin.c: Likewise.
10367         * config/i386/cygming-crtend.c: Likewise.
10368         * config/ia64/fde-vms.c: Likewise.
10369         * config/ia64/unwind-ia64.c: Likewise.
10370         * config/libbid/bid_gcc_intrinsics.h: Likewise.
10371         * config/rs6000/darwin-fallback.c: Likewise.
10372         * config/stormy16/lib2funcs.c: Likewise.
10373         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
10374         * crtstuff.c: Likewise.
10375         * dfp-bit.h: Likewise.
10376         * emutls.c: Likewise.
10377         * fixed-bit.c: Likewise.
10378         * fp-bit.c: Likewise.
10379         * generic-morestack-thread.c: Likewise.
10380         * generic-morestack.c: Likewise.
10381         * libgcc2.c: Likewise.
10382         * libgcov.c: Likewise.
10383         * unwind-dw2-fde-dip.c: Likewise.
10384         * unwind-dw2-fde.c: Likewise.
10385         * unwind-dw2.c: Likewise.
10386         * unwind-sjlj.c: Likewise.
10388 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10390         * configure.ac: Include ../config/picflag.m4.
10391         (GCC_PICFLAG): Call it.
10392         Substitute.
10393         * configure: Regenerate.
10394         * Makefile.in (gcc_srcdir): Remove.
10395         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
10396         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
10397         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
10398         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
10399         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
10400         Use $<.
10401         Remove comment.
10402         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
10403         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
10404         to refer to libgcc2.c.
10405         Use $<.
10406         * config/darwin-64.c: New file.
10407         * config/darwin-crt3.c: Remove comment.
10408         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
10409         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
10410         config/udivmodsi4.c: New files.
10411         * config/memcmp.c, config/memcpy.c, config/memmove.c,
10412         config/memset.c: New files.
10413         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
10414         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
10415         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
10416         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
10417         * config/t-openbsd-thread: New file.
10418         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
10419         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
10420         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
10421         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
10422         qrnnd.S.
10423         Adapt filename.
10424         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
10425         to refer to gthr-posix.c.
10426         * config/alpha/t-vms (LIB2ADD): Set.
10427         * config/alpha/vms-gcc_shell_handler.c: New file.
10428         * config/arm/bpabi.c, config/arm/fp16.c,
10429         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
10430         config/arm/unaligned-funcs.c: New files.
10431         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
10432         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10433         * config/arm/t-linux: Likewise.
10434         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
10435         * config/arm/t-netbsd: New file.
10436         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
10437         * config/arm/t-symbian (LIB2ADD_ST): Set.
10438         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
10439         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10440         * config/bfin/t-elf: New file.
10441         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
10442         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
10443         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
10444         config/c6x/ltf.c: New files.
10445         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
10446         (HOST_LIBGCC2_CFLAGS): Set.
10447         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
10448         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10449         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
10450         New files.
10451         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
10452         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
10453         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
10454         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
10455         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
10456         files.
10457         * config/frv/t-frv (LIB2ADD): Set.
10458         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10459         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
10460         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
10461         config/h8300/popcounthi2.c: New files.
10462         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10463         * config/i386/gthr-win32.c: New file.
10464         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
10465         * config/i386/t-cygwin: Likewise.
10466         * config/i386/t-darwin, config/i386/t-darwin64,
10467         config/i386/t-gthr-win32, config/i386/t-interix: New files.
10468         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
10469         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10470         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10471         * config/ia64/quadlib.c: New file.
10472         * config/ia64/t-hpux (LIB2ADD): Set.
10473         * config/ia64/t-ia64: Add comment.
10474         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
10475         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10476         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
10477         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
10478         * config/m32c/t-m32c (LIB2ADD): Set.
10479         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10480         * config/m32r/t-m32r: Likewise.
10481         * config/m68k/fpgnulib.c: New file.
10482         * config/m68k/t-floatlib (LIB2ADD): Set.
10483         (xfgnulib.c): New target.
10484         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
10485         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
10486         * config/mep/t-mep (LIB2ADD): Set.
10487         * config/microblaze/divsi3.asm: Rename to divsi3.S.
10488         * config/microblaze/moddi3.asm: Rename to moddi3.S.
10489         * config/microblaze/modsi3.asm: Rename to modsi3.S.
10490         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
10491         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
10492         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
10493         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
10494         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
10495         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
10496         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
10497         New files.
10498         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
10499         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
10500         * config/pa/fptr.c, config/pa/lib2funcs.S,
10501         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
10502         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10503         (LIB2ADD, LIB2ADD_ST): Set.
10504         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
10505         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
10506         Set.
10507         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
10508         * config/pdp11/t-pdp11: New file.
10509         * config/picochip/libgccExtras/adddi3.S,
10510         config/picochip/libgccExtras/ashlsi3.S,
10511         config/picochip/libgccExtras/ashrsi3.S,
10512         config/picochip/libgccExtras/clzsi2.S,
10513         config/picochip/libgccExtras/cmpsi2.S,
10514         config/picochip/libgccExtras/divmod15.S,
10515         config/picochip/libgccExtras/divmodhi4.S,
10516         config/picochip/libgccExtras/divmodsi4.S,
10517         config/picochip/libgccExtras/lshrsi3.S,
10518         config/picochip/libgccExtras/parityhi2.S,
10519         config/picochip/libgccExtras/popcounthi2.S,
10520         config/picochip/libgccExtras/subdi3.S,
10521         config/picochip/libgccExtras/ucmpsi2.S,
10522         config/picochip/libgccExtras/udivmodhi4.S,
10523         config/picochip/libgccExtras/udivmodsi4.S: New files.
10524         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
10525         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
10526         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
10527         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
10528         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
10529         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
10530         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
10531         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
10532         files.
10533         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
10534         (HOST_LIBGCC2_CFLAGS): Set.
10535         * config/rs6000/t-darwin64: New file.
10536         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
10537         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
10538         * config/rs6000/t-ppccomm (LIB2ADD): Add
10539         $(srcdir)/config/rs6000/tramp.S.
10540         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
10541         Add  $(srcdir)/config/rs6000/eabi.S.
10542         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
10543         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
10544         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
10545         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
10546         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
10547         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
10548         * config/rs6000/tramp.S: New file.
10549         * config/s390/t-tpf: Remove.
10550         * config/sh/linux-atomic.S: New file.
10551         * config/sh/t-linux (LIB2ADD): Set.
10552         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
10553         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10554         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
10555         to unwind-dw2.c.
10556         (HOST_LIBGCC2_CFLAGS): Set.
10557         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10558         * config/spu/divmodti4.c, config/spu/divv2df3.c,
10559         config/spu/float_disf.c, config/spu/float_unsdidf.c,
10560         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
10561         config/spu/mfc_multi_tag_release.c,
10562         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
10563         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
10564         config/spu/multi3.c: New files.
10565         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
10566         (HOST_LIBGCC2_CFLAGS): Set.
10567         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
10568         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
10569         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
10570         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
10571         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
10572         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
10573         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
10574         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
10575         config/stormy16/umodsi3.c: New files.
10576         * config/xtensa/lib2funcs.S: New file.
10577         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10578         * config/xtensa/t-xtensa (LIB2ADD): Set.
10579         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
10580         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
10581         Add t-freebsd-thread to tmake_file for posix threads.
10582         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
10583         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
10584         (*-*-lynxos*): Likewise.
10585         (*-*-netbsd*): Likewise.
10586         (*-*-openbsd*): Likewise.
10587         Add t-openbsd-thread to tmake_file for posix threads.
10588         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
10589         (*-*-vxworks*): Set tmake_file.
10590         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10591         (alpha*-*-freebsd*): Likewise.
10592         (alpha*-*-netbsd*): Likewise.
10593         (alpha*-*-openbsd*): Likewise.
10594         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
10595         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10596         (alpha*-dec-*vms*): Likewise.
10597         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
10598         (bfin*-elf*): Add bfin/t-elf to tmake_file.
10599         (bfin*-uclinux*): Likewise.
10600         (bfin*-linux-uclibc*): Likewise.
10601         (crisv32-*-elf): Add cris/t-cris to tmake_file.
10602         (crisv32-*-none): Likewise.
10603         (cris-*-elf): Likewise.
10604         (cris-*-none): Likewise.
10605         (cris-*-linux*, crisv32-*-linux*): Likewise.
10606         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
10607         tmake_file.
10608         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
10609         tmake_file.
10610         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
10611         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
10612         (x86_64-*-elf*): Likewise.
10613         (i[34567]86-*-nto-qnx*): Likewise.
10614         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
10615         win32 threads.
10616         (x86_64-*-mingw*): Likewise.
10617         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
10618         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
10619         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10620         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10621         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
10622         tmake_file.
10623         (mipsisa64sr71k-*-elf*): Likewise.
10624         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10625         (mips-*-elf*, mipsel-*-elf*): Likewise.
10626         (mips64-*-elf*, mips64el-*-elf*): Likewise.
10627         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10628         (mips*-*-rtems*): Likewise.
10629         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
10630         to tmake_file.
10631         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
10632         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
10633         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
10634         (spu-*-elf*): Likewise.
10635         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
10637 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10639         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
10640         $(srcdir) to refer to $(LIB1ASMSRC).
10641         Use $<.
10642         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
10643         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
10644         config/arm/lib1funcs.S: New files.
10645         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
10646         * config/arm/t-arm: New file.
10647         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
10648         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
10649         config/arm/t-strongarm-elf: New files.
10650         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
10651         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
10652         * config/avr/lib1funcs.S: New file.
10653         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10654         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
10655         * config/c6x/lib1funcs.S: New file.
10656         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10657         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
10658         * config/frv/lib1funcs.S: New file.
10659         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10660         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
10661         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
10662         * config/ia64/__divxf3.asm: Rename to ...
10663         * config/ia64/__divxf3.S: ... this.
10664         Adapt lib1funcs.asm filename.
10665         * config/ia64/_fixtfdi.asm: Rename to ...
10666         * config/ia64/_fixtfdi.S: ... this.
10667         Adapt lib1funcs.asm filename.
10668         * config/ia64/_fixunstfdi.asm: Rename to ...
10669         * config/ia64/_fixunstfdi.S: ... this.
10670         Adapt lib1funcs.asm filename.
10671         * config/ia64/_floatditf.asm: Rename to ...
10672         * config/ia64/_floatditf.S: ... this.
10673         Adapt lib1funcs.asm filename.
10674         * config/ia64/lib1funcs.S: New file.
10675         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
10676         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10677         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
10678         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
10679         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
10680         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
10681         * config/mep/lib1funcs.S: New file.
10682         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10683         * config/mips/mips16.S: New file.
10684         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10685         * config/pa/milli64.S: New file.
10686         * config/pa/t-linux, config/pa/t-linux64: New files.
10687         * config/picochip/lib1funcs.S: New file.
10688         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10689         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
10690         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
10691         * config/sh/t-netbsd: New file.
10692         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
10693         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
10694         * config/sh/t-sh64: New file.
10695         * config/sparc/lb1spc.S: New file.
10696         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
10697         filename.
10698         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
10699         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
10700         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
10701         config/xtensa/lib1funcs.S: New files.
10702         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10703         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
10704         tmake_file.
10705         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
10706         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
10707         (arm*-*-linux*): Likewise.
10708         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
10709         arm*-*-linux-*eabi, add arm/t-linux otherwise.
10710         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
10711         (arm*-*-ecos-elf): Likewise.
10712         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10713         (arm*-*-rtems*): Likewise.
10714         (arm*-*-elf): Likewise.
10715         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
10716         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
10717         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
10718         (bfin*-uclinux*): Likewise.
10719         (bfin*-linux-uclibc*): Likewise.
10720         (bfin*-rtems*): Likewise.
10721         (bfin*-*): Likewise.
10722         (fido-*-elf): Merge into m68k-*-elf*.
10723         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
10724         (frv-*-*linux*): Add frv/t-frv to tmake_file.
10725         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
10726         (h8300-*-elf*): Likewise.
10727         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
10728         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
10729         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
10730         (i[34567]86-*-mingw*): Likewise.
10731         (x86_64-*-mingw*): Likewise.
10732         (i[34567]86-*-interix3*): Likewise.
10733         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
10734         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
10735         (m68k-*-elf*): Also handle fido-*-elf.
10736         Add m68k/t-floatlib to tmake_file.
10737         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
10738         (m68k-*-linux*): Likewise.
10739         (m68k-*-rtems*): Likewise.
10740         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
10741         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
10742         sh64*-*-*.
10743         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
10744         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
10745         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
10746         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
10747         sh/t-netbsd to tmake_file.
10748         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
10749         (sh-*-rtems*): Add sh/t-sh to tmake_file.
10750         (sh-wrs-vxworks): Likewise.
10751         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
10752         *-leon[3-9]*.
10753         (v850*-*-*): Add v850/t-v850 to tmake_file.
10754         (vax-*-linux*): Add vax/t-linux to tmake_file.
10755         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
10757 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10759         * crtstuff.c: New file.
10760         * Makefile.in (CRTSTUFF_CFLAGS): Define.
10761         (CRTSTUFF_T_CFLAGS): Define.
10762         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
10763         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
10764         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
10765         crtstuff.c.
10766         Use $<.
10767         (crtbeginT.o): Use $(objext).
10768         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
10769         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
10770         (gcc-extra-parts): Remove.
10771         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
10772         Set extra_parts.
10773         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10774         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
10775         Add t-crtstuff-pic to tmake_file.
10776         (*-*-lynxos*): New case.
10777         Set tmake_file, extra_parts.
10778         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
10779         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
10780         *-*-netbsdelf[2-9]*.
10781         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
10782         (*-*-rtems*): Set extra_parts.
10783         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
10784         (*-*-uclinux*): New case.
10785         Set extra_parts.
10786         (*-*-vms*): New case.
10787         Set tmake_file, extra_parts.
10788         (*-*-elf): Set extra_parts.
10789         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
10790         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
10791         vms/t-vms64.
10792         Set extra_parts.
10793         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
10794         Set extra_parts.
10795         (arm*-*-freebsd*): Add t-crtin to tmake_file.
10796         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
10797         (arm-wrs-vxworks): Append to tmake_file.
10798         Set extra_parts.
10799         (arm*-*-uclinux*): Set extra_parts.
10800         (arm*-*-ecos-elf): Likewise.
10801         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
10802         arm*-*-eabi*.
10803         (arm*-*-rtems*): Set extra_parts.
10804         (arm*-*-elf): Likewise.
10805         (avr-*-rtems*): Clear extra_parts.
10806         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
10807         Set extra_parts.
10808         (bfin*-uclinux*): Likewise.
10809         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
10810         (bfin*-rtems*): Append to tmake_file.
10811         Set extra_parts.
10812         (bfin*-*): Likewise.
10813         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
10814         (crisv32-*-elf): ... this.
10815         (crisv32-*-none): ... this.
10816         (cris-*-elf, cris-*-none): New cases.
10817         Add cris/t-elfmulti to tmake_file.
10818         (fr30-*-elf): Append to tmake_file.
10819         Set extra_parts.
10820         (frv-*-elf): Append to tmake_file, add frv/t-frv.
10821         Set extra_parts.
10822         (h8300-*-rtems*): Append to tmake_file.
10823         Set extra_parts.
10824         (h8300-*-elf*): Likewise.
10825         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
10826         Set extra_parts.
10827         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
10828         Set extra_parts.
10829         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
10830         (x86_64-*-elf*): Likewise.
10831         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
10832         (x86_64-*-freebsd*): Likewise.
10833         (x86_64-*-netbsd*): Likewise.
10834         (i[34567]86-*-linux*): Likewise.
10835         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10836         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10837         (x86_64-*-linux*): Likewise.
10838         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10839         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
10840         tmake_file.
10841         Set extra_parts.
10842         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
10843         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
10844         Append to extra_parts, remove crtbegin.o, crtend.o.
10845         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
10846         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
10847         crtend.o, crtbeginS.o, crtendS.o.
10848         (ia64*-*-linux*): Comment extra_parts.
10849         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
10850         Set extra_parts.
10851         (iq2000*-*-elf*): Clear extra_parts.
10852         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
10853         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
10854         (m32r-*-elf*, m32r-*-rtems*): Split off ...
10855         (m32r-*-rtems*): ... this.
10856         Add m32r/t-m32r to tmake_file.
10857         (m68k-*-elf*): Add t-crtin to tmake_file.
10858         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
10859         (mcore-*-elf): Likewise.
10860         (microblaze*-*-*): Set extra_parts.
10861         (mips*-sde-elf*): New case.
10862         Set tmake_file, extra_parts.
10863         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10864         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10865         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
10866         tmake_file.
10867         Set extra_parts.
10868         (mipsisa64sr71k-*-elf*): Likewise.
10869         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10870         (mips-*-elf*, mipsel-*-elf*): Likewise.
10871         (mips64-*-elf*, mips64el-*-elf*): Likewise.
10872         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
10873         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
10874         (mips*-*-rtems*): Likewise.
10875         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
10876         (moxie-*-*): Split into ...
10877         (moxie-*-elf, moxie-*-uclinux*): ... this.
10878         Add to extra_parts, remove crtbegin.o, crtend.o.
10879         (moxie-*-rtems*): New case.
10880         Set tmake_file.
10881         Clear extra_parts.
10882         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
10883         Set extra_parts.
10884         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10885         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
10886         tmake_file.
10887         Set extra_parts.
10888         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
10889         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
10890         Set extra_parts.
10891         (powerpc-*-eabisim*): Likewise.
10892         (powerpc-*-elf*): Likewise.
10893         (powerpc-*-eabialtivec*): Likewise.
10894         (powerpc-xilinx-eabi*): Likewise.
10895         (powerpc-*-eabi*): Likewise.
10896         (powerpc-*-rtems*): Likewise.
10897         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
10898         tmake_file.
10899         Set extra_parts.
10900         (powerpc-*-lynxos*): Add to tmake_file.
10901         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
10902         rs6000/t-crtstuff, t-crtstuff-pic.
10903         Set extra_parts.
10904         (powerpcle-*-eabisim*): Likewise.
10905         (powerpcle-*-eabi*): Likewise.
10906         (rx-*-elf): Remove extra_parts.
10907         (s390x-ibm-tpf*): Set extra_parts.
10908         (score-*-elf): Set extra_parts.
10909         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10910         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10911         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10912         (sh64l*-*-netbsd*): Split into ...
10913         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
10914         Add t-crtstuff-pic to tmake_file.
10915         Set extra_parts.
10916         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
10917         Set extra_parts.
10918         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
10919         (sparc-*-elf*): Remove t-crtin from tmake_file.
10920         Add to extra_parts, remove crtbegin.o, crtend.o.
10921         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
10922         (sparc64-*-linux*): Likewise.
10923         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
10924         Add to extra_parts, remove crtbegin.o, crtend.o.
10925         (sparc64-*-elf*): Remove t-crtin from tmake_file.
10926         Add to extra_parts, remove crtbegin.o, crtend.o.
10927         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
10928         Add to extra_parts, remove crtbegin.o, crtend.o.
10929         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
10930         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
10931         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
10932         Set extra_parts.
10933         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
10934         Set extra_parts.
10935         (tic6x-*-*): Change to ...
10936         (tic6x-*-elf): ... this.
10937         Set extra_parts.
10938         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
10939         Set extra_parts.
10940         (am33_2.0-*-linux*): Add comment.
10941         (mep*-*-*): Add mep/t-mep to tmake_file.
10942         Set extra_parts.
10943         * config/alpha/t-vms: New file.
10944         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
10945         * config/arm/crti.S, config/arm/crtn.S: New files.
10946         * config/bfin/crti.S, config/bfin/crtn.S: New files.
10947         * config/bfin/crtlibid.S: New file.
10948         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
10949         * config/c6x/crti.S, config/c6x/crtn.S: New files.
10950         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
10951         (crti.o, crtin.o): New rules.
10952         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10953         * config/c6x/t-uclinux: New file.
10954         * config/cris/t-elfmulti: New file.
10955         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
10956         * config/fr30/crti.S, config/fr30/crtn.S: New files.
10957         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
10958         * config/frv/t-frv: New file.
10959         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
10960         * config/h8300/crti.S, config/h8300/crtn.S: New files.
10961         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
10962         New files.
10963         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
10964         refer to cygming-crtbegin.c, cygming-crtend.c.
10965         Use $<.
10966         * config/i386/t-nto: New file.
10967         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
10968         * config/ia64/crti.S, config/ia64/crtn.S: New files.
10969         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
10970         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
10971         Use .S extension.
10972         Use $<.
10973         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10974         (crtinitS.o): New rule.
10975         * config/ia64/vms-crtinit.S: New file.
10976         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
10977         * config/m32r/initfini.c: New file.
10978         * config/m32r/t-linux, config/m32r/t-m32r: New files.
10979         * config/m68k/crti.S, config/m68k/crtn.S: New files.
10980         * config/mcore/crti.S, config/mcore/crtn.S: New files.
10981         * config/mep/t-mep: New file.
10982         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
10983         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
10984         * config/mips/crti.S, config/mips/crtn.S: New files.
10985         * config/mips/t-crtstuff: New file.
10986         * config/mmix/crti.S, config/mmix/crtn.S: New files.
10987         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
10988         (CUSTOM_CRTIN): Set.
10989         ($(T)crti.o, $(T)crtn.o): Remove $(T),
10990         dependencies.
10991         Use $(srcdir) to refer to crti.S, crtn.S.
10992         Use .S extension, $<.
10993         * config/moxie/crti.asm: Rename to ...
10994         * config/moxie/crti.S: ... this.
10995         * config/moxie/crtn.asm: Rename to ...
10996         * config/moxie/crtn.S: ... this.
10997         * config/moxie/t-moxie: Remove.
10998         * config/pa/stublib.c: New file.
10999         * config/pa/t-stublib, config/pa/t-stublib64: New files.
11000         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
11001         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
11002         * config/rs6000/t-crtstuff: New file.
11003         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
11004         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
11005         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
11006         Make output file explicit.
11007         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
11008         Make output file explicit.
11009         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
11010         Make output file explicit.
11011         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
11012         Make output file explicit.
11013         * config/score/crti.S, config/score/crtn.S: New files.
11014         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
11015         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
11016         files.
11017         * config/sh/t-sh, config/sh/t-superh: New files.
11018         * config/sparc/t-linux64: New file.
11019         * config/spu/cache.S, config/spu/cachemgr.c: New files.
11020         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
11021         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
11022         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
11023         * config/t-crtin: Remove.
11024         * config/t-crtstuff-pic: New file.
11025         * config/t-sol2 (CUSTOM_CRTIN): Set.
11026         (crti.o, crtn.o): New rules.
11027         * config/vms/t-vms: New file.
11028         * config/vms/vms-ucrt0.c: New file.
11029         * config/xtensa/t-elf: New file.
11031 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11033         * Makefile.in (SHLIB_NM_FLAGS): Set.
11034         * mkmap-flat.awk, mkmap-symver.awk: New files.
11035         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
11036         exceptions.
11037         * configure: Regenerate.
11038         * config/libgcc-glibc.ver: New file.
11039         * config/libgcc-libsystem.ver: New file.
11040         * config/t-libunwind (SHLIB_LC): Set.
11041         * config/t-linux: New file.
11042         * config/t-slibgcc (INSTALL_SHLIB): New.
11043         (SHLIB_INSTALL): Use it.
11044         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
11045         to mkmap-symver.awk.
11046         (SHLIB_MAPFILES): Don't append, adapt pathname.
11047         (SHLIB_VERPFX): Set.
11048         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
11049         to mkmap-symver.awk.
11050         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
11051         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
11052         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
11053         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
11054         to mkmap-flat.awk.
11055         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
11056         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
11057         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
11058         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
11059         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
11060         * config/i386/libgcc-darwin.10.4.ver,
11061         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
11062         New files.
11063         * config/i386/t-darwin: Remove.
11064         * config/i386/t-darwin64: Likewise.
11065         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
11066         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
11067         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
11068         * config/i386/t-linux: New file.
11069         * config/i386/t-mingw32: New file.
11070         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
11071         * config/ia64/t-glibc: Rename to ...
11072         * config/ia64/t-linux: ... this.
11073         (SHLIB_MAPFILES): Set.
11074         * config/ia64/t-glibc-libunwind: Rename to ...
11075         * config/ia64/t-linux-libunwind: ... this.
11076         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
11077         * config/ia64/t-slibgcc-hpux: New file.
11078         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
11079         * config/m68k/t-slibgcc-elf-ver: New file.
11080         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
11081         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
11082         to mkmap-flat.awk.
11083         * config/pa/t-slibgcc-hpux: New file.
11084         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
11085         files.
11086         * config/rs6000/libgcc-darwin.10.4.ver,
11087         config/rs6000/libgcc-darwin.10.5.ver: New files.
11088         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
11089         config/rs6000/libgcc-glibc.ver.
11090         * config/rs6000/libgcc-ppc64.ver: Rename to
11091         config/rs6000/libgcc-ibm-ldouble.ver.
11092         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
11093         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
11094         * config/rs6000/t-ldbl128: Rename to ...
11095         * config/rs6000/t-linux: ... this.
11096         (SHLIB_MAPFILES): Adapt filename.
11097         * config/rs6000/t-slibgcc-aix: New file.
11098         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
11099         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
11100         libgcc-excl.ver, libgcc-glibc.ver.
11101         (SHLIB_LINK, SHLIB_INSTALL): Remove.
11102         * config/sparc/libgcc-glibc.ver: New file.
11103         * config/sparc/t-linux: New file.
11104         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
11105         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
11106         t-slibgcc-elf-ver to tmake_file.
11107         Add t-slibgcc-nolc-override to tmake_file for posix threads on
11108         *-*-freebsd[34].
11109         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11110         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
11111         t-slibgcc-elf-ver, t-linux to tmake_file.
11112         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
11113         tmake_file.
11114         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
11115         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
11116         (alpha*-dec-*vms*): Likewise.
11117         (arm*-*-freebsd*): Append to tmake_file.
11118         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
11119         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
11120         arm*-*-linux-*eabi.
11121         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
11122         tmake_file for arm*-*-symbianelf*.
11123         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
11124         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
11125         cris/t-linux.
11126         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
11127         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
11128         pa/t-slibgcc-dwarf-ver to tmake_file.
11129         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
11130         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
11131         (hppa*64*-*-hpux11*): Likewise.
11132         (hppa[12]*-*-hpux11*): Likewise.
11133         (x86_64-*-darwin*): Don't override tmake_file, but only keep
11134         i386/t-crtpc, i386/t-crtfm.
11135         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
11136         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11137         to tmake_file.
11138         Add i386/t-cygwin to tmake_file.
11139         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
11140         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
11141         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11142         to tmake_file.
11143         Add i386/t-mingw32 to tmake_file.
11144         (x86_64-*-mingw*): Likewise.
11145         (ia64*-*-freebsd*): Append to tmake_file.
11146         (ia64*-*-linux*): Append to tmake_file.
11147         Replace ia64/t-glibc by ia64/t-linux.
11148         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
11149         system libunwind.
11150         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
11151         t-slibgcc-hpux to tmake_file.
11152         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
11153         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
11154         (m32rle-*-linux*): Likewise.
11155         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
11156         sjlj exceptions.
11157         (microblaze*-linux*): New case.
11158         Append to tmake_file, add t-slibgcc-nolc-override.
11159         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
11160         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11161         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
11162         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11163         rs6000/t-slibgcc-aix to tmake_file.
11164         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11165         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11166         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11167         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11168         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11169         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
11170         sh*-*-linux*.
11171         (sparc-*-linux*): Append to tmake_file for *-leon*.
11172         Add sparc/t-linux to tmake_file for non-Leon targets.
11173         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
11174         (tic6x-*-uclinux): New case.
11175         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
11176         (tic6x-*-*): Add c6x/t-elf to tmake_file.
11177         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
11178         (am33_2.0-*-linux*): Append to tmake_file.
11179         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
11180         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
11181         x86_64-*-kfreebsd*-gnu.
11182         Add i386/t-linux to tmake_file.
11184 2011-10-28  Ian Lance Taylor  <iant@google.com>
11186         * config/i386/morestack.S: Correct CFI information to do proper
11187         returns throughout function.  In 32-bit mode, save %ebx so that it
11188         is restored on unwind.
11190 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
11192         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
11193         case where B3 isn't the return register.
11195         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
11196         logic for doubleword pops.
11198 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
11200         * config/rs6000/t-freebsd: Add wildcard.
11202 2011-10-21  Paul Brook  <paul@codesourcery.com>
11204         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
11206 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
11207             Eric Botcazou  <ebotcazou@adacore.com>
11209         PR target/50737
11210         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
11211         fs->signal_frame to 1.
11213 2011-10-07  Ian Lance Taylor  <iant@google.com>
11215         * generic-morestack-thread.c: #include <errno.h>.
11217 2011-10-07  Ian Lance Taylor  <iant@google.com>
11219         PR target/46093
11220         * generic-morestack.c (__generic_morestack): Make sure the segment
11221         is large enough for both the stack frame and the copied
11222         parameters.
11224 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11226         PR bootstrap/49804
11227         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
11228         extra_parts.
11230 2011-09-28  Nick Clifton  <nickc@redhat.com>
11232         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
11233         64-bit doubles are not enabled.
11234         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
11235         and floatunsisf functions.
11237 2011-09-13  Paul Brook  <paul@codesourcery.com>
11239         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
11240         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
11241         * unwind-arm-common.inc: New file.
11242         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
11243         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
11244         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
11245         * config/c6x/libunwind.S: New file.
11246         * config/c6x/pr-support.c: New file.
11247         * config/c6x/unwind-c6x.c: New file.
11248         * config/c6x/unwind-c6x.h: New file.
11249         * config/c6x/t-c6x-elf: New file.
11251 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
11253         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
11254         (ASM_DIVZERO): Ditto.
11255         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
11257 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
11259         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
11261 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
11263         PR target/50090
11264         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
11265         instead of an assembly one.
11267 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
11269         PR bootstrap/50047
11270         * Makefile.in (install-unwind_h): Create
11271         $(gcc_objdir)/include/unwind.h atomically.
11273 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11275         * Makefile.in (install-unwind_h): Remove destination file first.
11277 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11279         * sync.c: New file.
11280         * config/mips/t-mips16: New file.
11281         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
11282         (mips*-*-linux*): Likewise.
11283         (mips*-sde-elf*): Likewise.
11284         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
11285         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
11286         Add mips/t-mips16 to tmake_file.
11287         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
11288         (mips-*-elf*): Likewise.
11289         (mips64-*-elf*): Likewise.
11290         (mips64orion-*-elf*): Likewise.
11291         (mips*-*-rtems*): Likewise.
11292         (mipstx39-*-elf*): Likewise.
11293         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
11294         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
11295         LIBGCC_SYNC_CFLAGS.
11296         Use $(srcdir) to refer to sync.c.
11297         Use $<.
11298         ($(libgcc-sync-funcs-o)): Likewise.
11299         ($(libgcc-sync-size-funcs-s-o)): Likewise.
11300         ($(libgcc-sync-funcs-s-o)): Likewise.
11302 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
11304         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
11305         t-libunwind.
11307 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
11309         PR other/48007
11310         * config/i386/value-unwind.h: New.
11312 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
11314         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
11315         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
11316         Add to tmake_file rather than overriding it.
11318 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11320         * config/t-softfp: Remove.
11321         * soft-fp: Moved from ../gcc/config.
11322         * soft-fp/README: Remove t-softfp reference.
11323         * soft-fp/t-softfp: Move to config/t-softfp.
11324         (softfp_machine_header): Remove.
11325         (softfp_file_list): Remove config subdir.
11326         (soft-fp-objects): New variable.
11327         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
11328         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
11329         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
11330         * config/t-softfp-excl: New file.
11331         * config/t-softfp-sfdf: New file.
11332         * config/t-softfp-tf: New file.
11333         * config/no-sfp-machine.h: New file.
11334         * config/arm/sfp-machine.h: New file.
11335         * config/arm/t-softfp: New file.
11336         * config/c6x/sfp-machine.h: New file.
11337         * config/i386/32/t-fprules-softfp: Rename to ...
11338         * config/i386/32/t-softfp: ... this.
11339         (tifunctions, LIB2ADD): Remove.
11340         (softfp_int_modes): Override.
11341         * config/i386/64/t-softfp-compat (tf-functions): Remove config
11342         subdir.
11343         * config/i386/64/eqtf2.c: Likewise.
11344         * config/i386/64/getf2.c: Likewise.
11345         * config/i386/64/letf2.c: Likewise.
11346         * config/ia64/sft-machine.h: New file.
11347         * config/ia64/t-fprules-softfp: Rename to ...
11348         * config/ia64/t-softfp: ... this.
11349         * config/lm32/sfp-machine.h: New file.
11350         * config/moxie/t-moxie-softfp: Remove.
11351         * config/rs6000/ibm-ldouble-format: New file.
11352         * config/rs6000/ibm-ldouble.c: New file.
11353         * config/rs6000/libgcc-ppc-glibc.ver: New file
11354         * config/rs6000/libgcc-ppc64.ver: New file
11355         * config/rs6000/sfp-machine.h: New file.
11356         * config/rs6000/t-freebsd: New file.
11357         * config/rs6000/t-ibm-ldouble: New file.
11358         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
11359         libgcc-ppc-glibc.ver.
11360         * config/rs6000/t-linux64: New file.
11361         * config/rs6000/t-ppccomm (LIB2ADD): Add
11362         $(srcdir)/config/rs6000/ibm-ldouble.c.
11363         * config/rs6000/t-ppccomm-ldbl: New file.
11364         * config/score/sfp-machine.h: New file.
11365         * config.host (sfp_machine_header): Explain.
11366         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
11367         t-softfp to tmake_file.
11368         (arm*-*-uclinux*): Likewise.
11369         (arm*-*-ecos-elf): Likewise.
11370         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11371         (arm*-*-rtems*): Likewise.
11372         (arm*-*-elf): Likewise.
11373         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
11374         in tmake_file.
11375         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
11376         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
11377         (lm32-*-uclinux*): Likewise.
11378         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
11379         t-softfp-excl, t-softfp.
11380         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
11381         (powerpc64-*-darwin*): Likewise.
11382         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
11383         to tmake_file.
11384         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
11385         tmake_file.
11386         (powerpc-*-eabisim*): Likewise.
11387         (powerpc-*-elf*): Likewise.
11388         (powerpc-*-eabialtivec*): Likewise.
11389         (powerpc-xilinx-eabi*): Likewise.
11390         (powerpc-*-rtems*): Likewise.
11391         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
11392         t-softfp-excl, t-softfp to tmake_file.
11393         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
11394         rs6000/t-ppccomm-ldbl to tmake_file.
11395         (powerpcle-*-elf*): Likewise.
11396         (powerpcle-*-eabisim*): Likewise.
11397         (powerpcle-*-eabi*): Likewise.
11398         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11399         rs6000/t-ibm-ldouble to tmake_file.
11400         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11401         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11402         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
11403         (tic6x-*-*): Likewise.
11404         (i[34567]86-*-darwin*, x86_64-*-darwin*,
11405         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
11406         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
11407         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
11408         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
11409         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
11410         t-softfp to tmake_file.
11411         * configure.ac (sfp_machine_header): Provide default if unset.
11412         Substitute.
11413         Link sfp-machine.h to config/$sfp_machine_header.
11414         * configure: Regenerate.
11416 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11418         * Makefile.in (double_type_size, long_double_type_size): Set.
11419         Remove $(fpbit-in-libgcc) support.
11420         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
11421         (fpbit-src): New variable.
11422         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
11423         Compile with -DFLOAT $(FPBIT_CFLAGS).
11424         Use $<.
11425         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
11426         Compile with $(FPBIT_CFLAGS).
11427         Use $<.
11428         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
11429         Compile with -DFLOAT $(TPBIT_CFLAGS).
11430         Use $<.
11431         * configure.ac (double_type_size, long_double_type_size):
11432         Determine and substitute.
11433         * configure: Regenerate.
11434         * fp-bit.c, fp-bit.h: New files.
11435         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
11436         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
11437         * config/mips/t-mips: New file.
11438         * config/mips/t-sdemtk: New file.
11439         * config/rs6000/ppc64-fp.c: New file.
11440         * config/rs6000/t-darwin (LIB2ADD): Add
11441         $(srcdir)/config/rs6000/ppc64-fp.c.
11442         * config/rs6000/t-ppc64-fp: New file.
11443         * config/rx/rx-lib.h: New file.
11444         * config/rx/t-rx (FPBIT): Set to true.
11445         ($(gcc_objdir)/fp-bit.c): Remove.
11446         (DPBIT): Set to true only with -m64bit-doubles.
11447         ($(gcc_objdir)/dp-bit.c): Remove.
11448         * config/sparc/t-softfp: Remove.
11449         * config/spu/t-elf: New file.
11450         * config/t-fdpbit, config/t-fpbit: New files.
11451         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
11452         (mips*-*-*): Likewise.
11453         (arm-wrs-vxworks): Likewise.
11454         (arm*-*-freebsd*): Likewise.
11455         (avr-*-rtems*): Add t-fpbit to tmake_file.
11456         (avr-*-*): Likewise.
11457         (bfin*-elf*): Add t-fdpbit to tmake_file.
11458         (bfin*-uclinux*): Likewise.
11459         (bfin*-linux-uclibc*): Likewise.
11460         (bfin*-rtems*): New case.
11461         Add t-fdpbit to tmake_file.
11462         (bfin*-*): Add t-fdpbit to tmake_file.
11463         (crisv32-*-elf): Likewise.
11464         (cris-*-linux*): Likewise.
11465         (fr30-*-elf): Likewise.
11466         (frv-*-elf, frv-*-*linux*): Likewise.
11467         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
11468         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
11469         (m32r-*-elf*): Likewise.
11470         (m32rle-*-elf*): Likewise.
11471         (m32r-*-linux*): Likewise.
11472         (m32rle-*-linux*): Likewise.
11473         (mcore-*-elf): Add t-fdpbit to tmake_file.
11474         (microblaze*-*-*): Likewise.
11475         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
11476         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
11477         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
11478         Fix typo.
11479         Add mips/t-tpbit to tmake-file.
11480         (mips*-*-linux*): Fix typo.
11481         (mips*-sde-elf*): New case
11482         Add mips/t-sdemtk unless using newlib.
11483         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
11484         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
11485         (mn10300-*-*): Likewise.
11486         (pdp11-*-*): Likewise.
11487         (picochip-*-*): Add t-fpbit to tmake_file.
11488         (powerpc-*-eabisimaltivec*): Likewise.
11489         (powerpc-*-eabisim*): Likewise.
11490         (powerpc-*-elf*): Likewise.
11491         (powerpc-*-eabialtivec*): Likewise.
11492         (powerpc-xilinx-eabi*): New case.
11493         Add t-fdpbit to tmake_file.
11494         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
11495         (powerpc-*-rtems*): Likewise.
11496         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
11497         tmake_file.
11498         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
11499         tmake_file.
11500         (powerpc-*-lynxos*): Likewise.
11501         (powerpcle-*-elf*): Likewise.
11502         (powerpcle-*-eabisim*): Likewise.
11503         (powerpcle-*-eabi*): Likewise.
11504         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11505         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
11506         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11507         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11508         (rx-*-elf): Add t-fdpbit to tmake_file.
11509         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11510         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11511         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11512         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
11513         sh*-*-netbsd*.
11514         (sh-*-rtems*): Add t-fdpbit to tmake_file.
11515         (sh-wrs-vxworks): Likewise.
11516         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
11517         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
11518         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
11519         (sparc64-*-rtems*): ... new case.
11520         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
11521         (spu-*-elf*): Likewise.
11522         Add spu/t-elf to tmake_file.
11523         (v850*-*-*): Add t-fdpbit to tmake_file.
11524         (xstormy16-*-elf): Likewise.
11525         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
11526         (mep*-*-*): Likewise.
11528 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11530         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
11531         variables.
11532         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
11533         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
11534         (install-unwind_h): New target.
11535         (all): Depend on it.
11536         * config.host (unwind_header): New variable.
11537         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
11538         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11539         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
11540         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
11541         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
11542         Set unwind_header.
11543         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
11544         Set unwind_header.
11545         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
11546         arm*-*-eabi*.
11547         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
11548         Set unwind_header.
11549         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
11550         (ia64*-*-freebsd*): Likewise.
11551         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
11552         tmake_file.
11553         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
11554         $with_system_libunwind.
11555         (ia64*-*-hpux*): Set tmake_file.
11556         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
11557         (picochip-*-*): Set tmake_file.
11558         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
11559         md_unwind_header.
11560         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11561         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11562         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
11563         (xtensa*-*-elf*): Set tmake_file.
11564         (xtensa*-*-linux*): Likewise.
11565         * configure.ac: Include ../config/unwind_ipinfo.m4.
11566         Call GCC_CHECK_UNWIND_GETIPINFO.
11567         Link unwind.h to $unwind_header.
11568         * configure: Regenerate.
11569         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
11570         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
11571         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
11572         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
11573         * config/unwind-dw2-fde-darwin.c: New file.
11574         * config/arm/libunwind.S, config/arm/pr-support.c,
11575         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
11576         config/arm/unwind-arm.h,: New files.
11577         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
11578         config/ia64/t-eh-ia64, config/ia64/t-glibc,
11579         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
11580         config/ia64/t-vms, config/ia64/unwind-ia64.c,
11581         config/ia64/unwind-ia64.h: New files.
11582         * config/picochip/t-picochip: New file.
11583         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
11584         files.
11585         * config/rs6000/t-darwin (LIB2ADDEH): Set.
11586         * config/s390/t-tpf (LIB2ADDEH): Remove.
11587         * config/t-darwin (LIB2ADDEH): Set.
11588         * config/t-eh-dw2-dip: New file.
11589         * config/t-libunwind, config/t-libunwind-elf: New files.
11590         * config/t-sol2 (LIB2ADDEH): Remove.
11591         * config/xtensa/t-xtensa: New file.
11593 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
11595         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
11596         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
11597         long long to check rt_sigreturn syscall.
11599 2011-08-02  Alan Modra  <amodra@gmail.com>
11601         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11602         Restore for indirect call bcrtl from correct stack slot, and only
11603         if cfa+40 isn't valid.
11605 2011-08-01  Julian Brown  <julian@codesourcery.com>
11607         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
11608         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
11609         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
11611 2011-08-01  Julian Brown  <julian@codesourcery.com>
11613         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
11614         (libgcc-std.ver.in): Use above.
11615         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
11616         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
11617         throughout file.
11618         * config/t-fixedpoint-gnu-prefix: New file.
11619         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
11620         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
11621         instead of __PFX__.
11623 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
11625         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
11626         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
11627         for x86-64.  Properly check __x86_64__ and __LP64__.
11629 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
11631         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
11632         version.
11633         (_FP_WS_TYPE): Likewise.
11634         (_FP_I_TYPE): Likewise.
11636 2011-07-28  Alan Modra  <amodra@gmail.com>
11638         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11639         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
11640         in a plt call stub.  Do restore r2 if stopped on bctrl.
11642 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11644         * config.host (i[3456x]86-*-netware*): Remove.
11645         * config/i386/netware-crt0.c, config/i386/t-nwld,
11646         config/i386/t-slibgcc-nwld: Remove.
11648 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
11650         * config.host: Handle tic6x-*-*.
11651         * config/c6x/c6x-abi.h: New file.
11653 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11655         * config/i386/crtprec.c: New file.
11656         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
11657         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
11658         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
11659         (x86_64-*-darwin*): Likewise.
11660         (i[34567]86-*-solaris2*: Likewise.
11662 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11664         * config/alpha/crtfastmath.c: New file.
11665         * config/i386/crtfastmath.c: New file.
11666         * config/ia64/crtfastmath.c: New file.
11667         * config/mips/crtfastmath.c: New file.
11668         * config/sparc/crtfastmath.c: New file.
11670         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
11671         crtfastmath.c.
11672         Add -frandom-seed=gcc-crtfastmath.
11673         * config/alpha/t-crtfm: Remove.
11674         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
11675         * config/ia64/t-ia64 (crtfastmath.o): Remove.
11677         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
11678         (alpha*-dec-osf5.1*): Likewise.
11679         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
11680         Add crtfastmath.o to extra_parts.
11681         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
11682         Add crtfastmath.o to extra_parts.
11683         (x86_64-*-darwin*): Likewise.
11684         (x86_64-*-mingw*): Likewise.
11685         (ia64*-*-elf*): Add t-crtfm to tmake_file.
11686         (ia64*-*-freebsd*): Likewise.
11687         (ia64*-*-linux*): Likewise.
11688         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
11689         Add crtfastmath.o to extra_parts.
11691 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11693         * config/darwin-crt3.o: New file.
11694         * config/rs6000/darwin-crt2.c: New file.
11695         * config/t-darwin: New file.
11696         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
11697         (crt2.o): New rule.
11698         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
11699         (powerpc-*-darwin*): Add crt2.o to extra_parts.
11700         (powerpc64-*-darwin*): Likewise.
11702 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11704         * config/i386/netware-crt0.c: New file.
11705         * config/i386/t-nwld: Rename to ...
11706         * config/i386/t-slibgcc-nwld: ... this.
11707         * config/i386/t-nwld: New file.
11708         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
11709         tmake_file.
11710         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
11711         extra_parts.
11713 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11715         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
11716         i386/t-crtstuff.
11717         * configure: Regenerate.
11719 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11721         * dfp-bit.c, dfp-bit.h: New files.
11722         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
11723         variables.
11724         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
11725         ($(d64pbit-o)): Likewise.
11726         ($(d128pbit-o)): Likewise.
11727         * config/t-dfprules: New file.
11728         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
11729         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
11730         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11731         (x86_64-*-linux*): Likewise.
11732         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11733         (i[34567]86-*-cygwin*): Likewise.
11734         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
11735         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11737 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11739         * Makfile.in (LIBGCOV): New variable.
11740         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
11741         * libgcov.c: New file.
11743 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11745         * fixed-bit.c, fixed-bit.h: New files.
11746         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
11747         refer to fixed-bit.c.
11749 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
11751         * config.host (*local*): Remove.
11753 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11755         PR target/39150
11756         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
11757         like i?86-*-solaris2.1[0-9]*.
11758         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
11759         * configure.ac (i?86-*-solaris2*): Likewise.
11760         * configure: Regenerate.
11762 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
11764         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11765         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
11766         md_unwind_header by splitting out of...
11767         (i[34567]86-*-linux*): ... this.
11768         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
11769         Remove md_unwind_header by splitting out of...
11770         (x86_64-*-linux*): ... this.
11772 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
11774         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
11776 2011-06-28  Nick Clifton  <nickc@redhat.com>
11778         * config.host: Recognize all V850 variants.
11780 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
11782         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
11784 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11786         * shared-object.mk (c_flags-$o): Save c_flags.
11787         ($(base)$(objext)): Use it.
11788         ($(base)_s$(objext)): Likewise.
11790 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
11792         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
11793         * libgcc-std.ver.in (GCC_4.7.0): New section.
11795 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
11797         PR target/49313
11798         PR target/29524
11799         * config/avr/t-avr: Fix line endings.
11800         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
11801         _parityXX2.
11803 2011-06-14  Olivier Hainque  <hainque@adacore.com>
11804             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11806         * config/mips/irix6-unwind.h: New file.
11807         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
11809 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
11811         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
11812         (sparc64_fallback_frame_state): Use it.
11813         (sparc64_frob_update_context): Further adjust context.
11814         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
11815         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
11816         * config/sparc/sol2-cn.S: Likewise.
11818 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11820         * enable-execute-stack-empty.c: New file.
11821         * enable-execute-stack-mprotect.c: New file.
11822         * config/i386/enable-execute-stack-mingw32.c: New file.
11823         * config.host (enable_execute_stack): New variable.
11824         Select appropriate variants.
11825         * configure.ac: Link enable-execute-stack.c to
11826         $enable_execute_stack.
11827         * configure: Regenerate.
11828         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
11829         (lib2funcs): Remove _enable_execute_stack.
11831 2011-06-09  David S. Miller  <davem@davemloft.net>
11832             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11834         * config.host (sparc-*-linux*): Correct md_unwind_header
11835         filename.
11836         (s390x-ibm-tpf*): Fix typo.
11838 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11840         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
11841         Add crtfastmath.o to extra_parts.
11842         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
11843         mips/t-crtfm.
11844         * config/mips/t-crtfm: Remove.
11846 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
11848         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
11850 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
11852         * config.host (sh*-*-linux*): Fix typo.
11854 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11856         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
11857         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
11858         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
11859         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
11860         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
11861         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
11862         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
11863         Wrap in !__MINGW64__.
11864         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
11865         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
11866         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
11867         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
11868         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
11869         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
11870         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
11871         Wrap in !__LP64__.
11872         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
11873         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
11874         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
11875         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
11876         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
11877         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
11878         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
11879         * config/no-unwind.h: New file.
11880         * config.host (md_unwind_header): Document.
11881         Define.
11882         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
11883         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
11884         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
11885         hppa[12]*-*-hpux11*): Set md_unwind_header.
11886         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
11887         Set md_unwind_header.
11888         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
11889         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
11890         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
11891         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
11892         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
11893         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
11894         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
11895         md_unwind_header.
11896         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
11897         * configure: Regenerate.
11899 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11901         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
11902         Set tmake_file, extra_parts.
11903         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
11904         Remove O32 support.
11905         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
11906         Remove O32 support.
11907         * config/mips/t-irix6: New file.
11908         * config/mips/t-slibgcc-irix: New file.
11910 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11912         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
11913         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
11915 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11917         * configure.ac (target_thread_file): Determine thread model.
11918         * configure: Regenerate.
11919         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
11920         * config/alpha/t-alpha: New file.
11921         * config/alpha/t-crtfm: Use $<.
11922         * config/alpha/t-ieee: New file.
11923         * config/alpha/t-osf-pthread: New file.
11924         * config/alpha/t-slibgcc-osf: New file.
11925         * config/alpha/libgcc-osf5.ver: New file.
11927 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11929         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
11930         tmake_file.
11931         Add crtfastmath.o to extra_parts.
11933 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11935         * config/gmon-sol2.c: Reindent.
11936         Cleanup comments.
11937         Remove, correct casts.
11938         Use STDERR_FILENO, NULL.
11939         (BASEADDRESS): Remove.
11940         (minbrk): Remove.
11941         (errno, sbrk): Remove declarations.
11942         (monstartup) [hp300]: Remove.
11943         (mcount): Remove.
11945 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11947         * Makefile.in (cpu_type): Define.
11948         * config.host (i[34567]86-*-rtems*): Handle it.
11949         (i[34567]86-*-solaris2*): Move body ...
11950         (*-*-solaris2*): ... here.
11951         New case, generalize.
11952         (sparc-*-elf*): Handle it.
11953         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
11954         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
11955         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
11956         Fold into ...
11957         (sparc*-*-solaris2*): ... this.
11958         New case.
11959         (sparc64-*-elf*): Handle it.
11960         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
11961         Merge ../gcc/config/i386/gmon-sol2.c.
11962         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
11963         Use C comments.
11964         Merge ../gcc/config/i386/sol2-gc1.asm.
11965         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
11966         Use C comments.
11967         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
11968         Use C comments.
11969         * config/i386/t-crtfm (crtfastmath.o): Use $<.
11970         * config/i386/t-crtstuff: New file.
11971         * config/i386/t-softfp: New file.
11972         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
11973         $(T)crti.o, $(T)crtn.o): Remove.
11974         (gcrt1.o): New rule.
11975         (TARGET_LIBGCC2_CFLAGS): Remove.
11976         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
11977         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
11978         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
11979         * config/sparc/t-sol2: New file.
11980         * config/sparc/t-crtfm: Move to ...
11981         * config/t-crtfm: ... this.
11982         Use $(cpu_type), $<.
11983         * config/t-crtin: New file.
11984         * config/sparc/t-softfp: New file.
11985         * config/sparc/t-softmul: New file.
11986         * config/t-rtems: New file.
11987         * config/t-slibgcc: New file.
11988         * config/t-slibgcc-elf-ver: New file.
11989         * config/t-slibgcc-gld: New file.
11990         * config/t-slibgcc-sld: New file.
11991         * config/t-sol2: New file.
11992         * configure.ac: Include ../config/lib-ld.m4.
11993         Call AC_LIB_PROG_LD_GNU.
11994         Substitute cpu_type.
11995         * configure: Regenerate.
11997 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
11999         PR bootstrap/49173
12000         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
12001         libgcc-std.ver in the build directory.
12002         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
12003         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
12005 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
12007         * libgcc-std.ver.in: New file.
12008         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
12009         variables.
12010         (libgcc-std.ver): New rule.
12011         * config/t-gnu-prefix: New file.
12013 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12015         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
12017 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
12019         * config/i386/darwin-lib.h: New file.
12021 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
12023         * config/arm/symbian-lib.h: New.
12025 2011-05-04  Chris Demetriou  <cgd@google.com>
12027         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
12028         (__x86.get_pc_thunk.bx): ...this.
12029         (__morestack): Adjust for rename, remove undef of __i686.
12031 2011-05-03  Chris Demetriou  <cgd@google.com>
12033         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
12035 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
12037         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
12038         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
12039         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
12040         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
12041         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
12042         Remove cases.
12044 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
12046         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
12047         Adjust copyright year.
12049 2011-03-07  Ian Lance Taylor  <iant@google.com>
12051         * generic-morestack.c (__splitstack_find): Adjust returned stack
12052         pointer to include all registers pushed by __morestack.
12054 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
12056         PR target/40125
12057         * configure.ac: Call ACX_NONCANONICAL_TARGET.
12058         (toolexecdir): Calculate and AC_SUBST.
12059         (toolexeclibdir): Likewise.
12060         * Makefile.in (target_noncanonical): Import.
12061         (toolexecdir): Likewise.
12062         (toolexeclibdir): Likewise.
12063         * configure: Regenerate.
12065 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
12067         PR target/46040
12068         * config/arm/bpabi.h: Rename to...
12069         * config/arm/bpabi-lib.h: ...this.
12071 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12073         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
12074         appropriate.
12075         * configure: Regenerate.
12077 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
12079         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
12080         __FLOAT_WORD_ORDER__.
12081         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
12082         Delete.
12084 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12086         PR other/46202
12087         * Makefile.in (install-strip): New phony target.
12089 2010-11-07  Ian Lance Taylor  <iant@google.com>
12091         PR target/46089
12092         * config/i386/morestack.S (__morestack_large_model): New
12093         function.
12095 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
12097         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
12098         Delete.
12099         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
12101 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
12103         * config/arm/bpabi.h: New file.
12104         * config/frv/frv-abi.h: New file.
12106 2010-10-01  Ian Lance Taylor  <iant@google.com>
12108         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
12109         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
12111 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
12113         PR target/45858
12114         * config.host: Add the missing `$'.
12116 2010-09-30  Michael Eager  <eager@eagercon.com>
12118         * config.host: Add microblaze*-*-*.
12119         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
12120         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
12121         udivsi3.asm,umodsi3.asm}:  New.
12123 2010-09-28  Ian Lance Taylor  <iant@google.com>
12125         * configure.ac: Adjust CFI test to test assembler directly rather
12126         than checking gcc preprocessor macro.
12127         * configure: Rebuild.
12129 2010-09-27  Ian Lance Taylor  <iant@google.com>
12131         * configure.ac: Test whether assembler supports CFI directives.
12132         * config.host: Only add t-stack and i386/t-stack-i386 to
12133         tmake_file if libgcc_cv_cfi is "yes".
12134         * configure: Rebuild.
12136 2010-09-27  Ian Lance Taylor  <iant@google.com>
12138         * generic-morestack.h: New file.
12139         * generic-morestack.c: New file.
12140         * generic-morestack-thread.c: New file.
12141         * config/i386/morestack.S: New file.
12142         * config/t-stack: New file.
12143         * config/i386/t-stack-i386: New file.
12144         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
12145         i386/t-stack-i386 to tmake_file.
12147 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
12149         * Makefile.in (libgcc-extra-parts):  Check for static archives and
12150         invoke ranlib after installing them.
12151         (gcc-extra-parts): Likewise.
12152         (install-leaf): Likewise.
12154 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
12156         * configure: Regenerated.
12158 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
12160         * configure: Regenerated.
12162 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
12163             Andrew Pinski  <pinskia@gmail.com>
12165         PR target/40959
12166         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
12168 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12170         PR target/45524
12171         * configure: Regenerated.
12173 2010-09-06  Andreas Schwab  <schwab@redhat.com>
12175         * configure: Regenerate.
12177 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
12179         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
12180         64bit targets.
12181         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
12182         for 64bit targets.
12184 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
12185             Iain Sandoe  <iains@gcc.gnu.org>
12187         PR target/45476
12188         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
12189         LIB2FUNCS_EXCLUDE functions.
12191 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12193         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
12194         Include dfp.m4.
12195         * configure: Regenerate.
12197 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
12199         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
12200         i386/t-freebsd to tmake_file.
12201         * config/i386/t-freebsd: New file.
12202         * config/i386/libgcc-bsd.ver: New file.
12204 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
12206         * config.host (powerpc*-eabispe*): Set tmake_file.
12207         (powerpc*-eabi*): Likewise.
12208         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
12209         crtbeginS, crtendS, crtbeginT.
12211 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
12213         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
12214         to tmake_file.  Add crtfastmath.o to extra_parts.
12215         * config/mips/t-crtfm: New.
12217 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
12219         * config.host (sparc64-*-rtems*): New target.
12221 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12223         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12224         assembler syntax.
12226 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
12228         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
12230 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12232         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
12233         alpha-dec-osf5.0* support.
12235 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
12237         * config.host: Add lm32-*-rtems*.
12239 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12240             Uros Bizjak  <ubizjak@gmail.com>
12242         PR target/39048
12243         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
12244         like other remaining 32-bit x86 OSes.
12245         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12246         assembler syntax.
12247         * config/i386/libgcc-sol2.ver: New file.
12248         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
12250 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
12252         PR c/43553
12253         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
12254         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
12255         is used and substitute set_use_emutls.
12256         * configure: Regenerated.
12258 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
12260         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
12262 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12264         PR target/38085
12265         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
12266         MULTILIB_CFLAGS.
12267         ($(T)gcrt1.o): Likewise.
12268         ($(T)crt1.o): Likewise.
12269         ($(T)crti.o): Likewise.
12270         ($(T)crtn.o): Likewise.
12272 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12274         PR other/42980
12275         * Makefile.in (install): Use $(MAKE) string in rule, for
12276         parallel make.
12278 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
12280         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
12281         * config/mmix/t-mmix: New file.
12282         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
12284 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
12286         PR java/41991
12287         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
12288         SHLIB_MAPFILES.
12290 2010-01-04  Anthony Green  <green@moxielogic.com>
12292         * config/moxie/crti.asm, config/moxie/crtn.asm,
12293         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
12294         config/moxie/t-moxie: New files.
12295         * config.host: Add t-moxie-softfp reference.
12297 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
12299         PR other/39888
12300         * config/t-slibgcc-darwin: Fix embedded rpaths for
12301         --enable-version-specific-runtime-libs, build extension stub
12302         libs exposing features available from current libgcc_s.
12304 2009-11-11  Jon Beniston  <jon@beniston.com>
12306         * config.host: Add lm32 targets.
12307         * config/lm32: New directory.
12308         * config/lm32/libgcc_lm32.h: New file.
12309         * config/lm32/_mulsi3.c: New file.
12310         * config/lm32/_udivmodsi4.c: New file.
12311         * config/lm32/_divsi3.c: New file.
12312         * config/lm32/_modsi3.c: New file.
12313         * config/lm32/_udivsi3.c: New file.
12314         * config/lm32/_umodsi3.c: New file.
12315         * config/lm32/_lshrsi3.S: New file.
12316         * config/lm32/_ashrsi3.S: New file.
12317         * config/lm32/_ashlsi3.S: New file.
12318         * config/lm32/crti.S: New file.
12319         * config/lm32/crtn.S: New file.
12320         * config/lm32/t-lm32: New file.
12321         * config/lm32/t-elf: New file.
12322         * config/lm32/t-uclinux: New file.
12324 2009-10-26  Nick Clifton  <nickc@redhat.com>
12326         * config.host: Add support for RX target.
12327         * config/rx: New directory.
12328         * config/rx/rx-abi-functions.c: New file. Supplementary
12329         functions for libgcc to support the RX ABI.
12330         * config/rx/rx-abi.h: New file.  Supplementary header file for
12331         libgcc RX ABI functions.
12332         * config/rx/t-rx: New file: Makefile fragment for building
12333         libgcc for the RX.
12335 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
12337         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
12338         constraint of y0 to "g".
12340 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12342         * config.host: Include the s390 makefile fragments.
12343         * config/s390/32/_fixdfdi.c: New file.
12344         * config/s390/32/_fixsfdi.c: New file.
12345         * config/s390/32/_fixtfdi.c: New file.
12346         * config/s390/32/_fixunsdfdi.c: New file.
12347         * config/s390/32/_fixunssfdi.c: New file.
12348         * config/s390/32/_fixunstfdi.c: New file.
12349         * config/s390/32/t-floattodi: New file.
12350         * config/s390/libgcc-glibc.ver: New file.
12351         * config/s390/t-crtstuff: New file.
12352         * config/s390/t-linux: New file.
12353         * config/s390/t-tpf: New file.
12355 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12357         * configure.ac (AC_PREREQ): Bump to 2.64.
12359 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
12361         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
12363 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12365         * configure: Regenerate.
12367 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
12369         * config.host (ia64-hp-*vms*): New target.
12370         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
12371         with ia64-hp-*vms*.
12373 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12375         * configure.ac: Add snippet for maintainer-mode.
12376         * configure: Regenerate.
12377         * Makefile.in (AUTOCONF, configure_deps): New variables.
12378         ($(srcdir)/configure)): New rule, active only with maintainer
12379         mode turned on.
12381 2009-06-23  DJ Delorie  <dj@redhat.com>
12383         Add MeP port.
12384         * config.host: Add mep support.
12386 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
12388         * config.host: Add i386/${host_address}/t-fprules-softfp and
12389         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
12391         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
12392         for mingw targets.
12393         * config/i386/64/_multc3.c: Likewise.
12394         * config/i386/64/_powitf2.c: Likewise.
12395         * config/i386/64/eqtf2.c: Likewise.
12396         * config/i386/64/getf2.c: Likewise.
12397         * config/i386/64/letf2.c: Likewise.
12398         * config/i386/64/letf2.c: Likewise.
12399         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
12400         unsigned long long for x64 mingw targets.
12401         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
12402         (_FP_I_TYPE): Define as long long for x64 mingw target.
12404 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
12406         * config.host (vax-*-linux*): New.
12408 2009-05-31  Anthony Green  <green@moxielogic.com>
12410         * config.host: Add moxie support.
12411         * config/moxie/t-moxie: New file.
12413 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
12415         * config.host: Add i386/${host_address}/t-fprules-softfp and
12416         t-softfp to tmake_file for i[34567]86-*-cygwin*.
12418 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
12420         * config.host: Add i386/${host_address}/t-fprules-softfp to
12421         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
12423 2009-04-09  Nick Clifton  <nickc@redhat.com>
12425         * config/ia64/tf-signs.c: Change copyright header to refer to
12426         version 3 of the GNU General Public License with version 3.1
12427         of the GCC Runtime Library Exception and to point readers at
12428         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
12429         web page.
12430         * config/i386/32/tf-signs.c: Likewise.
12431         * config/libbid/_addsub_dd.c: Likewise.
12432         * config/libbid/_addsub_sd.c: Likewise.
12433         * config/libbid/_addsub_td.c: Likewise.
12434         * config/libbid/_dd_to_df.c: Likewise.
12435         * config/libbid/_dd_to_di.c: Likewise.
12436         * config/libbid/_dd_to_sd.c: Likewise.
12437         * config/libbid/_dd_to_sf.c: Likewise.
12438         * config/libbid/_dd_to_si.c: Likewise.
12439         * config/libbid/_dd_to_td.c: Likewise.
12440         * config/libbid/_dd_to_tf.c: Likewise.
12441         * config/libbid/_dd_to_udi.c: Likewise.
12442         * config/libbid/_dd_to_usi.c: Likewise.
12443         * config/libbid/_dd_to_xf.c: Likewise.
12444         * config/libbid/_df_to_dd.c: Likewise.
12445         * config/libbid/_df_to_sd.c: Likewise.
12446         * config/libbid/_df_to_td.c: Likewise.
12447         * config/libbid/_di_to_dd.c: Likewise.
12448         * config/libbid/_di_to_sd.c: Likewise.
12449         * config/libbid/_di_to_td.c: Likewise.
12450         * config/libbid/_div_dd.c: Likewise.
12451         * config/libbid/_div_sd.c: Likewise.
12452         * config/libbid/_div_td.c: Likewise.
12453         * config/libbid/_eq_dd.c: Likewise.
12454         * config/libbid/_eq_sd.c: Likewise.
12455         * config/libbid/_eq_td.c: Likewise.
12456         * config/libbid/_ge_dd.c: Likewise.
12457         * config/libbid/_ge_sd.c: Likewise.
12458         * config/libbid/_ge_td.c: Likewise.
12459         * config/libbid/_gt_dd.c: Likewise.
12460         * config/libbid/_gt_sd.c: Likewise.
12461         * config/libbid/_gt_td.c: Likewise.
12462         * config/libbid/_isinfd128.c: Likewise.
12463         * config/libbid/_isinfd32.c: Likewise.
12464         * config/libbid/_isinfd64.c: Likewise.
12465         * config/libbid/_le_dd.c: Likewise.
12466         * config/libbid/_le_sd.c: Likewise.
12467         * config/libbid/_le_td.c: Likewise.
12468         * config/libbid/_lt_dd.c: Likewise.
12469         * config/libbid/_lt_sd.c: Likewise.
12470         * config/libbid/_lt_td.c: Likewise.
12471         * config/libbid/_mul_dd.c: Likewise.
12472         * config/libbid/_mul_sd.c: Likewise.
12473         * config/libbid/_mul_td.c: Likewise.
12474         * config/libbid/_ne_dd.c: Likewise.
12475         * config/libbid/_ne_sd.c: Likewise.
12476         * config/libbid/_ne_td.c: Likewise.
12477         * config/libbid/_sd_to_dd.c: Likewise.
12478         * config/libbid/_sd_to_df.c: Likewise.
12479         * config/libbid/_sd_to_di.c: Likewise.
12480         * config/libbid/_sd_to_sf.c: Likewise.
12481         * config/libbid/_sd_to_si.c: Likewise.
12482         * config/libbid/_sd_to_td.c: Likewise.
12483         * config/libbid/_sd_to_tf.c: Likewise.
12484         * config/libbid/_sd_to_udi.c: Likewise.
12485         * config/libbid/_sd_to_usi.c: Likewise.
12486         * config/libbid/_sd_to_xf.c: Likewise.
12487         * config/libbid/_sf_to_dd.c: Likewise.
12488         * config/libbid/_sf_to_sd.c: Likewise.
12489         * config/libbid/_sf_to_td.c: Likewise.
12490         * config/libbid/_si_to_dd.c: Likewise.
12491         * config/libbid/_si_to_sd.c: Likewise.
12492         * config/libbid/_si_to_td.c: Likewise.
12493         * config/libbid/_td_to_dd.c: Likewise.
12494         * config/libbid/_td_to_df.c: Likewise.
12495         * config/libbid/_td_to_di.c: Likewise.
12496         * config/libbid/_td_to_sd.c: Likewise.
12497         * config/libbid/_td_to_sf.c: Likewise.
12498         * config/libbid/_td_to_si.c: Likewise.
12499         * config/libbid/_td_to_tf.c: Likewise.
12500         * config/libbid/_td_to_udi.c: Likewise.
12501         * config/libbid/_td_to_usi.c: Likewise.
12502         * config/libbid/_td_to_xf.c: Likewise.
12503         * config/libbid/_tf_to_dd.c: Likewise.
12504         * config/libbid/_tf_to_sd.c: Likewise.
12505         * config/libbid/_tf_to_td.c: Likewise.
12506         * config/libbid/_udi_to_dd.c: Likewise.
12507         * config/libbid/_udi_to_sd.c: Likewise.
12508         * config/libbid/_udi_to_td.c: Likewise.
12509         * config/libbid/_unord_dd.c: Likewise.
12510         * config/libbid/_unord_sd.c: Likewise.
12511         * config/libbid/_unord_td.c: Likewise.
12512         * config/libbid/_usi_to_dd.c: Likewise.
12513         * config/libbid/_usi_to_sd.c: Likewise.
12514         * config/libbid/_usi_to_td.c: Likewise.
12515         * config/libbid/_xf_to_dd.c: Likewise.
12516         * config/libbid/_xf_to_sd.c: Likewise.
12517         * config/libbid/_xf_to_td.c: Likewise.
12518         * config/libbid/bid128.c: Likewise.
12519         * config/libbid/bid128_2_str.h: Likewise.
12520         * config/libbid/bid128_2_str_macros.h: Likewise.
12521         * config/libbid/bid128_2_str_tables.c: Likewise.
12522         * config/libbid/bid128_add.c: Likewise.
12523         * config/libbid/bid128_compare.c: Likewise.
12524         * config/libbid/bid128_div.c: Likewise.
12525         * config/libbid/bid128_fma.c: Likewise.
12526         * config/libbid/bid128_logb.c: Likewise.
12527         * config/libbid/bid128_minmax.c: Likewise.
12528         * config/libbid/bid128_mul.c: Likewise.
12529         * config/libbid/bid128_next.c: Likewise.
12530         * config/libbid/bid128_noncomp.c: Likewise.
12531         * config/libbid/bid128_quantize.c: Likewise.
12532         * config/libbid/bid128_rem.c: Likewise.
12533         * config/libbid/bid128_round_integral.c: Likewise.
12534         * config/libbid/bid128_scalb.c: Likewise.
12535         * config/libbid/bid128_sqrt.c: Likewise.
12536         * config/libbid/bid128_string.c: Likewise.
12537         * config/libbid/bid128_to_int16.c: Likewise.
12538         * config/libbid/bid128_to_int32.c: Likewise.
12539         * config/libbid/bid128_to_int64.c: Likewise.
12540         * config/libbid/bid128_to_int8.c: Likewise.
12541         * config/libbid/bid128_to_uint16.c: Likewise.
12542         * config/libbid/bid128_to_uint32.c: Likewise.
12543         * config/libbid/bid128_to_uint64.c: Likewise.
12544         * config/libbid/bid128_to_uint8.c: Likewise.
12545         * config/libbid/bid32_to_bid128.c: Likewise.
12546         * config/libbid/bid32_to_bid64.c: Likewise.
12547         * config/libbid/bid64_add.c: Likewise.
12548         * config/libbid/bid64_compare.c: Likewise.
12549         * config/libbid/bid64_div.c: Likewise.
12550         * config/libbid/bid64_fma.c: Likewise.
12551         * config/libbid/bid64_logb.c: Likewise.
12552         * config/libbid/bid64_minmax.c: Likewise.
12553         * config/libbid/bid64_mul.c: Likewise.
12554         * config/libbid/bid64_next.c: Likewise.
12555         * config/libbid/bid64_noncomp.c: Likewise.
12556         * config/libbid/bid64_quantize.c: Likewise.
12557         * config/libbid/bid64_rem.c: Likewise.
12558         * config/libbid/bid64_round_integral.c: Likewise.
12559         * config/libbid/bid64_scalb.c: Likewise.
12560         * config/libbid/bid64_sqrt.c: Likewise.
12561         * config/libbid/bid64_string.c: Likewise.
12562         * config/libbid/bid64_to_bid128.c: Likewise.
12563         * config/libbid/bid64_to_int16.c: Likewise.
12564         * config/libbid/bid64_to_int32.c: Likewise.
12565         * config/libbid/bid64_to_int64.c: Likewise.
12566         * config/libbid/bid64_to_int8.c: Likewise.
12567         * config/libbid/bid64_to_uint16.c: Likewise.
12568         * config/libbid/bid64_to_uint32.c: Likewise.
12569         * config/libbid/bid64_to_uint64.c: Likewise.
12570         * config/libbid/bid64_to_uint8.c: Likewise.
12571         * config/libbid/bid_b2d.h: Likewise.
12572         * config/libbid/bid_binarydecimal.c: Likewise.
12573         * config/libbid/bid_conf.h: Likewise.
12574         * config/libbid/bid_convert_data.c: Likewise.
12575         * config/libbid/bid_decimal_data.c: Likewise.
12576         * config/libbid/bid_decimal_globals.c: Likewise.
12577         * config/libbid/bid_div_macros.h: Likewise.
12578         * config/libbid/bid_dpd.c: Likewise.
12579         * config/libbid/bid_flag_operations.c: Likewise.
12580         * config/libbid/bid_from_int.c: Likewise.
12581         * config/libbid/bid_functions.h: Likewise.
12582         * config/libbid/bid_gcc_intrinsics.h: Likewise.
12583         * config/libbid/bid_inline_add.h: Likewise.
12584         * config/libbid/bid_internal.h: Likewise.
12585         * config/libbid/bid_round.c: Likewise.
12586         * config/libbid/bid_sqrt_macros.h: Likewise.
12588 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
12590         * Makefile.in: Change copyright header to refer to version
12591         3 of the GNU General Public License and to point readers at the
12592         COPYING3 file and the FSF's license web page.
12593         * config.host: Likewise.
12595 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
12597         * config.host: Reorder and merge to match config.gcc change.
12599 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
12601         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
12603 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
12605         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
12606         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
12607         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
12608         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
12610 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
12612         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
12613         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12615 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
12617         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
12618         ia64/t-softfp-compat to tmake_file.
12620         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
12622         * config/ia64/__divxf3.asm: New.
12623         * config/ia64/_fixtfdi.asm: Likewise.
12624         * config/ia64/_fixunstfdi.asm: Likewise.
12625         * config/ia64/_floatditf.asm: Likewise.
12626         * config/ia64/t-fprules-softfp: Likewise.
12627         * config/ia64/t-softfp-compat: Likewise.
12628         * config/ia64/tf-signs.c: Likewise.
12630 2009-01-18  Ben Elliston  <bje@au.ibm.com>
12632         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12634 2009-01-16  Ben Elliston  <bje@au.ibm.com>
12636         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
12637         to tmake_file.
12639 2009-01-13  Ben Elliston  <bje@au.ibm.com>
12641         * config/t-softfp: New file.
12642         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
12643         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
12645 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
12647         * config.host: Add m32r*-*-rtems*.
12649 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
12651         * config.host: Add m32c*-*-rtems*.
12653 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12655         PR bootstrap/33100
12656         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
12657         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
12658         * configure: Regenerate.
12659         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
12660         tmake_file here from gcc/config.gcc.
12661         Move extra_parts here from gcc/config.gcc.
12662         * config/i386/t-sol2: Move here from gcc/config/i386.
12663         Use gcc_srcdir instead of srcdir.
12665 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
12667         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
12668         case.
12670 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
12672         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
12674 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
12676         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
12678 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
12680         Add picoChip port.
12681         * config.host: Add picochip-*-*.
12683 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
12685         * config.host: Match more processor names for Xtensa.
12687 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
12689         * config/i386/64/t-softfp-compat: Update comments.
12691 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
12693         * config/i386/64/_divtc3-compat.c: Moved to ...
12694         * config/i386/64/_divtc3.c: Here.
12696         * config/i386/64/_multc3-compat.c: Moved to ...
12697         * config/i386/64/_multc3.c: Here.
12699         * config/i386/64/_powitf2-compat.c: Moved to ...
12700         * config/i386/64/_powitf2.c: Here.
12702         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
12703         .c suffix instead of -compat.c.
12705 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
12707         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
12708         (_FP_MUL_MEAT_D): Ditto.
12709         (_FP_DIV_MEAT_S): Ditto.
12710         (_FP_DIV_MEAT_D): Ditto.
12712 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
12714         * Makefile.in: Add support for __sync_* libgcc functions.
12716 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
12718         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
12720 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12722         PR boostrap/36702
12723         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
12724         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
12726         * config/i386/64/t-fprules-softfp: Moved to ...
12727         * config/i386/64/t-softfp-compat: This.  New.
12729 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
12731         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
12732         Initialize f with 0.0.
12734 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12736         PR target/36669
12737         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
12739         * config/i386/64/_divtc3-compat.c: New.
12740         * config/i386/64/_multc3-compat.c: Likewise.
12741         * config/i386/64/_powitf2-compat.c: Likewise.
12742         * config/i386/64/eqtf2.c: Likewise.
12743         * config/i386/64/getf2.c: Likewise.
12744         * config/i386/64/letf2.c: Likewise.
12745         * config/i386/64/t-fprules-softfp: Likewise.
12747 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12749         * config.host: Add i386/${host_address}/t-fprules-softfp to
12750         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
12751         i[34567]86-*-linux*, x86_64-*-linux*.
12753         * configure.ac: Set host_address to 64 or 32 for x86.
12754         * configure: Regenerated.
12756         * Makefile.in (config.status): Also depend on
12757         $(srcdir)/config.host.
12759         * config/i386/32/t-fprules-softfp: New.
12760         * config/i386/32/tf-signs.c: Likewise.
12762         * config/i386/64/sfp-machine.h: New. Moved from gcc.
12764 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12765             Uros Bizjak  <ubizjak@gmail.com>
12767         * config/i386/32/sfp-machine.h: New.
12769 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
12771         * config/rs6000/t-ppccomm: Remove rules that conflict with
12772         auto-generated rules.
12774 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12776         * configure.ac: sinclude override.m4.
12777         * configure: Regenerate.
12779 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
12781         * configure: Regenerate.
12783 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
12785         * Makefile.in (DECNUMINC): Remove
12786         -I$(MULTIBUILDTOP)../../libdecnumber.
12787         * gstdint.h: New.
12789 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
12791         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
12792         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
12793         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
12794         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
12795         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
12796         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
12797         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
12798         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
12799         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
12800         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
12801         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
12802         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
12803         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
12804         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
12806 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
12808         * config.host (sh2[lbe]*-*-linux*): Allow target.
12810 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
12812         * config/rs6000/t-ppccomm: Add build rules for new files.
12813         (LIB2ADD_ST): New variable.
12815 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
12817         PR target/34210
12818         PR target/35508
12819         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
12820         * config/t-avr: New file. Build 16bit libgcc functions.
12822 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
12824         PR target/35401
12825         * config/t-slibgcc-darwin: Make install-leaf dependent on
12826         install-darwin-libgcc-stubs instead of install.
12828 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
12830         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
12831         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
12832         sh-*-rtemscoff*): Remove cases.
12834 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
12836         * Makefile.in (all): Use install-leaf rather than install.
12837         (install): Split most of the rule into...
12838         (install-leaf): ...this new one.
12840 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
12841             Paolo Bonzini  <bonzini@gnu.org>
12843         PR target/30572
12844         * Makefile.in: Use @shlib_slibdir@ substitution to get
12845         correct install name on darwin.
12846         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
12848 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
12850         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
12851         cris-*-elf and cris-*-none.
12852         (crisv32-*-linux*): Similar, as cris-*-linux*.
12854 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
12856         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
12858 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
12860         PR regression/33926
12861         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
12862         * configure: Regenerated.
12864 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
12866         * Makefile.in (dfp-filenames): Replace decimal_globals,
12867         decimal_data, binarydecimal and convert_data with
12868         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
12869         and bid_convert_data, respectively.
12871 2007-09-17  Chao-ying Fu  <fu@mips.com>
12872             Nigel Stephens  <nigel@mips.com>
12874         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
12875         * Makefile.in (fixed_point): Define.
12876         Check if fixed_point is yes to build support functions.
12877         * configure.ac: Check for fixed_point support.
12878         * configure: Regenerated.
12879         * gen-fixed.sh: New file to generate lists of fixed-point labels,
12880         funcs, modes, from, to.
12882 2007-09-11  Janis Johnson  <janis187@us.ibm.com
12884         * Makefile.in (dfp-filenames): Add bid128_noncomp.
12886 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
12888         * Makefile.in (dfp-filenames): Remove decUtility, add
12889         decDouble, decPacked, decQuad, decSingle.
12891 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
12893         * config.host : Add x86_64-elf target.
12895 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
12897         * configure.ac (set_have_cc_tls): Add a missing =.
12898         * configure: Regenerated.
12900 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
12902         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
12903         and x86_64-*-linux*.
12905         * config/t-tls: New file.
12907         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
12909         * configure.ac: Include ../config/enable.m4 and
12910         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
12911         supports TLS and substitute set_have_cc_tls.
12912         * configure: Regenerated.
12914 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
12916         * Makefile.in: Use libbid for DFP when BID is enabled.
12918 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
12920         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
12921         extra_parts. Add config/i386/t-cygming to tmake_file.
12922         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
12924 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
12925             Danny Smith  <dannysmith@users.sourceforge.net>
12927         PR target/29498
12928         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
12929         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
12930         * config/i386/t-crtfm: Compile crtfastmath.o with
12931         -minline-all-stringops.
12933 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
12935         * config.host (sparc-wrs-vxworks): New target.
12937 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
12939         * config.host: Recognize fido.
12941 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
12943         * configure: Check host, not target, for decimal float support.
12945 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
12947         * config/i386/t-crtpc: New file.
12948         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
12949         (x86_64-*-linux*): Ditto.
12951 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
12953         * config.host (x86_64-*-mingw*): New target.
12955 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
12956             H.J. Lu  <hongjiu.lu@intel.com>
12958         * Makefile.in (enable_decimal_float): New.
12959         (DECNUMINC): Add
12960         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
12961         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
12962         (decbits-filenames): This.
12963         (decbits-objects): New.
12964         (libgcc-objects): Add $(decbits-objects).
12966         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
12967         Substitute enable_decimal_float.
12968         * configure: Regenerated.
12970 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
12972         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
12974 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
12976         * Makefile.in (install-info): New dummy target.
12978 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
12980         * config.host (bfin*-linux-uclibc*): Set extra_parts.
12982 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
12984         * Makefile.in: Add install-html and install-pdf dummy
12985         targets.
12987 2007-02-05  Roger Sayle  <roger@eyesopen.com>
12988             Daniel Jacobowitz  <dan@codesourcery.com>
12990         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
12991         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
12992         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
12994 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
12996         * Makefile.in (dec-filenames): Add decExcept.
12998 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
13000         PR bootstrap/30469
13001         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
13002         -fprofile-use.
13004 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
13006         * configure.ac: Add --enable-version-specific-runtime-libs.
13007         Correct $slibdir default.
13008         * configure: Regenerated.
13010 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
13012         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
13014 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
13016         PR target/30519
13017         * config.host (alpha*-*-linux*): Set extra_parts.
13019 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
13021         * config/sh/t-linux: New.
13022         * config.host (sh*-*-linux*): Set tmake_file.
13024 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
13026         * Makefile.in (install): Handle multilibs.
13028 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
13030         * Makefile.in: Added .PHONY entry for documentation targets.
13032 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
13034         * Makefile.in: Add empty info, html, dvi, pdf targets.
13036 2007-01-04  Mike Stump  <mrs@apple.com>
13038         * Makefile.in (MAKEINFO): Remove.
13039         (PERL): Likewise.
13041 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
13043         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
13044         * configure: Regenerate.
13045         * Makefile.in (host_subdir): Substitute it.
13046         (gcc_objdir): Use it.
13048 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
13050         * config.host (ia64*-*-linux*): Set tmake_file.
13052 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
13054         * Makefile.in (version): Define.
13056 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
13057             Paolo Bonzini  <bonzini@gnu.org>
13059         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
13060         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
13061         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
13062         config/sparc/t-crtfm, config/t-slibgcc-darwin,
13063         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
13064         shared-object.mk, siditi-object.mk, static-object.mk: New files.
13065         * configure: Generated.
13067 Copyright (C) 2007-2023 Free Software Foundation, Inc.
13069 Copying and distribution of this file, with or without modification,
13070 are permitted in any medium without royalty provided the copyright
13071 notice and this notice are preserved.