gccrs: Add new check for contains_associated_types
[official-gcc.git] / libgcc / ChangeLog
blobc951ab0e26fee11a48d1cd4375ee62ffeeb9d407
1 2023-01-30  Flavio Cruz  <flaviocruz@gmail.com>
3         * config.host: Recognize x86_64-*-gnu* targets.
4         * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
5         TODO for now.
7 2023-01-23  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
9         * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
10         "0xb5".
12 2023-01-23  Andrea Corallo  <andrea.corallo@arm.com>
13             Tejas Belagod   <tbelagod@arm.com>
14             Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
16         * config/arm/pr-support.c (__gnu_unwind_execute): Decode
17         exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
18         with AUTG if found.
19         * config/arm/unwind-arm.c (struct pseudo_regs): New.
20         (phase1_vrs): Introduce new field to store pseudo-reg state.
21         (phase2_vrs): Likewise.
22         (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
23         (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
24         (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
26 2023-01-18  Wilco Dijkstra  <wilco.dijkstra@arm.com>
28         PR target/107678
29         * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
30         * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
31         * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
32         encode the return address signing state.
33         * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
34         Check current return address signing state.
35         (aarch64_frob_update_contex): Remove.
37 2023-01-13  John David Anglin  <danglin@gcc.gnu.org>
39         * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
40         pa/t-pa64-linux.
41         (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
42         instead of pa/t-hpux and pa/t-pa64.
43         * config/pa/linux-atomic.c: Define u32 type.
44         (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
45         atomic_load_2, atomic_load_4 and atomic_load_8.  Update sync
46         defines to use atomic_load calls for type.
47         (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
48         * config/pa/sync-libfuncs.c: New file.
49         * config/pa/t-netbsd (LIB2ADD_ST): Define.
50         * config/pa/t-openbsd (LIB2ADD_ST): Define.
51         * config/pa/t-pa64-hpux: New file.
52         * config/pa/t-pa64-linux: New file.
54 2023-01-13  Jonathan Wakely  <jwakely@redhat.com>
56         PR libstdc++/108331
57         * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
58         struct matching the previous __gthread_mutex_t struct.
59         (__GTHREAD_LEGACY_MUTEX_T): Define.
61 2023-01-13  Seija Kijin  <doremylover456@gmail.com>
63         * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
64         unified syntax.
66 2023-01-07  LIU Hao  <lh_mouse@126.com>
68         PR middle-end/108300
69         * config/i386/enable-execute-stack-mingw32.c: Define
70         `WIN32_LEAN_AND_MEAN` before <windows.h>.
71         * libgcc2.c: Likewise.
72         * unwind-generic.h: Likewise.
74 2023-01-03  Florian Weimer  <fweimer@redhat.com>
76         * unwind-dw2-execute_cfa.h: New file.  Extracted from
77         the execute_cfa_program function in unwind-dw2.c.
78         * unwind-dw2.c (execute_cfa_program_generic): New function.
79         (execute_cfa_program_specialized): Likewise.
80         (execute_cfa_program): Call execute_cfa_program_specialized
81         or execute_cfa_program_generic, as appropriate.
83 2023-01-03  Florian Weimer  <fweimer@redhat.com>
85         Revert:
86         2023-01-03  Florian Weimer  <fweimer@redhat.com>
88         * unwind-dw2.c (dwarf_reg_size): New function.
89         (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
90         (_Unwind_SetSpColumn, uw_install_context_1): Use it.
91         (uw_init_context_1): Do not initialize dwarf_reg_size_table
92         if not in use.
94 2023-01-03  Florian Weimer  <fweimer@redhat.com>
96         Revert:
97         2023-01-03  Florian Weimer  <fweimer@redhat.com>
99         * unwind-dw2-execute_cfa.h: New file.  Extracted from
100         the execute_cfa_program function in unwind-dw2.c.
101         * unwind-dw2.c (execute_cfa_program_generic): New function.
102         (execute_cfa_program_specialized): Likewise.
103         (execute_cfa_program): Call execute_cfa_program_specialized
104         or execute_cfa_program_generic, as appropriate.
106 2023-01-02  Florian Weimer  <fweimer@redhat.com>
108         * unwind-dw2-execute_cfa.h: New file.  Extracted from
109         the execute_cfa_program function in unwind-dw2.c.
110         * unwind-dw2.c (execute_cfa_program_generic): New function.
111         (execute_cfa_program_specialized): Likewise.
112         (execute_cfa_program): Call execute_cfa_program_specialized
113         or execute_cfa_program_generic, as appropriate.
115 2023-01-02  Florian Weimer  <fweimer@redhat.com>
117         * unwind-dw2.c (dwarf_reg_size): New function.
118         (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
119         (_Unwind_SetSpColumn, uw_install_context_1): Use it.
120         (uw_init_context_1): Do not initialize dwarf_reg_size_table
121         if not in use.
123 2022-12-25  Jonathan Yong  <10walls@gmail.com>
125         * config/i386/gthr-win32.h: undef CC_NONE
127 2022-12-24  Iain Sandoe  <iain@sandoe.co.uk>
129         * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
130         install of libgcc_s.1.dylib when the installation is into the build
131         gcc directory.
133 2022-12-23  Eric Botcazou  <ebotcazou@adacore.com>
135         * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
136         as well as new i386/t-slibgcc-mingw fragment.
137         (x86_64-*-mingw*): Likewise.
138         * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
139         both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
140         Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
141         Include stdlib.h instead of errno.h and do not include _mingw.h.
142         (CONST_CAST2): Add specific definition for C++.
143         (ATTRIBUTE_UNUSED): New macro.
144         (__UNUSED_PARAM): Delete.
145         Define WIN32_LEAN_AND_MEAN before including windows.h.
146         (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
147         (__gthread_objc_init_thread_system): Likewise.
148         (__gthread_objc_thread_get_data): Minor tweak.
149         (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
150         (__gthread_objc_condition_deallocate): Likewise.
151         (__gthread_objc_condition_wait): Likewise.
152         (__gthread_objc_condition_broadcast): Likewise.
153         (__gthread_objc_condition_signal): Likewise.
154         Include sys/time.h.
155         (__gthr_win32_DWORD): New typedef.
156         (__gthr_win32_HANDLE): Likewise.
157         (__gthr_win32_CRITICAL_SECTION): Likewise.
158         (__gthr_win32_CONDITION_VARIABLE): Likewise.
159         (__gthread_t): Adjust.
160         (__gthread_key_t): Likewise.
161         (__gthread_mutex_t): Likewise.
162         (__gthread_recursive_mutex_t): Likewise.
163         (__gthread_cond_t): New typedef.
164         (__gthread_time_t): Likewise.
165         (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
166         (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
167         (__GTHREAD_COND_INIT_FUNCTION): Define.
168         (__GTHREAD_TIME_INIT): Likewise.
169         (__gthr_i486_lock_cmp_xchg): Delete.
170         (__gthr_win32_create): Declare.
171         (__gthr_win32_join): Likewise.
172         (__gthr_win32_self): Likewise.
173         (__gthr_win32_detach): Likewise.
174         (__gthr_win32_equal): Likewise.
175         (__gthr_win32_yield): Likewise.
176         (__gthr_win32_mutex_destroy): Likewise.
177         (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
178         (__gthr_win32_cond_broadcast): Likewise.
179         (__gthr_win32_cond_signal): Likewise.
180         (__gthr_win32_cond_wait): Likewise.
181         (__gthr_win32_cond_timedwait): Likewise.
182         (__gthr_win32_recursive_mutex_init_function): Delete.
183         (__gthr_win32_recursive_mutex_lock): Likewise.
184         (__gthr_win32_recursive_mutex_unlock): Likewise.
185         (__gthr_win32_recursive_mutex_destroy): Likewise.
186         (__gthread_create): New inline function.
187         (__gthread_join): Likewise.
188         (__gthread_self): Likewise.
189         (__gthread_detach): Likewise.
190         (__gthread_equal): Likewise.
191         (__gthread_yield): Likewise.
192         (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
193         (__gthread_cond_broadcast): Likewise.
194         (__gthread_cond_signal): Likewise.
195         (__gthread_cond_wait): Likewise.
196         (__gthread_cond_timedwait): Likewise.
197         (__GTHREAD_WIN32_INLINE): New macro.
198         (__GTHREAD_WIN32_COND_INLINE): Likewise.
199         (__GTHREAD_WIN32_ACTIVE_P): Likewise.
200         Define WIN32_LEAN_AND_MEAN before including windows.h.
201         (__gthread_once): Minor tweaks.
202         (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
203         (__gthread_key_delete): Minor tweak.
204         (__gthread_getspecific): Likewise.
205         (__gthread_setspecific): Likewise.
206         (__gthread_mutex_init_function): Reimplement.
207         (__gthread_mutex_destroy): Likewise.
208         (__gthread_mutex_lock): Likewise.
209         (__gthread_mutex_trylock): Likewise.
210         (__gthread_mutex_unlock): Likewise.
211         (__gthr_win32_abs_to_rel_time): Declare.
212         (__gthread_recursive_mutex_init_function): Reimplement.
213         (__gthread_recursive_mutex_destroy): Likewise.
214         (__gthread_recursive_mutex_lock): Likewise.
215         (__gthread_recursive_mutex_trylock): Likewise.
216         (__gthread_recursive_mutex_unlock): Likewise.
217         (__gthread_cond_destroy): New inline function.
218         (__gthread_cond_wait_recursive): Likewise.
219         * config/i386/gthr-win32.c: Delete everything.
220         Include gthr-win32.h to get the out-of-line version of inline routines.
221         Add compile-time checks for the local version of the Win32 types.
222         * config/i386/gthr-win32-cond.c: New file.
223         * config/i386/gthr-win32-thread.c: Likewise.
224         * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
225         EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
226         the static version of libgcc.
227         * config/i386/t-slibgcc-mingw: New file.
228         * config/i386/libgcc-mingw.ver: Likewise.
230 2022-12-16  Thomas Neumann  <tneumann@users.sourceforge.net>
232         * unwind-dw2-fde.c: Initialize fde object lazily when
233         the first exception tries to pass through.
235 2022-12-16  Thomas Neumann  <tneumann@users.sourceforge.net>
237         * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
239 2022-12-08  Max Filippov  <jcmvbkbc@gmail.com>
241         * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
242         (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
243         (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
244         (XSHAL_ABI): Remove stray symbols from macro definitions.
246 2022-12-07  Max Filippov  <jcmvbkbc@gmail.com>
248         * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
249         xtensa-config-builtin.h.
250         * config/xtensa/crtn.S: Likewise.
251         * config/xtensa/lib1funcs.S: Likewise.
252         * config/xtensa/lib2funcs.S: Likewise.
253         * config/xtensa/xtensa-config-builtin.h: New File.
255 2022-11-04  Florian Weimer  <fweimer@redhat.com>
257         * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
258         values actually used by BFD ld.
260 2022-10-23  LIU Hao  <lh_mouse@126.com>
262         * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
263         libobjc, instead of 'gthr.h'
265 2022-10-19  LIU Hao  <lh_mouse@126.com>
267         * config.host: Add new cases for `mcf` thread model
268         * config/i386/gthr-mcf.h: New file
269         * config/i386/t-mingw-mcfgthread: New file
270         * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
271         * configure: Regenerate
273 2022-10-18  Jonathan Wakely  <jwakely@redhat.com>
275         * Makefile.in: Quote variable.
277 2022-10-17  H.J. Lu  <hjl.tools@gmail.com>
279         * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
280         argument.
281         * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
282         _Unwind_Frames_Increment.
283         (_Unwind_ForcedUnwind_Phase2): Likewise.
284         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
285         Take the EXC argument.  Return _URC_FATAL_PHASE2_ERROR if the
286         return address on normal stack doesn't match the return address
287         on shadow stack.
289 2022-10-17  Florian Weimer  <fweimer@redhat.com>
291         * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
292         and reduce its size.
294 2022-10-14  Jakub Jelinek  <jakub@redhat.com>
296         * config/i386/t-softfp (softfp_extensions): Add bfsf.
297         (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
298         (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
299         CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
300         -msse2.
301         * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
302         __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
303         * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
304         * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
305         * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
306         * soft-fp/brain.h: New file.
307         * soft-fp/truncsfbf2.c: New file.
308         * soft-fp/truncdfbf2.c: New file.
309         * soft-fp/truncxfbf2.c: New file.
310         * soft-fp/trunctfbf2.c: New file.
311         * soft-fp/trunchfbf2.c: New file.
312         * soft-fp/truncbfhf2.c: New file.
313         * soft-fp/extendbfsf2.c: New file.
315 2022-10-12  Martin Liska  <mliska@suse.cz>
317         * libgcov-driver.c: Use new function.
318         * libgcov.h (gcov_write_summary): Rename to ...
319         (gcov_write_object_summary): ... this.
321 2022-10-11  Olivier Hainque  <hainque@adacore.com>
323         * config.host (*vxworks*): When enable_shared, add
324         libgcc and crtstuff "shared" fragments for rtp except
325         large code model.
326         (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
327         the list of fragments.
329 2022-10-06  Jakub Jelinek  <jakub@redhat.com>
331         * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
332         fs->regs.how[X] instead of fs->regs.reg[X].how.
334 2022-10-06  Jakub Jelinek  <jakub@redhat.com>
336         * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
337         REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
338         REG_UNDEFINED): New anonymous enum, moved from inside of
339         struct frame_state_reg_info.
340         (struct frame_state_reg_info): Remove reg[].how element and the
341         anonymous enum there.  Add how element.
342         * unwind-dw2.c: Include stddef.h.
343         (uw_frame_state_for): Don't clear first
344         offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
345         (execute_cfa_program, __frame_state_for, uw_update_context_1,
346         uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
347         or fs.regs.how[X] instead of fs.regs.reg[X].how.
348         * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
349         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
350         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
351         * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
352         UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
353         Likewise.
354         * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
355         Likewise.
356         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
357         * config/arc/linux-unwind.h (arc_fallback_frame_state,
358         arc_frob_update_context): Likewise.
359         * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
360         * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
361         * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
362         * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
363         * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
364         * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
365         MD_FALLBACK_FRAME_STATE_FOR): Likewise.
366         * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
367         sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
368         * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
369         x86_fallback_frame_state): Likewise.
370         * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
371         * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
372         x86_fallback_frame_state): Likewise.
373         * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
374         Likewise.
375         * config/i386/dragonfly-unwind.h
376         (x86_64_dragonfly_fallback_frame_state): Likewise.
377         * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
378         * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
379         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
380         Likewise.
381         * config/aarch64/freebsd-unwind.h
382         (aarch64_freebsd_fallback_frame_state): Likewise.
383         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
384         Likewise.
385         * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
386         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
387         * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
388         Likewise.
389         * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
390         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
391         Likewise.
392         * config/rs6000/darwin-fallback.c (set_offset): Likewise.
393         * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
394         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
395         * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
397 2022-10-02  Olivier Hainque  <hainque@adacore.com>
399         * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment.  Move
400         -I options for gcc/include and gcc/include-fixed at the end
401         and make them -isystem.
403 2022-10-02  Olivier Hainque  <hainque@adacore.com>
405         * config/gthr-vxworks.h: Prevent Wpragma warning for the
406         pragma diagnostics on Wstrict-prototypes.
408 2022-09-29  Olivier Hainque  <hainque@adacore.com>
410         * config/vxcrtstuff.c: Improve the comment attached to the use
411         of auto-host.h and of __dso_handle.  Remove redundant guard on
412         HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
414 2022-09-26  Thomas Neumann  <tneumann@users.sourceforge.net>
416         * unwind-dw2-fde.c: Introduce a constant for in_shutdown
417         for the non-fast-path case. Drop destructor priority.
419 2022-09-22  Thomas Neumann  <tneumann@users.sourceforge.net>
421         * unwind-dw2-fde.c: (release_register_frames) Remember
422         when the btree has been destroyed.
423         (__deregister_frame_info_bases) Disable the assert when
424         shutting down.
426 2022-09-18  Thomas Neumann  <tneumann@users.sourceforge.net>
428         * unwind-dw2-fde.c: Replace uintptr_t with typedef
429         for __UINTPTR_TYPE__.
430         * unwind-dw2-btree.h: Likewise.
432 2022-09-16  Thomas Neumann  <tneumann@users.sourceforge.net>
434         * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
435         (__register_frame_info_table_bases): Use btree in atomic fast path.
436         (__deregister_frame_info_bases): Likewise.
437         (_Unwind_Find_FDE): Likewise.
438         (base_from_object): Make parameter const.
439         (classify_object_over_fdes): Add query-only mode.
440         (get_pc_range): Compute PC range for lookup.
441         * unwind-dw2-fde.h (last_fde): Make parameter const.
442         * unwind-dw2-btree.h: New file.
444 2022-08-31  Martin Liska  <mliska@suse.cz>
446         * config.host: Remove hppa.
448 2022-08-30  Martin Liska  <mliska@suse.cz>
450         * config.host: Remove the port.
452 2022-08-26  Martin Liska  <mliska@suse.cz>
454         * config.host: Remove cr16 related stuff.
455         * config/cr16/crti.S: Removed.
456         * config/cr16/crtlibid.S: Removed.
457         * config/cr16/crtn.S: Removed.
458         * config/cr16/divmodhi3.c: Removed.
459         * config/cr16/lib1funcs.S: Removed.
460         * config/cr16/t-cr16: Removed.
461         * config/cr16/t-crtlibid: Removed.
462         * config/cr16/unwind-cr16.c: Removed.
463         * config/cr16/unwind-dw2.h: Removed.
465 2022-08-16  Kito Cheng  <kito.cheng@sifive.com>
467         * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
468         (_FP_NANFRAC_H): Ditto.
469         (_FP_NANSIGN_H): Ditto.
470         * config/riscv/t-softfp32 (softfp_extensions): Add HF related
471         routines.
472         (softfp_truncations): Ditto.
473         (softfp_extras): Ditto.
474         * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
476 2022-08-16  Kito Cheng  <kito.cheng@sifive.com>
478         * soft-fp/fixhfdi.c: New.
479         * soft-fp/fixhfsi.c: Likewise.
480         * soft-fp/fixunshfdi.c: Likewise.
481         * soft-fp/fixunshfsi.c: Likewise.
482         * soft-fp/floatdihf.c: Likewise.
483         * soft-fp/floatsihf.c: Likewise.
484         * soft-fp/floatundihf.c: Likewise.
485         * soft-fp/floatunsihf.c: Likewise.
486         * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
487         lines and update URL for license.
488         * soft-fp/addsf3.c: Likewise.
489         * soft-fp/addtf3.c: Likewise.
490         * soft-fp/divdf3.c: Likewise.
491         * soft-fp/divsf3.c: Likewise.
492         * soft-fp/divtf3.c: Likewise.
493         * soft-fp/double.h: Likewise.
494         * soft-fp/eqdf2.c: Likewise.
495         * soft-fp/eqhf2.c: Likewise.
496         * soft-fp/eqsf2.c: Likewise.
497         * soft-fp/eqtf2.c: Likewise.
498         * soft-fp/extenddftf2.c: Likewise.
499         * soft-fp/extended.h: Likewise.
500         * soft-fp/extendhfdf2.c: Likewise.
501         * soft-fp/extendhfsf2.c: Likewise.
502         * soft-fp/extendhftf2.c: Likewise.
503         * soft-fp/extendhfxf2.c: Likewise.
504         * soft-fp/extendsfdf2.c: Likewise.
505         * soft-fp/extendsftf2.c: Likewise.
506         * soft-fp/extendxftf2.c: Likewise.
507         * soft-fp/fixdfdi.c: Likewise.
508         * soft-fp/fixdfsi.c: Likewise.
509         * soft-fp/fixdfti.c: Likewise.
510         * soft-fp/fixhfti.c: Likewise.
511         * soft-fp/fixsfdi.c: Likewise.
512         * soft-fp/fixsfsi.c: Likewise.
513         * soft-fp/fixsfti.c: Likewise.
514         * soft-fp/fixtfdi.c: Likewise.
515         * soft-fp/fixtfsi.c: Likewise.
516         * soft-fp/fixtfti.c: Likewise.
517         * soft-fp/fixunsdfdi.c: Likewise.
518         * soft-fp/fixunsdfsi.c: Likewise.
519         * soft-fp/fixunsdfti.c: Likewise.
520         * soft-fp/fixunshfti.c: Likewise.
521         * soft-fp/fixunssfdi.c: Likewise.
522         * soft-fp/fixunssfsi.c: Likewise.
523         * soft-fp/fixunssfti.c: Likewise.
524         * soft-fp/fixunstfdi.c: Likewise.
525         * soft-fp/fixunstfsi.c: Likewise.
526         * soft-fp/fixunstfti.c: Likewise.
527         * soft-fp/floatdidf.c: Likewise.
528         * soft-fp/floatdisf.c: Likewise.
529         * soft-fp/floatditf.c: Likewise.
530         * soft-fp/floatsidf.c: Likewise.
531         * soft-fp/floatsisf.c: Likewise.
532         * soft-fp/floatsitf.c: Likewise.
533         * soft-fp/floattidf.c: Likewise.
534         * soft-fp/floattihf.c: Likewise.
535         * soft-fp/floattisf.c: Likewise.
536         * soft-fp/floattitf.c: Likewise.
537         * soft-fp/floatundidf.c: Likewise.
538         * soft-fp/floatundisf.c: Likewise.
539         * soft-fp/floatunditf.c: Likewise.
540         * soft-fp/floatunsidf.c: Likewise.
541         * soft-fp/floatunsisf.c: Likewise.
542         * soft-fp/floatunsitf.c: Likewise.
543         * soft-fp/floatuntidf.c: Likewise.
544         * soft-fp/floatuntihf.c: Likewise.
545         * soft-fp/floatuntisf.c: Likewise.
546         * soft-fp/floatuntitf.c: Likewise.
547         * soft-fp/gedf2.c: Likewise.
548         * soft-fp/gesf2.c: Likewise.
549         * soft-fp/getf2.c: Likewise.
550         * soft-fp/half.h: Likewise.
551         * soft-fp/ledf2.c: Likewise.
552         * soft-fp/lesf2.c: Likewise.
553         * soft-fp/letf2.c: Likewise.
554         * soft-fp/muldf3.c: Likewise.
555         * soft-fp/mulsf3.c: Likewise.
556         * soft-fp/multf3.c: Likewise.
557         * soft-fp/negdf2.c: Likewise.
558         * soft-fp/negsf2.c: Likewise.
559         * soft-fp/negtf2.c: Likewise.
560         * soft-fp/op-1.h: Likewise.
561         * soft-fp/op-2.h: Likewise.
562         * soft-fp/op-4.h: Likewise.
563         * soft-fp/op-8.h: Likewise.
564         * soft-fp/op-common.h: Likewise.
565         * soft-fp/quad.h: Likewise.
566         * soft-fp/single.h: Likewise.
567         * soft-fp/soft-fp.h: Likewise.
568         * soft-fp/subdf3.c: Likewise.
569         * soft-fp/subsf3.c: Likewise.
570         * soft-fp/subtf3.c: Likewise.
571         * soft-fp/truncdfhf2.c: Likewise.
572         * soft-fp/truncdfsf2.c: Likewise.
573         * soft-fp/truncsfhf2.c: Likewise.
574         * soft-fp/trunctfdf2.c: Likewise.
575         * soft-fp/trunctfhf2.c: Likewise.
576         * soft-fp/trunctfsf2.c: Likewise.
577         * soft-fp/trunctfxf2.c: Likewise.
578         * soft-fp/truncxfhf2.c: Likewise.
579         * soft-fp/unorddf2.c: Likewise.
580         * soft-fp/unordsf2.c: Likewise.
581         * soft-fp/unordtf2.c: Likewise.
583 2022-07-18  Claudiu Zissulescu  <claziss@synopsys.com>
585         * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
586         * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
587         configurations.
589 2022-06-25  Jeff Law  <jeffreyalaw@gmail.com>
591         * config.host: Removed tilegx and tilepro entries.
592         * config/tilegx/sfp-machine.h: Removed.
593         * config/tilegx/sfp-machine32.h: Removed.
594         * config/tilegx/sfp-machine64.h: Removed.
595         * config/tilegx/t-crtstuff: Removed.
596         * config/tilegx/t-softfp: Removed.
597         * config/tilegx/t-tilegx: Removed.
598         * config/tilepro/atomic.c: Removed.
599         * config/tilepro/atomic.h: Removed.
600         * config/tilepro/linux-unwind.h: Removed.
601         * config/tilepro/sfp-machine.h: Removed.
602         * config/tilepro/softdivide.c: Removed.
603         * config/tilepro/softmpy.S: Removed.
604         * config/tilepro/t-crtstuff: Removed.
605         * config/tilepro/t-tilepro: Removed.
607 2022-06-09  Takayuki 'January June' Suwa  <jjsuwa_sys3175@yahoo.co.jp>
609         * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
610         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
612 2022-06-01  H.J. Lu  <hjl.tools@gmail.com>
614         PR libgcc/27576
615         * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
617 2022-05-25  Wilco Dijkstra  <wilco.dijkstra@arm.com>
619         PR libgcc/105708
620         * config/aarch64/lse-init.c: Increase constructor priority.
622 2022-05-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
624         PR target/104689
625         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
626         Handle the !REG_UNSAVED case.
627         * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
629 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
631         * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
632         (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
633         (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
635 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
637         * config.host: Add t-dfprules to AArch64 targets.
639 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
641         * configure: Regenerate.
643 2022-05-13  Sebastian Pop  <spop@amazon.com>
645         PR target/105162
646         * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
647         * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
649 2022-05-10  Martin Liska  <mliska@suse.cz>
650             Hans-Peter Helfert  <peter-helfert@t-online.de>
652         PR gcov-profile/105535
653         * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
654         n_functions.
656 2022-05-02  Martin Liska  <mliska@suse.cz>
658         * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
660 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
662         * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
663         (gcov_profile_merge_stream): Likewise.
665 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
667         * libgcov-util.c (consume_stream): New.
668         (get_target_profiles_for_merge): Likewise.
669         (gcov_profile_merge_stream): Likewise.
671 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
673         * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
675 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
677         * libgcov-util.c (read_gcda_file): Do not open file.
678         (ftw_read_file): Open file here.
680 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
682         * libgcov-util.c (read_gcda_file): Prepend new info object to global
683         list.
684         (ftw_read_file): Remove list append here.
686 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
688         * libgcov-util.c (read_gcda_file): Do not duplicate filename.
689         (ftw_read_file): Duplicate filename for read_gcda_file().
691 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
693         * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
694         (__gcov_filename_to_gcfn): Declare and document.
695         * libgcov-driver.c (dump_string): New.
696         (__gcov_filename_to_gcfn): Likewise.
697         (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
699 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
701         * libgcov.h (gcov_seek): Remove define and declaration.
703 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
705         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
706         parameter.  Pass mode to gcov_open() calls.
707         * libgcov-driver.c (dump_one_gcov):  Add mode parameter.  Pass mode to
708         gcov_exit_open_gcda_file() call.
709         (gcov_do_dump): Add mode parameter.  Pass mode to dump_one_gcov()
710         calls.
711         (__gcov_dump_one):  Open file for reading and writing.
713 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
715         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
716         reading and writing.
717         * libgcov-util.c (read_gcda_file): Open file for reading.
718         * libgcov.h (gcov_open): Delete declaration.
720 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
722         * libgcov-util.c (gcov_profile_merge): Return the list of merged
723         profiles.  Accept empty target and source profile lists.
725 2022-04-08  Sergei Trofimovich  <siarheit@google.com>
727         * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
729 2022-03-29  Chenghua Xu  <xuchenghua@loongson.cn>
730             Lulu Cheng  <chenglulu@loongson.cn>
732         * configure: Regenerate file.
734 2022-03-29  Chenghua Xu  <xuchenghua@loongson.cn>
735             Lulu Cheng  <chenglulu@loongson.cn>
737         * config/loongarch/crtfastmath.c: New file.
738         * config/loongarch/linux-unwind.h: Like wise.
739         * config/loongarch/sfp-machine.h: Like wise.
740         * config/loongarch/t-crtstuff: Like wise.
741         * config/loongarch/t-loongarch: Like wise.
742         * config/loongarch/t-loongarch64: Like wise.
743         * config/loongarch/t-softfp-tf: Like wise.
744         * config.host: Add LoongArch tuples.
745         * configure.ac: Add LoongArch support.
747 2022-03-19  Sergei Trofimovich  <slyfox at gentoo dot org>
749         PR libgcc/86224
750         * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
751         for __mulsi3.
752         (__udivsi3_internal, __divsi3_internal): Similarly.
753         (__umodsi3, __modsi3): Use the internal function names.
755 2022-03-09  Tobias Burnus  <tobias@codesourcery.com>
757         PR target/102215
758         * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
759         a line up to non-arg-dependent value first.
760         (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
761         __atomic_compare_exchange_{1,2}.
763 2022-03-04  Iain Sandoe  <iain@sandoe.co.uk>
765         * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
766         * config/t-darwin-ehs: Add dependency on unwind.h.
768 2022-02-24  Xi Ruoyao  <xry111@mengyan1223.wang>
770         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
771         with 0 instead of NULL.
773 2022-02-24  Jose E. Marchesi  <jose.marchesi@oracle.com>
775         PR target/104656
776         * configure.ac: --disable-gcov if targetting bpf-*.
777         * configure: Regenerate.
779 2022-01-25  Florian Weimer  <fweimer@redhat.com>
781         PR libgcc/104207
782         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
784 2022-01-17  Martin Liska  <mliska@suse.cz>
786         * libgcov-driver.c: Rename .c names to .cc.
788 2022-01-15  David  <gccbugzilla@limegreensocks.com>
790         * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
791         Remove inlined version, Windows 95 is no longer relevant.
792         * config/i386/gthr-win32.h
793         (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
795 2022-01-14  Claudiu Zissulescu  <claziss@synopsys.com>
797         * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
798         DWARF_ALT_FRAME_RETURN_COLUMN macro.
800 2022-01-04  Florian Weimer  <fweimer@redhat.com>
802         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
803         if available.
805 2022-01-02  John David Anglin  <danglin@gcc.gnu.org>
807         * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
808         (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
809         return is not equal _ASM_EFAULT.
810         (__kernel_cmpxchg2): Likewise.
812 2021-12-17  Iain Sandoe  <iain@sandoe.co.uk>
814         * config.host: Add shim declaration header to powerpc*-darwin builds.
815         * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
816         file.
817         * config/t-darwin-ehs: Add dependencies to the shared unwinder
818         objects.
819         * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
820         the shared EH lib.  Add all-multi to the dependencies for the
821         libgcc_s.1.dylib redirections.
823 2021-12-13  Olivier Hainque  <hainque@adacore.com>
825         * config.host (powerpc*-*-vxworks7*): Remove
826         rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
828 2021-12-13  Olivier Hainque  <hainque@adacore.com>
830         * config.host (*vxworks*): Remove special case for
831         arm on the use of vxcrtstuff.
833 2021-12-13  Fred Konrad  <konrad@adacore.com>
834             Olivier Hainque  <hainque@adacore.com>
836         * config/t-vxcrtstuffS: New Makefile fragment.
837         * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
838         functions for INITFINI_ARRAY support in shared libs and guard
839         the definition of eh table registration functions on conditions
840         indicating they are needed.
842 2021-12-13  Olivier Hainque  <hainque@adacore.com>
844         * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
845         ahead of the other files in tmake_files.
846         * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
847         overriding it.
849 2021-12-13  Olivier Hainque  <hainque@adacore.com>
851         * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
852         both VxWorks7 and earlier.
853         * config/t-vxworks7: Remove.
854         * config.host: Remove special case for vxworks7.
856 2021-12-11  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
858         * config/vxcrtstuff.c: Make constructor and destructor
859         functions static when possible.
861 2021-12-11  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
863         * config/vxcrtstuff.c: Remove constructor/destructor
864         declarations.
866 2021-12-10  Iain Sandoe  <iain@sandoe.co.uk>
868         * config/t-darwin: Add libgcc_tm.h to the dependencies
869         for darwin10-unwind-find-enc-func.
871 2021-12-10  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
873         * config/rs6000/t-vxworks: New file.
874         * config.host (powerpc*-*-vxworks*): Use it instead of
875         t-ppccomm.
877 2021-12-09  Fred Konrad  <konrad@adacore.com>
879         * config.host (powerpc*-wrs-vxworks7*): Fix path to
880         rs6000/t-ppc64-fp, relative to config/ not libgcc/.
882 2021-12-09  Olivier Hainque  <hainque@adacore.com>
883             Rasmus Villemoes  <rv@rasmusvillemoes.dk>
885         * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
886         $(LIBGCC2_INCLUDES).
887         * config/t-vxworks7: Likewise.
889 2021-12-08  Iain Sandoe  <iain@sandoe.co.uk>
891         * config.host (*-*-darwin*): Add logic to build a shared
892         unwinder library for Darwin8-10.
893         * config/i386/t-darwin: Build legacy libgcc_s.1.
894         * config/rs6000/t-darwin: Likewise.
895         * config/t-darwin: Reorganise the EH fragments to place
896         them for inclusion in a shared EH lib.
897         * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
898         the supporting pieces (all FAT libs).
899         * config/t-darwin-noeh: Removed.
900         * config/darwin-unwind.ver: New file.
901         * config/rs6000/t-darwin-ehs: New file.
902         * config/t-darwin-ehs: New file.
904 2021-12-06  Nelson Chu  <nelson.chu@sifive.com>
906         * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
907         then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
908         * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
909         HIDDEN_DEF.
911 2021-11-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
913         * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
914         ssize_t and vfork after including auto-host.h.
916 2021-11-29  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
918         * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
919         crtend.o to extra_parts.
921 2021-11-27  John David Anglin  <danglin@gcc.gnu.org>
923         * config/pa/t-dimode (lib2difuncs): Fix typo.
925 2021-11-25  Florian Weimer  <fweimer@redhat.com>
927         * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
928         Remove func, ret.
929         (find_fde_tail): New function.  Split from
930         _Unwind_IteratePhdrCallback.  Move the result initialization
931         from _Unwind_Find_FDE.
932         (_Unwind_Find_FDE): Updated to call find_fde_tail.
934 2021-11-22  Florian Weimer  <fweimer@redhat.com>
936         * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
937         (struct unw_eh_callback_data): Make dbase member conditional.
938         (unw_eh_callback_data_dbase): New function.
939         (base_from_cb_data): Simplify for the non-dbase case.
940         (_Unwind_IteratePhdrCallback): Adjust.
941         (_Unwind_Find_FDE): Likewise.
943 2021-11-22  Florian Weimer  <fweimer@redhat.com>
945         * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
946         tbase member.
947         (base_from_cb_data): Adjust.
948         (_Unwind_IteratePhdrCallback): Likewise.
949         (_Unwind_Find_FDE): Likewise.
951 2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
953         * config.host: Add weak emutls crt to the extra_parts.
954         * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
955         workaround.
956         * config/libgcc-libsystem.ver: Add exclude list for the system-
957         provided unwinder.
958         * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
959         * config/i386/libgcc-darwin.10.4.ver: Removed.
960         * config/i386/libgcc-darwin.10.5.ver: Removed.
961         * config/rs6000/libgcc-darwin.10.4.ver: Removed.
962         * config/rs6000/libgcc-darwin.10.5.ver: Removed.
963         * config/t-darwin-noeh: New file.
965 2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
967         * config/t-darwin: Build weak-defined emutls objects.
968         * emutls.c (__emutls_get_address): Add optional attributes.
969         (__emutls_register_common): Likewise.
970         (EMUTLS_ATTR): New.
972 2021-11-11  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
974         PR libgcc/103044
975         * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
976         called with a null argument or at the end of the backtrace and return.
977         * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
979 2021-11-10  Jakub Jelinek  <jakub@redhat.com>
981         * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
982         formatting fix.
984 2021-11-05  Iain Sandoe  <iain@sandoe.co.uk>
986         * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
987         * config/i386/darwin-lib.h: Declare Darwin10 crt function.
989 2021-11-05  John David Anglin  <danglin@gcc.gnu.org>
991         PR libgomp/96661
992         * config.host (hppa*64*-*-linux*): Revise tmake_file.
993         (hppa*64*-*-hpux11*): Likewise.
994         * config/pa/sfp-exceptions.c: New.
995         * config/pa/sfp-machine.h: New.
996         * config/pa/t-dimode: New.
997         * config/pa/t-softfp-sfdftf: New.
999 2021-10-27  John David Anglin  <danglin@gcc.gnu.org>
1001         * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
1002         tmake_file.
1003         * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
1004         Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
1005         SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
1006         * config/pa/t-linux64 (LIB1ASMSRC): New define.
1007         (LIB1ASMFUNCS): Revise.
1008         (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
1010 2021-10-22  Stafford Horne  <shorne@gmail.com>
1012         * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1013         Change to 0.
1015 2021-10-14  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
1017         * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
1018         outside of get_regs() in order to use it in another function, this
1019         is done twice: for __powerpc64__ and for !__powerpc64__.
1020         (struct trace_arg): New struct.
1021         (struct layout): New struct.
1022         (ppc_backchain_fallback): New function.
1023         * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
1024         state and call MD_BACKCHAIN_FALLBACK.
1026 2021-10-13  Martin Liska  <mliska@suse.cz>
1028         PR gcov-profile/90364
1029         * libgcov-driver.c (merge_one_data): Skip timestamp and verify
1030         checksums.
1031         (write_one_data): Write also checksum.
1032         * libgcov-util.c (read_gcda_file): Read also checksum field.
1033         * libgcov.h (struct gcov_info): Add new field.
1035 2021-10-08  Ian Lance Taylor  <iant@golang.org>
1037         * config/i386/morestack.S: Use .init_array for constructor if
1038         available.
1039         * config/rs6000/morestack.S: Likewise.
1040         * config/s390/morestack.S: Likewise.
1042 2021-10-03  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
1044         PR target/101104
1045         * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
1046         Use more correct values for native IBM 128-bit.
1048 2021-09-28  Iain Sandoe  <iain@sandoe.co.uk>
1050         * config/i386/libgcc-darwin.ver: Add Symbols for
1051         __cpu_model, __cpu_indicator_init.
1053 2021-09-22  Iain Sandoe  <iain@sandoe.co.uk>
1055         * config/i386/sfp-machine.h: Guard Mach-O-specific code
1056         using __APPLE__.
1058 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1060         * config/t-slibgcc-darwin: Delete unused code.
1062 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1064         * config/i386/t-darwin: Add in a vers file for X86-specific
1065         symbols.
1066         * config/t-darwin: Add the generic symbol maps here...
1067         * config/t-slibgcc-darwin: ... removing from here.
1068         * config/i386/libgcc-darwin.ver: New file.
1070 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1072         * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
1073         and __mulhc3.
1075 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1077         * config.host: Use convenience library for Darwin10
1078         unwinder shim.
1079         * config/t-darwin: Build Darwin10 unwinder shim as a
1080         convenience library.
1082 2021-09-13  Andrew Pinski  <apinski@marvell.com>
1084         * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
1085         * config/m32r/libgcc-glibc.ver: Removed.
1086         * config/m32r/t-linux: Removed.
1088 2021-09-08  liuhongt  <hongtao.liu@intel.com>
1090         * config/i386/t-softfp: Compile __{mul,div}hc3 into
1091         libgcc_s.so.1.
1093 2021-09-08  Jakub Jelinek  <jakub@redhat.com>
1094             Iain Sandoe  <iain@sandoe.co.uk>
1096         * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
1097         and export *hf* and *hc* functions at GCC_12.0.0.
1099 2021-09-06  liuhongt  <hongtao.liu@intel.com>
1101         * Makefile.in: Adjust to support specific CFLAGS for each
1102         libgcc source file.
1103         * config/i386/64/t-softfp: Explicitly add -msse2 for HF
1104         related libgcc source files.
1105         * config/i386/t-softfp: Ditto.
1106         * config/i386/_divhc3.c: New file.
1107         * config/i386/_mulhc3.c: New file.
1109 2021-09-03  Iain Sandoe  <iain@sandoe.co.uk>
1111         * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
1112         alias_DFtype, alias_TFtype): New.
1113         (ALIAS_SELECTOR): New.
1114         (strong_alias): Use __typeof and a _Generic selector to
1115         provide the type to the synthesized function.
1117 2021-09-02  liuhongt  <hongtao.liu@intel.com>
1119         * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
1120         * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
1121         * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
1122         * config/i386/t-softfp: Add hf soft-fp.
1123         * config.host: Add i386/64/t-softfp.
1124         * config/i386/64/t-softfp: New file.
1126 2021-09-02  liuhongt  <hongtao.liu@intel.com>
1128         * soft-fp/eqhf2.c: New file.
1129         * soft-fp/extendhfdf2.c: New file.
1130         * soft-fp/extendhfsf2.c: New file.
1131         * soft-fp/half.h (FP_CMP_EQ_H): New marco.
1132         * soft-fp/truncdfhf2.c: New file
1133         * soft-fp/truncsfhf2.c: New file
1135 2021-09-01  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1137         * unwind-arm-common.inc (abort): Remove.
1139 2021-08-31  Richard Sandiford  <richard.sandiford@arm.com>
1141         * config/aarch64/value-unwind.h: Add missing runtime exception
1142         paragraph.
1143         * config/frv/frv-abi.h: Likewise.
1144         * config/i386/value-unwind.h: Likewise.
1145         * config/pa/pa64-hpux-lib.h: Likewise.
1147 2021-08-26  David Edelsohn  <dje.gcc@gmail.com>
1149         * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
1150         __gcc_qadd.
1151         (__gcc_qadd): Call ldouble_qadd_internal.
1152         (__gcc_qsub): Call ldouble_qadd_internal with second long double
1153         argument negated.
1155 2021-08-26  Jonathan Yong  <10walls@gmail.com>
1157         * config/i386/cygming-crtend.c: Fix register_frame_ctor
1158         and register_frame_dtor warnings.
1160 2021-08-24  Richard Earnshaw  <rearnsha@arm.com>
1162         PR target/102035
1163         * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
1164         Add vlldm erratum work-around.
1166 2021-08-21  John David Anglin  <danglin@gcc.gnu.org>
1168         * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
1170 2021-08-16  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1172         * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
1173         (gcov_type_unsigned): Likewise.
1175 2021-08-14  Stafford Horne  <shorne@gmail.com>
1177         PR target/99783
1178         * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
1179         * config/or1k/t-crtstuff: New file.
1181 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1183         * libgcov-driver.c (#include <stdint.h>): Remove.
1184         (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
1186 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1188         * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
1189         * gcov.h (gcov_info): Declare.
1190         (__gcov_info_to_gdca): Likewise.
1191         * libgcov.h (gcov_write_counter): Remove.
1192         (gcov_write_tag_length): Likewise.
1193         * libgcov-driver.c (#include <stdint.h>): New.
1194         (#include <string.h>): Remove.
1195         (NEED_L_GCOV): Conditionally define.
1196         (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
1197         (are_all_counters_zero): New.
1198         (gcov_dump_handler): Likewise.
1199         (gcov_allocate_handler): Likewise.
1200         (dump_unsigned): Likewise.
1201         (dump_counter): Likewise.
1202         (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
1203         Use dump_unsigned() and dump_counter().
1204         (write_one_data): Add dump_fn, allocate_fn, and arg parameters.  Use
1205         dump_unsigned(), dump_counter(), and are_all_counters_zero().
1206         (__gcov_info_to_gcda): New.
1208 2021-08-05  Jakub Jelinek  <jakub@redhat.com>
1210         * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
1211         * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
1212         * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
1213         * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
1215 2021-08-04  Jakub Jelinek  <jakub@redhat.com>
1217         * config/t-slibgcc-fuchsia: Undo doubly applied patch.
1219 2021-07-15  Alan Modra  <amodra@gmail.com>
1221         * config/rs6000/morestack.S (R2_SAVE): Define.
1222         (__morestack): Save and restore r2.  Set up r2 for called
1223         functions.
1225 2021-07-01  H.J. Lu  <hjl.tools@gmail.com>
1227         * soft-fp/extendhfxf2.c: New file.
1228         * soft-fp/truncxfhf2.c: Likewise.
1230 2021-06-29  Julian Brown  <julian@codesourcery.com>
1232         * config/gcn/lib2-bswapti2.c: New file.
1233         * config/gcn/lib2-divmod-di.c: New file.
1234         * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
1235         typedefs.
1236         (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
1237         * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
1238         lib2-bswapti2.c.
1240 2021-06-29  Julian Brown  <julian@codesourcery.com>
1242         * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
1243         return types to USItype.
1244         * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
1246 2021-06-23  Kewen Lin  <linkw@linux.ibm.com>
1248         * configure: Regenerate.
1249         * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
1250         typos among the name, CFLAGS and the test.
1251         * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
1252         fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
1253         Remove.
1254         * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
1255         macro FLOAT128_HW_INSNS_ISA3_1.
1256         (FP128_3_1_CFLAGS_HW): Fix option typo.
1257         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
1258         FLOAT128_HW_INSNS_ISA3_1.
1259         (__floattikf_resolve): Likewise.
1260         (__floatuntikf_resolve): Likewise.
1261         (__fixkfti_resolve): Likewise.
1262         (__fixunskfti_resolve): Likewise.
1263         (__floattikf): Likewise.
1264         (__floatuntikf): Likewise.
1265         (__fixkfti): Likewise.
1266         (__fixunskfti): Likewise.
1268 2021-06-11  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
1270         PR target/99939
1271         * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
1272         macro.
1273         * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
1274         on passing -mcmse option.
1276 2021-06-10  Segher Boessenkool  <segher@kernel.crashing.org>
1278         * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
1279         _ARCH_PPC64 .
1281 2021-06-09  Carl Love  <cel@us.ibm.com>
1283         * config.host: Add if test and set for
1284         libgcc_cv_powerpc_3_1_float128_hw.
1285         * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
1286         Change calls of __fixkfti to __fixkfti_sw.
1287         * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
1288         Change calls of __fixunskfti to __fixunskfti_sw.
1289         * config/rs6000/float128-p10.c (__floattikf_hw,
1290         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
1291         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
1292         (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
1293         __fixunskfti_resolve): Add resolve functions.
1294         (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
1295         * config/rs6000/float128-sed (floattitf, __floatuntitf,
1296         __fixtfti, __fixunstfti): Add editor commands to change names.
1297         * config/rs6000/float128-sed-hw (__floattitf,
1298         __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
1299         change names.
1300         * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
1301         * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
1302         * config/rs6000/quad-float128.h (__floattikf_sw,
1303         __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
1304         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
1305         __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
1306         * config/rs6000/t-float128 (floattikf, floatuntikf,
1307         fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
1308         (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
1309         file names to fp128_ppc_funcs.
1310         * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
1311         fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
1312         fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
1313         * config/rs6000/t-float128-p10-hw: New file.
1314         * configure: Update script for isa 3.1 128-bit float support.
1315         * configure.ac: Add check for 128-bit float hardware support.
1316         * config/rs6000/fixkfti-sw.c: New file.
1317         * config/rs6000/fixunskfti-sw.c: New file.
1318         * config/rs6000/floattikf-sw.c: New file.
1319         * config/rs6000/floatuntikf-sw.c: New file.
1321 2021-05-13  Dimitar Dimitrov  <dimitar@dinux.eu>
1323         * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
1325 2021-05-13  Martin Liska  <mliska@suse.cz>
1327         * libgcov-driver.c: Fix GNU coding style.
1329 2021-05-10  Martin Liska  <mliska@suse.cz>
1331         * libgcov-driver.c (gcov_version): Use different name that does
1332         not clash with newly introduced macro.
1334 2021-04-29  Eric Botcazou  <ebotcazou@adacore.com>
1336         * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
1337         if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
1338         * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
1340 2021-04-28  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
1342         * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1343         Define.
1344         (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
1345         * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1346         Define.
1347         (__divkc3): Improve complex divide.
1349 2021-04-23  Michael Meissner  <meissner@linux.ibm.com>
1351         PR target/98952
1352         * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
1353         trampoline size comparison in 32-bit by reversing test and
1354         combining load immediate with compare.
1355         (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
1356         in 32-bit by reversing test and combining load immediate with
1357         compare.
1359 2021-04-05  Florian Weimer  <fweimer@redhat.com>
1360             Michael Meissner   <meissner@linux.ibm.com>
1362         * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
1363         point functions for $(decimal_float) only.
1365 2021-04-03  Jakub Jelinek  <jakub@redhat.com>
1367         PR target/97653
1368         * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
1369         $(objext) instead of $(object).  Use _floatunditf instead of
1370         _floatunsditf.  Add tf <-> ti conversion objects.
1371         (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
1373 2021-03-29  Michael Meissner  <meissner@linux.ibm.com>
1375         * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
1376         (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
1377         (fp128_decstr_objs): Delete.
1378         * dfp-bit.h: Call __sprintfieee128 to do conversions from
1379         _Float128 to a Decimal type.  Call __strtoieee128 to do
1380         conversions from a Decimal type to _Float128.
1381         * config/rs6000/_sprintfkf.c: Delete file.
1382         * config/rs6000/_sprintfkf.h: Delete file.
1383         * config/rs6000/_strtokf.c: Delete file.
1384         * config/rs6000/_strtokf.h: Delete file.
1386 2021-03-23  Marcus Comstedt  <marcus@mc.pp.se>
1388         * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
1389         to __BYTE_ORDER__.
1391 2021-03-06  Jakub Jelinek  <jakub@redhat.com>
1393         PR gcov-profile/99406
1394         * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
1395         defined, define these macros if not defined already.
1397 2021-03-04  Martin Liska  <mliska@suse.cz>
1399         PR gcov-profile/99105
1400         * libgcov-driver.c (write_top_counters): Rename to ...
1401         (write_topn_counters): ... this.
1402         (write_one_data): Pre-allocate buffer for number of items
1403         in the corresponding linked lists.
1404         * libgcov.h (malloc_mmap): New function.
1405         (allocate_gcov_kvp): Use it.
1407 2021-03-04  Martin Liska  <mliska@suse.cz>
1409         PR gcov-profile/99385
1410         * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
1412 2021-03-03  Martin Liska  <mliska@suse.cz>
1414         PR gcov-profile/97461
1415         * config.in: Regenerate.
1416         * configure: Likewise.
1417         * configure.ac: Check sys/mman.h header file
1418         * libgcov-driver.c (struct gcov_kvp): Remove static
1419         pre-allocated pool and use a dynamic one.
1420         * libgcov.h (MMAP_CHUNK_SIZE): New.
1421         (gcov_counter_add): Use mmap to allocate pool for struct
1422         gcov_kvp.
1424 2021-03-02  Michael Meissner  <meissner@linux.ibm.com>
1426         * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
1427         the function.
1428         * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
1430 2021-02-24  Jakub Jelinek  <jakub@redhat.com>
1432         PR libgcc/99236
1433         * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
1434         negation of m in unsigned type.
1436 2021-02-24  Christophe Lyon  <christophe.lyon@linaro.org>
1437             Hau Hsu  <hsuhau617@gmail.com>
1439         PR target/99157
1440         * config/arm/t-arm: Fix cmse support detection.
1442 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
1444         * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
1446 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
1448         * config/rs6000/_dd_to_kf.c: New file.
1449         * config/rs6000/_kf_to_dd.c: New file.
1450         * config/rs6000/_kf_to_sd.c: New file.
1451         * config/rs6000/_kf_to_td.c: New file.
1452         * config/rs6000/_sd_to_kf.c: New file.
1453         * config/rs6000/_sprintfkf.c: New file.
1454         * config/rs6000/_sprintfkf.h: New file.
1455         * config/rs6000/_strtokf.h: New file.
1456         * config/rs6000/_strtokf.c: New file.
1457         * config/rs6000/_td_to_kf.c: New file.
1458         * config/rs6000/quad-float128.h: Add new declarations.
1459         * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
1460         (fp128_decstr_funcs): New macro.
1461         (ibm128_dec_funcs): New macro.
1462         (fp128_ppc_funcs): Add the new conversions.
1463         (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
1464         compiled with -mabi=ieeelongdouble.
1465         (fp128_decstr_objs): Force __float128 <-> string conversions to be
1466         compiled with -mabi=ibmlongdouble.
1467         (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
1468         compiled with -mabi=ieeelongdouble.
1469         (FP128_CFLAGS_DECIMAL): New macro.
1470         (IBM128_CFLAGS_DECIMAL): New macro.
1471         * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
1472         (BFP_TO_DFP): Add PowerPC _Float128 support.
1473         * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
1474         IEEE 128-bit floating point.
1475         (DFP_TO_BFP): Add PowerPC _Float128 support.
1476         (BFP_TO_DFP): Add PowerPC _Float128 support.
1477         (BFP_SPRINTF): New macro.
1479 2021-01-27  Jakub Jelinek  <jakub@redhat.com>
1481         * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
1482         * config/i386/savms64f.h: Likewise.
1483         * config/i386/resms64.h: Likewise.
1484         * config/i386/resms64f.h: Likewise.
1485         * config/i386/resms64x.h: Likewise.
1486         * config/i386/resms64fx.h: Likewise.
1488 2021-01-26  Martin Liska  <mliska@suse.cz>
1490         PR gcov-profile/98739
1491         * libgcov.h (gcov_topn_add_value): Do not train when
1492         we have a merged profile with a negative number of total
1493         value.
1495 2021-01-25  Martin Liska  <mliska@suse.cz>
1497         PR gcov-profile/98739
1498         * libgcov-merge.c (__gcov_merge_topn): Mark when merging
1499         ends with a dropped counter.
1500         * libgcov.h (gcov_topn_add_value): Add return value.
1502 2021-01-13  Stafford Horne  <shorne@gmail.com>
1504         * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1505         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
1506         FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
1507         FP_EX_ALL): New constant macros.
1508         (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
1509         FP_HANDLE_EXCEPTIONS): New macros.
1510         (_FP_TININESS_AFTER_ROUNDING): Change to 1.
1512 2021-01-13  Samuel Thibault  <samuel.thibault@gnu.org>
1514         * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
1515         posix siginfo case to struct handler_args. Detect between legacy
1516         and siginfo from the second parameter, which is a small sigcode in
1517         the legacy case, and a pointer in the siginfo case.
1519 2020-12-20  Max Filippov  <jcmvbkbc@gmail.com>
1521         * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
1522         functions.
1523         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
1524         _bswapdi2.
1526 2020-12-08  Ian Lance Taylor  <iant@golang.org>
1528         * generic-morestack-thread.c (free_segments): Block signals during
1529         thread exit.
1531 2020-12-03  Michael Meissner  <meissner@linux.ibm.com>
1533         PR libgcc/97543
1534         PR libgcc/97643
1535         * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
1536         (IBM128_SHARED_OBJS): New make variable.
1537         (IBM128_OBJS): New make variable.  Set all objects to use the
1538         explicit IBM format, and disable gnu attributes.
1539         (IBM128_CFLAGS): New make variable.
1540         (gcc_s_compile): Add -mno-gnu-attribute to all shared library
1541         modules.
1543 2020-12-03  Alexandre Oliva  <oliva@adacore.com>
1545         * config/t-vxworks (LIB2ADD): Drop.
1546         * config/t-vxworks7 (LIB2ADD): Likewise.
1547         * config/vxcache.c: Remove.
1549 2020-11-30  Stefan Kanthak  <stefan.kanthak@nexgo.de>
1551         * libgcc2.c (bswapsi2): Make constants unsigned.
1553 2020-11-25  Stefan Kanthak  <stefan.kanthak@nexgo.de>
1555         * libgcc2.c (absvSI2): Simplify/improve implementation by using
1556         builtin_add_overflow.
1557         (absvsi2, absvDI2): Likewise.
1559 2020-11-20  Maciej W. Rozycki  <macro@linux-mips.org>
1561         * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
1562         (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
1564 2020-11-18  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1566         * config/msp430/lib2hw_mul.S (mult64_hw): New.
1567         (if MUL_32): Use mult64_hw for __muldi3.
1568         (if MUL_F5): Use mult64_hw for __muldi3.
1569         * config/msp430/lib2mul.c (__muldi3): New.
1570         * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
1572 2020-11-17  Alan Modra  <amodra@gmail.com>
1574         * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
1575         (LIB2_SIDITI_CONV_FUNCS): Define.
1576         * config/rs6000/ppc64-fp.c: Delete file.
1578 2020-11-15  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1580         * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
1581         hwmult library functions.
1583 2020-11-10  Jeff Law  <law@redhat.com>
1585         * libgcc2.c: Fix whitespace issues in most recent change.
1587 2020-11-10  Stefan Kanthak  <stefan.kanthak@nexgo.de>
1589         * libgcc2.c (__addvSI3): Use overflow builtins.
1590         (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
1591         (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
1592         (__negvsi2, __negvDI2): Likewise.
1593         (__cmpdi2, __ucmpdi2): Adjust implementation to improve
1594         generated code.
1595         * libgcc2.h (__ucmpdi2): Adjust prototype.
1597 2020-11-03  Pat Bernardi  <bernardi@adacore.com>
1598             Olivier Hainque   <hainque@adacore.com>
1600         * config.host (aarch64-vxworks7*, tmake_file): Add
1601         ${cpu_type}/t-lse and t-slibgcc-libgcc.
1603 2020-11-03  Martin Storsjö  <martin@martin.st>
1605         * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
1606         before calling the callback.
1608 2020-10-30  Olivier Hainque  <hainque@adacore.com>
1609             Douglas Rupp  <rupp@adacore.com>
1610             Pat Bernardi  <bernardi@adacore.com>
1612         * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
1613         to apply to VxWorks 7 as well.
1615 2020-10-29  Olivier Hainque  <hainque@adacore.com>
1617         * config/gthr-vxworks-tls.c: Fix preprocessor logic
1618         controlling the definition of VX_ENTER_TLS_DTOR and
1619         VX_LEAVE_TLS_DTOR based on a version major check.
1621 2020-10-29  Olivier Hainque  <hainque@adacore.com>
1623         * config/gthr-vxworks-thread.c: Fix name of macro used
1624         to condition the inclusion of an actual implementation.
1626 2020-10-27  Martin Liska  <mliska@suse.cz>
1628         PR gcov-profile/97461
1629         * libgcov.h (gcov_counter_add): Use first static counters
1630         as it should help to have malloc wrappers set up.
1632 2020-10-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1634         * config/gthr-vxworks-thread.c: #include gthr.h before
1635         testing the guard defined there.
1636         * config/gthr-vxworks-cond.c: Likewise.
1638 2020-10-21  Douglas Rupp  <rupp@adacore.com>
1639             Olivier Hainque  <hainque@adacore.com>
1641         * config.host (powerpc*-wrs-vxworks7*): New case.
1642         * configure.ac: Handle powerpc*-*-vxworks7* as
1643         powerpc*-*-linux* for ppc-fp_type.
1644         * configure: Regenerate.
1646 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1648         * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
1649         section on VxWorks >= 6.
1650         * config/gthr-vxworks-thread.c: Condition the entire
1651         implementation on __GTHREAD_CXX0X.
1653 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1655         * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
1656         section on VxWorks >= 6.
1657         * config/gthr-vxworks-cond.c: Condition the entire
1658         implementation on __GTHREAD_HAS_COND.
1660 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1662         * config/gthr-vxworks.c: #include <taskLib.h>.
1664 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1666         * config/gthr-vxworks.h: Rewrite remaining occurrence
1667         of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
1669 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1670              Olivier Hainque   <hainque@adacore.com>
1672         * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
1673         except on VxWorks 6.
1675 2020-10-16  Olivier Hainque  <hainque@adacore.com>
1677         * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
1679 2020-10-14  Alexandre Oliva  <oliva@adacore.com>
1681         * config/gthr-vxworks-thread.c: Include stdlib.h.
1682         (tls_delete_hook): Prototype it.
1683         (__gthread_cond_signal): Return early if no waiters.  Consume
1684         signal in case the semaphore got full.  Use semInfoGet instead
1685         of kernel-mode-only semInfo.
1686         (__gthread_cond_timedwait): Use semExchange.  Always take the
1687         mutex again before returning.
1688         * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
1690 2020-10-14  Olivier Hainque  <hainque@adacore.com>
1692         * config/t-vxworks (LIBGCC2_INCLUDES): Append
1693         $(MULTISUBDIR) to the -I path for fixed headers, as we
1694         arrange to have different sets of such headers for different
1695         multilibs when they are activated.
1696         * config/t-vxworks7: Likewise.
1698 2020-10-14  Olivier Hainque  <hainque@adacore.com>
1700         * config/t-vxworks: Add include-fixed to include search
1701         paths for libgcc on VxWorks.
1702         * config/t-vxworks7: Likewise.
1704 2020-10-09  H.J. Lu  <hjl.tools@gmail.com>
1706         PR target/97148
1707         * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
1708         instead of <cetintrin.h>.
1710 2020-10-01  Alan Modra  <amodra@gmail.com>
1712         * config/rs6000/morestack.S,
1713         * config/rs6000/tramp.S: Support __PCREL__ code.
1715 2020-10-01  Alan Modra  <amodra@gmail.com>
1717         * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
1719 2020-09-29  Maciej W. Rozycki  <macro@wdc.com>
1721         * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
1722         variable.
1724 2020-09-28  Richard Sandiford  <richard.sandiford@arm.com>
1726         * config/aarch64/libgcc-softfp.ver: New file.
1727         * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
1729 2020-09-27  Clement Chigot  <clement.chigot@atos.net>
1731         * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
1733 2020-09-22  Sergei Trofimovich  <siarheit@google.com>
1735         PR gcov-profile/96913
1736         * libgcov-driver.c (write_one_data): Avoid function pointer
1737         comparison in TOP streaming decision.
1739 2020-09-17  Torbjörn SVENSSON  <torbjorn.svensson@st.com>
1740             Christophe Lyon  <christophe.lyon@linaro.org>
1742         * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
1743         qualifier.
1744         (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
1745         (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
1746         missing prototypes.
1748 2020-09-17  Wei Wentao  <weiwt.fnst@cn.fujitsu.com>
1750         * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
1751         unused variable warning.
1753 2020-09-16  Jojo R  <jiejie_rong@c-sky.com>
1755         * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
1757 2020-09-09  Tom de Vries  <tdevries@suse.de>
1759         * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
1760         Wbuiltin-declaration-mismatch.
1762 2020-08-26  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1764         * config/msp430/slli.S (__gnu_mspabi_sllp): New.
1765         * config/msp430/srai.S (__gnu_mspabi_srap): New.
1766         * config/msp430/srli.S (__gnu_mspabi_srlp): New.
1768 2020-08-13  Kwok Cheung Yeung  <kcy@codesourcery.com>
1770         * config/nvptx/atomic.c: New.
1771         * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
1773 2020-08-03  Ian Lance Taylor  <iant@golang.org>
1775         * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
1777 2020-08-03  Jakub Jelinek  <jakub@redhat.com>
1779         PR target/96402
1780         * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
1781         of x(tmp0), x(tmp1) in STXP arguments.
1783 2020-07-31  Maciej W. Rozycki  <macro@wdc.com>
1785         * config/riscv/save-restore.S [__riscv_xlen == 64]
1786         (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
1787         (__riscv_save_2): Replace negative immediates used for the final
1788         stack pointer adjustment with positive ones, right-shifted by 4.
1790 2020-07-31  Martin Liska  <mliska@suse.cz>
1792         * libgcov-driver.c: Add __gcov_kvp_pool
1793         and __gcov_kvp_pool_index variables.
1794         * libgcov.h (allocate_gcov_kvp): New.
1795         (gcov_topn_add_value): Use it.
1797 2020-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1799         * config/aarch64/lse.S: Add PAC property note.
1801 2020-07-23  Martin Liska  <mliska@suse.cz>
1803         PR gcov-profile/96035
1804         * libgcov-driver-system.c: Create gcov folders with 0777
1805         so that it respects a system umask.
1807 2020-07-14  David Edelsohn  <dje.gcc@gmail.com>
1809         * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
1811 2020-07-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1813         PR target/94891
1814         * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
1815         (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
1816         (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
1817         (MD_DEMANGLE_RETURN_ADDR): This.
1818         (aarch64_post_extract_frame_addr): Rename to ...
1819         (aarch64_demangle_return_addr): This.
1820         (aarch64_post_frob_eh_handler_addr): Remove.
1821         * unwind-dw2.c (uw_update_context): Demangle return address.
1822         (uw_frob_return_addr): Remove.
1824 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1826         PR target/96001
1827         * config/aarch64/lse.S: Add BTI marking and related definitions,
1828         and add BTI c to function entries.
1830 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1832         * config/aarch64/lse.S: Add stack note.
1834 2020-07-02  Martin Liska  <mliska@suse.cz>
1836         PR gcov-profile/95348
1837         * libgcov-driver.c (merge_one_data): Merge only profiles
1838         that are not of non-zero type.
1839         (write_one_data): Write counters only if there's one non-zero
1840         value.
1841         * libgcov-util.c (tag_function): Change signature from unsigned
1842         to int.
1843         (tag_blocks): Likewise.
1844         (tag_arcs): Likewise.
1845         (tag_counters): Likewise.
1846         (tag_summary): Likewise.
1847         (tag_lines): Read only if COUNTERS is non-zero.
1848         (read_gcda_file): Handle negative length for COUNTERS type.
1850 2020-06-25  Martin Liska  <mliska@suse.cz>
1852         * libgcov-driver.c (merge_summary): Remove function as its name
1853         is misleading and doing something different.
1854         (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
1855         in gcov-tool.
1856         * libgcov-util.c (curr_object_summary): Remove.
1857         (read_gcda_file): Remove unused curr_object_summary.
1858         (gcov_merge): Merge summaries.
1859         * libgcov.h: Add summary argument for gcov_info struct.
1861 2020-06-24  H.J. Lu  <hjl.tools@gmail.com>
1863         PR target/95259
1864         * config/i386/cpuinfo.c: Don't include "cpuinfo.h".  Include
1865         "common/config/i386/i386-cpuinfo.h" and
1866         "common/config/i386/cpuinfo.h".
1867         (__cpu_features2): Changed to array.
1868         (get_amd_cpu): Removed.
1869         (get_intel_cpu): Likewise.
1870         (get_available_features): Likewise.
1871         (__cpu_indicator_init): Call cpu_indicator_init.
1872         * config/i386/cpuinfo.h: Removed.
1874 2020-06-23  David Edelsohn  <dje.gcc@gmail.com>
1876         * Makefile.in: Remove uses of empty.mk. Use -include.
1877         * config/avr/t-avr: Use -include.
1878         * empty.mk: Delete.
1880 2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
1882         * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
1883         * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
1884         and 64 bit with -maix64.
1885         * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
1886         Build and install AIX-style FAT libraries.
1888 2020-06-17  Samuel Thibault  <samuel.thibault@gnu.org>
1890         * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
1891         'i386/gnu-unwind.h'
1892         * config/i386/gnu-unwind.h: New file.
1894 2020-06-17  Martin Liska  <mliska@suse.cz>
1896         * libgcov-util.c (read_gcda_finalize): Remove const operator.
1897         (merge_wrapper): Add both counts and use them properly.
1898         (topn_to_memory_representation): New function.
1899         (gcov_merge): Covert on disk representation to in memory
1900         representation.
1901         * libgcov.h: Remove const operator.
1903 2020-06-15  Max Filippov  <jcmvbkbc@gmail.com>
1905         * configure: Regenerate.
1906         * configure.ac: Use AC_COMPILE_IFELSE instead of manual
1907         preprocessor invocation to check for __XTENSA_CALL0_ABI__.
1909 2020-06-09  Martin Liska  <mliska@suse.cz>
1911         PR gcov-profile/95494
1912         * libgcov-driver.c (write_top_counters): Cast first to
1913         intptr_t as sizeof(*) != sizeof(gcov_type).
1914         * libgcov.h (gcov_counter_set_if_null): Remove.
1915         (gcov_topn_add_value): Cast first to intptr_t and update
1916         linked list directly.
1918 2020-06-09  Max Filippov  <jcmvbkbc@gmail.com>
1920         * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
1921         with uw_install_context_1.
1923 2020-06-04  Andreas Schwab  <schwab@suse.de>
1925         PR target/59230
1926         PR libfortran/59227
1927         * config/ia64/t-softfp-compat (softfp_file_list): Filter out
1928         soft-fp/divtf3.c.
1929         (LIB2ADD): Add config/ia64/divtf3.c.
1930         * config/ia64/divtf3.c: New file.
1932 2020-06-03  Martin Liska  <mliska@suse.cz>
1934         PR gcov-profile/95480
1935         * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
1936         * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
1937         (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
1938         (gcov_counter_set_if_null): Likewise.
1940 2020-06-02  Jim Wilson  <jimw@sifive.com>
1942         * config/riscv/div.S (__divdi3): For negative arguments, change bgez
1943         to bgtz.
1945 2020-06-02  Martin Liska  <mliska@suse.cz>
1947         * libgcov.h (gcov_topn_add_value): Use xcalloc instead
1948         of xmalloc.
1950 2020-06-02  Martin Liska  <mliska@suse.cz>
1952         * libgcov-driver.c (prune_topn_counter): Remove.
1953         (prune_counters): Likewise.
1954         (merge_one_data): Special case TOP N counters
1955         as they have variable length.
1956         (write_top_counters): New.
1957         (write_one_data): Special case TOP N.
1958         (dump_one_gcov): Do not prune TOP N counters.
1959         * libgcov-merge.c (merge_topn_values_set): Remove.
1960         (__gcov_merge_topn): Use gcov_topn_add_value.
1961         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1962         Likewise here.
1963         * libgcov.h (gcov_counter_add): New.
1964         (gcov_counter_set_if_null): Likewise.
1965         (gcov_topn_add_value): New.
1967 2020-06-01  UroÅ¡ Bizjak  <ubizjak@gmail.com>
1969         * config/i386/sfp-exceptions.c (struct fenv):
1970         Add __attribute__ ((gcc_struct)).
1972 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
1974         PR bootstrap/95413
1975         * configure: Regenerated.
1977 2020-05-28  Dong JianQiang  <dongjianqiang2@huawei.com>
1979         PR gcov-profile/95332
1980         * libgcov-util.c (read_gcda_file): Call gcov_magic.
1981         * libgcov.h (gcov_magic): Disable GCC poison.
1983 2020-05-21  H.J. Lu  <hongjiu.lu@intel.com>
1985         PR target/95212
1986         * config/i386/cpuinfo.h (processor_features): Move
1987         FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
1989 2020-05-20  H.J. Lu  <hongjiu.lu@intel.com>
1991         PR target/91695
1992         * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
1993         check.
1995 2020-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1997         PR target/95212
1998         PR target/95220
1999         * config/i386/cpuinfo.c (get_available_features): Fix
2000         FEATURE_GFNI check.  Also check FEATURE_AVX512VP2INTERSECT.
2001         * config/i386/cpuinfo.h (processor_features): Add
2002         FEATURE_AVX512VP2INTERSECT.
2004 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2006         PR bootstrap/95147
2007         * configure: Regenerated.
2009 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2011         * configure: Regenerated.
2013 2020-05-09  Hans-Peter Nilsson  <hp@axis.com>
2015         * config.host: Remove support for crisv32-*-* and cris*-*-linux.
2016         * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
2018 2020-05-06  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2020         * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
2021         (__math_force_eval_div): New define.
2022         (__sfp_handle_exceptions): Use __math_force_eval_div to use
2023         generic division to generate INVALID, DIVZERO and INEXACT
2024         exceptions.
2026 2020-05-06  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2028         * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
2029         instead of getauxval.
2030         (AT_HWCAP): Define.
2031         (HWCAP_ATOMICS): Define.
2032         Guard detection on __gnu_linux__.
2034 2020-05-05  Michael Meissner  <meissner@linux.ibm.com>
2036         * config.host: Delete changes meant for a private branch.
2037         * config/rs6000/t-float128: Likewise.
2038         * configure.ac: Likewise.
2039         * configure: Likewise.
2041 2020-05-05  Martin Liska  <mliska@suse.cz>
2043         PR gcov-profile/93623
2044         * Makefile.in: Remove __gcov_flush.
2045         * gcov.h (__gcov_flush): Remove.
2046         * libgcov-interface.c (__gcov_flush): Remove.
2047         (init_mx): Use renamed mutex.
2048         (__gcov_lock): Likewise.
2049         (__gcov_unlock): Likewise.
2050         (__gcov_fork): Likewise.
2051         (__gcov_flush): Remove.
2053 2020-05-05  Martin Liska  <mliska@suse.cz>
2055         PR gcov-profile/93623
2056         * libgcov-interface.c (__gcov_fork): Do not flush
2057         and reset only in child process.
2058         (__gcov_execl): Dump counters only and reset them
2059         only if exec* fails.
2060         (__gcov_execlp): Likewise.
2061         (__gcov_execle): Likewise.
2062         (__gcov_execv): Likewise.
2063         (__gcov_execvp): Likewise.
2064         (__gcov_execve): Likewise.
2066 2020-05-05  Martin Liska  <mliska@suse.cz>
2068         PR gcov-profile/93623
2069         * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
2070         * libgcov-interface.c (ALIAS_void_fn): Remove.
2071         (__gcov_lock): New.
2072         (__gcov_unlock): New.
2073         (__gcov_flush): Use __gcov_lock and __gcov_unlock.
2074         (__gcov_reset): Likewise.
2075         (__gcov_dump): Likewise.
2076         * libgcov.h (__gcov_lock): New declaration.
2077         (__gcov_unlock): Likewise.
2079 2020-05-01  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2081         * config/i386/sfp-exceptions.c (__math_force_eval): New define.
2082         (__sfp_handle_exceptions): Use __math_force_eval to evaluate
2083         generic division to generate INVALID and DIVZERO exceptions.
2085 2020-04-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2087         * config/rs6000/crtresfpr.S: Use .machine ppc.
2088         * config/rs6000/crtresxfpr.S: Likewise.
2089         * config/rs6000/crtsavfpr.S: Likewise.
2091 2020-04-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2093         PR target/94514
2094         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
2095         Update context->flags accroding to the frame state.
2097 2020-04-19  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2099         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
2100         Remove unneeded assignments to volatile memory.
2102 2020-04-15  Jakub Jelinek  <jakub@redhat.com>
2104         PR target/93053
2105         * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
2106         * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
2107         is not defined, use just .arch armv8-a.
2108         (B, M, N, OPN): Define.
2109         (COMMENT): New .macro.
2110         (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
2111         defined.  Otherwise, move the operands right after the glue? and
2112         comment out operands where the macros are used.
2113         * configure: Regenerated.
2114         * config.in: Regenerated.
2116 2020-04-07  Ian Lance Taylor  <iant@golang.org>
2118         PR libgcc/94513
2119         * generic-morestack.c: Give up trying to use __mmap/__munmap, use
2120         syscall instead.
2122 2020-04-04  Ian Lance Taylor  <iant@golang.org>
2124         * generic-morestack.c: Only use __mmap on glibc >= 2.26.
2126 2020-04-03  Ian Lance Taylor  <iant@golang.org>
2128         * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
2129         than mmap/munmap, to avoid hooks.
2131 2020-04-03  Jim Johnston  <jjohnst@us.ibm.com>
2133         * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
2134         (TPFRA_OFFSET): Macros removed.
2135         (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
2136         (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
2137         (PG3_SKIPPING_OFFSET): New macros.
2138         (__isPATrange): Use cinfc_fast for the check.
2139         (__isSkipResetAddr): New function.
2140         (s390_fallback_frame_state): Check for skip trace addresses. Use
2141         either ICST_CRET or ICST_SRET to calculate return address
2142         location.
2143         (__tpf_eh_return): Handle skip trace addresses.
2145 2020-03-26  Richard Earnshaw  <rearnsha@arm.com>
2147         PR target/94220
2148         * config/arm/lib1funcs.asm (COND): Use a single definition for
2149         unified syntax.
2150         (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
2151         (aeabi_idivmod): Likewise.
2152         (divsi3_skip_div0_test): Likewise.
2154 2020-03-17  Mihail Ionescu  <mihail.ionescu@arm.com>
2156         * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
2158 2020-03-04  Andreas Krebbel  <krebbel@linux.ibm.com>
2160         * config.host: Include the new makefile fragment.
2161         * config/s390/t-tpf: New file.
2163 2020-03-03  Richard Earnshaw  <rearnsha@arm.com>
2165         * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
2166         syntax.
2167         (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
2168         (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
2169         (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
2170         (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
2171         * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
2172         syntax.
2173         (divsi3, modsi3): Likewise.
2174         (clzdi2, ctzsi2): Likewise.
2175         * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
2176         unified syntax.
2177         (UNWIND_WRAPPER): Likewise.
2179 2020-03-02  Martin Liska  <mliska@suse.cz>
2181         * libgcov-interface.c: Remove duplicate
2182         declaration of __gcov_flush_mx.
2184 2020-02-18  Martin Liska  <mliska@suse.cz>
2186         PR ipa/92924
2187         * libgcov-merge.c (merge_topn_values_set): Record
2188         when a TOP N counter becomes invalid.  When merging
2189         remove a smallest value if the space is needed.
2191 2020-02-12  Sandra Loosemore  <sandra@codesourcery.com>
2193         PR libstdc++/79193
2194         PR libstdc++/88999
2196         * configure: Regenerated.
2198 2020-02-10  Jeff Law  <law@redhat.com>
2200         * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
2201         sections.
2202         * config/frv/frvend.c: Similarly.
2204 2020-02-10  H.J. Lu  <hongjiu.lu@intel.com>
2206         PR libgcc/85334
2207         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2208         New.
2210 2020-02-10  Christophe Lyon  <christophe.lyon@linaro.org>
2212         PR target/93615
2213         * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
2214         _Unwind_gnu_Find_got.
2215         * unwind-pe.h: Likewise.
2217 2020-02-07  Jakub Jelinek  <jakub@redhat.com>
2219         PR target/93615
2220         * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
2221         (_Unwind_gnu_Find_got): ... this.  Use __asm instead of asm.  Remove
2222         trailing :s in asm.  Formatting fixes.
2223         (_Unwind_decode_typeinfo_ptr): Adjust caller.
2225 2020-01-31  Sandra Loosemore  <sandra@codesourcery.com>
2227         nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
2229         * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
2230         * config/nios2-elf-lib.h: New.
2231         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
2232         code for finding GOT base for nios2.
2234 2020-01-27  Martin Liska  <mliska@suse.cz>
2236         PR gcov-profile/93403
2237         * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
2238         Call __gcov_indirect_call_profiler_body.
2239         (__gcov_indirect_call_profiler_body): New.
2240         (__gcov_indirect_call_profiler_v4_atomic): New.
2241         * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
2242         New declaration.
2244 2020-01-27  Claudiu Zissulescu  <claziss@synopsys.com>
2246         * config/arc/crti.S: Add RF16 object attribute.
2247         * config/arc/crtn.S: Likewise.
2248         * config/arc/crttls.S: Likewise.
2249         * config/arc/lib1funcs.S: Likewise.
2250         * config/arc/fp-hack.h (ARC_OPTFPE): Define.
2251         * config/arc/lib2funcs.c: New file.
2252         * config/arc/t-arc: Add lib2funcs to LIB2ADD.
2254 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
2256         * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
2257         * configure.ac: Handle `--with-toolexeclibdir='.
2258         * configure: Regenerate.
2260 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
2262         * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
2264 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
2266         * config/mips/gnustack.h: New file.
2267         * config/mips/crti.S: Include gnustack.h.
2268         * config/mips/crtn.S: Likewise.
2269         * config/mips/mips16.S: Likewise.
2270         * config/mips/vr4120-div.S: Likewise.
2272 2020-01-23  Martin Liska  <mliska@suse.cz>
2274         * libgcov-driver.c (prune_topn_counter): Remove
2275         check for -1 as we only prune run-time counters
2276         that do not generate an invalid state.
2278 2020-01-22  Martin Liska  <mliska@suse.cz>
2280         PR tree-optimization/92924
2281         * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
2282         try to find an existing value, then find an empty slot
2283         if not found.
2285 2020-01-22  Martin Liska  <mliska@suse.cz>
2287         PR tree-optimization/92924
2288         * libgcov-driver.c (prune_topn_counter): New.
2289         (prune_counters): Likewise.
2290         (dump_one_gcov): Prune a run-time counter.
2291         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2292         For a known value, add GCOV_TOPN_VALUES to value.
2293         Otherwise, decrement all counters by one.
2295 2020-01-18  Hans-Peter Nilsson  <hp@axis.com>
2297         * config/cris/arit.c (DS): Apply attribute __fallthrough__.
2299 2020-01-18  John David Anglin  <danglin@gcc.gnu.org>
2301         PR libgcc/92988
2302         * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
2303         DEFAULT_USE_CXA_ATEXIT is true.
2305 2020-01-16  Mihail-Calin Ionescu  <mihail.ionescu@arm.com>
2306             Thomas Preud'homme  <thomas.preudhomme@arm.com>
2308         * config/arm/t-arm: Check return value of gcc rather than lack of
2309         output.
2311 2020-01-14  Georg-Johann Lay  <avr@gjlay.de>
2313         * config/avr/lib1funcs.S (skip): Simplify.
2315 2020-01-10  Kwok Cheung Yeung  <kcy@codesourcery.com>
2317         * config/gcn/atomic.c: Remove include of stdint.h.
2318         (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
2319         __UINTPTR_TYPE__.
2321 2020-01-09  Kwok Cheung Yeung  <kcy@codesourcery.com>
2323         * config/gcn/atomic.c: New.
2324         * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
2326 2020-01-08  Georg-Johann Lay  <avr@gjlay.de>
2328         Implement 64-bit double functions.
2330         PR target/92055
2331         * config.host (tmake_file) [target=avr]: Add t-libf7,
2332         t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
2333         * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
2334         depending on sizeof (double) or sizeof (long double).
2335         * config/avr/libf7: New folder.
2337 2020-01-05  Olivier Hainque  <hainque@adacore.com>
2339         * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
2340         by IN_LIBGCC2.
2342 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
2344         Update copyright years.
2346 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2348         * config/gthr-vxworks.h: Use _vxworks-versions.h.
2349         * config/gthr-vxworks-tls.c: Likewise.
2351 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2353         * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
2354         standard zero-initializer syntax.
2356 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2358         * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
2359         reference to the internal VX_GET_TLS_DATA interface.
2361 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2363         * config/vxcrtstuff.c: Fix incorrect spelling of
2364         USE_INITFINI_ARRAY in guard.
2366 2019-12-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2368         * config.host: s/msp430*-*-elf/msp430-*-elf*.
2369         Override default "extra_parts" variable.
2370         * configure: Regenerate.
2371         * configure.ac: Disable TM clone registry by default for
2372         msp430-elfbare.
2374 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2376         * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
2377         "extra_parts".
2378         * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
2380 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2382         * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
2383         true.
2385 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2387         * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
2388         defined instead of its value.
2390 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2392         * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
2393         if it will have contents.
2395 2019-12-05  Georg-Johann Lay  <avr@gjlay.de>
2397         PR target/92055
2398         * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
2400 2019-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2402         PR libgcc/91737
2403         * config.host: Add t-gthr-noweak on *-*-musl*.
2404         * config/t-gthr-noweak: New file.
2406 2019-11-17  John David Anglin  <danglin@gcc.gnu.org>
2408         * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
2409         volatile void *.  Remove trap check.
2410         (__kernel_cmpxchg2): Likewise.
2411         (FETCH_AND_OP_2): Adjust operand types.
2412         (OP_AND_FETCH_2): Likewise.
2413         (FETCH_AND_OP_WORD): Likewise.
2414         (OP_AND_FETCH_WORD): Likewise.
2415         (COMPARE_AND_SWAP_2): Likewise.
2416         (__sync_val_compare_and_swap_4): Likewise.
2417         (__sync_bool_compare_and_swap_4): Likewise.
2418         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2419         (__sync_lock_test_and_set_4): Likewise.
2420         (SYNC_LOCK_RELEASE_1): Likewise.  Use __kernel_cmpxchg2 for release.
2421         (__sync_lock_release_4): Adjust operand types.  Use __kernel_cmpxchg
2422         for release.
2423         (__sync_lock_release_8): Remove.
2425 2019-11-15  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2427         * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
2428         of __sigset_t.
2430 2019-11-14  Jerome Lambourg  <lambourg@adacore.com>
2431             Doug Rupp <rupp@adacore.com>
2432             Olivier Hainque  <hainque@adacore.com>
2434         * config.host: Collapse the arm-vxworks entries into
2435         a single arm-wrs-vxworks7* one.
2436         * config/arm/unwind-arm-vxworks.c: Update comments.  Provide
2437         __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
2438         kernel modules, to be overriden by libstdc++ when we link with
2439         it.  Rely on externally provided __exidx_start/end.
2441 2019-11-14  Doug Rupp  <rupp@adacore.com>
2442             Olivier Hainque  <hainque@adacore.com>
2444         * config.host: Handle aarch64*-wrs-vxworks7*.
2446 2019-11-12  Olivier Hainque  <hainque@adacore.com>
2448         * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
2449         sources except the cxx0x support to LIB2ADDEH.  We don't support
2450         cxx0x on AE/653.
2451         * config/t-vxworksae: New file.
2452         * config.host: Handle *-*-vxworksae: Add the two aforementioned
2453         Makefile fragment files at their expected position in the tmake_file
2454         list, in accordance with what is done for other VxWorks variants.
2456 2019-11-12  Corentin Gay  <gay@adacore.com>
2457             Jerome Lambourg  <lambourg@adacore.com>
2458             Olivier Hainque  <hainque@adacore.com>
2460         * config/t-gthr-vxworks: New file, add all the gthr-vxworks
2461         sources to LIB2ADDEH.
2462         * config/t-vxworks: Remove adjustments to LIB2ADDEH.
2463         * config/t-vxworks7: Likewise.
2465         * config.host: Append a block at the end of the file to add the
2466         t-gthr files to the tmake_file list for VxWorks after everything
2467         else.
2469         * config/vxlib.c: Rename as gthr-vxworks.c.
2470         * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
2472         * config/gthr-vxworks.h: Simplify a few comments.  Expose a TAS
2473         API and a basic error checking API, both internal.  Simplify the
2474         __gthread_once_t type definition and initializers.  Add sections
2475         for condition variables support and for the C++0x thread support,
2476         conditioned against Vx653 for the latter.
2478         * config/gthr-vxworks.c (__gthread_once): Simplify comments and
2479         implementation, leveraging the TAS internal API.
2480         * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
2481         API, leveraging the general availability of TLS services in VxWorks7
2482         post SR6xxx.
2483         (__gthread_setspecific, __gthread_setspecific): Use it.
2484         (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
2485         * config/gthr-vxworks-cond.c: New file.  GTHREAD_COND variable
2486         support based on VxWorks primitives.
2487         * config/gthr-vxworks-thread.c: New file.  GTHREAD_CXX0X support
2488         based on VxWorks primitives.
2490 2019-11-06  Jerome Lambourg  <lambourg@adacore.com>
2491             Olivier Hainque  <hainque@adacore.com>
2493         * config/vxcrtstuff.c: New file.
2494         * config/t-vxcrtstuff: New Makefile fragment.
2495         * config.host: Append t-vxcrtstuff to the tmake_file list
2496         on all VxWorks ports using dwarf for table based EH.
2498 2019-11-07  Georg-Johann Lay  <avr@gjlay.de>
2500         Support 64-bit double and 64-bit long double configurations.
2502         PR target/92055
2503         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
2504         long double is a 32-bit type.
2505         * config/avr/t-avrlibc: Copy double64 and long-double64
2506         multilib(s) from the vanilla one.
2507         * config/avr/t-copy-libgcc: New Makefile snip.
2509 2019-11-04  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2511         * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
2512         the target output object format is not ELF.
2513         s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
2515 2019-11-03  Oleg Endo  <olegendo@gcc.gnu.org>
2517         PR libgcc/78804
2518         * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
2519         * fp-bit.c (pack_d, unpack_d): Remove special cases for
2520         FLOAT_BIT_ORDER_MISMATCH.
2521         * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
2523 2019-11-01  Jim Wilson  <jimw@sifive.com>
2525         * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
2527 2019-10-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2529         * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
2530         s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY, 
2531         s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
2532         Define symbols for 32-bit and f5series hardware multiply
2533         register addresses.
2534         Replace hard-coded register addresses with symbols.
2535         Fix "_mspabi*" typo.
2536         Fix whitespace.
2537         * config/msp430/lib2mul.c: Add comment.
2539 2019-10-15  John David Anglin  <danglin@gcc.gnu.org>
2541         * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
2542         unsigned int.  Adjust callers.
2543         (__canonicalize_funcptr_for_compare): Change plabel type to volatile
2544         unsigned int *.  Load relocation offset before function pointer.
2545         Add barrier to ensure ordering.
2547 2019-10-12  John David Anglin  <danglin@gcc.gnu.org>
2549         * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
2550         Load PIC register after branch target.  Fix white space.
2551         * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
2552         implementations.  Load PIC register after branch target.  Don't
2553         clobber function pointer when it points to function descriptor.
2554         Use nullification instead of branch in LINUX implementation.
2556 2019-10-03  John David Anglin  <danglin@gcc.gnu.org>
2558         * config/pa/fptr.c: Disable -Warray-bounds warning.
2560 2019-09-25  Richard Henderson  <richard.henderson@linaro.org>
2562         * config.in, configure: Re-rebuild with stock autoconf 2.69,
2563         not the ubuntu modified 2.69.
2565         PR target/91833
2566         * config/aarch64/lse-init.c: Include auto-target.h.  Disable
2567         initialization if !HAVE_SYS_AUXV_H.
2568         * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
2569         * config.in, configure: Rebuild.
2571         PR target/91834
2572         * config/aarch64/lse.S (LDNM): Ensure STXR output does not
2573         overlap the inputs.
2575 2019-09-25  Shaokun Zhang  <zhangshaokun@hisilicon.com>
2577         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
2578         CTR_EL0.IDC and CTR_EL0.DIC.
2580 2019-09-20  Christophe Lyon  <christophe.lyon@st.com>
2582         Revert:
2583         2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2584                 Mickaël Guêné <mickael.guene@st.com>
2586         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2587         architecture.
2589 2019-09-19  Richard Henderson  <richard.henderson@linaro.org>
2591         * config/aarch64/lse-init.c: New file.
2592         * config/aarch64/lse.S: New file.
2593         * config/aarch64/t-lse: New file.
2594         * config.host: Add t-lse to all aarch64 tuples.
2596 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2597         Mickaël Guêné <mickael.guene@st.com>
2599         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2600         architecture.
2602 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2603         Mickaël Guêné <mickael.guene@st.com>
2605         * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
2606         (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
2607         (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
2608         (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
2609         (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
2610         (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
2611         (__gnu_personality_sigframe_fdpic): New.
2612         (get_eit_entry): Add FDPIC signal frame support.
2614 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2615         Mickaël Guêné <mickael.guene@st.com>
2617         * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
2618         (__kernel_dmb): Likewise.
2619         (__fdpic_cmpxchg): New function.
2620         (__fdpic_dmb): New function.
2621         * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
2622         (gnu_Unwind_Find_got): New function.
2623         (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
2624         * unwind-arm-common.inc (UCB_PR_GOT): New.
2625         (funcdesc_t): New struct.
2626         (get_eit_entry): Add FDPIC support.
2627         (unwind_phase2): Likewise.
2628         (unwind_phase2_forced): Likewise.
2629         (__gnu_Unwind_RaiseException): Likewise.
2630         (__gnu_Unwind_Resume): Likewise.
2631         (__gnu_Unwind_Backtrace): Likewise.
2632         * unwind-pe.h (read_encoded_value_with_base): Likewise.
2634 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2635         Mickaël Guêné <mickael.guene@st.com>
2637         * libgcc/crtstuff.c: Add support for FDPIC.
2639 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2641         * config.host: Handle *-*-uclinuxfdpiceabi.
2643 2019-09-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
2645         * config.host: Set cpu_type for bpf-*-* targets.
2646         * config/bpf/t-bpf: Likewise.
2647         * config/bpf/crtn.S: Likewise.
2648         * config/bpf/crti.S: New file.
2650 2019-09-06  Jim Wilson  <jimw@sifive.com>
2652         * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2653         (riscv*-*-freebsd*): Likewise.
2655 2019-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
2657         * config.host: Remove references to spu.
2658         * config/spu/: Remove directory.
2660 2019-08-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2662         PR target/91306
2663         * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
2664         element type, instead of "sizeof" the element type.
2665         (__DTOR_LIST__): Likewise.
2666         (__TMC_LIST__): Likewise.
2667         (__do_global_dtors_aux_fini_array_entry): Likewise.
2668         (__frame_dummy_init_array_entry): Likewise.
2669         (__CTOR_END__): Likewise.
2670         (__DTOR_END__): Likweise.
2671         (__FRAME_END__): Likewise.
2672         (__TMC_END__): Likewise.
2674 2019-08-20  Lili Cui  <lilicui@intel.com>
2676         * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
2677         INTEL_COREI7_COOPERLAKE.
2679 2019-07-31  Matt Thomas  <matt@3am-software.com>
2680             Nick Hudson <nick@nthcliff.demon.co.uk>
2681             Matthew Green <mrg@eterna.com.au>
2682             Maya Rashish <coypu@sdf.org>
2684         * config.host (hppa*-*-netbsd*): New case.
2685         * config/pa/t-netbsd: New file.
2687 2019-07-31  Joel Hutton  <Joel.Hutton@arm.com>
2689         * config/arm/cmse.c (cmse_check_address_range): Add
2690         warn_unused_result attribute.
2692 2019-07-22  Martin Liska  <mliska@suse.cz>
2694         * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
2695         * config/pa/t-stublib: Likewise.
2697 2019-07-22  Stafford Horne  <shorne@gmail.com>
2699         PR target/90362
2700         * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
2701         to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
2702         instructions are not available on every processor.  Change a
2703         l.bnf to l.bf to fix logic issue.
2705 2019-07-04  Iain Sandoe  <iain@sandoe.co.uk>
2707         * config.host: Remove reference to t-darwin8.
2709 2019-07-03  Iain Sandoe  <iain@sandoe.co.uk>
2711         * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
2712         list.
2713         * config/rs6000/t-darwin: Build crt3_2 for older systems.  Revise
2714         mmacosx-version-min for crts to run across all system versions.
2715         * config/rs6000/t-darwin64 (LIB2ADD): Remove.
2716         * config/t-darwin: Revise mmacosx-version-min for crts to run across
2717         system versions >= 10.4.
2719 2019-07-03  Martin Liska  <mliska@suse.cz>
2721         * Makefile.in: Use topn_values instead of one_value names.
2722         * libgcov-merge.c (__gcov_merge_single): Move to ...
2723         (__gcov_merge_topn): ... this.
2724         (merge_single_value_set): Move to ...
2725         (merge_topn_values_set): ... this.
2726         * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
2727         ...
2728         (__gcov_topn_values_profiler_body): ... this.
2729         (__gcov_one_value_profiler_v2): Move to ...
2730         (__gcov_topn_values_profiler): ... this.
2731         (__gcov_one_value_profiler_v2_atomic): Move to ...
2732         (__gcov_topn_values_profiler_atomic): ... this.
2733         (__gcov_indirect_call_profiler_v4): Remove.
2734         * libgcov-util.c (__gcov_single_counter_op): Move to ...
2735         (__gcov_topn_counter_op): ... this.
2736         * libgcov.h (L_gcov_merge_single): Remove.
2737         (L_gcov_merge_topn): New.
2738         (__gcov_merge_single): Remove.
2739         (__gcov_merge_topn): New.
2740         (__gcov_one_value_profiler_v2): Move to ..
2741         (__gcov_topn_values_profiler): ... this.
2742         (__gcov_one_value_profiler_v2_atomic): Move to ...
2743         (__gcov_topn_values_profiler_atomic): ... this.
2745 2019-07-03  Martin Liska  <mliska@suse.cz>
2747         * libgcov-merge.c (merge_single_value_set): Support N values.
2748         * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
2750 2019-06-27  Ilia Diachkov  <ilia.diachkov@optimitech.com>
2752         * Makefile.in (USE_TM_CLONE_REGISTRY): New.
2753         (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
2754         * configure.ac: Add --disable-tm-clone-registry option.
2755         * configure: Regenerate.
2757 2019-06-27  Martin Liska  <mliska@suse.cz>
2759         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
2760         dead assignments.
2761         * libgcov-util.c: Likewise.
2763 2019-06-27  Martin Liska  <mliska@suse.cz>
2765         * libgcov-util.c (gcov_profile_merge): Release allocated
2766         memory.
2767         (calculate_overlap): Likewise.
2769 2019-06-25  Iain Sandoe  <iain@sandoe.co.uk>
2771         * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
2772         * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
2773         Build objects for the out of line save/restore register functions
2774         so that they can be used for any supported Darwin version.
2775         * config/t-darwin: Default the build Darwin version to Darwin8
2776         (MacOS 10.4).
2778 2019-06-25  Martin Liska  <mliska@suse.cz>
2780         * libgcov-driver-system.c (replace_filename_variables): Do not
2781         call strlen with NULL argument.
2783 2019-06-25  Andrew Stubbs  <ams@codesourcery.com>
2785         * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
2786         * config/gcn/unwind-gcn.c: New file.
2788 2019-06-25  Kwok Cheung Yeung  <kcy@codesourcery.com>
2789             Andrew Stubbs  <ams@codesourcery.com>
2791         * configure: Regenerate.
2792         * config/gcn/gthr-gcn.h: New.
2794 2019-06-18  Tom de Vries  <tdevries@suse.de>
2796         * config/nvptx/crt0.c (__main): Declare.
2798 2019-06-17  Matthew Green  <mrg@eterna.com.au>
2799             Maya Rashish  <coypu@sdf.org>
2801         * config.host (aarch64*-*-netbsd*): New case.
2803 2019-06-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2805         * config/msp430/slli.S (__mspabi_sllll): New library function for
2806         performing a logical left shift of a 64-bit value.
2807         * config/msp430/srai.S (__mspabi_srall): New library function for
2808         performing a arithmetic right shift of a 64-bit value.
2809         * config/msp430/srll.S (__mspabi_srlll): New library function for
2810         performing a logical right shift of a 64-bit value.
2812 2019-06-14  Matt Thomas  <matt@3am-software.com>
2813             Matthew Green  <mrg@eterna.com.au>
2814             Nick Hudson  <skrll@netbsd.org>
2815             Maya Rashish  <coypu@sdf.org>
2817         * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
2818         * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
2819         functions to build.
2820         * config/arm/t-netbsd-eabi: New file.
2822 2019-06-12  Dimitar Dimitrov  <dimitar@dinux.eu>
2824         * config.host: Add PRU target.
2825         * config/pru/asri.c: New file.
2826         * config/pru/eqd.c: New file.
2827         * config/pru/eqf.c: New file.
2828         * config/pru/ged.c: New file.
2829         * config/pru/gef.c: New file.
2830         * config/pru/gtd.c: New file.
2831         * config/pru/gtf.c: New file.
2832         * config/pru/led.c: New file.
2833         * config/pru/lef.c: New file.
2834         * config/pru/lib2bitcountHI.c: New file.
2835         * config/pru/lib2divHI.c: New file.
2836         * config/pru/lib2divQI.c: New file.
2837         * config/pru/lib2divSI.c: New file.
2838         * config/pru/libgcc-eabi.ver: New file.
2839         * config/pru/ltd.c: New file.
2840         * config/pru/ltf.c: New file.
2841         * config/pru/mpyll.S: New file.
2842         * config/pru/pru-abi.h: New file.
2843         * config/pru/pru-asm.h: New file.
2844         * config/pru/pru-divmod.h: New file.
2845         * config/pru/sfp-machine.h: New file.
2846         * config/pru/t-pru: New file.
2848 2019-06-11  Jakub Jelinek  <jakub@redhat.com>
2850         * libgcov-merge.c (__gcov_merge_single): Revert previous change.
2852 2019-06-10  Martin Liska  <mliska@suse.cz>
2854         PR bootstrap/90808
2855         * libgcov.h: Add ATTRIBUTE_UNUSED.
2857 2019-06-10  Martin Liska  <mliska@suse.cz>
2859         * Makefile.in: Add __gcov_one_value_profiler_v2,
2860         __gcov_one_value_profiler_v2_atomic and
2861         __gcov_indirect_call_profiler_v4.
2862         * libgcov-merge.c (__gcov_merge_single): Change
2863         function signature.
2864         (merge_single_value_set): New.
2865         * libgcov-profiler.c (__gcov_one_value_profiler_body):
2866         Update functionality.
2867         (__gcov_one_value_profiler): Remove.
2868         (__gcov_one_value_profiler_v2): ... this.
2869         (__gcov_one_value_profiler_atomic): Rename to ...
2870         (__gcov_one_value_profiler_v2_atomic): this.
2871         (__gcov_indirect_call_profiler_v3): Rename to ...
2872         (__gcov_indirect_call_profiler_v4): ... this.
2873         * libgcov.h (__gcov_one_value_profiler): Remove.
2874         (__gcov_one_value_profiler_atomic): Remove.
2875         (__gcov_one_value_profiler_v2_atomic): New.
2876         (__gcov_indirect_call_profiler_v3): Remove.
2877         (__gcov_one_value_profiler_v2): New.
2878         (__gcov_indirect_call_profiler_v4): New.
2879         (gcov_get_counter_ignore_scaling): New function.
2881 2019-06-07  Martin Liska  <mliska@suse.cz>
2883         * Makefile.in: Remove usage of
2884         _gcov_merge_icall_topn.
2885         * libgcov-driver.c (gcov_sort_n_vals): Remove.
2886         (gcov_sort_icall_topn_counter): Likewise.
2887         (gcov_sort_topn_counter_arrays): Likewise.
2888         (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
2889         * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
2890         * libgcov-profiler.c (__gcov_topn_value_profiler_body):
2891         Likewise.
2892         (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
2893         (struct indirect_call_tuple): Remove.
2894         (__gcov_indirect_call_topn_profiler): Remove.
2895         * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
2896         * libgcov.h (gcov_sort_n_vals): Remove.
2897         (L_gcov_merge_icall_topn): Likewise.
2898         (__gcov_merge_icall_topn): Likewise.
2899         (__gcov_indirect_call_topn_profiler): Likewise.
2901 2019-06-06  Iain Sandoe  <iain@sandoe.co.uk>
2903         * config/rs6000/t-darwin: Ensure that the unwinder is built with
2904         altivec enabled.
2906 2019-06-06  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2908         * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
2909         section.
2910         (__mspabi_slli): Likewise.
2911         (__mspabi_slll_n): Likewise.
2912         (__mspabi_slll): Likewise.
2913         * config/msp430/srai.S (__mspabi_srai_n): Likewise.
2914         (__mspabi_srai): Likewise.
2915         (__mspabi_sral_n): Likewise.
2916         (__mspabi_sral): Likewise.
2917         * config/msp430/srli.S (__mspabi_srli_n): Likewise.
2918         (__mspabi_srli): Likewise.
2919         (__mspabi_srll_n): Likewise.
2920         (__mspabi_srll): Likewise.
2922 2019-06-05  Yoshinori Sato  <ysato@users.sourceforge.jp>
2924         * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
2925         Add appropriate tm_file clause as well.
2926         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
2928 2019-06-05  James Clarke  <jrtc27@jrtc27.com>
2930         * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
2931         rather than .data/.bss so it can be accessed via gp-relative
2932         addressing.
2934 2019-06-05  David Edelsohn  <dje.gcc@gmail.com>
2936         * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
2937         (CR2_REGNO): Rename to R_CR2.
2938         (XER_REGNO): Rename to R_XER.
2939         (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
2940         (VRSAVE_REGNO): Rename to R_VRSAVE.
2941         (VSCR_REGNO): R_VSCR.
2943 2019-05-29  Yoshinori Sato  <ysato@users.sourceforge.jp>
2945         * config.host (rx-*-linux*): Add new case.
2946         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
2948 2019-05-29  Sam Tebbs  <sam.tebbs@arm.com>
2950         * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
2951         function.
2952         * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
2953         aarch64_post_frob_eh_handler_addr): Add check for b-key.
2954         * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
2955         aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
2956         Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
2957         * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
2958         string.
2959         * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
2960         string.
2961         (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
2963 2019-05-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2965         * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
2966         Remove Solaris 9 and 10 support.
2967         (sparc_is_sighandler): Likewise.
2969 2019-05-26  John David Anglin  <danglin@gcc.gnu.org>
2971         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
2973 2019-05-17  H.J. Lu  <hongjiu.lu@intel.com>
2975         * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2976         4_FP_W_TYPEs are used for IEEE quad precision.
2977         * soft-fp/extendhftf2.c: Likewise.
2978         * soft-fp/extendsftf2.c: Likewise.
2979         * soft-fp/extendxftf2.c: Likewise.
2980         * soft-fp/trunctfdf2.c: Likewise.
2981         * soft-fp/trunctfhf2.c: Likewise.
2982         * soft-fp/trunctfsf2.c: Likewise.
2983         * soft-fp/trunctfxf2.c: Likewise.
2984         * config/rs6000/ibm-ldouble.c: Likewise.
2986 2019-05-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2988         * config.host: Simplify various *-*-solaris2.1[0-9]* to
2989         *-*-solaris2*.
2990         * configure.ac: Likewise.
2991         * configure: Regenerate.
2993         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2994         Solaris 10 and Solaris 11 < snv_125 handling.
2996 2019-05-12  Iain Sandoe  <iain@sandoe.co.uk>
2998         * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
3000 2019-05-07  Hongtao Liu  <hongtao.liu@intel.com>
3002         * config/i386/cpuinfo.c (get_available_features): Detect BF16.
3003         * config/i386/cpuinfo.h (enum processor_features): Add
3004         FEATURE_AVX512BF16.
3006 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
3007             Bernd Edlinger  <bernd.edlinger@hotmail.de>
3008             Jakub Jelinek  <jakub@redhat.com>
3010         PR target/89093
3011         * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
3012         * config/arm/unwind-arm.c: Likewise.
3013         * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
3014         attribute for ARM.
3016 2019-04-15  Monk Chiang  <sh.chiang04@gmail.com>
3018         * config/nds32/linux-unwind.h (SIGRETURN): Remove.
3019         (RT_SIGRETURN): Update.
3020         (nds32_fallback_frame_state): Update.
3022 2019-02-21  Martin Sebor  <msebor@redhat.com>
3024         * libgcc2.h (__clear_cache): Correct signature.
3025         * libgcc2.c (__clear_cache): Same.
3027 2019-02-20  UroÅ¡ Bizjak  <ubizjak@gmail.com>
3029         * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
3030         Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
3032 2019-02-19  UroÅ¡ Bizjak  <ubizjak@gmail.com>
3034         * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
3035         regno instead of index to DWARF_ZERO_REG.
3037 2019-02-15  Eric Botcazou  <ebotcazou@adacore.com>
3039         * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
3040         TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
3042 2019-01-31  UroÅ¡ Bizjak  <ubizjak@gmail.com>
3044         * config/alpha/t-linux: Add -mfp-rounding-mode=d
3045         to HOST_LIBGCC2_CFLAGS.
3047 2019-01-23  Joseph Myers  <joseph@codesourcery.com>
3049         PR libgcc/88931
3050         * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
3052 2019-01-18  Martin Liska  <mliska@suse.cz>
3054         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
3055         to ...
3056         (__gcov_indirect_call_profiler_v3): ... this.
3057         * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
3058         (__gcov_indirect_call_profiler_v3): Likewise.
3059         * Makefile.in: Bump function name.
3061 2019-01-18  Martin Liska  <mliska@suse.cz>
3063         * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
3064         (gcov_version): Use in gcov_error.
3065         (merge_one_data): Likewise.
3066         (dump_one_gcov): Likewise.
3068 2019-01-18  Martin Liska  <mliska@suse.cz>
3070         * libgcov-driver.c (gcov_version_string): New function.
3071         (gcov_version): Convert version integer into string.
3073 2019-01-17  Andrew Stubbs  <ams@codesourcery.com>
3074             Kwok Cheung Yeung  <kcy@codesourcery.com>
3075             Julian Brown  <julian@codesourcery.com>
3076             Tom de Vries  <tom@codesourcery.com>
3078         * config.host: Recognize amdgcn*-*-amdhsa.
3079         * config/gcn/crt0.c: New file.
3080         * config/gcn/lib2-divmod-hi.c: New file.
3081         * config/gcn/lib2-divmod.c: New file.
3082         * config/gcn/lib2-gcn.h: New file.
3083         * config/gcn/sfp-machine.h: New file.
3084         * config/gcn/t-amdgcn: New file.
3086 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
3088         PR other/16615
3090         * config/c6x/libunwind.S: Mechanically replace "can not" with
3091         "cannot".
3092         * config/tilepro/atomic.h: Likewise.
3093         * config/vxlib-tls.c: Likewise.
3094         * generic-morestack-thread.c: Likewise.
3095         * generic-morestack.c: Likewise.
3096         * mkmap-symver.awk: Likewise.
3098 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
3100         Update copyright years.
3102 2018-12-20  H.J. Lu  <hongjiu.lu@intel.com>
3104         * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
3105         to ignore -Waddress-of-packed-member.
3107 2018-12-19  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
3109         * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
3110         parameter and corresponding code.
3111         (ARM_FUNC_START): Likewise in both definitions.
3112         Also update footer comment about condition that need to match with
3113         gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
3114         * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
3115         defined.  Weakly define it in this case.
3116         * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
3117         * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
3118         _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
3119         comment to keep condition in sync with the one in
3120         libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
3122 2018-12-18  Wei Xiao  <wei3.xiao@intel.com>
3124         * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
3125         * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
3127 2018-12-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3129         * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
3130         and .cfi_endproc directives for VxWorks targets.
3132 2018-12-05  Paul Koning  <ni1d@arrl.net>
3134         * udivmodhi4.c (__udivmodhi4): Fix loop end check.
3136 2018-11-27  Alan Modra  <amodra@gmail.com>
3138         * config/rs6000/morestack.S (__stack_split_initialize),
3139         (__morestack_get_guard, __morestack_set_guard),
3140         (__morestack_make_guard): Provide CFI covering these functions.
3141         * config/rs6000/tramp.S (__trampoline_setup): Likewise.
3143 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
3145         * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
3146         (sc_pt_regs_lr): Update for kernel.
3147         (sc_pt_regs_tls): Update for kernel.
3149 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
3151         * config/csky/linux-unwind.h: Fix coding style.
3153 2018-11-13  Xianmiao Qu  <xianmiao_qu@c-sky.com>
3155         * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
3156         (csky_fallback_frame_state): Modify the check of the
3157         instructions to adapt to changes in the kernel
3159 2018-11-09  Stafford Horne  <shorne@gmail.com>
3160             Richard Henderson  <rth@twiddle.net>
3162         * config.host: Add OpenRISC support.
3163         * config/or1k/*: New.
3165 2018-11-08  Kito Cheng  <kito@andestech.com>
3167         * soft-fp/adddf3.c: Update from glibc.
3168         * soft-fp/addsf3.c: Likewise.
3169         * soft-fp/addtf3.c: Likewise.
3170         * soft-fp/divdf3.c: Likewise.
3171         * soft-fp/divsf3.c: Likewise.
3172         * soft-fp/divtf3.c: Likewise.
3173         * soft-fp/double.h: Likewise.
3174         * soft-fp/eqdf2.c: Likewise.
3175         * soft-fp/eqsf2.c: Likewise.
3176         * soft-fp/eqtf2.c: Likewise.
3177         * soft-fp/extenddftf2.c: Likewise.
3178         * soft-fp/extended.h: Likewise.
3179         * soft-fp/extendhftf2.c: Likewise.
3180         * soft-fp/extendsfdf2.c: Likewise.
3181         * soft-fp/extendsftf2.c: Likewise.
3182         * soft-fp/extendxftf2.c: Likewise.
3183         * soft-fp/fixdfdi.c: Likewise.
3184         * soft-fp/fixdfsi.c: Likewise.
3185         * soft-fp/fixdfti.c: Likewise.
3186         * soft-fp/fixhfti.c: Likewise.
3187         * soft-fp/fixsfdi.c: Likewise.
3188         * soft-fp/fixsfsi.c: Likewise.
3189         * soft-fp/fixsfti.c: Likewise.
3190         * soft-fp/fixtfdi.c: Likewise.
3191         * soft-fp/fixtfsi.c: Likewise.
3192         * soft-fp/fixtfti.c: Likewise.
3193         * soft-fp/fixunsdfdi.c: Likewise.
3194         * soft-fp/fixunsdfsi.c: Likewise.
3195         * soft-fp/fixunsdfti.c: Likewise.
3196         * soft-fp/fixunshfti.c: Likewise.
3197         * soft-fp/fixunssfdi.c: Likewise.
3198         * soft-fp/fixunssfsi.c: Likewise.
3199         * soft-fp/fixunssfti.c: Likewise.
3200         * soft-fp/fixunstfdi.c: Likewise.
3201         * soft-fp/fixunstfsi.c: Likewise.
3202         * soft-fp/fixunstfti.c: Likewise.
3203         * soft-fp/floatdidf.c: Likewise.
3204         * soft-fp/floatdisf.c: Likewise.
3205         * soft-fp/floatditf.c: Likewise.
3206         * soft-fp/floatsidf.c: Likewise.
3207         * soft-fp/floatsisf.c: Likewise.
3208         * soft-fp/floatsitf.c: Likewise.
3209         * soft-fp/floattidf.c: Likewise.
3210         * soft-fp/floattihf.c: Likewise.
3211         * soft-fp/floattisf.c: Likewise.
3212         * soft-fp/floattitf.c: Likewise.
3213         * soft-fp/floatundidf.c: Likewise.
3214         * soft-fp/floatundisf.c: Likewise.
3215         * soft-fp/floatunditf.c: Likewise.
3216         * soft-fp/floatunsidf.c: Likewise.
3217         * soft-fp/floatunsisf.c: Likewise.
3218         * soft-fp/floatunsitf.c: Likewise.
3219         * soft-fp/floatuntidf.c: Likewise.
3220         * soft-fp/floatuntihf.c: Likewise.
3221         * soft-fp/floatuntisf.c: Likewise.
3222         * soft-fp/floatuntitf.c: Likewise.
3223         * soft-fp/gedf2.c: Likewise.
3224         * soft-fp/gesf2.c: Likewise.
3225         * soft-fp/getf2.c: Likewise.
3226         * soft-fp/half.h: Likewise.
3227         * soft-fp/ledf2.c: Likewise.
3228         * soft-fp/lesf2.c: Likewise.
3229         * soft-fp/letf2.c: Likewise.
3230         * soft-fp/muldf3.c: Likewise.
3231         * soft-fp/mulsf3.c: Likewise.
3232         * soft-fp/multf3.c: Likewise.
3233         * soft-fp/negdf2.c: Likewise.
3234         * soft-fp/negsf2.c: Likewise.
3235         * soft-fp/negtf2.c: Likewise.
3236         * soft-fp/op-1.h: Likewise.
3237         * soft-fp/op-2.h: Likewise.
3238         * soft-fp/op-4.h: Likewise.
3239         * soft-fp/op-8.h: Likewise.
3240         * soft-fp/op-common.h: Likewise.
3241         * soft-fp/quad.h: Likewise.
3242         * soft-fp/single.h: Likewise.
3243         * soft-fp/soft-fp.h: Likewise.
3244         * soft-fp/subdf3.c: Likewise.
3245         * soft-fp/subsf3.c: Likewise.
3246         * soft-fp/subtf3.c: Likewise.
3247         * soft-fp/truncdfsf2.c: Likewise.
3248         * soft-fp/trunctfdf2.c: Likewise.
3249         * soft-fp/trunctfhf2.c: Likewise.
3250         * soft-fp/trunctfsf2.c: Likewise.
3251         * soft-fp/trunctfxf2.c: Likewise.
3252         * soft-fp/unorddf2.c: Likewise.
3253         * soft-fp/unordsf2.c: Likewise.
3254         * soft-fp/unordtf2.c: Likewise.
3256 2018-11-04  Venkataramanan Kumar  <Venkataramanan.kumar@amd.com>
3258         * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
3259         * config/i386/cpuinfo.h (processor_types): Add znver2.
3261 2018-11-01  Paul Koning  <ni1d@arrl.net>
3263         * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
3264         (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
3266 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
3268         PR bootstrap/82856
3269         * configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
3270         * configure: Regenerate.
3272 2018-10-31  Claudiu Zissulescu  <claziss@synopsys.com>
3274         * config/arc/lib1funcs.S (_muldi3): New function.
3275         * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
3277 2018-10-30  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3279         * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
3281 2018-10-25  Martin Liska  <mliska@suse.cz>
3283         PR other/87735
3284         * libgcov-profiler.c: Revert.
3286 2018-10-24  Martin Liska  <mliska@suse.cz>
3288         * libgcov-profiler.c: Start from 1 in order to distinguish
3289         functions which were seen and these that were not.
3291 2018-10-18  Paul Koning  <ni1d@arrl.net>
3293         * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
3294         standard.
3295         * divmod.c: Update references to __udivmodsi4.
3296         * udivmod.c: Ditto.
3297         * udivhi3.c: New file.
3298         * udivmodhi4.c: New file.
3299         * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
3301 2018-10-17  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3303         * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
3305 2018-10-12  Olivier Hainque  <hainque@adacore.com>
3307         * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
3308         defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
3310 2018-10-08  Paul Koning  <ni1d@arrl.net>
3312         * config/pdp11/t-pdp11: Remove -mfloat32 switch.
3314 2018-10-04  Martin Liska  <mliska@suse.cz>
3316         PR gcov-profile/84107
3317         * libgcov-profiler.c (__gcov_indirect_call):
3318         Change type to indirect_call_tuple.
3319         (struct indirect_call_tuple): New struct.
3320         (__gcov_indirect_call_topn_profiler): Change type.
3321         (__gcov_indirect_call_profiler_v2): Use the new
3322         variables.
3323         * libgcov.h (struct indirect_call_tuple): New struct
3324         definition.
3326 2018-10-03  Uros Bizjak  <ubizjak@gmail.com>
3328         * libgcc2.c (isnan): Use __builtin_isnan.
3329         (isfinite): Use __builtin_isfinite.
3330         (isinf): Use __builtin_isinf.
3332 2018-09-26  Uros Bizjak  <ubizjak@gmail.com>
3334         * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
3336 2018-09-21  Alexandre Oliva  <oliva@adacore.com>
3338         * config/vxcache.c: New file.  Provide __clear_cache, based on
3339         the cacheTextUpdate VxWorks service.
3340         * config/t-vxworks (LIB2ADD): Add vxcache.c.
3341         (LIB2FUNCS_EXCLUDE): Add _clear_cache.
3342         * config/t-vxwoks7: Likewise.
3344 2018-09-21  Martin Liska  <mliska@suse.cz>
3346         * libgcov-driver.c (crc32_unsigned): Remove.
3347         (gcov_histogram_insert): Likewise.
3348         (gcov_compute_histogram): Likewise.
3349         (compute_summary): Simplify rapidly.
3350         (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
3351         (merge_summary): Rapidly simplify.
3352         (dump_one_gcov): Ignore gcov_summary.
3353         (gcov_do_dump): Do not handle program summary, it's not
3354         used.
3355         * libgcov-util.c (tag_summary): Remove.
3356         (read_gcda_finalize): Fix coding style.
3357         (read_gcda_file): Initialize curr_object_summary.
3358         (compute_summary): Remove.
3359         (calculate_overlap): Remove settings of run_max.
3361 2018-09-21  Monk Chiang  <sh.chiang04@gmail.com>
3363         * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
3364         ucontext_t type instead.
3365         (nds32_fallback_frame_state): Remove struct _sigframe statement.
3367 2018-09-21  Kito Cheng  <kito.cheng@gmail.com>
3369         * config/nds32/t-nds32-glibc: New file.
3371 2018-09-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3373         * configure.ac (solaris_ld_v2_maps): New test.
3374         * configure: Regenerate.
3375         * Makefile.in (solaris_ld_v2_maps): New variable.
3376         * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
3377         if supported.
3379 2018-08-23  Richard Earnshaw  <rearnsha@arm.com>
3381         PR target/86951
3382         * config/arm/lib1funcs.asm (speculation_barrier): New function.
3383         * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
3384         to build.
3386 2018-08-22  Iain Sandoe  <iain@sandoe.co.uk>
3388         * config/unwind-dw2-fde-darwin.c
3389         (_darwin10_Unwind_FindEnclosingFunction): move from here ...
3390         * config/darwin10-unwind-find-enc-func.c: â€¦ to here.
3391         * config/t-darwin: Build Darwin10 unwinder shim crt.
3392         * libgcc/config.host: Add the Darwin10 unwinder shim.
3394 2018-08-21  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3396         * config.host: Add crtbegin.o and crtend.o for
3397         powerpc-wrs-vxworks target.
3399 2018-08-17  Jojo  <jijie_rong@c-sky.com>
3400             Huibin Wang  <huibin_wang@c-sky.com>
3401             Sandra Loosemore  <sandra@codesourcery.com>
3402             Chung-Lin Tang  <cltang@codesourcery.com>
3404         C-SKY port: libgcc
3406         * config.host: Add C-SKY support.
3407         * config/csky/*: New.
3409 2018-08-12  Chung-Ju Wu  <jasonwucj@gmail.com>
3411         * config/nds32/t-nds32-isr: Rearrange object dependency.
3412         * config/nds32/initfini.c: Add dwarf2 unwinding support.
3413         * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
3414         and registers usage.
3415         * config/nds32/isr-library/excp_isr.S: Ditto.
3416         * config/nds32/isr-library/intr_isr.S: Ditto.
3417         * config/nds32/isr-library/reset.S: Ditto.
3418         * config/nds32/isr-library/restore_all.inc: Ditto.
3419         * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
3420         * config/nds32/isr-library/restore_partial.inc: Ditto.
3421         * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
3422         * config/nds32/isr-library/save_all.inc: Ditto.
3423         * config/nds32/isr-library/save_mac_regs.inc: Ditto.
3424         * config/nds32/isr-library/save_partial.inc: Ditto.
3425         * config/nds32/isr-library/save_usr_regs.inc: Ditto.
3426         * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
3428 2018-08-11  John David Anglin  <danglin@gcc.gnu.org>
3430         * config/pa/linux-atomic.c: Update comment.
3431         (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
3432         COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
3433         SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
3434         __ATOMIC_RELAXED for atomic loads.
3435         (SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
3436         unordered store to release lock.
3437         (__sync_lock_release_8): Likewise.
3438         (SYNC_LOCK_RELEASE_2): Remove define.
3440 2018-08-02  Nicolas Pitre <nico@fluxnic.net>
3442         PR libgcc/86512
3443         * config/arm/ieee754-df.S: Don't shortcut denormal handling when
3444         exponent goes negative. Update my email address.
3445         * config/arm/ieee754-sf.S: Likewise.
3447 2018-08-01  Martin Liska  <mliska@suse.cz>
3449         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
3450         check that  __gcov_indirect_call_callee is non-null.
3452 2018-07-30  Christophe Lyon  <christophe.lyon@linaro.org>
3454         * config/arm/ieee754-df.S: Fix comment for code working on
3455         architectures >= 4.
3456         * config/arm/ieee754-sf.S: Likewise.
3458 2018-07-27  H.J. Lu  <hongjiu.lu@intel.com>
3460         PR libgcc/85334
3461         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3462         Removed.
3464 2018-07-05  James Clarke  <jrtc27@jrtc27.com>
3466         * configure: Regenerated.
3468 2018-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3470         * Makefile.in (install_leaf): Use enable_gcov instead of
3471         enable_libgcov.
3473 2018-06-27  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3475         * configure.ac: Add --disable-gcov option.
3476         * configure: Regenerate.
3477         * Makefile.in: Honour @enable_gcov@.
3479 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
3481         * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
3482         __ARM_ARCH and __ARM_FEATURE_CLZ instead.
3483         (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
3484         * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
3485         __ARM_ARCH__.
3486         * config/arm/ieee754-sf.S: Likewise.
3487         * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
3489 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
3491         * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
3492         longer supported.
3493         * config/arm/ieee754-sf.S: Likewise.
3495 2018-06-20  Than McIntosh  <thanm@google.com>
3497         PR libgcc/86213
3498         * generic-morestack.c (allocate_segment): Move calls to getenv and
3499         getpagesize to __morestack_load_mmap.
3500         (__morestack_load_mmap) Initialize static_pagesize and
3501         use_guard_page here so as to avoid clobbering SSE regs during a
3502         __morestack call.
3504 2018-06-18  Michael Meissner  <meissner@linux.ibm.com>
3506         * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
3507         support modules with -mno-gnu-attribute.
3508         * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
3510 2018-06-07  Olivier Hainque  <hainque@adacore.com>
3512         * config/t-vxworks (LIBGCC_INCLUDES): Add
3513         -I$(MULTIBUILDTOP)../../gcc/include.
3514         * config/t-vxworks7: Likewise. Reformat a bit to match
3515         the t-vxworks layout.
3517 2018-06-07  Olga Makhotina  <olga.makhotina@intel.com>
3519         * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
3521 2018-06-07  Martin Liska  <mliska@suse.cz>
3523         * libgcov-driver.c: Rename cs_all to all and assign it from
3524         all_prg.
3526 2018-06-07  Martin Liska  <mliska@suse.cz>
3528         PR bootstrap/86057
3529         * libgcov-driver-system.c (replace_filename_variables): Use
3530         memcpy instead of mempcpy.
3531         (allocate_filename_struct): Do not allocate filename, allocate
3532         prefix and set it.
3533         (gcov_exit_open_gcda_file): Allocate memory for gf->filename
3534         here and properly copy content into it.
3535         * libgcov-driver.c (struct gcov_filename): Remove max_length
3536         field, change prefix from size_t into char *.
3537         (compute_summary): Do not calculate longest filename.
3538         (gcov_do_dump): Release memory of gf.filename after each file.
3539         * libgcov-util.c (compute_summary): Use new signature of
3540         compute_summary.
3541         (calculate_overlap): Likewise.
3543 2018-06-05  Martin Liska  <mliska@suse.cz>
3545         PR gcov-profile/47618
3546         * libgcov-driver-system.c (replace_filename_variables): New
3547         function.
3548         (gcov_exit_open_gcda_file): Use it.
3550 2018-06-05  Martin Liska  <mliska@suse.cz>
3552         * libgcov-driver.c (gcov_compute_histogram): Remove usage
3553         of gcov_ctr_summary.
3554         (compute_summary): Do it just for a single summary.
3555         (merge_one_data): Likewise.
3556         (merge_summary): Simplify as we read just single summary.
3557         (dump_one_gcov): Pass proper argument.
3558         * libgcov-util.c (compute_one_gcov): Simplify as we have just
3559         single summary.
3560         (gcov_info_count_all_cold): Likewise.
3561         (calculate_overlap): Likewise.
3563 2018-06-02  Chung-Ju Wu  <jasonwucj@gmail.com>
3564             Monk Chiang  <sh.chiang04@gmail.com>
3566         * config.host (nds32*-linux*): New.
3567         * config/nds32/linux-atomic.c: New file.
3568         * config/nds32/linux-unwind.h: New file.
3570 2018-05-31  Uros Bizjak  <ubizjak@gmail.com>
3572         PR target/85591
3573         * config/i386/cpuinfo.c (get_amd_cpu): Return
3574         AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
3576 2018-05-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
3578         * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
3580 2018-05-29  Martin Liska  <mliska@suse.cz>
3582         PR gcov-profile/85759
3583         * libgcov-driver-system.c (gcov_error): Introduce usage of
3584         GCOV_EXIT_AT_ERROR env. variable.
3585         * libgcov-driver.c (merge_one_data): Print error that we
3586         overwrite a gcov file with a different timestamp.
3588 2018-05-23  Kalamatee  <kalamatee@gmail.com>
3590         * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
3591         path to Lf$finfty.
3593 2018-05-18  Kito Cheng <kito.cheng@gmail.com>
3594             Monk Chiang  <sh.chiang04@gmail.com>
3595             Jim Wilson <jimw@sifive.com>
3597         * config/riscv/save-restore.S: Add support for rv32e.
3599 2018-05-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
3601         * config/arm/libunwind.S: Update comment relating to armv5.
3603 2018-05-17  Jerome Lambourg  <lambourg@adacore.com>
3605         * config/arm/cmse.c (cmse_check_address_range): Replace
3606         UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
3608 2018-05-17  Olga Makhotina  <olga.makhotina@intel.com>
3610         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
3611         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
3613 2018-05-08  Olga Makhotina  <olga.makhotina@intel.com>
3615         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
3616         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
3618 2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
3620         * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
3622 2018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
3623             Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
3625         PR libgcc/84292
3626         * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
3627         op_and_fetch to return the right result.
3629 2018-04-27  Alan Modra  <amodra@gmail.com>
3631         PR libgcc/85532
3632         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
3633         -fno-asynchronous-unwind-tables.
3635 2018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
3637         * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
3638         * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
3640 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
3642         * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
3643         when including "config/i386/shadow-stack-unwind.h".
3645 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
3647         * configure: Regenerated.
3649 2018-04-20  Michael Meissner  <meissner@linux.ibm.com>
3651         PR target/85456
3652         * config/rs6000/_powikf2.c: New file.  Add support for the
3653         __builtin_powil function when long double is IEEE 128-bit floating
3654         point.
3655         * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
3656         __powikf2 support.
3657         (__powikf2): Likewise.
3658         * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
3659         (__powikf2_hw): Likewise.
3660         (__powikf2): Likewise.
3661         * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
3662         * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
3663         (_powikf2-hw.c): Likewise.
3665 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
3667         PR libgcc/85334
3668         * unwind-generic.h (_Unwind_Frames_Increment): New.
3669         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3670         Likewise.
3671         * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
3672         count with _Unwind_Frames_Increment.
3673         (_Unwind_ForcedUnwind_Phase2): Likewise.
3675 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
3677         PR libgcc/85379
3678         * config/i386/morestack.S (__stack_split_initialize): Add
3679         _CET_ENDBR.
3681 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
3683         * configure: Regenerated.
3685 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
3687         PR jit/85384
3688         * configure: Regenerate.
3690 2018-04-16  Jakub Jelinek  <jakub@redhat.com>
3692         PR target/84945
3693         * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
3694         -Wdangling-else warnings.  Mask shift counts to avoid
3695         -Wshift-count-negative and -Wshift-count-overflow false positives.
3697 2018-04-06  Ruslan Bukin  <br@bsdpad.com>
3699         * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
3701 2018-03-29  H.J. Lu  <hongjiu.lu@intel.com>
3703         PR target/85100
3704         * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
3705         (XSTATE_FP): Likewise.
3706         (XSTATE_SSE): Likewise.
3707         (XSTATE_YMM): Likewise.
3708         (XSTATE_OPMASK): Likewise.
3709         (XSTATE_ZMM): Likewise.
3710         (XSTATE_HI_ZMM): Likewise.
3711         (XCR_AVX_ENABLED_MASK): Likewise.
3712         (XCR_AVX512F_ENABLED_MASK): Likewise.
3713         (get_available_features): Enable AVX and AVX512 features only
3714         if their states are supported by OSXSAVE.
3716 2018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3718         PR target/85025
3719         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3720         Fix a typo, tmp => 255.
3722 2018-03-20  Jakub Jelinek  <jakub@redhat.com>
3724         PR target/84945
3725         * config/i386/cpuinfo.h (__cpu_features2): Declare.
3726         * config/i386/cpuinfo.c (__cpu_features2): New variable for
3727         ifndef SHARED only.
3728         (set_feature): Define.
3729         (get_available_features): Use set_feature macro.  Set __cpu_features2
3730         to the second word of features ifndef SHARED.
3732 2018-03-15  Julia Koval  <julia.koval@intel.com>
3734         * config/i386/cpuinfo.c (get_available_features): Add
3735         FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
3736         FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
3737         * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
3738         FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
3739         FEATURE_AVX512BITALG.
3741 2018-03-14  Julia Koval  <julia.koval@intel.com>
3743         * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
3744         icelake client and icelake server.
3746 2018-03-06  John David Anglin  <danglin@gcc.gnu.org>
3748         * config/pa/fptr.c (_dl_read_access_allowed): New.
3749         (__canonicalize_funcptr_for_compare): Use it.
3751 2018-02-28  Jakub Jelinek  <jakub@redhat.com>
3753         PR debug/83917
3754         * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
3755         $asm_hidden_op if visibility ("hidden") attribute works.
3756         (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
3757         * config/i386/i386-asm.h: Don't include auto-host.h.
3758         (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
3759         PACKAGE_URL): Don't undefine.
3760         (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
3761         guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
3762         (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
3763         #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
3764         definition instead of hardcoded .hidden.
3765         * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
3766         directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
3767         #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
3768         (USE_GAS_CFI_DIRECTIVES): Don't define.
3769         * configure: Regenerated.
3770         * config.in: Likewise.
3772 2018-02-26  Jakub Jelinek  <jakub@redhat.com>
3774         PR debug/83917
3775         * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
3776         PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
3777         inclusion of auto-target.h and auto-host.h.
3778         (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
3779         __GCC_HAVE_DWARF2_CFI_ASM.
3780         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3781         cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
3782         cfi_pop): Define.
3783         * config/i386/cygwin.S: Don't include auto-host.h here, just
3784         define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
3785         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3786         cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
3787         * config/i386/resms64fx.h: Add cfi_* directives.
3788         * config/i386/resms64x.h: Likewise.
3790 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
3792         * config/xtensa/ieee754-df.S (__adddf3_aux): Add
3793         .literal_position directive.
3794         * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
3796 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3798         PR target/84148
3799         * configure: Regenerate.
3801 2018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3803         PR target/84239
3804         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3805         Include cetintrin.h not x86intrin.h.
3807 2018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3809         PR target/84239
3810         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3811         Use new _get_ssp and _inc_ssp intrinsics.
3813 2018-02-02  Julia Koval  <julia.koval@intel.com>
3815         * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
3817 2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
3819         * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
3820         option.
3821         (__divsi3): Use RF16 safe registers.
3822         (__modsi3): Likewise.
3824 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
3826         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
3827         (__divsf3): Make NaN return value quiet.
3828         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
3829         (__divdf3): Make NaN return value quiet.
3831 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
3833         * config/rl78/anddi3.S: New assembly file.
3834         * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
3836 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
3838         * config/rl78/umindi3.S: New assembly file.
3839         * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
3841 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
3843         * config/rl78/smindi3.S: New assembly file.
3844         * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
3846 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
3848         * config/rl78/smaxdi3.S: New assembly file.
3849         * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
3851 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
3853         * config/rl78/umaxdi3.S: New assembly file.
3854         * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
3856 2018-01-21  John David Anglin  <danglin@gcc.gnu.org>
3858         PR lto/83452
3859         * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
3860         * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
3862 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
3864         * config/aarch64/value-unwind.h (aarch64_vg): New function.
3865         (DWARF_LAZY_REGISTER_VALUE): Define.
3866         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
3867         to provide a fallback register value.
3869 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
3871         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
3872         __ibm128, instead of trying to use long double.
3873         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
3874         accomidate -mabi=ieeelongdouble multilibs.
3875         (CVT_IBM128_TO_FLOAT128): Likewise.
3876         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
3877         the appropriate IBM extended double type.
3878         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
3879         (__gcc_qsub): Likewise.
3880         (__gcc_qmul): Likewise.
3881         (__gcc_qdiv): Likewise.
3882         (pack_ldouble): Likewise.
3883         (__gcc_qneg): Likewise.
3884         (__gcc_qeq): Likewise.
3885         (__gcc_qne): Likewise.
3886         (__gcc_qge): Likewise.
3887         (__gcc_qle): Likewise.
3888         (__gcc_stoq): Likewise.
3889         (__gcc_dtoq): Likewise.
3890         (__gcc_itoq): Likewise.
3891         (__gcc_utoq): Likewise.
3892         (__gcc_qunord): Likewise.
3893         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
3894         quad-float128.h for the definitions.
3895         (COPYSIGN): Use the f128 version instead of the q version.
3896         (INFINITY): Likewise.
3897         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
3898         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
3899         quad-float128.h for the definitions.
3900         (COPYSIGN): Use the f128 version instead of the q version.
3901         (INFINITY): Likewise.
3902         (FABS): Likewise.
3903         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
3904         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
3905         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
3907 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3909         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
3910         configuration.
3912 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
3914         Update copyright years.
3916 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
3918         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
3919         * config/riscv/multi3.c: New file.
3920         * config/riscv/multi3.S: Remove.
3922 2017-12-08  Jim Wilson  <jimw@sifive.com>
3924         * config/riscv/div.S: Use FUNC_* macros.
3925         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
3926         * config/riscv/save-restore.S: Likewise.
3927         * config/riscv/riscv-asm.h: New.
3929 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
3931         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
3932         * config/rs6000/_divkc3.c (__divkc3): Likewise.
3934         PR libgcc/83112
3935         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
3936         correct type for all ifunc resolvers to silence -Wattribute-alias
3937         warnings.  Eliminate the forward declaration of the resolver
3938         functions which is no longer needed.
3939         (__subkf3_resolve): Likewise.
3940         (__mulkf3_resolve): Likewise.
3941         (__divkf3_resolve): Likewise.
3942         (__negkf2_resolve): Likewise.
3943         (__eqkf2_resolve): Likewise.
3944         (__nekf2_resolve): Likewise.
3945         (__gekf2_resolve): Likewise.
3946         (__gtkf2_resolve): Likewise.
3947         (__lekf2_resolve): Likewise.
3948         (__ltkf2_resolve): Likewise.
3949         (__unordkf2_resolve): Likewise.
3950         (__extendsfkf2_resolve): Likewise.
3951         (__extenddfkf2_resolve): Likewise.
3952         (__trunckfsf2_resolve): Likewise.
3953         (__trunckfdf2_resolve): Likewise.
3954         (__fixkfsi_resolve): Likewise.
3955         (__fixkfdi_resolve): Likewise.
3956         (__fixunskfsi_resolve): Likewise.
3957         (__fixunskfdi_resolve): Likewise.
3958         (__floatsikf_resolve): Likewise.
3959         (__floatdikf_resolve): Likewise.
3960         (__floatunsikf_resolve): Likewise.
3961         (__floatundikf_resolve): Likewise.
3962         (__extendkftf2_resolve): Likewise.
3963         (__trunctfkf2_resolve): Likewise.
3965         PR libgcc/83103
3966         * config/rs6000/quad-float128.h (TF): Don't define if long double
3967         is IEEE 128-bit floating point.
3968         (TCtype): Define as either TCmode or KCmode, depending on whether
3969         long double is IEEE 128-bit floating point.
3970         (__mulkc3_sw): Add declarations for software/hardware versions of
3971         complex multiply/divide.
3972         (__divkc3_sw): Likewise.
3973         (__mulkc3_hw): Likewise.
3974         (__divkc3_hw): Likewise.
3975         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
3976         handlers to switch between using software emulation and hardware
3977         float128 instructions, build the complex multiply/divide functions
3978         for both software and hardware support.
3979         * config/rs6000/_divkc3.c (_divkc3): Likewise.
3980         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
3981         (__divkc3_resolve): Likewise.
3982         (__mulkc3): Likewise.
3983         (__divkc3): Likewise.
3984         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
3985         (fp128_hw_src): Likewise.
3986         (fp128_hw_static_obj): Likewise.
3987         (fp128_hw_shared_obj): Likewise.
3988         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
3989         _mulkc3.c and _divkc3.c, changing the function name.
3990         (_divkc3-hw.c): Likewise.
3991         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
3992         and _divkc3-hw.c.
3994 2017-11-26  Julia Koval  <julia.koval@intel.com>
3996         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
3997         * config/i386/cpuinfo.h (processor_subtypes): Add
3998         INTEL_COREI7_CANNONLAKE.
4000 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4002         PR bootstrap/83015
4003         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
4004         parameter.
4005         * config/xtensa/unwind-dw2-xtensa.c: Likewise
4006         * config/ia64/unwind-ia64.c: Add frames parameter.
4007         * unwind-sjlj.c: Likewise.
4009 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4011         * config/i386/linux-unwind.h: Include
4012         config/i386/shadow-stack-unwind.h.
4013         * config/i386/shadow-stack-unwind.h: New file.
4014         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
4015         pass it to _Unwind_Frames_Extra.
4016         * unwind-generic.h (_Unwind_Frames_Extra): New.
4017         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
4018         parameter. Add local variable frames to count number of frames.
4019         (_Unwind_ForcedUnwind_Phase2): Likewise.
4020         (_Unwind_RaiseException): Add local variable frames to count
4021         number of frames, pass it to _Unwind_RaiseException_Phase2 and
4022         uw_install_context.
4023         (_Unwind_ForcedUnwind): Likewise.
4024         (_Unwind_Resume): Likewise.
4025         (_Unwind_Resume_or_Rethrow): Likewise.
4027 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4029         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
4030         (CET_FLAGS): New.
4031         * config/i386/morestack.S: Include <cet.h>.
4032         (__morestack_large_model): Add _CET_ENDBR at function entrance.
4033         * config/i386/resms64.h: Include <cet.h>.
4034         * config/i386/resms64f.h: Likewise.
4035         * config/i386/resms64fx.h: Likewise.
4036         * config/i386/resms64x.h: Likewise.
4037         * config/i386/savms64.h: Likewise.
4038         * config/i386/savms64f.h: Likewise.
4039         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
4040         (CRTSTUFF_T_CFLAGS): Likewise.
4041         * configure.ac: Include ../config/cet.m4.
4042         Set and substitute CET_FLAGS.
4043         * configure: Regenerated.
4045 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4047         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
4048         renaming.
4049         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
4050         * configure.ac (libgcc_cv_solaris_crts): Likewise.
4051         * configure: Regenerate.
4053 2017-11-07  Tom de Vries  <tom@codesourcery.com>
4055         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
4056         after "do {} while (0)".
4058 2017-11-07  Tom de Vries  <tom@codesourcery.com>
4060         PR other/82784
4061         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
4062         semicolon after "do {} while (0)".
4063         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4064         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4065         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4066         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4068 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
4070         PR libgcc/82635
4071         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
4072         sysctl to determine whether we're in a trampoline.
4073         Keep the pattern matching method for systems without
4074         KERN_PROC_SIGTRAMP sysctl.
4076 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
4077             Vineet Gupta <vgupta@synopsys.com>
4079         * config.host (arc*-*-linux*): Set md_unwind_header variable.
4080         * config/arc/linux-unwind-reg.def: New file.
4081         * config/arc/linux-unwind-reg.h: Likewise.
4083 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
4085         * config/rl78/subdi3.S: New assembly file.
4086         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
4088 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
4090         * config/rl78/adddi3.S: New assembly file.
4091         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
4093 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
4095         PR target/82274
4096         * libgcc2.c (__mulvDI3): If both operands have
4097         the same highpart of -1 and the topmost bit of lowpart is 0,
4098         multiplication overflows even if both lowparts are 0.
4100 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
4102         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
4104 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
4106         * config/microblaze/crti.S, config/microblaze/crtn.S,
4107         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
4108         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
4109         config/microblaze/mulsi3.S,
4110         config/microblaze/stack_overflow_exit.S,
4111         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
4112         config/pa/milli64.S: Add .note.GNU-stack section.
4114 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
4116         * configure.ac: Add Check for HAVE_AS_AVX.
4117         * config.in: Regenerate.
4118         * configure: Likewise.
4119         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
4120         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
4121         Correct out-of-date comments.
4123 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
4125         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
4126         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
4128 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
4130         * config/i386/i386-asm.h (PASTE2): New macro.
4131         (ASMNAME): Modify to use PASTE2.
4132         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
4133         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
4134         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
4135         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
4136         * config/i386/resms64f.S: Likewise.
4137         * config/i386/resms64fx.S: Likewise.
4138         * config/i386/resms64x.S: Likewise.
4139         * config/i386/savms64.S: Likewise.
4140         * config/i386/savms64f.S: Likewise.
4141         * config/i386/avx_resms64.S: New file that only defines a macro and
4142         includes it's corresponding header file.
4143         * config/i386/avx_resms64f.S: Likewise.
4144         * config/i386/avx_resms64fx.S: Likewise.
4145         * config/i386/avx_resms64x.S: Likewise.
4146         * config/i386/avx_savms64.S: Likewise.
4147         * config/i386/avx_savms64f.S: Likewise.
4148         * config/i386/sse_resms64.S: Likewise.
4149         * config/i386/sse_resms64f.S: Likewise.
4150         * config/i386/sse_resms64fx.S: Likewise.
4151         * config/i386/sse_resms64x.S: Likewise.
4152         * config/i386/sse_savms64.S: Likewise.
4153         * config/i386/sse_savms64f.S: Likewise.
4154         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
4156 2017-09-01  Olivier Hainque  <hainque@adacore.com>
4157         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
4159 2017-08-31  Olivier Hainque  <hainque@adacore.com>
4161         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
4162         match as powerpc-wrs-vxworks*.
4164 2017-08-07  Jonathan Yong  <10walls@gmail.com>
4166         * config.host (*-cygwin): Include file from mingw
4167         config/i386/enable-execute-stack-mingw32.c
4169 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
4170             Doug Rupp  <rupp@adacore.com>
4171             Olivier Hainque  <hainque@adacore.com>
4173         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
4174         as well as arm-wrs-vxworks.
4175         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
4176         LIB2ADDEH.
4177         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
4178         __exidx_start and __exidx_end for downloadable modules.
4180 2017-08-01  Olivier Hainque  <hainque@adacore.com>
4182         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
4183         * config/t-vxworks7: Likewise.
4185 2017-08-01  Olivier Hainque  <hainque@adacore.com>
4187         * config/t-vxworks: Instead of redefining LIB2ADD,
4188         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
4190 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4192         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
4194 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
4196         PR testsuite/80759
4197         * config.host: include i386/t-msabi for darwin and solaris.
4198         * config/i386/i386-asm.h
4199         (ELFFN): Rename to FN_TYPE.
4200         (FN_SIZE): New macro.
4201         (FN_HIDDEN): Likewise.
4202         (ASMNAME): Likewise.
4203         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
4204         .globl.
4205         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
4206         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
4207         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
4208         .macro.
4209         * config/i386/resms64f.S: Likewise.
4210         * config/i386/resms64fx.S: Likewise.
4211         * config/i386/resms64x.S: Likewise.
4212         * config/i386/savms64.S: Likewise.
4213         * config/i386/savms64f.S: Likewise.
4215 2017-07-19  John Marino  <gnugcc@marino.st>
4217         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
4219 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
4221         PR target/81193
4222         * configure.ac (PowerPC float128 hardware support): Test whether
4223         we can use __builtin_cpu_supports before enabling the ifunc
4224         handler.
4225         * configure: Regenerate.
4227 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
4229         * config.host: Remove uclibc from arc target spec.
4231 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
4233         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
4235 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
4237         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
4238         (have_ieee_hw_p): Delete function.
4239         (SW_OR_HW) Use __builtin_cpu_supports().
4241 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4243         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
4245 2017-07-03  Olivier Hainque  <hainque@adacore.com>
4247         * config/t-vxworks7: New file, really.
4249 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
4251         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
4252         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
4253         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
4254         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
4255         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
4256         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
4257         config/pa/linux-unwind.h (pa32_fallback_frame_state),
4258         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
4259         config/sh/linux-unwind.h (sh_fallback_frame_state),
4260         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
4261         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
4262         ucontext_t instead of struct ucontext.
4264 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
4266         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
4267         (x86_64-wrs-vxworks7): Likewise.
4269 2017-06-27  Olivier Hainque  <hainque@adacore.com>
4271         * config/t-vxworks7: New file.
4272         * config.host (*-*-vxworks7): Use it.
4274 2017-06-22  Matt Turner  <mattst88@gmail.com>
4276         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
4277         skylake case.
4279 2017-06-21  Richard Biener  <rguenther@suse.de>
4281         PR gcov-profile/81080
4282         * configure.ac: Add AC_SYS_LARGEFILE.
4283         * libgcov.h: Include auto-target.h before tsystem.h to pick
4284         up _FILE_OFFSET_BITS which might differ for multilibs.
4285         * config.in: Regenerate.
4286         * configure: Likewise.
4288 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
4290         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
4292 2017-06-09  Martin Liska  <mliska@suse.cz>
4294         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
4295         Reset __gcov_indirect_call_callee to NULL.
4297 2017-06-08  Olivier Hainque  <hainque@adacore.com>
4299         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
4300         the set of -I options, support for direct inclusions of net/uio.h
4301         by VxWorks header files via ioLib.h.
4303 2017-06-07  Tony Reix  <tony.reix@atos.net>
4304             Matthieu Sarter  <matthieu.sarter.external@atos.net>
4305             David Edelsohn  <dje.gcc@gmail.com>
4307         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
4308         unconditionally.
4309         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
4310         AIX 7.2 support.
4312 2017-06-02  Olivier Hainque  <hainque@adacore.com>
4314         * config/vxlib.c (__gthread_once): Add missing value to
4315         return statement.
4317 2017-05-30  Olivier Hainque  <hainque@adacore.com>
4319         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
4320         dollar sign before $(MULTIDIR).
4322 2017-05-26  Richard Henderson  <rth@redhat.com>
4324         PR libgcc/80037
4325         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
4327 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
4329         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
4330         _Unwind_SetIP available as functions for arm*-*-freebsd*.
4331         * config/arm/unwind-arm.c: Implement the above.
4333 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4335         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
4336         section for a non-executable stack.
4338 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
4340         PR target/80600
4341         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
4343 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
4345         * config.host: Add i386/t-msabi to i386/t-linux file list.
4346         * config/i386/i386-asm.h: New file.
4347         * config/i386/resms64.S: New file.
4348         * config/i386/resms64f.S: New file.
4349         * config/i386/resms64fx.S: New file.
4350         * config/i386/resms64x.S: New file.
4351         * config/i386/savms64.S: New file.
4352         * config/i386/savms64f.S: New file.
4353         * config/i386/t-msabi: New file.
4355 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
4357         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
4358         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
4360 2017-05-05  Joshua Conner  <joshconner@google.com>
4362         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
4363         pc-relative indirect handling for fuchsia.
4364         * config/t-slibgcc-fuchsia: New file.
4365         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
4366         x86_64-*-fuchsia*): Add definitions.
4368 2017-04-19  Martin Liska  <mliska@suse.cz>
4370         PR gcov-profile/80435
4371         * Makefile.in: Install gcov.h.
4372         * gcov.h: New file.
4373         * libgcov.h: Use the header and make __gcov_flush publicly
4374         visible.
4376 2017-04-18  Martin Liska  <mliska@suse.cz>
4378         PR gcov-profile/78783
4379         * libgcov-driver.c (gcov_get_filename): New function.
4381 2017-04-07  Jeff Law  <law@redhat.com>
4383         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
4384         target makefile fragment.
4385         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
4387 2017-04-07  Alan Modra  <amodra@gmail.com>
4389         PR target/45053
4390         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
4392 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
4394         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
4396 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
4398         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
4400 2017-03-10  John Marino  <gnugcc@marino.st>
4402         * config/aarch64/freebsd-unwind.h: New file.
4403         * config.host: Add aarch64-*-freebsd unwinder.
4405 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
4407         * config/rs6000/crtrestvr.s: Use .machine altivec.
4408         * config/rs6000/crtsavevr.s: Ditto.
4410 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
4412         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
4413         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
4414         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
4415         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
4416         * configure: Regenerate.
4417         * config.in: Regenerate.
4419 2017-03-02  Jonathan Yong <10walls@gmail.com>
4421         * config/i386/gthr-win32.h: Define NOGDI before
4422         windows.h include to prevent w32api CC_NONE macro
4423         clash with libgfortran.
4425 2017-03-02  Jonathan Yong <10walls@gmail.com>
4427         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
4429 2017-02-16  Andrew Pinski  <apinski@cavium.com>
4431         * config/aarch64/value-unwind.h: New file.
4432         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
4433         to tm_file.
4435 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
4437         * config.host: Add RISC-V tuples.
4438         * config/riscv/atomic.c: New file.
4439         * config/riscv/crti.S: Likewise.
4440         * config/riscv/crtn.S: Likewise.
4441         * config/riscv/div.S: Likewise.
4442         * config/riscv/linux-unwind.h: Likewise.
4443         * config/riscv/muldi3.S: Likewise.
4444         * config/riscv/multi3.S: Likewise.
4445         * config/riscv/save-restore.S: Likewise.
4446         * config/riscv/sfp-machine.h: Likewise.
4447         * config/riscv/t-elf: Likewise.
4448         * config/riscv/t-elf32: Likewise.
4449         * config/riscv/t-elf64: Likewise.
4450         * config/riscv/t-softfp32: Likewise.
4451         * config/riscv/t-softfp64: Likewise.
4453 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
4455         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4456         /* FALLTHRU */ comments.
4458 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
4460         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
4462 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
4464         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
4465         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
4466         DW_CFA_GNU_window_save for AArch64 and LP64.
4468 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
4470         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
4472 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
4474         * config/aarch64/aarch64-unwind.h: New file.
4475         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
4476         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
4477         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
4478         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
4479         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
4480         (aarch64_post_extract_frame_addr): New function.
4481         (aarch64_post_frob_eh_handler_addr): New function.
4482         (aarch64_frob_update_context): New function.
4483         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
4484         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
4485         aarch64*-*-freebsd*):
4486         Initialize md_unwind_header to include aarch64-unwind.h.
4487         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
4488         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
4489         __aarch64__.
4490         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
4491         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
4492         (uw_frob_return_addr): New function.
4493         (uw_install_context): Use uw_frob_return_addr.
4495 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
4497         PR other/79046
4498         * configure.ac: Add GCC_BASE_VER.
4499         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
4500         version from BASE-VER file.
4501         * configure: Regenerated.
4503 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
4505         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
4506         libmul_f5.a): Filter archived prerequisites.
4508 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
4510         * config/i386/cpuinfo.h (processor_features): Add
4511         FEATURE_AVX512VPOPCNTDQ.
4512         * config/i386/cpuinfo.c (get_available_features): Habdle new
4513         feature.
4515 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
4517         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
4518         payload if [__mips_nan2008].
4520 2017-01-04  Alan Modra  <amodra@gmail.com>
4522         * Makefile.in (configure_deps): Update.
4523         * configure: Regenerate.
4525 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
4527         Update copyright years.
4529 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
4531         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
4532         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
4533         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
4535 2016-12-17  Matthias Klose  <doko@ubuntu.com>
4537         * config/arc/gmon: Remove empty directory.
4539 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
4541         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
4542         crtgend.
4543         (arc*-*-elf*): Likewise.
4544         * config/arc/t-arc: Remove old gmon lib targets.
4545         * config/arc/crtg.S: Remove.
4546         * config/arc/crtgend.S: Likewise.
4547         * config/arc/gmon/atomic.h: Likewise.
4548         * config/arc/gmon/auxreg.h: Likewise.
4549         * config/arc/gmon/dcache_linesz.S: Likewise.
4550         * config/arc/gmon/gmon.c: Likewise.
4551         * config/arc/gmon/machine-gmon.h: Likewise.
4552         * config/arc/gmon/mcount.c: Likewise.
4553         * config/arc/gmon/prof-freq-stub.S: Likewise.
4554         * config/arc/gmon/prof-freq.c: Likewise.
4555         * config/arc/gmon/profil.S: Likewise.
4556         * config/arc/gmon/sys/gmon.h: Likewise.
4557         * config/arc/gmon/sys/gmon_out.h: Likewise.
4558         * config/arc/t-arc-newlib: Likewise.
4559         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
4561 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
4563         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
4565 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
4567         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
4568         R16 instead of push + pop.
4569         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
4571 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
4573         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
4574         tmake_file.
4576 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
4578         * config.host (arc*-*-linux-uclibc*): Use default extra
4579         objects. Include linux-android header.
4580         * config/arc/crti.S (_init): Declare symbol as function.
4581         (_fini): Likewise.
4583 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
4585         PR fortran/78379
4586         * config/i386/cpuinfo.c:  Move denums for processor vendors,
4587         processor type, processor subtypes and declaration of
4588         struct __processor_model into
4589         * config/i386/cpuinfo.h:  New header file.
4591 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
4592             Thomas Preud'homme  <thomas.preudhomme@arm.com>
4594         * config/arm/cmse_nonsecure_call.S: New.
4595         * config/arm/t-arm: Compile cmse_nonsecure_call.S
4597 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
4598             Thomas Preud'homme  <thomas.preudhomme@arm.com>
4600         * config/arm/t-arm (HAVE_CMSE): New.
4601         * config/arm/cmse.c: New.
4603 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
4605         PR gcc/74748
4606         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
4607         use generic linker version information on Blackfin.
4609         PR gcc/74748
4610         * libgcc/mkmap-symver.awk: add support for skip_underscore
4612 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
4613             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4615         PR target/67710
4616         *  config/t-darwin: Default builds to 10.5 codegen.
4618 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
4620         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
4621         (_FP_NANSIGN_H): Likewise.
4622         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
4623         (softfp_truncations): Add tfhf.
4624         (softfp_extras): Add required conversion functions.
4626 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
4627             Matthew Wahab  <matthew.wahab@arm.com>
4629         * config/arm/fp16.c (binary64): New.
4630         (__gnu_d2h_internal): New.
4631         (__gnu_d2h_ieee): New.
4632         (__gnu_d2h_alternative): New.
4634 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
4635             Matthew Wahab  <matthew.wahab@arm.com>
4637         * config/arm/fp16.c (struct format): New.
4638         (binary32): New.
4639         (__gnu_float2h_internal): New.  Body moved from
4640         __gnu_f2h_internal and generalize.
4641         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
4642         Call it with binary32.
4644 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
4646         * soft-fp/extendhftf2.c: Update from glibc.
4647         * soft-fp/fixhfti.c: Likewise.
4648         * soft-fp/fixunshfti.c: Likewise.
4649         * soft-fp/floattihf.c: Likewise.
4650         * soft-fp/floatuntihf.c: Likewise.
4651         * soft-fp/half.h: Likewise.
4652         * soft-fp/trunctfhf2.c: Likewise.
4654 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
4656         PR libgcc/77813
4657         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
4658         __TMC_END__ behind a passthrough asm.
4660 2016-11-18  Walter Lee  <walt@tilera.com>
4662         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
4664 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
4666         * config/i386/cpuinfo.c (processor_features): Add
4667         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
4669 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
4671         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
4672         (__ARC_NORM__): Use instead ARC_OPTFPE.
4673         * config/arc/fp-hack.h: Likewise.
4674         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
4675         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
4677 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
4679         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
4680         * config/nvptx/mgomp.c: New file.
4681         * config/nvptx/t-nvptx: Add mgomp.c
4683 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
4685         PR libgcc/68468
4686         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
4688 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
4690         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
4691         of checking for cpus.
4692         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
4693         (__modsi3, __clzsi2): Likewise.
4695 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4697         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
4698         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
4699         * config/i386/t-cpuinfo-static: New.
4701 2016-11-03  Martin Liska  <mliska@suse.cz>
4703         * libgcov-profiler.c (__gcov_time_profiler): Remove.
4704         (__gcov_time_profiler_atomic): Likewise.
4706 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
4708         PR libgcc/78067
4709         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
4710         count_leading_zeros.
4712 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
4714         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
4715         * libgcc2.c (__divmoddi4): New function.
4716         * libgcc2.h (__divmoddi4): Declare.
4717         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
4718         and __PFX_divmodti4.
4720 2016-10-24  Florian Weimer  <fweimer@redhat.com>
4722         PR libgcc/78064
4723         * unwind-c.c: Include auto-target.h.
4725 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
4727         * config/pa/pa64-hpux-lib.h: New file.
4728         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
4729         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
4730         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
4731         hppa*64*-*-hpux11*.
4733 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
4735         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4736         definition.
4737         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4738         definition.
4739         * config/xtensa/t-windowed (LIB2ADDEH): Use
4740         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
4741         or xtensa/t-linux.
4743 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
4745         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
4746         __ieee754_sqrt): New functions.
4747         (__divdf3): Add implementation with new FPU instructions under
4748         #if XCHAL_HAVE_DFP_DIV.
4749         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
4750         __ieee754_sqrtf): New functions.
4751         (__divsf3): Add implementation with new FPU instructions under
4752         #if XCHAL_HAVE_FP_DIV.
4753         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
4754         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
4756 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4758         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
4759         equivalent.
4760         * config/tilepro/atomic.c: Likewise and stop casting model to
4761         enum memmodel.
4763 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
4765         PR target/77586
4766         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
4767         soft-fp.
4769 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
4771         * config.host: Add support for aarch64-*-freebsd*.
4773 2016-10-05  Andreas Schwab  <schwab@suse.de>
4775         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
4776         (.section .init_array): Don't call __do_jv_register_classes.
4777         (.section .init): Likewise.
4779 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
4781         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
4782         (__JCR_LIST__): Remove.
4783         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
4784         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
4785         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
4786         * config/ia64/crtend.S (__JCR_END__): Remove.
4787         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
4788         conditionals.
4789         (__JCR_LIST__, __JCR_END__): Remove.
4790         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
4791         (__do_global_ctors_1): Likewise.
4793 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
4795         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
4796         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
4798 2016-09-27  Martin Liska  <mliska@suse.cz>
4800         PR gcov-profile/7970
4801         PR gcov-profile/16855
4802         PR gcov-profile/44779
4803         * libgcov-driver.c (__gcov_init): Do not register a atexit
4804         handler.
4805         (__gcov_exit): Rename from gcov_exit.
4806         * libgcov.h (__gcov_exit): Declare.
4808 2016-09-27  Martin Liska  <mliska@suse.cz>
4810         PR bootstrap/77749
4811         * Makefile.in: Remove _gcov_merge_delta.
4812         * libgcov-merge.c (void __gcov_merge_delta): Remove.
4813         * libgcov-util.c (__gcov_delta_counter_op): Remove.
4814         * libgcov.h: Remove declaration of __gcov_merge_delta.
4816 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
4818         * configure.ac: Do not create links, only substitute the filenames.
4819         * configure: Regenerate.
4820         * Makefile.in: Assign the substitution results to variables.
4821         (LIBGCC_LINKS): Define.
4822         (enable-execute-stack.c): New rule.
4823         (unwind.h): Likewise.
4824         (md-unwind-support.h): Likewise.
4825         (sfp-machine.h): Likewise.
4826         (gthr-default.h): Likewise.
4827         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
4828         unwind.h as prerequisite of install-unwind_h-forbuild.
4830 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
4832         PR libgcc/71744
4833         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
4834         is not the primary registry and atomics are available.
4835         (any_objects_registered): New variable.
4836         (__register_frame_info_bases, __register_frame_info_table_bases):
4837         Atomically store 1 to any_objects_registered after registering first
4838         unwind info.
4839         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
4841 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
4843         PR target/63250
4844         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
4845         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
4846         (HFtype): Likewise.
4847         (HCtype): Likewise.
4848         (__divhc3): Likewise.
4849         (__mulhc3): Likewise.
4850         * libgcc2.c: Support _mulhc3 and _divhc3.
4852 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
4854         PR libgcc/77519
4855         * libgcc2.c (NOTRUNC): Invert settings.
4857 2016-09-06  Martin Liska  <mliska@suse.cz>
4859         PR gcov-profile/77378
4860         PR gcov-profile/77466
4861         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
4862         conditionaly enable/disable *_atomic functions.
4864 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
4866         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
4867         where not already enabled.
4869 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4871         * config/mips/linux-unwind.h: Use sys/syscall.h.
4873 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
4875         PR libgcc/77265
4876         * soft-fp/adddf3.c: Update from glibc.
4877         * soft-fp/addsf3.c: Likewise.
4878         * soft-fp/addtf3.c: Likewise.
4879         * soft-fp/divdf3.c: Likewise.
4880         * soft-fp/divsf3.c: Likewise.
4881         * soft-fp/divtf3.c: Likewise.
4882         * soft-fp/double.h: Likewise.
4883         * soft-fp/eqdf2.c: Likewise.
4884         * soft-fp/eqsf2.c: Likewise.
4885         * soft-fp/eqtf2.c: Likewise.
4886         * soft-fp/extenddftf2.c: Likewise.
4887         * soft-fp/extended.h: Likewise.
4888         * soft-fp/extendsfdf2.c: Likewise.
4889         * soft-fp/extendsftf2.c: Likewise.
4890         * soft-fp/extendxftf2.c: Likewise.
4891         * soft-fp/fixdfdi.c: Likewise.
4892         * soft-fp/fixdfsi.c: Likewise.
4893         * soft-fp/fixdfti.c: Likewise.
4894         * soft-fp/fixsfdi.c: Likewise.
4895         * soft-fp/fixsfsi.c: Likewise.
4896         * soft-fp/fixsfti.c: Likewise.
4897         * soft-fp/fixtfdi.c: Likewise.
4898         * soft-fp/fixtfsi.c: Likewise.
4899         * soft-fp/fixtfti.c: Likewise.
4900         * soft-fp/fixunsdfdi.c: Likewise.
4901         * soft-fp/fixunsdfsi.c: Likewise.
4902         * soft-fp/fixunsdfti.c: Likewise.
4903         * soft-fp/fixunssfdi.c: Likewise.
4904         * soft-fp/fixunssfsi.c: Likewise.
4905         * soft-fp/fixunssfti.c: Likewise.
4906         * soft-fp/fixunstfdi.c: Likewise.
4907         * soft-fp/fixunstfsi.c: Likewise.
4908         * soft-fp/fixunstfti.c: Likewise.
4909         * soft-fp/floatdidf.c: Likewise.
4910         * soft-fp/floatdisf.c: Likewise.
4911         * soft-fp/floatditf.c: Likewise.
4912         * soft-fp/floatsidf.c: Likewise.
4913         * soft-fp/floatsisf.c: Likewise.
4914         * soft-fp/floatsitf.c: Likewise.
4915         * soft-fp/floattidf.c: Likewise.
4916         * soft-fp/floattisf.c: Likewise.
4917         * soft-fp/floattitf.c: Likewise.
4918         * soft-fp/floatundidf.c: Likewise.
4919         * soft-fp/floatundisf.c: Likewise.
4920         * soft-fp/floatunditf.c: Likewise.
4921         * soft-fp/floatunsidf.c: Likewise.
4922         * soft-fp/floatunsisf.c: Likewise.
4923         * soft-fp/floatunsitf.c: Likewise.
4924         * soft-fp/floatuntidf.c: Likewise.
4925         * soft-fp/floatuntisf.c: Likewise.
4926         * soft-fp/floatuntitf.c: Likewise.
4927         * soft-fp/gedf2.c: Likewise.
4928         * soft-fp/gesf2.c: Likewise.
4929         * soft-fp/getf2.c: Likewise.
4930         * soft-fp/ledf2.c: Likewise.
4931         * soft-fp/lesf2.c: Likewise.
4932         * soft-fp/letf2.c: Likewise.
4933         * soft-fp/muldf3.c: Likewise.
4934         * soft-fp/mulsf3.c: Likewise.
4935         * soft-fp/multf3.c: Likewise.
4936         * soft-fp/negdf2.c: Likewise.
4937         * soft-fp/negsf2.c: Likewise.
4938         * soft-fp/negtf2.c: Likewise.
4939         * soft-fp/op-1.h: Likewise.
4940         * soft-fp/op-2.h: Likewise.
4941         * soft-fp/op-4.h: Likewise.
4942         * soft-fp/op-8.h: Likewise.
4943         * soft-fp/op-common.h: Likewise.
4944         * soft-fp/quad.h: Likewise.
4945         * soft-fp/single.h: Likewise.
4946         * soft-fp/soft-fp.h: Likewise.
4947         * soft-fp/subdf3.c: Likewise.
4948         * soft-fp/subsf3.c: Likewise.
4949         * soft-fp/subtf3.c: Likewise.
4950         * soft-fp/truncdfsf2.c: Likewise.
4951         * soft-fp/trunctfdf2.c: Likewise.
4952         * soft-fp/trunctfsf2.c: Likewise.
4953         * soft-fp/trunctfxf2.c: Likewise.
4954         * soft-fp/unorddf2.c: Likewise.
4955         * soft-fp/unordsf2.c: Likewise.
4956         * soft-fp/unordtf2.c: Likewise.
4958 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
4960         PR gcov-profile/67097
4961         * libgcov-util.c (gcov_profile_merge): Skip missing files.
4963 2016-08-10  Martin Liska  <mliska@suse.cz>
4965         PR gcov-profile/58306
4966         * Makefile.in: New functions (modules) are added.
4967         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
4968         function.
4969         (__gcov_pow2_profiler_atomic): New function.
4970         (__gcov_one_value_profiler_body): New argument is instroduced.
4971         (__gcov_one_value_profiler): Call with the new argument.
4972         (__gcov_one_value_profiler_atomic): Likewise.
4973         (__gcov_indirect_call_profiler_v2): Likewise.
4974         (__gcov_time_profiler_atomic): New function.
4975         (__gcov_average_profiler_atomic): Likewise.
4976         (__gcov_ior_profiler_atomic): Likewise.
4977         * libgcov.h: Declare the aforementioned functions.
4979 2016-08-09  Martin Liska  <mliska@suse.cz>
4981         * libgcov-util.c: Fix typo and GNU coding style.
4983 2016-08-09  Martin Liska  <mliska@suse.cz>
4985         * Makefile.in: Remove __gcov_indirect_call_profiler.
4986         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
4987         function.
4988         * libgcov.h: And the declaration of the function.
4990 2016-08-09  Martin Liska  <mliska@suse.cz>
4992         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
4993         power of two.
4995 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
4997         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
4998         * config/rs6000/_mulkc3.c: Likewise.
5000 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
5002         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
5003         zero_reg as previous call to __umulhisi3 already cleared it.
5005 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
5007         PR target/59833
5008         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
5010 2016-07-19  Nick Clifton  <nickc@redhat.com>
5012         * config.host (m32r): Add m32r/t-m32r to tmake_file.
5013         Add crtinit.o and crtfini.o to extra_parts.
5015 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
5017         * config/rs6000/_divkc3.c: New.
5018         * config/rs6000/_mulkc3.c: New.
5019         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
5020         and _divkc3.
5021         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
5022         fp128_ppc_funcs.
5024 2016-07-11  Hale Wang  <hale.wang@arm.com>
5025             Andre Vieira  <andre.simoesdiasvieira@arm.com>
5027         * config/arm/lib1funcs.S: Add new wrapper.
5029 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5031         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
5033 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5035         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
5036         and ARMv5t* rather than for a fixed list of architectures.
5038 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5040         * config/arm/bpabi-v6m.S: Clarify what architectures is the
5041         implementation suitable for.
5042         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
5043         for all Thumb-1 only targets.
5044         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
5045         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
5046         __ARM_ARCH_6M__.
5047         (EQUIV): Likewise.
5048         (ARM_FUNC_ALIAS): Likewise.
5049         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
5050         version.
5051         (modsi3): Likewise.
5052         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
5053         (clzdi2): Likewise.
5054         (ctzsi2): Likewise.
5055         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
5056         __ARM_ARCH_6M__ in guard for checking whether it is defined.
5057         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
5058         __ARM_ARCH_6M__ and add comment to indicate the connection between
5059         this condition and the one in gcc/config/arm/elf.h.
5060         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
5061         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
5062         * config/arm/t-softfp: Likewise.
5064 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5066         * libgcc2.c (SYMBOL__MAIN): Remove checks for
5067         CTOR_LISTS_DEFINED_EXTERNALLY.
5069 2016-06-28  Walter Lee  <walt@tilera.com>
5071         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
5072         asm/unistd.h.
5073         (SPR_CMPEXCH_VALUE): Define for tilegx.
5074         (__NR_FAST_cmpxchg): Define for tilepro.
5075         (__NR_FAST_atomic_update): Define for tilepro.
5076         (__NR_FAST_cmpxchg64): Define for tilepro.
5078 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
5080         * config.host: Add suport for arm*-*-phoenix* targets.
5082 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5084         * config.host: Remove support for mep-*.
5085         * config/mep/lib1funcs.S: Remove.
5086         * config/mep/lib2funcs.c: Remove.
5087         * config/mep/t-mep: Remove.
5088         * config/mep/tramp.c: Remove.
5090 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5092         * config.host: Remove support for avr-rtems.
5093         * config/avr/t-rtems: Remove.
5095 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5097         * config.host: Remove m32r-rtems support.
5099 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5101         * config.host: Remove h8300-rtems support.
5103 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5105         * config.host: Remove support for knetbsd.
5107 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5109         * config.host: Remove support for openbsd 2 and 3.
5111 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5113         * config.host: Remove interix support.
5114         * config/i386/t-interix: Remove.
5116 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
5118         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
5119         least-significant bit in function pointer for fixup.
5121 2016-06-05  Aaron Conole  <aconole@redhat.com>
5122             Nathan Sidwell  <nathan@acm.org>
5124         PR libgcc/71400
5125         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
5126         (get_gcov_error_file): Check __gcov_error_file before trying to
5127         initialize it.
5128         (gcov_error): Always use get_gcov_error_file.
5130 2016-06-02  Aaron Conole  <aconole@redhat.com>
5132         * libgcov-driver-system.c (__gcov_error_file): New.
5133         (get_gcov_error_file): New.
5134         (gcov_error): Use and set __gcov_error_file.
5135         (gcov_error_exit): New.
5136         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
5138 2016-05-26  Nathan Sidwell  <nathan@acm.org>
5140         * config/nvptx/free.asm: Delete.
5141         * config/nvptx/malloc.asm: Delete.
5142         * config/nvptx/realloc.c: Delete.
5143         * t-nvptx: Update.
5145 2016-05-25  Nathan Sidwell  <nathan@acm.org>
5147         * config/nvptx/crt0.s: Delete.
5148         * config/nvptx/crt0.c: New.
5149         * t-nvptx: Update.
5151 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
5153         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
5154         dw2/seh configuration.
5155         [x86_64-*-mingw*]: Likewise.
5157 2016-05-10  Joel Sherrill <joel@rtems.org>
5159         PR libgcc/70720
5160         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
5161         targets so the same extra_parts are built.  Also have tmake_file add
5162         on to its value rather than override.
5164 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
5166         * config.host: Remove SH5 support.
5167         * configure: Likewise.
5169 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
5171         * config/sh/crt1.S: Remove SH5 support.
5172         * config/sh/crti.S: Likewise.
5173         * config/sh/crtn.S: Likewise.
5174         * config/sh/lib1funcs-4-300.S: Likewise.
5175         * config/sh/lib1funcs-Os-4-200.S: Likewise.
5176         * config/sh/lib1funcs.S: Likewise.
5177         * config/sh/linux-unwind.h: Likewise.
5178         * config/sh/t-sh64: Delete.
5180 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
5182         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
5184 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
5185             Joern Rennecke  <joern.rennecke@embecosm.com>
5187         * config/arc/crttls.S: New file.
5188         * config/arc/t-arc: New rule.
5189         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
5191 2016-04-25  Nick Clifton  <nickc@redhat.com>
5193         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
5194         (__mspabi_cmpd): Likewise.
5195         * config/msp430/floathidf.c (__floathidf): Likewise.
5196         * config/msp430/floathisf.c (__floathisf): Likewise
5197         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
5198         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
5199         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
5200         second parameter.
5201         (__ashrsi3): Likewise.
5203 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
5205         * config/m68k/linux-atomic.c: Do not include unistd.h
5207 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
5209         * config/arm/ieee754-df.S: Fix typos in comments.
5211 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
5213         PR target/70381
5214         * configure.ac (powerpc*-*-linux*): Rework tests to build
5215         __float128 emulation routines to not depend on using #pragma GCC
5216         target to enable -mfloat128.
5217         * configure: Regnerate.
5219 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
5221         PR target/67172
5222         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
5223         __MINGW32__ is defined.
5225 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
5227         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
5229 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
5231         PR libgcc/70363
5232         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
5233         built with an assembler that does not support ISA 3.0
5234         instructions, rename __extendkftf2_sw to __extendkftf2.
5236 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5238         PR target/38239
5239         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
5240         call-clobbered registers.
5241         (internal_mcount): Remove __i386__ handling.
5243 2016-02-26  Joel Sherrill <joel@rtems.org>
5245         * config.host: Add x86_64-*-rtems*.
5247 2016-02-26  Joel Sherrill <joel@rtems.org>
5249         * libgcc/config.host: Add aarch64-*-rtems*.
5251 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5252             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
5254         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
5255         union of u64 and double.
5256         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
5257         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
5258         value.
5259         (FP_ROUNDMODE): Update the usage of _fpscr.
5261 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
5263         PR driver/68463
5264         * Makefile.in (crtoffloadtable$(objext)): New rule.
5265         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
5266         enable_offload_targets is not empty.
5267         * configure: Regenerate.
5268         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
5269         crtoffloadtable.
5271 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
5273         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
5274         .literal_position before the function.
5275         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
5276         Likewise.
5278 2016-02-15  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5280         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
5281         * config/s390/morestack.S: New file.
5282         * config/s390/t-stack-s390: New file.
5283         * generic-morestack.c (__splitstack_find): Add s390-specific code.
5285 2016-02-12  Walter Lee  <walt@tilera.com>
5287         * config.host (tilegx*-*-linux*): remove ti from
5288         softfp_int_modes for 32-bit configs.
5290 2016-02-10  Ian Lance Taylor  <iant@google.com>
5292         PR go/68562
5293         * config/i386/morestack.S (__stack_split_initialize): Align
5294         stack.
5296 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
5298         PR bootstrap/69611
5299         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
5300         __FLOAT128__ to compile only for __float128 capable targets.
5302 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
5304         PR target/69444
5305         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
5306         instead of ___NO_FPRS__.
5308 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
5309             Steven Munroe  <munroesj@linux.vnet.ibm.com>
5310             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
5312         * config/rs6000/float128-sed: New files to convert TF names to KF
5313         names for PowerPC IEEE 128-bit floating point support.
5314         * config/rs6000/float128-sed-hw: Likewise.
5316         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5317         floating point hardware support.
5319         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5320         128-bit floating point software emulation or use ISA 3.0 hardware
5321         support if it is available.
5323         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5324         floating point.
5326         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
5327         floating point to IBM extended double.
5329         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
5330         double to IEEE 128-bit floating point.
5332         * config/rs6000/t-float128: New Makefile fragments to enable
5333         building __float128 emulation support.
5334         * config/rs6000/t-float128-hw: Likewise.
5336         * config/rs6000/sfp-exceptions.c: New file to provide exception
5337         support for IEEE 128-bit floating point.
5339         * config/rs6000/floattikf.c: New files for converting between IEEE
5340         128-bit floating point and signed/unsigned 128-bit integers.
5341         * config/rs6000/fixunskfti.c: Likewise.
5342         * config/rs6000/fixkfti.c: Likewise.
5343         * config/rs6000/floatuntikf.c: Likewise.
5345         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5346         when building on 64-bit systems, or when VSX is enabled.
5347         (_FP_W_TYPE): Likewise.
5348         (_FP_WS_TYPE): Likewise.
5349         (_FP_I_TYPE): Likewise.
5350         (TItype): Define on 64-bit systems.
5351         (UTItype): Likewise.
5352         (TI_BITS): Likewise.
5353         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5354         (_FP_MUL_MEAT_Q): Likewise.
5355         (_FP_DIV_MEAT_D): Likewise.
5356         (_FP_DIV_MEAT_Q): Likewise.
5357         (_FP_NANFRAC_D): Likewise.
5358         (_FP_NANFRAC_Q): Likewise.
5359         (ISA_BIT): Add exception support if we are being compiled on a
5360         machine with hardware floating point support to build the IEEE
5361         128-bit emulation functions.
5362         (FP_EX_INVALID): Likewise.
5363         (FP_EX_OVERFLOW): Likewise.
5364         (FP_EX_UNDERFLOW): Likewise.
5365         (FP_EX_DIVZERO): Likewise.
5366         (FP_EX_INEXACT): Likewise.
5367         (FP_EX_ALL): Likewise.
5368         (__sfp_handle_exceptions): Likewise.
5369         (FP_HANDLE_EXCEPTIONS): Likewise.
5370         (FP_RND_NEAREST): Likewise.
5371         (FP_RND_ZERO): Likewise.
5372         (FP_RND_PINF): Likewise.
5373         (FP_RND_MINF): Likewise.
5374         (FP_RND_MASK): Likewise.
5375         (_FP_DECL_EX): Likewise.
5376         (FP_INIT_ROUNDMODE): Likewise.
5377         (FP_ROUNDMODE): Likewise.
5379         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5380         VSX code, enable IEEE 128-bit floating point.  If the compiler can
5381         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
5382         floating point hardware instructions and it supports declaring
5383         functions with the ifunc attribute, enable ifunc functions to
5384         switch between software and hardware support.
5385         * configure.ac (powerpc*-*-linux*): Likewise.
5386         * configure: Regenerate.
5388 2016-01-15  Nick Clifton  <nickc@redhat.com>
5390         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
5391         dependency as the source file to be compiled.
5392         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
5393         (lib2hw_mul_f5.o): Likewise.
5395 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
5397         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
5398         * libgcc/config/rs6000/fixkfti.c: Likewise.
5399         * libgcc/config/rs6000/fixunskfti.c: Likewise.
5400         * libgcc/config/rs6000/float128-hw.c: Likewise.
5401         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
5402         * libgcc/config/rs6000/float128-sed: Likewise.
5403         * libgcc/config/rs6000/floattikf.c: Likewise.
5404         * libgcc/config/rs6000/floatuntikf.c: Likewise.
5405         * libgcc/config/rs6000/quad-float128.h: Likewise.
5406         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
5407         * libgcc/config/rs6000/sfp-machine.h: Likewise.
5408         * libgcc/config/rs6000/t-float128: Likewise.
5409         * libgcc/config/rs6000/t-float128-hw: Likewise.
5410         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
5411         * libgcc/config.host: Likewise.
5412         * libgcc/configure: Likewise.
5413         * libgcc/configure.ac: Likewise.
5415 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
5416             Steven Munroe  <munroesj@linux.vnet.ibm.com>
5417             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
5419         * config/rs6000/sfp-exceptions.c: New file to provide exception
5420         support for IEEE 128-bit floating point.
5422         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5423         floating point hardware support.
5425         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
5426         point conversions.
5427         * config/rs6000/fixunskfti.c: Likewise.
5428         * config/rs6000/fixkfti.c: Likewise.
5429         * config/rs6000/floatuntikf.c: Likewise.
5430         * config/rs6000/extendkftf2-sw.c: Likewise.
5431         * config/rs6000/trunctfkf2-sw.c: Likewise.
5433         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5434         128-bit floating point software emulation or use ISA 3.0 hardware
5435         support if it is available.
5437         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5438         floating point.
5440         * config/rs6000/t-float128: New Makefile fragments to enable
5441         building __float128 emulation support.
5442         * config/rs6000/t-float128-hw: Likewise.
5444         * config/rs6000/float128-sed: New file to convert TF names to KF
5445         names for PowerPC IEEE 128-bit floating point support.
5447         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5448         when building on 64-bit systems, or when VSX is enabled.
5449         (_FP_W_TYPE): Likewise.
5450         (_FP_WS_TYPE): Likewise.
5451         (_FP_I_TYPE): Likewise.
5452         (TItype): Define on 64-bit systems.
5453         (UTItype): Likewise.
5454         (TI_BITS): Likewise.
5455         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5456         (_FP_MUL_MEAT_Q): Likewise.
5457         (_FP_DIV_MEAT_D): Likewise.
5458         (_FP_DIV_MEAT_Q): Likewise.
5459         (_FP_NANFRAC_D): Likewise.
5460         (_FP_NANFRAC_Q): Likewise.
5461         (ISA_BIT): Add exception support if we are being compiled on a
5462         machine with hardware floating point support to build the IEEE
5463         128-bit emulation functions.
5464         (FP_EX_INVALID): Likewise.
5465         (FP_EX_OVERFLOW): Likewise.
5466         (FP_EX_UNDERFLOW): Likewise.
5467         (FP_EX_DIVZERO): Likewise.
5468         (FP_EX_INEXACT): Likewise.
5469         (FP_EX_ALL): Likewise.
5470         (__sfp_handle_exceptions): Likewise.
5471         (FP_HANDLE_EXCEPTIONS): Likewise.
5472         (FP_RND_NEAREST): Likewise.
5473         (FP_RND_ZERO): Likewise.
5474         (FP_RND_PINF): Likewise.
5475         (FP_RND_MINF): Likewise.
5476         (FP_RND_MASK): Likewise.
5477         (_FP_DECL_EX): Likewise.
5478         (FP_INIT_ROUNDMODE): Likewise.
5479         (FP_ROUNDMODE): Likewise.
5481         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
5482         compiler can do __float128.
5483         * configure: Regenerate.
5485         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5486         VSX code, enable IEEE 128-bit floating point.
5488 2016-01-05  Olivier Hainque  <hainque@adacore.com>
5490         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
5491         specificities.
5493 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
5495         Update copyright years.
5497 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
5499         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
5500         soft-fp targets.
5502 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
5504         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
5505         instead of abort to avoid dependency on stdlib.h.
5507 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
5509         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
5510         to initialize call to __dl_fixup once.
5512 2015-12-04  Nick Clifton  <nickc@redhat.com>
5514         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
5515         Allow for the second argument being negative.
5516         * config.host (extra_parts): Define for MSP430.  Create separate
5517         libraries for each of the hardware multiply formats.
5518         * config/msp430/lib2hw_mul.S: Build only the multiply routines
5519         that are needed.
5520         * config/msp430/lib2mul.c: Likewise.
5521         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
5522         Add rules to build hardware multiply libraries.
5523         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
5524         __mspabi_divul function.
5525         (__mspabi_divllu): New stub function.
5527 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
5529         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
5530         fixup values if saved GOT address doesn't match runtime address.
5531         (fixup_branch_offset): Reorder list.
5533 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5535         * Makefile.in (VTV_CFLAGS): New variable.
5536         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
5537         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
5538         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5539         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
5540         to extra_parts if $enable_vtable_verify = yes.
5542 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5544         PR target/68059
5545         * config/arm/linux-atomic-64bit.c (__write): Rename to...
5546         (write): ...this and fix the return type.
5548 2015-11-19  DJ Delorie  <dj@redhat.com>
5550         * config/msp430/lib2hw_mul.S: Fix alignment.
5552 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
5554         * config/nvptx/reduction.c: New.
5555         * config/nvptx/t-nvptx (LIB2ADD): Add it.
5557 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
5559         * config/rs6000/on_exit.c: New file.
5560         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
5561         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
5563 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
5565         * config/arc/dp-hack.h: Add support for ARCHS.
5566         * config/arc/ieee-754/divdf3.S: Likewise.
5567         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5568         * config/arc/ieee-754/muldf3.S: Likewise.
5569         * config/arc/ieee-754/mulsf3.S: Likewise
5570         * config/arc/lib1funcs.S: Likewise
5571         * config/arc/gmon/dcache_linesz.S: Don't read the build register
5572         for ARCv2 cores.
5573         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
5574         for ARCv2 cores.
5575         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
5576         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
5577         cores.
5579 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5581         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
5582         value.
5583         * config/ia64/crtend.S: Likewise.
5585 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5587         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
5588         __CHAR_BIT__ instead of BITS_PER_UNIT.
5589         * fixed-bit.h: Likewise.
5590         * fp-bit.h: Likewise.
5591         * libgcc2.c (__popcountSI2): Likewise.
5592         (__popcountDI2): Likewise.
5593         * libgcc2.h: Likewise.
5594         * libgcov.h: Likewise.
5596 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
5598         * config/rs6000/atexit.c: New file.
5599         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
5600         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
5601         * config/rs6000/cxa_finalize.c
5602         (catomic_compare_and_exchange_bool_acq): Negate return value.
5604 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
5606         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
5607         (processor_subtypes): Add znver1.
5608         (get_amd_cpu): Detect znver1.
5610 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
5612         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
5613         Include crtfastmath.o.
5615 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
5617         PR libgcc/66883
5618         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
5620 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
5622         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
5623         * config/rl78/divmodsi.S: Update return register to r8.
5624         * config/rl78/divmodhi.S: Update return register to r8,r9.
5625         Branch to main_loop_done_himode to pop registers before return.
5627 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
5629         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
5630         (__cpu_indicator_init): Fix model selection for AMD CPUs.
5632 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
5634         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
5636 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
5638         * config.host (xtensa*-*-uclinux*): New configuration.
5640 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
5642         * config/i386/cpuinfo.c (processor_features): Add
5643         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
5645 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
5647         * soft-fp/adddf3.c: Update from glibc.
5648         * soft-fp/addsf3.c: Likewise.
5649         * soft-fp/addtf3.c: Likewise.
5650         * soft-fp/divdf3.c: Likewise.
5651         * soft-fp/divsf3.c: Likewise.
5652         * soft-fp/divtf3.c: Likewise.
5653         * soft-fp/double.h: Likewise.
5654         * soft-fp/eqdf2.c: Likewise.
5655         * soft-fp/eqsf2.c: Likewise.
5656         * soft-fp/eqtf2.c: Likewise.
5657         * soft-fp/extenddftf2.c: Likewise.
5658         * soft-fp/extended.h: Likewise.
5659         * soft-fp/extendsfdf2.c: Likewise.
5660         * soft-fp/extendsftf2.c: Likewise.
5661         * soft-fp/extendxftf2.c: Likewise.
5662         * soft-fp/fixdfdi.c: Likewise.
5663         * soft-fp/fixdfsi.c: Likewise.
5664         * soft-fp/fixdfti.c: Likewise.
5665         * soft-fp/fixsfdi.c: Likewise.
5666         * soft-fp/fixsfsi.c: Likewise.
5667         * soft-fp/fixsfti.c: Likewise.
5668         * soft-fp/fixtfdi.c: Likewise.
5669         * soft-fp/fixtfsi.c: Likewise.
5670         * soft-fp/fixtfti.c: Likewise.
5671         * soft-fp/fixunsdfdi.c: Likewise.
5672         * soft-fp/fixunsdfsi.c: Likewise.
5673         * soft-fp/fixunsdfti.c: Likewise.
5674         * soft-fp/fixunssfdi.c: Likewise.
5675         * soft-fp/fixunssfsi.c: Likewise.
5676         * soft-fp/fixunssfti.c: Likewise.
5677         * soft-fp/fixunstfdi.c: Likewise.
5678         * soft-fp/fixunstfsi.c: Likewise.
5679         * soft-fp/fixunstfti.c: Likewise.
5680         * soft-fp/floatdidf.c: Likewise.
5681         * soft-fp/floatdisf.c: Likewise.
5682         * soft-fp/floatditf.c: Likewise.
5683         * soft-fp/floatsidf.c: Likewise.
5684         * soft-fp/floatsisf.c: Likewise.
5685         * soft-fp/floatsitf.c: Likewise.
5686         * soft-fp/floattidf.c: Likewise.
5687         * soft-fp/floattisf.c: Likewise.
5688         * soft-fp/floattitf.c: Likewise.
5689         * soft-fp/floatundidf.c: Likewise.
5690         * soft-fp/floatundisf.c: Likewise.
5691         * soft-fp/floatunditf.c: Likewise.
5692         * soft-fp/floatunsidf.c: Likewise.
5693         * soft-fp/floatunsisf.c: Likewise.
5694         * soft-fp/floatunsitf.c: Likewise.
5695         * soft-fp/floatuntidf.c: Likewise.
5696         * soft-fp/floatuntisf.c: Likewise.
5697         * soft-fp/floatuntitf.c: Likewise.
5698         * soft-fp/gedf2.c: Likewise.
5699         * soft-fp/gesf2.c: Likewise.
5700         * soft-fp/getf2.c: Likewise.
5701         * soft-fp/ledf2.c: Likewise.
5702         * soft-fp/lesf2.c: Likewise.
5703         * soft-fp/letf2.c: Likewise.
5704         * soft-fp/muldf3.c: Likewise.
5705         * soft-fp/mulsf3.c: Likewise.
5706         * soft-fp/multf3.c: Likewise.
5707         * soft-fp/negdf2.c: Likewise.
5708         * soft-fp/negsf2.c: Likewise.
5709         * soft-fp/negtf2.c: Likewise.
5710         * soft-fp/op-1.h: Likewise.
5711         * soft-fp/op-2.h: Likewise.
5712         * soft-fp/op-4.h: Likewise.
5713         * soft-fp/op-8.h: Likewise.
5714         * soft-fp/op-common.h: Likewise.
5715         * soft-fp/quad.h: Likewise.
5716         * soft-fp/single.h: Likewise.
5717         * soft-fp/soft-fp.h: Likewise.
5718         * soft-fp/subdf3.c: Likewise.
5719         * soft-fp/subsf3.c: Likewise.
5720         * soft-fp/subtf3.c: Likewise.
5721         * soft-fp/truncdfsf2.c: Likewise.
5722         * soft-fp/trunctfdf2.c: Likewise.
5723         * soft-fp/trunctfsf2.c: Likewise.
5724         * soft-fp/trunctfxf2.c: Likewise.
5725         * soft-fp/unorddf2.c: Likewise.
5726         * soft-fp/unordsf2.c: Likewise.
5727         * soft-fp/unordtf2.c: Likewise.
5729 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
5731         PR libgcc/67624
5732         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
5734 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5736         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5737         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
5738         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
5739         messages.
5740         (internal_mcount): Likewise.
5741         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
5742         crt_compile, add CRTSTUFF_T_CFLAGS_S.
5744 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5746         * configure.ac (libgcc_cv_solaris_crts): New test.
5747         * configure: Regenerate.
5748         * config.in: Regenerate.
5749         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
5750         * config/gmon-sol2.c: Rename to ...
5751         * config/sol2/gmon.c: ... this.
5752         Include auto-target.h.
5753         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
5754         * config/t-sol2: Rename to ...
5755         * config/sol2/t-sol2: ... this.
5756         (gmon.o): Reflect renaming.
5757         (crtp.o, crtpg.o): New rules.
5758         * config.host (*-*-solaris2*): Reflect renaming.
5759         Use system CRTs if present.
5760         Remove default CRT case.
5762 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
5764         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
5765         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
5766         __kernel_cmpxchg2.
5767         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
5768         (__sync_val_compare_and_swap_##WIDTH): Likewise.
5769         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
5770         (__sync_lock_test_and_set_##WIDTH): Likewise.
5771         (__sync_lock_release_##WIDTH): Likewise.
5772         (__sync_fetch_and_##OP##_4): Change result to match type of
5773         __kernel_cmpxchg.
5774         (__sync_##OP##_and_fetch_4): Likewise.
5775         (__sync_val_compare_and_swap_4): Likewise.
5776         (__sync_bool_compare_and_swap_4): likewise.
5777         (__sync_lock_test_and_set_4): Likewise.
5778         (__sync_lock_release_4): Likewise.
5779         (FETCH_AND_OP_2): Add long long variants.
5780         (OP_AND_FETCH_2): Likewise.
5781         (COMPARE_AND_SWAP_2 ): Likewise.
5782         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5783         (SYNC_LOCK_RELEASE_2): Likewise.
5784         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
5786 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
5788         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
5789         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
5790         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
5791         (get_available_features): Habdle new features.
5793 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
5795         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
5796         memory layout. Deal correctly with BSS region larger than 32K.
5797         Handle a watchdog reset like a power-on reset. Clean up unused
5798         code.
5800 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
5801             David Edelsohn  <dje.gcc@gmail.com>
5803         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
5804         * config/rs6000/crtdbase.S: New file.
5805         * config/rs6000/t-aix-cxa: Build crtdbase.o.
5807 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
5809         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
5810         Add support for call0 ABI.
5812 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
5814         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
5816 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
5818         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
5819         (__GTHREAD_HAS_COND): Likewise.
5820         (__gthread_t): Likewise.
5821         (__gthread_cond_t): Likewise.
5822         (__gthread_time_t): Likewise.
5823         (__GTHREAD_MUTEX_INIT): Likewise.
5824         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
5825         (__GTHREAD_COND_INIT): Likewise.
5826         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
5827         (__GTHREAD_TIME_INIT): Likewise.
5828         (__gthread_create): Likewise.
5829         (__gthread_join): Likewise.
5830         (__gthread_detach): Likewise.
5831         (__gthread_equal): Likewise.
5832         (__gthread_self): Likewise.
5833         (__gthread_yield): Likewise.
5834         (__gthread_cond_broadcast): Likewise.
5835         (__gthread_cond_signal): Likewise.
5836         (__gthread_cond_wait): Likewise.
5837         (__gthread_cond_timedwait): Likewise.
5838         (__gthread_cond_wait_recursive): Likewise.
5839         (__gthread_cond_destroy): Likewise.
5840         (rtems_gxx_once): Delete.
5841         (rtems_gxx_key_create): Likewise.
5842         (rtems_gxx_key_delete): Likewise.
5843         (rtems_gxx_getspecific): Likewise.
5844         (rtems_gxx_setspecific): Likewise.
5845         (rtems_gxx_mutex_init): Likewise.
5846         (rtems_gxx_mutex_destroy): Likewise.
5847         (rtems_gxx_mutex_lock): Likewise.
5848         (rtems_gxx_mutex_trylock): Likewise.
5849         (rtems_gxx_mutex_unlock): Likewise.
5850         (rtems_gxx_recursive_mutex_init): Likewise.
5851         (rtems_gxx_recursive_mutex_lock): Likewise.
5852         (rtems_gxx_recursive_mutex_trylock): Likewise.
5853         (rtems_gxx_recursive_mutex_unlock): Likewise.
5854         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
5855         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
5856         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
5857         (__gthread_once): Likewise.
5858         (__gthread_key_create): Likewise.
5859         (__gthread_key_delete): Likewise.
5860         (__gthread_getspecific): Likewise.
5861         (__gthread_setspecific): Likewise.
5862         (__gthread_key_t): Use <pthread.h> type.
5863         (__gthread_once_t): Likewise
5864         (__gthread_mutex_t): Use <sys/lock.h> type.
5865         (__gthread_recursive_mutex_t): Likewise
5866         (__gthread_mutex_lock): Use <sys/lock.h> function.
5867         (__gthread_mutex_trylock): Likewise.
5868         (__gthread_mutex_timedlock): Likewise.
5869         (__gthread_mutex_unlock): Likewise.
5870         (__gthread_mutex_destroy): Likewise.
5871         (__gthread_recursive_mutex_lock): Likewise.
5872         (__gthread_recursive_mutex_trylock): Likewise.
5873         (__gthread_recursive_mutex_timedlock): Likewise.
5874         (__gthread_recursive_mutex_unlock): Likewise.
5875         (__gthread_recursive_mutex_destroy): Likewise.
5877 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
5879         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
5880         context->sp instead of context->cfa.
5882 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
5884         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
5885         with unwind-dw2-fde-dip.
5887 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
5889         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
5890         CALL12 followed by series of ENTRY to spill windowed registers.
5891         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
5892         instead of making linux spill syscall.
5894 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
5896         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
5897         (get_intel_cpu): Likewise.
5899 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
5901         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
5902         (get_intel_cpu): Add Knights Landing support.
5904 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
5906         PR target/66954
5907         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
5908         (get_available_features): Handle FEATURE_PCLMUL.
5910 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
5912         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
5913         Broadwell.
5915 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
5917         PR target/66954
5918         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
5919         (get_available_features): Handle FEATURE_AES.
5921 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
5923         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
5924         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
5926 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
5928         * offloadstuff.c: Constify host data.
5930 2015-07-17  Jan Beulich  <jbeulich@suse.com>
5932         * config/t-softfp: Split up "else ifneq".
5934 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
5935             Cesar Philippidis  <cesar@codesourcery.com>
5936             Chung-Lin Tang  <cltang@codesourcery.com>
5938         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
5939         for __nios2_arch__ level.
5941 2015-07-13  John Marino  <gnugcc@marino.st>
5943         * config/i386/t-dragonfly: New.
5945 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
5947         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
5948         better match light-weight syscall argument order.
5949         (__kernel_cmpxchg2): Likewise.
5950         Adjust callers.
5952 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
5954         * config.host: Support i[34567]86-*-elfiamcu target.
5955         * config/t-softfp-sfdftf: New file.
5956         * config/i386/32/t-iamcu: Likewise.
5957         * configure: Regenerated.
5959 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
5961         libgcc/config/arm/
5962         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
5964 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
5966         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
5968 2015-05-27  John Marino  <gnugcc@marino.st>
5970         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
5971         md_unwind_header
5972         * config/i386/freebsd-unwind.h: New.
5974 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
5976         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
5977         i386/t-crtfm to tmake_file.
5978         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
5979         (set_fast_math): Use set_fast_math_sse for SSE targets.
5980         * config/i386/t-crtfm: Remove.
5982 2015-05-21  Alan Modra  <amodra@gmail.com>
5984         PR libgcc/66225
5985         * config/rs6000/morestack.S: Remove ".abiversion 1".
5987 2015-05-20  Alan Modra  <amodra@gmail.com>
5989         * config/rs6000/morestack.S: New.
5990         * config/rs6000/t-stack-rs6000: New.
5991         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
5992         to tmake_file.
5993         * generic-morestack.c: Don't build for powerpc 32-bit.
5995 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
5997         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
5998         Remove useless endif/ifneq ($(enable_shared),yes) pair.
6000 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
6002         * config.host: FT32 target added.
6003         * config/ft32/*: New files for FT32 target.
6005 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
6007         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
6008         New macros.
6009         * config/arm/ieee754-df.S: Add CFI directives.
6010         * config/arm/ieee754-sf.S: Add CFI directives.
6012 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
6014         * configure.ac: Include config/sjlj.m4.
6015         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
6016         * config.in: Regenerate.
6017         * configure: Likewise.
6018         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
6020 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
6022         * libgcov-util.c: Add space between string literal and macro name.
6024 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
6025             Chris Jones  <chrisj@nvidia.com>
6026             Joshua Conner  <jconner@nvidia.com>
6028         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
6029         (arm*-*-uclinux*): Likewise.
6030         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
6031         * config/arm/crtfastmath.c: New file.
6033 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
6035         * Makefile.in (real_host_noncanonical): New variable.
6036         (libsubdir): Use it.
6037         * configure.ac (real_host_noncanonical): Compute.  Remove special
6038         case for intelmicemul.
6039         * configure: Regenerate.
6041 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
6043         * config/frv/elf-lib.h: New file.
6044         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
6045         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
6046         to tm_file.
6048 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
6050         * config/frv/frvbengin.c: Do not include defaults.h
6051         * config/frv/frvend.c: Ditto.
6053 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
6055         * config.host: Add h8300-*-linux
6056         * config/h8300/t-linux: New file.
6057         * config/h8300/lib1funs.s: Change symbol prefix.
6058         * config/h8300/sfp-machine.h: 64bit double support.
6060 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
6061             Szabolcs Nagy  <szabolcs.nagy@arm.com>
6063         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
6064         Linux if target provides dl_iterate_phdr.
6066 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
6068         PR target/65612
6069         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
6070         * config/i386/cpuinfo.c (__cpu_model): Initialize.
6071         (__cpu_indicator_init@GCC_4.8.0): New.
6072         (__cpu_model@GCC_4.8.0): Likewise.
6073         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
6074         -DUSE_ELF_SYMVER.
6076 2015-04-16  Nick Clifton  <nickc@redhat.com>
6078         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
6079         and __modhi3 functions.
6080         * config/rl78/divmodso.S: Add G14 and G13 versions of the
6081         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
6083 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
6085         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
6086         do-while loop as macro body to avoid warnings.
6088 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
6089             Iain Sandoe  <iain@codesourcery.com>
6091         PR target/65351
6092         * configure: Regenerate.
6094 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
6095             Iain Sandoe  <iain@codesourcery.com>
6097         PR target/65351
6098         * configure: Regenerate.
6100 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
6102         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
6104 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
6106         Implement call0 ABI for xtensa
6107         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6108         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
6109         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
6110         use ret in call0 ABI.
6111         * config/xtensa/t-windowed: New file.
6112         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
6113         * libgcc/configure: Regenerated.
6114         * libgcc/configure.ac: Check if xtensa target is configured for
6115         windowed ABI and thus needs to use custom unwind code.
6117 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
6119         PR libgcc/64885
6120         * gthr-single.h: Use __unused__ attribute instead of unused.
6121         * config/gthr-vxworks.h: Likewise.
6122         * config/i386/gthr-win32.h: Likewise.
6124 2015-02-27  Kai Tietz  <ktietz@redhat.com>
6126         PR target/65038
6127         * config.in: Regenerated.
6128         * configure: Likewise.
6129         * configure.ac (AC_HEADER_STDC): Added explicit.
6130         (AC_CHECK_HEADERS): Check for default headers  plus
6131         for ftw.h header.
6132         * libgcov-util.c (gcov_read_profile_dir): Disable use
6133         of ftw-function, if header is not found.
6134         (ftw_read_file): Likewise.
6136 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
6138         PR target/65181
6139         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
6140         -Dinhibit_libc.
6142 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
6144         * config/arm/bpabi.S (test_div_by_zero): Make label names
6145         consistent between thumb2 and arm mode cases.  Separate the
6146         signed comparison on the high word of the numerator from the
6147         unsigned comparison on the low word.
6148         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
6149         signed comparison.
6151 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6153         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
6154         and <string.h>.
6155         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
6157 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
6159         PR gcov-profile/61889
6160         * libgcov-driver-system.c: undefine clashing macro for mkdir.
6162 2015-02-02  Nick Clifton  <nickc@redhat.com>
6164         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
6165         rounding up the fraction.
6167 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
6169         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
6170         oldval and newval to const void *.  Fix typo.
6171         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
6172         (FETCH_AND_OP_WORD): Likewise.
6173         (OP_AND_FETCH_WORD): Likewise.
6174         (COMPARE_AND_SWAP_2): Likewise.
6175         (__sync_val_compare_and_swap_4): Likewise.
6176         (__sync_lock_test_and_set_4): Likewise.
6177         (SYNC_LOCK_RELEASE_2): Likewise.
6178         Remove support for long long atomic operations.
6180 2015-01-27  Caroline Tice  <cmtice@google.com>
6182         Committing VTV Cywin/Ming patch for Patrick Wollgast
6183         * Makefile.in: Move rules to build vtv_*.o out of the check
6184         for CUSTOM_CRTSTUFF.
6185         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
6186         i[34567]86-*-mingw*)
6187         (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
6188         enable_vtable_verify.
6190 2015-01-27  Nick Clifton  <nickc@redhat.com>
6192         * config/rl78/cmpsi2.S: Use function start and end macros.
6193         (__gcc_bcmp): New function.
6194         * config/rl78/lshrsi3.S: Use function start and end macros.
6195         * config/rl78/mulsi3.S: Add support for G10.
6196         (__mulqi3): New function for G10.
6197         * config/rl78/signbit.S: Use function start and end macros.
6198         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
6199         fpmath-sf.S.
6200         (LIB2FUNCS_EXCLUDE): Define.
6201         (LIB2FUNCS_ST): Define.
6202         * config/rl78/trampoline.S: Use function start and end macros.
6203         * config/rl78/vregs.h (START_FUNC): New macro.
6204         (START_ANOTHER_FUNC): New macro.
6205         (END_FUNC): New macro.
6206         (END_ANOTHER_FUNC): New macro.
6207         * config/rl78/bit-count.S: New file.  Contains assembler
6208         implementations of the bit counting functions: ___clzhi2,
6209         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
6210         __paritysi2, __popcounthi2 and __popcountsi2.
6211         * config/rl78/fpbit-sf.S: New file.  Contains assembler
6212         implementationas of the math functions: __negsf2, __cmpsf2,
6213         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
6214         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
6215         * config/rl78/fpmath-sf.S: New file.  Contains assembler
6216         implementations of the math functions: __subsf3, __addsf3,
6217         __mulsf3 and __divsf3
6219 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6221         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
6222         Add i386/elf-lib.h to tm_file.
6223         * config/i386/elf-lib.h: Fix comment.
6224         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
6225         && __sun__ && __svr4__]: Remove workaround.
6227 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
6229         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
6230         FEATURE_BMI2.
6231         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
6233 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
6235         * config/i386/cpuinfo.c (processor_subtypes): Add
6236         INTEL_COREI7_BROADWELL.
6237         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
6238         model numbers.
6240 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
6242         * config/i386/elf-lib.h: New file.
6243         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
6244         Wrap definition in #ifdef __i386__.
6245         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6246         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
6247         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
6248         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
6249         to tm_file.
6251 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
6253         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
6254         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
6256 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
6258         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
6259         Update rt_sigframe format and address for current Nios II
6260         Linux conventions.
6262 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
6264         * config.host (arm*-*-freebsd*): Add new configuration for
6265         arm*-*-freebsd*.
6266         * config/arm/freebsd-atomic.c: New file.
6267         * config/arm/t-freebsd: Likewise.
6268         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
6269         'PC-relative indirect' OS's.
6271 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
6273         * config.host: Add Visium support.
6274         * config/visium: New directory.
6276 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
6278         Update copyright years.
6280 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
6282         * config.host: Support mipsisa32r6 and mipsisa64r6.
6283         * config/mips/mips16.S: Do not build for R6.
6285 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
6287         * config/sh/crt.h: New.
6288         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
6289         symbols.
6290         * config/sh/crt1.S: Likewise.
6292 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
6294         PR libgcc/63832
6295         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
6296         func_ptr *dtor_list temporary variable to avoid "array subscript
6297         is above array bounds" warnings.
6299 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
6301         * Makefile.in (with_aix_soname): Define.
6302         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
6303         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
6304         * configure: Recreate.
6306 2014-12-05  Olivier Hainque  <hainque@adacore.com>
6308         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
6309         now provided by defaults.h.
6311 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
6313         PR target/55351
6314         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
6315         whether it's defined.
6317 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
6319         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
6320         * config/i386/cpuinfo.c (get_available_features): Detect it.
6322 2014-11-27  Tony Wang  <tony.wang@arm.com>
6324         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
6325         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
6326         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
6328 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
6330         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
6332 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
6334         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
6335         instead.
6337 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
6338             John David Anglin  <danglin@gcc.gnu.org>
6340         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
6341         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
6342         (OP_AND_FETCH_2): Likewise.
6343         (COMPARE_AND_SWAP_2): Likewise.
6344         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6345         (SYNC_LOCK_RELEASE_2): Likewise.
6346         (SUBWORD_SYNC_OP): Remove.
6347         (SUBWORD_VAL_CAS): Likewise.
6348         (SUBWORD_BOOL_CAS): Likewise.
6349         (FETCH_AND_OP_WORD): Update.
6350         Consistently use signed types.
6352 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
6353             Thomas Schwinge  <thomas@codesourcery.com>
6354             Ilya Verbin  <ilya.verbin@intel.com>
6355             Andrey Turetskiy  <andrey.turetskiy@intel.com>
6357         * Makefile.in (crtoffloadbegin$(objext)): New rule.
6358         (crtoffloadend$(objext)): Likewise.
6359         * configure: Regenerate.
6360         * configure.ac (accel_dir_suffix): Compute new variable.
6361         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
6362         if enable_offload_targets is not empty.
6363         * offloadstuff.c: New file.
6365 2014-11-13  Nick Clifton  <nickc@redhat.com>
6367         * config/rl78/divmodhi.S: Add support for the G10 architecture.
6368         Use START_FUNC and END_FUNC macros to enable linker garbage
6369         collection.
6370         * config/rl78/divmodqi.S: Likewise.
6371         * config/rl78/divmodsi.S: Likewise.
6372         * config/rl78/mulsi3.S: Likewise.
6373         * config/rl78/lib2div.c: Remove G10 functions.
6374         * config/rl78/lib2muls.c: Likewise.
6375         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
6376         * config/rl78/vregs.h (START_FUNC): New macro.
6377         (END_FUNC): New macro.
6379 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
6381         * config/mips/mips16.S: Set .module when supported.  Update O32
6382         FP64 calling convention and use for FPXX when possible.  Add FPXX
6383         calling convention fallback case.
6385 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
6387         * config.host: Handle nvptx-*-*.
6388         * shared-object.mk (as-flags-$o): Define.
6389         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
6390         -xassembler-with-cpp.
6391         * static-object.mk: Identical changes.
6392         * config/nvptx/t-nvptx: New file.
6393         * config/nvptx/crt0.s: New file.
6394         * config/nvptx/free.asm: New file.
6395         * config/nvptx/malloc.asm: New file.
6396         * config/nvptx/realloc.c: New file.
6398 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
6400         * Makefile.in (libgcc.map.in): New target.
6401         (libgcc.map): Use libgcc.map.in.
6402         * config/t-softfp (softfp_compat): New variable to be set by
6403         users.
6404         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
6405         variables.
6406         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
6407         directory.
6408         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
6409         that use compat symbols and disable all code unless [SHARED].
6410         * config/t-softfp-compat: New file.
6411         * find-symver.awk: New file.
6412         * configure.ac (--with-glibc-version): New configure option.
6413         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
6414         * configure: Regenerate.
6415         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
6416         soft-float and e500.
6418 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
6420         * config/t-hardfp (hardfp_exclusions): Document new variable for
6421         user to define.
6422         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
6423         * config/t-softfp (softfp_extras): Document new variable for user
6424         to define.
6425         (softfp_func_list): Add functions from $(softfp_extras).
6426         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
6427         * config.host (powerpc*-*-linux*): For e500v1, use
6428         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
6429         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
6430         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
6432 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
6434         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
6435         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
6436         memory read accesses are ok.
6438 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
6440         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
6441         * configure: Regenerate.
6442         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
6443         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
6444         of soft-fp for 32-bit classic hard float.  Do not use
6445         t-softfp-excl for soft float.
6447 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
6449         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
6450         configurations.
6451         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
6452         Remove variables.
6454 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
6456         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
6457         introduced with 2014-10-21 trunk r216525.
6459 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
6460             Vidya Praveen  <vidya.praveen@atmel.com>
6461             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
6462             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
6463             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
6465         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
6466         order.
6468         Updated library functions for AVRTINY arch.
6469         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
6470         Replaced occurrences of r0/r1 with tmp/zero reg macros.
6471         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
6472         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
6473         wsubi/wadi macors.
6474         (__mulsi3_helper): Update stack, preserve callee saved regs and
6475         argument from stack. Restore callee save registers.
6476         (__mulpsi3): Likewise.
6477         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
6478         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
6479         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
6480         AVRTINY.
6481         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
6482         (__do_copy_data): Added new definition for AVRTINY.
6483         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
6484         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
6485         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
6486         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
6487         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
6488         macors.
6489         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
6490         AVRTINY.
6492         Fix broken long multiplication on tiny arch.
6494 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
6496         * soft-fp/double.h: Update from glibc.
6497         * soft-fp/eqdf2.c: Likewise.
6498         * soft-fp/eqsf2.c: Likewise.
6499         * soft-fp/eqtf2.c: Likewise.
6500         * soft-fp/extenddftf2.c: Likewise.
6501         * soft-fp/extended.h: Likewise.
6502         * soft-fp/extendsfdf2.c: Likewise.
6503         * soft-fp/extendsftf2.c: Likewise.
6504         * soft-fp/extendxftf2.c: Likewise.
6505         * soft-fp/gedf2.c: Likewise.
6506         * soft-fp/gesf2.c: Likewise.
6507         * soft-fp/getf2.c: Likewise.
6508         * soft-fp/ledf2.c: Likewise.
6509         * soft-fp/lesf2.c: Likewise.
6510         * soft-fp/letf2.c: Likewise.
6511         * soft-fp/op-1.h: Likewise.
6512         * soft-fp/op-2.h: Likewise.
6513         * soft-fp/op-4.h: Likewise.
6514         * soft-fp/op-8.h: Likewise.
6515         * soft-fp/op-common.h: Likewise.
6516         * soft-fp/quad.h: Likewise.
6517         * soft-fp/single.h: Likewise.
6518         * soft-fp/soft-fp.h: Likewise.
6519         * soft-fp/unorddf2.c: Likewise.
6520         * soft-fp/unordsf2.c: Likewise.
6521         * soft-fp/unordtf2.c: Likewise.
6522         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
6523         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
6524         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
6525         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
6526         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
6527         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
6528         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
6529         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
6530         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
6531         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
6533 2014-10-08  Rong Xu  <xur@google.com>
6535         * libgcov-util.c (read_gcda_file): Fix format.
6536         (find_match_gcov_info): Ditto.
6537         (calculate_2_entries): New.
6538         (compute_one_gcov): Ditto.
6539         (gcov_info_count_all_cold): Ditto.
6540         (gcov_info_count_all_zero): Ditto.
6541         (extract_file_basename): Ditto.
6542         (get_file_basename): Ditto.
6543         (set_flag): Ditto.
6544         (matched_gcov_info): Ditto.
6545         (calculate_overlap): Ditto.
6546         (gcov_profile_overlap): Ditto.
6547         * libgcov-driver.c (compute_summary): Make
6548         it avavilable for external calls.
6550 2014-10-06  Rong Xu  <xur@google.com>
6552         * Makefile.in: Ditto.
6553         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
6554         (gcov_sort_icall_topn_counter): Ditto.
6555         (gcov_sort_topn_counter_arrays): Ditto.
6556         (dump_one_gcov): Sort indirect_call topn counters.
6557         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
6558         function.
6559         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
6560         utility function.
6561         (__gcov_indirect_call_topn_profiler): New profiler function.
6562         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
6563         * libgcov.h: New decls.
6565 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
6567         * config.host: Remove support for score-*.
6569 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
6571         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6572         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
6573         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
6574         __LIBGCC_XF_MANT_DIG__.
6575         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
6576         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
6577         __LIBGCC_TF_MANT_DIG__.
6578         * libgcc2.c (NOTRUNC): Define in terms of
6579         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
6580         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6582 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
6584         PR target/63312
6585         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
6586         New macros.
6588 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
6590         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
6591         override USE_PT_GNU_EH_FRAME.
6592         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
6593         check USE_EH_FRAME_REGISTRY_ALWAYS against
6594         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
6595         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
6596         variable for substituted force_explicit_eh_registry.
6597         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
6598         * configure.ac (explicit-exception-frame-registration):
6599         New AC_ARG_ENABLE.
6600         * configure: Regenerate.
6602 2014-09-19  Olivier Hainque  <hainque@adacore.com>
6604         * config.host (powerpc-wrs-vxworksmils): New configuration,
6605         same as vxworksae.
6607 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
6609         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
6611 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
6613         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
6614         bits not set bits as indicating trapping exceptions.
6616 2014-09-17  Nathan sidwell  <nathan@acm.org>
6618         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
6619         (LIBGCOV_DRIVER): ... here.
6620         * libgcov-driver.c (gcov_master): New.
6621         (gcov_exit): Remove from master chain.
6622         (__gcov_init): Add to master chain if version compatible.  Don't
6623         clear the version.
6624         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
6625         (gcov_reset_int): Clear master chain, if compatible.
6626         (gcov_dump_int): New internal interface.  Dump master chain, if
6627         compatible.
6628         (gcov_dump): Alias for gcov_dump_int.
6629         * libgcov.h (struct gcov_root): Add next and prev fields.
6630         (struct gcov_master): New struct.
6631         (__gcov_master): New.
6632         (gcov_dump_int): Declare.
6634 2014-09-17  Olivier Hainque  <hainque@adacore.com>
6636         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
6637         and crtbegin.o + crtend.o to extra_parts.
6639 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
6641         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
6642         __LIBGCC_HAS_SF_MODE__.
6643         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6644         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6645         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6646         * config/libbid/bid_gcc_intrinsics.h
6647         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6648         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6649         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6650         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6651         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
6652         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6654 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
6656         PR target/63223
6657         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
6658         and R24 as needed.  Make work for all devices and .text locations.
6659         (__do_global_ctors, __do_global_dtors): Use word addresses.
6660         (__tablejump__, __tablejump_elpm__): Remove functions.
6661         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
6662         Add _tablejump2.
6663         (XICALL, XIJMP): New macros.
6665 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6666         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
6668         * config.host (aarch64*): Include crtfastmath.o and
6669         t-crtfm.
6670         * config/aarch64/crtfastmath.c: New file.
6672 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
6674         * config.host: Remove picochip support.
6675         * config/picochip/adddi3.S: Remove.
6676         * config/picochip/ashlsi3.S: Remove.
6677         * config/picochip/ashlsi3.c: Remove.
6678         * config/picochip/ashrsi3.S: Remove.
6679         * config/picochip/ashrsi3.c: Remove.
6680         * config/picochip/clzsi2.S: Remove.
6681         * config/picochip/cmpsi2.S: Remove.
6682         * config/picochip/divmod15.S: Remove.
6683         * config/picochip/divmodhi4.S: Remove.
6684         * config/picochip/divmodsi4.S: Remove.
6685         * config/picochip/lib1funcs.S: Remove.
6686         * config/picochip/longjmp.S: Remove.
6687         * config/picochip/lshrsi3.S: Remove.
6688         * config/picochip/lshrsi3.c: Remove.
6689         * config/picochip/parityhi2.S: Remove.
6690         * config/picochip/popcounthi2.S: Remove.
6691         * config/picochip/setjmp.S: Remove.
6692         * config/picochip/subdi3.S: Remove.
6693         * config/picochip/t-picochip: Remove.
6694         * config/picochip/ucmpsi2.S: Remove.
6695         * config/picochip/udivmodhi4.S: Remove.
6696         * config/picochip/udivmodsi4.S: Remove.
6698 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
6700         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
6701         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
6702         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
6703         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
6704         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
6705         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
6706         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
6707         defined and LIBGCC2_HAS_DF_MODE is defined.
6708         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
6709         defined and LIBGCC2_HAS_XF_MODE is defined.
6710         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
6711         defined and LIBGCC2_HAS_TF_MODE is defined.
6713 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
6715         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
6716         and ROUND_TOWARDS_ZERO conditionals.
6718 2014-09-07  Nathan sidwell  <nathan@acm.org>
6720         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
6721         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
6723 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
6725         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
6726         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6727         uses to __LIBGCC_STACK_POINTER_REGNUM__.
6728         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6729         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6730         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6731         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6732         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
6733         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
6734         (DWARF_FRAME_REGISTERS): Change all uses to
6735         __LIBGCC_DWARF_FRAME_REGISTERS__.
6736         (EH_RETURN_STACKADJ_RTX): Change all uses to
6737         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6738         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
6739         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
6740         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
6741         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
6742         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
6743         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
6744         to __LIBGCC_EH_FRAME_SECTION_NAME__.
6745         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
6746         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
6747         __LIBGCC_STACK_POINTER_REGNUM__.
6748         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6749         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6750         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6751         to __LIBGCC_STACK_POINTER_REGNUM__.
6752         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6753         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6754         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6755         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6756         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6757         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6758         (STACK_POINTER_REGNUM): Change all uses to
6759         __LIBGCC_STACK_POINTER_REGNUM__.
6760         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
6761         use to __LIBGCC_STACK_POINTER_REGNUM__.
6762         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6763         uses to __LIBGCC_STACK_POINTER_REGNUM__.
6764         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
6765         to __LIBGCC_DWARF_FRAME_REGISTERS__.
6766         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
6767         to __LIBGCC_DWARF_FRAME_REGISTERS__.
6768         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6769         to __LIBGCC_STACK_POINTER_REGNUM__.
6770         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
6771         Remove conditional definition.
6772         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
6773         __LIBGCC_TEXT_SECTION_ASM_OP__.
6774         (EH_FRAME_SECTION_NAME): Change all uses to
6775         __LIBGCC_EH_FRAME_SECTION_NAME__.
6776         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
6777         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
6778         (CTORS_SECTION_ASM_OP): Change all uses to
6779         __LIBGCC_CTORS_SECTION_ASM_OP__.
6780         (DTORS_SECTION_ASM_OP): Change all uses to
6781         __LIBGCC_DTORS_SECTION_ASM_OP__.
6782         (JCR_SECTION_NAME): Change all uses to
6783         __LIBGCC_JCR_SECTION_NAME__.
6784         (INIT_SECTION_ASM_OP): Change all uses to
6785         __LIBGCC_INIT_SECTION_ASM_OP__.
6786         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6787         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6788         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
6789         __LIBGCC_STACK_GROWS_DOWNWARD__.
6790         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
6791         __LIBGCC_INIT_SECTION_ASM_OP__.
6792         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6793         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6794         (EH_FRAME_SECTION_NAME): Change all uses to
6795         __LIBGCC_EH_FRAME_SECTION_NAME__.
6796         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
6797         definitions.  Change all uses to
6798         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
6799         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
6800         __LIBGCC_STACK_GROWS_DOWNWARD__.
6801         (DWARF_FRAME_REGISTERS): Change all uses to
6802         __LIBGCC_DWARF_FRAME_REGISTERS__.
6803         (EH_RETURN_STACKADJ_RTX): Change all uses to
6804         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6805         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
6806         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
6807         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
6808         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
6809         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
6811 2014-09-02  Nathan sidwell  <nathan@acm.org>
6813         * libgcov-interface.c (STRONG_ALIAS): New.
6814         (__gcov_flush): Call __gcov_reset_int.
6815         (__gcov_reset): Strong alias for ...
6816         (__gcov_reset_ing): ... this renamed hidden version.
6817         * libgcov.h (__gcov_reset_int): New declaration.
6819 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
6821         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
6822         call from here...
6823         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
6824         (__dso_handle): Define on Cygwin.
6825         * config/i386/t-cygming (crtbeginS.o): New rule.
6826         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
6828         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
6829         declaration syntax.
6831 2014-08-13  Steve Ellcey  <sellcey@mips.com>
6833         * crtstuff.c: Undef caddr_t.
6835 2014-08-12  Steve Ellcey  <sellcey@mips.com>
6837         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
6839 2014-08-07  Nathan Sidwell  <nathan@acm.org>
6841         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
6842         (LIBGCOV_DRIVER): ... to here.
6843         * libgcov.h (gcov_do_dump): New #define.
6844         (struct gcov_root): New.
6845         (__gcov_root): New declaration.
6846         (__gcov_dump_one): Declare.
6847         * libgcov-driver.c (gcov_list, gcov_dump_complete,
6848         run_accounted): Delete.
6849         (gcov_compute_histogram): Add LIST argument, adjust.
6850         (compute_summary): Adjust gcov_compute_histogram call.
6851         (gcov_do_dump): Not hidden, static in libgcov.
6852         (gcov_clear): Move  to interface.c.
6853         (__gcov_dump_one): New, broken out of ...
6854         (gcov_exit): ... here.  Make static.
6855         (__gcov_root): New.
6856         (__gcov_init): Adjust.
6857         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
6858         declarations.
6859         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
6860         (gcov_clear): Moved from driver.c.   Add LIST argument.
6861         (__gcov_reset): Adjust for changed interfaces.
6862         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
6864 2014-08-04  Rohit  <rohitarulraj@freescale.com>
6866         PR target/60102
6867         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
6868         based on change in SPE high register numbers and 3 HTM registers.
6870 2014-08-01  Nathan Sidwell  <nathan@acm.org>
6872         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
6873         LIBGCOV_INTERFACE): Reformat.
6874         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
6875         IN_GCOV_TOOL.
6876         * libgcov-interface.c: Reformat some comments.
6877         (__gcov_flush_mx): Add declaration.  Tidy up definition.
6879 2014-07-31  Alan Modra  <amodra@gmail.com>
6880             Peter Bergner  <bergner@vnet.ibm.com>
6882         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
6883         (pack_ldouble): New function.
6884         (__gcc_qadd): Use it.
6885         (__gcc_qmul): Likewise.
6886         (__gcc_qdiv): Likewise.
6887         (__gcc_qneg): Likewise.
6888         (__gcc_stoq): Likewise.
6889         (__gcc_dtoq): Likewise.
6891 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
6893         * config/s390/tpf-unwind.h: Include <stdbool.h>.
6894         (__tpf_eh_return): Add original return address as second parameter.
6895         Handle cases where unwinder routines were called directly, instead
6896         of from within the C++ library.
6898 2014-07-29  Nathan Sidwell  <nathan@acm.org>
6900         * libgcov.h: Move renaming of entry points to lib gcov specific
6901         portion.
6902         (gcov_do_dump): New rename.
6903         (gcov_rewrite): Remove inline, make HIDDEN.
6904         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
6905         (gcov_exit_compute_summary): Rename to ...
6906         (compute_summary): ... here.  Add LIST argument.
6907         (gcov_exit_merge_gcda): Rename to ...
6908         (merge_one_data): ... here.
6909         (gcov_exit_write_gcda): Rename to ...
6910         (write_one_data): ... here.
6911         (gcov_exit_merge_summary): Rename to ...
6912         (merge_summary): Add RUN_COUNTED argument.
6913         (gcov_exit_dump_gcov): Rename to ...
6914         (dump_one_gcov): Add RUN_COUNTED argument.
6915         (gcov_do_dump): New function, broken out of ...
6916         (gcov_exit): ... here.  Call it.
6918 2014-07-27  Anthony Green  <green@moxielogic.com>
6920         * config.host: Add moxiebox configuration suppport.
6922 2014-07-27  Nathan Sidwell  <nathan@acm.org>
6924         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
6925         (struct gcov_filename): ... here.  Include buffer and max length
6926         fields.
6927         (gcov_max_filename): Remove.
6928         (gi_filename): Remove.
6929         (gcov_exit_compute_summary): Compute max filename here.
6930         (gcov_exit_merge_gcda): Add filename parm, adjust.
6931         (gcov_exit_merge_summary): Likewise.
6932         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
6933         (gcov_exit): Likewise.
6934         (__gcov_init): Don't calculate max length here.
6935         * libgcov_util.c (max_filename_len): Remove.
6936         (read_gcda_file): Don't calculate max length here.
6937         (gcov_read_profile_dir): Don't propagate here.
6938         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
6939         struct gcov_filename changes.
6940         (gcov_exit_open_gcda_file): Likewise.
6942 2014-07-25  Nathan Sidwell  <nathan@acm.org>
6944         * libgcov-driver.c (set_gcov_dump_complete,
6945         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
6946         functions polluting user's namespace.
6947         (gcov_exit): Set variable directly.
6948         (gcov_clear): Reset variable directly.
6949         * libgcov-interface.c (get_gcov_dymp_complete,
6950         reset_gov_dump_complete): Remove declarations.
6951         (__gcov_reset, __gcov_dump): Don't call them.
6953 2014-07-24  DJ Delorie  <dj@redhat.com>
6955         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
6956         (__gcc_deregister_frame): Move logic to detect deregister function
6957         to ...
6958         (__gcc_register_frame): here, so it's consistent with the register
6959         logic.
6961 2014-07-23  Nathan Sidwell  <nathan@acm.org>
6963         * libgcov-driver.c (set_gcov_list): Remove.
6964         (gcov_list): Make non-static in GCOV_TOOL.
6965         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
6967 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
6969         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
6970         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
6971         Don't use SYNC_LOCK_RELEASE for int type.
6973 2014-07-14  Richard Biener  <rguenther@suse.de>
6975         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
6977 2014-07-11  Rong Xu  <xur@google.com>
6979         * libgcov-util.c (gcov_max_filename): Fix declartion.
6981 2014-07-10  Rong Xu  <xur@google.com>
6983         Add gcov-tool: an offline gcda profile processing tool
6984         Support.
6985         * libgcov-driver.c (gcov_max_filename): Make available
6986         to gcov-tool.
6987         * libgcov-merge.c (__gcov_merge_add): Replace
6988         gcov_read_counter() with a Macro.
6989         (__gcov_merge_ior): Ditto.
6990         (__gcov_merge_time_profile): Ditto.
6991         (__gcov_merge_single): Ditto.
6992         (__gcov_merge_delta): Ditto.
6993         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
6994         in the utility functions.
6995         (set_fn_ctrs): Utility function for reading gcda files to in-memory
6996         gcov_list object link lists.
6997         (tag_function): Ditto.
6998         (tag_blocks): Ditto.
6999         (tag_arcs): Ditto.
7000         (tag_lines): Ditto.
7001         (tag_counters): Ditto.
7002         (tag_summary): Ditto.
7003         (read_gcda_finalize): Ditto.
7004         (read_gcda_file): Ditto.
7005         (ftw_read_file): Ditto.
7006         (read_profile_dir_init): Ditto.
7007         (gcov_read_profile_dir): Ditto.
7008         (gcov_read_counter_mem): Ditto.
7009         (gcov_get_merge_weight): Ditto.
7010         (merge_wrapper): A wrapper function that calls merging handler.
7011         (gcov_merge): Merge two gcov_info objects with weights.
7012         (find_match_gcov_info): Find the matched gcov_info in the list.
7013         (gcov_profile_merge): Merge two gcov_info object lists.
7014         (__gcov_add_counter_op): Process edge profile counter values.
7015         (__gcov_ior_counter_op): Process IOR profile counter values.
7016         (__gcov_delta_counter_op): Process delta profile counter values.
7017         (__gcov_single_counter_op): Process single  profile counter values.
7018         (fp_scale): Callback function for float-point scaling.
7019         (int_scale): Callback function for integer fraction scaling.
7020         (gcov_profile_scale): Scaling profile counters.
7021         (gcov_profile_normalize): Normalize profile counters.
7022         * libgcov.h: Add headers and functions for gcov-tool use.
7023         (gcov_get_counter): New.
7024         (gcov_get_counter_target): Ditto.
7025         (struct gcov_info): Make the functions field mutable in gcov-tool
7026         compilation.
7028 2014-06-23  Kai Tietz  <ktietz@redhat.com>
7030         PR libgcc/61585
7031         * unwind-seh.c (_Unwind_GetGR): Check for proper
7032         index range.
7033         (_Unwind_SetGR): Likewise.
7035 2014-05-22  Nick Clifton  <nickc@redhat.com>
7037         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
7038         -mhwmult=none.
7040 2014-05-22  Teresa Johnson  <tejohnson@google.com>
7042         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
7043         include.
7045 2014-05-20  John Marino  <gnugcc@marino.st>
7047         * config.host (*-*-dragonfly*): New target.
7048         * crtstuff.c: Make dl_iterate_support generic on *bsd.
7049         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
7050         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
7051         * config/i386/dragonfly-unwind.h: New.
7053 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
7055         PR libgcc/60166
7056         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
7057         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
7059 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
7061         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
7062         implementation.
7064 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
7066         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
7068 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7070         PR libgcc/61097
7071         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
7072         if --enable-shared.
7074 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
7076         Work around for current cygwin32 build problems.
7077         * config/i386/cygming-crtbegin.c (__register_frame_info,
7078         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
7079         functions only for 64-bit systems.
7081 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7083         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
7084         (sigill_caught, sigill_hdlr): Remove.
7086 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7088         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
7089         check.
7090         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7091         Solaris 9 single-threaded support.
7092         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7093         Solaris 9 single-threaded support.  Add call_user_handler code
7094         sequences.
7095         (sparc_is_sighandler): Likewise.
7097 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7099         * config.host: Append t-floattodi to tmake_file depending on
7100         host_address.
7102 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
7104         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
7106 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
7108         PR libgcc/60472
7109         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
7110         variable to avoid "array subscript is above array bounds" warnings.
7111         Use __builtin_expect when checking *jcr_list for NULL.
7113 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7115         PR libgcc/59339
7116         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
7117         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
7118         vtv_*.o to extra_parts if enable_vtable_verify.
7120 2014-03-06  Nick Clifton  <nickc@redhat.com>
7122         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
7123         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
7125 2014-02-28  Joey Ye  <joey.ye@arm.com>
7127         PR libgcc/60166
7128         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
7129         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
7130         Set to zero.
7132 2014-02-24  Walter Lee  <walt@tilera.com>
7134         * config.host: Support "tilegx*" and "tilepro*" triplets.
7135         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
7136         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
7138 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
7139             Chung-Lin Tang  <cltang@codesourcery.com>
7141         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
7142         * config/nios2/crti.S: Remove .file directive.
7143         * config/nios2/crtn.S: Likewise.
7145 2014-02-18  Kai Tietz  <ktietz@redhat.com>
7146         Jonathan Schleifer  <js@webkeks.org>
7148         PR objc/56870
7149         * unwind-seh.c (_GCC_specific_handler): Pass proper
7150         value to unwind-handler.
7152 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
7154         * soft-fp/adddf3.c: Update from glibc.
7155         * soft-fp/addsf3.c: Likewise.
7156         * soft-fp/addtf3.c: Likewise.
7157         * soft-fp/divdf3.c: Likewise.
7158         * soft-fp/divsf3.c: Likewise.
7159         * soft-fp/divtf3.c: Likewise.
7160         * soft-fp/double.h: Likewise.
7161         * soft-fp/eqdf2.c: Likewise.
7162         * soft-fp/eqsf2.c: Likewise.
7163         * soft-fp/eqtf2.c: Likewise.
7164         * soft-fp/extenddftf2.c: Likewise.
7165         * soft-fp/extended.h: Likewise.
7166         * soft-fp/extendsfdf2.c: Likewise.
7167         * soft-fp/extendsftf2.c: Likewise.
7168         * soft-fp/extendxftf2.c: Likewise.
7169         * soft-fp/fixdfdi.c: Likewise.
7170         * soft-fp/fixdfsi.c: Likewise.
7171         * soft-fp/fixdfti.c: Likewise.
7172         * soft-fp/fixsfdi.c: Likewise.
7173         * soft-fp/fixsfsi.c: Likewise.
7174         * soft-fp/fixsfti.c: Likewise.
7175         * soft-fp/fixtfdi.c: Likewise.
7176         * soft-fp/fixtfsi.c: Likewise.
7177         * soft-fp/fixtfti.c: Likewise.
7178         * soft-fp/fixunsdfdi.c: Likewise.
7179         * soft-fp/fixunsdfsi.c: Likewise.
7180         * soft-fp/fixunsdfti.c: Likewise.
7181         * soft-fp/fixunssfdi.c: Likewise.
7182         * soft-fp/fixunssfsi.c: Likewise.
7183         * soft-fp/fixunssfti.c: Likewise.
7184         * soft-fp/fixunstfdi.c: Likewise.
7185         * soft-fp/fixunstfsi.c: Likewise.
7186         * soft-fp/fixunstfti.c: Likewise.
7187         * soft-fp/floatdidf.c: Likewise.
7188         * soft-fp/floatdisf.c: Likewise.
7189         * soft-fp/floatditf.c: Likewise.
7190         * soft-fp/floatsidf.c: Likewise.
7191         * soft-fp/floatsisf.c: Likewise.
7192         * soft-fp/floatsitf.c: Likewise.
7193         * soft-fp/floattidf.c: Likewise.
7194         * soft-fp/floattisf.c: Likewise.
7195         * soft-fp/floattitf.c: Likewise.
7196         * soft-fp/floatundidf.c: Likewise.
7197         * soft-fp/floatundisf.c: Likewise.
7198         * soft-fp/floatunditf.c: Likewise.
7199         * soft-fp/floatunsidf.c: Likewise.
7200         * soft-fp/floatunsisf.c: Likewise.
7201         * soft-fp/floatunsitf.c: Likewise.
7202         * soft-fp/floatuntidf.c: Likewise.
7203         * soft-fp/floatuntisf.c: Likewise.
7204         * soft-fp/floatuntitf.c: Likewise.
7205         * soft-fp/gedf2.c: Likewise.
7206         * soft-fp/gesf2.c: Likewise.
7207         * soft-fp/getf2.c: Likewise.
7208         * soft-fp/ledf2.c: Likewise.
7209         * soft-fp/lesf2.c: Likewise.
7210         * soft-fp/letf2.c: Likewise.
7211         * soft-fp/muldf3.c: Likewise.
7212         * soft-fp/mulsf3.c: Likewise.
7213         * soft-fp/multf3.c: Likewise.
7214         * soft-fp/negdf2.c: Likewise.
7215         * soft-fp/negsf2.c: Likewise.
7216         * soft-fp/negtf2.c: Likewise.
7217         * soft-fp/op-1.h: Likewise.
7218         * soft-fp/op-2.h: Likewise.
7219         * soft-fp/op-4.h: Likewise.
7220         * soft-fp/op-8.h: Likewise.
7221         * soft-fp/op-common.h: Likewise.
7222         * soft-fp/quad.h: Likewise.
7223         * soft-fp/single.h: Likewise.
7224         * soft-fp/soft-fp.h: Likewise.
7225         * soft-fp/subdf3.c: Likewise.
7226         * soft-fp/subsf3.c: Likewise.
7227         * soft-fp/subtf3.c: Likewise.
7228         * soft-fp/truncdfsf2.c: Likewise.
7229         * soft-fp/trunctfdf2.c: Likewise.
7230         * soft-fp/trunctfsf2.c: Likewise.
7231         * soft-fp/trunctfxf2.c: Likewise.
7232         * soft-fp/unorddf2.c: Likewise.
7233         * soft-fp/unordsf2.c: Likewise.
7234         * soft-fp/unordtf2.c: Likewise.
7235         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
7236         macro.
7237         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7238         Likewise.
7239         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7240         Likewise.
7241         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7242         Likewise.
7243         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7244         Likewise.
7245         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7246         Likewise.
7247         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7248         Likewise.
7249         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7250         Likewise.
7251         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7252         Likewise.
7253         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7254         Likewise.
7255         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7256         Likewise.
7257         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7258         Likewise.
7259         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7260         Likewise.
7261         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
7262         Likewise.
7263         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
7264         Likewise.
7265         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7266         Likewise.
7268 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7270         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
7271         cannot be represented.
7272         * config/s390/32/_fixsfdi.c: Likewise.
7273         * config/s390/32/_fixtfdi.c: Likewise.
7274         * config/s390/32/_fixunsdfdi.c: Likewise.
7275         * config/s390/32/_fixunssfdi.c: Likewise.
7276         * config/s390/32/_fixunstfdi.c: Likewise.
7278 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
7280         * configure.ac (libgcc_cv_mips_hard_float): New.
7281         * configure: Regenerate.
7282         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
7283         t-softfp-sfdf for hard-float targets.
7284         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
7285         (softfp_float_modes, softfp_int_modes, softfp_extensions)
7286         (softfp_truncations, softfp_exclude_libgcc2): New.
7287         * config/t-hardfp: New file.
7288         * config/t-hardfp-sfdf: Likewise.
7289         * config/hardfp.c: Likewise.
7291 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7293         * config.host: Include t-floattodi also for s390x.
7294         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
7295         * config/s390/32/_fixsfdi.c: Likewise.
7296         * config/s390/32/_fixtfdi.c: Likewise.
7297         * config/s390/32/_fixunsdfdi.c: Likewise.
7298         * config/s390/32/_fixunssfdi.c: Likewise.
7299         * config/s390/32/_fixunstfdi.c: Likewise.
7301 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7303         PR target/59788
7304         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
7305         (install-libgcc-unwind-map-forbuild): New target.
7306         (all): Depend on install-libgcc-unwind-map-forbuild.
7307         (install-libgcc-unwind-map): New target.
7308         (install): Depend on install-libgcc-unwind-map.
7310 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
7312         * config/nios2/crti.S (_init): Initialize GOT pointer from
7313         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
7315 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
7317         * configure.ac: Check __mips64 when setting host_address.
7318         * configure: Regenerate.
7319         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
7320         mips/t-mips64 and t-softfp.
7321         (mips*-*-linux*): Don't add mips/t-tpbit.
7322         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
7323         (DPBIT, DPBIT_CFLAGS): Delete.
7324         * config/mips/sfp-machine.h: New file.
7325         * config/mips/t-mips64: Likewise.
7326         * config/mips/t-softfp-tf: Likewise.
7327         * config/mips/t-tpbit: Delete.
7329 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7331         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
7332         as long long.
7334 2014-01-25  Walter Lee  <walt@tilera.com>
7336         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
7337         config.h or system.h.
7338         (bool) Define.
7340 2014-01-25  Walter Lee  <walt@tilera.com>
7342         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
7343         (post_atomic_barrier): Ditto.
7344         (__fetch_and_do): New macro.
7345         (__atomic_fetch_and_do): Use __fetch_and_do.
7346         (__sync_fetch_and_do): New macro.
7347         (__sync_fetch_and_add_4): New function.
7348         (__sync_fetch_and_sub_4): New function.
7349         (__sync_fetch_and_or_4): New function.
7350         (__sync_fetch_and_and_4): New function.
7351         (__sync_fetch_and_xor_4): New function.
7352         (__sync_fetch_and_nand_4): New function.
7353         (__sync_fetch_and_add_8): New function.
7354         (__sync_fetch_and_sub_8): New function.
7355         (__sync_fetch_and_or_8): New function.
7356         (__sync_fetch_and_and_8): New function.
7357         (__sync_fetch_and_xor_8): New function.
7358         (__sync_fetch_and_nand_8): New function.
7359         (__do_and_fetch): New macro.
7360         (__atomic_do_and_fetch): Use __do_and_fetch.
7361         (__sync_do_and_fetch): New macro.
7362         (__sync_add_and_fetch_4): New function.
7363         (__sync_sub_and_fetch_4): New function.
7364         (__sync_or_and_fetch_4): New function.
7365         (__sync_and_and_fetch_4): New function.
7366         (__sync_xor_and_fetch_4): New function.
7367         (__sync_nand_and_fetch_4): New function.
7368         (__sync_add_and_fetch_8): New function.
7369         (__sync_sub_and_fetch_8): New function.
7370         (__sync_or_and_fetch_8): New function.
7371         (__sync_and_and_fetch_8): New function.
7372         (__sync_xor_and_fetch_8): New function.
7373         (__sync_nand_and_fetch_8): New function.
7374         (__sync_exchange_methods): New macro.
7375         (__sync_val_compare_and_swap_4): New function.
7376         (__sync_bool_compare_and_swap_4): New function.
7377         (__sync_lock_test_and_test_4): New function.
7378         (__sync_val_compare_and_swap_8): New function.
7379         (__sync_bool_compare_and_swap_8): New function.
7380         (__sync_lock_test_and_test_8): New function.
7381         (__subword_cmpxchg_body): New macro.
7382         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
7383         (__atomic_compare_exchange_2): Ditto.
7384         (__sync_subword_cmpxchg): New macro.
7385         (__sync_val_compare_and_swap_1): New function.
7386         (__sync_bool_compare_and_swap_1): New function.
7387         (__sync_val_compare_and_swap_2): New function.
7388         (__sync_bool_compare_and_swap_2): New function.
7389         (__atomic_subword): Rename to ...
7390         (__subword): ... New name.
7391         (__atomic_subword_fetch): Use __subword.
7392         (__sync_subword_fetch): New macro.
7393         (__sync_fetch_and_add_1): New function.
7394         (__sync_fetch_and_sub_1): New function.
7395         (__sync_fetch_and_or_1): New function.
7396         (__sync_fetch_and_and_1): New function.
7397         (__sync_fetch_and_xor_1): New function.
7398         (__sync_fetch_and_nand_1): New function.
7399         (__sync_fetch_and_add_2): New function.
7400         (__sync_fetch_and_sub_2): New function.
7401         (__sync_fetch_and_or_2): New function.
7402         (__sync_fetch_and_and_2): New function.
7403         (__sync_fetch_and_xor_2): New function.
7404         (__sync_fetch_and_nand_2): New function.
7405         (__sync_add_and_fetch_1): New function.
7406         (__sync_sub_and_fetch_1): New function.
7407         (__sync_or_and_fetch_1): New function.
7408         (__sync_and_and_fetch_1): New function.
7409         (__sync_xor_and_fetch_1): New function.
7410         (__sync_nand_and_fetch_1): New function.
7411         (__sync_add_and_fetch_2): New function.
7412         (__sync_sub_and_fetch_2): New function.
7413         (__sync_or_and_fetch_2): New function.
7414         (__sync_and_and_fetch_2): New function.
7415         (__sync_xor_and_fetch_2): New function.
7416         (__sync_nand_and_fetch_2): New function.
7417         (__atomic_subword_lock): Use __subword.
7418         (__sync_subword_lock): New macro.
7419         (__sync_lock_test_and_set_1): New function.
7420         (__sync_lock_test_and_set_2): New function.
7422 2014-01-25  Walter Lee  <walt@tilera.com>
7424         * config/tilepro/atomic.c (BIT_OFFSET): Define.
7425         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
7426         (__atomic_subword): Ditto.
7428 2014-01-25  Walter Lee  <walt@tilera.com>
7430         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
7431         a prefix op argument.
7432         (__atomic_nand_fetch_4): Add prefix op.
7433         (__atomic_nand_fetch_8): Ditto.
7435 2014-01-21  Baruch Siach  <barch@tkos.co.il>
7437         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
7439 2014-01-09  Rong Xu  <xur@google.com>
7441         * libgcov-driver.c (this_prg): make it local to save
7442         bss space.
7443         (gcov_exit_compute_summary): Ditto.
7444         (gcov_exit_merge_gcda): Ditto.
7445         (gcov_exit_merge_summary): Ditto.
7446         (gcov_exit_dump_gcov): Ditto.
7448 2014-01-08  Rong Xu  <xur@google.com>
7450         * libgcov-driver.c: Use libgcov.h.
7451         (buffer_fn_data): Use xmalloc instead of malloc.
7452         (gcov_exit_merge_gcda): Ditto.
7453         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
7454         * libgcov.h: New common header files for libgcov-*.h.
7455         * libgcov-interface.c: Use libgcov.h
7456         * libgcov-merge.c: Ditto.
7457         * libgcov-profiler.c: Ditto.
7458         * Makefile.in: Add dependence to libgcov.h
7460 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
7462         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
7463         case of small numerator and finite nonzero result.
7465 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
7467         Update copyright years
7469 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
7471         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
7472         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
7473         config/arc/dp-hack.h, config/arc/fp-hack.h,
7474         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
7475         config/arc/ieee-754/arc600-dsp/divdf3.S,
7476         config/arc/ieee-754/arc600-dsp/divsf3.S,
7477         config/arc/ieee-754/arc600-dsp/muldf3.S,
7478         config/arc/ieee-754/arc600-dsp/mulsf3.S,
7479         config/arc/ieee-754/arc600-mul64/divdf3.S,
7480         config/arc/ieee-754/arc600-mul64/divsf3.S,
7481         config/arc/ieee-754/arc600-mul64/muldf3.S,
7482         config/arc/ieee-754/arc600-mul64/mulsf3.S,
7483         config/arc/ieee-754/arc600/divsf3.S,
7484         config/arc/ieee-754/arc600/mulsf3.S,
7485         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
7486         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
7487         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
7488         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
7489         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
7490         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
7491         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
7492         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
7493         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
7494         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
7495         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
7496         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
7497         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
7498         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
7499         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
7500         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
7501         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
7502         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
7503         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
7504         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
7505         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
7506         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
7507         vtv_start_preinit.c: Use the standard form for the copyright notice.
7509 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
7510             Chung-Lin Tang  <cltang@codesourcery.com>
7511         Based on patches from Altera Corporation
7513         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
7514         * config/nios2/lib2-nios2.h: New file.
7515         * config/nios2/lib2-divmod-hi.c: New file.
7516         * config/nios2/linux-unwind.h: New file.
7517         * config/nios2/lib2-divmod.c: New file.
7518         * config/nios2/linux-atomic.c: New file.
7519         * config/nios2/t-nios2: New file.
7520         * config/nios2/crti.asm: New file.
7521         * config/nios2/t-linux: New file.
7522         * config/nios2/lib2-divtable.c: New file.
7523         * config/nios2/lib2-mul.c: New file.
7524         * config/nios2/tramp.c: New file.
7525         * config/nios2/crtn.asm: New file.
7527 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
7529         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
7530         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
7531         from cpuid.h to check vendor signatures.
7533 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
7535         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
7536         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
7537         (get_amd_cpu): Likewise.
7539 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
7541         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
7542         Haswell.
7544 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
7545             H.J. Lu  <hongjiu.lu@intel.com>
7547         PR target/59422
7548         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
7549         and AMD_JAGUAR.
7550         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
7551         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
7552         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
7553         FEATURE_XOP and FEATURE_FMA.
7554         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
7555         AMDFAM15H_BDVER3.
7556         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
7557         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
7558         FEATURE_FMA4 and FEATURE_XOP.
7560 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
7562         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
7563         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
7564         (get_intel_cpu): Updated.
7566 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
7568         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
7570 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
7572         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7573         instructions when __SSE_MATH__ is defined.
7575 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
7577         * config.host (microblaze-*-rtems*): New.
7579 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
7581         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
7582         architectures that do not have hardware divide instruction.
7583         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
7585 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
7587         * longlong.h: Delete (moved to include/).
7589 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7591         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
7592         of normal number and qNaN to not raise an inexact exception.
7594 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
7596         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
7598 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
7600         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
7601         for correct opcodes on BE.
7603 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
7605         * soft-fp/op-4.h: Update from glibc.
7607 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
7609         * libgcc2.c (__udivmoddi4): Define new implementation when
7610         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
7611         divide instructions.
7613 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
7615         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
7617 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7619         * config/t-softfp (soft-fp-objects-base): New variable.
7620         (soft-fp-objects): Use it.
7622 2013-11-23  David Edelson  <dje.gcc@gmail.com>
7623             Andrew Dixie  <andrewd@gentrack.com>
7625         PR target/33704
7626         * config/rs6000/aixinitfini.c: New file.
7627         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
7628         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
7629         symbols.
7631 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
7633         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
7635 2013-11-18  Jan Hubicka  <jh@suse.cz>
7637         * libgcov-driver.c (run_accounted): Make global level static.
7638         (gcov_exit_merge_summary): Silence warning; do not clear
7639         run_accounted here.
7640         (gcov_exit): Clear it here.
7642         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
7643         run_accounted.
7645         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
7646         (all_prg, crc32): Remove static vars.
7647         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
7648         all_prg.
7649         (gcov_exit_merge_gcda): Add crc32 parameter.
7650         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
7651         do not account run if it was already accounted.
7652         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
7653         (gcov_exit): Initialize all_prg; update.
7655 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
7657         * configure: Regenerate.
7659 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7660             Alan Modra  <amodra@gmail.com>
7662         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
7663         (frob_update_context): Use it.
7665 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7666             Alan Modra  <amodra@gmail.com>
7668         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
7669         (trampoline_initial): Provide ELFv2 variant.
7670         (__trampoline_setup): Likewise.
7672         * config/rs6000/linux-unwind.h (frob_update_context): Do not
7673         check for AIX indirect function call sequence if _CALL_ELF == 2.
7675 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7676             Alan Modra  <amodra@gmail.com>
7678         * config/rs6000/linux-unwind.h (get_regs): Do not support
7679         old kernel versions if _CALL_ELF == 2.
7680         (frob_update_context): Do not support PLT stub variants only
7681         generated by old linkers if _CALL_ELF == 2.
7683 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7684             Alan Modra  <amodra@gmail.com>
7686         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
7687         location of CR save area for 64-bit little-endian systems.
7689 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
7691         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
7692         in tmake_file.
7693         * config/arm/t-vxworks: Delete.
7695 2013-11-10  Kai Tietz  <ktietz@redhat.com>
7697         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
7698         Increment load-count on use of LIBGCC_SONAME DLL.
7699         (hmod_libgcc): New static variable to hold handle of
7700         LIBGCC_SONAME DLL.
7701         (__gcc_deregister_frame): Decrement load-count of
7702         LIBGCC_SONAME DLL.
7704 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
7706         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
7707         availability.
7708         * configure: Regenerate
7710 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
7712         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
7713         FP_EX_DENORM.  Store result to volatile location after SSE division
7714         to close interrupt window.  Remove unneeded fwait after x87
7715         division since interrupt window will be closed by emitted fstp.
7716         Rewrite FP_EX_INEXACT handling.
7718 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
7720         * soft-fp/README: Update.
7721         * soft-fp/adddf3.c: Update from glibc.
7722         * soft-fp/addsf3.c: Likewise.
7723         * soft-fp/addtf3.c: Likewise.
7724         * soft-fp/divdf3.c: Likewise.
7725         * soft-fp/divsf3.c: Likewise.
7726         * soft-fp/divtf3.c: Likewise.
7727         * soft-fp/double.h: Likewise.
7728         * soft-fp/eqdf2.c: Likewise.
7729         * soft-fp/eqsf2.c: Likewise.
7730         * soft-fp/eqtf2.c: Likewise.
7731         * soft-fp/extenddftf2.c: Likewise.
7732         * soft-fp/extended.h: Likewise.
7733         * soft-fp/extendsfdf2.c: Likewise.
7734         * soft-fp/extendsftf2.c: Likewise.
7735         * soft-fp/extendxftf2.c: Likewise.
7736         * soft-fp/fixdfdi.c: Likewise.
7737         * soft-fp/fixdfsi.c: Likewise.
7738         * soft-fp/fixdfti.c: Likewise.
7739         * soft-fp/fixsfdi.c: Likewise.
7740         * soft-fp/fixsfsi.c: Likewise.
7741         * soft-fp/fixsfti.c: Likewise.
7742         * soft-fp/fixtfdi.c: Likewise.
7743         * soft-fp/fixtfsi.c: Likewise.
7744         * soft-fp/fixtfti.c: Likewise.
7745         * soft-fp/fixunsdfdi.c: Likewise.
7746         * soft-fp/fixunsdfsi.c: Likewise.
7747         * soft-fp/fixunsdfti.c: Likewise.
7748         * soft-fp/fixunssfdi.c: Likewise.
7749         * soft-fp/fixunssfsi.c: Likewise.
7750         * soft-fp/fixunssfti.c: Likewise.
7751         * soft-fp/fixunstfdi.c: Likewise.
7752         * soft-fp/fixunstfsi.c: Likewise.
7753         * soft-fp/fixunstfti.c: Likewise.
7754         * soft-fp/floatdidf.c: Likewise.
7755         * soft-fp/floatdisf.c: Likewise.
7756         * soft-fp/floatditf.c: Likewise.
7757         * soft-fp/floatsidf.c: Likewise.
7758         * soft-fp/floatsisf.c: Likewise.
7759         * soft-fp/floatsitf.c: Likewise.
7760         * soft-fp/floattidf.c: Likewise.
7761         * soft-fp/floattisf.c: Likewise.
7762         * soft-fp/floattitf.c: Likewise.
7763         * soft-fp/floatundidf.c: Likewise.
7764         * soft-fp/floatundisf.c: Likewise.
7765         * soft-fp/floatunditf.c: Likewise.
7766         * soft-fp/floatunsidf.c: Likewise.
7767         * soft-fp/floatunsisf.c: Likewise.
7768         * soft-fp/floatunsitf.c: Likewise.
7769         * soft-fp/floatuntidf.c: Likewise.
7770         * soft-fp/floatuntisf.c: Likewise.
7771         * soft-fp/floatuntitf.c: Likewise.
7772         * soft-fp/gedf2.c: Likewise.
7773         * soft-fp/gesf2.c: Likewise.
7774         * soft-fp/getf2.c: Likewise.
7775         * soft-fp/ledf2.c: Likewise.
7776         * soft-fp/lesf2.c: Likewise.
7777         * soft-fp/letf2.c: Likewise.
7778         * soft-fp/muldf3.c: Likewise.
7779         * soft-fp/mulsf3.c: Likewise.
7780         * soft-fp/multf3.c: Likewise.
7781         * soft-fp/negdf2.c: Likewise.
7782         * soft-fp/negsf2.c: Likewise.
7783         * soft-fp/negtf2.c: Likewise.
7784         * soft-fp/op-1.h: Likewise.
7785         * soft-fp/op-2.h: Likewise.
7786         * soft-fp/op-4.h: Likewise.
7787         * soft-fp/op-8.h: Likewise.
7788         * soft-fp/op-common.h: Likewise.
7789         * soft-fp/quad.h: Likewise.
7790         * soft-fp/single.h: Likewise.
7791         * soft-fp/soft-fp.h: Likewise.
7792         * soft-fp/subdf3.c: Likewise.
7793         * soft-fp/subsf3.c: Likewise.
7794         * soft-fp/subtf3.c: Likewise.
7795         * soft-fp/truncdfsf2.c: Likewise.
7796         * soft-fp/trunctfdf2.c: Likewise.
7797         * soft-fp/trunctfsf2.c: Likewise.
7798         * soft-fp/trunctfxf2.c: Likewise.
7799         * soft-fp/unorddf2.c: Likewise.
7800         * soft-fp/unordsf2.c: Likewise.
7801         * soft-fp/unordtf2.c: Likewise.
7803 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
7805         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
7806         (_FP_MUL_MEAT_D): Ditto.
7807         (_FP_DIV_MEAT_S): Ditto.
7808         (_FP_DIV_MEAT_D): Ditto.
7809         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
7810         t-softfp-sfdf and t-softfp to tmake_file.
7812 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
7814         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
7815         * config/i386/crtprec.c: Ditto.
7817 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
7818             Shiva Chen  <shiva0217@gmail.com>
7820         * config.host (nds32*-elf*): Add nds32 target.
7821         * config/nds32 : New directory and files.
7823 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
7825         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
7826         * config.host (cpu_type) <Setting default>: Add entry for
7827         crisv32-*-*.
7828         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
7829         <crisv32-*-linux*>: Adjust.
7830         * longlong.h: Wrap the whole CRIS section in a single
7831         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
7832         and sub_ddmmss.
7833         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
7834         defined.
7835         [__CRIS__] (__umulsidi3): Define.
7836         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
7837         * config/cris/sfp-machine.h: New file.
7838         * config/cris/umulsidi3.S: New file.
7839         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
7840         * config/cris/arit.c (SIGNMULT): New macro.
7841         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
7842         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
7843         saving 3 out of originally 33 cycles from the fastest
7844         path, 3 out of 54 from the medium path and one from the longest
7845         path.  Improve comments.
7847 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
7849         * sync.c: Remove static aliases and define each function directly
7850         under its real name.
7852 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
7854         * config.host (hppa*64*-*-linux*): Define extra_parts.
7855         (hppa*-*-linux*): Likewise.
7857 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
7859         * config/arc/crtgend.S: Add 2013 to Copyright years.
7860         * config/arc/gmon/atomic.h: Likewise.
7861         * config/arc/gmon/auxreg.h: Likewise.
7862         * config/arc/gmon/sys/gmon_out.h: Likewise.
7863         * config/arc/gmon/sys/gmon.h: Likewise.
7864         * config/arc/gmon/prof-freq.c: Likewise.
7865         * config/arc/gmon/mcount.c: Likewise.
7866         * config/arc/gmon/prof-freq-stub.S: Likewise.
7867         * config/arc/gmon/gmon.c: Likewise.
7868         * config/arc/gmon/machine-gmon.h: Likewise.
7869         * config/arc/gmon/profil.S: Likewise.
7870         * config/arc/gmon/dcache_linesz.S: Likewise.
7871         * config/arc/crtg.S: Likewise.
7872         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
7873         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
7874         * config/arc/ieee-754/adddf3.S: Likewise.
7875         * config/arc/ieee-754/truncdfsf2.S: Likewise.
7876         * config/arc/ieee-754/fixsfsi.S: Likewise.
7877         * config/arc/ieee-754/gtsf2.S: Likewise.
7878         * config/arc/ieee-754/floatsisf.S: Likewise.
7879         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
7880         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
7881         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
7882         * config/arc/ieee-754/fixdfsi.S: Likewise.
7883         * config/arc/ieee-754/addsf3.S: Likewise.
7884         * config/arc/ieee-754/gesf2.S: Likewise.
7885         * config/arc/ieee-754/floatsidf.S: Likewise.
7886         * config/arc/ieee-754/extendsfdf2.S: Likewise.
7887         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
7888         * config/arc/ieee-754/gtdf2.S: Likewise.
7889         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
7890         * config/arc/ieee-754/uneqdf2.S: Likewise.
7891         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
7892         * config/arc/ieee-754/uneqsf2.S: Likewise.
7893         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
7894         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
7895         * config/arc/ieee-754/eqdf2.S: Likewise.
7896         * config/arc/ieee-754/ordsf2.S: Likewise.
7897         * config/arc/ieee-754/divsf3.S: Likewise.
7898         * config/arc/ieee-754/divdf3.S: Likewise.
7899         * config/arc/ieee-754/floatunsidf.S: Likewise.
7900         * config/arc/ieee-754/orddf2.S: Likewise.
7901         * config/arc/ieee-754/eqsf2.S: Likewise.
7902         * config/arc/ieee-754/gedf2.S: Likewise.
7903         * config/arc/crtn.S: Likewise.
7904         * config/arc/crti.S: Likewise.
7905         * config/arc/t-arc700-uClibc: Likewise.
7906         * config/arc/asm.h: Likewise.
7907         * config/arc/libgcc-excl.ver: Likewise.
7908         * config/arc/t-arc-newlib: Likewise.
7909         * config/arc/divtab-arc700.c: Likewise.
7910         * config/arc/initfini.c: Likewise.
7911         * config/arc/fp-hack.h: Likewise.
7913 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
7914             Diego Novillo  <dnovillo@google.com>
7916         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
7917         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
7918         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
7919         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
7921 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
7922             Brendan Kehoe  <brendan@zen.org>
7923             Simon Cook  <simon.cook@embecosm.com>
7925         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
7926         * config/arc: New directory.
7927         * longlong.h [__arc__] (umul_ppmm): Remove.
7928         [__arc__] (__umulsidi3): Define.
7929         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
7930         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
7932 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
7934         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
7935         CreateSemaphoreA.
7936         * config/i386/gthr-win32.h: Likewise.
7938 2013-09-16  DJ Delorie  <dj@redhat.com>
7940         * config/rl78/vregs.h: Add G10 register definitions.
7941         * config/rl78/lib2mul.c: Enable for RL78/G10.
7942         * config/rl78/lib2div.c: Likewise.
7943         * config/rl78/lshrsi3.S: Use vregs.h.
7944         * config/rl78/cmpsi2.S: Likewise.
7945         * config/rl78/trampoline.S: Likewise.
7946         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
7948 2013-09-14  DJ Delorie  <dj@redhat.com>
7949             Nick Clifton  <nickc@redhat.com>
7951         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
7952         * config/rl78/vregs.h: New.
7953         * config/rl78/signbit.S: New file.  Implements signbit function.
7954         * config/rl78/divmodsi.S: New.
7955         * config/rl78/divmodhi.S: New.
7956         * config/rl78/divmodqi.S: New.
7957         * config/rl78/t-rl78: Build them here...
7958         * config/rl78/lib2div.c: ...but not here.
7960 2013-09-12  DJ Delorie  <dj@redhat.com>
7962         * config.host (msp*-*-elf): New.
7963         * config/msp430/: New port.
7965 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
7967         PR gcov-profile/58127
7968         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
7969         __thread var for emulated TLS.
7970         (__gcov_indirect_call_counters): Likewise.
7972 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
7973             Catherine Moore  <clm@codesourcery.com>
7974             Richard Sandiford  <rdsandiford@googlemail.com>
7976         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
7977         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
7978         (CALL_STUB_NO_RET): Likewise.
7979         (CALL_STUB_RET): Likewise.
7980         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
7981         __mips16_ret call/return stub symbols.
7982         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
7983         to tmake_file.
7985 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
7987         * config.host <mips*-*-linux*>: Remove a stray comment.
7989 2013-08-10  Jan Hubicka  <jh@suse.cz>
7991         Work around binutils PR14342
7992         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
7993         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
7994         (L_gcov_indirect_call_profiler_v2): New.
7996 2013-08-06  Jan Hubicka  <jh@suse.cz>
7998         * libgcov.c (__gcov_indirect_call_callee,
7999         __gcov_indirect_call_counters): New global vars.
8000         (__gcov_indirect_call_profiler): replace by ...
8001         (__gcov_indirect_call_profiler_v2) ... this one.
8003 2013-08-06  Caroline Tice  <cmtice@google.com>
8005         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
8006         vtv_start_preinit.o and vtv_end_preinit.o.
8007         * configure.ac: Add code to check/set enable_vtable_verify.
8008         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
8009         true.
8010         * vtv_start_preinit.c: New file.
8011         * vtv_end_preinit.c: New file.
8012         * vtv_start.c: New file.
8013         * vtv_end.c: New file.
8014         * configure: Regenerated.
8016 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
8018         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
8019         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
8020         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
8021         GPL-3.0-with-GCC-exception.
8023 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
8025         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
8026         ISA and up.
8028 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8030         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
8031         mapping for FPRs when creating the fallback framestate.
8033 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
8035         PR target/57516
8036         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
8037         (__round_s2_const, __round_u2_const)
8038         (__round_s4_const, __round_u4_const, __round_x8):
8039         Saturate result if addition result cannot be represented.
8041 2013-07-15  Matthias Klose  <doko@ubuntu.com>
8043         * libgcc2.c: Don't include <limits.h>.
8045 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
8047         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
8049 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
8051         PR target/29776
8052         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
8054 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
8056         PR middle-end/36041
8057         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
8058         Define.
8059         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
8060         instead of table lookups.
8061         (__popcountDI2): Likewise.
8063 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
8065         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
8066         correctly.
8068 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
8070         PR other/53317
8071         * soft-fp/adddf3.c: Update from glibc.
8072         * soft-fp/addsf3.c: Likewise.
8073         * soft-fp/addtf3.c: Likewise.
8074         * soft-fp/divdf3.c: Likewise.
8075         * soft-fp/divsf3.c: Likewise.
8076         * soft-fp/divtf3.c: Likewise.
8077         * soft-fp/double.h: Likewise.
8078         * soft-fp/eqdf2.c: Likewise.
8079         * soft-fp/eqsf2.c: Likewise.
8080         * soft-fp/eqtf2.c: Likewise.
8081         * soft-fp/extenddftf2.c: Likewise.
8082         * soft-fp/extended.h: Likewise.
8083         * soft-fp/extendsfdf2.c: Likewise.
8084         * soft-fp/extendsftf2.c: Likewise.
8085         * soft-fp/fixdfdi.c: Likewise.
8086         * soft-fp/fixdfsi.c: Likewise.
8087         * soft-fp/fixsfdi.c: Likewise.
8088         * soft-fp/fixsfsi.c: Likewise.
8089         * soft-fp/fixtfdi.c: Likewise.
8090         * soft-fp/fixtfsi.c: Likewise.
8091         * soft-fp/fixunsdfdi.c: Likewise.
8092         * soft-fp/fixunsdfsi.c: Likewise.
8093         * soft-fp/fixunssfdi.c: Likewise.
8094         * soft-fp/fixunssfsi.c: Likewise.
8095         * soft-fp/fixunstfdi.c: Likewise.
8096         * soft-fp/fixunstfsi.c: Likewise.
8097         * soft-fp/floatdidf.c: Likewise.
8098         * soft-fp/floatdisf.c: Likewise.
8099         * soft-fp/floatditf.c: Likewise.
8100         * soft-fp/floatsidf.c: Likewise.
8101         * soft-fp/floatsisf.c: Likewise.
8102         * soft-fp/floatsitf.c: Likewise.
8103         * soft-fp/floatundidf.c: Likewise.
8104         * soft-fp/floatundisf.c: Likewise.
8105         * soft-fp/floatunditf.c: Likewise.
8106         * soft-fp/floatunsidf.c: Likewise.
8107         * soft-fp/floatunsisf.c: Likewise.
8108         * soft-fp/floatunsitf.c: Likewise.
8109         * soft-fp/gedf2.c: Likewise.
8110         * soft-fp/gesf2.c: Likewise.
8111         * soft-fp/getf2.c: Likewise.
8112         * soft-fp/ledf2.c: Likewise.
8113         * soft-fp/lesf2.c: Likewise.
8114         * soft-fp/letf2.c: Likewise.
8115         * soft-fp/muldf3.c: Likewise.
8116         * soft-fp/mulsf3.c: Likewise.
8117         * soft-fp/multf3.c: Likewise.
8118         * soft-fp/negdf2.c: Likewise.
8119         * soft-fp/negsf2.c: Likewise.
8120         * soft-fp/negtf2.c: Likewise.
8121         * soft-fp/op-1.h: Likewise.
8122         * soft-fp/op-2.h: Likewise.
8123         * soft-fp/op-4.h: Likewise.
8124         * soft-fp/op-8.h: Likewise.
8125         * soft-fp/op-common.h: Likewise.
8126         * soft-fp/quad.h: Likewise.
8127         * soft-fp/single.h: Likewise.
8128         * soft-fp/soft-fp.h: Likewise.
8129         * soft-fp/subdf3.c: Likewise.
8130         * soft-fp/subsf3.c: Likewise.
8131         * soft-fp/subtf3.c: Likewise.
8132         * soft-fp/truncdfsf2.c: Likewise.
8133         * soft-fp/trunctfdf2.c: Likewise.
8134         * soft-fp/trunctfsf2.c: Likewise.
8135         * soft-fp/unorddf2.c: Likewise.
8136         * soft-fp/unordsf2.c: Likewise.
8137         * soft-fp/unordtf2.c: Likewise.
8138         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
8139         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8140         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8141         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8142         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8143         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8144         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8145         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8146         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8147         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
8148         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
8149         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8151 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
8153         * config/mips/lib2funcs.c: New file.
8154         * config/mips/t-mips (LIB2ADD_ST): Add it.
8156 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
8158         PR target/6526
8159         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
8160         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
8162 2013-06-08  Walter Lee  <walt@tilera.com>
8164         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
8165         Replace int64_t with long long.  Add __extension__ where
8166         appropriate.
8167         * config/tilepro/atomic.c: Include config.h.
8169 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
8171         * config.host (arm-wrs-vxworks): Configure with other soft float.
8173 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
8175         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
8176         (mips64r5900el-*-elf*): New configurations.
8178 2013-06-04  Alan Modra  <amodra@gmail.com>
8180         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
8182 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
8184         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
8186 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
8188         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
8189         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
8190         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
8192 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
8194         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
8195         (powerpc-wrs-vxworks): Likewise.
8197 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
8199         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
8200         signal frames as well.
8201         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
8202         STACK_BIAS to the CFA offset.
8204 2013-05-17  Richard Henderson  <rth@redhat.com>
8206         PR target/49146
8207         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
8208         (execute_cfa_program): Use it when storing to fs->regs.
8210 2013-05-08  Kai Tietz  <ktietz@redhat.com>
8212         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
8213         (__deregister_frame_info): Likewise.
8215 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
8217         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
8218         NaN's payload.
8220         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
8222 2013-04-25  Alan Modra  <amodra@gmail.com>
8224         * config.host: Match little-endian powerpc-linux.
8226 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
8228         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
8229         as 'unsigned long long' instead of 'unsigned long'.
8230         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
8231         'signed long'.
8233 2013-04-10  Julian Brown  <julian@codesourcery.com>
8235         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
8236         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
8237         unsigned char/unsigned short.
8238         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
8240 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8242         PR other/55274
8243         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
8245 2013-04-04  Meador Inge  <meadori@codesourcery.com>
8247         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
8248         computing the location of the link register.
8249         (aeabi_uldivmod): Ditto.
8251 2013-03-27  Kai Tietz  <ktietz@redhat.com>
8253         * config.host: Add support for cygwin x64 target.
8254         * configure: Regenerated.
8256 2013-03-26  Walter Lee  <walt@tilera.com>
8258         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
8259         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
8261 2013-03-25  Kai Tietz  <ktietz@redhat.com>
8263         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
8265 2013-03-20  Robert Mason  <rbmj@verizon.net>
8267         * config/vxlib-tls.c (__gthread_get_tsd_data,)
8268         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
8269         (__gthread_leave_tsd_dtor_context): Add prototypes.
8270         (tls_delete_hook): Update.
8272 2013-03-20  Catherine Moore  <clm@codesourcery.com>
8273             Joseph Myers  <joseph@codesourcery.com>
8274             Chao-ying Fu  <fu@mips.com>
8276         * config/mips/mips16.S:  Don't build for microMIPS.
8277         * config/mips/linux-unwind.h: Handle microMIPS frame.
8278         * config/mips/crtn.S (fini, init): New labels.
8280 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
8282         PR tree-optimization/53265
8283         * unwind-dw2.c (execute_cfa_program): Avoid
8284         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
8285         on targets with DWARF_FRAME_REGISTERS < 32.
8287 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
8289         PR target/49880
8290         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
8291         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
8293 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
8295         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
8296         sandybridge processors.
8298 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
8300         PR target/56529
8301         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
8302         inclusion list.
8304 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
8306         * config/microblaze/crti.S: Setup stack protection at entry
8308 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
8310         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
8311         (__rotldi3): Shift bytewise if applicable.
8313 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
8315         * config/aarch64/sync-cache.c
8316         (__aarch64_sync_cache_range): Silence warnings.
8318 2013-02-25  Catherine Moore  <clm@codesourcery.com>
8320         Revert:
8321         2013-02-24  Catherine Moore  <clm@codesourcery.com>
8322             Joseph Myers  <joseph@codesourcery.com>
8323             Chao-ying Fu  <fu@mips.com>
8325         * config/mips/mips16.S:  Don't build for microMIPS.
8326         * config/mips/linux-unwind.h: Handle microMIPS frame.
8327         * config/mips/crtn.S (fini, init): New labels.
8329 2013-02-24  Catherine Moore  <clm@codesourcery.com>
8330             Joseph Myers  <joseph@codesourcery.com>
8331             Chao-ying Fu  <fu@mips.com>
8333         * config/mips/mips16.S:  Don't build for microMIPS.
8334         * config/mips/linux-unwind.h: Handle microMIPS frame.
8335         * config/mips/crtn.S (fini, init): New labels.
8337 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
8338         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
8339         as dividend.
8341 2013-02-16  Alan Modra  <amodra@gmail.com>
8343         PR target/55431
8344         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
8345         (ppc_fallback_frame_state): Always set up save locations for fp
8346         and altivec.  Don't bother with non-callee-saved regs, r0-r13
8347         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
8349 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
8351         PR target/54222
8352         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
8353         _ssmulHA, _ssmulSA.
8354         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
8355         _ssmulha3, _usmulusa3, _ssmulsa3.
8356         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
8357         (__muldi3): XCALL __muldi3_6 instead of rcall.
8358         (__umulsidi3, __mulsidi3): New functions.
8359         (do_prologue_saves, do_epilogue_restores): New .macros.
8360         (__divdi3_moddi3): Use them.
8361         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
8362         (__usmulusa3, __ssmulsa3): New functions.
8364 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
8365             Jack Howarth  <howarth@bromo.med.uc.edu>
8366             Patrick Marlier  <patrick.marlier@gmail.com>
8368         PR libitm/55693
8369         * config/darwin-crt-tm.c: Remove dummy functions hack.
8371 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
8373         PR target/54222
8374         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
8375         * config/avr/lib2-object.mk: New iterator to build objects from it.
8376         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
8377         lib2funcs.c.
8378         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
8379         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
8380         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
8381         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
8382         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
8383         * config/avr/lib1funcs-fixed.S: Implement them.
8385 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
8387         Update copyright years.
8389 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
8391         PR target/54601
8392         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
8393         Add crtcxa to extra_parts.
8394         * config/rs6000/exit.h: New file.
8395         * config/rs6000/cxa_atexit.c: New file.
8396         * config/rs6000/cxa_finalize.c: New file.
8397         * config/rs6000/crtcxa.c: New file.
8398         * config/rs6000/t-aix-cxa: New file.
8399         * config/rs6000/libgcc-aix-cxa.ver: New file.
8401 2013-01-31  Nick Clifton  <nickc@redhat.com>
8403         * config/v850/lib1funcs.S: Add support for e3v5 architecture
8404         variant.
8406 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
8408         PR target/54222
8409         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
8410         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
8411         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
8412         _divQQ,  _divHQ,  _divHA,  _divSA,
8413         _divUQQ, _divUHQ, _divUHA, _divUSA.
8415 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
8417         * config.host(microblaze*-linux*): tmake_file: Remove
8418         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
8419         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
8420         to exclude functions from being built with libgcc.c and use
8421         the microblaze assembly.
8423 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
8425         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
8426         extra_parts.
8428 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
8430         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
8431         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
8432         __UINTPTR_TYPE__; also cast 'base' to the same type before the
8433         alignment operation.
8435 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
8437         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
8438         loop start address for cache clearing.
8440 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
8442         * config/avr/lib1funcs.S: Remove trailing blanks.
8443         * config/avr/lib1funcs-fixed.S: Ditto.
8445 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
8447         * config/avr/avr-lib.h: Add GPL copyright notice.
8449 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
8451         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
8452         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
8453         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
8454         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
8456 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
8458         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
8459         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
8461 2013-01-04  Nick Clifton  <nickc@redhat.com>
8463         * config/v850/lib1funcs.S: Only provide CALLT support functions if
8464         the CALLT instruction is supported.
8466 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
8468         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
8469         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
8471 2012-12-13  John Tytgat  <John@bass-software.com>
8473         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
8474         is 25.
8476 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
8478         PR libgcc/55451
8479         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
8480         undefined signed overflows.
8482 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
8484         PR target/55344
8485         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
8487 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
8489         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
8490         (FP_TRAPPING_EXCEPTIONS): Define.
8491         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
8492         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
8494 2012-12-04  Richard Henderson  <rth@redhat.com>
8496         PR bootstrap/55571
8497         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
8499 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8501         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
8502         (FP_EX_SHIFT): Define.
8503         (FP_TRAPPING_EXCEPTIONS): Define.
8505 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8507         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
8508         (FP_ROUNDMODE): Use FP_RND_MASK.
8509         * config/aarch64/sfp-exceptions.c: New.
8510         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8511         Use __sfp_handle_exceptions.
8513 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
8515         * config.host: (arm*-*-freebsd*): Remove.
8516         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
8517         (arm*-*-elf*): Remove.
8518         (arm*-*-wince-pe*): Remove.
8519         * arm/unwind-arm.c (struct fpa_reg): Delete.
8520         (struct fpa_regs): Delete.
8521         (phase1_vrs): Remove fpa element.
8522         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
8523         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
8524         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
8525         * ieee754-sf.S (floatundisf): Remove FPA support.
8526         (floatdisf): Likewise.
8527         * ieee75f-df.S (floatundidf): Likewise.
8528         (floatdidf): Likewise.
8530 2012-11-29  Kai Tietz  <ktietz@redhat.com>
8532         PR target/55445
8533         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
8534         * unwind-generic.h: Likewise.
8535         * unwind-seh.c: Likewise.
8537 2012-11-28  Richard Henderson  <rth@redhat.com>
8539         PR libgcc/48076
8540         * emutls.c (__emutls_get_address): Avoid race condition between
8541         obj->loc.offset read and emutls_key initialization.
8543 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
8545         Adjust decimal point of signed accum mode to GCC default.
8547         PR target/54222
8548         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
8549         _divqq_helper.
8550         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
8551         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
8552         (__mulha3, __mulsa3)
8553         (__divqq3, __divha3, __divsa3): Adjust to new position of
8554         decimal point of signed accum types.
8556         (__mulusa3_round): New function.
8557         (__mulusa3): Use it.
8558         (__divqq_helper): New function.
8559         (__udivuqq3): Use it.
8561 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
8563         PR bootstrap/55370
8564         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
8566 2012-11-18  Teresa Johnson  <tejohnson@google.com>
8568         PR bootstrap/55051
8569         * libgcov.c (gcov_exit): Remove merged program summary
8570         comparison unless !GCOV_LOCKED.
8572 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8574         * soft-fp: Updated from glibc upstream.
8576 2012-11-06  Ian Lance Taylor  <iant@google.com>
8578         * generic-morestack.c (__generic_morestack): Align the returned
8579         stack pointer to a 32 byte boundary.
8580         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
8581         increment the return address until we have decided that we don't
8582         have a varargs function.
8583         (__morestack) [32-bit]: Align stack correctly when calling C
8584         functions.
8585         (__morestack) [64-bit]: Likewise.
8587 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
8589         * configure: Regenerate.
8591 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
8593         PR target/55175
8594         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
8595         * config/i386/sfp-machine.h: Guard exception handling
8596         code with _SOFT_FLOAT.
8597         * config/i386/32/sfp-machine.h: Guard rounding handling
8598         code with _SOFT_FLOAT.
8599         * config/i386/64/sfp-machine.h: Ditto.
8601 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
8603         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
8604         as extra_parts.
8606 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
8608         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
8609         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
8610         when appropriate.  Correct structure element types.
8611         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
8612         -minline-all-stringops from compile flags.
8614 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
8616         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
8618 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
8620         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
8622 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
8624         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
8625         tmake_file.
8627 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
8628             Jim MacArthur  <jim.macarthur@arm.com>
8629             Marcus Shawcroft  <marcus.shawcroft@arm.com>
8630             Nigel Stephens  <nigel.stephens@arm.com>
8631             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
8632             Richard Earnshaw  <rearnsha@arm.com>
8633             Sofiane Naci  <sofiane.naci@arm.com>
8634             Stephen Thomas  <stephen.thomas@arm.com>
8635             Tejas Belagod  <tejas.belagod@arm.com>
8636             Yufeng Zhang  <yufeng.zhang@arm.com>
8638         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
8639         * config/aarch64/crti.S: New file.
8640         * config/aarch64/crtn.S: New file.
8641         * config/aarch64/linux-unwind.h: New file.
8642         * config/aarch64/sfp-machine.h: New file.
8643         * config/aarch64/sync-cache.c: New file.
8644         * config/aarch64/t-aarch64: New file.
8645         * config/aarch64/t-softfp: New file.
8647 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
8649         * config/mmix/crti.S: Mark program and data addresses using PRELD.
8650         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
8651         no-longer-needed LDBU insns.
8653 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
8655         * config.host
8656         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
8657         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
8659 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
8661         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
8663 2012-10-15  Matthias Klose  <doko@ubuntu.com>
8665         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
8667 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
8669         * configure: Regenerate.
8670         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
8672 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
8674         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8675         instructions for 64bit targets only.
8677 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
8679         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8680         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
8681         * config/i386/32/sfp-machine.h: ... here.
8682         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
8683         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
8684         New defines.
8686 2012-10-07  Matthias Klose  <doko@ubuntu.com>
8688         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
8689         as unused.
8690         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
8692 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
8694         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
8695         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
8696         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
8697         (ElfW): Likewise.
8699 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
8701         PR other/53889
8702         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8703         Fix parameter names.
8705 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
8707         PR target/33135
8708         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
8709         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
8710         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
8712 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
8714         PR target/50457
8715         * config/sh/linux-atomic.S: Delete.
8716         * config/sh/linux-atomic.c: New.
8717         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
8718         linux-atomic.c.  Add cflags to disable warnings.
8720 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
8722         PR other/53889
8723         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
8724         function.
8725         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
8726         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
8727         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
8728         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
8729         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
8730         Likewise.
8731         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8732         Likewise.
8733         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
8734         Likewise.
8735         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
8736         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
8738 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
8740         * config.host (hppa-*-openbsd*): New target.
8741         * config/pa/t-openbsd: New file.
8743 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
8745         PR target/54222
8746         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
8747         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
8748         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
8749         (__divsa3): Use __negsi2 to negate r_quoL.
8750         * config/avr/lib1funcs.S (FALIAS): New macro.
8751         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
8752         (__negsi2): ...this new function.
8753         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
8754         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
8755         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
8756         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
8757         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
8758         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
8760 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
8762         PR target/54089
8763         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
8764         (lshrsi3): Reimplement as lshrsi3_r0.
8766 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
8768         PR target/46191
8769         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
8770         of libgcc.a.
8772 2012-09-07  Teresa Johnson  <tejohnson@google.com>
8774         PR gcov-profile/54487
8775         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
8776         differences.
8778 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
8780         PR target/54461
8781         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
8782         not configured --with-avrlibc=no.
8783         * config/avr/t-avrlibc: New file.
8784         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
8785         (DPBIT_FUNCS): Ditto.
8786         (TPBIT_FUNCS): Ditto.
8788 2012-09-04  Teresa Johnson  <tejohnson@google.com>
8790         * libgcov.c (struct gcov_summary_buffer): New structure.
8791         (gcov_histogram_insert): New function.
8792         (gcov_compute_histogram): Ditto.
8793         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
8794         histograms during summary merging.
8796 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
8798         * config.host (x86_64-*-openbsd*): New target.
8800 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
8802         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
8803         attribute.
8805 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
8807         PR target/54222
8808         * config/avr/t-avr (conv_X): Rename to func_X.
8810 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
8812         PR target/54222
8813         * config/avr/lib1funcs-fixed.S: New file.
8814         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
8815         after they are used.
8816         (neg2, neg4): New macros.
8817         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
8818         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
8819         (__umulhisi3): Speed up MUL variant if there is enough flash.
8820         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
8821         avr-modes.def.
8822         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
8823         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
8824         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
8825         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
8826         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
8827         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
8828         (LIB2FUNCS_EXCLUDE): Add supported functions.
8830 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
8832         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
8833         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
8834         libgcc-s-objects.
8835         * fixed-obj.mk: Only expand dependency if $o is not in
8836         LIB2FUNCS_EXCLUDE.
8838 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
8840         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
8842 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
8844         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
8845         depend on --enable-shared.
8846         ($(lib1asmfuncs-o)): Use %.vis files independent of
8847         --enable-shared.
8848         * static-object.mk ($(base)$(objext), $(base).vis)
8849         ($(base)_s$(objext)): Use same rules for visibility handling as in
8850         shared-object.mk.
8852 2012-08-21  Ian Lance Taylor  <iant@google.com>
8854         * config/i386/morestack.S (__morestack_non_split): Increase amount
8855         of space allocated for non-split code stack.
8857 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
8859         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
8860         even if inhibit_libc.
8862 2012-08-17  Julian Brown  <julian@codesourcery.com>
8864         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
8865         -fexceptions -fnon-call-exceptions if not defined.
8866         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
8867         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
8869 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
8871         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
8872         type.
8874 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
8876         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
8877         rs6000/t-slibgcc-aix.
8879 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
8881         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
8883 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
8885         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
8887 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
8889         PR driver/54171
8890         * Makefile.in (version): Replace top_srcdir with srcdir.
8892 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
8894         * Makefile.in (version): set to BASE-VER file from gcc directory.
8896 2012-08-01  Nick Clifton  <nickc@redhat.com>
8898         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
8899         Implements __clrsb for an HImode argument.
8901 2012-07-31  Nick Clifton  <nickc@redhat.com>
8903         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
8904         Implements __clrsb for an HImode argument.
8905         * config/stormy16/clrsbhi2.c: New file:
8906         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
8908 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
8910         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
8912 2012-07-19  Tristan Gingold  <gingold@adacore.com>
8913             Richard Henderson  <rth@redhat.com>
8915         * unwind-seh.c: New file.
8916         * unwind-generic.h: Include windows.h for SEH.
8917         (_Unwind_Exception): Use 6 private fields for SEH.
8918         (_GCC_specific_handler): Declare.
8919         * unwind-c.c (__gcc_personality_seh0): New function.
8920         Adjust for SEH.
8921         * config/i386/libgcc-cygming.ver: New file.
8922         * config/i386/t-seh-eh: New file.
8923         * config.host (x86_64-*-mingw*): Default to seh.
8925 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
8927         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
8929 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
8931         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
8932         __builtin_expect when checking for exceptions.
8933         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
8935 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
8937         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
8938         function declaration.
8939         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8940         (FP_RND_MASK): New.
8941         * config/ia64/sfp-exceptions.c: New.
8942         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
8944 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
8946         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
8947         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
8948         * config/i386/64/sfp-machine: ... (delete here) ...
8949         * config/i386/sfp-machine.h: ... to here.
8950         (FP_EX_MASK): Remove.
8951         (FP_RND_MASK): New.
8952         (FP_INIT_ROUNDMODE): Declare asm as volatile.
8954 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
8956         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
8957         * config/i386/libgcc-sol2.ver: Ditto.
8958         * config/i386/libgcc-glibc.ver: Ditto.
8960 2012-06-11  Roland McGrath  <mcgrathr@google.com>
8962         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
8963         If __GLIBC__ is defined, refer to __pthread_key_create instead of
8964         pthread_cancel.
8966 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
8968         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
8969         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
8970         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
8971         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8972         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
8973         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
8974         * config/i386/64/sfp-machine: ... (delete here) ...
8975         * config/i386/sfp-machine.h: ... to here.
8976         (FP_EX_MASK): New.
8977         (__sfp_handle_exceptions): New function declaration.
8978         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8979         * config/i386/sfp-exceptions.c: New.
8980         * config/i386/t-softfp: New.
8981         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
8982         i386/t-softfp to tmake_file.
8984 2012-06-03  David S. Miller  <davem@davemloft.net>
8986         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
8987         change.
8989 2012-05-31  David S. Miller  <davem@davemloft.net>
8991         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
8992         multiply and divide instructions on 32-bit when V9.
8993         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
8995 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
8997         * config/arm/ieee754-df.S: Fix typos.
8998         * config/arm/ieee754-sf.S: Fix typos.
8999         * config/c6x/libunwind.S: Fix typos.
9000         * config/epiphany/udivsi3-float.c: Fix typos.
9001         * config/microblaze/muldi3_hard.S: Fix typos.
9002         * config/picochip/adddi3.S: Fix typos.
9003         * config/picochip/ashlsi3.S: Fix typos.
9004         * config/picochip/ashrsi3.S: Fix typos.
9005         * config/picochip/clzsi2.S: Fix typos.
9006         * config/picochip/cmpsi2.S: Fix typos.
9007         * config/picochip/divmod15.S: Fix typos.
9008         * config/picochip/divmodhi4.S: Fix typos.
9009         * config/picochip/divmodsi4.S: Fix typos.
9010         * config/picochip/longjmp.S: Fix typos.
9011         * config/picochip/lshrsi3.S: Fix typos.
9012         * config/picochip/parityhi2.S: Fix typos.
9013         * config/picochip/popcounthi2.S: Fix typos.
9014         * config/picochip/setjmp.S: Fix typos.
9015         * config/picochip/subdi3.S: Fix typos.
9016         * config/picochip/ucmpsi2.S: Fix typos.
9017         * config/picochip/udivmodhi4.S: Fix typos.
9018         * config/picochip/udivmodsi4.S: Fix typos.
9019         * config/spu/divv2df3.c: Fix typos.
9020         * config/spu/mfc_multi_tag_release.c: Fix typos.
9021         * config/spu/mfc_tag_release.c: Fix typos.
9022         * configure.ac: Fix typos.
9023         * configure: Regenerate.
9025 2012-05-25  Ian Lance Taylor  <iant@google.com>
9027         * config/i386/morestack.S (__morestack_non_split): Check whether
9028         caller is varargs and needs %bp to hold the stack frame on return.
9030 2012-05-25  Olivier Hainque  <hainque@adacore.com>
9032         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
9033         sequence in the non pic case on VxWorks.
9035 2012-05-24  Olivier Hainque  <hainque@adacore.com>
9037         * Makefile.in: Move dependency on install-unwind_h from
9038         "install-leaf" to "install".
9040 2012-05-24  Olivier Hainque  <hainque@adacore.com>
9042         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
9043         Use a separate command for stamp removals.
9045 2012-05-21  Andrew Pinski  <apinski@cavium.com>
9047         PR bootstrap/53183
9048         * configure.ac: Define the default includes to being none.
9049         * configure: Regenerate.
9051 2012-05-16  Olivier Hainque  <hainque@adacore.com>
9053         * Makefile.in (install-unwind_h): Rename into ...
9054         (install-unwind_h-forbuild): New target.
9055         (all): Use it instead of the former install-unwind_h.
9056         (install-unwind_h): Reinstate, copy to user install destination
9057         for include files, not to the internal gcc object directory one.
9058         (install-leaf): Depend on it.
9060 2012-05-15  Olivier Hainque  <hainque@adacore.com>
9062         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
9063         register numbers. LR_REGNO replaces R_LR.
9064         (ucontext_for): New, helper for ...
9065         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
9066         and 5.3 of ...
9067         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
9069 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9071         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
9072         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
9073         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
9074         i386/t-cpuinfo ...
9075         (i[34567]86-*-*, x86_64-*-*): ... here.
9077         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
9078         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
9080         * config/i386/i386-cpuinfo.c: Rename to ...
9081         * config/i386/cpuinfo.c: ... this.
9082         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
9084         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
9085         (libgcc_cv_init_priority): New test.
9086         * configure: Regenerate.
9087         * config.in: New file.
9088         * Makefile.in (clean): Rename config.h to auto-target.h.
9089         (config.h): Likewise.
9090         (stamp-h): Likewise.
9092         * config/i386/cpuinfo.c (auto-target.h): Include.
9093         (CONSTRUCTOR_PRIORITY): Define.
9094         (__cpu_indicator_init): Use it.
9096 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
9098         * longlong.h: Use a URL instead of an FSF postal address.
9099         Replace spaces with tab.
9101 2012-05-08  Teresa Johnson  <tejohnson@google.com>
9103         * libgcov.c (gcov_clear, __gcov_reset): New functions.
9104         (__gcov_dump): Ditto.
9105         (gcov_dump_complete): New global variable.
9106         (gcov_exit): Export hidden to enable use in L_gcov_dump.
9107         (__gcov_flush): Outline functionality now in gcov_clear.
9108         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
9110 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
9112         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
9113         (mips*-*-linux*): Include mips/t-tpbit when long double is
9114         16 bytes long.
9116 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
9118         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
9119         (get_available_features): New argument. Check for AVX2.
9120         (__cpu_indicator_init): Modify call to get_available_features.
9122 2012-04-25  Alan Modra  <amodra@gmail.com>
9124         * config/rs6000/crtsavevr.S: New file.
9125         * config/rs6000/crtrestvr.S: New file.
9126         * config/rs6000/t-savresfgpr: Build the above.
9127         * config/rs6000/t-netbsd: Likewise.
9129 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
9131         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
9133 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
9135         * libgcc/config/i386/i386-cpuinfo.c: New file.
9136         * libgcc/config/i386/t-cpuinfo: New file.
9137         * libgcc/config.host: Include t-cpuinfo.
9138         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
9140 2012-04-24  Chao-ying Fu  <fu@mips.com>
9142         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
9144 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
9146         struct siginfo vs. siginfo_t
9148         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
9149         siginfo_t instead of struct siginfo.
9150         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
9151         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
9152         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
9153         (ia64_handle_unwabi): Likewise.
9154         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
9155         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
9156         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
9157         (sh_fallback_frame_state): Likewise.
9158         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
9159         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
9161 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
9163         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
9164         system call number.
9166 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
9168         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
9169         if it hasn't been previously saved.
9171 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
9173         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
9174         only for glibc.
9176 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
9178         PR target/52737
9179         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
9180         instead of __AVR_HAVE_8BIT_SP__.
9182 2012-03-26  Tristan Gingold  <gingold@adacore.com>
9184         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
9185         (unw_table_entry): Use unw_word instead of unsigned long.
9186         (_Unwind_FindTableEntry): Likewise.
9187         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
9188         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
9189         (_Unwind_FindTableEntry): Likewise.
9190         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
9191         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
9192         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
9193         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
9194         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
9195         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
9196         (uw_init_context_1, uw_install_context): Likewise.
9197         (unw_word): Move to unwind-ia64.h
9199 2012-03-26  Tristan Gingold  <gingold@adacore.com>
9201         * config/vms/vms-ucrt0.c: Update copyright years.
9202         Add a sanity check.
9203         (___gcc_main_flags): Declare.
9204         (__main): Check flags to remap argv and exit code.
9205         * config.host (*-*-*vms*): Adjust extra_parts.
9206         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
9207         (crt0.o): Add.
9209 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
9211         * arm/lib1funcs.asm (ctzsi2): New function.
9212         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
9213         * arm/t-linux (LIB1ASMFUNCS): Likewise.
9214         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
9215         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
9216         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
9217         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
9219 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
9221         * config.host: Add bits to support powerpc64-*-freebsd*.
9222         * config/rs6000/freebsd-unwind.h: New file.
9223         * config/rs6000/t-freebsd64: New file.
9225 2012-03-20  Richard Guenther  <rguenther@suse.de>
9227         PR gcov-profile/52627
9228         * libgcov.c (init_mx): Fix mutex name.
9230 2012-03-16  Tristan Gingold  <gingold@adacore.com>
9232         * config/ia64/vms-unwind.h: Remove ulong (and replace
9233         it by unw_reg where used).  Define unw_reg with __int64.
9235 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9237         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
9238         Solaris 8 handling.
9239         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
9240         Solaris 8 handling.
9241         (sparc_is_sighandler): Likewise.
9243 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
9245         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
9246         <= saved reg size.
9248 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9250         * config/arm/crtn.S: Fix typo.
9252 2012-03-13  Richard Guenther  <rguenther@suse.de>
9254         * libgcov.c: Remove stdio.h include and NULL un-define.
9256 2012-03-13  Richard Guenther  <rguenther@suse.de>
9258         PR target/52569
9259         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
9261 2012-03-13  Richard Guenther  <rguenther@suse.de>
9263         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
9265 2012-03-13  Richard Guenther  <rguenther@suse.de>
9267         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
9268         and __gthread_mutex_init_function definitions.
9270 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9272         * config.host (mips*-*-openbsd*): Remove.
9274 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9276         * config.host: Remove alpha*-dec-osf5.1* handling.
9277         * config/alpha/gthr-posix.c: Remove.
9278         * config/alpha/libgcc-osf5.ver: Remove.
9279         * config/alpha/osf5-unwind.h: Remove.
9280         * config/alpha/t-osf-pthread: Remove.
9281         * config/alpha/t-slibgcc-osf: Remove.
9282         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
9283         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
9284         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
9285         * mkmap-flat.awk: Remove osf_export handling.
9287 2012-03-12  Richard Guenther  <rguenther@suse.de>
9289         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
9290         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9291         (__gthread_mutex_init_function): New function.
9292         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9294         PR gcov/49484
9295         * libgcov.c: Include gthr.h.
9296         (__gcov_flush_mx): New global variable.
9297         (init_mx, init_mx_once): New functions.
9298         (__gcov_flush): Protect self with a mutex.
9299         (__gcov_fork): Re-initialize mutex after forking.
9300         * unwind-dw2-fde.c: Change condition under which to use
9301         __GTHREAD_MUTEX_INIT_FUNCTION.
9303 2012-03-12  Tristan Gingold  <gingold@adacore.com>
9305         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
9306         * config/ia64/t-vms: Likewise.
9308 2012-03-11  Michael Hope  <michael.hope@linaro.org>
9310         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
9311         for Thumb-2.
9313 2012-03-07  Walter Lee  <walt@tilera.com>
9315         * config/tilepro/atomic.c: Rename "atomic_" prefix to
9316         "arch_atomic_".
9317         (atomic_xor): Rename and move definition to
9318         config/tilepro/atomic.h.
9319         (atomic_nand): Ditto.
9320         * config/tilepro/atomic.h: Rename "atomic_" prefix to
9321         "arch_atomic_".
9322         (arch_atomic_xor): Move from config/tilepro/atomic.c.
9323         (arch_atomic_nand): Ditto.
9325 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
9327         PR target/52507
9328         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
9330 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
9332         PR target/52505
9333         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
9334         from RAM.
9336 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
9338         PR target/52461
9339         PR target/52508
9340         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
9341         if RAMPZ affects reading from RAM.
9342         (__tablejump_elpm__): Ditto.
9343         (.xload): Ditto.
9344         (__movmemx_hi): Ditto.
9345         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
9346         (__do_global_dtors): Ditto.
9347         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
9348         (__movmemx_hi): Ditto.
9350 2012-03-05  Richard Henderson  <rth@redhat.com>
9352         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
9353         [ARM] (count_trailing_zeros): Use the builtin.
9355 2012-03-01  Kai Tietz  <ktietz@redhat.com>
9357         * soft-fp: Imported from glibc upstream.
9359 2012-02-28  Kai Tietz  <ktietz@redhat.com>
9361         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
9362         for mingw-targets as attribute gcc_struct.
9364 2012-02-28  Ian Lance Taylor  <iant@google.com>
9366         * generic-morestack.c (__splitstack_releasecontext): Correct call
9367         to __morestack_release_segments.
9369 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9371         PR target/52390
9372         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
9373         for __linux__ when removing signals from __morestack_fullmask.
9375 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
9377         PR target/52261
9378         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
9380 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9382         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
9383         instead of HAVE_INITFINI_ARRAY.
9384         * config/ia64/crtend.S: Likewise.
9386 2012-02-20  Kai Tietz  <ktietz@redhat.com>
9388         PR libstdc++/52300
9389         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
9391         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
9392         to w32-unwind.h header.
9394 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
9396         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
9397         (mips*-*-linux*): Remove t-slibgcc-libgcc.
9398         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
9399         * config/mips/mips16.S (__mips16_rdhwr): Delete.
9401 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
9403         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
9405 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
9407         PR libitm/52220
9408         * config/darwin-crt-tm.c: Correct typo.
9410 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
9411             Patrick Marlier  <patrick.marlier@gmail.com>
9413         PR libitm/52220
9414         * config/darwin-crt-tm.c: Generate dummy functions.
9416 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
9417             Patrick Marlier  <patrick.marlier@gmail.com>
9419         PR libitm/52042
9420         * config/darwin-crt-tm.c (getTMCloneTable): New function.
9421         (__doTMRegistrations): Call it.
9422         (__doTMdeRegistrations): Likewise.
9424 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
9425             Anatoly Sokolov  <aesok@post.ru>
9426             Eric Weddington  <eric.weddington@atmel.com>
9428         PR target/52261
9429         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
9430         (__epilogue_restores__): Ditto.
9432 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
9434         PR target/51921
9435         PR target/52205
9436         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
9437         Solaris 11 and slightly reformat.
9438         (sparc_is_sighandler): Likewise.
9440 2012-02-14  Walter Lee  <walt@tilera.com>
9442         * config.host: Handle tilegx and tilepro.
9443         * config/tilegx/sfp-machine.h: New file.
9444         * config/tilegx/sfp-machine32.h: New file.
9445         * config/tilegx/sfp-machine64.h: New file.
9446         * config/tilegx/t-crtstuff: New file.
9447         * config/tilegx/t-softfp: New file.
9448         * config/tilegx/t-tilegx: New file.
9449         * config/tilepro/atomic.c: New file.
9450         * config/tilepro/atomic.h: New file.
9451         * config/tilepro/linux-unwind.h: New file.
9452         * config/tilepro/sfp-machine.h: New file.
9453         * config/tilepro/softdivide.c: New file.
9454         * config/tilepro/softmpy.S: New file.
9455         * config/tilepro/t-crtstuff: New file.
9456         * config/tilepro/t-tilepro: New file.
9458 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
9460         PR libstdc++/51296
9461         PR libstdc++/51906
9462         * gthr-posix.h: Allow static initializer macros to be disabled.
9463         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
9465 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
9467         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
9468         Add t-slibgcc-libgcc to tmake_file.
9469         * config/mips/libgcc-mips16.ver: Revert previous patch.
9470         * config/mips/mips16.S (__mips16_rdhwr): Hide.
9472 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
9473             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
9475         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
9476         * config/cr16/crti.S: New file.
9477         * config/cr16/crtlibid.S: New file.
9478         * config/cr16/crtn.S: New file.
9479         * config/cr16/lib1funcs.S: New file.
9480         * config/cr16/t-cr16: New file.
9481         * config/cr16/t-crtlibid: New file.
9482         * config/cr16/unwind-dw2.h: New file.
9483         * config/cr16/unwind-cr16.c: New file.
9484         * config/cr16/divmodhi3.c: New file.
9486 2012-01-25  Alan Modra  <amodra@gmail.com>
9488         * config/rs6000/t-linux64: Delete.  Move..
9489         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
9490         * config/rs6000/t-linux: ..and libgcc flags to here.
9492 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
9494         * config.host (i[34567]86-*-interix3*):
9495         Change triplet to i[34567]86-*-interix[3-9]*.
9496         * configure: Regenerate.
9498 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
9499             Richard Sandiford  <rdsandiford@googlemail.com>
9501         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
9502         * config/mips/mips16.S (__mips16_rdhwr): New function.
9503         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
9505 2012-01-11  Nathan Sidwell  <nathan@acm.org>
9507         * libgcov.c (__gcov_init): Ignore objects with no functions.
9509 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
9511         PR target/49868
9512         Extend __pgmx semantics to linearize memory.
9513         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
9514         * config/avr/lib1funcs.S (__xload_1): New function.
9515         (__movmemx_qi, __movmemx_hi): New functions.
9516         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
9517         semantics.
9519 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
9521         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
9522         purported sigacthandler address isn't null before dereferencing it.
9523         (sparc_is_sighandler): Likewise.
9525 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
9527         PR ada/41929
9528         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
9529         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
9530         (sparc_is_sighandler): Likewise.
9531         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
9533 2012-01-06  Tristan Gingold  <gingold@adacore.com>
9535         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
9536         compatibility thunks...
9537         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
9538         (crtbeginS.o, crtendS.o): ... and these to ...
9539         * config/ia64/t-ia64-elf: ... this new file.
9540         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
9541         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
9543 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9545         * configure: Regenerate.
9546         * config/s390/t-crtstuff: Remove -fPIC.
9548 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
9550         PR bootstrap/51006
9551         * enable-execute-stack-mprotect.c (getpagesize): Do not define
9552         for NetBSD.
9554 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
9556         PR target/51345
9557         * config/avr/lib1funcs.S: Remove FIXME comments.
9558         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
9560 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
9562         Implement light-weight DImode support.
9563         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
9564         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
9565         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
9566         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
9568 2011-12-30  Nathan Sidwell  <nathan@acm.org>
9570         * libgcov.c (gcov_crc32): Remove global var.
9571         (free_fn_data): New function.
9572         (buffer_fn_data): Pass in filename, more robust error recovery.
9573         (crc32_unsigned): New function.
9574         (gcov_exit): More robust detection of new program. More robust
9575         error recovery.
9576         (__gcov_init): Do not update program's crc here.
9578 2011-12-21  Tristan Gingold  <gingold@adacore.com>
9580         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
9582 2011-12-21  Ian Lance Taylor  <iant@google.com>
9584         * config/i386/morestack.S: Simplify CFI opcodes throughout.
9586 2011-12-20  Ian Lance Taylor  <iant@google.com>
9588         * config/i386/morestack.S (__morestack_non_split): If there is
9589         enough stack space already, don't split.  Ask for more stack space
9590         than we required.
9592 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
9594         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
9595         `sys/sdt.h'.
9596         (_Unwind_DebugHook): New function.
9597         (uw_restore_core_regs): New define.
9598         (unwind_phase2): Use uw_restore_core_regs instead of
9599         restore_core_regs.
9600         (unwind_phase2_forced): Likewise.
9601         (__gnu_Unwind_Resume): Likewise.
9603 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
9605         * config/alpha/linux-unwind.h: Update copyright years.
9606         (MD_FROB_UPDATE_CONTEXT): New define.
9607         (alpha_frob_update_context): New function.
9609 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
9611         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
9612         tmake_file rather replacing it.
9614 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
9616         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
9617         function is not used for PPC64.
9618         (save_world): Amend comments.  Update the VRsave mask to reflect the
9619         saved regs.
9620         (rest_world): Update comments, do not  clobber r10, do not use r8.
9621         (eh_rest_world_r10): Amend comments, do not use r8.
9622         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
9623         no longer used, move restore of CR and target address to the end of
9624         the routine.
9626 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
9628         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
9629         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
9631 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
9633         PR target/49313
9634         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
9635         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
9637 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
9639         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
9641 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
9643         PR target/49313
9644         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
9645         * config/avr/lib1funcs.S (__muldi3): New function.
9647 2011-12-06  Andrew Pinski  <apinski@cavium.com>
9649         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
9650         size of func_ptr.
9651         (__frame_dummy_init_array_entry): Likewise.
9653 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
9655         Forward-port from gcc-4_6-branch r181936 2011-12-02.
9657         PR target/51345
9658         PR target/51002
9659         * config/avr/lib1funcs.S (__prologue_saves__,
9660         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
9661         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
9663 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
9665         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
9667 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
9669         PR other/51272
9670         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
9671         (_ITM_deregisterTMCloneTable): Likewise.
9672         (__register_frame_info): Fix unused warning.
9673         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
9674         pthread_default_stacksize_np): Likewise.
9675         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
9677 2011-11-29  DJ Delorie  <dj@redhat.com>
9679         * config.host (rl78-*-elf): New case.
9680         * config/rl78: New directory for the Renesas RL78.
9682 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
9684         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
9685         formatting.
9687 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9689         PR other/51022
9690         * config/rs6000/t-savresfgpr: New file.
9691         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
9692         $(srcdir)/config/rs6000/eabi.S.
9693         * config/rs6000/t-ppccomm-ldbl: Remove.
9694         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
9695         tmake_file.
9696         (powerpc-*-eabispe*): Likewise.
9697         (powerpc-*-eabi*): Likewise.
9698         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9699         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
9700         to tmake_file, remove rs6000/t-ppccomm-ldbl.
9701         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
9702         tmake_file.
9703         (powerpc-*-eabisim*): Likewise.
9704         (powerpc-*-elf*): Likewise.
9705         (powerpc-*-eabialtivec*): Likewise.
9706         (powerpc-xilinx-eabi*): Likewise.
9707         (powerpc-*-rtems*): Likewise.
9708         (powerpcle-*-elf*): Likewise.
9709         (powerpcle-*-eabisim*): Likewise.
9710         (powerpcle-*-eabi*): Likewise.
9712 2011-11-27  Ian Lance Taylor  <iant@google.com>
9714         * generic-morestack.c (__splitstack_find): Check for NULL old
9715         stack value.
9716         (__splitstack_resetcontext): New function.
9717         (__splitstack_releasecontext): New function.
9718         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9720 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
9722         * config/darwin-crt-tm.c: Correct comments, use correct licence.
9724 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
9726         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
9728 2011-11-26  Richard Henderson  <rth@redhat.com>
9730         * config/m68k/linux-atomic.c: New file.
9731         * config/m68k/t-linux: New file.
9732         * config.host (m68k-uclinux, m68k-linux): Use it.
9734 2011-11-26  Richard Henderson  <rth@redhat.com>
9736         * crtstuff.c (__TMC_LIST__): Mark used not unused.
9737         (__TMC_END__): Only declare if hidden is available; in the definition,
9738         if hidden is unavailable add a null record.
9739         (deregister_tm_clones, register_tm_clones): New.
9740         (__do_global_dtors_aux, frame_dummy): Use them.
9741         (__do_global_dtors, __do_global_ctors_1): Likewise.
9743 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
9745         * config/darwin-crt-tm.c: New file.
9746         * config.host (darwin): Build crttms.o crttme.o to provide
9747         startup and shutdown for tm clones.
9748         * config/t-darwin (crttms.o): New build rule.
9749         (crttme.o): Likewise.
9751 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
9753         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
9754         et al.
9756 2011-11-21  Richard Henderson  <rth@redhat.com>
9758         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
9759         (__TMC_LIST__, __TMC_END__): New.
9760         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
9761         (__do_global_dtors): Likewise.
9762         (frame_dummy): Call _ITM_registerTMCloneTable.
9763         (__do_global_ctors_1): Likewise.
9765 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9767         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
9768         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9769         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
9770         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
9771         * config/i386/t-darwin64: Remove.
9772         * config/sh/t-netbsd (LIB2ADD): Remove.
9774 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
9776         PR target/49313
9777         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
9778         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
9779         * config/avr/lib1funcs.S (wmov): New assembler macro.
9780         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
9781         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
9782         (__udivmod64): New function.
9783         (__negdi2): New function.
9785 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
9787         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
9788         *-*-freebsd*aout*): Remove.
9790 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
9792         * static-object.mk (c_flags-$o): Save c_flags.
9793         ($(base)$(objext)): Use it.
9795 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
9797         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
9799 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
9801         PR target/49868
9802         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
9803         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
9804         New functions.
9806 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
9808         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
9809         functions.
9810         (aeabi_uidivmod): Likewise.
9811         (umodsi3): Likewise.
9812         (divsi3): Likewise.
9813         (aeabi_idivmod): Likewise.
9814         (modsi3): Likewise.
9816 2011-11-16  Tristan Gingold  <gingold@adacore.com>
9818         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
9820 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
9822         PR target/49868
9823         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
9824         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
9826 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
9828         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
9829         tmake_file list.
9830         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
9831         * config/pa/t-stublib64: Delete.
9833 2011-11-12  Richard Henderson  <rth@redhat.com>
9835         * config/rs6000/linux-unwind.h (frob_update_context): Properly
9836         cast the pointer argument to _Unwind_SetGRPtr.
9838 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9840         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
9842 2011-11-09  Ian Lance Taylor  <iant@google.com>
9844         * generic-morestack.c: Include <string.h>.
9845         (uintptr_type): Define.
9846         (struct initial_sp): Add dont_block_signals field.  Reduce size of
9847         extra array by 1.
9848         (allocate_segment): Set prev field to NULL.  Don't set
9849         __morestack_current_segment or __morestack_segments.
9850         (__generic_morestack): Update current->prev and *pp after calling
9851         allocate_segment.
9852         (__morestack_block_signals): Don't do anything if
9853         dont_block_signals is set.
9854         (__morestack_unblock_signals): Likewise.
9855         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
9856         uintptr_type.
9857         (__splitstack_block_signals): New function.
9858         (enum __splitstack_content_offsets): Define.
9859         (__splitstack_getcontext, __splitstack_setcontext): New functions.
9860         (__splitstack_makecontext): New function.
9861         (__splitstack_block_signals_context): New function.
9862         (__splitstack_find_context): New function.
9863         * config/i386/morestack.S (__morestack_get_guard): New function.
9864         (__morestack_set_guard, __morestack_make_guard): New functions.
9865         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9867 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9869         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
9870         (i[34567]86-*-mingw*): ... here.
9871         (x86_64-*-mingw*): ... here.
9873 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9875         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
9877 2011-11-07  Nathan Sidwell  <nathan@acm.org>
9879         * libgcov.c (struct gcov_fn_buffer): New struct.
9880         (buffer_fn_data): New helper.
9881         (gcov_exit): Rework for new gcov data structures.
9883 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
9885         PR target/49313
9886         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
9888 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9890         * config.host (tmake_file): Correct comment.
9891         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
9892         t-libgcc-pic.
9893         (bfin*-uclinux*): Likewise.
9894         (bfin*-linux-uclibc*): Likewise.
9895         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
9897         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
9898         assigning.
9899         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9900         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
9901         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9902         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
9903         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9904         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
9905         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
9906         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9907         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
9908         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
9909         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
9910         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
9911         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
9913         * config/bfin/t-elf: Remove.
9914         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
9916 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9918         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
9919         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
9920         (lm32-*-elf*, lm32-*-rtems*): Split into ...
9921         (lm32-*-elf*): ... this.
9922         (lm32-*-rtems*): ... and this.
9923         Add to tmake_file.
9924         (m32r-*-rtems*): Add to tmake_file.
9925         (moxie-*-rtems*): Likewise.
9926         (sparc-*-rtems*): Likewise.
9927         Remove t-rtems from tmake_file.
9928         (sparc64-*-rtems*): Likewise.
9929         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
9930         instead.
9932 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9934         PR bootstrap/50982
9935         * config/gthr-posix.h: Move ...
9936         * gthr-posix.h: ... here.
9937         * config/gthr-lynx.h: Reflect this.
9938         * config/gthr-vxworks.h: Likewise.
9939         * config/rs6000/gthr-aix.h: Likewise.
9940         * configure.ac (target_thread_file): Likewise.
9941         * configure: Regenerate.
9943 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
9945         * config.host (arm*-*-rtemseabi*): New target.
9947 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
9949         PR other/50991
9950         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
9951         extra-parts.
9953 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
9955         * config.host (epiphany-*-elf*): New configuration.
9956         * config/epiphany: New Directory.
9958 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
9960         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
9961         * config/avr/t-rtems: New.
9962         Filter out _exit from LIB1ASMFUNCS.
9964 2011-11-04  David S. Miller  <davem@davemloft.net>
9966         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
9967         * configure: Rebuild.
9969 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9971         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
9972         variable.
9974 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
9976         PR target/50931
9977         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
9978         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
9980 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
9982         PR target/50989
9983         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
9985 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9987         * config/c6x/t-elf (LIB2ADDEH): Set.
9988         * config/c6x/t-c6x-elf: Remove.
9990 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9992         * config/i386/sol2-ci.S: Rename to ...
9993         * config/i386/crti.S: ... this.
9994         * config/i386/sol2-cn.S: Rename to ...
9995         * config/i386/crtn.S: ... this.
9996         * config/sparc/sol2-ci.S: Rename to ...
9997         * config/sparc/crti.S: ... this.
9998         * config/sparc/sol2-cn.S: Rename to ...
9999         * config/sparc/crtn.S: ... this.
10000         * config/t-sol2 (CUSTOM_CRTIN): Remove.
10001         (crti.o, crtn.o): Remove.
10003 2011-11-04  Tristan Gingold  <gingold@adacore.com>
10005         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
10007 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
10009         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
10011 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
10013         * config.host (crisv32-*-none, cris-*-none): Remove.
10014         (crisv32-*-elf): Append to tmake_file, don't just set it.
10015         (cris-*-elf): Add missing t-fdpbit to tmake_file.
10017 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10019         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
10020         (ecrtn$(objext)): Likewise.
10021         (ncrti$(objext)): Likewise.
10022         (ncrtn$(objext)): Likewise.
10024 2011-11-03  Andreas Schwab  <schwab@redhat.com>
10026         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
10028 2011-11-02  David S. Miller  <davem@davemloft.net>
10030         * configure.ac: Set host_address on sparc too.
10031         * configure: Regenerate.
10032         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
10033         based upon host_address.
10034         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
10036 2011-11-02  Jason Merrill  <jason@redhat.com>
10038         * config/rs6000/t-ppccomm: Add missing \.
10040 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10042         * gthr-single.h, gthr.h: New files.
10043         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
10044         config/gthr-vxworks.h, config/i386/gthr-win32.h,
10045         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
10046         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
10047         * config/i386/gthr-win32.c: Include "gthr-win32.h".
10048         * configure.ac (thread_header): New variable.
10049         Set it depending on target_thread_file.
10050         (gthr-default.h): Link from $thread_header.
10051         * configure: Regenerate.
10052         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
10054 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10056         * configure.ac (tm_file_): New variable.
10057         Determine from tm_file.
10058         (tm_file, tm_defines): Substitute.
10059         * configure: Regenerate.
10060         * mkheader.sh: New file.
10061         * Makefile.in (clean): Remove libgcc_tm.h.
10062         ($(objects)): Depend on libgcc_tm.h.
10063         (libgcc_tm_defines, libgcc_tm_file): New variables.
10064         (libgcc_tm.h, libgcc_tm.stamp): New targets.
10065         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
10066         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
10067         ($(extra-parts)): Depend on libgcc_tm.h.
10068         * config.host (tm_defines, tm_file): New variable.
10069         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
10070         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
10071         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
10072         (avr-*-rtems*): Likewise.
10073         (avr-*-*): Likewise.
10074         (frv-*-elf): Likewise.
10075         (frv-*-*linux*): Likewise.
10076         (h8300-*-rtems*): Likewise.
10077         (h8300-*-elf*): Likewise.
10078         (i[34567]86-*-darwin*): Likewise.
10079         (x86_64-*-darwin*): Likewise.
10080         (rx-*-elf): Likewise.
10081         (tic6x-*-uclinux): Likewise.
10082         (tic6x-*-elf): Likewise.
10083         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
10084         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
10085         * config/i386/cygming-crtbegin.c: Likewise.
10086         * config/i386/cygming-crtend.c: Likewise.
10087         * config/ia64/fde-vms.c: Likewise.
10088         * config/ia64/unwind-ia64.c: Likewise.
10089         * config/libbid/bid_gcc_intrinsics.h: Likewise.
10090         * config/rs6000/darwin-fallback.c: Likewise.
10091         * config/stormy16/lib2funcs.c: Likewise.
10092         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
10093         * crtstuff.c: Likewise.
10094         * dfp-bit.h: Likewise.
10095         * emutls.c: Likewise.
10096         * fixed-bit.c: Likewise.
10097         * fp-bit.c: Likewise.
10098         * generic-morestack-thread.c: Likewise.
10099         * generic-morestack.c: Likewise.
10100         * libgcc2.c: Likewise.
10101         * libgcov.c: Likewise.
10102         * unwind-dw2-fde-dip.c: Likewise.
10103         * unwind-dw2-fde.c: Likewise.
10104         * unwind-dw2.c: Likewise.
10105         * unwind-sjlj.c: Likewise.
10107 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10109         * configure.ac: Include ../config/picflag.m4.
10110         (GCC_PICFLAG): Call it.
10111         Substitute.
10112         * configure: Regenerate.
10113         * Makefile.in (gcc_srcdir): Remove.
10114         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
10115         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
10116         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
10117         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
10118         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
10119         Use $<.
10120         Remove comment.
10121         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
10122         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
10123         to refer to libgcc2.c.
10124         Use $<.
10125         * config/darwin-64.c: New file.
10126         * config/darwin-crt3.c: Remove comment.
10127         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
10128         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
10129         config/udivmodsi4.c: New files.
10130         * config/memcmp.c, config/memcpy.c, config/memmove.c,
10131         config/memset.c: New files.
10132         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
10133         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
10134         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
10135         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
10136         * config/t-openbsd-thread: New file.
10137         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
10138         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
10139         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
10140         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
10141         qrnnd.S.
10142         Adapt filename.
10143         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
10144         to refer to gthr-posix.c.
10145         * config/alpha/t-vms (LIB2ADD): Set.
10146         * config/alpha/vms-gcc_shell_handler.c: New file.
10147         * config/arm/bpabi.c, config/arm/fp16.c,
10148         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
10149         config/arm/unaligned-funcs.c: New files.
10150         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
10151         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10152         * config/arm/t-linux: Likewise.
10153         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
10154         * config/arm/t-netbsd: New file.
10155         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
10156         * config/arm/t-symbian (LIB2ADD_ST): Set.
10157         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
10158         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10159         * config/bfin/t-elf: New file.
10160         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
10161         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
10162         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
10163         config/c6x/ltf.c: New files.
10164         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
10165         (HOST_LIBGCC2_CFLAGS): Set.
10166         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
10167         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10168         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
10169         New files.
10170         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
10171         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
10172         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
10173         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
10174         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
10175         files.
10176         * config/frv/t-frv (LIB2ADD): Set.
10177         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10178         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
10179         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
10180         config/h8300/popcounthi2.c: New files.
10181         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10182         * config/i386/gthr-win32.c: New file.
10183         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
10184         * config/i386/t-cygwin: Likewise.
10185         * config/i386/t-darwin, config/i386/t-darwin64,
10186         config/i386/t-gthr-win32, config/i386/t-interix: New files.
10187         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
10188         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10189         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10190         * config/ia64/quadlib.c: New file.
10191         * config/ia64/t-hpux (LIB2ADD): Set.
10192         * config/ia64/t-ia64: Add comment.
10193         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
10194         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10195         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
10196         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
10197         * config/m32c/t-m32c (LIB2ADD): Set.
10198         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10199         * config/m32r/t-m32r: Likewise.
10200         * config/m68k/fpgnulib.c: New file.
10201         * config/m68k/t-floatlib (LIB2ADD): Set.
10202         (xfgnulib.c): New target.
10203         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
10204         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
10205         * config/mep/t-mep (LIB2ADD): Set.
10206         * config/microblaze/divsi3.asm: Rename to divsi3.S.
10207         * config/microblaze/moddi3.asm: Rename to moddi3.S.
10208         * config/microblaze/modsi3.asm: Rename to modsi3.S.
10209         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
10210         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
10211         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
10212         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
10213         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
10214         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
10215         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
10216         New files.
10217         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
10218         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
10219         * config/pa/fptr.c, config/pa/lib2funcs.S,
10220         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
10221         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10222         (LIB2ADD, LIB2ADD_ST): Set.
10223         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
10224         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
10225         Set.
10226         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
10227         * config/pdp11/t-pdp11: New file.
10228         * config/picochip/libgccExtras/adddi3.S,
10229         config/picochip/libgccExtras/ashlsi3.S,
10230         config/picochip/libgccExtras/ashrsi3.S,
10231         config/picochip/libgccExtras/clzsi2.S,
10232         config/picochip/libgccExtras/cmpsi2.S,
10233         config/picochip/libgccExtras/divmod15.S,
10234         config/picochip/libgccExtras/divmodhi4.S,
10235         config/picochip/libgccExtras/divmodsi4.S,
10236         config/picochip/libgccExtras/lshrsi3.S,
10237         config/picochip/libgccExtras/parityhi2.S,
10238         config/picochip/libgccExtras/popcounthi2.S,
10239         config/picochip/libgccExtras/subdi3.S,
10240         config/picochip/libgccExtras/ucmpsi2.S,
10241         config/picochip/libgccExtras/udivmodhi4.S,
10242         config/picochip/libgccExtras/udivmodsi4.S: New files.
10243         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
10244         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
10245         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
10246         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
10247         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
10248         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
10249         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
10250         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
10251         files.
10252         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
10253         (HOST_LIBGCC2_CFLAGS): Set.
10254         * config/rs6000/t-darwin64: New file.
10255         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
10256         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
10257         * config/rs6000/t-ppccomm (LIB2ADD): Add
10258         $(srcdir)/config/rs6000/tramp.S.
10259         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
10260         Add  $(srcdir)/config/rs6000/eabi.S.
10261         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
10262         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
10263         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
10264         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
10265         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
10266         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
10267         * config/rs6000/tramp.S: New file.
10268         * config/s390/t-tpf: Remove.
10269         * config/sh/linux-atomic.S: New file.
10270         * config/sh/t-linux (LIB2ADD): Set.
10271         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
10272         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10273         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
10274         to unwind-dw2.c.
10275         (HOST_LIBGCC2_CFLAGS): Set.
10276         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10277         * config/spu/divmodti4.c, config/spu/divv2df3.c,
10278         config/spu/float_disf.c, config/spu/float_unsdidf.c,
10279         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
10280         config/spu/mfc_multi_tag_release.c,
10281         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
10282         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
10283         config/spu/multi3.c: New files.
10284         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
10285         (HOST_LIBGCC2_CFLAGS): Set.
10286         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
10287         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
10288         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
10289         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
10290         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
10291         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
10292         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
10293         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
10294         config/stormy16/umodsi3.c: New files.
10295         * config/xtensa/lib2funcs.S: New file.
10296         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10297         * config/xtensa/t-xtensa (LIB2ADD): Set.
10298         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
10299         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
10300         Add t-freebsd-thread to tmake_file for posix threads.
10301         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
10302         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
10303         (*-*-lynxos*): Likewise.
10304         (*-*-netbsd*): Likewise.
10305         (*-*-openbsd*): Likewise.
10306         Add t-openbsd-thread to tmake_file for posix threads.
10307         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
10308         (*-*-vxworks*): Set tmake_file.
10309         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10310         (alpha*-*-freebsd*): Likewise.
10311         (alpha*-*-netbsd*): Likewise.
10312         (alpha*-*-openbsd*): Likewise.
10313         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
10314         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10315         (alpha*-dec-*vms*): Likewise.
10316         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
10317         (bfin*-elf*): Add bfin/t-elf to tmake_file.
10318         (bfin*-uclinux*): Likewise.
10319         (bfin*-linux-uclibc*): Likewise.
10320         (crisv32-*-elf): Add cris/t-cris to tmake_file.
10321         (crisv32-*-none): Likewise.
10322         (cris-*-elf): Likewise.
10323         (cris-*-none): Likewise.
10324         (cris-*-linux*, crisv32-*-linux*): Likewise.
10325         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
10326         tmake_file.
10327         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
10328         tmake_file.
10329         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
10330         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
10331         (x86_64-*-elf*): Likewise.
10332         (i[34567]86-*-nto-qnx*): Likewise.
10333         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
10334         win32 threads.
10335         (x86_64-*-mingw*): Likewise.
10336         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
10337         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
10338         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10339         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10340         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
10341         tmake_file.
10342         (mipsisa64sr71k-*-elf*): Likewise.
10343         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10344         (mips-*-elf*, mipsel-*-elf*): Likewise.
10345         (mips64-*-elf*, mips64el-*-elf*): Likewise.
10346         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10347         (mips*-*-rtems*): Likewise.
10348         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
10349         to tmake_file.
10350         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
10351         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
10352         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
10353         (spu-*-elf*): Likewise.
10354         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
10356 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10358         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
10359         $(srcdir) to refer to $(LIB1ASMSRC).
10360         Use $<.
10361         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
10362         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
10363         config/arm/lib1funcs.S: New files.
10364         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
10365         * config/arm/t-arm: New file.
10366         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
10367         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
10368         config/arm/t-strongarm-elf: New files.
10369         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
10370         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
10371         * config/avr/lib1funcs.S: New file.
10372         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10373         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
10374         * config/c6x/lib1funcs.S: New file.
10375         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10376         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
10377         * config/frv/lib1funcs.S: New file.
10378         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10379         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
10380         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
10381         * config/ia64/__divxf3.asm: Rename to ...
10382         * config/ia64/__divxf3.S: ... this.
10383         Adapt lib1funcs.asm filename.
10384         * config/ia64/_fixtfdi.asm: Rename to ...
10385         * config/ia64/_fixtfdi.S: ... this.
10386         Adapt lib1funcs.asm filename.
10387         * config/ia64/_fixunstfdi.asm: Rename to ...
10388         * config/ia64/_fixunstfdi.S: ... this.
10389         Adapt lib1funcs.asm filename.
10390         * config/ia64/_floatditf.asm: Rename to ...
10391         * config/ia64/_floatditf.S: ... this.
10392         Adapt lib1funcs.asm filename.
10393         * config/ia64/lib1funcs.S: New file.
10394         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
10395         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10396         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
10397         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
10398         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
10399         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
10400         * config/mep/lib1funcs.S: New file.
10401         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10402         * config/mips/mips16.S: New file.
10403         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10404         * config/pa/milli64.S: New file.
10405         * config/pa/t-linux, config/pa/t-linux64: New files.
10406         * config/picochip/lib1funcs.S: New file.
10407         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10408         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
10409         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
10410         * config/sh/t-netbsd: New file.
10411         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
10412         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
10413         * config/sh/t-sh64: New file.
10414         * config/sparc/lb1spc.S: New file.
10415         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
10416         filename.
10417         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
10418         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
10419         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
10420         config/xtensa/lib1funcs.S: New files.
10421         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10422         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
10423         tmake_file.
10424         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
10425         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
10426         (arm*-*-linux*): Likewise.
10427         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
10428         arm*-*-linux-*eabi, add arm/t-linux otherwise.
10429         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
10430         (arm*-*-ecos-elf): Likewise.
10431         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10432         (arm*-*-rtems*): Likewise.
10433         (arm*-*-elf): Likewise.
10434         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
10435         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
10436         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
10437         (bfin*-uclinux*): Likewise.
10438         (bfin*-linux-uclibc*): Likewise.
10439         (bfin*-rtems*): Likewise.
10440         (bfin*-*): Likewise.
10441         (fido-*-elf): Merge into m68k-*-elf*.
10442         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
10443         (frv-*-*linux*): Add frv/t-frv to tmake_file.
10444         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
10445         (h8300-*-elf*): Likewise.
10446         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
10447         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
10448         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
10449         (i[34567]86-*-mingw*): Likewise.
10450         (x86_64-*-mingw*): Likewise.
10451         (i[34567]86-*-interix3*): Likewise.
10452         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
10453         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
10454         (m68k-*-elf*): Also handle fido-*-elf.
10455         Add m68k/t-floatlib to tmake_file.
10456         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
10457         (m68k-*-linux*): Likewise.
10458         (m68k-*-rtems*): Likewise.
10459         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
10460         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
10461         sh64*-*-*.
10462         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
10463         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
10464         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
10465         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
10466         sh/t-netbsd to tmake_file.
10467         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
10468         (sh-*-rtems*): Add sh/t-sh to tmake_file.
10469         (sh-wrs-vxworks): Likewise.
10470         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
10471         *-leon[3-9]*.
10472         (v850*-*-*): Add v850/t-v850 to tmake_file.
10473         (vax-*-linux*): Add vax/t-linux to tmake_file.
10474         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
10476 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10478         * crtstuff.c: New file.
10479         * Makefile.in (CRTSTUFF_CFLAGS): Define.
10480         (CRTSTUFF_T_CFLAGS): Define.
10481         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
10482         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
10483         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
10484         crtstuff.c.
10485         Use $<.
10486         (crtbeginT.o): Use $(objext).
10487         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
10488         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
10489         (gcc-extra-parts): Remove.
10490         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
10491         Set extra_parts.
10492         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10493         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
10494         Add t-crtstuff-pic to tmake_file.
10495         (*-*-lynxos*): New case.
10496         Set tmake_file, extra_parts.
10497         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
10498         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
10499         *-*-netbsdelf[2-9]*.
10500         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
10501         (*-*-rtems*): Set extra_parts.
10502         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
10503         (*-*-uclinux*): New case.
10504         Set extra_parts.
10505         (*-*-vms*): New case.
10506         Set tmake_file, extra_parts.
10507         (*-*-elf): Set extra_parts.
10508         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
10509         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
10510         vms/t-vms64.
10511         Set extra_parts.
10512         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
10513         Set extra_parts.
10514         (arm*-*-freebsd*): Add t-crtin to tmake_file.
10515         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
10516         (arm-wrs-vxworks): Append to tmake_file.
10517         Set extra_parts.
10518         (arm*-*-uclinux*): Set extra_parts.
10519         (arm*-*-ecos-elf): Likewise.
10520         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
10521         arm*-*-eabi*.
10522         (arm*-*-rtems*): Set extra_parts.
10523         (arm*-*-elf): Likewise.
10524         (avr-*-rtems*): Clear extra_parts.
10525         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
10526         Set extra_parts.
10527         (bfin*-uclinux*): Likewise.
10528         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
10529         (bfin*-rtems*): Append to tmake_file.
10530         Set extra_parts.
10531         (bfin*-*): Likewise.
10532         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
10533         (crisv32-*-elf): ... this.
10534         (crisv32-*-none): ... this.
10535         (cris-*-elf, cris-*-none): New cases.
10536         Add cris/t-elfmulti to tmake_file.
10537         (fr30-*-elf): Append to tmake_file.
10538         Set extra_parts.
10539         (frv-*-elf): Append to tmake_file, add frv/t-frv.
10540         Set extra_parts.
10541         (h8300-*-rtems*): Append to tmake_file.
10542         Set extra_parts.
10543         (h8300-*-elf*): Likewise.
10544         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
10545         Set extra_parts.
10546         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
10547         Set extra_parts.
10548         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
10549         (x86_64-*-elf*): Likewise.
10550         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
10551         (x86_64-*-freebsd*): Likewise.
10552         (x86_64-*-netbsd*): Likewise.
10553         (i[34567]86-*-linux*): Likewise.
10554         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10555         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10556         (x86_64-*-linux*): Likewise.
10557         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10558         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
10559         tmake_file.
10560         Set extra_parts.
10561         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
10562         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
10563         Append to extra_parts, remove crtbegin.o, crtend.o.
10564         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
10565         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
10566         crtend.o, crtbeginS.o, crtendS.o.
10567         (ia64*-*-linux*): Comment extra_parts.
10568         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
10569         Set extra_parts.
10570         (iq2000*-*-elf*): Clear extra_parts.
10571         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
10572         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
10573         (m32r-*-elf*, m32r-*-rtems*): Split off ...
10574         (m32r-*-rtems*): ... this.
10575         Add m32r/t-m32r to tmake_file.
10576         (m68k-*-elf*): Add t-crtin to tmake_file.
10577         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
10578         (mcore-*-elf): Likewise.
10579         (microblaze*-*-*): Set extra_parts.
10580         (mips*-sde-elf*): New case.
10581         Set tmake_file, extra_parts.
10582         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10583         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10584         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
10585         tmake_file.
10586         Set extra_parts.
10587         (mipsisa64sr71k-*-elf*): Likewise.
10588         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10589         (mips-*-elf*, mipsel-*-elf*): Likewise.
10590         (mips64-*-elf*, mips64el-*-elf*): Likewise.
10591         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
10592         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
10593         (mips*-*-rtems*): Likewise.
10594         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
10595         (moxie-*-*): Split into ...
10596         (moxie-*-elf, moxie-*-uclinux*): ... this.
10597         Add to extra_parts, remove crtbegin.o, crtend.o.
10598         (moxie-*-rtems*): New case.
10599         Set tmake_file.
10600         Clear extra_parts.
10601         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
10602         Set extra_parts.
10603         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10604         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
10605         tmake_file.
10606         Set extra_parts.
10607         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
10608         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
10609         Set extra_parts.
10610         (powerpc-*-eabisim*): Likewise.
10611         (powerpc-*-elf*): Likewise.
10612         (powerpc-*-eabialtivec*): Likewise.
10613         (powerpc-xilinx-eabi*): Likewise.
10614         (powerpc-*-eabi*): Likewise.
10615         (powerpc-*-rtems*): Likewise.
10616         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
10617         tmake_file.
10618         Set extra_parts.
10619         (powerpc-*-lynxos*): Add to tmake_file.
10620         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
10621         rs6000/t-crtstuff, t-crtstuff-pic.
10622         Set extra_parts.
10623         (powerpcle-*-eabisim*): Likewise.
10624         (powerpcle-*-eabi*): Likewise.
10625         (rx-*-elf): Remove extra_parts.
10626         (s390x-ibm-tpf*): Set extra_parts.
10627         (score-*-elf): Set extra_parts.
10628         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10629         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10630         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10631         (sh64l*-*-netbsd*): Split into ...
10632         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
10633         Add t-crtstuff-pic to tmake_file.
10634         Set extra_parts.
10635         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
10636         Set extra_parts.
10637         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
10638         (sparc-*-elf*): Remove t-crtin from tmake_file.
10639         Add to extra_parts, remove crtbegin.o, crtend.o.
10640         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
10641         (sparc64-*-linux*): Likewise.
10642         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
10643         Add to extra_parts, remove crtbegin.o, crtend.o.
10644         (sparc64-*-elf*): Remove t-crtin from tmake_file.
10645         Add to extra_parts, remove crtbegin.o, crtend.o.
10646         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
10647         Add to extra_parts, remove crtbegin.o, crtend.o.
10648         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
10649         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
10650         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
10651         Set extra_parts.
10652         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
10653         Set extra_parts.
10654         (tic6x-*-*): Change to ...
10655         (tic6x-*-elf): ... this.
10656         Set extra_parts.
10657         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
10658         Set extra_parts.
10659         (am33_2.0-*-linux*): Add comment.
10660         (mep*-*-*): Add mep/t-mep to tmake_file.
10661         Set extra_parts.
10662         * config/alpha/t-vms: New file.
10663         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
10664         * config/arm/crti.S, config/arm/crtn.S: New files.
10665         * config/bfin/crti.S, config/bfin/crtn.S: New files.
10666         * config/bfin/crtlibid.S: New file.
10667         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
10668         * config/c6x/crti.S, config/c6x/crtn.S: New files.
10669         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
10670         (crti.o, crtin.o): New rules.
10671         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10672         * config/c6x/t-uclinux: New file.
10673         * config/cris/t-elfmulti: New file.
10674         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
10675         * config/fr30/crti.S, config/fr30/crtn.S: New files.
10676         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
10677         * config/frv/t-frv: New file.
10678         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
10679         * config/h8300/crti.S, config/h8300/crtn.S: New files.
10680         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
10681         New files.
10682         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
10683         refer to cygming-crtbegin.c, cygming-crtend.c.
10684         Use $<.
10685         * config/i386/t-nto: New file.
10686         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
10687         * config/ia64/crti.S, config/ia64/crtn.S: New files.
10688         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
10689         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
10690         Use .S extension.
10691         Use $<.
10692         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10693         (crtinitS.o): New rule.
10694         * config/ia64/vms-crtinit.S: New file.
10695         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
10696         * config/m32r/initfini.c: New file.
10697         * config/m32r/t-linux, config/m32r/t-m32r: New files.
10698         * config/m68k/crti.S, config/m68k/crtn.S: New files.
10699         * config/mcore/crti.S, config/mcore/crtn.S: New files.
10700         * config/mep/t-mep: New file.
10701         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
10702         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
10703         * config/mips/crti.S, config/mips/crtn.S: New files.
10704         * config/mips/t-crtstuff: New file.
10705         * config/mmix/crti.S, config/mmix/crtn.S: New files.
10706         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
10707         (CUSTOM_CRTIN): Set.
10708         ($(T)crti.o, $(T)crtn.o): Remove $(T),
10709         dependencies.
10710         Use $(srcdir) to refer to crti.S, crtn.S.
10711         Use .S extension, $<.
10712         * config/moxie/crti.asm: Rename to ...
10713         * config/moxie/crti.S: ... this.
10714         * config/moxie/crtn.asm: Rename to ...
10715         * config/moxie/crtn.S: ... this.
10716         * config/moxie/t-moxie: Remove.
10717         * config/pa/stublib.c: New file.
10718         * config/pa/t-stublib, config/pa/t-stublib64: New files.
10719         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
10720         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
10721         * config/rs6000/t-crtstuff: New file.
10722         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
10723         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
10724         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
10725         Make output file explicit.
10726         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
10727         Make output file explicit.
10728         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
10729         Make output file explicit.
10730         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
10731         Make output file explicit.
10732         * config/score/crti.S, config/score/crtn.S: New files.
10733         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
10734         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
10735         files.
10736         * config/sh/t-sh, config/sh/t-superh: New files.
10737         * config/sparc/t-linux64: New file.
10738         * config/spu/cache.S, config/spu/cachemgr.c: New files.
10739         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
10740         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
10741         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
10742         * config/t-crtin: Remove.
10743         * config/t-crtstuff-pic: New file.
10744         * config/t-sol2 (CUSTOM_CRTIN): Set.
10745         (crti.o, crtn.o): New rules.
10746         * config/vms/t-vms: New file.
10747         * config/vms/vms-ucrt0.c: New file.
10748         * config/xtensa/t-elf: New file.
10750 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10752         * Makefile.in (SHLIB_NM_FLAGS): Set.
10753         * mkmap-flat.awk, mkmap-symver.awk: New files.
10754         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
10755         exceptions.
10756         * configure: Regenerate.
10757         * config/libgcc-glibc.ver: New file.
10758         * config/libgcc-libsystem.ver: New file.
10759         * config/t-libunwind (SHLIB_LC): Set.
10760         * config/t-linux: New file.
10761         * config/t-slibgcc (INSTALL_SHLIB): New.
10762         (SHLIB_INSTALL): Use it.
10763         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
10764         to mkmap-symver.awk.
10765         (SHLIB_MAPFILES): Don't append, adapt pathname.
10766         (SHLIB_VERPFX): Set.
10767         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
10768         to mkmap-symver.awk.
10769         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
10770         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
10771         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
10772         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
10773         to mkmap-flat.awk.
10774         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
10775         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
10776         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
10777         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
10778         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
10779         * config/i386/libgcc-darwin.10.4.ver,
10780         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
10781         New files.
10782         * config/i386/t-darwin: Remove.
10783         * config/i386/t-darwin64: Likewise.
10784         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
10785         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
10786         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
10787         * config/i386/t-linux: New file.
10788         * config/i386/t-mingw32: New file.
10789         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
10790         * config/ia64/t-glibc: Rename to ...
10791         * config/ia64/t-linux: ... this.
10792         (SHLIB_MAPFILES): Set.
10793         * config/ia64/t-glibc-libunwind: Rename to ...
10794         * config/ia64/t-linux-libunwind: ... this.
10795         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
10796         * config/ia64/t-slibgcc-hpux: New file.
10797         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
10798         * config/m68k/t-slibgcc-elf-ver: New file.
10799         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
10800         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
10801         to mkmap-flat.awk.
10802         * config/pa/t-slibgcc-hpux: New file.
10803         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
10804         files.
10805         * config/rs6000/libgcc-darwin.10.4.ver,
10806         config/rs6000/libgcc-darwin.10.5.ver: New files.
10807         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
10808         config/rs6000/libgcc-glibc.ver.
10809         * config/rs6000/libgcc-ppc64.ver: Rename to
10810         config/rs6000/libgcc-ibm-ldouble.ver.
10811         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
10812         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
10813         * config/rs6000/t-ldbl128: Rename to ...
10814         * config/rs6000/t-linux: ... this.
10815         (SHLIB_MAPFILES): Adapt filename.
10816         * config/rs6000/t-slibgcc-aix: New file.
10817         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
10818         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
10819         libgcc-excl.ver, libgcc-glibc.ver.
10820         (SHLIB_LINK, SHLIB_INSTALL): Remove.
10821         * config/sparc/libgcc-glibc.ver: New file.
10822         * config/sparc/t-linux: New file.
10823         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
10824         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
10825         t-slibgcc-elf-ver to tmake_file.
10826         Add t-slibgcc-nolc-override to tmake_file for posix threads on
10827         *-*-freebsd[34].
10828         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10829         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
10830         t-slibgcc-elf-ver, t-linux to tmake_file.
10831         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
10832         tmake_file.
10833         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
10834         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
10835         (alpha*-dec-*vms*): Likewise.
10836         (arm*-*-freebsd*): Append to tmake_file.
10837         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
10838         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
10839         arm*-*-linux-*eabi.
10840         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
10841         tmake_file for arm*-*-symbianelf*.
10842         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
10843         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
10844         cris/t-linux.
10845         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
10846         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
10847         pa/t-slibgcc-dwarf-ver to tmake_file.
10848         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
10849         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
10850         (hppa*64*-*-hpux11*): Likewise.
10851         (hppa[12]*-*-hpux11*): Likewise.
10852         (x86_64-*-darwin*): Don't override tmake_file, but only keep
10853         i386/t-crtpc, i386/t-crtfm.
10854         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
10855         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10856         to tmake_file.
10857         Add i386/t-cygwin to tmake_file.
10858         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
10859         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
10860         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10861         to tmake_file.
10862         Add i386/t-mingw32 to tmake_file.
10863         (x86_64-*-mingw*): Likewise.
10864         (ia64*-*-freebsd*): Append to tmake_file.
10865         (ia64*-*-linux*): Append to tmake_file.
10866         Replace ia64/t-glibc by ia64/t-linux.
10867         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
10868         system libunwind.
10869         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
10870         t-slibgcc-hpux to tmake_file.
10871         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
10872         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
10873         (m32rle-*-linux*): Likewise.
10874         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
10875         sjlj exceptions.
10876         (microblaze*-linux*): New case.
10877         Append to tmake_file, add t-slibgcc-nolc-override.
10878         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
10879         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10880         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
10881         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10882         rs6000/t-slibgcc-aix to tmake_file.
10883         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10884         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10885         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10886         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10887         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10888         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
10889         sh*-*-linux*.
10890         (sparc-*-linux*): Append to tmake_file for *-leon*.
10891         Add sparc/t-linux to tmake_file for non-Leon targets.
10892         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
10893         (tic6x-*-uclinux): New case.
10894         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
10895         (tic6x-*-*): Add c6x/t-elf to tmake_file.
10896         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
10897         (am33_2.0-*-linux*): Append to tmake_file.
10898         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
10899         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
10900         x86_64-*-kfreebsd*-gnu.
10901         Add i386/t-linux to tmake_file.
10903 2011-10-28  Ian Lance Taylor  <iant@google.com>
10905         * config/i386/morestack.S: Correct CFI information to do proper
10906         returns throughout function.  In 32-bit mode, save %ebx so that it
10907         is restored on unwind.
10909 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
10911         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
10912         case where B3 isn't the return register.
10914         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
10915         logic for doubleword pops.
10917 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
10919         * config/rs6000/t-freebsd: Add wildcard.
10921 2011-10-21  Paul Brook  <paul@codesourcery.com>
10923         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
10925 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
10926             Eric Botcazou  <ebotcazou@adacore.com>
10928         PR target/50737
10929         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
10930         fs->signal_frame to 1.
10932 2011-10-07  Ian Lance Taylor  <iant@google.com>
10934         * generic-morestack-thread.c: #include <errno.h>.
10936 2011-10-07  Ian Lance Taylor  <iant@google.com>
10938         PR target/46093
10939         * generic-morestack.c (__generic_morestack): Make sure the segment
10940         is large enough for both the stack frame and the copied
10941         parameters.
10943 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10945         PR bootstrap/49804
10946         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
10947         extra_parts.
10949 2011-09-28  Nick Clifton  <nickc@redhat.com>
10951         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
10952         64-bit doubles are not enabled.
10953         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
10954         and floatunsisf functions.
10956 2011-09-13  Paul Brook  <paul@codesourcery.com>
10958         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
10959         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
10960         * unwind-arm-common.inc: New file.
10961         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
10962         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
10963         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
10964         * config/c6x/libunwind.S: New file.
10965         * config/c6x/pr-support.c: New file.
10966         * config/c6x/unwind-c6x.c: New file.
10967         * config/c6x/unwind-c6x.h: New file.
10968         * config/c6x/t-c6x-elf: New file.
10970 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
10972         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
10973         (ASM_DIVZERO): Ditto.
10974         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
10976 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
10978         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
10980 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
10982         PR target/50090
10983         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
10984         instead of an assembly one.
10986 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
10988         PR bootstrap/50047
10989         * Makefile.in (install-unwind_h): Create
10990         $(gcc_objdir)/include/unwind.h atomically.
10992 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10994         * Makefile.in (install-unwind_h): Remove destination file first.
10996 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10998         * sync.c: New file.
10999         * config/mips/t-mips16: New file.
11000         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
11001         (mips*-*-linux*): Likewise.
11002         (mips*-sde-elf*): Likewise.
11003         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
11004         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
11005         Add mips/t-mips16 to tmake_file.
11006         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
11007         (mips-*-elf*): Likewise.
11008         (mips64-*-elf*): Likewise.
11009         (mips64orion-*-elf*): Likewise.
11010         (mips*-*-rtems*): Likewise.
11011         (mipstx39-*-elf*): Likewise.
11012         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
11013         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
11014         LIBGCC_SYNC_CFLAGS.
11015         Use $(srcdir) to refer to sync.c.
11016         Use $<.
11017         ($(libgcc-sync-funcs-o)): Likewise.
11018         ($(libgcc-sync-size-funcs-s-o)): Likewise.
11019         ($(libgcc-sync-funcs-s-o)): Likewise.
11021 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
11023         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
11024         t-libunwind.
11026 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
11028         PR other/48007
11029         * config/i386/value-unwind.h: New.
11031 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
11033         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
11034         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
11035         Add to tmake_file rather than overriding it.
11037 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11039         * config/t-softfp: Remove.
11040         * soft-fp: Moved from ../gcc/config.
11041         * soft-fp/README: Remove t-softfp reference.
11042         * soft-fp/t-softfp: Move to config/t-softfp.
11043         (softfp_machine_header): Remove.
11044         (softfp_file_list): Remove config subdir.
11045         (soft-fp-objects): New variable.
11046         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
11047         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
11048         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
11049         * config/t-softfp-excl: New file.
11050         * config/t-softfp-sfdf: New file.
11051         * config/t-softfp-tf: New file.
11052         * config/no-sfp-machine.h: New file.
11053         * config/arm/sfp-machine.h: New file.
11054         * config/arm/t-softfp: New file.
11055         * config/c6x/sfp-machine.h: New file.
11056         * config/i386/32/t-fprules-softfp: Rename to ...
11057         * config/i386/32/t-softfp: ... this.
11058         (tifunctions, LIB2ADD): Remove.
11059         (softfp_int_modes): Override.
11060         * config/i386/64/t-softfp-compat (tf-functions): Remove config
11061         subdir.
11062         * config/i386/64/eqtf2.c: Likewise.
11063         * config/i386/64/getf2.c: Likewise.
11064         * config/i386/64/letf2.c: Likewise.
11065         * config/ia64/sft-machine.h: New file.
11066         * config/ia64/t-fprules-softfp: Rename to ...
11067         * config/ia64/t-softfp: ... this.
11068         * config/lm32/sfp-machine.h: New file.
11069         * config/moxie/t-moxie-softfp: Remove.
11070         * config/rs6000/ibm-ldouble-format: New file.
11071         * config/rs6000/ibm-ldouble.c: New file.
11072         * config/rs6000/libgcc-ppc-glibc.ver: New file
11073         * config/rs6000/libgcc-ppc64.ver: New file
11074         * config/rs6000/sfp-machine.h: New file.
11075         * config/rs6000/t-freebsd: New file.
11076         * config/rs6000/t-ibm-ldouble: New file.
11077         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
11078         libgcc-ppc-glibc.ver.
11079         * config/rs6000/t-linux64: New file.
11080         * config/rs6000/t-ppccomm (LIB2ADD): Add
11081         $(srcdir)/config/rs6000/ibm-ldouble.c.
11082         * config/rs6000/t-ppccomm-ldbl: New file.
11083         * config/score/sfp-machine.h: New file.
11084         * config.host (sfp_machine_header): Explain.
11085         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
11086         t-softfp to tmake_file.
11087         (arm*-*-uclinux*): Likewise.
11088         (arm*-*-ecos-elf): Likewise.
11089         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11090         (arm*-*-rtems*): Likewise.
11091         (arm*-*-elf): Likewise.
11092         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
11093         in tmake_file.
11094         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
11095         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
11096         (lm32-*-uclinux*): Likewise.
11097         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
11098         t-softfp-excl, t-softfp.
11099         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
11100         (powerpc64-*-darwin*): Likewise.
11101         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
11102         to tmake_file.
11103         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
11104         tmake_file.
11105         (powerpc-*-eabisim*): Likewise.
11106         (powerpc-*-elf*): Likewise.
11107         (powerpc-*-eabialtivec*): Likewise.
11108         (powerpc-xilinx-eabi*): Likewise.
11109         (powerpc-*-rtems*): Likewise.
11110         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
11111         t-softfp-excl, t-softfp to tmake_file.
11112         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
11113         rs6000/t-ppccomm-ldbl to tmake_file.
11114         (powerpcle-*-elf*): Likewise.
11115         (powerpcle-*-eabisim*): Likewise.
11116         (powerpcle-*-eabi*): Likewise.
11117         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11118         rs6000/t-ibm-ldouble to tmake_file.
11119         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11120         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11121         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
11122         (tic6x-*-*): Likewise.
11123         (i[34567]86-*-darwin*, x86_64-*-darwin*,
11124         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
11125         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
11126         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
11127         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
11128         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
11129         t-softfp to tmake_file.
11130         * configure.ac (sfp_machine_header): Provide default if unset.
11131         Substitute.
11132         Link sfp-machine.h to config/$sfp_machine_header.
11133         * configure: Regenerate.
11135 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11137         * Makefile.in (double_type_size, long_double_type_size): Set.
11138         Remove $(fpbit-in-libgcc) support.
11139         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
11140         (fpbit-src): New variable.
11141         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
11142         Compile with -DFLOAT $(FPBIT_CFLAGS).
11143         Use $<.
11144         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
11145         Compile with $(FPBIT_CFLAGS).
11146         Use $<.
11147         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
11148         Compile with -DFLOAT $(TPBIT_CFLAGS).
11149         Use $<.
11150         * configure.ac (double_type_size, long_double_type_size):
11151         Determine and substitute.
11152         * configure: Regenerate.
11153         * fp-bit.c, fp-bit.h: New files.
11154         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
11155         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
11156         * config/mips/t-mips: New file.
11157         * config/mips/t-sdemtk: New file.
11158         * config/rs6000/ppc64-fp.c: New file.
11159         * config/rs6000/t-darwin (LIB2ADD): Add
11160         $(srcdir)/config/rs6000/ppc64-fp.c.
11161         * config/rs6000/t-ppc64-fp: New file.
11162         * config/rx/rx-lib.h: New file.
11163         * config/rx/t-rx (FPBIT): Set to true.
11164         ($(gcc_objdir)/fp-bit.c): Remove.
11165         (DPBIT): Set to true only with -m64bit-doubles.
11166         ($(gcc_objdir)/dp-bit.c): Remove.
11167         * config/sparc/t-softfp: Remove.
11168         * config/spu/t-elf: New file.
11169         * config/t-fdpbit, config/t-fpbit: New files.
11170         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
11171         (mips*-*-*): Likewise.
11172         (arm-wrs-vxworks): Likewise.
11173         (arm*-*-freebsd*): Likewise.
11174         (avr-*-rtems*): Add t-fpbit to tmake_file.
11175         (avr-*-*): Likewise.
11176         (bfin*-elf*): Add t-fdpbit to tmake_file.
11177         (bfin*-uclinux*): Likewise.
11178         (bfin*-linux-uclibc*): Likewise.
11179         (bfin*-rtems*): New case.
11180         Add t-fdpbit to tmake_file.
11181         (bfin*-*): Add t-fdpbit to tmake_file.
11182         (crisv32-*-elf): Likewise.
11183         (cris-*-linux*): Likewise.
11184         (fr30-*-elf): Likewise.
11185         (frv-*-elf, frv-*-*linux*): Likewise.
11186         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
11187         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
11188         (m32r-*-elf*): Likewise.
11189         (m32rle-*-elf*): Likewise.
11190         (m32r-*-linux*): Likewise.
11191         (m32rle-*-linux*): Likewise.
11192         (mcore-*-elf): Add t-fdpbit to tmake_file.
11193         (microblaze*-*-*): Likewise.
11194         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
11195         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
11196         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
11197         Fix typo.
11198         Add mips/t-tpbit to tmake-file.
11199         (mips*-*-linux*): Fix typo.
11200         (mips*-sde-elf*): New case
11201         Add mips/t-sdemtk unless using newlib.
11202         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
11203         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
11204         (mn10300-*-*): Likewise.
11205         (pdp11-*-*): Likewise.
11206         (picochip-*-*): Add t-fpbit to tmake_file.
11207         (powerpc-*-eabisimaltivec*): Likewise.
11208         (powerpc-*-eabisim*): Likewise.
11209         (powerpc-*-elf*): Likewise.
11210         (powerpc-*-eabialtivec*): Likewise.
11211         (powerpc-xilinx-eabi*): New case.
11212         Add t-fdpbit to tmake_file.
11213         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
11214         (powerpc-*-rtems*): Likewise.
11215         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
11216         tmake_file.
11217         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
11218         tmake_file.
11219         (powerpc-*-lynxos*): Likewise.
11220         (powerpcle-*-elf*): Likewise.
11221         (powerpcle-*-eabisim*): Likewise.
11222         (powerpcle-*-eabi*): Likewise.
11223         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11224         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
11225         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11226         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11227         (rx-*-elf): Add t-fdpbit to tmake_file.
11228         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11229         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11230         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11231         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
11232         sh*-*-netbsd*.
11233         (sh-*-rtems*): Add t-fdpbit to tmake_file.
11234         (sh-wrs-vxworks): Likewise.
11235         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
11236         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
11237         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
11238         (sparc64-*-rtems*): ... new case.
11239         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
11240         (spu-*-elf*): Likewise.
11241         Add spu/t-elf to tmake_file.
11242         (v850*-*-*): Add t-fdpbit to tmake_file.
11243         (xstormy16-*-elf): Likewise.
11244         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
11245         (mep*-*-*): Likewise.
11247 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11249         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
11250         variables.
11251         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
11252         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
11253         (install-unwind_h): New target.
11254         (all): Depend on it.
11255         * config.host (unwind_header): New variable.
11256         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
11257         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11258         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
11259         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
11260         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
11261         Set unwind_header.
11262         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
11263         Set unwind_header.
11264         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
11265         arm*-*-eabi*.
11266         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
11267         Set unwind_header.
11268         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
11269         (ia64*-*-freebsd*): Likewise.
11270         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
11271         tmake_file.
11272         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
11273         $with_system_libunwind.
11274         (ia64*-*-hpux*): Set tmake_file.
11275         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
11276         (picochip-*-*): Set tmake_file.
11277         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
11278         md_unwind_header.
11279         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11280         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11281         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
11282         (xtensa*-*-elf*): Set tmake_file.
11283         (xtensa*-*-linux*): Likewise.
11284         * configure.ac: Include ../config/unwind_ipinfo.m4.
11285         Call GCC_CHECK_UNWIND_GETIPINFO.
11286         Link unwind.h to $unwind_header.
11287         * configure: Regenerate.
11288         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
11289         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
11290         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
11291         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
11292         * config/unwind-dw2-fde-darwin.c: New file.
11293         * config/arm/libunwind.S, config/arm/pr-support.c,
11294         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
11295         config/arm/unwind-arm.h,: New files.
11296         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
11297         config/ia64/t-eh-ia64, config/ia64/t-glibc,
11298         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
11299         config/ia64/t-vms, config/ia64/unwind-ia64.c,
11300         config/ia64/unwind-ia64.h: New files.
11301         * config/picochip/t-picochip: New file.
11302         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
11303         files.
11304         * config/rs6000/t-darwin (LIB2ADDEH): Set.
11305         * config/s390/t-tpf (LIB2ADDEH): Remove.
11306         * config/t-darwin (LIB2ADDEH): Set.
11307         * config/t-eh-dw2-dip: New file.
11308         * config/t-libunwind, config/t-libunwind-elf: New files.
11309         * config/t-sol2 (LIB2ADDEH): Remove.
11310         * config/xtensa/t-xtensa: New file.
11312 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
11314         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
11315         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
11316         long long to check rt_sigreturn syscall.
11318 2011-08-02  Alan Modra  <amodra@gmail.com>
11320         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11321         Restore for indirect call bcrtl from correct stack slot, and only
11322         if cfa+40 isn't valid.
11324 2011-08-01  Julian Brown  <julian@codesourcery.com>
11326         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
11327         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
11328         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
11330 2011-08-01  Julian Brown  <julian@codesourcery.com>
11332         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
11333         (libgcc-std.ver.in): Use above.
11334         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
11335         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
11336         throughout file.
11337         * config/t-fixedpoint-gnu-prefix: New file.
11338         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
11339         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
11340         instead of __PFX__.
11342 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
11344         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
11345         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
11346         for x86-64.  Properly check __x86_64__ and __LP64__.
11348 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
11350         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
11351         version.
11352         (_FP_WS_TYPE): Likewise.
11353         (_FP_I_TYPE): Likewise.
11355 2011-07-28  Alan Modra  <amodra@gmail.com>
11357         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11358         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
11359         in a plt call stub.  Do restore r2 if stopped on bctrl.
11361 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11363         * config.host (i[3456x]86-*-netware*): Remove.
11364         * config/i386/netware-crt0.c, config/i386/t-nwld,
11365         config/i386/t-slibgcc-nwld: Remove.
11367 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
11369         * config.host: Handle tic6x-*-*.
11370         * config/c6x/c6x-abi.h: New file.
11372 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11374         * config/i386/crtprec.c: New file.
11375         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
11376         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
11377         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
11378         (x86_64-*-darwin*): Likewise.
11379         (i[34567]86-*-solaris2*: Likewise.
11381 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11383         * config/alpha/crtfastmath.c: New file.
11384         * config/i386/crtfastmath.c: New file.
11385         * config/ia64/crtfastmath.c: New file.
11386         * config/mips/crtfastmath.c: New file.
11387         * config/sparc/crtfastmath.c: New file.
11389         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
11390         crtfastmath.c.
11391         Add -frandom-seed=gcc-crtfastmath.
11392         * config/alpha/t-crtfm: Remove.
11393         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
11394         * config/ia64/t-ia64 (crtfastmath.o): Remove.
11396         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
11397         (alpha*-dec-osf5.1*): Likewise.
11398         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
11399         Add crtfastmath.o to extra_parts.
11400         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
11401         Add crtfastmath.o to extra_parts.
11402         (x86_64-*-darwin*): Likewise.
11403         (x86_64-*-mingw*): Likewise.
11404         (ia64*-*-elf*): Add t-crtfm to tmake_file.
11405         (ia64*-*-freebsd*): Likewise.
11406         (ia64*-*-linux*): Likewise.
11407         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
11408         Add crtfastmath.o to extra_parts.
11410 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11412         * config/darwin-crt3.o: New file.
11413         * config/rs6000/darwin-crt2.c: New file.
11414         * config/t-darwin: New file.
11415         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
11416         (crt2.o): New rule.
11417         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
11418         (powerpc-*-darwin*): Add crt2.o to extra_parts.
11419         (powerpc64-*-darwin*): Likewise.
11421 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11423         * config/i386/netware-crt0.c: New file.
11424         * config/i386/t-nwld: Rename to ...
11425         * config/i386/t-slibgcc-nwld: ... this.
11426         * config/i386/t-nwld: New file.
11427         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
11428         tmake_file.
11429         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
11430         extra_parts.
11432 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11434         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
11435         i386/t-crtstuff.
11436         * configure: Regenerate.
11438 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11440         * dfp-bit.c, dfp-bit.h: New files.
11441         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
11442         variables.
11443         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
11444         ($(d64pbit-o)): Likewise.
11445         ($(d128pbit-o)): Likewise.
11446         * config/t-dfprules: New file.
11447         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
11448         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
11449         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11450         (x86_64-*-linux*): Likewise.
11451         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11452         (i[34567]86-*-cygwin*): Likewise.
11453         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
11454         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11456 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11458         * Makfile.in (LIBGCOV): New variable.
11459         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
11460         * libgcov.c: New file.
11462 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11464         * fixed-bit.c, fixed-bit.h: New files.
11465         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
11466         refer to fixed-bit.c.
11468 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
11470         * config.host (*local*): Remove.
11472 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11474         PR target/39150
11475         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
11476         like i?86-*-solaris2.1[0-9]*.
11477         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
11478         * configure.ac (i?86-*-solaris2*): Likewise.
11479         * configure: Regenerate.
11481 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
11483         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11484         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
11485         md_unwind_header by splitting out of...
11486         (i[34567]86-*-linux*): ... this.
11487         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
11488         Remove md_unwind_header by splitting out of...
11489         (x86_64-*-linux*): ... this.
11491 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
11493         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
11495 2011-06-28  Nick Clifton  <nickc@redhat.com>
11497         * config.host: Recognize all V850 variants.
11499 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
11501         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
11503 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11505         * shared-object.mk (c_flags-$o): Save c_flags.
11506         ($(base)$(objext)): Use it.
11507         ($(base)_s$(objext)): Likewise.
11509 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
11511         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
11512         * libgcc-std.ver.in (GCC_4.7.0): New section.
11514 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
11516         PR target/49313
11517         PR target/29524
11518         * config/avr/t-avr: Fix line endings.
11519         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
11520         _parityXX2.
11522 2011-06-14  Olivier Hainque  <hainque@adacore.com>
11523             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11525         * config/mips/irix6-unwind.h: New file.
11526         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
11528 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
11530         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
11531         (sparc64_fallback_frame_state): Use it.
11532         (sparc64_frob_update_context): Further adjust context.
11533         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
11534         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
11535         * config/sparc/sol2-cn.S: Likewise.
11537 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11539         * enable-execute-stack-empty.c: New file.
11540         * enable-execute-stack-mprotect.c: New file.
11541         * config/i386/enable-execute-stack-mingw32.c: New file.
11542         * config.host (enable_execute_stack): New variable.
11543         Select appropriate variants.
11544         * configure.ac: Link enable-execute-stack.c to
11545         $enable_execute_stack.
11546         * configure: Regenerate.
11547         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
11548         (lib2funcs): Remove _enable_execute_stack.
11550 2011-06-09  David S. Miller  <davem@davemloft.net>
11551             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11553         * config.host (sparc-*-linux*): Correct md_unwind_header
11554         filename.
11555         (s390x-ibm-tpf*): Fix typo.
11557 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11559         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
11560         Add crtfastmath.o to extra_parts.
11561         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
11562         mips/t-crtfm.
11563         * config/mips/t-crtfm: Remove.
11565 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
11567         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
11569 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
11571         * config.host (sh*-*-linux*): Fix typo.
11573 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11575         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
11576         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
11577         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
11578         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
11579         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
11580         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
11581         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
11582         Wrap in !__MINGW64__.
11583         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
11584         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
11585         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
11586         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
11587         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
11588         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
11589         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
11590         Wrap in !__LP64__.
11591         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
11592         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
11593         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
11594         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
11595         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
11596         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
11597         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
11598         * config/no-unwind.h: New file.
11599         * config.host (md_unwind_header): Document.
11600         Define.
11601         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
11602         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
11603         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
11604         hppa[12]*-*-hpux11*): Set md_unwind_header.
11605         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
11606         Set md_unwind_header.
11607         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
11608         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
11609         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
11610         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
11611         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
11612         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
11613         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
11614         md_unwind_header.
11615         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
11616         * configure: Regenerate.
11618 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11620         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
11621         Set tmake_file, extra_parts.
11622         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
11623         Remove O32 support.
11624         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
11625         Remove O32 support.
11626         * config/mips/t-irix6: New file.
11627         * config/mips/t-slibgcc-irix: New file.
11629 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11631         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
11632         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
11634 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11636         * configure.ac (target_thread_file): Determine thread model.
11637         * configure: Regenerate.
11638         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
11639         * config/alpha/t-alpha: New file.
11640         * config/alpha/t-crtfm: Use $<.
11641         * config/alpha/t-ieee: New file.
11642         * config/alpha/t-osf-pthread: New file.
11643         * config/alpha/t-slibgcc-osf: New file.
11644         * config/alpha/libgcc-osf5.ver: New file.
11646 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11648         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
11649         tmake_file.
11650         Add crtfastmath.o to extra_parts.
11652 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11654         * config/gmon-sol2.c: Reindent.
11655         Cleanup comments.
11656         Remove, correct casts.
11657         Use STDERR_FILENO, NULL.
11658         (BASEADDRESS): Remove.
11659         (minbrk): Remove.
11660         (errno, sbrk): Remove declarations.
11661         (monstartup) [hp300]: Remove.
11662         (mcount): Remove.
11664 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11666         * Makefile.in (cpu_type): Define.
11667         * config.host (i[34567]86-*-rtems*): Handle it.
11668         (i[34567]86-*-solaris2*): Move body ...
11669         (*-*-solaris2*): ... here.
11670         New case, generalize.
11671         (sparc-*-elf*): Handle it.
11672         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
11673         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
11674         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
11675         Fold into ...
11676         (sparc*-*-solaris2*): ... this.
11677         New case.
11678         (sparc64-*-elf*): Handle it.
11679         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
11680         Merge ../gcc/config/i386/gmon-sol2.c.
11681         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
11682         Use C comments.
11683         Merge ../gcc/config/i386/sol2-gc1.asm.
11684         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
11685         Use C comments.
11686         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
11687         Use C comments.
11688         * config/i386/t-crtfm (crtfastmath.o): Use $<.
11689         * config/i386/t-crtstuff: New file.
11690         * config/i386/t-softfp: New file.
11691         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
11692         $(T)crti.o, $(T)crtn.o): Remove.
11693         (gcrt1.o): New rule.
11694         (TARGET_LIBGCC2_CFLAGS): Remove.
11695         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
11696         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
11697         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
11698         * config/sparc/t-sol2: New file.
11699         * config/sparc/t-crtfm: Move to ...
11700         * config/t-crtfm: ... this.
11701         Use $(cpu_type), $<.
11702         * config/t-crtin: New file.
11703         * config/sparc/t-softfp: New file.
11704         * config/sparc/t-softmul: New file.
11705         * config/t-rtems: New file.
11706         * config/t-slibgcc: New file.
11707         * config/t-slibgcc-elf-ver: New file.
11708         * config/t-slibgcc-gld: New file.
11709         * config/t-slibgcc-sld: New file.
11710         * config/t-sol2: New file.
11711         * configure.ac: Include ../config/lib-ld.m4.
11712         Call AC_LIB_PROG_LD_GNU.
11713         Substitute cpu_type.
11714         * configure: Regenerate.
11716 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
11718         PR bootstrap/49173
11719         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
11720         libgcc-std.ver in the build directory.
11721         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
11722         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
11724 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
11726         * libgcc-std.ver.in: New file.
11727         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
11728         variables.
11729         (libgcc-std.ver): New rule.
11730         * config/t-gnu-prefix: New file.
11732 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11734         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
11736 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
11738         * config/i386/darwin-lib.h: New file.
11740 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
11742         * config/arm/symbian-lib.h: New.
11744 2011-05-04  Chris Demetriou  <cgd@google.com>
11746         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
11747         (__x86.get_pc_thunk.bx): ...this.
11748         (__morestack): Adjust for rename, remove undef of __i686.
11750 2011-05-03  Chris Demetriou  <cgd@google.com>
11752         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
11754 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
11756         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
11757         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
11758         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
11759         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
11760         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
11761         Remove cases.
11763 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
11765         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
11766         Adjust copyright year.
11768 2011-03-07  Ian Lance Taylor  <iant@google.com>
11770         * generic-morestack.c (__splitstack_find): Adjust returned stack
11771         pointer to include all registers pushed by __morestack.
11773 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
11775         PR target/40125
11776         * configure.ac: Call ACX_NONCANONICAL_TARGET.
11777         (toolexecdir): Calculate and AC_SUBST.
11778         (toolexeclibdir): Likewise.
11779         * Makefile.in (target_noncanonical): Import.
11780         (toolexecdir): Likewise.
11781         (toolexeclibdir): Likewise.
11782         * configure: Regenerate.
11784 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
11786         PR target/46040
11787         * config/arm/bpabi.h: Rename to...
11788         * config/arm/bpabi-lib.h: ...this.
11790 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11792         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
11793         appropriate.
11794         * configure: Regenerate.
11796 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
11798         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
11799         __FLOAT_WORD_ORDER__.
11800         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
11801         Delete.
11803 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11805         PR other/46202
11806         * Makefile.in (install-strip): New phony target.
11808 2010-11-07  Ian Lance Taylor  <iant@google.com>
11810         PR target/46089
11811         * config/i386/morestack.S (__morestack_large_model): New
11812         function.
11814 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
11816         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
11817         Delete.
11818         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
11820 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
11822         * config/arm/bpabi.h: New file.
11823         * config/frv/frv-abi.h: New file.
11825 2010-10-01  Ian Lance Taylor  <iant@google.com>
11827         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
11828         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
11830 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
11832         PR target/45858
11833         * config.host: Add the missing `$'.
11835 2010-09-30  Michael Eager  <eager@eagercon.com>
11837         * config.host: Add microblaze*-*-*.
11838         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
11839         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
11840         udivsi3.asm,umodsi3.asm}:  New.
11842 2010-09-28  Ian Lance Taylor  <iant@google.com>
11844         * configure.ac: Adjust CFI test to test assembler directly rather
11845         than checking gcc preprocessor macro.
11846         * configure: Rebuild.
11848 2010-09-27  Ian Lance Taylor  <iant@google.com>
11850         * configure.ac: Test whether assembler supports CFI directives.
11851         * config.host: Only add t-stack and i386/t-stack-i386 to
11852         tmake_file if libgcc_cv_cfi is "yes".
11853         * configure: Rebuild.
11855 2010-09-27  Ian Lance Taylor  <iant@google.com>
11857         * generic-morestack.h: New file.
11858         * generic-morestack.c: New file.
11859         * generic-morestack-thread.c: New file.
11860         * config/i386/morestack.S: New file.
11861         * config/t-stack: New file.
11862         * config/i386/t-stack-i386: New file.
11863         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
11864         i386/t-stack-i386 to tmake_file.
11866 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
11868         * Makefile.in (libgcc-extra-parts):  Check for static archives and
11869         invoke ranlib after installing them.
11870         (gcc-extra-parts): Likewise.
11871         (install-leaf): Likewise.
11873 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
11875         * configure: Regenerated.
11877 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
11879         * configure: Regenerated.
11881 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
11882             Andrew Pinski  <pinskia@gmail.com>
11884         PR target/40959
11885         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
11887 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
11889         PR target/45524
11890         * configure: Regenerated.
11892 2010-09-06  Andreas Schwab  <schwab@redhat.com>
11894         * configure: Regenerate.
11896 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
11898         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
11899         64bit targets.
11900         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
11901         for 64bit targets.
11903 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
11904             Iain Sandoe  <iains@gcc.gnu.org>
11906         PR target/45476
11907         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
11908         LIB2FUNCS_EXCLUDE functions.
11910 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11912         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
11913         Include dfp.m4.
11914         * configure: Regenerate.
11916 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
11918         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
11919         i386/t-freebsd to tmake_file.
11920         * config/i386/t-freebsd: New file.
11921         * config/i386/libgcc-bsd.ver: New file.
11923 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
11925         * config.host (powerpc*-eabispe*): Set tmake_file.
11926         (powerpc*-eabi*): Likewise.
11927         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
11928         crtbeginS, crtendS, crtbeginT.
11930 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
11932         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
11933         to tmake_file.  Add crtfastmath.o to extra_parts.
11934         * config/mips/t-crtfm: New.
11936 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
11938         * config.host (sparc64-*-rtems*): New target.
11940 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11942         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11943         assembler syntax.
11945 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
11947         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
11949 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11951         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
11952         alpha-dec-osf5.0* support.
11954 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
11956         * config.host: Add lm32-*-rtems*.
11958 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11959             Uros Bizjak  <ubizjak@gmail.com>
11961         PR target/39048
11962         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
11963         like other remaining 32-bit x86 OSes.
11964         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11965         assembler syntax.
11966         * config/i386/libgcc-sol2.ver: New file.
11967         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
11969 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
11971         PR c/43553
11972         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
11973         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
11974         is used and substitute set_use_emutls.
11975         * configure: Regenerated.
11977 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
11979         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
11981 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11983         PR target/38085
11984         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
11985         MULTILIB_CFLAGS.
11986         ($(T)gcrt1.o): Likewise.
11987         ($(T)crt1.o): Likewise.
11988         ($(T)crti.o): Likewise.
11989         ($(T)crtn.o): Likewise.
11991 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11993         PR other/42980
11994         * Makefile.in (install): Use $(MAKE) string in rule, for
11995         parallel make.
11997 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
11999         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
12000         * config/mmix/t-mmix: New file.
12001         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
12003 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
12005         PR java/41991
12006         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
12007         SHLIB_MAPFILES.
12009 2010-01-04  Anthony Green  <green@moxielogic.com>
12011         * config/moxie/crti.asm, config/moxie/crtn.asm,
12012         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
12013         config/moxie/t-moxie: New files.
12014         * config.host: Add t-moxie-softfp reference.
12016 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
12018         PR other/39888
12019         * config/t-slibgcc-darwin: Fix embedded rpaths for
12020         --enable-version-specific-runtime-libs, build extension stub
12021         libs exposing features available from current libgcc_s.
12023 2009-11-11  Jon Beniston  <jon@beniston.com>
12025         * config.host: Add lm32 targets.
12026         * config/lm32: New directory.
12027         * config/lm32/libgcc_lm32.h: New file.
12028         * config/lm32/_mulsi3.c: New file.
12029         * config/lm32/_udivmodsi4.c: New file.
12030         * config/lm32/_divsi3.c: New file.
12031         * config/lm32/_modsi3.c: New file.
12032         * config/lm32/_udivsi3.c: New file.
12033         * config/lm32/_umodsi3.c: New file.
12034         * config/lm32/_lshrsi3.S: New file.
12035         * config/lm32/_ashrsi3.S: New file.
12036         * config/lm32/_ashlsi3.S: New file.
12037         * config/lm32/crti.S: New file.
12038         * config/lm32/crtn.S: New file.
12039         * config/lm32/t-lm32: New file.
12040         * config/lm32/t-elf: New file.
12041         * config/lm32/t-uclinux: New file.
12043 2009-10-26  Nick Clifton  <nickc@redhat.com>
12045         * config.host: Add support for RX target.
12046         * config/rx: New directory.
12047         * config/rx/rx-abi-functions.c: New file. Supplementary
12048         functions for libgcc to support the RX ABI.
12049         * config/rx/rx-abi.h: New file.  Supplementary header file for
12050         libgcc RX ABI functions.
12051         * config/rx/t-rx: New file: Makefile fragment for building
12052         libgcc for the RX.
12054 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
12056         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
12057         constraint of y0 to "g".
12059 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12061         * config.host: Include the s390 makefile fragments.
12062         * config/s390/32/_fixdfdi.c: New file.
12063         * config/s390/32/_fixsfdi.c: New file.
12064         * config/s390/32/_fixtfdi.c: New file.
12065         * config/s390/32/_fixunsdfdi.c: New file.
12066         * config/s390/32/_fixunssfdi.c: New file.
12067         * config/s390/32/_fixunstfdi.c: New file.
12068         * config/s390/32/t-floattodi: New file.
12069         * config/s390/libgcc-glibc.ver: New file.
12070         * config/s390/t-crtstuff: New file.
12071         * config/s390/t-linux: New file.
12072         * config/s390/t-tpf: New file.
12074 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12076         * configure.ac (AC_PREREQ): Bump to 2.64.
12078 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
12080         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
12082 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12084         * configure: Regenerate.
12086 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
12088         * config.host (ia64-hp-*vms*): New target.
12089         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
12090         with ia64-hp-*vms*.
12092 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12094         * configure.ac: Add snippet for maintainer-mode.
12095         * configure: Regenerate.
12096         * Makefile.in (AUTOCONF, configure_deps): New variables.
12097         ($(srcdir)/configure)): New rule, active only with maintainer
12098         mode turned on.
12100 2009-06-23  DJ Delorie  <dj@redhat.com>
12102         Add MeP port.
12103         * config.host: Add mep support.
12105 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
12107         * config.host: Add i386/${host_address}/t-fprules-softfp and
12108         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
12110         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
12111         for mingw targets.
12112         * config/i386/64/_multc3.c: Likewise.
12113         * config/i386/64/_powitf2.c: Likewise.
12114         * config/i386/64/eqtf2.c: Likewise.
12115         * config/i386/64/getf2.c: Likewise.
12116         * config/i386/64/letf2.c: Likewise.
12117         * config/i386/64/letf2.c: Likewise.
12118         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
12119         unsigned long long for x64 mingw targets.
12120         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
12121         (_FP_I_TYPE): Define as long long for x64 mingw target.
12123 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
12125         * config.host (vax-*-linux*): New.
12127 2009-05-31  Anthony Green  <green@moxielogic.com>
12129         * config.host: Add moxie support.
12130         * config/moxie/t-moxie: New file.
12132 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
12134         * config.host: Add i386/${host_address}/t-fprules-softfp and
12135         t-softfp to tmake_file for i[34567]86-*-cygwin*.
12137 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
12139         * config.host: Add i386/${host_address}/t-fprules-softfp to
12140         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
12142 2009-04-09  Nick Clifton  <nickc@redhat.com>
12144         * config/ia64/tf-signs.c: Change copyright header to refer to
12145         version 3 of the GNU General Public License with version 3.1
12146         of the GCC Runtime Library Exception and to point readers at
12147         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
12148         web page.
12149         * config/i386/32/tf-signs.c: Likewise.
12150         * config/libbid/_addsub_dd.c: Likewise.
12151         * config/libbid/_addsub_sd.c: Likewise.
12152         * config/libbid/_addsub_td.c: Likewise.
12153         * config/libbid/_dd_to_df.c: Likewise.
12154         * config/libbid/_dd_to_di.c: Likewise.
12155         * config/libbid/_dd_to_sd.c: Likewise.
12156         * config/libbid/_dd_to_sf.c: Likewise.
12157         * config/libbid/_dd_to_si.c: Likewise.
12158         * config/libbid/_dd_to_td.c: Likewise.
12159         * config/libbid/_dd_to_tf.c: Likewise.
12160         * config/libbid/_dd_to_udi.c: Likewise.
12161         * config/libbid/_dd_to_usi.c: Likewise.
12162         * config/libbid/_dd_to_xf.c: Likewise.
12163         * config/libbid/_df_to_dd.c: Likewise.
12164         * config/libbid/_df_to_sd.c: Likewise.
12165         * config/libbid/_df_to_td.c: Likewise.
12166         * config/libbid/_di_to_dd.c: Likewise.
12167         * config/libbid/_di_to_sd.c: Likewise.
12168         * config/libbid/_di_to_td.c: Likewise.
12169         * config/libbid/_div_dd.c: Likewise.
12170         * config/libbid/_div_sd.c: Likewise.
12171         * config/libbid/_div_td.c: Likewise.
12172         * config/libbid/_eq_dd.c: Likewise.
12173         * config/libbid/_eq_sd.c: Likewise.
12174         * config/libbid/_eq_td.c: Likewise.
12175         * config/libbid/_ge_dd.c: Likewise.
12176         * config/libbid/_ge_sd.c: Likewise.
12177         * config/libbid/_ge_td.c: Likewise.
12178         * config/libbid/_gt_dd.c: Likewise.
12179         * config/libbid/_gt_sd.c: Likewise.
12180         * config/libbid/_gt_td.c: Likewise.
12181         * config/libbid/_isinfd128.c: Likewise.
12182         * config/libbid/_isinfd32.c: Likewise.
12183         * config/libbid/_isinfd64.c: Likewise.
12184         * config/libbid/_le_dd.c: Likewise.
12185         * config/libbid/_le_sd.c: Likewise.
12186         * config/libbid/_le_td.c: Likewise.
12187         * config/libbid/_lt_dd.c: Likewise.
12188         * config/libbid/_lt_sd.c: Likewise.
12189         * config/libbid/_lt_td.c: Likewise.
12190         * config/libbid/_mul_dd.c: Likewise.
12191         * config/libbid/_mul_sd.c: Likewise.
12192         * config/libbid/_mul_td.c: Likewise.
12193         * config/libbid/_ne_dd.c: Likewise.
12194         * config/libbid/_ne_sd.c: Likewise.
12195         * config/libbid/_ne_td.c: Likewise.
12196         * config/libbid/_sd_to_dd.c: Likewise.
12197         * config/libbid/_sd_to_df.c: Likewise.
12198         * config/libbid/_sd_to_di.c: Likewise.
12199         * config/libbid/_sd_to_sf.c: Likewise.
12200         * config/libbid/_sd_to_si.c: Likewise.
12201         * config/libbid/_sd_to_td.c: Likewise.
12202         * config/libbid/_sd_to_tf.c: Likewise.
12203         * config/libbid/_sd_to_udi.c: Likewise.
12204         * config/libbid/_sd_to_usi.c: Likewise.
12205         * config/libbid/_sd_to_xf.c: Likewise.
12206         * config/libbid/_sf_to_dd.c: Likewise.
12207         * config/libbid/_sf_to_sd.c: Likewise.
12208         * config/libbid/_sf_to_td.c: Likewise.
12209         * config/libbid/_si_to_dd.c: Likewise.
12210         * config/libbid/_si_to_sd.c: Likewise.
12211         * config/libbid/_si_to_td.c: Likewise.
12212         * config/libbid/_td_to_dd.c: Likewise.
12213         * config/libbid/_td_to_df.c: Likewise.
12214         * config/libbid/_td_to_di.c: Likewise.
12215         * config/libbid/_td_to_sd.c: Likewise.
12216         * config/libbid/_td_to_sf.c: Likewise.
12217         * config/libbid/_td_to_si.c: Likewise.
12218         * config/libbid/_td_to_tf.c: Likewise.
12219         * config/libbid/_td_to_udi.c: Likewise.
12220         * config/libbid/_td_to_usi.c: Likewise.
12221         * config/libbid/_td_to_xf.c: Likewise.
12222         * config/libbid/_tf_to_dd.c: Likewise.
12223         * config/libbid/_tf_to_sd.c: Likewise.
12224         * config/libbid/_tf_to_td.c: Likewise.
12225         * config/libbid/_udi_to_dd.c: Likewise.
12226         * config/libbid/_udi_to_sd.c: Likewise.
12227         * config/libbid/_udi_to_td.c: Likewise.
12228         * config/libbid/_unord_dd.c: Likewise.
12229         * config/libbid/_unord_sd.c: Likewise.
12230         * config/libbid/_unord_td.c: Likewise.
12231         * config/libbid/_usi_to_dd.c: Likewise.
12232         * config/libbid/_usi_to_sd.c: Likewise.
12233         * config/libbid/_usi_to_td.c: Likewise.
12234         * config/libbid/_xf_to_dd.c: Likewise.
12235         * config/libbid/_xf_to_sd.c: Likewise.
12236         * config/libbid/_xf_to_td.c: Likewise.
12237         * config/libbid/bid128.c: Likewise.
12238         * config/libbid/bid128_2_str.h: Likewise.
12239         * config/libbid/bid128_2_str_macros.h: Likewise.
12240         * config/libbid/bid128_2_str_tables.c: Likewise.
12241         * config/libbid/bid128_add.c: Likewise.
12242         * config/libbid/bid128_compare.c: Likewise.
12243         * config/libbid/bid128_div.c: Likewise.
12244         * config/libbid/bid128_fma.c: Likewise.
12245         * config/libbid/bid128_logb.c: Likewise.
12246         * config/libbid/bid128_minmax.c: Likewise.
12247         * config/libbid/bid128_mul.c: Likewise.
12248         * config/libbid/bid128_next.c: Likewise.
12249         * config/libbid/bid128_noncomp.c: Likewise.
12250         * config/libbid/bid128_quantize.c: Likewise.
12251         * config/libbid/bid128_rem.c: Likewise.
12252         * config/libbid/bid128_round_integral.c: Likewise.
12253         * config/libbid/bid128_scalb.c: Likewise.
12254         * config/libbid/bid128_sqrt.c: Likewise.
12255         * config/libbid/bid128_string.c: Likewise.
12256         * config/libbid/bid128_to_int16.c: Likewise.
12257         * config/libbid/bid128_to_int32.c: Likewise.
12258         * config/libbid/bid128_to_int64.c: Likewise.
12259         * config/libbid/bid128_to_int8.c: Likewise.
12260         * config/libbid/bid128_to_uint16.c: Likewise.
12261         * config/libbid/bid128_to_uint32.c: Likewise.
12262         * config/libbid/bid128_to_uint64.c: Likewise.
12263         * config/libbid/bid128_to_uint8.c: Likewise.
12264         * config/libbid/bid32_to_bid128.c: Likewise.
12265         * config/libbid/bid32_to_bid64.c: Likewise.
12266         * config/libbid/bid64_add.c: Likewise.
12267         * config/libbid/bid64_compare.c: Likewise.
12268         * config/libbid/bid64_div.c: Likewise.
12269         * config/libbid/bid64_fma.c: Likewise.
12270         * config/libbid/bid64_logb.c: Likewise.
12271         * config/libbid/bid64_minmax.c: Likewise.
12272         * config/libbid/bid64_mul.c: Likewise.
12273         * config/libbid/bid64_next.c: Likewise.
12274         * config/libbid/bid64_noncomp.c: Likewise.
12275         * config/libbid/bid64_quantize.c: Likewise.
12276         * config/libbid/bid64_rem.c: Likewise.
12277         * config/libbid/bid64_round_integral.c: Likewise.
12278         * config/libbid/bid64_scalb.c: Likewise.
12279         * config/libbid/bid64_sqrt.c: Likewise.
12280         * config/libbid/bid64_string.c: Likewise.
12281         * config/libbid/bid64_to_bid128.c: Likewise.
12282         * config/libbid/bid64_to_int16.c: Likewise.
12283         * config/libbid/bid64_to_int32.c: Likewise.
12284         * config/libbid/bid64_to_int64.c: Likewise.
12285         * config/libbid/bid64_to_int8.c: Likewise.
12286         * config/libbid/bid64_to_uint16.c: Likewise.
12287         * config/libbid/bid64_to_uint32.c: Likewise.
12288         * config/libbid/bid64_to_uint64.c: Likewise.
12289         * config/libbid/bid64_to_uint8.c: Likewise.
12290         * config/libbid/bid_b2d.h: Likewise.
12291         * config/libbid/bid_binarydecimal.c: Likewise.
12292         * config/libbid/bid_conf.h: Likewise.
12293         * config/libbid/bid_convert_data.c: Likewise.
12294         * config/libbid/bid_decimal_data.c: Likewise.
12295         * config/libbid/bid_decimal_globals.c: Likewise.
12296         * config/libbid/bid_div_macros.h: Likewise.
12297         * config/libbid/bid_dpd.c: Likewise.
12298         * config/libbid/bid_flag_operations.c: Likewise.
12299         * config/libbid/bid_from_int.c: Likewise.
12300         * config/libbid/bid_functions.h: Likewise.
12301         * config/libbid/bid_gcc_intrinsics.h: Likewise.
12302         * config/libbid/bid_inline_add.h: Likewise.
12303         * config/libbid/bid_internal.h: Likewise.
12304         * config/libbid/bid_round.c: Likewise.
12305         * config/libbid/bid_sqrt_macros.h: Likewise.
12307 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
12309         * Makefile.in: Change copyright header to refer to version
12310         3 of the GNU General Public License and to point readers at the
12311         COPYING3 file and the FSF's license web page.
12312         * config.host: Likewise.
12314 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
12316         * config.host: Reorder and merge to match config.gcc change.
12318 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
12320         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
12322 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
12324         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
12325         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
12326         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
12327         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
12329 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
12331         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
12332         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12334 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
12336         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
12337         ia64/t-softfp-compat to tmake_file.
12339         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
12341         * config/ia64/__divxf3.asm: New.
12342         * config/ia64/_fixtfdi.asm: Likewise.
12343         * config/ia64/_fixunstfdi.asm: Likewise.
12344         * config/ia64/_floatditf.asm: Likewise.
12345         * config/ia64/t-fprules-softfp: Likewise.
12346         * config/ia64/t-softfp-compat: Likewise.
12347         * config/ia64/tf-signs.c: Likewise.
12349 2009-01-18  Ben Elliston  <bje@au.ibm.com>
12351         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12353 2009-01-16  Ben Elliston  <bje@au.ibm.com>
12355         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
12356         to tmake_file.
12358 2009-01-13  Ben Elliston  <bje@au.ibm.com>
12360         * config/t-softfp: New file.
12361         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
12362         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
12364 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
12366         * config.host: Add m32r*-*-rtems*.
12368 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
12370         * config.host: Add m32c*-*-rtems*.
12372 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12374         PR bootstrap/33100
12375         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
12376         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
12377         * configure: Regenerate.
12378         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
12379         tmake_file here from gcc/config.gcc.
12380         Move extra_parts here from gcc/config.gcc.
12381         * config/i386/t-sol2: Move here from gcc/config/i386.
12382         Use gcc_srcdir instead of srcdir.
12384 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
12386         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
12387         case.
12389 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
12391         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
12393 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
12395         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
12397 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
12399         Add picoChip port.
12400         * config.host: Add picochip-*-*.
12402 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
12404         * config.host: Match more processor names for Xtensa.
12406 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
12408         * config/i386/64/t-softfp-compat: Update comments.
12410 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
12412         * config/i386/64/_divtc3-compat.c: Moved to ...
12413         * config/i386/64/_divtc3.c: Here.
12415         * config/i386/64/_multc3-compat.c: Moved to ...
12416         * config/i386/64/_multc3.c: Here.
12418         * config/i386/64/_powitf2-compat.c: Moved to ...
12419         * config/i386/64/_powitf2.c: Here.
12421         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
12422         .c suffix instead of -compat.c.
12424 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
12426         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
12427         (_FP_MUL_MEAT_D): Ditto.
12428         (_FP_DIV_MEAT_S): Ditto.
12429         (_FP_DIV_MEAT_D): Ditto.
12431 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
12433         * Makefile.in: Add support for __sync_* libgcc functions.
12435 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
12437         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
12439 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12441         PR boostrap/36702
12442         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
12443         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
12445         * config/i386/64/t-fprules-softfp: Moved to ...
12446         * config/i386/64/t-softfp-compat: This.  New.
12448 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
12450         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
12451         Initialize f with 0.0.
12453 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12455         PR target/36669
12456         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
12458         * config/i386/64/_divtc3-compat.c: New.
12459         * config/i386/64/_multc3-compat.c: Likewise.
12460         * config/i386/64/_powitf2-compat.c: Likewise.
12461         * config/i386/64/eqtf2.c: Likewise.
12462         * config/i386/64/getf2.c: Likewise.
12463         * config/i386/64/letf2.c: Likewise.
12464         * config/i386/64/t-fprules-softfp: Likewise.
12466 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12468         * config.host: Add i386/${host_address}/t-fprules-softfp to
12469         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
12470         i[34567]86-*-linux*, x86_64-*-linux*.
12472         * configure.ac: Set host_address to 64 or 32 for x86.
12473         * configure: Regenerated.
12475         * Makefile.in (config.status): Also depend on
12476         $(srcdir)/config.host.
12478         * config/i386/32/t-fprules-softfp: New.
12479         * config/i386/32/tf-signs.c: Likewise.
12481         * config/i386/64/sfp-machine.h: New. Moved from gcc.
12483 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12484             Uros Bizjak  <ubizjak@gmail.com>
12486         * config/i386/32/sfp-machine.h: New.
12488 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
12490         * config/rs6000/t-ppccomm: Remove rules that conflict with
12491         auto-generated rules.
12493 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12495         * configure.ac: sinclude override.m4.
12496         * configure: Regenerate.
12498 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
12500         * configure: Regenerate.
12502 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
12504         * Makefile.in (DECNUMINC): Remove
12505         -I$(MULTIBUILDTOP)../../libdecnumber.
12506         * gstdint.h: New.
12508 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
12510         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
12511         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
12512         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
12513         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
12514         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
12515         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
12516         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
12517         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
12518         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
12519         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
12520         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
12521         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
12522         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
12523         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
12525 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
12527         * config.host (sh2[lbe]*-*-linux*): Allow target.
12529 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
12531         * config/rs6000/t-ppccomm: Add build rules for new files.
12532         (LIB2ADD_ST): New variable.
12534 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
12536         PR target/34210
12537         PR target/35508
12538         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
12539         * config/t-avr: New file. Build 16bit libgcc functions.
12541 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
12543         PR target/35401
12544         * config/t-slibgcc-darwin: Make install-leaf dependent on
12545         install-darwin-libgcc-stubs instead of install.
12547 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
12549         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
12550         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
12551         sh-*-rtemscoff*): Remove cases.
12553 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
12555         * Makefile.in (all): Use install-leaf rather than install.
12556         (install): Split most of the rule into...
12557         (install-leaf): ...this new one.
12559 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
12560             Paolo Bonzini  <bonzini@gnu.org>
12562         PR target/30572
12563         * Makefile.in: Use @shlib_slibdir@ substitution to get
12564         correct install name on darwin.
12565         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
12567 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
12569         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
12570         cris-*-elf and cris-*-none.
12571         (crisv32-*-linux*): Similar, as cris-*-linux*.
12573 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
12575         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
12577 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
12579         PR regression/33926
12580         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
12581         * configure: Regenerated.
12583 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
12585         * Makefile.in (dfp-filenames): Replace decimal_globals,
12586         decimal_data, binarydecimal and convert_data with
12587         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
12588         and bid_convert_data, respectively.
12590 2007-09-17  Chao-ying Fu  <fu@mips.com>
12591             Nigel Stephens  <nigel@mips.com>
12593         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
12594         * Makefile.in (fixed_point): Define.
12595         Check if fixed_point is yes to build support functions.
12596         * configure.ac: Check for fixed_point support.
12597         * configure: Regenerated.
12598         * gen-fixed.sh: New file to generate lists of fixed-point labels,
12599         funcs, modes, from, to.
12601 2007-09-11  Janis Johnson  <janis187@us.ibm.com
12603         * Makefile.in (dfp-filenames): Add bid128_noncomp.
12605 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
12607         * Makefile.in (dfp-filenames): Remove decUtility, add
12608         decDouble, decPacked, decQuad, decSingle.
12610 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
12612         * config.host : Add x86_64-elf target.
12614 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
12616         * configure.ac (set_have_cc_tls): Add a missing =.
12617         * configure: Regenerated.
12619 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
12621         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
12622         and x86_64-*-linux*.
12624         * config/t-tls: New file.
12626         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
12628         * configure.ac: Include ../config/enable.m4 and
12629         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
12630         supports TLS and substitute set_have_cc_tls.
12631         * configure: Regenerated.
12633 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
12635         * Makefile.in: Use libbid for DFP when BID is enabled.
12637 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
12639         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
12640         extra_parts. Add config/i386/t-cygming to tmake_file.
12641         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
12643 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
12644             Danny Smith  <dannysmith@users.sourceforge.net>
12646         PR target/29498
12647         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
12648         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
12649         * config/i386/t-crtfm: Compile crtfastmath.o with
12650         -minline-all-stringops.
12652 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
12654         * config.host (sparc-wrs-vxworks): New target.
12656 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
12658         * config.host: Recognize fido.
12660 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
12662         * configure: Check host, not target, for decimal float support.
12664 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
12666         * config/i386/t-crtpc: New file.
12667         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
12668         (x86_64-*-linux*): Ditto.
12670 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
12672         * config.host (x86_64-*-mingw*): New target.
12674 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
12675             H.J. Lu  <hongjiu.lu@intel.com>
12677         * Makefile.in (enable_decimal_float): New.
12678         (DECNUMINC): Add
12679         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
12680         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
12681         (decbits-filenames): This.
12682         (decbits-objects): New.
12683         (libgcc-objects): Add $(decbits-objects).
12685         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
12686         Substitute enable_decimal_float.
12687         * configure: Regenerated.
12689 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
12691         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
12693 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
12695         * Makefile.in (install-info): New dummy target.
12697 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
12699         * config.host (bfin*-linux-uclibc*): Set extra_parts.
12701 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
12703         * Makefile.in: Add install-html and install-pdf dummy
12704         targets.
12706 2007-02-05  Roger Sayle  <roger@eyesopen.com>
12707             Daniel Jacobowitz  <dan@codesourcery.com>
12709         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
12710         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
12711         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
12713 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
12715         * Makefile.in (dec-filenames): Add decExcept.
12717 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
12719         PR bootstrap/30469
12720         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
12721         -fprofile-use.
12723 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
12725         * configure.ac: Add --enable-version-specific-runtime-libs.
12726         Correct $slibdir default.
12727         * configure: Regenerated.
12729 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
12731         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
12733 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
12735         PR target/30519
12736         * config.host (alpha*-*-linux*): Set extra_parts.
12738 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
12740         * config/sh/t-linux: New.
12741         * config.host (sh*-*-linux*): Set tmake_file.
12743 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
12745         * Makefile.in (install): Handle multilibs.
12747 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
12749         * Makefile.in: Added .PHONY entry for documentation targets.
12751 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
12753         * Makefile.in: Add empty info, html, dvi, pdf targets.
12755 2007-01-04  Mike Stump  <mrs@apple.com>
12757         * Makefile.in (MAKEINFO): Remove.
12758         (PERL): Likewise.
12760 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
12762         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
12763         * configure: Regenerate.
12764         * Makefile.in (host_subdir): Substitute it.
12765         (gcc_objdir): Use it.
12767 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
12769         * config.host (ia64*-*-linux*): Set tmake_file.
12771 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
12773         * Makefile.in (version): Define.
12775 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
12776             Paolo Bonzini  <bonzini@gnu.org>
12778         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
12779         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
12780         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
12781         config/sparc/t-crtfm, config/t-slibgcc-darwin,
12782         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
12783         shared-object.mk, siditi-object.mk, static-object.mk: New files.
12784         * configure: Generated.
12786 Copyright (C) 2007-2023 Free Software Foundation, Inc.
12788 Copying and distribution of this file, with or without modification,
12789 are permitted in any medium without royalty provided the copyright
12790 notice and this notice are preserved.