ada: output.adb: fix newline being inserted when buffer is full
[official-gcc.git] / libgcc / ChangeLog
blob10b31342b035f186089285387eaaa3da132e19c3
1 2023-01-02  Florian Weimer  <fweimer@redhat.com>
3         * unwind-dw2-execute_cfa.h: New file.  Extracted from
4         the execute_cfa_program function in unwind-dw2.c.
5         * unwind-dw2.c (execute_cfa_program_generic): New function.
6         (execute_cfa_program_specialized): Likewise.
7         (execute_cfa_program): Call execute_cfa_program_specialized
8         or execute_cfa_program_generic, as appropriate.
10 2023-01-02  Florian Weimer  <fweimer@redhat.com>
12         * unwind-dw2.c (dwarf_reg_size): New function.
13         (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
14         (_Unwind_SetSpColumn, uw_install_context_1): Use it.
15         (uw_init_context_1): Do not initialize dwarf_reg_size_table
16         if not in use.
18 2022-12-25  Jonathan Yong  <10walls@gmail.com>
20         * config/i386/gthr-win32.h: undef CC_NONE
22 2022-12-24  Iain Sandoe  <iain@sandoe.co.uk>
24         * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
25         install of libgcc_s.1.dylib when the installation is into the build
26         gcc directory.
28 2022-12-23  Eric Botcazou  <ebotcazou@adacore.com>
30         * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
31         as well as new i386/t-slibgcc-mingw fragment.
32         (x86_64-*-mingw*): Likewise.
33         * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
34         both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
35         Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
36         Include stdlib.h instead of errno.h and do not include _mingw.h.
37         (CONST_CAST2): Add specific definition for C++.
38         (ATTRIBUTE_UNUSED): New macro.
39         (__UNUSED_PARAM): Delete.
40         Define WIN32_LEAN_AND_MEAN before including windows.h.
41         (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
42         (__gthread_objc_init_thread_system): Likewise.
43         (__gthread_objc_thread_get_data): Minor tweak.
44         (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
45         (__gthread_objc_condition_deallocate): Likewise.
46         (__gthread_objc_condition_wait): Likewise.
47         (__gthread_objc_condition_broadcast): Likewise.
48         (__gthread_objc_condition_signal): Likewise.
49         Include sys/time.h.
50         (__gthr_win32_DWORD): New typedef.
51         (__gthr_win32_HANDLE): Likewise.
52         (__gthr_win32_CRITICAL_SECTION): Likewise.
53         (__gthr_win32_CONDITION_VARIABLE): Likewise.
54         (__gthread_t): Adjust.
55         (__gthread_key_t): Likewise.
56         (__gthread_mutex_t): Likewise.
57         (__gthread_recursive_mutex_t): Likewise.
58         (__gthread_cond_t): New typedef.
59         (__gthread_time_t): Likewise.
60         (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
61         (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
62         (__GTHREAD_COND_INIT_FUNCTION): Define.
63         (__GTHREAD_TIME_INIT): Likewise.
64         (__gthr_i486_lock_cmp_xchg): Delete.
65         (__gthr_win32_create): Declare.
66         (__gthr_win32_join): Likewise.
67         (__gthr_win32_self): Likewise.
68         (__gthr_win32_detach): Likewise.
69         (__gthr_win32_equal): Likewise.
70         (__gthr_win32_yield): Likewise.
71         (__gthr_win32_mutex_destroy): Likewise.
72         (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
73         (__gthr_win32_cond_broadcast): Likewise.
74         (__gthr_win32_cond_signal): Likewise.
75         (__gthr_win32_cond_wait): Likewise.
76         (__gthr_win32_cond_timedwait): Likewise.
77         (__gthr_win32_recursive_mutex_init_function): Delete.
78         (__gthr_win32_recursive_mutex_lock): Likewise.
79         (__gthr_win32_recursive_mutex_unlock): Likewise.
80         (__gthr_win32_recursive_mutex_destroy): Likewise.
81         (__gthread_create): New inline function.
82         (__gthread_join): Likewise.
83         (__gthread_self): Likewise.
84         (__gthread_detach): Likewise.
85         (__gthread_equal): Likewise.
86         (__gthread_yield): Likewise.
87         (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
88         (__gthread_cond_broadcast): Likewise.
89         (__gthread_cond_signal): Likewise.
90         (__gthread_cond_wait): Likewise.
91         (__gthread_cond_timedwait): Likewise.
92         (__GTHREAD_WIN32_INLINE): New macro.
93         (__GTHREAD_WIN32_COND_INLINE): Likewise.
94         (__GTHREAD_WIN32_ACTIVE_P): Likewise.
95         Define WIN32_LEAN_AND_MEAN before including windows.h.
96         (__gthread_once): Minor tweaks.
97         (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
98         (__gthread_key_delete): Minor tweak.
99         (__gthread_getspecific): Likewise.
100         (__gthread_setspecific): Likewise.
101         (__gthread_mutex_init_function): Reimplement.
102         (__gthread_mutex_destroy): Likewise.
103         (__gthread_mutex_lock): Likewise.
104         (__gthread_mutex_trylock): Likewise.
105         (__gthread_mutex_unlock): Likewise.
106         (__gthr_win32_abs_to_rel_time): Declare.
107         (__gthread_recursive_mutex_init_function): Reimplement.
108         (__gthread_recursive_mutex_destroy): Likewise.
109         (__gthread_recursive_mutex_lock): Likewise.
110         (__gthread_recursive_mutex_trylock): Likewise.
111         (__gthread_recursive_mutex_unlock): Likewise.
112         (__gthread_cond_destroy): New inline function.
113         (__gthread_cond_wait_recursive): Likewise.
114         * config/i386/gthr-win32.c: Delete everything.
115         Include gthr-win32.h to get the out-of-line version of inline routines.
116         Add compile-time checks for the local version of the Win32 types.
117         * config/i386/gthr-win32-cond.c: New file.
118         * config/i386/gthr-win32-thread.c: Likewise.
119         * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
120         EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
121         the static version of libgcc.
122         * config/i386/t-slibgcc-mingw: New file.
123         * config/i386/libgcc-mingw.ver: Likewise.
125 2022-12-16  Thomas Neumann  <tneumann@users.sourceforge.net>
127         * unwind-dw2-fde.c: Initialize fde object lazily when
128         the first exception tries to pass through.
130 2022-12-16  Thomas Neumann  <tneumann@users.sourceforge.net>
132         * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
134 2022-12-08  Max Filippov  <jcmvbkbc@gmail.com>
136         * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
137         (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
138         (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
139         (XSHAL_ABI): Remove stray symbols from macro definitions.
141 2022-12-07  Max Filippov  <jcmvbkbc@gmail.com>
143         * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
144         xtensa-config-builtin.h.
145         * config/xtensa/crtn.S: Likewise.
146         * config/xtensa/lib1funcs.S: Likewise.
147         * config/xtensa/lib2funcs.S: Likewise.
148         * config/xtensa/xtensa-config-builtin.h: New File.
150 2022-11-04  Florian Weimer  <fweimer@redhat.com>
152         * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
153         values actually used by BFD ld.
155 2022-10-23  LIU Hao  <lh_mouse@126.com>
157         * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
158         libobjc, instead of 'gthr.h'
160 2022-10-19  LIU Hao  <lh_mouse@126.com>
162         * config.host: Add new cases for `mcf` thread model
163         * config/i386/gthr-mcf.h: New file
164         * config/i386/t-mingw-mcfgthread: New file
165         * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
166         * configure: Regenerate
168 2022-10-18  Jonathan Wakely  <jwakely@redhat.com>
170         * Makefile.in: Quote variable.
172 2022-10-17  H.J. Lu  <hjl.tools@gmail.com>
174         * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
175         argument.
176         * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
177         _Unwind_Frames_Increment.
178         (_Unwind_ForcedUnwind_Phase2): Likewise.
179         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
180         Take the EXC argument.  Return _URC_FATAL_PHASE2_ERROR if the
181         return address on normal stack doesn't match the return address
182         on shadow stack.
184 2022-10-17  Florian Weimer  <fweimer@redhat.com>
186         * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
187         and reduce its size.
189 2022-10-14  Jakub Jelinek  <jakub@redhat.com>
191         * config/i386/t-softfp (softfp_extensions): Add bfsf.
192         (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
193         (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
194         CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
195         -msse2.
196         * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
197         __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
198         * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
199         * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
200         * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
201         * soft-fp/brain.h: New file.
202         * soft-fp/truncsfbf2.c: New file.
203         * soft-fp/truncdfbf2.c: New file.
204         * soft-fp/truncxfbf2.c: New file.
205         * soft-fp/trunctfbf2.c: New file.
206         * soft-fp/trunchfbf2.c: New file.
207         * soft-fp/truncbfhf2.c: New file.
208         * soft-fp/extendbfsf2.c: New file.
210 2022-10-12  Martin Liska  <mliska@suse.cz>
212         * libgcov-driver.c: Use new function.
213         * libgcov.h (gcov_write_summary): Rename to ...
214         (gcov_write_object_summary): ... this.
216 2022-10-11  Olivier Hainque  <hainque@adacore.com>
218         * config.host (*vxworks*): When enable_shared, add
219         libgcc and crtstuff "shared" fragments for rtp except
220         large code model.
221         (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
222         the list of fragments.
224 2022-10-06  Jakub Jelinek  <jakub@redhat.com>
226         * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
227         fs->regs.how[X] instead of fs->regs.reg[X].how.
229 2022-10-06  Jakub Jelinek  <jakub@redhat.com>
231         * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
232         REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
233         REG_UNDEFINED): New anonymous enum, moved from inside of
234         struct frame_state_reg_info.
235         (struct frame_state_reg_info): Remove reg[].how element and the
236         anonymous enum there.  Add how element.
237         * unwind-dw2.c: Include stddef.h.
238         (uw_frame_state_for): Don't clear first
239         offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
240         (execute_cfa_program, __frame_state_for, uw_update_context_1,
241         uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
242         or fs.regs.how[X] instead of fs.regs.reg[X].how.
243         * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
244         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
245         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
246         * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
247         UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
248         Likewise.
249         * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
250         Likewise.
251         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
252         * config/arc/linux-unwind.h (arc_fallback_frame_state,
253         arc_frob_update_context): Likewise.
254         * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
255         * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
256         * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
257         * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
258         * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
259         * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
260         MD_FALLBACK_FRAME_STATE_FOR): Likewise.
261         * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
262         sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
263         * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
264         x86_fallback_frame_state): Likewise.
265         * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
266         * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
267         x86_fallback_frame_state): Likewise.
268         * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
269         Likewise.
270         * config/i386/dragonfly-unwind.h
271         (x86_64_dragonfly_fallback_frame_state): Likewise.
272         * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
273         * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
274         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
275         Likewise.
276         * config/aarch64/freebsd-unwind.h
277         (aarch64_freebsd_fallback_frame_state): Likewise.
278         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
279         Likewise.
280         * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
281         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
282         * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
283         Likewise.
284         * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
285         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
286         Likewise.
287         * config/rs6000/darwin-fallback.c (set_offset): Likewise.
288         * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
289         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
290         * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
292 2022-10-02  Olivier Hainque  <hainque@adacore.com>
294         * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment.  Move
295         -I options for gcc/include and gcc/include-fixed at the end
296         and make them -isystem.
298 2022-10-02  Olivier Hainque  <hainque@adacore.com>
300         * config/gthr-vxworks.h: Prevent Wpragma warning for the
301         pragma diagnostics on Wstrict-prototypes.
303 2022-09-29  Olivier Hainque  <hainque@adacore.com>
305         * config/vxcrtstuff.c: Improve the comment attached to the use
306         of auto-host.h and of __dso_handle.  Remove redundant guard on
307         HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
309 2022-09-26  Thomas Neumann  <tneumann@users.sourceforge.net>
311         * unwind-dw2-fde.c: Introduce a constant for in_shutdown
312         for the non-fast-path case. Drop destructor priority.
314 2022-09-22  Thomas Neumann  <tneumann@users.sourceforge.net>
316         * unwind-dw2-fde.c: (release_register_frames) Remember
317         when the btree has been destroyed.
318         (__deregister_frame_info_bases) Disable the assert when
319         shutting down.
321 2022-09-18  Thomas Neumann  <tneumann@users.sourceforge.net>
323         * unwind-dw2-fde.c: Replace uintptr_t with typedef
324         for __UINTPTR_TYPE__.
325         * unwind-dw2-btree.h: Likewise.
327 2022-09-16  Thomas Neumann  <tneumann@users.sourceforge.net>
329         * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
330         (__register_frame_info_table_bases): Use btree in atomic fast path.
331         (__deregister_frame_info_bases): Likewise.
332         (_Unwind_Find_FDE): Likewise.
333         (base_from_object): Make parameter const.
334         (classify_object_over_fdes): Add query-only mode.
335         (get_pc_range): Compute PC range for lookup.
336         * unwind-dw2-fde.h (last_fde): Make parameter const.
337         * unwind-dw2-btree.h: New file.
339 2022-08-31  Martin Liska  <mliska@suse.cz>
341         * config.host: Remove hppa.
343 2022-08-30  Martin Liska  <mliska@suse.cz>
345         * config.host: Remove the port.
347 2022-08-26  Martin Liska  <mliska@suse.cz>
349         * config.host: Remove cr16 related stuff.
350         * config/cr16/crti.S: Removed.
351         * config/cr16/crtlibid.S: Removed.
352         * config/cr16/crtn.S: Removed.
353         * config/cr16/divmodhi3.c: Removed.
354         * config/cr16/lib1funcs.S: Removed.
355         * config/cr16/t-cr16: Removed.
356         * config/cr16/t-crtlibid: Removed.
357         * config/cr16/unwind-cr16.c: Removed.
358         * config/cr16/unwind-dw2.h: Removed.
360 2022-08-16  Kito Cheng  <kito.cheng@sifive.com>
362         * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
363         (_FP_NANFRAC_H): Ditto.
364         (_FP_NANSIGN_H): Ditto.
365         * config/riscv/t-softfp32 (softfp_extensions): Add HF related
366         routines.
367         (softfp_truncations): Ditto.
368         (softfp_extras): Ditto.
369         * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
371 2022-08-16  Kito Cheng  <kito.cheng@sifive.com>
373         * soft-fp/fixhfdi.c: New.
374         * soft-fp/fixhfsi.c: Likewise.
375         * soft-fp/fixunshfdi.c: Likewise.
376         * soft-fp/fixunshfsi.c: Likewise.
377         * soft-fp/floatdihf.c: Likewise.
378         * soft-fp/floatsihf.c: Likewise.
379         * soft-fp/floatundihf.c: Likewise.
380         * soft-fp/floatunsihf.c: Likewise.
381         * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
382         lines and update URL for license.
383         * soft-fp/addsf3.c: Likewise.
384         * soft-fp/addtf3.c: Likewise.
385         * soft-fp/divdf3.c: Likewise.
386         * soft-fp/divsf3.c: Likewise.
387         * soft-fp/divtf3.c: Likewise.
388         * soft-fp/double.h: Likewise.
389         * soft-fp/eqdf2.c: Likewise.
390         * soft-fp/eqhf2.c: Likewise.
391         * soft-fp/eqsf2.c: Likewise.
392         * soft-fp/eqtf2.c: Likewise.
393         * soft-fp/extenddftf2.c: Likewise.
394         * soft-fp/extended.h: Likewise.
395         * soft-fp/extendhfdf2.c: Likewise.
396         * soft-fp/extendhfsf2.c: Likewise.
397         * soft-fp/extendhftf2.c: Likewise.
398         * soft-fp/extendhfxf2.c: Likewise.
399         * soft-fp/extendsfdf2.c: Likewise.
400         * soft-fp/extendsftf2.c: Likewise.
401         * soft-fp/extendxftf2.c: Likewise.
402         * soft-fp/fixdfdi.c: Likewise.
403         * soft-fp/fixdfsi.c: Likewise.
404         * soft-fp/fixdfti.c: Likewise.
405         * soft-fp/fixhfti.c: Likewise.
406         * soft-fp/fixsfdi.c: Likewise.
407         * soft-fp/fixsfsi.c: Likewise.
408         * soft-fp/fixsfti.c: Likewise.
409         * soft-fp/fixtfdi.c: Likewise.
410         * soft-fp/fixtfsi.c: Likewise.
411         * soft-fp/fixtfti.c: Likewise.
412         * soft-fp/fixunsdfdi.c: Likewise.
413         * soft-fp/fixunsdfsi.c: Likewise.
414         * soft-fp/fixunsdfti.c: Likewise.
415         * soft-fp/fixunshfti.c: Likewise.
416         * soft-fp/fixunssfdi.c: Likewise.
417         * soft-fp/fixunssfsi.c: Likewise.
418         * soft-fp/fixunssfti.c: Likewise.
419         * soft-fp/fixunstfdi.c: Likewise.
420         * soft-fp/fixunstfsi.c: Likewise.
421         * soft-fp/fixunstfti.c: Likewise.
422         * soft-fp/floatdidf.c: Likewise.
423         * soft-fp/floatdisf.c: Likewise.
424         * soft-fp/floatditf.c: Likewise.
425         * soft-fp/floatsidf.c: Likewise.
426         * soft-fp/floatsisf.c: Likewise.
427         * soft-fp/floatsitf.c: Likewise.
428         * soft-fp/floattidf.c: Likewise.
429         * soft-fp/floattihf.c: Likewise.
430         * soft-fp/floattisf.c: Likewise.
431         * soft-fp/floattitf.c: Likewise.
432         * soft-fp/floatundidf.c: Likewise.
433         * soft-fp/floatundisf.c: Likewise.
434         * soft-fp/floatunditf.c: Likewise.
435         * soft-fp/floatunsidf.c: Likewise.
436         * soft-fp/floatunsisf.c: Likewise.
437         * soft-fp/floatunsitf.c: Likewise.
438         * soft-fp/floatuntidf.c: Likewise.
439         * soft-fp/floatuntihf.c: Likewise.
440         * soft-fp/floatuntisf.c: Likewise.
441         * soft-fp/floatuntitf.c: Likewise.
442         * soft-fp/gedf2.c: Likewise.
443         * soft-fp/gesf2.c: Likewise.
444         * soft-fp/getf2.c: Likewise.
445         * soft-fp/half.h: Likewise.
446         * soft-fp/ledf2.c: Likewise.
447         * soft-fp/lesf2.c: Likewise.
448         * soft-fp/letf2.c: Likewise.
449         * soft-fp/muldf3.c: Likewise.
450         * soft-fp/mulsf3.c: Likewise.
451         * soft-fp/multf3.c: Likewise.
452         * soft-fp/negdf2.c: Likewise.
453         * soft-fp/negsf2.c: Likewise.
454         * soft-fp/negtf2.c: Likewise.
455         * soft-fp/op-1.h: Likewise.
456         * soft-fp/op-2.h: Likewise.
457         * soft-fp/op-4.h: Likewise.
458         * soft-fp/op-8.h: Likewise.
459         * soft-fp/op-common.h: Likewise.
460         * soft-fp/quad.h: Likewise.
461         * soft-fp/single.h: Likewise.
462         * soft-fp/soft-fp.h: Likewise.
463         * soft-fp/subdf3.c: Likewise.
464         * soft-fp/subsf3.c: Likewise.
465         * soft-fp/subtf3.c: Likewise.
466         * soft-fp/truncdfhf2.c: Likewise.
467         * soft-fp/truncdfsf2.c: Likewise.
468         * soft-fp/truncsfhf2.c: Likewise.
469         * soft-fp/trunctfdf2.c: Likewise.
470         * soft-fp/trunctfhf2.c: Likewise.
471         * soft-fp/trunctfsf2.c: Likewise.
472         * soft-fp/trunctfxf2.c: Likewise.
473         * soft-fp/truncxfhf2.c: Likewise.
474         * soft-fp/unorddf2.c: Likewise.
475         * soft-fp/unordsf2.c: Likewise.
476         * soft-fp/unordtf2.c: Likewise.
478 2022-07-18  Claudiu Zissulescu  <claziss@synopsys.com>
480         * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
481         * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
482         configurations.
484 2022-06-25  Jeff Law  <jeffreyalaw@gmail.com>
486         * config.host: Removed tilegx and tilepro entries.
487         * config/tilegx/sfp-machine.h: Removed.
488         * config/tilegx/sfp-machine32.h: Removed.
489         * config/tilegx/sfp-machine64.h: Removed.
490         * config/tilegx/t-crtstuff: Removed.
491         * config/tilegx/t-softfp: Removed.
492         * config/tilegx/t-tilegx: Removed.
493         * config/tilepro/atomic.c: Removed.
494         * config/tilepro/atomic.h: Removed.
495         * config/tilepro/linux-unwind.h: Removed.
496         * config/tilepro/sfp-machine.h: Removed.
497         * config/tilepro/softdivide.c: Removed.
498         * config/tilepro/softmpy.S: Removed.
499         * config/tilepro/t-crtstuff: Removed.
500         * config/tilepro/t-tilepro: Removed.
502 2022-06-09  Takayuki 'January June' Suwa  <jjsuwa_sys3175@yahoo.co.jp>
504         * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
505         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
507 2022-06-01  H.J. Lu  <hjl.tools@gmail.com>
509         PR libgcc/27576
510         * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
512 2022-05-25  Wilco Dijkstra  <wilco.dijkstra@arm.com>
514         PR libgcc/105708
515         * config/aarch64/lse-init.c: Increase constructor priority.
517 2022-05-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
519         PR target/104689
520         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
521         Handle the !REG_UNSAVED case.
522         * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
524 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
526         * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
527         (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
528         (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
530 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
532         * config.host: Add t-dfprules to AArch64 targets.
534 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
536         * configure: Regenerate.
538 2022-05-13  Sebastian Pop  <spop@amazon.com>
540         PR target/105162
541         * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
542         * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
544 2022-05-10  Martin Liska  <mliska@suse.cz>
545             Hans-Peter Helfert  <peter-helfert@t-online.de>
547         PR gcov-profile/105535
548         * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
549         n_functions.
551 2022-05-02  Martin Liska  <mliska@suse.cz>
553         * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
555 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
557         * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
558         (gcov_profile_merge_stream): Likewise.
560 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
562         * libgcov-util.c (consume_stream): New.
563         (get_target_profiles_for_merge): Likewise.
564         (gcov_profile_merge_stream): Likewise.
566 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
568         * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
570 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
572         * libgcov-util.c (read_gcda_file): Do not open file.
573         (ftw_read_file): Open file here.
575 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
577         * libgcov-util.c (read_gcda_file): Prepend new info object to global
578         list.
579         (ftw_read_file): Remove list append here.
581 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
583         * libgcov-util.c (read_gcda_file): Do not duplicate filename.
584         (ftw_read_file): Duplicate filename for read_gcda_file().
586 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
588         * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
589         (__gcov_filename_to_gcfn): Declare and document.
590         * libgcov-driver.c (dump_string): New.
591         (__gcov_filename_to_gcfn): Likewise.
592         (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
594 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
596         * libgcov.h (gcov_seek): Remove define and declaration.
598 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
600         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
601         parameter.  Pass mode to gcov_open() calls.
602         * libgcov-driver.c (dump_one_gcov):  Add mode parameter.  Pass mode to
603         gcov_exit_open_gcda_file() call.
604         (gcov_do_dump): Add mode parameter.  Pass mode to dump_one_gcov()
605         calls.
606         (__gcov_dump_one):  Open file for reading and writing.
608 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
610         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
611         reading and writing.
612         * libgcov-util.c (read_gcda_file): Open file for reading.
613         * libgcov.h (gcov_open): Delete declaration.
615 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
617         * libgcov-util.c (gcov_profile_merge): Return the list of merged
618         profiles.  Accept empty target and source profile lists.
620 2022-04-08  Sergei Trofimovich  <siarheit@google.com>
622         * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
624 2022-03-29  Chenghua Xu  <xuchenghua@loongson.cn>
625             Lulu Cheng  <chenglulu@loongson.cn>
627         * configure: Regenerate file.
629 2022-03-29  Chenghua Xu  <xuchenghua@loongson.cn>
630             Lulu Cheng  <chenglulu@loongson.cn>
632         * config/loongarch/crtfastmath.c: New file.
633         * config/loongarch/linux-unwind.h: Like wise.
634         * config/loongarch/sfp-machine.h: Like wise.
635         * config/loongarch/t-crtstuff: Like wise.
636         * config/loongarch/t-loongarch: Like wise.
637         * config/loongarch/t-loongarch64: Like wise.
638         * config/loongarch/t-softfp-tf: Like wise.
639         * config.host: Add LoongArch tuples.
640         * configure.ac: Add LoongArch support.
642 2022-03-19  Sergei Trofimovich  <slyfox at gentoo dot org>
644         PR libgcc/86224
645         * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
646         for __mulsi3.
647         (__udivsi3_internal, __divsi3_internal): Similarly.
648         (__umodsi3, __modsi3): Use the internal function names.
650 2022-03-09  Tobias Burnus  <tobias@codesourcery.com>
652         PR target/102215
653         * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
654         a line up to non-arg-dependent value first.
655         (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
656         __atomic_compare_exchange_{1,2}.
658 2022-03-04  Iain Sandoe  <iain@sandoe.co.uk>
660         * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
661         * config/t-darwin-ehs: Add dependency on unwind.h.
663 2022-02-24  Xi Ruoyao  <xry111@mengyan1223.wang>
665         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
666         with 0 instead of NULL.
668 2022-02-24  Jose E. Marchesi  <jose.marchesi@oracle.com>
670         PR target/104656
671         * configure.ac: --disable-gcov if targetting bpf-*.
672         * configure: Regenerate.
674 2022-01-25  Florian Weimer  <fweimer@redhat.com>
676         PR libgcc/104207
677         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
679 2022-01-17  Martin Liska  <mliska@suse.cz>
681         * libgcov-driver.c: Rename .c names to .cc.
683 2022-01-15  David  <gccbugzilla@limegreensocks.com>
685         * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
686         Remove inlined version, Windows 95 is no longer relevant.
687         * config/i386/gthr-win32.h
688         (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
690 2022-01-14  Claudiu Zissulescu  <claziss@synopsys.com>
692         * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
693         DWARF_ALT_FRAME_RETURN_COLUMN macro.
695 2022-01-04  Florian Weimer  <fweimer@redhat.com>
697         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
698         if available.
700 2022-01-02  John David Anglin  <danglin@gcc.gnu.org>
702         * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
703         (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
704         return is not equal _ASM_EFAULT.
705         (__kernel_cmpxchg2): Likewise.
707 2021-12-17  Iain Sandoe  <iain@sandoe.co.uk>
709         * config.host: Add shim declaration header to powerpc*-darwin builds.
710         * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
711         file.
712         * config/t-darwin-ehs: Add dependencies to the shared unwinder
713         objects.
714         * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
715         the shared EH lib.  Add all-multi to the dependencies for the
716         libgcc_s.1.dylib redirections.
718 2021-12-13  Olivier Hainque  <hainque@adacore.com>
720         * config.host (powerpc*-*-vxworks7*): Remove
721         rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
723 2021-12-13  Olivier Hainque  <hainque@adacore.com>
725         * config.host (*vxworks*): Remove special case for
726         arm on the use of vxcrtstuff.
728 2021-12-13  Fred Konrad  <konrad@adacore.com>
729             Olivier Hainque  <hainque@adacore.com>
731         * config/t-vxcrtstuffS: New Makefile fragment.
732         * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
733         functions for INITFINI_ARRAY support in shared libs and guard
734         the definition of eh table registration functions on conditions
735         indicating they are needed.
737 2021-12-13  Olivier Hainque  <hainque@adacore.com>
739         * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
740         ahead of the other files in tmake_files.
741         * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
742         overriding it.
744 2021-12-13  Olivier Hainque  <hainque@adacore.com>
746         * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
747         both VxWorks7 and earlier.
748         * config/t-vxworks7: Remove.
749         * config.host: Remove special case for vxworks7.
751 2021-12-11  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
753         * config/vxcrtstuff.c: Make constructor and destructor
754         functions static when possible.
756 2021-12-11  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
758         * config/vxcrtstuff.c: Remove constructor/destructor
759         declarations.
761 2021-12-10  Iain Sandoe  <iain@sandoe.co.uk>
763         * config/t-darwin: Add libgcc_tm.h to the dependencies
764         for darwin10-unwind-find-enc-func.
766 2021-12-10  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
768         * config/rs6000/t-vxworks: New file.
769         * config.host (powerpc*-*-vxworks*): Use it instead of
770         t-ppccomm.
772 2021-12-09  Fred Konrad  <konrad@adacore.com>
774         * config.host (powerpc*-wrs-vxworks7*): Fix path to
775         rs6000/t-ppc64-fp, relative to config/ not libgcc/.
777 2021-12-09  Olivier Hainque  <hainque@adacore.com>
778             Rasmus Villemoes  <rv@rasmusvillemoes.dk>
780         * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
781         $(LIBGCC2_INCLUDES).
782         * config/t-vxworks7: Likewise.
784 2021-12-08  Iain Sandoe  <iain@sandoe.co.uk>
786         * config.host (*-*-darwin*): Add logic to build a shared
787         unwinder library for Darwin8-10.
788         * config/i386/t-darwin: Build legacy libgcc_s.1.
789         * config/rs6000/t-darwin: Likewise.
790         * config/t-darwin: Reorganise the EH fragments to place
791         them for inclusion in a shared EH lib.
792         * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
793         the supporting pieces (all FAT libs).
794         * config/t-darwin-noeh: Removed.
795         * config/darwin-unwind.ver: New file.
796         * config/rs6000/t-darwin-ehs: New file.
797         * config/t-darwin-ehs: New file.
799 2021-12-06  Nelson Chu  <nelson.chu@sifive.com>
801         * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
802         then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
803         * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
804         HIDDEN_DEF.
806 2021-11-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
808         * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
809         ssize_t and vfork after including auto-host.h.
811 2021-11-29  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
813         * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
814         crtend.o to extra_parts.
816 2021-11-27  John David Anglin  <danglin@gcc.gnu.org>
818         * config/pa/t-dimode (lib2difuncs): Fix typo.
820 2021-11-25  Florian Weimer  <fweimer@redhat.com>
822         * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
823         Remove func, ret.
824         (find_fde_tail): New function.  Split from
825         _Unwind_IteratePhdrCallback.  Move the result initialization
826         from _Unwind_Find_FDE.
827         (_Unwind_Find_FDE): Updated to call find_fde_tail.
829 2021-11-22  Florian Weimer  <fweimer@redhat.com>
831         * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
832         (struct unw_eh_callback_data): Make dbase member conditional.
833         (unw_eh_callback_data_dbase): New function.
834         (base_from_cb_data): Simplify for the non-dbase case.
835         (_Unwind_IteratePhdrCallback): Adjust.
836         (_Unwind_Find_FDE): Likewise.
838 2021-11-22  Florian Weimer  <fweimer@redhat.com>
840         * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
841         tbase member.
842         (base_from_cb_data): Adjust.
843         (_Unwind_IteratePhdrCallback): Likewise.
844         (_Unwind_Find_FDE): Likewise.
846 2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
848         * config.host: Add weak emutls crt to the extra_parts.
849         * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
850         workaround.
851         * config/libgcc-libsystem.ver: Add exclude list for the system-
852         provided unwinder.
853         * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
854         * config/i386/libgcc-darwin.10.4.ver: Removed.
855         * config/i386/libgcc-darwin.10.5.ver: Removed.
856         * config/rs6000/libgcc-darwin.10.4.ver: Removed.
857         * config/rs6000/libgcc-darwin.10.5.ver: Removed.
858         * config/t-darwin-noeh: New file.
860 2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
862         * config/t-darwin: Build weak-defined emutls objects.
863         * emutls.c (__emutls_get_address): Add optional attributes.
864         (__emutls_register_common): Likewise.
865         (EMUTLS_ATTR): New.
867 2021-11-11  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
869         PR libgcc/103044
870         * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
871         called with a null argument or at the end of the backtrace and return.
872         * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
874 2021-11-10  Jakub Jelinek  <jakub@redhat.com>
876         * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
877         formatting fix.
879 2021-11-05  Iain Sandoe  <iain@sandoe.co.uk>
881         * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
882         * config/i386/darwin-lib.h: Declare Darwin10 crt function.
884 2021-11-05  John David Anglin  <danglin@gcc.gnu.org>
886         PR libgomp/96661
887         * config.host (hppa*64*-*-linux*): Revise tmake_file.
888         (hppa*64*-*-hpux11*): Likewise.
889         * config/pa/sfp-exceptions.c: New.
890         * config/pa/sfp-machine.h: New.
891         * config/pa/t-dimode: New.
892         * config/pa/t-softfp-sfdftf: New.
894 2021-10-27  John David Anglin  <danglin@gcc.gnu.org>
896         * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
897         tmake_file.
898         * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
899         Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
900         SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
901         * config/pa/t-linux64 (LIB1ASMSRC): New define.
902         (LIB1ASMFUNCS): Revise.
903         (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
905 2021-10-22  Stafford Horne  <shorne@gmail.com>
907         * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
908         Change to 0.
910 2021-10-14  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
912         * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
913         outside of get_regs() in order to use it in another function, this
914         is done twice: for __powerpc64__ and for !__powerpc64__.
915         (struct trace_arg): New struct.
916         (struct layout): New struct.
917         (ppc_backchain_fallback): New function.
918         * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
919         state and call MD_BACKCHAIN_FALLBACK.
921 2021-10-13  Martin Liska  <mliska@suse.cz>
923         PR gcov-profile/90364
924         * libgcov-driver.c (merge_one_data): Skip timestamp and verify
925         checksums.
926         (write_one_data): Write also checksum.
927         * libgcov-util.c (read_gcda_file): Read also checksum field.
928         * libgcov.h (struct gcov_info): Add new field.
930 2021-10-08  Ian Lance Taylor  <iant@golang.org>
932         * config/i386/morestack.S: Use .init_array for constructor if
933         available.
934         * config/rs6000/morestack.S: Likewise.
935         * config/s390/morestack.S: Likewise.
937 2021-10-03  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
939         PR target/101104
940         * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
941         Use more correct values for native IBM 128-bit.
943 2021-09-28  Iain Sandoe  <iain@sandoe.co.uk>
945         * config/i386/libgcc-darwin.ver: Add Symbols for
946         __cpu_model, __cpu_indicator_init.
948 2021-09-22  Iain Sandoe  <iain@sandoe.co.uk>
950         * config/i386/sfp-machine.h: Guard Mach-O-specific code
951         using __APPLE__.
953 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
955         * config/t-slibgcc-darwin: Delete unused code.
957 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
959         * config/i386/t-darwin: Add in a vers file for X86-specific
960         symbols.
961         * config/t-darwin: Add the generic symbol maps here...
962         * config/t-slibgcc-darwin: ... removing from here.
963         * config/i386/libgcc-darwin.ver: New file.
965 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
967         * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
968         and __mulhc3.
970 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
972         * config.host: Use convenience library for Darwin10
973         unwinder shim.
974         * config/t-darwin: Build Darwin10 unwinder shim as a
975         convenience library.
977 2021-09-13  Andrew Pinski  <apinski@marvell.com>
979         * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
980         * config/m32r/libgcc-glibc.ver: Removed.
981         * config/m32r/t-linux: Removed.
983 2021-09-08  liuhongt  <hongtao.liu@intel.com>
985         * config/i386/t-softfp: Compile __{mul,div}hc3 into
986         libgcc_s.so.1.
988 2021-09-08  Jakub Jelinek  <jakub@redhat.com>
989             Iain Sandoe  <iain@sandoe.co.uk>
991         * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
992         and export *hf* and *hc* functions at GCC_12.0.0.
994 2021-09-06  liuhongt  <hongtao.liu@intel.com>
996         * Makefile.in: Adjust to support specific CFLAGS for each
997         libgcc source file.
998         * config/i386/64/t-softfp: Explicitly add -msse2 for HF
999         related libgcc source files.
1000         * config/i386/t-softfp: Ditto.
1001         * config/i386/_divhc3.c: New file.
1002         * config/i386/_mulhc3.c: New file.
1004 2021-09-03  Iain Sandoe  <iain@sandoe.co.uk>
1006         * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
1007         alias_DFtype, alias_TFtype): New.
1008         (ALIAS_SELECTOR): New.
1009         (strong_alias): Use __typeof and a _Generic selector to
1010         provide the type to the synthesized function.
1012 2021-09-02  liuhongt  <hongtao.liu@intel.com>
1014         * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
1015         * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
1016         * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
1017         * config/i386/t-softfp: Add hf soft-fp.
1018         * config.host: Add i386/64/t-softfp.
1019         * config/i386/64/t-softfp: New file.
1021 2021-09-02  liuhongt  <hongtao.liu@intel.com>
1023         * soft-fp/eqhf2.c: New file.
1024         * soft-fp/extendhfdf2.c: New file.
1025         * soft-fp/extendhfsf2.c: New file.
1026         * soft-fp/half.h (FP_CMP_EQ_H): New marco.
1027         * soft-fp/truncdfhf2.c: New file
1028         * soft-fp/truncsfhf2.c: New file
1030 2021-09-01  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1032         * unwind-arm-common.inc (abort): Remove.
1034 2021-08-31  Richard Sandiford  <richard.sandiford@arm.com>
1036         * config/aarch64/value-unwind.h: Add missing runtime exception
1037         paragraph.
1038         * config/frv/frv-abi.h: Likewise.
1039         * config/i386/value-unwind.h: Likewise.
1040         * config/pa/pa64-hpux-lib.h: Likewise.
1042 2021-08-26  David Edelsohn  <dje.gcc@gmail.com>
1044         * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
1045         __gcc_qadd.
1046         (__gcc_qadd): Call ldouble_qadd_internal.
1047         (__gcc_qsub): Call ldouble_qadd_internal with second long double
1048         argument negated.
1050 2021-08-26  Jonathan Yong  <10walls@gmail.com>
1052         * config/i386/cygming-crtend.c: Fix register_frame_ctor
1053         and register_frame_dtor warnings.
1055 2021-08-24  Richard Earnshaw  <rearnsha@arm.com>
1057         PR target/102035
1058         * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
1059         Add vlldm erratum work-around.
1061 2021-08-21  John David Anglin  <danglin@gcc.gnu.org>
1063         * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
1065 2021-08-16  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1067         * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
1068         (gcov_type_unsigned): Likewise.
1070 2021-08-14  Stafford Horne  <shorne@gmail.com>
1072         PR target/99783
1073         * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
1074         * config/or1k/t-crtstuff: New file.
1076 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1078         * libgcov-driver.c (#include <stdint.h>): Remove.
1079         (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
1081 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1083         * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
1084         * gcov.h (gcov_info): Declare.
1085         (__gcov_info_to_gdca): Likewise.
1086         * libgcov.h (gcov_write_counter): Remove.
1087         (gcov_write_tag_length): Likewise.
1088         * libgcov-driver.c (#include <stdint.h>): New.
1089         (#include <string.h>): Remove.
1090         (NEED_L_GCOV): Conditionally define.
1091         (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
1092         (are_all_counters_zero): New.
1093         (gcov_dump_handler): Likewise.
1094         (gcov_allocate_handler): Likewise.
1095         (dump_unsigned): Likewise.
1096         (dump_counter): Likewise.
1097         (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
1098         Use dump_unsigned() and dump_counter().
1099         (write_one_data): Add dump_fn, allocate_fn, and arg parameters.  Use
1100         dump_unsigned(), dump_counter(), and are_all_counters_zero().
1101         (__gcov_info_to_gcda): New.
1103 2021-08-05  Jakub Jelinek  <jakub@redhat.com>
1105         * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
1106         * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
1107         * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
1108         * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
1110 2021-08-04  Jakub Jelinek  <jakub@redhat.com>
1112         * config/t-slibgcc-fuchsia: Undo doubly applied patch.
1114 2021-07-15  Alan Modra  <amodra@gmail.com>
1116         * config/rs6000/morestack.S (R2_SAVE): Define.
1117         (__morestack): Save and restore r2.  Set up r2 for called
1118         functions.
1120 2021-07-01  H.J. Lu  <hjl.tools@gmail.com>
1122         * soft-fp/extendhfxf2.c: New file.
1123         * soft-fp/truncxfhf2.c: Likewise.
1125 2021-06-29  Julian Brown  <julian@codesourcery.com>
1127         * config/gcn/lib2-bswapti2.c: New file.
1128         * config/gcn/lib2-divmod-di.c: New file.
1129         * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
1130         typedefs.
1131         (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
1132         * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
1133         lib2-bswapti2.c.
1135 2021-06-29  Julian Brown  <julian@codesourcery.com>
1137         * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
1138         return types to USItype.
1139         * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
1141 2021-06-23  Kewen Lin  <linkw@linux.ibm.com>
1143         * configure: Regenerate.
1144         * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
1145         typos among the name, CFLAGS and the test.
1146         * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
1147         fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
1148         Remove.
1149         * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
1150         macro FLOAT128_HW_INSNS_ISA3_1.
1151         (FP128_3_1_CFLAGS_HW): Fix option typo.
1152         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
1153         FLOAT128_HW_INSNS_ISA3_1.
1154         (__floattikf_resolve): Likewise.
1155         (__floatuntikf_resolve): Likewise.
1156         (__fixkfti_resolve): Likewise.
1157         (__fixunskfti_resolve): Likewise.
1158         (__floattikf): Likewise.
1159         (__floatuntikf): Likewise.
1160         (__fixkfti): Likewise.
1161         (__fixunskfti): Likewise.
1163 2021-06-11  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
1165         PR target/99939
1166         * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
1167         macro.
1168         * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
1169         on passing -mcmse option.
1171 2021-06-10  Segher Boessenkool  <segher@kernel.crashing.org>
1173         * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
1174         _ARCH_PPC64 .
1176 2021-06-09  Carl Love  <cel@us.ibm.com>
1178         * config.host: Add if test and set for
1179         libgcc_cv_powerpc_3_1_float128_hw.
1180         * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
1181         Change calls of __fixkfti to __fixkfti_sw.
1182         * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
1183         Change calls of __fixunskfti to __fixunskfti_sw.
1184         * config/rs6000/float128-p10.c (__floattikf_hw,
1185         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
1186         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
1187         (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
1188         __fixunskfti_resolve): Add resolve functions.
1189         (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
1190         * config/rs6000/float128-sed (floattitf, __floatuntitf,
1191         __fixtfti, __fixunstfti): Add editor commands to change names.
1192         * config/rs6000/float128-sed-hw (__floattitf,
1193         __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
1194         change names.
1195         * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
1196         * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
1197         * config/rs6000/quad-float128.h (__floattikf_sw,
1198         __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
1199         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
1200         __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
1201         * config/rs6000/t-float128 (floattikf, floatuntikf,
1202         fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
1203         (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
1204         file names to fp128_ppc_funcs.
1205         * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
1206         fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
1207         fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
1208         * config/rs6000/t-float128-p10-hw: New file.
1209         * configure: Update script for isa 3.1 128-bit float support.
1210         * configure.ac: Add check for 128-bit float hardware support.
1211         * config/rs6000/fixkfti-sw.c: New file.
1212         * config/rs6000/fixunskfti-sw.c: New file.
1213         * config/rs6000/floattikf-sw.c: New file.
1214         * config/rs6000/floatuntikf-sw.c: New file.
1216 2021-05-13  Dimitar Dimitrov  <dimitar@dinux.eu>
1218         * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
1220 2021-05-13  Martin Liska  <mliska@suse.cz>
1222         * libgcov-driver.c: Fix GNU coding style.
1224 2021-05-10  Martin Liska  <mliska@suse.cz>
1226         * libgcov-driver.c (gcov_version): Use different name that does
1227         not clash with newly introduced macro.
1229 2021-04-29  Eric Botcazou  <ebotcazou@adacore.com>
1231         * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
1232         if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
1233         * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
1235 2021-04-28  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
1237         * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1238         Define.
1239         (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
1240         * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1241         Define.
1242         (__divkc3): Improve complex divide.
1244 2021-04-23  Michael Meissner  <meissner@linux.ibm.com>
1246         PR target/98952
1247         * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
1248         trampoline size comparison in 32-bit by reversing test and
1249         combining load immediate with compare.
1250         (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
1251         in 32-bit by reversing test and combining load immediate with
1252         compare.
1254 2021-04-05  Florian Weimer  <fweimer@redhat.com>
1255             Michael Meissner   <meissner@linux.ibm.com>
1257         * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
1258         point functions for $(decimal_float) only.
1260 2021-04-03  Jakub Jelinek  <jakub@redhat.com>
1262         PR target/97653
1263         * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
1264         $(objext) instead of $(object).  Use _floatunditf instead of
1265         _floatunsditf.  Add tf <-> ti conversion objects.
1266         (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
1268 2021-03-29  Michael Meissner  <meissner@linux.ibm.com>
1270         * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
1271         (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
1272         (fp128_decstr_objs): Delete.
1273         * dfp-bit.h: Call __sprintfieee128 to do conversions from
1274         _Float128 to a Decimal type.  Call __strtoieee128 to do
1275         conversions from a Decimal type to _Float128.
1276         * config/rs6000/_sprintfkf.c: Delete file.
1277         * config/rs6000/_sprintfkf.h: Delete file.
1278         * config/rs6000/_strtokf.c: Delete file.
1279         * config/rs6000/_strtokf.h: Delete file.
1281 2021-03-23  Marcus Comstedt  <marcus@mc.pp.se>
1283         * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
1284         to __BYTE_ORDER__.
1286 2021-03-06  Jakub Jelinek  <jakub@redhat.com>
1288         PR gcov-profile/99406
1289         * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
1290         defined, define these macros if not defined already.
1292 2021-03-04  Martin Liska  <mliska@suse.cz>
1294         PR gcov-profile/99105
1295         * libgcov-driver.c (write_top_counters): Rename to ...
1296         (write_topn_counters): ... this.
1297         (write_one_data): Pre-allocate buffer for number of items
1298         in the corresponding linked lists.
1299         * libgcov.h (malloc_mmap): New function.
1300         (allocate_gcov_kvp): Use it.
1302 2021-03-04  Martin Liska  <mliska@suse.cz>
1304         PR gcov-profile/99385
1305         * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
1307 2021-03-03  Martin Liska  <mliska@suse.cz>
1309         PR gcov-profile/97461
1310         * config.in: Regenerate.
1311         * configure: Likewise.
1312         * configure.ac: Check sys/mman.h header file
1313         * libgcov-driver.c (struct gcov_kvp): Remove static
1314         pre-allocated pool and use a dynamic one.
1315         * libgcov.h (MMAP_CHUNK_SIZE): New.
1316         (gcov_counter_add): Use mmap to allocate pool for struct
1317         gcov_kvp.
1319 2021-03-02  Michael Meissner  <meissner@linux.ibm.com>
1321         * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
1322         the function.
1323         * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
1325 2021-02-24  Jakub Jelinek  <jakub@redhat.com>
1327         PR libgcc/99236
1328         * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
1329         negation of m in unsigned type.
1331 2021-02-24  Christophe Lyon  <christophe.lyon@linaro.org>
1332             Hau Hsu  <hsuhau617@gmail.com>
1334         PR target/99157
1335         * config/arm/t-arm: Fix cmse support detection.
1337 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
1339         * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
1341 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
1343         * config/rs6000/_dd_to_kf.c: New file.
1344         * config/rs6000/_kf_to_dd.c: New file.
1345         * config/rs6000/_kf_to_sd.c: New file.
1346         * config/rs6000/_kf_to_td.c: New file.
1347         * config/rs6000/_sd_to_kf.c: New file.
1348         * config/rs6000/_sprintfkf.c: New file.
1349         * config/rs6000/_sprintfkf.h: New file.
1350         * config/rs6000/_strtokf.h: New file.
1351         * config/rs6000/_strtokf.c: New file.
1352         * config/rs6000/_td_to_kf.c: New file.
1353         * config/rs6000/quad-float128.h: Add new declarations.
1354         * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
1355         (fp128_decstr_funcs): New macro.
1356         (ibm128_dec_funcs): New macro.
1357         (fp128_ppc_funcs): Add the new conversions.
1358         (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
1359         compiled with -mabi=ieeelongdouble.
1360         (fp128_decstr_objs): Force __float128 <-> string conversions to be
1361         compiled with -mabi=ibmlongdouble.
1362         (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
1363         compiled with -mabi=ieeelongdouble.
1364         (FP128_CFLAGS_DECIMAL): New macro.
1365         (IBM128_CFLAGS_DECIMAL): New macro.
1366         * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
1367         (BFP_TO_DFP): Add PowerPC _Float128 support.
1368         * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
1369         IEEE 128-bit floating point.
1370         (DFP_TO_BFP): Add PowerPC _Float128 support.
1371         (BFP_TO_DFP): Add PowerPC _Float128 support.
1372         (BFP_SPRINTF): New macro.
1374 2021-01-27  Jakub Jelinek  <jakub@redhat.com>
1376         * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
1377         * config/i386/savms64f.h: Likewise.
1378         * config/i386/resms64.h: Likewise.
1379         * config/i386/resms64f.h: Likewise.
1380         * config/i386/resms64x.h: Likewise.
1381         * config/i386/resms64fx.h: Likewise.
1383 2021-01-26  Martin Liska  <mliska@suse.cz>
1385         PR gcov-profile/98739
1386         * libgcov.h (gcov_topn_add_value): Do not train when
1387         we have a merged profile with a negative number of total
1388         value.
1390 2021-01-25  Martin Liska  <mliska@suse.cz>
1392         PR gcov-profile/98739
1393         * libgcov-merge.c (__gcov_merge_topn): Mark when merging
1394         ends with a dropped counter.
1395         * libgcov.h (gcov_topn_add_value): Add return value.
1397 2021-01-13  Stafford Horne  <shorne@gmail.com>
1399         * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1400         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
1401         FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
1402         FP_EX_ALL): New constant macros.
1403         (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
1404         FP_HANDLE_EXCEPTIONS): New macros.
1405         (_FP_TININESS_AFTER_ROUNDING): Change to 1.
1407 2021-01-13  Samuel Thibault  <samuel.thibault@gnu.org>
1409         * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
1410         posix siginfo case to struct handler_args. Detect between legacy
1411         and siginfo from the second parameter, which is a small sigcode in
1412         the legacy case, and a pointer in the siginfo case.
1414 2020-12-20  Max Filippov  <jcmvbkbc@gmail.com>
1416         * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
1417         functions.
1418         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
1419         _bswapdi2.
1421 2020-12-08  Ian Lance Taylor  <iant@golang.org>
1423         * generic-morestack-thread.c (free_segments): Block signals during
1424         thread exit.
1426 2020-12-03  Michael Meissner  <meissner@linux.ibm.com>
1428         PR libgcc/97543
1429         PR libgcc/97643
1430         * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
1431         (IBM128_SHARED_OBJS): New make variable.
1432         (IBM128_OBJS): New make variable.  Set all objects to use the
1433         explicit IBM format, and disable gnu attributes.
1434         (IBM128_CFLAGS): New make variable.
1435         (gcc_s_compile): Add -mno-gnu-attribute to all shared library
1436         modules.
1438 2020-12-03  Alexandre Oliva  <oliva@adacore.com>
1440         * config/t-vxworks (LIB2ADD): Drop.
1441         * config/t-vxworks7 (LIB2ADD): Likewise.
1442         * config/vxcache.c: Remove.
1444 2020-11-30  Stefan Kanthak  <stefan.kanthak@nexgo.de>
1446         * libgcc2.c (bswapsi2): Make constants unsigned.
1448 2020-11-25  Stefan Kanthak  <stefan.kanthak@nexgo.de>
1450         * libgcc2.c (absvSI2): Simplify/improve implementation by using
1451         builtin_add_overflow.
1452         (absvsi2, absvDI2): Likewise.
1454 2020-11-20  Maciej W. Rozycki  <macro@linux-mips.org>
1456         * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
1457         (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
1459 2020-11-18  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1461         * config/msp430/lib2hw_mul.S (mult64_hw): New.
1462         (if MUL_32): Use mult64_hw for __muldi3.
1463         (if MUL_F5): Use mult64_hw for __muldi3.
1464         * config/msp430/lib2mul.c (__muldi3): New.
1465         * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
1467 2020-11-17  Alan Modra  <amodra@gmail.com>
1469         * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
1470         (LIB2_SIDITI_CONV_FUNCS): Define.
1471         * config/rs6000/ppc64-fp.c: Delete file.
1473 2020-11-15  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1475         * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
1476         hwmult library functions.
1478 2020-11-10  Jeff Law  <law@redhat.com>
1480         * libgcc2.c: Fix whitespace issues in most recent change.
1482 2020-11-10  Stefan Kanthak  <stefan.kanthak@nexgo.de>
1484         * libgcc2.c (__addvSI3): Use overflow builtins.
1485         (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
1486         (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
1487         (__negvsi2, __negvDI2): Likewise.
1488         (__cmpdi2, __ucmpdi2): Adjust implementation to improve
1489         generated code.
1490         * libgcc2.h (__ucmpdi2): Adjust prototype.
1492 2020-11-03  Pat Bernardi  <bernardi@adacore.com>
1493             Olivier Hainque   <hainque@adacore.com>
1495         * config.host (aarch64-vxworks7*, tmake_file): Add
1496         ${cpu_type}/t-lse and t-slibgcc-libgcc.
1498 2020-11-03  Martin Storsjö  <martin@martin.st>
1500         * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
1501         before calling the callback.
1503 2020-10-30  Olivier Hainque  <hainque@adacore.com>
1504             Douglas Rupp  <rupp@adacore.com>
1505             Pat Bernardi  <bernardi@adacore.com>
1507         * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
1508         to apply to VxWorks 7 as well.
1510 2020-10-29  Olivier Hainque  <hainque@adacore.com>
1512         * config/gthr-vxworks-tls.c: Fix preprocessor logic
1513         controlling the definition of VX_ENTER_TLS_DTOR and
1514         VX_LEAVE_TLS_DTOR based on a version major check.
1516 2020-10-29  Olivier Hainque  <hainque@adacore.com>
1518         * config/gthr-vxworks-thread.c: Fix name of macro used
1519         to condition the inclusion of an actual implementation.
1521 2020-10-27  Martin Liska  <mliska@suse.cz>
1523         PR gcov-profile/97461
1524         * libgcov.h (gcov_counter_add): Use first static counters
1525         as it should help to have malloc wrappers set up.
1527 2020-10-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1529         * config/gthr-vxworks-thread.c: #include gthr.h before
1530         testing the guard defined there.
1531         * config/gthr-vxworks-cond.c: Likewise.
1533 2020-10-21  Douglas Rupp  <rupp@adacore.com>
1534             Olivier Hainque  <hainque@adacore.com>
1536         * config.host (powerpc*-wrs-vxworks7*): New case.
1537         * configure.ac: Handle powerpc*-*-vxworks7* as
1538         powerpc*-*-linux* for ppc-fp_type.
1539         * configure: Regenerate.
1541 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1543         * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
1544         section on VxWorks >= 6.
1545         * config/gthr-vxworks-thread.c: Condition the entire
1546         implementation on __GTHREAD_CXX0X.
1548 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1550         * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
1551         section on VxWorks >= 6.
1552         * config/gthr-vxworks-cond.c: Condition the entire
1553         implementation on __GTHREAD_HAS_COND.
1555 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1557         * config/gthr-vxworks.c: #include <taskLib.h>.
1559 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1561         * config/gthr-vxworks.h: Rewrite remaining occurrence
1562         of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
1564 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1565              Olivier Hainque   <hainque@adacore.com>
1567         * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
1568         except on VxWorks 6.
1570 2020-10-16  Olivier Hainque  <hainque@adacore.com>
1572         * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
1574 2020-10-14  Alexandre Oliva  <oliva@adacore.com>
1576         * config/gthr-vxworks-thread.c: Include stdlib.h.
1577         (tls_delete_hook): Prototype it.
1578         (__gthread_cond_signal): Return early if no waiters.  Consume
1579         signal in case the semaphore got full.  Use semInfoGet instead
1580         of kernel-mode-only semInfo.
1581         (__gthread_cond_timedwait): Use semExchange.  Always take the
1582         mutex again before returning.
1583         * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
1585 2020-10-14  Olivier Hainque  <hainque@adacore.com>
1587         * config/t-vxworks (LIBGCC2_INCLUDES): Append
1588         $(MULTISUBDIR) to the -I path for fixed headers, as we
1589         arrange to have different sets of such headers for different
1590         multilibs when they are activated.
1591         * config/t-vxworks7: Likewise.
1593 2020-10-14  Olivier Hainque  <hainque@adacore.com>
1595         * config/t-vxworks: Add include-fixed to include search
1596         paths for libgcc on VxWorks.
1597         * config/t-vxworks7: Likewise.
1599 2020-10-09  H.J. Lu  <hjl.tools@gmail.com>
1601         PR target/97148
1602         * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
1603         instead of <cetintrin.h>.
1605 2020-10-01  Alan Modra  <amodra@gmail.com>
1607         * config/rs6000/morestack.S,
1608         * config/rs6000/tramp.S: Support __PCREL__ code.
1610 2020-10-01  Alan Modra  <amodra@gmail.com>
1612         * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
1614 2020-09-29  Maciej W. Rozycki  <macro@wdc.com>
1616         * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
1617         variable.
1619 2020-09-28  Richard Sandiford  <richard.sandiford@arm.com>
1621         * config/aarch64/libgcc-softfp.ver: New file.
1622         * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
1624 2020-09-27  Clement Chigot  <clement.chigot@atos.net>
1626         * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
1628 2020-09-22  Sergei Trofimovich  <siarheit@google.com>
1630         PR gcov-profile/96913
1631         * libgcov-driver.c (write_one_data): Avoid function pointer
1632         comparison in TOP streaming decision.
1634 2020-09-17  Torbjörn SVENSSON  <torbjorn.svensson@st.com>
1635             Christophe Lyon  <christophe.lyon@linaro.org>
1637         * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
1638         qualifier.
1639         (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
1640         (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
1641         missing prototypes.
1643 2020-09-17  Wei Wentao  <weiwt.fnst@cn.fujitsu.com>
1645         * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
1646         unused variable warning.
1648 2020-09-16  Jojo R  <jiejie_rong@c-sky.com>
1650         * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
1652 2020-09-09  Tom de Vries  <tdevries@suse.de>
1654         * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
1655         Wbuiltin-declaration-mismatch.
1657 2020-08-26  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1659         * config/msp430/slli.S (__gnu_mspabi_sllp): New.
1660         * config/msp430/srai.S (__gnu_mspabi_srap): New.
1661         * config/msp430/srli.S (__gnu_mspabi_srlp): New.
1663 2020-08-13  Kwok Cheung Yeung  <kcy@codesourcery.com>
1665         * config/nvptx/atomic.c: New.
1666         * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
1668 2020-08-03  Ian Lance Taylor  <iant@golang.org>
1670         * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
1672 2020-08-03  Jakub Jelinek  <jakub@redhat.com>
1674         PR target/96402
1675         * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
1676         of x(tmp0), x(tmp1) in STXP arguments.
1678 2020-07-31  Maciej W. Rozycki  <macro@wdc.com>
1680         * config/riscv/save-restore.S [__riscv_xlen == 64]
1681         (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
1682         (__riscv_save_2): Replace negative immediates used for the final
1683         stack pointer adjustment with positive ones, right-shifted by 4.
1685 2020-07-31  Martin Liska  <mliska@suse.cz>
1687         * libgcov-driver.c: Add __gcov_kvp_pool
1688         and __gcov_kvp_pool_index variables.
1689         * libgcov.h (allocate_gcov_kvp): New.
1690         (gcov_topn_add_value): Use it.
1692 2020-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1694         * config/aarch64/lse.S: Add PAC property note.
1696 2020-07-23  Martin Liska  <mliska@suse.cz>
1698         PR gcov-profile/96035
1699         * libgcov-driver-system.c: Create gcov folders with 0777
1700         so that it respects a system umask.
1702 2020-07-14  David Edelsohn  <dje.gcc@gmail.com>
1704         * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
1706 2020-07-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1708         PR target/94891
1709         * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
1710         (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
1711         (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
1712         (MD_DEMANGLE_RETURN_ADDR): This.
1713         (aarch64_post_extract_frame_addr): Rename to ...
1714         (aarch64_demangle_return_addr): This.
1715         (aarch64_post_frob_eh_handler_addr): Remove.
1716         * unwind-dw2.c (uw_update_context): Demangle return address.
1717         (uw_frob_return_addr): Remove.
1719 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1721         PR target/96001
1722         * config/aarch64/lse.S: Add BTI marking and related definitions,
1723         and add BTI c to function entries.
1725 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1727         * config/aarch64/lse.S: Add stack note.
1729 2020-07-02  Martin Liska  <mliska@suse.cz>
1731         PR gcov-profile/95348
1732         * libgcov-driver.c (merge_one_data): Merge only profiles
1733         that are not of non-zero type.
1734         (write_one_data): Write counters only if there's one non-zero
1735         value.
1736         * libgcov-util.c (tag_function): Change signature from unsigned
1737         to int.
1738         (tag_blocks): Likewise.
1739         (tag_arcs): Likewise.
1740         (tag_counters): Likewise.
1741         (tag_summary): Likewise.
1742         (tag_lines): Read only if COUNTERS is non-zero.
1743         (read_gcda_file): Handle negative length for COUNTERS type.
1745 2020-06-25  Martin Liska  <mliska@suse.cz>
1747         * libgcov-driver.c (merge_summary): Remove function as its name
1748         is misleading and doing something different.
1749         (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
1750         in gcov-tool.
1751         * libgcov-util.c (curr_object_summary): Remove.
1752         (read_gcda_file): Remove unused curr_object_summary.
1753         (gcov_merge): Merge summaries.
1754         * libgcov.h: Add summary argument for gcov_info struct.
1756 2020-06-24  H.J. Lu  <hjl.tools@gmail.com>
1758         PR target/95259
1759         * config/i386/cpuinfo.c: Don't include "cpuinfo.h".  Include
1760         "common/config/i386/i386-cpuinfo.h" and
1761         "common/config/i386/cpuinfo.h".
1762         (__cpu_features2): Changed to array.
1763         (get_amd_cpu): Removed.
1764         (get_intel_cpu): Likewise.
1765         (get_available_features): Likewise.
1766         (__cpu_indicator_init): Call cpu_indicator_init.
1767         * config/i386/cpuinfo.h: Removed.
1769 2020-06-23  David Edelsohn  <dje.gcc@gmail.com>
1771         * Makefile.in: Remove uses of empty.mk. Use -include.
1772         * config/avr/t-avr: Use -include.
1773         * empty.mk: Delete.
1775 2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
1777         * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
1778         * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
1779         and 64 bit with -maix64.
1780         * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
1781         Build and install AIX-style FAT libraries.
1783 2020-06-17  Samuel Thibault  <samuel.thibault@gnu.org>
1785         * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
1786         'i386/gnu-unwind.h'
1787         * config/i386/gnu-unwind.h: New file.
1789 2020-06-17  Martin Liska  <mliska@suse.cz>
1791         * libgcov-util.c (read_gcda_finalize): Remove const operator.
1792         (merge_wrapper): Add both counts and use them properly.
1793         (topn_to_memory_representation): New function.
1794         (gcov_merge): Covert on disk representation to in memory
1795         representation.
1796         * libgcov.h: Remove const operator.
1798 2020-06-15  Max Filippov  <jcmvbkbc@gmail.com>
1800         * configure: Regenerate.
1801         * configure.ac: Use AC_COMPILE_IFELSE instead of manual
1802         preprocessor invocation to check for __XTENSA_CALL0_ABI__.
1804 2020-06-09  Martin Liska  <mliska@suse.cz>
1806         PR gcov-profile/95494
1807         * libgcov-driver.c (write_top_counters): Cast first to
1808         intptr_t as sizeof(*) != sizeof(gcov_type).
1809         * libgcov.h (gcov_counter_set_if_null): Remove.
1810         (gcov_topn_add_value): Cast first to intptr_t and update
1811         linked list directly.
1813 2020-06-09  Max Filippov  <jcmvbkbc@gmail.com>
1815         * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
1816         with uw_install_context_1.
1818 2020-06-04  Andreas Schwab  <schwab@suse.de>
1820         PR target/59230
1821         PR libfortran/59227
1822         * config/ia64/t-softfp-compat (softfp_file_list): Filter out
1823         soft-fp/divtf3.c.
1824         (LIB2ADD): Add config/ia64/divtf3.c.
1825         * config/ia64/divtf3.c: New file.
1827 2020-06-03  Martin Liska  <mliska@suse.cz>
1829         PR gcov-profile/95480
1830         * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
1831         * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
1832         (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
1833         (gcov_counter_set_if_null): Likewise.
1835 2020-06-02  Jim Wilson  <jimw@sifive.com>
1837         * config/riscv/div.S (__divdi3): For negative arguments, change bgez
1838         to bgtz.
1840 2020-06-02  Martin Liska  <mliska@suse.cz>
1842         * libgcov.h (gcov_topn_add_value): Use xcalloc instead
1843         of xmalloc.
1845 2020-06-02  Martin Liska  <mliska@suse.cz>
1847         * libgcov-driver.c (prune_topn_counter): Remove.
1848         (prune_counters): Likewise.
1849         (merge_one_data): Special case TOP N counters
1850         as they have variable length.
1851         (write_top_counters): New.
1852         (write_one_data): Special case TOP N.
1853         (dump_one_gcov): Do not prune TOP N counters.
1854         * libgcov-merge.c (merge_topn_values_set): Remove.
1855         (__gcov_merge_topn): Use gcov_topn_add_value.
1856         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1857         Likewise here.
1858         * libgcov.h (gcov_counter_add): New.
1859         (gcov_counter_set_if_null): Likewise.
1860         (gcov_topn_add_value): New.
1862 2020-06-01  UroÅ¡ Bizjak  <ubizjak@gmail.com>
1864         * config/i386/sfp-exceptions.c (struct fenv):
1865         Add __attribute__ ((gcc_struct)).
1867 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
1869         PR bootstrap/95413
1870         * configure: Regenerated.
1872 2020-05-28  Dong JianQiang  <dongjianqiang2@huawei.com>
1874         PR gcov-profile/95332
1875         * libgcov-util.c (read_gcda_file): Call gcov_magic.
1876         * libgcov.h (gcov_magic): Disable GCC poison.
1878 2020-05-21  H.J. Lu  <hongjiu.lu@intel.com>
1880         PR target/95212
1881         * config/i386/cpuinfo.h (processor_features): Move
1882         FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
1884 2020-05-20  H.J. Lu  <hongjiu.lu@intel.com>
1886         PR target/91695
1887         * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
1888         check.
1890 2020-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1892         PR target/95212
1893         PR target/95220
1894         * config/i386/cpuinfo.c (get_available_features): Fix
1895         FEATURE_GFNI check.  Also check FEATURE_AVX512VP2INTERSECT.
1896         * config/i386/cpuinfo.h (processor_features): Add
1897         FEATURE_AVX512VP2INTERSECT.
1899 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1901         PR bootstrap/95147
1902         * configure: Regenerated.
1904 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
1906         * configure: Regenerated.
1908 2020-05-09  Hans-Peter Nilsson  <hp@axis.com>
1910         * config.host: Remove support for crisv32-*-* and cris*-*-linux.
1911         * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
1913 2020-05-06  UroÅ¡ Bizjak  <ubizjak@gmail.com>
1915         * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
1916         (__math_force_eval_div): New define.
1917         (__sfp_handle_exceptions): Use __math_force_eval_div to use
1918         generic division to generate INVALID, DIVZERO and INEXACT
1919         exceptions.
1921 2020-05-06  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1923         * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
1924         instead of getauxval.
1925         (AT_HWCAP): Define.
1926         (HWCAP_ATOMICS): Define.
1927         Guard detection on __gnu_linux__.
1929 2020-05-05  Michael Meissner  <meissner@linux.ibm.com>
1931         * config.host: Delete changes meant for a private branch.
1932         * config/rs6000/t-float128: Likewise.
1933         * configure.ac: Likewise.
1934         * configure: Likewise.
1936 2020-05-05  Martin Liska  <mliska@suse.cz>
1938         PR gcov-profile/93623
1939         * Makefile.in: Remove __gcov_flush.
1940         * gcov.h (__gcov_flush): Remove.
1941         * libgcov-interface.c (__gcov_flush): Remove.
1942         (init_mx): Use renamed mutex.
1943         (__gcov_lock): Likewise.
1944         (__gcov_unlock): Likewise.
1945         (__gcov_fork): Likewise.
1946         (__gcov_flush): Remove.
1948 2020-05-05  Martin Liska  <mliska@suse.cz>
1950         PR gcov-profile/93623
1951         * libgcov-interface.c (__gcov_fork): Do not flush
1952         and reset only in child process.
1953         (__gcov_execl): Dump counters only and reset them
1954         only if exec* fails.
1955         (__gcov_execlp): Likewise.
1956         (__gcov_execle): Likewise.
1957         (__gcov_execv): Likewise.
1958         (__gcov_execvp): Likewise.
1959         (__gcov_execve): Likewise.
1961 2020-05-05  Martin Liska  <mliska@suse.cz>
1963         PR gcov-profile/93623
1964         * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
1965         * libgcov-interface.c (ALIAS_void_fn): Remove.
1966         (__gcov_lock): New.
1967         (__gcov_unlock): New.
1968         (__gcov_flush): Use __gcov_lock and __gcov_unlock.
1969         (__gcov_reset): Likewise.
1970         (__gcov_dump): Likewise.
1971         * libgcov.h (__gcov_lock): New declaration.
1972         (__gcov_unlock): Likewise.
1974 2020-05-01  UroÅ¡ Bizjak  <ubizjak@gmail.com>
1976         * config/i386/sfp-exceptions.c (__math_force_eval): New define.
1977         (__sfp_handle_exceptions): Use __math_force_eval to evaluate
1978         generic division to generate INVALID and DIVZERO exceptions.
1980 2020-04-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1982         * config/rs6000/crtresfpr.S: Use .machine ppc.
1983         * config/rs6000/crtresxfpr.S: Likewise.
1984         * config/rs6000/crtsavfpr.S: Likewise.
1986 2020-04-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1988         PR target/94514
1989         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1990         Update context->flags accroding to the frame state.
1992 2020-04-19  UroÅ¡ Bizjak  <ubizjak@gmail.com>
1994         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
1995         Remove unneeded assignments to volatile memory.
1997 2020-04-15  Jakub Jelinek  <jakub@redhat.com>
1999         PR target/93053
2000         * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
2001         * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
2002         is not defined, use just .arch armv8-a.
2003         (B, M, N, OPN): Define.
2004         (COMMENT): New .macro.
2005         (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
2006         defined.  Otherwise, move the operands right after the glue? and
2007         comment out operands where the macros are used.
2008         * configure: Regenerated.
2009         * config.in: Regenerated.
2011 2020-04-07  Ian Lance Taylor  <iant@golang.org>
2013         PR libgcc/94513
2014         * generic-morestack.c: Give up trying to use __mmap/__munmap, use
2015         syscall instead.
2017 2020-04-04  Ian Lance Taylor  <iant@golang.org>
2019         * generic-morestack.c: Only use __mmap on glibc >= 2.26.
2021 2020-04-03  Ian Lance Taylor  <iant@golang.org>
2023         * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
2024         than mmap/munmap, to avoid hooks.
2026 2020-04-03  Jim Johnston  <jjohnst@us.ibm.com>
2028         * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
2029         (TPFRA_OFFSET): Macros removed.
2030         (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
2031         (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
2032         (PG3_SKIPPING_OFFSET): New macros.
2033         (__isPATrange): Use cinfc_fast for the check.
2034         (__isSkipResetAddr): New function.
2035         (s390_fallback_frame_state): Check for skip trace addresses. Use
2036         either ICST_CRET or ICST_SRET to calculate return address
2037         location.
2038         (__tpf_eh_return): Handle skip trace addresses.
2040 2020-03-26  Richard Earnshaw  <rearnsha@arm.com>
2042         PR target/94220
2043         * config/arm/lib1funcs.asm (COND): Use a single definition for
2044         unified syntax.
2045         (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
2046         (aeabi_idivmod): Likewise.
2047         (divsi3_skip_div0_test): Likewise.
2049 2020-03-17  Mihail Ionescu  <mihail.ionescu@arm.com>
2051         * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
2053 2020-03-04  Andreas Krebbel  <krebbel@linux.ibm.com>
2055         * config.host: Include the new makefile fragment.
2056         * config/s390/t-tpf: New file.
2058 2020-03-03  Richard Earnshaw  <rearnsha@arm.com>
2060         * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
2061         syntax.
2062         (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
2063         (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
2064         (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
2065         (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
2066         * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
2067         syntax.
2068         (divsi3, modsi3): Likewise.
2069         (clzdi2, ctzsi2): Likewise.
2070         * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
2071         unified syntax.
2072         (UNWIND_WRAPPER): Likewise.
2074 2020-03-02  Martin Liska  <mliska@suse.cz>
2076         * libgcov-interface.c: Remove duplicate
2077         declaration of __gcov_flush_mx.
2079 2020-02-18  Martin Liska  <mliska@suse.cz>
2081         PR ipa/92924
2082         * libgcov-merge.c (merge_topn_values_set): Record
2083         when a TOP N counter becomes invalid.  When merging
2084         remove a smallest value if the space is needed.
2086 2020-02-12  Sandra Loosemore  <sandra@codesourcery.com>
2088         PR libstdc++/79193
2089         PR libstdc++/88999
2091         * configure: Regenerated.
2093 2020-02-10  Jeff Law  <law@redhat.com>
2095         * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
2096         sections.
2097         * config/frv/frvend.c: Similarly.
2099 2020-02-10  H.J. Lu  <hongjiu.lu@intel.com>
2101         PR libgcc/85334
2102         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2103         New.
2105 2020-02-10  Christophe Lyon  <christophe.lyon@linaro.org>
2107         PR target/93615
2108         * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
2109         _Unwind_gnu_Find_got.
2110         * unwind-pe.h: Likewise.
2112 2020-02-07  Jakub Jelinek  <jakub@redhat.com>
2114         PR target/93615
2115         * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
2116         (_Unwind_gnu_Find_got): ... this.  Use __asm instead of asm.  Remove
2117         trailing :s in asm.  Formatting fixes.
2118         (_Unwind_decode_typeinfo_ptr): Adjust caller.
2120 2020-01-31  Sandra Loosemore  <sandra@codesourcery.com>
2122         nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
2124         * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
2125         * config/nios2-elf-lib.h: New.
2126         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
2127         code for finding GOT base for nios2.
2129 2020-01-27  Martin Liska  <mliska@suse.cz>
2131         PR gcov-profile/93403
2132         * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
2133         Call __gcov_indirect_call_profiler_body.
2134         (__gcov_indirect_call_profiler_body): New.
2135         (__gcov_indirect_call_profiler_v4_atomic): New.
2136         * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
2137         New declaration.
2139 2020-01-27  Claudiu Zissulescu  <claziss@synopsys.com>
2141         * config/arc/crti.S: Add RF16 object attribute.
2142         * config/arc/crtn.S: Likewise.
2143         * config/arc/crttls.S: Likewise.
2144         * config/arc/lib1funcs.S: Likewise.
2145         * config/arc/fp-hack.h (ARC_OPTFPE): Define.
2146         * config/arc/lib2funcs.c: New file.
2147         * config/arc/t-arc: Add lib2funcs to LIB2ADD.
2149 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
2151         * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
2152         * configure.ac: Handle `--with-toolexeclibdir='.
2153         * configure: Regenerate.
2155 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
2157         * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
2159 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
2161         * config/mips/gnustack.h: New file.
2162         * config/mips/crti.S: Include gnustack.h.
2163         * config/mips/crtn.S: Likewise.
2164         * config/mips/mips16.S: Likewise.
2165         * config/mips/vr4120-div.S: Likewise.
2167 2020-01-23  Martin Liska  <mliska@suse.cz>
2169         * libgcov-driver.c (prune_topn_counter): Remove
2170         check for -1 as we only prune run-time counters
2171         that do not generate an invalid state.
2173 2020-01-22  Martin Liska  <mliska@suse.cz>
2175         PR tree-optimization/92924
2176         * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
2177         try to find an existing value, then find an empty slot
2178         if not found.
2180 2020-01-22  Martin Liska  <mliska@suse.cz>
2182         PR tree-optimization/92924
2183         * libgcov-driver.c (prune_topn_counter): New.
2184         (prune_counters): Likewise.
2185         (dump_one_gcov): Prune a run-time counter.
2186         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2187         For a known value, add GCOV_TOPN_VALUES to value.
2188         Otherwise, decrement all counters by one.
2190 2020-01-18  Hans-Peter Nilsson  <hp@axis.com>
2192         * config/cris/arit.c (DS): Apply attribute __fallthrough__.
2194 2020-01-18  John David Anglin  <danglin@gcc.gnu.org>
2196         PR libgcc/92988
2197         * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
2198         DEFAULT_USE_CXA_ATEXIT is true.
2200 2020-01-16  Mihail-Calin Ionescu  <mihail.ionescu@arm.com>
2201             Thomas Preud'homme  <thomas.preudhomme@arm.com>
2203         * config/arm/t-arm: Check return value of gcc rather than lack of
2204         output.
2206 2020-01-14  Georg-Johann Lay  <avr@gjlay.de>
2208         * config/avr/lib1funcs.S (skip): Simplify.
2210 2020-01-10  Kwok Cheung Yeung  <kcy@codesourcery.com>
2212         * config/gcn/atomic.c: Remove include of stdint.h.
2213         (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
2214         __UINTPTR_TYPE__.
2216 2020-01-09  Kwok Cheung Yeung  <kcy@codesourcery.com>
2218         * config/gcn/atomic.c: New.
2219         * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
2221 2020-01-08  Georg-Johann Lay  <avr@gjlay.de>
2223         Implement 64-bit double functions.
2225         PR target/92055
2226         * config.host (tmake_file) [target=avr]: Add t-libf7,
2227         t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
2228         * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
2229         depending on sizeof (double) or sizeof (long double).
2230         * config/avr/libf7: New folder.
2232 2020-01-05  Olivier Hainque  <hainque@adacore.com>
2234         * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
2235         by IN_LIBGCC2.
2237 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
2239         Update copyright years.
2241 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2243         * config/gthr-vxworks.h: Use _vxworks-versions.h.
2244         * config/gthr-vxworks-tls.c: Likewise.
2246 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2248         * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
2249         standard zero-initializer syntax.
2251 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2253         * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
2254         reference to the internal VX_GET_TLS_DATA interface.
2256 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2258         * config/vxcrtstuff.c: Fix incorrect spelling of
2259         USE_INITFINI_ARRAY in guard.
2261 2019-12-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2263         * config.host: s/msp430*-*-elf/msp430-*-elf*.
2264         Override default "extra_parts" variable.
2265         * configure: Regenerate.
2266         * configure.ac: Disable TM clone registry by default for
2267         msp430-elfbare.
2269 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2271         * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
2272         "extra_parts".
2273         * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
2275 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2277         * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
2278         true.
2280 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2282         * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
2283         defined instead of its value.
2285 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2287         * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
2288         if it will have contents.
2290 2019-12-05  Georg-Johann Lay  <avr@gjlay.de>
2292         PR target/92055
2293         * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
2295 2019-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2297         PR libgcc/91737
2298         * config.host: Add t-gthr-noweak on *-*-musl*.
2299         * config/t-gthr-noweak: New file.
2301 2019-11-17  John David Anglin  <danglin@gcc.gnu.org>
2303         * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
2304         volatile void *.  Remove trap check.
2305         (__kernel_cmpxchg2): Likewise.
2306         (FETCH_AND_OP_2): Adjust operand types.
2307         (OP_AND_FETCH_2): Likewise.
2308         (FETCH_AND_OP_WORD): Likewise.
2309         (OP_AND_FETCH_WORD): Likewise.
2310         (COMPARE_AND_SWAP_2): Likewise.
2311         (__sync_val_compare_and_swap_4): Likewise.
2312         (__sync_bool_compare_and_swap_4): Likewise.
2313         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2314         (__sync_lock_test_and_set_4): Likewise.
2315         (SYNC_LOCK_RELEASE_1): Likewise.  Use __kernel_cmpxchg2 for release.
2316         (__sync_lock_release_4): Adjust operand types.  Use __kernel_cmpxchg
2317         for release.
2318         (__sync_lock_release_8): Remove.
2320 2019-11-15  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2322         * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
2323         of __sigset_t.
2325 2019-11-14  Jerome Lambourg  <lambourg@adacore.com>
2326             Doug Rupp <rupp@adacore.com>
2327             Olivier Hainque  <hainque@adacore.com>
2329         * config.host: Collapse the arm-vxworks entries into
2330         a single arm-wrs-vxworks7* one.
2331         * config/arm/unwind-arm-vxworks.c: Update comments.  Provide
2332         __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
2333         kernel modules, to be overriden by libstdc++ when we link with
2334         it.  Rely on externally provided __exidx_start/end.
2336 2019-11-14  Doug Rupp  <rupp@adacore.com>
2337             Olivier Hainque  <hainque@adacore.com>
2339         * config.host: Handle aarch64*-wrs-vxworks7*.
2341 2019-11-12  Olivier Hainque  <hainque@adacore.com>
2343         * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
2344         sources except the cxx0x support to LIB2ADDEH.  We don't support
2345         cxx0x on AE/653.
2346         * config/t-vxworksae: New file.
2347         * config.host: Handle *-*-vxworksae: Add the two aforementioned
2348         Makefile fragment files at their expected position in the tmake_file
2349         list, in accordance with what is done for other VxWorks variants.
2351 2019-11-12  Corentin Gay  <gay@adacore.com>
2352             Jerome Lambourg  <lambourg@adacore.com>
2353             Olivier Hainque  <hainque@adacore.com>
2355         * config/t-gthr-vxworks: New file, add all the gthr-vxworks
2356         sources to LIB2ADDEH.
2357         * config/t-vxworks: Remove adjustments to LIB2ADDEH.
2358         * config/t-vxworks7: Likewise.
2360         * config.host: Append a block at the end of the file to add the
2361         t-gthr files to the tmake_file list for VxWorks after everything
2362         else.
2364         * config/vxlib.c: Rename as gthr-vxworks.c.
2365         * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
2367         * config/gthr-vxworks.h: Simplify a few comments.  Expose a TAS
2368         API and a basic error checking API, both internal.  Simplify the
2369         __gthread_once_t type definition and initializers.  Add sections
2370         for condition variables support and for the C++0x thread support,
2371         conditioned against Vx653 for the latter.
2373         * config/gthr-vxworks.c (__gthread_once): Simplify comments and
2374         implementation, leveraging the TAS internal API.
2375         * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
2376         API, leveraging the general availability of TLS services in VxWorks7
2377         post SR6xxx.
2378         (__gthread_setspecific, __gthread_setspecific): Use it.
2379         (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
2380         * config/gthr-vxworks-cond.c: New file.  GTHREAD_COND variable
2381         support based on VxWorks primitives.
2382         * config/gthr-vxworks-thread.c: New file.  GTHREAD_CXX0X support
2383         based on VxWorks primitives.
2385 2019-11-06  Jerome Lambourg  <lambourg@adacore.com>
2386             Olivier Hainque  <hainque@adacore.com>
2388         * config/vxcrtstuff.c: New file.
2389         * config/t-vxcrtstuff: New Makefile fragment.
2390         * config.host: Append t-vxcrtstuff to the tmake_file list
2391         on all VxWorks ports using dwarf for table based EH.
2393 2019-11-07  Georg-Johann Lay  <avr@gjlay.de>
2395         Support 64-bit double and 64-bit long double configurations.
2397         PR target/92055
2398         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
2399         long double is a 32-bit type.
2400         * config/avr/t-avrlibc: Copy double64 and long-double64
2401         multilib(s) from the vanilla one.
2402         * config/avr/t-copy-libgcc: New Makefile snip.
2404 2019-11-04  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2406         * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
2407         the target output object format is not ELF.
2408         s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
2410 2019-11-03  Oleg Endo  <olegendo@gcc.gnu.org>
2412         PR libgcc/78804
2413         * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
2414         * fp-bit.c (pack_d, unpack_d): Remove special cases for
2415         FLOAT_BIT_ORDER_MISMATCH.
2416         * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
2418 2019-11-01  Jim Wilson  <jimw@sifive.com>
2420         * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
2422 2019-10-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2424         * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
2425         s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY, 
2426         s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
2427         Define symbols for 32-bit and f5series hardware multiply
2428         register addresses.
2429         Replace hard-coded register addresses with symbols.
2430         Fix "_mspabi*" typo.
2431         Fix whitespace.
2432         * config/msp430/lib2mul.c: Add comment.
2434 2019-10-15  John David Anglin  <danglin@gcc.gnu.org>
2436         * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
2437         unsigned int.  Adjust callers.
2438         (__canonicalize_funcptr_for_compare): Change plabel type to volatile
2439         unsigned int *.  Load relocation offset before function pointer.
2440         Add barrier to ensure ordering.
2442 2019-10-12  John David Anglin  <danglin@gcc.gnu.org>
2444         * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
2445         Load PIC register after branch target.  Fix white space.
2446         * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
2447         implementations.  Load PIC register after branch target.  Don't
2448         clobber function pointer when it points to function descriptor.
2449         Use nullification instead of branch in LINUX implementation.
2451 2019-10-03  John David Anglin  <danglin@gcc.gnu.org>
2453         * config/pa/fptr.c: Disable -Warray-bounds warning.
2455 2019-09-25  Richard Henderson  <richard.henderson@linaro.org>
2457         * config.in, configure: Re-rebuild with stock autoconf 2.69,
2458         not the ubuntu modified 2.69.
2460         PR target/91833
2461         * config/aarch64/lse-init.c: Include auto-target.h.  Disable
2462         initialization if !HAVE_SYS_AUXV_H.
2463         * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
2464         * config.in, configure: Rebuild.
2466         PR target/91834
2467         * config/aarch64/lse.S (LDNM): Ensure STXR output does not
2468         overlap the inputs.
2470 2019-09-25  Shaokun Zhang  <zhangshaokun@hisilicon.com>
2472         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
2473         CTR_EL0.IDC and CTR_EL0.DIC.
2475 2019-09-20  Christophe Lyon  <christophe.lyon@st.com>
2477         Revert:
2478         2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2479                 Mickaël Guêné <mickael.guene@st.com>
2481         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2482         architecture.
2484 2019-09-19  Richard Henderson  <richard.henderson@linaro.org>
2486         * config/aarch64/lse-init.c: New file.
2487         * config/aarch64/lse.S: New file.
2488         * config/aarch64/t-lse: New file.
2489         * config.host: Add t-lse to all aarch64 tuples.
2491 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2492         Mickaël Guêné <mickael.guene@st.com>
2494         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2495         architecture.
2497 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2498         Mickaël Guêné <mickael.guene@st.com>
2500         * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
2501         (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
2502         (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
2503         (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
2504         (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
2505         (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
2506         (__gnu_personality_sigframe_fdpic): New.
2507         (get_eit_entry): Add FDPIC signal frame support.
2509 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2510         Mickaël Guêné <mickael.guene@st.com>
2512         * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
2513         (__kernel_dmb): Likewise.
2514         (__fdpic_cmpxchg): New function.
2515         (__fdpic_dmb): New function.
2516         * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
2517         (gnu_Unwind_Find_got): New function.
2518         (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
2519         * unwind-arm-common.inc (UCB_PR_GOT): New.
2520         (funcdesc_t): New struct.
2521         (get_eit_entry): Add FDPIC support.
2522         (unwind_phase2): Likewise.
2523         (unwind_phase2_forced): Likewise.
2524         (__gnu_Unwind_RaiseException): Likewise.
2525         (__gnu_Unwind_Resume): Likewise.
2526         (__gnu_Unwind_Backtrace): Likewise.
2527         * unwind-pe.h (read_encoded_value_with_base): Likewise.
2529 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2530         Mickaël Guêné <mickael.guene@st.com>
2532         * libgcc/crtstuff.c: Add support for FDPIC.
2534 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2536         * config.host: Handle *-*-uclinuxfdpiceabi.
2538 2019-09-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
2540         * config.host: Set cpu_type for bpf-*-* targets.
2541         * config/bpf/t-bpf: Likewise.
2542         * config/bpf/crtn.S: Likewise.
2543         * config/bpf/crti.S: New file.
2545 2019-09-06  Jim Wilson  <jimw@sifive.com>
2547         * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2548         (riscv*-*-freebsd*): Likewise.
2550 2019-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
2552         * config.host: Remove references to spu.
2553         * config/spu/: Remove directory.
2555 2019-08-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2557         PR target/91306
2558         * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
2559         element type, instead of "sizeof" the element type.
2560         (__DTOR_LIST__): Likewise.
2561         (__TMC_LIST__): Likewise.
2562         (__do_global_dtors_aux_fini_array_entry): Likewise.
2563         (__frame_dummy_init_array_entry): Likewise.
2564         (__CTOR_END__): Likewise.
2565         (__DTOR_END__): Likweise.
2566         (__FRAME_END__): Likewise.
2567         (__TMC_END__): Likewise.
2569 2019-08-20  Lili Cui  <lilicui@intel.com>
2571         * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
2572         INTEL_COREI7_COOPERLAKE.
2574 2019-07-31  Matt Thomas  <matt@3am-software.com>
2575             Nick Hudson <nick@nthcliff.demon.co.uk>
2576             Matthew Green <mrg@eterna.com.au>
2577             Maya Rashish <coypu@sdf.org>
2579         * config.host (hppa*-*-netbsd*): New case.
2580         * config/pa/t-netbsd: New file.
2582 2019-07-31  Joel Hutton  <Joel.Hutton@arm.com>
2584         * config/arm/cmse.c (cmse_check_address_range): Add
2585         warn_unused_result attribute.
2587 2019-07-22  Martin Liska  <mliska@suse.cz>
2589         * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
2590         * config/pa/t-stublib: Likewise.
2592 2019-07-22  Stafford Horne  <shorne@gmail.com>
2594         PR target/90362
2595         * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
2596         to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
2597         instructions are not available on every processor.  Change a
2598         l.bnf to l.bf to fix logic issue.
2600 2019-07-04  Iain Sandoe  <iain@sandoe.co.uk>
2602         * config.host: Remove reference to t-darwin8.
2604 2019-07-03  Iain Sandoe  <iain@sandoe.co.uk>
2606         * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
2607         list.
2608         * config/rs6000/t-darwin: Build crt3_2 for older systems.  Revise
2609         mmacosx-version-min for crts to run across all system versions.
2610         * config/rs6000/t-darwin64 (LIB2ADD): Remove.
2611         * config/t-darwin: Revise mmacosx-version-min for crts to run across
2612         system versions >= 10.4.
2614 2019-07-03  Martin Liska  <mliska@suse.cz>
2616         * Makefile.in: Use topn_values instead of one_value names.
2617         * libgcov-merge.c (__gcov_merge_single): Move to ...
2618         (__gcov_merge_topn): ... this.
2619         (merge_single_value_set): Move to ...
2620         (merge_topn_values_set): ... this.
2621         * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
2622         ...
2623         (__gcov_topn_values_profiler_body): ... this.
2624         (__gcov_one_value_profiler_v2): Move to ...
2625         (__gcov_topn_values_profiler): ... this.
2626         (__gcov_one_value_profiler_v2_atomic): Move to ...
2627         (__gcov_topn_values_profiler_atomic): ... this.
2628         (__gcov_indirect_call_profiler_v4): Remove.
2629         * libgcov-util.c (__gcov_single_counter_op): Move to ...
2630         (__gcov_topn_counter_op): ... this.
2631         * libgcov.h (L_gcov_merge_single): Remove.
2632         (L_gcov_merge_topn): New.
2633         (__gcov_merge_single): Remove.
2634         (__gcov_merge_topn): New.
2635         (__gcov_one_value_profiler_v2): Move to ..
2636         (__gcov_topn_values_profiler): ... this.
2637         (__gcov_one_value_profiler_v2_atomic): Move to ...
2638         (__gcov_topn_values_profiler_atomic): ... this.
2640 2019-07-03  Martin Liska  <mliska@suse.cz>
2642         * libgcov-merge.c (merge_single_value_set): Support N values.
2643         * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
2645 2019-06-27  Ilia Diachkov  <ilia.diachkov@optimitech.com>
2647         * Makefile.in (USE_TM_CLONE_REGISTRY): New.
2648         (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
2649         * configure.ac: Add --disable-tm-clone-registry option.
2650         * configure: Regenerate.
2652 2019-06-27  Martin Liska  <mliska@suse.cz>
2654         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
2655         dead assignments.
2656         * libgcov-util.c: Likewise.
2658 2019-06-27  Martin Liska  <mliska@suse.cz>
2660         * libgcov-util.c (gcov_profile_merge): Release allocated
2661         memory.
2662         (calculate_overlap): Likewise.
2664 2019-06-25  Iain Sandoe  <iain@sandoe.co.uk>
2666         * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
2667         * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
2668         Build objects for the out of line save/restore register functions
2669         so that they can be used for any supported Darwin version.
2670         * config/t-darwin: Default the build Darwin version to Darwin8
2671         (MacOS 10.4).
2673 2019-06-25  Martin Liska  <mliska@suse.cz>
2675         * libgcov-driver-system.c (replace_filename_variables): Do not
2676         call strlen with NULL argument.
2678 2019-06-25  Andrew Stubbs  <ams@codesourcery.com>
2680         * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
2681         * config/gcn/unwind-gcn.c: New file.
2683 2019-06-25  Kwok Cheung Yeung  <kcy@codesourcery.com>
2684             Andrew Stubbs  <ams@codesourcery.com>
2686         * configure: Regenerate.
2687         * config/gcn/gthr-gcn.h: New.
2689 2019-06-18  Tom de Vries  <tdevries@suse.de>
2691         * config/nvptx/crt0.c (__main): Declare.
2693 2019-06-17  Matthew Green  <mrg@eterna.com.au>
2694             Maya Rashish  <coypu@sdf.org>
2696         * config.host (aarch64*-*-netbsd*): New case.
2698 2019-06-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2700         * config/msp430/slli.S (__mspabi_sllll): New library function for
2701         performing a logical left shift of a 64-bit value.
2702         * config/msp430/srai.S (__mspabi_srall): New library function for
2703         performing a arithmetic right shift of a 64-bit value.
2704         * config/msp430/srll.S (__mspabi_srlll): New library function for
2705         performing a logical right shift of a 64-bit value.
2707 2019-06-14  Matt Thomas  <matt@3am-software.com>
2708             Matthew Green  <mrg@eterna.com.au>
2709             Nick Hudson  <skrll@netbsd.org>
2710             Maya Rashish  <coypu@sdf.org>
2712         * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
2713         * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
2714         functions to build.
2715         * config/arm/t-netbsd-eabi: New file.
2717 2019-06-12  Dimitar Dimitrov  <dimitar@dinux.eu>
2719         * config.host: Add PRU target.
2720         * config/pru/asri.c: New file.
2721         * config/pru/eqd.c: New file.
2722         * config/pru/eqf.c: New file.
2723         * config/pru/ged.c: New file.
2724         * config/pru/gef.c: New file.
2725         * config/pru/gtd.c: New file.
2726         * config/pru/gtf.c: New file.
2727         * config/pru/led.c: New file.
2728         * config/pru/lef.c: New file.
2729         * config/pru/lib2bitcountHI.c: New file.
2730         * config/pru/lib2divHI.c: New file.
2731         * config/pru/lib2divQI.c: New file.
2732         * config/pru/lib2divSI.c: New file.
2733         * config/pru/libgcc-eabi.ver: New file.
2734         * config/pru/ltd.c: New file.
2735         * config/pru/ltf.c: New file.
2736         * config/pru/mpyll.S: New file.
2737         * config/pru/pru-abi.h: New file.
2738         * config/pru/pru-asm.h: New file.
2739         * config/pru/pru-divmod.h: New file.
2740         * config/pru/sfp-machine.h: New file.
2741         * config/pru/t-pru: New file.
2743 2019-06-11  Jakub Jelinek  <jakub@redhat.com>
2745         * libgcov-merge.c (__gcov_merge_single): Revert previous change.
2747 2019-06-10  Martin Liska  <mliska@suse.cz>
2749         PR bootstrap/90808
2750         * libgcov.h: Add ATTRIBUTE_UNUSED.
2752 2019-06-10  Martin Liska  <mliska@suse.cz>
2754         * Makefile.in: Add __gcov_one_value_profiler_v2,
2755         __gcov_one_value_profiler_v2_atomic and
2756         __gcov_indirect_call_profiler_v4.
2757         * libgcov-merge.c (__gcov_merge_single): Change
2758         function signature.
2759         (merge_single_value_set): New.
2760         * libgcov-profiler.c (__gcov_one_value_profiler_body):
2761         Update functionality.
2762         (__gcov_one_value_profiler): Remove.
2763         (__gcov_one_value_profiler_v2): ... this.
2764         (__gcov_one_value_profiler_atomic): Rename to ...
2765         (__gcov_one_value_profiler_v2_atomic): this.
2766         (__gcov_indirect_call_profiler_v3): Rename to ...
2767         (__gcov_indirect_call_profiler_v4): ... this.
2768         * libgcov.h (__gcov_one_value_profiler): Remove.
2769         (__gcov_one_value_profiler_atomic): Remove.
2770         (__gcov_one_value_profiler_v2_atomic): New.
2771         (__gcov_indirect_call_profiler_v3): Remove.
2772         (__gcov_one_value_profiler_v2): New.
2773         (__gcov_indirect_call_profiler_v4): New.
2774         (gcov_get_counter_ignore_scaling): New function.
2776 2019-06-07  Martin Liska  <mliska@suse.cz>
2778         * Makefile.in: Remove usage of
2779         _gcov_merge_icall_topn.
2780         * libgcov-driver.c (gcov_sort_n_vals): Remove.
2781         (gcov_sort_icall_topn_counter): Likewise.
2782         (gcov_sort_topn_counter_arrays): Likewise.
2783         (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
2784         * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
2785         * libgcov-profiler.c (__gcov_topn_value_profiler_body):
2786         Likewise.
2787         (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
2788         (struct indirect_call_tuple): Remove.
2789         (__gcov_indirect_call_topn_profiler): Remove.
2790         * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
2791         * libgcov.h (gcov_sort_n_vals): Remove.
2792         (L_gcov_merge_icall_topn): Likewise.
2793         (__gcov_merge_icall_topn): Likewise.
2794         (__gcov_indirect_call_topn_profiler): Likewise.
2796 2019-06-06  Iain Sandoe  <iain@sandoe.co.uk>
2798         * config/rs6000/t-darwin: Ensure that the unwinder is built with
2799         altivec enabled.
2801 2019-06-06  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2803         * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
2804         section.
2805         (__mspabi_slli): Likewise.
2806         (__mspabi_slll_n): Likewise.
2807         (__mspabi_slll): Likewise.
2808         * config/msp430/srai.S (__mspabi_srai_n): Likewise.
2809         (__mspabi_srai): Likewise.
2810         (__mspabi_sral_n): Likewise.
2811         (__mspabi_sral): Likewise.
2812         * config/msp430/srli.S (__mspabi_srli_n): Likewise.
2813         (__mspabi_srli): Likewise.
2814         (__mspabi_srll_n): Likewise.
2815         (__mspabi_srll): Likewise.
2817 2019-06-05  Yoshinori Sato  <ysato@users.sourceforge.jp>
2819         * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
2820         Add appropriate tm_file clause as well.
2821         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
2823 2019-06-05  James Clarke  <jrtc27@jrtc27.com>
2825         * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
2826         rather than .data/.bss so it can be accessed via gp-relative
2827         addressing.
2829 2019-06-05  David Edelsohn  <dje.gcc@gmail.com>
2831         * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
2832         (CR2_REGNO): Rename to R_CR2.
2833         (XER_REGNO): Rename to R_XER.
2834         (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
2835         (VRSAVE_REGNO): Rename to R_VRSAVE.
2836         (VSCR_REGNO): R_VSCR.
2838 2019-05-29  Yoshinori Sato  <ysato@users.sourceforge.jp>
2840         * config.host (rx-*-linux*): Add new case.
2841         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
2843 2019-05-29  Sam Tebbs  <sam.tebbs@arm.com>
2845         * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
2846         function.
2847         * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
2848         aarch64_post_frob_eh_handler_addr): Add check for b-key.
2849         * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
2850         aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
2851         Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
2852         * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
2853         string.
2854         * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
2855         string.
2856         (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
2858 2019-05-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2860         * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
2861         Remove Solaris 9 and 10 support.
2862         (sparc_is_sighandler): Likewise.
2864 2019-05-26  John David Anglin  <danglin@gcc.gnu.org>
2866         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
2868 2019-05-17  H.J. Lu  <hongjiu.lu@intel.com>
2870         * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2871         4_FP_W_TYPEs are used for IEEE quad precision.
2872         * soft-fp/extendhftf2.c: Likewise.
2873         * soft-fp/extendsftf2.c: Likewise.
2874         * soft-fp/extendxftf2.c: Likewise.
2875         * soft-fp/trunctfdf2.c: Likewise.
2876         * soft-fp/trunctfhf2.c: Likewise.
2877         * soft-fp/trunctfsf2.c: Likewise.
2878         * soft-fp/trunctfxf2.c: Likewise.
2879         * config/rs6000/ibm-ldouble.c: Likewise.
2881 2019-05-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2883         * config.host: Simplify various *-*-solaris2.1[0-9]* to
2884         *-*-solaris2*.
2885         * configure.ac: Likewise.
2886         * configure: Regenerate.
2888         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2889         Solaris 10 and Solaris 11 < snv_125 handling.
2891 2019-05-12  Iain Sandoe  <iain@sandoe.co.uk>
2893         * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
2895 2019-05-07  Hongtao Liu  <hongtao.liu@intel.com>
2897         * config/i386/cpuinfo.c (get_available_features): Detect BF16.
2898         * config/i386/cpuinfo.h (enum processor_features): Add
2899         FEATURE_AVX512BF16.
2901 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
2902             Bernd Edlinger  <bernd.edlinger@hotmail.de>
2903             Jakub Jelinek  <jakub@redhat.com>
2905         PR target/89093
2906         * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
2907         * config/arm/unwind-arm.c: Likewise.
2908         * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
2909         attribute for ARM.
2911 2019-04-15  Monk Chiang  <sh.chiang04@gmail.com>
2913         * config/nds32/linux-unwind.h (SIGRETURN): Remove.
2914         (RT_SIGRETURN): Update.
2915         (nds32_fallback_frame_state): Update.
2917 2019-02-21  Martin Sebor  <msebor@redhat.com>
2919         * libgcc2.h (__clear_cache): Correct signature.
2920         * libgcc2.c (__clear_cache): Same.
2922 2019-02-20  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2924         * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
2925         Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
2927 2019-02-19  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2929         * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
2930         regno instead of index to DWARF_ZERO_REG.
2932 2019-02-15  Eric Botcazou  <ebotcazou@adacore.com>
2934         * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
2935         TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
2937 2019-01-31  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2939         * config/alpha/t-linux: Add -mfp-rounding-mode=d
2940         to HOST_LIBGCC2_CFLAGS.
2942 2019-01-23  Joseph Myers  <joseph@codesourcery.com>
2944         PR libgcc/88931
2945         * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
2947 2019-01-18  Martin Liska  <mliska@suse.cz>
2949         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
2950         to ...
2951         (__gcov_indirect_call_profiler_v3): ... this.
2952         * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
2953         (__gcov_indirect_call_profiler_v3): Likewise.
2954         * Makefile.in: Bump function name.
2956 2019-01-18  Martin Liska  <mliska@suse.cz>
2958         * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
2959         (gcov_version): Use in gcov_error.
2960         (merge_one_data): Likewise.
2961         (dump_one_gcov): Likewise.
2963 2019-01-18  Martin Liska  <mliska@suse.cz>
2965         * libgcov-driver.c (gcov_version_string): New function.
2966         (gcov_version): Convert version integer into string.
2968 2019-01-17  Andrew Stubbs  <ams@codesourcery.com>
2969             Kwok Cheung Yeung  <kcy@codesourcery.com>
2970             Julian Brown  <julian@codesourcery.com>
2971             Tom de Vries  <tom@codesourcery.com>
2973         * config.host: Recognize amdgcn*-*-amdhsa.
2974         * config/gcn/crt0.c: New file.
2975         * config/gcn/lib2-divmod-hi.c: New file.
2976         * config/gcn/lib2-divmod.c: New file.
2977         * config/gcn/lib2-gcn.h: New file.
2978         * config/gcn/sfp-machine.h: New file.
2979         * config/gcn/t-amdgcn: New file.
2981 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
2983         PR other/16615
2985         * config/c6x/libunwind.S: Mechanically replace "can not" with
2986         "cannot".
2987         * config/tilepro/atomic.h: Likewise.
2988         * config/vxlib-tls.c: Likewise.
2989         * generic-morestack-thread.c: Likewise.
2990         * generic-morestack.c: Likewise.
2991         * mkmap-symver.awk: Likewise.
2993 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
2995         Update copyright years.
2997 2018-12-20  H.J. Lu  <hongjiu.lu@intel.com>
2999         * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
3000         to ignore -Waddress-of-packed-member.
3002 2018-12-19  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
3004         * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
3005         parameter and corresponding code.
3006         (ARM_FUNC_START): Likewise in both definitions.
3007         Also update footer comment about condition that need to match with
3008         gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
3009         * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
3010         defined.  Weakly define it in this case.
3011         * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
3012         * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
3013         _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
3014         comment to keep condition in sync with the one in
3015         libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
3017 2018-12-18  Wei Xiao  <wei3.xiao@intel.com>
3019         * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
3020         * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
3022 2018-12-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3024         * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
3025         and .cfi_endproc directives for VxWorks targets.
3027 2018-12-05  Paul Koning  <ni1d@arrl.net>
3029         * udivmodhi4.c (__udivmodhi4): Fix loop end check.
3031 2018-11-27  Alan Modra  <amodra@gmail.com>
3033         * config/rs6000/morestack.S (__stack_split_initialize),
3034         (__morestack_get_guard, __morestack_set_guard),
3035         (__morestack_make_guard): Provide CFI covering these functions.
3036         * config/rs6000/tramp.S (__trampoline_setup): Likewise.
3038 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
3040         * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
3041         (sc_pt_regs_lr): Update for kernel.
3042         (sc_pt_regs_tls): Update for kernel.
3044 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
3046         * config/csky/linux-unwind.h: Fix coding style.
3048 2018-11-13  Xianmiao Qu  <xianmiao_qu@c-sky.com>
3050         * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
3051         (csky_fallback_frame_state): Modify the check of the
3052         instructions to adapt to changes in the kernel
3054 2018-11-09  Stafford Horne  <shorne@gmail.com>
3055             Richard Henderson  <rth@twiddle.net>
3057         * config.host: Add OpenRISC support.
3058         * config/or1k/*: New.
3060 2018-11-08  Kito Cheng  <kito@andestech.com>
3062         * soft-fp/adddf3.c: Update from glibc.
3063         * soft-fp/addsf3.c: Likewise.
3064         * soft-fp/addtf3.c: Likewise.
3065         * soft-fp/divdf3.c: Likewise.
3066         * soft-fp/divsf3.c: Likewise.
3067         * soft-fp/divtf3.c: Likewise.
3068         * soft-fp/double.h: Likewise.
3069         * soft-fp/eqdf2.c: Likewise.
3070         * soft-fp/eqsf2.c: Likewise.
3071         * soft-fp/eqtf2.c: Likewise.
3072         * soft-fp/extenddftf2.c: Likewise.
3073         * soft-fp/extended.h: Likewise.
3074         * soft-fp/extendhftf2.c: Likewise.
3075         * soft-fp/extendsfdf2.c: Likewise.
3076         * soft-fp/extendsftf2.c: Likewise.
3077         * soft-fp/extendxftf2.c: Likewise.
3078         * soft-fp/fixdfdi.c: Likewise.
3079         * soft-fp/fixdfsi.c: Likewise.
3080         * soft-fp/fixdfti.c: Likewise.
3081         * soft-fp/fixhfti.c: Likewise.
3082         * soft-fp/fixsfdi.c: Likewise.
3083         * soft-fp/fixsfsi.c: Likewise.
3084         * soft-fp/fixsfti.c: Likewise.
3085         * soft-fp/fixtfdi.c: Likewise.
3086         * soft-fp/fixtfsi.c: Likewise.
3087         * soft-fp/fixtfti.c: Likewise.
3088         * soft-fp/fixunsdfdi.c: Likewise.
3089         * soft-fp/fixunsdfsi.c: Likewise.
3090         * soft-fp/fixunsdfti.c: Likewise.
3091         * soft-fp/fixunshfti.c: Likewise.
3092         * soft-fp/fixunssfdi.c: Likewise.
3093         * soft-fp/fixunssfsi.c: Likewise.
3094         * soft-fp/fixunssfti.c: Likewise.
3095         * soft-fp/fixunstfdi.c: Likewise.
3096         * soft-fp/fixunstfsi.c: Likewise.
3097         * soft-fp/fixunstfti.c: Likewise.
3098         * soft-fp/floatdidf.c: Likewise.
3099         * soft-fp/floatdisf.c: Likewise.
3100         * soft-fp/floatditf.c: Likewise.
3101         * soft-fp/floatsidf.c: Likewise.
3102         * soft-fp/floatsisf.c: Likewise.
3103         * soft-fp/floatsitf.c: Likewise.
3104         * soft-fp/floattidf.c: Likewise.
3105         * soft-fp/floattihf.c: Likewise.
3106         * soft-fp/floattisf.c: Likewise.
3107         * soft-fp/floattitf.c: Likewise.
3108         * soft-fp/floatundidf.c: Likewise.
3109         * soft-fp/floatundisf.c: Likewise.
3110         * soft-fp/floatunditf.c: Likewise.
3111         * soft-fp/floatunsidf.c: Likewise.
3112         * soft-fp/floatunsisf.c: Likewise.
3113         * soft-fp/floatunsitf.c: Likewise.
3114         * soft-fp/floatuntidf.c: Likewise.
3115         * soft-fp/floatuntihf.c: Likewise.
3116         * soft-fp/floatuntisf.c: Likewise.
3117         * soft-fp/floatuntitf.c: Likewise.
3118         * soft-fp/gedf2.c: Likewise.
3119         * soft-fp/gesf2.c: Likewise.
3120         * soft-fp/getf2.c: Likewise.
3121         * soft-fp/half.h: Likewise.
3122         * soft-fp/ledf2.c: Likewise.
3123         * soft-fp/lesf2.c: Likewise.
3124         * soft-fp/letf2.c: Likewise.
3125         * soft-fp/muldf3.c: Likewise.
3126         * soft-fp/mulsf3.c: Likewise.
3127         * soft-fp/multf3.c: Likewise.
3128         * soft-fp/negdf2.c: Likewise.
3129         * soft-fp/negsf2.c: Likewise.
3130         * soft-fp/negtf2.c: Likewise.
3131         * soft-fp/op-1.h: Likewise.
3132         * soft-fp/op-2.h: Likewise.
3133         * soft-fp/op-4.h: Likewise.
3134         * soft-fp/op-8.h: Likewise.
3135         * soft-fp/op-common.h: Likewise.
3136         * soft-fp/quad.h: Likewise.
3137         * soft-fp/single.h: Likewise.
3138         * soft-fp/soft-fp.h: Likewise.
3139         * soft-fp/subdf3.c: Likewise.
3140         * soft-fp/subsf3.c: Likewise.
3141         * soft-fp/subtf3.c: Likewise.
3142         * soft-fp/truncdfsf2.c: Likewise.
3143         * soft-fp/trunctfdf2.c: Likewise.
3144         * soft-fp/trunctfhf2.c: Likewise.
3145         * soft-fp/trunctfsf2.c: Likewise.
3146         * soft-fp/trunctfxf2.c: Likewise.
3147         * soft-fp/unorddf2.c: Likewise.
3148         * soft-fp/unordsf2.c: Likewise.
3149         * soft-fp/unordtf2.c: Likewise.
3151 2018-11-04  Venkataramanan Kumar  <Venkataramanan.kumar@amd.com>
3153         * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
3154         * config/i386/cpuinfo.h (processor_types): Add znver2.
3156 2018-11-01  Paul Koning  <ni1d@arrl.net>
3158         * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
3159         (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
3161 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
3163         PR bootstrap/82856
3164         * configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
3165         * configure: Regenerate.
3167 2018-10-31  Claudiu Zissulescu  <claziss@synopsys.com>
3169         * config/arc/lib1funcs.S (_muldi3): New function.
3170         * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
3172 2018-10-30  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3174         * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
3176 2018-10-25  Martin Liska  <mliska@suse.cz>
3178         PR other/87735
3179         * libgcov-profiler.c: Revert.
3181 2018-10-24  Martin Liska  <mliska@suse.cz>
3183         * libgcov-profiler.c: Start from 1 in order to distinguish
3184         functions which were seen and these that were not.
3186 2018-10-18  Paul Koning  <ni1d@arrl.net>
3188         * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
3189         standard.
3190         * divmod.c: Update references to __udivmodsi4.
3191         * udivmod.c: Ditto.
3192         * udivhi3.c: New file.
3193         * udivmodhi4.c: New file.
3194         * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
3196 2018-10-17  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3198         * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
3200 2018-10-12  Olivier Hainque  <hainque@adacore.com>
3202         * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
3203         defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
3205 2018-10-08  Paul Koning  <ni1d@arrl.net>
3207         * config/pdp11/t-pdp11: Remove -mfloat32 switch.
3209 2018-10-04  Martin Liska  <mliska@suse.cz>
3211         PR gcov-profile/84107
3212         * libgcov-profiler.c (__gcov_indirect_call):
3213         Change type to indirect_call_tuple.
3214         (struct indirect_call_tuple): New struct.
3215         (__gcov_indirect_call_topn_profiler): Change type.
3216         (__gcov_indirect_call_profiler_v2): Use the new
3217         variables.
3218         * libgcov.h (struct indirect_call_tuple): New struct
3219         definition.
3221 2018-10-03  Uros Bizjak  <ubizjak@gmail.com>
3223         * libgcc2.c (isnan): Use __builtin_isnan.
3224         (isfinite): Use __builtin_isfinite.
3225         (isinf): Use __builtin_isinf.
3227 2018-09-26  Uros Bizjak  <ubizjak@gmail.com>
3229         * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
3231 2018-09-21  Alexandre Oliva  <oliva@adacore.com>
3233         * config/vxcache.c: New file.  Provide __clear_cache, based on
3234         the cacheTextUpdate VxWorks service.
3235         * config/t-vxworks (LIB2ADD): Add vxcache.c.
3236         (LIB2FUNCS_EXCLUDE): Add _clear_cache.
3237         * config/t-vxwoks7: Likewise.
3239 2018-09-21  Martin Liska  <mliska@suse.cz>
3241         * libgcov-driver.c (crc32_unsigned): Remove.
3242         (gcov_histogram_insert): Likewise.
3243         (gcov_compute_histogram): Likewise.
3244         (compute_summary): Simplify rapidly.
3245         (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
3246         (merge_summary): Rapidly simplify.
3247         (dump_one_gcov): Ignore gcov_summary.
3248         (gcov_do_dump): Do not handle program summary, it's not
3249         used.
3250         * libgcov-util.c (tag_summary): Remove.
3251         (read_gcda_finalize): Fix coding style.
3252         (read_gcda_file): Initialize curr_object_summary.
3253         (compute_summary): Remove.
3254         (calculate_overlap): Remove settings of run_max.
3256 2018-09-21  Monk Chiang  <sh.chiang04@gmail.com>
3258         * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
3259         ucontext_t type instead.
3260         (nds32_fallback_frame_state): Remove struct _sigframe statement.
3262 2018-09-21  Kito Cheng  <kito.cheng@gmail.com>
3264         * config/nds32/t-nds32-glibc: New file.
3266 2018-09-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3268         * configure.ac (solaris_ld_v2_maps): New test.
3269         * configure: Regenerate.
3270         * Makefile.in (solaris_ld_v2_maps): New variable.
3271         * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
3272         if supported.
3274 2018-08-23  Richard Earnshaw  <rearnsha@arm.com>
3276         PR target/86951
3277         * config/arm/lib1funcs.asm (speculation_barrier): New function.
3278         * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
3279         to build.
3281 2018-08-22  Iain Sandoe  <iain@sandoe.co.uk>
3283         * config/unwind-dw2-fde-darwin.c
3284         (_darwin10_Unwind_FindEnclosingFunction): move from here ...
3285         * config/darwin10-unwind-find-enc-func.c: â€¦ to here.
3286         * config/t-darwin: Build Darwin10 unwinder shim crt.
3287         * libgcc/config.host: Add the Darwin10 unwinder shim.
3289 2018-08-21  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3291         * config.host: Add crtbegin.o and crtend.o for
3292         powerpc-wrs-vxworks target.
3294 2018-08-17  Jojo  <jijie_rong@c-sky.com>
3295             Huibin Wang  <huibin_wang@c-sky.com>
3296             Sandra Loosemore  <sandra@codesourcery.com>
3297             Chung-Lin Tang  <cltang@codesourcery.com>
3299         C-SKY port: libgcc
3301         * config.host: Add C-SKY support.
3302         * config/csky/*: New.
3304 2018-08-12  Chung-Ju Wu  <jasonwucj@gmail.com>
3306         * config/nds32/t-nds32-isr: Rearrange object dependency.
3307         * config/nds32/initfini.c: Add dwarf2 unwinding support.
3308         * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
3309         and registers usage.
3310         * config/nds32/isr-library/excp_isr.S: Ditto.
3311         * config/nds32/isr-library/intr_isr.S: Ditto.
3312         * config/nds32/isr-library/reset.S: Ditto.
3313         * config/nds32/isr-library/restore_all.inc: Ditto.
3314         * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
3315         * config/nds32/isr-library/restore_partial.inc: Ditto.
3316         * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
3317         * config/nds32/isr-library/save_all.inc: Ditto.
3318         * config/nds32/isr-library/save_mac_regs.inc: Ditto.
3319         * config/nds32/isr-library/save_partial.inc: Ditto.
3320         * config/nds32/isr-library/save_usr_regs.inc: Ditto.
3321         * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
3323 2018-08-11  John David Anglin  <danglin@gcc.gnu.org>
3325         * config/pa/linux-atomic.c: Update comment.
3326         (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
3327         COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
3328         SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
3329         __ATOMIC_RELAXED for atomic loads.
3330         (SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
3331         unordered store to release lock.
3332         (__sync_lock_release_8): Likewise.
3333         (SYNC_LOCK_RELEASE_2): Remove define.
3335 2018-08-02  Nicolas Pitre <nico@fluxnic.net>
3337         PR libgcc/86512
3338         * config/arm/ieee754-df.S: Don't shortcut denormal handling when
3339         exponent goes negative. Update my email address.
3340         * config/arm/ieee754-sf.S: Likewise.
3342 2018-08-01  Martin Liska  <mliska@suse.cz>
3344         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
3345         check that  __gcov_indirect_call_callee is non-null.
3347 2018-07-30  Christophe Lyon  <christophe.lyon@linaro.org>
3349         * config/arm/ieee754-df.S: Fix comment for code working on
3350         architectures >= 4.
3351         * config/arm/ieee754-sf.S: Likewise.
3353 2018-07-27  H.J. Lu  <hongjiu.lu@intel.com>
3355         PR libgcc/85334
3356         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3357         Removed.
3359 2018-07-05  James Clarke  <jrtc27@jrtc27.com>
3361         * configure: Regenerated.
3363 2018-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3365         * Makefile.in (install_leaf): Use enable_gcov instead of
3366         enable_libgcov.
3368 2018-06-27  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3370         * configure.ac: Add --disable-gcov option.
3371         * configure: Regenerate.
3372         * Makefile.in: Honour @enable_gcov@.
3374 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
3376         * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
3377         __ARM_ARCH and __ARM_FEATURE_CLZ instead.
3378         (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
3379         * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
3380         __ARM_ARCH__.
3381         * config/arm/ieee754-sf.S: Likewise.
3382         * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
3384 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
3386         * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
3387         longer supported.
3388         * config/arm/ieee754-sf.S: Likewise.
3390 2018-06-20  Than McIntosh  <thanm@google.com>
3392         PR libgcc/86213
3393         * generic-morestack.c (allocate_segment): Move calls to getenv and
3394         getpagesize to __morestack_load_mmap.
3395         (__morestack_load_mmap) Initialize static_pagesize and
3396         use_guard_page here so as to avoid clobbering SSE regs during a
3397         __morestack call.
3399 2018-06-18  Michael Meissner  <meissner@linux.ibm.com>
3401         * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
3402         support modules with -mno-gnu-attribute.
3403         * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
3405 2018-06-07  Olivier Hainque  <hainque@adacore.com>
3407         * config/t-vxworks (LIBGCC_INCLUDES): Add
3408         -I$(MULTIBUILDTOP)../../gcc/include.
3409         * config/t-vxworks7: Likewise. Reformat a bit to match
3410         the t-vxworks layout.
3412 2018-06-07  Olga Makhotina  <olga.makhotina@intel.com>
3414         * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
3416 2018-06-07  Martin Liska  <mliska@suse.cz>
3418         * libgcov-driver.c: Rename cs_all to all and assign it from
3419         all_prg.
3421 2018-06-07  Martin Liska  <mliska@suse.cz>
3423         PR bootstrap/86057
3424         * libgcov-driver-system.c (replace_filename_variables): Use
3425         memcpy instead of mempcpy.
3426         (allocate_filename_struct): Do not allocate filename, allocate
3427         prefix and set it.
3428         (gcov_exit_open_gcda_file): Allocate memory for gf->filename
3429         here and properly copy content into it.
3430         * libgcov-driver.c (struct gcov_filename): Remove max_length
3431         field, change prefix from size_t into char *.
3432         (compute_summary): Do not calculate longest filename.
3433         (gcov_do_dump): Release memory of gf.filename after each file.
3434         * libgcov-util.c (compute_summary): Use new signature of
3435         compute_summary.
3436         (calculate_overlap): Likewise.
3438 2018-06-05  Martin Liska  <mliska@suse.cz>
3440         PR gcov-profile/47618
3441         * libgcov-driver-system.c (replace_filename_variables): New
3442         function.
3443         (gcov_exit_open_gcda_file): Use it.
3445 2018-06-05  Martin Liska  <mliska@suse.cz>
3447         * libgcov-driver.c (gcov_compute_histogram): Remove usage
3448         of gcov_ctr_summary.
3449         (compute_summary): Do it just for a single summary.
3450         (merge_one_data): Likewise.
3451         (merge_summary): Simplify as we read just single summary.
3452         (dump_one_gcov): Pass proper argument.
3453         * libgcov-util.c (compute_one_gcov): Simplify as we have just
3454         single summary.
3455         (gcov_info_count_all_cold): Likewise.
3456         (calculate_overlap): Likewise.
3458 2018-06-02  Chung-Ju Wu  <jasonwucj@gmail.com>
3459             Monk Chiang  <sh.chiang04@gmail.com>
3461         * config.host (nds32*-linux*): New.
3462         * config/nds32/linux-atomic.c: New file.
3463         * config/nds32/linux-unwind.h: New file.
3465 2018-05-31  Uros Bizjak  <ubizjak@gmail.com>
3467         PR target/85591
3468         * config/i386/cpuinfo.c (get_amd_cpu): Return
3469         AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
3471 2018-05-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
3473         * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
3475 2018-05-29  Martin Liska  <mliska@suse.cz>
3477         PR gcov-profile/85759
3478         * libgcov-driver-system.c (gcov_error): Introduce usage of
3479         GCOV_EXIT_AT_ERROR env. variable.
3480         * libgcov-driver.c (merge_one_data): Print error that we
3481         overwrite a gcov file with a different timestamp.
3483 2018-05-23  Kalamatee  <kalamatee@gmail.com>
3485         * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
3486         path to Lf$finfty.
3488 2018-05-18  Kito Cheng <kito.cheng@gmail.com>
3489             Monk Chiang  <sh.chiang04@gmail.com>
3490             Jim Wilson <jimw@sifive.com>
3492         * config/riscv/save-restore.S: Add support for rv32e.
3494 2018-05-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
3496         * config/arm/libunwind.S: Update comment relating to armv5.
3498 2018-05-17  Jerome Lambourg  <lambourg@adacore.com>
3500         * config/arm/cmse.c (cmse_check_address_range): Replace
3501         UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
3503 2018-05-17  Olga Makhotina  <olga.makhotina@intel.com>
3505         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
3506         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
3508 2018-05-08  Olga Makhotina  <olga.makhotina@intel.com>
3510         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
3511         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
3513 2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
3515         * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
3517 2018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
3518             Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
3520         PR libgcc/84292
3521         * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
3522         op_and_fetch to return the right result.
3524 2018-04-27  Alan Modra  <amodra@gmail.com>
3526         PR libgcc/85532
3527         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
3528         -fno-asynchronous-unwind-tables.
3530 2018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
3532         * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
3533         * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
3535 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
3537         * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
3538         when including "config/i386/shadow-stack-unwind.h".
3540 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
3542         * configure: Regenerated.
3544 2018-04-20  Michael Meissner  <meissner@linux.ibm.com>
3546         PR target/85456
3547         * config/rs6000/_powikf2.c: New file.  Add support for the
3548         __builtin_powil function when long double is IEEE 128-bit floating
3549         point.
3550         * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
3551         __powikf2 support.
3552         (__powikf2): Likewise.
3553         * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
3554         (__powikf2_hw): Likewise.
3555         (__powikf2): Likewise.
3556         * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
3557         * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
3558         (_powikf2-hw.c): Likewise.
3560 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
3562         PR libgcc/85334
3563         * unwind-generic.h (_Unwind_Frames_Increment): New.
3564         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3565         Likewise.
3566         * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
3567         count with _Unwind_Frames_Increment.
3568         (_Unwind_ForcedUnwind_Phase2): Likewise.
3570 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
3572         PR libgcc/85379
3573         * config/i386/morestack.S (__stack_split_initialize): Add
3574         _CET_ENDBR.
3576 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
3578         * configure: Regenerated.
3580 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
3582         PR jit/85384
3583         * configure: Regenerate.
3585 2018-04-16  Jakub Jelinek  <jakub@redhat.com>
3587         PR target/84945
3588         * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
3589         -Wdangling-else warnings.  Mask shift counts to avoid
3590         -Wshift-count-negative and -Wshift-count-overflow false positives.
3592 2018-04-06  Ruslan Bukin  <br@bsdpad.com>
3594         * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
3596 2018-03-29  H.J. Lu  <hongjiu.lu@intel.com>
3598         PR target/85100
3599         * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
3600         (XSTATE_FP): Likewise.
3601         (XSTATE_SSE): Likewise.
3602         (XSTATE_YMM): Likewise.
3603         (XSTATE_OPMASK): Likewise.
3604         (XSTATE_ZMM): Likewise.
3605         (XSTATE_HI_ZMM): Likewise.
3606         (XCR_AVX_ENABLED_MASK): Likewise.
3607         (XCR_AVX512F_ENABLED_MASK): Likewise.
3608         (get_available_features): Enable AVX and AVX512 features only
3609         if their states are supported by OSXSAVE.
3611 2018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3613         PR target/85025
3614         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3615         Fix a typo, tmp => 255.
3617 2018-03-20  Jakub Jelinek  <jakub@redhat.com>
3619         PR target/84945
3620         * config/i386/cpuinfo.h (__cpu_features2): Declare.
3621         * config/i386/cpuinfo.c (__cpu_features2): New variable for
3622         ifndef SHARED only.
3623         (set_feature): Define.
3624         (get_available_features): Use set_feature macro.  Set __cpu_features2
3625         to the second word of features ifndef SHARED.
3627 2018-03-15  Julia Koval  <julia.koval@intel.com>
3629         * config/i386/cpuinfo.c (get_available_features): Add
3630         FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
3631         FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
3632         * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
3633         FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
3634         FEATURE_AVX512BITALG.
3636 2018-03-14  Julia Koval  <julia.koval@intel.com>
3638         * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
3639         icelake client and icelake server.
3641 2018-03-06  John David Anglin  <danglin@gcc.gnu.org>
3643         * config/pa/fptr.c (_dl_read_access_allowed): New.
3644         (__canonicalize_funcptr_for_compare): Use it.
3646 2018-02-28  Jakub Jelinek  <jakub@redhat.com>
3648         PR debug/83917
3649         * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
3650         $asm_hidden_op if visibility ("hidden") attribute works.
3651         (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
3652         * config/i386/i386-asm.h: Don't include auto-host.h.
3653         (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
3654         PACKAGE_URL): Don't undefine.
3655         (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
3656         guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
3657         (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
3658         #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
3659         definition instead of hardcoded .hidden.
3660         * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
3661         directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
3662         #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
3663         (USE_GAS_CFI_DIRECTIVES): Don't define.
3664         * configure: Regenerated.
3665         * config.in: Likewise.
3667 2018-02-26  Jakub Jelinek  <jakub@redhat.com>
3669         PR debug/83917
3670         * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
3671         PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
3672         inclusion of auto-target.h and auto-host.h.
3673         (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
3674         __GCC_HAVE_DWARF2_CFI_ASM.
3675         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3676         cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
3677         cfi_pop): Define.
3678         * config/i386/cygwin.S: Don't include auto-host.h here, just
3679         define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
3680         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3681         cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
3682         * config/i386/resms64fx.h: Add cfi_* directives.
3683         * config/i386/resms64x.h: Likewise.
3685 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
3687         * config/xtensa/ieee754-df.S (__adddf3_aux): Add
3688         .literal_position directive.
3689         * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
3691 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3693         PR target/84148
3694         * configure: Regenerate.
3696 2018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3698         PR target/84239
3699         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3700         Include cetintrin.h not x86intrin.h.
3702 2018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3704         PR target/84239
3705         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3706         Use new _get_ssp and _inc_ssp intrinsics.
3708 2018-02-02  Julia Koval  <julia.koval@intel.com>
3710         * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
3712 2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
3714         * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
3715         option.
3716         (__divsi3): Use RF16 safe registers.
3717         (__modsi3): Likewise.
3719 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
3721         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
3722         (__divsf3): Make NaN return value quiet.
3723         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
3724         (__divdf3): Make NaN return value quiet.
3726 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
3728         * config/rl78/anddi3.S: New assembly file.
3729         * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
3731 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
3733         * config/rl78/umindi3.S: New assembly file.
3734         * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
3736 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
3738         * config/rl78/smindi3.S: New assembly file.
3739         * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
3741 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
3743         * config/rl78/smaxdi3.S: New assembly file.
3744         * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
3746 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
3748         * config/rl78/umaxdi3.S: New assembly file.
3749         * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
3751 2018-01-21  John David Anglin  <danglin@gcc.gnu.org>
3753         PR lto/83452
3754         * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
3755         * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
3757 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
3759         * config/aarch64/value-unwind.h (aarch64_vg): New function.
3760         (DWARF_LAZY_REGISTER_VALUE): Define.
3761         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
3762         to provide a fallback register value.
3764 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
3766         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
3767         __ibm128, instead of trying to use long double.
3768         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
3769         accomidate -mabi=ieeelongdouble multilibs.
3770         (CVT_IBM128_TO_FLOAT128): Likewise.
3771         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
3772         the appropriate IBM extended double type.
3773         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
3774         (__gcc_qsub): Likewise.
3775         (__gcc_qmul): Likewise.
3776         (__gcc_qdiv): Likewise.
3777         (pack_ldouble): Likewise.
3778         (__gcc_qneg): Likewise.
3779         (__gcc_qeq): Likewise.
3780         (__gcc_qne): Likewise.
3781         (__gcc_qge): Likewise.
3782         (__gcc_qle): Likewise.
3783         (__gcc_stoq): Likewise.
3784         (__gcc_dtoq): Likewise.
3785         (__gcc_itoq): Likewise.
3786         (__gcc_utoq): Likewise.
3787         (__gcc_qunord): Likewise.
3788         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
3789         quad-float128.h for the definitions.
3790         (COPYSIGN): Use the f128 version instead of the q version.
3791         (INFINITY): Likewise.
3792         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
3793         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
3794         quad-float128.h for the definitions.
3795         (COPYSIGN): Use the f128 version instead of the q version.
3796         (INFINITY): Likewise.
3797         (FABS): Likewise.
3798         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
3799         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
3800         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
3802 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3804         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
3805         configuration.
3807 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
3809         Update copyright years.
3811 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
3813         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
3814         * config/riscv/multi3.c: New file.
3815         * config/riscv/multi3.S: Remove.
3817 2017-12-08  Jim Wilson  <jimw@sifive.com>
3819         * config/riscv/div.S: Use FUNC_* macros.
3820         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
3821         * config/riscv/save-restore.S: Likewise.
3822         * config/riscv/riscv-asm.h: New.
3824 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
3826         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
3827         * config/rs6000/_divkc3.c (__divkc3): Likewise.
3829         PR libgcc/83112
3830         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
3831         correct type for all ifunc resolvers to silence -Wattribute-alias
3832         warnings.  Eliminate the forward declaration of the resolver
3833         functions which is no longer needed.
3834         (__subkf3_resolve): Likewise.
3835         (__mulkf3_resolve): Likewise.
3836         (__divkf3_resolve): Likewise.
3837         (__negkf2_resolve): Likewise.
3838         (__eqkf2_resolve): Likewise.
3839         (__nekf2_resolve): Likewise.
3840         (__gekf2_resolve): Likewise.
3841         (__gtkf2_resolve): Likewise.
3842         (__lekf2_resolve): Likewise.
3843         (__ltkf2_resolve): Likewise.
3844         (__unordkf2_resolve): Likewise.
3845         (__extendsfkf2_resolve): Likewise.
3846         (__extenddfkf2_resolve): Likewise.
3847         (__trunckfsf2_resolve): Likewise.
3848         (__trunckfdf2_resolve): Likewise.
3849         (__fixkfsi_resolve): Likewise.
3850         (__fixkfdi_resolve): Likewise.
3851         (__fixunskfsi_resolve): Likewise.
3852         (__fixunskfdi_resolve): Likewise.
3853         (__floatsikf_resolve): Likewise.
3854         (__floatdikf_resolve): Likewise.
3855         (__floatunsikf_resolve): Likewise.
3856         (__floatundikf_resolve): Likewise.
3857         (__extendkftf2_resolve): Likewise.
3858         (__trunctfkf2_resolve): Likewise.
3860         PR libgcc/83103
3861         * config/rs6000/quad-float128.h (TF): Don't define if long double
3862         is IEEE 128-bit floating point.
3863         (TCtype): Define as either TCmode or KCmode, depending on whether
3864         long double is IEEE 128-bit floating point.
3865         (__mulkc3_sw): Add declarations for software/hardware versions of
3866         complex multiply/divide.
3867         (__divkc3_sw): Likewise.
3868         (__mulkc3_hw): Likewise.
3869         (__divkc3_hw): Likewise.
3870         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
3871         handlers to switch between using software emulation and hardware
3872         float128 instructions, build the complex multiply/divide functions
3873         for both software and hardware support.
3874         * config/rs6000/_divkc3.c (_divkc3): Likewise.
3875         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
3876         (__divkc3_resolve): Likewise.
3877         (__mulkc3): Likewise.
3878         (__divkc3): Likewise.
3879         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
3880         (fp128_hw_src): Likewise.
3881         (fp128_hw_static_obj): Likewise.
3882         (fp128_hw_shared_obj): Likewise.
3883         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
3884         _mulkc3.c and _divkc3.c, changing the function name.
3885         (_divkc3-hw.c): Likewise.
3886         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
3887         and _divkc3-hw.c.
3889 2017-11-26  Julia Koval  <julia.koval@intel.com>
3891         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
3892         * config/i386/cpuinfo.h (processor_subtypes): Add
3893         INTEL_COREI7_CANNONLAKE.
3895 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3897         PR bootstrap/83015
3898         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
3899         parameter.
3900         * config/xtensa/unwind-dw2-xtensa.c: Likewise
3901         * config/ia64/unwind-ia64.c: Add frames parameter.
3902         * unwind-sjlj.c: Likewise.
3904 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3906         * config/i386/linux-unwind.h: Include
3907         config/i386/shadow-stack-unwind.h.
3908         * config/i386/shadow-stack-unwind.h: New file.
3909         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
3910         pass it to _Unwind_Frames_Extra.
3911         * unwind-generic.h (_Unwind_Frames_Extra): New.
3912         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
3913         parameter. Add local variable frames to count number of frames.
3914         (_Unwind_ForcedUnwind_Phase2): Likewise.
3915         (_Unwind_RaiseException): Add local variable frames to count
3916         number of frames, pass it to _Unwind_RaiseException_Phase2 and
3917         uw_install_context.
3918         (_Unwind_ForcedUnwind): Likewise.
3919         (_Unwind_Resume): Likewise.
3920         (_Unwind_Resume_or_Rethrow): Likewise.
3922 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3924         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
3925         (CET_FLAGS): New.
3926         * config/i386/morestack.S: Include <cet.h>.
3927         (__morestack_large_model): Add _CET_ENDBR at function entrance.
3928         * config/i386/resms64.h: Include <cet.h>.
3929         * config/i386/resms64f.h: Likewise.
3930         * config/i386/resms64fx.h: Likewise.
3931         * config/i386/resms64x.h: Likewise.
3932         * config/i386/savms64.h: Likewise.
3933         * config/i386/savms64f.h: Likewise.
3934         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
3935         (CRTSTUFF_T_CFLAGS): Likewise.
3936         * configure.ac: Include ../config/cet.m4.
3937         Set and substitute CET_FLAGS.
3938         * configure: Regenerated.
3940 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3942         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
3943         renaming.
3944         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
3945         * configure.ac (libgcc_cv_solaris_crts): Likewise.
3946         * configure: Regenerate.
3948 2017-11-07  Tom de Vries  <tom@codesourcery.com>
3950         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
3951         after "do {} while (0)".
3953 2017-11-07  Tom de Vries  <tom@codesourcery.com>
3955         PR other/82784
3956         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
3957         semicolon after "do {} while (0)".
3958         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3959         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3960         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3961         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3963 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
3965         PR libgcc/82635
3966         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
3967         sysctl to determine whether we're in a trampoline.
3968         Keep the pattern matching method for systems without
3969         KERN_PROC_SIGTRAMP sysctl.
3971 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
3972             Vineet Gupta <vgupta@synopsys.com>
3974         * config.host (arc*-*-linux*): Set md_unwind_header variable.
3975         * config/arc/linux-unwind-reg.def: New file.
3976         * config/arc/linux-unwind-reg.h: Likewise.
3978 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
3980         * config/rl78/subdi3.S: New assembly file.
3981         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
3983 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
3985         * config/rl78/adddi3.S: New assembly file.
3986         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
3988 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
3990         PR target/82274
3991         * libgcc2.c (__mulvDI3): If both operands have
3992         the same highpart of -1 and the topmost bit of lowpart is 0,
3993         multiplication overflows even if both lowparts are 0.
3995 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
3997         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
3999 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
4001         * config/microblaze/crti.S, config/microblaze/crtn.S,
4002         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
4003         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
4004         config/microblaze/mulsi3.S,
4005         config/microblaze/stack_overflow_exit.S,
4006         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
4007         config/pa/milli64.S: Add .note.GNU-stack section.
4009 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
4011         * configure.ac: Add Check for HAVE_AS_AVX.
4012         * config.in: Regenerate.
4013         * configure: Likewise.
4014         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
4015         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
4016         Correct out-of-date comments.
4018 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
4020         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
4021         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
4023 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
4025         * config/i386/i386-asm.h (PASTE2): New macro.
4026         (ASMNAME): Modify to use PASTE2.
4027         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
4028         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
4029         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
4030         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
4031         * config/i386/resms64f.S: Likewise.
4032         * config/i386/resms64fx.S: Likewise.
4033         * config/i386/resms64x.S: Likewise.
4034         * config/i386/savms64.S: Likewise.
4035         * config/i386/savms64f.S: Likewise.
4036         * config/i386/avx_resms64.S: New file that only defines a macro and
4037         includes it's corresponding header file.
4038         * config/i386/avx_resms64f.S: Likewise.
4039         * config/i386/avx_resms64fx.S: Likewise.
4040         * config/i386/avx_resms64x.S: Likewise.
4041         * config/i386/avx_savms64.S: Likewise.
4042         * config/i386/avx_savms64f.S: Likewise.
4043         * config/i386/sse_resms64.S: Likewise.
4044         * config/i386/sse_resms64f.S: Likewise.
4045         * config/i386/sse_resms64fx.S: Likewise.
4046         * config/i386/sse_resms64x.S: Likewise.
4047         * config/i386/sse_savms64.S: Likewise.
4048         * config/i386/sse_savms64f.S: Likewise.
4049         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
4051 2017-09-01  Olivier Hainque  <hainque@adacore.com>
4052         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
4054 2017-08-31  Olivier Hainque  <hainque@adacore.com>
4056         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
4057         match as powerpc-wrs-vxworks*.
4059 2017-08-07  Jonathan Yong  <10walls@gmail.com>
4061         * config.host (*-cygwin): Include file from mingw
4062         config/i386/enable-execute-stack-mingw32.c
4064 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
4065             Doug Rupp  <rupp@adacore.com>
4066             Olivier Hainque  <hainque@adacore.com>
4068         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
4069         as well as arm-wrs-vxworks.
4070         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
4071         LIB2ADDEH.
4072         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
4073         __exidx_start and __exidx_end for downloadable modules.
4075 2017-08-01  Olivier Hainque  <hainque@adacore.com>
4077         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
4078         * config/t-vxworks7: Likewise.
4080 2017-08-01  Olivier Hainque  <hainque@adacore.com>
4082         * config/t-vxworks: Instead of redefining LIB2ADD,
4083         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
4085 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4087         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
4089 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
4091         PR testsuite/80759
4092         * config.host: include i386/t-msabi for darwin and solaris.
4093         * config/i386/i386-asm.h
4094         (ELFFN): Rename to FN_TYPE.
4095         (FN_SIZE): New macro.
4096         (FN_HIDDEN): Likewise.
4097         (ASMNAME): Likewise.
4098         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
4099         .globl.
4100         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
4101         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
4102         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
4103         .macro.
4104         * config/i386/resms64f.S: Likewise.
4105         * config/i386/resms64fx.S: Likewise.
4106         * config/i386/resms64x.S: Likewise.
4107         * config/i386/savms64.S: Likewise.
4108         * config/i386/savms64f.S: Likewise.
4110 2017-07-19  John Marino  <gnugcc@marino.st>
4112         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
4114 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
4116         PR target/81193
4117         * configure.ac (PowerPC float128 hardware support): Test whether
4118         we can use __builtin_cpu_supports before enabling the ifunc
4119         handler.
4120         * configure: Regenerate.
4122 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
4124         * config.host: Remove uclibc from arc target spec.
4126 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
4128         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
4130 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
4132         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
4133         (have_ieee_hw_p): Delete function.
4134         (SW_OR_HW) Use __builtin_cpu_supports().
4136 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4138         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
4140 2017-07-03  Olivier Hainque  <hainque@adacore.com>
4142         * config/t-vxworks7: New file, really.
4144 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
4146         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
4147         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
4148         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
4149         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
4150         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
4151         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
4152         config/pa/linux-unwind.h (pa32_fallback_frame_state),
4153         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
4154         config/sh/linux-unwind.h (sh_fallback_frame_state),
4155         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
4156         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
4157         ucontext_t instead of struct ucontext.
4159 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
4161         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
4162         (x86_64-wrs-vxworks7): Likewise.
4164 2017-06-27  Olivier Hainque  <hainque@adacore.com>
4166         * config/t-vxworks7: New file.
4167         * config.host (*-*-vxworks7): Use it.
4169 2017-06-22  Matt Turner  <mattst88@gmail.com>
4171         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
4172         skylake case.
4174 2017-06-21  Richard Biener  <rguenther@suse.de>
4176         PR gcov-profile/81080
4177         * configure.ac: Add AC_SYS_LARGEFILE.
4178         * libgcov.h: Include auto-target.h before tsystem.h to pick
4179         up _FILE_OFFSET_BITS which might differ for multilibs.
4180         * config.in: Regenerate.
4181         * configure: Likewise.
4183 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
4185         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
4187 2017-06-09  Martin Liska  <mliska@suse.cz>
4189         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
4190         Reset __gcov_indirect_call_callee to NULL.
4192 2017-06-08  Olivier Hainque  <hainque@adacore.com>
4194         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
4195         the set of -I options, support for direct inclusions of net/uio.h
4196         by VxWorks header files via ioLib.h.
4198 2017-06-07  Tony Reix  <tony.reix@atos.net>
4199             Matthieu Sarter  <matthieu.sarter.external@atos.net>
4200             David Edelsohn  <dje.gcc@gmail.com>
4202         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
4203         unconditionally.
4204         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
4205         AIX 7.2 support.
4207 2017-06-02  Olivier Hainque  <hainque@adacore.com>
4209         * config/vxlib.c (__gthread_once): Add missing value to
4210         return statement.
4212 2017-05-30  Olivier Hainque  <hainque@adacore.com>
4214         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
4215         dollar sign before $(MULTIDIR).
4217 2017-05-26  Richard Henderson  <rth@redhat.com>
4219         PR libgcc/80037
4220         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
4222 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
4224         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
4225         _Unwind_SetIP available as functions for arm*-*-freebsd*.
4226         * config/arm/unwind-arm.c: Implement the above.
4228 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4230         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
4231         section for a non-executable stack.
4233 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
4235         PR target/80600
4236         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
4238 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
4240         * config.host: Add i386/t-msabi to i386/t-linux file list.
4241         * config/i386/i386-asm.h: New file.
4242         * config/i386/resms64.S: New file.
4243         * config/i386/resms64f.S: New file.
4244         * config/i386/resms64fx.S: New file.
4245         * config/i386/resms64x.S: New file.
4246         * config/i386/savms64.S: New file.
4247         * config/i386/savms64f.S: New file.
4248         * config/i386/t-msabi: New file.
4250 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
4252         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
4253         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
4255 2017-05-05  Joshua Conner  <joshconner@google.com>
4257         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
4258         pc-relative indirect handling for fuchsia.
4259         * config/t-slibgcc-fuchsia: New file.
4260         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
4261         x86_64-*-fuchsia*): Add definitions.
4263 2017-04-19  Martin Liska  <mliska@suse.cz>
4265         PR gcov-profile/80435
4266         * Makefile.in: Install gcov.h.
4267         * gcov.h: New file.
4268         * libgcov.h: Use the header and make __gcov_flush publicly
4269         visible.
4271 2017-04-18  Martin Liska  <mliska@suse.cz>
4273         PR gcov-profile/78783
4274         * libgcov-driver.c (gcov_get_filename): New function.
4276 2017-04-07  Jeff Law  <law@redhat.com>
4278         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
4279         target makefile fragment.
4280         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
4282 2017-04-07  Alan Modra  <amodra@gmail.com>
4284         PR target/45053
4285         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
4287 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
4289         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
4291 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
4293         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
4295 2017-03-10  John Marino  <gnugcc@marino.st>
4297         * config/aarch64/freebsd-unwind.h: New file.
4298         * config.host: Add aarch64-*-freebsd unwinder.
4300 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
4302         * config/rs6000/crtrestvr.s: Use .machine altivec.
4303         * config/rs6000/crtsavevr.s: Ditto.
4305 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
4307         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
4308         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
4309         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
4310         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
4311         * configure: Regenerate.
4312         * config.in: Regenerate.
4314 2017-03-02  Jonathan Yong <10walls@gmail.com>
4316         * config/i386/gthr-win32.h: Define NOGDI before
4317         windows.h include to prevent w32api CC_NONE macro
4318         clash with libgfortran.
4320 2017-03-02  Jonathan Yong <10walls@gmail.com>
4322         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
4324 2017-02-16  Andrew Pinski  <apinski@cavium.com>
4326         * config/aarch64/value-unwind.h: New file.
4327         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
4328         to tm_file.
4330 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
4332         * config.host: Add RISC-V tuples.
4333         * config/riscv/atomic.c: New file.
4334         * config/riscv/crti.S: Likewise.
4335         * config/riscv/crtn.S: Likewise.
4336         * config/riscv/div.S: Likewise.
4337         * config/riscv/linux-unwind.h: Likewise.
4338         * config/riscv/muldi3.S: Likewise.
4339         * config/riscv/multi3.S: Likewise.
4340         * config/riscv/save-restore.S: Likewise.
4341         * config/riscv/sfp-machine.h: Likewise.
4342         * config/riscv/t-elf: Likewise.
4343         * config/riscv/t-elf32: Likewise.
4344         * config/riscv/t-elf64: Likewise.
4345         * config/riscv/t-softfp32: Likewise.
4346         * config/riscv/t-softfp64: Likewise.
4348 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
4350         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4351         /* FALLTHRU */ comments.
4353 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
4355         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
4357 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
4359         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
4360         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
4361         DW_CFA_GNU_window_save for AArch64 and LP64.
4363 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
4365         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
4367 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
4369         * config/aarch64/aarch64-unwind.h: New file.
4370         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
4371         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
4372         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
4373         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
4374         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
4375         (aarch64_post_extract_frame_addr): New function.
4376         (aarch64_post_frob_eh_handler_addr): New function.
4377         (aarch64_frob_update_context): New function.
4378         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
4379         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
4380         aarch64*-*-freebsd*):
4381         Initialize md_unwind_header to include aarch64-unwind.h.
4382         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
4383         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
4384         __aarch64__.
4385         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
4386         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
4387         (uw_frob_return_addr): New function.
4388         (uw_install_context): Use uw_frob_return_addr.
4390 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
4392         PR other/79046
4393         * configure.ac: Add GCC_BASE_VER.
4394         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
4395         version from BASE-VER file.
4396         * configure: Regenerated.
4398 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
4400         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
4401         libmul_f5.a): Filter archived prerequisites.
4403 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
4405         * config/i386/cpuinfo.h (processor_features): Add
4406         FEATURE_AVX512VPOPCNTDQ.
4407         * config/i386/cpuinfo.c (get_available_features): Habdle new
4408         feature.
4410 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
4412         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
4413         payload if [__mips_nan2008].
4415 2017-01-04  Alan Modra  <amodra@gmail.com>
4417         * Makefile.in (configure_deps): Update.
4418         * configure: Regenerate.
4420 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
4422         Update copyright years.
4424 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
4426         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
4427         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
4428         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
4430 2016-12-17  Matthias Klose  <doko@ubuntu.com>
4432         * config/arc/gmon: Remove empty directory.
4434 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
4436         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
4437         crtgend.
4438         (arc*-*-elf*): Likewise.
4439         * config/arc/t-arc: Remove old gmon lib targets.
4440         * config/arc/crtg.S: Remove.
4441         * config/arc/crtgend.S: Likewise.
4442         * config/arc/gmon/atomic.h: Likewise.
4443         * config/arc/gmon/auxreg.h: Likewise.
4444         * config/arc/gmon/dcache_linesz.S: Likewise.
4445         * config/arc/gmon/gmon.c: Likewise.
4446         * config/arc/gmon/machine-gmon.h: Likewise.
4447         * config/arc/gmon/mcount.c: Likewise.
4448         * config/arc/gmon/prof-freq-stub.S: Likewise.
4449         * config/arc/gmon/prof-freq.c: Likewise.
4450         * config/arc/gmon/profil.S: Likewise.
4451         * config/arc/gmon/sys/gmon.h: Likewise.
4452         * config/arc/gmon/sys/gmon_out.h: Likewise.
4453         * config/arc/t-arc-newlib: Likewise.
4454         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
4456 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
4458         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
4460 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
4462         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
4463         R16 instead of push + pop.
4464         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
4466 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
4468         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
4469         tmake_file.
4471 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
4473         * config.host (arc*-*-linux-uclibc*): Use default extra
4474         objects. Include linux-android header.
4475         * config/arc/crti.S (_init): Declare symbol as function.
4476         (_fini): Likewise.
4478 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
4480         PR fortran/78379
4481         * config/i386/cpuinfo.c:  Move denums for processor vendors,
4482         processor type, processor subtypes and declaration of
4483         struct __processor_model into
4484         * config/i386/cpuinfo.h:  New header file.
4486 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
4487             Thomas Preud'homme  <thomas.preudhomme@arm.com>
4489         * config/arm/cmse_nonsecure_call.S: New.
4490         * config/arm/t-arm: Compile cmse_nonsecure_call.S
4492 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
4493             Thomas Preud'homme  <thomas.preudhomme@arm.com>
4495         * config/arm/t-arm (HAVE_CMSE): New.
4496         * config/arm/cmse.c: New.
4498 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
4500         PR gcc/74748
4501         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
4502         use generic linker version information on Blackfin.
4504         PR gcc/74748
4505         * libgcc/mkmap-symver.awk: add support for skip_underscore
4507 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
4508             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4510         PR target/67710
4511         *  config/t-darwin: Default builds to 10.5 codegen.
4513 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
4515         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
4516         (_FP_NANSIGN_H): Likewise.
4517         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
4518         (softfp_truncations): Add tfhf.
4519         (softfp_extras): Add required conversion functions.
4521 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
4522             Matthew Wahab  <matthew.wahab@arm.com>
4524         * config/arm/fp16.c (binary64): New.
4525         (__gnu_d2h_internal): New.
4526         (__gnu_d2h_ieee): New.
4527         (__gnu_d2h_alternative): New.
4529 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
4530             Matthew Wahab  <matthew.wahab@arm.com>
4532         * config/arm/fp16.c (struct format): New.
4533         (binary32): New.
4534         (__gnu_float2h_internal): New.  Body moved from
4535         __gnu_f2h_internal and generalize.
4536         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
4537         Call it with binary32.
4539 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
4541         * soft-fp/extendhftf2.c: Update from glibc.
4542         * soft-fp/fixhfti.c: Likewise.
4543         * soft-fp/fixunshfti.c: Likewise.
4544         * soft-fp/floattihf.c: Likewise.
4545         * soft-fp/floatuntihf.c: Likewise.
4546         * soft-fp/half.h: Likewise.
4547         * soft-fp/trunctfhf2.c: Likewise.
4549 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
4551         PR libgcc/77813
4552         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
4553         __TMC_END__ behind a passthrough asm.
4555 2016-11-18  Walter Lee  <walt@tilera.com>
4557         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
4559 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
4561         * config/i386/cpuinfo.c (processor_features): Add
4562         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
4564 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
4566         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
4567         (__ARC_NORM__): Use instead ARC_OPTFPE.
4568         * config/arc/fp-hack.h: Likewise.
4569         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
4570         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
4572 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
4574         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
4575         * config/nvptx/mgomp.c: New file.
4576         * config/nvptx/t-nvptx: Add mgomp.c
4578 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
4580         PR libgcc/68468
4581         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
4583 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
4585         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
4586         of checking for cpus.
4587         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
4588         (__modsi3, __clzsi2): Likewise.
4590 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4592         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
4593         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
4594         * config/i386/t-cpuinfo-static: New.
4596 2016-11-03  Martin Liska  <mliska@suse.cz>
4598         * libgcov-profiler.c (__gcov_time_profiler): Remove.
4599         (__gcov_time_profiler_atomic): Likewise.
4601 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
4603         PR libgcc/78067
4604         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
4605         count_leading_zeros.
4607 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
4609         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
4610         * libgcc2.c (__divmoddi4): New function.
4611         * libgcc2.h (__divmoddi4): Declare.
4612         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
4613         and __PFX_divmodti4.
4615 2016-10-24  Florian Weimer  <fweimer@redhat.com>
4617         PR libgcc/78064
4618         * unwind-c.c: Include auto-target.h.
4620 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
4622         * config/pa/pa64-hpux-lib.h: New file.
4623         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
4624         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
4625         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
4626         hppa*64*-*-hpux11*.
4628 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
4630         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4631         definition.
4632         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4633         definition.
4634         * config/xtensa/t-windowed (LIB2ADDEH): Use
4635         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
4636         or xtensa/t-linux.
4638 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
4640         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
4641         __ieee754_sqrt): New functions.
4642         (__divdf3): Add implementation with new FPU instructions under
4643         #if XCHAL_HAVE_DFP_DIV.
4644         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
4645         __ieee754_sqrtf): New functions.
4646         (__divsf3): Add implementation with new FPU instructions under
4647         #if XCHAL_HAVE_FP_DIV.
4648         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
4649         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
4651 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4653         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
4654         equivalent.
4655         * config/tilepro/atomic.c: Likewise and stop casting model to
4656         enum memmodel.
4658 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
4660         PR target/77586
4661         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
4662         soft-fp.
4664 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
4666         * config.host: Add support for aarch64-*-freebsd*.
4668 2016-10-05  Andreas Schwab  <schwab@suse.de>
4670         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
4671         (.section .init_array): Don't call __do_jv_register_classes.
4672         (.section .init): Likewise.
4674 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
4676         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
4677         (__JCR_LIST__): Remove.
4678         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
4679         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
4680         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
4681         * config/ia64/crtend.S (__JCR_END__): Remove.
4682         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
4683         conditionals.
4684         (__JCR_LIST__, __JCR_END__): Remove.
4685         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
4686         (__do_global_ctors_1): Likewise.
4688 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
4690         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
4691         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
4693 2016-09-27  Martin Liska  <mliska@suse.cz>
4695         PR gcov-profile/7970
4696         PR gcov-profile/16855
4697         PR gcov-profile/44779
4698         * libgcov-driver.c (__gcov_init): Do not register a atexit
4699         handler.
4700         (__gcov_exit): Rename from gcov_exit.
4701         * libgcov.h (__gcov_exit): Declare.
4703 2016-09-27  Martin Liska  <mliska@suse.cz>
4705         PR bootstrap/77749
4706         * Makefile.in: Remove _gcov_merge_delta.
4707         * libgcov-merge.c (void __gcov_merge_delta): Remove.
4708         * libgcov-util.c (__gcov_delta_counter_op): Remove.
4709         * libgcov.h: Remove declaration of __gcov_merge_delta.
4711 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
4713         * configure.ac: Do not create links, only substitute the filenames.
4714         * configure: Regenerate.
4715         * Makefile.in: Assign the substitution results to variables.
4716         (LIBGCC_LINKS): Define.
4717         (enable-execute-stack.c): New rule.
4718         (unwind.h): Likewise.
4719         (md-unwind-support.h): Likewise.
4720         (sfp-machine.h): Likewise.
4721         (gthr-default.h): Likewise.
4722         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
4723         unwind.h as prerequisite of install-unwind_h-forbuild.
4725 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
4727         PR libgcc/71744
4728         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
4729         is not the primary registry and atomics are available.
4730         (any_objects_registered): New variable.
4731         (__register_frame_info_bases, __register_frame_info_table_bases):
4732         Atomically store 1 to any_objects_registered after registering first
4733         unwind info.
4734         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
4736 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
4738         PR target/63250
4739         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
4740         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
4741         (HFtype): Likewise.
4742         (HCtype): Likewise.
4743         (__divhc3): Likewise.
4744         (__mulhc3): Likewise.
4745         * libgcc2.c: Support _mulhc3 and _divhc3.
4747 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
4749         PR libgcc/77519
4750         * libgcc2.c (NOTRUNC): Invert settings.
4752 2016-09-06  Martin Liska  <mliska@suse.cz>
4754         PR gcov-profile/77378
4755         PR gcov-profile/77466
4756         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
4757         conditionaly enable/disable *_atomic functions.
4759 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
4761         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
4762         where not already enabled.
4764 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4766         * config/mips/linux-unwind.h: Use sys/syscall.h.
4768 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
4770         PR libgcc/77265
4771         * soft-fp/adddf3.c: Update from glibc.
4772         * soft-fp/addsf3.c: Likewise.
4773         * soft-fp/addtf3.c: Likewise.
4774         * soft-fp/divdf3.c: Likewise.
4775         * soft-fp/divsf3.c: Likewise.
4776         * soft-fp/divtf3.c: Likewise.
4777         * soft-fp/double.h: Likewise.
4778         * soft-fp/eqdf2.c: Likewise.
4779         * soft-fp/eqsf2.c: Likewise.
4780         * soft-fp/eqtf2.c: Likewise.
4781         * soft-fp/extenddftf2.c: Likewise.
4782         * soft-fp/extended.h: Likewise.
4783         * soft-fp/extendsfdf2.c: Likewise.
4784         * soft-fp/extendsftf2.c: Likewise.
4785         * soft-fp/extendxftf2.c: Likewise.
4786         * soft-fp/fixdfdi.c: Likewise.
4787         * soft-fp/fixdfsi.c: Likewise.
4788         * soft-fp/fixdfti.c: Likewise.
4789         * soft-fp/fixsfdi.c: Likewise.
4790         * soft-fp/fixsfsi.c: Likewise.
4791         * soft-fp/fixsfti.c: Likewise.
4792         * soft-fp/fixtfdi.c: Likewise.
4793         * soft-fp/fixtfsi.c: Likewise.
4794         * soft-fp/fixtfti.c: Likewise.
4795         * soft-fp/fixunsdfdi.c: Likewise.
4796         * soft-fp/fixunsdfsi.c: Likewise.
4797         * soft-fp/fixunsdfti.c: Likewise.
4798         * soft-fp/fixunssfdi.c: Likewise.
4799         * soft-fp/fixunssfsi.c: Likewise.
4800         * soft-fp/fixunssfti.c: Likewise.
4801         * soft-fp/fixunstfdi.c: Likewise.
4802         * soft-fp/fixunstfsi.c: Likewise.
4803         * soft-fp/fixunstfti.c: Likewise.
4804         * soft-fp/floatdidf.c: Likewise.
4805         * soft-fp/floatdisf.c: Likewise.
4806         * soft-fp/floatditf.c: Likewise.
4807         * soft-fp/floatsidf.c: Likewise.
4808         * soft-fp/floatsisf.c: Likewise.
4809         * soft-fp/floatsitf.c: Likewise.
4810         * soft-fp/floattidf.c: Likewise.
4811         * soft-fp/floattisf.c: Likewise.
4812         * soft-fp/floattitf.c: Likewise.
4813         * soft-fp/floatundidf.c: Likewise.
4814         * soft-fp/floatundisf.c: Likewise.
4815         * soft-fp/floatunditf.c: Likewise.
4816         * soft-fp/floatunsidf.c: Likewise.
4817         * soft-fp/floatunsisf.c: Likewise.
4818         * soft-fp/floatunsitf.c: Likewise.
4819         * soft-fp/floatuntidf.c: Likewise.
4820         * soft-fp/floatuntisf.c: Likewise.
4821         * soft-fp/floatuntitf.c: Likewise.
4822         * soft-fp/gedf2.c: Likewise.
4823         * soft-fp/gesf2.c: Likewise.
4824         * soft-fp/getf2.c: Likewise.
4825         * soft-fp/ledf2.c: Likewise.
4826         * soft-fp/lesf2.c: Likewise.
4827         * soft-fp/letf2.c: Likewise.
4828         * soft-fp/muldf3.c: Likewise.
4829         * soft-fp/mulsf3.c: Likewise.
4830         * soft-fp/multf3.c: Likewise.
4831         * soft-fp/negdf2.c: Likewise.
4832         * soft-fp/negsf2.c: Likewise.
4833         * soft-fp/negtf2.c: Likewise.
4834         * soft-fp/op-1.h: Likewise.
4835         * soft-fp/op-2.h: Likewise.
4836         * soft-fp/op-4.h: Likewise.
4837         * soft-fp/op-8.h: Likewise.
4838         * soft-fp/op-common.h: Likewise.
4839         * soft-fp/quad.h: Likewise.
4840         * soft-fp/single.h: Likewise.
4841         * soft-fp/soft-fp.h: Likewise.
4842         * soft-fp/subdf3.c: Likewise.
4843         * soft-fp/subsf3.c: Likewise.
4844         * soft-fp/subtf3.c: Likewise.
4845         * soft-fp/truncdfsf2.c: Likewise.
4846         * soft-fp/trunctfdf2.c: Likewise.
4847         * soft-fp/trunctfsf2.c: Likewise.
4848         * soft-fp/trunctfxf2.c: Likewise.
4849         * soft-fp/unorddf2.c: Likewise.
4850         * soft-fp/unordsf2.c: Likewise.
4851         * soft-fp/unordtf2.c: Likewise.
4853 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
4855         PR gcov-profile/67097
4856         * libgcov-util.c (gcov_profile_merge): Skip missing files.
4858 2016-08-10  Martin Liska  <mliska@suse.cz>
4860         PR gcov-profile/58306
4861         * Makefile.in: New functions (modules) are added.
4862         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
4863         function.
4864         (__gcov_pow2_profiler_atomic): New function.
4865         (__gcov_one_value_profiler_body): New argument is instroduced.
4866         (__gcov_one_value_profiler): Call with the new argument.
4867         (__gcov_one_value_profiler_atomic): Likewise.
4868         (__gcov_indirect_call_profiler_v2): Likewise.
4869         (__gcov_time_profiler_atomic): New function.
4870         (__gcov_average_profiler_atomic): Likewise.
4871         (__gcov_ior_profiler_atomic): Likewise.
4872         * libgcov.h: Declare the aforementioned functions.
4874 2016-08-09  Martin Liska  <mliska@suse.cz>
4876         * libgcov-util.c: Fix typo and GNU coding style.
4878 2016-08-09  Martin Liska  <mliska@suse.cz>
4880         * Makefile.in: Remove __gcov_indirect_call_profiler.
4881         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
4882         function.
4883         * libgcov.h: And the declaration of the function.
4885 2016-08-09  Martin Liska  <mliska@suse.cz>
4887         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
4888         power of two.
4890 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
4892         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
4893         * config/rs6000/_mulkc3.c: Likewise.
4895 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
4897         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
4898         zero_reg as previous call to __umulhisi3 already cleared it.
4900 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
4902         PR target/59833
4903         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
4905 2016-07-19  Nick Clifton  <nickc@redhat.com>
4907         * config.host (m32r): Add m32r/t-m32r to tmake_file.
4908         Add crtinit.o and crtfini.o to extra_parts.
4910 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
4912         * config/rs6000/_divkc3.c: New.
4913         * config/rs6000/_mulkc3.c: New.
4914         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
4915         and _divkc3.
4916         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
4917         fp128_ppc_funcs.
4919 2016-07-11  Hale Wang  <hale.wang@arm.com>
4920             Andre Vieira  <andre.simoesdiasvieira@arm.com>
4922         * config/arm/lib1funcs.S: Add new wrapper.
4924 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4926         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
4928 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4930         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
4931         and ARMv5t* rather than for a fixed list of architectures.
4933 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4935         * config/arm/bpabi-v6m.S: Clarify what architectures is the
4936         implementation suitable for.
4937         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
4938         for all Thumb-1 only targets.
4939         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
4940         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
4941         __ARM_ARCH_6M__.
4942         (EQUIV): Likewise.
4943         (ARM_FUNC_ALIAS): Likewise.
4944         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
4945         version.
4946         (modsi3): Likewise.
4947         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
4948         (clzdi2): Likewise.
4949         (ctzsi2): Likewise.
4950         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
4951         __ARM_ARCH_6M__ in guard for checking whether it is defined.
4952         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
4953         __ARM_ARCH_6M__ and add comment to indicate the connection between
4954         this condition and the one in gcc/config/arm/elf.h.
4955         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
4956         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
4957         * config/arm/t-softfp: Likewise.
4959 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4961         * libgcc2.c (SYMBOL__MAIN): Remove checks for
4962         CTOR_LISTS_DEFINED_EXTERNALLY.
4964 2016-06-28  Walter Lee  <walt@tilera.com>
4966         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
4967         asm/unistd.h.
4968         (SPR_CMPEXCH_VALUE): Define for tilegx.
4969         (__NR_FAST_cmpxchg): Define for tilepro.
4970         (__NR_FAST_atomic_update): Define for tilepro.
4971         (__NR_FAST_cmpxchg64): Define for tilepro.
4973 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
4975         * config.host: Add suport for arm*-*-phoenix* targets.
4977 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4979         * config.host: Remove support for mep-*.
4980         * config/mep/lib1funcs.S: Remove.
4981         * config/mep/lib2funcs.c: Remove.
4982         * config/mep/t-mep: Remove.
4983         * config/mep/tramp.c: Remove.
4985 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4987         * config.host: Remove support for avr-rtems.
4988         * config/avr/t-rtems: Remove.
4990 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4992         * config.host: Remove m32r-rtems support.
4994 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4996         * config.host: Remove h8300-rtems support.
4998 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5000         * config.host: Remove support for knetbsd.
5002 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5004         * config.host: Remove support for openbsd 2 and 3.
5006 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5008         * config.host: Remove interix support.
5009         * config/i386/t-interix: Remove.
5011 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
5013         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
5014         least-significant bit in function pointer for fixup.
5016 2016-06-05  Aaron Conole  <aconole@redhat.com>
5017             Nathan Sidwell  <nathan@acm.org>
5019         PR libgcc/71400
5020         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
5021         (get_gcov_error_file): Check __gcov_error_file before trying to
5022         initialize it.
5023         (gcov_error): Always use get_gcov_error_file.
5025 2016-06-02  Aaron Conole  <aconole@redhat.com>
5027         * libgcov-driver-system.c (__gcov_error_file): New.
5028         (get_gcov_error_file): New.
5029         (gcov_error): Use and set __gcov_error_file.
5030         (gcov_error_exit): New.
5031         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
5033 2016-05-26  Nathan Sidwell  <nathan@acm.org>
5035         * config/nvptx/free.asm: Delete.
5036         * config/nvptx/malloc.asm: Delete.
5037         * config/nvptx/realloc.c: Delete.
5038         * t-nvptx: Update.
5040 2016-05-25  Nathan Sidwell  <nathan@acm.org>
5042         * config/nvptx/crt0.s: Delete.
5043         * config/nvptx/crt0.c: New.
5044         * t-nvptx: Update.
5046 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
5048         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
5049         dw2/seh configuration.
5050         [x86_64-*-mingw*]: Likewise.
5052 2016-05-10  Joel Sherrill <joel@rtems.org>
5054         PR libgcc/70720
5055         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
5056         targets so the same extra_parts are built.  Also have tmake_file add
5057         on to its value rather than override.
5059 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
5061         * config.host: Remove SH5 support.
5062         * configure: Likewise.
5064 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
5066         * config/sh/crt1.S: Remove SH5 support.
5067         * config/sh/crti.S: Likewise.
5068         * config/sh/crtn.S: Likewise.
5069         * config/sh/lib1funcs-4-300.S: Likewise.
5070         * config/sh/lib1funcs-Os-4-200.S: Likewise.
5071         * config/sh/lib1funcs.S: Likewise.
5072         * config/sh/linux-unwind.h: Likewise.
5073         * config/sh/t-sh64: Delete.
5075 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
5077         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
5079 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
5080             Joern Rennecke  <joern.rennecke@embecosm.com>
5082         * config/arc/crttls.S: New file.
5083         * config/arc/t-arc: New rule.
5084         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
5086 2016-04-25  Nick Clifton  <nickc@redhat.com>
5088         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
5089         (__mspabi_cmpd): Likewise.
5090         * config/msp430/floathidf.c (__floathidf): Likewise.
5091         * config/msp430/floathisf.c (__floathisf): Likewise
5092         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
5093         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
5094         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
5095         second parameter.
5096         (__ashrsi3): Likewise.
5098 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
5100         * config/m68k/linux-atomic.c: Do not include unistd.h
5102 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
5104         * config/arm/ieee754-df.S: Fix typos in comments.
5106 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
5108         PR target/70381
5109         * configure.ac (powerpc*-*-linux*): Rework tests to build
5110         __float128 emulation routines to not depend on using #pragma GCC
5111         target to enable -mfloat128.
5112         * configure: Regnerate.
5114 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
5116         PR target/67172
5117         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
5118         __MINGW32__ is defined.
5120 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
5122         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
5124 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
5126         PR libgcc/70363
5127         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
5128         built with an assembler that does not support ISA 3.0
5129         instructions, rename __extendkftf2_sw to __extendkftf2.
5131 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5133         PR target/38239
5134         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
5135         call-clobbered registers.
5136         (internal_mcount): Remove __i386__ handling.
5138 2016-02-26  Joel Sherrill <joel@rtems.org>
5140         * config.host: Add x86_64-*-rtems*.
5142 2016-02-26  Joel Sherrill <joel@rtems.org>
5144         * libgcc/config.host: Add aarch64-*-rtems*.
5146 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5147             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
5149         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
5150         union of u64 and double.
5151         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
5152         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
5153         value.
5154         (FP_ROUNDMODE): Update the usage of _fpscr.
5156 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
5158         PR driver/68463
5159         * Makefile.in (crtoffloadtable$(objext)): New rule.
5160         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
5161         enable_offload_targets is not empty.
5162         * configure: Regenerate.
5163         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
5164         crtoffloadtable.
5166 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
5168         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
5169         .literal_position before the function.
5170         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
5171         Likewise.
5173 2016-02-15  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5175         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
5176         * config/s390/morestack.S: New file.
5177         * config/s390/t-stack-s390: New file.
5178         * generic-morestack.c (__splitstack_find): Add s390-specific code.
5180 2016-02-12  Walter Lee  <walt@tilera.com>
5182         * config.host (tilegx*-*-linux*): remove ti from
5183         softfp_int_modes for 32-bit configs.
5185 2016-02-10  Ian Lance Taylor  <iant@google.com>
5187         PR go/68562
5188         * config/i386/morestack.S (__stack_split_initialize): Align
5189         stack.
5191 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
5193         PR bootstrap/69611
5194         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
5195         __FLOAT128__ to compile only for __float128 capable targets.
5197 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
5199         PR target/69444
5200         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
5201         instead of ___NO_FPRS__.
5203 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
5204             Steven Munroe  <munroesj@linux.vnet.ibm.com>
5205             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
5207         * config/rs6000/float128-sed: New files to convert TF names to KF
5208         names for PowerPC IEEE 128-bit floating point support.
5209         * config/rs6000/float128-sed-hw: Likewise.
5211         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5212         floating point hardware support.
5214         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5215         128-bit floating point software emulation or use ISA 3.0 hardware
5216         support if it is available.
5218         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5219         floating point.
5221         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
5222         floating point to IBM extended double.
5224         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
5225         double to IEEE 128-bit floating point.
5227         * config/rs6000/t-float128: New Makefile fragments to enable
5228         building __float128 emulation support.
5229         * config/rs6000/t-float128-hw: Likewise.
5231         * config/rs6000/sfp-exceptions.c: New file to provide exception
5232         support for IEEE 128-bit floating point.
5234         * config/rs6000/floattikf.c: New files for converting between IEEE
5235         128-bit floating point and signed/unsigned 128-bit integers.
5236         * config/rs6000/fixunskfti.c: Likewise.
5237         * config/rs6000/fixkfti.c: Likewise.
5238         * config/rs6000/floatuntikf.c: Likewise.
5240         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5241         when building on 64-bit systems, or when VSX is enabled.
5242         (_FP_W_TYPE): Likewise.
5243         (_FP_WS_TYPE): Likewise.
5244         (_FP_I_TYPE): Likewise.
5245         (TItype): Define on 64-bit systems.
5246         (UTItype): Likewise.
5247         (TI_BITS): Likewise.
5248         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5249         (_FP_MUL_MEAT_Q): Likewise.
5250         (_FP_DIV_MEAT_D): Likewise.
5251         (_FP_DIV_MEAT_Q): Likewise.
5252         (_FP_NANFRAC_D): Likewise.
5253         (_FP_NANFRAC_Q): Likewise.
5254         (ISA_BIT): Add exception support if we are being compiled on a
5255         machine with hardware floating point support to build the IEEE
5256         128-bit emulation functions.
5257         (FP_EX_INVALID): Likewise.
5258         (FP_EX_OVERFLOW): Likewise.
5259         (FP_EX_UNDERFLOW): Likewise.
5260         (FP_EX_DIVZERO): Likewise.
5261         (FP_EX_INEXACT): Likewise.
5262         (FP_EX_ALL): Likewise.
5263         (__sfp_handle_exceptions): Likewise.
5264         (FP_HANDLE_EXCEPTIONS): Likewise.
5265         (FP_RND_NEAREST): Likewise.
5266         (FP_RND_ZERO): Likewise.
5267         (FP_RND_PINF): Likewise.
5268         (FP_RND_MINF): Likewise.
5269         (FP_RND_MASK): Likewise.
5270         (_FP_DECL_EX): Likewise.
5271         (FP_INIT_ROUNDMODE): Likewise.
5272         (FP_ROUNDMODE): Likewise.
5274         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5275         VSX code, enable IEEE 128-bit floating point.  If the compiler can
5276         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
5277         floating point hardware instructions and it supports declaring
5278         functions with the ifunc attribute, enable ifunc functions to
5279         switch between software and hardware support.
5280         * configure.ac (powerpc*-*-linux*): Likewise.
5281         * configure: Regenerate.
5283 2016-01-15  Nick Clifton  <nickc@redhat.com>
5285         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
5286         dependency as the source file to be compiled.
5287         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
5288         (lib2hw_mul_f5.o): Likewise.
5290 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
5292         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
5293         * libgcc/config/rs6000/fixkfti.c: Likewise.
5294         * libgcc/config/rs6000/fixunskfti.c: Likewise.
5295         * libgcc/config/rs6000/float128-hw.c: Likewise.
5296         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
5297         * libgcc/config/rs6000/float128-sed: Likewise.
5298         * libgcc/config/rs6000/floattikf.c: Likewise.
5299         * libgcc/config/rs6000/floatuntikf.c: Likewise.
5300         * libgcc/config/rs6000/quad-float128.h: Likewise.
5301         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
5302         * libgcc/config/rs6000/sfp-machine.h: Likewise.
5303         * libgcc/config/rs6000/t-float128: Likewise.
5304         * libgcc/config/rs6000/t-float128-hw: Likewise.
5305         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
5306         * libgcc/config.host: Likewise.
5307         * libgcc/configure: Likewise.
5308         * libgcc/configure.ac: Likewise.
5310 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
5311             Steven Munroe  <munroesj@linux.vnet.ibm.com>
5312             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
5314         * config/rs6000/sfp-exceptions.c: New file to provide exception
5315         support for IEEE 128-bit floating point.
5317         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5318         floating point hardware support.
5320         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
5321         point conversions.
5322         * config/rs6000/fixunskfti.c: Likewise.
5323         * config/rs6000/fixkfti.c: Likewise.
5324         * config/rs6000/floatuntikf.c: Likewise.
5325         * config/rs6000/extendkftf2-sw.c: Likewise.
5326         * config/rs6000/trunctfkf2-sw.c: Likewise.
5328         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5329         128-bit floating point software emulation or use ISA 3.0 hardware
5330         support if it is available.
5332         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5333         floating point.
5335         * config/rs6000/t-float128: New Makefile fragments to enable
5336         building __float128 emulation support.
5337         * config/rs6000/t-float128-hw: Likewise.
5339         * config/rs6000/float128-sed: New file to convert TF names to KF
5340         names for PowerPC IEEE 128-bit floating point support.
5342         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5343         when building on 64-bit systems, or when VSX is enabled.
5344         (_FP_W_TYPE): Likewise.
5345         (_FP_WS_TYPE): Likewise.
5346         (_FP_I_TYPE): Likewise.
5347         (TItype): Define on 64-bit systems.
5348         (UTItype): Likewise.
5349         (TI_BITS): Likewise.
5350         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5351         (_FP_MUL_MEAT_Q): Likewise.
5352         (_FP_DIV_MEAT_D): Likewise.
5353         (_FP_DIV_MEAT_Q): Likewise.
5354         (_FP_NANFRAC_D): Likewise.
5355         (_FP_NANFRAC_Q): Likewise.
5356         (ISA_BIT): Add exception support if we are being compiled on a
5357         machine with hardware floating point support to build the IEEE
5358         128-bit emulation functions.
5359         (FP_EX_INVALID): Likewise.
5360         (FP_EX_OVERFLOW): Likewise.
5361         (FP_EX_UNDERFLOW): Likewise.
5362         (FP_EX_DIVZERO): Likewise.
5363         (FP_EX_INEXACT): Likewise.
5364         (FP_EX_ALL): Likewise.
5365         (__sfp_handle_exceptions): Likewise.
5366         (FP_HANDLE_EXCEPTIONS): Likewise.
5367         (FP_RND_NEAREST): Likewise.
5368         (FP_RND_ZERO): Likewise.
5369         (FP_RND_PINF): Likewise.
5370         (FP_RND_MINF): Likewise.
5371         (FP_RND_MASK): Likewise.
5372         (_FP_DECL_EX): Likewise.
5373         (FP_INIT_ROUNDMODE): Likewise.
5374         (FP_ROUNDMODE): Likewise.
5376         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
5377         compiler can do __float128.
5378         * configure: Regenerate.
5380         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5381         VSX code, enable IEEE 128-bit floating point.
5383 2016-01-05  Olivier Hainque  <hainque@adacore.com>
5385         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
5386         specificities.
5388 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
5390         Update copyright years.
5392 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
5394         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
5395         soft-fp targets.
5397 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
5399         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
5400         instead of abort to avoid dependency on stdlib.h.
5402 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
5404         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
5405         to initialize call to __dl_fixup once.
5407 2015-12-04  Nick Clifton  <nickc@redhat.com>
5409         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
5410         Allow for the second argument being negative.
5411         * config.host (extra_parts): Define for MSP430.  Create separate
5412         libraries for each of the hardware multiply formats.
5413         * config/msp430/lib2hw_mul.S: Build only the multiply routines
5414         that are needed.
5415         * config/msp430/lib2mul.c: Likewise.
5416         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
5417         Add rules to build hardware multiply libraries.
5418         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
5419         __mspabi_divul function.
5420         (__mspabi_divllu): New stub function.
5422 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
5424         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
5425         fixup values if saved GOT address doesn't match runtime address.
5426         (fixup_branch_offset): Reorder list.
5428 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5430         * Makefile.in (VTV_CFLAGS): New variable.
5431         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
5432         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
5433         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5434         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
5435         to extra_parts if $enable_vtable_verify = yes.
5437 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5439         PR target/68059
5440         * config/arm/linux-atomic-64bit.c (__write): Rename to...
5441         (write): ...this and fix the return type.
5443 2015-11-19  DJ Delorie  <dj@redhat.com>
5445         * config/msp430/lib2hw_mul.S: Fix alignment.
5447 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
5449         * config/nvptx/reduction.c: New.
5450         * config/nvptx/t-nvptx (LIB2ADD): Add it.
5452 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
5454         * config/rs6000/on_exit.c: New file.
5455         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
5456         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
5458 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
5460         * config/arc/dp-hack.h: Add support for ARCHS.
5461         * config/arc/ieee-754/divdf3.S: Likewise.
5462         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5463         * config/arc/ieee-754/muldf3.S: Likewise.
5464         * config/arc/ieee-754/mulsf3.S: Likewise
5465         * config/arc/lib1funcs.S: Likewise
5466         * config/arc/gmon/dcache_linesz.S: Don't read the build register
5467         for ARCv2 cores.
5468         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
5469         for ARCv2 cores.
5470         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
5471         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
5472         cores.
5474 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5476         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
5477         value.
5478         * config/ia64/crtend.S: Likewise.
5480 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5482         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
5483         __CHAR_BIT__ instead of BITS_PER_UNIT.
5484         * fixed-bit.h: Likewise.
5485         * fp-bit.h: Likewise.
5486         * libgcc2.c (__popcountSI2): Likewise.
5487         (__popcountDI2): Likewise.
5488         * libgcc2.h: Likewise.
5489         * libgcov.h: Likewise.
5491 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
5493         * config/rs6000/atexit.c: New file.
5494         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
5495         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
5496         * config/rs6000/cxa_finalize.c
5497         (catomic_compare_and_exchange_bool_acq): Negate return value.
5499 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
5501         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
5502         (processor_subtypes): Add znver1.
5503         (get_amd_cpu): Detect znver1.
5505 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
5507         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
5508         Include crtfastmath.o.
5510 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
5512         PR libgcc/66883
5513         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
5515 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
5517         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
5518         * config/rl78/divmodsi.S: Update return register to r8.
5519         * config/rl78/divmodhi.S: Update return register to r8,r9.
5520         Branch to main_loop_done_himode to pop registers before return.
5522 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
5524         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
5525         (__cpu_indicator_init): Fix model selection for AMD CPUs.
5527 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
5529         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
5531 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
5533         * config.host (xtensa*-*-uclinux*): New configuration.
5535 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
5537         * config/i386/cpuinfo.c (processor_features): Add
5538         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
5540 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
5542         * soft-fp/adddf3.c: Update from glibc.
5543         * soft-fp/addsf3.c: Likewise.
5544         * soft-fp/addtf3.c: Likewise.
5545         * soft-fp/divdf3.c: Likewise.
5546         * soft-fp/divsf3.c: Likewise.
5547         * soft-fp/divtf3.c: Likewise.
5548         * soft-fp/double.h: Likewise.
5549         * soft-fp/eqdf2.c: Likewise.
5550         * soft-fp/eqsf2.c: Likewise.
5551         * soft-fp/eqtf2.c: Likewise.
5552         * soft-fp/extenddftf2.c: Likewise.
5553         * soft-fp/extended.h: Likewise.
5554         * soft-fp/extendsfdf2.c: Likewise.
5555         * soft-fp/extendsftf2.c: Likewise.
5556         * soft-fp/extendxftf2.c: Likewise.
5557         * soft-fp/fixdfdi.c: Likewise.
5558         * soft-fp/fixdfsi.c: Likewise.
5559         * soft-fp/fixdfti.c: Likewise.
5560         * soft-fp/fixsfdi.c: Likewise.
5561         * soft-fp/fixsfsi.c: Likewise.
5562         * soft-fp/fixsfti.c: Likewise.
5563         * soft-fp/fixtfdi.c: Likewise.
5564         * soft-fp/fixtfsi.c: Likewise.
5565         * soft-fp/fixtfti.c: Likewise.
5566         * soft-fp/fixunsdfdi.c: Likewise.
5567         * soft-fp/fixunsdfsi.c: Likewise.
5568         * soft-fp/fixunsdfti.c: Likewise.
5569         * soft-fp/fixunssfdi.c: Likewise.
5570         * soft-fp/fixunssfsi.c: Likewise.
5571         * soft-fp/fixunssfti.c: Likewise.
5572         * soft-fp/fixunstfdi.c: Likewise.
5573         * soft-fp/fixunstfsi.c: Likewise.
5574         * soft-fp/fixunstfti.c: Likewise.
5575         * soft-fp/floatdidf.c: Likewise.
5576         * soft-fp/floatdisf.c: Likewise.
5577         * soft-fp/floatditf.c: Likewise.
5578         * soft-fp/floatsidf.c: Likewise.
5579         * soft-fp/floatsisf.c: Likewise.
5580         * soft-fp/floatsitf.c: Likewise.
5581         * soft-fp/floattidf.c: Likewise.
5582         * soft-fp/floattisf.c: Likewise.
5583         * soft-fp/floattitf.c: Likewise.
5584         * soft-fp/floatundidf.c: Likewise.
5585         * soft-fp/floatundisf.c: Likewise.
5586         * soft-fp/floatunditf.c: Likewise.
5587         * soft-fp/floatunsidf.c: Likewise.
5588         * soft-fp/floatunsisf.c: Likewise.
5589         * soft-fp/floatunsitf.c: Likewise.
5590         * soft-fp/floatuntidf.c: Likewise.
5591         * soft-fp/floatuntisf.c: Likewise.
5592         * soft-fp/floatuntitf.c: Likewise.
5593         * soft-fp/gedf2.c: Likewise.
5594         * soft-fp/gesf2.c: Likewise.
5595         * soft-fp/getf2.c: Likewise.
5596         * soft-fp/ledf2.c: Likewise.
5597         * soft-fp/lesf2.c: Likewise.
5598         * soft-fp/letf2.c: Likewise.
5599         * soft-fp/muldf3.c: Likewise.
5600         * soft-fp/mulsf3.c: Likewise.
5601         * soft-fp/multf3.c: Likewise.
5602         * soft-fp/negdf2.c: Likewise.
5603         * soft-fp/negsf2.c: Likewise.
5604         * soft-fp/negtf2.c: Likewise.
5605         * soft-fp/op-1.h: Likewise.
5606         * soft-fp/op-2.h: Likewise.
5607         * soft-fp/op-4.h: Likewise.
5608         * soft-fp/op-8.h: Likewise.
5609         * soft-fp/op-common.h: Likewise.
5610         * soft-fp/quad.h: Likewise.
5611         * soft-fp/single.h: Likewise.
5612         * soft-fp/soft-fp.h: Likewise.
5613         * soft-fp/subdf3.c: Likewise.
5614         * soft-fp/subsf3.c: Likewise.
5615         * soft-fp/subtf3.c: Likewise.
5616         * soft-fp/truncdfsf2.c: Likewise.
5617         * soft-fp/trunctfdf2.c: Likewise.
5618         * soft-fp/trunctfsf2.c: Likewise.
5619         * soft-fp/trunctfxf2.c: Likewise.
5620         * soft-fp/unorddf2.c: Likewise.
5621         * soft-fp/unordsf2.c: Likewise.
5622         * soft-fp/unordtf2.c: Likewise.
5624 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
5626         PR libgcc/67624
5627         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
5629 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5631         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5632         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
5633         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
5634         messages.
5635         (internal_mcount): Likewise.
5636         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
5637         crt_compile, add CRTSTUFF_T_CFLAGS_S.
5639 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5641         * configure.ac (libgcc_cv_solaris_crts): New test.
5642         * configure: Regenerate.
5643         * config.in: Regenerate.
5644         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
5645         * config/gmon-sol2.c: Rename to ...
5646         * config/sol2/gmon.c: ... this.
5647         Include auto-target.h.
5648         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
5649         * config/t-sol2: Rename to ...
5650         * config/sol2/t-sol2: ... this.
5651         (gmon.o): Reflect renaming.
5652         (crtp.o, crtpg.o): New rules.
5653         * config.host (*-*-solaris2*): Reflect renaming.
5654         Use system CRTs if present.
5655         Remove default CRT case.
5657 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
5659         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
5660         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
5661         __kernel_cmpxchg2.
5662         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
5663         (__sync_val_compare_and_swap_##WIDTH): Likewise.
5664         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
5665         (__sync_lock_test_and_set_##WIDTH): Likewise.
5666         (__sync_lock_release_##WIDTH): Likewise.
5667         (__sync_fetch_and_##OP##_4): Change result to match type of
5668         __kernel_cmpxchg.
5669         (__sync_##OP##_and_fetch_4): Likewise.
5670         (__sync_val_compare_and_swap_4): Likewise.
5671         (__sync_bool_compare_and_swap_4): likewise.
5672         (__sync_lock_test_and_set_4): Likewise.
5673         (__sync_lock_release_4): Likewise.
5674         (FETCH_AND_OP_2): Add long long variants.
5675         (OP_AND_FETCH_2): Likewise.
5676         (COMPARE_AND_SWAP_2 ): Likewise.
5677         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5678         (SYNC_LOCK_RELEASE_2): Likewise.
5679         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
5681 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
5683         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
5684         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
5685         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
5686         (get_available_features): Habdle new features.
5688 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
5690         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
5691         memory layout. Deal correctly with BSS region larger than 32K.
5692         Handle a watchdog reset like a power-on reset. Clean up unused
5693         code.
5695 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
5696             David Edelsohn  <dje.gcc@gmail.com>
5698         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
5699         * config/rs6000/crtdbase.S: New file.
5700         * config/rs6000/t-aix-cxa: Build crtdbase.o.
5702 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
5704         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
5705         Add support for call0 ABI.
5707 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
5709         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
5711 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
5713         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
5714         (__GTHREAD_HAS_COND): Likewise.
5715         (__gthread_t): Likewise.
5716         (__gthread_cond_t): Likewise.
5717         (__gthread_time_t): Likewise.
5718         (__GTHREAD_MUTEX_INIT): Likewise.
5719         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
5720         (__GTHREAD_COND_INIT): Likewise.
5721         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
5722         (__GTHREAD_TIME_INIT): Likewise.
5723         (__gthread_create): Likewise.
5724         (__gthread_join): Likewise.
5725         (__gthread_detach): Likewise.
5726         (__gthread_equal): Likewise.
5727         (__gthread_self): Likewise.
5728         (__gthread_yield): Likewise.
5729         (__gthread_cond_broadcast): Likewise.
5730         (__gthread_cond_signal): Likewise.
5731         (__gthread_cond_wait): Likewise.
5732         (__gthread_cond_timedwait): Likewise.
5733         (__gthread_cond_wait_recursive): Likewise.
5734         (__gthread_cond_destroy): Likewise.
5735         (rtems_gxx_once): Delete.
5736         (rtems_gxx_key_create): Likewise.
5737         (rtems_gxx_key_delete): Likewise.
5738         (rtems_gxx_getspecific): Likewise.
5739         (rtems_gxx_setspecific): Likewise.
5740         (rtems_gxx_mutex_init): Likewise.
5741         (rtems_gxx_mutex_destroy): Likewise.
5742         (rtems_gxx_mutex_lock): Likewise.
5743         (rtems_gxx_mutex_trylock): Likewise.
5744         (rtems_gxx_mutex_unlock): Likewise.
5745         (rtems_gxx_recursive_mutex_init): Likewise.
5746         (rtems_gxx_recursive_mutex_lock): Likewise.
5747         (rtems_gxx_recursive_mutex_trylock): Likewise.
5748         (rtems_gxx_recursive_mutex_unlock): Likewise.
5749         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
5750         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
5751         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
5752         (__gthread_once): Likewise.
5753         (__gthread_key_create): Likewise.
5754         (__gthread_key_delete): Likewise.
5755         (__gthread_getspecific): Likewise.
5756         (__gthread_setspecific): Likewise.
5757         (__gthread_key_t): Use <pthread.h> type.
5758         (__gthread_once_t): Likewise
5759         (__gthread_mutex_t): Use <sys/lock.h> type.
5760         (__gthread_recursive_mutex_t): Likewise
5761         (__gthread_mutex_lock): Use <sys/lock.h> function.
5762         (__gthread_mutex_trylock): Likewise.
5763         (__gthread_mutex_timedlock): Likewise.
5764         (__gthread_mutex_unlock): Likewise.
5765         (__gthread_mutex_destroy): Likewise.
5766         (__gthread_recursive_mutex_lock): Likewise.
5767         (__gthread_recursive_mutex_trylock): Likewise.
5768         (__gthread_recursive_mutex_timedlock): Likewise.
5769         (__gthread_recursive_mutex_unlock): Likewise.
5770         (__gthread_recursive_mutex_destroy): Likewise.
5772 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
5774         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
5775         context->sp instead of context->cfa.
5777 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
5779         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
5780         with unwind-dw2-fde-dip.
5782 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
5784         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
5785         CALL12 followed by series of ENTRY to spill windowed registers.
5786         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
5787         instead of making linux spill syscall.
5789 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
5791         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
5792         (get_intel_cpu): Likewise.
5794 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
5796         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
5797         (get_intel_cpu): Add Knights Landing support.
5799 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
5801         PR target/66954
5802         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
5803         (get_available_features): Handle FEATURE_PCLMUL.
5805 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
5807         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
5808         Broadwell.
5810 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
5812         PR target/66954
5813         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
5814         (get_available_features): Handle FEATURE_AES.
5816 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
5818         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
5819         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
5821 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
5823         * offloadstuff.c: Constify host data.
5825 2015-07-17  Jan Beulich  <jbeulich@suse.com>
5827         * config/t-softfp: Split up "else ifneq".
5829 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
5830             Cesar Philippidis  <cesar@codesourcery.com>
5831             Chung-Lin Tang  <cltang@codesourcery.com>
5833         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
5834         for __nios2_arch__ level.
5836 2015-07-13  John Marino  <gnugcc@marino.st>
5838         * config/i386/t-dragonfly: New.
5840 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
5842         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
5843         better match light-weight syscall argument order.
5844         (__kernel_cmpxchg2): Likewise.
5845         Adjust callers.
5847 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
5849         * config.host: Support i[34567]86-*-elfiamcu target.
5850         * config/t-softfp-sfdftf: New file.
5851         * config/i386/32/t-iamcu: Likewise.
5852         * configure: Regenerated.
5854 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
5856         libgcc/config/arm/
5857         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
5859 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
5861         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
5863 2015-05-27  John Marino  <gnugcc@marino.st>
5865         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
5866         md_unwind_header
5867         * config/i386/freebsd-unwind.h: New.
5869 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
5871         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
5872         i386/t-crtfm to tmake_file.
5873         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
5874         (set_fast_math): Use set_fast_math_sse for SSE targets.
5875         * config/i386/t-crtfm: Remove.
5877 2015-05-21  Alan Modra  <amodra@gmail.com>
5879         PR libgcc/66225
5880         * config/rs6000/morestack.S: Remove ".abiversion 1".
5882 2015-05-20  Alan Modra  <amodra@gmail.com>
5884         * config/rs6000/morestack.S: New.
5885         * config/rs6000/t-stack-rs6000: New.
5886         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
5887         to tmake_file.
5888         * generic-morestack.c: Don't build for powerpc 32-bit.
5890 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
5892         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
5893         Remove useless endif/ifneq ($(enable_shared),yes) pair.
5895 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
5897         * config.host: FT32 target added.
5898         * config/ft32/*: New files for FT32 target.
5900 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
5902         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
5903         New macros.
5904         * config/arm/ieee754-df.S: Add CFI directives.
5905         * config/arm/ieee754-sf.S: Add CFI directives.
5907 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
5909         * configure.ac: Include config/sjlj.m4.
5910         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
5911         * config.in: Regenerate.
5912         * configure: Likewise.
5913         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
5915 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
5917         * libgcov-util.c: Add space between string literal and macro name.
5919 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
5920             Chris Jones  <chrisj@nvidia.com>
5921             Joshua Conner  <jconner@nvidia.com>
5923         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
5924         (arm*-*-uclinux*): Likewise.
5925         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
5926         * config/arm/crtfastmath.c: New file.
5928 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
5930         * Makefile.in (real_host_noncanonical): New variable.
5931         (libsubdir): Use it.
5932         * configure.ac (real_host_noncanonical): Compute.  Remove special
5933         case for intelmicemul.
5934         * configure: Regenerate.
5936 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
5938         * config/frv/elf-lib.h: New file.
5939         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
5940         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
5941         to tm_file.
5943 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
5945         * config/frv/frvbengin.c: Do not include defaults.h
5946         * config/frv/frvend.c: Ditto.
5948 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
5950         * config.host: Add h8300-*-linux
5951         * config/h8300/t-linux: New file.
5952         * config/h8300/lib1funs.s: Change symbol prefix.
5953         * config/h8300/sfp-machine.h: 64bit double support.
5955 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
5956             Szabolcs Nagy  <szabolcs.nagy@arm.com>
5958         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
5959         Linux if target provides dl_iterate_phdr.
5961 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
5963         PR target/65612
5964         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
5965         * config/i386/cpuinfo.c (__cpu_model): Initialize.
5966         (__cpu_indicator_init@GCC_4.8.0): New.
5967         (__cpu_model@GCC_4.8.0): Likewise.
5968         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
5969         -DUSE_ELF_SYMVER.
5971 2015-04-16  Nick Clifton  <nickc@redhat.com>
5973         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
5974         and __modhi3 functions.
5975         * config/rl78/divmodso.S: Add G14 and G13 versions of the
5976         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
5978 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
5980         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
5981         do-while loop as macro body to avoid warnings.
5983 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
5984             Iain Sandoe  <iain@codesourcery.com>
5986         PR target/65351
5987         * configure: Regenerate.
5989 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
5990             Iain Sandoe  <iain@codesourcery.com>
5992         PR target/65351
5993         * configure: Regenerate.
5995 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
5997         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
5999 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
6001         Implement call0 ABI for xtensa
6002         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6003         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
6004         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
6005         use ret in call0 ABI.
6006         * config/xtensa/t-windowed: New file.
6007         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
6008         * libgcc/configure: Regenerated.
6009         * libgcc/configure.ac: Check if xtensa target is configured for
6010         windowed ABI and thus needs to use custom unwind code.
6012 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
6014         PR libgcc/64885
6015         * gthr-single.h: Use __unused__ attribute instead of unused.
6016         * config/gthr-vxworks.h: Likewise.
6017         * config/i386/gthr-win32.h: Likewise.
6019 2015-02-27  Kai Tietz  <ktietz@redhat.com>
6021         PR target/65038
6022         * config.in: Regenerated.
6023         * configure: Likewise.
6024         * configure.ac (AC_HEADER_STDC): Added explicit.
6025         (AC_CHECK_HEADERS): Check for default headers  plus
6026         for ftw.h header.
6027         * libgcov-util.c (gcov_read_profile_dir): Disable use
6028         of ftw-function, if header is not found.
6029         (ftw_read_file): Likewise.
6031 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
6033         PR target/65181
6034         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
6035         -Dinhibit_libc.
6037 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
6039         * config/arm/bpabi.S (test_div_by_zero): Make label names
6040         consistent between thumb2 and arm mode cases.  Separate the
6041         signed comparison on the high word of the numerator from the
6042         unsigned comparison on the low word.
6043         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
6044         signed comparison.
6046 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6048         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
6049         and <string.h>.
6050         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
6052 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
6054         PR gcov-profile/61889
6055         * libgcov-driver-system.c: undefine clashing macro for mkdir.
6057 2015-02-02  Nick Clifton  <nickc@redhat.com>
6059         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
6060         rounding up the fraction.
6062 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
6064         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
6065         oldval and newval to const void *.  Fix typo.
6066         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
6067         (FETCH_AND_OP_WORD): Likewise.
6068         (OP_AND_FETCH_WORD): Likewise.
6069         (COMPARE_AND_SWAP_2): Likewise.
6070         (__sync_val_compare_and_swap_4): Likewise.
6071         (__sync_lock_test_and_set_4): Likewise.
6072         (SYNC_LOCK_RELEASE_2): Likewise.
6073         Remove support for long long atomic operations.
6075 2015-01-27  Caroline Tice  <cmtice@google.com>
6077         Committing VTV Cywin/Ming patch for Patrick Wollgast
6078         * Makefile.in: Move rules to build vtv_*.o out of the check
6079         for CUSTOM_CRTSTUFF.
6080         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
6081         i[34567]86-*-mingw*)
6082         (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
6083         enable_vtable_verify.
6085 2015-01-27  Nick Clifton  <nickc@redhat.com>
6087         * config/rl78/cmpsi2.S: Use function start and end macros.
6088         (__gcc_bcmp): New function.
6089         * config/rl78/lshrsi3.S: Use function start and end macros.
6090         * config/rl78/mulsi3.S: Add support for G10.
6091         (__mulqi3): New function for G10.
6092         * config/rl78/signbit.S: Use function start and end macros.
6093         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
6094         fpmath-sf.S.
6095         (LIB2FUNCS_EXCLUDE): Define.
6096         (LIB2FUNCS_ST): Define.
6097         * config/rl78/trampoline.S: Use function start and end macros.
6098         * config/rl78/vregs.h (START_FUNC): New macro.
6099         (START_ANOTHER_FUNC): New macro.
6100         (END_FUNC): New macro.
6101         (END_ANOTHER_FUNC): New macro.
6102         * config/rl78/bit-count.S: New file.  Contains assembler
6103         implementations of the bit counting functions: ___clzhi2,
6104         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
6105         __paritysi2, __popcounthi2 and __popcountsi2.
6106         * config/rl78/fpbit-sf.S: New file.  Contains assembler
6107         implementationas of the math functions: __negsf2, __cmpsf2,
6108         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
6109         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
6110         * config/rl78/fpmath-sf.S: New file.  Contains assembler
6111         implementations of the math functions: __subsf3, __addsf3,
6112         __mulsf3 and __divsf3
6114 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6116         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
6117         Add i386/elf-lib.h to tm_file.
6118         * config/i386/elf-lib.h: Fix comment.
6119         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
6120         && __sun__ && __svr4__]: Remove workaround.
6122 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
6124         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
6125         FEATURE_BMI2.
6126         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
6128 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
6130         * config/i386/cpuinfo.c (processor_subtypes): Add
6131         INTEL_COREI7_BROADWELL.
6132         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
6133         model numbers.
6135 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
6137         * config/i386/elf-lib.h: New file.
6138         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
6139         Wrap definition in #ifdef __i386__.
6140         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6141         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
6142         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
6143         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
6144         to tm_file.
6146 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
6148         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
6149         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
6151 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
6153         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
6154         Update rt_sigframe format and address for current Nios II
6155         Linux conventions.
6157 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
6159         * config.host (arm*-*-freebsd*): Add new configuration for
6160         arm*-*-freebsd*.
6161         * config/arm/freebsd-atomic.c: New file.
6162         * config/arm/t-freebsd: Likewise.
6163         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
6164         'PC-relative indirect' OS's.
6166 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
6168         * config.host: Add Visium support.
6169         * config/visium: New directory.
6171 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
6173         Update copyright years.
6175 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
6177         * config.host: Support mipsisa32r6 and mipsisa64r6.
6178         * config/mips/mips16.S: Do not build for R6.
6180 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
6182         * config/sh/crt.h: New.
6183         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
6184         symbols.
6185         * config/sh/crt1.S: Likewise.
6187 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
6189         PR libgcc/63832
6190         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
6191         func_ptr *dtor_list temporary variable to avoid "array subscript
6192         is above array bounds" warnings.
6194 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
6196         * Makefile.in (with_aix_soname): Define.
6197         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
6198         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
6199         * configure: Recreate.
6201 2014-12-05  Olivier Hainque  <hainque@adacore.com>
6203         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
6204         now provided by defaults.h.
6206 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
6208         PR target/55351
6209         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
6210         whether it's defined.
6212 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
6214         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
6215         * config/i386/cpuinfo.c (get_available_features): Detect it.
6217 2014-11-27  Tony Wang  <tony.wang@arm.com>
6219         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
6220         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
6221         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
6223 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
6225         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
6227 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
6229         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
6230         instead.
6232 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
6233             John David Anglin  <danglin@gcc.gnu.org>
6235         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
6236         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
6237         (OP_AND_FETCH_2): Likewise.
6238         (COMPARE_AND_SWAP_2): Likewise.
6239         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6240         (SYNC_LOCK_RELEASE_2): Likewise.
6241         (SUBWORD_SYNC_OP): Remove.
6242         (SUBWORD_VAL_CAS): Likewise.
6243         (SUBWORD_BOOL_CAS): Likewise.
6244         (FETCH_AND_OP_WORD): Update.
6245         Consistently use signed types.
6247 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
6248             Thomas Schwinge  <thomas@codesourcery.com>
6249             Ilya Verbin  <ilya.verbin@intel.com>
6250             Andrey Turetskiy  <andrey.turetskiy@intel.com>
6252         * Makefile.in (crtoffloadbegin$(objext)): New rule.
6253         (crtoffloadend$(objext)): Likewise.
6254         * configure: Regenerate.
6255         * configure.ac (accel_dir_suffix): Compute new variable.
6256         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
6257         if enable_offload_targets is not empty.
6258         * offloadstuff.c: New file.
6260 2014-11-13  Nick Clifton  <nickc@redhat.com>
6262         * config/rl78/divmodhi.S: Add support for the G10 architecture.
6263         Use START_FUNC and END_FUNC macros to enable linker garbage
6264         collection.
6265         * config/rl78/divmodqi.S: Likewise.
6266         * config/rl78/divmodsi.S: Likewise.
6267         * config/rl78/mulsi3.S: Likewise.
6268         * config/rl78/lib2div.c: Remove G10 functions.
6269         * config/rl78/lib2muls.c: Likewise.
6270         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
6271         * config/rl78/vregs.h (START_FUNC): New macro.
6272         (END_FUNC): New macro.
6274 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
6276         * config/mips/mips16.S: Set .module when supported.  Update O32
6277         FP64 calling convention and use for FPXX when possible.  Add FPXX
6278         calling convention fallback case.
6280 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
6282         * config.host: Handle nvptx-*-*.
6283         * shared-object.mk (as-flags-$o): Define.
6284         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
6285         -xassembler-with-cpp.
6286         * static-object.mk: Identical changes.
6287         * config/nvptx/t-nvptx: New file.
6288         * config/nvptx/crt0.s: New file.
6289         * config/nvptx/free.asm: New file.
6290         * config/nvptx/malloc.asm: New file.
6291         * config/nvptx/realloc.c: New file.
6293 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
6295         * Makefile.in (libgcc.map.in): New target.
6296         (libgcc.map): Use libgcc.map.in.
6297         * config/t-softfp (softfp_compat): New variable to be set by
6298         users.
6299         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
6300         variables.
6301         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
6302         directory.
6303         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
6304         that use compat symbols and disable all code unless [SHARED].
6305         * config/t-softfp-compat: New file.
6306         * find-symver.awk: New file.
6307         * configure.ac (--with-glibc-version): New configure option.
6308         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
6309         * configure: Regenerate.
6310         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
6311         soft-float and e500.
6313 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
6315         * config/t-hardfp (hardfp_exclusions): Document new variable for
6316         user to define.
6317         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
6318         * config/t-softfp (softfp_extras): Document new variable for user
6319         to define.
6320         (softfp_func_list): Add functions from $(softfp_extras).
6321         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
6322         * config.host (powerpc*-*-linux*): For e500v1, use
6323         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
6324         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
6325         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
6327 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
6329         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
6330         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
6331         memory read accesses are ok.
6333 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
6335         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
6336         * configure: Regenerate.
6337         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
6338         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
6339         of soft-fp for 32-bit classic hard float.  Do not use
6340         t-softfp-excl for soft float.
6342 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
6344         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
6345         configurations.
6346         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
6347         Remove variables.
6349 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
6351         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
6352         introduced with 2014-10-21 trunk r216525.
6354 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
6355             Vidya Praveen  <vidya.praveen@atmel.com>
6356             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
6357             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
6358             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
6360         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
6361         order.
6363         Updated library functions for AVRTINY arch.
6364         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
6365         Replaced occurrences of r0/r1 with tmp/zero reg macros.
6366         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
6367         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
6368         wsubi/wadi macors.
6369         (__mulsi3_helper): Update stack, preserve callee saved regs and
6370         argument from stack. Restore callee save registers.
6371         (__mulpsi3): Likewise.
6372         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
6373         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
6374         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
6375         AVRTINY.
6376         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
6377         (__do_copy_data): Added new definition for AVRTINY.
6378         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
6379         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
6380         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
6381         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
6382         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
6383         macors.
6384         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
6385         AVRTINY.
6387         Fix broken long multiplication on tiny arch.
6389 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
6391         * soft-fp/double.h: Update from glibc.
6392         * soft-fp/eqdf2.c: Likewise.
6393         * soft-fp/eqsf2.c: Likewise.
6394         * soft-fp/eqtf2.c: Likewise.
6395         * soft-fp/extenddftf2.c: Likewise.
6396         * soft-fp/extended.h: Likewise.
6397         * soft-fp/extendsfdf2.c: Likewise.
6398         * soft-fp/extendsftf2.c: Likewise.
6399         * soft-fp/extendxftf2.c: Likewise.
6400         * soft-fp/gedf2.c: Likewise.
6401         * soft-fp/gesf2.c: Likewise.
6402         * soft-fp/getf2.c: Likewise.
6403         * soft-fp/ledf2.c: Likewise.
6404         * soft-fp/lesf2.c: Likewise.
6405         * soft-fp/letf2.c: Likewise.
6406         * soft-fp/op-1.h: Likewise.
6407         * soft-fp/op-2.h: Likewise.
6408         * soft-fp/op-4.h: Likewise.
6409         * soft-fp/op-8.h: Likewise.
6410         * soft-fp/op-common.h: Likewise.
6411         * soft-fp/quad.h: Likewise.
6412         * soft-fp/single.h: Likewise.
6413         * soft-fp/soft-fp.h: Likewise.
6414         * soft-fp/unorddf2.c: Likewise.
6415         * soft-fp/unordsf2.c: Likewise.
6416         * soft-fp/unordtf2.c: Likewise.
6417         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
6418         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
6419         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
6420         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
6421         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
6422         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
6423         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
6424         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
6425         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
6426         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
6428 2014-10-08  Rong Xu  <xur@google.com>
6430         * libgcov-util.c (read_gcda_file): Fix format.
6431         (find_match_gcov_info): Ditto.
6432         (calculate_2_entries): New.
6433         (compute_one_gcov): Ditto.
6434         (gcov_info_count_all_cold): Ditto.
6435         (gcov_info_count_all_zero): Ditto.
6436         (extract_file_basename): Ditto.
6437         (get_file_basename): Ditto.
6438         (set_flag): Ditto.
6439         (matched_gcov_info): Ditto.
6440         (calculate_overlap): Ditto.
6441         (gcov_profile_overlap): Ditto.
6442         * libgcov-driver.c (compute_summary): Make
6443         it avavilable for external calls.
6445 2014-10-06  Rong Xu  <xur@google.com>
6447         * Makefile.in: Ditto.
6448         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
6449         (gcov_sort_icall_topn_counter): Ditto.
6450         (gcov_sort_topn_counter_arrays): Ditto.
6451         (dump_one_gcov): Sort indirect_call topn counters.
6452         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
6453         function.
6454         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
6455         utility function.
6456         (__gcov_indirect_call_topn_profiler): New profiler function.
6457         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
6458         * libgcov.h: New decls.
6460 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
6462         * config.host: Remove support for score-*.
6464 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
6466         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6467         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
6468         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
6469         __LIBGCC_XF_MANT_DIG__.
6470         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
6471         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
6472         __LIBGCC_TF_MANT_DIG__.
6473         * libgcc2.c (NOTRUNC): Define in terms of
6474         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
6475         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6477 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
6479         PR target/63312
6480         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
6481         New macros.
6483 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
6485         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
6486         override USE_PT_GNU_EH_FRAME.
6487         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
6488         check USE_EH_FRAME_REGISTRY_ALWAYS against
6489         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
6490         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
6491         variable for substituted force_explicit_eh_registry.
6492         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
6493         * configure.ac (explicit-exception-frame-registration):
6494         New AC_ARG_ENABLE.
6495         * configure: Regenerate.
6497 2014-09-19  Olivier Hainque  <hainque@adacore.com>
6499         * config.host (powerpc-wrs-vxworksmils): New configuration,
6500         same as vxworksae.
6502 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
6504         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
6506 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
6508         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
6509         bits not set bits as indicating trapping exceptions.
6511 2014-09-17  Nathan sidwell  <nathan@acm.org>
6513         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
6514         (LIBGCOV_DRIVER): ... here.
6515         * libgcov-driver.c (gcov_master): New.
6516         (gcov_exit): Remove from master chain.
6517         (__gcov_init): Add to master chain if version compatible.  Don't
6518         clear the version.
6519         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
6520         (gcov_reset_int): Clear master chain, if compatible.
6521         (gcov_dump_int): New internal interface.  Dump master chain, if
6522         compatible.
6523         (gcov_dump): Alias for gcov_dump_int.
6524         * libgcov.h (struct gcov_root): Add next and prev fields.
6525         (struct gcov_master): New struct.
6526         (__gcov_master): New.
6527         (gcov_dump_int): Declare.
6529 2014-09-17  Olivier Hainque  <hainque@adacore.com>
6531         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
6532         and crtbegin.o + crtend.o to extra_parts.
6534 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
6536         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
6537         __LIBGCC_HAS_SF_MODE__.
6538         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6539         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6540         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6541         * config/libbid/bid_gcc_intrinsics.h
6542         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6543         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6544         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6545         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6546         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
6547         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6549 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
6551         PR target/63223
6552         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
6553         and R24 as needed.  Make work for all devices and .text locations.
6554         (__do_global_ctors, __do_global_dtors): Use word addresses.
6555         (__tablejump__, __tablejump_elpm__): Remove functions.
6556         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
6557         Add _tablejump2.
6558         (XICALL, XIJMP): New macros.
6560 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6561         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
6563         * config.host (aarch64*): Include crtfastmath.o and
6564         t-crtfm.
6565         * config/aarch64/crtfastmath.c: New file.
6567 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
6569         * config.host: Remove picochip support.
6570         * config/picochip/adddi3.S: Remove.
6571         * config/picochip/ashlsi3.S: Remove.
6572         * config/picochip/ashlsi3.c: Remove.
6573         * config/picochip/ashrsi3.S: Remove.
6574         * config/picochip/ashrsi3.c: Remove.
6575         * config/picochip/clzsi2.S: Remove.
6576         * config/picochip/cmpsi2.S: Remove.
6577         * config/picochip/divmod15.S: Remove.
6578         * config/picochip/divmodhi4.S: Remove.
6579         * config/picochip/divmodsi4.S: Remove.
6580         * config/picochip/lib1funcs.S: Remove.
6581         * config/picochip/longjmp.S: Remove.
6582         * config/picochip/lshrsi3.S: Remove.
6583         * config/picochip/lshrsi3.c: Remove.
6584         * config/picochip/parityhi2.S: Remove.
6585         * config/picochip/popcounthi2.S: Remove.
6586         * config/picochip/setjmp.S: Remove.
6587         * config/picochip/subdi3.S: Remove.
6588         * config/picochip/t-picochip: Remove.
6589         * config/picochip/ucmpsi2.S: Remove.
6590         * config/picochip/udivmodhi4.S: Remove.
6591         * config/picochip/udivmodsi4.S: Remove.
6593 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
6595         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
6596         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
6597         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
6598         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
6599         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
6600         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
6601         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
6602         defined and LIBGCC2_HAS_DF_MODE is defined.
6603         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
6604         defined and LIBGCC2_HAS_XF_MODE is defined.
6605         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
6606         defined and LIBGCC2_HAS_TF_MODE is defined.
6608 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
6610         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
6611         and ROUND_TOWARDS_ZERO conditionals.
6613 2014-09-07  Nathan sidwell  <nathan@acm.org>
6615         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
6616         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
6618 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
6620         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
6621         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6622         uses to __LIBGCC_STACK_POINTER_REGNUM__.
6623         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6624         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6625         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6626         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6627         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
6628         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
6629         (DWARF_FRAME_REGISTERS): Change all uses to
6630         __LIBGCC_DWARF_FRAME_REGISTERS__.
6631         (EH_RETURN_STACKADJ_RTX): Change all uses to
6632         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6633         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
6634         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
6635         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
6636         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
6637         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
6638         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
6639         to __LIBGCC_EH_FRAME_SECTION_NAME__.
6640         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
6641         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
6642         __LIBGCC_STACK_POINTER_REGNUM__.
6643         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6644         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6645         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6646         to __LIBGCC_STACK_POINTER_REGNUM__.
6647         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6648         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6649         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6650         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6651         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6652         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6653         (STACK_POINTER_REGNUM): Change all uses to
6654         __LIBGCC_STACK_POINTER_REGNUM__.
6655         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
6656         use to __LIBGCC_STACK_POINTER_REGNUM__.
6657         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6658         uses to __LIBGCC_STACK_POINTER_REGNUM__.
6659         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
6660         to __LIBGCC_DWARF_FRAME_REGISTERS__.
6661         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
6662         to __LIBGCC_DWARF_FRAME_REGISTERS__.
6663         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6664         to __LIBGCC_STACK_POINTER_REGNUM__.
6665         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
6666         Remove conditional definition.
6667         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
6668         __LIBGCC_TEXT_SECTION_ASM_OP__.
6669         (EH_FRAME_SECTION_NAME): Change all uses to
6670         __LIBGCC_EH_FRAME_SECTION_NAME__.
6671         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
6672         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
6673         (CTORS_SECTION_ASM_OP): Change all uses to
6674         __LIBGCC_CTORS_SECTION_ASM_OP__.
6675         (DTORS_SECTION_ASM_OP): Change all uses to
6676         __LIBGCC_DTORS_SECTION_ASM_OP__.
6677         (JCR_SECTION_NAME): Change all uses to
6678         __LIBGCC_JCR_SECTION_NAME__.
6679         (INIT_SECTION_ASM_OP): Change all uses to
6680         __LIBGCC_INIT_SECTION_ASM_OP__.
6681         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6682         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6683         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
6684         __LIBGCC_STACK_GROWS_DOWNWARD__.
6685         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
6686         __LIBGCC_INIT_SECTION_ASM_OP__.
6687         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6688         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6689         (EH_FRAME_SECTION_NAME): Change all uses to
6690         __LIBGCC_EH_FRAME_SECTION_NAME__.
6691         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
6692         definitions.  Change all uses to
6693         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
6694         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
6695         __LIBGCC_STACK_GROWS_DOWNWARD__.
6696         (DWARF_FRAME_REGISTERS): Change all uses to
6697         __LIBGCC_DWARF_FRAME_REGISTERS__.
6698         (EH_RETURN_STACKADJ_RTX): Change all uses to
6699         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6700         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
6701         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
6702         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
6703         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
6704         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
6706 2014-09-02  Nathan sidwell  <nathan@acm.org>
6708         * libgcov-interface.c (STRONG_ALIAS): New.
6709         (__gcov_flush): Call __gcov_reset_int.
6710         (__gcov_reset): Strong alias for ...
6711         (__gcov_reset_ing): ... this renamed hidden version.
6712         * libgcov.h (__gcov_reset_int): New declaration.
6714 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
6716         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
6717         call from here...
6718         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
6719         (__dso_handle): Define on Cygwin.
6720         * config/i386/t-cygming (crtbeginS.o): New rule.
6721         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
6723         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
6724         declaration syntax.
6726 2014-08-13  Steve Ellcey  <sellcey@mips.com>
6728         * crtstuff.c: Undef caddr_t.
6730 2014-08-12  Steve Ellcey  <sellcey@mips.com>
6732         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
6734 2014-08-07  Nathan Sidwell  <nathan@acm.org>
6736         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
6737         (LIBGCOV_DRIVER): ... to here.
6738         * libgcov.h (gcov_do_dump): New #define.
6739         (struct gcov_root): New.
6740         (__gcov_root): New declaration.
6741         (__gcov_dump_one): Declare.
6742         * libgcov-driver.c (gcov_list, gcov_dump_complete,
6743         run_accounted): Delete.
6744         (gcov_compute_histogram): Add LIST argument, adjust.
6745         (compute_summary): Adjust gcov_compute_histogram call.
6746         (gcov_do_dump): Not hidden, static in libgcov.
6747         (gcov_clear): Move  to interface.c.
6748         (__gcov_dump_one): New, broken out of ...
6749         (gcov_exit): ... here.  Make static.
6750         (__gcov_root): New.
6751         (__gcov_init): Adjust.
6752         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
6753         declarations.
6754         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
6755         (gcov_clear): Moved from driver.c.   Add LIST argument.
6756         (__gcov_reset): Adjust for changed interfaces.
6757         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
6759 2014-08-04  Rohit  <rohitarulraj@freescale.com>
6761         PR target/60102
6762         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
6763         based on change in SPE high register numbers and 3 HTM registers.
6765 2014-08-01  Nathan Sidwell  <nathan@acm.org>
6767         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
6768         LIBGCOV_INTERFACE): Reformat.
6769         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
6770         IN_GCOV_TOOL.
6771         * libgcov-interface.c: Reformat some comments.
6772         (__gcov_flush_mx): Add declaration.  Tidy up definition.
6774 2014-07-31  Alan Modra  <amodra@gmail.com>
6775             Peter Bergner  <bergner@vnet.ibm.com>
6777         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
6778         (pack_ldouble): New function.
6779         (__gcc_qadd): Use it.
6780         (__gcc_qmul): Likewise.
6781         (__gcc_qdiv): Likewise.
6782         (__gcc_qneg): Likewise.
6783         (__gcc_stoq): Likewise.
6784         (__gcc_dtoq): Likewise.
6786 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
6788         * config/s390/tpf-unwind.h: Include <stdbool.h>.
6789         (__tpf_eh_return): Add original return address as second parameter.
6790         Handle cases where unwinder routines were called directly, instead
6791         of from within the C++ library.
6793 2014-07-29  Nathan Sidwell  <nathan@acm.org>
6795         * libgcov.h: Move renaming of entry points to lib gcov specific
6796         portion.
6797         (gcov_do_dump): New rename.
6798         (gcov_rewrite): Remove inline, make HIDDEN.
6799         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
6800         (gcov_exit_compute_summary): Rename to ...
6801         (compute_summary): ... here.  Add LIST argument.
6802         (gcov_exit_merge_gcda): Rename to ...
6803         (merge_one_data): ... here.
6804         (gcov_exit_write_gcda): Rename to ...
6805         (write_one_data): ... here.
6806         (gcov_exit_merge_summary): Rename to ...
6807         (merge_summary): Add RUN_COUNTED argument.
6808         (gcov_exit_dump_gcov): Rename to ...
6809         (dump_one_gcov): Add RUN_COUNTED argument.
6810         (gcov_do_dump): New function, broken out of ...
6811         (gcov_exit): ... here.  Call it.
6813 2014-07-27  Anthony Green  <green@moxielogic.com>
6815         * config.host: Add moxiebox configuration suppport.
6817 2014-07-27  Nathan Sidwell  <nathan@acm.org>
6819         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
6820         (struct gcov_filename): ... here.  Include buffer and max length
6821         fields.
6822         (gcov_max_filename): Remove.
6823         (gi_filename): Remove.
6824         (gcov_exit_compute_summary): Compute max filename here.
6825         (gcov_exit_merge_gcda): Add filename parm, adjust.
6826         (gcov_exit_merge_summary): Likewise.
6827         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
6828         (gcov_exit): Likewise.
6829         (__gcov_init): Don't calculate max length here.
6830         * libgcov_util.c (max_filename_len): Remove.
6831         (read_gcda_file): Don't calculate max length here.
6832         (gcov_read_profile_dir): Don't propagate here.
6833         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
6834         struct gcov_filename changes.
6835         (gcov_exit_open_gcda_file): Likewise.
6837 2014-07-25  Nathan Sidwell  <nathan@acm.org>
6839         * libgcov-driver.c (set_gcov_dump_complete,
6840         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
6841         functions polluting user's namespace.
6842         (gcov_exit): Set variable directly.
6843         (gcov_clear): Reset variable directly.
6844         * libgcov-interface.c (get_gcov_dymp_complete,
6845         reset_gov_dump_complete): Remove declarations.
6846         (__gcov_reset, __gcov_dump): Don't call them.
6848 2014-07-24  DJ Delorie  <dj@redhat.com>
6850         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
6851         (__gcc_deregister_frame): Move logic to detect deregister function
6852         to ...
6853         (__gcc_register_frame): here, so it's consistent with the register
6854         logic.
6856 2014-07-23  Nathan Sidwell  <nathan@acm.org>
6858         * libgcov-driver.c (set_gcov_list): Remove.
6859         (gcov_list): Make non-static in GCOV_TOOL.
6860         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
6862 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
6864         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
6865         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
6866         Don't use SYNC_LOCK_RELEASE for int type.
6868 2014-07-14  Richard Biener  <rguenther@suse.de>
6870         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
6872 2014-07-11  Rong Xu  <xur@google.com>
6874         * libgcov-util.c (gcov_max_filename): Fix declartion.
6876 2014-07-10  Rong Xu  <xur@google.com>
6878         Add gcov-tool: an offline gcda profile processing tool
6879         Support.
6880         * libgcov-driver.c (gcov_max_filename): Make available
6881         to gcov-tool.
6882         * libgcov-merge.c (__gcov_merge_add): Replace
6883         gcov_read_counter() with a Macro.
6884         (__gcov_merge_ior): Ditto.
6885         (__gcov_merge_time_profile): Ditto.
6886         (__gcov_merge_single): Ditto.
6887         (__gcov_merge_delta): Ditto.
6888         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
6889         in the utility functions.
6890         (set_fn_ctrs): Utility function for reading gcda files to in-memory
6891         gcov_list object link lists.
6892         (tag_function): Ditto.
6893         (tag_blocks): Ditto.
6894         (tag_arcs): Ditto.
6895         (tag_lines): Ditto.
6896         (tag_counters): Ditto.
6897         (tag_summary): Ditto.
6898         (read_gcda_finalize): Ditto.
6899         (read_gcda_file): Ditto.
6900         (ftw_read_file): Ditto.
6901         (read_profile_dir_init): Ditto.
6902         (gcov_read_profile_dir): Ditto.
6903         (gcov_read_counter_mem): Ditto.
6904         (gcov_get_merge_weight): Ditto.
6905         (merge_wrapper): A wrapper function that calls merging handler.
6906         (gcov_merge): Merge two gcov_info objects with weights.
6907         (find_match_gcov_info): Find the matched gcov_info in the list.
6908         (gcov_profile_merge): Merge two gcov_info object lists.
6909         (__gcov_add_counter_op): Process edge profile counter values.
6910         (__gcov_ior_counter_op): Process IOR profile counter values.
6911         (__gcov_delta_counter_op): Process delta profile counter values.
6912         (__gcov_single_counter_op): Process single  profile counter values.
6913         (fp_scale): Callback function for float-point scaling.
6914         (int_scale): Callback function for integer fraction scaling.
6915         (gcov_profile_scale): Scaling profile counters.
6916         (gcov_profile_normalize): Normalize profile counters.
6917         * libgcov.h: Add headers and functions for gcov-tool use.
6918         (gcov_get_counter): New.
6919         (gcov_get_counter_target): Ditto.
6920         (struct gcov_info): Make the functions field mutable in gcov-tool
6921         compilation.
6923 2014-06-23  Kai Tietz  <ktietz@redhat.com>
6925         PR libgcc/61585
6926         * unwind-seh.c (_Unwind_GetGR): Check for proper
6927         index range.
6928         (_Unwind_SetGR): Likewise.
6930 2014-05-22  Nick Clifton  <nickc@redhat.com>
6932         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
6933         -mhwmult=none.
6935 2014-05-22  Teresa Johnson  <tejohnson@google.com>
6937         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
6938         include.
6940 2014-05-20  John Marino  <gnugcc@marino.st>
6942         * config.host (*-*-dragonfly*): New target.
6943         * crtstuff.c: Make dl_iterate_support generic on *bsd.
6944         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
6945         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
6946         * config/i386/dragonfly-unwind.h: New.
6948 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
6950         PR libgcc/60166
6951         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
6952         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
6954 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
6956         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
6957         implementation.
6959 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
6961         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
6963 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6965         PR libgcc/61097
6966         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
6967         if --enable-shared.
6969 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
6971         Work around for current cygwin32 build problems.
6972         * config/i386/cygming-crtbegin.c (__register_frame_info,
6973         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
6974         functions only for 64-bit systems.
6976 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6978         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
6979         (sigill_caught, sigill_hdlr): Remove.
6981 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6983         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
6984         check.
6985         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6986         Solaris 9 single-threaded support.
6987         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6988         Solaris 9 single-threaded support.  Add call_user_handler code
6989         sequences.
6990         (sparc_is_sighandler): Likewise.
6992 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6994         * config.host: Append t-floattodi to tmake_file depending on
6995         host_address.
6997 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
6999         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
7001 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
7003         PR libgcc/60472
7004         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
7005         variable to avoid "array subscript is above array bounds" warnings.
7006         Use __builtin_expect when checking *jcr_list for NULL.
7008 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7010         PR libgcc/59339
7011         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
7012         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
7013         vtv_*.o to extra_parts if enable_vtable_verify.
7015 2014-03-06  Nick Clifton  <nickc@redhat.com>
7017         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
7018         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
7020 2014-02-28  Joey Ye  <joey.ye@arm.com>
7022         PR libgcc/60166
7023         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
7024         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
7025         Set to zero.
7027 2014-02-24  Walter Lee  <walt@tilera.com>
7029         * config.host: Support "tilegx*" and "tilepro*" triplets.
7030         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
7031         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
7033 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
7034             Chung-Lin Tang  <cltang@codesourcery.com>
7036         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
7037         * config/nios2/crti.S: Remove .file directive.
7038         * config/nios2/crtn.S: Likewise.
7040 2014-02-18  Kai Tietz  <ktietz@redhat.com>
7041         Jonathan Schleifer  <js@webkeks.org>
7043         PR objc/56870
7044         * unwind-seh.c (_GCC_specific_handler): Pass proper
7045         value to unwind-handler.
7047 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
7049         * soft-fp/adddf3.c: Update from glibc.
7050         * soft-fp/addsf3.c: Likewise.
7051         * soft-fp/addtf3.c: Likewise.
7052         * soft-fp/divdf3.c: Likewise.
7053         * soft-fp/divsf3.c: Likewise.
7054         * soft-fp/divtf3.c: Likewise.
7055         * soft-fp/double.h: Likewise.
7056         * soft-fp/eqdf2.c: Likewise.
7057         * soft-fp/eqsf2.c: Likewise.
7058         * soft-fp/eqtf2.c: Likewise.
7059         * soft-fp/extenddftf2.c: Likewise.
7060         * soft-fp/extended.h: Likewise.
7061         * soft-fp/extendsfdf2.c: Likewise.
7062         * soft-fp/extendsftf2.c: Likewise.
7063         * soft-fp/extendxftf2.c: Likewise.
7064         * soft-fp/fixdfdi.c: Likewise.
7065         * soft-fp/fixdfsi.c: Likewise.
7066         * soft-fp/fixdfti.c: Likewise.
7067         * soft-fp/fixsfdi.c: Likewise.
7068         * soft-fp/fixsfsi.c: Likewise.
7069         * soft-fp/fixsfti.c: Likewise.
7070         * soft-fp/fixtfdi.c: Likewise.
7071         * soft-fp/fixtfsi.c: Likewise.
7072         * soft-fp/fixtfti.c: Likewise.
7073         * soft-fp/fixunsdfdi.c: Likewise.
7074         * soft-fp/fixunsdfsi.c: Likewise.
7075         * soft-fp/fixunsdfti.c: Likewise.
7076         * soft-fp/fixunssfdi.c: Likewise.
7077         * soft-fp/fixunssfsi.c: Likewise.
7078         * soft-fp/fixunssfti.c: Likewise.
7079         * soft-fp/fixunstfdi.c: Likewise.
7080         * soft-fp/fixunstfsi.c: Likewise.
7081         * soft-fp/fixunstfti.c: Likewise.
7082         * soft-fp/floatdidf.c: Likewise.
7083         * soft-fp/floatdisf.c: Likewise.
7084         * soft-fp/floatditf.c: Likewise.
7085         * soft-fp/floatsidf.c: Likewise.
7086         * soft-fp/floatsisf.c: Likewise.
7087         * soft-fp/floatsitf.c: Likewise.
7088         * soft-fp/floattidf.c: Likewise.
7089         * soft-fp/floattisf.c: Likewise.
7090         * soft-fp/floattitf.c: Likewise.
7091         * soft-fp/floatundidf.c: Likewise.
7092         * soft-fp/floatundisf.c: Likewise.
7093         * soft-fp/floatunditf.c: Likewise.
7094         * soft-fp/floatunsidf.c: Likewise.
7095         * soft-fp/floatunsisf.c: Likewise.
7096         * soft-fp/floatunsitf.c: Likewise.
7097         * soft-fp/floatuntidf.c: Likewise.
7098         * soft-fp/floatuntisf.c: Likewise.
7099         * soft-fp/floatuntitf.c: Likewise.
7100         * soft-fp/gedf2.c: Likewise.
7101         * soft-fp/gesf2.c: Likewise.
7102         * soft-fp/getf2.c: Likewise.
7103         * soft-fp/ledf2.c: Likewise.
7104         * soft-fp/lesf2.c: Likewise.
7105         * soft-fp/letf2.c: Likewise.
7106         * soft-fp/muldf3.c: Likewise.
7107         * soft-fp/mulsf3.c: Likewise.
7108         * soft-fp/multf3.c: Likewise.
7109         * soft-fp/negdf2.c: Likewise.
7110         * soft-fp/negsf2.c: Likewise.
7111         * soft-fp/negtf2.c: Likewise.
7112         * soft-fp/op-1.h: Likewise.
7113         * soft-fp/op-2.h: Likewise.
7114         * soft-fp/op-4.h: Likewise.
7115         * soft-fp/op-8.h: Likewise.
7116         * soft-fp/op-common.h: Likewise.
7117         * soft-fp/quad.h: Likewise.
7118         * soft-fp/single.h: Likewise.
7119         * soft-fp/soft-fp.h: Likewise.
7120         * soft-fp/subdf3.c: Likewise.
7121         * soft-fp/subsf3.c: Likewise.
7122         * soft-fp/subtf3.c: Likewise.
7123         * soft-fp/truncdfsf2.c: Likewise.
7124         * soft-fp/trunctfdf2.c: Likewise.
7125         * soft-fp/trunctfsf2.c: Likewise.
7126         * soft-fp/trunctfxf2.c: Likewise.
7127         * soft-fp/unorddf2.c: Likewise.
7128         * soft-fp/unordsf2.c: Likewise.
7129         * soft-fp/unordtf2.c: Likewise.
7130         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
7131         macro.
7132         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7133         Likewise.
7134         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7135         Likewise.
7136         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7137         Likewise.
7138         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7139         Likewise.
7140         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7141         Likewise.
7142         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7143         Likewise.
7144         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7145         Likewise.
7146         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7147         Likewise.
7148         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7149         Likewise.
7150         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7151         Likewise.
7152         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7153         Likewise.
7154         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7155         Likewise.
7156         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
7157         Likewise.
7158         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
7159         Likewise.
7160         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7161         Likewise.
7163 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7165         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
7166         cannot be represented.
7167         * config/s390/32/_fixsfdi.c: Likewise.
7168         * config/s390/32/_fixtfdi.c: Likewise.
7169         * config/s390/32/_fixunsdfdi.c: Likewise.
7170         * config/s390/32/_fixunssfdi.c: Likewise.
7171         * config/s390/32/_fixunstfdi.c: Likewise.
7173 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
7175         * configure.ac (libgcc_cv_mips_hard_float): New.
7176         * configure: Regenerate.
7177         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
7178         t-softfp-sfdf for hard-float targets.
7179         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
7180         (softfp_float_modes, softfp_int_modes, softfp_extensions)
7181         (softfp_truncations, softfp_exclude_libgcc2): New.
7182         * config/t-hardfp: New file.
7183         * config/t-hardfp-sfdf: Likewise.
7184         * config/hardfp.c: Likewise.
7186 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7188         * config.host: Include t-floattodi also for s390x.
7189         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
7190         * config/s390/32/_fixsfdi.c: Likewise.
7191         * config/s390/32/_fixtfdi.c: Likewise.
7192         * config/s390/32/_fixunsdfdi.c: Likewise.
7193         * config/s390/32/_fixunssfdi.c: Likewise.
7194         * config/s390/32/_fixunstfdi.c: Likewise.
7196 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7198         PR target/59788
7199         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
7200         (install-libgcc-unwind-map-forbuild): New target.
7201         (all): Depend on install-libgcc-unwind-map-forbuild.
7202         (install-libgcc-unwind-map): New target.
7203         (install): Depend on install-libgcc-unwind-map.
7205 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
7207         * config/nios2/crti.S (_init): Initialize GOT pointer from
7208         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
7210 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
7212         * configure.ac: Check __mips64 when setting host_address.
7213         * configure: Regenerate.
7214         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
7215         mips/t-mips64 and t-softfp.
7216         (mips*-*-linux*): Don't add mips/t-tpbit.
7217         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
7218         (DPBIT, DPBIT_CFLAGS): Delete.
7219         * config/mips/sfp-machine.h: New file.
7220         * config/mips/t-mips64: Likewise.
7221         * config/mips/t-softfp-tf: Likewise.
7222         * config/mips/t-tpbit: Delete.
7224 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7226         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
7227         as long long.
7229 2014-01-25  Walter Lee  <walt@tilera.com>
7231         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
7232         config.h or system.h.
7233         (bool) Define.
7235 2014-01-25  Walter Lee  <walt@tilera.com>
7237         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
7238         (post_atomic_barrier): Ditto.
7239         (__fetch_and_do): New macro.
7240         (__atomic_fetch_and_do): Use __fetch_and_do.
7241         (__sync_fetch_and_do): New macro.
7242         (__sync_fetch_and_add_4): New function.
7243         (__sync_fetch_and_sub_4): New function.
7244         (__sync_fetch_and_or_4): New function.
7245         (__sync_fetch_and_and_4): New function.
7246         (__sync_fetch_and_xor_4): New function.
7247         (__sync_fetch_and_nand_4): New function.
7248         (__sync_fetch_and_add_8): New function.
7249         (__sync_fetch_and_sub_8): New function.
7250         (__sync_fetch_and_or_8): New function.
7251         (__sync_fetch_and_and_8): New function.
7252         (__sync_fetch_and_xor_8): New function.
7253         (__sync_fetch_and_nand_8): New function.
7254         (__do_and_fetch): New macro.
7255         (__atomic_do_and_fetch): Use __do_and_fetch.
7256         (__sync_do_and_fetch): New macro.
7257         (__sync_add_and_fetch_4): New function.
7258         (__sync_sub_and_fetch_4): New function.
7259         (__sync_or_and_fetch_4): New function.
7260         (__sync_and_and_fetch_4): New function.
7261         (__sync_xor_and_fetch_4): New function.
7262         (__sync_nand_and_fetch_4): New function.
7263         (__sync_add_and_fetch_8): New function.
7264         (__sync_sub_and_fetch_8): New function.
7265         (__sync_or_and_fetch_8): New function.
7266         (__sync_and_and_fetch_8): New function.
7267         (__sync_xor_and_fetch_8): New function.
7268         (__sync_nand_and_fetch_8): New function.
7269         (__sync_exchange_methods): New macro.
7270         (__sync_val_compare_and_swap_4): New function.
7271         (__sync_bool_compare_and_swap_4): New function.
7272         (__sync_lock_test_and_test_4): New function.
7273         (__sync_val_compare_and_swap_8): New function.
7274         (__sync_bool_compare_and_swap_8): New function.
7275         (__sync_lock_test_and_test_8): New function.
7276         (__subword_cmpxchg_body): New macro.
7277         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
7278         (__atomic_compare_exchange_2): Ditto.
7279         (__sync_subword_cmpxchg): New macro.
7280         (__sync_val_compare_and_swap_1): New function.
7281         (__sync_bool_compare_and_swap_1): New function.
7282         (__sync_val_compare_and_swap_2): New function.
7283         (__sync_bool_compare_and_swap_2): New function.
7284         (__atomic_subword): Rename to ...
7285         (__subword): ... New name.
7286         (__atomic_subword_fetch): Use __subword.
7287         (__sync_subword_fetch): New macro.
7288         (__sync_fetch_and_add_1): New function.
7289         (__sync_fetch_and_sub_1): New function.
7290         (__sync_fetch_and_or_1): New function.
7291         (__sync_fetch_and_and_1): New function.
7292         (__sync_fetch_and_xor_1): New function.
7293         (__sync_fetch_and_nand_1): New function.
7294         (__sync_fetch_and_add_2): New function.
7295         (__sync_fetch_and_sub_2): New function.
7296         (__sync_fetch_and_or_2): New function.
7297         (__sync_fetch_and_and_2): New function.
7298         (__sync_fetch_and_xor_2): New function.
7299         (__sync_fetch_and_nand_2): New function.
7300         (__sync_add_and_fetch_1): New function.
7301         (__sync_sub_and_fetch_1): New function.
7302         (__sync_or_and_fetch_1): New function.
7303         (__sync_and_and_fetch_1): New function.
7304         (__sync_xor_and_fetch_1): New function.
7305         (__sync_nand_and_fetch_1): New function.
7306         (__sync_add_and_fetch_2): New function.
7307         (__sync_sub_and_fetch_2): New function.
7308         (__sync_or_and_fetch_2): New function.
7309         (__sync_and_and_fetch_2): New function.
7310         (__sync_xor_and_fetch_2): New function.
7311         (__sync_nand_and_fetch_2): New function.
7312         (__atomic_subword_lock): Use __subword.
7313         (__sync_subword_lock): New macro.
7314         (__sync_lock_test_and_set_1): New function.
7315         (__sync_lock_test_and_set_2): New function.
7317 2014-01-25  Walter Lee  <walt@tilera.com>
7319         * config/tilepro/atomic.c (BIT_OFFSET): Define.
7320         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
7321         (__atomic_subword): Ditto.
7323 2014-01-25  Walter Lee  <walt@tilera.com>
7325         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
7326         a prefix op argument.
7327         (__atomic_nand_fetch_4): Add prefix op.
7328         (__atomic_nand_fetch_8): Ditto.
7330 2014-01-21  Baruch Siach  <barch@tkos.co.il>
7332         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
7334 2014-01-09  Rong Xu  <xur@google.com>
7336         * libgcov-driver.c (this_prg): make it local to save
7337         bss space.
7338         (gcov_exit_compute_summary): Ditto.
7339         (gcov_exit_merge_gcda): Ditto.
7340         (gcov_exit_merge_summary): Ditto.
7341         (gcov_exit_dump_gcov): Ditto.
7343 2014-01-08  Rong Xu  <xur@google.com>
7345         * libgcov-driver.c: Use libgcov.h.
7346         (buffer_fn_data): Use xmalloc instead of malloc.
7347         (gcov_exit_merge_gcda): Ditto.
7348         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
7349         * libgcov.h: New common header files for libgcov-*.h.
7350         * libgcov-interface.c: Use libgcov.h
7351         * libgcov-merge.c: Ditto.
7352         * libgcov-profiler.c: Ditto.
7353         * Makefile.in: Add dependence to libgcov.h
7355 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
7357         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
7358         case of small numerator and finite nonzero result.
7360 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
7362         Update copyright years
7364 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
7366         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
7367         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
7368         config/arc/dp-hack.h, config/arc/fp-hack.h,
7369         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
7370         config/arc/ieee-754/arc600-dsp/divdf3.S,
7371         config/arc/ieee-754/arc600-dsp/divsf3.S,
7372         config/arc/ieee-754/arc600-dsp/muldf3.S,
7373         config/arc/ieee-754/arc600-dsp/mulsf3.S,
7374         config/arc/ieee-754/arc600-mul64/divdf3.S,
7375         config/arc/ieee-754/arc600-mul64/divsf3.S,
7376         config/arc/ieee-754/arc600-mul64/muldf3.S,
7377         config/arc/ieee-754/arc600-mul64/mulsf3.S,
7378         config/arc/ieee-754/arc600/divsf3.S,
7379         config/arc/ieee-754/arc600/mulsf3.S,
7380         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
7381         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
7382         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
7383         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
7384         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
7385         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
7386         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
7387         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
7388         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
7389         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
7390         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
7391         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
7392         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
7393         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
7394         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
7395         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
7396         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
7397         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
7398         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
7399         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
7400         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
7401         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
7402         vtv_start_preinit.c: Use the standard form for the copyright notice.
7404 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
7405             Chung-Lin Tang  <cltang@codesourcery.com>
7406         Based on patches from Altera Corporation
7408         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
7409         * config/nios2/lib2-nios2.h: New file.
7410         * config/nios2/lib2-divmod-hi.c: New file.
7411         * config/nios2/linux-unwind.h: New file.
7412         * config/nios2/lib2-divmod.c: New file.
7413         * config/nios2/linux-atomic.c: New file.
7414         * config/nios2/t-nios2: New file.
7415         * config/nios2/crti.asm: New file.
7416         * config/nios2/t-linux: New file.
7417         * config/nios2/lib2-divtable.c: New file.
7418         * config/nios2/lib2-mul.c: New file.
7419         * config/nios2/tramp.c: New file.
7420         * config/nios2/crtn.asm: New file.
7422 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
7424         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
7425         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
7426         from cpuid.h to check vendor signatures.
7428 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
7430         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
7431         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
7432         (get_amd_cpu): Likewise.
7434 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
7436         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
7437         Haswell.
7439 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
7440             H.J. Lu  <hongjiu.lu@intel.com>
7442         PR target/59422
7443         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
7444         and AMD_JAGUAR.
7445         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
7446         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
7447         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
7448         FEATURE_XOP and FEATURE_FMA.
7449         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
7450         AMDFAM15H_BDVER3.
7451         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
7452         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
7453         FEATURE_FMA4 and FEATURE_XOP.
7455 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
7457         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
7458         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
7459         (get_intel_cpu): Updated.
7461 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
7463         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
7465 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
7467         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7468         instructions when __SSE_MATH__ is defined.
7470 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
7472         * config.host (microblaze-*-rtems*): New.
7474 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
7476         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
7477         architectures that do not have hardware divide instruction.
7478         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
7480 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
7482         * longlong.h: Delete (moved to include/).
7484 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7486         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
7487         of normal number and qNaN to not raise an inexact exception.
7489 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
7491         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
7493 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
7495         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
7496         for correct opcodes on BE.
7498 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
7500         * soft-fp/op-4.h: Update from glibc.
7502 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
7504         * libgcc2.c (__udivmoddi4): Define new implementation when
7505         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
7506         divide instructions.
7508 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
7510         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
7512 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7514         * config/t-softfp (soft-fp-objects-base): New variable.
7515         (soft-fp-objects): Use it.
7517 2013-11-23  David Edelson  <dje.gcc@gmail.com>
7518             Andrew Dixie  <andrewd@gentrack.com>
7520         PR target/33704
7521         * config/rs6000/aixinitfini.c: New file.
7522         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
7523         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
7524         symbols.
7526 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
7528         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
7530 2013-11-18  Jan Hubicka  <jh@suse.cz>
7532         * libgcov-driver.c (run_accounted): Make global level static.
7533         (gcov_exit_merge_summary): Silence warning; do not clear
7534         run_accounted here.
7535         (gcov_exit): Clear it here.
7537         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
7538         run_accounted.
7540         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
7541         (all_prg, crc32): Remove static vars.
7542         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
7543         all_prg.
7544         (gcov_exit_merge_gcda): Add crc32 parameter.
7545         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
7546         do not account run if it was already accounted.
7547         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
7548         (gcov_exit): Initialize all_prg; update.
7550 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
7552         * configure: Regenerate.
7554 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7555             Alan Modra  <amodra@gmail.com>
7557         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
7558         (frob_update_context): Use it.
7560 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7561             Alan Modra  <amodra@gmail.com>
7563         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
7564         (trampoline_initial): Provide ELFv2 variant.
7565         (__trampoline_setup): Likewise.
7567         * config/rs6000/linux-unwind.h (frob_update_context): Do not
7568         check for AIX indirect function call sequence if _CALL_ELF == 2.
7570 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7571             Alan Modra  <amodra@gmail.com>
7573         * config/rs6000/linux-unwind.h (get_regs): Do not support
7574         old kernel versions if _CALL_ELF == 2.
7575         (frob_update_context): Do not support PLT stub variants only
7576         generated by old linkers if _CALL_ELF == 2.
7578 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7579             Alan Modra  <amodra@gmail.com>
7581         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
7582         location of CR save area for 64-bit little-endian systems.
7584 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
7586         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
7587         in tmake_file.
7588         * config/arm/t-vxworks: Delete.
7590 2013-11-10  Kai Tietz  <ktietz@redhat.com>
7592         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
7593         Increment load-count on use of LIBGCC_SONAME DLL.
7594         (hmod_libgcc): New static variable to hold handle of
7595         LIBGCC_SONAME DLL.
7596         (__gcc_deregister_frame): Decrement load-count of
7597         LIBGCC_SONAME DLL.
7599 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
7601         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
7602         availability.
7603         * configure: Regenerate
7605 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
7607         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
7608         FP_EX_DENORM.  Store result to volatile location after SSE division
7609         to close interrupt window.  Remove unneeded fwait after x87
7610         division since interrupt window will be closed by emitted fstp.
7611         Rewrite FP_EX_INEXACT handling.
7613 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
7615         * soft-fp/README: Update.
7616         * soft-fp/adddf3.c: Update from glibc.
7617         * soft-fp/addsf3.c: Likewise.
7618         * soft-fp/addtf3.c: Likewise.
7619         * soft-fp/divdf3.c: Likewise.
7620         * soft-fp/divsf3.c: Likewise.
7621         * soft-fp/divtf3.c: Likewise.
7622         * soft-fp/double.h: Likewise.
7623         * soft-fp/eqdf2.c: Likewise.
7624         * soft-fp/eqsf2.c: Likewise.
7625         * soft-fp/eqtf2.c: Likewise.
7626         * soft-fp/extenddftf2.c: Likewise.
7627         * soft-fp/extended.h: Likewise.
7628         * soft-fp/extendsfdf2.c: Likewise.
7629         * soft-fp/extendsftf2.c: Likewise.
7630         * soft-fp/extendxftf2.c: Likewise.
7631         * soft-fp/fixdfdi.c: Likewise.
7632         * soft-fp/fixdfsi.c: Likewise.
7633         * soft-fp/fixdfti.c: Likewise.
7634         * soft-fp/fixsfdi.c: Likewise.
7635         * soft-fp/fixsfsi.c: Likewise.
7636         * soft-fp/fixsfti.c: Likewise.
7637         * soft-fp/fixtfdi.c: Likewise.
7638         * soft-fp/fixtfsi.c: Likewise.
7639         * soft-fp/fixtfti.c: Likewise.
7640         * soft-fp/fixunsdfdi.c: Likewise.
7641         * soft-fp/fixunsdfsi.c: Likewise.
7642         * soft-fp/fixunsdfti.c: Likewise.
7643         * soft-fp/fixunssfdi.c: Likewise.
7644         * soft-fp/fixunssfsi.c: Likewise.
7645         * soft-fp/fixunssfti.c: Likewise.
7646         * soft-fp/fixunstfdi.c: Likewise.
7647         * soft-fp/fixunstfsi.c: Likewise.
7648         * soft-fp/fixunstfti.c: Likewise.
7649         * soft-fp/floatdidf.c: Likewise.
7650         * soft-fp/floatdisf.c: Likewise.
7651         * soft-fp/floatditf.c: Likewise.
7652         * soft-fp/floatsidf.c: Likewise.
7653         * soft-fp/floatsisf.c: Likewise.
7654         * soft-fp/floatsitf.c: Likewise.
7655         * soft-fp/floattidf.c: Likewise.
7656         * soft-fp/floattisf.c: Likewise.
7657         * soft-fp/floattitf.c: Likewise.
7658         * soft-fp/floatundidf.c: Likewise.
7659         * soft-fp/floatundisf.c: Likewise.
7660         * soft-fp/floatunditf.c: Likewise.
7661         * soft-fp/floatunsidf.c: Likewise.
7662         * soft-fp/floatunsisf.c: Likewise.
7663         * soft-fp/floatunsitf.c: Likewise.
7664         * soft-fp/floatuntidf.c: Likewise.
7665         * soft-fp/floatuntisf.c: Likewise.
7666         * soft-fp/floatuntitf.c: Likewise.
7667         * soft-fp/gedf2.c: Likewise.
7668         * soft-fp/gesf2.c: Likewise.
7669         * soft-fp/getf2.c: Likewise.
7670         * soft-fp/ledf2.c: Likewise.
7671         * soft-fp/lesf2.c: Likewise.
7672         * soft-fp/letf2.c: Likewise.
7673         * soft-fp/muldf3.c: Likewise.
7674         * soft-fp/mulsf3.c: Likewise.
7675         * soft-fp/multf3.c: Likewise.
7676         * soft-fp/negdf2.c: Likewise.
7677         * soft-fp/negsf2.c: Likewise.
7678         * soft-fp/negtf2.c: Likewise.
7679         * soft-fp/op-1.h: Likewise.
7680         * soft-fp/op-2.h: Likewise.
7681         * soft-fp/op-4.h: Likewise.
7682         * soft-fp/op-8.h: Likewise.
7683         * soft-fp/op-common.h: Likewise.
7684         * soft-fp/quad.h: Likewise.
7685         * soft-fp/single.h: Likewise.
7686         * soft-fp/soft-fp.h: Likewise.
7687         * soft-fp/subdf3.c: Likewise.
7688         * soft-fp/subsf3.c: Likewise.
7689         * soft-fp/subtf3.c: Likewise.
7690         * soft-fp/truncdfsf2.c: Likewise.
7691         * soft-fp/trunctfdf2.c: Likewise.
7692         * soft-fp/trunctfsf2.c: Likewise.
7693         * soft-fp/trunctfxf2.c: Likewise.
7694         * soft-fp/unorddf2.c: Likewise.
7695         * soft-fp/unordsf2.c: Likewise.
7696         * soft-fp/unordtf2.c: Likewise.
7698 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
7700         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
7701         (_FP_MUL_MEAT_D): Ditto.
7702         (_FP_DIV_MEAT_S): Ditto.
7703         (_FP_DIV_MEAT_D): Ditto.
7704         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
7705         t-softfp-sfdf and t-softfp to tmake_file.
7707 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
7709         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
7710         * config/i386/crtprec.c: Ditto.
7712 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
7713             Shiva Chen  <shiva0217@gmail.com>
7715         * config.host (nds32*-elf*): Add nds32 target.
7716         * config/nds32 : New directory and files.
7718 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
7720         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
7721         * config.host (cpu_type) <Setting default>: Add entry for
7722         crisv32-*-*.
7723         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
7724         <crisv32-*-linux*>: Adjust.
7725         * longlong.h: Wrap the whole CRIS section in a single
7726         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
7727         and sub_ddmmss.
7728         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
7729         defined.
7730         [__CRIS__] (__umulsidi3): Define.
7731         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
7732         * config/cris/sfp-machine.h: New file.
7733         * config/cris/umulsidi3.S: New file.
7734         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
7735         * config/cris/arit.c (SIGNMULT): New macro.
7736         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
7737         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
7738         saving 3 out of originally 33 cycles from the fastest
7739         path, 3 out of 54 from the medium path and one from the longest
7740         path.  Improve comments.
7742 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
7744         * sync.c: Remove static aliases and define each function directly
7745         under its real name.
7747 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
7749         * config.host (hppa*64*-*-linux*): Define extra_parts.
7750         (hppa*-*-linux*): Likewise.
7752 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
7754         * config/arc/crtgend.S: Add 2013 to Copyright years.
7755         * config/arc/gmon/atomic.h: Likewise.
7756         * config/arc/gmon/auxreg.h: Likewise.
7757         * config/arc/gmon/sys/gmon_out.h: Likewise.
7758         * config/arc/gmon/sys/gmon.h: Likewise.
7759         * config/arc/gmon/prof-freq.c: Likewise.
7760         * config/arc/gmon/mcount.c: Likewise.
7761         * config/arc/gmon/prof-freq-stub.S: Likewise.
7762         * config/arc/gmon/gmon.c: Likewise.
7763         * config/arc/gmon/machine-gmon.h: Likewise.
7764         * config/arc/gmon/profil.S: Likewise.
7765         * config/arc/gmon/dcache_linesz.S: Likewise.
7766         * config/arc/crtg.S: Likewise.
7767         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
7768         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
7769         * config/arc/ieee-754/adddf3.S: Likewise.
7770         * config/arc/ieee-754/truncdfsf2.S: Likewise.
7771         * config/arc/ieee-754/fixsfsi.S: Likewise.
7772         * config/arc/ieee-754/gtsf2.S: Likewise.
7773         * config/arc/ieee-754/floatsisf.S: Likewise.
7774         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
7775         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
7776         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
7777         * config/arc/ieee-754/fixdfsi.S: Likewise.
7778         * config/arc/ieee-754/addsf3.S: Likewise.
7779         * config/arc/ieee-754/gesf2.S: Likewise.
7780         * config/arc/ieee-754/floatsidf.S: Likewise.
7781         * config/arc/ieee-754/extendsfdf2.S: Likewise.
7782         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
7783         * config/arc/ieee-754/gtdf2.S: Likewise.
7784         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
7785         * config/arc/ieee-754/uneqdf2.S: Likewise.
7786         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
7787         * config/arc/ieee-754/uneqsf2.S: Likewise.
7788         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
7789         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
7790         * config/arc/ieee-754/eqdf2.S: Likewise.
7791         * config/arc/ieee-754/ordsf2.S: Likewise.
7792         * config/arc/ieee-754/divsf3.S: Likewise.
7793         * config/arc/ieee-754/divdf3.S: Likewise.
7794         * config/arc/ieee-754/floatunsidf.S: Likewise.
7795         * config/arc/ieee-754/orddf2.S: Likewise.
7796         * config/arc/ieee-754/eqsf2.S: Likewise.
7797         * config/arc/ieee-754/gedf2.S: Likewise.
7798         * config/arc/crtn.S: Likewise.
7799         * config/arc/crti.S: Likewise.
7800         * config/arc/t-arc700-uClibc: Likewise.
7801         * config/arc/asm.h: Likewise.
7802         * config/arc/libgcc-excl.ver: Likewise.
7803         * config/arc/t-arc-newlib: Likewise.
7804         * config/arc/divtab-arc700.c: Likewise.
7805         * config/arc/initfini.c: Likewise.
7806         * config/arc/fp-hack.h: Likewise.
7808 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
7809             Diego Novillo  <dnovillo@google.com>
7811         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
7812         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
7813         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
7814         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
7816 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
7817             Brendan Kehoe  <brendan@zen.org>
7818             Simon Cook  <simon.cook@embecosm.com>
7820         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
7821         * config/arc: New directory.
7822         * longlong.h [__arc__] (umul_ppmm): Remove.
7823         [__arc__] (__umulsidi3): Define.
7824         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
7825         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
7827 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
7829         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
7830         CreateSemaphoreA.
7831         * config/i386/gthr-win32.h: Likewise.
7833 2013-09-16  DJ Delorie  <dj@redhat.com>
7835         * config/rl78/vregs.h: Add G10 register definitions.
7836         * config/rl78/lib2mul.c: Enable for RL78/G10.
7837         * config/rl78/lib2div.c: Likewise.
7838         * config/rl78/lshrsi3.S: Use vregs.h.
7839         * config/rl78/cmpsi2.S: Likewise.
7840         * config/rl78/trampoline.S: Likewise.
7841         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
7843 2013-09-14  DJ Delorie  <dj@redhat.com>
7844             Nick Clifton  <nickc@redhat.com>
7846         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
7847         * config/rl78/vregs.h: New.
7848         * config/rl78/signbit.S: New file.  Implements signbit function.
7849         * config/rl78/divmodsi.S: New.
7850         * config/rl78/divmodhi.S: New.
7851         * config/rl78/divmodqi.S: New.
7852         * config/rl78/t-rl78: Build them here...
7853         * config/rl78/lib2div.c: ...but not here.
7855 2013-09-12  DJ Delorie  <dj@redhat.com>
7857         * config.host (msp*-*-elf): New.
7858         * config/msp430/: New port.
7860 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
7862         PR gcov-profile/58127
7863         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
7864         __thread var for emulated TLS.
7865         (__gcov_indirect_call_counters): Likewise.
7867 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
7868             Catherine Moore  <clm@codesourcery.com>
7869             Richard Sandiford  <rdsandiford@googlemail.com>
7871         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
7872         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
7873         (CALL_STUB_NO_RET): Likewise.
7874         (CALL_STUB_RET): Likewise.
7875         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
7876         __mips16_ret call/return stub symbols.
7877         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
7878         to tmake_file.
7880 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
7882         * config.host <mips*-*-linux*>: Remove a stray comment.
7884 2013-08-10  Jan Hubicka  <jh@suse.cz>
7886         Work around binutils PR14342
7887         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
7888         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
7889         (L_gcov_indirect_call_profiler_v2): New.
7891 2013-08-06  Jan Hubicka  <jh@suse.cz>
7893         * libgcov.c (__gcov_indirect_call_callee,
7894         __gcov_indirect_call_counters): New global vars.
7895         (__gcov_indirect_call_profiler): replace by ...
7896         (__gcov_indirect_call_profiler_v2) ... this one.
7898 2013-08-06  Caroline Tice  <cmtice@google.com>
7900         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
7901         vtv_start_preinit.o and vtv_end_preinit.o.
7902         * configure.ac: Add code to check/set enable_vtable_verify.
7903         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
7904         true.
7905         * vtv_start_preinit.c: New file.
7906         * vtv_end_preinit.c: New file.
7907         * vtv_start.c: New file.
7908         * vtv_end.c: New file.
7909         * configure: Regenerated.
7911 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
7913         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
7914         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
7915         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
7916         GPL-3.0-with-GCC-exception.
7918 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
7920         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
7921         ISA and up.
7923 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7925         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
7926         mapping for FPRs when creating the fallback framestate.
7928 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
7930         PR target/57516
7931         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
7932         (__round_s2_const, __round_u2_const)
7933         (__round_s4_const, __round_u4_const, __round_x8):
7934         Saturate result if addition result cannot be represented.
7936 2013-07-15  Matthias Klose  <doko@ubuntu.com>
7938         * libgcc2.c: Don't include <limits.h>.
7940 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
7942         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
7944 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
7946         PR target/29776
7947         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
7949 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
7951         PR middle-end/36041
7952         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
7953         Define.
7954         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
7955         instead of table lookups.
7956         (__popcountDI2): Likewise.
7958 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
7960         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
7961         correctly.
7963 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
7965         PR other/53317
7966         * soft-fp/adddf3.c: Update from glibc.
7967         * soft-fp/addsf3.c: Likewise.
7968         * soft-fp/addtf3.c: Likewise.
7969         * soft-fp/divdf3.c: Likewise.
7970         * soft-fp/divsf3.c: Likewise.
7971         * soft-fp/divtf3.c: Likewise.
7972         * soft-fp/double.h: Likewise.
7973         * soft-fp/eqdf2.c: Likewise.
7974         * soft-fp/eqsf2.c: Likewise.
7975         * soft-fp/eqtf2.c: Likewise.
7976         * soft-fp/extenddftf2.c: Likewise.
7977         * soft-fp/extended.h: Likewise.
7978         * soft-fp/extendsfdf2.c: Likewise.
7979         * soft-fp/extendsftf2.c: Likewise.
7980         * soft-fp/fixdfdi.c: Likewise.
7981         * soft-fp/fixdfsi.c: Likewise.
7982         * soft-fp/fixsfdi.c: Likewise.
7983         * soft-fp/fixsfsi.c: Likewise.
7984         * soft-fp/fixtfdi.c: Likewise.
7985         * soft-fp/fixtfsi.c: Likewise.
7986         * soft-fp/fixunsdfdi.c: Likewise.
7987         * soft-fp/fixunsdfsi.c: Likewise.
7988         * soft-fp/fixunssfdi.c: Likewise.
7989         * soft-fp/fixunssfsi.c: Likewise.
7990         * soft-fp/fixunstfdi.c: Likewise.
7991         * soft-fp/fixunstfsi.c: Likewise.
7992         * soft-fp/floatdidf.c: Likewise.
7993         * soft-fp/floatdisf.c: Likewise.
7994         * soft-fp/floatditf.c: Likewise.
7995         * soft-fp/floatsidf.c: Likewise.
7996         * soft-fp/floatsisf.c: Likewise.
7997         * soft-fp/floatsitf.c: Likewise.
7998         * soft-fp/floatundidf.c: Likewise.
7999         * soft-fp/floatundisf.c: Likewise.
8000         * soft-fp/floatunditf.c: Likewise.
8001         * soft-fp/floatunsidf.c: Likewise.
8002         * soft-fp/floatunsisf.c: Likewise.
8003         * soft-fp/floatunsitf.c: Likewise.
8004         * soft-fp/gedf2.c: Likewise.
8005         * soft-fp/gesf2.c: Likewise.
8006         * soft-fp/getf2.c: Likewise.
8007         * soft-fp/ledf2.c: Likewise.
8008         * soft-fp/lesf2.c: Likewise.
8009         * soft-fp/letf2.c: Likewise.
8010         * soft-fp/muldf3.c: Likewise.
8011         * soft-fp/mulsf3.c: Likewise.
8012         * soft-fp/multf3.c: Likewise.
8013         * soft-fp/negdf2.c: Likewise.
8014         * soft-fp/negsf2.c: Likewise.
8015         * soft-fp/negtf2.c: Likewise.
8016         * soft-fp/op-1.h: Likewise.
8017         * soft-fp/op-2.h: Likewise.
8018         * soft-fp/op-4.h: Likewise.
8019         * soft-fp/op-8.h: Likewise.
8020         * soft-fp/op-common.h: Likewise.
8021         * soft-fp/quad.h: Likewise.
8022         * soft-fp/single.h: Likewise.
8023         * soft-fp/soft-fp.h: Likewise.
8024         * soft-fp/subdf3.c: Likewise.
8025         * soft-fp/subsf3.c: Likewise.
8026         * soft-fp/subtf3.c: Likewise.
8027         * soft-fp/truncdfsf2.c: Likewise.
8028         * soft-fp/trunctfdf2.c: Likewise.
8029         * soft-fp/trunctfsf2.c: Likewise.
8030         * soft-fp/unorddf2.c: Likewise.
8031         * soft-fp/unordsf2.c: Likewise.
8032         * soft-fp/unordtf2.c: Likewise.
8033         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
8034         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8035         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8036         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8037         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8038         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8039         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8040         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8041         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8042         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
8043         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
8044         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8046 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
8048         * config/mips/lib2funcs.c: New file.
8049         * config/mips/t-mips (LIB2ADD_ST): Add it.
8051 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
8053         PR target/6526
8054         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
8055         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
8057 2013-06-08  Walter Lee  <walt@tilera.com>
8059         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
8060         Replace int64_t with long long.  Add __extension__ where
8061         appropriate.
8062         * config/tilepro/atomic.c: Include config.h.
8064 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
8066         * config.host (arm-wrs-vxworks): Configure with other soft float.
8068 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
8070         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
8071         (mips64r5900el-*-elf*): New configurations.
8073 2013-06-04  Alan Modra  <amodra@gmail.com>
8075         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
8077 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
8079         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
8081 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
8083         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
8084         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
8085         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
8087 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
8089         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
8090         (powerpc-wrs-vxworks): Likewise.
8092 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
8094         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
8095         signal frames as well.
8096         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
8097         STACK_BIAS to the CFA offset.
8099 2013-05-17  Richard Henderson  <rth@redhat.com>
8101         PR target/49146
8102         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
8103         (execute_cfa_program): Use it when storing to fs->regs.
8105 2013-05-08  Kai Tietz  <ktietz@redhat.com>
8107         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
8108         (__deregister_frame_info): Likewise.
8110 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
8112         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
8113         NaN's payload.
8115         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
8117 2013-04-25  Alan Modra  <amodra@gmail.com>
8119         * config.host: Match little-endian powerpc-linux.
8121 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
8123         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
8124         as 'unsigned long long' instead of 'unsigned long'.
8125         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
8126         'signed long'.
8128 2013-04-10  Julian Brown  <julian@codesourcery.com>
8130         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
8131         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
8132         unsigned char/unsigned short.
8133         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
8135 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8137         PR other/55274
8138         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
8140 2013-04-04  Meador Inge  <meadori@codesourcery.com>
8142         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
8143         computing the location of the link register.
8144         (aeabi_uldivmod): Ditto.
8146 2013-03-27  Kai Tietz  <ktietz@redhat.com>
8148         * config.host: Add support for cygwin x64 target.
8149         * configure: Regenerated.
8151 2013-03-26  Walter Lee  <walt@tilera.com>
8153         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
8154         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
8156 2013-03-25  Kai Tietz  <ktietz@redhat.com>
8158         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
8160 2013-03-20  Robert Mason  <rbmj@verizon.net>
8162         * config/vxlib-tls.c (__gthread_get_tsd_data,)
8163         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
8164         (__gthread_leave_tsd_dtor_context): Add prototypes.
8165         (tls_delete_hook): Update.
8167 2013-03-20  Catherine Moore  <clm@codesourcery.com>
8168             Joseph Myers  <joseph@codesourcery.com>
8169             Chao-ying Fu  <fu@mips.com>
8171         * config/mips/mips16.S:  Don't build for microMIPS.
8172         * config/mips/linux-unwind.h: Handle microMIPS frame.
8173         * config/mips/crtn.S (fini, init): New labels.
8175 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
8177         PR tree-optimization/53265
8178         * unwind-dw2.c (execute_cfa_program): Avoid
8179         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
8180         on targets with DWARF_FRAME_REGISTERS < 32.
8182 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
8184         PR target/49880
8185         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
8186         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
8188 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
8190         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
8191         sandybridge processors.
8193 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
8195         PR target/56529
8196         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
8197         inclusion list.
8199 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
8201         * config/microblaze/crti.S: Setup stack protection at entry
8203 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
8205         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
8206         (__rotldi3): Shift bytewise if applicable.
8208 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
8210         * config/aarch64/sync-cache.c
8211         (__aarch64_sync_cache_range): Silence warnings.
8213 2013-02-25  Catherine Moore  <clm@codesourcery.com>
8215         Revert:
8216         2013-02-24  Catherine Moore  <clm@codesourcery.com>
8217             Joseph Myers  <joseph@codesourcery.com>
8218             Chao-ying Fu  <fu@mips.com>
8220         * config/mips/mips16.S:  Don't build for microMIPS.
8221         * config/mips/linux-unwind.h: Handle microMIPS frame.
8222         * config/mips/crtn.S (fini, init): New labels.
8224 2013-02-24  Catherine Moore  <clm@codesourcery.com>
8225             Joseph Myers  <joseph@codesourcery.com>
8226             Chao-ying Fu  <fu@mips.com>
8228         * config/mips/mips16.S:  Don't build for microMIPS.
8229         * config/mips/linux-unwind.h: Handle microMIPS frame.
8230         * config/mips/crtn.S (fini, init): New labels.
8232 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
8233         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
8234         as dividend.
8236 2013-02-16  Alan Modra  <amodra@gmail.com>
8238         PR target/55431
8239         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
8240         (ppc_fallback_frame_state): Always set up save locations for fp
8241         and altivec.  Don't bother with non-callee-saved regs, r0-r13
8242         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
8244 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
8246         PR target/54222
8247         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
8248         _ssmulHA, _ssmulSA.
8249         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
8250         _ssmulha3, _usmulusa3, _ssmulsa3.
8251         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
8252         (__muldi3): XCALL __muldi3_6 instead of rcall.
8253         (__umulsidi3, __mulsidi3): New functions.
8254         (do_prologue_saves, do_epilogue_restores): New .macros.
8255         (__divdi3_moddi3): Use them.
8256         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
8257         (__usmulusa3, __ssmulsa3): New functions.
8259 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
8260             Jack Howarth  <howarth@bromo.med.uc.edu>
8261             Patrick Marlier  <patrick.marlier@gmail.com>
8263         PR libitm/55693
8264         * config/darwin-crt-tm.c: Remove dummy functions hack.
8266 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
8268         PR target/54222
8269         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
8270         * config/avr/lib2-object.mk: New iterator to build objects from it.
8271         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
8272         lib2funcs.c.
8273         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
8274         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
8275         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
8276         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
8277         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
8278         * config/avr/lib1funcs-fixed.S: Implement them.
8280 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
8282         Update copyright years.
8284 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
8286         PR target/54601
8287         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
8288         Add crtcxa to extra_parts.
8289         * config/rs6000/exit.h: New file.
8290         * config/rs6000/cxa_atexit.c: New file.
8291         * config/rs6000/cxa_finalize.c: New file.
8292         * config/rs6000/crtcxa.c: New file.
8293         * config/rs6000/t-aix-cxa: New file.
8294         * config/rs6000/libgcc-aix-cxa.ver: New file.
8296 2013-01-31  Nick Clifton  <nickc@redhat.com>
8298         * config/v850/lib1funcs.S: Add support for e3v5 architecture
8299         variant.
8301 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
8303         PR target/54222
8304         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
8305         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
8306         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
8307         _divQQ,  _divHQ,  _divHA,  _divSA,
8308         _divUQQ, _divUHQ, _divUHA, _divUSA.
8310 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
8312         * config.host(microblaze*-linux*): tmake_file: Remove
8313         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
8314         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
8315         to exclude functions from being built with libgcc.c and use
8316         the microblaze assembly.
8318 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
8320         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
8321         extra_parts.
8323 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
8325         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
8326         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
8327         __UINTPTR_TYPE__; also cast 'base' to the same type before the
8328         alignment operation.
8330 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
8332         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
8333         loop start address for cache clearing.
8335 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
8337         * config/avr/lib1funcs.S: Remove trailing blanks.
8338         * config/avr/lib1funcs-fixed.S: Ditto.
8340 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
8342         * config/avr/avr-lib.h: Add GPL copyright notice.
8344 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
8346         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
8347         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
8348         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
8349         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
8351 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
8353         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
8354         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
8356 2013-01-04  Nick Clifton  <nickc@redhat.com>
8358         * config/v850/lib1funcs.S: Only provide CALLT support functions if
8359         the CALLT instruction is supported.
8361 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
8363         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
8364         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
8366 2012-12-13  John Tytgat  <John@bass-software.com>
8368         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
8369         is 25.
8371 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
8373         PR libgcc/55451
8374         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
8375         undefined signed overflows.
8377 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
8379         PR target/55344
8380         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
8382 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
8384         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
8385         (FP_TRAPPING_EXCEPTIONS): Define.
8386         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
8387         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
8389 2012-12-04  Richard Henderson  <rth@redhat.com>
8391         PR bootstrap/55571
8392         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
8394 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8396         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
8397         (FP_EX_SHIFT): Define.
8398         (FP_TRAPPING_EXCEPTIONS): Define.
8400 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8402         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
8403         (FP_ROUNDMODE): Use FP_RND_MASK.
8404         * config/aarch64/sfp-exceptions.c: New.
8405         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8406         Use __sfp_handle_exceptions.
8408 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
8410         * config.host: (arm*-*-freebsd*): Remove.
8411         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
8412         (arm*-*-elf*): Remove.
8413         (arm*-*-wince-pe*): Remove.
8414         * arm/unwind-arm.c (struct fpa_reg): Delete.
8415         (struct fpa_regs): Delete.
8416         (phase1_vrs): Remove fpa element.
8417         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
8418         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
8419         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
8420         * ieee754-sf.S (floatundisf): Remove FPA support.
8421         (floatdisf): Likewise.
8422         * ieee75f-df.S (floatundidf): Likewise.
8423         (floatdidf): Likewise.
8425 2012-11-29  Kai Tietz  <ktietz@redhat.com>
8427         PR target/55445
8428         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
8429         * unwind-generic.h: Likewise.
8430         * unwind-seh.c: Likewise.
8432 2012-11-28  Richard Henderson  <rth@redhat.com>
8434         PR libgcc/48076
8435         * emutls.c (__emutls_get_address): Avoid race condition between
8436         obj->loc.offset read and emutls_key initialization.
8438 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
8440         Adjust decimal point of signed accum mode to GCC default.
8442         PR target/54222
8443         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
8444         _divqq_helper.
8445         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
8446         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
8447         (__mulha3, __mulsa3)
8448         (__divqq3, __divha3, __divsa3): Adjust to new position of
8449         decimal point of signed accum types.
8451         (__mulusa3_round): New function.
8452         (__mulusa3): Use it.
8453         (__divqq_helper): New function.
8454         (__udivuqq3): Use it.
8456 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
8458         PR bootstrap/55370
8459         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
8461 2012-11-18  Teresa Johnson  <tejohnson@google.com>
8463         PR bootstrap/55051
8464         * libgcov.c (gcov_exit): Remove merged program summary
8465         comparison unless !GCOV_LOCKED.
8467 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8469         * soft-fp: Updated from glibc upstream.
8471 2012-11-06  Ian Lance Taylor  <iant@google.com>
8473         * generic-morestack.c (__generic_morestack): Align the returned
8474         stack pointer to a 32 byte boundary.
8475         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
8476         increment the return address until we have decided that we don't
8477         have a varargs function.
8478         (__morestack) [32-bit]: Align stack correctly when calling C
8479         functions.
8480         (__morestack) [64-bit]: Likewise.
8482 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
8484         * configure: Regenerate.
8486 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
8488         PR target/55175
8489         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
8490         * config/i386/sfp-machine.h: Guard exception handling
8491         code with _SOFT_FLOAT.
8492         * config/i386/32/sfp-machine.h: Guard rounding handling
8493         code with _SOFT_FLOAT.
8494         * config/i386/64/sfp-machine.h: Ditto.
8496 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
8498         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
8499         as extra_parts.
8501 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
8503         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
8504         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
8505         when appropriate.  Correct structure element types.
8506         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
8507         -minline-all-stringops from compile flags.
8509 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
8511         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
8513 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
8515         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
8517 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
8519         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
8520         tmake_file.
8522 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
8523             Jim MacArthur  <jim.macarthur@arm.com>
8524             Marcus Shawcroft  <marcus.shawcroft@arm.com>
8525             Nigel Stephens  <nigel.stephens@arm.com>
8526             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
8527             Richard Earnshaw  <rearnsha@arm.com>
8528             Sofiane Naci  <sofiane.naci@arm.com>
8529             Stephen Thomas  <stephen.thomas@arm.com>
8530             Tejas Belagod  <tejas.belagod@arm.com>
8531             Yufeng Zhang  <yufeng.zhang@arm.com>
8533         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
8534         * config/aarch64/crti.S: New file.
8535         * config/aarch64/crtn.S: New file.
8536         * config/aarch64/linux-unwind.h: New file.
8537         * config/aarch64/sfp-machine.h: New file.
8538         * config/aarch64/sync-cache.c: New file.
8539         * config/aarch64/t-aarch64: New file.
8540         * config/aarch64/t-softfp: New file.
8542 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
8544         * config/mmix/crti.S: Mark program and data addresses using PRELD.
8545         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
8546         no-longer-needed LDBU insns.
8548 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
8550         * config.host
8551         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
8552         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
8554 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
8556         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
8558 2012-10-15  Matthias Klose  <doko@ubuntu.com>
8560         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
8562 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
8564         * configure: Regenerate.
8565         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
8567 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
8569         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8570         instructions for 64bit targets only.
8572 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
8574         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8575         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
8576         * config/i386/32/sfp-machine.h: ... here.
8577         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
8578         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
8579         New defines.
8581 2012-10-07  Matthias Klose  <doko@ubuntu.com>
8583         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
8584         as unused.
8585         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
8587 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
8589         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
8590         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
8591         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
8592         (ElfW): Likewise.
8594 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
8596         PR other/53889
8597         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8598         Fix parameter names.
8600 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
8602         PR target/33135
8603         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
8604         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
8605         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
8607 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
8609         PR target/50457
8610         * config/sh/linux-atomic.S: Delete.
8611         * config/sh/linux-atomic.c: New.
8612         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
8613         linux-atomic.c.  Add cflags to disable warnings.
8615 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
8617         PR other/53889
8618         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
8619         function.
8620         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
8621         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
8622         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
8623         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
8624         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
8625         Likewise.
8626         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8627         Likewise.
8628         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
8629         Likewise.
8630         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
8631         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
8633 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
8635         * config.host (hppa-*-openbsd*): New target.
8636         * config/pa/t-openbsd: New file.
8638 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
8640         PR target/54222
8641         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
8642         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
8643         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
8644         (__divsa3): Use __negsi2 to negate r_quoL.
8645         * config/avr/lib1funcs.S (FALIAS): New macro.
8646         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
8647         (__negsi2): ...this new function.
8648         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
8649         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
8650         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
8651         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
8652         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
8653         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
8655 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
8657         PR target/54089
8658         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
8659         (lshrsi3): Reimplement as lshrsi3_r0.
8661 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
8663         PR target/46191
8664         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
8665         of libgcc.a.
8667 2012-09-07  Teresa Johnson  <tejohnson@google.com>
8669         PR gcov-profile/54487
8670         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
8671         differences.
8673 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
8675         PR target/54461
8676         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
8677         not configured --with-avrlibc=no.
8678         * config/avr/t-avrlibc: New file.
8679         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
8680         (DPBIT_FUNCS): Ditto.
8681         (TPBIT_FUNCS): Ditto.
8683 2012-09-04  Teresa Johnson  <tejohnson@google.com>
8685         * libgcov.c (struct gcov_summary_buffer): New structure.
8686         (gcov_histogram_insert): New function.
8687         (gcov_compute_histogram): Ditto.
8688         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
8689         histograms during summary merging.
8691 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
8693         * config.host (x86_64-*-openbsd*): New target.
8695 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
8697         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
8698         attribute.
8700 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
8702         PR target/54222
8703         * config/avr/t-avr (conv_X): Rename to func_X.
8705 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
8707         PR target/54222
8708         * config/avr/lib1funcs-fixed.S: New file.
8709         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
8710         after they are used.
8711         (neg2, neg4): New macros.
8712         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
8713         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
8714         (__umulhisi3): Speed up MUL variant if there is enough flash.
8715         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
8716         avr-modes.def.
8717         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
8718         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
8719         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
8720         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
8721         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
8722         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
8723         (LIB2FUNCS_EXCLUDE): Add supported functions.
8725 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
8727         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
8728         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
8729         libgcc-s-objects.
8730         * fixed-obj.mk: Only expand dependency if $o is not in
8731         LIB2FUNCS_EXCLUDE.
8733 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
8735         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
8737 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
8739         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
8740         depend on --enable-shared.
8741         ($(lib1asmfuncs-o)): Use %.vis files independent of
8742         --enable-shared.
8743         * static-object.mk ($(base)$(objext), $(base).vis)
8744         ($(base)_s$(objext)): Use same rules for visibility handling as in
8745         shared-object.mk.
8747 2012-08-21  Ian Lance Taylor  <iant@google.com>
8749         * config/i386/morestack.S (__morestack_non_split): Increase amount
8750         of space allocated for non-split code stack.
8752 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
8754         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
8755         even if inhibit_libc.
8757 2012-08-17  Julian Brown  <julian@codesourcery.com>
8759         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
8760         -fexceptions -fnon-call-exceptions if not defined.
8761         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
8762         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
8764 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
8766         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
8767         type.
8769 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
8771         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
8772         rs6000/t-slibgcc-aix.
8774 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
8776         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
8778 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
8780         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
8782 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
8784         PR driver/54171
8785         * Makefile.in (version): Replace top_srcdir with srcdir.
8787 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
8789         * Makefile.in (version): set to BASE-VER file from gcc directory.
8791 2012-08-01  Nick Clifton  <nickc@redhat.com>
8793         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
8794         Implements __clrsb for an HImode argument.
8796 2012-07-31  Nick Clifton  <nickc@redhat.com>
8798         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
8799         Implements __clrsb for an HImode argument.
8800         * config/stormy16/clrsbhi2.c: New file:
8801         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
8803 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
8805         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
8807 2012-07-19  Tristan Gingold  <gingold@adacore.com>
8808             Richard Henderson  <rth@redhat.com>
8810         * unwind-seh.c: New file.
8811         * unwind-generic.h: Include windows.h for SEH.
8812         (_Unwind_Exception): Use 6 private fields for SEH.
8813         (_GCC_specific_handler): Declare.
8814         * unwind-c.c (__gcc_personality_seh0): New function.
8815         Adjust for SEH.
8816         * config/i386/libgcc-cygming.ver: New file.
8817         * config/i386/t-seh-eh: New file.
8818         * config.host (x86_64-*-mingw*): Default to seh.
8820 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
8822         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
8824 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
8826         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
8827         __builtin_expect when checking for exceptions.
8828         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
8830 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
8832         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
8833         function declaration.
8834         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8835         (FP_RND_MASK): New.
8836         * config/ia64/sfp-exceptions.c: New.
8837         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
8839 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
8841         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
8842         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
8843         * config/i386/64/sfp-machine: ... (delete here) ...
8844         * config/i386/sfp-machine.h: ... to here.
8845         (FP_EX_MASK): Remove.
8846         (FP_RND_MASK): New.
8847         (FP_INIT_ROUNDMODE): Declare asm as volatile.
8849 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
8851         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
8852         * config/i386/libgcc-sol2.ver: Ditto.
8853         * config/i386/libgcc-glibc.ver: Ditto.
8855 2012-06-11  Roland McGrath  <mcgrathr@google.com>
8857         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
8858         If __GLIBC__ is defined, refer to __pthread_key_create instead of
8859         pthread_cancel.
8861 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
8863         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
8864         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
8865         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
8866         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8867         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
8868         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
8869         * config/i386/64/sfp-machine: ... (delete here) ...
8870         * config/i386/sfp-machine.h: ... to here.
8871         (FP_EX_MASK): New.
8872         (__sfp_handle_exceptions): New function declaration.
8873         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8874         * config/i386/sfp-exceptions.c: New.
8875         * config/i386/t-softfp: New.
8876         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
8877         i386/t-softfp to tmake_file.
8879 2012-06-03  David S. Miller  <davem@davemloft.net>
8881         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
8882         change.
8884 2012-05-31  David S. Miller  <davem@davemloft.net>
8886         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
8887         multiply and divide instructions on 32-bit when V9.
8888         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
8890 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
8892         * config/arm/ieee754-df.S: Fix typos.
8893         * config/arm/ieee754-sf.S: Fix typos.
8894         * config/c6x/libunwind.S: Fix typos.
8895         * config/epiphany/udivsi3-float.c: Fix typos.
8896         * config/microblaze/muldi3_hard.S: Fix typos.
8897         * config/picochip/adddi3.S: Fix typos.
8898         * config/picochip/ashlsi3.S: Fix typos.
8899         * config/picochip/ashrsi3.S: Fix typos.
8900         * config/picochip/clzsi2.S: Fix typos.
8901         * config/picochip/cmpsi2.S: Fix typos.
8902         * config/picochip/divmod15.S: Fix typos.
8903         * config/picochip/divmodhi4.S: Fix typos.
8904         * config/picochip/divmodsi4.S: Fix typos.
8905         * config/picochip/longjmp.S: Fix typos.
8906         * config/picochip/lshrsi3.S: Fix typos.
8907         * config/picochip/parityhi2.S: Fix typos.
8908         * config/picochip/popcounthi2.S: Fix typos.
8909         * config/picochip/setjmp.S: Fix typos.
8910         * config/picochip/subdi3.S: Fix typos.
8911         * config/picochip/ucmpsi2.S: Fix typos.
8912         * config/picochip/udivmodhi4.S: Fix typos.
8913         * config/picochip/udivmodsi4.S: Fix typos.
8914         * config/spu/divv2df3.c: Fix typos.
8915         * config/spu/mfc_multi_tag_release.c: Fix typos.
8916         * config/spu/mfc_tag_release.c: Fix typos.
8917         * configure.ac: Fix typos.
8918         * configure: Regenerate.
8920 2012-05-25  Ian Lance Taylor  <iant@google.com>
8922         * config/i386/morestack.S (__morestack_non_split): Check whether
8923         caller is varargs and needs %bp to hold the stack frame on return.
8925 2012-05-25  Olivier Hainque  <hainque@adacore.com>
8927         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
8928         sequence in the non pic case on VxWorks.
8930 2012-05-24  Olivier Hainque  <hainque@adacore.com>
8932         * Makefile.in: Move dependency on install-unwind_h from
8933         "install-leaf" to "install".
8935 2012-05-24  Olivier Hainque  <hainque@adacore.com>
8937         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
8938         Use a separate command for stamp removals.
8940 2012-05-21  Andrew Pinski  <apinski@cavium.com>
8942         PR bootstrap/53183
8943         * configure.ac: Define the default includes to being none.
8944         * configure: Regenerate.
8946 2012-05-16  Olivier Hainque  <hainque@adacore.com>
8948         * Makefile.in (install-unwind_h): Rename into ...
8949         (install-unwind_h-forbuild): New target.
8950         (all): Use it instead of the former install-unwind_h.
8951         (install-unwind_h): Reinstate, copy to user install destination
8952         for include files, not to the internal gcc object directory one.
8953         (install-leaf): Depend on it.
8955 2012-05-15  Olivier Hainque  <hainque@adacore.com>
8957         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
8958         register numbers. LR_REGNO replaces R_LR.
8959         (ucontext_for): New, helper for ...
8960         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
8961         and 5.3 of ...
8962         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
8964 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8966         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
8967         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
8968         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
8969         i386/t-cpuinfo ...
8970         (i[34567]86-*-*, x86_64-*-*): ... here.
8972         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
8973         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
8975         * config/i386/i386-cpuinfo.c: Rename to ...
8976         * config/i386/cpuinfo.c: ... this.
8977         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
8979         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
8980         (libgcc_cv_init_priority): New test.
8981         * configure: Regenerate.
8982         * config.in: New file.
8983         * Makefile.in (clean): Rename config.h to auto-target.h.
8984         (config.h): Likewise.
8985         (stamp-h): Likewise.
8987         * config/i386/cpuinfo.c (auto-target.h): Include.
8988         (CONSTRUCTOR_PRIORITY): Define.
8989         (__cpu_indicator_init): Use it.
8991 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
8993         * longlong.h: Use a URL instead of an FSF postal address.
8994         Replace spaces with tab.
8996 2012-05-08  Teresa Johnson  <tejohnson@google.com>
8998         * libgcov.c (gcov_clear, __gcov_reset): New functions.
8999         (__gcov_dump): Ditto.
9000         (gcov_dump_complete): New global variable.
9001         (gcov_exit): Export hidden to enable use in L_gcov_dump.
9002         (__gcov_flush): Outline functionality now in gcov_clear.
9003         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
9005 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
9007         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
9008         (mips*-*-linux*): Include mips/t-tpbit when long double is
9009         16 bytes long.
9011 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
9013         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
9014         (get_available_features): New argument. Check for AVX2.
9015         (__cpu_indicator_init): Modify call to get_available_features.
9017 2012-04-25  Alan Modra  <amodra@gmail.com>
9019         * config/rs6000/crtsavevr.S: New file.
9020         * config/rs6000/crtrestvr.S: New file.
9021         * config/rs6000/t-savresfgpr: Build the above.
9022         * config/rs6000/t-netbsd: Likewise.
9024 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
9026         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
9028 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
9030         * libgcc/config/i386/i386-cpuinfo.c: New file.
9031         * libgcc/config/i386/t-cpuinfo: New file.
9032         * libgcc/config.host: Include t-cpuinfo.
9033         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
9035 2012-04-24  Chao-ying Fu  <fu@mips.com>
9037         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
9039 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
9041         struct siginfo vs. siginfo_t
9043         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
9044         siginfo_t instead of struct siginfo.
9045         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
9046         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
9047         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
9048         (ia64_handle_unwabi): Likewise.
9049         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
9050         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
9051         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
9052         (sh_fallback_frame_state): Likewise.
9053         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
9054         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
9056 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
9058         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
9059         system call number.
9061 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
9063         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
9064         if it hasn't been previously saved.
9066 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
9068         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
9069         only for glibc.
9071 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
9073         PR target/52737
9074         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
9075         instead of __AVR_HAVE_8BIT_SP__.
9077 2012-03-26  Tristan Gingold  <gingold@adacore.com>
9079         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
9080         (unw_table_entry): Use unw_word instead of unsigned long.
9081         (_Unwind_FindTableEntry): Likewise.
9082         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
9083         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
9084         (_Unwind_FindTableEntry): Likewise.
9085         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
9086         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
9087         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
9088         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
9089         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
9090         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
9091         (uw_init_context_1, uw_install_context): Likewise.
9092         (unw_word): Move to unwind-ia64.h
9094 2012-03-26  Tristan Gingold  <gingold@adacore.com>
9096         * config/vms/vms-ucrt0.c: Update copyright years.
9097         Add a sanity check.
9098         (___gcc_main_flags): Declare.
9099         (__main): Check flags to remap argv and exit code.
9100         * config.host (*-*-*vms*): Adjust extra_parts.
9101         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
9102         (crt0.o): Add.
9104 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
9106         * arm/lib1funcs.asm (ctzsi2): New function.
9107         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
9108         * arm/t-linux (LIB1ASMFUNCS): Likewise.
9109         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
9110         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
9111         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
9112         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
9114 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
9116         * config.host: Add bits to support powerpc64-*-freebsd*.
9117         * config/rs6000/freebsd-unwind.h: New file.
9118         * config/rs6000/t-freebsd64: New file.
9120 2012-03-20  Richard Guenther  <rguenther@suse.de>
9122         PR gcov-profile/52627
9123         * libgcov.c (init_mx): Fix mutex name.
9125 2012-03-16  Tristan Gingold  <gingold@adacore.com>
9127         * config/ia64/vms-unwind.h: Remove ulong (and replace
9128         it by unw_reg where used).  Define unw_reg with __int64.
9130 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9132         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
9133         Solaris 8 handling.
9134         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
9135         Solaris 8 handling.
9136         (sparc_is_sighandler): Likewise.
9138 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
9140         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
9141         <= saved reg size.
9143 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9145         * config/arm/crtn.S: Fix typo.
9147 2012-03-13  Richard Guenther  <rguenther@suse.de>
9149         * libgcov.c: Remove stdio.h include and NULL un-define.
9151 2012-03-13  Richard Guenther  <rguenther@suse.de>
9153         PR target/52569
9154         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
9156 2012-03-13  Richard Guenther  <rguenther@suse.de>
9158         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
9160 2012-03-13  Richard Guenther  <rguenther@suse.de>
9162         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
9163         and __gthread_mutex_init_function definitions.
9165 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9167         * config.host (mips*-*-openbsd*): Remove.
9169 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9171         * config.host: Remove alpha*-dec-osf5.1* handling.
9172         * config/alpha/gthr-posix.c: Remove.
9173         * config/alpha/libgcc-osf5.ver: Remove.
9174         * config/alpha/osf5-unwind.h: Remove.
9175         * config/alpha/t-osf-pthread: Remove.
9176         * config/alpha/t-slibgcc-osf: Remove.
9177         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
9178         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
9179         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
9180         * mkmap-flat.awk: Remove osf_export handling.
9182 2012-03-12  Richard Guenther  <rguenther@suse.de>
9184         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
9185         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9186         (__gthread_mutex_init_function): New function.
9187         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9189         PR gcov/49484
9190         * libgcov.c: Include gthr.h.
9191         (__gcov_flush_mx): New global variable.
9192         (init_mx, init_mx_once): New functions.
9193         (__gcov_flush): Protect self with a mutex.
9194         (__gcov_fork): Re-initialize mutex after forking.
9195         * unwind-dw2-fde.c: Change condition under which to use
9196         __GTHREAD_MUTEX_INIT_FUNCTION.
9198 2012-03-12  Tristan Gingold  <gingold@adacore.com>
9200         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
9201         * config/ia64/t-vms: Likewise.
9203 2012-03-11  Michael Hope  <michael.hope@linaro.org>
9205         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
9206         for Thumb-2.
9208 2012-03-07  Walter Lee  <walt@tilera.com>
9210         * config/tilepro/atomic.c: Rename "atomic_" prefix to
9211         "arch_atomic_".
9212         (atomic_xor): Rename and move definition to
9213         config/tilepro/atomic.h.
9214         (atomic_nand): Ditto.
9215         * config/tilepro/atomic.h: Rename "atomic_" prefix to
9216         "arch_atomic_".
9217         (arch_atomic_xor): Move from config/tilepro/atomic.c.
9218         (arch_atomic_nand): Ditto.
9220 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
9222         PR target/52507
9223         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
9225 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
9227         PR target/52505
9228         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
9229         from RAM.
9231 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
9233         PR target/52461
9234         PR target/52508
9235         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
9236         if RAMPZ affects reading from RAM.
9237         (__tablejump_elpm__): Ditto.
9238         (.xload): Ditto.
9239         (__movmemx_hi): Ditto.
9240         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
9241         (__do_global_dtors): Ditto.
9242         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
9243         (__movmemx_hi): Ditto.
9245 2012-03-05  Richard Henderson  <rth@redhat.com>
9247         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
9248         [ARM] (count_trailing_zeros): Use the builtin.
9250 2012-03-01  Kai Tietz  <ktietz@redhat.com>
9252         * soft-fp: Imported from glibc upstream.
9254 2012-02-28  Kai Tietz  <ktietz@redhat.com>
9256         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
9257         for mingw-targets as attribute gcc_struct.
9259 2012-02-28  Ian Lance Taylor  <iant@google.com>
9261         * generic-morestack.c (__splitstack_releasecontext): Correct call
9262         to __morestack_release_segments.
9264 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9266         PR target/52390
9267         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
9268         for __linux__ when removing signals from __morestack_fullmask.
9270 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
9272         PR target/52261
9273         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
9275 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9277         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
9278         instead of HAVE_INITFINI_ARRAY.
9279         * config/ia64/crtend.S: Likewise.
9281 2012-02-20  Kai Tietz  <ktietz@redhat.com>
9283         PR libstdc++/52300
9284         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
9286         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
9287         to w32-unwind.h header.
9289 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
9291         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
9292         (mips*-*-linux*): Remove t-slibgcc-libgcc.
9293         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
9294         * config/mips/mips16.S (__mips16_rdhwr): Delete.
9296 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
9298         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
9300 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
9302         PR libitm/52220
9303         * config/darwin-crt-tm.c: Correct typo.
9305 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
9306             Patrick Marlier  <patrick.marlier@gmail.com>
9308         PR libitm/52220
9309         * config/darwin-crt-tm.c: Generate dummy functions.
9311 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
9312             Patrick Marlier  <patrick.marlier@gmail.com>
9314         PR libitm/52042
9315         * config/darwin-crt-tm.c (getTMCloneTable): New function.
9316         (__doTMRegistrations): Call it.
9317         (__doTMdeRegistrations): Likewise.
9319 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
9320             Anatoly Sokolov  <aesok@post.ru>
9321             Eric Weddington  <eric.weddington@atmel.com>
9323         PR target/52261
9324         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
9325         (__epilogue_restores__): Ditto.
9327 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
9329         PR target/51921
9330         PR target/52205
9331         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
9332         Solaris 11 and slightly reformat.
9333         (sparc_is_sighandler): Likewise.
9335 2012-02-14  Walter Lee  <walt@tilera.com>
9337         * config.host: Handle tilegx and tilepro.
9338         * config/tilegx/sfp-machine.h: New file.
9339         * config/tilegx/sfp-machine32.h: New file.
9340         * config/tilegx/sfp-machine64.h: New file.
9341         * config/tilegx/t-crtstuff: New file.
9342         * config/tilegx/t-softfp: New file.
9343         * config/tilegx/t-tilegx: New file.
9344         * config/tilepro/atomic.c: New file.
9345         * config/tilepro/atomic.h: New file.
9346         * config/tilepro/linux-unwind.h: New file.
9347         * config/tilepro/sfp-machine.h: New file.
9348         * config/tilepro/softdivide.c: New file.
9349         * config/tilepro/softmpy.S: New file.
9350         * config/tilepro/t-crtstuff: New file.
9351         * config/tilepro/t-tilepro: New file.
9353 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
9355         PR libstdc++/51296
9356         PR libstdc++/51906
9357         * gthr-posix.h: Allow static initializer macros to be disabled.
9358         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
9360 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
9362         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
9363         Add t-slibgcc-libgcc to tmake_file.
9364         * config/mips/libgcc-mips16.ver: Revert previous patch.
9365         * config/mips/mips16.S (__mips16_rdhwr): Hide.
9367 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
9368             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
9370         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
9371         * config/cr16/crti.S: New file.
9372         * config/cr16/crtlibid.S: New file.
9373         * config/cr16/crtn.S: New file.
9374         * config/cr16/lib1funcs.S: New file.
9375         * config/cr16/t-cr16: New file.
9376         * config/cr16/t-crtlibid: New file.
9377         * config/cr16/unwind-dw2.h: New file.
9378         * config/cr16/unwind-cr16.c: New file.
9379         * config/cr16/divmodhi3.c: New file.
9381 2012-01-25  Alan Modra  <amodra@gmail.com>
9383         * config/rs6000/t-linux64: Delete.  Move..
9384         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
9385         * config/rs6000/t-linux: ..and libgcc flags to here.
9387 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
9389         * config.host (i[34567]86-*-interix3*):
9390         Change triplet to i[34567]86-*-interix[3-9]*.
9391         * configure: Regenerate.
9393 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
9394             Richard Sandiford  <rdsandiford@googlemail.com>
9396         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
9397         * config/mips/mips16.S (__mips16_rdhwr): New function.
9398         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
9400 2012-01-11  Nathan Sidwell  <nathan@acm.org>
9402         * libgcov.c (__gcov_init): Ignore objects with no functions.
9404 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
9406         PR target/49868
9407         Extend __pgmx semantics to linearize memory.
9408         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
9409         * config/avr/lib1funcs.S (__xload_1): New function.
9410         (__movmemx_qi, __movmemx_hi): New functions.
9411         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
9412         semantics.
9414 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
9416         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
9417         purported sigacthandler address isn't null before dereferencing it.
9418         (sparc_is_sighandler): Likewise.
9420 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
9422         PR ada/41929
9423         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
9424         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
9425         (sparc_is_sighandler): Likewise.
9426         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
9428 2012-01-06  Tristan Gingold  <gingold@adacore.com>
9430         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
9431         compatibility thunks...
9432         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
9433         (crtbeginS.o, crtendS.o): ... and these to ...
9434         * config/ia64/t-ia64-elf: ... this new file.
9435         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
9436         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
9438 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9440         * configure: Regenerate.
9441         * config/s390/t-crtstuff: Remove -fPIC.
9443 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
9445         PR bootstrap/51006
9446         * enable-execute-stack-mprotect.c (getpagesize): Do not define
9447         for NetBSD.
9449 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
9451         PR target/51345
9452         * config/avr/lib1funcs.S: Remove FIXME comments.
9453         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
9455 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
9457         Implement light-weight DImode support.
9458         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
9459         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
9460         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
9461         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
9463 2011-12-30  Nathan Sidwell  <nathan@acm.org>
9465         * libgcov.c (gcov_crc32): Remove global var.
9466         (free_fn_data): New function.
9467         (buffer_fn_data): Pass in filename, more robust error recovery.
9468         (crc32_unsigned): New function.
9469         (gcov_exit): More robust detection of new program. More robust
9470         error recovery.
9471         (__gcov_init): Do not update program's crc here.
9473 2011-12-21  Tristan Gingold  <gingold@adacore.com>
9475         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
9477 2011-12-21  Ian Lance Taylor  <iant@google.com>
9479         * config/i386/morestack.S: Simplify CFI opcodes throughout.
9481 2011-12-20  Ian Lance Taylor  <iant@google.com>
9483         * config/i386/morestack.S (__morestack_non_split): If there is
9484         enough stack space already, don't split.  Ask for more stack space
9485         than we required.
9487 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
9489         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
9490         `sys/sdt.h'.
9491         (_Unwind_DebugHook): New function.
9492         (uw_restore_core_regs): New define.
9493         (unwind_phase2): Use uw_restore_core_regs instead of
9494         restore_core_regs.
9495         (unwind_phase2_forced): Likewise.
9496         (__gnu_Unwind_Resume): Likewise.
9498 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
9500         * config/alpha/linux-unwind.h: Update copyright years.
9501         (MD_FROB_UPDATE_CONTEXT): New define.
9502         (alpha_frob_update_context): New function.
9504 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
9506         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
9507         tmake_file rather replacing it.
9509 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
9511         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
9512         function is not used for PPC64.
9513         (save_world): Amend comments.  Update the VRsave mask to reflect the
9514         saved regs.
9515         (rest_world): Update comments, do not  clobber r10, do not use r8.
9516         (eh_rest_world_r10): Amend comments, do not use r8.
9517         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
9518         no longer used, move restore of CR and target address to the end of
9519         the routine.
9521 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
9523         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
9524         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
9526 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
9528         PR target/49313
9529         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
9530         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
9532 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
9534         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
9536 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
9538         PR target/49313
9539         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
9540         * config/avr/lib1funcs.S (__muldi3): New function.
9542 2011-12-06  Andrew Pinski  <apinski@cavium.com>
9544         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
9545         size of func_ptr.
9546         (__frame_dummy_init_array_entry): Likewise.
9548 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
9550         Forward-port from gcc-4_6-branch r181936 2011-12-02.
9552         PR target/51345
9553         PR target/51002
9554         * config/avr/lib1funcs.S (__prologue_saves__,
9555         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
9556         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
9558 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
9560         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
9562 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
9564         PR other/51272
9565         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
9566         (_ITM_deregisterTMCloneTable): Likewise.
9567         (__register_frame_info): Fix unused warning.
9568         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
9569         pthread_default_stacksize_np): Likewise.
9570         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
9572 2011-11-29  DJ Delorie  <dj@redhat.com>
9574         * config.host (rl78-*-elf): New case.
9575         * config/rl78: New directory for the Renesas RL78.
9577 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
9579         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
9580         formatting.
9582 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9584         PR other/51022
9585         * config/rs6000/t-savresfgpr: New file.
9586         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
9587         $(srcdir)/config/rs6000/eabi.S.
9588         * config/rs6000/t-ppccomm-ldbl: Remove.
9589         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
9590         tmake_file.
9591         (powerpc-*-eabispe*): Likewise.
9592         (powerpc-*-eabi*): Likewise.
9593         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9594         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
9595         to tmake_file, remove rs6000/t-ppccomm-ldbl.
9596         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
9597         tmake_file.
9598         (powerpc-*-eabisim*): Likewise.
9599         (powerpc-*-elf*): Likewise.
9600         (powerpc-*-eabialtivec*): Likewise.
9601         (powerpc-xilinx-eabi*): Likewise.
9602         (powerpc-*-rtems*): Likewise.
9603         (powerpcle-*-elf*): Likewise.
9604         (powerpcle-*-eabisim*): Likewise.
9605         (powerpcle-*-eabi*): Likewise.
9607 2011-11-27  Ian Lance Taylor  <iant@google.com>
9609         * generic-morestack.c (__splitstack_find): Check for NULL old
9610         stack value.
9611         (__splitstack_resetcontext): New function.
9612         (__splitstack_releasecontext): New function.
9613         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9615 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
9617         * config/darwin-crt-tm.c: Correct comments, use correct licence.
9619 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
9621         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
9623 2011-11-26  Richard Henderson  <rth@redhat.com>
9625         * config/m68k/linux-atomic.c: New file.
9626         * config/m68k/t-linux: New file.
9627         * config.host (m68k-uclinux, m68k-linux): Use it.
9629 2011-11-26  Richard Henderson  <rth@redhat.com>
9631         * crtstuff.c (__TMC_LIST__): Mark used not unused.
9632         (__TMC_END__): Only declare if hidden is available; in the definition,
9633         if hidden is unavailable add a null record.
9634         (deregister_tm_clones, register_tm_clones): New.
9635         (__do_global_dtors_aux, frame_dummy): Use them.
9636         (__do_global_dtors, __do_global_ctors_1): Likewise.
9638 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
9640         * config/darwin-crt-tm.c: New file.
9641         * config.host (darwin): Build crttms.o crttme.o to provide
9642         startup and shutdown for tm clones.
9643         * config/t-darwin (crttms.o): New build rule.
9644         (crttme.o): Likewise.
9646 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
9648         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
9649         et al.
9651 2011-11-21  Richard Henderson  <rth@redhat.com>
9653         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
9654         (__TMC_LIST__, __TMC_END__): New.
9655         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
9656         (__do_global_dtors): Likewise.
9657         (frame_dummy): Call _ITM_registerTMCloneTable.
9658         (__do_global_ctors_1): Likewise.
9660 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9662         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
9663         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9664         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
9665         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
9666         * config/i386/t-darwin64: Remove.
9667         * config/sh/t-netbsd (LIB2ADD): Remove.
9669 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
9671         PR target/49313
9672         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
9673         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
9674         * config/avr/lib1funcs.S (wmov): New assembler macro.
9675         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
9676         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
9677         (__udivmod64): New function.
9678         (__negdi2): New function.
9680 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
9682         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
9683         *-*-freebsd*aout*): Remove.
9685 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
9687         * static-object.mk (c_flags-$o): Save c_flags.
9688         ($(base)$(objext)): Use it.
9690 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
9692         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
9694 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
9696         PR target/49868
9697         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
9698         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
9699         New functions.
9701 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
9703         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
9704         functions.
9705         (aeabi_uidivmod): Likewise.
9706         (umodsi3): Likewise.
9707         (divsi3): Likewise.
9708         (aeabi_idivmod): Likewise.
9709         (modsi3): Likewise.
9711 2011-11-16  Tristan Gingold  <gingold@adacore.com>
9713         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
9715 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
9717         PR target/49868
9718         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
9719         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
9721 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
9723         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
9724         tmake_file list.
9725         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
9726         * config/pa/t-stublib64: Delete.
9728 2011-11-12  Richard Henderson  <rth@redhat.com>
9730         * config/rs6000/linux-unwind.h (frob_update_context): Properly
9731         cast the pointer argument to _Unwind_SetGRPtr.
9733 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9735         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
9737 2011-11-09  Ian Lance Taylor  <iant@google.com>
9739         * generic-morestack.c: Include <string.h>.
9740         (uintptr_type): Define.
9741         (struct initial_sp): Add dont_block_signals field.  Reduce size of
9742         extra array by 1.
9743         (allocate_segment): Set prev field to NULL.  Don't set
9744         __morestack_current_segment or __morestack_segments.
9745         (__generic_morestack): Update current->prev and *pp after calling
9746         allocate_segment.
9747         (__morestack_block_signals): Don't do anything if
9748         dont_block_signals is set.
9749         (__morestack_unblock_signals): Likewise.
9750         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
9751         uintptr_type.
9752         (__splitstack_block_signals): New function.
9753         (enum __splitstack_content_offsets): Define.
9754         (__splitstack_getcontext, __splitstack_setcontext): New functions.
9755         (__splitstack_makecontext): New function.
9756         (__splitstack_block_signals_context): New function.
9757         (__splitstack_find_context): New function.
9758         * config/i386/morestack.S (__morestack_get_guard): New function.
9759         (__morestack_set_guard, __morestack_make_guard): New functions.
9760         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9762 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9764         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
9765         (i[34567]86-*-mingw*): ... here.
9766         (x86_64-*-mingw*): ... here.
9768 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9770         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
9772 2011-11-07  Nathan Sidwell  <nathan@acm.org>
9774         * libgcov.c (struct gcov_fn_buffer): New struct.
9775         (buffer_fn_data): New helper.
9776         (gcov_exit): Rework for new gcov data structures.
9778 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
9780         PR target/49313
9781         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
9783 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9785         * config.host (tmake_file): Correct comment.
9786         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
9787         t-libgcc-pic.
9788         (bfin*-uclinux*): Likewise.
9789         (bfin*-linux-uclibc*): Likewise.
9790         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
9792         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
9793         assigning.
9794         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9795         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
9796         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9797         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
9798         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9799         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
9800         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
9801         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9802         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
9803         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
9804         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
9805         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
9806         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
9808         * config/bfin/t-elf: Remove.
9809         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
9811 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9813         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
9814         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
9815         (lm32-*-elf*, lm32-*-rtems*): Split into ...
9816         (lm32-*-elf*): ... this.
9817         (lm32-*-rtems*): ... and this.
9818         Add to tmake_file.
9819         (m32r-*-rtems*): Add to tmake_file.
9820         (moxie-*-rtems*): Likewise.
9821         (sparc-*-rtems*): Likewise.
9822         Remove t-rtems from tmake_file.
9823         (sparc64-*-rtems*): Likewise.
9824         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
9825         instead.
9827 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9829         PR bootstrap/50982
9830         * config/gthr-posix.h: Move ...
9831         * gthr-posix.h: ... here.
9832         * config/gthr-lynx.h: Reflect this.
9833         * config/gthr-vxworks.h: Likewise.
9834         * config/rs6000/gthr-aix.h: Likewise.
9835         * configure.ac (target_thread_file): Likewise.
9836         * configure: Regenerate.
9838 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
9840         * config.host (arm*-*-rtemseabi*): New target.
9842 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
9844         PR other/50991
9845         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
9846         extra-parts.
9848 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
9850         * config.host (epiphany-*-elf*): New configuration.
9851         * config/epiphany: New Directory.
9853 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
9855         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
9856         * config/avr/t-rtems: New.
9857         Filter out _exit from LIB1ASMFUNCS.
9859 2011-11-04  David S. Miller  <davem@davemloft.net>
9861         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
9862         * configure: Rebuild.
9864 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9866         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
9867         variable.
9869 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
9871         PR target/50931
9872         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
9873         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
9875 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
9877         PR target/50989
9878         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
9880 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9882         * config/c6x/t-elf (LIB2ADDEH): Set.
9883         * config/c6x/t-c6x-elf: Remove.
9885 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9887         * config/i386/sol2-ci.S: Rename to ...
9888         * config/i386/crti.S: ... this.
9889         * config/i386/sol2-cn.S: Rename to ...
9890         * config/i386/crtn.S: ... this.
9891         * config/sparc/sol2-ci.S: Rename to ...
9892         * config/sparc/crti.S: ... this.
9893         * config/sparc/sol2-cn.S: Rename to ...
9894         * config/sparc/crtn.S: ... this.
9895         * config/t-sol2 (CUSTOM_CRTIN): Remove.
9896         (crti.o, crtn.o): Remove.
9898 2011-11-04  Tristan Gingold  <gingold@adacore.com>
9900         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
9902 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
9904         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
9906 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
9908         * config.host (crisv32-*-none, cris-*-none): Remove.
9909         (crisv32-*-elf): Append to tmake_file, don't just set it.
9910         (cris-*-elf): Add missing t-fdpbit to tmake_file.
9912 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9914         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
9915         (ecrtn$(objext)): Likewise.
9916         (ncrti$(objext)): Likewise.
9917         (ncrtn$(objext)): Likewise.
9919 2011-11-03  Andreas Schwab  <schwab@redhat.com>
9921         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
9923 2011-11-02  David S. Miller  <davem@davemloft.net>
9925         * configure.ac: Set host_address on sparc too.
9926         * configure: Regenerate.
9927         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
9928         based upon host_address.
9929         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
9931 2011-11-02  Jason Merrill  <jason@redhat.com>
9933         * config/rs6000/t-ppccomm: Add missing \.
9935 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9937         * gthr-single.h, gthr.h: New files.
9938         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
9939         config/gthr-vxworks.h, config/i386/gthr-win32.h,
9940         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
9941         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
9942         * config/i386/gthr-win32.c: Include "gthr-win32.h".
9943         * configure.ac (thread_header): New variable.
9944         Set it depending on target_thread_file.
9945         (gthr-default.h): Link from $thread_header.
9946         * configure: Regenerate.
9947         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
9949 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9951         * configure.ac (tm_file_): New variable.
9952         Determine from tm_file.
9953         (tm_file, tm_defines): Substitute.
9954         * configure: Regenerate.
9955         * mkheader.sh: New file.
9956         * Makefile.in (clean): Remove libgcc_tm.h.
9957         ($(objects)): Depend on libgcc_tm.h.
9958         (libgcc_tm_defines, libgcc_tm_file): New variables.
9959         (libgcc_tm.h, libgcc_tm.stamp): New targets.
9960         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
9961         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
9962         ($(extra-parts)): Depend on libgcc_tm.h.
9963         * config.host (tm_defines, tm_file): New variable.
9964         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
9965         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
9966         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
9967         (avr-*-rtems*): Likewise.
9968         (avr-*-*): Likewise.
9969         (frv-*-elf): Likewise.
9970         (frv-*-*linux*): Likewise.
9971         (h8300-*-rtems*): Likewise.
9972         (h8300-*-elf*): Likewise.
9973         (i[34567]86-*-darwin*): Likewise.
9974         (x86_64-*-darwin*): Likewise.
9975         (rx-*-elf): Likewise.
9976         (tic6x-*-uclinux): Likewise.
9977         (tic6x-*-elf): Likewise.
9978         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
9979         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
9980         * config/i386/cygming-crtbegin.c: Likewise.
9981         * config/i386/cygming-crtend.c: Likewise.
9982         * config/ia64/fde-vms.c: Likewise.
9983         * config/ia64/unwind-ia64.c: Likewise.
9984         * config/libbid/bid_gcc_intrinsics.h: Likewise.
9985         * config/rs6000/darwin-fallback.c: Likewise.
9986         * config/stormy16/lib2funcs.c: Likewise.
9987         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
9988         * crtstuff.c: Likewise.
9989         * dfp-bit.h: Likewise.
9990         * emutls.c: Likewise.
9991         * fixed-bit.c: Likewise.
9992         * fp-bit.c: Likewise.
9993         * generic-morestack-thread.c: Likewise.
9994         * generic-morestack.c: Likewise.
9995         * libgcc2.c: Likewise.
9996         * libgcov.c: Likewise.
9997         * unwind-dw2-fde-dip.c: Likewise.
9998         * unwind-dw2-fde.c: Likewise.
9999         * unwind-dw2.c: Likewise.
10000         * unwind-sjlj.c: Likewise.
10002 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10004         * configure.ac: Include ../config/picflag.m4.
10005         (GCC_PICFLAG): Call it.
10006         Substitute.
10007         * configure: Regenerate.
10008         * Makefile.in (gcc_srcdir): Remove.
10009         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
10010         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
10011         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
10012         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
10013         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
10014         Use $<.
10015         Remove comment.
10016         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
10017         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
10018         to refer to libgcc2.c.
10019         Use $<.
10020         * config/darwin-64.c: New file.
10021         * config/darwin-crt3.c: Remove comment.
10022         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
10023         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
10024         config/udivmodsi4.c: New files.
10025         * config/memcmp.c, config/memcpy.c, config/memmove.c,
10026         config/memset.c: New files.
10027         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
10028         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
10029         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
10030         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
10031         * config/t-openbsd-thread: New file.
10032         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
10033         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
10034         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
10035         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
10036         qrnnd.S.
10037         Adapt filename.
10038         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
10039         to refer to gthr-posix.c.
10040         * config/alpha/t-vms (LIB2ADD): Set.
10041         * config/alpha/vms-gcc_shell_handler.c: New file.
10042         * config/arm/bpabi.c, config/arm/fp16.c,
10043         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
10044         config/arm/unaligned-funcs.c: New files.
10045         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
10046         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10047         * config/arm/t-linux: Likewise.
10048         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
10049         * config/arm/t-netbsd: New file.
10050         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
10051         * config/arm/t-symbian (LIB2ADD_ST): Set.
10052         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
10053         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10054         * config/bfin/t-elf: New file.
10055         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
10056         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
10057         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
10058         config/c6x/ltf.c: New files.
10059         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
10060         (HOST_LIBGCC2_CFLAGS): Set.
10061         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
10062         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10063         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
10064         New files.
10065         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
10066         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
10067         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
10068         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
10069         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
10070         files.
10071         * config/frv/t-frv (LIB2ADD): Set.
10072         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10073         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
10074         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
10075         config/h8300/popcounthi2.c: New files.
10076         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10077         * config/i386/gthr-win32.c: New file.
10078         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
10079         * config/i386/t-cygwin: Likewise.
10080         * config/i386/t-darwin, config/i386/t-darwin64,
10081         config/i386/t-gthr-win32, config/i386/t-interix: New files.
10082         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
10083         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10084         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10085         * config/ia64/quadlib.c: New file.
10086         * config/ia64/t-hpux (LIB2ADD): Set.
10087         * config/ia64/t-ia64: Add comment.
10088         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
10089         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10090         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
10091         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
10092         * config/m32c/t-m32c (LIB2ADD): Set.
10093         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10094         * config/m32r/t-m32r: Likewise.
10095         * config/m68k/fpgnulib.c: New file.
10096         * config/m68k/t-floatlib (LIB2ADD): Set.
10097         (xfgnulib.c): New target.
10098         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
10099         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
10100         * config/mep/t-mep (LIB2ADD): Set.
10101         * config/microblaze/divsi3.asm: Rename to divsi3.S.
10102         * config/microblaze/moddi3.asm: Rename to moddi3.S.
10103         * config/microblaze/modsi3.asm: Rename to modsi3.S.
10104         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
10105         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
10106         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
10107         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
10108         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
10109         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
10110         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
10111         New files.
10112         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
10113         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
10114         * config/pa/fptr.c, config/pa/lib2funcs.S,
10115         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
10116         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10117         (LIB2ADD, LIB2ADD_ST): Set.
10118         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
10119         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
10120         Set.
10121         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
10122         * config/pdp11/t-pdp11: New file.
10123         * config/picochip/libgccExtras/adddi3.S,
10124         config/picochip/libgccExtras/ashlsi3.S,
10125         config/picochip/libgccExtras/ashrsi3.S,
10126         config/picochip/libgccExtras/clzsi2.S,
10127         config/picochip/libgccExtras/cmpsi2.S,
10128         config/picochip/libgccExtras/divmod15.S,
10129         config/picochip/libgccExtras/divmodhi4.S,
10130         config/picochip/libgccExtras/divmodsi4.S,
10131         config/picochip/libgccExtras/lshrsi3.S,
10132         config/picochip/libgccExtras/parityhi2.S,
10133         config/picochip/libgccExtras/popcounthi2.S,
10134         config/picochip/libgccExtras/subdi3.S,
10135         config/picochip/libgccExtras/ucmpsi2.S,
10136         config/picochip/libgccExtras/udivmodhi4.S,
10137         config/picochip/libgccExtras/udivmodsi4.S: New files.
10138         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
10139         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
10140         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
10141         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
10142         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
10143         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
10144         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
10145         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
10146         files.
10147         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
10148         (HOST_LIBGCC2_CFLAGS): Set.
10149         * config/rs6000/t-darwin64: New file.
10150         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
10151         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
10152         * config/rs6000/t-ppccomm (LIB2ADD): Add
10153         $(srcdir)/config/rs6000/tramp.S.
10154         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
10155         Add  $(srcdir)/config/rs6000/eabi.S.
10156         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
10157         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
10158         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
10159         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
10160         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
10161         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
10162         * config/rs6000/tramp.S: New file.
10163         * config/s390/t-tpf: Remove.
10164         * config/sh/linux-atomic.S: New file.
10165         * config/sh/t-linux (LIB2ADD): Set.
10166         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
10167         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10168         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
10169         to unwind-dw2.c.
10170         (HOST_LIBGCC2_CFLAGS): Set.
10171         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10172         * config/spu/divmodti4.c, config/spu/divv2df3.c,
10173         config/spu/float_disf.c, config/spu/float_unsdidf.c,
10174         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
10175         config/spu/mfc_multi_tag_release.c,
10176         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
10177         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
10178         config/spu/multi3.c: New files.
10179         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
10180         (HOST_LIBGCC2_CFLAGS): Set.
10181         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
10182         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
10183         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
10184         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
10185         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
10186         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
10187         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
10188         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
10189         config/stormy16/umodsi3.c: New files.
10190         * config/xtensa/lib2funcs.S: New file.
10191         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10192         * config/xtensa/t-xtensa (LIB2ADD): Set.
10193         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
10194         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
10195         Add t-freebsd-thread to tmake_file for posix threads.
10196         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
10197         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
10198         (*-*-lynxos*): Likewise.
10199         (*-*-netbsd*): Likewise.
10200         (*-*-openbsd*): Likewise.
10201         Add t-openbsd-thread to tmake_file for posix threads.
10202         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
10203         (*-*-vxworks*): Set tmake_file.
10204         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10205         (alpha*-*-freebsd*): Likewise.
10206         (alpha*-*-netbsd*): Likewise.
10207         (alpha*-*-openbsd*): Likewise.
10208         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
10209         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10210         (alpha*-dec-*vms*): Likewise.
10211         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
10212         (bfin*-elf*): Add bfin/t-elf to tmake_file.
10213         (bfin*-uclinux*): Likewise.
10214         (bfin*-linux-uclibc*): Likewise.
10215         (crisv32-*-elf): Add cris/t-cris to tmake_file.
10216         (crisv32-*-none): Likewise.
10217         (cris-*-elf): Likewise.
10218         (cris-*-none): Likewise.
10219         (cris-*-linux*, crisv32-*-linux*): Likewise.
10220         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
10221         tmake_file.
10222         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
10223         tmake_file.
10224         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
10225         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
10226         (x86_64-*-elf*): Likewise.
10227         (i[34567]86-*-nto-qnx*): Likewise.
10228         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
10229         win32 threads.
10230         (x86_64-*-mingw*): Likewise.
10231         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
10232         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
10233         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10234         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10235         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
10236         tmake_file.
10237         (mipsisa64sr71k-*-elf*): Likewise.
10238         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10239         (mips-*-elf*, mipsel-*-elf*): Likewise.
10240         (mips64-*-elf*, mips64el-*-elf*): Likewise.
10241         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10242         (mips*-*-rtems*): Likewise.
10243         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
10244         to tmake_file.
10245         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
10246         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
10247         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
10248         (spu-*-elf*): Likewise.
10249         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
10251 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10253         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
10254         $(srcdir) to refer to $(LIB1ASMSRC).
10255         Use $<.
10256         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
10257         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
10258         config/arm/lib1funcs.S: New files.
10259         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
10260         * config/arm/t-arm: New file.
10261         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
10262         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
10263         config/arm/t-strongarm-elf: New files.
10264         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
10265         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
10266         * config/avr/lib1funcs.S: New file.
10267         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10268         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
10269         * config/c6x/lib1funcs.S: New file.
10270         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10271         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
10272         * config/frv/lib1funcs.S: New file.
10273         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10274         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
10275         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
10276         * config/ia64/__divxf3.asm: Rename to ...
10277         * config/ia64/__divxf3.S: ... this.
10278         Adapt lib1funcs.asm filename.
10279         * config/ia64/_fixtfdi.asm: Rename to ...
10280         * config/ia64/_fixtfdi.S: ... this.
10281         Adapt lib1funcs.asm filename.
10282         * config/ia64/_fixunstfdi.asm: Rename to ...
10283         * config/ia64/_fixunstfdi.S: ... this.
10284         Adapt lib1funcs.asm filename.
10285         * config/ia64/_floatditf.asm: Rename to ...
10286         * config/ia64/_floatditf.S: ... this.
10287         Adapt lib1funcs.asm filename.
10288         * config/ia64/lib1funcs.S: New file.
10289         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
10290         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10291         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
10292         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
10293         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
10294         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
10295         * config/mep/lib1funcs.S: New file.
10296         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10297         * config/mips/mips16.S: New file.
10298         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10299         * config/pa/milli64.S: New file.
10300         * config/pa/t-linux, config/pa/t-linux64: New files.
10301         * config/picochip/lib1funcs.S: New file.
10302         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10303         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
10304         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
10305         * config/sh/t-netbsd: New file.
10306         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
10307         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
10308         * config/sh/t-sh64: New file.
10309         * config/sparc/lb1spc.S: New file.
10310         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
10311         filename.
10312         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
10313         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
10314         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
10315         config/xtensa/lib1funcs.S: New files.
10316         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10317         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
10318         tmake_file.
10319         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
10320         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
10321         (arm*-*-linux*): Likewise.
10322         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
10323         arm*-*-linux-*eabi, add arm/t-linux otherwise.
10324         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
10325         (arm*-*-ecos-elf): Likewise.
10326         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10327         (arm*-*-rtems*): Likewise.
10328         (arm*-*-elf): Likewise.
10329         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
10330         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
10331         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
10332         (bfin*-uclinux*): Likewise.
10333         (bfin*-linux-uclibc*): Likewise.
10334         (bfin*-rtems*): Likewise.
10335         (bfin*-*): Likewise.
10336         (fido-*-elf): Merge into m68k-*-elf*.
10337         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
10338         (frv-*-*linux*): Add frv/t-frv to tmake_file.
10339         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
10340         (h8300-*-elf*): Likewise.
10341         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
10342         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
10343         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
10344         (i[34567]86-*-mingw*): Likewise.
10345         (x86_64-*-mingw*): Likewise.
10346         (i[34567]86-*-interix3*): Likewise.
10347         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
10348         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
10349         (m68k-*-elf*): Also handle fido-*-elf.
10350         Add m68k/t-floatlib to tmake_file.
10351         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
10352         (m68k-*-linux*): Likewise.
10353         (m68k-*-rtems*): Likewise.
10354         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
10355         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
10356         sh64*-*-*.
10357         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
10358         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
10359         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
10360         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
10361         sh/t-netbsd to tmake_file.
10362         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
10363         (sh-*-rtems*): Add sh/t-sh to tmake_file.
10364         (sh-wrs-vxworks): Likewise.
10365         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
10366         *-leon[3-9]*.
10367         (v850*-*-*): Add v850/t-v850 to tmake_file.
10368         (vax-*-linux*): Add vax/t-linux to tmake_file.
10369         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
10371 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10373         * crtstuff.c: New file.
10374         * Makefile.in (CRTSTUFF_CFLAGS): Define.
10375         (CRTSTUFF_T_CFLAGS): Define.
10376         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
10377         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
10378         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
10379         crtstuff.c.
10380         Use $<.
10381         (crtbeginT.o): Use $(objext).
10382         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
10383         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
10384         (gcc-extra-parts): Remove.
10385         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
10386         Set extra_parts.
10387         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10388         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
10389         Add t-crtstuff-pic to tmake_file.
10390         (*-*-lynxos*): New case.
10391         Set tmake_file, extra_parts.
10392         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
10393         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
10394         *-*-netbsdelf[2-9]*.
10395         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
10396         (*-*-rtems*): Set extra_parts.
10397         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
10398         (*-*-uclinux*): New case.
10399         Set extra_parts.
10400         (*-*-vms*): New case.
10401         Set tmake_file, extra_parts.
10402         (*-*-elf): Set extra_parts.
10403         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
10404         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
10405         vms/t-vms64.
10406         Set extra_parts.
10407         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
10408         Set extra_parts.
10409         (arm*-*-freebsd*): Add t-crtin to tmake_file.
10410         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
10411         (arm-wrs-vxworks): Append to tmake_file.
10412         Set extra_parts.
10413         (arm*-*-uclinux*): Set extra_parts.
10414         (arm*-*-ecos-elf): Likewise.
10415         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
10416         arm*-*-eabi*.
10417         (arm*-*-rtems*): Set extra_parts.
10418         (arm*-*-elf): Likewise.
10419         (avr-*-rtems*): Clear extra_parts.
10420         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
10421         Set extra_parts.
10422         (bfin*-uclinux*): Likewise.
10423         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
10424         (bfin*-rtems*): Append to tmake_file.
10425         Set extra_parts.
10426         (bfin*-*): Likewise.
10427         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
10428         (crisv32-*-elf): ... this.
10429         (crisv32-*-none): ... this.
10430         (cris-*-elf, cris-*-none): New cases.
10431         Add cris/t-elfmulti to tmake_file.
10432         (fr30-*-elf): Append to tmake_file.
10433         Set extra_parts.
10434         (frv-*-elf): Append to tmake_file, add frv/t-frv.
10435         Set extra_parts.
10436         (h8300-*-rtems*): Append to tmake_file.
10437         Set extra_parts.
10438         (h8300-*-elf*): Likewise.
10439         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
10440         Set extra_parts.
10441         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
10442         Set extra_parts.
10443         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
10444         (x86_64-*-elf*): Likewise.
10445         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
10446         (x86_64-*-freebsd*): Likewise.
10447         (x86_64-*-netbsd*): Likewise.
10448         (i[34567]86-*-linux*): Likewise.
10449         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10450         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10451         (x86_64-*-linux*): Likewise.
10452         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10453         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
10454         tmake_file.
10455         Set extra_parts.
10456         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
10457         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
10458         Append to extra_parts, remove crtbegin.o, crtend.o.
10459         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
10460         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
10461         crtend.o, crtbeginS.o, crtendS.o.
10462         (ia64*-*-linux*): Comment extra_parts.
10463         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
10464         Set extra_parts.
10465         (iq2000*-*-elf*): Clear extra_parts.
10466         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
10467         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
10468         (m32r-*-elf*, m32r-*-rtems*): Split off ...
10469         (m32r-*-rtems*): ... this.
10470         Add m32r/t-m32r to tmake_file.
10471         (m68k-*-elf*): Add t-crtin to tmake_file.
10472         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
10473         (mcore-*-elf): Likewise.
10474         (microblaze*-*-*): Set extra_parts.
10475         (mips*-sde-elf*): New case.
10476         Set tmake_file, extra_parts.
10477         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10478         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10479         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
10480         tmake_file.
10481         Set extra_parts.
10482         (mipsisa64sr71k-*-elf*): Likewise.
10483         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10484         (mips-*-elf*, mipsel-*-elf*): Likewise.
10485         (mips64-*-elf*, mips64el-*-elf*): Likewise.
10486         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
10487         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
10488         (mips*-*-rtems*): Likewise.
10489         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
10490         (moxie-*-*): Split into ...
10491         (moxie-*-elf, moxie-*-uclinux*): ... this.
10492         Add to extra_parts, remove crtbegin.o, crtend.o.
10493         (moxie-*-rtems*): New case.
10494         Set tmake_file.
10495         Clear extra_parts.
10496         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
10497         Set extra_parts.
10498         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10499         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
10500         tmake_file.
10501         Set extra_parts.
10502         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
10503         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
10504         Set extra_parts.
10505         (powerpc-*-eabisim*): Likewise.
10506         (powerpc-*-elf*): Likewise.
10507         (powerpc-*-eabialtivec*): Likewise.
10508         (powerpc-xilinx-eabi*): Likewise.
10509         (powerpc-*-eabi*): Likewise.
10510         (powerpc-*-rtems*): Likewise.
10511         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
10512         tmake_file.
10513         Set extra_parts.
10514         (powerpc-*-lynxos*): Add to tmake_file.
10515         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
10516         rs6000/t-crtstuff, t-crtstuff-pic.
10517         Set extra_parts.
10518         (powerpcle-*-eabisim*): Likewise.
10519         (powerpcle-*-eabi*): Likewise.
10520         (rx-*-elf): Remove extra_parts.
10521         (s390x-ibm-tpf*): Set extra_parts.
10522         (score-*-elf): Set extra_parts.
10523         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10524         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10525         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10526         (sh64l*-*-netbsd*): Split into ...
10527         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
10528         Add t-crtstuff-pic to tmake_file.
10529         Set extra_parts.
10530         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
10531         Set extra_parts.
10532         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
10533         (sparc-*-elf*): Remove t-crtin from tmake_file.
10534         Add to extra_parts, remove crtbegin.o, crtend.o.
10535         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
10536         (sparc64-*-linux*): Likewise.
10537         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
10538         Add to extra_parts, remove crtbegin.o, crtend.o.
10539         (sparc64-*-elf*): Remove t-crtin from tmake_file.
10540         Add to extra_parts, remove crtbegin.o, crtend.o.
10541         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
10542         Add to extra_parts, remove crtbegin.o, crtend.o.
10543         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
10544         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
10545         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
10546         Set extra_parts.
10547         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
10548         Set extra_parts.
10549         (tic6x-*-*): Change to ...
10550         (tic6x-*-elf): ... this.
10551         Set extra_parts.
10552         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
10553         Set extra_parts.
10554         (am33_2.0-*-linux*): Add comment.
10555         (mep*-*-*): Add mep/t-mep to tmake_file.
10556         Set extra_parts.
10557         * config/alpha/t-vms: New file.
10558         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
10559         * config/arm/crti.S, config/arm/crtn.S: New files.
10560         * config/bfin/crti.S, config/bfin/crtn.S: New files.
10561         * config/bfin/crtlibid.S: New file.
10562         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
10563         * config/c6x/crti.S, config/c6x/crtn.S: New files.
10564         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
10565         (crti.o, crtin.o): New rules.
10566         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10567         * config/c6x/t-uclinux: New file.
10568         * config/cris/t-elfmulti: New file.
10569         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
10570         * config/fr30/crti.S, config/fr30/crtn.S: New files.
10571         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
10572         * config/frv/t-frv: New file.
10573         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
10574         * config/h8300/crti.S, config/h8300/crtn.S: New files.
10575         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
10576         New files.
10577         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
10578         refer to cygming-crtbegin.c, cygming-crtend.c.
10579         Use $<.
10580         * config/i386/t-nto: New file.
10581         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
10582         * config/ia64/crti.S, config/ia64/crtn.S: New files.
10583         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
10584         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
10585         Use .S extension.
10586         Use $<.
10587         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10588         (crtinitS.o): New rule.
10589         * config/ia64/vms-crtinit.S: New file.
10590         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
10591         * config/m32r/initfini.c: New file.
10592         * config/m32r/t-linux, config/m32r/t-m32r: New files.
10593         * config/m68k/crti.S, config/m68k/crtn.S: New files.
10594         * config/mcore/crti.S, config/mcore/crtn.S: New files.
10595         * config/mep/t-mep: New file.
10596         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
10597         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
10598         * config/mips/crti.S, config/mips/crtn.S: New files.
10599         * config/mips/t-crtstuff: New file.
10600         * config/mmix/crti.S, config/mmix/crtn.S: New files.
10601         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
10602         (CUSTOM_CRTIN): Set.
10603         ($(T)crti.o, $(T)crtn.o): Remove $(T),
10604         dependencies.
10605         Use $(srcdir) to refer to crti.S, crtn.S.
10606         Use .S extension, $<.
10607         * config/moxie/crti.asm: Rename to ...
10608         * config/moxie/crti.S: ... this.
10609         * config/moxie/crtn.asm: Rename to ...
10610         * config/moxie/crtn.S: ... this.
10611         * config/moxie/t-moxie: Remove.
10612         * config/pa/stublib.c: New file.
10613         * config/pa/t-stublib, config/pa/t-stublib64: New files.
10614         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
10615         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
10616         * config/rs6000/t-crtstuff: New file.
10617         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
10618         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
10619         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
10620         Make output file explicit.
10621         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
10622         Make output file explicit.
10623         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
10624         Make output file explicit.
10625         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
10626         Make output file explicit.
10627         * config/score/crti.S, config/score/crtn.S: New files.
10628         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
10629         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
10630         files.
10631         * config/sh/t-sh, config/sh/t-superh: New files.
10632         * config/sparc/t-linux64: New file.
10633         * config/spu/cache.S, config/spu/cachemgr.c: New files.
10634         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
10635         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
10636         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
10637         * config/t-crtin: Remove.
10638         * config/t-crtstuff-pic: New file.
10639         * config/t-sol2 (CUSTOM_CRTIN): Set.
10640         (crti.o, crtn.o): New rules.
10641         * config/vms/t-vms: New file.
10642         * config/vms/vms-ucrt0.c: New file.
10643         * config/xtensa/t-elf: New file.
10645 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10647         * Makefile.in (SHLIB_NM_FLAGS): Set.
10648         * mkmap-flat.awk, mkmap-symver.awk: New files.
10649         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
10650         exceptions.
10651         * configure: Regenerate.
10652         * config/libgcc-glibc.ver: New file.
10653         * config/libgcc-libsystem.ver: New file.
10654         * config/t-libunwind (SHLIB_LC): Set.
10655         * config/t-linux: New file.
10656         * config/t-slibgcc (INSTALL_SHLIB): New.
10657         (SHLIB_INSTALL): Use it.
10658         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
10659         to mkmap-symver.awk.
10660         (SHLIB_MAPFILES): Don't append, adapt pathname.
10661         (SHLIB_VERPFX): Set.
10662         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
10663         to mkmap-symver.awk.
10664         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
10665         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
10666         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
10667         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
10668         to mkmap-flat.awk.
10669         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
10670         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
10671         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
10672         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
10673         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
10674         * config/i386/libgcc-darwin.10.4.ver,
10675         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
10676         New files.
10677         * config/i386/t-darwin: Remove.
10678         * config/i386/t-darwin64: Likewise.
10679         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
10680         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
10681         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
10682         * config/i386/t-linux: New file.
10683         * config/i386/t-mingw32: New file.
10684         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
10685         * config/ia64/t-glibc: Rename to ...
10686         * config/ia64/t-linux: ... this.
10687         (SHLIB_MAPFILES): Set.
10688         * config/ia64/t-glibc-libunwind: Rename to ...
10689         * config/ia64/t-linux-libunwind: ... this.
10690         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
10691         * config/ia64/t-slibgcc-hpux: New file.
10692         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
10693         * config/m68k/t-slibgcc-elf-ver: New file.
10694         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
10695         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
10696         to mkmap-flat.awk.
10697         * config/pa/t-slibgcc-hpux: New file.
10698         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
10699         files.
10700         * config/rs6000/libgcc-darwin.10.4.ver,
10701         config/rs6000/libgcc-darwin.10.5.ver: New files.
10702         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
10703         config/rs6000/libgcc-glibc.ver.
10704         * config/rs6000/libgcc-ppc64.ver: Rename to
10705         config/rs6000/libgcc-ibm-ldouble.ver.
10706         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
10707         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
10708         * config/rs6000/t-ldbl128: Rename to ...
10709         * config/rs6000/t-linux: ... this.
10710         (SHLIB_MAPFILES): Adapt filename.
10711         * config/rs6000/t-slibgcc-aix: New file.
10712         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
10713         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
10714         libgcc-excl.ver, libgcc-glibc.ver.
10715         (SHLIB_LINK, SHLIB_INSTALL): Remove.
10716         * config/sparc/libgcc-glibc.ver: New file.
10717         * config/sparc/t-linux: New file.
10718         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
10719         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
10720         t-slibgcc-elf-ver to tmake_file.
10721         Add t-slibgcc-nolc-override to tmake_file for posix threads on
10722         *-*-freebsd[34].
10723         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10724         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
10725         t-slibgcc-elf-ver, t-linux to tmake_file.
10726         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
10727         tmake_file.
10728         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
10729         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
10730         (alpha*-dec-*vms*): Likewise.
10731         (arm*-*-freebsd*): Append to tmake_file.
10732         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
10733         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
10734         arm*-*-linux-*eabi.
10735         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
10736         tmake_file for arm*-*-symbianelf*.
10737         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
10738         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
10739         cris/t-linux.
10740         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
10741         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
10742         pa/t-slibgcc-dwarf-ver to tmake_file.
10743         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
10744         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
10745         (hppa*64*-*-hpux11*): Likewise.
10746         (hppa[12]*-*-hpux11*): Likewise.
10747         (x86_64-*-darwin*): Don't override tmake_file, but only keep
10748         i386/t-crtpc, i386/t-crtfm.
10749         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
10750         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10751         to tmake_file.
10752         Add i386/t-cygwin to tmake_file.
10753         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
10754         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
10755         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10756         to tmake_file.
10757         Add i386/t-mingw32 to tmake_file.
10758         (x86_64-*-mingw*): Likewise.
10759         (ia64*-*-freebsd*): Append to tmake_file.
10760         (ia64*-*-linux*): Append to tmake_file.
10761         Replace ia64/t-glibc by ia64/t-linux.
10762         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
10763         system libunwind.
10764         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
10765         t-slibgcc-hpux to tmake_file.
10766         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
10767         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
10768         (m32rle-*-linux*): Likewise.
10769         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
10770         sjlj exceptions.
10771         (microblaze*-linux*): New case.
10772         Append to tmake_file, add t-slibgcc-nolc-override.
10773         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
10774         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10775         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
10776         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10777         rs6000/t-slibgcc-aix to tmake_file.
10778         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10779         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10780         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10781         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10782         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10783         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
10784         sh*-*-linux*.
10785         (sparc-*-linux*): Append to tmake_file for *-leon*.
10786         Add sparc/t-linux to tmake_file for non-Leon targets.
10787         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
10788         (tic6x-*-uclinux): New case.
10789         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
10790         (tic6x-*-*): Add c6x/t-elf to tmake_file.
10791         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
10792         (am33_2.0-*-linux*): Append to tmake_file.
10793         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
10794         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
10795         x86_64-*-kfreebsd*-gnu.
10796         Add i386/t-linux to tmake_file.
10798 2011-10-28  Ian Lance Taylor  <iant@google.com>
10800         * config/i386/morestack.S: Correct CFI information to do proper
10801         returns throughout function.  In 32-bit mode, save %ebx so that it
10802         is restored on unwind.
10804 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
10806         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
10807         case where B3 isn't the return register.
10809         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
10810         logic for doubleword pops.
10812 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
10814         * config/rs6000/t-freebsd: Add wildcard.
10816 2011-10-21  Paul Brook  <paul@codesourcery.com>
10818         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
10820 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
10821             Eric Botcazou  <ebotcazou@adacore.com>
10823         PR target/50737
10824         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
10825         fs->signal_frame to 1.
10827 2011-10-07  Ian Lance Taylor  <iant@google.com>
10829         * generic-morestack-thread.c: #include <errno.h>.
10831 2011-10-07  Ian Lance Taylor  <iant@google.com>
10833         PR target/46093
10834         * generic-morestack.c (__generic_morestack): Make sure the segment
10835         is large enough for both the stack frame and the copied
10836         parameters.
10838 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10840         PR bootstrap/49804
10841         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
10842         extra_parts.
10844 2011-09-28  Nick Clifton  <nickc@redhat.com>
10846         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
10847         64-bit doubles are not enabled.
10848         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
10849         and floatunsisf functions.
10851 2011-09-13  Paul Brook  <paul@codesourcery.com>
10853         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
10854         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
10855         * unwind-arm-common.inc: New file.
10856         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
10857         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
10858         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
10859         * config/c6x/libunwind.S: New file.
10860         * config/c6x/pr-support.c: New file.
10861         * config/c6x/unwind-c6x.c: New file.
10862         * config/c6x/unwind-c6x.h: New file.
10863         * config/c6x/t-c6x-elf: New file.
10865 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
10867         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
10868         (ASM_DIVZERO): Ditto.
10869         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
10871 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
10873         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
10875 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
10877         PR target/50090
10878         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
10879         instead of an assembly one.
10881 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
10883         PR bootstrap/50047
10884         * Makefile.in (install-unwind_h): Create
10885         $(gcc_objdir)/include/unwind.h atomically.
10887 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10889         * Makefile.in (install-unwind_h): Remove destination file first.
10891 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10893         * sync.c: New file.
10894         * config/mips/t-mips16: New file.
10895         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
10896         (mips*-*-linux*): Likewise.
10897         (mips*-sde-elf*): Likewise.
10898         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
10899         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
10900         Add mips/t-mips16 to tmake_file.
10901         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
10902         (mips-*-elf*): Likewise.
10903         (mips64-*-elf*): Likewise.
10904         (mips64orion-*-elf*): Likewise.
10905         (mips*-*-rtems*): Likewise.
10906         (mipstx39-*-elf*): Likewise.
10907         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
10908         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
10909         LIBGCC_SYNC_CFLAGS.
10910         Use $(srcdir) to refer to sync.c.
10911         Use $<.
10912         ($(libgcc-sync-funcs-o)): Likewise.
10913         ($(libgcc-sync-size-funcs-s-o)): Likewise.
10914         ($(libgcc-sync-funcs-s-o)): Likewise.
10916 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
10918         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
10919         t-libunwind.
10921 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
10923         PR other/48007
10924         * config/i386/value-unwind.h: New.
10926 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
10928         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
10929         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
10930         Add to tmake_file rather than overriding it.
10932 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10934         * config/t-softfp: Remove.
10935         * soft-fp: Moved from ../gcc/config.
10936         * soft-fp/README: Remove t-softfp reference.
10937         * soft-fp/t-softfp: Move to config/t-softfp.
10938         (softfp_machine_header): Remove.
10939         (softfp_file_list): Remove config subdir.
10940         (soft-fp-objects): New variable.
10941         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
10942         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
10943         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
10944         * config/t-softfp-excl: New file.
10945         * config/t-softfp-sfdf: New file.
10946         * config/t-softfp-tf: New file.
10947         * config/no-sfp-machine.h: New file.
10948         * config/arm/sfp-machine.h: New file.
10949         * config/arm/t-softfp: New file.
10950         * config/c6x/sfp-machine.h: New file.
10951         * config/i386/32/t-fprules-softfp: Rename to ...
10952         * config/i386/32/t-softfp: ... this.
10953         (tifunctions, LIB2ADD): Remove.
10954         (softfp_int_modes): Override.
10955         * config/i386/64/t-softfp-compat (tf-functions): Remove config
10956         subdir.
10957         * config/i386/64/eqtf2.c: Likewise.
10958         * config/i386/64/getf2.c: Likewise.
10959         * config/i386/64/letf2.c: Likewise.
10960         * config/ia64/sft-machine.h: New file.
10961         * config/ia64/t-fprules-softfp: Rename to ...
10962         * config/ia64/t-softfp: ... this.
10963         * config/lm32/sfp-machine.h: New file.
10964         * config/moxie/t-moxie-softfp: Remove.
10965         * config/rs6000/ibm-ldouble-format: New file.
10966         * config/rs6000/ibm-ldouble.c: New file.
10967         * config/rs6000/libgcc-ppc-glibc.ver: New file
10968         * config/rs6000/libgcc-ppc64.ver: New file
10969         * config/rs6000/sfp-machine.h: New file.
10970         * config/rs6000/t-freebsd: New file.
10971         * config/rs6000/t-ibm-ldouble: New file.
10972         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
10973         libgcc-ppc-glibc.ver.
10974         * config/rs6000/t-linux64: New file.
10975         * config/rs6000/t-ppccomm (LIB2ADD): Add
10976         $(srcdir)/config/rs6000/ibm-ldouble.c.
10977         * config/rs6000/t-ppccomm-ldbl: New file.
10978         * config/score/sfp-machine.h: New file.
10979         * config.host (sfp_machine_header): Explain.
10980         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
10981         t-softfp to tmake_file.
10982         (arm*-*-uclinux*): Likewise.
10983         (arm*-*-ecos-elf): Likewise.
10984         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10985         (arm*-*-rtems*): Likewise.
10986         (arm*-*-elf): Likewise.
10987         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
10988         in tmake_file.
10989         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
10990         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
10991         (lm32-*-uclinux*): Likewise.
10992         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
10993         t-softfp-excl, t-softfp.
10994         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
10995         (powerpc64-*-darwin*): Likewise.
10996         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
10997         to tmake_file.
10998         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
10999         tmake_file.
11000         (powerpc-*-eabisim*): Likewise.
11001         (powerpc-*-elf*): Likewise.
11002         (powerpc-*-eabialtivec*): Likewise.
11003         (powerpc-xilinx-eabi*): Likewise.
11004         (powerpc-*-rtems*): Likewise.
11005         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
11006         t-softfp-excl, t-softfp to tmake_file.
11007         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
11008         rs6000/t-ppccomm-ldbl to tmake_file.
11009         (powerpcle-*-elf*): Likewise.
11010         (powerpcle-*-eabisim*): Likewise.
11011         (powerpcle-*-eabi*): Likewise.
11012         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11013         rs6000/t-ibm-ldouble to tmake_file.
11014         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11015         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11016         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
11017         (tic6x-*-*): Likewise.
11018         (i[34567]86-*-darwin*, x86_64-*-darwin*,
11019         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
11020         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
11021         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
11022         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
11023         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
11024         t-softfp to tmake_file.
11025         * configure.ac (sfp_machine_header): Provide default if unset.
11026         Substitute.
11027         Link sfp-machine.h to config/$sfp_machine_header.
11028         * configure: Regenerate.
11030 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11032         * Makefile.in (double_type_size, long_double_type_size): Set.
11033         Remove $(fpbit-in-libgcc) support.
11034         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
11035         (fpbit-src): New variable.
11036         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
11037         Compile with -DFLOAT $(FPBIT_CFLAGS).
11038         Use $<.
11039         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
11040         Compile with $(FPBIT_CFLAGS).
11041         Use $<.
11042         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
11043         Compile with -DFLOAT $(TPBIT_CFLAGS).
11044         Use $<.
11045         * configure.ac (double_type_size, long_double_type_size):
11046         Determine and substitute.
11047         * configure: Regenerate.
11048         * fp-bit.c, fp-bit.h: New files.
11049         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
11050         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
11051         * config/mips/t-mips: New file.
11052         * config/mips/t-sdemtk: New file.
11053         * config/rs6000/ppc64-fp.c: New file.
11054         * config/rs6000/t-darwin (LIB2ADD): Add
11055         $(srcdir)/config/rs6000/ppc64-fp.c.
11056         * config/rs6000/t-ppc64-fp: New file.
11057         * config/rx/rx-lib.h: New file.
11058         * config/rx/t-rx (FPBIT): Set to true.
11059         ($(gcc_objdir)/fp-bit.c): Remove.
11060         (DPBIT): Set to true only with -m64bit-doubles.
11061         ($(gcc_objdir)/dp-bit.c): Remove.
11062         * config/sparc/t-softfp: Remove.
11063         * config/spu/t-elf: New file.
11064         * config/t-fdpbit, config/t-fpbit: New files.
11065         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
11066         (mips*-*-*): Likewise.
11067         (arm-wrs-vxworks): Likewise.
11068         (arm*-*-freebsd*): Likewise.
11069         (avr-*-rtems*): Add t-fpbit to tmake_file.
11070         (avr-*-*): Likewise.
11071         (bfin*-elf*): Add t-fdpbit to tmake_file.
11072         (bfin*-uclinux*): Likewise.
11073         (bfin*-linux-uclibc*): Likewise.
11074         (bfin*-rtems*): New case.
11075         Add t-fdpbit to tmake_file.
11076         (bfin*-*): Add t-fdpbit to tmake_file.
11077         (crisv32-*-elf): Likewise.
11078         (cris-*-linux*): Likewise.
11079         (fr30-*-elf): Likewise.
11080         (frv-*-elf, frv-*-*linux*): Likewise.
11081         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
11082         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
11083         (m32r-*-elf*): Likewise.
11084         (m32rle-*-elf*): Likewise.
11085         (m32r-*-linux*): Likewise.
11086         (m32rle-*-linux*): Likewise.
11087         (mcore-*-elf): Add t-fdpbit to tmake_file.
11088         (microblaze*-*-*): Likewise.
11089         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
11090         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
11091         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
11092         Fix typo.
11093         Add mips/t-tpbit to tmake-file.
11094         (mips*-*-linux*): Fix typo.
11095         (mips*-sde-elf*): New case
11096         Add mips/t-sdemtk unless using newlib.
11097         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
11098         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
11099         (mn10300-*-*): Likewise.
11100         (pdp11-*-*): Likewise.
11101         (picochip-*-*): Add t-fpbit to tmake_file.
11102         (powerpc-*-eabisimaltivec*): Likewise.
11103         (powerpc-*-eabisim*): Likewise.
11104         (powerpc-*-elf*): Likewise.
11105         (powerpc-*-eabialtivec*): Likewise.
11106         (powerpc-xilinx-eabi*): New case.
11107         Add t-fdpbit to tmake_file.
11108         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
11109         (powerpc-*-rtems*): Likewise.
11110         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
11111         tmake_file.
11112         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
11113         tmake_file.
11114         (powerpc-*-lynxos*): Likewise.
11115         (powerpcle-*-elf*): Likewise.
11116         (powerpcle-*-eabisim*): Likewise.
11117         (powerpcle-*-eabi*): Likewise.
11118         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11119         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
11120         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11121         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11122         (rx-*-elf): Add t-fdpbit to tmake_file.
11123         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11124         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11125         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11126         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
11127         sh*-*-netbsd*.
11128         (sh-*-rtems*): Add t-fdpbit to tmake_file.
11129         (sh-wrs-vxworks): Likewise.
11130         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
11131         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
11132         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
11133         (sparc64-*-rtems*): ... new case.
11134         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
11135         (spu-*-elf*): Likewise.
11136         Add spu/t-elf to tmake_file.
11137         (v850*-*-*): Add t-fdpbit to tmake_file.
11138         (xstormy16-*-elf): Likewise.
11139         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
11140         (mep*-*-*): Likewise.
11142 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11144         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
11145         variables.
11146         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
11147         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
11148         (install-unwind_h): New target.
11149         (all): Depend on it.
11150         * config.host (unwind_header): New variable.
11151         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
11152         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11153         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
11154         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
11155         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
11156         Set unwind_header.
11157         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
11158         Set unwind_header.
11159         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
11160         arm*-*-eabi*.
11161         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
11162         Set unwind_header.
11163         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
11164         (ia64*-*-freebsd*): Likewise.
11165         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
11166         tmake_file.
11167         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
11168         $with_system_libunwind.
11169         (ia64*-*-hpux*): Set tmake_file.
11170         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
11171         (picochip-*-*): Set tmake_file.
11172         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
11173         md_unwind_header.
11174         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11175         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11176         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
11177         (xtensa*-*-elf*): Set tmake_file.
11178         (xtensa*-*-linux*): Likewise.
11179         * configure.ac: Include ../config/unwind_ipinfo.m4.
11180         Call GCC_CHECK_UNWIND_GETIPINFO.
11181         Link unwind.h to $unwind_header.
11182         * configure: Regenerate.
11183         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
11184         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
11185         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
11186         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
11187         * config/unwind-dw2-fde-darwin.c: New file.
11188         * config/arm/libunwind.S, config/arm/pr-support.c,
11189         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
11190         config/arm/unwind-arm.h,: New files.
11191         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
11192         config/ia64/t-eh-ia64, config/ia64/t-glibc,
11193         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
11194         config/ia64/t-vms, config/ia64/unwind-ia64.c,
11195         config/ia64/unwind-ia64.h: New files.
11196         * config/picochip/t-picochip: New file.
11197         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
11198         files.
11199         * config/rs6000/t-darwin (LIB2ADDEH): Set.
11200         * config/s390/t-tpf (LIB2ADDEH): Remove.
11201         * config/t-darwin (LIB2ADDEH): Set.
11202         * config/t-eh-dw2-dip: New file.
11203         * config/t-libunwind, config/t-libunwind-elf: New files.
11204         * config/t-sol2 (LIB2ADDEH): Remove.
11205         * config/xtensa/t-xtensa: New file.
11207 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
11209         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
11210         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
11211         long long to check rt_sigreturn syscall.
11213 2011-08-02  Alan Modra  <amodra@gmail.com>
11215         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11216         Restore for indirect call bcrtl from correct stack slot, and only
11217         if cfa+40 isn't valid.
11219 2011-08-01  Julian Brown  <julian@codesourcery.com>
11221         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
11222         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
11223         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
11225 2011-08-01  Julian Brown  <julian@codesourcery.com>
11227         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
11228         (libgcc-std.ver.in): Use above.
11229         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
11230         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
11231         throughout file.
11232         * config/t-fixedpoint-gnu-prefix: New file.
11233         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
11234         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
11235         instead of __PFX__.
11237 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
11239         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
11240         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
11241         for x86-64.  Properly check __x86_64__ and __LP64__.
11243 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
11245         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
11246         version.
11247         (_FP_WS_TYPE): Likewise.
11248         (_FP_I_TYPE): Likewise.
11250 2011-07-28  Alan Modra  <amodra@gmail.com>
11252         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11253         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
11254         in a plt call stub.  Do restore r2 if stopped on bctrl.
11256 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11258         * config.host (i[3456x]86-*-netware*): Remove.
11259         * config/i386/netware-crt0.c, config/i386/t-nwld,
11260         config/i386/t-slibgcc-nwld: Remove.
11262 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
11264         * config.host: Handle tic6x-*-*.
11265         * config/c6x/c6x-abi.h: New file.
11267 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11269         * config/i386/crtprec.c: New file.
11270         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
11271         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
11272         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
11273         (x86_64-*-darwin*): Likewise.
11274         (i[34567]86-*-solaris2*: Likewise.
11276 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11278         * config/alpha/crtfastmath.c: New file.
11279         * config/i386/crtfastmath.c: New file.
11280         * config/ia64/crtfastmath.c: New file.
11281         * config/mips/crtfastmath.c: New file.
11282         * config/sparc/crtfastmath.c: New file.
11284         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
11285         crtfastmath.c.
11286         Add -frandom-seed=gcc-crtfastmath.
11287         * config/alpha/t-crtfm: Remove.
11288         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
11289         * config/ia64/t-ia64 (crtfastmath.o): Remove.
11291         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
11292         (alpha*-dec-osf5.1*): Likewise.
11293         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
11294         Add crtfastmath.o to extra_parts.
11295         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
11296         Add crtfastmath.o to extra_parts.
11297         (x86_64-*-darwin*): Likewise.
11298         (x86_64-*-mingw*): Likewise.
11299         (ia64*-*-elf*): Add t-crtfm to tmake_file.
11300         (ia64*-*-freebsd*): Likewise.
11301         (ia64*-*-linux*): Likewise.
11302         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
11303         Add crtfastmath.o to extra_parts.
11305 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11307         * config/darwin-crt3.o: New file.
11308         * config/rs6000/darwin-crt2.c: New file.
11309         * config/t-darwin: New file.
11310         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
11311         (crt2.o): New rule.
11312         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
11313         (powerpc-*-darwin*): Add crt2.o to extra_parts.
11314         (powerpc64-*-darwin*): Likewise.
11316 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11318         * config/i386/netware-crt0.c: New file.
11319         * config/i386/t-nwld: Rename to ...
11320         * config/i386/t-slibgcc-nwld: ... this.
11321         * config/i386/t-nwld: New file.
11322         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
11323         tmake_file.
11324         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
11325         extra_parts.
11327 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11329         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
11330         i386/t-crtstuff.
11331         * configure: Regenerate.
11333 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11335         * dfp-bit.c, dfp-bit.h: New files.
11336         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
11337         variables.
11338         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
11339         ($(d64pbit-o)): Likewise.
11340         ($(d128pbit-o)): Likewise.
11341         * config/t-dfprules: New file.
11342         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
11343         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
11344         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11345         (x86_64-*-linux*): Likewise.
11346         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11347         (i[34567]86-*-cygwin*): Likewise.
11348         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
11349         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11351 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11353         * Makfile.in (LIBGCOV): New variable.
11354         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
11355         * libgcov.c: New file.
11357 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11359         * fixed-bit.c, fixed-bit.h: New files.
11360         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
11361         refer to fixed-bit.c.
11363 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
11365         * config.host (*local*): Remove.
11367 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11369         PR target/39150
11370         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
11371         like i?86-*-solaris2.1[0-9]*.
11372         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
11373         * configure.ac (i?86-*-solaris2*): Likewise.
11374         * configure: Regenerate.
11376 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
11378         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11379         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
11380         md_unwind_header by splitting out of...
11381         (i[34567]86-*-linux*): ... this.
11382         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
11383         Remove md_unwind_header by splitting out of...
11384         (x86_64-*-linux*): ... this.
11386 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
11388         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
11390 2011-06-28  Nick Clifton  <nickc@redhat.com>
11392         * config.host: Recognize all V850 variants.
11394 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
11396         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
11398 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11400         * shared-object.mk (c_flags-$o): Save c_flags.
11401         ($(base)$(objext)): Use it.
11402         ($(base)_s$(objext)): Likewise.
11404 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
11406         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
11407         * libgcc-std.ver.in (GCC_4.7.0): New section.
11409 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
11411         PR target/49313
11412         PR target/29524
11413         * config/avr/t-avr: Fix line endings.
11414         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
11415         _parityXX2.
11417 2011-06-14  Olivier Hainque  <hainque@adacore.com>
11418             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11420         * config/mips/irix6-unwind.h: New file.
11421         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
11423 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
11425         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
11426         (sparc64_fallback_frame_state): Use it.
11427         (sparc64_frob_update_context): Further adjust context.
11428         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
11429         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
11430         * config/sparc/sol2-cn.S: Likewise.
11432 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11434         * enable-execute-stack-empty.c: New file.
11435         * enable-execute-stack-mprotect.c: New file.
11436         * config/i386/enable-execute-stack-mingw32.c: New file.
11437         * config.host (enable_execute_stack): New variable.
11438         Select appropriate variants.
11439         * configure.ac: Link enable-execute-stack.c to
11440         $enable_execute_stack.
11441         * configure: Regenerate.
11442         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
11443         (lib2funcs): Remove _enable_execute_stack.
11445 2011-06-09  David S. Miller  <davem@davemloft.net>
11446             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11448         * config.host (sparc-*-linux*): Correct md_unwind_header
11449         filename.
11450         (s390x-ibm-tpf*): Fix typo.
11452 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11454         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
11455         Add crtfastmath.o to extra_parts.
11456         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
11457         mips/t-crtfm.
11458         * config/mips/t-crtfm: Remove.
11460 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
11462         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
11464 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
11466         * config.host (sh*-*-linux*): Fix typo.
11468 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11470         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
11471         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
11472         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
11473         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
11474         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
11475         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
11476         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
11477         Wrap in !__MINGW64__.
11478         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
11479         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
11480         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
11481         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
11482         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
11483         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
11484         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
11485         Wrap in !__LP64__.
11486         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
11487         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
11488         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
11489         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
11490         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
11491         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
11492         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
11493         * config/no-unwind.h: New file.
11494         * config.host (md_unwind_header): Document.
11495         Define.
11496         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
11497         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
11498         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
11499         hppa[12]*-*-hpux11*): Set md_unwind_header.
11500         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
11501         Set md_unwind_header.
11502         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
11503         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
11504         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
11505         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
11506         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
11507         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
11508         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
11509         md_unwind_header.
11510         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
11511         * configure: Regenerate.
11513 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11515         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
11516         Set tmake_file, extra_parts.
11517         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
11518         Remove O32 support.
11519         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
11520         Remove O32 support.
11521         * config/mips/t-irix6: New file.
11522         * config/mips/t-slibgcc-irix: New file.
11524 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11526         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
11527         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
11529 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11531         * configure.ac (target_thread_file): Determine thread model.
11532         * configure: Regenerate.
11533         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
11534         * config/alpha/t-alpha: New file.
11535         * config/alpha/t-crtfm: Use $<.
11536         * config/alpha/t-ieee: New file.
11537         * config/alpha/t-osf-pthread: New file.
11538         * config/alpha/t-slibgcc-osf: New file.
11539         * config/alpha/libgcc-osf5.ver: New file.
11541 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11543         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
11544         tmake_file.
11545         Add crtfastmath.o to extra_parts.
11547 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11549         * config/gmon-sol2.c: Reindent.
11550         Cleanup comments.
11551         Remove, correct casts.
11552         Use STDERR_FILENO, NULL.
11553         (BASEADDRESS): Remove.
11554         (minbrk): Remove.
11555         (errno, sbrk): Remove declarations.
11556         (monstartup) [hp300]: Remove.
11557         (mcount): Remove.
11559 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11561         * Makefile.in (cpu_type): Define.
11562         * config.host (i[34567]86-*-rtems*): Handle it.
11563         (i[34567]86-*-solaris2*): Move body ...
11564         (*-*-solaris2*): ... here.
11565         New case, generalize.
11566         (sparc-*-elf*): Handle it.
11567         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
11568         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
11569         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
11570         Fold into ...
11571         (sparc*-*-solaris2*): ... this.
11572         New case.
11573         (sparc64-*-elf*): Handle it.
11574         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
11575         Merge ../gcc/config/i386/gmon-sol2.c.
11576         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
11577         Use C comments.
11578         Merge ../gcc/config/i386/sol2-gc1.asm.
11579         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
11580         Use C comments.
11581         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
11582         Use C comments.
11583         * config/i386/t-crtfm (crtfastmath.o): Use $<.
11584         * config/i386/t-crtstuff: New file.
11585         * config/i386/t-softfp: New file.
11586         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
11587         $(T)crti.o, $(T)crtn.o): Remove.
11588         (gcrt1.o): New rule.
11589         (TARGET_LIBGCC2_CFLAGS): Remove.
11590         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
11591         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
11592         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
11593         * config/sparc/t-sol2: New file.
11594         * config/sparc/t-crtfm: Move to ...
11595         * config/t-crtfm: ... this.
11596         Use $(cpu_type), $<.
11597         * config/t-crtin: New file.
11598         * config/sparc/t-softfp: New file.
11599         * config/sparc/t-softmul: New file.
11600         * config/t-rtems: New file.
11601         * config/t-slibgcc: New file.
11602         * config/t-slibgcc-elf-ver: New file.
11603         * config/t-slibgcc-gld: New file.
11604         * config/t-slibgcc-sld: New file.
11605         * config/t-sol2: New file.
11606         * configure.ac: Include ../config/lib-ld.m4.
11607         Call AC_LIB_PROG_LD_GNU.
11608         Substitute cpu_type.
11609         * configure: Regenerate.
11611 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
11613         PR bootstrap/49173
11614         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
11615         libgcc-std.ver in the build directory.
11616         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
11617         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
11619 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
11621         * libgcc-std.ver.in: New file.
11622         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
11623         variables.
11624         (libgcc-std.ver): New rule.
11625         * config/t-gnu-prefix: New file.
11627 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11629         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
11631 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
11633         * config/i386/darwin-lib.h: New file.
11635 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
11637         * config/arm/symbian-lib.h: New.
11639 2011-05-04  Chris Demetriou  <cgd@google.com>
11641         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
11642         (__x86.get_pc_thunk.bx): ...this.
11643         (__morestack): Adjust for rename, remove undef of __i686.
11645 2011-05-03  Chris Demetriou  <cgd@google.com>
11647         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
11649 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
11651         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
11652         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
11653         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
11654         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
11655         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
11656         Remove cases.
11658 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
11660         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
11661         Adjust copyright year.
11663 2011-03-07  Ian Lance Taylor  <iant@google.com>
11665         * generic-morestack.c (__splitstack_find): Adjust returned stack
11666         pointer to include all registers pushed by __morestack.
11668 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
11670         PR target/40125
11671         * configure.ac: Call ACX_NONCANONICAL_TARGET.
11672         (toolexecdir): Calculate and AC_SUBST.
11673         (toolexeclibdir): Likewise.
11674         * Makefile.in (target_noncanonical): Import.
11675         (toolexecdir): Likewise.
11676         (toolexeclibdir): Likewise.
11677         * configure: Regenerate.
11679 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
11681         PR target/46040
11682         * config/arm/bpabi.h: Rename to...
11683         * config/arm/bpabi-lib.h: ...this.
11685 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11687         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
11688         appropriate.
11689         * configure: Regenerate.
11691 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
11693         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
11694         __FLOAT_WORD_ORDER__.
11695         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
11696         Delete.
11698 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11700         PR other/46202
11701         * Makefile.in (install-strip): New phony target.
11703 2010-11-07  Ian Lance Taylor  <iant@google.com>
11705         PR target/46089
11706         * config/i386/morestack.S (__morestack_large_model): New
11707         function.
11709 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
11711         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
11712         Delete.
11713         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
11715 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
11717         * config/arm/bpabi.h: New file.
11718         * config/frv/frv-abi.h: New file.
11720 2010-10-01  Ian Lance Taylor  <iant@google.com>
11722         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
11723         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
11725 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
11727         PR target/45858
11728         * config.host: Add the missing `$'.
11730 2010-09-30  Michael Eager  <eager@eagercon.com>
11732         * config.host: Add microblaze*-*-*.
11733         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
11734         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
11735         udivsi3.asm,umodsi3.asm}:  New.
11737 2010-09-28  Ian Lance Taylor  <iant@google.com>
11739         * configure.ac: Adjust CFI test to test assembler directly rather
11740         than checking gcc preprocessor macro.
11741         * configure: Rebuild.
11743 2010-09-27  Ian Lance Taylor  <iant@google.com>
11745         * configure.ac: Test whether assembler supports CFI directives.
11746         * config.host: Only add t-stack and i386/t-stack-i386 to
11747         tmake_file if libgcc_cv_cfi is "yes".
11748         * configure: Rebuild.
11750 2010-09-27  Ian Lance Taylor  <iant@google.com>
11752         * generic-morestack.h: New file.
11753         * generic-morestack.c: New file.
11754         * generic-morestack-thread.c: New file.
11755         * config/i386/morestack.S: New file.
11756         * config/t-stack: New file.
11757         * config/i386/t-stack-i386: New file.
11758         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
11759         i386/t-stack-i386 to tmake_file.
11761 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
11763         * Makefile.in (libgcc-extra-parts):  Check for static archives and
11764         invoke ranlib after installing them.
11765         (gcc-extra-parts): Likewise.
11766         (install-leaf): Likewise.
11768 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
11770         * configure: Regenerated.
11772 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
11774         * configure: Regenerated.
11776 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
11777             Andrew Pinski  <pinskia@gmail.com>
11779         PR target/40959
11780         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
11782 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
11784         PR target/45524
11785         * configure: Regenerated.
11787 2010-09-06  Andreas Schwab  <schwab@redhat.com>
11789         * configure: Regenerate.
11791 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
11793         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
11794         64bit targets.
11795         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
11796         for 64bit targets.
11798 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
11799             Iain Sandoe  <iains@gcc.gnu.org>
11801         PR target/45476
11802         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
11803         LIB2FUNCS_EXCLUDE functions.
11805 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11807         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
11808         Include dfp.m4.
11809         * configure: Regenerate.
11811 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
11813         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
11814         i386/t-freebsd to tmake_file.
11815         * config/i386/t-freebsd: New file.
11816         * config/i386/libgcc-bsd.ver: New file.
11818 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
11820         * config.host (powerpc*-eabispe*): Set tmake_file.
11821         (powerpc*-eabi*): Likewise.
11822         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
11823         crtbeginS, crtendS, crtbeginT.
11825 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
11827         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
11828         to tmake_file.  Add crtfastmath.o to extra_parts.
11829         * config/mips/t-crtfm: New.
11831 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
11833         * config.host (sparc64-*-rtems*): New target.
11835 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11837         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11838         assembler syntax.
11840 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
11842         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
11844 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11846         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
11847         alpha-dec-osf5.0* support.
11849 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
11851         * config.host: Add lm32-*-rtems*.
11853 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11854             Uros Bizjak  <ubizjak@gmail.com>
11856         PR target/39048
11857         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
11858         like other remaining 32-bit x86 OSes.
11859         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11860         assembler syntax.
11861         * config/i386/libgcc-sol2.ver: New file.
11862         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
11864 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
11866         PR c/43553
11867         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
11868         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
11869         is used and substitute set_use_emutls.
11870         * configure: Regenerated.
11872 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
11874         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
11876 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11878         PR target/38085
11879         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
11880         MULTILIB_CFLAGS.
11881         ($(T)gcrt1.o): Likewise.
11882         ($(T)crt1.o): Likewise.
11883         ($(T)crti.o): Likewise.
11884         ($(T)crtn.o): Likewise.
11886 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11888         PR other/42980
11889         * Makefile.in (install): Use $(MAKE) string in rule, for
11890         parallel make.
11892 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
11894         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
11895         * config/mmix/t-mmix: New file.
11896         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
11898 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
11900         PR java/41991
11901         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
11902         SHLIB_MAPFILES.
11904 2010-01-04  Anthony Green  <green@moxielogic.com>
11906         * config/moxie/crti.asm, config/moxie/crtn.asm,
11907         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
11908         config/moxie/t-moxie: New files.
11909         * config.host: Add t-moxie-softfp reference.
11911 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
11913         PR other/39888
11914         * config/t-slibgcc-darwin: Fix embedded rpaths for
11915         --enable-version-specific-runtime-libs, build extension stub
11916         libs exposing features available from current libgcc_s.
11918 2009-11-11  Jon Beniston  <jon@beniston.com>
11920         * config.host: Add lm32 targets.
11921         * config/lm32: New directory.
11922         * config/lm32/libgcc_lm32.h: New file.
11923         * config/lm32/_mulsi3.c: New file.
11924         * config/lm32/_udivmodsi4.c: New file.
11925         * config/lm32/_divsi3.c: New file.
11926         * config/lm32/_modsi3.c: New file.
11927         * config/lm32/_udivsi3.c: New file.
11928         * config/lm32/_umodsi3.c: New file.
11929         * config/lm32/_lshrsi3.S: New file.
11930         * config/lm32/_ashrsi3.S: New file.
11931         * config/lm32/_ashlsi3.S: New file.
11932         * config/lm32/crti.S: New file.
11933         * config/lm32/crtn.S: New file.
11934         * config/lm32/t-lm32: New file.
11935         * config/lm32/t-elf: New file.
11936         * config/lm32/t-uclinux: New file.
11938 2009-10-26  Nick Clifton  <nickc@redhat.com>
11940         * config.host: Add support for RX target.
11941         * config/rx: New directory.
11942         * config/rx/rx-abi-functions.c: New file. Supplementary
11943         functions for libgcc to support the RX ABI.
11944         * config/rx/rx-abi.h: New file.  Supplementary header file for
11945         libgcc RX ABI functions.
11946         * config/rx/t-rx: New file: Makefile fragment for building
11947         libgcc for the RX.
11949 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
11951         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
11952         constraint of y0 to "g".
11954 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11956         * config.host: Include the s390 makefile fragments.
11957         * config/s390/32/_fixdfdi.c: New file.
11958         * config/s390/32/_fixsfdi.c: New file.
11959         * config/s390/32/_fixtfdi.c: New file.
11960         * config/s390/32/_fixunsdfdi.c: New file.
11961         * config/s390/32/_fixunssfdi.c: New file.
11962         * config/s390/32/_fixunstfdi.c: New file.
11963         * config/s390/32/t-floattodi: New file.
11964         * config/s390/libgcc-glibc.ver: New file.
11965         * config/s390/t-crtstuff: New file.
11966         * config/s390/t-linux: New file.
11967         * config/s390/t-tpf: New file.
11969 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11971         * configure.ac (AC_PREREQ): Bump to 2.64.
11973 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
11975         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
11977 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11979         * configure: Regenerate.
11981 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
11983         * config.host (ia64-hp-*vms*): New target.
11984         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
11985         with ia64-hp-*vms*.
11987 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11989         * configure.ac: Add snippet for maintainer-mode.
11990         * configure: Regenerate.
11991         * Makefile.in (AUTOCONF, configure_deps): New variables.
11992         ($(srcdir)/configure)): New rule, active only with maintainer
11993         mode turned on.
11995 2009-06-23  DJ Delorie  <dj@redhat.com>
11997         Add MeP port.
11998         * config.host: Add mep support.
12000 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
12002         * config.host: Add i386/${host_address}/t-fprules-softfp and
12003         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
12005         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
12006         for mingw targets.
12007         * config/i386/64/_multc3.c: Likewise.
12008         * config/i386/64/_powitf2.c: Likewise.
12009         * config/i386/64/eqtf2.c: Likewise.
12010         * config/i386/64/getf2.c: Likewise.
12011         * config/i386/64/letf2.c: Likewise.
12012         * config/i386/64/letf2.c: Likewise.
12013         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
12014         unsigned long long for x64 mingw targets.
12015         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
12016         (_FP_I_TYPE): Define as long long for x64 mingw target.
12018 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
12020         * config.host (vax-*-linux*): New.
12022 2009-05-31  Anthony Green  <green@moxielogic.com>
12024         * config.host: Add moxie support.
12025         * config/moxie/t-moxie: New file.
12027 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
12029         * config.host: Add i386/${host_address}/t-fprules-softfp and
12030         t-softfp to tmake_file for i[34567]86-*-cygwin*.
12032 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
12034         * config.host: Add i386/${host_address}/t-fprules-softfp to
12035         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
12037 2009-04-09  Nick Clifton  <nickc@redhat.com>
12039         * config/ia64/tf-signs.c: Change copyright header to refer to
12040         version 3 of the GNU General Public License with version 3.1
12041         of the GCC Runtime Library Exception and to point readers at
12042         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
12043         web page.
12044         * config/i386/32/tf-signs.c: Likewise.
12045         * config/libbid/_addsub_dd.c: Likewise.
12046         * config/libbid/_addsub_sd.c: Likewise.
12047         * config/libbid/_addsub_td.c: Likewise.
12048         * config/libbid/_dd_to_df.c: Likewise.
12049         * config/libbid/_dd_to_di.c: Likewise.
12050         * config/libbid/_dd_to_sd.c: Likewise.
12051         * config/libbid/_dd_to_sf.c: Likewise.
12052         * config/libbid/_dd_to_si.c: Likewise.
12053         * config/libbid/_dd_to_td.c: Likewise.
12054         * config/libbid/_dd_to_tf.c: Likewise.
12055         * config/libbid/_dd_to_udi.c: Likewise.
12056         * config/libbid/_dd_to_usi.c: Likewise.
12057         * config/libbid/_dd_to_xf.c: Likewise.
12058         * config/libbid/_df_to_dd.c: Likewise.
12059         * config/libbid/_df_to_sd.c: Likewise.
12060         * config/libbid/_df_to_td.c: Likewise.
12061         * config/libbid/_di_to_dd.c: Likewise.
12062         * config/libbid/_di_to_sd.c: Likewise.
12063         * config/libbid/_di_to_td.c: Likewise.
12064         * config/libbid/_div_dd.c: Likewise.
12065         * config/libbid/_div_sd.c: Likewise.
12066         * config/libbid/_div_td.c: Likewise.
12067         * config/libbid/_eq_dd.c: Likewise.
12068         * config/libbid/_eq_sd.c: Likewise.
12069         * config/libbid/_eq_td.c: Likewise.
12070         * config/libbid/_ge_dd.c: Likewise.
12071         * config/libbid/_ge_sd.c: Likewise.
12072         * config/libbid/_ge_td.c: Likewise.
12073         * config/libbid/_gt_dd.c: Likewise.
12074         * config/libbid/_gt_sd.c: Likewise.
12075         * config/libbid/_gt_td.c: Likewise.
12076         * config/libbid/_isinfd128.c: Likewise.
12077         * config/libbid/_isinfd32.c: Likewise.
12078         * config/libbid/_isinfd64.c: Likewise.
12079         * config/libbid/_le_dd.c: Likewise.
12080         * config/libbid/_le_sd.c: Likewise.
12081         * config/libbid/_le_td.c: Likewise.
12082         * config/libbid/_lt_dd.c: Likewise.
12083         * config/libbid/_lt_sd.c: Likewise.
12084         * config/libbid/_lt_td.c: Likewise.
12085         * config/libbid/_mul_dd.c: Likewise.
12086         * config/libbid/_mul_sd.c: Likewise.
12087         * config/libbid/_mul_td.c: Likewise.
12088         * config/libbid/_ne_dd.c: Likewise.
12089         * config/libbid/_ne_sd.c: Likewise.
12090         * config/libbid/_ne_td.c: Likewise.
12091         * config/libbid/_sd_to_dd.c: Likewise.
12092         * config/libbid/_sd_to_df.c: Likewise.
12093         * config/libbid/_sd_to_di.c: Likewise.
12094         * config/libbid/_sd_to_sf.c: Likewise.
12095         * config/libbid/_sd_to_si.c: Likewise.
12096         * config/libbid/_sd_to_td.c: Likewise.
12097         * config/libbid/_sd_to_tf.c: Likewise.
12098         * config/libbid/_sd_to_udi.c: Likewise.
12099         * config/libbid/_sd_to_usi.c: Likewise.
12100         * config/libbid/_sd_to_xf.c: Likewise.
12101         * config/libbid/_sf_to_dd.c: Likewise.
12102         * config/libbid/_sf_to_sd.c: Likewise.
12103         * config/libbid/_sf_to_td.c: Likewise.
12104         * config/libbid/_si_to_dd.c: Likewise.
12105         * config/libbid/_si_to_sd.c: Likewise.
12106         * config/libbid/_si_to_td.c: Likewise.
12107         * config/libbid/_td_to_dd.c: Likewise.
12108         * config/libbid/_td_to_df.c: Likewise.
12109         * config/libbid/_td_to_di.c: Likewise.
12110         * config/libbid/_td_to_sd.c: Likewise.
12111         * config/libbid/_td_to_sf.c: Likewise.
12112         * config/libbid/_td_to_si.c: Likewise.
12113         * config/libbid/_td_to_tf.c: Likewise.
12114         * config/libbid/_td_to_udi.c: Likewise.
12115         * config/libbid/_td_to_usi.c: Likewise.
12116         * config/libbid/_td_to_xf.c: Likewise.
12117         * config/libbid/_tf_to_dd.c: Likewise.
12118         * config/libbid/_tf_to_sd.c: Likewise.
12119         * config/libbid/_tf_to_td.c: Likewise.
12120         * config/libbid/_udi_to_dd.c: Likewise.
12121         * config/libbid/_udi_to_sd.c: Likewise.
12122         * config/libbid/_udi_to_td.c: Likewise.
12123         * config/libbid/_unord_dd.c: Likewise.
12124         * config/libbid/_unord_sd.c: Likewise.
12125         * config/libbid/_unord_td.c: Likewise.
12126         * config/libbid/_usi_to_dd.c: Likewise.
12127         * config/libbid/_usi_to_sd.c: Likewise.
12128         * config/libbid/_usi_to_td.c: Likewise.
12129         * config/libbid/_xf_to_dd.c: Likewise.
12130         * config/libbid/_xf_to_sd.c: Likewise.
12131         * config/libbid/_xf_to_td.c: Likewise.
12132         * config/libbid/bid128.c: Likewise.
12133         * config/libbid/bid128_2_str.h: Likewise.
12134         * config/libbid/bid128_2_str_macros.h: Likewise.
12135         * config/libbid/bid128_2_str_tables.c: Likewise.
12136         * config/libbid/bid128_add.c: Likewise.
12137         * config/libbid/bid128_compare.c: Likewise.
12138         * config/libbid/bid128_div.c: Likewise.
12139         * config/libbid/bid128_fma.c: Likewise.
12140         * config/libbid/bid128_logb.c: Likewise.
12141         * config/libbid/bid128_minmax.c: Likewise.
12142         * config/libbid/bid128_mul.c: Likewise.
12143         * config/libbid/bid128_next.c: Likewise.
12144         * config/libbid/bid128_noncomp.c: Likewise.
12145         * config/libbid/bid128_quantize.c: Likewise.
12146         * config/libbid/bid128_rem.c: Likewise.
12147         * config/libbid/bid128_round_integral.c: Likewise.
12148         * config/libbid/bid128_scalb.c: Likewise.
12149         * config/libbid/bid128_sqrt.c: Likewise.
12150         * config/libbid/bid128_string.c: Likewise.
12151         * config/libbid/bid128_to_int16.c: Likewise.
12152         * config/libbid/bid128_to_int32.c: Likewise.
12153         * config/libbid/bid128_to_int64.c: Likewise.
12154         * config/libbid/bid128_to_int8.c: Likewise.
12155         * config/libbid/bid128_to_uint16.c: Likewise.
12156         * config/libbid/bid128_to_uint32.c: Likewise.
12157         * config/libbid/bid128_to_uint64.c: Likewise.
12158         * config/libbid/bid128_to_uint8.c: Likewise.
12159         * config/libbid/bid32_to_bid128.c: Likewise.
12160         * config/libbid/bid32_to_bid64.c: Likewise.
12161         * config/libbid/bid64_add.c: Likewise.
12162         * config/libbid/bid64_compare.c: Likewise.
12163         * config/libbid/bid64_div.c: Likewise.
12164         * config/libbid/bid64_fma.c: Likewise.
12165         * config/libbid/bid64_logb.c: Likewise.
12166         * config/libbid/bid64_minmax.c: Likewise.
12167         * config/libbid/bid64_mul.c: Likewise.
12168         * config/libbid/bid64_next.c: Likewise.
12169         * config/libbid/bid64_noncomp.c: Likewise.
12170         * config/libbid/bid64_quantize.c: Likewise.
12171         * config/libbid/bid64_rem.c: Likewise.
12172         * config/libbid/bid64_round_integral.c: Likewise.
12173         * config/libbid/bid64_scalb.c: Likewise.
12174         * config/libbid/bid64_sqrt.c: Likewise.
12175         * config/libbid/bid64_string.c: Likewise.
12176         * config/libbid/bid64_to_bid128.c: Likewise.
12177         * config/libbid/bid64_to_int16.c: Likewise.
12178         * config/libbid/bid64_to_int32.c: Likewise.
12179         * config/libbid/bid64_to_int64.c: Likewise.
12180         * config/libbid/bid64_to_int8.c: Likewise.
12181         * config/libbid/bid64_to_uint16.c: Likewise.
12182         * config/libbid/bid64_to_uint32.c: Likewise.
12183         * config/libbid/bid64_to_uint64.c: Likewise.
12184         * config/libbid/bid64_to_uint8.c: Likewise.
12185         * config/libbid/bid_b2d.h: Likewise.
12186         * config/libbid/bid_binarydecimal.c: Likewise.
12187         * config/libbid/bid_conf.h: Likewise.
12188         * config/libbid/bid_convert_data.c: Likewise.
12189         * config/libbid/bid_decimal_data.c: Likewise.
12190         * config/libbid/bid_decimal_globals.c: Likewise.
12191         * config/libbid/bid_div_macros.h: Likewise.
12192         * config/libbid/bid_dpd.c: Likewise.
12193         * config/libbid/bid_flag_operations.c: Likewise.
12194         * config/libbid/bid_from_int.c: Likewise.
12195         * config/libbid/bid_functions.h: Likewise.
12196         * config/libbid/bid_gcc_intrinsics.h: Likewise.
12197         * config/libbid/bid_inline_add.h: Likewise.
12198         * config/libbid/bid_internal.h: Likewise.
12199         * config/libbid/bid_round.c: Likewise.
12200         * config/libbid/bid_sqrt_macros.h: Likewise.
12202 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
12204         * Makefile.in: Change copyright header to refer to version
12205         3 of the GNU General Public License and to point readers at the
12206         COPYING3 file and the FSF's license web page.
12207         * config.host: Likewise.
12209 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
12211         * config.host: Reorder and merge to match config.gcc change.
12213 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
12215         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
12217 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
12219         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
12220         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
12221         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
12222         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
12224 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
12226         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
12227         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12229 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
12231         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
12232         ia64/t-softfp-compat to tmake_file.
12234         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
12236         * config/ia64/__divxf3.asm: New.
12237         * config/ia64/_fixtfdi.asm: Likewise.
12238         * config/ia64/_fixunstfdi.asm: Likewise.
12239         * config/ia64/_floatditf.asm: Likewise.
12240         * config/ia64/t-fprules-softfp: Likewise.
12241         * config/ia64/t-softfp-compat: Likewise.
12242         * config/ia64/tf-signs.c: Likewise.
12244 2009-01-18  Ben Elliston  <bje@au.ibm.com>
12246         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12248 2009-01-16  Ben Elliston  <bje@au.ibm.com>
12250         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
12251         to tmake_file.
12253 2009-01-13  Ben Elliston  <bje@au.ibm.com>
12255         * config/t-softfp: New file.
12256         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
12257         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
12259 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
12261         * config.host: Add m32r*-*-rtems*.
12263 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
12265         * config.host: Add m32c*-*-rtems*.
12267 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12269         PR bootstrap/33100
12270         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
12271         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
12272         * configure: Regenerate.
12273         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
12274         tmake_file here from gcc/config.gcc.
12275         Move extra_parts here from gcc/config.gcc.
12276         * config/i386/t-sol2: Move here from gcc/config/i386.
12277         Use gcc_srcdir instead of srcdir.
12279 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
12281         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
12282         case.
12284 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
12286         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
12288 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
12290         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
12292 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
12294         Add picoChip port.
12295         * config.host: Add picochip-*-*.
12297 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
12299         * config.host: Match more processor names for Xtensa.
12301 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
12303         * config/i386/64/t-softfp-compat: Update comments.
12305 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
12307         * config/i386/64/_divtc3-compat.c: Moved to ...
12308         * config/i386/64/_divtc3.c: Here.
12310         * config/i386/64/_multc3-compat.c: Moved to ...
12311         * config/i386/64/_multc3.c: Here.
12313         * config/i386/64/_powitf2-compat.c: Moved to ...
12314         * config/i386/64/_powitf2.c: Here.
12316         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
12317         .c suffix instead of -compat.c.
12319 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
12321         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
12322         (_FP_MUL_MEAT_D): Ditto.
12323         (_FP_DIV_MEAT_S): Ditto.
12324         (_FP_DIV_MEAT_D): Ditto.
12326 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
12328         * Makefile.in: Add support for __sync_* libgcc functions.
12330 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
12332         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
12334 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12336         PR boostrap/36702
12337         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
12338         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
12340         * config/i386/64/t-fprules-softfp: Moved to ...
12341         * config/i386/64/t-softfp-compat: This.  New.
12343 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
12345         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
12346         Initialize f with 0.0.
12348 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12350         PR target/36669
12351         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
12353         * config/i386/64/_divtc3-compat.c: New.
12354         * config/i386/64/_multc3-compat.c: Likewise.
12355         * config/i386/64/_powitf2-compat.c: Likewise.
12356         * config/i386/64/eqtf2.c: Likewise.
12357         * config/i386/64/getf2.c: Likewise.
12358         * config/i386/64/letf2.c: Likewise.
12359         * config/i386/64/t-fprules-softfp: Likewise.
12361 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12363         * config.host: Add i386/${host_address}/t-fprules-softfp to
12364         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
12365         i[34567]86-*-linux*, x86_64-*-linux*.
12367         * configure.ac: Set host_address to 64 or 32 for x86.
12368         * configure: Regenerated.
12370         * Makefile.in (config.status): Also depend on
12371         $(srcdir)/config.host.
12373         * config/i386/32/t-fprules-softfp: New.
12374         * config/i386/32/tf-signs.c: Likewise.
12376         * config/i386/64/sfp-machine.h: New. Moved from gcc.
12378 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12379             Uros Bizjak  <ubizjak@gmail.com>
12381         * config/i386/32/sfp-machine.h: New.
12383 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
12385         * config/rs6000/t-ppccomm: Remove rules that conflict with
12386         auto-generated rules.
12388 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12390         * configure.ac: sinclude override.m4.
12391         * configure: Regenerate.
12393 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
12395         * configure: Regenerate.
12397 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
12399         * Makefile.in (DECNUMINC): Remove
12400         -I$(MULTIBUILDTOP)../../libdecnumber.
12401         * gstdint.h: New.
12403 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
12405         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
12406         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
12407         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
12408         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
12409         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
12410         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
12411         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
12412         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
12413         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
12414         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
12415         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
12416         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
12417         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
12418         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
12420 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
12422         * config.host (sh2[lbe]*-*-linux*): Allow target.
12424 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
12426         * config/rs6000/t-ppccomm: Add build rules for new files.
12427         (LIB2ADD_ST): New variable.
12429 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
12431         PR target/34210
12432         PR target/35508
12433         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
12434         * config/t-avr: New file. Build 16bit libgcc functions.
12436 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
12438         PR target/35401
12439         * config/t-slibgcc-darwin: Make install-leaf dependent on
12440         install-darwin-libgcc-stubs instead of install.
12442 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
12444         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
12445         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
12446         sh-*-rtemscoff*): Remove cases.
12448 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
12450         * Makefile.in (all): Use install-leaf rather than install.
12451         (install): Split most of the rule into...
12452         (install-leaf): ...this new one.
12454 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
12455             Paolo Bonzini  <bonzini@gnu.org>
12457         PR target/30572
12458         * Makefile.in: Use @shlib_slibdir@ substitution to get
12459         correct install name on darwin.
12460         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
12462 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
12464         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
12465         cris-*-elf and cris-*-none.
12466         (crisv32-*-linux*): Similar, as cris-*-linux*.
12468 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
12470         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
12472 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
12474         PR regression/33926
12475         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
12476         * configure: Regenerated.
12478 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
12480         * Makefile.in (dfp-filenames): Replace decimal_globals,
12481         decimal_data, binarydecimal and convert_data with
12482         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
12483         and bid_convert_data, respectively.
12485 2007-09-17  Chao-ying Fu  <fu@mips.com>
12486             Nigel Stephens  <nigel@mips.com>
12488         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
12489         * Makefile.in (fixed_point): Define.
12490         Check if fixed_point is yes to build support functions.
12491         * configure.ac: Check for fixed_point support.
12492         * configure: Regenerated.
12493         * gen-fixed.sh: New file to generate lists of fixed-point labels,
12494         funcs, modes, from, to.
12496 2007-09-11  Janis Johnson  <janis187@us.ibm.com
12498         * Makefile.in (dfp-filenames): Add bid128_noncomp.
12500 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
12502         * Makefile.in (dfp-filenames): Remove decUtility, add
12503         decDouble, decPacked, decQuad, decSingle.
12505 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
12507         * config.host : Add x86_64-elf target.
12509 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
12511         * configure.ac (set_have_cc_tls): Add a missing =.
12512         * configure: Regenerated.
12514 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
12516         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
12517         and x86_64-*-linux*.
12519         * config/t-tls: New file.
12521         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
12523         * configure.ac: Include ../config/enable.m4 and
12524         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
12525         supports TLS and substitute set_have_cc_tls.
12526         * configure: Regenerated.
12528 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
12530         * Makefile.in: Use libbid for DFP when BID is enabled.
12532 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
12534         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
12535         extra_parts. Add config/i386/t-cygming to tmake_file.
12536         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
12538 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
12539             Danny Smith  <dannysmith@users.sourceforge.net>
12541         PR target/29498
12542         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
12543         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
12544         * config/i386/t-crtfm: Compile crtfastmath.o with
12545         -minline-all-stringops.
12547 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
12549         * config.host (sparc-wrs-vxworks): New target.
12551 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
12553         * config.host: Recognize fido.
12555 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
12557         * configure: Check host, not target, for decimal float support.
12559 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
12561         * config/i386/t-crtpc: New file.
12562         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
12563         (x86_64-*-linux*): Ditto.
12565 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
12567         * config.host (x86_64-*-mingw*): New target.
12569 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
12570             H.J. Lu  <hongjiu.lu@intel.com>
12572         * Makefile.in (enable_decimal_float): New.
12573         (DECNUMINC): Add
12574         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
12575         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
12576         (decbits-filenames): This.
12577         (decbits-objects): New.
12578         (libgcc-objects): Add $(decbits-objects).
12580         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
12581         Substitute enable_decimal_float.
12582         * configure: Regenerated.
12584 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
12586         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
12588 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
12590         * Makefile.in (install-info): New dummy target.
12592 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
12594         * config.host (bfin*-linux-uclibc*): Set extra_parts.
12596 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
12598         * Makefile.in: Add install-html and install-pdf dummy
12599         targets.
12601 2007-02-05  Roger Sayle  <roger@eyesopen.com>
12602             Daniel Jacobowitz  <dan@codesourcery.com>
12604         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
12605         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
12606         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
12608 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
12610         * Makefile.in (dec-filenames): Add decExcept.
12612 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
12614         PR bootstrap/30469
12615         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
12616         -fprofile-use.
12618 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
12620         * configure.ac: Add --enable-version-specific-runtime-libs.
12621         Correct $slibdir default.
12622         * configure: Regenerated.
12624 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
12626         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
12628 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
12630         PR target/30519
12631         * config.host (alpha*-*-linux*): Set extra_parts.
12633 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
12635         * config/sh/t-linux: New.
12636         * config.host (sh*-*-linux*): Set tmake_file.
12638 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
12640         * Makefile.in (install): Handle multilibs.
12642 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
12644         * Makefile.in: Added .PHONY entry for documentation targets.
12646 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
12648         * Makefile.in: Add empty info, html, dvi, pdf targets.
12650 2007-01-04  Mike Stump  <mrs@apple.com>
12652         * Makefile.in (MAKEINFO): Remove.
12653         (PERL): Likewise.
12655 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
12657         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
12658         * configure: Regenerate.
12659         * Makefile.in (host_subdir): Substitute it.
12660         (gcc_objdir): Use it.
12662 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
12664         * config.host (ia64*-*-linux*): Set tmake_file.
12666 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
12668         * Makefile.in (version): Define.
12670 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
12671             Paolo Bonzini  <bonzini@gnu.org>
12673         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
12674         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
12675         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
12676         config/sparc/t-crtfm, config/t-slibgcc-darwin,
12677         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
12678         shared-object.mk, siditi-object.mk, static-object.mk: New files.
12679         * configure: Generated.
12681 Copyright (C) 2007-2023 Free Software Foundation, Inc.
12683 Copying and distribution of this file, with or without modification,
12684 are permitted in any medium without royalty provided the copyright
12685 notice and this notice are preserved.