Update ChangeLog and version files for release
[official-gcc.git] / libgcc / ChangeLog
blob73b55d10bf34c28c4ef24feb03d8ef621717f01e
1 2023-04-26  Release Manager
3         * GCC 13.1.0 released.
5 2023-04-08  Tetsuma Hoshino  <t-hoshino@pony-e.jp>
7         PR target/109402
8         * config/v850/lib1funcs.S (___muldi3): Remove unnecessary
9         stack manipulations.
11 2023-04-05  John David Anglin  <danglin@gcc.gnu.org>
13         PR target/109374
14         * config/pa/milli64.S (RETURN_COLUMN): Define.
15         ($$divI): Add CFI directives.
16         ($$divU): Likewise.
17         ($$remI): Likewise.
18         ($$remU): Likewise.
20 2023-03-19  Stafford Horne  <shorne@gmail.com>
22         * config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
23         statement clearing existing exceptions.
25 2023-03-13  Max Filippov  <jcmvbkbc@gmail.com>
27         * config/xtensa/crti.S: Add .note.GNU-stack section on linux.
28         * config/xtensa/crtn.S: Likewise.
29         * config/xtensa/lib1funcs.S: Likewise.
30         * config/xtensa/lib2funcs.S: Likewise.
32 2023-03-12  Jakub Jelinek  <jakub@redhat.com>
34         * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
35         (softfp_truncations): Add tfbf dfbf sfbf hfbf.
36         (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
37         * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
38         __extendbfsf2 and __trunc{s,d,t,h}fbf2.
39         * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
40         * soft-fp/floatundibf.c: New file.
41         * soft-fp/floatdibf.c: New file.
43 2023-03-10  Jakub Jelinek  <jakub@redhat.com>
45         PR target/107703
46         * soft-fp/floattibf.c: New file.
47         * soft-fp/floatuntibf.c: New file.
48         * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
49         * config/i386/64/t-softfp (softfp_extras): Add floattibf and
50         floatuntibf.
51         (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
53 2023-03-08  Kewen Lin  <linkw@linux.ibm.com>
55         PR libgcc/108727
56         * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
57         bump size.
59 2023-03-06   Michael Meissner  <meissner@linux.ibm.com>
61         PR target/107299
62         * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
63         whether long double is IBM or IEEE.
64         (INFINITY): Likewise.
65         (FABS): Likewise.
66         * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
67         (INFINITY): Likewise.
68         * config/rs6000/quad-float128.h (TF): Remove definition.
69         (TFtype): Define to be long double or _Float128.
70         (TCtype): Define to be _Complex long double or _Complex _Float128.
71         * libgcc2.h (TFtype): Allow machine config files to override this.
72         (TCtype): Likewise.
73         * soft-fp/quad.h (TFtype): Likewise.
75 2023-02-13  Kito Cheng  <kito.cheng@sifive.com>
77         * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
78         * config/riscv/value-unwind.h: New.
80 2023-02-03  Christophe Lyon  <christophe.lyon@arm.com>
82         * config/arm/pr-support.c (__gnu_unwind_execute): Use
83         TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
85 2023-01-30  Flavio Cruz  <flaviocruz@gmail.com>
87         * config.host: Recognize x86_64-*-gnu* targets.
88         * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
89         TODO for now.
91 2023-01-23  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
93         * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
94         "0xb5".
96 2023-01-23  Andrea Corallo  <andrea.corallo@arm.com>
97             Tejas Belagod   <tbelagod@arm.com>
98             Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
100         * config/arm/pr-support.c (__gnu_unwind_execute): Decode
101         exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
102         with AUTG if found.
103         * config/arm/unwind-arm.c (struct pseudo_regs): New.
104         (phase1_vrs): Introduce new field to store pseudo-reg state.
105         (phase2_vrs): Likewise.
106         (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
107         (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
108         (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
110 2023-01-18  Wilco Dijkstra  <wilco.dijkstra@arm.com>
112         PR target/107678
113         * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
114         * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
115         * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
116         encode the return address signing state.
117         * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
118         Check current return address signing state.
119         (aarch64_frob_update_contex): Remove.
121 2023-01-13  John David Anglin  <danglin@gcc.gnu.org>
123         * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
124         pa/t-pa64-linux.
125         (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
126         instead of pa/t-hpux and pa/t-pa64.
127         * config/pa/linux-atomic.c: Define u32 type.
128         (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
129         atomic_load_2, atomic_load_4 and atomic_load_8.  Update sync
130         defines to use atomic_load calls for type.
131         (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
132         * config/pa/sync-libfuncs.c: New file.
133         * config/pa/t-netbsd (LIB2ADD_ST): Define.
134         * config/pa/t-openbsd (LIB2ADD_ST): Define.
135         * config/pa/t-pa64-hpux: New file.
136         * config/pa/t-pa64-linux: New file.
138 2023-01-13  Jonathan Wakely  <jwakely@redhat.com>
140         PR libstdc++/108331
141         * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
142         struct matching the previous __gthread_mutex_t struct.
143         (__GTHREAD_LEGACY_MUTEX_T): Define.
145 2023-01-13  Seija Kijin  <doremylover456@gmail.com>
147         * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
148         unified syntax.
150 2023-01-07  LIU Hao  <lh_mouse@126.com>
152         PR middle-end/108300
153         * config/i386/enable-execute-stack-mingw32.c: Define
154         `WIN32_LEAN_AND_MEAN` before <windows.h>.
155         * libgcc2.c: Likewise.
156         * unwind-generic.h: Likewise.
158 2023-01-03  Florian Weimer  <fweimer@redhat.com>
160         * unwind-dw2-execute_cfa.h: New file.  Extracted from
161         the execute_cfa_program function in unwind-dw2.c.
162         * unwind-dw2.c (execute_cfa_program_generic): New function.
163         (execute_cfa_program_specialized): Likewise.
164         (execute_cfa_program): Call execute_cfa_program_specialized
165         or execute_cfa_program_generic, as appropriate.
167 2023-01-03  Florian Weimer  <fweimer@redhat.com>
169         Revert:
170         2023-01-03  Florian Weimer  <fweimer@redhat.com>
172         * unwind-dw2.c (dwarf_reg_size): New function.
173         (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
174         (_Unwind_SetSpColumn, uw_install_context_1): Use it.
175         (uw_init_context_1): Do not initialize dwarf_reg_size_table
176         if not in use.
178 2023-01-03  Florian Weimer  <fweimer@redhat.com>
180         Revert:
181         2023-01-03  Florian Weimer  <fweimer@redhat.com>
183         * unwind-dw2-execute_cfa.h: New file.  Extracted from
184         the execute_cfa_program function in unwind-dw2.c.
185         * unwind-dw2.c (execute_cfa_program_generic): New function.
186         (execute_cfa_program_specialized): Likewise.
187         (execute_cfa_program): Call execute_cfa_program_specialized
188         or execute_cfa_program_generic, as appropriate.
190 2023-01-02  Florian Weimer  <fweimer@redhat.com>
192         * unwind-dw2-execute_cfa.h: New file.  Extracted from
193         the execute_cfa_program function in unwind-dw2.c.
194         * unwind-dw2.c (execute_cfa_program_generic): New function.
195         (execute_cfa_program_specialized): Likewise.
196         (execute_cfa_program): Call execute_cfa_program_specialized
197         or execute_cfa_program_generic, as appropriate.
199 2023-01-02  Florian Weimer  <fweimer@redhat.com>
201         * unwind-dw2.c (dwarf_reg_size): New function.
202         (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
203         (_Unwind_SetSpColumn, uw_install_context_1): Use it.
204         (uw_init_context_1): Do not initialize dwarf_reg_size_table
205         if not in use.
207 2022-12-25  Jonathan Yong  <10walls@gmail.com>
209         * config/i386/gthr-win32.h: undef CC_NONE
211 2022-12-24  Iain Sandoe  <iain@sandoe.co.uk>
213         * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
214         install of libgcc_s.1.dylib when the installation is into the build
215         gcc directory.
217 2022-12-23  Eric Botcazou  <ebotcazou@adacore.com>
219         * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
220         as well as new i386/t-slibgcc-mingw fragment.
221         (x86_64-*-mingw*): Likewise.
222         * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
223         both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
224         Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
225         Include stdlib.h instead of errno.h and do not include _mingw.h.
226         (CONST_CAST2): Add specific definition for C++.
227         (ATTRIBUTE_UNUSED): New macro.
228         (__UNUSED_PARAM): Delete.
229         Define WIN32_LEAN_AND_MEAN before including windows.h.
230         (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
231         (__gthread_objc_init_thread_system): Likewise.
232         (__gthread_objc_thread_get_data): Minor tweak.
233         (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
234         (__gthread_objc_condition_deallocate): Likewise.
235         (__gthread_objc_condition_wait): Likewise.
236         (__gthread_objc_condition_broadcast): Likewise.
237         (__gthread_objc_condition_signal): Likewise.
238         Include sys/time.h.
239         (__gthr_win32_DWORD): New typedef.
240         (__gthr_win32_HANDLE): Likewise.
241         (__gthr_win32_CRITICAL_SECTION): Likewise.
242         (__gthr_win32_CONDITION_VARIABLE): Likewise.
243         (__gthread_t): Adjust.
244         (__gthread_key_t): Likewise.
245         (__gthread_mutex_t): Likewise.
246         (__gthread_recursive_mutex_t): Likewise.
247         (__gthread_cond_t): New typedef.
248         (__gthread_time_t): Likewise.
249         (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
250         (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
251         (__GTHREAD_COND_INIT_FUNCTION): Define.
252         (__GTHREAD_TIME_INIT): Likewise.
253         (__gthr_i486_lock_cmp_xchg): Delete.
254         (__gthr_win32_create): Declare.
255         (__gthr_win32_join): Likewise.
256         (__gthr_win32_self): Likewise.
257         (__gthr_win32_detach): Likewise.
258         (__gthr_win32_equal): Likewise.
259         (__gthr_win32_yield): Likewise.
260         (__gthr_win32_mutex_destroy): Likewise.
261         (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
262         (__gthr_win32_cond_broadcast): Likewise.
263         (__gthr_win32_cond_signal): Likewise.
264         (__gthr_win32_cond_wait): Likewise.
265         (__gthr_win32_cond_timedwait): Likewise.
266         (__gthr_win32_recursive_mutex_init_function): Delete.
267         (__gthr_win32_recursive_mutex_lock): Likewise.
268         (__gthr_win32_recursive_mutex_unlock): Likewise.
269         (__gthr_win32_recursive_mutex_destroy): Likewise.
270         (__gthread_create): New inline function.
271         (__gthread_join): Likewise.
272         (__gthread_self): Likewise.
273         (__gthread_detach): Likewise.
274         (__gthread_equal): Likewise.
275         (__gthread_yield): Likewise.
276         (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
277         (__gthread_cond_broadcast): Likewise.
278         (__gthread_cond_signal): Likewise.
279         (__gthread_cond_wait): Likewise.
280         (__gthread_cond_timedwait): Likewise.
281         (__GTHREAD_WIN32_INLINE): New macro.
282         (__GTHREAD_WIN32_COND_INLINE): Likewise.
283         (__GTHREAD_WIN32_ACTIVE_P): Likewise.
284         Define WIN32_LEAN_AND_MEAN before including windows.h.
285         (__gthread_once): Minor tweaks.
286         (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
287         (__gthread_key_delete): Minor tweak.
288         (__gthread_getspecific): Likewise.
289         (__gthread_setspecific): Likewise.
290         (__gthread_mutex_init_function): Reimplement.
291         (__gthread_mutex_destroy): Likewise.
292         (__gthread_mutex_lock): Likewise.
293         (__gthread_mutex_trylock): Likewise.
294         (__gthread_mutex_unlock): Likewise.
295         (__gthr_win32_abs_to_rel_time): Declare.
296         (__gthread_recursive_mutex_init_function): Reimplement.
297         (__gthread_recursive_mutex_destroy): Likewise.
298         (__gthread_recursive_mutex_lock): Likewise.
299         (__gthread_recursive_mutex_trylock): Likewise.
300         (__gthread_recursive_mutex_unlock): Likewise.
301         (__gthread_cond_destroy): New inline function.
302         (__gthread_cond_wait_recursive): Likewise.
303         * config/i386/gthr-win32.c: Delete everything.
304         Include gthr-win32.h to get the out-of-line version of inline routines.
305         Add compile-time checks for the local version of the Win32 types.
306         * config/i386/gthr-win32-cond.c: New file.
307         * config/i386/gthr-win32-thread.c: Likewise.
308         * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
309         EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
310         the static version of libgcc.
311         * config/i386/t-slibgcc-mingw: New file.
312         * config/i386/libgcc-mingw.ver: Likewise.
314 2022-12-16  Thomas Neumann  <tneumann@users.sourceforge.net>
316         * unwind-dw2-fde.c: Initialize fde object lazily when
317         the first exception tries to pass through.
319 2022-12-16  Thomas Neumann  <tneumann@users.sourceforge.net>
321         * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
323 2022-12-08  Max Filippov  <jcmvbkbc@gmail.com>
325         * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
326         (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
327         (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
328         (XSHAL_ABI): Remove stray symbols from macro definitions.
330 2022-12-07  Max Filippov  <jcmvbkbc@gmail.com>
332         * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
333         xtensa-config-builtin.h.
334         * config/xtensa/crtn.S: Likewise.
335         * config/xtensa/lib1funcs.S: Likewise.
336         * config/xtensa/lib2funcs.S: Likewise.
337         * config/xtensa/xtensa-config-builtin.h: New File.
339 2022-11-04  Florian Weimer  <fweimer@redhat.com>
341         * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
342         values actually used by BFD ld.
344 2022-10-23  LIU Hao  <lh_mouse@126.com>
346         * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
347         libobjc, instead of 'gthr.h'
349 2022-10-19  LIU Hao  <lh_mouse@126.com>
351         * config.host: Add new cases for `mcf` thread model
352         * config/i386/gthr-mcf.h: New file
353         * config/i386/t-mingw-mcfgthread: New file
354         * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
355         * configure: Regenerate
357 2022-10-18  Jonathan Wakely  <jwakely@redhat.com>
359         * Makefile.in: Quote variable.
361 2022-10-17  H.J. Lu  <hjl.tools@gmail.com>
363         * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
364         argument.
365         * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
366         _Unwind_Frames_Increment.
367         (_Unwind_ForcedUnwind_Phase2): Likewise.
368         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
369         Take the EXC argument.  Return _URC_FATAL_PHASE2_ERROR if the
370         return address on normal stack doesn't match the return address
371         on shadow stack.
373 2022-10-17  Florian Weimer  <fweimer@redhat.com>
375         * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
376         and reduce its size.
378 2022-10-14  Jakub Jelinek  <jakub@redhat.com>
380         * config/i386/t-softfp (softfp_extensions): Add bfsf.
381         (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
382         (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
383         CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
384         -msse2.
385         * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
386         __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
387         * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
388         * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
389         * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
390         * soft-fp/brain.h: New file.
391         * soft-fp/truncsfbf2.c: New file.
392         * soft-fp/truncdfbf2.c: New file.
393         * soft-fp/truncxfbf2.c: New file.
394         * soft-fp/trunctfbf2.c: New file.
395         * soft-fp/trunchfbf2.c: New file.
396         * soft-fp/truncbfhf2.c: New file.
397         * soft-fp/extendbfsf2.c: New file.
399 2022-10-12  Martin Liska  <mliska@suse.cz>
401         * libgcov-driver.c: Use new function.
402         * libgcov.h (gcov_write_summary): Rename to ...
403         (gcov_write_object_summary): ... this.
405 2022-10-11  Olivier Hainque  <hainque@adacore.com>
407         * config.host (*vxworks*): When enable_shared, add
408         libgcc and crtstuff "shared" fragments for rtp except
409         large code model.
410         (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
411         the list of fragments.
413 2022-10-06  Jakub Jelinek  <jakub@redhat.com>
415         * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
416         fs->regs.how[X] instead of fs->regs.reg[X].how.
418 2022-10-06  Jakub Jelinek  <jakub@redhat.com>
420         * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
421         REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
422         REG_UNDEFINED): New anonymous enum, moved from inside of
423         struct frame_state_reg_info.
424         (struct frame_state_reg_info): Remove reg[].how element and the
425         anonymous enum there.  Add how element.
426         * unwind-dw2.c: Include stddef.h.
427         (uw_frame_state_for): Don't clear first
428         offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
429         (execute_cfa_program, __frame_state_for, uw_update_context_1,
430         uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
431         or fs.regs.how[X] instead of fs.regs.reg[X].how.
432         * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
433         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
434         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
435         * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
436         UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
437         Likewise.
438         * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
439         Likewise.
440         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
441         * config/arc/linux-unwind.h (arc_fallback_frame_state,
442         arc_frob_update_context): Likewise.
443         * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
444         * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
445         * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
446         * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
447         * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
448         * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
449         MD_FALLBACK_FRAME_STATE_FOR): Likewise.
450         * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
451         sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
452         * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
453         x86_fallback_frame_state): Likewise.
454         * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
455         * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
456         x86_fallback_frame_state): Likewise.
457         * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
458         Likewise.
459         * config/i386/dragonfly-unwind.h
460         (x86_64_dragonfly_fallback_frame_state): Likewise.
461         * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
462         * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
463         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
464         Likewise.
465         * config/aarch64/freebsd-unwind.h
466         (aarch64_freebsd_fallback_frame_state): Likewise.
467         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
468         Likewise.
469         * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
470         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
471         * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
472         Likewise.
473         * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
474         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
475         Likewise.
476         * config/rs6000/darwin-fallback.c (set_offset): Likewise.
477         * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
478         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
479         * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
481 2022-10-02  Olivier Hainque  <hainque@adacore.com>
483         * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment.  Move
484         -I options for gcc/include and gcc/include-fixed at the end
485         and make them -isystem.
487 2022-10-02  Olivier Hainque  <hainque@adacore.com>
489         * config/gthr-vxworks.h: Prevent Wpragma warning for the
490         pragma diagnostics on Wstrict-prototypes.
492 2022-09-29  Olivier Hainque  <hainque@adacore.com>
494         * config/vxcrtstuff.c: Improve the comment attached to the use
495         of auto-host.h and of __dso_handle.  Remove redundant guard on
496         HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
498 2022-09-26  Thomas Neumann  <tneumann@users.sourceforge.net>
500         * unwind-dw2-fde.c: Introduce a constant for in_shutdown
501         for the non-fast-path case. Drop destructor priority.
503 2022-09-22  Thomas Neumann  <tneumann@users.sourceforge.net>
505         * unwind-dw2-fde.c: (release_register_frames) Remember
506         when the btree has been destroyed.
507         (__deregister_frame_info_bases) Disable the assert when
508         shutting down.
510 2022-09-18  Thomas Neumann  <tneumann@users.sourceforge.net>
512         * unwind-dw2-fde.c: Replace uintptr_t with typedef
513         for __UINTPTR_TYPE__.
514         * unwind-dw2-btree.h: Likewise.
516 2022-09-16  Thomas Neumann  <tneumann@users.sourceforge.net>
518         * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
519         (__register_frame_info_table_bases): Use btree in atomic fast path.
520         (__deregister_frame_info_bases): Likewise.
521         (_Unwind_Find_FDE): Likewise.
522         (base_from_object): Make parameter const.
523         (classify_object_over_fdes): Add query-only mode.
524         (get_pc_range): Compute PC range for lookup.
525         * unwind-dw2-fde.h (last_fde): Make parameter const.
526         * unwind-dw2-btree.h: New file.
528 2022-08-31  Martin Liska  <mliska@suse.cz>
530         * config.host: Remove hppa.
532 2022-08-30  Martin Liska  <mliska@suse.cz>
534         * config.host: Remove the port.
536 2022-08-26  Martin Liska  <mliska@suse.cz>
538         * config.host: Remove cr16 related stuff.
539         * config/cr16/crti.S: Removed.
540         * config/cr16/crtlibid.S: Removed.
541         * config/cr16/crtn.S: Removed.
542         * config/cr16/divmodhi3.c: Removed.
543         * config/cr16/lib1funcs.S: Removed.
544         * config/cr16/t-cr16: Removed.
545         * config/cr16/t-crtlibid: Removed.
546         * config/cr16/unwind-cr16.c: Removed.
547         * config/cr16/unwind-dw2.h: Removed.
549 2022-08-16  Kito Cheng  <kito.cheng@sifive.com>
551         * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
552         (_FP_NANFRAC_H): Ditto.
553         (_FP_NANSIGN_H): Ditto.
554         * config/riscv/t-softfp32 (softfp_extensions): Add HF related
555         routines.
556         (softfp_truncations): Ditto.
557         (softfp_extras): Ditto.
558         * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
560 2022-08-16  Kito Cheng  <kito.cheng@sifive.com>
562         * soft-fp/fixhfdi.c: New.
563         * soft-fp/fixhfsi.c: Likewise.
564         * soft-fp/fixunshfdi.c: Likewise.
565         * soft-fp/fixunshfsi.c: Likewise.
566         * soft-fp/floatdihf.c: Likewise.
567         * soft-fp/floatsihf.c: Likewise.
568         * soft-fp/floatundihf.c: Likewise.
569         * soft-fp/floatunsihf.c: Likewise.
570         * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
571         lines and update URL for license.
572         * soft-fp/addsf3.c: Likewise.
573         * soft-fp/addtf3.c: Likewise.
574         * soft-fp/divdf3.c: Likewise.
575         * soft-fp/divsf3.c: Likewise.
576         * soft-fp/divtf3.c: Likewise.
577         * soft-fp/double.h: Likewise.
578         * soft-fp/eqdf2.c: Likewise.
579         * soft-fp/eqhf2.c: Likewise.
580         * soft-fp/eqsf2.c: Likewise.
581         * soft-fp/eqtf2.c: Likewise.
582         * soft-fp/extenddftf2.c: Likewise.
583         * soft-fp/extended.h: Likewise.
584         * soft-fp/extendhfdf2.c: Likewise.
585         * soft-fp/extendhfsf2.c: Likewise.
586         * soft-fp/extendhftf2.c: Likewise.
587         * soft-fp/extendhfxf2.c: Likewise.
588         * soft-fp/extendsfdf2.c: Likewise.
589         * soft-fp/extendsftf2.c: Likewise.
590         * soft-fp/extendxftf2.c: Likewise.
591         * soft-fp/fixdfdi.c: Likewise.
592         * soft-fp/fixdfsi.c: Likewise.
593         * soft-fp/fixdfti.c: Likewise.
594         * soft-fp/fixhfti.c: Likewise.
595         * soft-fp/fixsfdi.c: Likewise.
596         * soft-fp/fixsfsi.c: Likewise.
597         * soft-fp/fixsfti.c: Likewise.
598         * soft-fp/fixtfdi.c: Likewise.
599         * soft-fp/fixtfsi.c: Likewise.
600         * soft-fp/fixtfti.c: Likewise.
601         * soft-fp/fixunsdfdi.c: Likewise.
602         * soft-fp/fixunsdfsi.c: Likewise.
603         * soft-fp/fixunsdfti.c: Likewise.
604         * soft-fp/fixunshfti.c: Likewise.
605         * soft-fp/fixunssfdi.c: Likewise.
606         * soft-fp/fixunssfsi.c: Likewise.
607         * soft-fp/fixunssfti.c: Likewise.
608         * soft-fp/fixunstfdi.c: Likewise.
609         * soft-fp/fixunstfsi.c: Likewise.
610         * soft-fp/fixunstfti.c: Likewise.
611         * soft-fp/floatdidf.c: Likewise.
612         * soft-fp/floatdisf.c: Likewise.
613         * soft-fp/floatditf.c: Likewise.
614         * soft-fp/floatsidf.c: Likewise.
615         * soft-fp/floatsisf.c: Likewise.
616         * soft-fp/floatsitf.c: Likewise.
617         * soft-fp/floattidf.c: Likewise.
618         * soft-fp/floattihf.c: Likewise.
619         * soft-fp/floattisf.c: Likewise.
620         * soft-fp/floattitf.c: Likewise.
621         * soft-fp/floatundidf.c: Likewise.
622         * soft-fp/floatundisf.c: Likewise.
623         * soft-fp/floatunditf.c: Likewise.
624         * soft-fp/floatunsidf.c: Likewise.
625         * soft-fp/floatunsisf.c: Likewise.
626         * soft-fp/floatunsitf.c: Likewise.
627         * soft-fp/floatuntidf.c: Likewise.
628         * soft-fp/floatuntihf.c: Likewise.
629         * soft-fp/floatuntisf.c: Likewise.
630         * soft-fp/floatuntitf.c: Likewise.
631         * soft-fp/gedf2.c: Likewise.
632         * soft-fp/gesf2.c: Likewise.
633         * soft-fp/getf2.c: Likewise.
634         * soft-fp/half.h: Likewise.
635         * soft-fp/ledf2.c: Likewise.
636         * soft-fp/lesf2.c: Likewise.
637         * soft-fp/letf2.c: Likewise.
638         * soft-fp/muldf3.c: Likewise.
639         * soft-fp/mulsf3.c: Likewise.
640         * soft-fp/multf3.c: Likewise.
641         * soft-fp/negdf2.c: Likewise.
642         * soft-fp/negsf2.c: Likewise.
643         * soft-fp/negtf2.c: Likewise.
644         * soft-fp/op-1.h: Likewise.
645         * soft-fp/op-2.h: Likewise.
646         * soft-fp/op-4.h: Likewise.
647         * soft-fp/op-8.h: Likewise.
648         * soft-fp/op-common.h: Likewise.
649         * soft-fp/quad.h: Likewise.
650         * soft-fp/single.h: Likewise.
651         * soft-fp/soft-fp.h: Likewise.
652         * soft-fp/subdf3.c: Likewise.
653         * soft-fp/subsf3.c: Likewise.
654         * soft-fp/subtf3.c: Likewise.
655         * soft-fp/truncdfhf2.c: Likewise.
656         * soft-fp/truncdfsf2.c: Likewise.
657         * soft-fp/truncsfhf2.c: Likewise.
658         * soft-fp/trunctfdf2.c: Likewise.
659         * soft-fp/trunctfhf2.c: Likewise.
660         * soft-fp/trunctfsf2.c: Likewise.
661         * soft-fp/trunctfxf2.c: Likewise.
662         * soft-fp/truncxfhf2.c: Likewise.
663         * soft-fp/unorddf2.c: Likewise.
664         * soft-fp/unordsf2.c: Likewise.
665         * soft-fp/unordtf2.c: Likewise.
667 2022-07-18  Claudiu Zissulescu  <claziss@synopsys.com>
669         * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
670         * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
671         configurations.
673 2022-06-25  Jeff Law  <jeffreyalaw@gmail.com>
675         * config.host: Removed tilegx and tilepro entries.
676         * config/tilegx/sfp-machine.h: Removed.
677         * config/tilegx/sfp-machine32.h: Removed.
678         * config/tilegx/sfp-machine64.h: Removed.
679         * config/tilegx/t-crtstuff: Removed.
680         * config/tilegx/t-softfp: Removed.
681         * config/tilegx/t-tilegx: Removed.
682         * config/tilepro/atomic.c: Removed.
683         * config/tilepro/atomic.h: Removed.
684         * config/tilepro/linux-unwind.h: Removed.
685         * config/tilepro/sfp-machine.h: Removed.
686         * config/tilepro/softdivide.c: Removed.
687         * config/tilepro/softmpy.S: Removed.
688         * config/tilepro/t-crtstuff: Removed.
689         * config/tilepro/t-tilepro: Removed.
691 2022-06-09  Takayuki 'January June' Suwa  <jjsuwa_sys3175@yahoo.co.jp>
693         * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
694         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
696 2022-06-01  H.J. Lu  <hjl.tools@gmail.com>
698         PR libgcc/27576
699         * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
701 2022-05-25  Wilco Dijkstra  <wilco.dijkstra@arm.com>
703         PR libgcc/105708
704         * config/aarch64/lse-init.c: Increase constructor priority.
706 2022-05-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
708         PR target/104689
709         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
710         Handle the !REG_UNSAVED case.
711         * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
713 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
715         * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
716         (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
717         (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
719 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
721         * config.host: Add t-dfprules to AArch64 targets.
723 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
725         * configure: Regenerate.
727 2022-05-13  Sebastian Pop  <spop@amazon.com>
729         PR target/105162
730         * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
731         * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
733 2022-05-10  Martin Liska  <mliska@suse.cz>
734             Hans-Peter Helfert  <peter-helfert@t-online.de>
736         PR gcov-profile/105535
737         * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
738         n_functions.
740 2022-05-02  Martin Liska  <mliska@suse.cz>
742         * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
744 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
746         * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
747         (gcov_profile_merge_stream): Likewise.
749 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
751         * libgcov-util.c (consume_stream): New.
752         (get_target_profiles_for_merge): Likewise.
753         (gcov_profile_merge_stream): Likewise.
755 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
757         * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
759 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
761         * libgcov-util.c (read_gcda_file): Do not open file.
762         (ftw_read_file): Open file here.
764 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
766         * libgcov-util.c (read_gcda_file): Prepend new info object to global
767         list.
768         (ftw_read_file): Remove list append here.
770 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
772         * libgcov-util.c (read_gcda_file): Do not duplicate filename.
773         (ftw_read_file): Duplicate filename for read_gcda_file().
775 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
777         * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
778         (__gcov_filename_to_gcfn): Declare and document.
779         * libgcov-driver.c (dump_string): New.
780         (__gcov_filename_to_gcfn): Likewise.
781         (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
783 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
785         * libgcov.h (gcov_seek): Remove define and declaration.
787 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
789         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
790         parameter.  Pass mode to gcov_open() calls.
791         * libgcov-driver.c (dump_one_gcov):  Add mode parameter.  Pass mode to
792         gcov_exit_open_gcda_file() call.
793         (gcov_do_dump): Add mode parameter.  Pass mode to dump_one_gcov()
794         calls.
795         (__gcov_dump_one):  Open file for reading and writing.
797 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
799         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
800         reading and writing.
801         * libgcov-util.c (read_gcda_file): Open file for reading.
802         * libgcov.h (gcov_open): Delete declaration.
804 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
806         * libgcov-util.c (gcov_profile_merge): Return the list of merged
807         profiles.  Accept empty target and source profile lists.
809 2022-04-08  Sergei Trofimovich  <siarheit@google.com>
811         * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
813 2022-03-29  Chenghua Xu  <xuchenghua@loongson.cn>
814             Lulu Cheng  <chenglulu@loongson.cn>
816         * configure: Regenerate file.
818 2022-03-29  Chenghua Xu  <xuchenghua@loongson.cn>
819             Lulu Cheng  <chenglulu@loongson.cn>
821         * config/loongarch/crtfastmath.c: New file.
822         * config/loongarch/linux-unwind.h: Like wise.
823         * config/loongarch/sfp-machine.h: Like wise.
824         * config/loongarch/t-crtstuff: Like wise.
825         * config/loongarch/t-loongarch: Like wise.
826         * config/loongarch/t-loongarch64: Like wise.
827         * config/loongarch/t-softfp-tf: Like wise.
828         * config.host: Add LoongArch tuples.
829         * configure.ac: Add LoongArch support.
831 2022-03-19  Sergei Trofimovich  <slyfox at gentoo dot org>
833         PR libgcc/86224
834         * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
835         for __mulsi3.
836         (__udivsi3_internal, __divsi3_internal): Similarly.
837         (__umodsi3, __modsi3): Use the internal function names.
839 2022-03-09  Tobias Burnus  <tobias@codesourcery.com>
841         PR target/102215
842         * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
843         a line up to non-arg-dependent value first.
844         (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
845         __atomic_compare_exchange_{1,2}.
847 2022-03-04  Iain Sandoe  <iain@sandoe.co.uk>
849         * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
850         * config/t-darwin-ehs: Add dependency on unwind.h.
852 2022-02-24  Xi Ruoyao  <xry111@mengyan1223.wang>
854         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
855         with 0 instead of NULL.
857 2022-02-24  Jose E. Marchesi  <jose.marchesi@oracle.com>
859         PR target/104656
860         * configure.ac: --disable-gcov if targetting bpf-*.
861         * configure: Regenerate.
863 2022-01-25  Florian Weimer  <fweimer@redhat.com>
865         PR libgcc/104207
866         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
868 2022-01-17  Martin Liska  <mliska@suse.cz>
870         * libgcov-driver.c: Rename .c names to .cc.
872 2022-01-15  David  <gccbugzilla@limegreensocks.com>
874         * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
875         Remove inlined version, Windows 95 is no longer relevant.
876         * config/i386/gthr-win32.h
877         (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
879 2022-01-14  Claudiu Zissulescu  <claziss@synopsys.com>
881         * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
882         DWARF_ALT_FRAME_RETURN_COLUMN macro.
884 2022-01-04  Florian Weimer  <fweimer@redhat.com>
886         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
887         if available.
889 2022-01-02  John David Anglin  <danglin@gcc.gnu.org>
891         * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
892         (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
893         return is not equal _ASM_EFAULT.
894         (__kernel_cmpxchg2): Likewise.
896 2021-12-17  Iain Sandoe  <iain@sandoe.co.uk>
898         * config.host: Add shim declaration header to powerpc*-darwin builds.
899         * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
900         file.
901         * config/t-darwin-ehs: Add dependencies to the shared unwinder
902         objects.
903         * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
904         the shared EH lib.  Add all-multi to the dependencies for the
905         libgcc_s.1.dylib redirections.
907 2021-12-13  Olivier Hainque  <hainque@adacore.com>
909         * config.host (powerpc*-*-vxworks7*): Remove
910         rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
912 2021-12-13  Olivier Hainque  <hainque@adacore.com>
914         * config.host (*vxworks*): Remove special case for
915         arm on the use of vxcrtstuff.
917 2021-12-13  Fred Konrad  <konrad@adacore.com>
918             Olivier Hainque  <hainque@adacore.com>
920         * config/t-vxcrtstuffS: New Makefile fragment.
921         * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
922         functions for INITFINI_ARRAY support in shared libs and guard
923         the definition of eh table registration functions on conditions
924         indicating they are needed.
926 2021-12-13  Olivier Hainque  <hainque@adacore.com>
928         * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
929         ahead of the other files in tmake_files.
930         * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
931         overriding it.
933 2021-12-13  Olivier Hainque  <hainque@adacore.com>
935         * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
936         both VxWorks7 and earlier.
937         * config/t-vxworks7: Remove.
938         * config.host: Remove special case for vxworks7.
940 2021-12-11  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
942         * config/vxcrtstuff.c: Make constructor and destructor
943         functions static when possible.
945 2021-12-11  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
947         * config/vxcrtstuff.c: Remove constructor/destructor
948         declarations.
950 2021-12-10  Iain Sandoe  <iain@sandoe.co.uk>
952         * config/t-darwin: Add libgcc_tm.h to the dependencies
953         for darwin10-unwind-find-enc-func.
955 2021-12-10  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
957         * config/rs6000/t-vxworks: New file.
958         * config.host (powerpc*-*-vxworks*): Use it instead of
959         t-ppccomm.
961 2021-12-09  Fred Konrad  <konrad@adacore.com>
963         * config.host (powerpc*-wrs-vxworks7*): Fix path to
964         rs6000/t-ppc64-fp, relative to config/ not libgcc/.
966 2021-12-09  Olivier Hainque  <hainque@adacore.com>
967             Rasmus Villemoes  <rv@rasmusvillemoes.dk>
969         * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
970         $(LIBGCC2_INCLUDES).
971         * config/t-vxworks7: Likewise.
973 2021-12-08  Iain Sandoe  <iain@sandoe.co.uk>
975         * config.host (*-*-darwin*): Add logic to build a shared
976         unwinder library for Darwin8-10.
977         * config/i386/t-darwin: Build legacy libgcc_s.1.
978         * config/rs6000/t-darwin: Likewise.
979         * config/t-darwin: Reorganise the EH fragments to place
980         them for inclusion in a shared EH lib.
981         * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
982         the supporting pieces (all FAT libs).
983         * config/t-darwin-noeh: Removed.
984         * config/darwin-unwind.ver: New file.
985         * config/rs6000/t-darwin-ehs: New file.
986         * config/t-darwin-ehs: New file.
988 2021-12-06  Nelson Chu  <nelson.chu@sifive.com>
990         * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
991         then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
992         * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
993         HIDDEN_DEF.
995 2021-11-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
997         * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
998         ssize_t and vfork after including auto-host.h.
1000 2021-11-29  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1002         * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
1003         crtend.o to extra_parts.
1005 2021-11-27  John David Anglin  <danglin@gcc.gnu.org>
1007         * config/pa/t-dimode (lib2difuncs): Fix typo.
1009 2021-11-25  Florian Weimer  <fweimer@redhat.com>
1011         * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
1012         Remove func, ret.
1013         (find_fde_tail): New function.  Split from
1014         _Unwind_IteratePhdrCallback.  Move the result initialization
1015         from _Unwind_Find_FDE.
1016         (_Unwind_Find_FDE): Updated to call find_fde_tail.
1018 2021-11-22  Florian Weimer  <fweimer@redhat.com>
1020         * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
1021         (struct unw_eh_callback_data): Make dbase member conditional.
1022         (unw_eh_callback_data_dbase): New function.
1023         (base_from_cb_data): Simplify for the non-dbase case.
1024         (_Unwind_IteratePhdrCallback): Adjust.
1025         (_Unwind_Find_FDE): Likewise.
1027 2021-11-22  Florian Weimer  <fweimer@redhat.com>
1029         * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
1030         tbase member.
1031         (base_from_cb_data): Adjust.
1032         (_Unwind_IteratePhdrCallback): Likewise.
1033         (_Unwind_Find_FDE): Likewise.
1035 2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
1037         * config.host: Add weak emutls crt to the extra_parts.
1038         * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
1039         workaround.
1040         * config/libgcc-libsystem.ver: Add exclude list for the system-
1041         provided unwinder.
1042         * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
1043         * config/i386/libgcc-darwin.10.4.ver: Removed.
1044         * config/i386/libgcc-darwin.10.5.ver: Removed.
1045         * config/rs6000/libgcc-darwin.10.4.ver: Removed.
1046         * config/rs6000/libgcc-darwin.10.5.ver: Removed.
1047         * config/t-darwin-noeh: New file.
1049 2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
1051         * config/t-darwin: Build weak-defined emutls objects.
1052         * emutls.c (__emutls_get_address): Add optional attributes.
1053         (__emutls_register_common): Likewise.
1054         (EMUTLS_ATTR): New.
1056 2021-11-11  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
1058         PR libgcc/103044
1059         * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
1060         called with a null argument or at the end of the backtrace and return.
1061         * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
1063 2021-11-10  Jakub Jelinek  <jakub@redhat.com>
1065         * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
1066         formatting fix.
1068 2021-11-05  Iain Sandoe  <iain@sandoe.co.uk>
1070         * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
1071         * config/i386/darwin-lib.h: Declare Darwin10 crt function.
1073 2021-11-05  John David Anglin  <danglin@gcc.gnu.org>
1075         PR libgomp/96661
1076         * config.host (hppa*64*-*-linux*): Revise tmake_file.
1077         (hppa*64*-*-hpux11*): Likewise.
1078         * config/pa/sfp-exceptions.c: New.
1079         * config/pa/sfp-machine.h: New.
1080         * config/pa/t-dimode: New.
1081         * config/pa/t-softfp-sfdftf: New.
1083 2021-10-27  John David Anglin  <danglin@gcc.gnu.org>
1085         * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
1086         tmake_file.
1087         * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
1088         Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
1089         SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
1090         * config/pa/t-linux64 (LIB1ASMSRC): New define.
1091         (LIB1ASMFUNCS): Revise.
1092         (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
1094 2021-10-22  Stafford Horne  <shorne@gmail.com>
1096         * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1097         Change to 0.
1099 2021-10-14  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
1101         * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
1102         outside of get_regs() in order to use it in another function, this
1103         is done twice: for __powerpc64__ and for !__powerpc64__.
1104         (struct trace_arg): New struct.
1105         (struct layout): New struct.
1106         (ppc_backchain_fallback): New function.
1107         * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
1108         state and call MD_BACKCHAIN_FALLBACK.
1110 2021-10-13  Martin Liska  <mliska@suse.cz>
1112         PR gcov-profile/90364
1113         * libgcov-driver.c (merge_one_data): Skip timestamp and verify
1114         checksums.
1115         (write_one_data): Write also checksum.
1116         * libgcov-util.c (read_gcda_file): Read also checksum field.
1117         * libgcov.h (struct gcov_info): Add new field.
1119 2021-10-08  Ian Lance Taylor  <iant@golang.org>
1121         * config/i386/morestack.S: Use .init_array for constructor if
1122         available.
1123         * config/rs6000/morestack.S: Likewise.
1124         * config/s390/morestack.S: Likewise.
1126 2021-10-03  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
1128         PR target/101104
1129         * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
1130         Use more correct values for native IBM 128-bit.
1132 2021-09-28  Iain Sandoe  <iain@sandoe.co.uk>
1134         * config/i386/libgcc-darwin.ver: Add Symbols for
1135         __cpu_model, __cpu_indicator_init.
1137 2021-09-22  Iain Sandoe  <iain@sandoe.co.uk>
1139         * config/i386/sfp-machine.h: Guard Mach-O-specific code
1140         using __APPLE__.
1142 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1144         * config/t-slibgcc-darwin: Delete unused code.
1146 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1148         * config/i386/t-darwin: Add in a vers file for X86-specific
1149         symbols.
1150         * config/t-darwin: Add the generic symbol maps here...
1151         * config/t-slibgcc-darwin: ... removing from here.
1152         * config/i386/libgcc-darwin.ver: New file.
1154 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1156         * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
1157         and __mulhc3.
1159 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1161         * config.host: Use convenience library for Darwin10
1162         unwinder shim.
1163         * config/t-darwin: Build Darwin10 unwinder shim as a
1164         convenience library.
1166 2021-09-13  Andrew Pinski  <apinski@marvell.com>
1168         * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
1169         * config/m32r/libgcc-glibc.ver: Removed.
1170         * config/m32r/t-linux: Removed.
1172 2021-09-08  liuhongt  <hongtao.liu@intel.com>
1174         * config/i386/t-softfp: Compile __{mul,div}hc3 into
1175         libgcc_s.so.1.
1177 2021-09-08  Jakub Jelinek  <jakub@redhat.com>
1178             Iain Sandoe  <iain@sandoe.co.uk>
1180         * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
1181         and export *hf* and *hc* functions at GCC_12.0.0.
1183 2021-09-06  liuhongt  <hongtao.liu@intel.com>
1185         * Makefile.in: Adjust to support specific CFLAGS for each
1186         libgcc source file.
1187         * config/i386/64/t-softfp: Explicitly add -msse2 for HF
1188         related libgcc source files.
1189         * config/i386/t-softfp: Ditto.
1190         * config/i386/_divhc3.c: New file.
1191         * config/i386/_mulhc3.c: New file.
1193 2021-09-03  Iain Sandoe  <iain@sandoe.co.uk>
1195         * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
1196         alias_DFtype, alias_TFtype): New.
1197         (ALIAS_SELECTOR): New.
1198         (strong_alias): Use __typeof and a _Generic selector to
1199         provide the type to the synthesized function.
1201 2021-09-02  liuhongt  <hongtao.liu@intel.com>
1203         * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
1204         * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
1205         * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
1206         * config/i386/t-softfp: Add hf soft-fp.
1207         * config.host: Add i386/64/t-softfp.
1208         * config/i386/64/t-softfp: New file.
1210 2021-09-02  liuhongt  <hongtao.liu@intel.com>
1212         * soft-fp/eqhf2.c: New file.
1213         * soft-fp/extendhfdf2.c: New file.
1214         * soft-fp/extendhfsf2.c: New file.
1215         * soft-fp/half.h (FP_CMP_EQ_H): New marco.
1216         * soft-fp/truncdfhf2.c: New file
1217         * soft-fp/truncsfhf2.c: New file
1219 2021-09-01  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1221         * unwind-arm-common.inc (abort): Remove.
1223 2021-08-31  Richard Sandiford  <richard.sandiford@arm.com>
1225         * config/aarch64/value-unwind.h: Add missing runtime exception
1226         paragraph.
1227         * config/frv/frv-abi.h: Likewise.
1228         * config/i386/value-unwind.h: Likewise.
1229         * config/pa/pa64-hpux-lib.h: Likewise.
1231 2021-08-26  David Edelsohn  <dje.gcc@gmail.com>
1233         * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
1234         __gcc_qadd.
1235         (__gcc_qadd): Call ldouble_qadd_internal.
1236         (__gcc_qsub): Call ldouble_qadd_internal with second long double
1237         argument negated.
1239 2021-08-26  Jonathan Yong  <10walls@gmail.com>
1241         * config/i386/cygming-crtend.c: Fix register_frame_ctor
1242         and register_frame_dtor warnings.
1244 2021-08-24  Richard Earnshaw  <rearnsha@arm.com>
1246         PR target/102035
1247         * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
1248         Add vlldm erratum work-around.
1250 2021-08-21  John David Anglin  <danglin@gcc.gnu.org>
1252         * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
1254 2021-08-16  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1256         * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
1257         (gcov_type_unsigned): Likewise.
1259 2021-08-14  Stafford Horne  <shorne@gmail.com>
1261         PR target/99783
1262         * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
1263         * config/or1k/t-crtstuff: New file.
1265 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1267         * libgcov-driver.c (#include <stdint.h>): Remove.
1268         (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
1270 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1272         * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
1273         * gcov.h (gcov_info): Declare.
1274         (__gcov_info_to_gdca): Likewise.
1275         * libgcov.h (gcov_write_counter): Remove.
1276         (gcov_write_tag_length): Likewise.
1277         * libgcov-driver.c (#include <stdint.h>): New.
1278         (#include <string.h>): Remove.
1279         (NEED_L_GCOV): Conditionally define.
1280         (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
1281         (are_all_counters_zero): New.
1282         (gcov_dump_handler): Likewise.
1283         (gcov_allocate_handler): Likewise.
1284         (dump_unsigned): Likewise.
1285         (dump_counter): Likewise.
1286         (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
1287         Use dump_unsigned() and dump_counter().
1288         (write_one_data): Add dump_fn, allocate_fn, and arg parameters.  Use
1289         dump_unsigned(), dump_counter(), and are_all_counters_zero().
1290         (__gcov_info_to_gcda): New.
1292 2021-08-05  Jakub Jelinek  <jakub@redhat.com>
1294         * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
1295         * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
1296         * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
1297         * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
1299 2021-08-04  Jakub Jelinek  <jakub@redhat.com>
1301         * config/t-slibgcc-fuchsia: Undo doubly applied patch.
1303 2021-07-15  Alan Modra  <amodra@gmail.com>
1305         * config/rs6000/morestack.S (R2_SAVE): Define.
1306         (__morestack): Save and restore r2.  Set up r2 for called
1307         functions.
1309 2021-07-01  H.J. Lu  <hjl.tools@gmail.com>
1311         * soft-fp/extendhfxf2.c: New file.
1312         * soft-fp/truncxfhf2.c: Likewise.
1314 2021-06-29  Julian Brown  <julian@codesourcery.com>
1316         * config/gcn/lib2-bswapti2.c: New file.
1317         * config/gcn/lib2-divmod-di.c: New file.
1318         * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
1319         typedefs.
1320         (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
1321         * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
1322         lib2-bswapti2.c.
1324 2021-06-29  Julian Brown  <julian@codesourcery.com>
1326         * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
1327         return types to USItype.
1328         * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
1330 2021-06-23  Kewen Lin  <linkw@linux.ibm.com>
1332         * configure: Regenerate.
1333         * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
1334         typos among the name, CFLAGS and the test.
1335         * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
1336         fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
1337         Remove.
1338         * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
1339         macro FLOAT128_HW_INSNS_ISA3_1.
1340         (FP128_3_1_CFLAGS_HW): Fix option typo.
1341         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
1342         FLOAT128_HW_INSNS_ISA3_1.
1343         (__floattikf_resolve): Likewise.
1344         (__floatuntikf_resolve): Likewise.
1345         (__fixkfti_resolve): Likewise.
1346         (__fixunskfti_resolve): Likewise.
1347         (__floattikf): Likewise.
1348         (__floatuntikf): Likewise.
1349         (__fixkfti): Likewise.
1350         (__fixunskfti): Likewise.
1352 2021-06-11  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
1354         PR target/99939
1355         * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
1356         macro.
1357         * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
1358         on passing -mcmse option.
1360 2021-06-10  Segher Boessenkool  <segher@kernel.crashing.org>
1362         * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
1363         _ARCH_PPC64 .
1365 2021-06-09  Carl Love  <cel@us.ibm.com>
1367         * config.host: Add if test and set for
1368         libgcc_cv_powerpc_3_1_float128_hw.
1369         * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
1370         Change calls of __fixkfti to __fixkfti_sw.
1371         * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
1372         Change calls of __fixunskfti to __fixunskfti_sw.
1373         * config/rs6000/float128-p10.c (__floattikf_hw,
1374         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
1375         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
1376         (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
1377         __fixunskfti_resolve): Add resolve functions.
1378         (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
1379         * config/rs6000/float128-sed (floattitf, __floatuntitf,
1380         __fixtfti, __fixunstfti): Add editor commands to change names.
1381         * config/rs6000/float128-sed-hw (__floattitf,
1382         __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
1383         change names.
1384         * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
1385         * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
1386         * config/rs6000/quad-float128.h (__floattikf_sw,
1387         __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
1388         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
1389         __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
1390         * config/rs6000/t-float128 (floattikf, floatuntikf,
1391         fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
1392         (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
1393         file names to fp128_ppc_funcs.
1394         * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
1395         fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
1396         fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
1397         * config/rs6000/t-float128-p10-hw: New file.
1398         * configure: Update script for isa 3.1 128-bit float support.
1399         * configure.ac: Add check for 128-bit float hardware support.
1400         * config/rs6000/fixkfti-sw.c: New file.
1401         * config/rs6000/fixunskfti-sw.c: New file.
1402         * config/rs6000/floattikf-sw.c: New file.
1403         * config/rs6000/floatuntikf-sw.c: New file.
1405 2021-05-13  Dimitar Dimitrov  <dimitar@dinux.eu>
1407         * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
1409 2021-05-13  Martin Liska  <mliska@suse.cz>
1411         * libgcov-driver.c: Fix GNU coding style.
1413 2021-05-10  Martin Liska  <mliska@suse.cz>
1415         * libgcov-driver.c (gcov_version): Use different name that does
1416         not clash with newly introduced macro.
1418 2021-04-29  Eric Botcazou  <ebotcazou@adacore.com>
1420         * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
1421         if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
1422         * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
1424 2021-04-28  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
1426         * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1427         Define.
1428         (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
1429         * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1430         Define.
1431         (__divkc3): Improve complex divide.
1433 2021-04-23  Michael Meissner  <meissner@linux.ibm.com>
1435         PR target/98952
1436         * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
1437         trampoline size comparison in 32-bit by reversing test and
1438         combining load immediate with compare.
1439         (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
1440         in 32-bit by reversing test and combining load immediate with
1441         compare.
1443 2021-04-05  Florian Weimer  <fweimer@redhat.com>
1444             Michael Meissner   <meissner@linux.ibm.com>
1446         * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
1447         point functions for $(decimal_float) only.
1449 2021-04-03  Jakub Jelinek  <jakub@redhat.com>
1451         PR target/97653
1452         * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
1453         $(objext) instead of $(object).  Use _floatunditf instead of
1454         _floatunsditf.  Add tf <-> ti conversion objects.
1455         (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
1457 2021-03-29  Michael Meissner  <meissner@linux.ibm.com>
1459         * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
1460         (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
1461         (fp128_decstr_objs): Delete.
1462         * dfp-bit.h: Call __sprintfieee128 to do conversions from
1463         _Float128 to a Decimal type.  Call __strtoieee128 to do
1464         conversions from a Decimal type to _Float128.
1465         * config/rs6000/_sprintfkf.c: Delete file.
1466         * config/rs6000/_sprintfkf.h: Delete file.
1467         * config/rs6000/_strtokf.c: Delete file.
1468         * config/rs6000/_strtokf.h: Delete file.
1470 2021-03-23  Marcus Comstedt  <marcus@mc.pp.se>
1472         * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
1473         to __BYTE_ORDER__.
1475 2021-03-06  Jakub Jelinek  <jakub@redhat.com>
1477         PR gcov-profile/99406
1478         * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
1479         defined, define these macros if not defined already.
1481 2021-03-04  Martin Liska  <mliska@suse.cz>
1483         PR gcov-profile/99105
1484         * libgcov-driver.c (write_top_counters): Rename to ...
1485         (write_topn_counters): ... this.
1486         (write_one_data): Pre-allocate buffer for number of items
1487         in the corresponding linked lists.
1488         * libgcov.h (malloc_mmap): New function.
1489         (allocate_gcov_kvp): Use it.
1491 2021-03-04  Martin Liska  <mliska@suse.cz>
1493         PR gcov-profile/99385
1494         * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
1496 2021-03-03  Martin Liska  <mliska@suse.cz>
1498         PR gcov-profile/97461
1499         * config.in: Regenerate.
1500         * configure: Likewise.
1501         * configure.ac: Check sys/mman.h header file
1502         * libgcov-driver.c (struct gcov_kvp): Remove static
1503         pre-allocated pool and use a dynamic one.
1504         * libgcov.h (MMAP_CHUNK_SIZE): New.
1505         (gcov_counter_add): Use mmap to allocate pool for struct
1506         gcov_kvp.
1508 2021-03-02  Michael Meissner  <meissner@linux.ibm.com>
1510         * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
1511         the function.
1512         * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
1514 2021-02-24  Jakub Jelinek  <jakub@redhat.com>
1516         PR libgcc/99236
1517         * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
1518         negation of m in unsigned type.
1520 2021-02-24  Christophe Lyon  <christophe.lyon@linaro.org>
1521             Hau Hsu  <hsuhau617@gmail.com>
1523         PR target/99157
1524         * config/arm/t-arm: Fix cmse support detection.
1526 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
1528         * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
1530 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
1532         * config/rs6000/_dd_to_kf.c: New file.
1533         * config/rs6000/_kf_to_dd.c: New file.
1534         * config/rs6000/_kf_to_sd.c: New file.
1535         * config/rs6000/_kf_to_td.c: New file.
1536         * config/rs6000/_sd_to_kf.c: New file.
1537         * config/rs6000/_sprintfkf.c: New file.
1538         * config/rs6000/_sprintfkf.h: New file.
1539         * config/rs6000/_strtokf.h: New file.
1540         * config/rs6000/_strtokf.c: New file.
1541         * config/rs6000/_td_to_kf.c: New file.
1542         * config/rs6000/quad-float128.h: Add new declarations.
1543         * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
1544         (fp128_decstr_funcs): New macro.
1545         (ibm128_dec_funcs): New macro.
1546         (fp128_ppc_funcs): Add the new conversions.
1547         (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
1548         compiled with -mabi=ieeelongdouble.
1549         (fp128_decstr_objs): Force __float128 <-> string conversions to be
1550         compiled with -mabi=ibmlongdouble.
1551         (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
1552         compiled with -mabi=ieeelongdouble.
1553         (FP128_CFLAGS_DECIMAL): New macro.
1554         (IBM128_CFLAGS_DECIMAL): New macro.
1555         * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
1556         (BFP_TO_DFP): Add PowerPC _Float128 support.
1557         * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
1558         IEEE 128-bit floating point.
1559         (DFP_TO_BFP): Add PowerPC _Float128 support.
1560         (BFP_TO_DFP): Add PowerPC _Float128 support.
1561         (BFP_SPRINTF): New macro.
1563 2021-01-27  Jakub Jelinek  <jakub@redhat.com>
1565         * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
1566         * config/i386/savms64f.h: Likewise.
1567         * config/i386/resms64.h: Likewise.
1568         * config/i386/resms64f.h: Likewise.
1569         * config/i386/resms64x.h: Likewise.
1570         * config/i386/resms64fx.h: Likewise.
1572 2021-01-26  Martin Liska  <mliska@suse.cz>
1574         PR gcov-profile/98739
1575         * libgcov.h (gcov_topn_add_value): Do not train when
1576         we have a merged profile with a negative number of total
1577         value.
1579 2021-01-25  Martin Liska  <mliska@suse.cz>
1581         PR gcov-profile/98739
1582         * libgcov-merge.c (__gcov_merge_topn): Mark when merging
1583         ends with a dropped counter.
1584         * libgcov.h (gcov_topn_add_value): Add return value.
1586 2021-01-13  Stafford Horne  <shorne@gmail.com>
1588         * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1589         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
1590         FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
1591         FP_EX_ALL): New constant macros.
1592         (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
1593         FP_HANDLE_EXCEPTIONS): New macros.
1594         (_FP_TININESS_AFTER_ROUNDING): Change to 1.
1596 2021-01-13  Samuel Thibault  <samuel.thibault@gnu.org>
1598         * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
1599         posix siginfo case to struct handler_args. Detect between legacy
1600         and siginfo from the second parameter, which is a small sigcode in
1601         the legacy case, and a pointer in the siginfo case.
1603 2020-12-20  Max Filippov  <jcmvbkbc@gmail.com>
1605         * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
1606         functions.
1607         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
1608         _bswapdi2.
1610 2020-12-08  Ian Lance Taylor  <iant@golang.org>
1612         * generic-morestack-thread.c (free_segments): Block signals during
1613         thread exit.
1615 2020-12-03  Michael Meissner  <meissner@linux.ibm.com>
1617         PR libgcc/97543
1618         PR libgcc/97643
1619         * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
1620         (IBM128_SHARED_OBJS): New make variable.
1621         (IBM128_OBJS): New make variable.  Set all objects to use the
1622         explicit IBM format, and disable gnu attributes.
1623         (IBM128_CFLAGS): New make variable.
1624         (gcc_s_compile): Add -mno-gnu-attribute to all shared library
1625         modules.
1627 2020-12-03  Alexandre Oliva  <oliva@adacore.com>
1629         * config/t-vxworks (LIB2ADD): Drop.
1630         * config/t-vxworks7 (LIB2ADD): Likewise.
1631         * config/vxcache.c: Remove.
1633 2020-11-30  Stefan Kanthak  <stefan.kanthak@nexgo.de>
1635         * libgcc2.c (bswapsi2): Make constants unsigned.
1637 2020-11-25  Stefan Kanthak  <stefan.kanthak@nexgo.de>
1639         * libgcc2.c (absvSI2): Simplify/improve implementation by using
1640         builtin_add_overflow.
1641         (absvsi2, absvDI2): Likewise.
1643 2020-11-20  Maciej W. Rozycki  <macro@linux-mips.org>
1645         * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
1646         (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
1648 2020-11-18  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1650         * config/msp430/lib2hw_mul.S (mult64_hw): New.
1651         (if MUL_32): Use mult64_hw for __muldi3.
1652         (if MUL_F5): Use mult64_hw for __muldi3.
1653         * config/msp430/lib2mul.c (__muldi3): New.
1654         * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
1656 2020-11-17  Alan Modra  <amodra@gmail.com>
1658         * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
1659         (LIB2_SIDITI_CONV_FUNCS): Define.
1660         * config/rs6000/ppc64-fp.c: Delete file.
1662 2020-11-15  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1664         * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
1665         hwmult library functions.
1667 2020-11-10  Jeff Law  <law@redhat.com>
1669         * libgcc2.c: Fix whitespace issues in most recent change.
1671 2020-11-10  Stefan Kanthak  <stefan.kanthak@nexgo.de>
1673         * libgcc2.c (__addvSI3): Use overflow builtins.
1674         (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
1675         (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
1676         (__negvsi2, __negvDI2): Likewise.
1677         (__cmpdi2, __ucmpdi2): Adjust implementation to improve
1678         generated code.
1679         * libgcc2.h (__ucmpdi2): Adjust prototype.
1681 2020-11-03  Pat Bernardi  <bernardi@adacore.com>
1682             Olivier Hainque   <hainque@adacore.com>
1684         * config.host (aarch64-vxworks7*, tmake_file): Add
1685         ${cpu_type}/t-lse and t-slibgcc-libgcc.
1687 2020-11-03  Martin Storsjö  <martin@martin.st>
1689         * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
1690         before calling the callback.
1692 2020-10-30  Olivier Hainque  <hainque@adacore.com>
1693             Douglas Rupp  <rupp@adacore.com>
1694             Pat Bernardi  <bernardi@adacore.com>
1696         * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
1697         to apply to VxWorks 7 as well.
1699 2020-10-29  Olivier Hainque  <hainque@adacore.com>
1701         * config/gthr-vxworks-tls.c: Fix preprocessor logic
1702         controlling the definition of VX_ENTER_TLS_DTOR and
1703         VX_LEAVE_TLS_DTOR based on a version major check.
1705 2020-10-29  Olivier Hainque  <hainque@adacore.com>
1707         * config/gthr-vxworks-thread.c: Fix name of macro used
1708         to condition the inclusion of an actual implementation.
1710 2020-10-27  Martin Liska  <mliska@suse.cz>
1712         PR gcov-profile/97461
1713         * libgcov.h (gcov_counter_add): Use first static counters
1714         as it should help to have malloc wrappers set up.
1716 2020-10-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1718         * config/gthr-vxworks-thread.c: #include gthr.h before
1719         testing the guard defined there.
1720         * config/gthr-vxworks-cond.c: Likewise.
1722 2020-10-21  Douglas Rupp  <rupp@adacore.com>
1723             Olivier Hainque  <hainque@adacore.com>
1725         * config.host (powerpc*-wrs-vxworks7*): New case.
1726         * configure.ac: Handle powerpc*-*-vxworks7* as
1727         powerpc*-*-linux* for ppc-fp_type.
1728         * configure: Regenerate.
1730 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1732         * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
1733         section on VxWorks >= 6.
1734         * config/gthr-vxworks-thread.c: Condition the entire
1735         implementation on __GTHREAD_CXX0X.
1737 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1739         * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
1740         section on VxWorks >= 6.
1741         * config/gthr-vxworks-cond.c: Condition the entire
1742         implementation on __GTHREAD_HAS_COND.
1744 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1746         * config/gthr-vxworks.c: #include <taskLib.h>.
1748 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1750         * config/gthr-vxworks.h: Rewrite remaining occurrence
1751         of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
1753 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1754              Olivier Hainque   <hainque@adacore.com>
1756         * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
1757         except on VxWorks 6.
1759 2020-10-16  Olivier Hainque  <hainque@adacore.com>
1761         * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
1763 2020-10-14  Alexandre Oliva  <oliva@adacore.com>
1765         * config/gthr-vxworks-thread.c: Include stdlib.h.
1766         (tls_delete_hook): Prototype it.
1767         (__gthread_cond_signal): Return early if no waiters.  Consume
1768         signal in case the semaphore got full.  Use semInfoGet instead
1769         of kernel-mode-only semInfo.
1770         (__gthread_cond_timedwait): Use semExchange.  Always take the
1771         mutex again before returning.
1772         * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
1774 2020-10-14  Olivier Hainque  <hainque@adacore.com>
1776         * config/t-vxworks (LIBGCC2_INCLUDES): Append
1777         $(MULTISUBDIR) to the -I path for fixed headers, as we
1778         arrange to have different sets of such headers for different
1779         multilibs when they are activated.
1780         * config/t-vxworks7: Likewise.
1782 2020-10-14  Olivier Hainque  <hainque@adacore.com>
1784         * config/t-vxworks: Add include-fixed to include search
1785         paths for libgcc on VxWorks.
1786         * config/t-vxworks7: Likewise.
1788 2020-10-09  H.J. Lu  <hjl.tools@gmail.com>
1790         PR target/97148
1791         * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
1792         instead of <cetintrin.h>.
1794 2020-10-01  Alan Modra  <amodra@gmail.com>
1796         * config/rs6000/morestack.S,
1797         * config/rs6000/tramp.S: Support __PCREL__ code.
1799 2020-10-01  Alan Modra  <amodra@gmail.com>
1801         * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
1803 2020-09-29  Maciej W. Rozycki  <macro@wdc.com>
1805         * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
1806         variable.
1808 2020-09-28  Richard Sandiford  <richard.sandiford@arm.com>
1810         * config/aarch64/libgcc-softfp.ver: New file.
1811         * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
1813 2020-09-27  Clement Chigot  <clement.chigot@atos.net>
1815         * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
1817 2020-09-22  Sergei Trofimovich  <siarheit@google.com>
1819         PR gcov-profile/96913
1820         * libgcov-driver.c (write_one_data): Avoid function pointer
1821         comparison in TOP streaming decision.
1823 2020-09-17  Torbjörn SVENSSON  <torbjorn.svensson@st.com>
1824             Christophe Lyon  <christophe.lyon@linaro.org>
1826         * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
1827         qualifier.
1828         (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
1829         (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
1830         missing prototypes.
1832 2020-09-17  Wei Wentao  <weiwt.fnst@cn.fujitsu.com>
1834         * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
1835         unused variable warning.
1837 2020-09-16  Jojo R  <jiejie_rong@c-sky.com>
1839         * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
1841 2020-09-09  Tom de Vries  <tdevries@suse.de>
1843         * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
1844         Wbuiltin-declaration-mismatch.
1846 2020-08-26  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1848         * config/msp430/slli.S (__gnu_mspabi_sllp): New.
1849         * config/msp430/srai.S (__gnu_mspabi_srap): New.
1850         * config/msp430/srli.S (__gnu_mspabi_srlp): New.
1852 2020-08-13  Kwok Cheung Yeung  <kcy@codesourcery.com>
1854         * config/nvptx/atomic.c: New.
1855         * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
1857 2020-08-03  Ian Lance Taylor  <iant@golang.org>
1859         * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
1861 2020-08-03  Jakub Jelinek  <jakub@redhat.com>
1863         PR target/96402
1864         * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
1865         of x(tmp0), x(tmp1) in STXP arguments.
1867 2020-07-31  Maciej W. Rozycki  <macro@wdc.com>
1869         * config/riscv/save-restore.S [__riscv_xlen == 64]
1870         (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
1871         (__riscv_save_2): Replace negative immediates used for the final
1872         stack pointer adjustment with positive ones, right-shifted by 4.
1874 2020-07-31  Martin Liska  <mliska@suse.cz>
1876         * libgcov-driver.c: Add __gcov_kvp_pool
1877         and __gcov_kvp_pool_index variables.
1878         * libgcov.h (allocate_gcov_kvp): New.
1879         (gcov_topn_add_value): Use it.
1881 2020-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1883         * config/aarch64/lse.S: Add PAC property note.
1885 2020-07-23  Martin Liska  <mliska@suse.cz>
1887         PR gcov-profile/96035
1888         * libgcov-driver-system.c: Create gcov folders with 0777
1889         so that it respects a system umask.
1891 2020-07-14  David Edelsohn  <dje.gcc@gmail.com>
1893         * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
1895 2020-07-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1897         PR target/94891
1898         * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
1899         (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
1900         (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
1901         (MD_DEMANGLE_RETURN_ADDR): This.
1902         (aarch64_post_extract_frame_addr): Rename to ...
1903         (aarch64_demangle_return_addr): This.
1904         (aarch64_post_frob_eh_handler_addr): Remove.
1905         * unwind-dw2.c (uw_update_context): Demangle return address.
1906         (uw_frob_return_addr): Remove.
1908 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1910         PR target/96001
1911         * config/aarch64/lse.S: Add BTI marking and related definitions,
1912         and add BTI c to function entries.
1914 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1916         * config/aarch64/lse.S: Add stack note.
1918 2020-07-02  Martin Liska  <mliska@suse.cz>
1920         PR gcov-profile/95348
1921         * libgcov-driver.c (merge_one_data): Merge only profiles
1922         that are not of non-zero type.
1923         (write_one_data): Write counters only if there's one non-zero
1924         value.
1925         * libgcov-util.c (tag_function): Change signature from unsigned
1926         to int.
1927         (tag_blocks): Likewise.
1928         (tag_arcs): Likewise.
1929         (tag_counters): Likewise.
1930         (tag_summary): Likewise.
1931         (tag_lines): Read only if COUNTERS is non-zero.
1932         (read_gcda_file): Handle negative length for COUNTERS type.
1934 2020-06-25  Martin Liska  <mliska@suse.cz>
1936         * libgcov-driver.c (merge_summary): Remove function as its name
1937         is misleading and doing something different.
1938         (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
1939         in gcov-tool.
1940         * libgcov-util.c (curr_object_summary): Remove.
1941         (read_gcda_file): Remove unused curr_object_summary.
1942         (gcov_merge): Merge summaries.
1943         * libgcov.h: Add summary argument for gcov_info struct.
1945 2020-06-24  H.J. Lu  <hjl.tools@gmail.com>
1947         PR target/95259
1948         * config/i386/cpuinfo.c: Don't include "cpuinfo.h".  Include
1949         "common/config/i386/i386-cpuinfo.h" and
1950         "common/config/i386/cpuinfo.h".
1951         (__cpu_features2): Changed to array.
1952         (get_amd_cpu): Removed.
1953         (get_intel_cpu): Likewise.
1954         (get_available_features): Likewise.
1955         (__cpu_indicator_init): Call cpu_indicator_init.
1956         * config/i386/cpuinfo.h: Removed.
1958 2020-06-23  David Edelsohn  <dje.gcc@gmail.com>
1960         * Makefile.in: Remove uses of empty.mk. Use -include.
1961         * config/avr/t-avr: Use -include.
1962         * empty.mk: Delete.
1964 2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
1966         * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
1967         * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
1968         and 64 bit with -maix64.
1969         * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
1970         Build and install AIX-style FAT libraries.
1972 2020-06-17  Samuel Thibault  <samuel.thibault@gnu.org>
1974         * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
1975         'i386/gnu-unwind.h'
1976         * config/i386/gnu-unwind.h: New file.
1978 2020-06-17  Martin Liska  <mliska@suse.cz>
1980         * libgcov-util.c (read_gcda_finalize): Remove const operator.
1981         (merge_wrapper): Add both counts and use them properly.
1982         (topn_to_memory_representation): New function.
1983         (gcov_merge): Covert on disk representation to in memory
1984         representation.
1985         * libgcov.h: Remove const operator.
1987 2020-06-15  Max Filippov  <jcmvbkbc@gmail.com>
1989         * configure: Regenerate.
1990         * configure.ac: Use AC_COMPILE_IFELSE instead of manual
1991         preprocessor invocation to check for __XTENSA_CALL0_ABI__.
1993 2020-06-09  Martin Liska  <mliska@suse.cz>
1995         PR gcov-profile/95494
1996         * libgcov-driver.c (write_top_counters): Cast first to
1997         intptr_t as sizeof(*) != sizeof(gcov_type).
1998         * libgcov.h (gcov_counter_set_if_null): Remove.
1999         (gcov_topn_add_value): Cast first to intptr_t and update
2000         linked list directly.
2002 2020-06-09  Max Filippov  <jcmvbkbc@gmail.com>
2004         * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
2005         with uw_install_context_1.
2007 2020-06-04  Andreas Schwab  <schwab@suse.de>
2009         PR target/59230
2010         PR libfortran/59227
2011         * config/ia64/t-softfp-compat (softfp_file_list): Filter out
2012         soft-fp/divtf3.c.
2013         (LIB2ADD): Add config/ia64/divtf3.c.
2014         * config/ia64/divtf3.c: New file.
2016 2020-06-03  Martin Liska  <mliska@suse.cz>
2018         PR gcov-profile/95480
2019         * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
2020         * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
2021         (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
2022         (gcov_counter_set_if_null): Likewise.
2024 2020-06-02  Jim Wilson  <jimw@sifive.com>
2026         * config/riscv/div.S (__divdi3): For negative arguments, change bgez
2027         to bgtz.
2029 2020-06-02  Martin Liska  <mliska@suse.cz>
2031         * libgcov.h (gcov_topn_add_value): Use xcalloc instead
2032         of xmalloc.
2034 2020-06-02  Martin Liska  <mliska@suse.cz>
2036         * libgcov-driver.c (prune_topn_counter): Remove.
2037         (prune_counters): Likewise.
2038         (merge_one_data): Special case TOP N counters
2039         as they have variable length.
2040         (write_top_counters): New.
2041         (write_one_data): Special case TOP N.
2042         (dump_one_gcov): Do not prune TOP N counters.
2043         * libgcov-merge.c (merge_topn_values_set): Remove.
2044         (__gcov_merge_topn): Use gcov_topn_add_value.
2045         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2046         Likewise here.
2047         * libgcov.h (gcov_counter_add): New.
2048         (gcov_counter_set_if_null): Likewise.
2049         (gcov_topn_add_value): New.
2051 2020-06-01  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2053         * config/i386/sfp-exceptions.c (struct fenv):
2054         Add __attribute__ ((gcc_struct)).
2056 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
2058         PR bootstrap/95413
2059         * configure: Regenerated.
2061 2020-05-28  Dong JianQiang  <dongjianqiang2@huawei.com>
2063         PR gcov-profile/95332
2064         * libgcov-util.c (read_gcda_file): Call gcov_magic.
2065         * libgcov.h (gcov_magic): Disable GCC poison.
2067 2020-05-21  H.J. Lu  <hongjiu.lu@intel.com>
2069         PR target/95212
2070         * config/i386/cpuinfo.h (processor_features): Move
2071         FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
2073 2020-05-20  H.J. Lu  <hongjiu.lu@intel.com>
2075         PR target/91695
2076         * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
2077         check.
2079 2020-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2081         PR target/95212
2082         PR target/95220
2083         * config/i386/cpuinfo.c (get_available_features): Fix
2084         FEATURE_GFNI check.  Also check FEATURE_AVX512VP2INTERSECT.
2085         * config/i386/cpuinfo.h (processor_features): Add
2086         FEATURE_AVX512VP2INTERSECT.
2088 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2090         PR bootstrap/95147
2091         * configure: Regenerated.
2093 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2095         * configure: Regenerated.
2097 2020-05-09  Hans-Peter Nilsson  <hp@axis.com>
2099         * config.host: Remove support for crisv32-*-* and cris*-*-linux.
2100         * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
2102 2020-05-06  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2104         * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
2105         (__math_force_eval_div): New define.
2106         (__sfp_handle_exceptions): Use __math_force_eval_div to use
2107         generic division to generate INVALID, DIVZERO and INEXACT
2108         exceptions.
2110 2020-05-06  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2112         * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
2113         instead of getauxval.
2114         (AT_HWCAP): Define.
2115         (HWCAP_ATOMICS): Define.
2116         Guard detection on __gnu_linux__.
2118 2020-05-05  Michael Meissner  <meissner@linux.ibm.com>
2120         * config.host: Delete changes meant for a private branch.
2121         * config/rs6000/t-float128: Likewise.
2122         * configure.ac: Likewise.
2123         * configure: Likewise.
2125 2020-05-05  Martin Liska  <mliska@suse.cz>
2127         PR gcov-profile/93623
2128         * Makefile.in: Remove __gcov_flush.
2129         * gcov.h (__gcov_flush): Remove.
2130         * libgcov-interface.c (__gcov_flush): Remove.
2131         (init_mx): Use renamed mutex.
2132         (__gcov_lock): Likewise.
2133         (__gcov_unlock): Likewise.
2134         (__gcov_fork): Likewise.
2135         (__gcov_flush): Remove.
2137 2020-05-05  Martin Liska  <mliska@suse.cz>
2139         PR gcov-profile/93623
2140         * libgcov-interface.c (__gcov_fork): Do not flush
2141         and reset only in child process.
2142         (__gcov_execl): Dump counters only and reset them
2143         only if exec* fails.
2144         (__gcov_execlp): Likewise.
2145         (__gcov_execle): Likewise.
2146         (__gcov_execv): Likewise.
2147         (__gcov_execvp): Likewise.
2148         (__gcov_execve): Likewise.
2150 2020-05-05  Martin Liska  <mliska@suse.cz>
2152         PR gcov-profile/93623
2153         * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
2154         * libgcov-interface.c (ALIAS_void_fn): Remove.
2155         (__gcov_lock): New.
2156         (__gcov_unlock): New.
2157         (__gcov_flush): Use __gcov_lock and __gcov_unlock.
2158         (__gcov_reset): Likewise.
2159         (__gcov_dump): Likewise.
2160         * libgcov.h (__gcov_lock): New declaration.
2161         (__gcov_unlock): Likewise.
2163 2020-05-01  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2165         * config/i386/sfp-exceptions.c (__math_force_eval): New define.
2166         (__sfp_handle_exceptions): Use __math_force_eval to evaluate
2167         generic division to generate INVALID and DIVZERO exceptions.
2169 2020-04-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2171         * config/rs6000/crtresfpr.S: Use .machine ppc.
2172         * config/rs6000/crtresxfpr.S: Likewise.
2173         * config/rs6000/crtsavfpr.S: Likewise.
2175 2020-04-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2177         PR target/94514
2178         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
2179         Update context->flags accroding to the frame state.
2181 2020-04-19  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2183         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
2184         Remove unneeded assignments to volatile memory.
2186 2020-04-15  Jakub Jelinek  <jakub@redhat.com>
2188         PR target/93053
2189         * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
2190         * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
2191         is not defined, use just .arch armv8-a.
2192         (B, M, N, OPN): Define.
2193         (COMMENT): New .macro.
2194         (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
2195         defined.  Otherwise, move the operands right after the glue? and
2196         comment out operands where the macros are used.
2197         * configure: Regenerated.
2198         * config.in: Regenerated.
2200 2020-04-07  Ian Lance Taylor  <iant@golang.org>
2202         PR libgcc/94513
2203         * generic-morestack.c: Give up trying to use __mmap/__munmap, use
2204         syscall instead.
2206 2020-04-04  Ian Lance Taylor  <iant@golang.org>
2208         * generic-morestack.c: Only use __mmap on glibc >= 2.26.
2210 2020-04-03  Ian Lance Taylor  <iant@golang.org>
2212         * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
2213         than mmap/munmap, to avoid hooks.
2215 2020-04-03  Jim Johnston  <jjohnst@us.ibm.com>
2217         * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
2218         (TPFRA_OFFSET): Macros removed.
2219         (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
2220         (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
2221         (PG3_SKIPPING_OFFSET): New macros.
2222         (__isPATrange): Use cinfc_fast for the check.
2223         (__isSkipResetAddr): New function.
2224         (s390_fallback_frame_state): Check for skip trace addresses. Use
2225         either ICST_CRET or ICST_SRET to calculate return address
2226         location.
2227         (__tpf_eh_return): Handle skip trace addresses.
2229 2020-03-26  Richard Earnshaw  <rearnsha@arm.com>
2231         PR target/94220
2232         * config/arm/lib1funcs.asm (COND): Use a single definition for
2233         unified syntax.
2234         (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
2235         (aeabi_idivmod): Likewise.
2236         (divsi3_skip_div0_test): Likewise.
2238 2020-03-17  Mihail Ionescu  <mihail.ionescu@arm.com>
2240         * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
2242 2020-03-04  Andreas Krebbel  <krebbel@linux.ibm.com>
2244         * config.host: Include the new makefile fragment.
2245         * config/s390/t-tpf: New file.
2247 2020-03-03  Richard Earnshaw  <rearnsha@arm.com>
2249         * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
2250         syntax.
2251         (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
2252         (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
2253         (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
2254         (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
2255         * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
2256         syntax.
2257         (divsi3, modsi3): Likewise.
2258         (clzdi2, ctzsi2): Likewise.
2259         * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
2260         unified syntax.
2261         (UNWIND_WRAPPER): Likewise.
2263 2020-03-02  Martin Liska  <mliska@suse.cz>
2265         * libgcov-interface.c: Remove duplicate
2266         declaration of __gcov_flush_mx.
2268 2020-02-18  Martin Liska  <mliska@suse.cz>
2270         PR ipa/92924
2271         * libgcov-merge.c (merge_topn_values_set): Record
2272         when a TOP N counter becomes invalid.  When merging
2273         remove a smallest value if the space is needed.
2275 2020-02-12  Sandra Loosemore  <sandra@codesourcery.com>
2277         PR libstdc++/79193
2278         PR libstdc++/88999
2280         * configure: Regenerated.
2282 2020-02-10  Jeff Law  <law@redhat.com>
2284         * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
2285         sections.
2286         * config/frv/frvend.c: Similarly.
2288 2020-02-10  H.J. Lu  <hongjiu.lu@intel.com>
2290         PR libgcc/85334
2291         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2292         New.
2294 2020-02-10  Christophe Lyon  <christophe.lyon@linaro.org>
2296         PR target/93615
2297         * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
2298         _Unwind_gnu_Find_got.
2299         * unwind-pe.h: Likewise.
2301 2020-02-07  Jakub Jelinek  <jakub@redhat.com>
2303         PR target/93615
2304         * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
2305         (_Unwind_gnu_Find_got): ... this.  Use __asm instead of asm.  Remove
2306         trailing :s in asm.  Formatting fixes.
2307         (_Unwind_decode_typeinfo_ptr): Adjust caller.
2309 2020-01-31  Sandra Loosemore  <sandra@codesourcery.com>
2311         nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
2313         * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
2314         * config/nios2-elf-lib.h: New.
2315         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
2316         code for finding GOT base for nios2.
2318 2020-01-27  Martin Liska  <mliska@suse.cz>
2320         PR gcov-profile/93403
2321         * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
2322         Call __gcov_indirect_call_profiler_body.
2323         (__gcov_indirect_call_profiler_body): New.
2324         (__gcov_indirect_call_profiler_v4_atomic): New.
2325         * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
2326         New declaration.
2328 2020-01-27  Claudiu Zissulescu  <claziss@synopsys.com>
2330         * config/arc/crti.S: Add RF16 object attribute.
2331         * config/arc/crtn.S: Likewise.
2332         * config/arc/crttls.S: Likewise.
2333         * config/arc/lib1funcs.S: Likewise.
2334         * config/arc/fp-hack.h (ARC_OPTFPE): Define.
2335         * config/arc/lib2funcs.c: New file.
2336         * config/arc/t-arc: Add lib2funcs to LIB2ADD.
2338 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
2340         * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
2341         * configure.ac: Handle `--with-toolexeclibdir='.
2342         * configure: Regenerate.
2344 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
2346         * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
2348 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
2350         * config/mips/gnustack.h: New file.
2351         * config/mips/crti.S: Include gnustack.h.
2352         * config/mips/crtn.S: Likewise.
2353         * config/mips/mips16.S: Likewise.
2354         * config/mips/vr4120-div.S: Likewise.
2356 2020-01-23  Martin Liska  <mliska@suse.cz>
2358         * libgcov-driver.c (prune_topn_counter): Remove
2359         check for -1 as we only prune run-time counters
2360         that do not generate an invalid state.
2362 2020-01-22  Martin Liska  <mliska@suse.cz>
2364         PR tree-optimization/92924
2365         * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
2366         try to find an existing value, then find an empty slot
2367         if not found.
2369 2020-01-22  Martin Liska  <mliska@suse.cz>
2371         PR tree-optimization/92924
2372         * libgcov-driver.c (prune_topn_counter): New.
2373         (prune_counters): Likewise.
2374         (dump_one_gcov): Prune a run-time counter.
2375         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2376         For a known value, add GCOV_TOPN_VALUES to value.
2377         Otherwise, decrement all counters by one.
2379 2020-01-18  Hans-Peter Nilsson  <hp@axis.com>
2381         * config/cris/arit.c (DS): Apply attribute __fallthrough__.
2383 2020-01-18  John David Anglin  <danglin@gcc.gnu.org>
2385         PR libgcc/92988
2386         * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
2387         DEFAULT_USE_CXA_ATEXIT is true.
2389 2020-01-16  Mihail-Calin Ionescu  <mihail.ionescu@arm.com>
2390             Thomas Preud'homme  <thomas.preudhomme@arm.com>
2392         * config/arm/t-arm: Check return value of gcc rather than lack of
2393         output.
2395 2020-01-14  Georg-Johann Lay  <avr@gjlay.de>
2397         * config/avr/lib1funcs.S (skip): Simplify.
2399 2020-01-10  Kwok Cheung Yeung  <kcy@codesourcery.com>
2401         * config/gcn/atomic.c: Remove include of stdint.h.
2402         (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
2403         __UINTPTR_TYPE__.
2405 2020-01-09  Kwok Cheung Yeung  <kcy@codesourcery.com>
2407         * config/gcn/atomic.c: New.
2408         * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
2410 2020-01-08  Georg-Johann Lay  <avr@gjlay.de>
2412         Implement 64-bit double functions.
2414         PR target/92055
2415         * config.host (tmake_file) [target=avr]: Add t-libf7,
2416         t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
2417         * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
2418         depending on sizeof (double) or sizeof (long double).
2419         * config/avr/libf7: New folder.
2421 2020-01-05  Olivier Hainque  <hainque@adacore.com>
2423         * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
2424         by IN_LIBGCC2.
2426 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
2428         Update copyright years.
2430 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2432         * config/gthr-vxworks.h: Use _vxworks-versions.h.
2433         * config/gthr-vxworks-tls.c: Likewise.
2435 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2437         * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
2438         standard zero-initializer syntax.
2440 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2442         * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
2443         reference to the internal VX_GET_TLS_DATA interface.
2445 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2447         * config/vxcrtstuff.c: Fix incorrect spelling of
2448         USE_INITFINI_ARRAY in guard.
2450 2019-12-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2452         * config.host: s/msp430*-*-elf/msp430-*-elf*.
2453         Override default "extra_parts" variable.
2454         * configure: Regenerate.
2455         * configure.ac: Disable TM clone registry by default for
2456         msp430-elfbare.
2458 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2460         * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
2461         "extra_parts".
2462         * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
2464 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2466         * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
2467         true.
2469 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2471         * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
2472         defined instead of its value.
2474 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2476         * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
2477         if it will have contents.
2479 2019-12-05  Georg-Johann Lay  <avr@gjlay.de>
2481         PR target/92055
2482         * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
2484 2019-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2486         PR libgcc/91737
2487         * config.host: Add t-gthr-noweak on *-*-musl*.
2488         * config/t-gthr-noweak: New file.
2490 2019-11-17  John David Anglin  <danglin@gcc.gnu.org>
2492         * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
2493         volatile void *.  Remove trap check.
2494         (__kernel_cmpxchg2): Likewise.
2495         (FETCH_AND_OP_2): Adjust operand types.
2496         (OP_AND_FETCH_2): Likewise.
2497         (FETCH_AND_OP_WORD): Likewise.
2498         (OP_AND_FETCH_WORD): Likewise.
2499         (COMPARE_AND_SWAP_2): Likewise.
2500         (__sync_val_compare_and_swap_4): Likewise.
2501         (__sync_bool_compare_and_swap_4): Likewise.
2502         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2503         (__sync_lock_test_and_set_4): Likewise.
2504         (SYNC_LOCK_RELEASE_1): Likewise.  Use __kernel_cmpxchg2 for release.
2505         (__sync_lock_release_4): Adjust operand types.  Use __kernel_cmpxchg
2506         for release.
2507         (__sync_lock_release_8): Remove.
2509 2019-11-15  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2511         * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
2512         of __sigset_t.
2514 2019-11-14  Jerome Lambourg  <lambourg@adacore.com>
2515             Doug Rupp <rupp@adacore.com>
2516             Olivier Hainque  <hainque@adacore.com>
2518         * config.host: Collapse the arm-vxworks entries into
2519         a single arm-wrs-vxworks7* one.
2520         * config/arm/unwind-arm-vxworks.c: Update comments.  Provide
2521         __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
2522         kernel modules, to be overriden by libstdc++ when we link with
2523         it.  Rely on externally provided __exidx_start/end.
2525 2019-11-14  Doug Rupp  <rupp@adacore.com>
2526             Olivier Hainque  <hainque@adacore.com>
2528         * config.host: Handle aarch64*-wrs-vxworks7*.
2530 2019-11-12  Olivier Hainque  <hainque@adacore.com>
2532         * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
2533         sources except the cxx0x support to LIB2ADDEH.  We don't support
2534         cxx0x on AE/653.
2535         * config/t-vxworksae: New file.
2536         * config.host: Handle *-*-vxworksae: Add the two aforementioned
2537         Makefile fragment files at their expected position in the tmake_file
2538         list, in accordance with what is done for other VxWorks variants.
2540 2019-11-12  Corentin Gay  <gay@adacore.com>
2541             Jerome Lambourg  <lambourg@adacore.com>
2542             Olivier Hainque  <hainque@adacore.com>
2544         * config/t-gthr-vxworks: New file, add all the gthr-vxworks
2545         sources to LIB2ADDEH.
2546         * config/t-vxworks: Remove adjustments to LIB2ADDEH.
2547         * config/t-vxworks7: Likewise.
2549         * config.host: Append a block at the end of the file to add the
2550         t-gthr files to the tmake_file list for VxWorks after everything
2551         else.
2553         * config/vxlib.c: Rename as gthr-vxworks.c.
2554         * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
2556         * config/gthr-vxworks.h: Simplify a few comments.  Expose a TAS
2557         API and a basic error checking API, both internal.  Simplify the
2558         __gthread_once_t type definition and initializers.  Add sections
2559         for condition variables support and for the C++0x thread support,
2560         conditioned against Vx653 for the latter.
2562         * config/gthr-vxworks.c (__gthread_once): Simplify comments and
2563         implementation, leveraging the TAS internal API.
2564         * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
2565         API, leveraging the general availability of TLS services in VxWorks7
2566         post SR6xxx.
2567         (__gthread_setspecific, __gthread_setspecific): Use it.
2568         (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
2569         * config/gthr-vxworks-cond.c: New file.  GTHREAD_COND variable
2570         support based on VxWorks primitives.
2571         * config/gthr-vxworks-thread.c: New file.  GTHREAD_CXX0X support
2572         based on VxWorks primitives.
2574 2019-11-06  Jerome Lambourg  <lambourg@adacore.com>
2575             Olivier Hainque  <hainque@adacore.com>
2577         * config/vxcrtstuff.c: New file.
2578         * config/t-vxcrtstuff: New Makefile fragment.
2579         * config.host: Append t-vxcrtstuff to the tmake_file list
2580         on all VxWorks ports using dwarf for table based EH.
2582 2019-11-07  Georg-Johann Lay  <avr@gjlay.de>
2584         Support 64-bit double and 64-bit long double configurations.
2586         PR target/92055
2587         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
2588         long double is a 32-bit type.
2589         * config/avr/t-avrlibc: Copy double64 and long-double64
2590         multilib(s) from the vanilla one.
2591         * config/avr/t-copy-libgcc: New Makefile snip.
2593 2019-11-04  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2595         * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
2596         the target output object format is not ELF.
2597         s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
2599 2019-11-03  Oleg Endo  <olegendo@gcc.gnu.org>
2601         PR libgcc/78804
2602         * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
2603         * fp-bit.c (pack_d, unpack_d): Remove special cases for
2604         FLOAT_BIT_ORDER_MISMATCH.
2605         * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
2607 2019-11-01  Jim Wilson  <jimw@sifive.com>
2609         * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
2611 2019-10-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2613         * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
2614         s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY, 
2615         s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
2616         Define symbols for 32-bit and f5series hardware multiply
2617         register addresses.
2618         Replace hard-coded register addresses with symbols.
2619         Fix "_mspabi*" typo.
2620         Fix whitespace.
2621         * config/msp430/lib2mul.c: Add comment.
2623 2019-10-15  John David Anglin  <danglin@gcc.gnu.org>
2625         * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
2626         unsigned int.  Adjust callers.
2627         (__canonicalize_funcptr_for_compare): Change plabel type to volatile
2628         unsigned int *.  Load relocation offset before function pointer.
2629         Add barrier to ensure ordering.
2631 2019-10-12  John David Anglin  <danglin@gcc.gnu.org>
2633         * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
2634         Load PIC register after branch target.  Fix white space.
2635         * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
2636         implementations.  Load PIC register after branch target.  Don't
2637         clobber function pointer when it points to function descriptor.
2638         Use nullification instead of branch in LINUX implementation.
2640 2019-10-03  John David Anglin  <danglin@gcc.gnu.org>
2642         * config/pa/fptr.c: Disable -Warray-bounds warning.
2644 2019-09-25  Richard Henderson  <richard.henderson@linaro.org>
2646         * config.in, configure: Re-rebuild with stock autoconf 2.69,
2647         not the ubuntu modified 2.69.
2649         PR target/91833
2650         * config/aarch64/lse-init.c: Include auto-target.h.  Disable
2651         initialization if !HAVE_SYS_AUXV_H.
2652         * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
2653         * config.in, configure: Rebuild.
2655         PR target/91834
2656         * config/aarch64/lse.S (LDNM): Ensure STXR output does not
2657         overlap the inputs.
2659 2019-09-25  Shaokun Zhang  <zhangshaokun@hisilicon.com>
2661         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
2662         CTR_EL0.IDC and CTR_EL0.DIC.
2664 2019-09-20  Christophe Lyon  <christophe.lyon@st.com>
2666         Revert:
2667         2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2668                 Mickaël Guêné <mickael.guene@st.com>
2670         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2671         architecture.
2673 2019-09-19  Richard Henderson  <richard.henderson@linaro.org>
2675         * config/aarch64/lse-init.c: New file.
2676         * config/aarch64/lse.S: New file.
2677         * config/aarch64/t-lse: New file.
2678         * config.host: Add t-lse to all aarch64 tuples.
2680 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2681         Mickaël Guêné <mickael.guene@st.com>
2683         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2684         architecture.
2686 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2687         Mickaël Guêné <mickael.guene@st.com>
2689         * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
2690         (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
2691         (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
2692         (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
2693         (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
2694         (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
2695         (__gnu_personality_sigframe_fdpic): New.
2696         (get_eit_entry): Add FDPIC signal frame support.
2698 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2699         Mickaël Guêné <mickael.guene@st.com>
2701         * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
2702         (__kernel_dmb): Likewise.
2703         (__fdpic_cmpxchg): New function.
2704         (__fdpic_dmb): New function.
2705         * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
2706         (gnu_Unwind_Find_got): New function.
2707         (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
2708         * unwind-arm-common.inc (UCB_PR_GOT): New.
2709         (funcdesc_t): New struct.
2710         (get_eit_entry): Add FDPIC support.
2711         (unwind_phase2): Likewise.
2712         (unwind_phase2_forced): Likewise.
2713         (__gnu_Unwind_RaiseException): Likewise.
2714         (__gnu_Unwind_Resume): Likewise.
2715         (__gnu_Unwind_Backtrace): Likewise.
2716         * unwind-pe.h (read_encoded_value_with_base): Likewise.
2718 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2719         Mickaël Guêné <mickael.guene@st.com>
2721         * libgcc/crtstuff.c: Add support for FDPIC.
2723 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2725         * config.host: Handle *-*-uclinuxfdpiceabi.
2727 2019-09-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
2729         * config.host: Set cpu_type for bpf-*-* targets.
2730         * config/bpf/t-bpf: Likewise.
2731         * config/bpf/crtn.S: Likewise.
2732         * config/bpf/crti.S: New file.
2734 2019-09-06  Jim Wilson  <jimw@sifive.com>
2736         * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2737         (riscv*-*-freebsd*): Likewise.
2739 2019-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
2741         * config.host: Remove references to spu.
2742         * config/spu/: Remove directory.
2744 2019-08-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2746         PR target/91306
2747         * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
2748         element type, instead of "sizeof" the element type.
2749         (__DTOR_LIST__): Likewise.
2750         (__TMC_LIST__): Likewise.
2751         (__do_global_dtors_aux_fini_array_entry): Likewise.
2752         (__frame_dummy_init_array_entry): Likewise.
2753         (__CTOR_END__): Likewise.
2754         (__DTOR_END__): Likweise.
2755         (__FRAME_END__): Likewise.
2756         (__TMC_END__): Likewise.
2758 2019-08-20  Lili Cui  <lilicui@intel.com>
2760         * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
2761         INTEL_COREI7_COOPERLAKE.
2763 2019-07-31  Matt Thomas  <matt@3am-software.com>
2764             Nick Hudson <nick@nthcliff.demon.co.uk>
2765             Matthew Green <mrg@eterna.com.au>
2766             Maya Rashish <coypu@sdf.org>
2768         * config.host (hppa*-*-netbsd*): New case.
2769         * config/pa/t-netbsd: New file.
2771 2019-07-31  Joel Hutton  <Joel.Hutton@arm.com>
2773         * config/arm/cmse.c (cmse_check_address_range): Add
2774         warn_unused_result attribute.
2776 2019-07-22  Martin Liska  <mliska@suse.cz>
2778         * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
2779         * config/pa/t-stublib: Likewise.
2781 2019-07-22  Stafford Horne  <shorne@gmail.com>
2783         PR target/90362
2784         * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
2785         to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
2786         instructions are not available on every processor.  Change a
2787         l.bnf to l.bf to fix logic issue.
2789 2019-07-04  Iain Sandoe  <iain@sandoe.co.uk>
2791         * config.host: Remove reference to t-darwin8.
2793 2019-07-03  Iain Sandoe  <iain@sandoe.co.uk>
2795         * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
2796         list.
2797         * config/rs6000/t-darwin: Build crt3_2 for older systems.  Revise
2798         mmacosx-version-min for crts to run across all system versions.
2799         * config/rs6000/t-darwin64 (LIB2ADD): Remove.
2800         * config/t-darwin: Revise mmacosx-version-min for crts to run across
2801         system versions >= 10.4.
2803 2019-07-03  Martin Liska  <mliska@suse.cz>
2805         * Makefile.in: Use topn_values instead of one_value names.
2806         * libgcov-merge.c (__gcov_merge_single): Move to ...
2807         (__gcov_merge_topn): ... this.
2808         (merge_single_value_set): Move to ...
2809         (merge_topn_values_set): ... this.
2810         * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
2811         ...
2812         (__gcov_topn_values_profiler_body): ... this.
2813         (__gcov_one_value_profiler_v2): Move to ...
2814         (__gcov_topn_values_profiler): ... this.
2815         (__gcov_one_value_profiler_v2_atomic): Move to ...
2816         (__gcov_topn_values_profiler_atomic): ... this.
2817         (__gcov_indirect_call_profiler_v4): Remove.
2818         * libgcov-util.c (__gcov_single_counter_op): Move to ...
2819         (__gcov_topn_counter_op): ... this.
2820         * libgcov.h (L_gcov_merge_single): Remove.
2821         (L_gcov_merge_topn): New.
2822         (__gcov_merge_single): Remove.
2823         (__gcov_merge_topn): New.
2824         (__gcov_one_value_profiler_v2): Move to ..
2825         (__gcov_topn_values_profiler): ... this.
2826         (__gcov_one_value_profiler_v2_atomic): Move to ...
2827         (__gcov_topn_values_profiler_atomic): ... this.
2829 2019-07-03  Martin Liska  <mliska@suse.cz>
2831         * libgcov-merge.c (merge_single_value_set): Support N values.
2832         * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
2834 2019-06-27  Ilia Diachkov  <ilia.diachkov@optimitech.com>
2836         * Makefile.in (USE_TM_CLONE_REGISTRY): New.
2837         (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
2838         * configure.ac: Add --disable-tm-clone-registry option.
2839         * configure: Regenerate.
2841 2019-06-27  Martin Liska  <mliska@suse.cz>
2843         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
2844         dead assignments.
2845         * libgcov-util.c: Likewise.
2847 2019-06-27  Martin Liska  <mliska@suse.cz>
2849         * libgcov-util.c (gcov_profile_merge): Release allocated
2850         memory.
2851         (calculate_overlap): Likewise.
2853 2019-06-25  Iain Sandoe  <iain@sandoe.co.uk>
2855         * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
2856         * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
2857         Build objects for the out of line save/restore register functions
2858         so that they can be used for any supported Darwin version.
2859         * config/t-darwin: Default the build Darwin version to Darwin8
2860         (MacOS 10.4).
2862 2019-06-25  Martin Liska  <mliska@suse.cz>
2864         * libgcov-driver-system.c (replace_filename_variables): Do not
2865         call strlen with NULL argument.
2867 2019-06-25  Andrew Stubbs  <ams@codesourcery.com>
2869         * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
2870         * config/gcn/unwind-gcn.c: New file.
2872 2019-06-25  Kwok Cheung Yeung  <kcy@codesourcery.com>
2873             Andrew Stubbs  <ams@codesourcery.com>
2875         * configure: Regenerate.
2876         * config/gcn/gthr-gcn.h: New.
2878 2019-06-18  Tom de Vries  <tdevries@suse.de>
2880         * config/nvptx/crt0.c (__main): Declare.
2882 2019-06-17  Matthew Green  <mrg@eterna.com.au>
2883             Maya Rashish  <coypu@sdf.org>
2885         * config.host (aarch64*-*-netbsd*): New case.
2887 2019-06-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2889         * config/msp430/slli.S (__mspabi_sllll): New library function for
2890         performing a logical left shift of a 64-bit value.
2891         * config/msp430/srai.S (__mspabi_srall): New library function for
2892         performing a arithmetic right shift of a 64-bit value.
2893         * config/msp430/srll.S (__mspabi_srlll): New library function for
2894         performing a logical right shift of a 64-bit value.
2896 2019-06-14  Matt Thomas  <matt@3am-software.com>
2897             Matthew Green  <mrg@eterna.com.au>
2898             Nick Hudson  <skrll@netbsd.org>
2899             Maya Rashish  <coypu@sdf.org>
2901         * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
2902         * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
2903         functions to build.
2904         * config/arm/t-netbsd-eabi: New file.
2906 2019-06-12  Dimitar Dimitrov  <dimitar@dinux.eu>
2908         * config.host: Add PRU target.
2909         * config/pru/asri.c: New file.
2910         * config/pru/eqd.c: New file.
2911         * config/pru/eqf.c: New file.
2912         * config/pru/ged.c: New file.
2913         * config/pru/gef.c: New file.
2914         * config/pru/gtd.c: New file.
2915         * config/pru/gtf.c: New file.
2916         * config/pru/led.c: New file.
2917         * config/pru/lef.c: New file.
2918         * config/pru/lib2bitcountHI.c: New file.
2919         * config/pru/lib2divHI.c: New file.
2920         * config/pru/lib2divQI.c: New file.
2921         * config/pru/lib2divSI.c: New file.
2922         * config/pru/libgcc-eabi.ver: New file.
2923         * config/pru/ltd.c: New file.
2924         * config/pru/ltf.c: New file.
2925         * config/pru/mpyll.S: New file.
2926         * config/pru/pru-abi.h: New file.
2927         * config/pru/pru-asm.h: New file.
2928         * config/pru/pru-divmod.h: New file.
2929         * config/pru/sfp-machine.h: New file.
2930         * config/pru/t-pru: New file.
2932 2019-06-11  Jakub Jelinek  <jakub@redhat.com>
2934         * libgcov-merge.c (__gcov_merge_single): Revert previous change.
2936 2019-06-10  Martin Liska  <mliska@suse.cz>
2938         PR bootstrap/90808
2939         * libgcov.h: Add ATTRIBUTE_UNUSED.
2941 2019-06-10  Martin Liska  <mliska@suse.cz>
2943         * Makefile.in: Add __gcov_one_value_profiler_v2,
2944         __gcov_one_value_profiler_v2_atomic and
2945         __gcov_indirect_call_profiler_v4.
2946         * libgcov-merge.c (__gcov_merge_single): Change
2947         function signature.
2948         (merge_single_value_set): New.
2949         * libgcov-profiler.c (__gcov_one_value_profiler_body):
2950         Update functionality.
2951         (__gcov_one_value_profiler): Remove.
2952         (__gcov_one_value_profiler_v2): ... this.
2953         (__gcov_one_value_profiler_atomic): Rename to ...
2954         (__gcov_one_value_profiler_v2_atomic): this.
2955         (__gcov_indirect_call_profiler_v3): Rename to ...
2956         (__gcov_indirect_call_profiler_v4): ... this.
2957         * libgcov.h (__gcov_one_value_profiler): Remove.
2958         (__gcov_one_value_profiler_atomic): Remove.
2959         (__gcov_one_value_profiler_v2_atomic): New.
2960         (__gcov_indirect_call_profiler_v3): Remove.
2961         (__gcov_one_value_profiler_v2): New.
2962         (__gcov_indirect_call_profiler_v4): New.
2963         (gcov_get_counter_ignore_scaling): New function.
2965 2019-06-07  Martin Liska  <mliska@suse.cz>
2967         * Makefile.in: Remove usage of
2968         _gcov_merge_icall_topn.
2969         * libgcov-driver.c (gcov_sort_n_vals): Remove.
2970         (gcov_sort_icall_topn_counter): Likewise.
2971         (gcov_sort_topn_counter_arrays): Likewise.
2972         (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
2973         * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
2974         * libgcov-profiler.c (__gcov_topn_value_profiler_body):
2975         Likewise.
2976         (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
2977         (struct indirect_call_tuple): Remove.
2978         (__gcov_indirect_call_topn_profiler): Remove.
2979         * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
2980         * libgcov.h (gcov_sort_n_vals): Remove.
2981         (L_gcov_merge_icall_topn): Likewise.
2982         (__gcov_merge_icall_topn): Likewise.
2983         (__gcov_indirect_call_topn_profiler): Likewise.
2985 2019-06-06  Iain Sandoe  <iain@sandoe.co.uk>
2987         * config/rs6000/t-darwin: Ensure that the unwinder is built with
2988         altivec enabled.
2990 2019-06-06  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2992         * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
2993         section.
2994         (__mspabi_slli): Likewise.
2995         (__mspabi_slll_n): Likewise.
2996         (__mspabi_slll): Likewise.
2997         * config/msp430/srai.S (__mspabi_srai_n): Likewise.
2998         (__mspabi_srai): Likewise.
2999         (__mspabi_sral_n): Likewise.
3000         (__mspabi_sral): Likewise.
3001         * config/msp430/srli.S (__mspabi_srli_n): Likewise.
3002         (__mspabi_srli): Likewise.
3003         (__mspabi_srll_n): Likewise.
3004         (__mspabi_srll): Likewise.
3006 2019-06-05  Yoshinori Sato  <ysato@users.sourceforge.jp>
3008         * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
3009         Add appropriate tm_file clause as well.
3010         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
3012 2019-06-05  James Clarke  <jrtc27@jrtc27.com>
3014         * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
3015         rather than .data/.bss so it can be accessed via gp-relative
3016         addressing.
3018 2019-06-05  David Edelsohn  <dje.gcc@gmail.com>
3020         * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
3021         (CR2_REGNO): Rename to R_CR2.
3022         (XER_REGNO): Rename to R_XER.
3023         (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
3024         (VRSAVE_REGNO): Rename to R_VRSAVE.
3025         (VSCR_REGNO): R_VSCR.
3027 2019-05-29  Yoshinori Sato  <ysato@users.sourceforge.jp>
3029         * config.host (rx-*-linux*): Add new case.
3030         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
3032 2019-05-29  Sam Tebbs  <sam.tebbs@arm.com>
3034         * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
3035         function.
3036         * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
3037         aarch64_post_frob_eh_handler_addr): Add check for b-key.
3038         * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
3039         aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
3040         Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
3041         * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
3042         string.
3043         * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
3044         string.
3045         (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
3047 2019-05-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3049         * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
3050         Remove Solaris 9 and 10 support.
3051         (sparc_is_sighandler): Likewise.
3053 2019-05-26  John David Anglin  <danglin@gcc.gnu.org>
3055         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
3057 2019-05-17  H.J. Lu  <hongjiu.lu@intel.com>
3059         * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3060         4_FP_W_TYPEs are used for IEEE quad precision.
3061         * soft-fp/extendhftf2.c: Likewise.
3062         * soft-fp/extendsftf2.c: Likewise.
3063         * soft-fp/extendxftf2.c: Likewise.
3064         * soft-fp/trunctfdf2.c: Likewise.
3065         * soft-fp/trunctfhf2.c: Likewise.
3066         * soft-fp/trunctfsf2.c: Likewise.
3067         * soft-fp/trunctfxf2.c: Likewise.
3068         * config/rs6000/ibm-ldouble.c: Likewise.
3070 2019-05-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3072         * config.host: Simplify various *-*-solaris2.1[0-9]* to
3073         *-*-solaris2*.
3074         * configure.ac: Likewise.
3075         * configure: Regenerate.
3077         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3078         Solaris 10 and Solaris 11 < snv_125 handling.
3080 2019-05-12  Iain Sandoe  <iain@sandoe.co.uk>
3082         * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
3084 2019-05-07  Hongtao Liu  <hongtao.liu@intel.com>
3086         * config/i386/cpuinfo.c (get_available_features): Detect BF16.
3087         * config/i386/cpuinfo.h (enum processor_features): Add
3088         FEATURE_AVX512BF16.
3090 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
3091             Bernd Edlinger  <bernd.edlinger@hotmail.de>
3092             Jakub Jelinek  <jakub@redhat.com>
3094         PR target/89093
3095         * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
3096         * config/arm/unwind-arm.c: Likewise.
3097         * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
3098         attribute for ARM.
3100 2019-04-15  Monk Chiang  <sh.chiang04@gmail.com>
3102         * config/nds32/linux-unwind.h (SIGRETURN): Remove.
3103         (RT_SIGRETURN): Update.
3104         (nds32_fallback_frame_state): Update.
3106 2019-02-21  Martin Sebor  <msebor@redhat.com>
3108         * libgcc2.h (__clear_cache): Correct signature.
3109         * libgcc2.c (__clear_cache): Same.
3111 2019-02-20  UroÅ¡ Bizjak  <ubizjak@gmail.com>
3113         * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
3114         Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
3116 2019-02-19  UroÅ¡ Bizjak  <ubizjak@gmail.com>
3118         * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
3119         regno instead of index to DWARF_ZERO_REG.
3121 2019-02-15  Eric Botcazou  <ebotcazou@adacore.com>
3123         * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
3124         TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
3126 2019-01-31  UroÅ¡ Bizjak  <ubizjak@gmail.com>
3128         * config/alpha/t-linux: Add -mfp-rounding-mode=d
3129         to HOST_LIBGCC2_CFLAGS.
3131 2019-01-23  Joseph Myers  <joseph@codesourcery.com>
3133         PR libgcc/88931
3134         * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
3136 2019-01-18  Martin Liska  <mliska@suse.cz>
3138         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
3139         to ...
3140         (__gcov_indirect_call_profiler_v3): ... this.
3141         * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
3142         (__gcov_indirect_call_profiler_v3): Likewise.
3143         * Makefile.in: Bump function name.
3145 2019-01-18  Martin Liska  <mliska@suse.cz>
3147         * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
3148         (gcov_version): Use in gcov_error.
3149         (merge_one_data): Likewise.
3150         (dump_one_gcov): Likewise.
3152 2019-01-18  Martin Liska  <mliska@suse.cz>
3154         * libgcov-driver.c (gcov_version_string): New function.
3155         (gcov_version): Convert version integer into string.
3157 2019-01-17  Andrew Stubbs  <ams@codesourcery.com>
3158             Kwok Cheung Yeung  <kcy@codesourcery.com>
3159             Julian Brown  <julian@codesourcery.com>
3160             Tom de Vries  <tom@codesourcery.com>
3162         * config.host: Recognize amdgcn*-*-amdhsa.
3163         * config/gcn/crt0.c: New file.
3164         * config/gcn/lib2-divmod-hi.c: New file.
3165         * config/gcn/lib2-divmod.c: New file.
3166         * config/gcn/lib2-gcn.h: New file.
3167         * config/gcn/sfp-machine.h: New file.
3168         * config/gcn/t-amdgcn: New file.
3170 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
3172         PR other/16615
3174         * config/c6x/libunwind.S: Mechanically replace "can not" with
3175         "cannot".
3176         * config/tilepro/atomic.h: Likewise.
3177         * config/vxlib-tls.c: Likewise.
3178         * generic-morestack-thread.c: Likewise.
3179         * generic-morestack.c: Likewise.
3180         * mkmap-symver.awk: Likewise.
3182 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
3184         Update copyright years.
3186 2018-12-20  H.J. Lu  <hongjiu.lu@intel.com>
3188         * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
3189         to ignore -Waddress-of-packed-member.
3191 2018-12-19  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
3193         * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
3194         parameter and corresponding code.
3195         (ARM_FUNC_START): Likewise in both definitions.
3196         Also update footer comment about condition that need to match with
3197         gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
3198         * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
3199         defined.  Weakly define it in this case.
3200         * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
3201         * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
3202         _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
3203         comment to keep condition in sync with the one in
3204         libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
3206 2018-12-18  Wei Xiao  <wei3.xiao@intel.com>
3208         * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
3209         * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
3211 2018-12-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3213         * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
3214         and .cfi_endproc directives for VxWorks targets.
3216 2018-12-05  Paul Koning  <ni1d@arrl.net>
3218         * udivmodhi4.c (__udivmodhi4): Fix loop end check.
3220 2018-11-27  Alan Modra  <amodra@gmail.com>
3222         * config/rs6000/morestack.S (__stack_split_initialize),
3223         (__morestack_get_guard, __morestack_set_guard),
3224         (__morestack_make_guard): Provide CFI covering these functions.
3225         * config/rs6000/tramp.S (__trampoline_setup): Likewise.
3227 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
3229         * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
3230         (sc_pt_regs_lr): Update for kernel.
3231         (sc_pt_regs_tls): Update for kernel.
3233 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
3235         * config/csky/linux-unwind.h: Fix coding style.
3237 2018-11-13  Xianmiao Qu  <xianmiao_qu@c-sky.com>
3239         * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
3240         (csky_fallback_frame_state): Modify the check of the
3241         instructions to adapt to changes in the kernel
3243 2018-11-09  Stafford Horne  <shorne@gmail.com>
3244             Richard Henderson  <rth@twiddle.net>
3246         * config.host: Add OpenRISC support.
3247         * config/or1k/*: New.
3249 2018-11-08  Kito Cheng  <kito@andestech.com>
3251         * soft-fp/adddf3.c: Update from glibc.
3252         * soft-fp/addsf3.c: Likewise.
3253         * soft-fp/addtf3.c: Likewise.
3254         * soft-fp/divdf3.c: Likewise.
3255         * soft-fp/divsf3.c: Likewise.
3256         * soft-fp/divtf3.c: Likewise.
3257         * soft-fp/double.h: Likewise.
3258         * soft-fp/eqdf2.c: Likewise.
3259         * soft-fp/eqsf2.c: Likewise.
3260         * soft-fp/eqtf2.c: Likewise.
3261         * soft-fp/extenddftf2.c: Likewise.
3262         * soft-fp/extended.h: Likewise.
3263         * soft-fp/extendhftf2.c: Likewise.
3264         * soft-fp/extendsfdf2.c: Likewise.
3265         * soft-fp/extendsftf2.c: Likewise.
3266         * soft-fp/extendxftf2.c: Likewise.
3267         * soft-fp/fixdfdi.c: Likewise.
3268         * soft-fp/fixdfsi.c: Likewise.
3269         * soft-fp/fixdfti.c: Likewise.
3270         * soft-fp/fixhfti.c: Likewise.
3271         * soft-fp/fixsfdi.c: Likewise.
3272         * soft-fp/fixsfsi.c: Likewise.
3273         * soft-fp/fixsfti.c: Likewise.
3274         * soft-fp/fixtfdi.c: Likewise.
3275         * soft-fp/fixtfsi.c: Likewise.
3276         * soft-fp/fixtfti.c: Likewise.
3277         * soft-fp/fixunsdfdi.c: Likewise.
3278         * soft-fp/fixunsdfsi.c: Likewise.
3279         * soft-fp/fixunsdfti.c: Likewise.
3280         * soft-fp/fixunshfti.c: Likewise.
3281         * soft-fp/fixunssfdi.c: Likewise.
3282         * soft-fp/fixunssfsi.c: Likewise.
3283         * soft-fp/fixunssfti.c: Likewise.
3284         * soft-fp/fixunstfdi.c: Likewise.
3285         * soft-fp/fixunstfsi.c: Likewise.
3286         * soft-fp/fixunstfti.c: Likewise.
3287         * soft-fp/floatdidf.c: Likewise.
3288         * soft-fp/floatdisf.c: Likewise.
3289         * soft-fp/floatditf.c: Likewise.
3290         * soft-fp/floatsidf.c: Likewise.
3291         * soft-fp/floatsisf.c: Likewise.
3292         * soft-fp/floatsitf.c: Likewise.
3293         * soft-fp/floattidf.c: Likewise.
3294         * soft-fp/floattihf.c: Likewise.
3295         * soft-fp/floattisf.c: Likewise.
3296         * soft-fp/floattitf.c: Likewise.
3297         * soft-fp/floatundidf.c: Likewise.
3298         * soft-fp/floatundisf.c: Likewise.
3299         * soft-fp/floatunditf.c: Likewise.
3300         * soft-fp/floatunsidf.c: Likewise.
3301         * soft-fp/floatunsisf.c: Likewise.
3302         * soft-fp/floatunsitf.c: Likewise.
3303         * soft-fp/floatuntidf.c: Likewise.
3304         * soft-fp/floatuntihf.c: Likewise.
3305         * soft-fp/floatuntisf.c: Likewise.
3306         * soft-fp/floatuntitf.c: Likewise.
3307         * soft-fp/gedf2.c: Likewise.
3308         * soft-fp/gesf2.c: Likewise.
3309         * soft-fp/getf2.c: Likewise.
3310         * soft-fp/half.h: Likewise.
3311         * soft-fp/ledf2.c: Likewise.
3312         * soft-fp/lesf2.c: Likewise.
3313         * soft-fp/letf2.c: Likewise.
3314         * soft-fp/muldf3.c: Likewise.
3315         * soft-fp/mulsf3.c: Likewise.
3316         * soft-fp/multf3.c: Likewise.
3317         * soft-fp/negdf2.c: Likewise.
3318         * soft-fp/negsf2.c: Likewise.
3319         * soft-fp/negtf2.c: Likewise.
3320         * soft-fp/op-1.h: Likewise.
3321         * soft-fp/op-2.h: Likewise.
3322         * soft-fp/op-4.h: Likewise.
3323         * soft-fp/op-8.h: Likewise.
3324         * soft-fp/op-common.h: Likewise.
3325         * soft-fp/quad.h: Likewise.
3326         * soft-fp/single.h: Likewise.
3327         * soft-fp/soft-fp.h: Likewise.
3328         * soft-fp/subdf3.c: Likewise.
3329         * soft-fp/subsf3.c: Likewise.
3330         * soft-fp/subtf3.c: Likewise.
3331         * soft-fp/truncdfsf2.c: Likewise.
3332         * soft-fp/trunctfdf2.c: Likewise.
3333         * soft-fp/trunctfhf2.c: Likewise.
3334         * soft-fp/trunctfsf2.c: Likewise.
3335         * soft-fp/trunctfxf2.c: Likewise.
3336         * soft-fp/unorddf2.c: Likewise.
3337         * soft-fp/unordsf2.c: Likewise.
3338         * soft-fp/unordtf2.c: Likewise.
3340 2018-11-04  Venkataramanan Kumar  <Venkataramanan.kumar@amd.com>
3342         * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
3343         * config/i386/cpuinfo.h (processor_types): Add znver2.
3345 2018-11-01  Paul Koning  <ni1d@arrl.net>
3347         * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
3348         (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
3350 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
3352         PR bootstrap/82856
3353         * configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
3354         * configure: Regenerate.
3356 2018-10-31  Claudiu Zissulescu  <claziss@synopsys.com>
3358         * config/arc/lib1funcs.S (_muldi3): New function.
3359         * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
3361 2018-10-30  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3363         * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
3365 2018-10-25  Martin Liska  <mliska@suse.cz>
3367         PR other/87735
3368         * libgcov-profiler.c: Revert.
3370 2018-10-24  Martin Liska  <mliska@suse.cz>
3372         * libgcov-profiler.c: Start from 1 in order to distinguish
3373         functions which were seen and these that were not.
3375 2018-10-18  Paul Koning  <ni1d@arrl.net>
3377         * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
3378         standard.
3379         * divmod.c: Update references to __udivmodsi4.
3380         * udivmod.c: Ditto.
3381         * udivhi3.c: New file.
3382         * udivmodhi4.c: New file.
3383         * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
3385 2018-10-17  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3387         * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
3389 2018-10-12  Olivier Hainque  <hainque@adacore.com>
3391         * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
3392         defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
3394 2018-10-08  Paul Koning  <ni1d@arrl.net>
3396         * config/pdp11/t-pdp11: Remove -mfloat32 switch.
3398 2018-10-04  Martin Liska  <mliska@suse.cz>
3400         PR gcov-profile/84107
3401         * libgcov-profiler.c (__gcov_indirect_call):
3402         Change type to indirect_call_tuple.
3403         (struct indirect_call_tuple): New struct.
3404         (__gcov_indirect_call_topn_profiler): Change type.
3405         (__gcov_indirect_call_profiler_v2): Use the new
3406         variables.
3407         * libgcov.h (struct indirect_call_tuple): New struct
3408         definition.
3410 2018-10-03  Uros Bizjak  <ubizjak@gmail.com>
3412         * libgcc2.c (isnan): Use __builtin_isnan.
3413         (isfinite): Use __builtin_isfinite.
3414         (isinf): Use __builtin_isinf.
3416 2018-09-26  Uros Bizjak  <ubizjak@gmail.com>
3418         * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
3420 2018-09-21  Alexandre Oliva  <oliva@adacore.com>
3422         * config/vxcache.c: New file.  Provide __clear_cache, based on
3423         the cacheTextUpdate VxWorks service.
3424         * config/t-vxworks (LIB2ADD): Add vxcache.c.
3425         (LIB2FUNCS_EXCLUDE): Add _clear_cache.
3426         * config/t-vxwoks7: Likewise.
3428 2018-09-21  Martin Liska  <mliska@suse.cz>
3430         * libgcov-driver.c (crc32_unsigned): Remove.
3431         (gcov_histogram_insert): Likewise.
3432         (gcov_compute_histogram): Likewise.
3433         (compute_summary): Simplify rapidly.
3434         (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
3435         (merge_summary): Rapidly simplify.
3436         (dump_one_gcov): Ignore gcov_summary.
3437         (gcov_do_dump): Do not handle program summary, it's not
3438         used.
3439         * libgcov-util.c (tag_summary): Remove.
3440         (read_gcda_finalize): Fix coding style.
3441         (read_gcda_file): Initialize curr_object_summary.
3442         (compute_summary): Remove.
3443         (calculate_overlap): Remove settings of run_max.
3445 2018-09-21  Monk Chiang  <sh.chiang04@gmail.com>
3447         * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
3448         ucontext_t type instead.
3449         (nds32_fallback_frame_state): Remove struct _sigframe statement.
3451 2018-09-21  Kito Cheng  <kito.cheng@gmail.com>
3453         * config/nds32/t-nds32-glibc: New file.
3455 2018-09-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3457         * configure.ac (solaris_ld_v2_maps): New test.
3458         * configure: Regenerate.
3459         * Makefile.in (solaris_ld_v2_maps): New variable.
3460         * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
3461         if supported.
3463 2018-08-23  Richard Earnshaw  <rearnsha@arm.com>
3465         PR target/86951
3466         * config/arm/lib1funcs.asm (speculation_barrier): New function.
3467         * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
3468         to build.
3470 2018-08-22  Iain Sandoe  <iain@sandoe.co.uk>
3472         * config/unwind-dw2-fde-darwin.c
3473         (_darwin10_Unwind_FindEnclosingFunction): move from here ...
3474         * config/darwin10-unwind-find-enc-func.c: â€¦ to here.
3475         * config/t-darwin: Build Darwin10 unwinder shim crt.
3476         * libgcc/config.host: Add the Darwin10 unwinder shim.
3478 2018-08-21  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3480         * config.host: Add crtbegin.o and crtend.o for
3481         powerpc-wrs-vxworks target.
3483 2018-08-17  Jojo  <jijie_rong@c-sky.com>
3484             Huibin Wang  <huibin_wang@c-sky.com>
3485             Sandra Loosemore  <sandra@codesourcery.com>
3486             Chung-Lin Tang  <cltang@codesourcery.com>
3488         C-SKY port: libgcc
3490         * config.host: Add C-SKY support.
3491         * config/csky/*: New.
3493 2018-08-12  Chung-Ju Wu  <jasonwucj@gmail.com>
3495         * config/nds32/t-nds32-isr: Rearrange object dependency.
3496         * config/nds32/initfini.c: Add dwarf2 unwinding support.
3497         * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
3498         and registers usage.
3499         * config/nds32/isr-library/excp_isr.S: Ditto.
3500         * config/nds32/isr-library/intr_isr.S: Ditto.
3501         * config/nds32/isr-library/reset.S: Ditto.
3502         * config/nds32/isr-library/restore_all.inc: Ditto.
3503         * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
3504         * config/nds32/isr-library/restore_partial.inc: Ditto.
3505         * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
3506         * config/nds32/isr-library/save_all.inc: Ditto.
3507         * config/nds32/isr-library/save_mac_regs.inc: Ditto.
3508         * config/nds32/isr-library/save_partial.inc: Ditto.
3509         * config/nds32/isr-library/save_usr_regs.inc: Ditto.
3510         * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
3512 2018-08-11  John David Anglin  <danglin@gcc.gnu.org>
3514         * config/pa/linux-atomic.c: Update comment.
3515         (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
3516         COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
3517         SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
3518         __ATOMIC_RELAXED for atomic loads.
3519         (SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
3520         unordered store to release lock.
3521         (__sync_lock_release_8): Likewise.
3522         (SYNC_LOCK_RELEASE_2): Remove define.
3524 2018-08-02  Nicolas Pitre <nico@fluxnic.net>
3526         PR libgcc/86512
3527         * config/arm/ieee754-df.S: Don't shortcut denormal handling when
3528         exponent goes negative. Update my email address.
3529         * config/arm/ieee754-sf.S: Likewise.
3531 2018-08-01  Martin Liska  <mliska@suse.cz>
3533         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
3534         check that  __gcov_indirect_call_callee is non-null.
3536 2018-07-30  Christophe Lyon  <christophe.lyon@linaro.org>
3538         * config/arm/ieee754-df.S: Fix comment for code working on
3539         architectures >= 4.
3540         * config/arm/ieee754-sf.S: Likewise.
3542 2018-07-27  H.J. Lu  <hongjiu.lu@intel.com>
3544         PR libgcc/85334
3545         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3546         Removed.
3548 2018-07-05  James Clarke  <jrtc27@jrtc27.com>
3550         * configure: Regenerated.
3552 2018-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3554         * Makefile.in (install_leaf): Use enable_gcov instead of
3555         enable_libgcov.
3557 2018-06-27  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3559         * configure.ac: Add --disable-gcov option.
3560         * configure: Regenerate.
3561         * Makefile.in: Honour @enable_gcov@.
3563 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
3565         * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
3566         __ARM_ARCH and __ARM_FEATURE_CLZ instead.
3567         (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
3568         * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
3569         __ARM_ARCH__.
3570         * config/arm/ieee754-sf.S: Likewise.
3571         * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
3573 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
3575         * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
3576         longer supported.
3577         * config/arm/ieee754-sf.S: Likewise.
3579 2018-06-20  Than McIntosh  <thanm@google.com>
3581         PR libgcc/86213
3582         * generic-morestack.c (allocate_segment): Move calls to getenv and
3583         getpagesize to __morestack_load_mmap.
3584         (__morestack_load_mmap) Initialize static_pagesize and
3585         use_guard_page here so as to avoid clobbering SSE regs during a
3586         __morestack call.
3588 2018-06-18  Michael Meissner  <meissner@linux.ibm.com>
3590         * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
3591         support modules with -mno-gnu-attribute.
3592         * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
3594 2018-06-07  Olivier Hainque  <hainque@adacore.com>
3596         * config/t-vxworks (LIBGCC_INCLUDES): Add
3597         -I$(MULTIBUILDTOP)../../gcc/include.
3598         * config/t-vxworks7: Likewise. Reformat a bit to match
3599         the t-vxworks layout.
3601 2018-06-07  Olga Makhotina  <olga.makhotina@intel.com>
3603         * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
3605 2018-06-07  Martin Liska  <mliska@suse.cz>
3607         * libgcov-driver.c: Rename cs_all to all and assign it from
3608         all_prg.
3610 2018-06-07  Martin Liska  <mliska@suse.cz>
3612         PR bootstrap/86057
3613         * libgcov-driver-system.c (replace_filename_variables): Use
3614         memcpy instead of mempcpy.
3615         (allocate_filename_struct): Do not allocate filename, allocate
3616         prefix and set it.
3617         (gcov_exit_open_gcda_file): Allocate memory for gf->filename
3618         here and properly copy content into it.
3619         * libgcov-driver.c (struct gcov_filename): Remove max_length
3620         field, change prefix from size_t into char *.
3621         (compute_summary): Do not calculate longest filename.
3622         (gcov_do_dump): Release memory of gf.filename after each file.
3623         * libgcov-util.c (compute_summary): Use new signature of
3624         compute_summary.
3625         (calculate_overlap): Likewise.
3627 2018-06-05  Martin Liska  <mliska@suse.cz>
3629         PR gcov-profile/47618
3630         * libgcov-driver-system.c (replace_filename_variables): New
3631         function.
3632         (gcov_exit_open_gcda_file): Use it.
3634 2018-06-05  Martin Liska  <mliska@suse.cz>
3636         * libgcov-driver.c (gcov_compute_histogram): Remove usage
3637         of gcov_ctr_summary.
3638         (compute_summary): Do it just for a single summary.
3639         (merge_one_data): Likewise.
3640         (merge_summary): Simplify as we read just single summary.
3641         (dump_one_gcov): Pass proper argument.
3642         * libgcov-util.c (compute_one_gcov): Simplify as we have just
3643         single summary.
3644         (gcov_info_count_all_cold): Likewise.
3645         (calculate_overlap): Likewise.
3647 2018-06-02  Chung-Ju Wu  <jasonwucj@gmail.com>
3648             Monk Chiang  <sh.chiang04@gmail.com>
3650         * config.host (nds32*-linux*): New.
3651         * config/nds32/linux-atomic.c: New file.
3652         * config/nds32/linux-unwind.h: New file.
3654 2018-05-31  Uros Bizjak  <ubizjak@gmail.com>
3656         PR target/85591
3657         * config/i386/cpuinfo.c (get_amd_cpu): Return
3658         AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
3660 2018-05-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
3662         * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
3664 2018-05-29  Martin Liska  <mliska@suse.cz>
3666         PR gcov-profile/85759
3667         * libgcov-driver-system.c (gcov_error): Introduce usage of
3668         GCOV_EXIT_AT_ERROR env. variable.
3669         * libgcov-driver.c (merge_one_data): Print error that we
3670         overwrite a gcov file with a different timestamp.
3672 2018-05-23  Kalamatee  <kalamatee@gmail.com>
3674         * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
3675         path to Lf$finfty.
3677 2018-05-18  Kito Cheng <kito.cheng@gmail.com>
3678             Monk Chiang  <sh.chiang04@gmail.com>
3679             Jim Wilson <jimw@sifive.com>
3681         * config/riscv/save-restore.S: Add support for rv32e.
3683 2018-05-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
3685         * config/arm/libunwind.S: Update comment relating to armv5.
3687 2018-05-17  Jerome Lambourg  <lambourg@adacore.com>
3689         * config/arm/cmse.c (cmse_check_address_range): Replace
3690         UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
3692 2018-05-17  Olga Makhotina  <olga.makhotina@intel.com>
3694         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
3695         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
3697 2018-05-08  Olga Makhotina  <olga.makhotina@intel.com>
3699         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
3700         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
3702 2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
3704         * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
3706 2018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
3707             Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
3709         PR libgcc/84292
3710         * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
3711         op_and_fetch to return the right result.
3713 2018-04-27  Alan Modra  <amodra@gmail.com>
3715         PR libgcc/85532
3716         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
3717         -fno-asynchronous-unwind-tables.
3719 2018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
3721         * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
3722         * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
3724 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
3726         * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
3727         when including "config/i386/shadow-stack-unwind.h".
3729 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
3731         * configure: Regenerated.
3733 2018-04-20  Michael Meissner  <meissner@linux.ibm.com>
3735         PR target/85456
3736         * config/rs6000/_powikf2.c: New file.  Add support for the
3737         __builtin_powil function when long double is IEEE 128-bit floating
3738         point.
3739         * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
3740         __powikf2 support.
3741         (__powikf2): Likewise.
3742         * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
3743         (__powikf2_hw): Likewise.
3744         (__powikf2): Likewise.
3745         * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
3746         * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
3747         (_powikf2-hw.c): Likewise.
3749 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
3751         PR libgcc/85334
3752         * unwind-generic.h (_Unwind_Frames_Increment): New.
3753         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3754         Likewise.
3755         * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
3756         count with _Unwind_Frames_Increment.
3757         (_Unwind_ForcedUnwind_Phase2): Likewise.
3759 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
3761         PR libgcc/85379
3762         * config/i386/morestack.S (__stack_split_initialize): Add
3763         _CET_ENDBR.
3765 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
3767         * configure: Regenerated.
3769 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
3771         PR jit/85384
3772         * configure: Regenerate.
3774 2018-04-16  Jakub Jelinek  <jakub@redhat.com>
3776         PR target/84945
3777         * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
3778         -Wdangling-else warnings.  Mask shift counts to avoid
3779         -Wshift-count-negative and -Wshift-count-overflow false positives.
3781 2018-04-06  Ruslan Bukin  <br@bsdpad.com>
3783         * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
3785 2018-03-29  H.J. Lu  <hongjiu.lu@intel.com>
3787         PR target/85100
3788         * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
3789         (XSTATE_FP): Likewise.
3790         (XSTATE_SSE): Likewise.
3791         (XSTATE_YMM): Likewise.
3792         (XSTATE_OPMASK): Likewise.
3793         (XSTATE_ZMM): Likewise.
3794         (XSTATE_HI_ZMM): Likewise.
3795         (XCR_AVX_ENABLED_MASK): Likewise.
3796         (XCR_AVX512F_ENABLED_MASK): Likewise.
3797         (get_available_features): Enable AVX and AVX512 features only
3798         if their states are supported by OSXSAVE.
3800 2018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3802         PR target/85025
3803         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3804         Fix a typo, tmp => 255.
3806 2018-03-20  Jakub Jelinek  <jakub@redhat.com>
3808         PR target/84945
3809         * config/i386/cpuinfo.h (__cpu_features2): Declare.
3810         * config/i386/cpuinfo.c (__cpu_features2): New variable for
3811         ifndef SHARED only.
3812         (set_feature): Define.
3813         (get_available_features): Use set_feature macro.  Set __cpu_features2
3814         to the second word of features ifndef SHARED.
3816 2018-03-15  Julia Koval  <julia.koval@intel.com>
3818         * config/i386/cpuinfo.c (get_available_features): Add
3819         FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
3820         FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
3821         * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
3822         FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
3823         FEATURE_AVX512BITALG.
3825 2018-03-14  Julia Koval  <julia.koval@intel.com>
3827         * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
3828         icelake client and icelake server.
3830 2018-03-06  John David Anglin  <danglin@gcc.gnu.org>
3832         * config/pa/fptr.c (_dl_read_access_allowed): New.
3833         (__canonicalize_funcptr_for_compare): Use it.
3835 2018-02-28  Jakub Jelinek  <jakub@redhat.com>
3837         PR debug/83917
3838         * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
3839         $asm_hidden_op if visibility ("hidden") attribute works.
3840         (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
3841         * config/i386/i386-asm.h: Don't include auto-host.h.
3842         (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
3843         PACKAGE_URL): Don't undefine.
3844         (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
3845         guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
3846         (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
3847         #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
3848         definition instead of hardcoded .hidden.
3849         * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
3850         directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
3851         #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
3852         (USE_GAS_CFI_DIRECTIVES): Don't define.
3853         * configure: Regenerated.
3854         * config.in: Likewise.
3856 2018-02-26  Jakub Jelinek  <jakub@redhat.com>
3858         PR debug/83917
3859         * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
3860         PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
3861         inclusion of auto-target.h and auto-host.h.
3862         (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
3863         __GCC_HAVE_DWARF2_CFI_ASM.
3864         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3865         cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
3866         cfi_pop): Define.
3867         * config/i386/cygwin.S: Don't include auto-host.h here, just
3868         define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
3869         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3870         cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
3871         * config/i386/resms64fx.h: Add cfi_* directives.
3872         * config/i386/resms64x.h: Likewise.
3874 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
3876         * config/xtensa/ieee754-df.S (__adddf3_aux): Add
3877         .literal_position directive.
3878         * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
3880 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3882         PR target/84148
3883         * configure: Regenerate.
3885 2018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3887         PR target/84239
3888         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3889         Include cetintrin.h not x86intrin.h.
3891 2018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3893         PR target/84239
3894         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3895         Use new _get_ssp and _inc_ssp intrinsics.
3897 2018-02-02  Julia Koval  <julia.koval@intel.com>
3899         * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
3901 2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
3903         * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
3904         option.
3905         (__divsi3): Use RF16 safe registers.
3906         (__modsi3): Likewise.
3908 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
3910         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
3911         (__divsf3): Make NaN return value quiet.
3912         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
3913         (__divdf3): Make NaN return value quiet.
3915 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
3917         * config/rl78/anddi3.S: New assembly file.
3918         * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
3920 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
3922         * config/rl78/umindi3.S: New assembly file.
3923         * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
3925 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
3927         * config/rl78/smindi3.S: New assembly file.
3928         * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
3930 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
3932         * config/rl78/smaxdi3.S: New assembly file.
3933         * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
3935 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
3937         * config/rl78/umaxdi3.S: New assembly file.
3938         * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
3940 2018-01-21  John David Anglin  <danglin@gcc.gnu.org>
3942         PR lto/83452
3943         * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
3944         * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
3946 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
3948         * config/aarch64/value-unwind.h (aarch64_vg): New function.
3949         (DWARF_LAZY_REGISTER_VALUE): Define.
3950         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
3951         to provide a fallback register value.
3953 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
3955         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
3956         __ibm128, instead of trying to use long double.
3957         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
3958         accomidate -mabi=ieeelongdouble multilibs.
3959         (CVT_IBM128_TO_FLOAT128): Likewise.
3960         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
3961         the appropriate IBM extended double type.
3962         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
3963         (__gcc_qsub): Likewise.
3964         (__gcc_qmul): Likewise.
3965         (__gcc_qdiv): Likewise.
3966         (pack_ldouble): Likewise.
3967         (__gcc_qneg): Likewise.
3968         (__gcc_qeq): Likewise.
3969         (__gcc_qne): Likewise.
3970         (__gcc_qge): Likewise.
3971         (__gcc_qle): Likewise.
3972         (__gcc_stoq): Likewise.
3973         (__gcc_dtoq): Likewise.
3974         (__gcc_itoq): Likewise.
3975         (__gcc_utoq): Likewise.
3976         (__gcc_qunord): Likewise.
3977         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
3978         quad-float128.h for the definitions.
3979         (COPYSIGN): Use the f128 version instead of the q version.
3980         (INFINITY): Likewise.
3981         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
3982         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
3983         quad-float128.h for the definitions.
3984         (COPYSIGN): Use the f128 version instead of the q version.
3985         (INFINITY): Likewise.
3986         (FABS): Likewise.
3987         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
3988         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
3989         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
3991 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3993         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
3994         configuration.
3996 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
3998         Update copyright years.
4000 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
4002         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
4003         * config/riscv/multi3.c: New file.
4004         * config/riscv/multi3.S: Remove.
4006 2017-12-08  Jim Wilson  <jimw@sifive.com>
4008         * config/riscv/div.S: Use FUNC_* macros.
4009         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
4010         * config/riscv/save-restore.S: Likewise.
4011         * config/riscv/riscv-asm.h: New.
4013 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
4015         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
4016         * config/rs6000/_divkc3.c (__divkc3): Likewise.
4018         PR libgcc/83112
4019         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
4020         correct type for all ifunc resolvers to silence -Wattribute-alias
4021         warnings.  Eliminate the forward declaration of the resolver
4022         functions which is no longer needed.
4023         (__subkf3_resolve): Likewise.
4024         (__mulkf3_resolve): Likewise.
4025         (__divkf3_resolve): Likewise.
4026         (__negkf2_resolve): Likewise.
4027         (__eqkf2_resolve): Likewise.
4028         (__nekf2_resolve): Likewise.
4029         (__gekf2_resolve): Likewise.
4030         (__gtkf2_resolve): Likewise.
4031         (__lekf2_resolve): Likewise.
4032         (__ltkf2_resolve): Likewise.
4033         (__unordkf2_resolve): Likewise.
4034         (__extendsfkf2_resolve): Likewise.
4035         (__extenddfkf2_resolve): Likewise.
4036         (__trunckfsf2_resolve): Likewise.
4037         (__trunckfdf2_resolve): Likewise.
4038         (__fixkfsi_resolve): Likewise.
4039         (__fixkfdi_resolve): Likewise.
4040         (__fixunskfsi_resolve): Likewise.
4041         (__fixunskfdi_resolve): Likewise.
4042         (__floatsikf_resolve): Likewise.
4043         (__floatdikf_resolve): Likewise.
4044         (__floatunsikf_resolve): Likewise.
4045         (__floatundikf_resolve): Likewise.
4046         (__extendkftf2_resolve): Likewise.
4047         (__trunctfkf2_resolve): Likewise.
4049         PR libgcc/83103
4050         * config/rs6000/quad-float128.h (TF): Don't define if long double
4051         is IEEE 128-bit floating point.
4052         (TCtype): Define as either TCmode or KCmode, depending on whether
4053         long double is IEEE 128-bit floating point.
4054         (__mulkc3_sw): Add declarations for software/hardware versions of
4055         complex multiply/divide.
4056         (__divkc3_sw): Likewise.
4057         (__mulkc3_hw): Likewise.
4058         (__divkc3_hw): Likewise.
4059         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
4060         handlers to switch between using software emulation and hardware
4061         float128 instructions, build the complex multiply/divide functions
4062         for both software and hardware support.
4063         * config/rs6000/_divkc3.c (_divkc3): Likewise.
4064         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
4065         (__divkc3_resolve): Likewise.
4066         (__mulkc3): Likewise.
4067         (__divkc3): Likewise.
4068         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
4069         (fp128_hw_src): Likewise.
4070         (fp128_hw_static_obj): Likewise.
4071         (fp128_hw_shared_obj): Likewise.
4072         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
4073         _mulkc3.c and _divkc3.c, changing the function name.
4074         (_divkc3-hw.c): Likewise.
4075         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
4076         and _divkc3-hw.c.
4078 2017-11-26  Julia Koval  <julia.koval@intel.com>
4080         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
4081         * config/i386/cpuinfo.h (processor_subtypes): Add
4082         INTEL_COREI7_CANNONLAKE.
4084 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4086         PR bootstrap/83015
4087         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
4088         parameter.
4089         * config/xtensa/unwind-dw2-xtensa.c: Likewise
4090         * config/ia64/unwind-ia64.c: Add frames parameter.
4091         * unwind-sjlj.c: Likewise.
4093 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4095         * config/i386/linux-unwind.h: Include
4096         config/i386/shadow-stack-unwind.h.
4097         * config/i386/shadow-stack-unwind.h: New file.
4098         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
4099         pass it to _Unwind_Frames_Extra.
4100         * unwind-generic.h (_Unwind_Frames_Extra): New.
4101         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
4102         parameter. Add local variable frames to count number of frames.
4103         (_Unwind_ForcedUnwind_Phase2): Likewise.
4104         (_Unwind_RaiseException): Add local variable frames to count
4105         number of frames, pass it to _Unwind_RaiseException_Phase2 and
4106         uw_install_context.
4107         (_Unwind_ForcedUnwind): Likewise.
4108         (_Unwind_Resume): Likewise.
4109         (_Unwind_Resume_or_Rethrow): Likewise.
4111 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4113         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
4114         (CET_FLAGS): New.
4115         * config/i386/morestack.S: Include <cet.h>.
4116         (__morestack_large_model): Add _CET_ENDBR at function entrance.
4117         * config/i386/resms64.h: Include <cet.h>.
4118         * config/i386/resms64f.h: Likewise.
4119         * config/i386/resms64fx.h: Likewise.
4120         * config/i386/resms64x.h: Likewise.
4121         * config/i386/savms64.h: Likewise.
4122         * config/i386/savms64f.h: Likewise.
4123         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
4124         (CRTSTUFF_T_CFLAGS): Likewise.
4125         * configure.ac: Include ../config/cet.m4.
4126         Set and substitute CET_FLAGS.
4127         * configure: Regenerated.
4129 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4131         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
4132         renaming.
4133         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
4134         * configure.ac (libgcc_cv_solaris_crts): Likewise.
4135         * configure: Regenerate.
4137 2017-11-07  Tom de Vries  <tom@codesourcery.com>
4139         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
4140         after "do {} while (0)".
4142 2017-11-07  Tom de Vries  <tom@codesourcery.com>
4144         PR other/82784
4145         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
4146         semicolon after "do {} while (0)".
4147         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4148         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4149         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4150         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4152 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
4154         PR libgcc/82635
4155         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
4156         sysctl to determine whether we're in a trampoline.
4157         Keep the pattern matching method for systems without
4158         KERN_PROC_SIGTRAMP sysctl.
4160 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
4161             Vineet Gupta <vgupta@synopsys.com>
4163         * config.host (arc*-*-linux*): Set md_unwind_header variable.
4164         * config/arc/linux-unwind-reg.def: New file.
4165         * config/arc/linux-unwind-reg.h: Likewise.
4167 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
4169         * config/rl78/subdi3.S: New assembly file.
4170         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
4172 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
4174         * config/rl78/adddi3.S: New assembly file.
4175         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
4177 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
4179         PR target/82274
4180         * libgcc2.c (__mulvDI3): If both operands have
4181         the same highpart of -1 and the topmost bit of lowpart is 0,
4182         multiplication overflows even if both lowparts are 0.
4184 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
4186         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
4188 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
4190         * config/microblaze/crti.S, config/microblaze/crtn.S,
4191         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
4192         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
4193         config/microblaze/mulsi3.S,
4194         config/microblaze/stack_overflow_exit.S,
4195         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
4196         config/pa/milli64.S: Add .note.GNU-stack section.
4198 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
4200         * configure.ac: Add Check for HAVE_AS_AVX.
4201         * config.in: Regenerate.
4202         * configure: Likewise.
4203         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
4204         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
4205         Correct out-of-date comments.
4207 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
4209         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
4210         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
4212 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
4214         * config/i386/i386-asm.h (PASTE2): New macro.
4215         (ASMNAME): Modify to use PASTE2.
4216         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
4217         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
4218         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
4219         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
4220         * config/i386/resms64f.S: Likewise.
4221         * config/i386/resms64fx.S: Likewise.
4222         * config/i386/resms64x.S: Likewise.
4223         * config/i386/savms64.S: Likewise.
4224         * config/i386/savms64f.S: Likewise.
4225         * config/i386/avx_resms64.S: New file that only defines a macro and
4226         includes it's corresponding header file.
4227         * config/i386/avx_resms64f.S: Likewise.
4228         * config/i386/avx_resms64fx.S: Likewise.
4229         * config/i386/avx_resms64x.S: Likewise.
4230         * config/i386/avx_savms64.S: Likewise.
4231         * config/i386/avx_savms64f.S: Likewise.
4232         * config/i386/sse_resms64.S: Likewise.
4233         * config/i386/sse_resms64f.S: Likewise.
4234         * config/i386/sse_resms64fx.S: Likewise.
4235         * config/i386/sse_resms64x.S: Likewise.
4236         * config/i386/sse_savms64.S: Likewise.
4237         * config/i386/sse_savms64f.S: Likewise.
4238         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
4240 2017-09-01  Olivier Hainque  <hainque@adacore.com>
4241         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
4243 2017-08-31  Olivier Hainque  <hainque@adacore.com>
4245         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
4246         match as powerpc-wrs-vxworks*.
4248 2017-08-07  Jonathan Yong  <10walls@gmail.com>
4250         * config.host (*-cygwin): Include file from mingw
4251         config/i386/enable-execute-stack-mingw32.c
4253 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
4254             Doug Rupp  <rupp@adacore.com>
4255             Olivier Hainque  <hainque@adacore.com>
4257         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
4258         as well as arm-wrs-vxworks.
4259         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
4260         LIB2ADDEH.
4261         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
4262         __exidx_start and __exidx_end for downloadable modules.
4264 2017-08-01  Olivier Hainque  <hainque@adacore.com>
4266         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
4267         * config/t-vxworks7: Likewise.
4269 2017-08-01  Olivier Hainque  <hainque@adacore.com>
4271         * config/t-vxworks: Instead of redefining LIB2ADD,
4272         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
4274 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4276         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
4278 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
4280         PR testsuite/80759
4281         * config.host: include i386/t-msabi for darwin and solaris.
4282         * config/i386/i386-asm.h
4283         (ELFFN): Rename to FN_TYPE.
4284         (FN_SIZE): New macro.
4285         (FN_HIDDEN): Likewise.
4286         (ASMNAME): Likewise.
4287         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
4288         .globl.
4289         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
4290         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
4291         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
4292         .macro.
4293         * config/i386/resms64f.S: Likewise.
4294         * config/i386/resms64fx.S: Likewise.
4295         * config/i386/resms64x.S: Likewise.
4296         * config/i386/savms64.S: Likewise.
4297         * config/i386/savms64f.S: Likewise.
4299 2017-07-19  John Marino  <gnugcc@marino.st>
4301         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
4303 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
4305         PR target/81193
4306         * configure.ac (PowerPC float128 hardware support): Test whether
4307         we can use __builtin_cpu_supports before enabling the ifunc
4308         handler.
4309         * configure: Regenerate.
4311 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
4313         * config.host: Remove uclibc from arc target spec.
4315 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
4317         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
4319 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
4321         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
4322         (have_ieee_hw_p): Delete function.
4323         (SW_OR_HW) Use __builtin_cpu_supports().
4325 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4327         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
4329 2017-07-03  Olivier Hainque  <hainque@adacore.com>
4331         * config/t-vxworks7: New file, really.
4333 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
4335         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
4336         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
4337         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
4338         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
4339         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
4340         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
4341         config/pa/linux-unwind.h (pa32_fallback_frame_state),
4342         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
4343         config/sh/linux-unwind.h (sh_fallback_frame_state),
4344         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
4345         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
4346         ucontext_t instead of struct ucontext.
4348 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
4350         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
4351         (x86_64-wrs-vxworks7): Likewise.
4353 2017-06-27  Olivier Hainque  <hainque@adacore.com>
4355         * config/t-vxworks7: New file.
4356         * config.host (*-*-vxworks7): Use it.
4358 2017-06-22  Matt Turner  <mattst88@gmail.com>
4360         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
4361         skylake case.
4363 2017-06-21  Richard Biener  <rguenther@suse.de>
4365         PR gcov-profile/81080
4366         * configure.ac: Add AC_SYS_LARGEFILE.
4367         * libgcov.h: Include auto-target.h before tsystem.h to pick
4368         up _FILE_OFFSET_BITS which might differ for multilibs.
4369         * config.in: Regenerate.
4370         * configure: Likewise.
4372 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
4374         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
4376 2017-06-09  Martin Liska  <mliska@suse.cz>
4378         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
4379         Reset __gcov_indirect_call_callee to NULL.
4381 2017-06-08  Olivier Hainque  <hainque@adacore.com>
4383         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
4384         the set of -I options, support for direct inclusions of net/uio.h
4385         by VxWorks header files via ioLib.h.
4387 2017-06-07  Tony Reix  <tony.reix@atos.net>
4388             Matthieu Sarter  <matthieu.sarter.external@atos.net>
4389             David Edelsohn  <dje.gcc@gmail.com>
4391         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
4392         unconditionally.
4393         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
4394         AIX 7.2 support.
4396 2017-06-02  Olivier Hainque  <hainque@adacore.com>
4398         * config/vxlib.c (__gthread_once): Add missing value to
4399         return statement.
4401 2017-05-30  Olivier Hainque  <hainque@adacore.com>
4403         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
4404         dollar sign before $(MULTIDIR).
4406 2017-05-26  Richard Henderson  <rth@redhat.com>
4408         PR libgcc/80037
4409         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
4411 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
4413         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
4414         _Unwind_SetIP available as functions for arm*-*-freebsd*.
4415         * config/arm/unwind-arm.c: Implement the above.
4417 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4419         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
4420         section for a non-executable stack.
4422 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
4424         PR target/80600
4425         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
4427 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
4429         * config.host: Add i386/t-msabi to i386/t-linux file list.
4430         * config/i386/i386-asm.h: New file.
4431         * config/i386/resms64.S: New file.
4432         * config/i386/resms64f.S: New file.
4433         * config/i386/resms64fx.S: New file.
4434         * config/i386/resms64x.S: New file.
4435         * config/i386/savms64.S: New file.
4436         * config/i386/savms64f.S: New file.
4437         * config/i386/t-msabi: New file.
4439 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
4441         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
4442         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
4444 2017-05-05  Joshua Conner  <joshconner@google.com>
4446         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
4447         pc-relative indirect handling for fuchsia.
4448         * config/t-slibgcc-fuchsia: New file.
4449         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
4450         x86_64-*-fuchsia*): Add definitions.
4452 2017-04-19  Martin Liska  <mliska@suse.cz>
4454         PR gcov-profile/80435
4455         * Makefile.in: Install gcov.h.
4456         * gcov.h: New file.
4457         * libgcov.h: Use the header and make __gcov_flush publicly
4458         visible.
4460 2017-04-18  Martin Liska  <mliska@suse.cz>
4462         PR gcov-profile/78783
4463         * libgcov-driver.c (gcov_get_filename): New function.
4465 2017-04-07  Jeff Law  <law@redhat.com>
4467         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
4468         target makefile fragment.
4469         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
4471 2017-04-07  Alan Modra  <amodra@gmail.com>
4473         PR target/45053
4474         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
4476 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
4478         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
4480 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
4482         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
4484 2017-03-10  John Marino  <gnugcc@marino.st>
4486         * config/aarch64/freebsd-unwind.h: New file.
4487         * config.host: Add aarch64-*-freebsd unwinder.
4489 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
4491         * config/rs6000/crtrestvr.s: Use .machine altivec.
4492         * config/rs6000/crtsavevr.s: Ditto.
4494 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
4496         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
4497         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
4498         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
4499         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
4500         * configure: Regenerate.
4501         * config.in: Regenerate.
4503 2017-03-02  Jonathan Yong <10walls@gmail.com>
4505         * config/i386/gthr-win32.h: Define NOGDI before
4506         windows.h include to prevent w32api CC_NONE macro
4507         clash with libgfortran.
4509 2017-03-02  Jonathan Yong <10walls@gmail.com>
4511         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
4513 2017-02-16  Andrew Pinski  <apinski@cavium.com>
4515         * config/aarch64/value-unwind.h: New file.
4516         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
4517         to tm_file.
4519 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
4521         * config.host: Add RISC-V tuples.
4522         * config/riscv/atomic.c: New file.
4523         * config/riscv/crti.S: Likewise.
4524         * config/riscv/crtn.S: Likewise.
4525         * config/riscv/div.S: Likewise.
4526         * config/riscv/linux-unwind.h: Likewise.
4527         * config/riscv/muldi3.S: Likewise.
4528         * config/riscv/multi3.S: Likewise.
4529         * config/riscv/save-restore.S: Likewise.
4530         * config/riscv/sfp-machine.h: Likewise.
4531         * config/riscv/t-elf: Likewise.
4532         * config/riscv/t-elf32: Likewise.
4533         * config/riscv/t-elf64: Likewise.
4534         * config/riscv/t-softfp32: Likewise.
4535         * config/riscv/t-softfp64: Likewise.
4537 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
4539         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4540         /* FALLTHRU */ comments.
4542 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
4544         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
4546 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
4548         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
4549         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
4550         DW_CFA_GNU_window_save for AArch64 and LP64.
4552 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
4554         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
4556 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
4558         * config/aarch64/aarch64-unwind.h: New file.
4559         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
4560         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
4561         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
4562         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
4563         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
4564         (aarch64_post_extract_frame_addr): New function.
4565         (aarch64_post_frob_eh_handler_addr): New function.
4566         (aarch64_frob_update_context): New function.
4567         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
4568         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
4569         aarch64*-*-freebsd*):
4570         Initialize md_unwind_header to include aarch64-unwind.h.
4571         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
4572         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
4573         __aarch64__.
4574         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
4575         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
4576         (uw_frob_return_addr): New function.
4577         (uw_install_context): Use uw_frob_return_addr.
4579 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
4581         PR other/79046
4582         * configure.ac: Add GCC_BASE_VER.
4583         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
4584         version from BASE-VER file.
4585         * configure: Regenerated.
4587 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
4589         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
4590         libmul_f5.a): Filter archived prerequisites.
4592 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
4594         * config/i386/cpuinfo.h (processor_features): Add
4595         FEATURE_AVX512VPOPCNTDQ.
4596         * config/i386/cpuinfo.c (get_available_features): Habdle new
4597         feature.
4599 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
4601         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
4602         payload if [__mips_nan2008].
4604 2017-01-04  Alan Modra  <amodra@gmail.com>
4606         * Makefile.in (configure_deps): Update.
4607         * configure: Regenerate.
4609 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
4611         Update copyright years.
4613 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
4615         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
4616         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
4617         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
4619 2016-12-17  Matthias Klose  <doko@ubuntu.com>
4621         * config/arc/gmon: Remove empty directory.
4623 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
4625         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
4626         crtgend.
4627         (arc*-*-elf*): Likewise.
4628         * config/arc/t-arc: Remove old gmon lib targets.
4629         * config/arc/crtg.S: Remove.
4630         * config/arc/crtgend.S: Likewise.
4631         * config/arc/gmon/atomic.h: Likewise.
4632         * config/arc/gmon/auxreg.h: Likewise.
4633         * config/arc/gmon/dcache_linesz.S: Likewise.
4634         * config/arc/gmon/gmon.c: Likewise.
4635         * config/arc/gmon/machine-gmon.h: Likewise.
4636         * config/arc/gmon/mcount.c: Likewise.
4637         * config/arc/gmon/prof-freq-stub.S: Likewise.
4638         * config/arc/gmon/prof-freq.c: Likewise.
4639         * config/arc/gmon/profil.S: Likewise.
4640         * config/arc/gmon/sys/gmon.h: Likewise.
4641         * config/arc/gmon/sys/gmon_out.h: Likewise.
4642         * config/arc/t-arc-newlib: Likewise.
4643         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
4645 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
4647         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
4649 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
4651         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
4652         R16 instead of push + pop.
4653         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
4655 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
4657         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
4658         tmake_file.
4660 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
4662         * config.host (arc*-*-linux-uclibc*): Use default extra
4663         objects. Include linux-android header.
4664         * config/arc/crti.S (_init): Declare symbol as function.
4665         (_fini): Likewise.
4667 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
4669         PR fortran/78379
4670         * config/i386/cpuinfo.c:  Move denums for processor vendors,
4671         processor type, processor subtypes and declaration of
4672         struct __processor_model into
4673         * config/i386/cpuinfo.h:  New header file.
4675 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
4676             Thomas Preud'homme  <thomas.preudhomme@arm.com>
4678         * config/arm/cmse_nonsecure_call.S: New.
4679         * config/arm/t-arm: Compile cmse_nonsecure_call.S
4681 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
4682             Thomas Preud'homme  <thomas.preudhomme@arm.com>
4684         * config/arm/t-arm (HAVE_CMSE): New.
4685         * config/arm/cmse.c: New.
4687 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
4689         PR gcc/74748
4690         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
4691         use generic linker version information on Blackfin.
4693         PR gcc/74748
4694         * libgcc/mkmap-symver.awk: add support for skip_underscore
4696 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
4697             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4699         PR target/67710
4700         *  config/t-darwin: Default builds to 10.5 codegen.
4702 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
4704         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
4705         (_FP_NANSIGN_H): Likewise.
4706         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
4707         (softfp_truncations): Add tfhf.
4708         (softfp_extras): Add required conversion functions.
4710 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
4711             Matthew Wahab  <matthew.wahab@arm.com>
4713         * config/arm/fp16.c (binary64): New.
4714         (__gnu_d2h_internal): New.
4715         (__gnu_d2h_ieee): New.
4716         (__gnu_d2h_alternative): New.
4718 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
4719             Matthew Wahab  <matthew.wahab@arm.com>
4721         * config/arm/fp16.c (struct format): New.
4722         (binary32): New.
4723         (__gnu_float2h_internal): New.  Body moved from
4724         __gnu_f2h_internal and generalize.
4725         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
4726         Call it with binary32.
4728 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
4730         * soft-fp/extendhftf2.c: Update from glibc.
4731         * soft-fp/fixhfti.c: Likewise.
4732         * soft-fp/fixunshfti.c: Likewise.
4733         * soft-fp/floattihf.c: Likewise.
4734         * soft-fp/floatuntihf.c: Likewise.
4735         * soft-fp/half.h: Likewise.
4736         * soft-fp/trunctfhf2.c: Likewise.
4738 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
4740         PR libgcc/77813
4741         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
4742         __TMC_END__ behind a passthrough asm.
4744 2016-11-18  Walter Lee  <walt@tilera.com>
4746         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
4748 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
4750         * config/i386/cpuinfo.c (processor_features): Add
4751         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
4753 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
4755         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
4756         (__ARC_NORM__): Use instead ARC_OPTFPE.
4757         * config/arc/fp-hack.h: Likewise.
4758         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
4759         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
4761 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
4763         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
4764         * config/nvptx/mgomp.c: New file.
4765         * config/nvptx/t-nvptx: Add mgomp.c
4767 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
4769         PR libgcc/68468
4770         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
4772 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
4774         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
4775         of checking for cpus.
4776         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
4777         (__modsi3, __clzsi2): Likewise.
4779 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4781         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
4782         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
4783         * config/i386/t-cpuinfo-static: New.
4785 2016-11-03  Martin Liska  <mliska@suse.cz>
4787         * libgcov-profiler.c (__gcov_time_profiler): Remove.
4788         (__gcov_time_profiler_atomic): Likewise.
4790 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
4792         PR libgcc/78067
4793         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
4794         count_leading_zeros.
4796 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
4798         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
4799         * libgcc2.c (__divmoddi4): New function.
4800         * libgcc2.h (__divmoddi4): Declare.
4801         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
4802         and __PFX_divmodti4.
4804 2016-10-24  Florian Weimer  <fweimer@redhat.com>
4806         PR libgcc/78064
4807         * unwind-c.c: Include auto-target.h.
4809 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
4811         * config/pa/pa64-hpux-lib.h: New file.
4812         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
4813         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
4814         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
4815         hppa*64*-*-hpux11*.
4817 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
4819         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4820         definition.
4821         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4822         definition.
4823         * config/xtensa/t-windowed (LIB2ADDEH): Use
4824         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
4825         or xtensa/t-linux.
4827 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
4829         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
4830         __ieee754_sqrt): New functions.
4831         (__divdf3): Add implementation with new FPU instructions under
4832         #if XCHAL_HAVE_DFP_DIV.
4833         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
4834         __ieee754_sqrtf): New functions.
4835         (__divsf3): Add implementation with new FPU instructions under
4836         #if XCHAL_HAVE_FP_DIV.
4837         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
4838         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
4840 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4842         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
4843         equivalent.
4844         * config/tilepro/atomic.c: Likewise and stop casting model to
4845         enum memmodel.
4847 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
4849         PR target/77586
4850         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
4851         soft-fp.
4853 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
4855         * config.host: Add support for aarch64-*-freebsd*.
4857 2016-10-05  Andreas Schwab  <schwab@suse.de>
4859         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
4860         (.section .init_array): Don't call __do_jv_register_classes.
4861         (.section .init): Likewise.
4863 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
4865         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
4866         (__JCR_LIST__): Remove.
4867         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
4868         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
4869         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
4870         * config/ia64/crtend.S (__JCR_END__): Remove.
4871         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
4872         conditionals.
4873         (__JCR_LIST__, __JCR_END__): Remove.
4874         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
4875         (__do_global_ctors_1): Likewise.
4877 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
4879         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
4880         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
4882 2016-09-27  Martin Liska  <mliska@suse.cz>
4884         PR gcov-profile/7970
4885         PR gcov-profile/16855
4886         PR gcov-profile/44779
4887         * libgcov-driver.c (__gcov_init): Do not register a atexit
4888         handler.
4889         (__gcov_exit): Rename from gcov_exit.
4890         * libgcov.h (__gcov_exit): Declare.
4892 2016-09-27  Martin Liska  <mliska@suse.cz>
4894         PR bootstrap/77749
4895         * Makefile.in: Remove _gcov_merge_delta.
4896         * libgcov-merge.c (void __gcov_merge_delta): Remove.
4897         * libgcov-util.c (__gcov_delta_counter_op): Remove.
4898         * libgcov.h: Remove declaration of __gcov_merge_delta.
4900 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
4902         * configure.ac: Do not create links, only substitute the filenames.
4903         * configure: Regenerate.
4904         * Makefile.in: Assign the substitution results to variables.
4905         (LIBGCC_LINKS): Define.
4906         (enable-execute-stack.c): New rule.
4907         (unwind.h): Likewise.
4908         (md-unwind-support.h): Likewise.
4909         (sfp-machine.h): Likewise.
4910         (gthr-default.h): Likewise.
4911         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
4912         unwind.h as prerequisite of install-unwind_h-forbuild.
4914 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
4916         PR libgcc/71744
4917         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
4918         is not the primary registry and atomics are available.
4919         (any_objects_registered): New variable.
4920         (__register_frame_info_bases, __register_frame_info_table_bases):
4921         Atomically store 1 to any_objects_registered after registering first
4922         unwind info.
4923         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
4925 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
4927         PR target/63250
4928         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
4929         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
4930         (HFtype): Likewise.
4931         (HCtype): Likewise.
4932         (__divhc3): Likewise.
4933         (__mulhc3): Likewise.
4934         * libgcc2.c: Support _mulhc3 and _divhc3.
4936 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
4938         PR libgcc/77519
4939         * libgcc2.c (NOTRUNC): Invert settings.
4941 2016-09-06  Martin Liska  <mliska@suse.cz>
4943         PR gcov-profile/77378
4944         PR gcov-profile/77466
4945         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
4946         conditionaly enable/disable *_atomic functions.
4948 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
4950         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
4951         where not already enabled.
4953 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4955         * config/mips/linux-unwind.h: Use sys/syscall.h.
4957 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
4959         PR libgcc/77265
4960         * soft-fp/adddf3.c: Update from glibc.
4961         * soft-fp/addsf3.c: Likewise.
4962         * soft-fp/addtf3.c: Likewise.
4963         * soft-fp/divdf3.c: Likewise.
4964         * soft-fp/divsf3.c: Likewise.
4965         * soft-fp/divtf3.c: Likewise.
4966         * soft-fp/double.h: Likewise.
4967         * soft-fp/eqdf2.c: Likewise.
4968         * soft-fp/eqsf2.c: Likewise.
4969         * soft-fp/eqtf2.c: Likewise.
4970         * soft-fp/extenddftf2.c: Likewise.
4971         * soft-fp/extended.h: Likewise.
4972         * soft-fp/extendsfdf2.c: Likewise.
4973         * soft-fp/extendsftf2.c: Likewise.
4974         * soft-fp/extendxftf2.c: Likewise.
4975         * soft-fp/fixdfdi.c: Likewise.
4976         * soft-fp/fixdfsi.c: Likewise.
4977         * soft-fp/fixdfti.c: Likewise.
4978         * soft-fp/fixsfdi.c: Likewise.
4979         * soft-fp/fixsfsi.c: Likewise.
4980         * soft-fp/fixsfti.c: Likewise.
4981         * soft-fp/fixtfdi.c: Likewise.
4982         * soft-fp/fixtfsi.c: Likewise.
4983         * soft-fp/fixtfti.c: Likewise.
4984         * soft-fp/fixunsdfdi.c: Likewise.
4985         * soft-fp/fixunsdfsi.c: Likewise.
4986         * soft-fp/fixunsdfti.c: Likewise.
4987         * soft-fp/fixunssfdi.c: Likewise.
4988         * soft-fp/fixunssfsi.c: Likewise.
4989         * soft-fp/fixunssfti.c: Likewise.
4990         * soft-fp/fixunstfdi.c: Likewise.
4991         * soft-fp/fixunstfsi.c: Likewise.
4992         * soft-fp/fixunstfti.c: Likewise.
4993         * soft-fp/floatdidf.c: Likewise.
4994         * soft-fp/floatdisf.c: Likewise.
4995         * soft-fp/floatditf.c: Likewise.
4996         * soft-fp/floatsidf.c: Likewise.
4997         * soft-fp/floatsisf.c: Likewise.
4998         * soft-fp/floatsitf.c: Likewise.
4999         * soft-fp/floattidf.c: Likewise.
5000         * soft-fp/floattisf.c: Likewise.
5001         * soft-fp/floattitf.c: Likewise.
5002         * soft-fp/floatundidf.c: Likewise.
5003         * soft-fp/floatundisf.c: Likewise.
5004         * soft-fp/floatunditf.c: Likewise.
5005         * soft-fp/floatunsidf.c: Likewise.
5006         * soft-fp/floatunsisf.c: Likewise.
5007         * soft-fp/floatunsitf.c: Likewise.
5008         * soft-fp/floatuntidf.c: Likewise.
5009         * soft-fp/floatuntisf.c: Likewise.
5010         * soft-fp/floatuntitf.c: Likewise.
5011         * soft-fp/gedf2.c: Likewise.
5012         * soft-fp/gesf2.c: Likewise.
5013         * soft-fp/getf2.c: Likewise.
5014         * soft-fp/ledf2.c: Likewise.
5015         * soft-fp/lesf2.c: Likewise.
5016         * soft-fp/letf2.c: Likewise.
5017         * soft-fp/muldf3.c: Likewise.
5018         * soft-fp/mulsf3.c: Likewise.
5019         * soft-fp/multf3.c: Likewise.
5020         * soft-fp/negdf2.c: Likewise.
5021         * soft-fp/negsf2.c: Likewise.
5022         * soft-fp/negtf2.c: Likewise.
5023         * soft-fp/op-1.h: Likewise.
5024         * soft-fp/op-2.h: Likewise.
5025         * soft-fp/op-4.h: Likewise.
5026         * soft-fp/op-8.h: Likewise.
5027         * soft-fp/op-common.h: Likewise.
5028         * soft-fp/quad.h: Likewise.
5029         * soft-fp/single.h: Likewise.
5030         * soft-fp/soft-fp.h: Likewise.
5031         * soft-fp/subdf3.c: Likewise.
5032         * soft-fp/subsf3.c: Likewise.
5033         * soft-fp/subtf3.c: Likewise.
5034         * soft-fp/truncdfsf2.c: Likewise.
5035         * soft-fp/trunctfdf2.c: Likewise.
5036         * soft-fp/trunctfsf2.c: Likewise.
5037         * soft-fp/trunctfxf2.c: Likewise.
5038         * soft-fp/unorddf2.c: Likewise.
5039         * soft-fp/unordsf2.c: Likewise.
5040         * soft-fp/unordtf2.c: Likewise.
5042 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
5044         PR gcov-profile/67097
5045         * libgcov-util.c (gcov_profile_merge): Skip missing files.
5047 2016-08-10  Martin Liska  <mliska@suse.cz>
5049         PR gcov-profile/58306
5050         * Makefile.in: New functions (modules) are added.
5051         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
5052         function.
5053         (__gcov_pow2_profiler_atomic): New function.
5054         (__gcov_one_value_profiler_body): New argument is instroduced.
5055         (__gcov_one_value_profiler): Call with the new argument.
5056         (__gcov_one_value_profiler_atomic): Likewise.
5057         (__gcov_indirect_call_profiler_v2): Likewise.
5058         (__gcov_time_profiler_atomic): New function.
5059         (__gcov_average_profiler_atomic): Likewise.
5060         (__gcov_ior_profiler_atomic): Likewise.
5061         * libgcov.h: Declare the aforementioned functions.
5063 2016-08-09  Martin Liska  <mliska@suse.cz>
5065         * libgcov-util.c: Fix typo and GNU coding style.
5067 2016-08-09  Martin Liska  <mliska@suse.cz>
5069         * Makefile.in: Remove __gcov_indirect_call_profiler.
5070         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
5071         function.
5072         * libgcov.h: And the declaration of the function.
5074 2016-08-09  Martin Liska  <mliska@suse.cz>
5076         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
5077         power of two.
5079 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
5081         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
5082         * config/rs6000/_mulkc3.c: Likewise.
5084 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
5086         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
5087         zero_reg as previous call to __umulhisi3 already cleared it.
5089 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
5091         PR target/59833
5092         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
5094 2016-07-19  Nick Clifton  <nickc@redhat.com>
5096         * config.host (m32r): Add m32r/t-m32r to tmake_file.
5097         Add crtinit.o and crtfini.o to extra_parts.
5099 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
5101         * config/rs6000/_divkc3.c: New.
5102         * config/rs6000/_mulkc3.c: New.
5103         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
5104         and _divkc3.
5105         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
5106         fp128_ppc_funcs.
5108 2016-07-11  Hale Wang  <hale.wang@arm.com>
5109             Andre Vieira  <andre.simoesdiasvieira@arm.com>
5111         * config/arm/lib1funcs.S: Add new wrapper.
5113 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5115         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
5117 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5119         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
5120         and ARMv5t* rather than for a fixed list of architectures.
5122 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5124         * config/arm/bpabi-v6m.S: Clarify what architectures is the
5125         implementation suitable for.
5126         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
5127         for all Thumb-1 only targets.
5128         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
5129         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
5130         __ARM_ARCH_6M__.
5131         (EQUIV): Likewise.
5132         (ARM_FUNC_ALIAS): Likewise.
5133         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
5134         version.
5135         (modsi3): Likewise.
5136         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
5137         (clzdi2): Likewise.
5138         (ctzsi2): Likewise.
5139         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
5140         __ARM_ARCH_6M__ in guard for checking whether it is defined.
5141         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
5142         __ARM_ARCH_6M__ and add comment to indicate the connection between
5143         this condition and the one in gcc/config/arm/elf.h.
5144         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
5145         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
5146         * config/arm/t-softfp: Likewise.
5148 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5150         * libgcc2.c (SYMBOL__MAIN): Remove checks for
5151         CTOR_LISTS_DEFINED_EXTERNALLY.
5153 2016-06-28  Walter Lee  <walt@tilera.com>
5155         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
5156         asm/unistd.h.
5157         (SPR_CMPEXCH_VALUE): Define for tilegx.
5158         (__NR_FAST_cmpxchg): Define for tilepro.
5159         (__NR_FAST_atomic_update): Define for tilepro.
5160         (__NR_FAST_cmpxchg64): Define for tilepro.
5162 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
5164         * config.host: Add suport for arm*-*-phoenix* targets.
5166 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5168         * config.host: Remove support for mep-*.
5169         * config/mep/lib1funcs.S: Remove.
5170         * config/mep/lib2funcs.c: Remove.
5171         * config/mep/t-mep: Remove.
5172         * config/mep/tramp.c: Remove.
5174 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5176         * config.host: Remove support for avr-rtems.
5177         * config/avr/t-rtems: Remove.
5179 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5181         * config.host: Remove m32r-rtems support.
5183 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5185         * config.host: Remove h8300-rtems support.
5187 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5189         * config.host: Remove support for knetbsd.
5191 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5193         * config.host: Remove support for openbsd 2 and 3.
5195 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5197         * config.host: Remove interix support.
5198         * config/i386/t-interix: Remove.
5200 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
5202         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
5203         least-significant bit in function pointer for fixup.
5205 2016-06-05  Aaron Conole  <aconole@redhat.com>
5206             Nathan Sidwell  <nathan@acm.org>
5208         PR libgcc/71400
5209         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
5210         (get_gcov_error_file): Check __gcov_error_file before trying to
5211         initialize it.
5212         (gcov_error): Always use get_gcov_error_file.
5214 2016-06-02  Aaron Conole  <aconole@redhat.com>
5216         * libgcov-driver-system.c (__gcov_error_file): New.
5217         (get_gcov_error_file): New.
5218         (gcov_error): Use and set __gcov_error_file.
5219         (gcov_error_exit): New.
5220         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
5222 2016-05-26  Nathan Sidwell  <nathan@acm.org>
5224         * config/nvptx/free.asm: Delete.
5225         * config/nvptx/malloc.asm: Delete.
5226         * config/nvptx/realloc.c: Delete.
5227         * t-nvptx: Update.
5229 2016-05-25  Nathan Sidwell  <nathan@acm.org>
5231         * config/nvptx/crt0.s: Delete.
5232         * config/nvptx/crt0.c: New.
5233         * t-nvptx: Update.
5235 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
5237         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
5238         dw2/seh configuration.
5239         [x86_64-*-mingw*]: Likewise.
5241 2016-05-10  Joel Sherrill <joel@rtems.org>
5243         PR libgcc/70720
5244         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
5245         targets so the same extra_parts are built.  Also have tmake_file add
5246         on to its value rather than override.
5248 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
5250         * config.host: Remove SH5 support.
5251         * configure: Likewise.
5253 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
5255         * config/sh/crt1.S: Remove SH5 support.
5256         * config/sh/crti.S: Likewise.
5257         * config/sh/crtn.S: Likewise.
5258         * config/sh/lib1funcs-4-300.S: Likewise.
5259         * config/sh/lib1funcs-Os-4-200.S: Likewise.
5260         * config/sh/lib1funcs.S: Likewise.
5261         * config/sh/linux-unwind.h: Likewise.
5262         * config/sh/t-sh64: Delete.
5264 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
5266         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
5268 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
5269             Joern Rennecke  <joern.rennecke@embecosm.com>
5271         * config/arc/crttls.S: New file.
5272         * config/arc/t-arc: New rule.
5273         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
5275 2016-04-25  Nick Clifton  <nickc@redhat.com>
5277         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
5278         (__mspabi_cmpd): Likewise.
5279         * config/msp430/floathidf.c (__floathidf): Likewise.
5280         * config/msp430/floathisf.c (__floathisf): Likewise
5281         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
5282         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
5283         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
5284         second parameter.
5285         (__ashrsi3): Likewise.
5287 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
5289         * config/m68k/linux-atomic.c: Do not include unistd.h
5291 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
5293         * config/arm/ieee754-df.S: Fix typos in comments.
5295 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
5297         PR target/70381
5298         * configure.ac (powerpc*-*-linux*): Rework tests to build
5299         __float128 emulation routines to not depend on using #pragma GCC
5300         target to enable -mfloat128.
5301         * configure: Regnerate.
5303 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
5305         PR target/67172
5306         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
5307         __MINGW32__ is defined.
5309 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
5311         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
5313 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
5315         PR libgcc/70363
5316         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
5317         built with an assembler that does not support ISA 3.0
5318         instructions, rename __extendkftf2_sw to __extendkftf2.
5320 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5322         PR target/38239
5323         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
5324         call-clobbered registers.
5325         (internal_mcount): Remove __i386__ handling.
5327 2016-02-26  Joel Sherrill <joel@rtems.org>
5329         * config.host: Add x86_64-*-rtems*.
5331 2016-02-26  Joel Sherrill <joel@rtems.org>
5333         * libgcc/config.host: Add aarch64-*-rtems*.
5335 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5336             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
5338         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
5339         union of u64 and double.
5340         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
5341         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
5342         value.
5343         (FP_ROUNDMODE): Update the usage of _fpscr.
5345 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
5347         PR driver/68463
5348         * Makefile.in (crtoffloadtable$(objext)): New rule.
5349         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
5350         enable_offload_targets is not empty.
5351         * configure: Regenerate.
5352         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
5353         crtoffloadtable.
5355 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
5357         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
5358         .literal_position before the function.
5359         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
5360         Likewise.
5362 2016-02-15  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5364         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
5365         * config/s390/morestack.S: New file.
5366         * config/s390/t-stack-s390: New file.
5367         * generic-morestack.c (__splitstack_find): Add s390-specific code.
5369 2016-02-12  Walter Lee  <walt@tilera.com>
5371         * config.host (tilegx*-*-linux*): remove ti from
5372         softfp_int_modes for 32-bit configs.
5374 2016-02-10  Ian Lance Taylor  <iant@google.com>
5376         PR go/68562
5377         * config/i386/morestack.S (__stack_split_initialize): Align
5378         stack.
5380 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
5382         PR bootstrap/69611
5383         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
5384         __FLOAT128__ to compile only for __float128 capable targets.
5386 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
5388         PR target/69444
5389         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
5390         instead of ___NO_FPRS__.
5392 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
5393             Steven Munroe  <munroesj@linux.vnet.ibm.com>
5394             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
5396         * config/rs6000/float128-sed: New files to convert TF names to KF
5397         names for PowerPC IEEE 128-bit floating point support.
5398         * config/rs6000/float128-sed-hw: Likewise.
5400         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5401         floating point hardware support.
5403         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5404         128-bit floating point software emulation or use ISA 3.0 hardware
5405         support if it is available.
5407         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5408         floating point.
5410         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
5411         floating point to IBM extended double.
5413         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
5414         double to IEEE 128-bit floating point.
5416         * config/rs6000/t-float128: New Makefile fragments to enable
5417         building __float128 emulation support.
5418         * config/rs6000/t-float128-hw: Likewise.
5420         * config/rs6000/sfp-exceptions.c: New file to provide exception
5421         support for IEEE 128-bit floating point.
5423         * config/rs6000/floattikf.c: New files for converting between IEEE
5424         128-bit floating point and signed/unsigned 128-bit integers.
5425         * config/rs6000/fixunskfti.c: Likewise.
5426         * config/rs6000/fixkfti.c: Likewise.
5427         * config/rs6000/floatuntikf.c: Likewise.
5429         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5430         when building on 64-bit systems, or when VSX is enabled.
5431         (_FP_W_TYPE): Likewise.
5432         (_FP_WS_TYPE): Likewise.
5433         (_FP_I_TYPE): Likewise.
5434         (TItype): Define on 64-bit systems.
5435         (UTItype): Likewise.
5436         (TI_BITS): Likewise.
5437         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5438         (_FP_MUL_MEAT_Q): Likewise.
5439         (_FP_DIV_MEAT_D): Likewise.
5440         (_FP_DIV_MEAT_Q): Likewise.
5441         (_FP_NANFRAC_D): Likewise.
5442         (_FP_NANFRAC_Q): Likewise.
5443         (ISA_BIT): Add exception support if we are being compiled on a
5444         machine with hardware floating point support to build the IEEE
5445         128-bit emulation functions.
5446         (FP_EX_INVALID): Likewise.
5447         (FP_EX_OVERFLOW): Likewise.
5448         (FP_EX_UNDERFLOW): Likewise.
5449         (FP_EX_DIVZERO): Likewise.
5450         (FP_EX_INEXACT): Likewise.
5451         (FP_EX_ALL): Likewise.
5452         (__sfp_handle_exceptions): Likewise.
5453         (FP_HANDLE_EXCEPTIONS): Likewise.
5454         (FP_RND_NEAREST): Likewise.
5455         (FP_RND_ZERO): Likewise.
5456         (FP_RND_PINF): Likewise.
5457         (FP_RND_MINF): Likewise.
5458         (FP_RND_MASK): Likewise.
5459         (_FP_DECL_EX): Likewise.
5460         (FP_INIT_ROUNDMODE): Likewise.
5461         (FP_ROUNDMODE): Likewise.
5463         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5464         VSX code, enable IEEE 128-bit floating point.  If the compiler can
5465         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
5466         floating point hardware instructions and it supports declaring
5467         functions with the ifunc attribute, enable ifunc functions to
5468         switch between software and hardware support.
5469         * configure.ac (powerpc*-*-linux*): Likewise.
5470         * configure: Regenerate.
5472 2016-01-15  Nick Clifton  <nickc@redhat.com>
5474         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
5475         dependency as the source file to be compiled.
5476         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
5477         (lib2hw_mul_f5.o): Likewise.
5479 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
5481         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
5482         * libgcc/config/rs6000/fixkfti.c: Likewise.
5483         * libgcc/config/rs6000/fixunskfti.c: Likewise.
5484         * libgcc/config/rs6000/float128-hw.c: Likewise.
5485         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
5486         * libgcc/config/rs6000/float128-sed: Likewise.
5487         * libgcc/config/rs6000/floattikf.c: Likewise.
5488         * libgcc/config/rs6000/floatuntikf.c: Likewise.
5489         * libgcc/config/rs6000/quad-float128.h: Likewise.
5490         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
5491         * libgcc/config/rs6000/sfp-machine.h: Likewise.
5492         * libgcc/config/rs6000/t-float128: Likewise.
5493         * libgcc/config/rs6000/t-float128-hw: Likewise.
5494         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
5495         * libgcc/config.host: Likewise.
5496         * libgcc/configure: Likewise.
5497         * libgcc/configure.ac: Likewise.
5499 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
5500             Steven Munroe  <munroesj@linux.vnet.ibm.com>
5501             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
5503         * config/rs6000/sfp-exceptions.c: New file to provide exception
5504         support for IEEE 128-bit floating point.
5506         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5507         floating point hardware support.
5509         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
5510         point conversions.
5511         * config/rs6000/fixunskfti.c: Likewise.
5512         * config/rs6000/fixkfti.c: Likewise.
5513         * config/rs6000/floatuntikf.c: Likewise.
5514         * config/rs6000/extendkftf2-sw.c: Likewise.
5515         * config/rs6000/trunctfkf2-sw.c: Likewise.
5517         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5518         128-bit floating point software emulation or use ISA 3.0 hardware
5519         support if it is available.
5521         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5522         floating point.
5524         * config/rs6000/t-float128: New Makefile fragments to enable
5525         building __float128 emulation support.
5526         * config/rs6000/t-float128-hw: Likewise.
5528         * config/rs6000/float128-sed: New file to convert TF names to KF
5529         names for PowerPC IEEE 128-bit floating point support.
5531         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5532         when building on 64-bit systems, or when VSX is enabled.
5533         (_FP_W_TYPE): Likewise.
5534         (_FP_WS_TYPE): Likewise.
5535         (_FP_I_TYPE): Likewise.
5536         (TItype): Define on 64-bit systems.
5537         (UTItype): Likewise.
5538         (TI_BITS): Likewise.
5539         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5540         (_FP_MUL_MEAT_Q): Likewise.
5541         (_FP_DIV_MEAT_D): Likewise.
5542         (_FP_DIV_MEAT_Q): Likewise.
5543         (_FP_NANFRAC_D): Likewise.
5544         (_FP_NANFRAC_Q): Likewise.
5545         (ISA_BIT): Add exception support if we are being compiled on a
5546         machine with hardware floating point support to build the IEEE
5547         128-bit emulation functions.
5548         (FP_EX_INVALID): Likewise.
5549         (FP_EX_OVERFLOW): Likewise.
5550         (FP_EX_UNDERFLOW): Likewise.
5551         (FP_EX_DIVZERO): Likewise.
5552         (FP_EX_INEXACT): Likewise.
5553         (FP_EX_ALL): Likewise.
5554         (__sfp_handle_exceptions): Likewise.
5555         (FP_HANDLE_EXCEPTIONS): Likewise.
5556         (FP_RND_NEAREST): Likewise.
5557         (FP_RND_ZERO): Likewise.
5558         (FP_RND_PINF): Likewise.
5559         (FP_RND_MINF): Likewise.
5560         (FP_RND_MASK): Likewise.
5561         (_FP_DECL_EX): Likewise.
5562         (FP_INIT_ROUNDMODE): Likewise.
5563         (FP_ROUNDMODE): Likewise.
5565         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
5566         compiler can do __float128.
5567         * configure: Regenerate.
5569         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5570         VSX code, enable IEEE 128-bit floating point.
5572 2016-01-05  Olivier Hainque  <hainque@adacore.com>
5574         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
5575         specificities.
5577 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
5579         Update copyright years.
5581 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
5583         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
5584         soft-fp targets.
5586 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
5588         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
5589         instead of abort to avoid dependency on stdlib.h.
5591 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
5593         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
5594         to initialize call to __dl_fixup once.
5596 2015-12-04  Nick Clifton  <nickc@redhat.com>
5598         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
5599         Allow for the second argument being negative.
5600         * config.host (extra_parts): Define for MSP430.  Create separate
5601         libraries for each of the hardware multiply formats.
5602         * config/msp430/lib2hw_mul.S: Build only the multiply routines
5603         that are needed.
5604         * config/msp430/lib2mul.c: Likewise.
5605         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
5606         Add rules to build hardware multiply libraries.
5607         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
5608         __mspabi_divul function.
5609         (__mspabi_divllu): New stub function.
5611 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
5613         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
5614         fixup values if saved GOT address doesn't match runtime address.
5615         (fixup_branch_offset): Reorder list.
5617 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5619         * Makefile.in (VTV_CFLAGS): New variable.
5620         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
5621         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
5622         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5623         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
5624         to extra_parts if $enable_vtable_verify = yes.
5626 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5628         PR target/68059
5629         * config/arm/linux-atomic-64bit.c (__write): Rename to...
5630         (write): ...this and fix the return type.
5632 2015-11-19  DJ Delorie  <dj@redhat.com>
5634         * config/msp430/lib2hw_mul.S: Fix alignment.
5636 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
5638         * config/nvptx/reduction.c: New.
5639         * config/nvptx/t-nvptx (LIB2ADD): Add it.
5641 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
5643         * config/rs6000/on_exit.c: New file.
5644         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
5645         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
5647 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
5649         * config/arc/dp-hack.h: Add support for ARCHS.
5650         * config/arc/ieee-754/divdf3.S: Likewise.
5651         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5652         * config/arc/ieee-754/muldf3.S: Likewise.
5653         * config/arc/ieee-754/mulsf3.S: Likewise
5654         * config/arc/lib1funcs.S: Likewise
5655         * config/arc/gmon/dcache_linesz.S: Don't read the build register
5656         for ARCv2 cores.
5657         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
5658         for ARCv2 cores.
5659         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
5660         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
5661         cores.
5663 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5665         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
5666         value.
5667         * config/ia64/crtend.S: Likewise.
5669 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5671         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
5672         __CHAR_BIT__ instead of BITS_PER_UNIT.
5673         * fixed-bit.h: Likewise.
5674         * fp-bit.h: Likewise.
5675         * libgcc2.c (__popcountSI2): Likewise.
5676         (__popcountDI2): Likewise.
5677         * libgcc2.h: Likewise.
5678         * libgcov.h: Likewise.
5680 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
5682         * config/rs6000/atexit.c: New file.
5683         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
5684         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
5685         * config/rs6000/cxa_finalize.c
5686         (catomic_compare_and_exchange_bool_acq): Negate return value.
5688 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
5690         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
5691         (processor_subtypes): Add znver1.
5692         (get_amd_cpu): Detect znver1.
5694 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
5696         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
5697         Include crtfastmath.o.
5699 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
5701         PR libgcc/66883
5702         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
5704 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
5706         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
5707         * config/rl78/divmodsi.S: Update return register to r8.
5708         * config/rl78/divmodhi.S: Update return register to r8,r9.
5709         Branch to main_loop_done_himode to pop registers before return.
5711 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
5713         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
5714         (__cpu_indicator_init): Fix model selection for AMD CPUs.
5716 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
5718         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
5720 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
5722         * config.host (xtensa*-*-uclinux*): New configuration.
5724 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
5726         * config/i386/cpuinfo.c (processor_features): Add
5727         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
5729 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
5731         * soft-fp/adddf3.c: Update from glibc.
5732         * soft-fp/addsf3.c: Likewise.
5733         * soft-fp/addtf3.c: Likewise.
5734         * soft-fp/divdf3.c: Likewise.
5735         * soft-fp/divsf3.c: Likewise.
5736         * soft-fp/divtf3.c: Likewise.
5737         * soft-fp/double.h: Likewise.
5738         * soft-fp/eqdf2.c: Likewise.
5739         * soft-fp/eqsf2.c: Likewise.
5740         * soft-fp/eqtf2.c: Likewise.
5741         * soft-fp/extenddftf2.c: Likewise.
5742         * soft-fp/extended.h: Likewise.
5743         * soft-fp/extendsfdf2.c: Likewise.
5744         * soft-fp/extendsftf2.c: Likewise.
5745         * soft-fp/extendxftf2.c: Likewise.
5746         * soft-fp/fixdfdi.c: Likewise.
5747         * soft-fp/fixdfsi.c: Likewise.
5748         * soft-fp/fixdfti.c: Likewise.
5749         * soft-fp/fixsfdi.c: Likewise.
5750         * soft-fp/fixsfsi.c: Likewise.
5751         * soft-fp/fixsfti.c: Likewise.
5752         * soft-fp/fixtfdi.c: Likewise.
5753         * soft-fp/fixtfsi.c: Likewise.
5754         * soft-fp/fixtfti.c: Likewise.
5755         * soft-fp/fixunsdfdi.c: Likewise.
5756         * soft-fp/fixunsdfsi.c: Likewise.
5757         * soft-fp/fixunsdfti.c: Likewise.
5758         * soft-fp/fixunssfdi.c: Likewise.
5759         * soft-fp/fixunssfsi.c: Likewise.
5760         * soft-fp/fixunssfti.c: Likewise.
5761         * soft-fp/fixunstfdi.c: Likewise.
5762         * soft-fp/fixunstfsi.c: Likewise.
5763         * soft-fp/fixunstfti.c: Likewise.
5764         * soft-fp/floatdidf.c: Likewise.
5765         * soft-fp/floatdisf.c: Likewise.
5766         * soft-fp/floatditf.c: Likewise.
5767         * soft-fp/floatsidf.c: Likewise.
5768         * soft-fp/floatsisf.c: Likewise.
5769         * soft-fp/floatsitf.c: Likewise.
5770         * soft-fp/floattidf.c: Likewise.
5771         * soft-fp/floattisf.c: Likewise.
5772         * soft-fp/floattitf.c: Likewise.
5773         * soft-fp/floatundidf.c: Likewise.
5774         * soft-fp/floatundisf.c: Likewise.
5775         * soft-fp/floatunditf.c: Likewise.
5776         * soft-fp/floatunsidf.c: Likewise.
5777         * soft-fp/floatunsisf.c: Likewise.
5778         * soft-fp/floatunsitf.c: Likewise.
5779         * soft-fp/floatuntidf.c: Likewise.
5780         * soft-fp/floatuntisf.c: Likewise.
5781         * soft-fp/floatuntitf.c: Likewise.
5782         * soft-fp/gedf2.c: Likewise.
5783         * soft-fp/gesf2.c: Likewise.
5784         * soft-fp/getf2.c: Likewise.
5785         * soft-fp/ledf2.c: Likewise.
5786         * soft-fp/lesf2.c: Likewise.
5787         * soft-fp/letf2.c: Likewise.
5788         * soft-fp/muldf3.c: Likewise.
5789         * soft-fp/mulsf3.c: Likewise.
5790         * soft-fp/multf3.c: Likewise.
5791         * soft-fp/negdf2.c: Likewise.
5792         * soft-fp/negsf2.c: Likewise.
5793         * soft-fp/negtf2.c: Likewise.
5794         * soft-fp/op-1.h: Likewise.
5795         * soft-fp/op-2.h: Likewise.
5796         * soft-fp/op-4.h: Likewise.
5797         * soft-fp/op-8.h: Likewise.
5798         * soft-fp/op-common.h: Likewise.
5799         * soft-fp/quad.h: Likewise.
5800         * soft-fp/single.h: Likewise.
5801         * soft-fp/soft-fp.h: Likewise.
5802         * soft-fp/subdf3.c: Likewise.
5803         * soft-fp/subsf3.c: Likewise.
5804         * soft-fp/subtf3.c: Likewise.
5805         * soft-fp/truncdfsf2.c: Likewise.
5806         * soft-fp/trunctfdf2.c: Likewise.
5807         * soft-fp/trunctfsf2.c: Likewise.
5808         * soft-fp/trunctfxf2.c: Likewise.
5809         * soft-fp/unorddf2.c: Likewise.
5810         * soft-fp/unordsf2.c: Likewise.
5811         * soft-fp/unordtf2.c: Likewise.
5813 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
5815         PR libgcc/67624
5816         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
5818 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5820         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5821         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
5822         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
5823         messages.
5824         (internal_mcount): Likewise.
5825         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
5826         crt_compile, add CRTSTUFF_T_CFLAGS_S.
5828 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5830         * configure.ac (libgcc_cv_solaris_crts): New test.
5831         * configure: Regenerate.
5832         * config.in: Regenerate.
5833         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
5834         * config/gmon-sol2.c: Rename to ...
5835         * config/sol2/gmon.c: ... this.
5836         Include auto-target.h.
5837         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
5838         * config/t-sol2: Rename to ...
5839         * config/sol2/t-sol2: ... this.
5840         (gmon.o): Reflect renaming.
5841         (crtp.o, crtpg.o): New rules.
5842         * config.host (*-*-solaris2*): Reflect renaming.
5843         Use system CRTs if present.
5844         Remove default CRT case.
5846 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
5848         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
5849         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
5850         __kernel_cmpxchg2.
5851         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
5852         (__sync_val_compare_and_swap_##WIDTH): Likewise.
5853         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
5854         (__sync_lock_test_and_set_##WIDTH): Likewise.
5855         (__sync_lock_release_##WIDTH): Likewise.
5856         (__sync_fetch_and_##OP##_4): Change result to match type of
5857         __kernel_cmpxchg.
5858         (__sync_##OP##_and_fetch_4): Likewise.
5859         (__sync_val_compare_and_swap_4): Likewise.
5860         (__sync_bool_compare_and_swap_4): likewise.
5861         (__sync_lock_test_and_set_4): Likewise.
5862         (__sync_lock_release_4): Likewise.
5863         (FETCH_AND_OP_2): Add long long variants.
5864         (OP_AND_FETCH_2): Likewise.
5865         (COMPARE_AND_SWAP_2 ): Likewise.
5866         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5867         (SYNC_LOCK_RELEASE_2): Likewise.
5868         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
5870 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
5872         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
5873         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
5874         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
5875         (get_available_features): Habdle new features.
5877 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
5879         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
5880         memory layout. Deal correctly with BSS region larger than 32K.
5881         Handle a watchdog reset like a power-on reset. Clean up unused
5882         code.
5884 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
5885             David Edelsohn  <dje.gcc@gmail.com>
5887         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
5888         * config/rs6000/crtdbase.S: New file.
5889         * config/rs6000/t-aix-cxa: Build crtdbase.o.
5891 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
5893         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
5894         Add support for call0 ABI.
5896 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
5898         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
5900 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
5902         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
5903         (__GTHREAD_HAS_COND): Likewise.
5904         (__gthread_t): Likewise.
5905         (__gthread_cond_t): Likewise.
5906         (__gthread_time_t): Likewise.
5907         (__GTHREAD_MUTEX_INIT): Likewise.
5908         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
5909         (__GTHREAD_COND_INIT): Likewise.
5910         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
5911         (__GTHREAD_TIME_INIT): Likewise.
5912         (__gthread_create): Likewise.
5913         (__gthread_join): Likewise.
5914         (__gthread_detach): Likewise.
5915         (__gthread_equal): Likewise.
5916         (__gthread_self): Likewise.
5917         (__gthread_yield): Likewise.
5918         (__gthread_cond_broadcast): Likewise.
5919         (__gthread_cond_signal): Likewise.
5920         (__gthread_cond_wait): Likewise.
5921         (__gthread_cond_timedwait): Likewise.
5922         (__gthread_cond_wait_recursive): Likewise.
5923         (__gthread_cond_destroy): Likewise.
5924         (rtems_gxx_once): Delete.
5925         (rtems_gxx_key_create): Likewise.
5926         (rtems_gxx_key_delete): Likewise.
5927         (rtems_gxx_getspecific): Likewise.
5928         (rtems_gxx_setspecific): Likewise.
5929         (rtems_gxx_mutex_init): Likewise.
5930         (rtems_gxx_mutex_destroy): Likewise.
5931         (rtems_gxx_mutex_lock): Likewise.
5932         (rtems_gxx_mutex_trylock): Likewise.
5933         (rtems_gxx_mutex_unlock): Likewise.
5934         (rtems_gxx_recursive_mutex_init): Likewise.
5935         (rtems_gxx_recursive_mutex_lock): Likewise.
5936         (rtems_gxx_recursive_mutex_trylock): Likewise.
5937         (rtems_gxx_recursive_mutex_unlock): Likewise.
5938         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
5939         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
5940         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
5941         (__gthread_once): Likewise.
5942         (__gthread_key_create): Likewise.
5943         (__gthread_key_delete): Likewise.
5944         (__gthread_getspecific): Likewise.
5945         (__gthread_setspecific): Likewise.
5946         (__gthread_key_t): Use <pthread.h> type.
5947         (__gthread_once_t): Likewise
5948         (__gthread_mutex_t): Use <sys/lock.h> type.
5949         (__gthread_recursive_mutex_t): Likewise
5950         (__gthread_mutex_lock): Use <sys/lock.h> function.
5951         (__gthread_mutex_trylock): Likewise.
5952         (__gthread_mutex_timedlock): Likewise.
5953         (__gthread_mutex_unlock): Likewise.
5954         (__gthread_mutex_destroy): Likewise.
5955         (__gthread_recursive_mutex_lock): Likewise.
5956         (__gthread_recursive_mutex_trylock): Likewise.
5957         (__gthread_recursive_mutex_timedlock): Likewise.
5958         (__gthread_recursive_mutex_unlock): Likewise.
5959         (__gthread_recursive_mutex_destroy): Likewise.
5961 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
5963         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
5964         context->sp instead of context->cfa.
5966 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
5968         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
5969         with unwind-dw2-fde-dip.
5971 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
5973         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
5974         CALL12 followed by series of ENTRY to spill windowed registers.
5975         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
5976         instead of making linux spill syscall.
5978 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
5980         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
5981         (get_intel_cpu): Likewise.
5983 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
5985         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
5986         (get_intel_cpu): Add Knights Landing support.
5988 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
5990         PR target/66954
5991         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
5992         (get_available_features): Handle FEATURE_PCLMUL.
5994 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
5996         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
5997         Broadwell.
5999 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
6001         PR target/66954
6002         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
6003         (get_available_features): Handle FEATURE_AES.
6005 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
6007         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
6008         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
6010 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
6012         * offloadstuff.c: Constify host data.
6014 2015-07-17  Jan Beulich  <jbeulich@suse.com>
6016         * config/t-softfp: Split up "else ifneq".
6018 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
6019             Cesar Philippidis  <cesar@codesourcery.com>
6020             Chung-Lin Tang  <cltang@codesourcery.com>
6022         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
6023         for __nios2_arch__ level.
6025 2015-07-13  John Marino  <gnugcc@marino.st>
6027         * config/i386/t-dragonfly: New.
6029 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
6031         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
6032         better match light-weight syscall argument order.
6033         (__kernel_cmpxchg2): Likewise.
6034         Adjust callers.
6036 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
6038         * config.host: Support i[34567]86-*-elfiamcu target.
6039         * config/t-softfp-sfdftf: New file.
6040         * config/i386/32/t-iamcu: Likewise.
6041         * configure: Regenerated.
6043 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
6045         libgcc/config/arm/
6046         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
6048 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
6050         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
6052 2015-05-27  John Marino  <gnugcc@marino.st>
6054         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
6055         md_unwind_header
6056         * config/i386/freebsd-unwind.h: New.
6058 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
6060         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
6061         i386/t-crtfm to tmake_file.
6062         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
6063         (set_fast_math): Use set_fast_math_sse for SSE targets.
6064         * config/i386/t-crtfm: Remove.
6066 2015-05-21  Alan Modra  <amodra@gmail.com>
6068         PR libgcc/66225
6069         * config/rs6000/morestack.S: Remove ".abiversion 1".
6071 2015-05-20  Alan Modra  <amodra@gmail.com>
6073         * config/rs6000/morestack.S: New.
6074         * config/rs6000/t-stack-rs6000: New.
6075         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
6076         to tmake_file.
6077         * generic-morestack.c: Don't build for powerpc 32-bit.
6079 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
6081         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
6082         Remove useless endif/ifneq ($(enable_shared),yes) pair.
6084 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
6086         * config.host: FT32 target added.
6087         * config/ft32/*: New files for FT32 target.
6089 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
6091         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
6092         New macros.
6093         * config/arm/ieee754-df.S: Add CFI directives.
6094         * config/arm/ieee754-sf.S: Add CFI directives.
6096 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
6098         * configure.ac: Include config/sjlj.m4.
6099         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
6100         * config.in: Regenerate.
6101         * configure: Likewise.
6102         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
6104 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
6106         * libgcov-util.c: Add space between string literal and macro name.
6108 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
6109             Chris Jones  <chrisj@nvidia.com>
6110             Joshua Conner  <jconner@nvidia.com>
6112         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
6113         (arm*-*-uclinux*): Likewise.
6114         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
6115         * config/arm/crtfastmath.c: New file.
6117 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
6119         * Makefile.in (real_host_noncanonical): New variable.
6120         (libsubdir): Use it.
6121         * configure.ac (real_host_noncanonical): Compute.  Remove special
6122         case for intelmicemul.
6123         * configure: Regenerate.
6125 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
6127         * config/frv/elf-lib.h: New file.
6128         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
6129         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
6130         to tm_file.
6132 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
6134         * config/frv/frvbengin.c: Do not include defaults.h
6135         * config/frv/frvend.c: Ditto.
6137 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
6139         * config.host: Add h8300-*-linux
6140         * config/h8300/t-linux: New file.
6141         * config/h8300/lib1funs.s: Change symbol prefix.
6142         * config/h8300/sfp-machine.h: 64bit double support.
6144 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
6145             Szabolcs Nagy  <szabolcs.nagy@arm.com>
6147         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
6148         Linux if target provides dl_iterate_phdr.
6150 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
6152         PR target/65612
6153         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
6154         * config/i386/cpuinfo.c (__cpu_model): Initialize.
6155         (__cpu_indicator_init@GCC_4.8.0): New.
6156         (__cpu_model@GCC_4.8.0): Likewise.
6157         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
6158         -DUSE_ELF_SYMVER.
6160 2015-04-16  Nick Clifton  <nickc@redhat.com>
6162         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
6163         and __modhi3 functions.
6164         * config/rl78/divmodso.S: Add G14 and G13 versions of the
6165         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
6167 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
6169         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
6170         do-while loop as macro body to avoid warnings.
6172 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
6173             Iain Sandoe  <iain@codesourcery.com>
6175         PR target/65351
6176         * configure: Regenerate.
6178 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
6179             Iain Sandoe  <iain@codesourcery.com>
6181         PR target/65351
6182         * configure: Regenerate.
6184 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
6186         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
6188 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
6190         Implement call0 ABI for xtensa
6191         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6192         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
6193         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
6194         use ret in call0 ABI.
6195         * config/xtensa/t-windowed: New file.
6196         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
6197         * libgcc/configure: Regenerated.
6198         * libgcc/configure.ac: Check if xtensa target is configured for
6199         windowed ABI and thus needs to use custom unwind code.
6201 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
6203         PR libgcc/64885
6204         * gthr-single.h: Use __unused__ attribute instead of unused.
6205         * config/gthr-vxworks.h: Likewise.
6206         * config/i386/gthr-win32.h: Likewise.
6208 2015-02-27  Kai Tietz  <ktietz@redhat.com>
6210         PR target/65038
6211         * config.in: Regenerated.
6212         * configure: Likewise.
6213         * configure.ac (AC_HEADER_STDC): Added explicit.
6214         (AC_CHECK_HEADERS): Check for default headers  plus
6215         for ftw.h header.
6216         * libgcov-util.c (gcov_read_profile_dir): Disable use
6217         of ftw-function, if header is not found.
6218         (ftw_read_file): Likewise.
6220 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
6222         PR target/65181
6223         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
6224         -Dinhibit_libc.
6226 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
6228         * config/arm/bpabi.S (test_div_by_zero): Make label names
6229         consistent between thumb2 and arm mode cases.  Separate the
6230         signed comparison on the high word of the numerator from the
6231         unsigned comparison on the low word.
6232         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
6233         signed comparison.
6235 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6237         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
6238         and <string.h>.
6239         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
6241 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
6243         PR gcov-profile/61889
6244         * libgcov-driver-system.c: undefine clashing macro for mkdir.
6246 2015-02-02  Nick Clifton  <nickc@redhat.com>
6248         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
6249         rounding up the fraction.
6251 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
6253         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
6254         oldval and newval to const void *.  Fix typo.
6255         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
6256         (FETCH_AND_OP_WORD): Likewise.
6257         (OP_AND_FETCH_WORD): Likewise.
6258         (COMPARE_AND_SWAP_2): Likewise.
6259         (__sync_val_compare_and_swap_4): Likewise.
6260         (__sync_lock_test_and_set_4): Likewise.
6261         (SYNC_LOCK_RELEASE_2): Likewise.
6262         Remove support for long long atomic operations.
6264 2015-01-27  Caroline Tice  <cmtice@google.com>
6266         Committing VTV Cywin/Ming patch for Patrick Wollgast
6267         * Makefile.in: Move rules to build vtv_*.o out of the check
6268         for CUSTOM_CRTSTUFF.
6269         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
6270         i[34567]86-*-mingw*)
6271         (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
6272         enable_vtable_verify.
6274 2015-01-27  Nick Clifton  <nickc@redhat.com>
6276         * config/rl78/cmpsi2.S: Use function start and end macros.
6277         (__gcc_bcmp): New function.
6278         * config/rl78/lshrsi3.S: Use function start and end macros.
6279         * config/rl78/mulsi3.S: Add support for G10.
6280         (__mulqi3): New function for G10.
6281         * config/rl78/signbit.S: Use function start and end macros.
6282         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
6283         fpmath-sf.S.
6284         (LIB2FUNCS_EXCLUDE): Define.
6285         (LIB2FUNCS_ST): Define.
6286         * config/rl78/trampoline.S: Use function start and end macros.
6287         * config/rl78/vregs.h (START_FUNC): New macro.
6288         (START_ANOTHER_FUNC): New macro.
6289         (END_FUNC): New macro.
6290         (END_ANOTHER_FUNC): New macro.
6291         * config/rl78/bit-count.S: New file.  Contains assembler
6292         implementations of the bit counting functions: ___clzhi2,
6293         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
6294         __paritysi2, __popcounthi2 and __popcountsi2.
6295         * config/rl78/fpbit-sf.S: New file.  Contains assembler
6296         implementationas of the math functions: __negsf2, __cmpsf2,
6297         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
6298         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
6299         * config/rl78/fpmath-sf.S: New file.  Contains assembler
6300         implementations of the math functions: __subsf3, __addsf3,
6301         __mulsf3 and __divsf3
6303 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6305         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
6306         Add i386/elf-lib.h to tm_file.
6307         * config/i386/elf-lib.h: Fix comment.
6308         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
6309         && __sun__ && __svr4__]: Remove workaround.
6311 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
6313         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
6314         FEATURE_BMI2.
6315         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
6317 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
6319         * config/i386/cpuinfo.c (processor_subtypes): Add
6320         INTEL_COREI7_BROADWELL.
6321         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
6322         model numbers.
6324 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
6326         * config/i386/elf-lib.h: New file.
6327         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
6328         Wrap definition in #ifdef __i386__.
6329         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6330         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
6331         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
6332         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
6333         to tm_file.
6335 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
6337         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
6338         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
6340 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
6342         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
6343         Update rt_sigframe format and address for current Nios II
6344         Linux conventions.
6346 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
6348         * config.host (arm*-*-freebsd*): Add new configuration for
6349         arm*-*-freebsd*.
6350         * config/arm/freebsd-atomic.c: New file.
6351         * config/arm/t-freebsd: Likewise.
6352         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
6353         'PC-relative indirect' OS's.
6355 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
6357         * config.host: Add Visium support.
6358         * config/visium: New directory.
6360 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
6362         Update copyright years.
6364 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
6366         * config.host: Support mipsisa32r6 and mipsisa64r6.
6367         * config/mips/mips16.S: Do not build for R6.
6369 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
6371         * config/sh/crt.h: New.
6372         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
6373         symbols.
6374         * config/sh/crt1.S: Likewise.
6376 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
6378         PR libgcc/63832
6379         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
6380         func_ptr *dtor_list temporary variable to avoid "array subscript
6381         is above array bounds" warnings.
6383 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
6385         * Makefile.in (with_aix_soname): Define.
6386         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
6387         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
6388         * configure: Recreate.
6390 2014-12-05  Olivier Hainque  <hainque@adacore.com>
6392         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
6393         now provided by defaults.h.
6395 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
6397         PR target/55351
6398         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
6399         whether it's defined.
6401 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
6403         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
6404         * config/i386/cpuinfo.c (get_available_features): Detect it.
6406 2014-11-27  Tony Wang  <tony.wang@arm.com>
6408         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
6409         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
6410         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
6412 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
6414         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
6416 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
6418         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
6419         instead.
6421 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
6422             John David Anglin  <danglin@gcc.gnu.org>
6424         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
6425         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
6426         (OP_AND_FETCH_2): Likewise.
6427         (COMPARE_AND_SWAP_2): Likewise.
6428         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6429         (SYNC_LOCK_RELEASE_2): Likewise.
6430         (SUBWORD_SYNC_OP): Remove.
6431         (SUBWORD_VAL_CAS): Likewise.
6432         (SUBWORD_BOOL_CAS): Likewise.
6433         (FETCH_AND_OP_WORD): Update.
6434         Consistently use signed types.
6436 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
6437             Thomas Schwinge  <thomas@codesourcery.com>
6438             Ilya Verbin  <ilya.verbin@intel.com>
6439             Andrey Turetskiy  <andrey.turetskiy@intel.com>
6441         * Makefile.in (crtoffloadbegin$(objext)): New rule.
6442         (crtoffloadend$(objext)): Likewise.
6443         * configure: Regenerate.
6444         * configure.ac (accel_dir_suffix): Compute new variable.
6445         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
6446         if enable_offload_targets is not empty.
6447         * offloadstuff.c: New file.
6449 2014-11-13  Nick Clifton  <nickc@redhat.com>
6451         * config/rl78/divmodhi.S: Add support for the G10 architecture.
6452         Use START_FUNC and END_FUNC macros to enable linker garbage
6453         collection.
6454         * config/rl78/divmodqi.S: Likewise.
6455         * config/rl78/divmodsi.S: Likewise.
6456         * config/rl78/mulsi3.S: Likewise.
6457         * config/rl78/lib2div.c: Remove G10 functions.
6458         * config/rl78/lib2muls.c: Likewise.
6459         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
6460         * config/rl78/vregs.h (START_FUNC): New macro.
6461         (END_FUNC): New macro.
6463 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
6465         * config/mips/mips16.S: Set .module when supported.  Update O32
6466         FP64 calling convention and use for FPXX when possible.  Add FPXX
6467         calling convention fallback case.
6469 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
6471         * config.host: Handle nvptx-*-*.
6472         * shared-object.mk (as-flags-$o): Define.
6473         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
6474         -xassembler-with-cpp.
6475         * static-object.mk: Identical changes.
6476         * config/nvptx/t-nvptx: New file.
6477         * config/nvptx/crt0.s: New file.
6478         * config/nvptx/free.asm: New file.
6479         * config/nvptx/malloc.asm: New file.
6480         * config/nvptx/realloc.c: New file.
6482 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
6484         * Makefile.in (libgcc.map.in): New target.
6485         (libgcc.map): Use libgcc.map.in.
6486         * config/t-softfp (softfp_compat): New variable to be set by
6487         users.
6488         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
6489         variables.
6490         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
6491         directory.
6492         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
6493         that use compat symbols and disable all code unless [SHARED].
6494         * config/t-softfp-compat: New file.
6495         * find-symver.awk: New file.
6496         * configure.ac (--with-glibc-version): New configure option.
6497         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
6498         * configure: Regenerate.
6499         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
6500         soft-float and e500.
6502 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
6504         * config/t-hardfp (hardfp_exclusions): Document new variable for
6505         user to define.
6506         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
6507         * config/t-softfp (softfp_extras): Document new variable for user
6508         to define.
6509         (softfp_func_list): Add functions from $(softfp_extras).
6510         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
6511         * config.host (powerpc*-*-linux*): For e500v1, use
6512         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
6513         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
6514         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
6516 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
6518         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
6519         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
6520         memory read accesses are ok.
6522 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
6524         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
6525         * configure: Regenerate.
6526         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
6527         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
6528         of soft-fp for 32-bit classic hard float.  Do not use
6529         t-softfp-excl for soft float.
6531 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
6533         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
6534         configurations.
6535         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
6536         Remove variables.
6538 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
6540         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
6541         introduced with 2014-10-21 trunk r216525.
6543 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
6544             Vidya Praveen  <vidya.praveen@atmel.com>
6545             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
6546             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
6547             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
6549         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
6550         order.
6552         Updated library functions for AVRTINY arch.
6553         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
6554         Replaced occurrences of r0/r1 with tmp/zero reg macros.
6555         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
6556         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
6557         wsubi/wadi macors.
6558         (__mulsi3_helper): Update stack, preserve callee saved regs and
6559         argument from stack. Restore callee save registers.
6560         (__mulpsi3): Likewise.
6561         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
6562         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
6563         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
6564         AVRTINY.
6565         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
6566         (__do_copy_data): Added new definition for AVRTINY.
6567         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
6568         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
6569         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
6570         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
6571         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
6572         macors.
6573         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
6574         AVRTINY.
6576         Fix broken long multiplication on tiny arch.
6578 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
6580         * soft-fp/double.h: Update from glibc.
6581         * soft-fp/eqdf2.c: Likewise.
6582         * soft-fp/eqsf2.c: Likewise.
6583         * soft-fp/eqtf2.c: Likewise.
6584         * soft-fp/extenddftf2.c: Likewise.
6585         * soft-fp/extended.h: Likewise.
6586         * soft-fp/extendsfdf2.c: Likewise.
6587         * soft-fp/extendsftf2.c: Likewise.
6588         * soft-fp/extendxftf2.c: Likewise.
6589         * soft-fp/gedf2.c: Likewise.
6590         * soft-fp/gesf2.c: Likewise.
6591         * soft-fp/getf2.c: Likewise.
6592         * soft-fp/ledf2.c: Likewise.
6593         * soft-fp/lesf2.c: Likewise.
6594         * soft-fp/letf2.c: Likewise.
6595         * soft-fp/op-1.h: Likewise.
6596         * soft-fp/op-2.h: Likewise.
6597         * soft-fp/op-4.h: Likewise.
6598         * soft-fp/op-8.h: Likewise.
6599         * soft-fp/op-common.h: Likewise.
6600         * soft-fp/quad.h: Likewise.
6601         * soft-fp/single.h: Likewise.
6602         * soft-fp/soft-fp.h: Likewise.
6603         * soft-fp/unorddf2.c: Likewise.
6604         * soft-fp/unordsf2.c: Likewise.
6605         * soft-fp/unordtf2.c: Likewise.
6606         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
6607         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
6608         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
6609         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
6610         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
6611         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
6612         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
6613         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
6614         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
6615         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
6617 2014-10-08  Rong Xu  <xur@google.com>
6619         * libgcov-util.c (read_gcda_file): Fix format.
6620         (find_match_gcov_info): Ditto.
6621         (calculate_2_entries): New.
6622         (compute_one_gcov): Ditto.
6623         (gcov_info_count_all_cold): Ditto.
6624         (gcov_info_count_all_zero): Ditto.
6625         (extract_file_basename): Ditto.
6626         (get_file_basename): Ditto.
6627         (set_flag): Ditto.
6628         (matched_gcov_info): Ditto.
6629         (calculate_overlap): Ditto.
6630         (gcov_profile_overlap): Ditto.
6631         * libgcov-driver.c (compute_summary): Make
6632         it avavilable for external calls.
6634 2014-10-06  Rong Xu  <xur@google.com>
6636         * Makefile.in: Ditto.
6637         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
6638         (gcov_sort_icall_topn_counter): Ditto.
6639         (gcov_sort_topn_counter_arrays): Ditto.
6640         (dump_one_gcov): Sort indirect_call topn counters.
6641         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
6642         function.
6643         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
6644         utility function.
6645         (__gcov_indirect_call_topn_profiler): New profiler function.
6646         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
6647         * libgcov.h: New decls.
6649 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
6651         * config.host: Remove support for score-*.
6653 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
6655         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6656         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
6657         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
6658         __LIBGCC_XF_MANT_DIG__.
6659         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
6660         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
6661         __LIBGCC_TF_MANT_DIG__.
6662         * libgcc2.c (NOTRUNC): Define in terms of
6663         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
6664         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6666 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
6668         PR target/63312
6669         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
6670         New macros.
6672 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
6674         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
6675         override USE_PT_GNU_EH_FRAME.
6676         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
6677         check USE_EH_FRAME_REGISTRY_ALWAYS against
6678         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
6679         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
6680         variable for substituted force_explicit_eh_registry.
6681         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
6682         * configure.ac (explicit-exception-frame-registration):
6683         New AC_ARG_ENABLE.
6684         * configure: Regenerate.
6686 2014-09-19  Olivier Hainque  <hainque@adacore.com>
6688         * config.host (powerpc-wrs-vxworksmils): New configuration,
6689         same as vxworksae.
6691 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
6693         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
6695 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
6697         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
6698         bits not set bits as indicating trapping exceptions.
6700 2014-09-17  Nathan sidwell  <nathan@acm.org>
6702         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
6703         (LIBGCOV_DRIVER): ... here.
6704         * libgcov-driver.c (gcov_master): New.
6705         (gcov_exit): Remove from master chain.
6706         (__gcov_init): Add to master chain if version compatible.  Don't
6707         clear the version.
6708         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
6709         (gcov_reset_int): Clear master chain, if compatible.
6710         (gcov_dump_int): New internal interface.  Dump master chain, if
6711         compatible.
6712         (gcov_dump): Alias for gcov_dump_int.
6713         * libgcov.h (struct gcov_root): Add next and prev fields.
6714         (struct gcov_master): New struct.
6715         (__gcov_master): New.
6716         (gcov_dump_int): Declare.
6718 2014-09-17  Olivier Hainque  <hainque@adacore.com>
6720         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
6721         and crtbegin.o + crtend.o to extra_parts.
6723 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
6725         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
6726         __LIBGCC_HAS_SF_MODE__.
6727         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6728         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6729         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6730         * config/libbid/bid_gcc_intrinsics.h
6731         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6732         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6733         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6734         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6735         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
6736         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6738 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
6740         PR target/63223
6741         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
6742         and R24 as needed.  Make work for all devices and .text locations.
6743         (__do_global_ctors, __do_global_dtors): Use word addresses.
6744         (__tablejump__, __tablejump_elpm__): Remove functions.
6745         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
6746         Add _tablejump2.
6747         (XICALL, XIJMP): New macros.
6749 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6750         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
6752         * config.host (aarch64*): Include crtfastmath.o and
6753         t-crtfm.
6754         * config/aarch64/crtfastmath.c: New file.
6756 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
6758         * config.host: Remove picochip support.
6759         * config/picochip/adddi3.S: Remove.
6760         * config/picochip/ashlsi3.S: Remove.
6761         * config/picochip/ashlsi3.c: Remove.
6762         * config/picochip/ashrsi3.S: Remove.
6763         * config/picochip/ashrsi3.c: Remove.
6764         * config/picochip/clzsi2.S: Remove.
6765         * config/picochip/cmpsi2.S: Remove.
6766         * config/picochip/divmod15.S: Remove.
6767         * config/picochip/divmodhi4.S: Remove.
6768         * config/picochip/divmodsi4.S: Remove.
6769         * config/picochip/lib1funcs.S: Remove.
6770         * config/picochip/longjmp.S: Remove.
6771         * config/picochip/lshrsi3.S: Remove.
6772         * config/picochip/lshrsi3.c: Remove.
6773         * config/picochip/parityhi2.S: Remove.
6774         * config/picochip/popcounthi2.S: Remove.
6775         * config/picochip/setjmp.S: Remove.
6776         * config/picochip/subdi3.S: Remove.
6777         * config/picochip/t-picochip: Remove.
6778         * config/picochip/ucmpsi2.S: Remove.
6779         * config/picochip/udivmodhi4.S: Remove.
6780         * config/picochip/udivmodsi4.S: Remove.
6782 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
6784         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
6785         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
6786         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
6787         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
6788         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
6789         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
6790         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
6791         defined and LIBGCC2_HAS_DF_MODE is defined.
6792         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
6793         defined and LIBGCC2_HAS_XF_MODE is defined.
6794         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
6795         defined and LIBGCC2_HAS_TF_MODE is defined.
6797 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
6799         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
6800         and ROUND_TOWARDS_ZERO conditionals.
6802 2014-09-07  Nathan sidwell  <nathan@acm.org>
6804         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
6805         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
6807 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
6809         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
6810         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6811         uses to __LIBGCC_STACK_POINTER_REGNUM__.
6812         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6813         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6814         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6815         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6816         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
6817         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
6818         (DWARF_FRAME_REGISTERS): Change all uses to
6819         __LIBGCC_DWARF_FRAME_REGISTERS__.
6820         (EH_RETURN_STACKADJ_RTX): Change all uses to
6821         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6822         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
6823         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
6824         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
6825         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
6826         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
6827         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
6828         to __LIBGCC_EH_FRAME_SECTION_NAME__.
6829         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
6830         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
6831         __LIBGCC_STACK_POINTER_REGNUM__.
6832         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6833         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6834         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6835         to __LIBGCC_STACK_POINTER_REGNUM__.
6836         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6837         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6838         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6839         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6840         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6841         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6842         (STACK_POINTER_REGNUM): Change all uses to
6843         __LIBGCC_STACK_POINTER_REGNUM__.
6844         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
6845         use to __LIBGCC_STACK_POINTER_REGNUM__.
6846         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6847         uses to __LIBGCC_STACK_POINTER_REGNUM__.
6848         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
6849         to __LIBGCC_DWARF_FRAME_REGISTERS__.
6850         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
6851         to __LIBGCC_DWARF_FRAME_REGISTERS__.
6852         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6853         to __LIBGCC_STACK_POINTER_REGNUM__.
6854         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
6855         Remove conditional definition.
6856         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
6857         __LIBGCC_TEXT_SECTION_ASM_OP__.
6858         (EH_FRAME_SECTION_NAME): Change all uses to
6859         __LIBGCC_EH_FRAME_SECTION_NAME__.
6860         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
6861         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
6862         (CTORS_SECTION_ASM_OP): Change all uses to
6863         __LIBGCC_CTORS_SECTION_ASM_OP__.
6864         (DTORS_SECTION_ASM_OP): Change all uses to
6865         __LIBGCC_DTORS_SECTION_ASM_OP__.
6866         (JCR_SECTION_NAME): Change all uses to
6867         __LIBGCC_JCR_SECTION_NAME__.
6868         (INIT_SECTION_ASM_OP): Change all uses to
6869         __LIBGCC_INIT_SECTION_ASM_OP__.
6870         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6871         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6872         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
6873         __LIBGCC_STACK_GROWS_DOWNWARD__.
6874         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
6875         __LIBGCC_INIT_SECTION_ASM_OP__.
6876         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6877         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6878         (EH_FRAME_SECTION_NAME): Change all uses to
6879         __LIBGCC_EH_FRAME_SECTION_NAME__.
6880         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
6881         definitions.  Change all uses to
6882         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
6883         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
6884         __LIBGCC_STACK_GROWS_DOWNWARD__.
6885         (DWARF_FRAME_REGISTERS): Change all uses to
6886         __LIBGCC_DWARF_FRAME_REGISTERS__.
6887         (EH_RETURN_STACKADJ_RTX): Change all uses to
6888         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6889         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
6890         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
6891         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
6892         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
6893         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
6895 2014-09-02  Nathan sidwell  <nathan@acm.org>
6897         * libgcov-interface.c (STRONG_ALIAS): New.
6898         (__gcov_flush): Call __gcov_reset_int.
6899         (__gcov_reset): Strong alias for ...
6900         (__gcov_reset_ing): ... this renamed hidden version.
6901         * libgcov.h (__gcov_reset_int): New declaration.
6903 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
6905         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
6906         call from here...
6907         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
6908         (__dso_handle): Define on Cygwin.
6909         * config/i386/t-cygming (crtbeginS.o): New rule.
6910         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
6912         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
6913         declaration syntax.
6915 2014-08-13  Steve Ellcey  <sellcey@mips.com>
6917         * crtstuff.c: Undef caddr_t.
6919 2014-08-12  Steve Ellcey  <sellcey@mips.com>
6921         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
6923 2014-08-07  Nathan Sidwell  <nathan@acm.org>
6925         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
6926         (LIBGCOV_DRIVER): ... to here.
6927         * libgcov.h (gcov_do_dump): New #define.
6928         (struct gcov_root): New.
6929         (__gcov_root): New declaration.
6930         (__gcov_dump_one): Declare.
6931         * libgcov-driver.c (gcov_list, gcov_dump_complete,
6932         run_accounted): Delete.
6933         (gcov_compute_histogram): Add LIST argument, adjust.
6934         (compute_summary): Adjust gcov_compute_histogram call.
6935         (gcov_do_dump): Not hidden, static in libgcov.
6936         (gcov_clear): Move  to interface.c.
6937         (__gcov_dump_one): New, broken out of ...
6938         (gcov_exit): ... here.  Make static.
6939         (__gcov_root): New.
6940         (__gcov_init): Adjust.
6941         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
6942         declarations.
6943         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
6944         (gcov_clear): Moved from driver.c.   Add LIST argument.
6945         (__gcov_reset): Adjust for changed interfaces.
6946         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
6948 2014-08-04  Rohit  <rohitarulraj@freescale.com>
6950         PR target/60102
6951         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
6952         based on change in SPE high register numbers and 3 HTM registers.
6954 2014-08-01  Nathan Sidwell  <nathan@acm.org>
6956         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
6957         LIBGCOV_INTERFACE): Reformat.
6958         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
6959         IN_GCOV_TOOL.
6960         * libgcov-interface.c: Reformat some comments.
6961         (__gcov_flush_mx): Add declaration.  Tidy up definition.
6963 2014-07-31  Alan Modra  <amodra@gmail.com>
6964             Peter Bergner  <bergner@vnet.ibm.com>
6966         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
6967         (pack_ldouble): New function.
6968         (__gcc_qadd): Use it.
6969         (__gcc_qmul): Likewise.
6970         (__gcc_qdiv): Likewise.
6971         (__gcc_qneg): Likewise.
6972         (__gcc_stoq): Likewise.
6973         (__gcc_dtoq): Likewise.
6975 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
6977         * config/s390/tpf-unwind.h: Include <stdbool.h>.
6978         (__tpf_eh_return): Add original return address as second parameter.
6979         Handle cases where unwinder routines were called directly, instead
6980         of from within the C++ library.
6982 2014-07-29  Nathan Sidwell  <nathan@acm.org>
6984         * libgcov.h: Move renaming of entry points to lib gcov specific
6985         portion.
6986         (gcov_do_dump): New rename.
6987         (gcov_rewrite): Remove inline, make HIDDEN.
6988         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
6989         (gcov_exit_compute_summary): Rename to ...
6990         (compute_summary): ... here.  Add LIST argument.
6991         (gcov_exit_merge_gcda): Rename to ...
6992         (merge_one_data): ... here.
6993         (gcov_exit_write_gcda): Rename to ...
6994         (write_one_data): ... here.
6995         (gcov_exit_merge_summary): Rename to ...
6996         (merge_summary): Add RUN_COUNTED argument.
6997         (gcov_exit_dump_gcov): Rename to ...
6998         (dump_one_gcov): Add RUN_COUNTED argument.
6999         (gcov_do_dump): New function, broken out of ...
7000         (gcov_exit): ... here.  Call it.
7002 2014-07-27  Anthony Green  <green@moxielogic.com>
7004         * config.host: Add moxiebox configuration suppport.
7006 2014-07-27  Nathan Sidwell  <nathan@acm.org>
7008         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
7009         (struct gcov_filename): ... here.  Include buffer and max length
7010         fields.
7011         (gcov_max_filename): Remove.
7012         (gi_filename): Remove.
7013         (gcov_exit_compute_summary): Compute max filename here.
7014         (gcov_exit_merge_gcda): Add filename parm, adjust.
7015         (gcov_exit_merge_summary): Likewise.
7016         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
7017         (gcov_exit): Likewise.
7018         (__gcov_init): Don't calculate max length here.
7019         * libgcov_util.c (max_filename_len): Remove.
7020         (read_gcda_file): Don't calculate max length here.
7021         (gcov_read_profile_dir): Don't propagate here.
7022         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
7023         struct gcov_filename changes.
7024         (gcov_exit_open_gcda_file): Likewise.
7026 2014-07-25  Nathan Sidwell  <nathan@acm.org>
7028         * libgcov-driver.c (set_gcov_dump_complete,
7029         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
7030         functions polluting user's namespace.
7031         (gcov_exit): Set variable directly.
7032         (gcov_clear): Reset variable directly.
7033         * libgcov-interface.c (get_gcov_dymp_complete,
7034         reset_gov_dump_complete): Remove declarations.
7035         (__gcov_reset, __gcov_dump): Don't call them.
7037 2014-07-24  DJ Delorie  <dj@redhat.com>
7039         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
7040         (__gcc_deregister_frame): Move logic to detect deregister function
7041         to ...
7042         (__gcc_register_frame): here, so it's consistent with the register
7043         logic.
7045 2014-07-23  Nathan Sidwell  <nathan@acm.org>
7047         * libgcov-driver.c (set_gcov_list): Remove.
7048         (gcov_list): Make non-static in GCOV_TOOL.
7049         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
7051 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
7053         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
7054         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
7055         Don't use SYNC_LOCK_RELEASE for int type.
7057 2014-07-14  Richard Biener  <rguenther@suse.de>
7059         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
7061 2014-07-11  Rong Xu  <xur@google.com>
7063         * libgcov-util.c (gcov_max_filename): Fix declartion.
7065 2014-07-10  Rong Xu  <xur@google.com>
7067         Add gcov-tool: an offline gcda profile processing tool
7068         Support.
7069         * libgcov-driver.c (gcov_max_filename): Make available
7070         to gcov-tool.
7071         * libgcov-merge.c (__gcov_merge_add): Replace
7072         gcov_read_counter() with a Macro.
7073         (__gcov_merge_ior): Ditto.
7074         (__gcov_merge_time_profile): Ditto.
7075         (__gcov_merge_single): Ditto.
7076         (__gcov_merge_delta): Ditto.
7077         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
7078         in the utility functions.
7079         (set_fn_ctrs): Utility function for reading gcda files to in-memory
7080         gcov_list object link lists.
7081         (tag_function): Ditto.
7082         (tag_blocks): Ditto.
7083         (tag_arcs): Ditto.
7084         (tag_lines): Ditto.
7085         (tag_counters): Ditto.
7086         (tag_summary): Ditto.
7087         (read_gcda_finalize): Ditto.
7088         (read_gcda_file): Ditto.
7089         (ftw_read_file): Ditto.
7090         (read_profile_dir_init): Ditto.
7091         (gcov_read_profile_dir): Ditto.
7092         (gcov_read_counter_mem): Ditto.
7093         (gcov_get_merge_weight): Ditto.
7094         (merge_wrapper): A wrapper function that calls merging handler.
7095         (gcov_merge): Merge two gcov_info objects with weights.
7096         (find_match_gcov_info): Find the matched gcov_info in the list.
7097         (gcov_profile_merge): Merge two gcov_info object lists.
7098         (__gcov_add_counter_op): Process edge profile counter values.
7099         (__gcov_ior_counter_op): Process IOR profile counter values.
7100         (__gcov_delta_counter_op): Process delta profile counter values.
7101         (__gcov_single_counter_op): Process single  profile counter values.
7102         (fp_scale): Callback function for float-point scaling.
7103         (int_scale): Callback function for integer fraction scaling.
7104         (gcov_profile_scale): Scaling profile counters.
7105         (gcov_profile_normalize): Normalize profile counters.
7106         * libgcov.h: Add headers and functions for gcov-tool use.
7107         (gcov_get_counter): New.
7108         (gcov_get_counter_target): Ditto.
7109         (struct gcov_info): Make the functions field mutable in gcov-tool
7110         compilation.
7112 2014-06-23  Kai Tietz  <ktietz@redhat.com>
7114         PR libgcc/61585
7115         * unwind-seh.c (_Unwind_GetGR): Check for proper
7116         index range.
7117         (_Unwind_SetGR): Likewise.
7119 2014-05-22  Nick Clifton  <nickc@redhat.com>
7121         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
7122         -mhwmult=none.
7124 2014-05-22  Teresa Johnson  <tejohnson@google.com>
7126         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
7127         include.
7129 2014-05-20  John Marino  <gnugcc@marino.st>
7131         * config.host (*-*-dragonfly*): New target.
7132         * crtstuff.c: Make dl_iterate_support generic on *bsd.
7133         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
7134         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
7135         * config/i386/dragonfly-unwind.h: New.
7137 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
7139         PR libgcc/60166
7140         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
7141         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
7143 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
7145         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
7146         implementation.
7148 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
7150         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
7152 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7154         PR libgcc/61097
7155         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
7156         if --enable-shared.
7158 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
7160         Work around for current cygwin32 build problems.
7161         * config/i386/cygming-crtbegin.c (__register_frame_info,
7162         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
7163         functions only for 64-bit systems.
7165 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7167         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
7168         (sigill_caught, sigill_hdlr): Remove.
7170 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7172         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
7173         check.
7174         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7175         Solaris 9 single-threaded support.
7176         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7177         Solaris 9 single-threaded support.  Add call_user_handler code
7178         sequences.
7179         (sparc_is_sighandler): Likewise.
7181 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7183         * config.host: Append t-floattodi to tmake_file depending on
7184         host_address.
7186 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
7188         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
7190 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
7192         PR libgcc/60472
7193         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
7194         variable to avoid "array subscript is above array bounds" warnings.
7195         Use __builtin_expect when checking *jcr_list for NULL.
7197 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7199         PR libgcc/59339
7200         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
7201         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
7202         vtv_*.o to extra_parts if enable_vtable_verify.
7204 2014-03-06  Nick Clifton  <nickc@redhat.com>
7206         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
7207         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
7209 2014-02-28  Joey Ye  <joey.ye@arm.com>
7211         PR libgcc/60166
7212         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
7213         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
7214         Set to zero.
7216 2014-02-24  Walter Lee  <walt@tilera.com>
7218         * config.host: Support "tilegx*" and "tilepro*" triplets.
7219         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
7220         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
7222 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
7223             Chung-Lin Tang  <cltang@codesourcery.com>
7225         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
7226         * config/nios2/crti.S: Remove .file directive.
7227         * config/nios2/crtn.S: Likewise.
7229 2014-02-18  Kai Tietz  <ktietz@redhat.com>
7230         Jonathan Schleifer  <js@webkeks.org>
7232         PR objc/56870
7233         * unwind-seh.c (_GCC_specific_handler): Pass proper
7234         value to unwind-handler.
7236 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
7238         * soft-fp/adddf3.c: Update from glibc.
7239         * soft-fp/addsf3.c: Likewise.
7240         * soft-fp/addtf3.c: Likewise.
7241         * soft-fp/divdf3.c: Likewise.
7242         * soft-fp/divsf3.c: Likewise.
7243         * soft-fp/divtf3.c: Likewise.
7244         * soft-fp/double.h: Likewise.
7245         * soft-fp/eqdf2.c: Likewise.
7246         * soft-fp/eqsf2.c: Likewise.
7247         * soft-fp/eqtf2.c: Likewise.
7248         * soft-fp/extenddftf2.c: Likewise.
7249         * soft-fp/extended.h: Likewise.
7250         * soft-fp/extendsfdf2.c: Likewise.
7251         * soft-fp/extendsftf2.c: Likewise.
7252         * soft-fp/extendxftf2.c: Likewise.
7253         * soft-fp/fixdfdi.c: Likewise.
7254         * soft-fp/fixdfsi.c: Likewise.
7255         * soft-fp/fixdfti.c: Likewise.
7256         * soft-fp/fixsfdi.c: Likewise.
7257         * soft-fp/fixsfsi.c: Likewise.
7258         * soft-fp/fixsfti.c: Likewise.
7259         * soft-fp/fixtfdi.c: Likewise.
7260         * soft-fp/fixtfsi.c: Likewise.
7261         * soft-fp/fixtfti.c: Likewise.
7262         * soft-fp/fixunsdfdi.c: Likewise.
7263         * soft-fp/fixunsdfsi.c: Likewise.
7264         * soft-fp/fixunsdfti.c: Likewise.
7265         * soft-fp/fixunssfdi.c: Likewise.
7266         * soft-fp/fixunssfsi.c: Likewise.
7267         * soft-fp/fixunssfti.c: Likewise.
7268         * soft-fp/fixunstfdi.c: Likewise.
7269         * soft-fp/fixunstfsi.c: Likewise.
7270         * soft-fp/fixunstfti.c: Likewise.
7271         * soft-fp/floatdidf.c: Likewise.
7272         * soft-fp/floatdisf.c: Likewise.
7273         * soft-fp/floatditf.c: Likewise.
7274         * soft-fp/floatsidf.c: Likewise.
7275         * soft-fp/floatsisf.c: Likewise.
7276         * soft-fp/floatsitf.c: Likewise.
7277         * soft-fp/floattidf.c: Likewise.
7278         * soft-fp/floattisf.c: Likewise.
7279         * soft-fp/floattitf.c: Likewise.
7280         * soft-fp/floatundidf.c: Likewise.
7281         * soft-fp/floatundisf.c: Likewise.
7282         * soft-fp/floatunditf.c: Likewise.
7283         * soft-fp/floatunsidf.c: Likewise.
7284         * soft-fp/floatunsisf.c: Likewise.
7285         * soft-fp/floatunsitf.c: Likewise.
7286         * soft-fp/floatuntidf.c: Likewise.
7287         * soft-fp/floatuntisf.c: Likewise.
7288         * soft-fp/floatuntitf.c: Likewise.
7289         * soft-fp/gedf2.c: Likewise.
7290         * soft-fp/gesf2.c: Likewise.
7291         * soft-fp/getf2.c: Likewise.
7292         * soft-fp/ledf2.c: Likewise.
7293         * soft-fp/lesf2.c: Likewise.
7294         * soft-fp/letf2.c: Likewise.
7295         * soft-fp/muldf3.c: Likewise.
7296         * soft-fp/mulsf3.c: Likewise.
7297         * soft-fp/multf3.c: Likewise.
7298         * soft-fp/negdf2.c: Likewise.
7299         * soft-fp/negsf2.c: Likewise.
7300         * soft-fp/negtf2.c: Likewise.
7301         * soft-fp/op-1.h: Likewise.
7302         * soft-fp/op-2.h: Likewise.
7303         * soft-fp/op-4.h: Likewise.
7304         * soft-fp/op-8.h: Likewise.
7305         * soft-fp/op-common.h: Likewise.
7306         * soft-fp/quad.h: Likewise.
7307         * soft-fp/single.h: Likewise.
7308         * soft-fp/soft-fp.h: Likewise.
7309         * soft-fp/subdf3.c: Likewise.
7310         * soft-fp/subsf3.c: Likewise.
7311         * soft-fp/subtf3.c: Likewise.
7312         * soft-fp/truncdfsf2.c: Likewise.
7313         * soft-fp/trunctfdf2.c: Likewise.
7314         * soft-fp/trunctfsf2.c: Likewise.
7315         * soft-fp/trunctfxf2.c: Likewise.
7316         * soft-fp/unorddf2.c: Likewise.
7317         * soft-fp/unordsf2.c: Likewise.
7318         * soft-fp/unordtf2.c: Likewise.
7319         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
7320         macro.
7321         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7322         Likewise.
7323         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7324         Likewise.
7325         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7326         Likewise.
7327         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7328         Likewise.
7329         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7330         Likewise.
7331         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7332         Likewise.
7333         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7334         Likewise.
7335         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7336         Likewise.
7337         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7338         Likewise.
7339         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7340         Likewise.
7341         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7342         Likewise.
7343         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7344         Likewise.
7345         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
7346         Likewise.
7347         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
7348         Likewise.
7349         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7350         Likewise.
7352 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7354         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
7355         cannot be represented.
7356         * config/s390/32/_fixsfdi.c: Likewise.
7357         * config/s390/32/_fixtfdi.c: Likewise.
7358         * config/s390/32/_fixunsdfdi.c: Likewise.
7359         * config/s390/32/_fixunssfdi.c: Likewise.
7360         * config/s390/32/_fixunstfdi.c: Likewise.
7362 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
7364         * configure.ac (libgcc_cv_mips_hard_float): New.
7365         * configure: Regenerate.
7366         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
7367         t-softfp-sfdf for hard-float targets.
7368         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
7369         (softfp_float_modes, softfp_int_modes, softfp_extensions)
7370         (softfp_truncations, softfp_exclude_libgcc2): New.
7371         * config/t-hardfp: New file.
7372         * config/t-hardfp-sfdf: Likewise.
7373         * config/hardfp.c: Likewise.
7375 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7377         * config.host: Include t-floattodi also for s390x.
7378         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
7379         * config/s390/32/_fixsfdi.c: Likewise.
7380         * config/s390/32/_fixtfdi.c: Likewise.
7381         * config/s390/32/_fixunsdfdi.c: Likewise.
7382         * config/s390/32/_fixunssfdi.c: Likewise.
7383         * config/s390/32/_fixunstfdi.c: Likewise.
7385 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7387         PR target/59788
7388         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
7389         (install-libgcc-unwind-map-forbuild): New target.
7390         (all): Depend on install-libgcc-unwind-map-forbuild.
7391         (install-libgcc-unwind-map): New target.
7392         (install): Depend on install-libgcc-unwind-map.
7394 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
7396         * config/nios2/crti.S (_init): Initialize GOT pointer from
7397         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
7399 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
7401         * configure.ac: Check __mips64 when setting host_address.
7402         * configure: Regenerate.
7403         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
7404         mips/t-mips64 and t-softfp.
7405         (mips*-*-linux*): Don't add mips/t-tpbit.
7406         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
7407         (DPBIT, DPBIT_CFLAGS): Delete.
7408         * config/mips/sfp-machine.h: New file.
7409         * config/mips/t-mips64: Likewise.
7410         * config/mips/t-softfp-tf: Likewise.
7411         * config/mips/t-tpbit: Delete.
7413 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7415         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
7416         as long long.
7418 2014-01-25  Walter Lee  <walt@tilera.com>
7420         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
7421         config.h or system.h.
7422         (bool) Define.
7424 2014-01-25  Walter Lee  <walt@tilera.com>
7426         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
7427         (post_atomic_barrier): Ditto.
7428         (__fetch_and_do): New macro.
7429         (__atomic_fetch_and_do): Use __fetch_and_do.
7430         (__sync_fetch_and_do): New macro.
7431         (__sync_fetch_and_add_4): New function.
7432         (__sync_fetch_and_sub_4): New function.
7433         (__sync_fetch_and_or_4): New function.
7434         (__sync_fetch_and_and_4): New function.
7435         (__sync_fetch_and_xor_4): New function.
7436         (__sync_fetch_and_nand_4): New function.
7437         (__sync_fetch_and_add_8): New function.
7438         (__sync_fetch_and_sub_8): New function.
7439         (__sync_fetch_and_or_8): New function.
7440         (__sync_fetch_and_and_8): New function.
7441         (__sync_fetch_and_xor_8): New function.
7442         (__sync_fetch_and_nand_8): New function.
7443         (__do_and_fetch): New macro.
7444         (__atomic_do_and_fetch): Use __do_and_fetch.
7445         (__sync_do_and_fetch): New macro.
7446         (__sync_add_and_fetch_4): New function.
7447         (__sync_sub_and_fetch_4): New function.
7448         (__sync_or_and_fetch_4): New function.
7449         (__sync_and_and_fetch_4): New function.
7450         (__sync_xor_and_fetch_4): New function.
7451         (__sync_nand_and_fetch_4): New function.
7452         (__sync_add_and_fetch_8): New function.
7453         (__sync_sub_and_fetch_8): New function.
7454         (__sync_or_and_fetch_8): New function.
7455         (__sync_and_and_fetch_8): New function.
7456         (__sync_xor_and_fetch_8): New function.
7457         (__sync_nand_and_fetch_8): New function.
7458         (__sync_exchange_methods): New macro.
7459         (__sync_val_compare_and_swap_4): New function.
7460         (__sync_bool_compare_and_swap_4): New function.
7461         (__sync_lock_test_and_test_4): New function.
7462         (__sync_val_compare_and_swap_8): New function.
7463         (__sync_bool_compare_and_swap_8): New function.
7464         (__sync_lock_test_and_test_8): New function.
7465         (__subword_cmpxchg_body): New macro.
7466         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
7467         (__atomic_compare_exchange_2): Ditto.
7468         (__sync_subword_cmpxchg): New macro.
7469         (__sync_val_compare_and_swap_1): New function.
7470         (__sync_bool_compare_and_swap_1): New function.
7471         (__sync_val_compare_and_swap_2): New function.
7472         (__sync_bool_compare_and_swap_2): New function.
7473         (__atomic_subword): Rename to ...
7474         (__subword): ... New name.
7475         (__atomic_subword_fetch): Use __subword.
7476         (__sync_subword_fetch): New macro.
7477         (__sync_fetch_and_add_1): New function.
7478         (__sync_fetch_and_sub_1): New function.
7479         (__sync_fetch_and_or_1): New function.
7480         (__sync_fetch_and_and_1): New function.
7481         (__sync_fetch_and_xor_1): New function.
7482         (__sync_fetch_and_nand_1): New function.
7483         (__sync_fetch_and_add_2): New function.
7484         (__sync_fetch_and_sub_2): New function.
7485         (__sync_fetch_and_or_2): New function.
7486         (__sync_fetch_and_and_2): New function.
7487         (__sync_fetch_and_xor_2): New function.
7488         (__sync_fetch_and_nand_2): New function.
7489         (__sync_add_and_fetch_1): New function.
7490         (__sync_sub_and_fetch_1): New function.
7491         (__sync_or_and_fetch_1): New function.
7492         (__sync_and_and_fetch_1): New function.
7493         (__sync_xor_and_fetch_1): New function.
7494         (__sync_nand_and_fetch_1): New function.
7495         (__sync_add_and_fetch_2): New function.
7496         (__sync_sub_and_fetch_2): New function.
7497         (__sync_or_and_fetch_2): New function.
7498         (__sync_and_and_fetch_2): New function.
7499         (__sync_xor_and_fetch_2): New function.
7500         (__sync_nand_and_fetch_2): New function.
7501         (__atomic_subword_lock): Use __subword.
7502         (__sync_subword_lock): New macro.
7503         (__sync_lock_test_and_set_1): New function.
7504         (__sync_lock_test_and_set_2): New function.
7506 2014-01-25  Walter Lee  <walt@tilera.com>
7508         * config/tilepro/atomic.c (BIT_OFFSET): Define.
7509         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
7510         (__atomic_subword): Ditto.
7512 2014-01-25  Walter Lee  <walt@tilera.com>
7514         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
7515         a prefix op argument.
7516         (__atomic_nand_fetch_4): Add prefix op.
7517         (__atomic_nand_fetch_8): Ditto.
7519 2014-01-21  Baruch Siach  <barch@tkos.co.il>
7521         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
7523 2014-01-09  Rong Xu  <xur@google.com>
7525         * libgcov-driver.c (this_prg): make it local to save
7526         bss space.
7527         (gcov_exit_compute_summary): Ditto.
7528         (gcov_exit_merge_gcda): Ditto.
7529         (gcov_exit_merge_summary): Ditto.
7530         (gcov_exit_dump_gcov): Ditto.
7532 2014-01-08  Rong Xu  <xur@google.com>
7534         * libgcov-driver.c: Use libgcov.h.
7535         (buffer_fn_data): Use xmalloc instead of malloc.
7536         (gcov_exit_merge_gcda): Ditto.
7537         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
7538         * libgcov.h: New common header files for libgcov-*.h.
7539         * libgcov-interface.c: Use libgcov.h
7540         * libgcov-merge.c: Ditto.
7541         * libgcov-profiler.c: Ditto.
7542         * Makefile.in: Add dependence to libgcov.h
7544 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
7546         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
7547         case of small numerator and finite nonzero result.
7549 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
7551         Update copyright years
7553 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
7555         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
7556         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
7557         config/arc/dp-hack.h, config/arc/fp-hack.h,
7558         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
7559         config/arc/ieee-754/arc600-dsp/divdf3.S,
7560         config/arc/ieee-754/arc600-dsp/divsf3.S,
7561         config/arc/ieee-754/arc600-dsp/muldf3.S,
7562         config/arc/ieee-754/arc600-dsp/mulsf3.S,
7563         config/arc/ieee-754/arc600-mul64/divdf3.S,
7564         config/arc/ieee-754/arc600-mul64/divsf3.S,
7565         config/arc/ieee-754/arc600-mul64/muldf3.S,
7566         config/arc/ieee-754/arc600-mul64/mulsf3.S,
7567         config/arc/ieee-754/arc600/divsf3.S,
7568         config/arc/ieee-754/arc600/mulsf3.S,
7569         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
7570         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
7571         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
7572         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
7573         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
7574         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
7575         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
7576         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
7577         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
7578         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
7579         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
7580         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
7581         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
7582         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
7583         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
7584         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
7585         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
7586         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
7587         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
7588         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
7589         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
7590         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
7591         vtv_start_preinit.c: Use the standard form for the copyright notice.
7593 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
7594             Chung-Lin Tang  <cltang@codesourcery.com>
7595         Based on patches from Altera Corporation
7597         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
7598         * config/nios2/lib2-nios2.h: New file.
7599         * config/nios2/lib2-divmod-hi.c: New file.
7600         * config/nios2/linux-unwind.h: New file.
7601         * config/nios2/lib2-divmod.c: New file.
7602         * config/nios2/linux-atomic.c: New file.
7603         * config/nios2/t-nios2: New file.
7604         * config/nios2/crti.asm: New file.
7605         * config/nios2/t-linux: New file.
7606         * config/nios2/lib2-divtable.c: New file.
7607         * config/nios2/lib2-mul.c: New file.
7608         * config/nios2/tramp.c: New file.
7609         * config/nios2/crtn.asm: New file.
7611 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
7613         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
7614         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
7615         from cpuid.h to check vendor signatures.
7617 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
7619         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
7620         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
7621         (get_amd_cpu): Likewise.
7623 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
7625         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
7626         Haswell.
7628 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
7629             H.J. Lu  <hongjiu.lu@intel.com>
7631         PR target/59422
7632         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
7633         and AMD_JAGUAR.
7634         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
7635         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
7636         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
7637         FEATURE_XOP and FEATURE_FMA.
7638         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
7639         AMDFAM15H_BDVER3.
7640         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
7641         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
7642         FEATURE_FMA4 and FEATURE_XOP.
7644 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
7646         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
7647         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
7648         (get_intel_cpu): Updated.
7650 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
7652         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
7654 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
7656         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7657         instructions when __SSE_MATH__ is defined.
7659 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
7661         * config.host (microblaze-*-rtems*): New.
7663 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
7665         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
7666         architectures that do not have hardware divide instruction.
7667         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
7669 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
7671         * longlong.h: Delete (moved to include/).
7673 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7675         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
7676         of normal number and qNaN to not raise an inexact exception.
7678 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
7680         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
7682 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
7684         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
7685         for correct opcodes on BE.
7687 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
7689         * soft-fp/op-4.h: Update from glibc.
7691 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
7693         * libgcc2.c (__udivmoddi4): Define new implementation when
7694         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
7695         divide instructions.
7697 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
7699         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
7701 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7703         * config/t-softfp (soft-fp-objects-base): New variable.
7704         (soft-fp-objects): Use it.
7706 2013-11-23  David Edelson  <dje.gcc@gmail.com>
7707             Andrew Dixie  <andrewd@gentrack.com>
7709         PR target/33704
7710         * config/rs6000/aixinitfini.c: New file.
7711         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
7712         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
7713         symbols.
7715 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
7717         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
7719 2013-11-18  Jan Hubicka  <jh@suse.cz>
7721         * libgcov-driver.c (run_accounted): Make global level static.
7722         (gcov_exit_merge_summary): Silence warning; do not clear
7723         run_accounted here.
7724         (gcov_exit): Clear it here.
7726         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
7727         run_accounted.
7729         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
7730         (all_prg, crc32): Remove static vars.
7731         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
7732         all_prg.
7733         (gcov_exit_merge_gcda): Add crc32 parameter.
7734         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
7735         do not account run if it was already accounted.
7736         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
7737         (gcov_exit): Initialize all_prg; update.
7739 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
7741         * configure: Regenerate.
7743 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7744             Alan Modra  <amodra@gmail.com>
7746         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
7747         (frob_update_context): Use it.
7749 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7750             Alan Modra  <amodra@gmail.com>
7752         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
7753         (trampoline_initial): Provide ELFv2 variant.
7754         (__trampoline_setup): Likewise.
7756         * config/rs6000/linux-unwind.h (frob_update_context): Do not
7757         check for AIX indirect function call sequence if _CALL_ELF == 2.
7759 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7760             Alan Modra  <amodra@gmail.com>
7762         * config/rs6000/linux-unwind.h (get_regs): Do not support
7763         old kernel versions if _CALL_ELF == 2.
7764         (frob_update_context): Do not support PLT stub variants only
7765         generated by old linkers if _CALL_ELF == 2.
7767 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7768             Alan Modra  <amodra@gmail.com>
7770         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
7771         location of CR save area for 64-bit little-endian systems.
7773 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
7775         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
7776         in tmake_file.
7777         * config/arm/t-vxworks: Delete.
7779 2013-11-10  Kai Tietz  <ktietz@redhat.com>
7781         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
7782         Increment load-count on use of LIBGCC_SONAME DLL.
7783         (hmod_libgcc): New static variable to hold handle of
7784         LIBGCC_SONAME DLL.
7785         (__gcc_deregister_frame): Decrement load-count of
7786         LIBGCC_SONAME DLL.
7788 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
7790         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
7791         availability.
7792         * configure: Regenerate
7794 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
7796         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
7797         FP_EX_DENORM.  Store result to volatile location after SSE division
7798         to close interrupt window.  Remove unneeded fwait after x87
7799         division since interrupt window will be closed by emitted fstp.
7800         Rewrite FP_EX_INEXACT handling.
7802 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
7804         * soft-fp/README: Update.
7805         * soft-fp/adddf3.c: Update from glibc.
7806         * soft-fp/addsf3.c: Likewise.
7807         * soft-fp/addtf3.c: Likewise.
7808         * soft-fp/divdf3.c: Likewise.
7809         * soft-fp/divsf3.c: Likewise.
7810         * soft-fp/divtf3.c: Likewise.
7811         * soft-fp/double.h: Likewise.
7812         * soft-fp/eqdf2.c: Likewise.
7813         * soft-fp/eqsf2.c: Likewise.
7814         * soft-fp/eqtf2.c: Likewise.
7815         * soft-fp/extenddftf2.c: Likewise.
7816         * soft-fp/extended.h: Likewise.
7817         * soft-fp/extendsfdf2.c: Likewise.
7818         * soft-fp/extendsftf2.c: Likewise.
7819         * soft-fp/extendxftf2.c: Likewise.
7820         * soft-fp/fixdfdi.c: Likewise.
7821         * soft-fp/fixdfsi.c: Likewise.
7822         * soft-fp/fixdfti.c: Likewise.
7823         * soft-fp/fixsfdi.c: Likewise.
7824         * soft-fp/fixsfsi.c: Likewise.
7825         * soft-fp/fixsfti.c: Likewise.
7826         * soft-fp/fixtfdi.c: Likewise.
7827         * soft-fp/fixtfsi.c: Likewise.
7828         * soft-fp/fixtfti.c: Likewise.
7829         * soft-fp/fixunsdfdi.c: Likewise.
7830         * soft-fp/fixunsdfsi.c: Likewise.
7831         * soft-fp/fixunsdfti.c: Likewise.
7832         * soft-fp/fixunssfdi.c: Likewise.
7833         * soft-fp/fixunssfsi.c: Likewise.
7834         * soft-fp/fixunssfti.c: Likewise.
7835         * soft-fp/fixunstfdi.c: Likewise.
7836         * soft-fp/fixunstfsi.c: Likewise.
7837         * soft-fp/fixunstfti.c: Likewise.
7838         * soft-fp/floatdidf.c: Likewise.
7839         * soft-fp/floatdisf.c: Likewise.
7840         * soft-fp/floatditf.c: Likewise.
7841         * soft-fp/floatsidf.c: Likewise.
7842         * soft-fp/floatsisf.c: Likewise.
7843         * soft-fp/floatsitf.c: Likewise.
7844         * soft-fp/floattidf.c: Likewise.
7845         * soft-fp/floattisf.c: Likewise.
7846         * soft-fp/floattitf.c: Likewise.
7847         * soft-fp/floatundidf.c: Likewise.
7848         * soft-fp/floatundisf.c: Likewise.
7849         * soft-fp/floatunditf.c: Likewise.
7850         * soft-fp/floatunsidf.c: Likewise.
7851         * soft-fp/floatunsisf.c: Likewise.
7852         * soft-fp/floatunsitf.c: Likewise.
7853         * soft-fp/floatuntidf.c: Likewise.
7854         * soft-fp/floatuntisf.c: Likewise.
7855         * soft-fp/floatuntitf.c: Likewise.
7856         * soft-fp/gedf2.c: Likewise.
7857         * soft-fp/gesf2.c: Likewise.
7858         * soft-fp/getf2.c: Likewise.
7859         * soft-fp/ledf2.c: Likewise.
7860         * soft-fp/lesf2.c: Likewise.
7861         * soft-fp/letf2.c: Likewise.
7862         * soft-fp/muldf3.c: Likewise.
7863         * soft-fp/mulsf3.c: Likewise.
7864         * soft-fp/multf3.c: Likewise.
7865         * soft-fp/negdf2.c: Likewise.
7866         * soft-fp/negsf2.c: Likewise.
7867         * soft-fp/negtf2.c: Likewise.
7868         * soft-fp/op-1.h: Likewise.
7869         * soft-fp/op-2.h: Likewise.
7870         * soft-fp/op-4.h: Likewise.
7871         * soft-fp/op-8.h: Likewise.
7872         * soft-fp/op-common.h: Likewise.
7873         * soft-fp/quad.h: Likewise.
7874         * soft-fp/single.h: Likewise.
7875         * soft-fp/soft-fp.h: Likewise.
7876         * soft-fp/subdf3.c: Likewise.
7877         * soft-fp/subsf3.c: Likewise.
7878         * soft-fp/subtf3.c: Likewise.
7879         * soft-fp/truncdfsf2.c: Likewise.
7880         * soft-fp/trunctfdf2.c: Likewise.
7881         * soft-fp/trunctfsf2.c: Likewise.
7882         * soft-fp/trunctfxf2.c: Likewise.
7883         * soft-fp/unorddf2.c: Likewise.
7884         * soft-fp/unordsf2.c: Likewise.
7885         * soft-fp/unordtf2.c: Likewise.
7887 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
7889         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
7890         (_FP_MUL_MEAT_D): Ditto.
7891         (_FP_DIV_MEAT_S): Ditto.
7892         (_FP_DIV_MEAT_D): Ditto.
7893         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
7894         t-softfp-sfdf and t-softfp to tmake_file.
7896 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
7898         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
7899         * config/i386/crtprec.c: Ditto.
7901 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
7902             Shiva Chen  <shiva0217@gmail.com>
7904         * config.host (nds32*-elf*): Add nds32 target.
7905         * config/nds32 : New directory and files.
7907 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
7909         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
7910         * config.host (cpu_type) <Setting default>: Add entry for
7911         crisv32-*-*.
7912         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
7913         <crisv32-*-linux*>: Adjust.
7914         * longlong.h: Wrap the whole CRIS section in a single
7915         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
7916         and sub_ddmmss.
7917         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
7918         defined.
7919         [__CRIS__] (__umulsidi3): Define.
7920         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
7921         * config/cris/sfp-machine.h: New file.
7922         * config/cris/umulsidi3.S: New file.
7923         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
7924         * config/cris/arit.c (SIGNMULT): New macro.
7925         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
7926         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
7927         saving 3 out of originally 33 cycles from the fastest
7928         path, 3 out of 54 from the medium path and one from the longest
7929         path.  Improve comments.
7931 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
7933         * sync.c: Remove static aliases and define each function directly
7934         under its real name.
7936 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
7938         * config.host (hppa*64*-*-linux*): Define extra_parts.
7939         (hppa*-*-linux*): Likewise.
7941 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
7943         * config/arc/crtgend.S: Add 2013 to Copyright years.
7944         * config/arc/gmon/atomic.h: Likewise.
7945         * config/arc/gmon/auxreg.h: Likewise.
7946         * config/arc/gmon/sys/gmon_out.h: Likewise.
7947         * config/arc/gmon/sys/gmon.h: Likewise.
7948         * config/arc/gmon/prof-freq.c: Likewise.
7949         * config/arc/gmon/mcount.c: Likewise.
7950         * config/arc/gmon/prof-freq-stub.S: Likewise.
7951         * config/arc/gmon/gmon.c: Likewise.
7952         * config/arc/gmon/machine-gmon.h: Likewise.
7953         * config/arc/gmon/profil.S: Likewise.
7954         * config/arc/gmon/dcache_linesz.S: Likewise.
7955         * config/arc/crtg.S: Likewise.
7956         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
7957         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
7958         * config/arc/ieee-754/adddf3.S: Likewise.
7959         * config/arc/ieee-754/truncdfsf2.S: Likewise.
7960         * config/arc/ieee-754/fixsfsi.S: Likewise.
7961         * config/arc/ieee-754/gtsf2.S: Likewise.
7962         * config/arc/ieee-754/floatsisf.S: Likewise.
7963         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
7964         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
7965         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
7966         * config/arc/ieee-754/fixdfsi.S: Likewise.
7967         * config/arc/ieee-754/addsf3.S: Likewise.
7968         * config/arc/ieee-754/gesf2.S: Likewise.
7969         * config/arc/ieee-754/floatsidf.S: Likewise.
7970         * config/arc/ieee-754/extendsfdf2.S: Likewise.
7971         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
7972         * config/arc/ieee-754/gtdf2.S: Likewise.
7973         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
7974         * config/arc/ieee-754/uneqdf2.S: Likewise.
7975         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
7976         * config/arc/ieee-754/uneqsf2.S: Likewise.
7977         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
7978         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
7979         * config/arc/ieee-754/eqdf2.S: Likewise.
7980         * config/arc/ieee-754/ordsf2.S: Likewise.
7981         * config/arc/ieee-754/divsf3.S: Likewise.
7982         * config/arc/ieee-754/divdf3.S: Likewise.
7983         * config/arc/ieee-754/floatunsidf.S: Likewise.
7984         * config/arc/ieee-754/orddf2.S: Likewise.
7985         * config/arc/ieee-754/eqsf2.S: Likewise.
7986         * config/arc/ieee-754/gedf2.S: Likewise.
7987         * config/arc/crtn.S: Likewise.
7988         * config/arc/crti.S: Likewise.
7989         * config/arc/t-arc700-uClibc: Likewise.
7990         * config/arc/asm.h: Likewise.
7991         * config/arc/libgcc-excl.ver: Likewise.
7992         * config/arc/t-arc-newlib: Likewise.
7993         * config/arc/divtab-arc700.c: Likewise.
7994         * config/arc/initfini.c: Likewise.
7995         * config/arc/fp-hack.h: Likewise.
7997 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
7998             Diego Novillo  <dnovillo@google.com>
8000         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
8001         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
8002         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
8003         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
8005 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
8006             Brendan Kehoe  <brendan@zen.org>
8007             Simon Cook  <simon.cook@embecosm.com>
8009         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
8010         * config/arc: New directory.
8011         * longlong.h [__arc__] (umul_ppmm): Remove.
8012         [__arc__] (__umulsidi3): Define.
8013         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
8014         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
8016 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
8018         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
8019         CreateSemaphoreA.
8020         * config/i386/gthr-win32.h: Likewise.
8022 2013-09-16  DJ Delorie  <dj@redhat.com>
8024         * config/rl78/vregs.h: Add G10 register definitions.
8025         * config/rl78/lib2mul.c: Enable for RL78/G10.
8026         * config/rl78/lib2div.c: Likewise.
8027         * config/rl78/lshrsi3.S: Use vregs.h.
8028         * config/rl78/cmpsi2.S: Likewise.
8029         * config/rl78/trampoline.S: Likewise.
8030         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
8032 2013-09-14  DJ Delorie  <dj@redhat.com>
8033             Nick Clifton  <nickc@redhat.com>
8035         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
8036         * config/rl78/vregs.h: New.
8037         * config/rl78/signbit.S: New file.  Implements signbit function.
8038         * config/rl78/divmodsi.S: New.
8039         * config/rl78/divmodhi.S: New.
8040         * config/rl78/divmodqi.S: New.
8041         * config/rl78/t-rl78: Build them here...
8042         * config/rl78/lib2div.c: ...but not here.
8044 2013-09-12  DJ Delorie  <dj@redhat.com>
8046         * config.host (msp*-*-elf): New.
8047         * config/msp430/: New port.
8049 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
8051         PR gcov-profile/58127
8052         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
8053         __thread var for emulated TLS.
8054         (__gcov_indirect_call_counters): Likewise.
8056 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
8057             Catherine Moore  <clm@codesourcery.com>
8058             Richard Sandiford  <rdsandiford@googlemail.com>
8060         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
8061         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
8062         (CALL_STUB_NO_RET): Likewise.
8063         (CALL_STUB_RET): Likewise.
8064         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
8065         __mips16_ret call/return stub symbols.
8066         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
8067         to tmake_file.
8069 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
8071         * config.host <mips*-*-linux*>: Remove a stray comment.
8073 2013-08-10  Jan Hubicka  <jh@suse.cz>
8075         Work around binutils PR14342
8076         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
8077         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
8078         (L_gcov_indirect_call_profiler_v2): New.
8080 2013-08-06  Jan Hubicka  <jh@suse.cz>
8082         * libgcov.c (__gcov_indirect_call_callee,
8083         __gcov_indirect_call_counters): New global vars.
8084         (__gcov_indirect_call_profiler): replace by ...
8085         (__gcov_indirect_call_profiler_v2) ... this one.
8087 2013-08-06  Caroline Tice  <cmtice@google.com>
8089         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
8090         vtv_start_preinit.o and vtv_end_preinit.o.
8091         * configure.ac: Add code to check/set enable_vtable_verify.
8092         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
8093         true.
8094         * vtv_start_preinit.c: New file.
8095         * vtv_end_preinit.c: New file.
8096         * vtv_start.c: New file.
8097         * vtv_end.c: New file.
8098         * configure: Regenerated.
8100 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
8102         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
8103         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
8104         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
8105         GPL-3.0-with-GCC-exception.
8107 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
8109         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
8110         ISA and up.
8112 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8114         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
8115         mapping for FPRs when creating the fallback framestate.
8117 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
8119         PR target/57516
8120         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
8121         (__round_s2_const, __round_u2_const)
8122         (__round_s4_const, __round_u4_const, __round_x8):
8123         Saturate result if addition result cannot be represented.
8125 2013-07-15  Matthias Klose  <doko@ubuntu.com>
8127         * libgcc2.c: Don't include <limits.h>.
8129 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
8131         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
8133 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
8135         PR target/29776
8136         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
8138 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
8140         PR middle-end/36041
8141         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
8142         Define.
8143         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
8144         instead of table lookups.
8145         (__popcountDI2): Likewise.
8147 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
8149         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
8150         correctly.
8152 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
8154         PR other/53317
8155         * soft-fp/adddf3.c: Update from glibc.
8156         * soft-fp/addsf3.c: Likewise.
8157         * soft-fp/addtf3.c: Likewise.
8158         * soft-fp/divdf3.c: Likewise.
8159         * soft-fp/divsf3.c: Likewise.
8160         * soft-fp/divtf3.c: Likewise.
8161         * soft-fp/double.h: Likewise.
8162         * soft-fp/eqdf2.c: Likewise.
8163         * soft-fp/eqsf2.c: Likewise.
8164         * soft-fp/eqtf2.c: Likewise.
8165         * soft-fp/extenddftf2.c: Likewise.
8166         * soft-fp/extended.h: Likewise.
8167         * soft-fp/extendsfdf2.c: Likewise.
8168         * soft-fp/extendsftf2.c: Likewise.
8169         * soft-fp/fixdfdi.c: Likewise.
8170         * soft-fp/fixdfsi.c: Likewise.
8171         * soft-fp/fixsfdi.c: Likewise.
8172         * soft-fp/fixsfsi.c: Likewise.
8173         * soft-fp/fixtfdi.c: Likewise.
8174         * soft-fp/fixtfsi.c: Likewise.
8175         * soft-fp/fixunsdfdi.c: Likewise.
8176         * soft-fp/fixunsdfsi.c: Likewise.
8177         * soft-fp/fixunssfdi.c: Likewise.
8178         * soft-fp/fixunssfsi.c: Likewise.
8179         * soft-fp/fixunstfdi.c: Likewise.
8180         * soft-fp/fixunstfsi.c: Likewise.
8181         * soft-fp/floatdidf.c: Likewise.
8182         * soft-fp/floatdisf.c: Likewise.
8183         * soft-fp/floatditf.c: Likewise.
8184         * soft-fp/floatsidf.c: Likewise.
8185         * soft-fp/floatsisf.c: Likewise.
8186         * soft-fp/floatsitf.c: Likewise.
8187         * soft-fp/floatundidf.c: Likewise.
8188         * soft-fp/floatundisf.c: Likewise.
8189         * soft-fp/floatunditf.c: Likewise.
8190         * soft-fp/floatunsidf.c: Likewise.
8191         * soft-fp/floatunsisf.c: Likewise.
8192         * soft-fp/floatunsitf.c: Likewise.
8193         * soft-fp/gedf2.c: Likewise.
8194         * soft-fp/gesf2.c: Likewise.
8195         * soft-fp/getf2.c: Likewise.
8196         * soft-fp/ledf2.c: Likewise.
8197         * soft-fp/lesf2.c: Likewise.
8198         * soft-fp/letf2.c: Likewise.
8199         * soft-fp/muldf3.c: Likewise.
8200         * soft-fp/mulsf3.c: Likewise.
8201         * soft-fp/multf3.c: Likewise.
8202         * soft-fp/negdf2.c: Likewise.
8203         * soft-fp/negsf2.c: Likewise.
8204         * soft-fp/negtf2.c: Likewise.
8205         * soft-fp/op-1.h: Likewise.
8206         * soft-fp/op-2.h: Likewise.
8207         * soft-fp/op-4.h: Likewise.
8208         * soft-fp/op-8.h: Likewise.
8209         * soft-fp/op-common.h: Likewise.
8210         * soft-fp/quad.h: Likewise.
8211         * soft-fp/single.h: Likewise.
8212         * soft-fp/soft-fp.h: Likewise.
8213         * soft-fp/subdf3.c: Likewise.
8214         * soft-fp/subsf3.c: Likewise.
8215         * soft-fp/subtf3.c: Likewise.
8216         * soft-fp/truncdfsf2.c: Likewise.
8217         * soft-fp/trunctfdf2.c: Likewise.
8218         * soft-fp/trunctfsf2.c: Likewise.
8219         * soft-fp/unorddf2.c: Likewise.
8220         * soft-fp/unordsf2.c: Likewise.
8221         * soft-fp/unordtf2.c: Likewise.
8222         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
8223         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8224         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8225         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8226         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8227         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8228         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8229         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8230         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8231         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
8232         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
8233         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8235 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
8237         * config/mips/lib2funcs.c: New file.
8238         * config/mips/t-mips (LIB2ADD_ST): Add it.
8240 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
8242         PR target/6526
8243         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
8244         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
8246 2013-06-08  Walter Lee  <walt@tilera.com>
8248         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
8249         Replace int64_t with long long.  Add __extension__ where
8250         appropriate.
8251         * config/tilepro/atomic.c: Include config.h.
8253 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
8255         * config.host (arm-wrs-vxworks): Configure with other soft float.
8257 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
8259         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
8260         (mips64r5900el-*-elf*): New configurations.
8262 2013-06-04  Alan Modra  <amodra@gmail.com>
8264         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
8266 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
8268         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
8270 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
8272         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
8273         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
8274         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
8276 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
8278         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
8279         (powerpc-wrs-vxworks): Likewise.
8281 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
8283         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
8284         signal frames as well.
8285         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
8286         STACK_BIAS to the CFA offset.
8288 2013-05-17  Richard Henderson  <rth@redhat.com>
8290         PR target/49146
8291         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
8292         (execute_cfa_program): Use it when storing to fs->regs.
8294 2013-05-08  Kai Tietz  <ktietz@redhat.com>
8296         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
8297         (__deregister_frame_info): Likewise.
8299 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
8301         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
8302         NaN's payload.
8304         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
8306 2013-04-25  Alan Modra  <amodra@gmail.com>
8308         * config.host: Match little-endian powerpc-linux.
8310 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
8312         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
8313         as 'unsigned long long' instead of 'unsigned long'.
8314         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
8315         'signed long'.
8317 2013-04-10  Julian Brown  <julian@codesourcery.com>
8319         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
8320         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
8321         unsigned char/unsigned short.
8322         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
8324 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8326         PR other/55274
8327         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
8329 2013-04-04  Meador Inge  <meadori@codesourcery.com>
8331         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
8332         computing the location of the link register.
8333         (aeabi_uldivmod): Ditto.
8335 2013-03-27  Kai Tietz  <ktietz@redhat.com>
8337         * config.host: Add support for cygwin x64 target.
8338         * configure: Regenerated.
8340 2013-03-26  Walter Lee  <walt@tilera.com>
8342         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
8343         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
8345 2013-03-25  Kai Tietz  <ktietz@redhat.com>
8347         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
8349 2013-03-20  Robert Mason  <rbmj@verizon.net>
8351         * config/vxlib-tls.c (__gthread_get_tsd_data,)
8352         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
8353         (__gthread_leave_tsd_dtor_context): Add prototypes.
8354         (tls_delete_hook): Update.
8356 2013-03-20  Catherine Moore  <clm@codesourcery.com>
8357             Joseph Myers  <joseph@codesourcery.com>
8358             Chao-ying Fu  <fu@mips.com>
8360         * config/mips/mips16.S:  Don't build for microMIPS.
8361         * config/mips/linux-unwind.h: Handle microMIPS frame.
8362         * config/mips/crtn.S (fini, init): New labels.
8364 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
8366         PR tree-optimization/53265
8367         * unwind-dw2.c (execute_cfa_program): Avoid
8368         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
8369         on targets with DWARF_FRAME_REGISTERS < 32.
8371 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
8373         PR target/49880
8374         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
8375         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
8377 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
8379         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
8380         sandybridge processors.
8382 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
8384         PR target/56529
8385         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
8386         inclusion list.
8388 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
8390         * config/microblaze/crti.S: Setup stack protection at entry
8392 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
8394         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
8395         (__rotldi3): Shift bytewise if applicable.
8397 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
8399         * config/aarch64/sync-cache.c
8400         (__aarch64_sync_cache_range): Silence warnings.
8402 2013-02-25  Catherine Moore  <clm@codesourcery.com>
8404         Revert:
8405         2013-02-24  Catherine Moore  <clm@codesourcery.com>
8406             Joseph Myers  <joseph@codesourcery.com>
8407             Chao-ying Fu  <fu@mips.com>
8409         * config/mips/mips16.S:  Don't build for microMIPS.
8410         * config/mips/linux-unwind.h: Handle microMIPS frame.
8411         * config/mips/crtn.S (fini, init): New labels.
8413 2013-02-24  Catherine Moore  <clm@codesourcery.com>
8414             Joseph Myers  <joseph@codesourcery.com>
8415             Chao-ying Fu  <fu@mips.com>
8417         * config/mips/mips16.S:  Don't build for microMIPS.
8418         * config/mips/linux-unwind.h: Handle microMIPS frame.
8419         * config/mips/crtn.S (fini, init): New labels.
8421 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
8422         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
8423         as dividend.
8425 2013-02-16  Alan Modra  <amodra@gmail.com>
8427         PR target/55431
8428         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
8429         (ppc_fallback_frame_state): Always set up save locations for fp
8430         and altivec.  Don't bother with non-callee-saved regs, r0-r13
8431         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
8433 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
8435         PR target/54222
8436         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
8437         _ssmulHA, _ssmulSA.
8438         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
8439         _ssmulha3, _usmulusa3, _ssmulsa3.
8440         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
8441         (__muldi3): XCALL __muldi3_6 instead of rcall.
8442         (__umulsidi3, __mulsidi3): New functions.
8443         (do_prologue_saves, do_epilogue_restores): New .macros.
8444         (__divdi3_moddi3): Use them.
8445         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
8446         (__usmulusa3, __ssmulsa3): New functions.
8448 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
8449             Jack Howarth  <howarth@bromo.med.uc.edu>
8450             Patrick Marlier  <patrick.marlier@gmail.com>
8452         PR libitm/55693
8453         * config/darwin-crt-tm.c: Remove dummy functions hack.
8455 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
8457         PR target/54222
8458         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
8459         * config/avr/lib2-object.mk: New iterator to build objects from it.
8460         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
8461         lib2funcs.c.
8462         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
8463         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
8464         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
8465         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
8466         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
8467         * config/avr/lib1funcs-fixed.S: Implement them.
8469 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
8471         Update copyright years.
8473 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
8475         PR target/54601
8476         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
8477         Add crtcxa to extra_parts.
8478         * config/rs6000/exit.h: New file.
8479         * config/rs6000/cxa_atexit.c: New file.
8480         * config/rs6000/cxa_finalize.c: New file.
8481         * config/rs6000/crtcxa.c: New file.
8482         * config/rs6000/t-aix-cxa: New file.
8483         * config/rs6000/libgcc-aix-cxa.ver: New file.
8485 2013-01-31  Nick Clifton  <nickc@redhat.com>
8487         * config/v850/lib1funcs.S: Add support for e3v5 architecture
8488         variant.
8490 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
8492         PR target/54222
8493         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
8494         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
8495         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
8496         _divQQ,  _divHQ,  _divHA,  _divSA,
8497         _divUQQ, _divUHQ, _divUHA, _divUSA.
8499 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
8501         * config.host(microblaze*-linux*): tmake_file: Remove
8502         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
8503         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
8504         to exclude functions from being built with libgcc.c and use
8505         the microblaze assembly.
8507 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
8509         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
8510         extra_parts.
8512 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
8514         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
8515         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
8516         __UINTPTR_TYPE__; also cast 'base' to the same type before the
8517         alignment operation.
8519 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
8521         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
8522         loop start address for cache clearing.
8524 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
8526         * config/avr/lib1funcs.S: Remove trailing blanks.
8527         * config/avr/lib1funcs-fixed.S: Ditto.
8529 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
8531         * config/avr/avr-lib.h: Add GPL copyright notice.
8533 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
8535         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
8536         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
8537         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
8538         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
8540 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
8542         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
8543         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
8545 2013-01-04  Nick Clifton  <nickc@redhat.com>
8547         * config/v850/lib1funcs.S: Only provide CALLT support functions if
8548         the CALLT instruction is supported.
8550 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
8552         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
8553         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
8555 2012-12-13  John Tytgat  <John@bass-software.com>
8557         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
8558         is 25.
8560 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
8562         PR libgcc/55451
8563         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
8564         undefined signed overflows.
8566 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
8568         PR target/55344
8569         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
8571 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
8573         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
8574         (FP_TRAPPING_EXCEPTIONS): Define.
8575         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
8576         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
8578 2012-12-04  Richard Henderson  <rth@redhat.com>
8580         PR bootstrap/55571
8581         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
8583 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8585         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
8586         (FP_EX_SHIFT): Define.
8587         (FP_TRAPPING_EXCEPTIONS): Define.
8589 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8591         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
8592         (FP_ROUNDMODE): Use FP_RND_MASK.
8593         * config/aarch64/sfp-exceptions.c: New.
8594         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8595         Use __sfp_handle_exceptions.
8597 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
8599         * config.host: (arm*-*-freebsd*): Remove.
8600         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
8601         (arm*-*-elf*): Remove.
8602         (arm*-*-wince-pe*): Remove.
8603         * arm/unwind-arm.c (struct fpa_reg): Delete.
8604         (struct fpa_regs): Delete.
8605         (phase1_vrs): Remove fpa element.
8606         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
8607         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
8608         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
8609         * ieee754-sf.S (floatundisf): Remove FPA support.
8610         (floatdisf): Likewise.
8611         * ieee75f-df.S (floatundidf): Likewise.
8612         (floatdidf): Likewise.
8614 2012-11-29  Kai Tietz  <ktietz@redhat.com>
8616         PR target/55445
8617         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
8618         * unwind-generic.h: Likewise.
8619         * unwind-seh.c: Likewise.
8621 2012-11-28  Richard Henderson  <rth@redhat.com>
8623         PR libgcc/48076
8624         * emutls.c (__emutls_get_address): Avoid race condition between
8625         obj->loc.offset read and emutls_key initialization.
8627 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
8629         Adjust decimal point of signed accum mode to GCC default.
8631         PR target/54222
8632         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
8633         _divqq_helper.
8634         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
8635         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
8636         (__mulha3, __mulsa3)
8637         (__divqq3, __divha3, __divsa3): Adjust to new position of
8638         decimal point of signed accum types.
8640         (__mulusa3_round): New function.
8641         (__mulusa3): Use it.
8642         (__divqq_helper): New function.
8643         (__udivuqq3): Use it.
8645 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
8647         PR bootstrap/55370
8648         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
8650 2012-11-18  Teresa Johnson  <tejohnson@google.com>
8652         PR bootstrap/55051
8653         * libgcov.c (gcov_exit): Remove merged program summary
8654         comparison unless !GCOV_LOCKED.
8656 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8658         * soft-fp: Updated from glibc upstream.
8660 2012-11-06  Ian Lance Taylor  <iant@google.com>
8662         * generic-morestack.c (__generic_morestack): Align the returned
8663         stack pointer to a 32 byte boundary.
8664         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
8665         increment the return address until we have decided that we don't
8666         have a varargs function.
8667         (__morestack) [32-bit]: Align stack correctly when calling C
8668         functions.
8669         (__morestack) [64-bit]: Likewise.
8671 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
8673         * configure: Regenerate.
8675 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
8677         PR target/55175
8678         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
8679         * config/i386/sfp-machine.h: Guard exception handling
8680         code with _SOFT_FLOAT.
8681         * config/i386/32/sfp-machine.h: Guard rounding handling
8682         code with _SOFT_FLOAT.
8683         * config/i386/64/sfp-machine.h: Ditto.
8685 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
8687         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
8688         as extra_parts.
8690 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
8692         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
8693         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
8694         when appropriate.  Correct structure element types.
8695         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
8696         -minline-all-stringops from compile flags.
8698 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
8700         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
8702 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
8704         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
8706 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
8708         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
8709         tmake_file.
8711 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
8712             Jim MacArthur  <jim.macarthur@arm.com>
8713             Marcus Shawcroft  <marcus.shawcroft@arm.com>
8714             Nigel Stephens  <nigel.stephens@arm.com>
8715             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
8716             Richard Earnshaw  <rearnsha@arm.com>
8717             Sofiane Naci  <sofiane.naci@arm.com>
8718             Stephen Thomas  <stephen.thomas@arm.com>
8719             Tejas Belagod  <tejas.belagod@arm.com>
8720             Yufeng Zhang  <yufeng.zhang@arm.com>
8722         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
8723         * config/aarch64/crti.S: New file.
8724         * config/aarch64/crtn.S: New file.
8725         * config/aarch64/linux-unwind.h: New file.
8726         * config/aarch64/sfp-machine.h: New file.
8727         * config/aarch64/sync-cache.c: New file.
8728         * config/aarch64/t-aarch64: New file.
8729         * config/aarch64/t-softfp: New file.
8731 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
8733         * config/mmix/crti.S: Mark program and data addresses using PRELD.
8734         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
8735         no-longer-needed LDBU insns.
8737 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
8739         * config.host
8740         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
8741         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
8743 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
8745         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
8747 2012-10-15  Matthias Klose  <doko@ubuntu.com>
8749         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
8751 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
8753         * configure: Regenerate.
8754         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
8756 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
8758         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8759         instructions for 64bit targets only.
8761 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
8763         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8764         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
8765         * config/i386/32/sfp-machine.h: ... here.
8766         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
8767         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
8768         New defines.
8770 2012-10-07  Matthias Klose  <doko@ubuntu.com>
8772         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
8773         as unused.
8774         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
8776 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
8778         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
8779         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
8780         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
8781         (ElfW): Likewise.
8783 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
8785         PR other/53889
8786         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8787         Fix parameter names.
8789 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
8791         PR target/33135
8792         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
8793         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
8794         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
8796 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
8798         PR target/50457
8799         * config/sh/linux-atomic.S: Delete.
8800         * config/sh/linux-atomic.c: New.
8801         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
8802         linux-atomic.c.  Add cflags to disable warnings.
8804 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
8806         PR other/53889
8807         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
8808         function.
8809         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
8810         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
8811         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
8812         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
8813         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
8814         Likewise.
8815         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8816         Likewise.
8817         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
8818         Likewise.
8819         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
8820         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
8822 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
8824         * config.host (hppa-*-openbsd*): New target.
8825         * config/pa/t-openbsd: New file.
8827 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
8829         PR target/54222
8830         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
8831         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
8832         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
8833         (__divsa3): Use __negsi2 to negate r_quoL.
8834         * config/avr/lib1funcs.S (FALIAS): New macro.
8835         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
8836         (__negsi2): ...this new function.
8837         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
8838         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
8839         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
8840         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
8841         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
8842         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
8844 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
8846         PR target/54089
8847         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
8848         (lshrsi3): Reimplement as lshrsi3_r0.
8850 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
8852         PR target/46191
8853         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
8854         of libgcc.a.
8856 2012-09-07  Teresa Johnson  <tejohnson@google.com>
8858         PR gcov-profile/54487
8859         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
8860         differences.
8862 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
8864         PR target/54461
8865         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
8866         not configured --with-avrlibc=no.
8867         * config/avr/t-avrlibc: New file.
8868         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
8869         (DPBIT_FUNCS): Ditto.
8870         (TPBIT_FUNCS): Ditto.
8872 2012-09-04  Teresa Johnson  <tejohnson@google.com>
8874         * libgcov.c (struct gcov_summary_buffer): New structure.
8875         (gcov_histogram_insert): New function.
8876         (gcov_compute_histogram): Ditto.
8877         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
8878         histograms during summary merging.
8880 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
8882         * config.host (x86_64-*-openbsd*): New target.
8884 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
8886         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
8887         attribute.
8889 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
8891         PR target/54222
8892         * config/avr/t-avr (conv_X): Rename to func_X.
8894 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
8896         PR target/54222
8897         * config/avr/lib1funcs-fixed.S: New file.
8898         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
8899         after they are used.
8900         (neg2, neg4): New macros.
8901         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
8902         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
8903         (__umulhisi3): Speed up MUL variant if there is enough flash.
8904         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
8905         avr-modes.def.
8906         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
8907         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
8908         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
8909         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
8910         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
8911         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
8912         (LIB2FUNCS_EXCLUDE): Add supported functions.
8914 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
8916         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
8917         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
8918         libgcc-s-objects.
8919         * fixed-obj.mk: Only expand dependency if $o is not in
8920         LIB2FUNCS_EXCLUDE.
8922 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
8924         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
8926 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
8928         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
8929         depend on --enable-shared.
8930         ($(lib1asmfuncs-o)): Use %.vis files independent of
8931         --enable-shared.
8932         * static-object.mk ($(base)$(objext), $(base).vis)
8933         ($(base)_s$(objext)): Use same rules for visibility handling as in
8934         shared-object.mk.
8936 2012-08-21  Ian Lance Taylor  <iant@google.com>
8938         * config/i386/morestack.S (__morestack_non_split): Increase amount
8939         of space allocated for non-split code stack.
8941 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
8943         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
8944         even if inhibit_libc.
8946 2012-08-17  Julian Brown  <julian@codesourcery.com>
8948         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
8949         -fexceptions -fnon-call-exceptions if not defined.
8950         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
8951         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
8953 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
8955         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
8956         type.
8958 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
8960         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
8961         rs6000/t-slibgcc-aix.
8963 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
8965         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
8967 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
8969         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
8971 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
8973         PR driver/54171
8974         * Makefile.in (version): Replace top_srcdir with srcdir.
8976 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
8978         * Makefile.in (version): set to BASE-VER file from gcc directory.
8980 2012-08-01  Nick Clifton  <nickc@redhat.com>
8982         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
8983         Implements __clrsb for an HImode argument.
8985 2012-07-31  Nick Clifton  <nickc@redhat.com>
8987         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
8988         Implements __clrsb for an HImode argument.
8989         * config/stormy16/clrsbhi2.c: New file:
8990         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
8992 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
8994         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
8996 2012-07-19  Tristan Gingold  <gingold@adacore.com>
8997             Richard Henderson  <rth@redhat.com>
8999         * unwind-seh.c: New file.
9000         * unwind-generic.h: Include windows.h for SEH.
9001         (_Unwind_Exception): Use 6 private fields for SEH.
9002         (_GCC_specific_handler): Declare.
9003         * unwind-c.c (__gcc_personality_seh0): New function.
9004         Adjust for SEH.
9005         * config/i386/libgcc-cygming.ver: New file.
9006         * config/i386/t-seh-eh: New file.
9007         * config.host (x86_64-*-mingw*): Default to seh.
9009 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
9011         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
9013 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
9015         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
9016         __builtin_expect when checking for exceptions.
9017         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
9019 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
9021         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
9022         function declaration.
9023         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9024         (FP_RND_MASK): New.
9025         * config/ia64/sfp-exceptions.c: New.
9026         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
9028 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
9030         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
9031         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
9032         * config/i386/64/sfp-machine: ... (delete here) ...
9033         * config/i386/sfp-machine.h: ... to here.
9034         (FP_EX_MASK): Remove.
9035         (FP_RND_MASK): New.
9036         (FP_INIT_ROUNDMODE): Declare asm as volatile.
9038 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
9040         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
9041         * config/i386/libgcc-sol2.ver: Ditto.
9042         * config/i386/libgcc-glibc.ver: Ditto.
9044 2012-06-11  Roland McGrath  <mcgrathr@google.com>
9046         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
9047         If __GLIBC__ is defined, refer to __pthread_key_create instead of
9048         pthread_cancel.
9050 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
9052         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
9053         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
9054         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
9055         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9056         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
9057         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
9058         * config/i386/64/sfp-machine: ... (delete here) ...
9059         * config/i386/sfp-machine.h: ... to here.
9060         (FP_EX_MASK): New.
9061         (__sfp_handle_exceptions): New function declaration.
9062         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9063         * config/i386/sfp-exceptions.c: New.
9064         * config/i386/t-softfp: New.
9065         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
9066         i386/t-softfp to tmake_file.
9068 2012-06-03  David S. Miller  <davem@davemloft.net>
9070         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
9071         change.
9073 2012-05-31  David S. Miller  <davem@davemloft.net>
9075         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
9076         multiply and divide instructions on 32-bit when V9.
9077         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
9079 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
9081         * config/arm/ieee754-df.S: Fix typos.
9082         * config/arm/ieee754-sf.S: Fix typos.
9083         * config/c6x/libunwind.S: Fix typos.
9084         * config/epiphany/udivsi3-float.c: Fix typos.
9085         * config/microblaze/muldi3_hard.S: Fix typos.
9086         * config/picochip/adddi3.S: Fix typos.
9087         * config/picochip/ashlsi3.S: Fix typos.
9088         * config/picochip/ashrsi3.S: Fix typos.
9089         * config/picochip/clzsi2.S: Fix typos.
9090         * config/picochip/cmpsi2.S: Fix typos.
9091         * config/picochip/divmod15.S: Fix typos.
9092         * config/picochip/divmodhi4.S: Fix typos.
9093         * config/picochip/divmodsi4.S: Fix typos.
9094         * config/picochip/longjmp.S: Fix typos.
9095         * config/picochip/lshrsi3.S: Fix typos.
9096         * config/picochip/parityhi2.S: Fix typos.
9097         * config/picochip/popcounthi2.S: Fix typos.
9098         * config/picochip/setjmp.S: Fix typos.
9099         * config/picochip/subdi3.S: Fix typos.
9100         * config/picochip/ucmpsi2.S: Fix typos.
9101         * config/picochip/udivmodhi4.S: Fix typos.
9102         * config/picochip/udivmodsi4.S: Fix typos.
9103         * config/spu/divv2df3.c: Fix typos.
9104         * config/spu/mfc_multi_tag_release.c: Fix typos.
9105         * config/spu/mfc_tag_release.c: Fix typos.
9106         * configure.ac: Fix typos.
9107         * configure: Regenerate.
9109 2012-05-25  Ian Lance Taylor  <iant@google.com>
9111         * config/i386/morestack.S (__morestack_non_split): Check whether
9112         caller is varargs and needs %bp to hold the stack frame on return.
9114 2012-05-25  Olivier Hainque  <hainque@adacore.com>
9116         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
9117         sequence in the non pic case on VxWorks.
9119 2012-05-24  Olivier Hainque  <hainque@adacore.com>
9121         * Makefile.in: Move dependency on install-unwind_h from
9122         "install-leaf" to "install".
9124 2012-05-24  Olivier Hainque  <hainque@adacore.com>
9126         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
9127         Use a separate command for stamp removals.
9129 2012-05-21  Andrew Pinski  <apinski@cavium.com>
9131         PR bootstrap/53183
9132         * configure.ac: Define the default includes to being none.
9133         * configure: Regenerate.
9135 2012-05-16  Olivier Hainque  <hainque@adacore.com>
9137         * Makefile.in (install-unwind_h): Rename into ...
9138         (install-unwind_h-forbuild): New target.
9139         (all): Use it instead of the former install-unwind_h.
9140         (install-unwind_h): Reinstate, copy to user install destination
9141         for include files, not to the internal gcc object directory one.
9142         (install-leaf): Depend on it.
9144 2012-05-15  Olivier Hainque  <hainque@adacore.com>
9146         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
9147         register numbers. LR_REGNO replaces R_LR.
9148         (ucontext_for): New, helper for ...
9149         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
9150         and 5.3 of ...
9151         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
9153 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9155         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
9156         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
9157         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
9158         i386/t-cpuinfo ...
9159         (i[34567]86-*-*, x86_64-*-*): ... here.
9161         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
9162         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
9164         * config/i386/i386-cpuinfo.c: Rename to ...
9165         * config/i386/cpuinfo.c: ... this.
9166         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
9168         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
9169         (libgcc_cv_init_priority): New test.
9170         * configure: Regenerate.
9171         * config.in: New file.
9172         * Makefile.in (clean): Rename config.h to auto-target.h.
9173         (config.h): Likewise.
9174         (stamp-h): Likewise.
9176         * config/i386/cpuinfo.c (auto-target.h): Include.
9177         (CONSTRUCTOR_PRIORITY): Define.
9178         (__cpu_indicator_init): Use it.
9180 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
9182         * longlong.h: Use a URL instead of an FSF postal address.
9183         Replace spaces with tab.
9185 2012-05-08  Teresa Johnson  <tejohnson@google.com>
9187         * libgcov.c (gcov_clear, __gcov_reset): New functions.
9188         (__gcov_dump): Ditto.
9189         (gcov_dump_complete): New global variable.
9190         (gcov_exit): Export hidden to enable use in L_gcov_dump.
9191         (__gcov_flush): Outline functionality now in gcov_clear.
9192         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
9194 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
9196         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
9197         (mips*-*-linux*): Include mips/t-tpbit when long double is
9198         16 bytes long.
9200 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
9202         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
9203         (get_available_features): New argument. Check for AVX2.
9204         (__cpu_indicator_init): Modify call to get_available_features.
9206 2012-04-25  Alan Modra  <amodra@gmail.com>
9208         * config/rs6000/crtsavevr.S: New file.
9209         * config/rs6000/crtrestvr.S: New file.
9210         * config/rs6000/t-savresfgpr: Build the above.
9211         * config/rs6000/t-netbsd: Likewise.
9213 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
9215         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
9217 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
9219         * libgcc/config/i386/i386-cpuinfo.c: New file.
9220         * libgcc/config/i386/t-cpuinfo: New file.
9221         * libgcc/config.host: Include t-cpuinfo.
9222         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
9224 2012-04-24  Chao-ying Fu  <fu@mips.com>
9226         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
9228 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
9230         struct siginfo vs. siginfo_t
9232         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
9233         siginfo_t instead of struct siginfo.
9234         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
9235         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
9236         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
9237         (ia64_handle_unwabi): Likewise.
9238         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
9239         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
9240         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
9241         (sh_fallback_frame_state): Likewise.
9242         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
9243         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
9245 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
9247         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
9248         system call number.
9250 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
9252         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
9253         if it hasn't been previously saved.
9255 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
9257         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
9258         only for glibc.
9260 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
9262         PR target/52737
9263         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
9264         instead of __AVR_HAVE_8BIT_SP__.
9266 2012-03-26  Tristan Gingold  <gingold@adacore.com>
9268         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
9269         (unw_table_entry): Use unw_word instead of unsigned long.
9270         (_Unwind_FindTableEntry): Likewise.
9271         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
9272         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
9273         (_Unwind_FindTableEntry): Likewise.
9274         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
9275         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
9276         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
9277         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
9278         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
9279         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
9280         (uw_init_context_1, uw_install_context): Likewise.
9281         (unw_word): Move to unwind-ia64.h
9283 2012-03-26  Tristan Gingold  <gingold@adacore.com>
9285         * config/vms/vms-ucrt0.c: Update copyright years.
9286         Add a sanity check.
9287         (___gcc_main_flags): Declare.
9288         (__main): Check flags to remap argv and exit code.
9289         * config.host (*-*-*vms*): Adjust extra_parts.
9290         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
9291         (crt0.o): Add.
9293 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
9295         * arm/lib1funcs.asm (ctzsi2): New function.
9296         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
9297         * arm/t-linux (LIB1ASMFUNCS): Likewise.
9298         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
9299         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
9300         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
9301         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
9303 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
9305         * config.host: Add bits to support powerpc64-*-freebsd*.
9306         * config/rs6000/freebsd-unwind.h: New file.
9307         * config/rs6000/t-freebsd64: New file.
9309 2012-03-20  Richard Guenther  <rguenther@suse.de>
9311         PR gcov-profile/52627
9312         * libgcov.c (init_mx): Fix mutex name.
9314 2012-03-16  Tristan Gingold  <gingold@adacore.com>
9316         * config/ia64/vms-unwind.h: Remove ulong (and replace
9317         it by unw_reg where used).  Define unw_reg with __int64.
9319 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9321         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
9322         Solaris 8 handling.
9323         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
9324         Solaris 8 handling.
9325         (sparc_is_sighandler): Likewise.
9327 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
9329         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
9330         <= saved reg size.
9332 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9334         * config/arm/crtn.S: Fix typo.
9336 2012-03-13  Richard Guenther  <rguenther@suse.de>
9338         * libgcov.c: Remove stdio.h include and NULL un-define.
9340 2012-03-13  Richard Guenther  <rguenther@suse.de>
9342         PR target/52569
9343         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
9345 2012-03-13  Richard Guenther  <rguenther@suse.de>
9347         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
9349 2012-03-13  Richard Guenther  <rguenther@suse.de>
9351         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
9352         and __gthread_mutex_init_function definitions.
9354 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9356         * config.host (mips*-*-openbsd*): Remove.
9358 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9360         * config.host: Remove alpha*-dec-osf5.1* handling.
9361         * config/alpha/gthr-posix.c: Remove.
9362         * config/alpha/libgcc-osf5.ver: Remove.
9363         * config/alpha/osf5-unwind.h: Remove.
9364         * config/alpha/t-osf-pthread: Remove.
9365         * config/alpha/t-slibgcc-osf: Remove.
9366         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
9367         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
9368         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
9369         * mkmap-flat.awk: Remove osf_export handling.
9371 2012-03-12  Richard Guenther  <rguenther@suse.de>
9373         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
9374         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9375         (__gthread_mutex_init_function): New function.
9376         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9378         PR gcov/49484
9379         * libgcov.c: Include gthr.h.
9380         (__gcov_flush_mx): New global variable.
9381         (init_mx, init_mx_once): New functions.
9382         (__gcov_flush): Protect self with a mutex.
9383         (__gcov_fork): Re-initialize mutex after forking.
9384         * unwind-dw2-fde.c: Change condition under which to use
9385         __GTHREAD_MUTEX_INIT_FUNCTION.
9387 2012-03-12  Tristan Gingold  <gingold@adacore.com>
9389         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
9390         * config/ia64/t-vms: Likewise.
9392 2012-03-11  Michael Hope  <michael.hope@linaro.org>
9394         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
9395         for Thumb-2.
9397 2012-03-07  Walter Lee  <walt@tilera.com>
9399         * config/tilepro/atomic.c: Rename "atomic_" prefix to
9400         "arch_atomic_".
9401         (atomic_xor): Rename and move definition to
9402         config/tilepro/atomic.h.
9403         (atomic_nand): Ditto.
9404         * config/tilepro/atomic.h: Rename "atomic_" prefix to
9405         "arch_atomic_".
9406         (arch_atomic_xor): Move from config/tilepro/atomic.c.
9407         (arch_atomic_nand): Ditto.
9409 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
9411         PR target/52507
9412         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
9414 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
9416         PR target/52505
9417         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
9418         from RAM.
9420 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
9422         PR target/52461
9423         PR target/52508
9424         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
9425         if RAMPZ affects reading from RAM.
9426         (__tablejump_elpm__): Ditto.
9427         (.xload): Ditto.
9428         (__movmemx_hi): Ditto.
9429         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
9430         (__do_global_dtors): Ditto.
9431         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
9432         (__movmemx_hi): Ditto.
9434 2012-03-05  Richard Henderson  <rth@redhat.com>
9436         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
9437         [ARM] (count_trailing_zeros): Use the builtin.
9439 2012-03-01  Kai Tietz  <ktietz@redhat.com>
9441         * soft-fp: Imported from glibc upstream.
9443 2012-02-28  Kai Tietz  <ktietz@redhat.com>
9445         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
9446         for mingw-targets as attribute gcc_struct.
9448 2012-02-28  Ian Lance Taylor  <iant@google.com>
9450         * generic-morestack.c (__splitstack_releasecontext): Correct call
9451         to __morestack_release_segments.
9453 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9455         PR target/52390
9456         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
9457         for __linux__ when removing signals from __morestack_fullmask.
9459 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
9461         PR target/52261
9462         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
9464 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9466         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
9467         instead of HAVE_INITFINI_ARRAY.
9468         * config/ia64/crtend.S: Likewise.
9470 2012-02-20  Kai Tietz  <ktietz@redhat.com>
9472         PR libstdc++/52300
9473         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
9475         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
9476         to w32-unwind.h header.
9478 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
9480         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
9481         (mips*-*-linux*): Remove t-slibgcc-libgcc.
9482         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
9483         * config/mips/mips16.S (__mips16_rdhwr): Delete.
9485 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
9487         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
9489 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
9491         PR libitm/52220
9492         * config/darwin-crt-tm.c: Correct typo.
9494 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
9495             Patrick Marlier  <patrick.marlier@gmail.com>
9497         PR libitm/52220
9498         * config/darwin-crt-tm.c: Generate dummy functions.
9500 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
9501             Patrick Marlier  <patrick.marlier@gmail.com>
9503         PR libitm/52042
9504         * config/darwin-crt-tm.c (getTMCloneTable): New function.
9505         (__doTMRegistrations): Call it.
9506         (__doTMdeRegistrations): Likewise.
9508 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
9509             Anatoly Sokolov  <aesok@post.ru>
9510             Eric Weddington  <eric.weddington@atmel.com>
9512         PR target/52261
9513         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
9514         (__epilogue_restores__): Ditto.
9516 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
9518         PR target/51921
9519         PR target/52205
9520         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
9521         Solaris 11 and slightly reformat.
9522         (sparc_is_sighandler): Likewise.
9524 2012-02-14  Walter Lee  <walt@tilera.com>
9526         * config.host: Handle tilegx and tilepro.
9527         * config/tilegx/sfp-machine.h: New file.
9528         * config/tilegx/sfp-machine32.h: New file.
9529         * config/tilegx/sfp-machine64.h: New file.
9530         * config/tilegx/t-crtstuff: New file.
9531         * config/tilegx/t-softfp: New file.
9532         * config/tilegx/t-tilegx: New file.
9533         * config/tilepro/atomic.c: New file.
9534         * config/tilepro/atomic.h: New file.
9535         * config/tilepro/linux-unwind.h: New file.
9536         * config/tilepro/sfp-machine.h: New file.
9537         * config/tilepro/softdivide.c: New file.
9538         * config/tilepro/softmpy.S: New file.
9539         * config/tilepro/t-crtstuff: New file.
9540         * config/tilepro/t-tilepro: New file.
9542 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
9544         PR libstdc++/51296
9545         PR libstdc++/51906
9546         * gthr-posix.h: Allow static initializer macros to be disabled.
9547         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
9549 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
9551         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
9552         Add t-slibgcc-libgcc to tmake_file.
9553         * config/mips/libgcc-mips16.ver: Revert previous patch.
9554         * config/mips/mips16.S (__mips16_rdhwr): Hide.
9556 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
9557             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
9559         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
9560         * config/cr16/crti.S: New file.
9561         * config/cr16/crtlibid.S: New file.
9562         * config/cr16/crtn.S: New file.
9563         * config/cr16/lib1funcs.S: New file.
9564         * config/cr16/t-cr16: New file.
9565         * config/cr16/t-crtlibid: New file.
9566         * config/cr16/unwind-dw2.h: New file.
9567         * config/cr16/unwind-cr16.c: New file.
9568         * config/cr16/divmodhi3.c: New file.
9570 2012-01-25  Alan Modra  <amodra@gmail.com>
9572         * config/rs6000/t-linux64: Delete.  Move..
9573         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
9574         * config/rs6000/t-linux: ..and libgcc flags to here.
9576 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
9578         * config.host (i[34567]86-*-interix3*):
9579         Change triplet to i[34567]86-*-interix[3-9]*.
9580         * configure: Regenerate.
9582 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
9583             Richard Sandiford  <rdsandiford@googlemail.com>
9585         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
9586         * config/mips/mips16.S (__mips16_rdhwr): New function.
9587         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
9589 2012-01-11  Nathan Sidwell  <nathan@acm.org>
9591         * libgcov.c (__gcov_init): Ignore objects with no functions.
9593 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
9595         PR target/49868
9596         Extend __pgmx semantics to linearize memory.
9597         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
9598         * config/avr/lib1funcs.S (__xload_1): New function.
9599         (__movmemx_qi, __movmemx_hi): New functions.
9600         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
9601         semantics.
9603 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
9605         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
9606         purported sigacthandler address isn't null before dereferencing it.
9607         (sparc_is_sighandler): Likewise.
9609 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
9611         PR ada/41929
9612         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
9613         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
9614         (sparc_is_sighandler): Likewise.
9615         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
9617 2012-01-06  Tristan Gingold  <gingold@adacore.com>
9619         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
9620         compatibility thunks...
9621         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
9622         (crtbeginS.o, crtendS.o): ... and these to ...
9623         * config/ia64/t-ia64-elf: ... this new file.
9624         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
9625         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
9627 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9629         * configure: Regenerate.
9630         * config/s390/t-crtstuff: Remove -fPIC.
9632 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
9634         PR bootstrap/51006
9635         * enable-execute-stack-mprotect.c (getpagesize): Do not define
9636         for NetBSD.
9638 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
9640         PR target/51345
9641         * config/avr/lib1funcs.S: Remove FIXME comments.
9642         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
9644 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
9646         Implement light-weight DImode support.
9647         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
9648         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
9649         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
9650         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
9652 2011-12-30  Nathan Sidwell  <nathan@acm.org>
9654         * libgcov.c (gcov_crc32): Remove global var.
9655         (free_fn_data): New function.
9656         (buffer_fn_data): Pass in filename, more robust error recovery.
9657         (crc32_unsigned): New function.
9658         (gcov_exit): More robust detection of new program. More robust
9659         error recovery.
9660         (__gcov_init): Do not update program's crc here.
9662 2011-12-21  Tristan Gingold  <gingold@adacore.com>
9664         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
9666 2011-12-21  Ian Lance Taylor  <iant@google.com>
9668         * config/i386/morestack.S: Simplify CFI opcodes throughout.
9670 2011-12-20  Ian Lance Taylor  <iant@google.com>
9672         * config/i386/morestack.S (__morestack_non_split): If there is
9673         enough stack space already, don't split.  Ask for more stack space
9674         than we required.
9676 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
9678         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
9679         `sys/sdt.h'.
9680         (_Unwind_DebugHook): New function.
9681         (uw_restore_core_regs): New define.
9682         (unwind_phase2): Use uw_restore_core_regs instead of
9683         restore_core_regs.
9684         (unwind_phase2_forced): Likewise.
9685         (__gnu_Unwind_Resume): Likewise.
9687 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
9689         * config/alpha/linux-unwind.h: Update copyright years.
9690         (MD_FROB_UPDATE_CONTEXT): New define.
9691         (alpha_frob_update_context): New function.
9693 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
9695         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
9696         tmake_file rather replacing it.
9698 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
9700         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
9701         function is not used for PPC64.
9702         (save_world): Amend comments.  Update the VRsave mask to reflect the
9703         saved regs.
9704         (rest_world): Update comments, do not  clobber r10, do not use r8.
9705         (eh_rest_world_r10): Amend comments, do not use r8.
9706         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
9707         no longer used, move restore of CR and target address to the end of
9708         the routine.
9710 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
9712         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
9713         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
9715 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
9717         PR target/49313
9718         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
9719         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
9721 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
9723         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
9725 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
9727         PR target/49313
9728         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
9729         * config/avr/lib1funcs.S (__muldi3): New function.
9731 2011-12-06  Andrew Pinski  <apinski@cavium.com>
9733         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
9734         size of func_ptr.
9735         (__frame_dummy_init_array_entry): Likewise.
9737 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
9739         Forward-port from gcc-4_6-branch r181936 2011-12-02.
9741         PR target/51345
9742         PR target/51002
9743         * config/avr/lib1funcs.S (__prologue_saves__,
9744         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
9745         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
9747 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
9749         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
9751 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
9753         PR other/51272
9754         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
9755         (_ITM_deregisterTMCloneTable): Likewise.
9756         (__register_frame_info): Fix unused warning.
9757         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
9758         pthread_default_stacksize_np): Likewise.
9759         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
9761 2011-11-29  DJ Delorie  <dj@redhat.com>
9763         * config.host (rl78-*-elf): New case.
9764         * config/rl78: New directory for the Renesas RL78.
9766 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
9768         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
9769         formatting.
9771 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9773         PR other/51022
9774         * config/rs6000/t-savresfgpr: New file.
9775         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
9776         $(srcdir)/config/rs6000/eabi.S.
9777         * config/rs6000/t-ppccomm-ldbl: Remove.
9778         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
9779         tmake_file.
9780         (powerpc-*-eabispe*): Likewise.
9781         (powerpc-*-eabi*): Likewise.
9782         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9783         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
9784         to tmake_file, remove rs6000/t-ppccomm-ldbl.
9785         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
9786         tmake_file.
9787         (powerpc-*-eabisim*): Likewise.
9788         (powerpc-*-elf*): Likewise.
9789         (powerpc-*-eabialtivec*): Likewise.
9790         (powerpc-xilinx-eabi*): Likewise.
9791         (powerpc-*-rtems*): Likewise.
9792         (powerpcle-*-elf*): Likewise.
9793         (powerpcle-*-eabisim*): Likewise.
9794         (powerpcle-*-eabi*): Likewise.
9796 2011-11-27  Ian Lance Taylor  <iant@google.com>
9798         * generic-morestack.c (__splitstack_find): Check for NULL old
9799         stack value.
9800         (__splitstack_resetcontext): New function.
9801         (__splitstack_releasecontext): New function.
9802         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9804 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
9806         * config/darwin-crt-tm.c: Correct comments, use correct licence.
9808 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
9810         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
9812 2011-11-26  Richard Henderson  <rth@redhat.com>
9814         * config/m68k/linux-atomic.c: New file.
9815         * config/m68k/t-linux: New file.
9816         * config.host (m68k-uclinux, m68k-linux): Use it.
9818 2011-11-26  Richard Henderson  <rth@redhat.com>
9820         * crtstuff.c (__TMC_LIST__): Mark used not unused.
9821         (__TMC_END__): Only declare if hidden is available; in the definition,
9822         if hidden is unavailable add a null record.
9823         (deregister_tm_clones, register_tm_clones): New.
9824         (__do_global_dtors_aux, frame_dummy): Use them.
9825         (__do_global_dtors, __do_global_ctors_1): Likewise.
9827 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
9829         * config/darwin-crt-tm.c: New file.
9830         * config.host (darwin): Build crttms.o crttme.o to provide
9831         startup and shutdown for tm clones.
9832         * config/t-darwin (crttms.o): New build rule.
9833         (crttme.o): Likewise.
9835 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
9837         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
9838         et al.
9840 2011-11-21  Richard Henderson  <rth@redhat.com>
9842         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
9843         (__TMC_LIST__, __TMC_END__): New.
9844         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
9845         (__do_global_dtors): Likewise.
9846         (frame_dummy): Call _ITM_registerTMCloneTable.
9847         (__do_global_ctors_1): Likewise.
9849 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9851         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
9852         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9853         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
9854         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
9855         * config/i386/t-darwin64: Remove.
9856         * config/sh/t-netbsd (LIB2ADD): Remove.
9858 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
9860         PR target/49313
9861         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
9862         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
9863         * config/avr/lib1funcs.S (wmov): New assembler macro.
9864         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
9865         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
9866         (__udivmod64): New function.
9867         (__negdi2): New function.
9869 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
9871         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
9872         *-*-freebsd*aout*): Remove.
9874 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
9876         * static-object.mk (c_flags-$o): Save c_flags.
9877         ($(base)$(objext)): Use it.
9879 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
9881         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
9883 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
9885         PR target/49868
9886         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
9887         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
9888         New functions.
9890 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
9892         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
9893         functions.
9894         (aeabi_uidivmod): Likewise.
9895         (umodsi3): Likewise.
9896         (divsi3): Likewise.
9897         (aeabi_idivmod): Likewise.
9898         (modsi3): Likewise.
9900 2011-11-16  Tristan Gingold  <gingold@adacore.com>
9902         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
9904 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
9906         PR target/49868
9907         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
9908         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
9910 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
9912         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
9913         tmake_file list.
9914         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
9915         * config/pa/t-stublib64: Delete.
9917 2011-11-12  Richard Henderson  <rth@redhat.com>
9919         * config/rs6000/linux-unwind.h (frob_update_context): Properly
9920         cast the pointer argument to _Unwind_SetGRPtr.
9922 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9924         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
9926 2011-11-09  Ian Lance Taylor  <iant@google.com>
9928         * generic-morestack.c: Include <string.h>.
9929         (uintptr_type): Define.
9930         (struct initial_sp): Add dont_block_signals field.  Reduce size of
9931         extra array by 1.
9932         (allocate_segment): Set prev field to NULL.  Don't set
9933         __morestack_current_segment or __morestack_segments.
9934         (__generic_morestack): Update current->prev and *pp after calling
9935         allocate_segment.
9936         (__morestack_block_signals): Don't do anything if
9937         dont_block_signals is set.
9938         (__morestack_unblock_signals): Likewise.
9939         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
9940         uintptr_type.
9941         (__splitstack_block_signals): New function.
9942         (enum __splitstack_content_offsets): Define.
9943         (__splitstack_getcontext, __splitstack_setcontext): New functions.
9944         (__splitstack_makecontext): New function.
9945         (__splitstack_block_signals_context): New function.
9946         (__splitstack_find_context): New function.
9947         * config/i386/morestack.S (__morestack_get_guard): New function.
9948         (__morestack_set_guard, __morestack_make_guard): New functions.
9949         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9951 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9953         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
9954         (i[34567]86-*-mingw*): ... here.
9955         (x86_64-*-mingw*): ... here.
9957 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9959         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
9961 2011-11-07  Nathan Sidwell  <nathan@acm.org>
9963         * libgcov.c (struct gcov_fn_buffer): New struct.
9964         (buffer_fn_data): New helper.
9965         (gcov_exit): Rework for new gcov data structures.
9967 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
9969         PR target/49313
9970         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
9972 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9974         * config.host (tmake_file): Correct comment.
9975         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
9976         t-libgcc-pic.
9977         (bfin*-uclinux*): Likewise.
9978         (bfin*-linux-uclibc*): Likewise.
9979         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
9981         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
9982         assigning.
9983         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9984         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
9985         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9986         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
9987         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9988         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
9989         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
9990         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9991         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
9992         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
9993         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
9994         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
9995         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
9997         * config/bfin/t-elf: Remove.
9998         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
10000 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10002         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
10003         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
10004         (lm32-*-elf*, lm32-*-rtems*): Split into ...
10005         (lm32-*-elf*): ... this.
10006         (lm32-*-rtems*): ... and this.
10007         Add to tmake_file.
10008         (m32r-*-rtems*): Add to tmake_file.
10009         (moxie-*-rtems*): Likewise.
10010         (sparc-*-rtems*): Likewise.
10011         Remove t-rtems from tmake_file.
10012         (sparc64-*-rtems*): Likewise.
10013         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
10014         instead.
10016 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10018         PR bootstrap/50982
10019         * config/gthr-posix.h: Move ...
10020         * gthr-posix.h: ... here.
10021         * config/gthr-lynx.h: Reflect this.
10022         * config/gthr-vxworks.h: Likewise.
10023         * config/rs6000/gthr-aix.h: Likewise.
10024         * configure.ac (target_thread_file): Likewise.
10025         * configure: Regenerate.
10027 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
10029         * config.host (arm*-*-rtemseabi*): New target.
10031 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
10033         PR other/50991
10034         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
10035         extra-parts.
10037 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
10039         * config.host (epiphany-*-elf*): New configuration.
10040         * config/epiphany: New Directory.
10042 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
10044         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
10045         * config/avr/t-rtems: New.
10046         Filter out _exit from LIB1ASMFUNCS.
10048 2011-11-04  David S. Miller  <davem@davemloft.net>
10050         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
10051         * configure: Rebuild.
10053 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10055         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
10056         variable.
10058 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
10060         PR target/50931
10061         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
10062         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
10064 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
10066         PR target/50989
10067         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
10069 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10071         * config/c6x/t-elf (LIB2ADDEH): Set.
10072         * config/c6x/t-c6x-elf: Remove.
10074 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10076         * config/i386/sol2-ci.S: Rename to ...
10077         * config/i386/crti.S: ... this.
10078         * config/i386/sol2-cn.S: Rename to ...
10079         * config/i386/crtn.S: ... this.
10080         * config/sparc/sol2-ci.S: Rename to ...
10081         * config/sparc/crti.S: ... this.
10082         * config/sparc/sol2-cn.S: Rename to ...
10083         * config/sparc/crtn.S: ... this.
10084         * config/t-sol2 (CUSTOM_CRTIN): Remove.
10085         (crti.o, crtn.o): Remove.
10087 2011-11-04  Tristan Gingold  <gingold@adacore.com>
10089         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
10091 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
10093         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
10095 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
10097         * config.host (crisv32-*-none, cris-*-none): Remove.
10098         (crisv32-*-elf): Append to tmake_file, don't just set it.
10099         (cris-*-elf): Add missing t-fdpbit to tmake_file.
10101 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10103         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
10104         (ecrtn$(objext)): Likewise.
10105         (ncrti$(objext)): Likewise.
10106         (ncrtn$(objext)): Likewise.
10108 2011-11-03  Andreas Schwab  <schwab@redhat.com>
10110         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
10112 2011-11-02  David S. Miller  <davem@davemloft.net>
10114         * configure.ac: Set host_address on sparc too.
10115         * configure: Regenerate.
10116         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
10117         based upon host_address.
10118         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
10120 2011-11-02  Jason Merrill  <jason@redhat.com>
10122         * config/rs6000/t-ppccomm: Add missing \.
10124 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10126         * gthr-single.h, gthr.h: New files.
10127         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
10128         config/gthr-vxworks.h, config/i386/gthr-win32.h,
10129         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
10130         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
10131         * config/i386/gthr-win32.c: Include "gthr-win32.h".
10132         * configure.ac (thread_header): New variable.
10133         Set it depending on target_thread_file.
10134         (gthr-default.h): Link from $thread_header.
10135         * configure: Regenerate.
10136         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
10138 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10140         * configure.ac (tm_file_): New variable.
10141         Determine from tm_file.
10142         (tm_file, tm_defines): Substitute.
10143         * configure: Regenerate.
10144         * mkheader.sh: New file.
10145         * Makefile.in (clean): Remove libgcc_tm.h.
10146         ($(objects)): Depend on libgcc_tm.h.
10147         (libgcc_tm_defines, libgcc_tm_file): New variables.
10148         (libgcc_tm.h, libgcc_tm.stamp): New targets.
10149         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
10150         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
10151         ($(extra-parts)): Depend on libgcc_tm.h.
10152         * config.host (tm_defines, tm_file): New variable.
10153         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
10154         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
10155         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
10156         (avr-*-rtems*): Likewise.
10157         (avr-*-*): Likewise.
10158         (frv-*-elf): Likewise.
10159         (frv-*-*linux*): Likewise.
10160         (h8300-*-rtems*): Likewise.
10161         (h8300-*-elf*): Likewise.
10162         (i[34567]86-*-darwin*): Likewise.
10163         (x86_64-*-darwin*): Likewise.
10164         (rx-*-elf): Likewise.
10165         (tic6x-*-uclinux): Likewise.
10166         (tic6x-*-elf): Likewise.
10167         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
10168         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
10169         * config/i386/cygming-crtbegin.c: Likewise.
10170         * config/i386/cygming-crtend.c: Likewise.
10171         * config/ia64/fde-vms.c: Likewise.
10172         * config/ia64/unwind-ia64.c: Likewise.
10173         * config/libbid/bid_gcc_intrinsics.h: Likewise.
10174         * config/rs6000/darwin-fallback.c: Likewise.
10175         * config/stormy16/lib2funcs.c: Likewise.
10176         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
10177         * crtstuff.c: Likewise.
10178         * dfp-bit.h: Likewise.
10179         * emutls.c: Likewise.
10180         * fixed-bit.c: Likewise.
10181         * fp-bit.c: Likewise.
10182         * generic-morestack-thread.c: Likewise.
10183         * generic-morestack.c: Likewise.
10184         * libgcc2.c: Likewise.
10185         * libgcov.c: Likewise.
10186         * unwind-dw2-fde-dip.c: Likewise.
10187         * unwind-dw2-fde.c: Likewise.
10188         * unwind-dw2.c: Likewise.
10189         * unwind-sjlj.c: Likewise.
10191 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10193         * configure.ac: Include ../config/picflag.m4.
10194         (GCC_PICFLAG): Call it.
10195         Substitute.
10196         * configure: Regenerate.
10197         * Makefile.in (gcc_srcdir): Remove.
10198         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
10199         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
10200         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
10201         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
10202         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
10203         Use $<.
10204         Remove comment.
10205         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
10206         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
10207         to refer to libgcc2.c.
10208         Use $<.
10209         * config/darwin-64.c: New file.
10210         * config/darwin-crt3.c: Remove comment.
10211         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
10212         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
10213         config/udivmodsi4.c: New files.
10214         * config/memcmp.c, config/memcpy.c, config/memmove.c,
10215         config/memset.c: New files.
10216         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
10217         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
10218         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
10219         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
10220         * config/t-openbsd-thread: New file.
10221         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
10222         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
10223         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
10224         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
10225         qrnnd.S.
10226         Adapt filename.
10227         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
10228         to refer to gthr-posix.c.
10229         * config/alpha/t-vms (LIB2ADD): Set.
10230         * config/alpha/vms-gcc_shell_handler.c: New file.
10231         * config/arm/bpabi.c, config/arm/fp16.c,
10232         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
10233         config/arm/unaligned-funcs.c: New files.
10234         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
10235         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10236         * config/arm/t-linux: Likewise.
10237         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
10238         * config/arm/t-netbsd: New file.
10239         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
10240         * config/arm/t-symbian (LIB2ADD_ST): Set.
10241         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
10242         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10243         * config/bfin/t-elf: New file.
10244         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
10245         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
10246         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
10247         config/c6x/ltf.c: New files.
10248         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
10249         (HOST_LIBGCC2_CFLAGS): Set.
10250         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
10251         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10252         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
10253         New files.
10254         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
10255         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
10256         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
10257         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
10258         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
10259         files.
10260         * config/frv/t-frv (LIB2ADD): Set.
10261         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10262         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
10263         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
10264         config/h8300/popcounthi2.c: New files.
10265         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10266         * config/i386/gthr-win32.c: New file.
10267         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
10268         * config/i386/t-cygwin: Likewise.
10269         * config/i386/t-darwin, config/i386/t-darwin64,
10270         config/i386/t-gthr-win32, config/i386/t-interix: New files.
10271         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
10272         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10273         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10274         * config/ia64/quadlib.c: New file.
10275         * config/ia64/t-hpux (LIB2ADD): Set.
10276         * config/ia64/t-ia64: Add comment.
10277         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
10278         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10279         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
10280         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
10281         * config/m32c/t-m32c (LIB2ADD): Set.
10282         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10283         * config/m32r/t-m32r: Likewise.
10284         * config/m68k/fpgnulib.c: New file.
10285         * config/m68k/t-floatlib (LIB2ADD): Set.
10286         (xfgnulib.c): New target.
10287         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
10288         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
10289         * config/mep/t-mep (LIB2ADD): Set.
10290         * config/microblaze/divsi3.asm: Rename to divsi3.S.
10291         * config/microblaze/moddi3.asm: Rename to moddi3.S.
10292         * config/microblaze/modsi3.asm: Rename to modsi3.S.
10293         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
10294         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
10295         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
10296         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
10297         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
10298         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
10299         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
10300         New files.
10301         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
10302         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
10303         * config/pa/fptr.c, config/pa/lib2funcs.S,
10304         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
10305         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10306         (LIB2ADD, LIB2ADD_ST): Set.
10307         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
10308         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
10309         Set.
10310         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
10311         * config/pdp11/t-pdp11: New file.
10312         * config/picochip/libgccExtras/adddi3.S,
10313         config/picochip/libgccExtras/ashlsi3.S,
10314         config/picochip/libgccExtras/ashrsi3.S,
10315         config/picochip/libgccExtras/clzsi2.S,
10316         config/picochip/libgccExtras/cmpsi2.S,
10317         config/picochip/libgccExtras/divmod15.S,
10318         config/picochip/libgccExtras/divmodhi4.S,
10319         config/picochip/libgccExtras/divmodsi4.S,
10320         config/picochip/libgccExtras/lshrsi3.S,
10321         config/picochip/libgccExtras/parityhi2.S,
10322         config/picochip/libgccExtras/popcounthi2.S,
10323         config/picochip/libgccExtras/subdi3.S,
10324         config/picochip/libgccExtras/ucmpsi2.S,
10325         config/picochip/libgccExtras/udivmodhi4.S,
10326         config/picochip/libgccExtras/udivmodsi4.S: New files.
10327         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
10328         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
10329         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
10330         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
10331         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
10332         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
10333         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
10334         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
10335         files.
10336         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
10337         (HOST_LIBGCC2_CFLAGS): Set.
10338         * config/rs6000/t-darwin64: New file.
10339         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
10340         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
10341         * config/rs6000/t-ppccomm (LIB2ADD): Add
10342         $(srcdir)/config/rs6000/tramp.S.
10343         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
10344         Add  $(srcdir)/config/rs6000/eabi.S.
10345         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
10346         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
10347         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
10348         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
10349         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
10350         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
10351         * config/rs6000/tramp.S: New file.
10352         * config/s390/t-tpf: Remove.
10353         * config/sh/linux-atomic.S: New file.
10354         * config/sh/t-linux (LIB2ADD): Set.
10355         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
10356         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10357         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
10358         to unwind-dw2.c.
10359         (HOST_LIBGCC2_CFLAGS): Set.
10360         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10361         * config/spu/divmodti4.c, config/spu/divv2df3.c,
10362         config/spu/float_disf.c, config/spu/float_unsdidf.c,
10363         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
10364         config/spu/mfc_multi_tag_release.c,
10365         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
10366         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
10367         config/spu/multi3.c: New files.
10368         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
10369         (HOST_LIBGCC2_CFLAGS): Set.
10370         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
10371         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
10372         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
10373         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
10374         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
10375         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
10376         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
10377         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
10378         config/stormy16/umodsi3.c: New files.
10379         * config/xtensa/lib2funcs.S: New file.
10380         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10381         * config/xtensa/t-xtensa (LIB2ADD): Set.
10382         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
10383         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
10384         Add t-freebsd-thread to tmake_file for posix threads.
10385         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
10386         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
10387         (*-*-lynxos*): Likewise.
10388         (*-*-netbsd*): Likewise.
10389         (*-*-openbsd*): Likewise.
10390         Add t-openbsd-thread to tmake_file for posix threads.
10391         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
10392         (*-*-vxworks*): Set tmake_file.
10393         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10394         (alpha*-*-freebsd*): Likewise.
10395         (alpha*-*-netbsd*): Likewise.
10396         (alpha*-*-openbsd*): Likewise.
10397         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
10398         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10399         (alpha*-dec-*vms*): Likewise.
10400         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
10401         (bfin*-elf*): Add bfin/t-elf to tmake_file.
10402         (bfin*-uclinux*): Likewise.
10403         (bfin*-linux-uclibc*): Likewise.
10404         (crisv32-*-elf): Add cris/t-cris to tmake_file.
10405         (crisv32-*-none): Likewise.
10406         (cris-*-elf): Likewise.
10407         (cris-*-none): Likewise.
10408         (cris-*-linux*, crisv32-*-linux*): Likewise.
10409         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
10410         tmake_file.
10411         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
10412         tmake_file.
10413         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
10414         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
10415         (x86_64-*-elf*): Likewise.
10416         (i[34567]86-*-nto-qnx*): Likewise.
10417         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
10418         win32 threads.
10419         (x86_64-*-mingw*): Likewise.
10420         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
10421         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
10422         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10423         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10424         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
10425         tmake_file.
10426         (mipsisa64sr71k-*-elf*): Likewise.
10427         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10428         (mips-*-elf*, mipsel-*-elf*): Likewise.
10429         (mips64-*-elf*, mips64el-*-elf*): Likewise.
10430         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10431         (mips*-*-rtems*): Likewise.
10432         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
10433         to tmake_file.
10434         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
10435         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
10436         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
10437         (spu-*-elf*): Likewise.
10438         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
10440 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10442         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
10443         $(srcdir) to refer to $(LIB1ASMSRC).
10444         Use $<.
10445         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
10446         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
10447         config/arm/lib1funcs.S: New files.
10448         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
10449         * config/arm/t-arm: New file.
10450         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
10451         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
10452         config/arm/t-strongarm-elf: New files.
10453         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
10454         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
10455         * config/avr/lib1funcs.S: New file.
10456         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10457         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
10458         * config/c6x/lib1funcs.S: New file.
10459         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10460         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
10461         * config/frv/lib1funcs.S: New file.
10462         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10463         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
10464         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
10465         * config/ia64/__divxf3.asm: Rename to ...
10466         * config/ia64/__divxf3.S: ... this.
10467         Adapt lib1funcs.asm filename.
10468         * config/ia64/_fixtfdi.asm: Rename to ...
10469         * config/ia64/_fixtfdi.S: ... this.
10470         Adapt lib1funcs.asm filename.
10471         * config/ia64/_fixunstfdi.asm: Rename to ...
10472         * config/ia64/_fixunstfdi.S: ... this.
10473         Adapt lib1funcs.asm filename.
10474         * config/ia64/_floatditf.asm: Rename to ...
10475         * config/ia64/_floatditf.S: ... this.
10476         Adapt lib1funcs.asm filename.
10477         * config/ia64/lib1funcs.S: New file.
10478         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
10479         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10480         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
10481         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
10482         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
10483         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
10484         * config/mep/lib1funcs.S: New file.
10485         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10486         * config/mips/mips16.S: New file.
10487         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10488         * config/pa/milli64.S: New file.
10489         * config/pa/t-linux, config/pa/t-linux64: New files.
10490         * config/picochip/lib1funcs.S: New file.
10491         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10492         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
10493         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
10494         * config/sh/t-netbsd: New file.
10495         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
10496         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
10497         * config/sh/t-sh64: New file.
10498         * config/sparc/lb1spc.S: New file.
10499         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
10500         filename.
10501         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
10502         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
10503         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
10504         config/xtensa/lib1funcs.S: New files.
10505         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10506         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
10507         tmake_file.
10508         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
10509         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
10510         (arm*-*-linux*): Likewise.
10511         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
10512         arm*-*-linux-*eabi, add arm/t-linux otherwise.
10513         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
10514         (arm*-*-ecos-elf): Likewise.
10515         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10516         (arm*-*-rtems*): Likewise.
10517         (arm*-*-elf): Likewise.
10518         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
10519         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
10520         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
10521         (bfin*-uclinux*): Likewise.
10522         (bfin*-linux-uclibc*): Likewise.
10523         (bfin*-rtems*): Likewise.
10524         (bfin*-*): Likewise.
10525         (fido-*-elf): Merge into m68k-*-elf*.
10526         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
10527         (frv-*-*linux*): Add frv/t-frv to tmake_file.
10528         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
10529         (h8300-*-elf*): Likewise.
10530         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
10531         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
10532         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
10533         (i[34567]86-*-mingw*): Likewise.
10534         (x86_64-*-mingw*): Likewise.
10535         (i[34567]86-*-interix3*): Likewise.
10536         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
10537         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
10538         (m68k-*-elf*): Also handle fido-*-elf.
10539         Add m68k/t-floatlib to tmake_file.
10540         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
10541         (m68k-*-linux*): Likewise.
10542         (m68k-*-rtems*): Likewise.
10543         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
10544         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
10545         sh64*-*-*.
10546         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
10547         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
10548         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
10549         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
10550         sh/t-netbsd to tmake_file.
10551         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
10552         (sh-*-rtems*): Add sh/t-sh to tmake_file.
10553         (sh-wrs-vxworks): Likewise.
10554         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
10555         *-leon[3-9]*.
10556         (v850*-*-*): Add v850/t-v850 to tmake_file.
10557         (vax-*-linux*): Add vax/t-linux to tmake_file.
10558         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
10560 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10562         * crtstuff.c: New file.
10563         * Makefile.in (CRTSTUFF_CFLAGS): Define.
10564         (CRTSTUFF_T_CFLAGS): Define.
10565         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
10566         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
10567         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
10568         crtstuff.c.
10569         Use $<.
10570         (crtbeginT.o): Use $(objext).
10571         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
10572         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
10573         (gcc-extra-parts): Remove.
10574         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
10575         Set extra_parts.
10576         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10577         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
10578         Add t-crtstuff-pic to tmake_file.
10579         (*-*-lynxos*): New case.
10580         Set tmake_file, extra_parts.
10581         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
10582         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
10583         *-*-netbsdelf[2-9]*.
10584         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
10585         (*-*-rtems*): Set extra_parts.
10586         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
10587         (*-*-uclinux*): New case.
10588         Set extra_parts.
10589         (*-*-vms*): New case.
10590         Set tmake_file, extra_parts.
10591         (*-*-elf): Set extra_parts.
10592         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
10593         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
10594         vms/t-vms64.
10595         Set extra_parts.
10596         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
10597         Set extra_parts.
10598         (arm*-*-freebsd*): Add t-crtin to tmake_file.
10599         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
10600         (arm-wrs-vxworks): Append to tmake_file.
10601         Set extra_parts.
10602         (arm*-*-uclinux*): Set extra_parts.
10603         (arm*-*-ecos-elf): Likewise.
10604         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
10605         arm*-*-eabi*.
10606         (arm*-*-rtems*): Set extra_parts.
10607         (arm*-*-elf): Likewise.
10608         (avr-*-rtems*): Clear extra_parts.
10609         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
10610         Set extra_parts.
10611         (bfin*-uclinux*): Likewise.
10612         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
10613         (bfin*-rtems*): Append to tmake_file.
10614         Set extra_parts.
10615         (bfin*-*): Likewise.
10616         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
10617         (crisv32-*-elf): ... this.
10618         (crisv32-*-none): ... this.
10619         (cris-*-elf, cris-*-none): New cases.
10620         Add cris/t-elfmulti to tmake_file.
10621         (fr30-*-elf): Append to tmake_file.
10622         Set extra_parts.
10623         (frv-*-elf): Append to tmake_file, add frv/t-frv.
10624         Set extra_parts.
10625         (h8300-*-rtems*): Append to tmake_file.
10626         Set extra_parts.
10627         (h8300-*-elf*): Likewise.
10628         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
10629         Set extra_parts.
10630         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
10631         Set extra_parts.
10632         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
10633         (x86_64-*-elf*): Likewise.
10634         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
10635         (x86_64-*-freebsd*): Likewise.
10636         (x86_64-*-netbsd*): Likewise.
10637         (i[34567]86-*-linux*): Likewise.
10638         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10639         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10640         (x86_64-*-linux*): Likewise.
10641         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10642         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
10643         tmake_file.
10644         Set extra_parts.
10645         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
10646         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
10647         Append to extra_parts, remove crtbegin.o, crtend.o.
10648         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
10649         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
10650         crtend.o, crtbeginS.o, crtendS.o.
10651         (ia64*-*-linux*): Comment extra_parts.
10652         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
10653         Set extra_parts.
10654         (iq2000*-*-elf*): Clear extra_parts.
10655         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
10656         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
10657         (m32r-*-elf*, m32r-*-rtems*): Split off ...
10658         (m32r-*-rtems*): ... this.
10659         Add m32r/t-m32r to tmake_file.
10660         (m68k-*-elf*): Add t-crtin to tmake_file.
10661         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
10662         (mcore-*-elf): Likewise.
10663         (microblaze*-*-*): Set extra_parts.
10664         (mips*-sde-elf*): New case.
10665         Set tmake_file, extra_parts.
10666         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10667         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10668         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
10669         tmake_file.
10670         Set extra_parts.
10671         (mipsisa64sr71k-*-elf*): Likewise.
10672         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10673         (mips-*-elf*, mipsel-*-elf*): Likewise.
10674         (mips64-*-elf*, mips64el-*-elf*): Likewise.
10675         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
10676         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
10677         (mips*-*-rtems*): Likewise.
10678         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
10679         (moxie-*-*): Split into ...
10680         (moxie-*-elf, moxie-*-uclinux*): ... this.
10681         Add to extra_parts, remove crtbegin.o, crtend.o.
10682         (moxie-*-rtems*): New case.
10683         Set tmake_file.
10684         Clear extra_parts.
10685         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
10686         Set extra_parts.
10687         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10688         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
10689         tmake_file.
10690         Set extra_parts.
10691         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
10692         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
10693         Set extra_parts.
10694         (powerpc-*-eabisim*): Likewise.
10695         (powerpc-*-elf*): Likewise.
10696         (powerpc-*-eabialtivec*): Likewise.
10697         (powerpc-xilinx-eabi*): Likewise.
10698         (powerpc-*-eabi*): Likewise.
10699         (powerpc-*-rtems*): Likewise.
10700         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
10701         tmake_file.
10702         Set extra_parts.
10703         (powerpc-*-lynxos*): Add to tmake_file.
10704         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
10705         rs6000/t-crtstuff, t-crtstuff-pic.
10706         Set extra_parts.
10707         (powerpcle-*-eabisim*): Likewise.
10708         (powerpcle-*-eabi*): Likewise.
10709         (rx-*-elf): Remove extra_parts.
10710         (s390x-ibm-tpf*): Set extra_parts.
10711         (score-*-elf): Set extra_parts.
10712         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10713         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10714         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10715         (sh64l*-*-netbsd*): Split into ...
10716         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
10717         Add t-crtstuff-pic to tmake_file.
10718         Set extra_parts.
10719         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
10720         Set extra_parts.
10721         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
10722         (sparc-*-elf*): Remove t-crtin from tmake_file.
10723         Add to extra_parts, remove crtbegin.o, crtend.o.
10724         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
10725         (sparc64-*-linux*): Likewise.
10726         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
10727         Add to extra_parts, remove crtbegin.o, crtend.o.
10728         (sparc64-*-elf*): Remove t-crtin from tmake_file.
10729         Add to extra_parts, remove crtbegin.o, crtend.o.
10730         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
10731         Add to extra_parts, remove crtbegin.o, crtend.o.
10732         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
10733         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
10734         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
10735         Set extra_parts.
10736         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
10737         Set extra_parts.
10738         (tic6x-*-*): Change to ...
10739         (tic6x-*-elf): ... this.
10740         Set extra_parts.
10741         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
10742         Set extra_parts.
10743         (am33_2.0-*-linux*): Add comment.
10744         (mep*-*-*): Add mep/t-mep to tmake_file.
10745         Set extra_parts.
10746         * config/alpha/t-vms: New file.
10747         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
10748         * config/arm/crti.S, config/arm/crtn.S: New files.
10749         * config/bfin/crti.S, config/bfin/crtn.S: New files.
10750         * config/bfin/crtlibid.S: New file.
10751         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
10752         * config/c6x/crti.S, config/c6x/crtn.S: New files.
10753         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
10754         (crti.o, crtin.o): New rules.
10755         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10756         * config/c6x/t-uclinux: New file.
10757         * config/cris/t-elfmulti: New file.
10758         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
10759         * config/fr30/crti.S, config/fr30/crtn.S: New files.
10760         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
10761         * config/frv/t-frv: New file.
10762         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
10763         * config/h8300/crti.S, config/h8300/crtn.S: New files.
10764         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
10765         New files.
10766         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
10767         refer to cygming-crtbegin.c, cygming-crtend.c.
10768         Use $<.
10769         * config/i386/t-nto: New file.
10770         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
10771         * config/ia64/crti.S, config/ia64/crtn.S: New files.
10772         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
10773         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
10774         Use .S extension.
10775         Use $<.
10776         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10777         (crtinitS.o): New rule.
10778         * config/ia64/vms-crtinit.S: New file.
10779         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
10780         * config/m32r/initfini.c: New file.
10781         * config/m32r/t-linux, config/m32r/t-m32r: New files.
10782         * config/m68k/crti.S, config/m68k/crtn.S: New files.
10783         * config/mcore/crti.S, config/mcore/crtn.S: New files.
10784         * config/mep/t-mep: New file.
10785         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
10786         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
10787         * config/mips/crti.S, config/mips/crtn.S: New files.
10788         * config/mips/t-crtstuff: New file.
10789         * config/mmix/crti.S, config/mmix/crtn.S: New files.
10790         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
10791         (CUSTOM_CRTIN): Set.
10792         ($(T)crti.o, $(T)crtn.o): Remove $(T),
10793         dependencies.
10794         Use $(srcdir) to refer to crti.S, crtn.S.
10795         Use .S extension, $<.
10796         * config/moxie/crti.asm: Rename to ...
10797         * config/moxie/crti.S: ... this.
10798         * config/moxie/crtn.asm: Rename to ...
10799         * config/moxie/crtn.S: ... this.
10800         * config/moxie/t-moxie: Remove.
10801         * config/pa/stublib.c: New file.
10802         * config/pa/t-stublib, config/pa/t-stublib64: New files.
10803         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
10804         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
10805         * config/rs6000/t-crtstuff: New file.
10806         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
10807         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
10808         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
10809         Make output file explicit.
10810         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
10811         Make output file explicit.
10812         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
10813         Make output file explicit.
10814         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
10815         Make output file explicit.
10816         * config/score/crti.S, config/score/crtn.S: New files.
10817         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
10818         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
10819         files.
10820         * config/sh/t-sh, config/sh/t-superh: New files.
10821         * config/sparc/t-linux64: New file.
10822         * config/spu/cache.S, config/spu/cachemgr.c: New files.
10823         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
10824         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
10825         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
10826         * config/t-crtin: Remove.
10827         * config/t-crtstuff-pic: New file.
10828         * config/t-sol2 (CUSTOM_CRTIN): Set.
10829         (crti.o, crtn.o): New rules.
10830         * config/vms/t-vms: New file.
10831         * config/vms/vms-ucrt0.c: New file.
10832         * config/xtensa/t-elf: New file.
10834 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10836         * Makefile.in (SHLIB_NM_FLAGS): Set.
10837         * mkmap-flat.awk, mkmap-symver.awk: New files.
10838         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
10839         exceptions.
10840         * configure: Regenerate.
10841         * config/libgcc-glibc.ver: New file.
10842         * config/libgcc-libsystem.ver: New file.
10843         * config/t-libunwind (SHLIB_LC): Set.
10844         * config/t-linux: New file.
10845         * config/t-slibgcc (INSTALL_SHLIB): New.
10846         (SHLIB_INSTALL): Use it.
10847         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
10848         to mkmap-symver.awk.
10849         (SHLIB_MAPFILES): Don't append, adapt pathname.
10850         (SHLIB_VERPFX): Set.
10851         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
10852         to mkmap-symver.awk.
10853         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
10854         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
10855         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
10856         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
10857         to mkmap-flat.awk.
10858         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
10859         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
10860         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
10861         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
10862         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
10863         * config/i386/libgcc-darwin.10.4.ver,
10864         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
10865         New files.
10866         * config/i386/t-darwin: Remove.
10867         * config/i386/t-darwin64: Likewise.
10868         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
10869         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
10870         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
10871         * config/i386/t-linux: New file.
10872         * config/i386/t-mingw32: New file.
10873         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
10874         * config/ia64/t-glibc: Rename to ...
10875         * config/ia64/t-linux: ... this.
10876         (SHLIB_MAPFILES): Set.
10877         * config/ia64/t-glibc-libunwind: Rename to ...
10878         * config/ia64/t-linux-libunwind: ... this.
10879         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
10880         * config/ia64/t-slibgcc-hpux: New file.
10881         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
10882         * config/m68k/t-slibgcc-elf-ver: New file.
10883         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
10884         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
10885         to mkmap-flat.awk.
10886         * config/pa/t-slibgcc-hpux: New file.
10887         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
10888         files.
10889         * config/rs6000/libgcc-darwin.10.4.ver,
10890         config/rs6000/libgcc-darwin.10.5.ver: New files.
10891         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
10892         config/rs6000/libgcc-glibc.ver.
10893         * config/rs6000/libgcc-ppc64.ver: Rename to
10894         config/rs6000/libgcc-ibm-ldouble.ver.
10895         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
10896         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
10897         * config/rs6000/t-ldbl128: Rename to ...
10898         * config/rs6000/t-linux: ... this.
10899         (SHLIB_MAPFILES): Adapt filename.
10900         * config/rs6000/t-slibgcc-aix: New file.
10901         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
10902         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
10903         libgcc-excl.ver, libgcc-glibc.ver.
10904         (SHLIB_LINK, SHLIB_INSTALL): Remove.
10905         * config/sparc/libgcc-glibc.ver: New file.
10906         * config/sparc/t-linux: New file.
10907         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
10908         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
10909         t-slibgcc-elf-ver to tmake_file.
10910         Add t-slibgcc-nolc-override to tmake_file for posix threads on
10911         *-*-freebsd[34].
10912         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10913         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
10914         t-slibgcc-elf-ver, t-linux to tmake_file.
10915         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
10916         tmake_file.
10917         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
10918         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
10919         (alpha*-dec-*vms*): Likewise.
10920         (arm*-*-freebsd*): Append to tmake_file.
10921         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
10922         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
10923         arm*-*-linux-*eabi.
10924         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
10925         tmake_file for arm*-*-symbianelf*.
10926         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
10927         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
10928         cris/t-linux.
10929         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
10930         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
10931         pa/t-slibgcc-dwarf-ver to tmake_file.
10932         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
10933         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
10934         (hppa*64*-*-hpux11*): Likewise.
10935         (hppa[12]*-*-hpux11*): Likewise.
10936         (x86_64-*-darwin*): Don't override tmake_file, but only keep
10937         i386/t-crtpc, i386/t-crtfm.
10938         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
10939         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10940         to tmake_file.
10941         Add i386/t-cygwin to tmake_file.
10942         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
10943         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
10944         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10945         to tmake_file.
10946         Add i386/t-mingw32 to tmake_file.
10947         (x86_64-*-mingw*): Likewise.
10948         (ia64*-*-freebsd*): Append to tmake_file.
10949         (ia64*-*-linux*): Append to tmake_file.
10950         Replace ia64/t-glibc by ia64/t-linux.
10951         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
10952         system libunwind.
10953         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
10954         t-slibgcc-hpux to tmake_file.
10955         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
10956         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
10957         (m32rle-*-linux*): Likewise.
10958         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
10959         sjlj exceptions.
10960         (microblaze*-linux*): New case.
10961         Append to tmake_file, add t-slibgcc-nolc-override.
10962         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
10963         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10964         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
10965         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10966         rs6000/t-slibgcc-aix to tmake_file.
10967         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10968         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10969         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10970         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10971         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10972         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
10973         sh*-*-linux*.
10974         (sparc-*-linux*): Append to tmake_file for *-leon*.
10975         Add sparc/t-linux to tmake_file for non-Leon targets.
10976         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
10977         (tic6x-*-uclinux): New case.
10978         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
10979         (tic6x-*-*): Add c6x/t-elf to tmake_file.
10980         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
10981         (am33_2.0-*-linux*): Append to tmake_file.
10982         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
10983         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
10984         x86_64-*-kfreebsd*-gnu.
10985         Add i386/t-linux to tmake_file.
10987 2011-10-28  Ian Lance Taylor  <iant@google.com>
10989         * config/i386/morestack.S: Correct CFI information to do proper
10990         returns throughout function.  In 32-bit mode, save %ebx so that it
10991         is restored on unwind.
10993 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
10995         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
10996         case where B3 isn't the return register.
10998         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
10999         logic for doubleword pops.
11001 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
11003         * config/rs6000/t-freebsd: Add wildcard.
11005 2011-10-21  Paul Brook  <paul@codesourcery.com>
11007         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
11009 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
11010             Eric Botcazou  <ebotcazou@adacore.com>
11012         PR target/50737
11013         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
11014         fs->signal_frame to 1.
11016 2011-10-07  Ian Lance Taylor  <iant@google.com>
11018         * generic-morestack-thread.c: #include <errno.h>.
11020 2011-10-07  Ian Lance Taylor  <iant@google.com>
11022         PR target/46093
11023         * generic-morestack.c (__generic_morestack): Make sure the segment
11024         is large enough for both the stack frame and the copied
11025         parameters.
11027 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11029         PR bootstrap/49804
11030         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
11031         extra_parts.
11033 2011-09-28  Nick Clifton  <nickc@redhat.com>
11035         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
11036         64-bit doubles are not enabled.
11037         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
11038         and floatunsisf functions.
11040 2011-09-13  Paul Brook  <paul@codesourcery.com>
11042         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
11043         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
11044         * unwind-arm-common.inc: New file.
11045         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
11046         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
11047         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
11048         * config/c6x/libunwind.S: New file.
11049         * config/c6x/pr-support.c: New file.
11050         * config/c6x/unwind-c6x.c: New file.
11051         * config/c6x/unwind-c6x.h: New file.
11052         * config/c6x/t-c6x-elf: New file.
11054 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
11056         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
11057         (ASM_DIVZERO): Ditto.
11058         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
11060 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
11062         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
11064 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
11066         PR target/50090
11067         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
11068         instead of an assembly one.
11070 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
11072         PR bootstrap/50047
11073         * Makefile.in (install-unwind_h): Create
11074         $(gcc_objdir)/include/unwind.h atomically.
11076 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11078         * Makefile.in (install-unwind_h): Remove destination file first.
11080 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11082         * sync.c: New file.
11083         * config/mips/t-mips16: New file.
11084         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
11085         (mips*-*-linux*): Likewise.
11086         (mips*-sde-elf*): Likewise.
11087         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
11088         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
11089         Add mips/t-mips16 to tmake_file.
11090         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
11091         (mips-*-elf*): Likewise.
11092         (mips64-*-elf*): Likewise.
11093         (mips64orion-*-elf*): Likewise.
11094         (mips*-*-rtems*): Likewise.
11095         (mipstx39-*-elf*): Likewise.
11096         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
11097         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
11098         LIBGCC_SYNC_CFLAGS.
11099         Use $(srcdir) to refer to sync.c.
11100         Use $<.
11101         ($(libgcc-sync-funcs-o)): Likewise.
11102         ($(libgcc-sync-size-funcs-s-o)): Likewise.
11103         ($(libgcc-sync-funcs-s-o)): Likewise.
11105 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
11107         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
11108         t-libunwind.
11110 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
11112         PR other/48007
11113         * config/i386/value-unwind.h: New.
11115 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
11117         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
11118         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
11119         Add to tmake_file rather than overriding it.
11121 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11123         * config/t-softfp: Remove.
11124         * soft-fp: Moved from ../gcc/config.
11125         * soft-fp/README: Remove t-softfp reference.
11126         * soft-fp/t-softfp: Move to config/t-softfp.
11127         (softfp_machine_header): Remove.
11128         (softfp_file_list): Remove config subdir.
11129         (soft-fp-objects): New variable.
11130         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
11131         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
11132         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
11133         * config/t-softfp-excl: New file.
11134         * config/t-softfp-sfdf: New file.
11135         * config/t-softfp-tf: New file.
11136         * config/no-sfp-machine.h: New file.
11137         * config/arm/sfp-machine.h: New file.
11138         * config/arm/t-softfp: New file.
11139         * config/c6x/sfp-machine.h: New file.
11140         * config/i386/32/t-fprules-softfp: Rename to ...
11141         * config/i386/32/t-softfp: ... this.
11142         (tifunctions, LIB2ADD): Remove.
11143         (softfp_int_modes): Override.
11144         * config/i386/64/t-softfp-compat (tf-functions): Remove config
11145         subdir.
11146         * config/i386/64/eqtf2.c: Likewise.
11147         * config/i386/64/getf2.c: Likewise.
11148         * config/i386/64/letf2.c: Likewise.
11149         * config/ia64/sft-machine.h: New file.
11150         * config/ia64/t-fprules-softfp: Rename to ...
11151         * config/ia64/t-softfp: ... this.
11152         * config/lm32/sfp-machine.h: New file.
11153         * config/moxie/t-moxie-softfp: Remove.
11154         * config/rs6000/ibm-ldouble-format: New file.
11155         * config/rs6000/ibm-ldouble.c: New file.
11156         * config/rs6000/libgcc-ppc-glibc.ver: New file
11157         * config/rs6000/libgcc-ppc64.ver: New file
11158         * config/rs6000/sfp-machine.h: New file.
11159         * config/rs6000/t-freebsd: New file.
11160         * config/rs6000/t-ibm-ldouble: New file.
11161         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
11162         libgcc-ppc-glibc.ver.
11163         * config/rs6000/t-linux64: New file.
11164         * config/rs6000/t-ppccomm (LIB2ADD): Add
11165         $(srcdir)/config/rs6000/ibm-ldouble.c.
11166         * config/rs6000/t-ppccomm-ldbl: New file.
11167         * config/score/sfp-machine.h: New file.
11168         * config.host (sfp_machine_header): Explain.
11169         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
11170         t-softfp to tmake_file.
11171         (arm*-*-uclinux*): Likewise.
11172         (arm*-*-ecos-elf): Likewise.
11173         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11174         (arm*-*-rtems*): Likewise.
11175         (arm*-*-elf): Likewise.
11176         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
11177         in tmake_file.
11178         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
11179         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
11180         (lm32-*-uclinux*): Likewise.
11181         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
11182         t-softfp-excl, t-softfp.
11183         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
11184         (powerpc64-*-darwin*): Likewise.
11185         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
11186         to tmake_file.
11187         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
11188         tmake_file.
11189         (powerpc-*-eabisim*): Likewise.
11190         (powerpc-*-elf*): Likewise.
11191         (powerpc-*-eabialtivec*): Likewise.
11192         (powerpc-xilinx-eabi*): Likewise.
11193         (powerpc-*-rtems*): Likewise.
11194         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
11195         t-softfp-excl, t-softfp to tmake_file.
11196         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
11197         rs6000/t-ppccomm-ldbl to tmake_file.
11198         (powerpcle-*-elf*): Likewise.
11199         (powerpcle-*-eabisim*): Likewise.
11200         (powerpcle-*-eabi*): Likewise.
11201         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11202         rs6000/t-ibm-ldouble to tmake_file.
11203         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11204         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11205         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
11206         (tic6x-*-*): Likewise.
11207         (i[34567]86-*-darwin*, x86_64-*-darwin*,
11208         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
11209         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
11210         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
11211         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
11212         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
11213         t-softfp to tmake_file.
11214         * configure.ac (sfp_machine_header): Provide default if unset.
11215         Substitute.
11216         Link sfp-machine.h to config/$sfp_machine_header.
11217         * configure: Regenerate.
11219 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11221         * Makefile.in (double_type_size, long_double_type_size): Set.
11222         Remove $(fpbit-in-libgcc) support.
11223         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
11224         (fpbit-src): New variable.
11225         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
11226         Compile with -DFLOAT $(FPBIT_CFLAGS).
11227         Use $<.
11228         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
11229         Compile with $(FPBIT_CFLAGS).
11230         Use $<.
11231         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
11232         Compile with -DFLOAT $(TPBIT_CFLAGS).
11233         Use $<.
11234         * configure.ac (double_type_size, long_double_type_size):
11235         Determine and substitute.
11236         * configure: Regenerate.
11237         * fp-bit.c, fp-bit.h: New files.
11238         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
11239         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
11240         * config/mips/t-mips: New file.
11241         * config/mips/t-sdemtk: New file.
11242         * config/rs6000/ppc64-fp.c: New file.
11243         * config/rs6000/t-darwin (LIB2ADD): Add
11244         $(srcdir)/config/rs6000/ppc64-fp.c.
11245         * config/rs6000/t-ppc64-fp: New file.
11246         * config/rx/rx-lib.h: New file.
11247         * config/rx/t-rx (FPBIT): Set to true.
11248         ($(gcc_objdir)/fp-bit.c): Remove.
11249         (DPBIT): Set to true only with -m64bit-doubles.
11250         ($(gcc_objdir)/dp-bit.c): Remove.
11251         * config/sparc/t-softfp: Remove.
11252         * config/spu/t-elf: New file.
11253         * config/t-fdpbit, config/t-fpbit: New files.
11254         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
11255         (mips*-*-*): Likewise.
11256         (arm-wrs-vxworks): Likewise.
11257         (arm*-*-freebsd*): Likewise.
11258         (avr-*-rtems*): Add t-fpbit to tmake_file.
11259         (avr-*-*): Likewise.
11260         (bfin*-elf*): Add t-fdpbit to tmake_file.
11261         (bfin*-uclinux*): Likewise.
11262         (bfin*-linux-uclibc*): Likewise.
11263         (bfin*-rtems*): New case.
11264         Add t-fdpbit to tmake_file.
11265         (bfin*-*): Add t-fdpbit to tmake_file.
11266         (crisv32-*-elf): Likewise.
11267         (cris-*-linux*): Likewise.
11268         (fr30-*-elf): Likewise.
11269         (frv-*-elf, frv-*-*linux*): Likewise.
11270         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
11271         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
11272         (m32r-*-elf*): Likewise.
11273         (m32rle-*-elf*): Likewise.
11274         (m32r-*-linux*): Likewise.
11275         (m32rle-*-linux*): Likewise.
11276         (mcore-*-elf): Add t-fdpbit to tmake_file.
11277         (microblaze*-*-*): Likewise.
11278         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
11279         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
11280         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
11281         Fix typo.
11282         Add mips/t-tpbit to tmake-file.
11283         (mips*-*-linux*): Fix typo.
11284         (mips*-sde-elf*): New case
11285         Add mips/t-sdemtk unless using newlib.
11286         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
11287         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
11288         (mn10300-*-*): Likewise.
11289         (pdp11-*-*): Likewise.
11290         (picochip-*-*): Add t-fpbit to tmake_file.
11291         (powerpc-*-eabisimaltivec*): Likewise.
11292         (powerpc-*-eabisim*): Likewise.
11293         (powerpc-*-elf*): Likewise.
11294         (powerpc-*-eabialtivec*): Likewise.
11295         (powerpc-xilinx-eabi*): New case.
11296         Add t-fdpbit to tmake_file.
11297         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
11298         (powerpc-*-rtems*): Likewise.
11299         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
11300         tmake_file.
11301         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
11302         tmake_file.
11303         (powerpc-*-lynxos*): Likewise.
11304         (powerpcle-*-elf*): Likewise.
11305         (powerpcle-*-eabisim*): Likewise.
11306         (powerpcle-*-eabi*): Likewise.
11307         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11308         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
11309         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11310         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11311         (rx-*-elf): Add t-fdpbit to tmake_file.
11312         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11313         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11314         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11315         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
11316         sh*-*-netbsd*.
11317         (sh-*-rtems*): Add t-fdpbit to tmake_file.
11318         (sh-wrs-vxworks): Likewise.
11319         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
11320         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
11321         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
11322         (sparc64-*-rtems*): ... new case.
11323         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
11324         (spu-*-elf*): Likewise.
11325         Add spu/t-elf to tmake_file.
11326         (v850*-*-*): Add t-fdpbit to tmake_file.
11327         (xstormy16-*-elf): Likewise.
11328         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
11329         (mep*-*-*): Likewise.
11331 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11333         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
11334         variables.
11335         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
11336         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
11337         (install-unwind_h): New target.
11338         (all): Depend on it.
11339         * config.host (unwind_header): New variable.
11340         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
11341         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11342         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
11343         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
11344         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
11345         Set unwind_header.
11346         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
11347         Set unwind_header.
11348         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
11349         arm*-*-eabi*.
11350         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
11351         Set unwind_header.
11352         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
11353         (ia64*-*-freebsd*): Likewise.
11354         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
11355         tmake_file.
11356         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
11357         $with_system_libunwind.
11358         (ia64*-*-hpux*): Set tmake_file.
11359         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
11360         (picochip-*-*): Set tmake_file.
11361         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
11362         md_unwind_header.
11363         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11364         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11365         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
11366         (xtensa*-*-elf*): Set tmake_file.
11367         (xtensa*-*-linux*): Likewise.
11368         * configure.ac: Include ../config/unwind_ipinfo.m4.
11369         Call GCC_CHECK_UNWIND_GETIPINFO.
11370         Link unwind.h to $unwind_header.
11371         * configure: Regenerate.
11372         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
11373         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
11374         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
11375         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
11376         * config/unwind-dw2-fde-darwin.c: New file.
11377         * config/arm/libunwind.S, config/arm/pr-support.c,
11378         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
11379         config/arm/unwind-arm.h,: New files.
11380         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
11381         config/ia64/t-eh-ia64, config/ia64/t-glibc,
11382         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
11383         config/ia64/t-vms, config/ia64/unwind-ia64.c,
11384         config/ia64/unwind-ia64.h: New files.
11385         * config/picochip/t-picochip: New file.
11386         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
11387         files.
11388         * config/rs6000/t-darwin (LIB2ADDEH): Set.
11389         * config/s390/t-tpf (LIB2ADDEH): Remove.
11390         * config/t-darwin (LIB2ADDEH): Set.
11391         * config/t-eh-dw2-dip: New file.
11392         * config/t-libunwind, config/t-libunwind-elf: New files.
11393         * config/t-sol2 (LIB2ADDEH): Remove.
11394         * config/xtensa/t-xtensa: New file.
11396 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
11398         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
11399         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
11400         long long to check rt_sigreturn syscall.
11402 2011-08-02  Alan Modra  <amodra@gmail.com>
11404         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11405         Restore for indirect call bcrtl from correct stack slot, and only
11406         if cfa+40 isn't valid.
11408 2011-08-01  Julian Brown  <julian@codesourcery.com>
11410         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
11411         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
11412         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
11414 2011-08-01  Julian Brown  <julian@codesourcery.com>
11416         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
11417         (libgcc-std.ver.in): Use above.
11418         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
11419         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
11420         throughout file.
11421         * config/t-fixedpoint-gnu-prefix: New file.
11422         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
11423         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
11424         instead of __PFX__.
11426 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
11428         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
11429         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
11430         for x86-64.  Properly check __x86_64__ and __LP64__.
11432 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
11434         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
11435         version.
11436         (_FP_WS_TYPE): Likewise.
11437         (_FP_I_TYPE): Likewise.
11439 2011-07-28  Alan Modra  <amodra@gmail.com>
11441         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11442         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
11443         in a plt call stub.  Do restore r2 if stopped on bctrl.
11445 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11447         * config.host (i[3456x]86-*-netware*): Remove.
11448         * config/i386/netware-crt0.c, config/i386/t-nwld,
11449         config/i386/t-slibgcc-nwld: Remove.
11451 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
11453         * config.host: Handle tic6x-*-*.
11454         * config/c6x/c6x-abi.h: New file.
11456 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11458         * config/i386/crtprec.c: New file.
11459         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
11460         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
11461         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
11462         (x86_64-*-darwin*): Likewise.
11463         (i[34567]86-*-solaris2*: Likewise.
11465 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11467         * config/alpha/crtfastmath.c: New file.
11468         * config/i386/crtfastmath.c: New file.
11469         * config/ia64/crtfastmath.c: New file.
11470         * config/mips/crtfastmath.c: New file.
11471         * config/sparc/crtfastmath.c: New file.
11473         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
11474         crtfastmath.c.
11475         Add -frandom-seed=gcc-crtfastmath.
11476         * config/alpha/t-crtfm: Remove.
11477         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
11478         * config/ia64/t-ia64 (crtfastmath.o): Remove.
11480         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
11481         (alpha*-dec-osf5.1*): Likewise.
11482         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
11483         Add crtfastmath.o to extra_parts.
11484         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
11485         Add crtfastmath.o to extra_parts.
11486         (x86_64-*-darwin*): Likewise.
11487         (x86_64-*-mingw*): Likewise.
11488         (ia64*-*-elf*): Add t-crtfm to tmake_file.
11489         (ia64*-*-freebsd*): Likewise.
11490         (ia64*-*-linux*): Likewise.
11491         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
11492         Add crtfastmath.o to extra_parts.
11494 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11496         * config/darwin-crt3.o: New file.
11497         * config/rs6000/darwin-crt2.c: New file.
11498         * config/t-darwin: New file.
11499         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
11500         (crt2.o): New rule.
11501         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
11502         (powerpc-*-darwin*): Add crt2.o to extra_parts.
11503         (powerpc64-*-darwin*): Likewise.
11505 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11507         * config/i386/netware-crt0.c: New file.
11508         * config/i386/t-nwld: Rename to ...
11509         * config/i386/t-slibgcc-nwld: ... this.
11510         * config/i386/t-nwld: New file.
11511         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
11512         tmake_file.
11513         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
11514         extra_parts.
11516 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11518         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
11519         i386/t-crtstuff.
11520         * configure: Regenerate.
11522 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11524         * dfp-bit.c, dfp-bit.h: New files.
11525         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
11526         variables.
11527         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
11528         ($(d64pbit-o)): Likewise.
11529         ($(d128pbit-o)): Likewise.
11530         * config/t-dfprules: New file.
11531         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
11532         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
11533         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11534         (x86_64-*-linux*): Likewise.
11535         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11536         (i[34567]86-*-cygwin*): Likewise.
11537         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
11538         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11540 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11542         * Makfile.in (LIBGCOV): New variable.
11543         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
11544         * libgcov.c: New file.
11546 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11548         * fixed-bit.c, fixed-bit.h: New files.
11549         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
11550         refer to fixed-bit.c.
11552 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
11554         * config.host (*local*): Remove.
11556 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11558         PR target/39150
11559         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
11560         like i?86-*-solaris2.1[0-9]*.
11561         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
11562         * configure.ac (i?86-*-solaris2*): Likewise.
11563         * configure: Regenerate.
11565 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
11567         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11568         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
11569         md_unwind_header by splitting out of...
11570         (i[34567]86-*-linux*): ... this.
11571         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
11572         Remove md_unwind_header by splitting out of...
11573         (x86_64-*-linux*): ... this.
11575 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
11577         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
11579 2011-06-28  Nick Clifton  <nickc@redhat.com>
11581         * config.host: Recognize all V850 variants.
11583 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
11585         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
11587 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11589         * shared-object.mk (c_flags-$o): Save c_flags.
11590         ($(base)$(objext)): Use it.
11591         ($(base)_s$(objext)): Likewise.
11593 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
11595         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
11596         * libgcc-std.ver.in (GCC_4.7.0): New section.
11598 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
11600         PR target/49313
11601         PR target/29524
11602         * config/avr/t-avr: Fix line endings.
11603         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
11604         _parityXX2.
11606 2011-06-14  Olivier Hainque  <hainque@adacore.com>
11607             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11609         * config/mips/irix6-unwind.h: New file.
11610         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
11612 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
11614         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
11615         (sparc64_fallback_frame_state): Use it.
11616         (sparc64_frob_update_context): Further adjust context.
11617         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
11618         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
11619         * config/sparc/sol2-cn.S: Likewise.
11621 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11623         * enable-execute-stack-empty.c: New file.
11624         * enable-execute-stack-mprotect.c: New file.
11625         * config/i386/enable-execute-stack-mingw32.c: New file.
11626         * config.host (enable_execute_stack): New variable.
11627         Select appropriate variants.
11628         * configure.ac: Link enable-execute-stack.c to
11629         $enable_execute_stack.
11630         * configure: Regenerate.
11631         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
11632         (lib2funcs): Remove _enable_execute_stack.
11634 2011-06-09  David S. Miller  <davem@davemloft.net>
11635             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11637         * config.host (sparc-*-linux*): Correct md_unwind_header
11638         filename.
11639         (s390x-ibm-tpf*): Fix typo.
11641 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11643         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
11644         Add crtfastmath.o to extra_parts.
11645         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
11646         mips/t-crtfm.
11647         * config/mips/t-crtfm: Remove.
11649 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
11651         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
11653 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
11655         * config.host (sh*-*-linux*): Fix typo.
11657 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11659         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
11660         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
11661         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
11662         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
11663         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
11664         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
11665         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
11666         Wrap in !__MINGW64__.
11667         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
11668         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
11669         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
11670         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
11671         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
11672         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
11673         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
11674         Wrap in !__LP64__.
11675         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
11676         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
11677         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
11678         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
11679         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
11680         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
11681         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
11682         * config/no-unwind.h: New file.
11683         * config.host (md_unwind_header): Document.
11684         Define.
11685         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
11686         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
11687         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
11688         hppa[12]*-*-hpux11*): Set md_unwind_header.
11689         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
11690         Set md_unwind_header.
11691         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
11692         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
11693         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
11694         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
11695         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
11696         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
11697         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
11698         md_unwind_header.
11699         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
11700         * configure: Regenerate.
11702 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11704         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
11705         Set tmake_file, extra_parts.
11706         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
11707         Remove O32 support.
11708         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
11709         Remove O32 support.
11710         * config/mips/t-irix6: New file.
11711         * config/mips/t-slibgcc-irix: New file.
11713 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11715         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
11716         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
11718 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11720         * configure.ac (target_thread_file): Determine thread model.
11721         * configure: Regenerate.
11722         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
11723         * config/alpha/t-alpha: New file.
11724         * config/alpha/t-crtfm: Use $<.
11725         * config/alpha/t-ieee: New file.
11726         * config/alpha/t-osf-pthread: New file.
11727         * config/alpha/t-slibgcc-osf: New file.
11728         * config/alpha/libgcc-osf5.ver: New file.
11730 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11732         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
11733         tmake_file.
11734         Add crtfastmath.o to extra_parts.
11736 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11738         * config/gmon-sol2.c: Reindent.
11739         Cleanup comments.
11740         Remove, correct casts.
11741         Use STDERR_FILENO, NULL.
11742         (BASEADDRESS): Remove.
11743         (minbrk): Remove.
11744         (errno, sbrk): Remove declarations.
11745         (monstartup) [hp300]: Remove.
11746         (mcount): Remove.
11748 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11750         * Makefile.in (cpu_type): Define.
11751         * config.host (i[34567]86-*-rtems*): Handle it.
11752         (i[34567]86-*-solaris2*): Move body ...
11753         (*-*-solaris2*): ... here.
11754         New case, generalize.
11755         (sparc-*-elf*): Handle it.
11756         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
11757         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
11758         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
11759         Fold into ...
11760         (sparc*-*-solaris2*): ... this.
11761         New case.
11762         (sparc64-*-elf*): Handle it.
11763         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
11764         Merge ../gcc/config/i386/gmon-sol2.c.
11765         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
11766         Use C comments.
11767         Merge ../gcc/config/i386/sol2-gc1.asm.
11768         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
11769         Use C comments.
11770         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
11771         Use C comments.
11772         * config/i386/t-crtfm (crtfastmath.o): Use $<.
11773         * config/i386/t-crtstuff: New file.
11774         * config/i386/t-softfp: New file.
11775         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
11776         $(T)crti.o, $(T)crtn.o): Remove.
11777         (gcrt1.o): New rule.
11778         (TARGET_LIBGCC2_CFLAGS): Remove.
11779         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
11780         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
11781         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
11782         * config/sparc/t-sol2: New file.
11783         * config/sparc/t-crtfm: Move to ...
11784         * config/t-crtfm: ... this.
11785         Use $(cpu_type), $<.
11786         * config/t-crtin: New file.
11787         * config/sparc/t-softfp: New file.
11788         * config/sparc/t-softmul: New file.
11789         * config/t-rtems: New file.
11790         * config/t-slibgcc: New file.
11791         * config/t-slibgcc-elf-ver: New file.
11792         * config/t-slibgcc-gld: New file.
11793         * config/t-slibgcc-sld: New file.
11794         * config/t-sol2: New file.
11795         * configure.ac: Include ../config/lib-ld.m4.
11796         Call AC_LIB_PROG_LD_GNU.
11797         Substitute cpu_type.
11798         * configure: Regenerate.
11800 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
11802         PR bootstrap/49173
11803         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
11804         libgcc-std.ver in the build directory.
11805         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
11806         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
11808 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
11810         * libgcc-std.ver.in: New file.
11811         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
11812         variables.
11813         (libgcc-std.ver): New rule.
11814         * config/t-gnu-prefix: New file.
11816 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11818         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
11820 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
11822         * config/i386/darwin-lib.h: New file.
11824 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
11826         * config/arm/symbian-lib.h: New.
11828 2011-05-04  Chris Demetriou  <cgd@google.com>
11830         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
11831         (__x86.get_pc_thunk.bx): ...this.
11832         (__morestack): Adjust for rename, remove undef of __i686.
11834 2011-05-03  Chris Demetriou  <cgd@google.com>
11836         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
11838 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
11840         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
11841         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
11842         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
11843         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
11844         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
11845         Remove cases.
11847 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
11849         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
11850         Adjust copyright year.
11852 2011-03-07  Ian Lance Taylor  <iant@google.com>
11854         * generic-morestack.c (__splitstack_find): Adjust returned stack
11855         pointer to include all registers pushed by __morestack.
11857 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
11859         PR target/40125
11860         * configure.ac: Call ACX_NONCANONICAL_TARGET.
11861         (toolexecdir): Calculate and AC_SUBST.
11862         (toolexeclibdir): Likewise.
11863         * Makefile.in (target_noncanonical): Import.
11864         (toolexecdir): Likewise.
11865         (toolexeclibdir): Likewise.
11866         * configure: Regenerate.
11868 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
11870         PR target/46040
11871         * config/arm/bpabi.h: Rename to...
11872         * config/arm/bpabi-lib.h: ...this.
11874 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11876         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
11877         appropriate.
11878         * configure: Regenerate.
11880 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
11882         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
11883         __FLOAT_WORD_ORDER__.
11884         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
11885         Delete.
11887 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11889         PR other/46202
11890         * Makefile.in (install-strip): New phony target.
11892 2010-11-07  Ian Lance Taylor  <iant@google.com>
11894         PR target/46089
11895         * config/i386/morestack.S (__morestack_large_model): New
11896         function.
11898 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
11900         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
11901         Delete.
11902         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
11904 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
11906         * config/arm/bpabi.h: New file.
11907         * config/frv/frv-abi.h: New file.
11909 2010-10-01  Ian Lance Taylor  <iant@google.com>
11911         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
11912         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
11914 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
11916         PR target/45858
11917         * config.host: Add the missing `$'.
11919 2010-09-30  Michael Eager  <eager@eagercon.com>
11921         * config.host: Add microblaze*-*-*.
11922         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
11923         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
11924         udivsi3.asm,umodsi3.asm}:  New.
11926 2010-09-28  Ian Lance Taylor  <iant@google.com>
11928         * configure.ac: Adjust CFI test to test assembler directly rather
11929         than checking gcc preprocessor macro.
11930         * configure: Rebuild.
11932 2010-09-27  Ian Lance Taylor  <iant@google.com>
11934         * configure.ac: Test whether assembler supports CFI directives.
11935         * config.host: Only add t-stack and i386/t-stack-i386 to
11936         tmake_file if libgcc_cv_cfi is "yes".
11937         * configure: Rebuild.
11939 2010-09-27  Ian Lance Taylor  <iant@google.com>
11941         * generic-morestack.h: New file.
11942         * generic-morestack.c: New file.
11943         * generic-morestack-thread.c: New file.
11944         * config/i386/morestack.S: New file.
11945         * config/t-stack: New file.
11946         * config/i386/t-stack-i386: New file.
11947         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
11948         i386/t-stack-i386 to tmake_file.
11950 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
11952         * Makefile.in (libgcc-extra-parts):  Check for static archives and
11953         invoke ranlib after installing them.
11954         (gcc-extra-parts): Likewise.
11955         (install-leaf): Likewise.
11957 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
11959         * configure: Regenerated.
11961 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
11963         * configure: Regenerated.
11965 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
11966             Andrew Pinski  <pinskia@gmail.com>
11968         PR target/40959
11969         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
11971 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
11973         PR target/45524
11974         * configure: Regenerated.
11976 2010-09-06  Andreas Schwab  <schwab@redhat.com>
11978         * configure: Regenerate.
11980 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
11982         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
11983         64bit targets.
11984         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
11985         for 64bit targets.
11987 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
11988             Iain Sandoe  <iains@gcc.gnu.org>
11990         PR target/45476
11991         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
11992         LIB2FUNCS_EXCLUDE functions.
11994 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11996         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
11997         Include dfp.m4.
11998         * configure: Regenerate.
12000 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
12002         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
12003         i386/t-freebsd to tmake_file.
12004         * config/i386/t-freebsd: New file.
12005         * config/i386/libgcc-bsd.ver: New file.
12007 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
12009         * config.host (powerpc*-eabispe*): Set tmake_file.
12010         (powerpc*-eabi*): Likewise.
12011         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
12012         crtbeginS, crtendS, crtbeginT.
12014 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
12016         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
12017         to tmake_file.  Add crtfastmath.o to extra_parts.
12018         * config/mips/t-crtfm: New.
12020 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
12022         * config.host (sparc64-*-rtems*): New target.
12024 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12026         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12027         assembler syntax.
12029 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
12031         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
12033 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12035         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
12036         alpha-dec-osf5.0* support.
12038 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
12040         * config.host: Add lm32-*-rtems*.
12042 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12043             Uros Bizjak  <ubizjak@gmail.com>
12045         PR target/39048
12046         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
12047         like other remaining 32-bit x86 OSes.
12048         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12049         assembler syntax.
12050         * config/i386/libgcc-sol2.ver: New file.
12051         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
12053 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
12055         PR c/43553
12056         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
12057         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
12058         is used and substitute set_use_emutls.
12059         * configure: Regenerated.
12061 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
12063         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
12065 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12067         PR target/38085
12068         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
12069         MULTILIB_CFLAGS.
12070         ($(T)gcrt1.o): Likewise.
12071         ($(T)crt1.o): Likewise.
12072         ($(T)crti.o): Likewise.
12073         ($(T)crtn.o): Likewise.
12075 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12077         PR other/42980
12078         * Makefile.in (install): Use $(MAKE) string in rule, for
12079         parallel make.
12081 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
12083         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
12084         * config/mmix/t-mmix: New file.
12085         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
12087 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
12089         PR java/41991
12090         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
12091         SHLIB_MAPFILES.
12093 2010-01-04  Anthony Green  <green@moxielogic.com>
12095         * config/moxie/crti.asm, config/moxie/crtn.asm,
12096         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
12097         config/moxie/t-moxie: New files.
12098         * config.host: Add t-moxie-softfp reference.
12100 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
12102         PR other/39888
12103         * config/t-slibgcc-darwin: Fix embedded rpaths for
12104         --enable-version-specific-runtime-libs, build extension stub
12105         libs exposing features available from current libgcc_s.
12107 2009-11-11  Jon Beniston  <jon@beniston.com>
12109         * config.host: Add lm32 targets.
12110         * config/lm32: New directory.
12111         * config/lm32/libgcc_lm32.h: New file.
12112         * config/lm32/_mulsi3.c: New file.
12113         * config/lm32/_udivmodsi4.c: New file.
12114         * config/lm32/_divsi3.c: New file.
12115         * config/lm32/_modsi3.c: New file.
12116         * config/lm32/_udivsi3.c: New file.
12117         * config/lm32/_umodsi3.c: New file.
12118         * config/lm32/_lshrsi3.S: New file.
12119         * config/lm32/_ashrsi3.S: New file.
12120         * config/lm32/_ashlsi3.S: New file.
12121         * config/lm32/crti.S: New file.
12122         * config/lm32/crtn.S: New file.
12123         * config/lm32/t-lm32: New file.
12124         * config/lm32/t-elf: New file.
12125         * config/lm32/t-uclinux: New file.
12127 2009-10-26  Nick Clifton  <nickc@redhat.com>
12129         * config.host: Add support for RX target.
12130         * config/rx: New directory.
12131         * config/rx/rx-abi-functions.c: New file. Supplementary
12132         functions for libgcc to support the RX ABI.
12133         * config/rx/rx-abi.h: New file.  Supplementary header file for
12134         libgcc RX ABI functions.
12135         * config/rx/t-rx: New file: Makefile fragment for building
12136         libgcc for the RX.
12138 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
12140         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
12141         constraint of y0 to "g".
12143 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12145         * config.host: Include the s390 makefile fragments.
12146         * config/s390/32/_fixdfdi.c: New file.
12147         * config/s390/32/_fixsfdi.c: New file.
12148         * config/s390/32/_fixtfdi.c: New file.
12149         * config/s390/32/_fixunsdfdi.c: New file.
12150         * config/s390/32/_fixunssfdi.c: New file.
12151         * config/s390/32/_fixunstfdi.c: New file.
12152         * config/s390/32/t-floattodi: New file.
12153         * config/s390/libgcc-glibc.ver: New file.
12154         * config/s390/t-crtstuff: New file.
12155         * config/s390/t-linux: New file.
12156         * config/s390/t-tpf: New file.
12158 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12160         * configure.ac (AC_PREREQ): Bump to 2.64.
12162 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
12164         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
12166 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12168         * configure: Regenerate.
12170 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
12172         * config.host (ia64-hp-*vms*): New target.
12173         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
12174         with ia64-hp-*vms*.
12176 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12178         * configure.ac: Add snippet for maintainer-mode.
12179         * configure: Regenerate.
12180         * Makefile.in (AUTOCONF, configure_deps): New variables.
12181         ($(srcdir)/configure)): New rule, active only with maintainer
12182         mode turned on.
12184 2009-06-23  DJ Delorie  <dj@redhat.com>
12186         Add MeP port.
12187         * config.host: Add mep support.
12189 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
12191         * config.host: Add i386/${host_address}/t-fprules-softfp and
12192         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
12194         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
12195         for mingw targets.
12196         * config/i386/64/_multc3.c: Likewise.
12197         * config/i386/64/_powitf2.c: Likewise.
12198         * config/i386/64/eqtf2.c: Likewise.
12199         * config/i386/64/getf2.c: Likewise.
12200         * config/i386/64/letf2.c: Likewise.
12201         * config/i386/64/letf2.c: Likewise.
12202         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
12203         unsigned long long for x64 mingw targets.
12204         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
12205         (_FP_I_TYPE): Define as long long for x64 mingw target.
12207 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
12209         * config.host (vax-*-linux*): New.
12211 2009-05-31  Anthony Green  <green@moxielogic.com>
12213         * config.host: Add moxie support.
12214         * config/moxie/t-moxie: New file.
12216 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
12218         * config.host: Add i386/${host_address}/t-fprules-softfp and
12219         t-softfp to tmake_file for i[34567]86-*-cygwin*.
12221 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
12223         * config.host: Add i386/${host_address}/t-fprules-softfp to
12224         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
12226 2009-04-09  Nick Clifton  <nickc@redhat.com>
12228         * config/ia64/tf-signs.c: Change copyright header to refer to
12229         version 3 of the GNU General Public License with version 3.1
12230         of the GCC Runtime Library Exception and to point readers at
12231         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
12232         web page.
12233         * config/i386/32/tf-signs.c: Likewise.
12234         * config/libbid/_addsub_dd.c: Likewise.
12235         * config/libbid/_addsub_sd.c: Likewise.
12236         * config/libbid/_addsub_td.c: Likewise.
12237         * config/libbid/_dd_to_df.c: Likewise.
12238         * config/libbid/_dd_to_di.c: Likewise.
12239         * config/libbid/_dd_to_sd.c: Likewise.
12240         * config/libbid/_dd_to_sf.c: Likewise.
12241         * config/libbid/_dd_to_si.c: Likewise.
12242         * config/libbid/_dd_to_td.c: Likewise.
12243         * config/libbid/_dd_to_tf.c: Likewise.
12244         * config/libbid/_dd_to_udi.c: Likewise.
12245         * config/libbid/_dd_to_usi.c: Likewise.
12246         * config/libbid/_dd_to_xf.c: Likewise.
12247         * config/libbid/_df_to_dd.c: Likewise.
12248         * config/libbid/_df_to_sd.c: Likewise.
12249         * config/libbid/_df_to_td.c: Likewise.
12250         * config/libbid/_di_to_dd.c: Likewise.
12251         * config/libbid/_di_to_sd.c: Likewise.
12252         * config/libbid/_di_to_td.c: Likewise.
12253         * config/libbid/_div_dd.c: Likewise.
12254         * config/libbid/_div_sd.c: Likewise.
12255         * config/libbid/_div_td.c: Likewise.
12256         * config/libbid/_eq_dd.c: Likewise.
12257         * config/libbid/_eq_sd.c: Likewise.
12258         * config/libbid/_eq_td.c: Likewise.
12259         * config/libbid/_ge_dd.c: Likewise.
12260         * config/libbid/_ge_sd.c: Likewise.
12261         * config/libbid/_ge_td.c: Likewise.
12262         * config/libbid/_gt_dd.c: Likewise.
12263         * config/libbid/_gt_sd.c: Likewise.
12264         * config/libbid/_gt_td.c: Likewise.
12265         * config/libbid/_isinfd128.c: Likewise.
12266         * config/libbid/_isinfd32.c: Likewise.
12267         * config/libbid/_isinfd64.c: Likewise.
12268         * config/libbid/_le_dd.c: Likewise.
12269         * config/libbid/_le_sd.c: Likewise.
12270         * config/libbid/_le_td.c: Likewise.
12271         * config/libbid/_lt_dd.c: Likewise.
12272         * config/libbid/_lt_sd.c: Likewise.
12273         * config/libbid/_lt_td.c: Likewise.
12274         * config/libbid/_mul_dd.c: Likewise.
12275         * config/libbid/_mul_sd.c: Likewise.
12276         * config/libbid/_mul_td.c: Likewise.
12277         * config/libbid/_ne_dd.c: Likewise.
12278         * config/libbid/_ne_sd.c: Likewise.
12279         * config/libbid/_ne_td.c: Likewise.
12280         * config/libbid/_sd_to_dd.c: Likewise.
12281         * config/libbid/_sd_to_df.c: Likewise.
12282         * config/libbid/_sd_to_di.c: Likewise.
12283         * config/libbid/_sd_to_sf.c: Likewise.
12284         * config/libbid/_sd_to_si.c: Likewise.
12285         * config/libbid/_sd_to_td.c: Likewise.
12286         * config/libbid/_sd_to_tf.c: Likewise.
12287         * config/libbid/_sd_to_udi.c: Likewise.
12288         * config/libbid/_sd_to_usi.c: Likewise.
12289         * config/libbid/_sd_to_xf.c: Likewise.
12290         * config/libbid/_sf_to_dd.c: Likewise.
12291         * config/libbid/_sf_to_sd.c: Likewise.
12292         * config/libbid/_sf_to_td.c: Likewise.
12293         * config/libbid/_si_to_dd.c: Likewise.
12294         * config/libbid/_si_to_sd.c: Likewise.
12295         * config/libbid/_si_to_td.c: Likewise.
12296         * config/libbid/_td_to_dd.c: Likewise.
12297         * config/libbid/_td_to_df.c: Likewise.
12298         * config/libbid/_td_to_di.c: Likewise.
12299         * config/libbid/_td_to_sd.c: Likewise.
12300         * config/libbid/_td_to_sf.c: Likewise.
12301         * config/libbid/_td_to_si.c: Likewise.
12302         * config/libbid/_td_to_tf.c: Likewise.
12303         * config/libbid/_td_to_udi.c: Likewise.
12304         * config/libbid/_td_to_usi.c: Likewise.
12305         * config/libbid/_td_to_xf.c: Likewise.
12306         * config/libbid/_tf_to_dd.c: Likewise.
12307         * config/libbid/_tf_to_sd.c: Likewise.
12308         * config/libbid/_tf_to_td.c: Likewise.
12309         * config/libbid/_udi_to_dd.c: Likewise.
12310         * config/libbid/_udi_to_sd.c: Likewise.
12311         * config/libbid/_udi_to_td.c: Likewise.
12312         * config/libbid/_unord_dd.c: Likewise.
12313         * config/libbid/_unord_sd.c: Likewise.
12314         * config/libbid/_unord_td.c: Likewise.
12315         * config/libbid/_usi_to_dd.c: Likewise.
12316         * config/libbid/_usi_to_sd.c: Likewise.
12317         * config/libbid/_usi_to_td.c: Likewise.
12318         * config/libbid/_xf_to_dd.c: Likewise.
12319         * config/libbid/_xf_to_sd.c: Likewise.
12320         * config/libbid/_xf_to_td.c: Likewise.
12321         * config/libbid/bid128.c: Likewise.
12322         * config/libbid/bid128_2_str.h: Likewise.
12323         * config/libbid/bid128_2_str_macros.h: Likewise.
12324         * config/libbid/bid128_2_str_tables.c: Likewise.
12325         * config/libbid/bid128_add.c: Likewise.
12326         * config/libbid/bid128_compare.c: Likewise.
12327         * config/libbid/bid128_div.c: Likewise.
12328         * config/libbid/bid128_fma.c: Likewise.
12329         * config/libbid/bid128_logb.c: Likewise.
12330         * config/libbid/bid128_minmax.c: Likewise.
12331         * config/libbid/bid128_mul.c: Likewise.
12332         * config/libbid/bid128_next.c: Likewise.
12333         * config/libbid/bid128_noncomp.c: Likewise.
12334         * config/libbid/bid128_quantize.c: Likewise.
12335         * config/libbid/bid128_rem.c: Likewise.
12336         * config/libbid/bid128_round_integral.c: Likewise.
12337         * config/libbid/bid128_scalb.c: Likewise.
12338         * config/libbid/bid128_sqrt.c: Likewise.
12339         * config/libbid/bid128_string.c: Likewise.
12340         * config/libbid/bid128_to_int16.c: Likewise.
12341         * config/libbid/bid128_to_int32.c: Likewise.
12342         * config/libbid/bid128_to_int64.c: Likewise.
12343         * config/libbid/bid128_to_int8.c: Likewise.
12344         * config/libbid/bid128_to_uint16.c: Likewise.
12345         * config/libbid/bid128_to_uint32.c: Likewise.
12346         * config/libbid/bid128_to_uint64.c: Likewise.
12347         * config/libbid/bid128_to_uint8.c: Likewise.
12348         * config/libbid/bid32_to_bid128.c: Likewise.
12349         * config/libbid/bid32_to_bid64.c: Likewise.
12350         * config/libbid/bid64_add.c: Likewise.
12351         * config/libbid/bid64_compare.c: Likewise.
12352         * config/libbid/bid64_div.c: Likewise.
12353         * config/libbid/bid64_fma.c: Likewise.
12354         * config/libbid/bid64_logb.c: Likewise.
12355         * config/libbid/bid64_minmax.c: Likewise.
12356         * config/libbid/bid64_mul.c: Likewise.
12357         * config/libbid/bid64_next.c: Likewise.
12358         * config/libbid/bid64_noncomp.c: Likewise.
12359         * config/libbid/bid64_quantize.c: Likewise.
12360         * config/libbid/bid64_rem.c: Likewise.
12361         * config/libbid/bid64_round_integral.c: Likewise.
12362         * config/libbid/bid64_scalb.c: Likewise.
12363         * config/libbid/bid64_sqrt.c: Likewise.
12364         * config/libbid/bid64_string.c: Likewise.
12365         * config/libbid/bid64_to_bid128.c: Likewise.
12366         * config/libbid/bid64_to_int16.c: Likewise.
12367         * config/libbid/bid64_to_int32.c: Likewise.
12368         * config/libbid/bid64_to_int64.c: Likewise.
12369         * config/libbid/bid64_to_int8.c: Likewise.
12370         * config/libbid/bid64_to_uint16.c: Likewise.
12371         * config/libbid/bid64_to_uint32.c: Likewise.
12372         * config/libbid/bid64_to_uint64.c: Likewise.
12373         * config/libbid/bid64_to_uint8.c: Likewise.
12374         * config/libbid/bid_b2d.h: Likewise.
12375         * config/libbid/bid_binarydecimal.c: Likewise.
12376         * config/libbid/bid_conf.h: Likewise.
12377         * config/libbid/bid_convert_data.c: Likewise.
12378         * config/libbid/bid_decimal_data.c: Likewise.
12379         * config/libbid/bid_decimal_globals.c: Likewise.
12380         * config/libbid/bid_div_macros.h: Likewise.
12381         * config/libbid/bid_dpd.c: Likewise.
12382         * config/libbid/bid_flag_operations.c: Likewise.
12383         * config/libbid/bid_from_int.c: Likewise.
12384         * config/libbid/bid_functions.h: Likewise.
12385         * config/libbid/bid_gcc_intrinsics.h: Likewise.
12386         * config/libbid/bid_inline_add.h: Likewise.
12387         * config/libbid/bid_internal.h: Likewise.
12388         * config/libbid/bid_round.c: Likewise.
12389         * config/libbid/bid_sqrt_macros.h: Likewise.
12391 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
12393         * Makefile.in: Change copyright header to refer to version
12394         3 of the GNU General Public License and to point readers at the
12395         COPYING3 file and the FSF's license web page.
12396         * config.host: Likewise.
12398 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
12400         * config.host: Reorder and merge to match config.gcc change.
12402 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
12404         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
12406 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
12408         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
12409         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
12410         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
12411         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
12413 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
12415         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
12416         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12418 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
12420         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
12421         ia64/t-softfp-compat to tmake_file.
12423         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
12425         * config/ia64/__divxf3.asm: New.
12426         * config/ia64/_fixtfdi.asm: Likewise.
12427         * config/ia64/_fixunstfdi.asm: Likewise.
12428         * config/ia64/_floatditf.asm: Likewise.
12429         * config/ia64/t-fprules-softfp: Likewise.
12430         * config/ia64/t-softfp-compat: Likewise.
12431         * config/ia64/tf-signs.c: Likewise.
12433 2009-01-18  Ben Elliston  <bje@au.ibm.com>
12435         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12437 2009-01-16  Ben Elliston  <bje@au.ibm.com>
12439         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
12440         to tmake_file.
12442 2009-01-13  Ben Elliston  <bje@au.ibm.com>
12444         * config/t-softfp: New file.
12445         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
12446         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
12448 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
12450         * config.host: Add m32r*-*-rtems*.
12452 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
12454         * config.host: Add m32c*-*-rtems*.
12456 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12458         PR bootstrap/33100
12459         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
12460         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
12461         * configure: Regenerate.
12462         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
12463         tmake_file here from gcc/config.gcc.
12464         Move extra_parts here from gcc/config.gcc.
12465         * config/i386/t-sol2: Move here from gcc/config/i386.
12466         Use gcc_srcdir instead of srcdir.
12468 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
12470         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
12471         case.
12473 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
12475         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
12477 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
12479         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
12481 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
12483         Add picoChip port.
12484         * config.host: Add picochip-*-*.
12486 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
12488         * config.host: Match more processor names for Xtensa.
12490 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
12492         * config/i386/64/t-softfp-compat: Update comments.
12494 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
12496         * config/i386/64/_divtc3-compat.c: Moved to ...
12497         * config/i386/64/_divtc3.c: Here.
12499         * config/i386/64/_multc3-compat.c: Moved to ...
12500         * config/i386/64/_multc3.c: Here.
12502         * config/i386/64/_powitf2-compat.c: Moved to ...
12503         * config/i386/64/_powitf2.c: Here.
12505         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
12506         .c suffix instead of -compat.c.
12508 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
12510         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
12511         (_FP_MUL_MEAT_D): Ditto.
12512         (_FP_DIV_MEAT_S): Ditto.
12513         (_FP_DIV_MEAT_D): Ditto.
12515 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
12517         * Makefile.in: Add support for __sync_* libgcc functions.
12519 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
12521         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
12523 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12525         PR boostrap/36702
12526         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
12527         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
12529         * config/i386/64/t-fprules-softfp: Moved to ...
12530         * config/i386/64/t-softfp-compat: This.  New.
12532 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
12534         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
12535         Initialize f with 0.0.
12537 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12539         PR target/36669
12540         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
12542         * config/i386/64/_divtc3-compat.c: New.
12543         * config/i386/64/_multc3-compat.c: Likewise.
12544         * config/i386/64/_powitf2-compat.c: Likewise.
12545         * config/i386/64/eqtf2.c: Likewise.
12546         * config/i386/64/getf2.c: Likewise.
12547         * config/i386/64/letf2.c: Likewise.
12548         * config/i386/64/t-fprules-softfp: Likewise.
12550 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12552         * config.host: Add i386/${host_address}/t-fprules-softfp to
12553         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
12554         i[34567]86-*-linux*, x86_64-*-linux*.
12556         * configure.ac: Set host_address to 64 or 32 for x86.
12557         * configure: Regenerated.
12559         * Makefile.in (config.status): Also depend on
12560         $(srcdir)/config.host.
12562         * config/i386/32/t-fprules-softfp: New.
12563         * config/i386/32/tf-signs.c: Likewise.
12565         * config/i386/64/sfp-machine.h: New. Moved from gcc.
12567 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12568             Uros Bizjak  <ubizjak@gmail.com>
12570         * config/i386/32/sfp-machine.h: New.
12572 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
12574         * config/rs6000/t-ppccomm: Remove rules that conflict with
12575         auto-generated rules.
12577 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12579         * configure.ac: sinclude override.m4.
12580         * configure: Regenerate.
12582 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
12584         * configure: Regenerate.
12586 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
12588         * Makefile.in (DECNUMINC): Remove
12589         -I$(MULTIBUILDTOP)../../libdecnumber.
12590         * gstdint.h: New.
12592 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
12594         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
12595         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
12596         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
12597         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
12598         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
12599         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
12600         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
12601         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
12602         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
12603         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
12604         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
12605         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
12606         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
12607         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
12609 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
12611         * config.host (sh2[lbe]*-*-linux*): Allow target.
12613 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
12615         * config/rs6000/t-ppccomm: Add build rules for new files.
12616         (LIB2ADD_ST): New variable.
12618 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
12620         PR target/34210
12621         PR target/35508
12622         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
12623         * config/t-avr: New file. Build 16bit libgcc functions.
12625 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
12627         PR target/35401
12628         * config/t-slibgcc-darwin: Make install-leaf dependent on
12629         install-darwin-libgcc-stubs instead of install.
12631 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
12633         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
12634         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
12635         sh-*-rtemscoff*): Remove cases.
12637 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
12639         * Makefile.in (all): Use install-leaf rather than install.
12640         (install): Split most of the rule into...
12641         (install-leaf): ...this new one.
12643 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
12644             Paolo Bonzini  <bonzini@gnu.org>
12646         PR target/30572
12647         * Makefile.in: Use @shlib_slibdir@ substitution to get
12648         correct install name on darwin.
12649         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
12651 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
12653         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
12654         cris-*-elf and cris-*-none.
12655         (crisv32-*-linux*): Similar, as cris-*-linux*.
12657 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
12659         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
12661 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
12663         PR regression/33926
12664         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
12665         * configure: Regenerated.
12667 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
12669         * Makefile.in (dfp-filenames): Replace decimal_globals,
12670         decimal_data, binarydecimal and convert_data with
12671         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
12672         and bid_convert_data, respectively.
12674 2007-09-17  Chao-ying Fu  <fu@mips.com>
12675             Nigel Stephens  <nigel@mips.com>
12677         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
12678         * Makefile.in (fixed_point): Define.
12679         Check if fixed_point is yes to build support functions.
12680         * configure.ac: Check for fixed_point support.
12681         * configure: Regenerated.
12682         * gen-fixed.sh: New file to generate lists of fixed-point labels,
12683         funcs, modes, from, to.
12685 2007-09-11  Janis Johnson  <janis187@us.ibm.com
12687         * Makefile.in (dfp-filenames): Add bid128_noncomp.
12689 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
12691         * Makefile.in (dfp-filenames): Remove decUtility, add
12692         decDouble, decPacked, decQuad, decSingle.
12694 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
12696         * config.host : Add x86_64-elf target.
12698 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
12700         * configure.ac (set_have_cc_tls): Add a missing =.
12701         * configure: Regenerated.
12703 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
12705         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
12706         and x86_64-*-linux*.
12708         * config/t-tls: New file.
12710         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
12712         * configure.ac: Include ../config/enable.m4 and
12713         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
12714         supports TLS and substitute set_have_cc_tls.
12715         * configure: Regenerated.
12717 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
12719         * Makefile.in: Use libbid for DFP when BID is enabled.
12721 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
12723         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
12724         extra_parts. Add config/i386/t-cygming to tmake_file.
12725         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
12727 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
12728             Danny Smith  <dannysmith@users.sourceforge.net>
12730         PR target/29498
12731         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
12732         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
12733         * config/i386/t-crtfm: Compile crtfastmath.o with
12734         -minline-all-stringops.
12736 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
12738         * config.host (sparc-wrs-vxworks): New target.
12740 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
12742         * config.host: Recognize fido.
12744 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
12746         * configure: Check host, not target, for decimal float support.
12748 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
12750         * config/i386/t-crtpc: New file.
12751         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
12752         (x86_64-*-linux*): Ditto.
12754 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
12756         * config.host (x86_64-*-mingw*): New target.
12758 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
12759             H.J. Lu  <hongjiu.lu@intel.com>
12761         * Makefile.in (enable_decimal_float): New.
12762         (DECNUMINC): Add
12763         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
12764         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
12765         (decbits-filenames): This.
12766         (decbits-objects): New.
12767         (libgcc-objects): Add $(decbits-objects).
12769         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
12770         Substitute enable_decimal_float.
12771         * configure: Regenerated.
12773 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
12775         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
12777 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
12779         * Makefile.in (install-info): New dummy target.
12781 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
12783         * config.host (bfin*-linux-uclibc*): Set extra_parts.
12785 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
12787         * Makefile.in: Add install-html and install-pdf dummy
12788         targets.
12790 2007-02-05  Roger Sayle  <roger@eyesopen.com>
12791             Daniel Jacobowitz  <dan@codesourcery.com>
12793         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
12794         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
12795         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
12797 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
12799         * Makefile.in (dec-filenames): Add decExcept.
12801 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
12803         PR bootstrap/30469
12804         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
12805         -fprofile-use.
12807 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
12809         * configure.ac: Add --enable-version-specific-runtime-libs.
12810         Correct $slibdir default.
12811         * configure: Regenerated.
12813 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
12815         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
12817 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
12819         PR target/30519
12820         * config.host (alpha*-*-linux*): Set extra_parts.
12822 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
12824         * config/sh/t-linux: New.
12825         * config.host (sh*-*-linux*): Set tmake_file.
12827 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
12829         * Makefile.in (install): Handle multilibs.
12831 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
12833         * Makefile.in: Added .PHONY entry for documentation targets.
12835 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
12837         * Makefile.in: Add empty info, html, dvi, pdf targets.
12839 2007-01-04  Mike Stump  <mrs@apple.com>
12841         * Makefile.in (MAKEINFO): Remove.
12842         (PERL): Likewise.
12844 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
12846         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
12847         * configure: Regenerate.
12848         * Makefile.in (host_subdir): Substitute it.
12849         (gcc_objdir): Use it.
12851 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
12853         * config.host (ia64*-*-linux*): Set tmake_file.
12855 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
12857         * Makefile.in (version): Define.
12859 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
12860             Paolo Bonzini  <bonzini@gnu.org>
12862         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
12863         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
12864         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
12865         config/sparc/t-crtfm, config/t-slibgcc-darwin,
12866         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
12867         shared-object.mk, siditi-object.mk, static-object.mk: New files.
12868         * configure: Generated.
12870 Copyright (C) 2007-2023 Free Software Foundation, Inc.
12872 Copying and distribution of this file, with or without modification,
12873 are permitted in any medium without royalty provided the copyright
12874 notice and this notice are preserved.