ada: Fix handling of pragma Warnings (Toolname, Off/On)
[official-gcc.git] / libgcc / ChangeLog
blob1ebcf32a51abaa4ad5de02d6c42154830acd74d8
1 2023-05-02  Patrick O'Neill  <patrick@rivosinc.com>
3         * config/riscv/atomic.c: Change LR.aq/SC.rl pairs into
4         sequentially consistent LR.aqrl/SC.rl pairs.
6 2023-05-01  Dimitar Dimitrov  <dimitar@dinux.eu>
8         * config/pru/t-pru (HOST_LIBGCC2_CFLAGS): Add
9         -DTARGET_HAS_NO_HW_DIVIDE.
11 2023-04-27  Hans-Peter Nilsson  <hp@axis.com>
13         * config/cris/t-cris (HOST_LIBGCC2_CFLAGS): Add
14         -DTARGET_HAS_NO_HW_DIVIDE.
16 2023-04-26  Patrick O'Neill  <patrick@rivosinc.com>
18         PR target/104338
19         * config/riscv/atomic.c: Add reference to duplicate logic.
21 2023-04-08  Tetsuma Hoshino  <t-hoshino@pony-e.jp>
23         PR target/109402
24         * config/v850/lib1funcs.S (___muldi3): Remove unnecessary
25         stack manipulations.
27 2023-04-05  John David Anglin  <danglin@gcc.gnu.org>
29         PR target/109374
30         * config/pa/milli64.S (RETURN_COLUMN): Define.
31         ($$divI): Add CFI directives.
32         ($$divU): Likewise.
33         ($$remI): Likewise.
34         ($$remU): Likewise.
36 2023-03-19  Stafford Horne  <shorne@gmail.com>
38         * config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
39         statement clearing existing exceptions.
41 2023-03-13  Max Filippov  <jcmvbkbc@gmail.com>
43         * config/xtensa/crti.S: Add .note.GNU-stack section on linux.
44         * config/xtensa/crtn.S: Likewise.
45         * config/xtensa/lib1funcs.S: Likewise.
46         * config/xtensa/lib2funcs.S: Likewise.
48 2023-03-12  Jakub Jelinek  <jakub@redhat.com>
50         * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
51         (softfp_truncations): Add tfbf dfbf sfbf hfbf.
52         (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
53         * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
54         __extendbfsf2 and __trunc{s,d,t,h}fbf2.
55         * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
56         * soft-fp/floatundibf.c: New file.
57         * soft-fp/floatdibf.c: New file.
59 2023-03-10  Jakub Jelinek  <jakub@redhat.com>
61         PR target/107703
62         * soft-fp/floattibf.c: New file.
63         * soft-fp/floatuntibf.c: New file.
64         * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
65         * config/i386/64/t-softfp (softfp_extras): Add floattibf and
66         floatuntibf.
67         (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
69 2023-03-08  Kewen Lin  <linkw@linux.ibm.com>
71         PR libgcc/108727
72         * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
73         bump size.
75 2023-03-06   Michael Meissner  <meissner@linux.ibm.com>
77         PR target/107299
78         * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
79         whether long double is IBM or IEEE.
80         (INFINITY): Likewise.
81         (FABS): Likewise.
82         * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
83         (INFINITY): Likewise.
84         * config/rs6000/quad-float128.h (TF): Remove definition.
85         (TFtype): Define to be long double or _Float128.
86         (TCtype): Define to be _Complex long double or _Complex _Float128.
87         * libgcc2.h (TFtype): Allow machine config files to override this.
88         (TCtype): Likewise.
89         * soft-fp/quad.h (TFtype): Likewise.
91 2023-02-13  Kito Cheng  <kito.cheng@sifive.com>
93         * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
94         * config/riscv/value-unwind.h: New.
96 2023-02-03  Christophe Lyon  <christophe.lyon@arm.com>
98         * config/arm/pr-support.c (__gnu_unwind_execute): Use
99         TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
101 2023-01-30  Flavio Cruz  <flaviocruz@gmail.com>
103         * config.host: Recognize x86_64-*-gnu* targets.
104         * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
105         TODO for now.
107 2023-01-23  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
109         * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
110         "0xb5".
112 2023-01-23  Andrea Corallo  <andrea.corallo@arm.com>
113             Tejas Belagod   <tbelagod@arm.com>
114             Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
116         * config/arm/pr-support.c (__gnu_unwind_execute): Decode
117         exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
118         with AUTG if found.
119         * config/arm/unwind-arm.c (struct pseudo_regs): New.
120         (phase1_vrs): Introduce new field to store pseudo-reg state.
121         (phase2_vrs): Likewise.
122         (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
123         (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
124         (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
126 2023-01-18  Wilco Dijkstra  <wilco.dijkstra@arm.com>
128         PR target/107678
129         * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
130         * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
131         * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
132         encode the return address signing state.
133         * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
134         Check current return address signing state.
135         (aarch64_frob_update_contex): Remove.
137 2023-01-13  John David Anglin  <danglin@gcc.gnu.org>
139         * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
140         pa/t-pa64-linux.
141         (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
142         instead of pa/t-hpux and pa/t-pa64.
143         * config/pa/linux-atomic.c: Define u32 type.
144         (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
145         atomic_load_2, atomic_load_4 and atomic_load_8.  Update sync
146         defines to use atomic_load calls for type.
147         (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
148         * config/pa/sync-libfuncs.c: New file.
149         * config/pa/t-netbsd (LIB2ADD_ST): Define.
150         * config/pa/t-openbsd (LIB2ADD_ST): Define.
151         * config/pa/t-pa64-hpux: New file.
152         * config/pa/t-pa64-linux: New file.
154 2023-01-13  Jonathan Wakely  <jwakely@redhat.com>
156         PR libstdc++/108331
157         * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
158         struct matching the previous __gthread_mutex_t struct.
159         (__GTHREAD_LEGACY_MUTEX_T): Define.
161 2023-01-13  Seija Kijin  <doremylover456@gmail.com>
163         * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
164         unified syntax.
166 2023-01-07  LIU Hao  <lh_mouse@126.com>
168         PR middle-end/108300
169         * config/i386/enable-execute-stack-mingw32.c: Define
170         `WIN32_LEAN_AND_MEAN` before <windows.h>.
171         * libgcc2.c: Likewise.
172         * unwind-generic.h: Likewise.
174 2023-01-03  Florian Weimer  <fweimer@redhat.com>
176         * unwind-dw2-execute_cfa.h: New file.  Extracted from
177         the execute_cfa_program function in unwind-dw2.c.
178         * unwind-dw2.c (execute_cfa_program_generic): New function.
179         (execute_cfa_program_specialized): Likewise.
180         (execute_cfa_program): Call execute_cfa_program_specialized
181         or execute_cfa_program_generic, as appropriate.
183 2023-01-03  Florian Weimer  <fweimer@redhat.com>
185         Revert:
186         2023-01-03  Florian Weimer  <fweimer@redhat.com>
188         * unwind-dw2.c (dwarf_reg_size): New function.
189         (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
190         (_Unwind_SetSpColumn, uw_install_context_1): Use it.
191         (uw_init_context_1): Do not initialize dwarf_reg_size_table
192         if not in use.
194 2023-01-03  Florian Weimer  <fweimer@redhat.com>
196         Revert:
197         2023-01-03  Florian Weimer  <fweimer@redhat.com>
199         * unwind-dw2-execute_cfa.h: New file.  Extracted from
200         the execute_cfa_program function in unwind-dw2.c.
201         * unwind-dw2.c (execute_cfa_program_generic): New function.
202         (execute_cfa_program_specialized): Likewise.
203         (execute_cfa_program): Call execute_cfa_program_specialized
204         or execute_cfa_program_generic, as appropriate.
206 2023-01-02  Florian Weimer  <fweimer@redhat.com>
208         * unwind-dw2-execute_cfa.h: New file.  Extracted from
209         the execute_cfa_program function in unwind-dw2.c.
210         * unwind-dw2.c (execute_cfa_program_generic): New function.
211         (execute_cfa_program_specialized): Likewise.
212         (execute_cfa_program): Call execute_cfa_program_specialized
213         or execute_cfa_program_generic, as appropriate.
215 2023-01-02  Florian Weimer  <fweimer@redhat.com>
217         * unwind-dw2.c (dwarf_reg_size): New function.
218         (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
219         (_Unwind_SetSpColumn, uw_install_context_1): Use it.
220         (uw_init_context_1): Do not initialize dwarf_reg_size_table
221         if not in use.
223 2022-12-25  Jonathan Yong  <10walls@gmail.com>
225         * config/i386/gthr-win32.h: undef CC_NONE
227 2022-12-24  Iain Sandoe  <iain@sandoe.co.uk>
229         * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
230         install of libgcc_s.1.dylib when the installation is into the build
231         gcc directory.
233 2022-12-23  Eric Botcazou  <ebotcazou@adacore.com>
235         * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
236         as well as new i386/t-slibgcc-mingw fragment.
237         (x86_64-*-mingw*): Likewise.
238         * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
239         both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
240         Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
241         Include stdlib.h instead of errno.h and do not include _mingw.h.
242         (CONST_CAST2): Add specific definition for C++.
243         (ATTRIBUTE_UNUSED): New macro.
244         (__UNUSED_PARAM): Delete.
245         Define WIN32_LEAN_AND_MEAN before including windows.h.
246         (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
247         (__gthread_objc_init_thread_system): Likewise.
248         (__gthread_objc_thread_get_data): Minor tweak.
249         (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
250         (__gthread_objc_condition_deallocate): Likewise.
251         (__gthread_objc_condition_wait): Likewise.
252         (__gthread_objc_condition_broadcast): Likewise.
253         (__gthread_objc_condition_signal): Likewise.
254         Include sys/time.h.
255         (__gthr_win32_DWORD): New typedef.
256         (__gthr_win32_HANDLE): Likewise.
257         (__gthr_win32_CRITICAL_SECTION): Likewise.
258         (__gthr_win32_CONDITION_VARIABLE): Likewise.
259         (__gthread_t): Adjust.
260         (__gthread_key_t): Likewise.
261         (__gthread_mutex_t): Likewise.
262         (__gthread_recursive_mutex_t): Likewise.
263         (__gthread_cond_t): New typedef.
264         (__gthread_time_t): Likewise.
265         (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
266         (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
267         (__GTHREAD_COND_INIT_FUNCTION): Define.
268         (__GTHREAD_TIME_INIT): Likewise.
269         (__gthr_i486_lock_cmp_xchg): Delete.
270         (__gthr_win32_create): Declare.
271         (__gthr_win32_join): Likewise.
272         (__gthr_win32_self): Likewise.
273         (__gthr_win32_detach): Likewise.
274         (__gthr_win32_equal): Likewise.
275         (__gthr_win32_yield): Likewise.
276         (__gthr_win32_mutex_destroy): Likewise.
277         (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
278         (__gthr_win32_cond_broadcast): Likewise.
279         (__gthr_win32_cond_signal): Likewise.
280         (__gthr_win32_cond_wait): Likewise.
281         (__gthr_win32_cond_timedwait): Likewise.
282         (__gthr_win32_recursive_mutex_init_function): Delete.
283         (__gthr_win32_recursive_mutex_lock): Likewise.
284         (__gthr_win32_recursive_mutex_unlock): Likewise.
285         (__gthr_win32_recursive_mutex_destroy): Likewise.
286         (__gthread_create): New inline function.
287         (__gthread_join): Likewise.
288         (__gthread_self): Likewise.
289         (__gthread_detach): Likewise.
290         (__gthread_equal): Likewise.
291         (__gthread_yield): Likewise.
292         (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
293         (__gthread_cond_broadcast): Likewise.
294         (__gthread_cond_signal): Likewise.
295         (__gthread_cond_wait): Likewise.
296         (__gthread_cond_timedwait): Likewise.
297         (__GTHREAD_WIN32_INLINE): New macro.
298         (__GTHREAD_WIN32_COND_INLINE): Likewise.
299         (__GTHREAD_WIN32_ACTIVE_P): Likewise.
300         Define WIN32_LEAN_AND_MEAN before including windows.h.
301         (__gthread_once): Minor tweaks.
302         (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
303         (__gthread_key_delete): Minor tweak.
304         (__gthread_getspecific): Likewise.
305         (__gthread_setspecific): Likewise.
306         (__gthread_mutex_init_function): Reimplement.
307         (__gthread_mutex_destroy): Likewise.
308         (__gthread_mutex_lock): Likewise.
309         (__gthread_mutex_trylock): Likewise.
310         (__gthread_mutex_unlock): Likewise.
311         (__gthr_win32_abs_to_rel_time): Declare.
312         (__gthread_recursive_mutex_init_function): Reimplement.
313         (__gthread_recursive_mutex_destroy): Likewise.
314         (__gthread_recursive_mutex_lock): Likewise.
315         (__gthread_recursive_mutex_trylock): Likewise.
316         (__gthread_recursive_mutex_unlock): Likewise.
317         (__gthread_cond_destroy): New inline function.
318         (__gthread_cond_wait_recursive): Likewise.
319         * config/i386/gthr-win32.c: Delete everything.
320         Include gthr-win32.h to get the out-of-line version of inline routines.
321         Add compile-time checks for the local version of the Win32 types.
322         * config/i386/gthr-win32-cond.c: New file.
323         * config/i386/gthr-win32-thread.c: Likewise.
324         * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
325         EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
326         the static version of libgcc.
327         * config/i386/t-slibgcc-mingw: New file.
328         * config/i386/libgcc-mingw.ver: Likewise.
330 2022-12-16  Thomas Neumann  <tneumann@users.sourceforge.net>
332         * unwind-dw2-fde.c: Initialize fde object lazily when
333         the first exception tries to pass through.
335 2022-12-16  Thomas Neumann  <tneumann@users.sourceforge.net>
337         * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
339 2022-12-08  Max Filippov  <jcmvbkbc@gmail.com>
341         * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
342         (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
343         (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
344         (XSHAL_ABI): Remove stray symbols from macro definitions.
346 2022-12-07  Max Filippov  <jcmvbkbc@gmail.com>
348         * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
349         xtensa-config-builtin.h.
350         * config/xtensa/crtn.S: Likewise.
351         * config/xtensa/lib1funcs.S: Likewise.
352         * config/xtensa/lib2funcs.S: Likewise.
353         * config/xtensa/xtensa-config-builtin.h: New File.
355 2022-11-04  Florian Weimer  <fweimer@redhat.com>
357         * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
358         values actually used by BFD ld.
360 2022-10-23  LIU Hao  <lh_mouse@126.com>
362         * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
363         libobjc, instead of 'gthr.h'
365 2022-10-19  LIU Hao  <lh_mouse@126.com>
367         * config.host: Add new cases for `mcf` thread model
368         * config/i386/gthr-mcf.h: New file
369         * config/i386/t-mingw-mcfgthread: New file
370         * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
371         * configure: Regenerate
373 2022-10-18  Jonathan Wakely  <jwakely@redhat.com>
375         * Makefile.in: Quote variable.
377 2022-10-17  H.J. Lu  <hjl.tools@gmail.com>
379         * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
380         argument.
381         * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
382         _Unwind_Frames_Increment.
383         (_Unwind_ForcedUnwind_Phase2): Likewise.
384         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
385         Take the EXC argument.  Return _URC_FATAL_PHASE2_ERROR if the
386         return address on normal stack doesn't match the return address
387         on shadow stack.
389 2022-10-17  Florian Weimer  <fweimer@redhat.com>
391         * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
392         and reduce its size.
394 2022-10-14  Jakub Jelinek  <jakub@redhat.com>
396         * config/i386/t-softfp (softfp_extensions): Add bfsf.
397         (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
398         (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
399         CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
400         -msse2.
401         * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
402         __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
403         * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
404         * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
405         * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
406         * soft-fp/brain.h: New file.
407         * soft-fp/truncsfbf2.c: New file.
408         * soft-fp/truncdfbf2.c: New file.
409         * soft-fp/truncxfbf2.c: New file.
410         * soft-fp/trunctfbf2.c: New file.
411         * soft-fp/trunchfbf2.c: New file.
412         * soft-fp/truncbfhf2.c: New file.
413         * soft-fp/extendbfsf2.c: New file.
415 2022-10-12  Martin Liska  <mliska@suse.cz>
417         * libgcov-driver.c: Use new function.
418         * libgcov.h (gcov_write_summary): Rename to ...
419         (gcov_write_object_summary): ... this.
421 2022-10-11  Olivier Hainque  <hainque@adacore.com>
423         * config.host (*vxworks*): When enable_shared, add
424         libgcc and crtstuff "shared" fragments for rtp except
425         large code model.
426         (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
427         the list of fragments.
429 2022-10-06  Jakub Jelinek  <jakub@redhat.com>
431         * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
432         fs->regs.how[X] instead of fs->regs.reg[X].how.
434 2022-10-06  Jakub Jelinek  <jakub@redhat.com>
436         * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
437         REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
438         REG_UNDEFINED): New anonymous enum, moved from inside of
439         struct frame_state_reg_info.
440         (struct frame_state_reg_info): Remove reg[].how element and the
441         anonymous enum there.  Add how element.
442         * unwind-dw2.c: Include stddef.h.
443         (uw_frame_state_for): Don't clear first
444         offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
445         (execute_cfa_program, __frame_state_for, uw_update_context_1,
446         uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
447         or fs.regs.how[X] instead of fs.regs.reg[X].how.
448         * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
449         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
450         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
451         * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
452         UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
453         Likewise.
454         * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
455         Likewise.
456         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
457         * config/arc/linux-unwind.h (arc_fallback_frame_state,
458         arc_frob_update_context): Likewise.
459         * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
460         * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
461         * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
462         * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
463         * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
464         * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
465         MD_FALLBACK_FRAME_STATE_FOR): Likewise.
466         * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
467         sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
468         * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
469         x86_fallback_frame_state): Likewise.
470         * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
471         * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
472         x86_fallback_frame_state): Likewise.
473         * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
474         Likewise.
475         * config/i386/dragonfly-unwind.h
476         (x86_64_dragonfly_fallback_frame_state): Likewise.
477         * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
478         * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
479         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
480         Likewise.
481         * config/aarch64/freebsd-unwind.h
482         (aarch64_freebsd_fallback_frame_state): Likewise.
483         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
484         Likewise.
485         * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
486         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
487         * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
488         Likewise.
489         * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
490         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
491         Likewise.
492         * config/rs6000/darwin-fallback.c (set_offset): Likewise.
493         * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
494         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
495         * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
497 2022-10-02  Olivier Hainque  <hainque@adacore.com>
499         * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment.  Move
500         -I options for gcc/include and gcc/include-fixed at the end
501         and make them -isystem.
503 2022-10-02  Olivier Hainque  <hainque@adacore.com>
505         * config/gthr-vxworks.h: Prevent Wpragma warning for the
506         pragma diagnostics on Wstrict-prototypes.
508 2022-09-29  Olivier Hainque  <hainque@adacore.com>
510         * config/vxcrtstuff.c: Improve the comment attached to the use
511         of auto-host.h and of __dso_handle.  Remove redundant guard on
512         HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
514 2022-09-26  Thomas Neumann  <tneumann@users.sourceforge.net>
516         * unwind-dw2-fde.c: Introduce a constant for in_shutdown
517         for the non-fast-path case. Drop destructor priority.
519 2022-09-22  Thomas Neumann  <tneumann@users.sourceforge.net>
521         * unwind-dw2-fde.c: (release_register_frames) Remember
522         when the btree has been destroyed.
523         (__deregister_frame_info_bases) Disable the assert when
524         shutting down.
526 2022-09-18  Thomas Neumann  <tneumann@users.sourceforge.net>
528         * unwind-dw2-fde.c: Replace uintptr_t with typedef
529         for __UINTPTR_TYPE__.
530         * unwind-dw2-btree.h: Likewise.
532 2022-09-16  Thomas Neumann  <tneumann@users.sourceforge.net>
534         * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
535         (__register_frame_info_table_bases): Use btree in atomic fast path.
536         (__deregister_frame_info_bases): Likewise.
537         (_Unwind_Find_FDE): Likewise.
538         (base_from_object): Make parameter const.
539         (classify_object_over_fdes): Add query-only mode.
540         (get_pc_range): Compute PC range for lookup.
541         * unwind-dw2-fde.h (last_fde): Make parameter const.
542         * unwind-dw2-btree.h: New file.
544 2022-08-31  Martin Liska  <mliska@suse.cz>
546         * config.host: Remove hppa.
548 2022-08-30  Martin Liska  <mliska@suse.cz>
550         * config.host: Remove the port.
552 2022-08-26  Martin Liska  <mliska@suse.cz>
554         * config.host: Remove cr16 related stuff.
555         * config/cr16/crti.S: Removed.
556         * config/cr16/crtlibid.S: Removed.
557         * config/cr16/crtn.S: Removed.
558         * config/cr16/divmodhi3.c: Removed.
559         * config/cr16/lib1funcs.S: Removed.
560         * config/cr16/t-cr16: Removed.
561         * config/cr16/t-crtlibid: Removed.
562         * config/cr16/unwind-cr16.c: Removed.
563         * config/cr16/unwind-dw2.h: Removed.
565 2022-08-16  Kito Cheng  <kito.cheng@sifive.com>
567         * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
568         (_FP_NANFRAC_H): Ditto.
569         (_FP_NANSIGN_H): Ditto.
570         * config/riscv/t-softfp32 (softfp_extensions): Add HF related
571         routines.
572         (softfp_truncations): Ditto.
573         (softfp_extras): Ditto.
574         * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
576 2022-08-16  Kito Cheng  <kito.cheng@sifive.com>
578         * soft-fp/fixhfdi.c: New.
579         * soft-fp/fixhfsi.c: Likewise.
580         * soft-fp/fixunshfdi.c: Likewise.
581         * soft-fp/fixunshfsi.c: Likewise.
582         * soft-fp/floatdihf.c: Likewise.
583         * soft-fp/floatsihf.c: Likewise.
584         * soft-fp/floatundihf.c: Likewise.
585         * soft-fp/floatunsihf.c: Likewise.
586         * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
587         lines and update URL for license.
588         * soft-fp/addsf3.c: Likewise.
589         * soft-fp/addtf3.c: Likewise.
590         * soft-fp/divdf3.c: Likewise.
591         * soft-fp/divsf3.c: Likewise.
592         * soft-fp/divtf3.c: Likewise.
593         * soft-fp/double.h: Likewise.
594         * soft-fp/eqdf2.c: Likewise.
595         * soft-fp/eqhf2.c: Likewise.
596         * soft-fp/eqsf2.c: Likewise.
597         * soft-fp/eqtf2.c: Likewise.
598         * soft-fp/extenddftf2.c: Likewise.
599         * soft-fp/extended.h: Likewise.
600         * soft-fp/extendhfdf2.c: Likewise.
601         * soft-fp/extendhfsf2.c: Likewise.
602         * soft-fp/extendhftf2.c: Likewise.
603         * soft-fp/extendhfxf2.c: Likewise.
604         * soft-fp/extendsfdf2.c: Likewise.
605         * soft-fp/extendsftf2.c: Likewise.
606         * soft-fp/extendxftf2.c: Likewise.
607         * soft-fp/fixdfdi.c: Likewise.
608         * soft-fp/fixdfsi.c: Likewise.
609         * soft-fp/fixdfti.c: Likewise.
610         * soft-fp/fixhfti.c: Likewise.
611         * soft-fp/fixsfdi.c: Likewise.
612         * soft-fp/fixsfsi.c: Likewise.
613         * soft-fp/fixsfti.c: Likewise.
614         * soft-fp/fixtfdi.c: Likewise.
615         * soft-fp/fixtfsi.c: Likewise.
616         * soft-fp/fixtfti.c: Likewise.
617         * soft-fp/fixunsdfdi.c: Likewise.
618         * soft-fp/fixunsdfsi.c: Likewise.
619         * soft-fp/fixunsdfti.c: Likewise.
620         * soft-fp/fixunshfti.c: Likewise.
621         * soft-fp/fixunssfdi.c: Likewise.
622         * soft-fp/fixunssfsi.c: Likewise.
623         * soft-fp/fixunssfti.c: Likewise.
624         * soft-fp/fixunstfdi.c: Likewise.
625         * soft-fp/fixunstfsi.c: Likewise.
626         * soft-fp/fixunstfti.c: Likewise.
627         * soft-fp/floatdidf.c: Likewise.
628         * soft-fp/floatdisf.c: Likewise.
629         * soft-fp/floatditf.c: Likewise.
630         * soft-fp/floatsidf.c: Likewise.
631         * soft-fp/floatsisf.c: Likewise.
632         * soft-fp/floatsitf.c: Likewise.
633         * soft-fp/floattidf.c: Likewise.
634         * soft-fp/floattihf.c: Likewise.
635         * soft-fp/floattisf.c: Likewise.
636         * soft-fp/floattitf.c: Likewise.
637         * soft-fp/floatundidf.c: Likewise.
638         * soft-fp/floatundisf.c: Likewise.
639         * soft-fp/floatunditf.c: Likewise.
640         * soft-fp/floatunsidf.c: Likewise.
641         * soft-fp/floatunsisf.c: Likewise.
642         * soft-fp/floatunsitf.c: Likewise.
643         * soft-fp/floatuntidf.c: Likewise.
644         * soft-fp/floatuntihf.c: Likewise.
645         * soft-fp/floatuntisf.c: Likewise.
646         * soft-fp/floatuntitf.c: Likewise.
647         * soft-fp/gedf2.c: Likewise.
648         * soft-fp/gesf2.c: Likewise.
649         * soft-fp/getf2.c: Likewise.
650         * soft-fp/half.h: Likewise.
651         * soft-fp/ledf2.c: Likewise.
652         * soft-fp/lesf2.c: Likewise.
653         * soft-fp/letf2.c: Likewise.
654         * soft-fp/muldf3.c: Likewise.
655         * soft-fp/mulsf3.c: Likewise.
656         * soft-fp/multf3.c: Likewise.
657         * soft-fp/negdf2.c: Likewise.
658         * soft-fp/negsf2.c: Likewise.
659         * soft-fp/negtf2.c: Likewise.
660         * soft-fp/op-1.h: Likewise.
661         * soft-fp/op-2.h: Likewise.
662         * soft-fp/op-4.h: Likewise.
663         * soft-fp/op-8.h: Likewise.
664         * soft-fp/op-common.h: Likewise.
665         * soft-fp/quad.h: Likewise.
666         * soft-fp/single.h: Likewise.
667         * soft-fp/soft-fp.h: Likewise.
668         * soft-fp/subdf3.c: Likewise.
669         * soft-fp/subsf3.c: Likewise.
670         * soft-fp/subtf3.c: Likewise.
671         * soft-fp/truncdfhf2.c: Likewise.
672         * soft-fp/truncdfsf2.c: Likewise.
673         * soft-fp/truncsfhf2.c: Likewise.
674         * soft-fp/trunctfdf2.c: Likewise.
675         * soft-fp/trunctfhf2.c: Likewise.
676         * soft-fp/trunctfsf2.c: Likewise.
677         * soft-fp/trunctfxf2.c: Likewise.
678         * soft-fp/truncxfhf2.c: Likewise.
679         * soft-fp/unorddf2.c: Likewise.
680         * soft-fp/unordsf2.c: Likewise.
681         * soft-fp/unordtf2.c: Likewise.
683 2022-07-18  Claudiu Zissulescu  <claziss@synopsys.com>
685         * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
686         * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
687         configurations.
689 2022-06-25  Jeff Law  <jeffreyalaw@gmail.com>
691         * config.host: Removed tilegx and tilepro entries.
692         * config/tilegx/sfp-machine.h: Removed.
693         * config/tilegx/sfp-machine32.h: Removed.
694         * config/tilegx/sfp-machine64.h: Removed.
695         * config/tilegx/t-crtstuff: Removed.
696         * config/tilegx/t-softfp: Removed.
697         * config/tilegx/t-tilegx: Removed.
698         * config/tilepro/atomic.c: Removed.
699         * config/tilepro/atomic.h: Removed.
700         * config/tilepro/linux-unwind.h: Removed.
701         * config/tilepro/sfp-machine.h: Removed.
702         * config/tilepro/softdivide.c: Removed.
703         * config/tilepro/softmpy.S: Removed.
704         * config/tilepro/t-crtstuff: Removed.
705         * config/tilepro/t-tilepro: Removed.
707 2022-06-09  Takayuki 'January June' Suwa  <jjsuwa_sys3175@yahoo.co.jp>
709         * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
710         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
712 2022-06-01  H.J. Lu  <hjl.tools@gmail.com>
714         PR libgcc/27576
715         * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
717 2022-05-25  Wilco Dijkstra  <wilco.dijkstra@arm.com>
719         PR libgcc/105708
720         * config/aarch64/lse-init.c: Increase constructor priority.
722 2022-05-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
724         PR target/104689
725         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
726         Handle the !REG_UNSAVED case.
727         * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
729 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
731         * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
732         (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
733         (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
735 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
737         * config.host: Add t-dfprules to AArch64 targets.
739 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
741         * configure: Regenerate.
743 2022-05-13  Sebastian Pop  <spop@amazon.com>
745         PR target/105162
746         * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
747         * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
749 2022-05-10  Martin Liska  <mliska@suse.cz>
750             Hans-Peter Helfert  <peter-helfert@t-online.de>
752         PR gcov-profile/105535
753         * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
754         n_functions.
756 2022-05-02  Martin Liska  <mliska@suse.cz>
758         * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
760 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
762         * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
763         (gcov_profile_merge_stream): Likewise.
765 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
767         * libgcov-util.c (consume_stream): New.
768         (get_target_profiles_for_merge): Likewise.
769         (gcov_profile_merge_stream): Likewise.
771 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
773         * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
775 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
777         * libgcov-util.c (read_gcda_file): Do not open file.
778         (ftw_read_file): Open file here.
780 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
782         * libgcov-util.c (read_gcda_file): Prepend new info object to global
783         list.
784         (ftw_read_file): Remove list append here.
786 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
788         * libgcov-util.c (read_gcda_file): Do not duplicate filename.
789         (ftw_read_file): Duplicate filename for read_gcda_file().
791 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
793         * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
794         (__gcov_filename_to_gcfn): Declare and document.
795         * libgcov-driver.c (dump_string): New.
796         (__gcov_filename_to_gcfn): Likewise.
797         (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
799 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
801         * libgcov.h (gcov_seek): Remove define and declaration.
803 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
805         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
806         parameter.  Pass mode to gcov_open() calls.
807         * libgcov-driver.c (dump_one_gcov):  Add mode parameter.  Pass mode to
808         gcov_exit_open_gcda_file() call.
809         (gcov_do_dump): Add mode parameter.  Pass mode to dump_one_gcov()
810         calls.
811         (__gcov_dump_one):  Open file for reading and writing.
813 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
815         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
816         reading and writing.
817         * libgcov-util.c (read_gcda_file): Open file for reading.
818         * libgcov.h (gcov_open): Delete declaration.
820 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
822         * libgcov-util.c (gcov_profile_merge): Return the list of merged
823         profiles.  Accept empty target and source profile lists.
825 2022-04-08  Sergei Trofimovich  <siarheit@google.com>
827         * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
829 2022-03-29  Chenghua Xu  <xuchenghua@loongson.cn>
830             Lulu Cheng  <chenglulu@loongson.cn>
832         * configure: Regenerate file.
834 2022-03-29  Chenghua Xu  <xuchenghua@loongson.cn>
835             Lulu Cheng  <chenglulu@loongson.cn>
837         * config/loongarch/crtfastmath.c: New file.
838         * config/loongarch/linux-unwind.h: Like wise.
839         * config/loongarch/sfp-machine.h: Like wise.
840         * config/loongarch/t-crtstuff: Like wise.
841         * config/loongarch/t-loongarch: Like wise.
842         * config/loongarch/t-loongarch64: Like wise.
843         * config/loongarch/t-softfp-tf: Like wise.
844         * config.host: Add LoongArch tuples.
845         * configure.ac: Add LoongArch support.
847 2022-03-19  Sergei Trofimovich  <slyfox at gentoo dot org>
849         PR libgcc/86224
850         * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
851         for __mulsi3.
852         (__udivsi3_internal, __divsi3_internal): Similarly.
853         (__umodsi3, __modsi3): Use the internal function names.
855 2022-03-09  Tobias Burnus  <tobias@codesourcery.com>
857         PR target/102215
858         * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
859         a line up to non-arg-dependent value first.
860         (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
861         __atomic_compare_exchange_{1,2}.
863 2022-03-04  Iain Sandoe  <iain@sandoe.co.uk>
865         * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
866         * config/t-darwin-ehs: Add dependency on unwind.h.
868 2022-02-24  Xi Ruoyao  <xry111@mengyan1223.wang>
870         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
871         with 0 instead of NULL.
873 2022-02-24  Jose E. Marchesi  <jose.marchesi@oracle.com>
875         PR target/104656
876         * configure.ac: --disable-gcov if targetting bpf-*.
877         * configure: Regenerate.
879 2022-01-25  Florian Weimer  <fweimer@redhat.com>
881         PR libgcc/104207
882         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
884 2022-01-17  Martin Liska  <mliska@suse.cz>
886         * libgcov-driver.c: Rename .c names to .cc.
888 2022-01-15  David  <gccbugzilla@limegreensocks.com>
890         * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
891         Remove inlined version, Windows 95 is no longer relevant.
892         * config/i386/gthr-win32.h
893         (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
895 2022-01-14  Claudiu Zissulescu  <claziss@synopsys.com>
897         * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
898         DWARF_ALT_FRAME_RETURN_COLUMN macro.
900 2022-01-04  Florian Weimer  <fweimer@redhat.com>
902         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
903         if available.
905 2022-01-02  John David Anglin  <danglin@gcc.gnu.org>
907         * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
908         (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
909         return is not equal _ASM_EFAULT.
910         (__kernel_cmpxchg2): Likewise.
912 2021-12-17  Iain Sandoe  <iain@sandoe.co.uk>
914         * config.host: Add shim declaration header to powerpc*-darwin builds.
915         * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
916         file.
917         * config/t-darwin-ehs: Add dependencies to the shared unwinder
918         objects.
919         * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
920         the shared EH lib.  Add all-multi to the dependencies for the
921         libgcc_s.1.dylib redirections.
923 2021-12-13  Olivier Hainque  <hainque@adacore.com>
925         * config.host (powerpc*-*-vxworks7*): Remove
926         rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
928 2021-12-13  Olivier Hainque  <hainque@adacore.com>
930         * config.host (*vxworks*): Remove special case for
931         arm on the use of vxcrtstuff.
933 2021-12-13  Fred Konrad  <konrad@adacore.com>
934             Olivier Hainque  <hainque@adacore.com>
936         * config/t-vxcrtstuffS: New Makefile fragment.
937         * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
938         functions for INITFINI_ARRAY support in shared libs and guard
939         the definition of eh table registration functions on conditions
940         indicating they are needed.
942 2021-12-13  Olivier Hainque  <hainque@adacore.com>
944         * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
945         ahead of the other files in tmake_files.
946         * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
947         overriding it.
949 2021-12-13  Olivier Hainque  <hainque@adacore.com>
951         * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
952         both VxWorks7 and earlier.
953         * config/t-vxworks7: Remove.
954         * config.host: Remove special case for vxworks7.
956 2021-12-11  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
958         * config/vxcrtstuff.c: Make constructor and destructor
959         functions static when possible.
961 2021-12-11  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
963         * config/vxcrtstuff.c: Remove constructor/destructor
964         declarations.
966 2021-12-10  Iain Sandoe  <iain@sandoe.co.uk>
968         * config/t-darwin: Add libgcc_tm.h to the dependencies
969         for darwin10-unwind-find-enc-func.
971 2021-12-10  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
973         * config/rs6000/t-vxworks: New file.
974         * config.host (powerpc*-*-vxworks*): Use it instead of
975         t-ppccomm.
977 2021-12-09  Fred Konrad  <konrad@adacore.com>
979         * config.host (powerpc*-wrs-vxworks7*): Fix path to
980         rs6000/t-ppc64-fp, relative to config/ not libgcc/.
982 2021-12-09  Olivier Hainque  <hainque@adacore.com>
983             Rasmus Villemoes  <rv@rasmusvillemoes.dk>
985         * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
986         $(LIBGCC2_INCLUDES).
987         * config/t-vxworks7: Likewise.
989 2021-12-08  Iain Sandoe  <iain@sandoe.co.uk>
991         * config.host (*-*-darwin*): Add logic to build a shared
992         unwinder library for Darwin8-10.
993         * config/i386/t-darwin: Build legacy libgcc_s.1.
994         * config/rs6000/t-darwin: Likewise.
995         * config/t-darwin: Reorganise the EH fragments to place
996         them for inclusion in a shared EH lib.
997         * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
998         the supporting pieces (all FAT libs).
999         * config/t-darwin-noeh: Removed.
1000         * config/darwin-unwind.ver: New file.
1001         * config/rs6000/t-darwin-ehs: New file.
1002         * config/t-darwin-ehs: New file.
1004 2021-12-06  Nelson Chu  <nelson.chu@sifive.com>
1006         * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
1007         then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
1008         * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
1009         HIDDEN_DEF.
1011 2021-11-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1013         * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
1014         ssize_t and vfork after including auto-host.h.
1016 2021-11-29  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1018         * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
1019         crtend.o to extra_parts.
1021 2021-11-27  John David Anglin  <danglin@gcc.gnu.org>
1023         * config/pa/t-dimode (lib2difuncs): Fix typo.
1025 2021-11-25  Florian Weimer  <fweimer@redhat.com>
1027         * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
1028         Remove func, ret.
1029         (find_fde_tail): New function.  Split from
1030         _Unwind_IteratePhdrCallback.  Move the result initialization
1031         from _Unwind_Find_FDE.
1032         (_Unwind_Find_FDE): Updated to call find_fde_tail.
1034 2021-11-22  Florian Weimer  <fweimer@redhat.com>
1036         * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
1037         (struct unw_eh_callback_data): Make dbase member conditional.
1038         (unw_eh_callback_data_dbase): New function.
1039         (base_from_cb_data): Simplify for the non-dbase case.
1040         (_Unwind_IteratePhdrCallback): Adjust.
1041         (_Unwind_Find_FDE): Likewise.
1043 2021-11-22  Florian Weimer  <fweimer@redhat.com>
1045         * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
1046         tbase member.
1047         (base_from_cb_data): Adjust.
1048         (_Unwind_IteratePhdrCallback): Likewise.
1049         (_Unwind_Find_FDE): Likewise.
1051 2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
1053         * config.host: Add weak emutls crt to the extra_parts.
1054         * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
1055         workaround.
1056         * config/libgcc-libsystem.ver: Add exclude list for the system-
1057         provided unwinder.
1058         * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
1059         * config/i386/libgcc-darwin.10.4.ver: Removed.
1060         * config/i386/libgcc-darwin.10.5.ver: Removed.
1061         * config/rs6000/libgcc-darwin.10.4.ver: Removed.
1062         * config/rs6000/libgcc-darwin.10.5.ver: Removed.
1063         * config/t-darwin-noeh: New file.
1065 2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
1067         * config/t-darwin: Build weak-defined emutls objects.
1068         * emutls.c (__emutls_get_address): Add optional attributes.
1069         (__emutls_register_common): Likewise.
1070         (EMUTLS_ATTR): New.
1072 2021-11-11  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
1074         PR libgcc/103044
1075         * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
1076         called with a null argument or at the end of the backtrace and return.
1077         * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
1079 2021-11-10  Jakub Jelinek  <jakub@redhat.com>
1081         * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
1082         formatting fix.
1084 2021-11-05  Iain Sandoe  <iain@sandoe.co.uk>
1086         * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
1087         * config/i386/darwin-lib.h: Declare Darwin10 crt function.
1089 2021-11-05  John David Anglin  <danglin@gcc.gnu.org>
1091         PR libgomp/96661
1092         * config.host (hppa*64*-*-linux*): Revise tmake_file.
1093         (hppa*64*-*-hpux11*): Likewise.
1094         * config/pa/sfp-exceptions.c: New.
1095         * config/pa/sfp-machine.h: New.
1096         * config/pa/t-dimode: New.
1097         * config/pa/t-softfp-sfdftf: New.
1099 2021-10-27  John David Anglin  <danglin@gcc.gnu.org>
1101         * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
1102         tmake_file.
1103         * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
1104         Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
1105         SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
1106         * config/pa/t-linux64 (LIB1ASMSRC): New define.
1107         (LIB1ASMFUNCS): Revise.
1108         (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
1110 2021-10-22  Stafford Horne  <shorne@gmail.com>
1112         * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1113         Change to 0.
1115 2021-10-14  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
1117         * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
1118         outside of get_regs() in order to use it in another function, this
1119         is done twice: for __powerpc64__ and for !__powerpc64__.
1120         (struct trace_arg): New struct.
1121         (struct layout): New struct.
1122         (ppc_backchain_fallback): New function.
1123         * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
1124         state and call MD_BACKCHAIN_FALLBACK.
1126 2021-10-13  Martin Liska  <mliska@suse.cz>
1128         PR gcov-profile/90364
1129         * libgcov-driver.c (merge_one_data): Skip timestamp and verify
1130         checksums.
1131         (write_one_data): Write also checksum.
1132         * libgcov-util.c (read_gcda_file): Read also checksum field.
1133         * libgcov.h (struct gcov_info): Add new field.
1135 2021-10-08  Ian Lance Taylor  <iant@golang.org>
1137         * config/i386/morestack.S: Use .init_array for constructor if
1138         available.
1139         * config/rs6000/morestack.S: Likewise.
1140         * config/s390/morestack.S: Likewise.
1142 2021-10-03  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
1144         PR target/101104
1145         * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
1146         Use more correct values for native IBM 128-bit.
1148 2021-09-28  Iain Sandoe  <iain@sandoe.co.uk>
1150         * config/i386/libgcc-darwin.ver: Add Symbols for
1151         __cpu_model, __cpu_indicator_init.
1153 2021-09-22  Iain Sandoe  <iain@sandoe.co.uk>
1155         * config/i386/sfp-machine.h: Guard Mach-O-specific code
1156         using __APPLE__.
1158 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1160         * config/t-slibgcc-darwin: Delete unused code.
1162 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1164         * config/i386/t-darwin: Add in a vers file for X86-specific
1165         symbols.
1166         * config/t-darwin: Add the generic symbol maps here...
1167         * config/t-slibgcc-darwin: ... removing from here.
1168         * config/i386/libgcc-darwin.ver: New file.
1170 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1172         * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
1173         and __mulhc3.
1175 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
1177         * config.host: Use convenience library for Darwin10
1178         unwinder shim.
1179         * config/t-darwin: Build Darwin10 unwinder shim as a
1180         convenience library.
1182 2021-09-13  Andrew Pinski  <apinski@marvell.com>
1184         * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
1185         * config/m32r/libgcc-glibc.ver: Removed.
1186         * config/m32r/t-linux: Removed.
1188 2021-09-08  liuhongt  <hongtao.liu@intel.com>
1190         * config/i386/t-softfp: Compile __{mul,div}hc3 into
1191         libgcc_s.so.1.
1193 2021-09-08  Jakub Jelinek  <jakub@redhat.com>
1194             Iain Sandoe  <iain@sandoe.co.uk>
1196         * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
1197         and export *hf* and *hc* functions at GCC_12.0.0.
1199 2021-09-06  liuhongt  <hongtao.liu@intel.com>
1201         * Makefile.in: Adjust to support specific CFLAGS for each
1202         libgcc source file.
1203         * config/i386/64/t-softfp: Explicitly add -msse2 for HF
1204         related libgcc source files.
1205         * config/i386/t-softfp: Ditto.
1206         * config/i386/_divhc3.c: New file.
1207         * config/i386/_mulhc3.c: New file.
1209 2021-09-03  Iain Sandoe  <iain@sandoe.co.uk>
1211         * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
1212         alias_DFtype, alias_TFtype): New.
1213         (ALIAS_SELECTOR): New.
1214         (strong_alias): Use __typeof and a _Generic selector to
1215         provide the type to the synthesized function.
1217 2021-09-02  liuhongt  <hongtao.liu@intel.com>
1219         * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
1220         * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
1221         * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
1222         * config/i386/t-softfp: Add hf soft-fp.
1223         * config.host: Add i386/64/t-softfp.
1224         * config/i386/64/t-softfp: New file.
1226 2021-09-02  liuhongt  <hongtao.liu@intel.com>
1228         * soft-fp/eqhf2.c: New file.
1229         * soft-fp/extendhfdf2.c: New file.
1230         * soft-fp/extendhfsf2.c: New file.
1231         * soft-fp/half.h (FP_CMP_EQ_H): New marco.
1232         * soft-fp/truncdfhf2.c: New file
1233         * soft-fp/truncsfhf2.c: New file
1235 2021-09-01  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1237         * unwind-arm-common.inc (abort): Remove.
1239 2021-08-31  Richard Sandiford  <richard.sandiford@arm.com>
1241         * config/aarch64/value-unwind.h: Add missing runtime exception
1242         paragraph.
1243         * config/frv/frv-abi.h: Likewise.
1244         * config/i386/value-unwind.h: Likewise.
1245         * config/pa/pa64-hpux-lib.h: Likewise.
1247 2021-08-26  David Edelsohn  <dje.gcc@gmail.com>
1249         * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
1250         __gcc_qadd.
1251         (__gcc_qadd): Call ldouble_qadd_internal.
1252         (__gcc_qsub): Call ldouble_qadd_internal with second long double
1253         argument negated.
1255 2021-08-26  Jonathan Yong  <10walls@gmail.com>
1257         * config/i386/cygming-crtend.c: Fix register_frame_ctor
1258         and register_frame_dtor warnings.
1260 2021-08-24  Richard Earnshaw  <rearnsha@arm.com>
1262         PR target/102035
1263         * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
1264         Add vlldm erratum work-around.
1266 2021-08-21  John David Anglin  <danglin@gcc.gnu.org>
1268         * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
1270 2021-08-16  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1272         * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
1273         (gcov_type_unsigned): Likewise.
1275 2021-08-14  Stafford Horne  <shorne@gmail.com>
1277         PR target/99783
1278         * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
1279         * config/or1k/t-crtstuff: New file.
1281 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1283         * libgcov-driver.c (#include <stdint.h>): Remove.
1284         (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
1286 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1288         * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
1289         * gcov.h (gcov_info): Declare.
1290         (__gcov_info_to_gdca): Likewise.
1291         * libgcov.h (gcov_write_counter): Remove.
1292         (gcov_write_tag_length): Likewise.
1293         * libgcov-driver.c (#include <stdint.h>): New.
1294         (#include <string.h>): Remove.
1295         (NEED_L_GCOV): Conditionally define.
1296         (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
1297         (are_all_counters_zero): New.
1298         (gcov_dump_handler): Likewise.
1299         (gcov_allocate_handler): Likewise.
1300         (dump_unsigned): Likewise.
1301         (dump_counter): Likewise.
1302         (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
1303         Use dump_unsigned() and dump_counter().
1304         (write_one_data): Add dump_fn, allocate_fn, and arg parameters.  Use
1305         dump_unsigned(), dump_counter(), and are_all_counters_zero().
1306         (__gcov_info_to_gcda): New.
1308 2021-08-05  Jakub Jelinek  <jakub@redhat.com>
1310         * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
1311         * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
1312         * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
1313         * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
1315 2021-08-04  Jakub Jelinek  <jakub@redhat.com>
1317         * config/t-slibgcc-fuchsia: Undo doubly applied patch.
1319 2021-07-15  Alan Modra  <amodra@gmail.com>
1321         * config/rs6000/morestack.S (R2_SAVE): Define.
1322         (__morestack): Save and restore r2.  Set up r2 for called
1323         functions.
1325 2021-07-01  H.J. Lu  <hjl.tools@gmail.com>
1327         * soft-fp/extendhfxf2.c: New file.
1328         * soft-fp/truncxfhf2.c: Likewise.
1330 2021-06-29  Julian Brown  <julian@codesourcery.com>
1332         * config/gcn/lib2-bswapti2.c: New file.
1333         * config/gcn/lib2-divmod-di.c: New file.
1334         * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
1335         typedefs.
1336         (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
1337         * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
1338         lib2-bswapti2.c.
1340 2021-06-29  Julian Brown  <julian@codesourcery.com>
1342         * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
1343         return types to USItype.
1344         * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
1346 2021-06-23  Kewen Lin  <linkw@linux.ibm.com>
1348         * configure: Regenerate.
1349         * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
1350         typos among the name, CFLAGS and the test.
1351         * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
1352         fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
1353         Remove.
1354         * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
1355         macro FLOAT128_HW_INSNS_ISA3_1.
1356         (FP128_3_1_CFLAGS_HW): Fix option typo.
1357         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
1358         FLOAT128_HW_INSNS_ISA3_1.
1359         (__floattikf_resolve): Likewise.
1360         (__floatuntikf_resolve): Likewise.
1361         (__fixkfti_resolve): Likewise.
1362         (__fixunskfti_resolve): Likewise.
1363         (__floattikf): Likewise.
1364         (__floatuntikf): Likewise.
1365         (__fixkfti): Likewise.
1366         (__fixunskfti): Likewise.
1368 2021-06-11  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
1370         PR target/99939
1371         * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
1372         macro.
1373         * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
1374         on passing -mcmse option.
1376 2021-06-10  Segher Boessenkool  <segher@kernel.crashing.org>
1378         * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
1379         _ARCH_PPC64 .
1381 2021-06-09  Carl Love  <cel@us.ibm.com>
1383         * config.host: Add if test and set for
1384         libgcc_cv_powerpc_3_1_float128_hw.
1385         * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
1386         Change calls of __fixkfti to __fixkfti_sw.
1387         * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
1388         Change calls of __fixunskfti to __fixunskfti_sw.
1389         * config/rs6000/float128-p10.c (__floattikf_hw,
1390         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
1391         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
1392         (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
1393         __fixunskfti_resolve): Add resolve functions.
1394         (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
1395         * config/rs6000/float128-sed (floattitf, __floatuntitf,
1396         __fixtfti, __fixunstfti): Add editor commands to change names.
1397         * config/rs6000/float128-sed-hw (__floattitf,
1398         __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
1399         change names.
1400         * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
1401         * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
1402         * config/rs6000/quad-float128.h (__floattikf_sw,
1403         __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
1404         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
1405         __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
1406         * config/rs6000/t-float128 (floattikf, floatuntikf,
1407         fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
1408         (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
1409         file names to fp128_ppc_funcs.
1410         * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
1411         fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
1412         fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
1413         * config/rs6000/t-float128-p10-hw: New file.
1414         * configure: Update script for isa 3.1 128-bit float support.
1415         * configure.ac: Add check for 128-bit float hardware support.
1416         * config/rs6000/fixkfti-sw.c: New file.
1417         * config/rs6000/fixunskfti-sw.c: New file.
1418         * config/rs6000/floattikf-sw.c: New file.
1419         * config/rs6000/floatuntikf-sw.c: New file.
1421 2021-05-13  Dimitar Dimitrov  <dimitar@dinux.eu>
1423         * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
1425 2021-05-13  Martin Liska  <mliska@suse.cz>
1427         * libgcov-driver.c: Fix GNU coding style.
1429 2021-05-10  Martin Liska  <mliska@suse.cz>
1431         * libgcov-driver.c (gcov_version): Use different name that does
1432         not clash with newly introduced macro.
1434 2021-04-29  Eric Botcazou  <ebotcazou@adacore.com>
1436         * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
1437         if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
1438         * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
1440 2021-04-28  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
1442         * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1443         Define.
1444         (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
1445         * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1446         Define.
1447         (__divkc3): Improve complex divide.
1449 2021-04-23  Michael Meissner  <meissner@linux.ibm.com>
1451         PR target/98952
1452         * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
1453         trampoline size comparison in 32-bit by reversing test and
1454         combining load immediate with compare.
1455         (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
1456         in 32-bit by reversing test and combining load immediate with
1457         compare.
1459 2021-04-05  Florian Weimer  <fweimer@redhat.com>
1460             Michael Meissner   <meissner@linux.ibm.com>
1462         * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
1463         point functions for $(decimal_float) only.
1465 2021-04-03  Jakub Jelinek  <jakub@redhat.com>
1467         PR target/97653
1468         * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
1469         $(objext) instead of $(object).  Use _floatunditf instead of
1470         _floatunsditf.  Add tf <-> ti conversion objects.
1471         (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
1473 2021-03-29  Michael Meissner  <meissner@linux.ibm.com>
1475         * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
1476         (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
1477         (fp128_decstr_objs): Delete.
1478         * dfp-bit.h: Call __sprintfieee128 to do conversions from
1479         _Float128 to a Decimal type.  Call __strtoieee128 to do
1480         conversions from a Decimal type to _Float128.
1481         * config/rs6000/_sprintfkf.c: Delete file.
1482         * config/rs6000/_sprintfkf.h: Delete file.
1483         * config/rs6000/_strtokf.c: Delete file.
1484         * config/rs6000/_strtokf.h: Delete file.
1486 2021-03-23  Marcus Comstedt  <marcus@mc.pp.se>
1488         * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
1489         to __BYTE_ORDER__.
1491 2021-03-06  Jakub Jelinek  <jakub@redhat.com>
1493         PR gcov-profile/99406
1494         * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
1495         defined, define these macros if not defined already.
1497 2021-03-04  Martin Liska  <mliska@suse.cz>
1499         PR gcov-profile/99105
1500         * libgcov-driver.c (write_top_counters): Rename to ...
1501         (write_topn_counters): ... this.
1502         (write_one_data): Pre-allocate buffer for number of items
1503         in the corresponding linked lists.
1504         * libgcov.h (malloc_mmap): New function.
1505         (allocate_gcov_kvp): Use it.
1507 2021-03-04  Martin Liska  <mliska@suse.cz>
1509         PR gcov-profile/99385
1510         * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
1512 2021-03-03  Martin Liska  <mliska@suse.cz>
1514         PR gcov-profile/97461
1515         * config.in: Regenerate.
1516         * configure: Likewise.
1517         * configure.ac: Check sys/mman.h header file
1518         * libgcov-driver.c (struct gcov_kvp): Remove static
1519         pre-allocated pool and use a dynamic one.
1520         * libgcov.h (MMAP_CHUNK_SIZE): New.
1521         (gcov_counter_add): Use mmap to allocate pool for struct
1522         gcov_kvp.
1524 2021-03-02  Michael Meissner  <meissner@linux.ibm.com>
1526         * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
1527         the function.
1528         * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
1530 2021-02-24  Jakub Jelinek  <jakub@redhat.com>
1532         PR libgcc/99236
1533         * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
1534         negation of m in unsigned type.
1536 2021-02-24  Christophe Lyon  <christophe.lyon@linaro.org>
1537             Hau Hsu  <hsuhau617@gmail.com>
1539         PR target/99157
1540         * config/arm/t-arm: Fix cmse support detection.
1542 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
1544         * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
1546 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
1548         * config/rs6000/_dd_to_kf.c: New file.
1549         * config/rs6000/_kf_to_dd.c: New file.
1550         * config/rs6000/_kf_to_sd.c: New file.
1551         * config/rs6000/_kf_to_td.c: New file.
1552         * config/rs6000/_sd_to_kf.c: New file.
1553         * config/rs6000/_sprintfkf.c: New file.
1554         * config/rs6000/_sprintfkf.h: New file.
1555         * config/rs6000/_strtokf.h: New file.
1556         * config/rs6000/_strtokf.c: New file.
1557         * config/rs6000/_td_to_kf.c: New file.
1558         * config/rs6000/quad-float128.h: Add new declarations.
1559         * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
1560         (fp128_decstr_funcs): New macro.
1561         (ibm128_dec_funcs): New macro.
1562         (fp128_ppc_funcs): Add the new conversions.
1563         (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
1564         compiled with -mabi=ieeelongdouble.
1565         (fp128_decstr_objs): Force __float128 <-> string conversions to be
1566         compiled with -mabi=ibmlongdouble.
1567         (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
1568         compiled with -mabi=ieeelongdouble.
1569         (FP128_CFLAGS_DECIMAL): New macro.
1570         (IBM128_CFLAGS_DECIMAL): New macro.
1571         * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
1572         (BFP_TO_DFP): Add PowerPC _Float128 support.
1573         * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
1574         IEEE 128-bit floating point.
1575         (DFP_TO_BFP): Add PowerPC _Float128 support.
1576         (BFP_TO_DFP): Add PowerPC _Float128 support.
1577         (BFP_SPRINTF): New macro.
1579 2021-01-27  Jakub Jelinek  <jakub@redhat.com>
1581         * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
1582         * config/i386/savms64f.h: Likewise.
1583         * config/i386/resms64.h: Likewise.
1584         * config/i386/resms64f.h: Likewise.
1585         * config/i386/resms64x.h: Likewise.
1586         * config/i386/resms64fx.h: Likewise.
1588 2021-01-26  Martin Liska  <mliska@suse.cz>
1590         PR gcov-profile/98739
1591         * libgcov.h (gcov_topn_add_value): Do not train when
1592         we have a merged profile with a negative number of total
1593         value.
1595 2021-01-25  Martin Liska  <mliska@suse.cz>
1597         PR gcov-profile/98739
1598         * libgcov-merge.c (__gcov_merge_topn): Mark when merging
1599         ends with a dropped counter.
1600         * libgcov.h (gcov_topn_add_value): Add return value.
1602 2021-01-13  Stafford Horne  <shorne@gmail.com>
1604         * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1605         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
1606         FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
1607         FP_EX_ALL): New constant macros.
1608         (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
1609         FP_HANDLE_EXCEPTIONS): New macros.
1610         (_FP_TININESS_AFTER_ROUNDING): Change to 1.
1612 2021-01-13  Samuel Thibault  <samuel.thibault@gnu.org>
1614         * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
1615         posix siginfo case to struct handler_args. Detect between legacy
1616         and siginfo from the second parameter, which is a small sigcode in
1617         the legacy case, and a pointer in the siginfo case.
1619 2020-12-20  Max Filippov  <jcmvbkbc@gmail.com>
1621         * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
1622         functions.
1623         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
1624         _bswapdi2.
1626 2020-12-08  Ian Lance Taylor  <iant@golang.org>
1628         * generic-morestack-thread.c (free_segments): Block signals during
1629         thread exit.
1631 2020-12-03  Michael Meissner  <meissner@linux.ibm.com>
1633         PR libgcc/97543
1634         PR libgcc/97643
1635         * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
1636         (IBM128_SHARED_OBJS): New make variable.
1637         (IBM128_OBJS): New make variable.  Set all objects to use the
1638         explicit IBM format, and disable gnu attributes.
1639         (IBM128_CFLAGS): New make variable.
1640         (gcc_s_compile): Add -mno-gnu-attribute to all shared library
1641         modules.
1643 2020-12-03  Alexandre Oliva  <oliva@adacore.com>
1645         * config/t-vxworks (LIB2ADD): Drop.
1646         * config/t-vxworks7 (LIB2ADD): Likewise.
1647         * config/vxcache.c: Remove.
1649 2020-11-30  Stefan Kanthak  <stefan.kanthak@nexgo.de>
1651         * libgcc2.c (bswapsi2): Make constants unsigned.
1653 2020-11-25  Stefan Kanthak  <stefan.kanthak@nexgo.de>
1655         * libgcc2.c (absvSI2): Simplify/improve implementation by using
1656         builtin_add_overflow.
1657         (absvsi2, absvDI2): Likewise.
1659 2020-11-20  Maciej W. Rozycki  <macro@linux-mips.org>
1661         * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
1662         (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
1664 2020-11-18  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1666         * config/msp430/lib2hw_mul.S (mult64_hw): New.
1667         (if MUL_32): Use mult64_hw for __muldi3.
1668         (if MUL_F5): Use mult64_hw for __muldi3.
1669         * config/msp430/lib2mul.c (__muldi3): New.
1670         * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
1672 2020-11-17  Alan Modra  <amodra@gmail.com>
1674         * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
1675         (LIB2_SIDITI_CONV_FUNCS): Define.
1676         * config/rs6000/ppc64-fp.c: Delete file.
1678 2020-11-15  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1680         * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
1681         hwmult library functions.
1683 2020-11-10  Jeff Law  <law@redhat.com>
1685         * libgcc2.c: Fix whitespace issues in most recent change.
1687 2020-11-10  Stefan Kanthak  <stefan.kanthak@nexgo.de>
1689         * libgcc2.c (__addvSI3): Use overflow builtins.
1690         (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
1691         (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
1692         (__negvsi2, __negvDI2): Likewise.
1693         (__cmpdi2, __ucmpdi2): Adjust implementation to improve
1694         generated code.
1695         * libgcc2.h (__ucmpdi2): Adjust prototype.
1697 2020-11-03  Pat Bernardi  <bernardi@adacore.com>
1698             Olivier Hainque   <hainque@adacore.com>
1700         * config.host (aarch64-vxworks7*, tmake_file): Add
1701         ${cpu_type}/t-lse and t-slibgcc-libgcc.
1703 2020-11-03  Martin Storsjö  <martin@martin.st>
1705         * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
1706         before calling the callback.
1708 2020-10-30  Olivier Hainque  <hainque@adacore.com>
1709             Douglas Rupp  <rupp@adacore.com>
1710             Pat Bernardi  <bernardi@adacore.com>
1712         * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
1713         to apply to VxWorks 7 as well.
1715 2020-10-29  Olivier Hainque  <hainque@adacore.com>
1717         * config/gthr-vxworks-tls.c: Fix preprocessor logic
1718         controlling the definition of VX_ENTER_TLS_DTOR and
1719         VX_LEAVE_TLS_DTOR based on a version major check.
1721 2020-10-29  Olivier Hainque  <hainque@adacore.com>
1723         * config/gthr-vxworks-thread.c: Fix name of macro used
1724         to condition the inclusion of an actual implementation.
1726 2020-10-27  Martin Liska  <mliska@suse.cz>
1728         PR gcov-profile/97461
1729         * libgcov.h (gcov_counter_add): Use first static counters
1730         as it should help to have malloc wrappers set up.
1732 2020-10-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1734         * config/gthr-vxworks-thread.c: #include gthr.h before
1735         testing the guard defined there.
1736         * config/gthr-vxworks-cond.c: Likewise.
1738 2020-10-21  Douglas Rupp  <rupp@adacore.com>
1739             Olivier Hainque  <hainque@adacore.com>
1741         * config.host (powerpc*-wrs-vxworks7*): New case.
1742         * configure.ac: Handle powerpc*-*-vxworks7* as
1743         powerpc*-*-linux* for ppc-fp_type.
1744         * configure: Regenerate.
1746 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1748         * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
1749         section on VxWorks >= 6.
1750         * config/gthr-vxworks-thread.c: Condition the entire
1751         implementation on __GTHREAD_CXX0X.
1753 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1755         * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
1756         section on VxWorks >= 6.
1757         * config/gthr-vxworks-cond.c: Condition the entire
1758         implementation on __GTHREAD_HAS_COND.
1760 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1762         * config/gthr-vxworks.c: #include <taskLib.h>.
1764 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1766         * config/gthr-vxworks.h: Rewrite remaining occurrence
1767         of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
1769 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1770              Olivier Hainque   <hainque@adacore.com>
1772         * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
1773         except on VxWorks 6.
1775 2020-10-16  Olivier Hainque  <hainque@adacore.com>
1777         * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
1779 2020-10-14  Alexandre Oliva  <oliva@adacore.com>
1781         * config/gthr-vxworks-thread.c: Include stdlib.h.
1782         (tls_delete_hook): Prototype it.
1783         (__gthread_cond_signal): Return early if no waiters.  Consume
1784         signal in case the semaphore got full.  Use semInfoGet instead
1785         of kernel-mode-only semInfo.
1786         (__gthread_cond_timedwait): Use semExchange.  Always take the
1787         mutex again before returning.
1788         * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
1790 2020-10-14  Olivier Hainque  <hainque@adacore.com>
1792         * config/t-vxworks (LIBGCC2_INCLUDES): Append
1793         $(MULTISUBDIR) to the -I path for fixed headers, as we
1794         arrange to have different sets of such headers for different
1795         multilibs when they are activated.
1796         * config/t-vxworks7: Likewise.
1798 2020-10-14  Olivier Hainque  <hainque@adacore.com>
1800         * config/t-vxworks: Add include-fixed to include search
1801         paths for libgcc on VxWorks.
1802         * config/t-vxworks7: Likewise.
1804 2020-10-09  H.J. Lu  <hjl.tools@gmail.com>
1806         PR target/97148
1807         * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
1808         instead of <cetintrin.h>.
1810 2020-10-01  Alan Modra  <amodra@gmail.com>
1812         * config/rs6000/morestack.S,
1813         * config/rs6000/tramp.S: Support __PCREL__ code.
1815 2020-10-01  Alan Modra  <amodra@gmail.com>
1817         * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
1819 2020-09-29  Maciej W. Rozycki  <macro@wdc.com>
1821         * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
1822         variable.
1824 2020-09-28  Richard Sandiford  <richard.sandiford@arm.com>
1826         * config/aarch64/libgcc-softfp.ver: New file.
1827         * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
1829 2020-09-27  Clement Chigot  <clement.chigot@atos.net>
1831         * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
1833 2020-09-22  Sergei Trofimovich  <siarheit@google.com>
1835         PR gcov-profile/96913
1836         * libgcov-driver.c (write_one_data): Avoid function pointer
1837         comparison in TOP streaming decision.
1839 2020-09-17  Torbjörn SVENSSON  <torbjorn.svensson@st.com>
1840             Christophe Lyon  <christophe.lyon@linaro.org>
1842         * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
1843         qualifier.
1844         (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
1845         (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
1846         missing prototypes.
1848 2020-09-17  Wei Wentao  <weiwt.fnst@cn.fujitsu.com>
1850         * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
1851         unused variable warning.
1853 2020-09-16  Jojo R  <jiejie_rong@c-sky.com>
1855         * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
1857 2020-09-09  Tom de Vries  <tdevries@suse.de>
1859         * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
1860         Wbuiltin-declaration-mismatch.
1862 2020-08-26  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1864         * config/msp430/slli.S (__gnu_mspabi_sllp): New.
1865         * config/msp430/srai.S (__gnu_mspabi_srap): New.
1866         * config/msp430/srli.S (__gnu_mspabi_srlp): New.
1868 2020-08-13  Kwok Cheung Yeung  <kcy@codesourcery.com>
1870         * config/nvptx/atomic.c: New.
1871         * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
1873 2020-08-03  Ian Lance Taylor  <iant@golang.org>
1875         * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
1877 2020-08-03  Jakub Jelinek  <jakub@redhat.com>
1879         PR target/96402
1880         * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
1881         of x(tmp0), x(tmp1) in STXP arguments.
1883 2020-07-31  Maciej W. Rozycki  <macro@wdc.com>
1885         * config/riscv/save-restore.S [__riscv_xlen == 64]
1886         (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
1887         (__riscv_save_2): Replace negative immediates used for the final
1888         stack pointer adjustment with positive ones, right-shifted by 4.
1890 2020-07-31  Martin Liska  <mliska@suse.cz>
1892         * libgcov-driver.c: Add __gcov_kvp_pool
1893         and __gcov_kvp_pool_index variables.
1894         * libgcov.h (allocate_gcov_kvp): New.
1895         (gcov_topn_add_value): Use it.
1897 2020-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1899         * config/aarch64/lse.S: Add PAC property note.
1901 2020-07-23  Martin Liska  <mliska@suse.cz>
1903         PR gcov-profile/96035
1904         * libgcov-driver-system.c: Create gcov folders with 0777
1905         so that it respects a system umask.
1907 2020-07-14  David Edelsohn  <dje.gcc@gmail.com>
1909         * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
1911 2020-07-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1913         PR target/94891
1914         * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
1915         (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
1916         (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
1917         (MD_DEMANGLE_RETURN_ADDR): This.
1918         (aarch64_post_extract_frame_addr): Rename to ...
1919         (aarch64_demangle_return_addr): This.
1920         (aarch64_post_frob_eh_handler_addr): Remove.
1921         * unwind-dw2.c (uw_update_context): Demangle return address.
1922         (uw_frob_return_addr): Remove.
1924 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1926         PR target/96001
1927         * config/aarch64/lse.S: Add BTI marking and related definitions,
1928         and add BTI c to function entries.
1930 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1932         * config/aarch64/lse.S: Add stack note.
1934 2020-07-02  Martin Liska  <mliska@suse.cz>
1936         PR gcov-profile/95348
1937         * libgcov-driver.c (merge_one_data): Merge only profiles
1938         that are not of non-zero type.
1939         (write_one_data): Write counters only if there's one non-zero
1940         value.
1941         * libgcov-util.c (tag_function): Change signature from unsigned
1942         to int.
1943         (tag_blocks): Likewise.
1944         (tag_arcs): Likewise.
1945         (tag_counters): Likewise.
1946         (tag_summary): Likewise.
1947         (tag_lines): Read only if COUNTERS is non-zero.
1948         (read_gcda_file): Handle negative length for COUNTERS type.
1950 2020-06-25  Martin Liska  <mliska@suse.cz>
1952         * libgcov-driver.c (merge_summary): Remove function as its name
1953         is misleading and doing something different.
1954         (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
1955         in gcov-tool.
1956         * libgcov-util.c (curr_object_summary): Remove.
1957         (read_gcda_file): Remove unused curr_object_summary.
1958         (gcov_merge): Merge summaries.
1959         * libgcov.h: Add summary argument for gcov_info struct.
1961 2020-06-24  H.J. Lu  <hjl.tools@gmail.com>
1963         PR target/95259
1964         * config/i386/cpuinfo.c: Don't include "cpuinfo.h".  Include
1965         "common/config/i386/i386-cpuinfo.h" and
1966         "common/config/i386/cpuinfo.h".
1967         (__cpu_features2): Changed to array.
1968         (get_amd_cpu): Removed.
1969         (get_intel_cpu): Likewise.
1970         (get_available_features): Likewise.
1971         (__cpu_indicator_init): Call cpu_indicator_init.
1972         * config/i386/cpuinfo.h: Removed.
1974 2020-06-23  David Edelsohn  <dje.gcc@gmail.com>
1976         * Makefile.in: Remove uses of empty.mk. Use -include.
1977         * config/avr/t-avr: Use -include.
1978         * empty.mk: Delete.
1980 2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
1982         * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
1983         * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
1984         and 64 bit with -maix64.
1985         * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
1986         Build and install AIX-style FAT libraries.
1988 2020-06-17  Samuel Thibault  <samuel.thibault@gnu.org>
1990         * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
1991         'i386/gnu-unwind.h'
1992         * config/i386/gnu-unwind.h: New file.
1994 2020-06-17  Martin Liska  <mliska@suse.cz>
1996         * libgcov-util.c (read_gcda_finalize): Remove const operator.
1997         (merge_wrapper): Add both counts and use them properly.
1998         (topn_to_memory_representation): New function.
1999         (gcov_merge): Covert on disk representation to in memory
2000         representation.
2001         * libgcov.h: Remove const operator.
2003 2020-06-15  Max Filippov  <jcmvbkbc@gmail.com>
2005         * configure: Regenerate.
2006         * configure.ac: Use AC_COMPILE_IFELSE instead of manual
2007         preprocessor invocation to check for __XTENSA_CALL0_ABI__.
2009 2020-06-09  Martin Liska  <mliska@suse.cz>
2011         PR gcov-profile/95494
2012         * libgcov-driver.c (write_top_counters): Cast first to
2013         intptr_t as sizeof(*) != sizeof(gcov_type).
2014         * libgcov.h (gcov_counter_set_if_null): Remove.
2015         (gcov_topn_add_value): Cast first to intptr_t and update
2016         linked list directly.
2018 2020-06-09  Max Filippov  <jcmvbkbc@gmail.com>
2020         * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
2021         with uw_install_context_1.
2023 2020-06-04  Andreas Schwab  <schwab@suse.de>
2025         PR target/59230
2026         PR libfortran/59227
2027         * config/ia64/t-softfp-compat (softfp_file_list): Filter out
2028         soft-fp/divtf3.c.
2029         (LIB2ADD): Add config/ia64/divtf3.c.
2030         * config/ia64/divtf3.c: New file.
2032 2020-06-03  Martin Liska  <mliska@suse.cz>
2034         PR gcov-profile/95480
2035         * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
2036         * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
2037         (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
2038         (gcov_counter_set_if_null): Likewise.
2040 2020-06-02  Jim Wilson  <jimw@sifive.com>
2042         * config/riscv/div.S (__divdi3): For negative arguments, change bgez
2043         to bgtz.
2045 2020-06-02  Martin Liska  <mliska@suse.cz>
2047         * libgcov.h (gcov_topn_add_value): Use xcalloc instead
2048         of xmalloc.
2050 2020-06-02  Martin Liska  <mliska@suse.cz>
2052         * libgcov-driver.c (prune_topn_counter): Remove.
2053         (prune_counters): Likewise.
2054         (merge_one_data): Special case TOP N counters
2055         as they have variable length.
2056         (write_top_counters): New.
2057         (write_one_data): Special case TOP N.
2058         (dump_one_gcov): Do not prune TOP N counters.
2059         * libgcov-merge.c (merge_topn_values_set): Remove.
2060         (__gcov_merge_topn): Use gcov_topn_add_value.
2061         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2062         Likewise here.
2063         * libgcov.h (gcov_counter_add): New.
2064         (gcov_counter_set_if_null): Likewise.
2065         (gcov_topn_add_value): New.
2067 2020-06-01  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2069         * config/i386/sfp-exceptions.c (struct fenv):
2070         Add __attribute__ ((gcc_struct)).
2072 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
2074         PR bootstrap/95413
2075         * configure: Regenerated.
2077 2020-05-28  Dong JianQiang  <dongjianqiang2@huawei.com>
2079         PR gcov-profile/95332
2080         * libgcov-util.c (read_gcda_file): Call gcov_magic.
2081         * libgcov.h (gcov_magic): Disable GCC poison.
2083 2020-05-21  H.J. Lu  <hongjiu.lu@intel.com>
2085         PR target/95212
2086         * config/i386/cpuinfo.h (processor_features): Move
2087         FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
2089 2020-05-20  H.J. Lu  <hongjiu.lu@intel.com>
2091         PR target/91695
2092         * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
2093         check.
2095 2020-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2097         PR target/95212
2098         PR target/95220
2099         * config/i386/cpuinfo.c (get_available_features): Fix
2100         FEATURE_GFNI check.  Also check FEATURE_AVX512VP2INTERSECT.
2101         * config/i386/cpuinfo.h (processor_features): Add
2102         FEATURE_AVX512VP2INTERSECT.
2104 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2106         PR bootstrap/95147
2107         * configure: Regenerated.
2109 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2111         * configure: Regenerated.
2113 2020-05-09  Hans-Peter Nilsson  <hp@axis.com>
2115         * config.host: Remove support for crisv32-*-* and cris*-*-linux.
2116         * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
2118 2020-05-06  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2120         * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
2121         (__math_force_eval_div): New define.
2122         (__sfp_handle_exceptions): Use __math_force_eval_div to use
2123         generic division to generate INVALID, DIVZERO and INEXACT
2124         exceptions.
2126 2020-05-06  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2128         * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
2129         instead of getauxval.
2130         (AT_HWCAP): Define.
2131         (HWCAP_ATOMICS): Define.
2132         Guard detection on __gnu_linux__.
2134 2020-05-05  Michael Meissner  <meissner@linux.ibm.com>
2136         * config.host: Delete changes meant for a private branch.
2137         * config/rs6000/t-float128: Likewise.
2138         * configure.ac: Likewise.
2139         * configure: Likewise.
2141 2020-05-05  Martin Liska  <mliska@suse.cz>
2143         PR gcov-profile/93623
2144         * Makefile.in: Remove __gcov_flush.
2145         * gcov.h (__gcov_flush): Remove.
2146         * libgcov-interface.c (__gcov_flush): Remove.
2147         (init_mx): Use renamed mutex.
2148         (__gcov_lock): Likewise.
2149         (__gcov_unlock): Likewise.
2150         (__gcov_fork): Likewise.
2151         (__gcov_flush): Remove.
2153 2020-05-05  Martin Liska  <mliska@suse.cz>
2155         PR gcov-profile/93623
2156         * libgcov-interface.c (__gcov_fork): Do not flush
2157         and reset only in child process.
2158         (__gcov_execl): Dump counters only and reset them
2159         only if exec* fails.
2160         (__gcov_execlp): Likewise.
2161         (__gcov_execle): Likewise.
2162         (__gcov_execv): Likewise.
2163         (__gcov_execvp): Likewise.
2164         (__gcov_execve): Likewise.
2166 2020-05-05  Martin Liska  <mliska@suse.cz>
2168         PR gcov-profile/93623
2169         * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
2170         * libgcov-interface.c (ALIAS_void_fn): Remove.
2171         (__gcov_lock): New.
2172         (__gcov_unlock): New.
2173         (__gcov_flush): Use __gcov_lock and __gcov_unlock.
2174         (__gcov_reset): Likewise.
2175         (__gcov_dump): Likewise.
2176         * libgcov.h (__gcov_lock): New declaration.
2177         (__gcov_unlock): Likewise.
2179 2020-05-01  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2181         * config/i386/sfp-exceptions.c (__math_force_eval): New define.
2182         (__sfp_handle_exceptions): Use __math_force_eval to evaluate
2183         generic division to generate INVALID and DIVZERO exceptions.
2185 2020-04-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2187         * config/rs6000/crtresfpr.S: Use .machine ppc.
2188         * config/rs6000/crtresxfpr.S: Likewise.
2189         * config/rs6000/crtsavfpr.S: Likewise.
2191 2020-04-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2193         PR target/94514
2194         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
2195         Update context->flags accroding to the frame state.
2197 2020-04-19  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2199         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
2200         Remove unneeded assignments to volatile memory.
2202 2020-04-15  Jakub Jelinek  <jakub@redhat.com>
2204         PR target/93053
2205         * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
2206         * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
2207         is not defined, use just .arch armv8-a.
2208         (B, M, N, OPN): Define.
2209         (COMMENT): New .macro.
2210         (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
2211         defined.  Otherwise, move the operands right after the glue? and
2212         comment out operands where the macros are used.
2213         * configure: Regenerated.
2214         * config.in: Regenerated.
2216 2020-04-07  Ian Lance Taylor  <iant@golang.org>
2218         PR libgcc/94513
2219         * generic-morestack.c: Give up trying to use __mmap/__munmap, use
2220         syscall instead.
2222 2020-04-04  Ian Lance Taylor  <iant@golang.org>
2224         * generic-morestack.c: Only use __mmap on glibc >= 2.26.
2226 2020-04-03  Ian Lance Taylor  <iant@golang.org>
2228         * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
2229         than mmap/munmap, to avoid hooks.
2231 2020-04-03  Jim Johnston  <jjohnst@us.ibm.com>
2233         * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
2234         (TPFRA_OFFSET): Macros removed.
2235         (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
2236         (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
2237         (PG3_SKIPPING_OFFSET): New macros.
2238         (__isPATrange): Use cinfc_fast for the check.
2239         (__isSkipResetAddr): New function.
2240         (s390_fallback_frame_state): Check for skip trace addresses. Use
2241         either ICST_CRET or ICST_SRET to calculate return address
2242         location.
2243         (__tpf_eh_return): Handle skip trace addresses.
2245 2020-03-26  Richard Earnshaw  <rearnsha@arm.com>
2247         PR target/94220
2248         * config/arm/lib1funcs.asm (COND): Use a single definition for
2249         unified syntax.
2250         (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
2251         (aeabi_idivmod): Likewise.
2252         (divsi3_skip_div0_test): Likewise.
2254 2020-03-17  Mihail Ionescu  <mihail.ionescu@arm.com>
2256         * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
2258 2020-03-04  Andreas Krebbel  <krebbel@linux.ibm.com>
2260         * config.host: Include the new makefile fragment.
2261         * config/s390/t-tpf: New file.
2263 2020-03-03  Richard Earnshaw  <rearnsha@arm.com>
2265         * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
2266         syntax.
2267         (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
2268         (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
2269         (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
2270         (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
2271         * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
2272         syntax.
2273         (divsi3, modsi3): Likewise.
2274         (clzdi2, ctzsi2): Likewise.
2275         * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
2276         unified syntax.
2277         (UNWIND_WRAPPER): Likewise.
2279 2020-03-02  Martin Liska  <mliska@suse.cz>
2281         * libgcov-interface.c: Remove duplicate
2282         declaration of __gcov_flush_mx.
2284 2020-02-18  Martin Liska  <mliska@suse.cz>
2286         PR ipa/92924
2287         * libgcov-merge.c (merge_topn_values_set): Record
2288         when a TOP N counter becomes invalid.  When merging
2289         remove a smallest value if the space is needed.
2291 2020-02-12  Sandra Loosemore  <sandra@codesourcery.com>
2293         PR libstdc++/79193
2294         PR libstdc++/88999
2296         * configure: Regenerated.
2298 2020-02-10  Jeff Law  <law@redhat.com>
2300         * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
2301         sections.
2302         * config/frv/frvend.c: Similarly.
2304 2020-02-10  H.J. Lu  <hongjiu.lu@intel.com>
2306         PR libgcc/85334
2307         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2308         New.
2310 2020-02-10  Christophe Lyon  <christophe.lyon@linaro.org>
2312         PR target/93615
2313         * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
2314         _Unwind_gnu_Find_got.
2315         * unwind-pe.h: Likewise.
2317 2020-02-07  Jakub Jelinek  <jakub@redhat.com>
2319         PR target/93615
2320         * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
2321         (_Unwind_gnu_Find_got): ... this.  Use __asm instead of asm.  Remove
2322         trailing :s in asm.  Formatting fixes.
2323         (_Unwind_decode_typeinfo_ptr): Adjust caller.
2325 2020-01-31  Sandra Loosemore  <sandra@codesourcery.com>
2327         nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
2329         * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
2330         * config/nios2-elf-lib.h: New.
2331         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
2332         code for finding GOT base for nios2.
2334 2020-01-27  Martin Liska  <mliska@suse.cz>
2336         PR gcov-profile/93403
2337         * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
2338         Call __gcov_indirect_call_profiler_body.
2339         (__gcov_indirect_call_profiler_body): New.
2340         (__gcov_indirect_call_profiler_v4_atomic): New.
2341         * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
2342         New declaration.
2344 2020-01-27  Claudiu Zissulescu  <claziss@synopsys.com>
2346         * config/arc/crti.S: Add RF16 object attribute.
2347         * config/arc/crtn.S: Likewise.
2348         * config/arc/crttls.S: Likewise.
2349         * config/arc/lib1funcs.S: Likewise.
2350         * config/arc/fp-hack.h (ARC_OPTFPE): Define.
2351         * config/arc/lib2funcs.c: New file.
2352         * config/arc/t-arc: Add lib2funcs to LIB2ADD.
2354 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
2356         * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
2357         * configure.ac: Handle `--with-toolexeclibdir='.
2358         * configure: Regenerate.
2360 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
2362         * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
2364 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
2366         * config/mips/gnustack.h: New file.
2367         * config/mips/crti.S: Include gnustack.h.
2368         * config/mips/crtn.S: Likewise.
2369         * config/mips/mips16.S: Likewise.
2370         * config/mips/vr4120-div.S: Likewise.
2372 2020-01-23  Martin Liska  <mliska@suse.cz>
2374         * libgcov-driver.c (prune_topn_counter): Remove
2375         check for -1 as we only prune run-time counters
2376         that do not generate an invalid state.
2378 2020-01-22  Martin Liska  <mliska@suse.cz>
2380         PR tree-optimization/92924
2381         * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
2382         try to find an existing value, then find an empty slot
2383         if not found.
2385 2020-01-22  Martin Liska  <mliska@suse.cz>
2387         PR tree-optimization/92924
2388         * libgcov-driver.c (prune_topn_counter): New.
2389         (prune_counters): Likewise.
2390         (dump_one_gcov): Prune a run-time counter.
2391         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2392         For a known value, add GCOV_TOPN_VALUES to value.
2393         Otherwise, decrement all counters by one.
2395 2020-01-18  Hans-Peter Nilsson  <hp@axis.com>
2397         * config/cris/arit.c (DS): Apply attribute __fallthrough__.
2399 2020-01-18  John David Anglin  <danglin@gcc.gnu.org>
2401         PR libgcc/92988
2402         * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
2403         DEFAULT_USE_CXA_ATEXIT is true.
2405 2020-01-16  Mihail-Calin Ionescu  <mihail.ionescu@arm.com>
2406             Thomas Preud'homme  <thomas.preudhomme@arm.com>
2408         * config/arm/t-arm: Check return value of gcc rather than lack of
2409         output.
2411 2020-01-14  Georg-Johann Lay  <avr@gjlay.de>
2413         * config/avr/lib1funcs.S (skip): Simplify.
2415 2020-01-10  Kwok Cheung Yeung  <kcy@codesourcery.com>
2417         * config/gcn/atomic.c: Remove include of stdint.h.
2418         (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
2419         __UINTPTR_TYPE__.
2421 2020-01-09  Kwok Cheung Yeung  <kcy@codesourcery.com>
2423         * config/gcn/atomic.c: New.
2424         * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
2426 2020-01-08  Georg-Johann Lay  <avr@gjlay.de>
2428         Implement 64-bit double functions.
2430         PR target/92055
2431         * config.host (tmake_file) [target=avr]: Add t-libf7,
2432         t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
2433         * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
2434         depending on sizeof (double) or sizeof (long double).
2435         * config/avr/libf7: New folder.
2437 2020-01-05  Olivier Hainque  <hainque@adacore.com>
2439         * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
2440         by IN_LIBGCC2.
2442 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
2444         Update copyright years.
2446 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2448         * config/gthr-vxworks.h: Use _vxworks-versions.h.
2449         * config/gthr-vxworks-tls.c: Likewise.
2451 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2453         * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
2454         standard zero-initializer syntax.
2456 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2458         * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
2459         reference to the internal VX_GET_TLS_DATA interface.
2461 2019-12-30  Olivier Hainque  <hainque@adacore.com>
2463         * config/vxcrtstuff.c: Fix incorrect spelling of
2464         USE_INITFINI_ARRAY in guard.
2466 2019-12-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2468         * config.host: s/msp430*-*-elf/msp430-*-elf*.
2469         Override default "extra_parts" variable.
2470         * configure: Regenerate.
2471         * configure.ac: Disable TM clone registry by default for
2472         msp430-elfbare.
2474 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2476         * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
2477         "extra_parts".
2478         * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
2480 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2482         * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
2483         true.
2485 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2487         * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
2488         defined instead of its value.
2490 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2492         * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
2493         if it will have contents.
2495 2019-12-05  Georg-Johann Lay  <avr@gjlay.de>
2497         PR target/92055
2498         * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
2500 2019-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2502         PR libgcc/91737
2503         * config.host: Add t-gthr-noweak on *-*-musl*.
2504         * config/t-gthr-noweak: New file.
2506 2019-11-17  John David Anglin  <danglin@gcc.gnu.org>
2508         * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
2509         volatile void *.  Remove trap check.
2510         (__kernel_cmpxchg2): Likewise.
2511         (FETCH_AND_OP_2): Adjust operand types.
2512         (OP_AND_FETCH_2): Likewise.
2513         (FETCH_AND_OP_WORD): Likewise.
2514         (OP_AND_FETCH_WORD): Likewise.
2515         (COMPARE_AND_SWAP_2): Likewise.
2516         (__sync_val_compare_and_swap_4): Likewise.
2517         (__sync_bool_compare_and_swap_4): Likewise.
2518         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2519         (__sync_lock_test_and_set_4): Likewise.
2520         (SYNC_LOCK_RELEASE_1): Likewise.  Use __kernel_cmpxchg2 for release.
2521         (__sync_lock_release_4): Adjust operand types.  Use __kernel_cmpxchg
2522         for release.
2523         (__sync_lock_release_8): Remove.
2525 2019-11-15  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2527         * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
2528         of __sigset_t.
2530 2019-11-14  Jerome Lambourg  <lambourg@adacore.com>
2531             Doug Rupp <rupp@adacore.com>
2532             Olivier Hainque  <hainque@adacore.com>
2534         * config.host: Collapse the arm-vxworks entries into
2535         a single arm-wrs-vxworks7* one.
2536         * config/arm/unwind-arm-vxworks.c: Update comments.  Provide
2537         __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
2538         kernel modules, to be overriden by libstdc++ when we link with
2539         it.  Rely on externally provided __exidx_start/end.
2541 2019-11-14  Doug Rupp  <rupp@adacore.com>
2542             Olivier Hainque  <hainque@adacore.com>
2544         * config.host: Handle aarch64*-wrs-vxworks7*.
2546 2019-11-12  Olivier Hainque  <hainque@adacore.com>
2548         * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
2549         sources except the cxx0x support to LIB2ADDEH.  We don't support
2550         cxx0x on AE/653.
2551         * config/t-vxworksae: New file.
2552         * config.host: Handle *-*-vxworksae: Add the two aforementioned
2553         Makefile fragment files at their expected position in the tmake_file
2554         list, in accordance with what is done for other VxWorks variants.
2556 2019-11-12  Corentin Gay  <gay@adacore.com>
2557             Jerome Lambourg  <lambourg@adacore.com>
2558             Olivier Hainque  <hainque@adacore.com>
2560         * config/t-gthr-vxworks: New file, add all the gthr-vxworks
2561         sources to LIB2ADDEH.
2562         * config/t-vxworks: Remove adjustments to LIB2ADDEH.
2563         * config/t-vxworks7: Likewise.
2565         * config.host: Append a block at the end of the file to add the
2566         t-gthr files to the tmake_file list for VxWorks after everything
2567         else.
2569         * config/vxlib.c: Rename as gthr-vxworks.c.
2570         * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
2572         * config/gthr-vxworks.h: Simplify a few comments.  Expose a TAS
2573         API and a basic error checking API, both internal.  Simplify the
2574         __gthread_once_t type definition and initializers.  Add sections
2575         for condition variables support and for the C++0x thread support,
2576         conditioned against Vx653 for the latter.
2578         * config/gthr-vxworks.c (__gthread_once): Simplify comments and
2579         implementation, leveraging the TAS internal API.
2580         * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
2581         API, leveraging the general availability of TLS services in VxWorks7
2582         post SR6xxx.
2583         (__gthread_setspecific, __gthread_setspecific): Use it.
2584         (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
2585         * config/gthr-vxworks-cond.c: New file.  GTHREAD_COND variable
2586         support based on VxWorks primitives.
2587         * config/gthr-vxworks-thread.c: New file.  GTHREAD_CXX0X support
2588         based on VxWorks primitives.
2590 2019-11-06  Jerome Lambourg  <lambourg@adacore.com>
2591             Olivier Hainque  <hainque@adacore.com>
2593         * config/vxcrtstuff.c: New file.
2594         * config/t-vxcrtstuff: New Makefile fragment.
2595         * config.host: Append t-vxcrtstuff to the tmake_file list
2596         on all VxWorks ports using dwarf for table based EH.
2598 2019-11-07  Georg-Johann Lay  <avr@gjlay.de>
2600         Support 64-bit double and 64-bit long double configurations.
2602         PR target/92055
2603         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
2604         long double is a 32-bit type.
2605         * config/avr/t-avrlibc: Copy double64 and long-double64
2606         multilib(s) from the vanilla one.
2607         * config/avr/t-copy-libgcc: New Makefile snip.
2609 2019-11-04  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2611         * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
2612         the target output object format is not ELF.
2613         s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
2615 2019-11-03  Oleg Endo  <olegendo@gcc.gnu.org>
2617         PR libgcc/78804
2618         * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
2619         * fp-bit.c (pack_d, unpack_d): Remove special cases for
2620         FLOAT_BIT_ORDER_MISMATCH.
2621         * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
2623 2019-11-01  Jim Wilson  <jimw@sifive.com>
2625         * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
2627 2019-10-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2629         * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
2630         s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY, 
2631         s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
2632         Define symbols for 32-bit and f5series hardware multiply
2633         register addresses.
2634         Replace hard-coded register addresses with symbols.
2635         Fix "_mspabi*" typo.
2636         Fix whitespace.
2637         * config/msp430/lib2mul.c: Add comment.
2639 2019-10-15  John David Anglin  <danglin@gcc.gnu.org>
2641         * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
2642         unsigned int.  Adjust callers.
2643         (__canonicalize_funcptr_for_compare): Change plabel type to volatile
2644         unsigned int *.  Load relocation offset before function pointer.
2645         Add barrier to ensure ordering.
2647 2019-10-12  John David Anglin  <danglin@gcc.gnu.org>
2649         * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
2650         Load PIC register after branch target.  Fix white space.
2651         * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
2652         implementations.  Load PIC register after branch target.  Don't
2653         clobber function pointer when it points to function descriptor.
2654         Use nullification instead of branch in LINUX implementation.
2656 2019-10-03  John David Anglin  <danglin@gcc.gnu.org>
2658         * config/pa/fptr.c: Disable -Warray-bounds warning.
2660 2019-09-25  Richard Henderson  <richard.henderson@linaro.org>
2662         * config.in, configure: Re-rebuild with stock autoconf 2.69,
2663         not the ubuntu modified 2.69.
2665         PR target/91833
2666         * config/aarch64/lse-init.c: Include auto-target.h.  Disable
2667         initialization if !HAVE_SYS_AUXV_H.
2668         * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
2669         * config.in, configure: Rebuild.
2671         PR target/91834
2672         * config/aarch64/lse.S (LDNM): Ensure STXR output does not
2673         overlap the inputs.
2675 2019-09-25  Shaokun Zhang  <zhangshaokun@hisilicon.com>
2677         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
2678         CTR_EL0.IDC and CTR_EL0.DIC.
2680 2019-09-20  Christophe Lyon  <christophe.lyon@st.com>
2682         Revert:
2683         2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2684                 Mickaël Guêné <mickael.guene@st.com>
2686         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2687         architecture.
2689 2019-09-19  Richard Henderson  <richard.henderson@linaro.org>
2691         * config/aarch64/lse-init.c: New file.
2692         * config/aarch64/lse.S: New file.
2693         * config/aarch64/t-lse: New file.
2694         * config.host: Add t-lse to all aarch64 tuples.
2696 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2697         Mickaël Guêné <mickael.guene@st.com>
2699         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2700         architecture.
2702 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2703         Mickaël Guêné <mickael.guene@st.com>
2705         * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
2706         (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
2707         (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
2708         (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
2709         (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
2710         (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
2711         (__gnu_personality_sigframe_fdpic): New.
2712         (get_eit_entry): Add FDPIC signal frame support.
2714 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2715         Mickaël Guêné <mickael.guene@st.com>
2717         * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
2718         (__kernel_dmb): Likewise.
2719         (__fdpic_cmpxchg): New function.
2720         (__fdpic_dmb): New function.
2721         * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
2722         (gnu_Unwind_Find_got): New function.
2723         (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
2724         * unwind-arm-common.inc (UCB_PR_GOT): New.
2725         (funcdesc_t): New struct.
2726         (get_eit_entry): Add FDPIC support.
2727         (unwind_phase2): Likewise.
2728         (unwind_phase2_forced): Likewise.
2729         (__gnu_Unwind_RaiseException): Likewise.
2730         (__gnu_Unwind_Resume): Likewise.
2731         (__gnu_Unwind_Backtrace): Likewise.
2732         * unwind-pe.h (read_encoded_value_with_base): Likewise.
2734 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2735         Mickaël Guêné <mickael.guene@st.com>
2737         * libgcc/crtstuff.c: Add support for FDPIC.
2739 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2741         * config.host: Handle *-*-uclinuxfdpiceabi.
2743 2019-09-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
2745         * config.host: Set cpu_type for bpf-*-* targets.
2746         * config/bpf/t-bpf: Likewise.
2747         * config/bpf/crtn.S: Likewise.
2748         * config/bpf/crti.S: New file.
2750 2019-09-06  Jim Wilson  <jimw@sifive.com>
2752         * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2753         (riscv*-*-freebsd*): Likewise.
2755 2019-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
2757         * config.host: Remove references to spu.
2758         * config/spu/: Remove directory.
2760 2019-08-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2762         PR target/91306
2763         * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
2764         element type, instead of "sizeof" the element type.
2765         (__DTOR_LIST__): Likewise.
2766         (__TMC_LIST__): Likewise.
2767         (__do_global_dtors_aux_fini_array_entry): Likewise.
2768         (__frame_dummy_init_array_entry): Likewise.
2769         (__CTOR_END__): Likewise.
2770         (__DTOR_END__): Likweise.
2771         (__FRAME_END__): Likewise.
2772         (__TMC_END__): Likewise.
2774 2019-08-20  Lili Cui  <lilicui@intel.com>
2776         * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
2777         INTEL_COREI7_COOPERLAKE.
2779 2019-07-31  Matt Thomas  <matt@3am-software.com>
2780             Nick Hudson <nick@nthcliff.demon.co.uk>
2781             Matthew Green <mrg@eterna.com.au>
2782             Maya Rashish <coypu@sdf.org>
2784         * config.host (hppa*-*-netbsd*): New case.
2785         * config/pa/t-netbsd: New file.
2787 2019-07-31  Joel Hutton  <Joel.Hutton@arm.com>
2789         * config/arm/cmse.c (cmse_check_address_range): Add
2790         warn_unused_result attribute.
2792 2019-07-22  Martin Liska  <mliska@suse.cz>
2794         * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
2795         * config/pa/t-stublib: Likewise.
2797 2019-07-22  Stafford Horne  <shorne@gmail.com>
2799         PR target/90362
2800         * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
2801         to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
2802         instructions are not available on every processor.  Change a
2803         l.bnf to l.bf to fix logic issue.
2805 2019-07-04  Iain Sandoe  <iain@sandoe.co.uk>
2807         * config.host: Remove reference to t-darwin8.
2809 2019-07-03  Iain Sandoe  <iain@sandoe.co.uk>
2811         * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
2812         list.
2813         * config/rs6000/t-darwin: Build crt3_2 for older systems.  Revise
2814         mmacosx-version-min for crts to run across all system versions.
2815         * config/rs6000/t-darwin64 (LIB2ADD): Remove.
2816         * config/t-darwin: Revise mmacosx-version-min for crts to run across
2817         system versions >= 10.4.
2819 2019-07-03  Martin Liska  <mliska@suse.cz>
2821         * Makefile.in: Use topn_values instead of one_value names.
2822         * libgcov-merge.c (__gcov_merge_single): Move to ...
2823         (__gcov_merge_topn): ... this.
2824         (merge_single_value_set): Move to ...
2825         (merge_topn_values_set): ... this.
2826         * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
2827         ...
2828         (__gcov_topn_values_profiler_body): ... this.
2829         (__gcov_one_value_profiler_v2): Move to ...
2830         (__gcov_topn_values_profiler): ... this.
2831         (__gcov_one_value_profiler_v2_atomic): Move to ...
2832         (__gcov_topn_values_profiler_atomic): ... this.
2833         (__gcov_indirect_call_profiler_v4): Remove.
2834         * libgcov-util.c (__gcov_single_counter_op): Move to ...
2835         (__gcov_topn_counter_op): ... this.
2836         * libgcov.h (L_gcov_merge_single): Remove.
2837         (L_gcov_merge_topn): New.
2838         (__gcov_merge_single): Remove.
2839         (__gcov_merge_topn): New.
2840         (__gcov_one_value_profiler_v2): Move to ..
2841         (__gcov_topn_values_profiler): ... this.
2842         (__gcov_one_value_profiler_v2_atomic): Move to ...
2843         (__gcov_topn_values_profiler_atomic): ... this.
2845 2019-07-03  Martin Liska  <mliska@suse.cz>
2847         * libgcov-merge.c (merge_single_value_set): Support N values.
2848         * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
2850 2019-06-27  Ilia Diachkov  <ilia.diachkov@optimitech.com>
2852         * Makefile.in (USE_TM_CLONE_REGISTRY): New.
2853         (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
2854         * configure.ac: Add --disable-tm-clone-registry option.
2855         * configure: Regenerate.
2857 2019-06-27  Martin Liska  <mliska@suse.cz>
2859         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
2860         dead assignments.
2861         * libgcov-util.c: Likewise.
2863 2019-06-27  Martin Liska  <mliska@suse.cz>
2865         * libgcov-util.c (gcov_profile_merge): Release allocated
2866         memory.
2867         (calculate_overlap): Likewise.
2869 2019-06-25  Iain Sandoe  <iain@sandoe.co.uk>
2871         * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
2872         * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
2873         Build objects for the out of line save/restore register functions
2874         so that they can be used for any supported Darwin version.
2875         * config/t-darwin: Default the build Darwin version to Darwin8
2876         (MacOS 10.4).
2878 2019-06-25  Martin Liska  <mliska@suse.cz>
2880         * libgcov-driver-system.c (replace_filename_variables): Do not
2881         call strlen with NULL argument.
2883 2019-06-25  Andrew Stubbs  <ams@codesourcery.com>
2885         * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
2886         * config/gcn/unwind-gcn.c: New file.
2888 2019-06-25  Kwok Cheung Yeung  <kcy@codesourcery.com>
2889             Andrew Stubbs  <ams@codesourcery.com>
2891         * configure: Regenerate.
2892         * config/gcn/gthr-gcn.h: New.
2894 2019-06-18  Tom de Vries  <tdevries@suse.de>
2896         * config/nvptx/crt0.c (__main): Declare.
2898 2019-06-17  Matthew Green  <mrg@eterna.com.au>
2899             Maya Rashish  <coypu@sdf.org>
2901         * config.host (aarch64*-*-netbsd*): New case.
2903 2019-06-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2905         * config/msp430/slli.S (__mspabi_sllll): New library function for
2906         performing a logical left shift of a 64-bit value.
2907         * config/msp430/srai.S (__mspabi_srall): New library function for
2908         performing a arithmetic right shift of a 64-bit value.
2909         * config/msp430/srll.S (__mspabi_srlll): New library function for
2910         performing a logical right shift of a 64-bit value.
2912 2019-06-14  Matt Thomas  <matt@3am-software.com>
2913             Matthew Green  <mrg@eterna.com.au>
2914             Nick Hudson  <skrll@netbsd.org>
2915             Maya Rashish  <coypu@sdf.org>
2917         * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
2918         * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
2919         functions to build.
2920         * config/arm/t-netbsd-eabi: New file.
2922 2019-06-12  Dimitar Dimitrov  <dimitar@dinux.eu>
2924         * config.host: Add PRU target.
2925         * config/pru/asri.c: New file.
2926         * config/pru/eqd.c: New file.
2927         * config/pru/eqf.c: New file.
2928         * config/pru/ged.c: New file.
2929         * config/pru/gef.c: New file.
2930         * config/pru/gtd.c: New file.
2931         * config/pru/gtf.c: New file.
2932         * config/pru/led.c: New file.
2933         * config/pru/lef.c: New file.
2934         * config/pru/lib2bitcountHI.c: New file.
2935         * config/pru/lib2divHI.c: New file.
2936         * config/pru/lib2divQI.c: New file.
2937         * config/pru/lib2divSI.c: New file.
2938         * config/pru/libgcc-eabi.ver: New file.
2939         * config/pru/ltd.c: New file.
2940         * config/pru/ltf.c: New file.
2941         * config/pru/mpyll.S: New file.
2942         * config/pru/pru-abi.h: New file.
2943         * config/pru/pru-asm.h: New file.
2944         * config/pru/pru-divmod.h: New file.
2945         * config/pru/sfp-machine.h: New file.
2946         * config/pru/t-pru: New file.
2948 2019-06-11  Jakub Jelinek  <jakub@redhat.com>
2950         * libgcov-merge.c (__gcov_merge_single): Revert previous change.
2952 2019-06-10  Martin Liska  <mliska@suse.cz>
2954         PR bootstrap/90808
2955         * libgcov.h: Add ATTRIBUTE_UNUSED.
2957 2019-06-10  Martin Liska  <mliska@suse.cz>
2959         * Makefile.in: Add __gcov_one_value_profiler_v2,
2960         __gcov_one_value_profiler_v2_atomic and
2961         __gcov_indirect_call_profiler_v4.
2962         * libgcov-merge.c (__gcov_merge_single): Change
2963         function signature.
2964         (merge_single_value_set): New.
2965         * libgcov-profiler.c (__gcov_one_value_profiler_body):
2966         Update functionality.
2967         (__gcov_one_value_profiler): Remove.
2968         (__gcov_one_value_profiler_v2): ... this.
2969         (__gcov_one_value_profiler_atomic): Rename to ...
2970         (__gcov_one_value_profiler_v2_atomic): this.
2971         (__gcov_indirect_call_profiler_v3): Rename to ...
2972         (__gcov_indirect_call_profiler_v4): ... this.
2973         * libgcov.h (__gcov_one_value_profiler): Remove.
2974         (__gcov_one_value_profiler_atomic): Remove.
2975         (__gcov_one_value_profiler_v2_atomic): New.
2976         (__gcov_indirect_call_profiler_v3): Remove.
2977         (__gcov_one_value_profiler_v2): New.
2978         (__gcov_indirect_call_profiler_v4): New.
2979         (gcov_get_counter_ignore_scaling): New function.
2981 2019-06-07  Martin Liska  <mliska@suse.cz>
2983         * Makefile.in: Remove usage of
2984         _gcov_merge_icall_topn.
2985         * libgcov-driver.c (gcov_sort_n_vals): Remove.
2986         (gcov_sort_icall_topn_counter): Likewise.
2987         (gcov_sort_topn_counter_arrays): Likewise.
2988         (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
2989         * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
2990         * libgcov-profiler.c (__gcov_topn_value_profiler_body):
2991         Likewise.
2992         (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
2993         (struct indirect_call_tuple): Remove.
2994         (__gcov_indirect_call_topn_profiler): Remove.
2995         * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
2996         * libgcov.h (gcov_sort_n_vals): Remove.
2997         (L_gcov_merge_icall_topn): Likewise.
2998         (__gcov_merge_icall_topn): Likewise.
2999         (__gcov_indirect_call_topn_profiler): Likewise.
3001 2019-06-06  Iain Sandoe  <iain@sandoe.co.uk>
3003         * config/rs6000/t-darwin: Ensure that the unwinder is built with
3004         altivec enabled.
3006 2019-06-06  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3008         * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
3009         section.
3010         (__mspabi_slli): Likewise.
3011         (__mspabi_slll_n): Likewise.
3012         (__mspabi_slll): Likewise.
3013         * config/msp430/srai.S (__mspabi_srai_n): Likewise.
3014         (__mspabi_srai): Likewise.
3015         (__mspabi_sral_n): Likewise.
3016         (__mspabi_sral): Likewise.
3017         * config/msp430/srli.S (__mspabi_srli_n): Likewise.
3018         (__mspabi_srli): Likewise.
3019         (__mspabi_srll_n): Likewise.
3020         (__mspabi_srll): Likewise.
3022 2019-06-05  Yoshinori Sato  <ysato@users.sourceforge.jp>
3024         * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
3025         Add appropriate tm_file clause as well.
3026         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
3028 2019-06-05  James Clarke  <jrtc27@jrtc27.com>
3030         * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
3031         rather than .data/.bss so it can be accessed via gp-relative
3032         addressing.
3034 2019-06-05  David Edelsohn  <dje.gcc@gmail.com>
3036         * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
3037         (CR2_REGNO): Rename to R_CR2.
3038         (XER_REGNO): Rename to R_XER.
3039         (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
3040         (VRSAVE_REGNO): Rename to R_VRSAVE.
3041         (VSCR_REGNO): R_VSCR.
3043 2019-05-29  Yoshinori Sato  <ysato@users.sourceforge.jp>
3045         * config.host (rx-*-linux*): Add new case.
3046         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
3048 2019-05-29  Sam Tebbs  <sam.tebbs@arm.com>
3050         * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
3051         function.
3052         * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
3053         aarch64_post_frob_eh_handler_addr): Add check for b-key.
3054         * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
3055         aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
3056         Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
3057         * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
3058         string.
3059         * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
3060         string.
3061         (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
3063 2019-05-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3065         * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
3066         Remove Solaris 9 and 10 support.
3067         (sparc_is_sighandler): Likewise.
3069 2019-05-26  John David Anglin  <danglin@gcc.gnu.org>
3071         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
3073 2019-05-17  H.J. Lu  <hongjiu.lu@intel.com>
3075         * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3076         4_FP_W_TYPEs are used for IEEE quad precision.
3077         * soft-fp/extendhftf2.c: Likewise.
3078         * soft-fp/extendsftf2.c: Likewise.
3079         * soft-fp/extendxftf2.c: Likewise.
3080         * soft-fp/trunctfdf2.c: Likewise.
3081         * soft-fp/trunctfhf2.c: Likewise.
3082         * soft-fp/trunctfsf2.c: Likewise.
3083         * soft-fp/trunctfxf2.c: Likewise.
3084         * config/rs6000/ibm-ldouble.c: Likewise.
3086 2019-05-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3088         * config.host: Simplify various *-*-solaris2.1[0-9]* to
3089         *-*-solaris2*.
3090         * configure.ac: Likewise.
3091         * configure: Regenerate.
3093         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3094         Solaris 10 and Solaris 11 < snv_125 handling.
3096 2019-05-12  Iain Sandoe  <iain@sandoe.co.uk>
3098         * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
3100 2019-05-07  Hongtao Liu  <hongtao.liu@intel.com>
3102         * config/i386/cpuinfo.c (get_available_features): Detect BF16.
3103         * config/i386/cpuinfo.h (enum processor_features): Add
3104         FEATURE_AVX512BF16.
3106 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
3107             Bernd Edlinger  <bernd.edlinger@hotmail.de>
3108             Jakub Jelinek  <jakub@redhat.com>
3110         PR target/89093
3111         * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
3112         * config/arm/unwind-arm.c: Likewise.
3113         * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
3114         attribute for ARM.
3116 2019-04-15  Monk Chiang  <sh.chiang04@gmail.com>
3118         * config/nds32/linux-unwind.h (SIGRETURN): Remove.
3119         (RT_SIGRETURN): Update.
3120         (nds32_fallback_frame_state): Update.
3122 2019-02-21  Martin Sebor  <msebor@redhat.com>
3124         * libgcc2.h (__clear_cache): Correct signature.
3125         * libgcc2.c (__clear_cache): Same.
3127 2019-02-20  UroÅ¡ Bizjak  <ubizjak@gmail.com>
3129         * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
3130         Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
3132 2019-02-19  UroÅ¡ Bizjak  <ubizjak@gmail.com>
3134         * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
3135         regno instead of index to DWARF_ZERO_REG.
3137 2019-02-15  Eric Botcazou  <ebotcazou@adacore.com>
3139         * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
3140         TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
3142 2019-01-31  UroÅ¡ Bizjak  <ubizjak@gmail.com>
3144         * config/alpha/t-linux: Add -mfp-rounding-mode=d
3145         to HOST_LIBGCC2_CFLAGS.
3147 2019-01-23  Joseph Myers  <joseph@codesourcery.com>
3149         PR libgcc/88931
3150         * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
3152 2019-01-18  Martin Liska  <mliska@suse.cz>
3154         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
3155         to ...
3156         (__gcov_indirect_call_profiler_v3): ... this.
3157         * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
3158         (__gcov_indirect_call_profiler_v3): Likewise.
3159         * Makefile.in: Bump function name.
3161 2019-01-18  Martin Liska  <mliska@suse.cz>
3163         * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
3164         (gcov_version): Use in gcov_error.
3165         (merge_one_data): Likewise.
3166         (dump_one_gcov): Likewise.
3168 2019-01-18  Martin Liska  <mliska@suse.cz>
3170         * libgcov-driver.c (gcov_version_string): New function.
3171         (gcov_version): Convert version integer into string.
3173 2019-01-17  Andrew Stubbs  <ams@codesourcery.com>
3174             Kwok Cheung Yeung  <kcy@codesourcery.com>
3175             Julian Brown  <julian@codesourcery.com>
3176             Tom de Vries  <tom@codesourcery.com>
3178         * config.host: Recognize amdgcn*-*-amdhsa.
3179         * config/gcn/crt0.c: New file.
3180         * config/gcn/lib2-divmod-hi.c: New file.
3181         * config/gcn/lib2-divmod.c: New file.
3182         * config/gcn/lib2-gcn.h: New file.
3183         * config/gcn/sfp-machine.h: New file.
3184         * config/gcn/t-amdgcn: New file.
3186 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
3188         PR other/16615
3190         * config/c6x/libunwind.S: Mechanically replace "can not" with
3191         "cannot".
3192         * config/tilepro/atomic.h: Likewise.
3193         * config/vxlib-tls.c: Likewise.
3194         * generic-morestack-thread.c: Likewise.
3195         * generic-morestack.c: Likewise.
3196         * mkmap-symver.awk: Likewise.
3198 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
3200         Update copyright years.
3202 2018-12-20  H.J. Lu  <hongjiu.lu@intel.com>
3204         * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
3205         to ignore -Waddress-of-packed-member.
3207 2018-12-19  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
3209         * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
3210         parameter and corresponding code.
3211         (ARM_FUNC_START): Likewise in both definitions.
3212         Also update footer comment about condition that need to match with
3213         gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
3214         * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
3215         defined.  Weakly define it in this case.
3216         * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
3217         * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
3218         _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
3219         comment to keep condition in sync with the one in
3220         libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
3222 2018-12-18  Wei Xiao  <wei3.xiao@intel.com>
3224         * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
3225         * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
3227 2018-12-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3229         * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
3230         and .cfi_endproc directives for VxWorks targets.
3232 2018-12-05  Paul Koning  <ni1d@arrl.net>
3234         * udivmodhi4.c (__udivmodhi4): Fix loop end check.
3236 2018-11-27  Alan Modra  <amodra@gmail.com>
3238         * config/rs6000/morestack.S (__stack_split_initialize),
3239         (__morestack_get_guard, __morestack_set_guard),
3240         (__morestack_make_guard): Provide CFI covering these functions.
3241         * config/rs6000/tramp.S (__trampoline_setup): Likewise.
3243 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
3245         * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
3246         (sc_pt_regs_lr): Update for kernel.
3247         (sc_pt_regs_tls): Update for kernel.
3249 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
3251         * config/csky/linux-unwind.h: Fix coding style.
3253 2018-11-13  Xianmiao Qu  <xianmiao_qu@c-sky.com>
3255         * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
3256         (csky_fallback_frame_state): Modify the check of the
3257         instructions to adapt to changes in the kernel
3259 2018-11-09  Stafford Horne  <shorne@gmail.com>
3260             Richard Henderson  <rth@twiddle.net>
3262         * config.host: Add OpenRISC support.
3263         * config/or1k/*: New.
3265 2018-11-08  Kito Cheng  <kito@andestech.com>
3267         * soft-fp/adddf3.c: Update from glibc.
3268         * soft-fp/addsf3.c: Likewise.
3269         * soft-fp/addtf3.c: Likewise.
3270         * soft-fp/divdf3.c: Likewise.
3271         * soft-fp/divsf3.c: Likewise.
3272         * soft-fp/divtf3.c: Likewise.
3273         * soft-fp/double.h: Likewise.
3274         * soft-fp/eqdf2.c: Likewise.
3275         * soft-fp/eqsf2.c: Likewise.
3276         * soft-fp/eqtf2.c: Likewise.
3277         * soft-fp/extenddftf2.c: Likewise.
3278         * soft-fp/extended.h: Likewise.
3279         * soft-fp/extendhftf2.c: Likewise.
3280         * soft-fp/extendsfdf2.c: Likewise.
3281         * soft-fp/extendsftf2.c: Likewise.
3282         * soft-fp/extendxftf2.c: Likewise.
3283         * soft-fp/fixdfdi.c: Likewise.
3284         * soft-fp/fixdfsi.c: Likewise.
3285         * soft-fp/fixdfti.c: Likewise.
3286         * soft-fp/fixhfti.c: Likewise.
3287         * soft-fp/fixsfdi.c: Likewise.
3288         * soft-fp/fixsfsi.c: Likewise.
3289         * soft-fp/fixsfti.c: Likewise.
3290         * soft-fp/fixtfdi.c: Likewise.
3291         * soft-fp/fixtfsi.c: Likewise.
3292         * soft-fp/fixtfti.c: Likewise.
3293         * soft-fp/fixunsdfdi.c: Likewise.
3294         * soft-fp/fixunsdfsi.c: Likewise.
3295         * soft-fp/fixunsdfti.c: Likewise.
3296         * soft-fp/fixunshfti.c: Likewise.
3297         * soft-fp/fixunssfdi.c: Likewise.
3298         * soft-fp/fixunssfsi.c: Likewise.
3299         * soft-fp/fixunssfti.c: Likewise.
3300         * soft-fp/fixunstfdi.c: Likewise.
3301         * soft-fp/fixunstfsi.c: Likewise.
3302         * soft-fp/fixunstfti.c: Likewise.
3303         * soft-fp/floatdidf.c: Likewise.
3304         * soft-fp/floatdisf.c: Likewise.
3305         * soft-fp/floatditf.c: Likewise.
3306         * soft-fp/floatsidf.c: Likewise.
3307         * soft-fp/floatsisf.c: Likewise.
3308         * soft-fp/floatsitf.c: Likewise.
3309         * soft-fp/floattidf.c: Likewise.
3310         * soft-fp/floattihf.c: Likewise.
3311         * soft-fp/floattisf.c: Likewise.
3312         * soft-fp/floattitf.c: Likewise.
3313         * soft-fp/floatundidf.c: Likewise.
3314         * soft-fp/floatundisf.c: Likewise.
3315         * soft-fp/floatunditf.c: Likewise.
3316         * soft-fp/floatunsidf.c: Likewise.
3317         * soft-fp/floatunsisf.c: Likewise.
3318         * soft-fp/floatunsitf.c: Likewise.
3319         * soft-fp/floatuntidf.c: Likewise.
3320         * soft-fp/floatuntihf.c: Likewise.
3321         * soft-fp/floatuntisf.c: Likewise.
3322         * soft-fp/floatuntitf.c: Likewise.
3323         * soft-fp/gedf2.c: Likewise.
3324         * soft-fp/gesf2.c: Likewise.
3325         * soft-fp/getf2.c: Likewise.
3326         * soft-fp/half.h: Likewise.
3327         * soft-fp/ledf2.c: Likewise.
3328         * soft-fp/lesf2.c: Likewise.
3329         * soft-fp/letf2.c: Likewise.
3330         * soft-fp/muldf3.c: Likewise.
3331         * soft-fp/mulsf3.c: Likewise.
3332         * soft-fp/multf3.c: Likewise.
3333         * soft-fp/negdf2.c: Likewise.
3334         * soft-fp/negsf2.c: Likewise.
3335         * soft-fp/negtf2.c: Likewise.
3336         * soft-fp/op-1.h: Likewise.
3337         * soft-fp/op-2.h: Likewise.
3338         * soft-fp/op-4.h: Likewise.
3339         * soft-fp/op-8.h: Likewise.
3340         * soft-fp/op-common.h: Likewise.
3341         * soft-fp/quad.h: Likewise.
3342         * soft-fp/single.h: Likewise.
3343         * soft-fp/soft-fp.h: Likewise.
3344         * soft-fp/subdf3.c: Likewise.
3345         * soft-fp/subsf3.c: Likewise.
3346         * soft-fp/subtf3.c: Likewise.
3347         * soft-fp/truncdfsf2.c: Likewise.
3348         * soft-fp/trunctfdf2.c: Likewise.
3349         * soft-fp/trunctfhf2.c: Likewise.
3350         * soft-fp/trunctfsf2.c: Likewise.
3351         * soft-fp/trunctfxf2.c: Likewise.
3352         * soft-fp/unorddf2.c: Likewise.
3353         * soft-fp/unordsf2.c: Likewise.
3354         * soft-fp/unordtf2.c: Likewise.
3356 2018-11-04  Venkataramanan Kumar  <Venkataramanan.kumar@amd.com>
3358         * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
3359         * config/i386/cpuinfo.h (processor_types): Add znver2.
3361 2018-11-01  Paul Koning  <ni1d@arrl.net>
3363         * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
3364         (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
3366 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
3368         PR bootstrap/82856
3369         * configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
3370         * configure: Regenerate.
3372 2018-10-31  Claudiu Zissulescu  <claziss@synopsys.com>
3374         * config/arc/lib1funcs.S (_muldi3): New function.
3375         * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
3377 2018-10-30  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3379         * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
3381 2018-10-25  Martin Liska  <mliska@suse.cz>
3383         PR other/87735
3384         * libgcov-profiler.c: Revert.
3386 2018-10-24  Martin Liska  <mliska@suse.cz>
3388         * libgcov-profiler.c: Start from 1 in order to distinguish
3389         functions which were seen and these that were not.
3391 2018-10-18  Paul Koning  <ni1d@arrl.net>
3393         * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
3394         standard.
3395         * divmod.c: Update references to __udivmodsi4.
3396         * udivmod.c: Ditto.
3397         * udivhi3.c: New file.
3398         * udivmodhi4.c: New file.
3399         * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
3401 2018-10-17  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3403         * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
3405 2018-10-12  Olivier Hainque  <hainque@adacore.com>
3407         * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
3408         defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
3410 2018-10-08  Paul Koning  <ni1d@arrl.net>
3412         * config/pdp11/t-pdp11: Remove -mfloat32 switch.
3414 2018-10-04  Martin Liska  <mliska@suse.cz>
3416         PR gcov-profile/84107
3417         * libgcov-profiler.c (__gcov_indirect_call):
3418         Change type to indirect_call_tuple.
3419         (struct indirect_call_tuple): New struct.
3420         (__gcov_indirect_call_topn_profiler): Change type.
3421         (__gcov_indirect_call_profiler_v2): Use the new
3422         variables.
3423         * libgcov.h (struct indirect_call_tuple): New struct
3424         definition.
3426 2018-10-03  Uros Bizjak  <ubizjak@gmail.com>
3428         * libgcc2.c (isnan): Use __builtin_isnan.
3429         (isfinite): Use __builtin_isfinite.
3430         (isinf): Use __builtin_isinf.
3432 2018-09-26  Uros Bizjak  <ubizjak@gmail.com>
3434         * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
3436 2018-09-21  Alexandre Oliva  <oliva@adacore.com>
3438         * config/vxcache.c: New file.  Provide __clear_cache, based on
3439         the cacheTextUpdate VxWorks service.
3440         * config/t-vxworks (LIB2ADD): Add vxcache.c.
3441         (LIB2FUNCS_EXCLUDE): Add _clear_cache.
3442         * config/t-vxwoks7: Likewise.
3444 2018-09-21  Martin Liska  <mliska@suse.cz>
3446         * libgcov-driver.c (crc32_unsigned): Remove.
3447         (gcov_histogram_insert): Likewise.
3448         (gcov_compute_histogram): Likewise.
3449         (compute_summary): Simplify rapidly.
3450         (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
3451         (merge_summary): Rapidly simplify.
3452         (dump_one_gcov): Ignore gcov_summary.
3453         (gcov_do_dump): Do not handle program summary, it's not
3454         used.
3455         * libgcov-util.c (tag_summary): Remove.
3456         (read_gcda_finalize): Fix coding style.
3457         (read_gcda_file): Initialize curr_object_summary.
3458         (compute_summary): Remove.
3459         (calculate_overlap): Remove settings of run_max.
3461 2018-09-21  Monk Chiang  <sh.chiang04@gmail.com>
3463         * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
3464         ucontext_t type instead.
3465         (nds32_fallback_frame_state): Remove struct _sigframe statement.
3467 2018-09-21  Kito Cheng  <kito.cheng@gmail.com>
3469         * config/nds32/t-nds32-glibc: New file.
3471 2018-09-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3473         * configure.ac (solaris_ld_v2_maps): New test.
3474         * configure: Regenerate.
3475         * Makefile.in (solaris_ld_v2_maps): New variable.
3476         * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
3477         if supported.
3479 2018-08-23  Richard Earnshaw  <rearnsha@arm.com>
3481         PR target/86951
3482         * config/arm/lib1funcs.asm (speculation_barrier): New function.
3483         * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
3484         to build.
3486 2018-08-22  Iain Sandoe  <iain@sandoe.co.uk>
3488         * config/unwind-dw2-fde-darwin.c
3489         (_darwin10_Unwind_FindEnclosingFunction): move from here ...
3490         * config/darwin10-unwind-find-enc-func.c: â€¦ to here.
3491         * config/t-darwin: Build Darwin10 unwinder shim crt.
3492         * libgcc/config.host: Add the Darwin10 unwinder shim.
3494 2018-08-21  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3496         * config.host: Add crtbegin.o and crtend.o for
3497         powerpc-wrs-vxworks target.
3499 2018-08-17  Jojo  <jijie_rong@c-sky.com>
3500             Huibin Wang  <huibin_wang@c-sky.com>
3501             Sandra Loosemore  <sandra@codesourcery.com>
3502             Chung-Lin Tang  <cltang@codesourcery.com>
3504         C-SKY port: libgcc
3506         * config.host: Add C-SKY support.
3507         * config/csky/*: New.
3509 2018-08-12  Chung-Ju Wu  <jasonwucj@gmail.com>
3511         * config/nds32/t-nds32-isr: Rearrange object dependency.
3512         * config/nds32/initfini.c: Add dwarf2 unwinding support.
3513         * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
3514         and registers usage.
3515         * config/nds32/isr-library/excp_isr.S: Ditto.
3516         * config/nds32/isr-library/intr_isr.S: Ditto.
3517         * config/nds32/isr-library/reset.S: Ditto.
3518         * config/nds32/isr-library/restore_all.inc: Ditto.
3519         * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
3520         * config/nds32/isr-library/restore_partial.inc: Ditto.
3521         * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
3522         * config/nds32/isr-library/save_all.inc: Ditto.
3523         * config/nds32/isr-library/save_mac_regs.inc: Ditto.
3524         * config/nds32/isr-library/save_partial.inc: Ditto.
3525         * config/nds32/isr-library/save_usr_regs.inc: Ditto.
3526         * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
3528 2018-08-11  John David Anglin  <danglin@gcc.gnu.org>
3530         * config/pa/linux-atomic.c: Update comment.
3531         (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
3532         COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
3533         SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
3534         __ATOMIC_RELAXED for atomic loads.
3535         (SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
3536         unordered store to release lock.
3537         (__sync_lock_release_8): Likewise.
3538         (SYNC_LOCK_RELEASE_2): Remove define.
3540 2018-08-02  Nicolas Pitre <nico@fluxnic.net>
3542         PR libgcc/86512
3543         * config/arm/ieee754-df.S: Don't shortcut denormal handling when
3544         exponent goes negative. Update my email address.
3545         * config/arm/ieee754-sf.S: Likewise.
3547 2018-08-01  Martin Liska  <mliska@suse.cz>
3549         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
3550         check that  __gcov_indirect_call_callee is non-null.
3552 2018-07-30  Christophe Lyon  <christophe.lyon@linaro.org>
3554         * config/arm/ieee754-df.S: Fix comment for code working on
3555         architectures >= 4.
3556         * config/arm/ieee754-sf.S: Likewise.
3558 2018-07-27  H.J. Lu  <hongjiu.lu@intel.com>
3560         PR libgcc/85334
3561         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3562         Removed.
3564 2018-07-05  James Clarke  <jrtc27@jrtc27.com>
3566         * configure: Regenerated.
3568 2018-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3570         * Makefile.in (install_leaf): Use enable_gcov instead of
3571         enable_libgcov.
3573 2018-06-27  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3575         * configure.ac: Add --disable-gcov option.
3576         * configure: Regenerate.
3577         * Makefile.in: Honour @enable_gcov@.
3579 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
3581         * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
3582         __ARM_ARCH and __ARM_FEATURE_CLZ instead.
3583         (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
3584         * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
3585         __ARM_ARCH__.
3586         * config/arm/ieee754-sf.S: Likewise.
3587         * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
3589 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
3591         * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
3592         longer supported.
3593         * config/arm/ieee754-sf.S: Likewise.
3595 2018-06-20  Than McIntosh  <thanm@google.com>
3597         PR libgcc/86213
3598         * generic-morestack.c (allocate_segment): Move calls to getenv and
3599         getpagesize to __morestack_load_mmap.
3600         (__morestack_load_mmap) Initialize static_pagesize and
3601         use_guard_page here so as to avoid clobbering SSE regs during a
3602         __morestack call.
3604 2018-06-18  Michael Meissner  <meissner@linux.ibm.com>
3606         * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
3607         support modules with -mno-gnu-attribute.
3608         * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
3610 2018-06-07  Olivier Hainque  <hainque@adacore.com>
3612         * config/t-vxworks (LIBGCC_INCLUDES): Add
3613         -I$(MULTIBUILDTOP)../../gcc/include.
3614         * config/t-vxworks7: Likewise. Reformat a bit to match
3615         the t-vxworks layout.
3617 2018-06-07  Olga Makhotina  <olga.makhotina@intel.com>
3619         * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
3621 2018-06-07  Martin Liska  <mliska@suse.cz>
3623         * libgcov-driver.c: Rename cs_all to all and assign it from
3624         all_prg.
3626 2018-06-07  Martin Liska  <mliska@suse.cz>
3628         PR bootstrap/86057
3629         * libgcov-driver-system.c (replace_filename_variables): Use
3630         memcpy instead of mempcpy.
3631         (allocate_filename_struct): Do not allocate filename, allocate
3632         prefix and set it.
3633         (gcov_exit_open_gcda_file): Allocate memory for gf->filename
3634         here and properly copy content into it.
3635         * libgcov-driver.c (struct gcov_filename): Remove max_length
3636         field, change prefix from size_t into char *.
3637         (compute_summary): Do not calculate longest filename.
3638         (gcov_do_dump): Release memory of gf.filename after each file.
3639         * libgcov-util.c (compute_summary): Use new signature of
3640         compute_summary.
3641         (calculate_overlap): Likewise.
3643 2018-06-05  Martin Liska  <mliska@suse.cz>
3645         PR gcov-profile/47618
3646         * libgcov-driver-system.c (replace_filename_variables): New
3647         function.
3648         (gcov_exit_open_gcda_file): Use it.
3650 2018-06-05  Martin Liska  <mliska@suse.cz>
3652         * libgcov-driver.c (gcov_compute_histogram): Remove usage
3653         of gcov_ctr_summary.
3654         (compute_summary): Do it just for a single summary.
3655         (merge_one_data): Likewise.
3656         (merge_summary): Simplify as we read just single summary.
3657         (dump_one_gcov): Pass proper argument.
3658         * libgcov-util.c (compute_one_gcov): Simplify as we have just
3659         single summary.
3660         (gcov_info_count_all_cold): Likewise.
3661         (calculate_overlap): Likewise.
3663 2018-06-02  Chung-Ju Wu  <jasonwucj@gmail.com>
3664             Monk Chiang  <sh.chiang04@gmail.com>
3666         * config.host (nds32*-linux*): New.
3667         * config/nds32/linux-atomic.c: New file.
3668         * config/nds32/linux-unwind.h: New file.
3670 2018-05-31  Uros Bizjak  <ubizjak@gmail.com>
3672         PR target/85591
3673         * config/i386/cpuinfo.c (get_amd_cpu): Return
3674         AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
3676 2018-05-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
3678         * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
3680 2018-05-29  Martin Liska  <mliska@suse.cz>
3682         PR gcov-profile/85759
3683         * libgcov-driver-system.c (gcov_error): Introduce usage of
3684         GCOV_EXIT_AT_ERROR env. variable.
3685         * libgcov-driver.c (merge_one_data): Print error that we
3686         overwrite a gcov file with a different timestamp.
3688 2018-05-23  Kalamatee  <kalamatee@gmail.com>
3690         * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
3691         path to Lf$finfty.
3693 2018-05-18  Kito Cheng <kito.cheng@gmail.com>
3694             Monk Chiang  <sh.chiang04@gmail.com>
3695             Jim Wilson <jimw@sifive.com>
3697         * config/riscv/save-restore.S: Add support for rv32e.
3699 2018-05-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
3701         * config/arm/libunwind.S: Update comment relating to armv5.
3703 2018-05-17  Jerome Lambourg  <lambourg@adacore.com>
3705         * config/arm/cmse.c (cmse_check_address_range): Replace
3706         UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
3708 2018-05-17  Olga Makhotina  <olga.makhotina@intel.com>
3710         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
3711         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
3713 2018-05-08  Olga Makhotina  <olga.makhotina@intel.com>
3715         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
3716         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
3718 2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
3720         * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
3722 2018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
3723             Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
3725         PR libgcc/84292
3726         * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
3727         op_and_fetch to return the right result.
3729 2018-04-27  Alan Modra  <amodra@gmail.com>
3731         PR libgcc/85532
3732         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
3733         -fno-asynchronous-unwind-tables.
3735 2018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
3737         * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
3738         * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
3740 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
3742         * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
3743         when including "config/i386/shadow-stack-unwind.h".
3745 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
3747         * configure: Regenerated.
3749 2018-04-20  Michael Meissner  <meissner@linux.ibm.com>
3751         PR target/85456
3752         * config/rs6000/_powikf2.c: New file.  Add support for the
3753         __builtin_powil function when long double is IEEE 128-bit floating
3754         point.
3755         * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
3756         __powikf2 support.
3757         (__powikf2): Likewise.
3758         * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
3759         (__powikf2_hw): Likewise.
3760         (__powikf2): Likewise.
3761         * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
3762         * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
3763         (_powikf2-hw.c): Likewise.
3765 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
3767         PR libgcc/85334
3768         * unwind-generic.h (_Unwind_Frames_Increment): New.
3769         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3770         Likewise.
3771         * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
3772         count with _Unwind_Frames_Increment.
3773         (_Unwind_ForcedUnwind_Phase2): Likewise.
3775 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
3777         PR libgcc/85379
3778         * config/i386/morestack.S (__stack_split_initialize): Add
3779         _CET_ENDBR.
3781 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
3783         * configure: Regenerated.
3785 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
3787         PR jit/85384
3788         * configure: Regenerate.
3790 2018-04-16  Jakub Jelinek  <jakub@redhat.com>
3792         PR target/84945
3793         * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
3794         -Wdangling-else warnings.  Mask shift counts to avoid
3795         -Wshift-count-negative and -Wshift-count-overflow false positives.
3797 2018-04-06  Ruslan Bukin  <br@bsdpad.com>
3799         * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
3801 2018-03-29  H.J. Lu  <hongjiu.lu@intel.com>
3803         PR target/85100
3804         * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
3805         (XSTATE_FP): Likewise.
3806         (XSTATE_SSE): Likewise.
3807         (XSTATE_YMM): Likewise.
3808         (XSTATE_OPMASK): Likewise.
3809         (XSTATE_ZMM): Likewise.
3810         (XSTATE_HI_ZMM): Likewise.
3811         (XCR_AVX_ENABLED_MASK): Likewise.
3812         (XCR_AVX512F_ENABLED_MASK): Likewise.
3813         (get_available_features): Enable AVX and AVX512 features only
3814         if their states are supported by OSXSAVE.
3816 2018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3818         PR target/85025
3819         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3820         Fix a typo, tmp => 255.
3822 2018-03-20  Jakub Jelinek  <jakub@redhat.com>
3824         PR target/84945
3825         * config/i386/cpuinfo.h (__cpu_features2): Declare.
3826         * config/i386/cpuinfo.c (__cpu_features2): New variable for
3827         ifndef SHARED only.
3828         (set_feature): Define.
3829         (get_available_features): Use set_feature macro.  Set __cpu_features2
3830         to the second word of features ifndef SHARED.
3832 2018-03-15  Julia Koval  <julia.koval@intel.com>
3834         * config/i386/cpuinfo.c (get_available_features): Add
3835         FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
3836         FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
3837         * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
3838         FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
3839         FEATURE_AVX512BITALG.
3841 2018-03-14  Julia Koval  <julia.koval@intel.com>
3843         * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
3844         icelake client and icelake server.
3846 2018-03-06  John David Anglin  <danglin@gcc.gnu.org>
3848         * config/pa/fptr.c (_dl_read_access_allowed): New.
3849         (__canonicalize_funcptr_for_compare): Use it.
3851 2018-02-28  Jakub Jelinek  <jakub@redhat.com>
3853         PR debug/83917
3854         * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
3855         $asm_hidden_op if visibility ("hidden") attribute works.
3856         (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
3857         * config/i386/i386-asm.h: Don't include auto-host.h.
3858         (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
3859         PACKAGE_URL): Don't undefine.
3860         (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
3861         guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
3862         (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
3863         #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
3864         definition instead of hardcoded .hidden.
3865         * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
3866         directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
3867         #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
3868         (USE_GAS_CFI_DIRECTIVES): Don't define.
3869         * configure: Regenerated.
3870         * config.in: Likewise.
3872 2018-02-26  Jakub Jelinek  <jakub@redhat.com>
3874         PR debug/83917
3875         * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
3876         PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
3877         inclusion of auto-target.h and auto-host.h.
3878         (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
3879         __GCC_HAVE_DWARF2_CFI_ASM.
3880         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3881         cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
3882         cfi_pop): Define.
3883         * config/i386/cygwin.S: Don't include auto-host.h here, just
3884         define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
3885         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3886         cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
3887         * config/i386/resms64fx.h: Add cfi_* directives.
3888         * config/i386/resms64x.h: Likewise.
3890 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
3892         * config/xtensa/ieee754-df.S (__adddf3_aux): Add
3893         .literal_position directive.
3894         * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
3896 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3898         PR target/84148
3899         * configure: Regenerate.
3901 2018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3903         PR target/84239
3904         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3905         Include cetintrin.h not x86intrin.h.
3907 2018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3909         PR target/84239
3910         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3911         Use new _get_ssp and _inc_ssp intrinsics.
3913 2018-02-02  Julia Koval  <julia.koval@intel.com>
3915         * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
3917 2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
3919         * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
3920         option.
3921         (__divsi3): Use RF16 safe registers.
3922         (__modsi3): Likewise.
3924 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
3926         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
3927         (__divsf3): Make NaN return value quiet.
3928         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
3929         (__divdf3): Make NaN return value quiet.
3931 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
3933         * config/rl78/anddi3.S: New assembly file.
3934         * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
3936 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
3938         * config/rl78/umindi3.S: New assembly file.
3939         * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
3941 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
3943         * config/rl78/smindi3.S: New assembly file.
3944         * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
3946 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
3948         * config/rl78/smaxdi3.S: New assembly file.
3949         * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
3951 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
3953         * config/rl78/umaxdi3.S: New assembly file.
3954         * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
3956 2018-01-21  John David Anglin  <danglin@gcc.gnu.org>
3958         PR lto/83452
3959         * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
3960         * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
3962 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
3964         * config/aarch64/value-unwind.h (aarch64_vg): New function.
3965         (DWARF_LAZY_REGISTER_VALUE): Define.
3966         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
3967         to provide a fallback register value.
3969 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
3971         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
3972         __ibm128, instead of trying to use long double.
3973         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
3974         accomidate -mabi=ieeelongdouble multilibs.
3975         (CVT_IBM128_TO_FLOAT128): Likewise.
3976         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
3977         the appropriate IBM extended double type.
3978         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
3979         (__gcc_qsub): Likewise.
3980         (__gcc_qmul): Likewise.
3981         (__gcc_qdiv): Likewise.
3982         (pack_ldouble): Likewise.
3983         (__gcc_qneg): Likewise.
3984         (__gcc_qeq): Likewise.
3985         (__gcc_qne): Likewise.
3986         (__gcc_qge): Likewise.
3987         (__gcc_qle): Likewise.
3988         (__gcc_stoq): Likewise.
3989         (__gcc_dtoq): Likewise.
3990         (__gcc_itoq): Likewise.
3991         (__gcc_utoq): Likewise.
3992         (__gcc_qunord): Likewise.
3993         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
3994         quad-float128.h for the definitions.
3995         (COPYSIGN): Use the f128 version instead of the q version.
3996         (INFINITY): Likewise.
3997         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
3998         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
3999         quad-float128.h for the definitions.
4000         (COPYSIGN): Use the f128 version instead of the q version.
4001         (INFINITY): Likewise.
4002         (FABS): Likewise.
4003         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
4004         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
4005         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
4007 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4009         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
4010         configuration.
4012 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
4014         Update copyright years.
4016 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
4018         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
4019         * config/riscv/multi3.c: New file.
4020         * config/riscv/multi3.S: Remove.
4022 2017-12-08  Jim Wilson  <jimw@sifive.com>
4024         * config/riscv/div.S: Use FUNC_* macros.
4025         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
4026         * config/riscv/save-restore.S: Likewise.
4027         * config/riscv/riscv-asm.h: New.
4029 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
4031         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
4032         * config/rs6000/_divkc3.c (__divkc3): Likewise.
4034         PR libgcc/83112
4035         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
4036         correct type for all ifunc resolvers to silence -Wattribute-alias
4037         warnings.  Eliminate the forward declaration of the resolver
4038         functions which is no longer needed.
4039         (__subkf3_resolve): Likewise.
4040         (__mulkf3_resolve): Likewise.
4041         (__divkf3_resolve): Likewise.
4042         (__negkf2_resolve): Likewise.
4043         (__eqkf2_resolve): Likewise.
4044         (__nekf2_resolve): Likewise.
4045         (__gekf2_resolve): Likewise.
4046         (__gtkf2_resolve): Likewise.
4047         (__lekf2_resolve): Likewise.
4048         (__ltkf2_resolve): Likewise.
4049         (__unordkf2_resolve): Likewise.
4050         (__extendsfkf2_resolve): Likewise.
4051         (__extenddfkf2_resolve): Likewise.
4052         (__trunckfsf2_resolve): Likewise.
4053         (__trunckfdf2_resolve): Likewise.
4054         (__fixkfsi_resolve): Likewise.
4055         (__fixkfdi_resolve): Likewise.
4056         (__fixunskfsi_resolve): Likewise.
4057         (__fixunskfdi_resolve): Likewise.
4058         (__floatsikf_resolve): Likewise.
4059         (__floatdikf_resolve): Likewise.
4060         (__floatunsikf_resolve): Likewise.
4061         (__floatundikf_resolve): Likewise.
4062         (__extendkftf2_resolve): Likewise.
4063         (__trunctfkf2_resolve): Likewise.
4065         PR libgcc/83103
4066         * config/rs6000/quad-float128.h (TF): Don't define if long double
4067         is IEEE 128-bit floating point.
4068         (TCtype): Define as either TCmode or KCmode, depending on whether
4069         long double is IEEE 128-bit floating point.
4070         (__mulkc3_sw): Add declarations for software/hardware versions of
4071         complex multiply/divide.
4072         (__divkc3_sw): Likewise.
4073         (__mulkc3_hw): Likewise.
4074         (__divkc3_hw): Likewise.
4075         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
4076         handlers to switch between using software emulation and hardware
4077         float128 instructions, build the complex multiply/divide functions
4078         for both software and hardware support.
4079         * config/rs6000/_divkc3.c (_divkc3): Likewise.
4080         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
4081         (__divkc3_resolve): Likewise.
4082         (__mulkc3): Likewise.
4083         (__divkc3): Likewise.
4084         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
4085         (fp128_hw_src): Likewise.
4086         (fp128_hw_static_obj): Likewise.
4087         (fp128_hw_shared_obj): Likewise.
4088         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
4089         _mulkc3.c and _divkc3.c, changing the function name.
4090         (_divkc3-hw.c): Likewise.
4091         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
4092         and _divkc3-hw.c.
4094 2017-11-26  Julia Koval  <julia.koval@intel.com>
4096         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
4097         * config/i386/cpuinfo.h (processor_subtypes): Add
4098         INTEL_COREI7_CANNONLAKE.
4100 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4102         PR bootstrap/83015
4103         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
4104         parameter.
4105         * config/xtensa/unwind-dw2-xtensa.c: Likewise
4106         * config/ia64/unwind-ia64.c: Add frames parameter.
4107         * unwind-sjlj.c: Likewise.
4109 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4111         * config/i386/linux-unwind.h: Include
4112         config/i386/shadow-stack-unwind.h.
4113         * config/i386/shadow-stack-unwind.h: New file.
4114         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
4115         pass it to _Unwind_Frames_Extra.
4116         * unwind-generic.h (_Unwind_Frames_Extra): New.
4117         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
4118         parameter. Add local variable frames to count number of frames.
4119         (_Unwind_ForcedUnwind_Phase2): Likewise.
4120         (_Unwind_RaiseException): Add local variable frames to count
4121         number of frames, pass it to _Unwind_RaiseException_Phase2 and
4122         uw_install_context.
4123         (_Unwind_ForcedUnwind): Likewise.
4124         (_Unwind_Resume): Likewise.
4125         (_Unwind_Resume_or_Rethrow): Likewise.
4127 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
4129         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
4130         (CET_FLAGS): New.
4131         * config/i386/morestack.S: Include <cet.h>.
4132         (__morestack_large_model): Add _CET_ENDBR at function entrance.
4133         * config/i386/resms64.h: Include <cet.h>.
4134         * config/i386/resms64f.h: Likewise.
4135         * config/i386/resms64fx.h: Likewise.
4136         * config/i386/resms64x.h: Likewise.
4137         * config/i386/savms64.h: Likewise.
4138         * config/i386/savms64f.h: Likewise.
4139         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
4140         (CRTSTUFF_T_CFLAGS): Likewise.
4141         * configure.ac: Include ../config/cet.m4.
4142         Set and substitute CET_FLAGS.
4143         * configure: Regenerated.
4145 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4147         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
4148         renaming.
4149         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
4150         * configure.ac (libgcc_cv_solaris_crts): Likewise.
4151         * configure: Regenerate.
4153 2017-11-07  Tom de Vries  <tom@codesourcery.com>
4155         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
4156         after "do {} while (0)".
4158 2017-11-07  Tom de Vries  <tom@codesourcery.com>
4160         PR other/82784
4161         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
4162         semicolon after "do {} while (0)".
4163         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4164         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4165         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4166         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4168 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
4170         PR libgcc/82635
4171         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
4172         sysctl to determine whether we're in a trampoline.
4173         Keep the pattern matching method for systems without
4174         KERN_PROC_SIGTRAMP sysctl.
4176 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
4177             Vineet Gupta <vgupta@synopsys.com>
4179         * config.host (arc*-*-linux*): Set md_unwind_header variable.
4180         * config/arc/linux-unwind-reg.def: New file.
4181         * config/arc/linux-unwind-reg.h: Likewise.
4183 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
4185         * config/rl78/subdi3.S: New assembly file.
4186         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
4188 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
4190         * config/rl78/adddi3.S: New assembly file.
4191         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
4193 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
4195         PR target/82274
4196         * libgcc2.c (__mulvDI3): If both operands have
4197         the same highpart of -1 and the topmost bit of lowpart is 0,
4198         multiplication overflows even if both lowparts are 0.
4200 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
4202         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
4204 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
4206         * config/microblaze/crti.S, config/microblaze/crtn.S,
4207         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
4208         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
4209         config/microblaze/mulsi3.S,
4210         config/microblaze/stack_overflow_exit.S,
4211         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
4212         config/pa/milli64.S: Add .note.GNU-stack section.
4214 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
4216         * configure.ac: Add Check for HAVE_AS_AVX.
4217         * config.in: Regenerate.
4218         * configure: Likewise.
4219         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
4220         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
4221         Correct out-of-date comments.
4223 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
4225         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
4226         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
4228 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
4230         * config/i386/i386-asm.h (PASTE2): New macro.
4231         (ASMNAME): Modify to use PASTE2.
4232         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
4233         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
4234         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
4235         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
4236         * config/i386/resms64f.S: Likewise.
4237         * config/i386/resms64fx.S: Likewise.
4238         * config/i386/resms64x.S: Likewise.
4239         * config/i386/savms64.S: Likewise.
4240         * config/i386/savms64f.S: Likewise.
4241         * config/i386/avx_resms64.S: New file that only defines a macro and
4242         includes it's corresponding header file.
4243         * config/i386/avx_resms64f.S: Likewise.
4244         * config/i386/avx_resms64fx.S: Likewise.
4245         * config/i386/avx_resms64x.S: Likewise.
4246         * config/i386/avx_savms64.S: Likewise.
4247         * config/i386/avx_savms64f.S: Likewise.
4248         * config/i386/sse_resms64.S: Likewise.
4249         * config/i386/sse_resms64f.S: Likewise.
4250         * config/i386/sse_resms64fx.S: Likewise.
4251         * config/i386/sse_resms64x.S: Likewise.
4252         * config/i386/sse_savms64.S: Likewise.
4253         * config/i386/sse_savms64f.S: Likewise.
4254         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
4256 2017-09-01  Olivier Hainque  <hainque@adacore.com>
4257         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
4259 2017-08-31  Olivier Hainque  <hainque@adacore.com>
4261         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
4262         match as powerpc-wrs-vxworks*.
4264 2017-08-07  Jonathan Yong  <10walls@gmail.com>
4266         * config.host (*-cygwin): Include file from mingw
4267         config/i386/enable-execute-stack-mingw32.c
4269 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
4270             Doug Rupp  <rupp@adacore.com>
4271             Olivier Hainque  <hainque@adacore.com>
4273         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
4274         as well as arm-wrs-vxworks.
4275         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
4276         LIB2ADDEH.
4277         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
4278         __exidx_start and __exidx_end for downloadable modules.
4280 2017-08-01  Olivier Hainque  <hainque@adacore.com>
4282         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
4283         * config/t-vxworks7: Likewise.
4285 2017-08-01  Olivier Hainque  <hainque@adacore.com>
4287         * config/t-vxworks: Instead of redefining LIB2ADD,
4288         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
4290 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4292         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
4294 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
4296         PR testsuite/80759
4297         * config.host: include i386/t-msabi for darwin and solaris.
4298         * config/i386/i386-asm.h
4299         (ELFFN): Rename to FN_TYPE.
4300         (FN_SIZE): New macro.
4301         (FN_HIDDEN): Likewise.
4302         (ASMNAME): Likewise.
4303         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
4304         .globl.
4305         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
4306         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
4307         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
4308         .macro.
4309         * config/i386/resms64f.S: Likewise.
4310         * config/i386/resms64fx.S: Likewise.
4311         * config/i386/resms64x.S: Likewise.
4312         * config/i386/savms64.S: Likewise.
4313         * config/i386/savms64f.S: Likewise.
4315 2017-07-19  John Marino  <gnugcc@marino.st>
4317         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
4319 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
4321         PR target/81193
4322         * configure.ac (PowerPC float128 hardware support): Test whether
4323         we can use __builtin_cpu_supports before enabling the ifunc
4324         handler.
4325         * configure: Regenerate.
4327 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
4329         * config.host: Remove uclibc from arc target spec.
4331 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
4333         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
4335 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
4337         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
4338         (have_ieee_hw_p): Delete function.
4339         (SW_OR_HW) Use __builtin_cpu_supports().
4341 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4343         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
4345 2017-07-03  Olivier Hainque  <hainque@adacore.com>
4347         * config/t-vxworks7: New file, really.
4349 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
4351         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
4352         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
4353         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
4354         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
4355         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
4356         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
4357         config/pa/linux-unwind.h (pa32_fallback_frame_state),
4358         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
4359         config/sh/linux-unwind.h (sh_fallback_frame_state),
4360         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
4361         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
4362         ucontext_t instead of struct ucontext.
4364 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
4366         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
4367         (x86_64-wrs-vxworks7): Likewise.
4369 2017-06-27  Olivier Hainque  <hainque@adacore.com>
4371         * config/t-vxworks7: New file.
4372         * config.host (*-*-vxworks7): Use it.
4374 2017-06-22  Matt Turner  <mattst88@gmail.com>
4376         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
4377         skylake case.
4379 2017-06-21  Richard Biener  <rguenther@suse.de>
4381         PR gcov-profile/81080
4382         * configure.ac: Add AC_SYS_LARGEFILE.
4383         * libgcov.h: Include auto-target.h before tsystem.h to pick
4384         up _FILE_OFFSET_BITS which might differ for multilibs.
4385         * config.in: Regenerate.
4386         * configure: Likewise.
4388 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
4390         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
4392 2017-06-09  Martin Liska  <mliska@suse.cz>
4394         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
4395         Reset __gcov_indirect_call_callee to NULL.
4397 2017-06-08  Olivier Hainque  <hainque@adacore.com>
4399         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
4400         the set of -I options, support for direct inclusions of net/uio.h
4401         by VxWorks header files via ioLib.h.
4403 2017-06-07  Tony Reix  <tony.reix@atos.net>
4404             Matthieu Sarter  <matthieu.sarter.external@atos.net>
4405             David Edelsohn  <dje.gcc@gmail.com>
4407         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
4408         unconditionally.
4409         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
4410         AIX 7.2 support.
4412 2017-06-02  Olivier Hainque  <hainque@adacore.com>
4414         * config/vxlib.c (__gthread_once): Add missing value to
4415         return statement.
4417 2017-05-30  Olivier Hainque  <hainque@adacore.com>
4419         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
4420         dollar sign before $(MULTIDIR).
4422 2017-05-26  Richard Henderson  <rth@redhat.com>
4424         PR libgcc/80037
4425         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
4427 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
4429         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
4430         _Unwind_SetIP available as functions for arm*-*-freebsd*.
4431         * config/arm/unwind-arm.c: Implement the above.
4433 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4435         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
4436         section for a non-executable stack.
4438 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
4440         PR target/80600
4441         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
4443 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
4445         * config.host: Add i386/t-msabi to i386/t-linux file list.
4446         * config/i386/i386-asm.h: New file.
4447         * config/i386/resms64.S: New file.
4448         * config/i386/resms64f.S: New file.
4449         * config/i386/resms64fx.S: New file.
4450         * config/i386/resms64x.S: New file.
4451         * config/i386/savms64.S: New file.
4452         * config/i386/savms64f.S: New file.
4453         * config/i386/t-msabi: New file.
4455 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
4457         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
4458         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
4460 2017-05-05  Joshua Conner  <joshconner@google.com>
4462         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
4463         pc-relative indirect handling for fuchsia.
4464         * config/t-slibgcc-fuchsia: New file.
4465         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
4466         x86_64-*-fuchsia*): Add definitions.
4468 2017-04-19  Martin Liska  <mliska@suse.cz>
4470         PR gcov-profile/80435
4471         * Makefile.in: Install gcov.h.
4472         * gcov.h: New file.
4473         * libgcov.h: Use the header and make __gcov_flush publicly
4474         visible.
4476 2017-04-18  Martin Liska  <mliska@suse.cz>
4478         PR gcov-profile/78783
4479         * libgcov-driver.c (gcov_get_filename): New function.
4481 2017-04-07  Jeff Law  <law@redhat.com>
4483         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
4484         target makefile fragment.
4485         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
4487 2017-04-07  Alan Modra  <amodra@gmail.com>
4489         PR target/45053
4490         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
4492 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
4494         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
4496 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
4498         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
4500 2017-03-10  John Marino  <gnugcc@marino.st>
4502         * config/aarch64/freebsd-unwind.h: New file.
4503         * config.host: Add aarch64-*-freebsd unwinder.
4505 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
4507         * config/rs6000/crtrestvr.s: Use .machine altivec.
4508         * config/rs6000/crtsavevr.s: Ditto.
4510 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
4512         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
4513         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
4514         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
4515         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
4516         * configure: Regenerate.
4517         * config.in: Regenerate.
4519 2017-03-02  Jonathan Yong <10walls@gmail.com>
4521         * config/i386/gthr-win32.h: Define NOGDI before
4522         windows.h include to prevent w32api CC_NONE macro
4523         clash with libgfortran.
4525 2017-03-02  Jonathan Yong <10walls@gmail.com>
4527         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
4529 2017-02-16  Andrew Pinski  <apinski@cavium.com>
4531         * config/aarch64/value-unwind.h: New file.
4532         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
4533         to tm_file.
4535 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
4537         * config.host: Add RISC-V tuples.
4538         * config/riscv/atomic.c: New file.
4539         * config/riscv/crti.S: Likewise.
4540         * config/riscv/crtn.S: Likewise.
4541         * config/riscv/div.S: Likewise.
4542         * config/riscv/linux-unwind.h: Likewise.
4543         * config/riscv/muldi3.S: Likewise.
4544         * config/riscv/multi3.S: Likewise.
4545         * config/riscv/save-restore.S: Likewise.
4546         * config/riscv/sfp-machine.h: Likewise.
4547         * config/riscv/t-elf: Likewise.
4548         * config/riscv/t-elf32: Likewise.
4549         * config/riscv/t-elf64: Likewise.
4550         * config/riscv/t-softfp32: Likewise.
4551         * config/riscv/t-softfp64: Likewise.
4553 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
4555         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4556         /* FALLTHRU */ comments.
4558 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
4560         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
4562 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
4564         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
4565         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
4566         DW_CFA_GNU_window_save for AArch64 and LP64.
4568 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
4570         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
4572 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
4574         * config/aarch64/aarch64-unwind.h: New file.
4575         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
4576         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
4577         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
4578         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
4579         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
4580         (aarch64_post_extract_frame_addr): New function.
4581         (aarch64_post_frob_eh_handler_addr): New function.
4582         (aarch64_frob_update_context): New function.
4583         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
4584         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
4585         aarch64*-*-freebsd*):
4586         Initialize md_unwind_header to include aarch64-unwind.h.
4587         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
4588         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
4589         __aarch64__.
4590         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
4591         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
4592         (uw_frob_return_addr): New function.
4593         (uw_install_context): Use uw_frob_return_addr.
4595 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
4597         PR other/79046
4598         * configure.ac: Add GCC_BASE_VER.
4599         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
4600         version from BASE-VER file.
4601         * configure: Regenerated.
4603 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
4605         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
4606         libmul_f5.a): Filter archived prerequisites.
4608 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
4610         * config/i386/cpuinfo.h (processor_features): Add
4611         FEATURE_AVX512VPOPCNTDQ.
4612         * config/i386/cpuinfo.c (get_available_features): Habdle new
4613         feature.
4615 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
4617         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
4618         payload if [__mips_nan2008].
4620 2017-01-04  Alan Modra  <amodra@gmail.com>
4622         * Makefile.in (configure_deps): Update.
4623         * configure: Regenerate.
4625 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
4627         Update copyright years.
4629 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
4631         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
4632         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
4633         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
4635 2016-12-17  Matthias Klose  <doko@ubuntu.com>
4637         * config/arc/gmon: Remove empty directory.
4639 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
4641         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
4642         crtgend.
4643         (arc*-*-elf*): Likewise.
4644         * config/arc/t-arc: Remove old gmon lib targets.
4645         * config/arc/crtg.S: Remove.
4646         * config/arc/crtgend.S: Likewise.
4647         * config/arc/gmon/atomic.h: Likewise.
4648         * config/arc/gmon/auxreg.h: Likewise.
4649         * config/arc/gmon/dcache_linesz.S: Likewise.
4650         * config/arc/gmon/gmon.c: Likewise.
4651         * config/arc/gmon/machine-gmon.h: Likewise.
4652         * config/arc/gmon/mcount.c: Likewise.
4653         * config/arc/gmon/prof-freq-stub.S: Likewise.
4654         * config/arc/gmon/prof-freq.c: Likewise.
4655         * config/arc/gmon/profil.S: Likewise.
4656         * config/arc/gmon/sys/gmon.h: Likewise.
4657         * config/arc/gmon/sys/gmon_out.h: Likewise.
4658         * config/arc/t-arc-newlib: Likewise.
4659         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
4661 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
4663         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
4665 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
4667         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
4668         R16 instead of push + pop.
4669         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
4671 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
4673         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
4674         tmake_file.
4676 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
4678         * config.host (arc*-*-linux-uclibc*): Use default extra
4679         objects. Include linux-android header.
4680         * config/arc/crti.S (_init): Declare symbol as function.
4681         (_fini): Likewise.
4683 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
4685         PR fortran/78379
4686         * config/i386/cpuinfo.c:  Move denums for processor vendors,
4687         processor type, processor subtypes and declaration of
4688         struct __processor_model into
4689         * config/i386/cpuinfo.h:  New header file.
4691 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
4692             Thomas Preud'homme  <thomas.preudhomme@arm.com>
4694         * config/arm/cmse_nonsecure_call.S: New.
4695         * config/arm/t-arm: Compile cmse_nonsecure_call.S
4697 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
4698             Thomas Preud'homme  <thomas.preudhomme@arm.com>
4700         * config/arm/t-arm (HAVE_CMSE): New.
4701         * config/arm/cmse.c: New.
4703 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
4705         PR gcc/74748
4706         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
4707         use generic linker version information on Blackfin.
4709         PR gcc/74748
4710         * libgcc/mkmap-symver.awk: add support for skip_underscore
4712 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
4713             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4715         PR target/67710
4716         *  config/t-darwin: Default builds to 10.5 codegen.
4718 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
4720         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
4721         (_FP_NANSIGN_H): Likewise.
4722         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
4723         (softfp_truncations): Add tfhf.
4724         (softfp_extras): Add required conversion functions.
4726 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
4727             Matthew Wahab  <matthew.wahab@arm.com>
4729         * config/arm/fp16.c (binary64): New.
4730         (__gnu_d2h_internal): New.
4731         (__gnu_d2h_ieee): New.
4732         (__gnu_d2h_alternative): New.
4734 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
4735             Matthew Wahab  <matthew.wahab@arm.com>
4737         * config/arm/fp16.c (struct format): New.
4738         (binary32): New.
4739         (__gnu_float2h_internal): New.  Body moved from
4740         __gnu_f2h_internal and generalize.
4741         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
4742         Call it with binary32.
4744 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
4746         * soft-fp/extendhftf2.c: Update from glibc.
4747         * soft-fp/fixhfti.c: Likewise.
4748         * soft-fp/fixunshfti.c: Likewise.
4749         * soft-fp/floattihf.c: Likewise.
4750         * soft-fp/floatuntihf.c: Likewise.
4751         * soft-fp/half.h: Likewise.
4752         * soft-fp/trunctfhf2.c: Likewise.
4754 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
4756         PR libgcc/77813
4757         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
4758         __TMC_END__ behind a passthrough asm.
4760 2016-11-18  Walter Lee  <walt@tilera.com>
4762         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
4764 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
4766         * config/i386/cpuinfo.c (processor_features): Add
4767         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
4769 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
4771         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
4772         (__ARC_NORM__): Use instead ARC_OPTFPE.
4773         * config/arc/fp-hack.h: Likewise.
4774         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
4775         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
4777 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
4779         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
4780         * config/nvptx/mgomp.c: New file.
4781         * config/nvptx/t-nvptx: Add mgomp.c
4783 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
4785         PR libgcc/68468
4786         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
4788 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
4790         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
4791         of checking for cpus.
4792         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
4793         (__modsi3, __clzsi2): Likewise.
4795 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4797         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
4798         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
4799         * config/i386/t-cpuinfo-static: New.
4801 2016-11-03  Martin Liska  <mliska@suse.cz>
4803         * libgcov-profiler.c (__gcov_time_profiler): Remove.
4804         (__gcov_time_profiler_atomic): Likewise.
4806 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
4808         PR libgcc/78067
4809         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
4810         count_leading_zeros.
4812 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
4814         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
4815         * libgcc2.c (__divmoddi4): New function.
4816         * libgcc2.h (__divmoddi4): Declare.
4817         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
4818         and __PFX_divmodti4.
4820 2016-10-24  Florian Weimer  <fweimer@redhat.com>
4822         PR libgcc/78064
4823         * unwind-c.c: Include auto-target.h.
4825 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
4827         * config/pa/pa64-hpux-lib.h: New file.
4828         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
4829         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
4830         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
4831         hppa*64*-*-hpux11*.
4833 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
4835         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4836         definition.
4837         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4838         definition.
4839         * config/xtensa/t-windowed (LIB2ADDEH): Use
4840         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
4841         or xtensa/t-linux.
4843 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
4845         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
4846         __ieee754_sqrt): New functions.
4847         (__divdf3): Add implementation with new FPU instructions under
4848         #if XCHAL_HAVE_DFP_DIV.
4849         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
4850         __ieee754_sqrtf): New functions.
4851         (__divsf3): Add implementation with new FPU instructions under
4852         #if XCHAL_HAVE_FP_DIV.
4853         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
4854         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
4856 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4858         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
4859         equivalent.
4860         * config/tilepro/atomic.c: Likewise and stop casting model to
4861         enum memmodel.
4863 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
4865         PR target/77586
4866         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
4867         soft-fp.
4869 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
4871         * config.host: Add support for aarch64-*-freebsd*.
4873 2016-10-05  Andreas Schwab  <schwab@suse.de>
4875         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
4876         (.section .init_array): Don't call __do_jv_register_classes.
4877         (.section .init): Likewise.
4879 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
4881         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
4882         (__JCR_LIST__): Remove.
4883         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
4884         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
4885         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
4886         * config/ia64/crtend.S (__JCR_END__): Remove.
4887         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
4888         conditionals.
4889         (__JCR_LIST__, __JCR_END__): Remove.
4890         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
4891         (__do_global_ctors_1): Likewise.
4893 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
4895         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
4896         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
4898 2016-09-27  Martin Liska  <mliska@suse.cz>
4900         PR gcov-profile/7970
4901         PR gcov-profile/16855
4902         PR gcov-profile/44779
4903         * libgcov-driver.c (__gcov_init): Do not register a atexit
4904         handler.
4905         (__gcov_exit): Rename from gcov_exit.
4906         * libgcov.h (__gcov_exit): Declare.
4908 2016-09-27  Martin Liska  <mliska@suse.cz>
4910         PR bootstrap/77749
4911         * Makefile.in: Remove _gcov_merge_delta.
4912         * libgcov-merge.c (void __gcov_merge_delta): Remove.
4913         * libgcov-util.c (__gcov_delta_counter_op): Remove.
4914         * libgcov.h: Remove declaration of __gcov_merge_delta.
4916 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
4918         * configure.ac: Do not create links, only substitute the filenames.
4919         * configure: Regenerate.
4920         * Makefile.in: Assign the substitution results to variables.
4921         (LIBGCC_LINKS): Define.
4922         (enable-execute-stack.c): New rule.
4923         (unwind.h): Likewise.
4924         (md-unwind-support.h): Likewise.
4925         (sfp-machine.h): Likewise.
4926         (gthr-default.h): Likewise.
4927         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
4928         unwind.h as prerequisite of install-unwind_h-forbuild.
4930 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
4932         PR libgcc/71744
4933         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
4934         is not the primary registry and atomics are available.
4935         (any_objects_registered): New variable.
4936         (__register_frame_info_bases, __register_frame_info_table_bases):
4937         Atomically store 1 to any_objects_registered after registering first
4938         unwind info.
4939         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
4941 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
4943         PR target/63250
4944         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
4945         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
4946         (HFtype): Likewise.
4947         (HCtype): Likewise.
4948         (__divhc3): Likewise.
4949         (__mulhc3): Likewise.
4950         * libgcc2.c: Support _mulhc3 and _divhc3.
4952 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
4954         PR libgcc/77519
4955         * libgcc2.c (NOTRUNC): Invert settings.
4957 2016-09-06  Martin Liska  <mliska@suse.cz>
4959         PR gcov-profile/77378
4960         PR gcov-profile/77466
4961         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
4962         conditionaly enable/disable *_atomic functions.
4964 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
4966         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
4967         where not already enabled.
4969 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4971         * config/mips/linux-unwind.h: Use sys/syscall.h.
4973 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
4975         PR libgcc/77265
4976         * soft-fp/adddf3.c: Update from glibc.
4977         * soft-fp/addsf3.c: Likewise.
4978         * soft-fp/addtf3.c: Likewise.
4979         * soft-fp/divdf3.c: Likewise.
4980         * soft-fp/divsf3.c: Likewise.
4981         * soft-fp/divtf3.c: Likewise.
4982         * soft-fp/double.h: Likewise.
4983         * soft-fp/eqdf2.c: Likewise.
4984         * soft-fp/eqsf2.c: Likewise.
4985         * soft-fp/eqtf2.c: Likewise.
4986         * soft-fp/extenddftf2.c: Likewise.
4987         * soft-fp/extended.h: Likewise.
4988         * soft-fp/extendsfdf2.c: Likewise.
4989         * soft-fp/extendsftf2.c: Likewise.
4990         * soft-fp/extendxftf2.c: Likewise.
4991         * soft-fp/fixdfdi.c: Likewise.
4992         * soft-fp/fixdfsi.c: Likewise.
4993         * soft-fp/fixdfti.c: Likewise.
4994         * soft-fp/fixsfdi.c: Likewise.
4995         * soft-fp/fixsfsi.c: Likewise.
4996         * soft-fp/fixsfti.c: Likewise.
4997         * soft-fp/fixtfdi.c: Likewise.
4998         * soft-fp/fixtfsi.c: Likewise.
4999         * soft-fp/fixtfti.c: Likewise.
5000         * soft-fp/fixunsdfdi.c: Likewise.
5001         * soft-fp/fixunsdfsi.c: Likewise.
5002         * soft-fp/fixunsdfti.c: Likewise.
5003         * soft-fp/fixunssfdi.c: Likewise.
5004         * soft-fp/fixunssfsi.c: Likewise.
5005         * soft-fp/fixunssfti.c: Likewise.
5006         * soft-fp/fixunstfdi.c: Likewise.
5007         * soft-fp/fixunstfsi.c: Likewise.
5008         * soft-fp/fixunstfti.c: Likewise.
5009         * soft-fp/floatdidf.c: Likewise.
5010         * soft-fp/floatdisf.c: Likewise.
5011         * soft-fp/floatditf.c: Likewise.
5012         * soft-fp/floatsidf.c: Likewise.
5013         * soft-fp/floatsisf.c: Likewise.
5014         * soft-fp/floatsitf.c: Likewise.
5015         * soft-fp/floattidf.c: Likewise.
5016         * soft-fp/floattisf.c: Likewise.
5017         * soft-fp/floattitf.c: Likewise.
5018         * soft-fp/floatundidf.c: Likewise.
5019         * soft-fp/floatundisf.c: Likewise.
5020         * soft-fp/floatunditf.c: Likewise.
5021         * soft-fp/floatunsidf.c: Likewise.
5022         * soft-fp/floatunsisf.c: Likewise.
5023         * soft-fp/floatunsitf.c: Likewise.
5024         * soft-fp/floatuntidf.c: Likewise.
5025         * soft-fp/floatuntisf.c: Likewise.
5026         * soft-fp/floatuntitf.c: Likewise.
5027         * soft-fp/gedf2.c: Likewise.
5028         * soft-fp/gesf2.c: Likewise.
5029         * soft-fp/getf2.c: Likewise.
5030         * soft-fp/ledf2.c: Likewise.
5031         * soft-fp/lesf2.c: Likewise.
5032         * soft-fp/letf2.c: Likewise.
5033         * soft-fp/muldf3.c: Likewise.
5034         * soft-fp/mulsf3.c: Likewise.
5035         * soft-fp/multf3.c: Likewise.
5036         * soft-fp/negdf2.c: Likewise.
5037         * soft-fp/negsf2.c: Likewise.
5038         * soft-fp/negtf2.c: Likewise.
5039         * soft-fp/op-1.h: Likewise.
5040         * soft-fp/op-2.h: Likewise.
5041         * soft-fp/op-4.h: Likewise.
5042         * soft-fp/op-8.h: Likewise.
5043         * soft-fp/op-common.h: Likewise.
5044         * soft-fp/quad.h: Likewise.
5045         * soft-fp/single.h: Likewise.
5046         * soft-fp/soft-fp.h: Likewise.
5047         * soft-fp/subdf3.c: Likewise.
5048         * soft-fp/subsf3.c: Likewise.
5049         * soft-fp/subtf3.c: Likewise.
5050         * soft-fp/truncdfsf2.c: Likewise.
5051         * soft-fp/trunctfdf2.c: Likewise.
5052         * soft-fp/trunctfsf2.c: Likewise.
5053         * soft-fp/trunctfxf2.c: Likewise.
5054         * soft-fp/unorddf2.c: Likewise.
5055         * soft-fp/unordsf2.c: Likewise.
5056         * soft-fp/unordtf2.c: Likewise.
5058 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
5060         PR gcov-profile/67097
5061         * libgcov-util.c (gcov_profile_merge): Skip missing files.
5063 2016-08-10  Martin Liska  <mliska@suse.cz>
5065         PR gcov-profile/58306
5066         * Makefile.in: New functions (modules) are added.
5067         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
5068         function.
5069         (__gcov_pow2_profiler_atomic): New function.
5070         (__gcov_one_value_profiler_body): New argument is instroduced.
5071         (__gcov_one_value_profiler): Call with the new argument.
5072         (__gcov_one_value_profiler_atomic): Likewise.
5073         (__gcov_indirect_call_profiler_v2): Likewise.
5074         (__gcov_time_profiler_atomic): New function.
5075         (__gcov_average_profiler_atomic): Likewise.
5076         (__gcov_ior_profiler_atomic): Likewise.
5077         * libgcov.h: Declare the aforementioned functions.
5079 2016-08-09  Martin Liska  <mliska@suse.cz>
5081         * libgcov-util.c: Fix typo and GNU coding style.
5083 2016-08-09  Martin Liska  <mliska@suse.cz>
5085         * Makefile.in: Remove __gcov_indirect_call_profiler.
5086         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
5087         function.
5088         * libgcov.h: And the declaration of the function.
5090 2016-08-09  Martin Liska  <mliska@suse.cz>
5092         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
5093         power of two.
5095 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
5097         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
5098         * config/rs6000/_mulkc3.c: Likewise.
5100 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
5102         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
5103         zero_reg as previous call to __umulhisi3 already cleared it.
5105 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
5107         PR target/59833
5108         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
5110 2016-07-19  Nick Clifton  <nickc@redhat.com>
5112         * config.host (m32r): Add m32r/t-m32r to tmake_file.
5113         Add crtinit.o and crtfini.o to extra_parts.
5115 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
5117         * config/rs6000/_divkc3.c: New.
5118         * config/rs6000/_mulkc3.c: New.
5119         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
5120         and _divkc3.
5121         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
5122         fp128_ppc_funcs.
5124 2016-07-11  Hale Wang  <hale.wang@arm.com>
5125             Andre Vieira  <andre.simoesdiasvieira@arm.com>
5127         * config/arm/lib1funcs.S: Add new wrapper.
5129 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5131         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
5133 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5135         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
5136         and ARMv5t* rather than for a fixed list of architectures.
5138 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5140         * config/arm/bpabi-v6m.S: Clarify what architectures is the
5141         implementation suitable for.
5142         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
5143         for all Thumb-1 only targets.
5144         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
5145         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
5146         __ARM_ARCH_6M__.
5147         (EQUIV): Likewise.
5148         (ARM_FUNC_ALIAS): Likewise.
5149         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
5150         version.
5151         (modsi3): Likewise.
5152         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
5153         (clzdi2): Likewise.
5154         (ctzsi2): Likewise.
5155         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
5156         __ARM_ARCH_6M__ in guard for checking whether it is defined.
5157         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
5158         __ARM_ARCH_6M__ and add comment to indicate the connection between
5159         this condition and the one in gcc/config/arm/elf.h.
5160         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
5161         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
5162         * config/arm/t-softfp: Likewise.
5164 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5166         * libgcc2.c (SYMBOL__MAIN): Remove checks for
5167         CTOR_LISTS_DEFINED_EXTERNALLY.
5169 2016-06-28  Walter Lee  <walt@tilera.com>
5171         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
5172         asm/unistd.h.
5173         (SPR_CMPEXCH_VALUE): Define for tilegx.
5174         (__NR_FAST_cmpxchg): Define for tilepro.
5175         (__NR_FAST_atomic_update): Define for tilepro.
5176         (__NR_FAST_cmpxchg64): Define for tilepro.
5178 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
5180         * config.host: Add suport for arm*-*-phoenix* targets.
5182 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5184         * config.host: Remove support for mep-*.
5185         * config/mep/lib1funcs.S: Remove.
5186         * config/mep/lib2funcs.c: Remove.
5187         * config/mep/t-mep: Remove.
5188         * config/mep/tramp.c: Remove.
5190 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5192         * config.host: Remove support for avr-rtems.
5193         * config/avr/t-rtems: Remove.
5195 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5197         * config.host: Remove m32r-rtems support.
5199 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5201         * config.host: Remove h8300-rtems support.
5203 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5205         * config.host: Remove support for knetbsd.
5207 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5209         * config.host: Remove support for openbsd 2 and 3.
5211 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5213         * config.host: Remove interix support.
5214         * config/i386/t-interix: Remove.
5216 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
5218         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
5219         least-significant bit in function pointer for fixup.
5221 2016-06-05  Aaron Conole  <aconole@redhat.com>
5222             Nathan Sidwell  <nathan@acm.org>
5224         PR libgcc/71400
5225         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
5226         (get_gcov_error_file): Check __gcov_error_file before trying to
5227         initialize it.
5228         (gcov_error): Always use get_gcov_error_file.
5230 2016-06-02  Aaron Conole  <aconole@redhat.com>
5232         * libgcov-driver-system.c (__gcov_error_file): New.
5233         (get_gcov_error_file): New.
5234         (gcov_error): Use and set __gcov_error_file.
5235         (gcov_error_exit): New.
5236         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
5238 2016-05-26  Nathan Sidwell  <nathan@acm.org>
5240         * config/nvptx/free.asm: Delete.
5241         * config/nvptx/malloc.asm: Delete.
5242         * config/nvptx/realloc.c: Delete.
5243         * t-nvptx: Update.
5245 2016-05-25  Nathan Sidwell  <nathan@acm.org>
5247         * config/nvptx/crt0.s: Delete.
5248         * config/nvptx/crt0.c: New.
5249         * t-nvptx: Update.
5251 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
5253         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
5254         dw2/seh configuration.
5255         [x86_64-*-mingw*]: Likewise.
5257 2016-05-10  Joel Sherrill <joel@rtems.org>
5259         PR libgcc/70720
5260         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
5261         targets so the same extra_parts are built.  Also have tmake_file add
5262         on to its value rather than override.
5264 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
5266         * config.host: Remove SH5 support.
5267         * configure: Likewise.
5269 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
5271         * config/sh/crt1.S: Remove SH5 support.
5272         * config/sh/crti.S: Likewise.
5273         * config/sh/crtn.S: Likewise.
5274         * config/sh/lib1funcs-4-300.S: Likewise.
5275         * config/sh/lib1funcs-Os-4-200.S: Likewise.
5276         * config/sh/lib1funcs.S: Likewise.
5277         * config/sh/linux-unwind.h: Likewise.
5278         * config/sh/t-sh64: Delete.
5280 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
5282         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
5284 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
5285             Joern Rennecke  <joern.rennecke@embecosm.com>
5287         * config/arc/crttls.S: New file.
5288         * config/arc/t-arc: New rule.
5289         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
5291 2016-04-25  Nick Clifton  <nickc@redhat.com>
5293         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
5294         (__mspabi_cmpd): Likewise.
5295         * config/msp430/floathidf.c (__floathidf): Likewise.
5296         * config/msp430/floathisf.c (__floathisf): Likewise
5297         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
5298         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
5299         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
5300         second parameter.
5301         (__ashrsi3): Likewise.
5303 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
5305         * config/m68k/linux-atomic.c: Do not include unistd.h
5307 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
5309         * config/arm/ieee754-df.S: Fix typos in comments.
5311 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
5313         PR target/70381
5314         * configure.ac (powerpc*-*-linux*): Rework tests to build
5315         __float128 emulation routines to not depend on using #pragma GCC
5316         target to enable -mfloat128.
5317         * configure: Regnerate.
5319 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
5321         PR target/67172
5322         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
5323         __MINGW32__ is defined.
5325 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
5327         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
5329 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
5331         PR libgcc/70363
5332         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
5333         built with an assembler that does not support ISA 3.0
5334         instructions, rename __extendkftf2_sw to __extendkftf2.
5336 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5338         PR target/38239
5339         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
5340         call-clobbered registers.
5341         (internal_mcount): Remove __i386__ handling.
5343 2016-02-26  Joel Sherrill <joel@rtems.org>
5345         * config.host: Add x86_64-*-rtems*.
5347 2016-02-26  Joel Sherrill <joel@rtems.org>
5349         * libgcc/config.host: Add aarch64-*-rtems*.
5351 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5352             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
5354         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
5355         union of u64 and double.
5356         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
5357         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
5358         value.
5359         (FP_ROUNDMODE): Update the usage of _fpscr.
5361 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
5363         PR driver/68463
5364         * Makefile.in (crtoffloadtable$(objext)): New rule.
5365         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
5366         enable_offload_targets is not empty.
5367         * configure: Regenerate.
5368         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
5369         crtoffloadtable.
5371 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
5373         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
5374         .literal_position before the function.
5375         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
5376         Likewise.
5378 2016-02-15  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
5380         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
5381         * config/s390/morestack.S: New file.
5382         * config/s390/t-stack-s390: New file.
5383         * generic-morestack.c (__splitstack_find): Add s390-specific code.
5385 2016-02-12  Walter Lee  <walt@tilera.com>
5387         * config.host (tilegx*-*-linux*): remove ti from
5388         softfp_int_modes for 32-bit configs.
5390 2016-02-10  Ian Lance Taylor  <iant@google.com>
5392         PR go/68562
5393         * config/i386/morestack.S (__stack_split_initialize): Align
5394         stack.
5396 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
5398         PR bootstrap/69611
5399         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
5400         __FLOAT128__ to compile only for __float128 capable targets.
5402 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
5404         PR target/69444
5405         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
5406         instead of ___NO_FPRS__.
5408 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
5409             Steven Munroe  <munroesj@linux.vnet.ibm.com>
5410             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
5412         * config/rs6000/float128-sed: New files to convert TF names to KF
5413         names for PowerPC IEEE 128-bit floating point support.
5414         * config/rs6000/float128-sed-hw: Likewise.
5416         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5417         floating point hardware support.
5419         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5420         128-bit floating point software emulation or use ISA 3.0 hardware
5421         support if it is available.
5423         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5424         floating point.
5426         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
5427         floating point to IBM extended double.
5429         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
5430         double to IEEE 128-bit floating point.
5432         * config/rs6000/t-float128: New Makefile fragments to enable
5433         building __float128 emulation support.
5434         * config/rs6000/t-float128-hw: Likewise.
5436         * config/rs6000/sfp-exceptions.c: New file to provide exception
5437         support for IEEE 128-bit floating point.
5439         * config/rs6000/floattikf.c: New files for converting between IEEE
5440         128-bit floating point and signed/unsigned 128-bit integers.
5441         * config/rs6000/fixunskfti.c: Likewise.
5442         * config/rs6000/fixkfti.c: Likewise.
5443         * config/rs6000/floatuntikf.c: Likewise.
5445         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5446         when building on 64-bit systems, or when VSX is enabled.
5447         (_FP_W_TYPE): Likewise.
5448         (_FP_WS_TYPE): Likewise.
5449         (_FP_I_TYPE): Likewise.
5450         (TItype): Define on 64-bit systems.
5451         (UTItype): Likewise.
5452         (TI_BITS): Likewise.
5453         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5454         (_FP_MUL_MEAT_Q): Likewise.
5455         (_FP_DIV_MEAT_D): Likewise.
5456         (_FP_DIV_MEAT_Q): Likewise.
5457         (_FP_NANFRAC_D): Likewise.
5458         (_FP_NANFRAC_Q): Likewise.
5459         (ISA_BIT): Add exception support if we are being compiled on a
5460         machine with hardware floating point support to build the IEEE
5461         128-bit emulation functions.
5462         (FP_EX_INVALID): Likewise.
5463         (FP_EX_OVERFLOW): Likewise.
5464         (FP_EX_UNDERFLOW): Likewise.
5465         (FP_EX_DIVZERO): Likewise.
5466         (FP_EX_INEXACT): Likewise.
5467         (FP_EX_ALL): Likewise.
5468         (__sfp_handle_exceptions): Likewise.
5469         (FP_HANDLE_EXCEPTIONS): Likewise.
5470         (FP_RND_NEAREST): Likewise.
5471         (FP_RND_ZERO): Likewise.
5472         (FP_RND_PINF): Likewise.
5473         (FP_RND_MINF): Likewise.
5474         (FP_RND_MASK): Likewise.
5475         (_FP_DECL_EX): Likewise.
5476         (FP_INIT_ROUNDMODE): Likewise.
5477         (FP_ROUNDMODE): Likewise.
5479         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5480         VSX code, enable IEEE 128-bit floating point.  If the compiler can
5481         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
5482         floating point hardware instructions and it supports declaring
5483         functions with the ifunc attribute, enable ifunc functions to
5484         switch between software and hardware support.
5485         * configure.ac (powerpc*-*-linux*): Likewise.
5486         * configure: Regenerate.
5488 2016-01-15  Nick Clifton  <nickc@redhat.com>
5490         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
5491         dependency as the source file to be compiled.
5492         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
5493         (lib2hw_mul_f5.o): Likewise.
5495 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
5497         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
5498         * libgcc/config/rs6000/fixkfti.c: Likewise.
5499         * libgcc/config/rs6000/fixunskfti.c: Likewise.
5500         * libgcc/config/rs6000/float128-hw.c: Likewise.
5501         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
5502         * libgcc/config/rs6000/float128-sed: Likewise.
5503         * libgcc/config/rs6000/floattikf.c: Likewise.
5504         * libgcc/config/rs6000/floatuntikf.c: Likewise.
5505         * libgcc/config/rs6000/quad-float128.h: Likewise.
5506         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
5507         * libgcc/config/rs6000/sfp-machine.h: Likewise.
5508         * libgcc/config/rs6000/t-float128: Likewise.
5509         * libgcc/config/rs6000/t-float128-hw: Likewise.
5510         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
5511         * libgcc/config.host: Likewise.
5512         * libgcc/configure: Likewise.
5513         * libgcc/configure.ac: Likewise.
5515 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
5516             Steven Munroe  <munroesj@linux.vnet.ibm.com>
5517             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
5519         * config/rs6000/sfp-exceptions.c: New file to provide exception
5520         support for IEEE 128-bit floating point.
5522         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5523         floating point hardware support.
5525         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
5526         point conversions.
5527         * config/rs6000/fixunskfti.c: Likewise.
5528         * config/rs6000/fixkfti.c: Likewise.
5529         * config/rs6000/floatuntikf.c: Likewise.
5530         * config/rs6000/extendkftf2-sw.c: Likewise.
5531         * config/rs6000/trunctfkf2-sw.c: Likewise.
5533         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5534         128-bit floating point software emulation or use ISA 3.0 hardware
5535         support if it is available.
5537         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5538         floating point.
5540         * config/rs6000/t-float128: New Makefile fragments to enable
5541         building __float128 emulation support.
5542         * config/rs6000/t-float128-hw: Likewise.
5544         * config/rs6000/float128-sed: New file to convert TF names to KF
5545         names for PowerPC IEEE 128-bit floating point support.
5547         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5548         when building on 64-bit systems, or when VSX is enabled.
5549         (_FP_W_TYPE): Likewise.
5550         (_FP_WS_TYPE): Likewise.
5551         (_FP_I_TYPE): Likewise.
5552         (TItype): Define on 64-bit systems.
5553         (UTItype): Likewise.
5554         (TI_BITS): Likewise.
5555         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5556         (_FP_MUL_MEAT_Q): Likewise.
5557         (_FP_DIV_MEAT_D): Likewise.
5558         (_FP_DIV_MEAT_Q): Likewise.
5559         (_FP_NANFRAC_D): Likewise.
5560         (_FP_NANFRAC_Q): Likewise.
5561         (ISA_BIT): Add exception support if we are being compiled on a
5562         machine with hardware floating point support to build the IEEE
5563         128-bit emulation functions.
5564         (FP_EX_INVALID): Likewise.
5565         (FP_EX_OVERFLOW): Likewise.
5566         (FP_EX_UNDERFLOW): Likewise.
5567         (FP_EX_DIVZERO): Likewise.
5568         (FP_EX_INEXACT): Likewise.
5569         (FP_EX_ALL): Likewise.
5570         (__sfp_handle_exceptions): Likewise.
5571         (FP_HANDLE_EXCEPTIONS): Likewise.
5572         (FP_RND_NEAREST): Likewise.
5573         (FP_RND_ZERO): Likewise.
5574         (FP_RND_PINF): Likewise.
5575         (FP_RND_MINF): Likewise.
5576         (FP_RND_MASK): Likewise.
5577         (_FP_DECL_EX): Likewise.
5578         (FP_INIT_ROUNDMODE): Likewise.
5579         (FP_ROUNDMODE): Likewise.
5581         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
5582         compiler can do __float128.
5583         * configure: Regenerate.
5585         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5586         VSX code, enable IEEE 128-bit floating point.
5588 2016-01-05  Olivier Hainque  <hainque@adacore.com>
5590         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
5591         specificities.
5593 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
5595         Update copyright years.
5597 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
5599         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
5600         soft-fp targets.
5602 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
5604         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
5605         instead of abort to avoid dependency on stdlib.h.
5607 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
5609         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
5610         to initialize call to __dl_fixup once.
5612 2015-12-04  Nick Clifton  <nickc@redhat.com>
5614         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
5615         Allow for the second argument being negative.
5616         * config.host (extra_parts): Define for MSP430.  Create separate
5617         libraries for each of the hardware multiply formats.
5618         * config/msp430/lib2hw_mul.S: Build only the multiply routines
5619         that are needed.
5620         * config/msp430/lib2mul.c: Likewise.
5621         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
5622         Add rules to build hardware multiply libraries.
5623         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
5624         __mspabi_divul function.
5625         (__mspabi_divllu): New stub function.
5627 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
5629         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
5630         fixup values if saved GOT address doesn't match runtime address.
5631         (fixup_branch_offset): Reorder list.
5633 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5635         * Makefile.in (VTV_CFLAGS): New variable.
5636         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
5637         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
5638         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5639         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
5640         to extra_parts if $enable_vtable_verify = yes.
5642 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5644         PR target/68059
5645         * config/arm/linux-atomic-64bit.c (__write): Rename to...
5646         (write): ...this and fix the return type.
5648 2015-11-19  DJ Delorie  <dj@redhat.com>
5650         * config/msp430/lib2hw_mul.S: Fix alignment.
5652 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
5654         * config/nvptx/reduction.c: New.
5655         * config/nvptx/t-nvptx (LIB2ADD): Add it.
5657 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
5659         * config/rs6000/on_exit.c: New file.
5660         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
5661         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
5663 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
5665         * config/arc/dp-hack.h: Add support for ARCHS.
5666         * config/arc/ieee-754/divdf3.S: Likewise.
5667         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5668         * config/arc/ieee-754/muldf3.S: Likewise.
5669         * config/arc/ieee-754/mulsf3.S: Likewise
5670         * config/arc/lib1funcs.S: Likewise
5671         * config/arc/gmon/dcache_linesz.S: Don't read the build register
5672         for ARCv2 cores.
5673         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
5674         for ARCv2 cores.
5675         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
5676         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
5677         cores.
5679 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5681         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
5682         value.
5683         * config/ia64/crtend.S: Likewise.
5685 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5687         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
5688         __CHAR_BIT__ instead of BITS_PER_UNIT.
5689         * fixed-bit.h: Likewise.
5690         * fp-bit.h: Likewise.
5691         * libgcc2.c (__popcountSI2): Likewise.
5692         (__popcountDI2): Likewise.
5693         * libgcc2.h: Likewise.
5694         * libgcov.h: Likewise.
5696 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
5698         * config/rs6000/atexit.c: New file.
5699         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
5700         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
5701         * config/rs6000/cxa_finalize.c
5702         (catomic_compare_and_exchange_bool_acq): Negate return value.
5704 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
5706         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
5707         (processor_subtypes): Add znver1.
5708         (get_amd_cpu): Detect znver1.
5710 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
5712         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
5713         Include crtfastmath.o.
5715 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
5717         PR libgcc/66883
5718         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
5720 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
5722         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
5723         * config/rl78/divmodsi.S: Update return register to r8.
5724         * config/rl78/divmodhi.S: Update return register to r8,r9.
5725         Branch to main_loop_done_himode to pop registers before return.
5727 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
5729         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
5730         (__cpu_indicator_init): Fix model selection for AMD CPUs.
5732 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
5734         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
5736 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
5738         * config.host (xtensa*-*-uclinux*): New configuration.
5740 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
5742         * config/i386/cpuinfo.c (processor_features): Add
5743         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
5745 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
5747         * soft-fp/adddf3.c: Update from glibc.
5748         * soft-fp/addsf3.c: Likewise.
5749         * soft-fp/addtf3.c: Likewise.
5750         * soft-fp/divdf3.c: Likewise.
5751         * soft-fp/divsf3.c: Likewise.
5752         * soft-fp/divtf3.c: Likewise.
5753         * soft-fp/double.h: Likewise.
5754         * soft-fp/eqdf2.c: Likewise.
5755         * soft-fp/eqsf2.c: Likewise.
5756         * soft-fp/eqtf2.c: Likewise.
5757         * soft-fp/extenddftf2.c: Likewise.
5758         * soft-fp/extended.h: Likewise.
5759         * soft-fp/extendsfdf2.c: Likewise.
5760         * soft-fp/extendsftf2.c: Likewise.
5761         * soft-fp/extendxftf2.c: Likewise.
5762         * soft-fp/fixdfdi.c: Likewise.
5763         * soft-fp/fixdfsi.c: Likewise.
5764         * soft-fp/fixdfti.c: Likewise.
5765         * soft-fp/fixsfdi.c: Likewise.
5766         * soft-fp/fixsfsi.c: Likewise.
5767         * soft-fp/fixsfti.c: Likewise.
5768         * soft-fp/fixtfdi.c: Likewise.
5769         * soft-fp/fixtfsi.c: Likewise.
5770         * soft-fp/fixtfti.c: Likewise.
5771         * soft-fp/fixunsdfdi.c: Likewise.
5772         * soft-fp/fixunsdfsi.c: Likewise.
5773         * soft-fp/fixunsdfti.c: Likewise.
5774         * soft-fp/fixunssfdi.c: Likewise.
5775         * soft-fp/fixunssfsi.c: Likewise.
5776         * soft-fp/fixunssfti.c: Likewise.
5777         * soft-fp/fixunstfdi.c: Likewise.
5778         * soft-fp/fixunstfsi.c: Likewise.
5779         * soft-fp/fixunstfti.c: Likewise.
5780         * soft-fp/floatdidf.c: Likewise.
5781         * soft-fp/floatdisf.c: Likewise.
5782         * soft-fp/floatditf.c: Likewise.
5783         * soft-fp/floatsidf.c: Likewise.
5784         * soft-fp/floatsisf.c: Likewise.
5785         * soft-fp/floatsitf.c: Likewise.
5786         * soft-fp/floattidf.c: Likewise.
5787         * soft-fp/floattisf.c: Likewise.
5788         * soft-fp/floattitf.c: Likewise.
5789         * soft-fp/floatundidf.c: Likewise.
5790         * soft-fp/floatundisf.c: Likewise.
5791         * soft-fp/floatunditf.c: Likewise.
5792         * soft-fp/floatunsidf.c: Likewise.
5793         * soft-fp/floatunsisf.c: Likewise.
5794         * soft-fp/floatunsitf.c: Likewise.
5795         * soft-fp/floatuntidf.c: Likewise.
5796         * soft-fp/floatuntisf.c: Likewise.
5797         * soft-fp/floatuntitf.c: Likewise.
5798         * soft-fp/gedf2.c: Likewise.
5799         * soft-fp/gesf2.c: Likewise.
5800         * soft-fp/getf2.c: Likewise.
5801         * soft-fp/ledf2.c: Likewise.
5802         * soft-fp/lesf2.c: Likewise.
5803         * soft-fp/letf2.c: Likewise.
5804         * soft-fp/muldf3.c: Likewise.
5805         * soft-fp/mulsf3.c: Likewise.
5806         * soft-fp/multf3.c: Likewise.
5807         * soft-fp/negdf2.c: Likewise.
5808         * soft-fp/negsf2.c: Likewise.
5809         * soft-fp/negtf2.c: Likewise.
5810         * soft-fp/op-1.h: Likewise.
5811         * soft-fp/op-2.h: Likewise.
5812         * soft-fp/op-4.h: Likewise.
5813         * soft-fp/op-8.h: Likewise.
5814         * soft-fp/op-common.h: Likewise.
5815         * soft-fp/quad.h: Likewise.
5816         * soft-fp/single.h: Likewise.
5817         * soft-fp/soft-fp.h: Likewise.
5818         * soft-fp/subdf3.c: Likewise.
5819         * soft-fp/subsf3.c: Likewise.
5820         * soft-fp/subtf3.c: Likewise.
5821         * soft-fp/truncdfsf2.c: Likewise.
5822         * soft-fp/trunctfdf2.c: Likewise.
5823         * soft-fp/trunctfsf2.c: Likewise.
5824         * soft-fp/trunctfxf2.c: Likewise.
5825         * soft-fp/unorddf2.c: Likewise.
5826         * soft-fp/unordsf2.c: Likewise.
5827         * soft-fp/unordtf2.c: Likewise.
5829 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
5831         PR libgcc/67624
5832         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
5834 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5836         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5837         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
5838         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
5839         messages.
5840         (internal_mcount): Likewise.
5841         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
5842         crt_compile, add CRTSTUFF_T_CFLAGS_S.
5844 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5846         * configure.ac (libgcc_cv_solaris_crts): New test.
5847         * configure: Regenerate.
5848         * config.in: Regenerate.
5849         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
5850         * config/gmon-sol2.c: Rename to ...
5851         * config/sol2/gmon.c: ... this.
5852         Include auto-target.h.
5853         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
5854         * config/t-sol2: Rename to ...
5855         * config/sol2/t-sol2: ... this.
5856         (gmon.o): Reflect renaming.
5857         (crtp.o, crtpg.o): New rules.
5858         * config.host (*-*-solaris2*): Reflect renaming.
5859         Use system CRTs if present.
5860         Remove default CRT case.
5862 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
5864         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
5865         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
5866         __kernel_cmpxchg2.
5867         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
5868         (__sync_val_compare_and_swap_##WIDTH): Likewise.
5869         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
5870         (__sync_lock_test_and_set_##WIDTH): Likewise.
5871         (__sync_lock_release_##WIDTH): Likewise.
5872         (__sync_fetch_and_##OP##_4): Change result to match type of
5873         __kernel_cmpxchg.
5874         (__sync_##OP##_and_fetch_4): Likewise.
5875         (__sync_val_compare_and_swap_4): Likewise.
5876         (__sync_bool_compare_and_swap_4): likewise.
5877         (__sync_lock_test_and_set_4): Likewise.
5878         (__sync_lock_release_4): Likewise.
5879         (FETCH_AND_OP_2): Add long long variants.
5880         (OP_AND_FETCH_2): Likewise.
5881         (COMPARE_AND_SWAP_2 ): Likewise.
5882         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5883         (SYNC_LOCK_RELEASE_2): Likewise.
5884         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
5886 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
5888         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
5889         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
5890         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
5891         (get_available_features): Habdle new features.
5893 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
5895         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
5896         memory layout. Deal correctly with BSS region larger than 32K.
5897         Handle a watchdog reset like a power-on reset. Clean up unused
5898         code.
5900 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
5901             David Edelsohn  <dje.gcc@gmail.com>
5903         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
5904         * config/rs6000/crtdbase.S: New file.
5905         * config/rs6000/t-aix-cxa: Build crtdbase.o.
5907 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
5909         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
5910         Add support for call0 ABI.
5912 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
5914         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
5916 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
5918         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
5919         (__GTHREAD_HAS_COND): Likewise.
5920         (__gthread_t): Likewise.
5921         (__gthread_cond_t): Likewise.
5922         (__gthread_time_t): Likewise.
5923         (__GTHREAD_MUTEX_INIT): Likewise.
5924         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
5925         (__GTHREAD_COND_INIT): Likewise.
5926         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
5927         (__GTHREAD_TIME_INIT): Likewise.
5928         (__gthread_create): Likewise.
5929         (__gthread_join): Likewise.
5930         (__gthread_detach): Likewise.
5931         (__gthread_equal): Likewise.
5932         (__gthread_self): Likewise.
5933         (__gthread_yield): Likewise.
5934         (__gthread_cond_broadcast): Likewise.
5935         (__gthread_cond_signal): Likewise.
5936         (__gthread_cond_wait): Likewise.
5937         (__gthread_cond_timedwait): Likewise.
5938         (__gthread_cond_wait_recursive): Likewise.
5939         (__gthread_cond_destroy): Likewise.
5940         (rtems_gxx_once): Delete.
5941         (rtems_gxx_key_create): Likewise.
5942         (rtems_gxx_key_delete): Likewise.
5943         (rtems_gxx_getspecific): Likewise.
5944         (rtems_gxx_setspecific): Likewise.
5945         (rtems_gxx_mutex_init): Likewise.
5946         (rtems_gxx_mutex_destroy): Likewise.
5947         (rtems_gxx_mutex_lock): Likewise.
5948         (rtems_gxx_mutex_trylock): Likewise.
5949         (rtems_gxx_mutex_unlock): Likewise.
5950         (rtems_gxx_recursive_mutex_init): Likewise.
5951         (rtems_gxx_recursive_mutex_lock): Likewise.
5952         (rtems_gxx_recursive_mutex_trylock): Likewise.
5953         (rtems_gxx_recursive_mutex_unlock): Likewise.
5954         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
5955         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
5956         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
5957         (__gthread_once): Likewise.
5958         (__gthread_key_create): Likewise.
5959         (__gthread_key_delete): Likewise.
5960         (__gthread_getspecific): Likewise.
5961         (__gthread_setspecific): Likewise.
5962         (__gthread_key_t): Use <pthread.h> type.
5963         (__gthread_once_t): Likewise
5964         (__gthread_mutex_t): Use <sys/lock.h> type.
5965         (__gthread_recursive_mutex_t): Likewise
5966         (__gthread_mutex_lock): Use <sys/lock.h> function.
5967         (__gthread_mutex_trylock): Likewise.
5968         (__gthread_mutex_timedlock): Likewise.
5969         (__gthread_mutex_unlock): Likewise.
5970         (__gthread_mutex_destroy): Likewise.
5971         (__gthread_recursive_mutex_lock): Likewise.
5972         (__gthread_recursive_mutex_trylock): Likewise.
5973         (__gthread_recursive_mutex_timedlock): Likewise.
5974         (__gthread_recursive_mutex_unlock): Likewise.
5975         (__gthread_recursive_mutex_destroy): Likewise.
5977 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
5979         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
5980         context->sp instead of context->cfa.
5982 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
5984         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
5985         with unwind-dw2-fde-dip.
5987 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
5989         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
5990         CALL12 followed by series of ENTRY to spill windowed registers.
5991         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
5992         instead of making linux spill syscall.
5994 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
5996         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
5997         (get_intel_cpu): Likewise.
5999 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
6001         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
6002         (get_intel_cpu): Add Knights Landing support.
6004 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
6006         PR target/66954
6007         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
6008         (get_available_features): Handle FEATURE_PCLMUL.
6010 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
6012         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
6013         Broadwell.
6015 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
6017         PR target/66954
6018         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
6019         (get_available_features): Handle FEATURE_AES.
6021 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
6023         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
6024         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
6026 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
6028         * offloadstuff.c: Constify host data.
6030 2015-07-17  Jan Beulich  <jbeulich@suse.com>
6032         * config/t-softfp: Split up "else ifneq".
6034 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
6035             Cesar Philippidis  <cesar@codesourcery.com>
6036             Chung-Lin Tang  <cltang@codesourcery.com>
6038         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
6039         for __nios2_arch__ level.
6041 2015-07-13  John Marino  <gnugcc@marino.st>
6043         * config/i386/t-dragonfly: New.
6045 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
6047         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
6048         better match light-weight syscall argument order.
6049         (__kernel_cmpxchg2): Likewise.
6050         Adjust callers.
6052 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
6054         * config.host: Support i[34567]86-*-elfiamcu target.
6055         * config/t-softfp-sfdftf: New file.
6056         * config/i386/32/t-iamcu: Likewise.
6057         * configure: Regenerated.
6059 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
6061         libgcc/config/arm/
6062         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
6064 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
6066         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
6068 2015-05-27  John Marino  <gnugcc@marino.st>
6070         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
6071         md_unwind_header
6072         * config/i386/freebsd-unwind.h: New.
6074 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
6076         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
6077         i386/t-crtfm to tmake_file.
6078         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
6079         (set_fast_math): Use set_fast_math_sse for SSE targets.
6080         * config/i386/t-crtfm: Remove.
6082 2015-05-21  Alan Modra  <amodra@gmail.com>
6084         PR libgcc/66225
6085         * config/rs6000/morestack.S: Remove ".abiversion 1".
6087 2015-05-20  Alan Modra  <amodra@gmail.com>
6089         * config/rs6000/morestack.S: New.
6090         * config/rs6000/t-stack-rs6000: New.
6091         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
6092         to tmake_file.
6093         * generic-morestack.c: Don't build for powerpc 32-bit.
6095 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
6097         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
6098         Remove useless endif/ifneq ($(enable_shared),yes) pair.
6100 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
6102         * config.host: FT32 target added.
6103         * config/ft32/*: New files for FT32 target.
6105 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
6107         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
6108         New macros.
6109         * config/arm/ieee754-df.S: Add CFI directives.
6110         * config/arm/ieee754-sf.S: Add CFI directives.
6112 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
6114         * configure.ac: Include config/sjlj.m4.
6115         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
6116         * config.in: Regenerate.
6117         * configure: Likewise.
6118         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
6120 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
6122         * libgcov-util.c: Add space between string literal and macro name.
6124 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
6125             Chris Jones  <chrisj@nvidia.com>
6126             Joshua Conner  <jconner@nvidia.com>
6128         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
6129         (arm*-*-uclinux*): Likewise.
6130         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
6131         * config/arm/crtfastmath.c: New file.
6133 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
6135         * Makefile.in (real_host_noncanonical): New variable.
6136         (libsubdir): Use it.
6137         * configure.ac (real_host_noncanonical): Compute.  Remove special
6138         case for intelmicemul.
6139         * configure: Regenerate.
6141 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
6143         * config/frv/elf-lib.h: New file.
6144         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
6145         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
6146         to tm_file.
6148 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
6150         * config/frv/frvbengin.c: Do not include defaults.h
6151         * config/frv/frvend.c: Ditto.
6153 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
6155         * config.host: Add h8300-*-linux
6156         * config/h8300/t-linux: New file.
6157         * config/h8300/lib1funs.s: Change symbol prefix.
6158         * config/h8300/sfp-machine.h: 64bit double support.
6160 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
6161             Szabolcs Nagy  <szabolcs.nagy@arm.com>
6163         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
6164         Linux if target provides dl_iterate_phdr.
6166 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
6168         PR target/65612
6169         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
6170         * config/i386/cpuinfo.c (__cpu_model): Initialize.
6171         (__cpu_indicator_init@GCC_4.8.0): New.
6172         (__cpu_model@GCC_4.8.0): Likewise.
6173         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
6174         -DUSE_ELF_SYMVER.
6176 2015-04-16  Nick Clifton  <nickc@redhat.com>
6178         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
6179         and __modhi3 functions.
6180         * config/rl78/divmodso.S: Add G14 and G13 versions of the
6181         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
6183 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
6185         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
6186         do-while loop as macro body to avoid warnings.
6188 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
6189             Iain Sandoe  <iain@codesourcery.com>
6191         PR target/65351
6192         * configure: Regenerate.
6194 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
6195             Iain Sandoe  <iain@codesourcery.com>
6197         PR target/65351
6198         * configure: Regenerate.
6200 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
6202         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
6204 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
6206         Implement call0 ABI for xtensa
6207         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6208         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
6209         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
6210         use ret in call0 ABI.
6211         * config/xtensa/t-windowed: New file.
6212         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
6213         * libgcc/configure: Regenerated.
6214         * libgcc/configure.ac: Check if xtensa target is configured for
6215         windowed ABI and thus needs to use custom unwind code.
6217 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
6219         PR libgcc/64885
6220         * gthr-single.h: Use __unused__ attribute instead of unused.
6221         * config/gthr-vxworks.h: Likewise.
6222         * config/i386/gthr-win32.h: Likewise.
6224 2015-02-27  Kai Tietz  <ktietz@redhat.com>
6226         PR target/65038
6227         * config.in: Regenerated.
6228         * configure: Likewise.
6229         * configure.ac (AC_HEADER_STDC): Added explicit.
6230         (AC_CHECK_HEADERS): Check for default headers  plus
6231         for ftw.h header.
6232         * libgcov-util.c (gcov_read_profile_dir): Disable use
6233         of ftw-function, if header is not found.
6234         (ftw_read_file): Likewise.
6236 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
6238         PR target/65181
6239         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
6240         -Dinhibit_libc.
6242 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
6244         * config/arm/bpabi.S (test_div_by_zero): Make label names
6245         consistent between thumb2 and arm mode cases.  Separate the
6246         signed comparison on the high word of the numerator from the
6247         unsigned comparison on the low word.
6248         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
6249         signed comparison.
6251 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6253         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
6254         and <string.h>.
6255         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
6257 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
6259         PR gcov-profile/61889
6260         * libgcov-driver-system.c: undefine clashing macro for mkdir.
6262 2015-02-02  Nick Clifton  <nickc@redhat.com>
6264         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
6265         rounding up the fraction.
6267 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
6269         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
6270         oldval and newval to const void *.  Fix typo.
6271         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
6272         (FETCH_AND_OP_WORD): Likewise.
6273         (OP_AND_FETCH_WORD): Likewise.
6274         (COMPARE_AND_SWAP_2): Likewise.
6275         (__sync_val_compare_and_swap_4): Likewise.
6276         (__sync_lock_test_and_set_4): Likewise.
6277         (SYNC_LOCK_RELEASE_2): Likewise.
6278         Remove support for long long atomic operations.
6280 2015-01-27  Caroline Tice  <cmtice@google.com>
6282         Committing VTV Cywin/Ming patch for Patrick Wollgast
6283         * Makefile.in: Move rules to build vtv_*.o out of the check
6284         for CUSTOM_CRTSTUFF.
6285         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
6286         i[34567]86-*-mingw*)
6287         (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
6288         enable_vtable_verify.
6290 2015-01-27  Nick Clifton  <nickc@redhat.com>
6292         * config/rl78/cmpsi2.S: Use function start and end macros.
6293         (__gcc_bcmp): New function.
6294         * config/rl78/lshrsi3.S: Use function start and end macros.
6295         * config/rl78/mulsi3.S: Add support for G10.
6296         (__mulqi3): New function for G10.
6297         * config/rl78/signbit.S: Use function start and end macros.
6298         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
6299         fpmath-sf.S.
6300         (LIB2FUNCS_EXCLUDE): Define.
6301         (LIB2FUNCS_ST): Define.
6302         * config/rl78/trampoline.S: Use function start and end macros.
6303         * config/rl78/vregs.h (START_FUNC): New macro.
6304         (START_ANOTHER_FUNC): New macro.
6305         (END_FUNC): New macro.
6306         (END_ANOTHER_FUNC): New macro.
6307         * config/rl78/bit-count.S: New file.  Contains assembler
6308         implementations of the bit counting functions: ___clzhi2,
6309         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
6310         __paritysi2, __popcounthi2 and __popcountsi2.
6311         * config/rl78/fpbit-sf.S: New file.  Contains assembler
6312         implementationas of the math functions: __negsf2, __cmpsf2,
6313         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
6314         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
6315         * config/rl78/fpmath-sf.S: New file.  Contains assembler
6316         implementations of the math functions: __subsf3, __addsf3,
6317         __mulsf3 and __divsf3
6319 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6321         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
6322         Add i386/elf-lib.h to tm_file.
6323         * config/i386/elf-lib.h: Fix comment.
6324         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
6325         && __sun__ && __svr4__]: Remove workaround.
6327 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
6329         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
6330         FEATURE_BMI2.
6331         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
6333 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
6335         * config/i386/cpuinfo.c (processor_subtypes): Add
6336         INTEL_COREI7_BROADWELL.
6337         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
6338         model numbers.
6340 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
6342         * config/i386/elf-lib.h: New file.
6343         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
6344         Wrap definition in #ifdef __i386__.
6345         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6346         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
6347         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
6348         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
6349         to tm_file.
6351 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
6353         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
6354         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
6356 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
6358         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
6359         Update rt_sigframe format and address for current Nios II
6360         Linux conventions.
6362 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
6364         * config.host (arm*-*-freebsd*): Add new configuration for
6365         arm*-*-freebsd*.
6366         * config/arm/freebsd-atomic.c: New file.
6367         * config/arm/t-freebsd: Likewise.
6368         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
6369         'PC-relative indirect' OS's.
6371 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
6373         * config.host: Add Visium support.
6374         * config/visium: New directory.
6376 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
6378         Update copyright years.
6380 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
6382         * config.host: Support mipsisa32r6 and mipsisa64r6.
6383         * config/mips/mips16.S: Do not build for R6.
6385 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
6387         * config/sh/crt.h: New.
6388         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
6389         symbols.
6390         * config/sh/crt1.S: Likewise.
6392 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
6394         PR libgcc/63832
6395         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
6396         func_ptr *dtor_list temporary variable to avoid "array subscript
6397         is above array bounds" warnings.
6399 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
6401         * Makefile.in (with_aix_soname): Define.
6402         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
6403         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
6404         * configure: Recreate.
6406 2014-12-05  Olivier Hainque  <hainque@adacore.com>
6408         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
6409         now provided by defaults.h.
6411 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
6413         PR target/55351
6414         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
6415         whether it's defined.
6417 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
6419         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
6420         * config/i386/cpuinfo.c (get_available_features): Detect it.
6422 2014-11-27  Tony Wang  <tony.wang@arm.com>
6424         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
6425         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
6426         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
6428 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
6430         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
6432 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
6434         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
6435         instead.
6437 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
6438             John David Anglin  <danglin@gcc.gnu.org>
6440         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
6441         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
6442         (OP_AND_FETCH_2): Likewise.
6443         (COMPARE_AND_SWAP_2): Likewise.
6444         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6445         (SYNC_LOCK_RELEASE_2): Likewise.
6446         (SUBWORD_SYNC_OP): Remove.
6447         (SUBWORD_VAL_CAS): Likewise.
6448         (SUBWORD_BOOL_CAS): Likewise.
6449         (FETCH_AND_OP_WORD): Update.
6450         Consistently use signed types.
6452 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
6453             Thomas Schwinge  <thomas@codesourcery.com>
6454             Ilya Verbin  <ilya.verbin@intel.com>
6455             Andrey Turetskiy  <andrey.turetskiy@intel.com>
6457         * Makefile.in (crtoffloadbegin$(objext)): New rule.
6458         (crtoffloadend$(objext)): Likewise.
6459         * configure: Regenerate.
6460         * configure.ac (accel_dir_suffix): Compute new variable.
6461         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
6462         if enable_offload_targets is not empty.
6463         * offloadstuff.c: New file.
6465 2014-11-13  Nick Clifton  <nickc@redhat.com>
6467         * config/rl78/divmodhi.S: Add support for the G10 architecture.
6468         Use START_FUNC and END_FUNC macros to enable linker garbage
6469         collection.
6470         * config/rl78/divmodqi.S: Likewise.
6471         * config/rl78/divmodsi.S: Likewise.
6472         * config/rl78/mulsi3.S: Likewise.
6473         * config/rl78/lib2div.c: Remove G10 functions.
6474         * config/rl78/lib2muls.c: Likewise.
6475         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
6476         * config/rl78/vregs.h (START_FUNC): New macro.
6477         (END_FUNC): New macro.
6479 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
6481         * config/mips/mips16.S: Set .module when supported.  Update O32
6482         FP64 calling convention and use for FPXX when possible.  Add FPXX
6483         calling convention fallback case.
6485 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
6487         * config.host: Handle nvptx-*-*.
6488         * shared-object.mk (as-flags-$o): Define.
6489         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
6490         -xassembler-with-cpp.
6491         * static-object.mk: Identical changes.
6492         * config/nvptx/t-nvptx: New file.
6493         * config/nvptx/crt0.s: New file.
6494         * config/nvptx/free.asm: New file.
6495         * config/nvptx/malloc.asm: New file.
6496         * config/nvptx/realloc.c: New file.
6498 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
6500         * Makefile.in (libgcc.map.in): New target.
6501         (libgcc.map): Use libgcc.map.in.
6502         * config/t-softfp (softfp_compat): New variable to be set by
6503         users.
6504         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
6505         variables.
6506         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
6507         directory.
6508         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
6509         that use compat symbols and disable all code unless [SHARED].
6510         * config/t-softfp-compat: New file.
6511         * find-symver.awk: New file.
6512         * configure.ac (--with-glibc-version): New configure option.
6513         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
6514         * configure: Regenerate.
6515         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
6516         soft-float and e500.
6518 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
6520         * config/t-hardfp (hardfp_exclusions): Document new variable for
6521         user to define.
6522         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
6523         * config/t-softfp (softfp_extras): Document new variable for user
6524         to define.
6525         (softfp_func_list): Add functions from $(softfp_extras).
6526         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
6527         * config.host (powerpc*-*-linux*): For e500v1, use
6528         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
6529         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
6530         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
6532 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
6534         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
6535         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
6536         memory read accesses are ok.
6538 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
6540         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
6541         * configure: Regenerate.
6542         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
6543         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
6544         of soft-fp for 32-bit classic hard float.  Do not use
6545         t-softfp-excl for soft float.
6547 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
6549         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
6550         configurations.
6551         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
6552         Remove variables.
6554 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
6556         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
6557         introduced with 2014-10-21 trunk r216525.
6559 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
6560             Vidya Praveen  <vidya.praveen@atmel.com>
6561             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
6562             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
6563             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
6565         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
6566         order.
6568         Updated library functions for AVRTINY arch.
6569         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
6570         Replaced occurrences of r0/r1 with tmp/zero reg macros.
6571         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
6572         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
6573         wsubi/wadi macors.
6574         (__mulsi3_helper): Update stack, preserve callee saved regs and
6575         argument from stack. Restore callee save registers.
6576         (__mulpsi3): Likewise.
6577         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
6578         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
6579         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
6580         AVRTINY.
6581         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
6582         (__do_copy_data): Added new definition for AVRTINY.
6583         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
6584         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
6585         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
6586         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
6587         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
6588         macors.
6589         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
6590         AVRTINY.
6592         Fix broken long multiplication on tiny arch.
6594 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
6596         * soft-fp/double.h: Update from glibc.
6597         * soft-fp/eqdf2.c: Likewise.
6598         * soft-fp/eqsf2.c: Likewise.
6599         * soft-fp/eqtf2.c: Likewise.
6600         * soft-fp/extenddftf2.c: Likewise.
6601         * soft-fp/extended.h: Likewise.
6602         * soft-fp/extendsfdf2.c: Likewise.
6603         * soft-fp/extendsftf2.c: Likewise.
6604         * soft-fp/extendxftf2.c: Likewise.
6605         * soft-fp/gedf2.c: Likewise.
6606         * soft-fp/gesf2.c: Likewise.
6607         * soft-fp/getf2.c: Likewise.
6608         * soft-fp/ledf2.c: Likewise.
6609         * soft-fp/lesf2.c: Likewise.
6610         * soft-fp/letf2.c: Likewise.
6611         * soft-fp/op-1.h: Likewise.
6612         * soft-fp/op-2.h: Likewise.
6613         * soft-fp/op-4.h: Likewise.
6614         * soft-fp/op-8.h: Likewise.
6615         * soft-fp/op-common.h: Likewise.
6616         * soft-fp/quad.h: Likewise.
6617         * soft-fp/single.h: Likewise.
6618         * soft-fp/soft-fp.h: Likewise.
6619         * soft-fp/unorddf2.c: Likewise.
6620         * soft-fp/unordsf2.c: Likewise.
6621         * soft-fp/unordtf2.c: Likewise.
6622         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
6623         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
6624         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
6625         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
6626         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
6627         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
6628         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
6629         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
6630         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
6631         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
6633 2014-10-08  Rong Xu  <xur@google.com>
6635         * libgcov-util.c (read_gcda_file): Fix format.
6636         (find_match_gcov_info): Ditto.
6637         (calculate_2_entries): New.
6638         (compute_one_gcov): Ditto.
6639         (gcov_info_count_all_cold): Ditto.
6640         (gcov_info_count_all_zero): Ditto.
6641         (extract_file_basename): Ditto.
6642         (get_file_basename): Ditto.
6643         (set_flag): Ditto.
6644         (matched_gcov_info): Ditto.
6645         (calculate_overlap): Ditto.
6646         (gcov_profile_overlap): Ditto.
6647         * libgcov-driver.c (compute_summary): Make
6648         it avavilable for external calls.
6650 2014-10-06  Rong Xu  <xur@google.com>
6652         * Makefile.in: Ditto.
6653         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
6654         (gcov_sort_icall_topn_counter): Ditto.
6655         (gcov_sort_topn_counter_arrays): Ditto.
6656         (dump_one_gcov): Sort indirect_call topn counters.
6657         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
6658         function.
6659         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
6660         utility function.
6661         (__gcov_indirect_call_topn_profiler): New profiler function.
6662         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
6663         * libgcov.h: New decls.
6665 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
6667         * config.host: Remove support for score-*.
6669 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
6671         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6672         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
6673         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
6674         __LIBGCC_XF_MANT_DIG__.
6675         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
6676         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
6677         __LIBGCC_TF_MANT_DIG__.
6678         * libgcc2.c (NOTRUNC): Define in terms of
6679         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
6680         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6682 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
6684         PR target/63312
6685         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
6686         New macros.
6688 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
6690         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
6691         override USE_PT_GNU_EH_FRAME.
6692         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
6693         check USE_EH_FRAME_REGISTRY_ALWAYS against
6694         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
6695         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
6696         variable for substituted force_explicit_eh_registry.
6697         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
6698         * configure.ac (explicit-exception-frame-registration):
6699         New AC_ARG_ENABLE.
6700         * configure: Regenerate.
6702 2014-09-19  Olivier Hainque  <hainque@adacore.com>
6704         * config.host (powerpc-wrs-vxworksmils): New configuration,
6705         same as vxworksae.
6707 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
6709         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
6711 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
6713         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
6714         bits not set bits as indicating trapping exceptions.
6716 2014-09-17  Nathan sidwell  <nathan@acm.org>
6718         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
6719         (LIBGCOV_DRIVER): ... here.
6720         * libgcov-driver.c (gcov_master): New.
6721         (gcov_exit): Remove from master chain.
6722         (__gcov_init): Add to master chain if version compatible.  Don't
6723         clear the version.
6724         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
6725         (gcov_reset_int): Clear master chain, if compatible.
6726         (gcov_dump_int): New internal interface.  Dump master chain, if
6727         compatible.
6728         (gcov_dump): Alias for gcov_dump_int.
6729         * libgcov.h (struct gcov_root): Add next and prev fields.
6730         (struct gcov_master): New struct.
6731         (__gcov_master): New.
6732         (gcov_dump_int): Declare.
6734 2014-09-17  Olivier Hainque  <hainque@adacore.com>
6736         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
6737         and crtbegin.o + crtend.o to extra_parts.
6739 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
6741         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
6742         __LIBGCC_HAS_SF_MODE__.
6743         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6744         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6745         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6746         * config/libbid/bid_gcc_intrinsics.h
6747         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6748         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6749         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6750         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6751         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
6752         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6754 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
6756         PR target/63223
6757         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
6758         and R24 as needed.  Make work for all devices and .text locations.
6759         (__do_global_ctors, __do_global_dtors): Use word addresses.
6760         (__tablejump__, __tablejump_elpm__): Remove functions.
6761         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
6762         Add _tablejump2.
6763         (XICALL, XIJMP): New macros.
6765 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6766         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
6768         * config.host (aarch64*): Include crtfastmath.o and
6769         t-crtfm.
6770         * config/aarch64/crtfastmath.c: New file.
6772 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
6774         * config.host: Remove picochip support.
6775         * config/picochip/adddi3.S: Remove.
6776         * config/picochip/ashlsi3.S: Remove.
6777         * config/picochip/ashlsi3.c: Remove.
6778         * config/picochip/ashrsi3.S: Remove.
6779         * config/picochip/ashrsi3.c: Remove.
6780         * config/picochip/clzsi2.S: Remove.
6781         * config/picochip/cmpsi2.S: Remove.
6782         * config/picochip/divmod15.S: Remove.
6783         * config/picochip/divmodhi4.S: Remove.
6784         * config/picochip/divmodsi4.S: Remove.
6785         * config/picochip/lib1funcs.S: Remove.
6786         * config/picochip/longjmp.S: Remove.
6787         * config/picochip/lshrsi3.S: Remove.
6788         * config/picochip/lshrsi3.c: Remove.
6789         * config/picochip/parityhi2.S: Remove.
6790         * config/picochip/popcounthi2.S: Remove.
6791         * config/picochip/setjmp.S: Remove.
6792         * config/picochip/subdi3.S: Remove.
6793         * config/picochip/t-picochip: Remove.
6794         * config/picochip/ucmpsi2.S: Remove.
6795         * config/picochip/udivmodhi4.S: Remove.
6796         * config/picochip/udivmodsi4.S: Remove.
6798 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
6800         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
6801         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
6802         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
6803         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
6804         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
6805         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
6806         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
6807         defined and LIBGCC2_HAS_DF_MODE is defined.
6808         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
6809         defined and LIBGCC2_HAS_XF_MODE is defined.
6810         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
6811         defined and LIBGCC2_HAS_TF_MODE is defined.
6813 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
6815         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
6816         and ROUND_TOWARDS_ZERO conditionals.
6818 2014-09-07  Nathan sidwell  <nathan@acm.org>
6820         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
6821         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
6823 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
6825         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
6826         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6827         uses to __LIBGCC_STACK_POINTER_REGNUM__.
6828         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6829         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6830         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6831         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6832         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
6833         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
6834         (DWARF_FRAME_REGISTERS): Change all uses to
6835         __LIBGCC_DWARF_FRAME_REGISTERS__.
6836         (EH_RETURN_STACKADJ_RTX): Change all uses to
6837         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6838         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
6839         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
6840         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
6841         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
6842         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
6843         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
6844         to __LIBGCC_EH_FRAME_SECTION_NAME__.
6845         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
6846         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
6847         __LIBGCC_STACK_POINTER_REGNUM__.
6848         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6849         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6850         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6851         to __LIBGCC_STACK_POINTER_REGNUM__.
6852         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6853         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6854         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6855         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6856         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6857         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6858         (STACK_POINTER_REGNUM): Change all uses to
6859         __LIBGCC_STACK_POINTER_REGNUM__.
6860         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
6861         use to __LIBGCC_STACK_POINTER_REGNUM__.
6862         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6863         uses to __LIBGCC_STACK_POINTER_REGNUM__.
6864         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
6865         to __LIBGCC_DWARF_FRAME_REGISTERS__.
6866         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
6867         to __LIBGCC_DWARF_FRAME_REGISTERS__.
6868         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6869         to __LIBGCC_STACK_POINTER_REGNUM__.
6870         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
6871         Remove conditional definition.
6872         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
6873         __LIBGCC_TEXT_SECTION_ASM_OP__.
6874         (EH_FRAME_SECTION_NAME): Change all uses to
6875         __LIBGCC_EH_FRAME_SECTION_NAME__.
6876         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
6877         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
6878         (CTORS_SECTION_ASM_OP): Change all uses to
6879         __LIBGCC_CTORS_SECTION_ASM_OP__.
6880         (DTORS_SECTION_ASM_OP): Change all uses to
6881         __LIBGCC_DTORS_SECTION_ASM_OP__.
6882         (JCR_SECTION_NAME): Change all uses to
6883         __LIBGCC_JCR_SECTION_NAME__.
6884         (INIT_SECTION_ASM_OP): Change all uses to
6885         __LIBGCC_INIT_SECTION_ASM_OP__.
6886         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6887         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6888         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
6889         __LIBGCC_STACK_GROWS_DOWNWARD__.
6890         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
6891         __LIBGCC_INIT_SECTION_ASM_OP__.
6892         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6893         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6894         (EH_FRAME_SECTION_NAME): Change all uses to
6895         __LIBGCC_EH_FRAME_SECTION_NAME__.
6896         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
6897         definitions.  Change all uses to
6898         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
6899         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
6900         __LIBGCC_STACK_GROWS_DOWNWARD__.
6901         (DWARF_FRAME_REGISTERS): Change all uses to
6902         __LIBGCC_DWARF_FRAME_REGISTERS__.
6903         (EH_RETURN_STACKADJ_RTX): Change all uses to
6904         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6905         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
6906         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
6907         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
6908         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
6909         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
6911 2014-09-02  Nathan sidwell  <nathan@acm.org>
6913         * libgcov-interface.c (STRONG_ALIAS): New.
6914         (__gcov_flush): Call __gcov_reset_int.
6915         (__gcov_reset): Strong alias for ...
6916         (__gcov_reset_ing): ... this renamed hidden version.
6917         * libgcov.h (__gcov_reset_int): New declaration.
6919 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
6921         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
6922         call from here...
6923         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
6924         (__dso_handle): Define on Cygwin.
6925         * config/i386/t-cygming (crtbeginS.o): New rule.
6926         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
6928         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
6929         declaration syntax.
6931 2014-08-13  Steve Ellcey  <sellcey@mips.com>
6933         * crtstuff.c: Undef caddr_t.
6935 2014-08-12  Steve Ellcey  <sellcey@mips.com>
6937         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
6939 2014-08-07  Nathan Sidwell  <nathan@acm.org>
6941         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
6942         (LIBGCOV_DRIVER): ... to here.
6943         * libgcov.h (gcov_do_dump): New #define.
6944         (struct gcov_root): New.
6945         (__gcov_root): New declaration.
6946         (__gcov_dump_one): Declare.
6947         * libgcov-driver.c (gcov_list, gcov_dump_complete,
6948         run_accounted): Delete.
6949         (gcov_compute_histogram): Add LIST argument, adjust.
6950         (compute_summary): Adjust gcov_compute_histogram call.
6951         (gcov_do_dump): Not hidden, static in libgcov.
6952         (gcov_clear): Move  to interface.c.
6953         (__gcov_dump_one): New, broken out of ...
6954         (gcov_exit): ... here.  Make static.
6955         (__gcov_root): New.
6956         (__gcov_init): Adjust.
6957         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
6958         declarations.
6959         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
6960         (gcov_clear): Moved from driver.c.   Add LIST argument.
6961         (__gcov_reset): Adjust for changed interfaces.
6962         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
6964 2014-08-04  Rohit  <rohitarulraj@freescale.com>
6966         PR target/60102
6967         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
6968         based on change in SPE high register numbers and 3 HTM registers.
6970 2014-08-01  Nathan Sidwell  <nathan@acm.org>
6972         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
6973         LIBGCOV_INTERFACE): Reformat.
6974         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
6975         IN_GCOV_TOOL.
6976         * libgcov-interface.c: Reformat some comments.
6977         (__gcov_flush_mx): Add declaration.  Tidy up definition.
6979 2014-07-31  Alan Modra  <amodra@gmail.com>
6980             Peter Bergner  <bergner@vnet.ibm.com>
6982         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
6983         (pack_ldouble): New function.
6984         (__gcc_qadd): Use it.
6985         (__gcc_qmul): Likewise.
6986         (__gcc_qdiv): Likewise.
6987         (__gcc_qneg): Likewise.
6988         (__gcc_stoq): Likewise.
6989         (__gcc_dtoq): Likewise.
6991 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
6993         * config/s390/tpf-unwind.h: Include <stdbool.h>.
6994         (__tpf_eh_return): Add original return address as second parameter.
6995         Handle cases where unwinder routines were called directly, instead
6996         of from within the C++ library.
6998 2014-07-29  Nathan Sidwell  <nathan@acm.org>
7000         * libgcov.h: Move renaming of entry points to lib gcov specific
7001         portion.
7002         (gcov_do_dump): New rename.
7003         (gcov_rewrite): Remove inline, make HIDDEN.
7004         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
7005         (gcov_exit_compute_summary): Rename to ...
7006         (compute_summary): ... here.  Add LIST argument.
7007         (gcov_exit_merge_gcda): Rename to ...
7008         (merge_one_data): ... here.
7009         (gcov_exit_write_gcda): Rename to ...
7010         (write_one_data): ... here.
7011         (gcov_exit_merge_summary): Rename to ...
7012         (merge_summary): Add RUN_COUNTED argument.
7013         (gcov_exit_dump_gcov): Rename to ...
7014         (dump_one_gcov): Add RUN_COUNTED argument.
7015         (gcov_do_dump): New function, broken out of ...
7016         (gcov_exit): ... here.  Call it.
7018 2014-07-27  Anthony Green  <green@moxielogic.com>
7020         * config.host: Add moxiebox configuration suppport.
7022 2014-07-27  Nathan Sidwell  <nathan@acm.org>
7024         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
7025         (struct gcov_filename): ... here.  Include buffer and max length
7026         fields.
7027         (gcov_max_filename): Remove.
7028         (gi_filename): Remove.
7029         (gcov_exit_compute_summary): Compute max filename here.
7030         (gcov_exit_merge_gcda): Add filename parm, adjust.
7031         (gcov_exit_merge_summary): Likewise.
7032         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
7033         (gcov_exit): Likewise.
7034         (__gcov_init): Don't calculate max length here.
7035         * libgcov_util.c (max_filename_len): Remove.
7036         (read_gcda_file): Don't calculate max length here.
7037         (gcov_read_profile_dir): Don't propagate here.
7038         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
7039         struct gcov_filename changes.
7040         (gcov_exit_open_gcda_file): Likewise.
7042 2014-07-25  Nathan Sidwell  <nathan@acm.org>
7044         * libgcov-driver.c (set_gcov_dump_complete,
7045         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
7046         functions polluting user's namespace.
7047         (gcov_exit): Set variable directly.
7048         (gcov_clear): Reset variable directly.
7049         * libgcov-interface.c (get_gcov_dymp_complete,
7050         reset_gov_dump_complete): Remove declarations.
7051         (__gcov_reset, __gcov_dump): Don't call them.
7053 2014-07-24  DJ Delorie  <dj@redhat.com>
7055         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
7056         (__gcc_deregister_frame): Move logic to detect deregister function
7057         to ...
7058         (__gcc_register_frame): here, so it's consistent with the register
7059         logic.
7061 2014-07-23  Nathan Sidwell  <nathan@acm.org>
7063         * libgcov-driver.c (set_gcov_list): Remove.
7064         (gcov_list): Make non-static in GCOV_TOOL.
7065         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
7067 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
7069         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
7070         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
7071         Don't use SYNC_LOCK_RELEASE for int type.
7073 2014-07-14  Richard Biener  <rguenther@suse.de>
7075         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
7077 2014-07-11  Rong Xu  <xur@google.com>
7079         * libgcov-util.c (gcov_max_filename): Fix declartion.
7081 2014-07-10  Rong Xu  <xur@google.com>
7083         Add gcov-tool: an offline gcda profile processing tool
7084         Support.
7085         * libgcov-driver.c (gcov_max_filename): Make available
7086         to gcov-tool.
7087         * libgcov-merge.c (__gcov_merge_add): Replace
7088         gcov_read_counter() with a Macro.
7089         (__gcov_merge_ior): Ditto.
7090         (__gcov_merge_time_profile): Ditto.
7091         (__gcov_merge_single): Ditto.
7092         (__gcov_merge_delta): Ditto.
7093         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
7094         in the utility functions.
7095         (set_fn_ctrs): Utility function for reading gcda files to in-memory
7096         gcov_list object link lists.
7097         (tag_function): Ditto.
7098         (tag_blocks): Ditto.
7099         (tag_arcs): Ditto.
7100         (tag_lines): Ditto.
7101         (tag_counters): Ditto.
7102         (tag_summary): Ditto.
7103         (read_gcda_finalize): Ditto.
7104         (read_gcda_file): Ditto.
7105         (ftw_read_file): Ditto.
7106         (read_profile_dir_init): Ditto.
7107         (gcov_read_profile_dir): Ditto.
7108         (gcov_read_counter_mem): Ditto.
7109         (gcov_get_merge_weight): Ditto.
7110         (merge_wrapper): A wrapper function that calls merging handler.
7111         (gcov_merge): Merge two gcov_info objects with weights.
7112         (find_match_gcov_info): Find the matched gcov_info in the list.
7113         (gcov_profile_merge): Merge two gcov_info object lists.
7114         (__gcov_add_counter_op): Process edge profile counter values.
7115         (__gcov_ior_counter_op): Process IOR profile counter values.
7116         (__gcov_delta_counter_op): Process delta profile counter values.
7117         (__gcov_single_counter_op): Process single  profile counter values.
7118         (fp_scale): Callback function for float-point scaling.
7119         (int_scale): Callback function for integer fraction scaling.
7120         (gcov_profile_scale): Scaling profile counters.
7121         (gcov_profile_normalize): Normalize profile counters.
7122         * libgcov.h: Add headers and functions for gcov-tool use.
7123         (gcov_get_counter): New.
7124         (gcov_get_counter_target): Ditto.
7125         (struct gcov_info): Make the functions field mutable in gcov-tool
7126         compilation.
7128 2014-06-23  Kai Tietz  <ktietz@redhat.com>
7130         PR libgcc/61585
7131         * unwind-seh.c (_Unwind_GetGR): Check for proper
7132         index range.
7133         (_Unwind_SetGR): Likewise.
7135 2014-05-22  Nick Clifton  <nickc@redhat.com>
7137         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
7138         -mhwmult=none.
7140 2014-05-22  Teresa Johnson  <tejohnson@google.com>
7142         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
7143         include.
7145 2014-05-20  John Marino  <gnugcc@marino.st>
7147         * config.host (*-*-dragonfly*): New target.
7148         * crtstuff.c: Make dl_iterate_support generic on *bsd.
7149         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
7150         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
7151         * config/i386/dragonfly-unwind.h: New.
7153 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
7155         PR libgcc/60166
7156         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
7157         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
7159 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
7161         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
7162         implementation.
7164 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
7166         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
7168 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7170         PR libgcc/61097
7171         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
7172         if --enable-shared.
7174 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
7176         Work around for current cygwin32 build problems.
7177         * config/i386/cygming-crtbegin.c (__register_frame_info,
7178         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
7179         functions only for 64-bit systems.
7181 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7183         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
7184         (sigill_caught, sigill_hdlr): Remove.
7186 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7188         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
7189         check.
7190         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7191         Solaris 9 single-threaded support.
7192         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7193         Solaris 9 single-threaded support.  Add call_user_handler code
7194         sequences.
7195         (sparc_is_sighandler): Likewise.
7197 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7199         * config.host: Append t-floattodi to tmake_file depending on
7200         host_address.
7202 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
7204         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
7206 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
7208         PR libgcc/60472
7209         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
7210         variable to avoid "array subscript is above array bounds" warnings.
7211         Use __builtin_expect when checking *jcr_list for NULL.
7213 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7215         PR libgcc/59339
7216         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
7217         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
7218         vtv_*.o to extra_parts if enable_vtable_verify.
7220 2014-03-06  Nick Clifton  <nickc@redhat.com>
7222         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
7223         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
7225 2014-02-28  Joey Ye  <joey.ye@arm.com>
7227         PR libgcc/60166
7228         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
7229         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
7230         Set to zero.
7232 2014-02-24  Walter Lee  <walt@tilera.com>
7234         * config.host: Support "tilegx*" and "tilepro*" triplets.
7235         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
7236         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
7238 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
7239             Chung-Lin Tang  <cltang@codesourcery.com>
7241         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
7242         * config/nios2/crti.S: Remove .file directive.
7243         * config/nios2/crtn.S: Likewise.
7245 2014-02-18  Kai Tietz  <ktietz@redhat.com>
7246         Jonathan Schleifer  <js@webkeks.org>
7248         PR objc/56870
7249         * unwind-seh.c (_GCC_specific_handler): Pass proper
7250         value to unwind-handler.
7252 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
7254         * soft-fp/adddf3.c: Update from glibc.
7255         * soft-fp/addsf3.c: Likewise.
7256         * soft-fp/addtf3.c: Likewise.
7257         * soft-fp/divdf3.c: Likewise.
7258         * soft-fp/divsf3.c: Likewise.
7259         * soft-fp/divtf3.c: Likewise.
7260         * soft-fp/double.h: Likewise.
7261         * soft-fp/eqdf2.c: Likewise.
7262         * soft-fp/eqsf2.c: Likewise.
7263         * soft-fp/eqtf2.c: Likewise.
7264         * soft-fp/extenddftf2.c: Likewise.
7265         * soft-fp/extended.h: Likewise.
7266         * soft-fp/extendsfdf2.c: Likewise.
7267         * soft-fp/extendsftf2.c: Likewise.
7268         * soft-fp/extendxftf2.c: Likewise.
7269         * soft-fp/fixdfdi.c: Likewise.
7270         * soft-fp/fixdfsi.c: Likewise.
7271         * soft-fp/fixdfti.c: Likewise.
7272         * soft-fp/fixsfdi.c: Likewise.
7273         * soft-fp/fixsfsi.c: Likewise.
7274         * soft-fp/fixsfti.c: Likewise.
7275         * soft-fp/fixtfdi.c: Likewise.
7276         * soft-fp/fixtfsi.c: Likewise.
7277         * soft-fp/fixtfti.c: Likewise.
7278         * soft-fp/fixunsdfdi.c: Likewise.
7279         * soft-fp/fixunsdfsi.c: Likewise.
7280         * soft-fp/fixunsdfti.c: Likewise.
7281         * soft-fp/fixunssfdi.c: Likewise.
7282         * soft-fp/fixunssfsi.c: Likewise.
7283         * soft-fp/fixunssfti.c: Likewise.
7284         * soft-fp/fixunstfdi.c: Likewise.
7285         * soft-fp/fixunstfsi.c: Likewise.
7286         * soft-fp/fixunstfti.c: Likewise.
7287         * soft-fp/floatdidf.c: Likewise.
7288         * soft-fp/floatdisf.c: Likewise.
7289         * soft-fp/floatditf.c: Likewise.
7290         * soft-fp/floatsidf.c: Likewise.
7291         * soft-fp/floatsisf.c: Likewise.
7292         * soft-fp/floatsitf.c: Likewise.
7293         * soft-fp/floattidf.c: Likewise.
7294         * soft-fp/floattisf.c: Likewise.
7295         * soft-fp/floattitf.c: Likewise.
7296         * soft-fp/floatundidf.c: Likewise.
7297         * soft-fp/floatundisf.c: Likewise.
7298         * soft-fp/floatunditf.c: Likewise.
7299         * soft-fp/floatunsidf.c: Likewise.
7300         * soft-fp/floatunsisf.c: Likewise.
7301         * soft-fp/floatunsitf.c: Likewise.
7302         * soft-fp/floatuntidf.c: Likewise.
7303         * soft-fp/floatuntisf.c: Likewise.
7304         * soft-fp/floatuntitf.c: Likewise.
7305         * soft-fp/gedf2.c: Likewise.
7306         * soft-fp/gesf2.c: Likewise.
7307         * soft-fp/getf2.c: Likewise.
7308         * soft-fp/ledf2.c: Likewise.
7309         * soft-fp/lesf2.c: Likewise.
7310         * soft-fp/letf2.c: Likewise.
7311         * soft-fp/muldf3.c: Likewise.
7312         * soft-fp/mulsf3.c: Likewise.
7313         * soft-fp/multf3.c: Likewise.
7314         * soft-fp/negdf2.c: Likewise.
7315         * soft-fp/negsf2.c: Likewise.
7316         * soft-fp/negtf2.c: Likewise.
7317         * soft-fp/op-1.h: Likewise.
7318         * soft-fp/op-2.h: Likewise.
7319         * soft-fp/op-4.h: Likewise.
7320         * soft-fp/op-8.h: Likewise.
7321         * soft-fp/op-common.h: Likewise.
7322         * soft-fp/quad.h: Likewise.
7323         * soft-fp/single.h: Likewise.
7324         * soft-fp/soft-fp.h: Likewise.
7325         * soft-fp/subdf3.c: Likewise.
7326         * soft-fp/subsf3.c: Likewise.
7327         * soft-fp/subtf3.c: Likewise.
7328         * soft-fp/truncdfsf2.c: Likewise.
7329         * soft-fp/trunctfdf2.c: Likewise.
7330         * soft-fp/trunctfsf2.c: Likewise.
7331         * soft-fp/trunctfxf2.c: Likewise.
7332         * soft-fp/unorddf2.c: Likewise.
7333         * soft-fp/unordsf2.c: Likewise.
7334         * soft-fp/unordtf2.c: Likewise.
7335         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
7336         macro.
7337         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7338         Likewise.
7339         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7340         Likewise.
7341         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7342         Likewise.
7343         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7344         Likewise.
7345         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7346         Likewise.
7347         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7348         Likewise.
7349         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7350         Likewise.
7351         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7352         Likewise.
7353         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7354         Likewise.
7355         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7356         Likewise.
7357         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7358         Likewise.
7359         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7360         Likewise.
7361         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
7362         Likewise.
7363         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
7364         Likewise.
7365         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7366         Likewise.
7368 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7370         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
7371         cannot be represented.
7372         * config/s390/32/_fixsfdi.c: Likewise.
7373         * config/s390/32/_fixtfdi.c: Likewise.
7374         * config/s390/32/_fixunsdfdi.c: Likewise.
7375         * config/s390/32/_fixunssfdi.c: Likewise.
7376         * config/s390/32/_fixunstfdi.c: Likewise.
7378 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
7380         * configure.ac (libgcc_cv_mips_hard_float): New.
7381         * configure: Regenerate.
7382         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
7383         t-softfp-sfdf for hard-float targets.
7384         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
7385         (softfp_float_modes, softfp_int_modes, softfp_extensions)
7386         (softfp_truncations, softfp_exclude_libgcc2): New.
7387         * config/t-hardfp: New file.
7388         * config/t-hardfp-sfdf: Likewise.
7389         * config/hardfp.c: Likewise.
7391 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7393         * config.host: Include t-floattodi also for s390x.
7394         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
7395         * config/s390/32/_fixsfdi.c: Likewise.
7396         * config/s390/32/_fixtfdi.c: Likewise.
7397         * config/s390/32/_fixunsdfdi.c: Likewise.
7398         * config/s390/32/_fixunssfdi.c: Likewise.
7399         * config/s390/32/_fixunstfdi.c: Likewise.
7401 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7403         PR target/59788
7404         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
7405         (install-libgcc-unwind-map-forbuild): New target.
7406         (all): Depend on install-libgcc-unwind-map-forbuild.
7407         (install-libgcc-unwind-map): New target.
7408         (install): Depend on install-libgcc-unwind-map.
7410 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
7412         * config/nios2/crti.S (_init): Initialize GOT pointer from
7413         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
7415 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
7417         * configure.ac: Check __mips64 when setting host_address.
7418         * configure: Regenerate.
7419         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
7420         mips/t-mips64 and t-softfp.
7421         (mips*-*-linux*): Don't add mips/t-tpbit.
7422         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
7423         (DPBIT, DPBIT_CFLAGS): Delete.
7424         * config/mips/sfp-machine.h: New file.
7425         * config/mips/t-mips64: Likewise.
7426         * config/mips/t-softfp-tf: Likewise.
7427         * config/mips/t-tpbit: Delete.
7429 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7431         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
7432         as long long.
7434 2014-01-25  Walter Lee  <walt@tilera.com>
7436         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
7437         config.h or system.h.
7438         (bool) Define.
7440 2014-01-25  Walter Lee  <walt@tilera.com>
7442         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
7443         (post_atomic_barrier): Ditto.
7444         (__fetch_and_do): New macro.
7445         (__atomic_fetch_and_do): Use __fetch_and_do.
7446         (__sync_fetch_and_do): New macro.
7447         (__sync_fetch_and_add_4): New function.
7448         (__sync_fetch_and_sub_4): New function.
7449         (__sync_fetch_and_or_4): New function.
7450         (__sync_fetch_and_and_4): New function.
7451         (__sync_fetch_and_xor_4): New function.
7452         (__sync_fetch_and_nand_4): New function.
7453         (__sync_fetch_and_add_8): New function.
7454         (__sync_fetch_and_sub_8): New function.
7455         (__sync_fetch_and_or_8): New function.
7456         (__sync_fetch_and_and_8): New function.
7457         (__sync_fetch_and_xor_8): New function.
7458         (__sync_fetch_and_nand_8): New function.
7459         (__do_and_fetch): New macro.
7460         (__atomic_do_and_fetch): Use __do_and_fetch.
7461         (__sync_do_and_fetch): New macro.
7462         (__sync_add_and_fetch_4): New function.
7463         (__sync_sub_and_fetch_4): New function.
7464         (__sync_or_and_fetch_4): New function.
7465         (__sync_and_and_fetch_4): New function.
7466         (__sync_xor_and_fetch_4): New function.
7467         (__sync_nand_and_fetch_4): New function.
7468         (__sync_add_and_fetch_8): New function.
7469         (__sync_sub_and_fetch_8): New function.
7470         (__sync_or_and_fetch_8): New function.
7471         (__sync_and_and_fetch_8): New function.
7472         (__sync_xor_and_fetch_8): New function.
7473         (__sync_nand_and_fetch_8): New function.
7474         (__sync_exchange_methods): New macro.
7475         (__sync_val_compare_and_swap_4): New function.
7476         (__sync_bool_compare_and_swap_4): New function.
7477         (__sync_lock_test_and_test_4): New function.
7478         (__sync_val_compare_and_swap_8): New function.
7479         (__sync_bool_compare_and_swap_8): New function.
7480         (__sync_lock_test_and_test_8): New function.
7481         (__subword_cmpxchg_body): New macro.
7482         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
7483         (__atomic_compare_exchange_2): Ditto.
7484         (__sync_subword_cmpxchg): New macro.
7485         (__sync_val_compare_and_swap_1): New function.
7486         (__sync_bool_compare_and_swap_1): New function.
7487         (__sync_val_compare_and_swap_2): New function.
7488         (__sync_bool_compare_and_swap_2): New function.
7489         (__atomic_subword): Rename to ...
7490         (__subword): ... New name.
7491         (__atomic_subword_fetch): Use __subword.
7492         (__sync_subword_fetch): New macro.
7493         (__sync_fetch_and_add_1): New function.
7494         (__sync_fetch_and_sub_1): New function.
7495         (__sync_fetch_and_or_1): New function.
7496         (__sync_fetch_and_and_1): New function.
7497         (__sync_fetch_and_xor_1): New function.
7498         (__sync_fetch_and_nand_1): New function.
7499         (__sync_fetch_and_add_2): New function.
7500         (__sync_fetch_and_sub_2): New function.
7501         (__sync_fetch_and_or_2): New function.
7502         (__sync_fetch_and_and_2): New function.
7503         (__sync_fetch_and_xor_2): New function.
7504         (__sync_fetch_and_nand_2): New function.
7505         (__sync_add_and_fetch_1): New function.
7506         (__sync_sub_and_fetch_1): New function.
7507         (__sync_or_and_fetch_1): New function.
7508         (__sync_and_and_fetch_1): New function.
7509         (__sync_xor_and_fetch_1): New function.
7510         (__sync_nand_and_fetch_1): New function.
7511         (__sync_add_and_fetch_2): New function.
7512         (__sync_sub_and_fetch_2): New function.
7513         (__sync_or_and_fetch_2): New function.
7514         (__sync_and_and_fetch_2): New function.
7515         (__sync_xor_and_fetch_2): New function.
7516         (__sync_nand_and_fetch_2): New function.
7517         (__atomic_subword_lock): Use __subword.
7518         (__sync_subword_lock): New macro.
7519         (__sync_lock_test_and_set_1): New function.
7520         (__sync_lock_test_and_set_2): New function.
7522 2014-01-25  Walter Lee  <walt@tilera.com>
7524         * config/tilepro/atomic.c (BIT_OFFSET): Define.
7525         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
7526         (__atomic_subword): Ditto.
7528 2014-01-25  Walter Lee  <walt@tilera.com>
7530         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
7531         a prefix op argument.
7532         (__atomic_nand_fetch_4): Add prefix op.
7533         (__atomic_nand_fetch_8): Ditto.
7535 2014-01-21  Baruch Siach  <barch@tkos.co.il>
7537         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
7539 2014-01-09  Rong Xu  <xur@google.com>
7541         * libgcov-driver.c (this_prg): make it local to save
7542         bss space.
7543         (gcov_exit_compute_summary): Ditto.
7544         (gcov_exit_merge_gcda): Ditto.
7545         (gcov_exit_merge_summary): Ditto.
7546         (gcov_exit_dump_gcov): Ditto.
7548 2014-01-08  Rong Xu  <xur@google.com>
7550         * libgcov-driver.c: Use libgcov.h.
7551         (buffer_fn_data): Use xmalloc instead of malloc.
7552         (gcov_exit_merge_gcda): Ditto.
7553         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
7554         * libgcov.h: New common header files for libgcov-*.h.
7555         * libgcov-interface.c: Use libgcov.h
7556         * libgcov-merge.c: Ditto.
7557         * libgcov-profiler.c: Ditto.
7558         * Makefile.in: Add dependence to libgcov.h
7560 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
7562         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
7563         case of small numerator and finite nonzero result.
7565 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
7567         Update copyright years
7569 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
7571         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
7572         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
7573         config/arc/dp-hack.h, config/arc/fp-hack.h,
7574         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
7575         config/arc/ieee-754/arc600-dsp/divdf3.S,
7576         config/arc/ieee-754/arc600-dsp/divsf3.S,
7577         config/arc/ieee-754/arc600-dsp/muldf3.S,
7578         config/arc/ieee-754/arc600-dsp/mulsf3.S,
7579         config/arc/ieee-754/arc600-mul64/divdf3.S,
7580         config/arc/ieee-754/arc600-mul64/divsf3.S,
7581         config/arc/ieee-754/arc600-mul64/muldf3.S,
7582         config/arc/ieee-754/arc600-mul64/mulsf3.S,
7583         config/arc/ieee-754/arc600/divsf3.S,
7584         config/arc/ieee-754/arc600/mulsf3.S,
7585         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
7586         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
7587         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
7588         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
7589         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
7590         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
7591         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
7592         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
7593         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
7594         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
7595         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
7596         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
7597         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
7598         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
7599         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
7600         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
7601         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
7602         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
7603         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
7604         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
7605         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
7606         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
7607         vtv_start_preinit.c: Use the standard form for the copyright notice.
7609 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
7610             Chung-Lin Tang  <cltang@codesourcery.com>
7611         Based on patches from Altera Corporation
7613         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
7614         * config/nios2/lib2-nios2.h: New file.
7615         * config/nios2/lib2-divmod-hi.c: New file.
7616         * config/nios2/linux-unwind.h: New file.
7617         * config/nios2/lib2-divmod.c: New file.
7618         * config/nios2/linux-atomic.c: New file.
7619         * config/nios2/t-nios2: New file.
7620         * config/nios2/crti.asm: New file.
7621         * config/nios2/t-linux: New file.
7622         * config/nios2/lib2-divtable.c: New file.
7623         * config/nios2/lib2-mul.c: New file.
7624         * config/nios2/tramp.c: New file.
7625         * config/nios2/crtn.asm: New file.
7627 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
7629         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
7630         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
7631         from cpuid.h to check vendor signatures.
7633 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
7635         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
7636         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
7637         (get_amd_cpu): Likewise.
7639 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
7641         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
7642         Haswell.
7644 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
7645             H.J. Lu  <hongjiu.lu@intel.com>
7647         PR target/59422
7648         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
7649         and AMD_JAGUAR.
7650         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
7651         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
7652         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
7653         FEATURE_XOP and FEATURE_FMA.
7654         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
7655         AMDFAM15H_BDVER3.
7656         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
7657         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
7658         FEATURE_FMA4 and FEATURE_XOP.
7660 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
7662         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
7663         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
7664         (get_intel_cpu): Updated.
7666 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
7668         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
7670 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
7672         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7673         instructions when __SSE_MATH__ is defined.
7675 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
7677         * config.host (microblaze-*-rtems*): New.
7679 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
7681         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
7682         architectures that do not have hardware divide instruction.
7683         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
7685 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
7687         * longlong.h: Delete (moved to include/).
7689 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7691         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
7692         of normal number and qNaN to not raise an inexact exception.
7694 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
7696         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
7698 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
7700         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
7701         for correct opcodes on BE.
7703 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
7705         * soft-fp/op-4.h: Update from glibc.
7707 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
7709         * libgcc2.c (__udivmoddi4): Define new implementation when
7710         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
7711         divide instructions.
7713 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
7715         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
7717 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7719         * config/t-softfp (soft-fp-objects-base): New variable.
7720         (soft-fp-objects): Use it.
7722 2013-11-23  David Edelson  <dje.gcc@gmail.com>
7723             Andrew Dixie  <andrewd@gentrack.com>
7725         PR target/33704
7726         * config/rs6000/aixinitfini.c: New file.
7727         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
7728         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
7729         symbols.
7731 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
7733         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
7735 2013-11-18  Jan Hubicka  <jh@suse.cz>
7737         * libgcov-driver.c (run_accounted): Make global level static.
7738         (gcov_exit_merge_summary): Silence warning; do not clear
7739         run_accounted here.
7740         (gcov_exit): Clear it here.
7742         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
7743         run_accounted.
7745         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
7746         (all_prg, crc32): Remove static vars.
7747         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
7748         all_prg.
7749         (gcov_exit_merge_gcda): Add crc32 parameter.
7750         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
7751         do not account run if it was already accounted.
7752         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
7753         (gcov_exit): Initialize all_prg; update.
7755 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
7757         * configure: Regenerate.
7759 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7760             Alan Modra  <amodra@gmail.com>
7762         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
7763         (frob_update_context): Use it.
7765 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7766             Alan Modra  <amodra@gmail.com>
7768         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
7769         (trampoline_initial): Provide ELFv2 variant.
7770         (__trampoline_setup): Likewise.
7772         * config/rs6000/linux-unwind.h (frob_update_context): Do not
7773         check for AIX indirect function call sequence if _CALL_ELF == 2.
7775 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7776             Alan Modra  <amodra@gmail.com>
7778         * config/rs6000/linux-unwind.h (get_regs): Do not support
7779         old kernel versions if _CALL_ELF == 2.
7780         (frob_update_context): Do not support PLT stub variants only
7781         generated by old linkers if _CALL_ELF == 2.
7783 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7784             Alan Modra  <amodra@gmail.com>
7786         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
7787         location of CR save area for 64-bit little-endian systems.
7789 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
7791         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
7792         in tmake_file.
7793         * config/arm/t-vxworks: Delete.
7795 2013-11-10  Kai Tietz  <ktietz@redhat.com>
7797         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
7798         Increment load-count on use of LIBGCC_SONAME DLL.
7799         (hmod_libgcc): New static variable to hold handle of
7800         LIBGCC_SONAME DLL.
7801         (__gcc_deregister_frame): Decrement load-count of
7802         LIBGCC_SONAME DLL.
7804 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
7806         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
7807         availability.
7808         * configure: Regenerate
7810 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
7812         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
7813         FP_EX_DENORM.  Store result to volatile location after SSE division
7814         to close interrupt window.  Remove unneeded fwait after x87
7815         division since interrupt window will be closed by emitted fstp.
7816         Rewrite FP_EX_INEXACT handling.
7818 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
7820         * soft-fp/README: Update.
7821         * soft-fp/adddf3.c: Update from glibc.
7822         * soft-fp/addsf3.c: Likewise.
7823         * soft-fp/addtf3.c: Likewise.
7824         * soft-fp/divdf3.c: Likewise.
7825         * soft-fp/divsf3.c: Likewise.
7826         * soft-fp/divtf3.c: Likewise.
7827         * soft-fp/double.h: Likewise.
7828         * soft-fp/eqdf2.c: Likewise.
7829         * soft-fp/eqsf2.c: Likewise.
7830         * soft-fp/eqtf2.c: Likewise.
7831         * soft-fp/extenddftf2.c: Likewise.
7832         * soft-fp/extended.h: Likewise.
7833         * soft-fp/extendsfdf2.c: Likewise.
7834         * soft-fp/extendsftf2.c: Likewise.
7835         * soft-fp/extendxftf2.c: Likewise.
7836         * soft-fp/fixdfdi.c: Likewise.
7837         * soft-fp/fixdfsi.c: Likewise.
7838         * soft-fp/fixdfti.c: Likewise.
7839         * soft-fp/fixsfdi.c: Likewise.
7840         * soft-fp/fixsfsi.c: Likewise.
7841         * soft-fp/fixsfti.c: Likewise.
7842         * soft-fp/fixtfdi.c: Likewise.
7843         * soft-fp/fixtfsi.c: Likewise.
7844         * soft-fp/fixtfti.c: Likewise.
7845         * soft-fp/fixunsdfdi.c: Likewise.
7846         * soft-fp/fixunsdfsi.c: Likewise.
7847         * soft-fp/fixunsdfti.c: Likewise.
7848         * soft-fp/fixunssfdi.c: Likewise.
7849         * soft-fp/fixunssfsi.c: Likewise.
7850         * soft-fp/fixunssfti.c: Likewise.
7851         * soft-fp/fixunstfdi.c: Likewise.
7852         * soft-fp/fixunstfsi.c: Likewise.
7853         * soft-fp/fixunstfti.c: Likewise.
7854         * soft-fp/floatdidf.c: Likewise.
7855         * soft-fp/floatdisf.c: Likewise.
7856         * soft-fp/floatditf.c: Likewise.
7857         * soft-fp/floatsidf.c: Likewise.
7858         * soft-fp/floatsisf.c: Likewise.
7859         * soft-fp/floatsitf.c: Likewise.
7860         * soft-fp/floattidf.c: Likewise.
7861         * soft-fp/floattisf.c: Likewise.
7862         * soft-fp/floattitf.c: Likewise.
7863         * soft-fp/floatundidf.c: Likewise.
7864         * soft-fp/floatundisf.c: Likewise.
7865         * soft-fp/floatunditf.c: Likewise.
7866         * soft-fp/floatunsidf.c: Likewise.
7867         * soft-fp/floatunsisf.c: Likewise.
7868         * soft-fp/floatunsitf.c: Likewise.
7869         * soft-fp/floatuntidf.c: Likewise.
7870         * soft-fp/floatuntisf.c: Likewise.
7871         * soft-fp/floatuntitf.c: Likewise.
7872         * soft-fp/gedf2.c: Likewise.
7873         * soft-fp/gesf2.c: Likewise.
7874         * soft-fp/getf2.c: Likewise.
7875         * soft-fp/ledf2.c: Likewise.
7876         * soft-fp/lesf2.c: Likewise.
7877         * soft-fp/letf2.c: Likewise.
7878         * soft-fp/muldf3.c: Likewise.
7879         * soft-fp/mulsf3.c: Likewise.
7880         * soft-fp/multf3.c: Likewise.
7881         * soft-fp/negdf2.c: Likewise.
7882         * soft-fp/negsf2.c: Likewise.
7883         * soft-fp/negtf2.c: Likewise.
7884         * soft-fp/op-1.h: Likewise.
7885         * soft-fp/op-2.h: Likewise.
7886         * soft-fp/op-4.h: Likewise.
7887         * soft-fp/op-8.h: Likewise.
7888         * soft-fp/op-common.h: Likewise.
7889         * soft-fp/quad.h: Likewise.
7890         * soft-fp/single.h: Likewise.
7891         * soft-fp/soft-fp.h: Likewise.
7892         * soft-fp/subdf3.c: Likewise.
7893         * soft-fp/subsf3.c: Likewise.
7894         * soft-fp/subtf3.c: Likewise.
7895         * soft-fp/truncdfsf2.c: Likewise.
7896         * soft-fp/trunctfdf2.c: Likewise.
7897         * soft-fp/trunctfsf2.c: Likewise.
7898         * soft-fp/trunctfxf2.c: Likewise.
7899         * soft-fp/unorddf2.c: Likewise.
7900         * soft-fp/unordsf2.c: Likewise.
7901         * soft-fp/unordtf2.c: Likewise.
7903 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
7905         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
7906         (_FP_MUL_MEAT_D): Ditto.
7907         (_FP_DIV_MEAT_S): Ditto.
7908         (_FP_DIV_MEAT_D): Ditto.
7909         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
7910         t-softfp-sfdf and t-softfp to tmake_file.
7912 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
7914         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
7915         * config/i386/crtprec.c: Ditto.
7917 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
7918             Shiva Chen  <shiva0217@gmail.com>
7920         * config.host (nds32*-elf*): Add nds32 target.
7921         * config/nds32 : New directory and files.
7923 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
7925         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
7926         * config.host (cpu_type) <Setting default>: Add entry for
7927         crisv32-*-*.
7928         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
7929         <crisv32-*-linux*>: Adjust.
7930         * longlong.h: Wrap the whole CRIS section in a single
7931         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
7932         and sub_ddmmss.
7933         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
7934         defined.
7935         [__CRIS__] (__umulsidi3): Define.
7936         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
7937         * config/cris/sfp-machine.h: New file.
7938         * config/cris/umulsidi3.S: New file.
7939         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
7940         * config/cris/arit.c (SIGNMULT): New macro.
7941         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
7942         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
7943         saving 3 out of originally 33 cycles from the fastest
7944         path, 3 out of 54 from the medium path and one from the longest
7945         path.  Improve comments.
7947 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
7949         * sync.c: Remove static aliases and define each function directly
7950         under its real name.
7952 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
7954         * config.host (hppa*64*-*-linux*): Define extra_parts.
7955         (hppa*-*-linux*): Likewise.
7957 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
7959         * config/arc/crtgend.S: Add 2013 to Copyright years.
7960         * config/arc/gmon/atomic.h: Likewise.
7961         * config/arc/gmon/auxreg.h: Likewise.
7962         * config/arc/gmon/sys/gmon_out.h: Likewise.
7963         * config/arc/gmon/sys/gmon.h: Likewise.
7964         * config/arc/gmon/prof-freq.c: Likewise.
7965         * config/arc/gmon/mcount.c: Likewise.
7966         * config/arc/gmon/prof-freq-stub.S: Likewise.
7967         * config/arc/gmon/gmon.c: Likewise.
7968         * config/arc/gmon/machine-gmon.h: Likewise.
7969         * config/arc/gmon/profil.S: Likewise.
7970         * config/arc/gmon/dcache_linesz.S: Likewise.
7971         * config/arc/crtg.S: Likewise.
7972         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
7973         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
7974         * config/arc/ieee-754/adddf3.S: Likewise.
7975         * config/arc/ieee-754/truncdfsf2.S: Likewise.
7976         * config/arc/ieee-754/fixsfsi.S: Likewise.
7977         * config/arc/ieee-754/gtsf2.S: Likewise.
7978         * config/arc/ieee-754/floatsisf.S: Likewise.
7979         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
7980         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
7981         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
7982         * config/arc/ieee-754/fixdfsi.S: Likewise.
7983         * config/arc/ieee-754/addsf3.S: Likewise.
7984         * config/arc/ieee-754/gesf2.S: Likewise.
7985         * config/arc/ieee-754/floatsidf.S: Likewise.
7986         * config/arc/ieee-754/extendsfdf2.S: Likewise.
7987         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
7988         * config/arc/ieee-754/gtdf2.S: Likewise.
7989         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
7990         * config/arc/ieee-754/uneqdf2.S: Likewise.
7991         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
7992         * config/arc/ieee-754/uneqsf2.S: Likewise.
7993         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
7994         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
7995         * config/arc/ieee-754/eqdf2.S: Likewise.
7996         * config/arc/ieee-754/ordsf2.S: Likewise.
7997         * config/arc/ieee-754/divsf3.S: Likewise.
7998         * config/arc/ieee-754/divdf3.S: Likewise.
7999         * config/arc/ieee-754/floatunsidf.S: Likewise.
8000         * config/arc/ieee-754/orddf2.S: Likewise.
8001         * config/arc/ieee-754/eqsf2.S: Likewise.
8002         * config/arc/ieee-754/gedf2.S: Likewise.
8003         * config/arc/crtn.S: Likewise.
8004         * config/arc/crti.S: Likewise.
8005         * config/arc/t-arc700-uClibc: Likewise.
8006         * config/arc/asm.h: Likewise.
8007         * config/arc/libgcc-excl.ver: Likewise.
8008         * config/arc/t-arc-newlib: Likewise.
8009         * config/arc/divtab-arc700.c: Likewise.
8010         * config/arc/initfini.c: Likewise.
8011         * config/arc/fp-hack.h: Likewise.
8013 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
8014             Diego Novillo  <dnovillo@google.com>
8016         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
8017         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
8018         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
8019         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
8021 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
8022             Brendan Kehoe  <brendan@zen.org>
8023             Simon Cook  <simon.cook@embecosm.com>
8025         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
8026         * config/arc: New directory.
8027         * longlong.h [__arc__] (umul_ppmm): Remove.
8028         [__arc__] (__umulsidi3): Define.
8029         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
8030         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
8032 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
8034         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
8035         CreateSemaphoreA.
8036         * config/i386/gthr-win32.h: Likewise.
8038 2013-09-16  DJ Delorie  <dj@redhat.com>
8040         * config/rl78/vregs.h: Add G10 register definitions.
8041         * config/rl78/lib2mul.c: Enable for RL78/G10.
8042         * config/rl78/lib2div.c: Likewise.
8043         * config/rl78/lshrsi3.S: Use vregs.h.
8044         * config/rl78/cmpsi2.S: Likewise.
8045         * config/rl78/trampoline.S: Likewise.
8046         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
8048 2013-09-14  DJ Delorie  <dj@redhat.com>
8049             Nick Clifton  <nickc@redhat.com>
8051         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
8052         * config/rl78/vregs.h: New.
8053         * config/rl78/signbit.S: New file.  Implements signbit function.
8054         * config/rl78/divmodsi.S: New.
8055         * config/rl78/divmodhi.S: New.
8056         * config/rl78/divmodqi.S: New.
8057         * config/rl78/t-rl78: Build them here...
8058         * config/rl78/lib2div.c: ...but not here.
8060 2013-09-12  DJ Delorie  <dj@redhat.com>
8062         * config.host (msp*-*-elf): New.
8063         * config/msp430/: New port.
8065 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
8067         PR gcov-profile/58127
8068         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
8069         __thread var for emulated TLS.
8070         (__gcov_indirect_call_counters): Likewise.
8072 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
8073             Catherine Moore  <clm@codesourcery.com>
8074             Richard Sandiford  <rdsandiford@googlemail.com>
8076         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
8077         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
8078         (CALL_STUB_NO_RET): Likewise.
8079         (CALL_STUB_RET): Likewise.
8080         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
8081         __mips16_ret call/return stub symbols.
8082         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
8083         to tmake_file.
8085 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
8087         * config.host <mips*-*-linux*>: Remove a stray comment.
8089 2013-08-10  Jan Hubicka  <jh@suse.cz>
8091         Work around binutils PR14342
8092         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
8093         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
8094         (L_gcov_indirect_call_profiler_v2): New.
8096 2013-08-06  Jan Hubicka  <jh@suse.cz>
8098         * libgcov.c (__gcov_indirect_call_callee,
8099         __gcov_indirect_call_counters): New global vars.
8100         (__gcov_indirect_call_profiler): replace by ...
8101         (__gcov_indirect_call_profiler_v2) ... this one.
8103 2013-08-06  Caroline Tice  <cmtice@google.com>
8105         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
8106         vtv_start_preinit.o and vtv_end_preinit.o.
8107         * configure.ac: Add code to check/set enable_vtable_verify.
8108         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
8109         true.
8110         * vtv_start_preinit.c: New file.
8111         * vtv_end_preinit.c: New file.
8112         * vtv_start.c: New file.
8113         * vtv_end.c: New file.
8114         * configure: Regenerated.
8116 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
8118         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
8119         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
8120         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
8121         GPL-3.0-with-GCC-exception.
8123 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
8125         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
8126         ISA and up.
8128 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8130         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
8131         mapping for FPRs when creating the fallback framestate.
8133 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
8135         PR target/57516
8136         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
8137         (__round_s2_const, __round_u2_const)
8138         (__round_s4_const, __round_u4_const, __round_x8):
8139         Saturate result if addition result cannot be represented.
8141 2013-07-15  Matthias Klose  <doko@ubuntu.com>
8143         * libgcc2.c: Don't include <limits.h>.
8145 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
8147         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
8149 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
8151         PR target/29776
8152         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
8154 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
8156         PR middle-end/36041
8157         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
8158         Define.
8159         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
8160         instead of table lookups.
8161         (__popcountDI2): Likewise.
8163 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
8165         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
8166         correctly.
8168 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
8170         PR other/53317
8171         * soft-fp/adddf3.c: Update from glibc.
8172         * soft-fp/addsf3.c: Likewise.
8173         * soft-fp/addtf3.c: Likewise.
8174         * soft-fp/divdf3.c: Likewise.
8175         * soft-fp/divsf3.c: Likewise.
8176         * soft-fp/divtf3.c: Likewise.
8177         * soft-fp/double.h: Likewise.
8178         * soft-fp/eqdf2.c: Likewise.
8179         * soft-fp/eqsf2.c: Likewise.
8180         * soft-fp/eqtf2.c: Likewise.
8181         * soft-fp/extenddftf2.c: Likewise.
8182         * soft-fp/extended.h: Likewise.
8183         * soft-fp/extendsfdf2.c: Likewise.
8184         * soft-fp/extendsftf2.c: Likewise.
8185         * soft-fp/fixdfdi.c: Likewise.
8186         * soft-fp/fixdfsi.c: Likewise.
8187         * soft-fp/fixsfdi.c: Likewise.
8188         * soft-fp/fixsfsi.c: Likewise.
8189         * soft-fp/fixtfdi.c: Likewise.
8190         * soft-fp/fixtfsi.c: Likewise.
8191         * soft-fp/fixunsdfdi.c: Likewise.
8192         * soft-fp/fixunsdfsi.c: Likewise.
8193         * soft-fp/fixunssfdi.c: Likewise.
8194         * soft-fp/fixunssfsi.c: Likewise.
8195         * soft-fp/fixunstfdi.c: Likewise.
8196         * soft-fp/fixunstfsi.c: Likewise.
8197         * soft-fp/floatdidf.c: Likewise.
8198         * soft-fp/floatdisf.c: Likewise.
8199         * soft-fp/floatditf.c: Likewise.
8200         * soft-fp/floatsidf.c: Likewise.
8201         * soft-fp/floatsisf.c: Likewise.
8202         * soft-fp/floatsitf.c: Likewise.
8203         * soft-fp/floatundidf.c: Likewise.
8204         * soft-fp/floatundisf.c: Likewise.
8205         * soft-fp/floatunditf.c: Likewise.
8206         * soft-fp/floatunsidf.c: Likewise.
8207         * soft-fp/floatunsisf.c: Likewise.
8208         * soft-fp/floatunsitf.c: Likewise.
8209         * soft-fp/gedf2.c: Likewise.
8210         * soft-fp/gesf2.c: Likewise.
8211         * soft-fp/getf2.c: Likewise.
8212         * soft-fp/ledf2.c: Likewise.
8213         * soft-fp/lesf2.c: Likewise.
8214         * soft-fp/letf2.c: Likewise.
8215         * soft-fp/muldf3.c: Likewise.
8216         * soft-fp/mulsf3.c: Likewise.
8217         * soft-fp/multf3.c: Likewise.
8218         * soft-fp/negdf2.c: Likewise.
8219         * soft-fp/negsf2.c: Likewise.
8220         * soft-fp/negtf2.c: Likewise.
8221         * soft-fp/op-1.h: Likewise.
8222         * soft-fp/op-2.h: Likewise.
8223         * soft-fp/op-4.h: Likewise.
8224         * soft-fp/op-8.h: Likewise.
8225         * soft-fp/op-common.h: Likewise.
8226         * soft-fp/quad.h: Likewise.
8227         * soft-fp/single.h: Likewise.
8228         * soft-fp/soft-fp.h: Likewise.
8229         * soft-fp/subdf3.c: Likewise.
8230         * soft-fp/subsf3.c: Likewise.
8231         * soft-fp/subtf3.c: Likewise.
8232         * soft-fp/truncdfsf2.c: Likewise.
8233         * soft-fp/trunctfdf2.c: Likewise.
8234         * soft-fp/trunctfsf2.c: Likewise.
8235         * soft-fp/unorddf2.c: Likewise.
8236         * soft-fp/unordsf2.c: Likewise.
8237         * soft-fp/unordtf2.c: Likewise.
8238         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
8239         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8240         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8241         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8242         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8243         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8244         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8245         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8246         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8247         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
8248         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
8249         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8251 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
8253         * config/mips/lib2funcs.c: New file.
8254         * config/mips/t-mips (LIB2ADD_ST): Add it.
8256 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
8258         PR target/6526
8259         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
8260         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
8262 2013-06-08  Walter Lee  <walt@tilera.com>
8264         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
8265         Replace int64_t with long long.  Add __extension__ where
8266         appropriate.
8267         * config/tilepro/atomic.c: Include config.h.
8269 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
8271         * config.host (arm-wrs-vxworks): Configure with other soft float.
8273 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
8275         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
8276         (mips64r5900el-*-elf*): New configurations.
8278 2013-06-04  Alan Modra  <amodra@gmail.com>
8280         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
8282 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
8284         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
8286 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
8288         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
8289         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
8290         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
8292 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
8294         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
8295         (powerpc-wrs-vxworks): Likewise.
8297 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
8299         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
8300         signal frames as well.
8301         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
8302         STACK_BIAS to the CFA offset.
8304 2013-05-17  Richard Henderson  <rth@redhat.com>
8306         PR target/49146
8307         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
8308         (execute_cfa_program): Use it when storing to fs->regs.
8310 2013-05-08  Kai Tietz  <ktietz@redhat.com>
8312         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
8313         (__deregister_frame_info): Likewise.
8315 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
8317         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
8318         NaN's payload.
8320         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
8322 2013-04-25  Alan Modra  <amodra@gmail.com>
8324         * config.host: Match little-endian powerpc-linux.
8326 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
8328         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
8329         as 'unsigned long long' instead of 'unsigned long'.
8330         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
8331         'signed long'.
8333 2013-04-10  Julian Brown  <julian@codesourcery.com>
8335         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
8336         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
8337         unsigned char/unsigned short.
8338         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
8340 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8342         PR other/55274
8343         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
8345 2013-04-04  Meador Inge  <meadori@codesourcery.com>
8347         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
8348         computing the location of the link register.
8349         (aeabi_uldivmod): Ditto.
8351 2013-03-27  Kai Tietz  <ktietz@redhat.com>
8353         * config.host: Add support for cygwin x64 target.
8354         * configure: Regenerated.
8356 2013-03-26  Walter Lee  <walt@tilera.com>
8358         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
8359         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
8361 2013-03-25  Kai Tietz  <ktietz@redhat.com>
8363         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
8365 2013-03-20  Robert Mason  <rbmj@verizon.net>
8367         * config/vxlib-tls.c (__gthread_get_tsd_data,)
8368         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
8369         (__gthread_leave_tsd_dtor_context): Add prototypes.
8370         (tls_delete_hook): Update.
8372 2013-03-20  Catherine Moore  <clm@codesourcery.com>
8373             Joseph Myers  <joseph@codesourcery.com>
8374             Chao-ying Fu  <fu@mips.com>
8376         * config/mips/mips16.S:  Don't build for microMIPS.
8377         * config/mips/linux-unwind.h: Handle microMIPS frame.
8378         * config/mips/crtn.S (fini, init): New labels.
8380 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
8382         PR tree-optimization/53265
8383         * unwind-dw2.c (execute_cfa_program): Avoid
8384         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
8385         on targets with DWARF_FRAME_REGISTERS < 32.
8387 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
8389         PR target/49880
8390         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
8391         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
8393 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
8395         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
8396         sandybridge processors.
8398 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
8400         PR target/56529
8401         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
8402         inclusion list.
8404 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
8406         * config/microblaze/crti.S: Setup stack protection at entry
8408 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
8410         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
8411         (__rotldi3): Shift bytewise if applicable.
8413 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
8415         * config/aarch64/sync-cache.c
8416         (__aarch64_sync_cache_range): Silence warnings.
8418 2013-02-25  Catherine Moore  <clm@codesourcery.com>
8420         Revert:
8421         2013-02-24  Catherine Moore  <clm@codesourcery.com>
8422             Joseph Myers  <joseph@codesourcery.com>
8423             Chao-ying Fu  <fu@mips.com>
8425         * config/mips/mips16.S:  Don't build for microMIPS.
8426         * config/mips/linux-unwind.h: Handle microMIPS frame.
8427         * config/mips/crtn.S (fini, init): New labels.
8429 2013-02-24  Catherine Moore  <clm@codesourcery.com>
8430             Joseph Myers  <joseph@codesourcery.com>
8431             Chao-ying Fu  <fu@mips.com>
8433         * config/mips/mips16.S:  Don't build for microMIPS.
8434         * config/mips/linux-unwind.h: Handle microMIPS frame.
8435         * config/mips/crtn.S (fini, init): New labels.
8437 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
8438         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
8439         as dividend.
8441 2013-02-16  Alan Modra  <amodra@gmail.com>
8443         PR target/55431
8444         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
8445         (ppc_fallback_frame_state): Always set up save locations for fp
8446         and altivec.  Don't bother with non-callee-saved regs, r0-r13
8447         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
8449 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
8451         PR target/54222
8452         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
8453         _ssmulHA, _ssmulSA.
8454         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
8455         _ssmulha3, _usmulusa3, _ssmulsa3.
8456         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
8457         (__muldi3): XCALL __muldi3_6 instead of rcall.
8458         (__umulsidi3, __mulsidi3): New functions.
8459         (do_prologue_saves, do_epilogue_restores): New .macros.
8460         (__divdi3_moddi3): Use them.
8461         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
8462         (__usmulusa3, __ssmulsa3): New functions.
8464 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
8465             Jack Howarth  <howarth@bromo.med.uc.edu>
8466             Patrick Marlier  <patrick.marlier@gmail.com>
8468         PR libitm/55693
8469         * config/darwin-crt-tm.c: Remove dummy functions hack.
8471 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
8473         PR target/54222
8474         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
8475         * config/avr/lib2-object.mk: New iterator to build objects from it.
8476         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
8477         lib2funcs.c.
8478         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
8479         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
8480         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
8481         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
8482         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
8483         * config/avr/lib1funcs-fixed.S: Implement them.
8485 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
8487         Update copyright years.
8489 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
8491         PR target/54601
8492         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
8493         Add crtcxa to extra_parts.
8494         * config/rs6000/exit.h: New file.
8495         * config/rs6000/cxa_atexit.c: New file.
8496         * config/rs6000/cxa_finalize.c: New file.
8497         * config/rs6000/crtcxa.c: New file.
8498         * config/rs6000/t-aix-cxa: New file.
8499         * config/rs6000/libgcc-aix-cxa.ver: New file.
8501 2013-01-31  Nick Clifton  <nickc@redhat.com>
8503         * config/v850/lib1funcs.S: Add support for e3v5 architecture
8504         variant.
8506 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
8508         PR target/54222
8509         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
8510         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
8511         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
8512         _divQQ,  _divHQ,  _divHA,  _divSA,
8513         _divUQQ, _divUHQ, _divUHA, _divUSA.
8515 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
8517         * config.host(microblaze*-linux*): tmake_file: Remove
8518         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
8519         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
8520         to exclude functions from being built with libgcc.c and use
8521         the microblaze assembly.
8523 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
8525         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
8526         extra_parts.
8528 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
8530         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
8531         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
8532         __UINTPTR_TYPE__; also cast 'base' to the same type before the
8533         alignment operation.
8535 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
8537         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
8538         loop start address for cache clearing.
8540 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
8542         * config/avr/lib1funcs.S: Remove trailing blanks.
8543         * config/avr/lib1funcs-fixed.S: Ditto.
8545 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
8547         * config/avr/avr-lib.h: Add GPL copyright notice.
8549 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
8551         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
8552         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
8553         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
8554         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
8556 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
8558         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
8559         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
8561 2013-01-04  Nick Clifton  <nickc@redhat.com>
8563         * config/v850/lib1funcs.S: Only provide CALLT support functions if
8564         the CALLT instruction is supported.
8566 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
8568         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
8569         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
8571 2012-12-13  John Tytgat  <John@bass-software.com>
8573         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
8574         is 25.
8576 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
8578         PR libgcc/55451
8579         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
8580         undefined signed overflows.
8582 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
8584         PR target/55344
8585         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
8587 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
8589         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
8590         (FP_TRAPPING_EXCEPTIONS): Define.
8591         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
8592         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
8594 2012-12-04  Richard Henderson  <rth@redhat.com>
8596         PR bootstrap/55571
8597         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
8599 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8601         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
8602         (FP_EX_SHIFT): Define.
8603         (FP_TRAPPING_EXCEPTIONS): Define.
8605 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8607         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
8608         (FP_ROUNDMODE): Use FP_RND_MASK.
8609         * config/aarch64/sfp-exceptions.c: New.
8610         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8611         Use __sfp_handle_exceptions.
8613 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
8615         * config.host: (arm*-*-freebsd*): Remove.
8616         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
8617         (arm*-*-elf*): Remove.
8618         (arm*-*-wince-pe*): Remove.
8619         * arm/unwind-arm.c (struct fpa_reg): Delete.
8620         (struct fpa_regs): Delete.
8621         (phase1_vrs): Remove fpa element.
8622         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
8623         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
8624         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
8625         * ieee754-sf.S (floatundisf): Remove FPA support.
8626         (floatdisf): Likewise.
8627         * ieee75f-df.S (floatundidf): Likewise.
8628         (floatdidf): Likewise.
8630 2012-11-29  Kai Tietz  <ktietz@redhat.com>
8632         PR target/55445
8633         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
8634         * unwind-generic.h: Likewise.
8635         * unwind-seh.c: Likewise.
8637 2012-11-28  Richard Henderson  <rth@redhat.com>
8639         PR libgcc/48076
8640         * emutls.c (__emutls_get_address): Avoid race condition between
8641         obj->loc.offset read and emutls_key initialization.
8643 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
8645         Adjust decimal point of signed accum mode to GCC default.
8647         PR target/54222
8648         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
8649         _divqq_helper.
8650         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
8651         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
8652         (__mulha3, __mulsa3)
8653         (__divqq3, __divha3, __divsa3): Adjust to new position of
8654         decimal point of signed accum types.
8656         (__mulusa3_round): New function.
8657         (__mulusa3): Use it.
8658         (__divqq_helper): New function.
8659         (__udivuqq3): Use it.
8661 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
8663         PR bootstrap/55370
8664         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
8666 2012-11-18  Teresa Johnson  <tejohnson@google.com>
8668         PR bootstrap/55051
8669         * libgcov.c (gcov_exit): Remove merged program summary
8670         comparison unless !GCOV_LOCKED.
8672 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8674         * soft-fp: Updated from glibc upstream.
8676 2012-11-06  Ian Lance Taylor  <iant@google.com>
8678         * generic-morestack.c (__generic_morestack): Align the returned
8679         stack pointer to a 32 byte boundary.
8680         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
8681         increment the return address until we have decided that we don't
8682         have a varargs function.
8683         (__morestack) [32-bit]: Align stack correctly when calling C
8684         functions.
8685         (__morestack) [64-bit]: Likewise.
8687 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
8689         * configure: Regenerate.
8691 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
8693         PR target/55175
8694         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
8695         * config/i386/sfp-machine.h: Guard exception handling
8696         code with _SOFT_FLOAT.
8697         * config/i386/32/sfp-machine.h: Guard rounding handling
8698         code with _SOFT_FLOAT.
8699         * config/i386/64/sfp-machine.h: Ditto.
8701 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
8703         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
8704         as extra_parts.
8706 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
8708         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
8709         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
8710         when appropriate.  Correct structure element types.
8711         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
8712         -minline-all-stringops from compile flags.
8714 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
8716         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
8718 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
8720         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
8722 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
8724         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
8725         tmake_file.
8727 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
8728             Jim MacArthur  <jim.macarthur@arm.com>
8729             Marcus Shawcroft  <marcus.shawcroft@arm.com>
8730             Nigel Stephens  <nigel.stephens@arm.com>
8731             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
8732             Richard Earnshaw  <rearnsha@arm.com>
8733             Sofiane Naci  <sofiane.naci@arm.com>
8734             Stephen Thomas  <stephen.thomas@arm.com>
8735             Tejas Belagod  <tejas.belagod@arm.com>
8736             Yufeng Zhang  <yufeng.zhang@arm.com>
8738         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
8739         * config/aarch64/crti.S: New file.
8740         * config/aarch64/crtn.S: New file.
8741         * config/aarch64/linux-unwind.h: New file.
8742         * config/aarch64/sfp-machine.h: New file.
8743         * config/aarch64/sync-cache.c: New file.
8744         * config/aarch64/t-aarch64: New file.
8745         * config/aarch64/t-softfp: New file.
8747 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
8749         * config/mmix/crti.S: Mark program and data addresses using PRELD.
8750         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
8751         no-longer-needed LDBU insns.
8753 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
8755         * config.host
8756         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
8757         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
8759 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
8761         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
8763 2012-10-15  Matthias Klose  <doko@ubuntu.com>
8765         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
8767 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
8769         * configure: Regenerate.
8770         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
8772 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
8774         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8775         instructions for 64bit targets only.
8777 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
8779         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8780         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
8781         * config/i386/32/sfp-machine.h: ... here.
8782         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
8783         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
8784         New defines.
8786 2012-10-07  Matthias Klose  <doko@ubuntu.com>
8788         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
8789         as unused.
8790         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
8792 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
8794         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
8795         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
8796         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
8797         (ElfW): Likewise.
8799 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
8801         PR other/53889
8802         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8803         Fix parameter names.
8805 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
8807         PR target/33135
8808         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
8809         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
8810         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
8812 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
8814         PR target/50457
8815         * config/sh/linux-atomic.S: Delete.
8816         * config/sh/linux-atomic.c: New.
8817         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
8818         linux-atomic.c.  Add cflags to disable warnings.
8820 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
8822         PR other/53889
8823         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
8824         function.
8825         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
8826         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
8827         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
8828         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
8829         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
8830         Likewise.
8831         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8832         Likewise.
8833         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
8834         Likewise.
8835         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
8836         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
8838 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
8840         * config.host (hppa-*-openbsd*): New target.
8841         * config/pa/t-openbsd: New file.
8843 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
8845         PR target/54222
8846         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
8847         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
8848         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
8849         (__divsa3): Use __negsi2 to negate r_quoL.
8850         * config/avr/lib1funcs.S (FALIAS): New macro.
8851         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
8852         (__negsi2): ...this new function.
8853         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
8854         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
8855         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
8856         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
8857         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
8858         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
8860 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
8862         PR target/54089
8863         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
8864         (lshrsi3): Reimplement as lshrsi3_r0.
8866 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
8868         PR target/46191
8869         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
8870         of libgcc.a.
8872 2012-09-07  Teresa Johnson  <tejohnson@google.com>
8874         PR gcov-profile/54487
8875         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
8876         differences.
8878 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
8880         PR target/54461
8881         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
8882         not configured --with-avrlibc=no.
8883         * config/avr/t-avrlibc: New file.
8884         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
8885         (DPBIT_FUNCS): Ditto.
8886         (TPBIT_FUNCS): Ditto.
8888 2012-09-04  Teresa Johnson  <tejohnson@google.com>
8890         * libgcov.c (struct gcov_summary_buffer): New structure.
8891         (gcov_histogram_insert): New function.
8892         (gcov_compute_histogram): Ditto.
8893         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
8894         histograms during summary merging.
8896 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
8898         * config.host (x86_64-*-openbsd*): New target.
8900 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
8902         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
8903         attribute.
8905 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
8907         PR target/54222
8908         * config/avr/t-avr (conv_X): Rename to func_X.
8910 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
8912         PR target/54222
8913         * config/avr/lib1funcs-fixed.S: New file.
8914         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
8915         after they are used.
8916         (neg2, neg4): New macros.
8917         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
8918         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
8919         (__umulhisi3): Speed up MUL variant if there is enough flash.
8920         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
8921         avr-modes.def.
8922         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
8923         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
8924         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
8925         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
8926         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
8927         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
8928         (LIB2FUNCS_EXCLUDE): Add supported functions.
8930 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
8932         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
8933         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
8934         libgcc-s-objects.
8935         * fixed-obj.mk: Only expand dependency if $o is not in
8936         LIB2FUNCS_EXCLUDE.
8938 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
8940         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
8942 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
8944         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
8945         depend on --enable-shared.
8946         ($(lib1asmfuncs-o)): Use %.vis files independent of
8947         --enable-shared.
8948         * static-object.mk ($(base)$(objext), $(base).vis)
8949         ($(base)_s$(objext)): Use same rules for visibility handling as in
8950         shared-object.mk.
8952 2012-08-21  Ian Lance Taylor  <iant@google.com>
8954         * config/i386/morestack.S (__morestack_non_split): Increase amount
8955         of space allocated for non-split code stack.
8957 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
8959         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
8960         even if inhibit_libc.
8962 2012-08-17  Julian Brown  <julian@codesourcery.com>
8964         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
8965         -fexceptions -fnon-call-exceptions if not defined.
8966         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
8967         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
8969 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
8971         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
8972         type.
8974 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
8976         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
8977         rs6000/t-slibgcc-aix.
8979 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
8981         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
8983 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
8985         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
8987 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
8989         PR driver/54171
8990         * Makefile.in (version): Replace top_srcdir with srcdir.
8992 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
8994         * Makefile.in (version): set to BASE-VER file from gcc directory.
8996 2012-08-01  Nick Clifton  <nickc@redhat.com>
8998         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
8999         Implements __clrsb for an HImode argument.
9001 2012-07-31  Nick Clifton  <nickc@redhat.com>
9003         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
9004         Implements __clrsb for an HImode argument.
9005         * config/stormy16/clrsbhi2.c: New file:
9006         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
9008 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
9010         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
9012 2012-07-19  Tristan Gingold  <gingold@adacore.com>
9013             Richard Henderson  <rth@redhat.com>
9015         * unwind-seh.c: New file.
9016         * unwind-generic.h: Include windows.h for SEH.
9017         (_Unwind_Exception): Use 6 private fields for SEH.
9018         (_GCC_specific_handler): Declare.
9019         * unwind-c.c (__gcc_personality_seh0): New function.
9020         Adjust for SEH.
9021         * config/i386/libgcc-cygming.ver: New file.
9022         * config/i386/t-seh-eh: New file.
9023         * config.host (x86_64-*-mingw*): Default to seh.
9025 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
9027         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
9029 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
9031         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
9032         __builtin_expect when checking for exceptions.
9033         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
9035 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
9037         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
9038         function declaration.
9039         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9040         (FP_RND_MASK): New.
9041         * config/ia64/sfp-exceptions.c: New.
9042         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
9044 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
9046         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
9047         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
9048         * config/i386/64/sfp-machine: ... (delete here) ...
9049         * config/i386/sfp-machine.h: ... to here.
9050         (FP_EX_MASK): Remove.
9051         (FP_RND_MASK): New.
9052         (FP_INIT_ROUNDMODE): Declare asm as volatile.
9054 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
9056         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
9057         * config/i386/libgcc-sol2.ver: Ditto.
9058         * config/i386/libgcc-glibc.ver: Ditto.
9060 2012-06-11  Roland McGrath  <mcgrathr@google.com>
9062         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
9063         If __GLIBC__ is defined, refer to __pthread_key_create instead of
9064         pthread_cancel.
9066 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
9068         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
9069         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
9070         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
9071         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9072         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
9073         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
9074         * config/i386/64/sfp-machine: ... (delete here) ...
9075         * config/i386/sfp-machine.h: ... to here.
9076         (FP_EX_MASK): New.
9077         (__sfp_handle_exceptions): New function declaration.
9078         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9079         * config/i386/sfp-exceptions.c: New.
9080         * config/i386/t-softfp: New.
9081         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
9082         i386/t-softfp to tmake_file.
9084 2012-06-03  David S. Miller  <davem@davemloft.net>
9086         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
9087         change.
9089 2012-05-31  David S. Miller  <davem@davemloft.net>
9091         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
9092         multiply and divide instructions on 32-bit when V9.
9093         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
9095 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
9097         * config/arm/ieee754-df.S: Fix typos.
9098         * config/arm/ieee754-sf.S: Fix typos.
9099         * config/c6x/libunwind.S: Fix typos.
9100         * config/epiphany/udivsi3-float.c: Fix typos.
9101         * config/microblaze/muldi3_hard.S: Fix typos.
9102         * config/picochip/adddi3.S: Fix typos.
9103         * config/picochip/ashlsi3.S: Fix typos.
9104         * config/picochip/ashrsi3.S: Fix typos.
9105         * config/picochip/clzsi2.S: Fix typos.
9106         * config/picochip/cmpsi2.S: Fix typos.
9107         * config/picochip/divmod15.S: Fix typos.
9108         * config/picochip/divmodhi4.S: Fix typos.
9109         * config/picochip/divmodsi4.S: Fix typos.
9110         * config/picochip/longjmp.S: Fix typos.
9111         * config/picochip/lshrsi3.S: Fix typos.
9112         * config/picochip/parityhi2.S: Fix typos.
9113         * config/picochip/popcounthi2.S: Fix typos.
9114         * config/picochip/setjmp.S: Fix typos.
9115         * config/picochip/subdi3.S: Fix typos.
9116         * config/picochip/ucmpsi2.S: Fix typos.
9117         * config/picochip/udivmodhi4.S: Fix typos.
9118         * config/picochip/udivmodsi4.S: Fix typos.
9119         * config/spu/divv2df3.c: Fix typos.
9120         * config/spu/mfc_multi_tag_release.c: Fix typos.
9121         * config/spu/mfc_tag_release.c: Fix typos.
9122         * configure.ac: Fix typos.
9123         * configure: Regenerate.
9125 2012-05-25  Ian Lance Taylor  <iant@google.com>
9127         * config/i386/morestack.S (__morestack_non_split): Check whether
9128         caller is varargs and needs %bp to hold the stack frame on return.
9130 2012-05-25  Olivier Hainque  <hainque@adacore.com>
9132         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
9133         sequence in the non pic case on VxWorks.
9135 2012-05-24  Olivier Hainque  <hainque@adacore.com>
9137         * Makefile.in: Move dependency on install-unwind_h from
9138         "install-leaf" to "install".
9140 2012-05-24  Olivier Hainque  <hainque@adacore.com>
9142         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
9143         Use a separate command for stamp removals.
9145 2012-05-21  Andrew Pinski  <apinski@cavium.com>
9147         PR bootstrap/53183
9148         * configure.ac: Define the default includes to being none.
9149         * configure: Regenerate.
9151 2012-05-16  Olivier Hainque  <hainque@adacore.com>
9153         * Makefile.in (install-unwind_h): Rename into ...
9154         (install-unwind_h-forbuild): New target.
9155         (all): Use it instead of the former install-unwind_h.
9156         (install-unwind_h): Reinstate, copy to user install destination
9157         for include files, not to the internal gcc object directory one.
9158         (install-leaf): Depend on it.
9160 2012-05-15  Olivier Hainque  <hainque@adacore.com>
9162         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
9163         register numbers. LR_REGNO replaces R_LR.
9164         (ucontext_for): New, helper for ...
9165         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
9166         and 5.3 of ...
9167         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
9169 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9171         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
9172         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
9173         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
9174         i386/t-cpuinfo ...
9175         (i[34567]86-*-*, x86_64-*-*): ... here.
9177         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
9178         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
9180         * config/i386/i386-cpuinfo.c: Rename to ...
9181         * config/i386/cpuinfo.c: ... this.
9182         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
9184         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
9185         (libgcc_cv_init_priority): New test.
9186         * configure: Regenerate.
9187         * config.in: New file.
9188         * Makefile.in (clean): Rename config.h to auto-target.h.
9189         (config.h): Likewise.
9190         (stamp-h): Likewise.
9192         * config/i386/cpuinfo.c (auto-target.h): Include.
9193         (CONSTRUCTOR_PRIORITY): Define.
9194         (__cpu_indicator_init): Use it.
9196 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
9198         * longlong.h: Use a URL instead of an FSF postal address.
9199         Replace spaces with tab.
9201 2012-05-08  Teresa Johnson  <tejohnson@google.com>
9203         * libgcov.c (gcov_clear, __gcov_reset): New functions.
9204         (__gcov_dump): Ditto.
9205         (gcov_dump_complete): New global variable.
9206         (gcov_exit): Export hidden to enable use in L_gcov_dump.
9207         (__gcov_flush): Outline functionality now in gcov_clear.
9208         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
9210 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
9212         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
9213         (mips*-*-linux*): Include mips/t-tpbit when long double is
9214         16 bytes long.
9216 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
9218         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
9219         (get_available_features): New argument. Check for AVX2.
9220         (__cpu_indicator_init): Modify call to get_available_features.
9222 2012-04-25  Alan Modra  <amodra@gmail.com>
9224         * config/rs6000/crtsavevr.S: New file.
9225         * config/rs6000/crtrestvr.S: New file.
9226         * config/rs6000/t-savresfgpr: Build the above.
9227         * config/rs6000/t-netbsd: Likewise.
9229 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
9231         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
9233 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
9235         * libgcc/config/i386/i386-cpuinfo.c: New file.
9236         * libgcc/config/i386/t-cpuinfo: New file.
9237         * libgcc/config.host: Include t-cpuinfo.
9238         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
9240 2012-04-24  Chao-ying Fu  <fu@mips.com>
9242         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
9244 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
9246         struct siginfo vs. siginfo_t
9248         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
9249         siginfo_t instead of struct siginfo.
9250         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
9251         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
9252         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
9253         (ia64_handle_unwabi): Likewise.
9254         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
9255         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
9256         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
9257         (sh_fallback_frame_state): Likewise.
9258         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
9259         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
9261 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
9263         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
9264         system call number.
9266 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
9268         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
9269         if it hasn't been previously saved.
9271 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
9273         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
9274         only for glibc.
9276 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
9278         PR target/52737
9279         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
9280         instead of __AVR_HAVE_8BIT_SP__.
9282 2012-03-26  Tristan Gingold  <gingold@adacore.com>
9284         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
9285         (unw_table_entry): Use unw_word instead of unsigned long.
9286         (_Unwind_FindTableEntry): Likewise.
9287         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
9288         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
9289         (_Unwind_FindTableEntry): Likewise.
9290         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
9291         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
9292         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
9293         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
9294         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
9295         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
9296         (uw_init_context_1, uw_install_context): Likewise.
9297         (unw_word): Move to unwind-ia64.h
9299 2012-03-26  Tristan Gingold  <gingold@adacore.com>
9301         * config/vms/vms-ucrt0.c: Update copyright years.
9302         Add a sanity check.
9303         (___gcc_main_flags): Declare.
9304         (__main): Check flags to remap argv and exit code.
9305         * config.host (*-*-*vms*): Adjust extra_parts.
9306         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
9307         (crt0.o): Add.
9309 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
9311         * arm/lib1funcs.asm (ctzsi2): New function.
9312         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
9313         * arm/t-linux (LIB1ASMFUNCS): Likewise.
9314         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
9315         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
9316         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
9317         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
9319 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
9321         * config.host: Add bits to support powerpc64-*-freebsd*.
9322         * config/rs6000/freebsd-unwind.h: New file.
9323         * config/rs6000/t-freebsd64: New file.
9325 2012-03-20  Richard Guenther  <rguenther@suse.de>
9327         PR gcov-profile/52627
9328         * libgcov.c (init_mx): Fix mutex name.
9330 2012-03-16  Tristan Gingold  <gingold@adacore.com>
9332         * config/ia64/vms-unwind.h: Remove ulong (and replace
9333         it by unw_reg where used).  Define unw_reg with __int64.
9335 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9337         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
9338         Solaris 8 handling.
9339         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
9340         Solaris 8 handling.
9341         (sparc_is_sighandler): Likewise.
9343 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
9345         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
9346         <= saved reg size.
9348 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9350         * config/arm/crtn.S: Fix typo.
9352 2012-03-13  Richard Guenther  <rguenther@suse.de>
9354         * libgcov.c: Remove stdio.h include and NULL un-define.
9356 2012-03-13  Richard Guenther  <rguenther@suse.de>
9358         PR target/52569
9359         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
9361 2012-03-13  Richard Guenther  <rguenther@suse.de>
9363         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
9365 2012-03-13  Richard Guenther  <rguenther@suse.de>
9367         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
9368         and __gthread_mutex_init_function definitions.
9370 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9372         * config.host (mips*-*-openbsd*): Remove.
9374 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9376         * config.host: Remove alpha*-dec-osf5.1* handling.
9377         * config/alpha/gthr-posix.c: Remove.
9378         * config/alpha/libgcc-osf5.ver: Remove.
9379         * config/alpha/osf5-unwind.h: Remove.
9380         * config/alpha/t-osf-pthread: Remove.
9381         * config/alpha/t-slibgcc-osf: Remove.
9382         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
9383         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
9384         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
9385         * mkmap-flat.awk: Remove osf_export handling.
9387 2012-03-12  Richard Guenther  <rguenther@suse.de>
9389         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
9390         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9391         (__gthread_mutex_init_function): New function.
9392         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9394         PR gcov/49484
9395         * libgcov.c: Include gthr.h.
9396         (__gcov_flush_mx): New global variable.
9397         (init_mx, init_mx_once): New functions.
9398         (__gcov_flush): Protect self with a mutex.
9399         (__gcov_fork): Re-initialize mutex after forking.
9400         * unwind-dw2-fde.c: Change condition under which to use
9401         __GTHREAD_MUTEX_INIT_FUNCTION.
9403 2012-03-12  Tristan Gingold  <gingold@adacore.com>
9405         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
9406         * config/ia64/t-vms: Likewise.
9408 2012-03-11  Michael Hope  <michael.hope@linaro.org>
9410         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
9411         for Thumb-2.
9413 2012-03-07  Walter Lee  <walt@tilera.com>
9415         * config/tilepro/atomic.c: Rename "atomic_" prefix to
9416         "arch_atomic_".
9417         (atomic_xor): Rename and move definition to
9418         config/tilepro/atomic.h.
9419         (atomic_nand): Ditto.
9420         * config/tilepro/atomic.h: Rename "atomic_" prefix to
9421         "arch_atomic_".
9422         (arch_atomic_xor): Move from config/tilepro/atomic.c.
9423         (arch_atomic_nand): Ditto.
9425 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
9427         PR target/52507
9428         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
9430 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
9432         PR target/52505
9433         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
9434         from RAM.
9436 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
9438         PR target/52461
9439         PR target/52508
9440         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
9441         if RAMPZ affects reading from RAM.
9442         (__tablejump_elpm__): Ditto.
9443         (.xload): Ditto.
9444         (__movmemx_hi): Ditto.
9445         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
9446         (__do_global_dtors): Ditto.
9447         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
9448         (__movmemx_hi): Ditto.
9450 2012-03-05  Richard Henderson  <rth@redhat.com>
9452         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
9453         [ARM] (count_trailing_zeros): Use the builtin.
9455 2012-03-01  Kai Tietz  <ktietz@redhat.com>
9457         * soft-fp: Imported from glibc upstream.
9459 2012-02-28  Kai Tietz  <ktietz@redhat.com>
9461         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
9462         for mingw-targets as attribute gcc_struct.
9464 2012-02-28  Ian Lance Taylor  <iant@google.com>
9466         * generic-morestack.c (__splitstack_releasecontext): Correct call
9467         to __morestack_release_segments.
9469 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9471         PR target/52390
9472         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
9473         for __linux__ when removing signals from __morestack_fullmask.
9475 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
9477         PR target/52261
9478         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
9480 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9482         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
9483         instead of HAVE_INITFINI_ARRAY.
9484         * config/ia64/crtend.S: Likewise.
9486 2012-02-20  Kai Tietz  <ktietz@redhat.com>
9488         PR libstdc++/52300
9489         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
9491         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
9492         to w32-unwind.h header.
9494 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
9496         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
9497         (mips*-*-linux*): Remove t-slibgcc-libgcc.
9498         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
9499         * config/mips/mips16.S (__mips16_rdhwr): Delete.
9501 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
9503         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
9505 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
9507         PR libitm/52220
9508         * config/darwin-crt-tm.c: Correct typo.
9510 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
9511             Patrick Marlier  <patrick.marlier@gmail.com>
9513         PR libitm/52220
9514         * config/darwin-crt-tm.c: Generate dummy functions.
9516 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
9517             Patrick Marlier  <patrick.marlier@gmail.com>
9519         PR libitm/52042
9520         * config/darwin-crt-tm.c (getTMCloneTable): New function.
9521         (__doTMRegistrations): Call it.
9522         (__doTMdeRegistrations): Likewise.
9524 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
9525             Anatoly Sokolov  <aesok@post.ru>
9526             Eric Weddington  <eric.weddington@atmel.com>
9528         PR target/52261
9529         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
9530         (__epilogue_restores__): Ditto.
9532 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
9534         PR target/51921
9535         PR target/52205
9536         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
9537         Solaris 11 and slightly reformat.
9538         (sparc_is_sighandler): Likewise.
9540 2012-02-14  Walter Lee  <walt@tilera.com>
9542         * config.host: Handle tilegx and tilepro.
9543         * config/tilegx/sfp-machine.h: New file.
9544         * config/tilegx/sfp-machine32.h: New file.
9545         * config/tilegx/sfp-machine64.h: New file.
9546         * config/tilegx/t-crtstuff: New file.
9547         * config/tilegx/t-softfp: New file.
9548         * config/tilegx/t-tilegx: New file.
9549         * config/tilepro/atomic.c: New file.
9550         * config/tilepro/atomic.h: New file.
9551         * config/tilepro/linux-unwind.h: New file.
9552         * config/tilepro/sfp-machine.h: New file.
9553         * config/tilepro/softdivide.c: New file.
9554         * config/tilepro/softmpy.S: New file.
9555         * config/tilepro/t-crtstuff: New file.
9556         * config/tilepro/t-tilepro: New file.
9558 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
9560         PR libstdc++/51296
9561         PR libstdc++/51906
9562         * gthr-posix.h: Allow static initializer macros to be disabled.
9563         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
9565 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
9567         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
9568         Add t-slibgcc-libgcc to tmake_file.
9569         * config/mips/libgcc-mips16.ver: Revert previous patch.
9570         * config/mips/mips16.S (__mips16_rdhwr): Hide.
9572 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
9573             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
9575         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
9576         * config/cr16/crti.S: New file.
9577         * config/cr16/crtlibid.S: New file.
9578         * config/cr16/crtn.S: New file.
9579         * config/cr16/lib1funcs.S: New file.
9580         * config/cr16/t-cr16: New file.
9581         * config/cr16/t-crtlibid: New file.
9582         * config/cr16/unwind-dw2.h: New file.
9583         * config/cr16/unwind-cr16.c: New file.
9584         * config/cr16/divmodhi3.c: New file.
9586 2012-01-25  Alan Modra  <amodra@gmail.com>
9588         * config/rs6000/t-linux64: Delete.  Move..
9589         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
9590         * config/rs6000/t-linux: ..and libgcc flags to here.
9592 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
9594         * config.host (i[34567]86-*-interix3*):
9595         Change triplet to i[34567]86-*-interix[3-9]*.
9596         * configure: Regenerate.
9598 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
9599             Richard Sandiford  <rdsandiford@googlemail.com>
9601         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
9602         * config/mips/mips16.S (__mips16_rdhwr): New function.
9603         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
9605 2012-01-11  Nathan Sidwell  <nathan@acm.org>
9607         * libgcov.c (__gcov_init): Ignore objects with no functions.
9609 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
9611         PR target/49868
9612         Extend __pgmx semantics to linearize memory.
9613         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
9614         * config/avr/lib1funcs.S (__xload_1): New function.
9615         (__movmemx_qi, __movmemx_hi): New functions.
9616         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
9617         semantics.
9619 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
9621         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
9622         purported sigacthandler address isn't null before dereferencing it.
9623         (sparc_is_sighandler): Likewise.
9625 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
9627         PR ada/41929
9628         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
9629         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
9630         (sparc_is_sighandler): Likewise.
9631         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
9633 2012-01-06  Tristan Gingold  <gingold@adacore.com>
9635         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
9636         compatibility thunks...
9637         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
9638         (crtbeginS.o, crtendS.o): ... and these to ...
9639         * config/ia64/t-ia64-elf: ... this new file.
9640         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
9641         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
9643 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9645         * configure: Regenerate.
9646         * config/s390/t-crtstuff: Remove -fPIC.
9648 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
9650         PR bootstrap/51006
9651         * enable-execute-stack-mprotect.c (getpagesize): Do not define
9652         for NetBSD.
9654 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
9656         PR target/51345
9657         * config/avr/lib1funcs.S: Remove FIXME comments.
9658         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
9660 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
9662         Implement light-weight DImode support.
9663         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
9664         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
9665         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
9666         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
9668 2011-12-30  Nathan Sidwell  <nathan@acm.org>
9670         * libgcov.c (gcov_crc32): Remove global var.
9671         (free_fn_data): New function.
9672         (buffer_fn_data): Pass in filename, more robust error recovery.
9673         (crc32_unsigned): New function.
9674         (gcov_exit): More robust detection of new program. More robust
9675         error recovery.
9676         (__gcov_init): Do not update program's crc here.
9678 2011-12-21  Tristan Gingold  <gingold@adacore.com>
9680         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
9682 2011-12-21  Ian Lance Taylor  <iant@google.com>
9684         * config/i386/morestack.S: Simplify CFI opcodes throughout.
9686 2011-12-20  Ian Lance Taylor  <iant@google.com>
9688         * config/i386/morestack.S (__morestack_non_split): If there is
9689         enough stack space already, don't split.  Ask for more stack space
9690         than we required.
9692 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
9694         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
9695         `sys/sdt.h'.
9696         (_Unwind_DebugHook): New function.
9697         (uw_restore_core_regs): New define.
9698         (unwind_phase2): Use uw_restore_core_regs instead of
9699         restore_core_regs.
9700         (unwind_phase2_forced): Likewise.
9701         (__gnu_Unwind_Resume): Likewise.
9703 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
9705         * config/alpha/linux-unwind.h: Update copyright years.
9706         (MD_FROB_UPDATE_CONTEXT): New define.
9707         (alpha_frob_update_context): New function.
9709 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
9711         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
9712         tmake_file rather replacing it.
9714 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
9716         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
9717         function is not used for PPC64.
9718         (save_world): Amend comments.  Update the VRsave mask to reflect the
9719         saved regs.
9720         (rest_world): Update comments, do not  clobber r10, do not use r8.
9721         (eh_rest_world_r10): Amend comments, do not use r8.
9722         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
9723         no longer used, move restore of CR and target address to the end of
9724         the routine.
9726 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
9728         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
9729         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
9731 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
9733         PR target/49313
9734         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
9735         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
9737 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
9739         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
9741 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
9743         PR target/49313
9744         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
9745         * config/avr/lib1funcs.S (__muldi3): New function.
9747 2011-12-06  Andrew Pinski  <apinski@cavium.com>
9749         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
9750         size of func_ptr.
9751         (__frame_dummy_init_array_entry): Likewise.
9753 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
9755         Forward-port from gcc-4_6-branch r181936 2011-12-02.
9757         PR target/51345
9758         PR target/51002
9759         * config/avr/lib1funcs.S (__prologue_saves__,
9760         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
9761         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
9763 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
9765         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
9767 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
9769         PR other/51272
9770         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
9771         (_ITM_deregisterTMCloneTable): Likewise.
9772         (__register_frame_info): Fix unused warning.
9773         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
9774         pthread_default_stacksize_np): Likewise.
9775         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
9777 2011-11-29  DJ Delorie  <dj@redhat.com>
9779         * config.host (rl78-*-elf): New case.
9780         * config/rl78: New directory for the Renesas RL78.
9782 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
9784         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
9785         formatting.
9787 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9789         PR other/51022
9790         * config/rs6000/t-savresfgpr: New file.
9791         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
9792         $(srcdir)/config/rs6000/eabi.S.
9793         * config/rs6000/t-ppccomm-ldbl: Remove.
9794         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
9795         tmake_file.
9796         (powerpc-*-eabispe*): Likewise.
9797         (powerpc-*-eabi*): Likewise.
9798         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9799         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
9800         to tmake_file, remove rs6000/t-ppccomm-ldbl.
9801         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
9802         tmake_file.
9803         (powerpc-*-eabisim*): Likewise.
9804         (powerpc-*-elf*): Likewise.
9805         (powerpc-*-eabialtivec*): Likewise.
9806         (powerpc-xilinx-eabi*): Likewise.
9807         (powerpc-*-rtems*): Likewise.
9808         (powerpcle-*-elf*): Likewise.
9809         (powerpcle-*-eabisim*): Likewise.
9810         (powerpcle-*-eabi*): Likewise.
9812 2011-11-27  Ian Lance Taylor  <iant@google.com>
9814         * generic-morestack.c (__splitstack_find): Check for NULL old
9815         stack value.
9816         (__splitstack_resetcontext): New function.
9817         (__splitstack_releasecontext): New function.
9818         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9820 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
9822         * config/darwin-crt-tm.c: Correct comments, use correct licence.
9824 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
9826         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
9828 2011-11-26  Richard Henderson  <rth@redhat.com>
9830         * config/m68k/linux-atomic.c: New file.
9831         * config/m68k/t-linux: New file.
9832         * config.host (m68k-uclinux, m68k-linux): Use it.
9834 2011-11-26  Richard Henderson  <rth@redhat.com>
9836         * crtstuff.c (__TMC_LIST__): Mark used not unused.
9837         (__TMC_END__): Only declare if hidden is available; in the definition,
9838         if hidden is unavailable add a null record.
9839         (deregister_tm_clones, register_tm_clones): New.
9840         (__do_global_dtors_aux, frame_dummy): Use them.
9841         (__do_global_dtors, __do_global_ctors_1): Likewise.
9843 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
9845         * config/darwin-crt-tm.c: New file.
9846         * config.host (darwin): Build crttms.o crttme.o to provide
9847         startup and shutdown for tm clones.
9848         * config/t-darwin (crttms.o): New build rule.
9849         (crttme.o): Likewise.
9851 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
9853         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
9854         et al.
9856 2011-11-21  Richard Henderson  <rth@redhat.com>
9858         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
9859         (__TMC_LIST__, __TMC_END__): New.
9860         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
9861         (__do_global_dtors): Likewise.
9862         (frame_dummy): Call _ITM_registerTMCloneTable.
9863         (__do_global_ctors_1): Likewise.
9865 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9867         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
9868         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9869         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
9870         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
9871         * config/i386/t-darwin64: Remove.
9872         * config/sh/t-netbsd (LIB2ADD): Remove.
9874 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
9876         PR target/49313
9877         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
9878         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
9879         * config/avr/lib1funcs.S (wmov): New assembler macro.
9880         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
9881         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
9882         (__udivmod64): New function.
9883         (__negdi2): New function.
9885 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
9887         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
9888         *-*-freebsd*aout*): Remove.
9890 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
9892         * static-object.mk (c_flags-$o): Save c_flags.
9893         ($(base)$(objext)): Use it.
9895 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
9897         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
9899 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
9901         PR target/49868
9902         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
9903         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
9904         New functions.
9906 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
9908         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
9909         functions.
9910         (aeabi_uidivmod): Likewise.
9911         (umodsi3): Likewise.
9912         (divsi3): Likewise.
9913         (aeabi_idivmod): Likewise.
9914         (modsi3): Likewise.
9916 2011-11-16  Tristan Gingold  <gingold@adacore.com>
9918         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
9920 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
9922         PR target/49868
9923         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
9924         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
9926 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
9928         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
9929         tmake_file list.
9930         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
9931         * config/pa/t-stublib64: Delete.
9933 2011-11-12  Richard Henderson  <rth@redhat.com>
9935         * config/rs6000/linux-unwind.h (frob_update_context): Properly
9936         cast the pointer argument to _Unwind_SetGRPtr.
9938 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9940         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
9942 2011-11-09  Ian Lance Taylor  <iant@google.com>
9944         * generic-morestack.c: Include <string.h>.
9945         (uintptr_type): Define.
9946         (struct initial_sp): Add dont_block_signals field.  Reduce size of
9947         extra array by 1.
9948         (allocate_segment): Set prev field to NULL.  Don't set
9949         __morestack_current_segment or __morestack_segments.
9950         (__generic_morestack): Update current->prev and *pp after calling
9951         allocate_segment.
9952         (__morestack_block_signals): Don't do anything if
9953         dont_block_signals is set.
9954         (__morestack_unblock_signals): Likewise.
9955         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
9956         uintptr_type.
9957         (__splitstack_block_signals): New function.
9958         (enum __splitstack_content_offsets): Define.
9959         (__splitstack_getcontext, __splitstack_setcontext): New functions.
9960         (__splitstack_makecontext): New function.
9961         (__splitstack_block_signals_context): New function.
9962         (__splitstack_find_context): New function.
9963         * config/i386/morestack.S (__morestack_get_guard): New function.
9964         (__morestack_set_guard, __morestack_make_guard): New functions.
9965         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9967 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9969         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
9970         (i[34567]86-*-mingw*): ... here.
9971         (x86_64-*-mingw*): ... here.
9973 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9975         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
9977 2011-11-07  Nathan Sidwell  <nathan@acm.org>
9979         * libgcov.c (struct gcov_fn_buffer): New struct.
9980         (buffer_fn_data): New helper.
9981         (gcov_exit): Rework for new gcov data structures.
9983 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
9985         PR target/49313
9986         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
9988 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9990         * config.host (tmake_file): Correct comment.
9991         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
9992         t-libgcc-pic.
9993         (bfin*-uclinux*): Likewise.
9994         (bfin*-linux-uclibc*): Likewise.
9995         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
9997         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
9998         assigning.
9999         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10000         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
10001         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10002         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
10003         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10004         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
10005         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
10006         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10007         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
10008         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
10009         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
10010         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
10011         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
10013         * config/bfin/t-elf: Remove.
10014         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
10016 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10018         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
10019         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
10020         (lm32-*-elf*, lm32-*-rtems*): Split into ...
10021         (lm32-*-elf*): ... this.
10022         (lm32-*-rtems*): ... and this.
10023         Add to tmake_file.
10024         (m32r-*-rtems*): Add to tmake_file.
10025         (moxie-*-rtems*): Likewise.
10026         (sparc-*-rtems*): Likewise.
10027         Remove t-rtems from tmake_file.
10028         (sparc64-*-rtems*): Likewise.
10029         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
10030         instead.
10032 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10034         PR bootstrap/50982
10035         * config/gthr-posix.h: Move ...
10036         * gthr-posix.h: ... here.
10037         * config/gthr-lynx.h: Reflect this.
10038         * config/gthr-vxworks.h: Likewise.
10039         * config/rs6000/gthr-aix.h: Likewise.
10040         * configure.ac (target_thread_file): Likewise.
10041         * configure: Regenerate.
10043 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
10045         * config.host (arm*-*-rtemseabi*): New target.
10047 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
10049         PR other/50991
10050         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
10051         extra-parts.
10053 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
10055         * config.host (epiphany-*-elf*): New configuration.
10056         * config/epiphany: New Directory.
10058 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
10060         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
10061         * config/avr/t-rtems: New.
10062         Filter out _exit from LIB1ASMFUNCS.
10064 2011-11-04  David S. Miller  <davem@davemloft.net>
10066         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
10067         * configure: Rebuild.
10069 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10071         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
10072         variable.
10074 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
10076         PR target/50931
10077         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
10078         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
10080 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
10082         PR target/50989
10083         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
10085 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10087         * config/c6x/t-elf (LIB2ADDEH): Set.
10088         * config/c6x/t-c6x-elf: Remove.
10090 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10092         * config/i386/sol2-ci.S: Rename to ...
10093         * config/i386/crti.S: ... this.
10094         * config/i386/sol2-cn.S: Rename to ...
10095         * config/i386/crtn.S: ... this.
10096         * config/sparc/sol2-ci.S: Rename to ...
10097         * config/sparc/crti.S: ... this.
10098         * config/sparc/sol2-cn.S: Rename to ...
10099         * config/sparc/crtn.S: ... this.
10100         * config/t-sol2 (CUSTOM_CRTIN): Remove.
10101         (crti.o, crtn.o): Remove.
10103 2011-11-04  Tristan Gingold  <gingold@adacore.com>
10105         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
10107 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
10109         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
10111 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
10113         * config.host (crisv32-*-none, cris-*-none): Remove.
10114         (crisv32-*-elf): Append to tmake_file, don't just set it.
10115         (cris-*-elf): Add missing t-fdpbit to tmake_file.
10117 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10119         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
10120         (ecrtn$(objext)): Likewise.
10121         (ncrti$(objext)): Likewise.
10122         (ncrtn$(objext)): Likewise.
10124 2011-11-03  Andreas Schwab  <schwab@redhat.com>
10126         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
10128 2011-11-02  David S. Miller  <davem@davemloft.net>
10130         * configure.ac: Set host_address on sparc too.
10131         * configure: Regenerate.
10132         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
10133         based upon host_address.
10134         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
10136 2011-11-02  Jason Merrill  <jason@redhat.com>
10138         * config/rs6000/t-ppccomm: Add missing \.
10140 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10142         * gthr-single.h, gthr.h: New files.
10143         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
10144         config/gthr-vxworks.h, config/i386/gthr-win32.h,
10145         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
10146         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
10147         * config/i386/gthr-win32.c: Include "gthr-win32.h".
10148         * configure.ac (thread_header): New variable.
10149         Set it depending on target_thread_file.
10150         (gthr-default.h): Link from $thread_header.
10151         * configure: Regenerate.
10152         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
10154 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10156         * configure.ac (tm_file_): New variable.
10157         Determine from tm_file.
10158         (tm_file, tm_defines): Substitute.
10159         * configure: Regenerate.
10160         * mkheader.sh: New file.
10161         * Makefile.in (clean): Remove libgcc_tm.h.
10162         ($(objects)): Depend on libgcc_tm.h.
10163         (libgcc_tm_defines, libgcc_tm_file): New variables.
10164         (libgcc_tm.h, libgcc_tm.stamp): New targets.
10165         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
10166         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
10167         ($(extra-parts)): Depend on libgcc_tm.h.
10168         * config.host (tm_defines, tm_file): New variable.
10169         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
10170         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
10171         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
10172         (avr-*-rtems*): Likewise.
10173         (avr-*-*): Likewise.
10174         (frv-*-elf): Likewise.
10175         (frv-*-*linux*): Likewise.
10176         (h8300-*-rtems*): Likewise.
10177         (h8300-*-elf*): Likewise.
10178         (i[34567]86-*-darwin*): Likewise.
10179         (x86_64-*-darwin*): Likewise.
10180         (rx-*-elf): Likewise.
10181         (tic6x-*-uclinux): Likewise.
10182         (tic6x-*-elf): Likewise.
10183         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
10184         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
10185         * config/i386/cygming-crtbegin.c: Likewise.
10186         * config/i386/cygming-crtend.c: Likewise.
10187         * config/ia64/fde-vms.c: Likewise.
10188         * config/ia64/unwind-ia64.c: Likewise.
10189         * config/libbid/bid_gcc_intrinsics.h: Likewise.
10190         * config/rs6000/darwin-fallback.c: Likewise.
10191         * config/stormy16/lib2funcs.c: Likewise.
10192         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
10193         * crtstuff.c: Likewise.
10194         * dfp-bit.h: Likewise.
10195         * emutls.c: Likewise.
10196         * fixed-bit.c: Likewise.
10197         * fp-bit.c: Likewise.
10198         * generic-morestack-thread.c: Likewise.
10199         * generic-morestack.c: Likewise.
10200         * libgcc2.c: Likewise.
10201         * libgcov.c: Likewise.
10202         * unwind-dw2-fde-dip.c: Likewise.
10203         * unwind-dw2-fde.c: Likewise.
10204         * unwind-dw2.c: Likewise.
10205         * unwind-sjlj.c: Likewise.
10207 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10209         * configure.ac: Include ../config/picflag.m4.
10210         (GCC_PICFLAG): Call it.
10211         Substitute.
10212         * configure: Regenerate.
10213         * Makefile.in (gcc_srcdir): Remove.
10214         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
10215         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
10216         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
10217         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
10218         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
10219         Use $<.
10220         Remove comment.
10221         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
10222         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
10223         to refer to libgcc2.c.
10224         Use $<.
10225         * config/darwin-64.c: New file.
10226         * config/darwin-crt3.c: Remove comment.
10227         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
10228         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
10229         config/udivmodsi4.c: New files.
10230         * config/memcmp.c, config/memcpy.c, config/memmove.c,
10231         config/memset.c: New files.
10232         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
10233         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
10234         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
10235         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
10236         * config/t-openbsd-thread: New file.
10237         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
10238         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
10239         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
10240         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
10241         qrnnd.S.
10242         Adapt filename.
10243         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
10244         to refer to gthr-posix.c.
10245         * config/alpha/t-vms (LIB2ADD): Set.
10246         * config/alpha/vms-gcc_shell_handler.c: New file.
10247         * config/arm/bpabi.c, config/arm/fp16.c,
10248         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
10249         config/arm/unaligned-funcs.c: New files.
10250         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
10251         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10252         * config/arm/t-linux: Likewise.
10253         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
10254         * config/arm/t-netbsd: New file.
10255         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
10256         * config/arm/t-symbian (LIB2ADD_ST): Set.
10257         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
10258         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10259         * config/bfin/t-elf: New file.
10260         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
10261         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
10262         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
10263         config/c6x/ltf.c: New files.
10264         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
10265         (HOST_LIBGCC2_CFLAGS): Set.
10266         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
10267         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10268         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
10269         New files.
10270         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
10271         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
10272         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
10273         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
10274         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
10275         files.
10276         * config/frv/t-frv (LIB2ADD): Set.
10277         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10278         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
10279         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
10280         config/h8300/popcounthi2.c: New files.
10281         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10282         * config/i386/gthr-win32.c: New file.
10283         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
10284         * config/i386/t-cygwin: Likewise.
10285         * config/i386/t-darwin, config/i386/t-darwin64,
10286         config/i386/t-gthr-win32, config/i386/t-interix: New files.
10287         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
10288         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10289         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10290         * config/ia64/quadlib.c: New file.
10291         * config/ia64/t-hpux (LIB2ADD): Set.
10292         * config/ia64/t-ia64: Add comment.
10293         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
10294         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10295         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
10296         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
10297         * config/m32c/t-m32c (LIB2ADD): Set.
10298         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10299         * config/m32r/t-m32r: Likewise.
10300         * config/m68k/fpgnulib.c: New file.
10301         * config/m68k/t-floatlib (LIB2ADD): Set.
10302         (xfgnulib.c): New target.
10303         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
10304         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
10305         * config/mep/t-mep (LIB2ADD): Set.
10306         * config/microblaze/divsi3.asm: Rename to divsi3.S.
10307         * config/microblaze/moddi3.asm: Rename to moddi3.S.
10308         * config/microblaze/modsi3.asm: Rename to modsi3.S.
10309         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
10310         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
10311         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
10312         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
10313         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
10314         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
10315         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
10316         New files.
10317         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
10318         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
10319         * config/pa/fptr.c, config/pa/lib2funcs.S,
10320         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
10321         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10322         (LIB2ADD, LIB2ADD_ST): Set.
10323         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
10324         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
10325         Set.
10326         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
10327         * config/pdp11/t-pdp11: New file.
10328         * config/picochip/libgccExtras/adddi3.S,
10329         config/picochip/libgccExtras/ashlsi3.S,
10330         config/picochip/libgccExtras/ashrsi3.S,
10331         config/picochip/libgccExtras/clzsi2.S,
10332         config/picochip/libgccExtras/cmpsi2.S,
10333         config/picochip/libgccExtras/divmod15.S,
10334         config/picochip/libgccExtras/divmodhi4.S,
10335         config/picochip/libgccExtras/divmodsi4.S,
10336         config/picochip/libgccExtras/lshrsi3.S,
10337         config/picochip/libgccExtras/parityhi2.S,
10338         config/picochip/libgccExtras/popcounthi2.S,
10339         config/picochip/libgccExtras/subdi3.S,
10340         config/picochip/libgccExtras/ucmpsi2.S,
10341         config/picochip/libgccExtras/udivmodhi4.S,
10342         config/picochip/libgccExtras/udivmodsi4.S: New files.
10343         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
10344         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
10345         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
10346         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
10347         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
10348         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
10349         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
10350         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
10351         files.
10352         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
10353         (HOST_LIBGCC2_CFLAGS): Set.
10354         * config/rs6000/t-darwin64: New file.
10355         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
10356         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
10357         * config/rs6000/t-ppccomm (LIB2ADD): Add
10358         $(srcdir)/config/rs6000/tramp.S.
10359         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
10360         Add  $(srcdir)/config/rs6000/eabi.S.
10361         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
10362         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
10363         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
10364         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
10365         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
10366         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
10367         * config/rs6000/tramp.S: New file.
10368         * config/s390/t-tpf: Remove.
10369         * config/sh/linux-atomic.S: New file.
10370         * config/sh/t-linux (LIB2ADD): Set.
10371         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
10372         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10373         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
10374         to unwind-dw2.c.
10375         (HOST_LIBGCC2_CFLAGS): Set.
10376         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10377         * config/spu/divmodti4.c, config/spu/divv2df3.c,
10378         config/spu/float_disf.c, config/spu/float_unsdidf.c,
10379         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
10380         config/spu/mfc_multi_tag_release.c,
10381         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
10382         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
10383         config/spu/multi3.c: New files.
10384         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
10385         (HOST_LIBGCC2_CFLAGS): Set.
10386         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
10387         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
10388         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
10389         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
10390         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
10391         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
10392         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
10393         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
10394         config/stormy16/umodsi3.c: New files.
10395         * config/xtensa/lib2funcs.S: New file.
10396         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10397         * config/xtensa/t-xtensa (LIB2ADD): Set.
10398         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
10399         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
10400         Add t-freebsd-thread to tmake_file for posix threads.
10401         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
10402         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
10403         (*-*-lynxos*): Likewise.
10404         (*-*-netbsd*): Likewise.
10405         (*-*-openbsd*): Likewise.
10406         Add t-openbsd-thread to tmake_file for posix threads.
10407         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
10408         (*-*-vxworks*): Set tmake_file.
10409         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10410         (alpha*-*-freebsd*): Likewise.
10411         (alpha*-*-netbsd*): Likewise.
10412         (alpha*-*-openbsd*): Likewise.
10413         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
10414         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10415         (alpha*-dec-*vms*): Likewise.
10416         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
10417         (bfin*-elf*): Add bfin/t-elf to tmake_file.
10418         (bfin*-uclinux*): Likewise.
10419         (bfin*-linux-uclibc*): Likewise.
10420         (crisv32-*-elf): Add cris/t-cris to tmake_file.
10421         (crisv32-*-none): Likewise.
10422         (cris-*-elf): Likewise.
10423         (cris-*-none): Likewise.
10424         (cris-*-linux*, crisv32-*-linux*): Likewise.
10425         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
10426         tmake_file.
10427         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
10428         tmake_file.
10429         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
10430         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
10431         (x86_64-*-elf*): Likewise.
10432         (i[34567]86-*-nto-qnx*): Likewise.
10433         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
10434         win32 threads.
10435         (x86_64-*-mingw*): Likewise.
10436         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
10437         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
10438         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10439         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10440         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
10441         tmake_file.
10442         (mipsisa64sr71k-*-elf*): Likewise.
10443         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10444         (mips-*-elf*, mipsel-*-elf*): Likewise.
10445         (mips64-*-elf*, mips64el-*-elf*): Likewise.
10446         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10447         (mips*-*-rtems*): Likewise.
10448         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
10449         to tmake_file.
10450         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
10451         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
10452         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
10453         (spu-*-elf*): Likewise.
10454         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
10456 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10458         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
10459         $(srcdir) to refer to $(LIB1ASMSRC).
10460         Use $<.
10461         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
10462         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
10463         config/arm/lib1funcs.S: New files.
10464         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
10465         * config/arm/t-arm: New file.
10466         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
10467         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
10468         config/arm/t-strongarm-elf: New files.
10469         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
10470         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
10471         * config/avr/lib1funcs.S: New file.
10472         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10473         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
10474         * config/c6x/lib1funcs.S: New file.
10475         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10476         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
10477         * config/frv/lib1funcs.S: New file.
10478         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10479         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
10480         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
10481         * config/ia64/__divxf3.asm: Rename to ...
10482         * config/ia64/__divxf3.S: ... this.
10483         Adapt lib1funcs.asm filename.
10484         * config/ia64/_fixtfdi.asm: Rename to ...
10485         * config/ia64/_fixtfdi.S: ... this.
10486         Adapt lib1funcs.asm filename.
10487         * config/ia64/_fixunstfdi.asm: Rename to ...
10488         * config/ia64/_fixunstfdi.S: ... this.
10489         Adapt lib1funcs.asm filename.
10490         * config/ia64/_floatditf.asm: Rename to ...
10491         * config/ia64/_floatditf.S: ... this.
10492         Adapt lib1funcs.asm filename.
10493         * config/ia64/lib1funcs.S: New file.
10494         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
10495         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10496         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
10497         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
10498         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
10499         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
10500         * config/mep/lib1funcs.S: New file.
10501         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10502         * config/mips/mips16.S: New file.
10503         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10504         * config/pa/milli64.S: New file.
10505         * config/pa/t-linux, config/pa/t-linux64: New files.
10506         * config/picochip/lib1funcs.S: New file.
10507         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10508         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
10509         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
10510         * config/sh/t-netbsd: New file.
10511         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
10512         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
10513         * config/sh/t-sh64: New file.
10514         * config/sparc/lb1spc.S: New file.
10515         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
10516         filename.
10517         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
10518         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
10519         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
10520         config/xtensa/lib1funcs.S: New files.
10521         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10522         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
10523         tmake_file.
10524         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
10525         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
10526         (arm*-*-linux*): Likewise.
10527         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
10528         arm*-*-linux-*eabi, add arm/t-linux otherwise.
10529         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
10530         (arm*-*-ecos-elf): Likewise.
10531         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10532         (arm*-*-rtems*): Likewise.
10533         (arm*-*-elf): Likewise.
10534         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
10535         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
10536         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
10537         (bfin*-uclinux*): Likewise.
10538         (bfin*-linux-uclibc*): Likewise.
10539         (bfin*-rtems*): Likewise.
10540         (bfin*-*): Likewise.
10541         (fido-*-elf): Merge into m68k-*-elf*.
10542         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
10543         (frv-*-*linux*): Add frv/t-frv to tmake_file.
10544         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
10545         (h8300-*-elf*): Likewise.
10546         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
10547         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
10548         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
10549         (i[34567]86-*-mingw*): Likewise.
10550         (x86_64-*-mingw*): Likewise.
10551         (i[34567]86-*-interix3*): Likewise.
10552         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
10553         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
10554         (m68k-*-elf*): Also handle fido-*-elf.
10555         Add m68k/t-floatlib to tmake_file.
10556         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
10557         (m68k-*-linux*): Likewise.
10558         (m68k-*-rtems*): Likewise.
10559         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
10560         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
10561         sh64*-*-*.
10562         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
10563         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
10564         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
10565         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
10566         sh/t-netbsd to tmake_file.
10567         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
10568         (sh-*-rtems*): Add sh/t-sh to tmake_file.
10569         (sh-wrs-vxworks): Likewise.
10570         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
10571         *-leon[3-9]*.
10572         (v850*-*-*): Add v850/t-v850 to tmake_file.
10573         (vax-*-linux*): Add vax/t-linux to tmake_file.
10574         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
10576 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10578         * crtstuff.c: New file.
10579         * Makefile.in (CRTSTUFF_CFLAGS): Define.
10580         (CRTSTUFF_T_CFLAGS): Define.
10581         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
10582         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
10583         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
10584         crtstuff.c.
10585         Use $<.
10586         (crtbeginT.o): Use $(objext).
10587         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
10588         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
10589         (gcc-extra-parts): Remove.
10590         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
10591         Set extra_parts.
10592         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10593         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
10594         Add t-crtstuff-pic to tmake_file.
10595         (*-*-lynxos*): New case.
10596         Set tmake_file, extra_parts.
10597         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
10598         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
10599         *-*-netbsdelf[2-9]*.
10600         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
10601         (*-*-rtems*): Set extra_parts.
10602         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
10603         (*-*-uclinux*): New case.
10604         Set extra_parts.
10605         (*-*-vms*): New case.
10606         Set tmake_file, extra_parts.
10607         (*-*-elf): Set extra_parts.
10608         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
10609         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
10610         vms/t-vms64.
10611         Set extra_parts.
10612         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
10613         Set extra_parts.
10614         (arm*-*-freebsd*): Add t-crtin to tmake_file.
10615         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
10616         (arm-wrs-vxworks): Append to tmake_file.
10617         Set extra_parts.
10618         (arm*-*-uclinux*): Set extra_parts.
10619         (arm*-*-ecos-elf): Likewise.
10620         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
10621         arm*-*-eabi*.
10622         (arm*-*-rtems*): Set extra_parts.
10623         (arm*-*-elf): Likewise.
10624         (avr-*-rtems*): Clear extra_parts.
10625         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
10626         Set extra_parts.
10627         (bfin*-uclinux*): Likewise.
10628         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
10629         (bfin*-rtems*): Append to tmake_file.
10630         Set extra_parts.
10631         (bfin*-*): Likewise.
10632         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
10633         (crisv32-*-elf): ... this.
10634         (crisv32-*-none): ... this.
10635         (cris-*-elf, cris-*-none): New cases.
10636         Add cris/t-elfmulti to tmake_file.
10637         (fr30-*-elf): Append to tmake_file.
10638         Set extra_parts.
10639         (frv-*-elf): Append to tmake_file, add frv/t-frv.
10640         Set extra_parts.
10641         (h8300-*-rtems*): Append to tmake_file.
10642         Set extra_parts.
10643         (h8300-*-elf*): Likewise.
10644         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
10645         Set extra_parts.
10646         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
10647         Set extra_parts.
10648         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
10649         (x86_64-*-elf*): Likewise.
10650         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
10651         (x86_64-*-freebsd*): Likewise.
10652         (x86_64-*-netbsd*): Likewise.
10653         (i[34567]86-*-linux*): Likewise.
10654         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10655         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10656         (x86_64-*-linux*): Likewise.
10657         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10658         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
10659         tmake_file.
10660         Set extra_parts.
10661         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
10662         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
10663         Append to extra_parts, remove crtbegin.o, crtend.o.
10664         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
10665         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
10666         crtend.o, crtbeginS.o, crtendS.o.
10667         (ia64*-*-linux*): Comment extra_parts.
10668         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
10669         Set extra_parts.
10670         (iq2000*-*-elf*): Clear extra_parts.
10671         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
10672         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
10673         (m32r-*-elf*, m32r-*-rtems*): Split off ...
10674         (m32r-*-rtems*): ... this.
10675         Add m32r/t-m32r to tmake_file.
10676         (m68k-*-elf*): Add t-crtin to tmake_file.
10677         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
10678         (mcore-*-elf): Likewise.
10679         (microblaze*-*-*): Set extra_parts.
10680         (mips*-sde-elf*): New case.
10681         Set tmake_file, extra_parts.
10682         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10683         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10684         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
10685         tmake_file.
10686         Set extra_parts.
10687         (mipsisa64sr71k-*-elf*): Likewise.
10688         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10689         (mips-*-elf*, mipsel-*-elf*): Likewise.
10690         (mips64-*-elf*, mips64el-*-elf*): Likewise.
10691         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
10692         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
10693         (mips*-*-rtems*): Likewise.
10694         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
10695         (moxie-*-*): Split into ...
10696         (moxie-*-elf, moxie-*-uclinux*): ... this.
10697         Add to extra_parts, remove crtbegin.o, crtend.o.
10698         (moxie-*-rtems*): New case.
10699         Set tmake_file.
10700         Clear extra_parts.
10701         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
10702         Set extra_parts.
10703         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10704         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
10705         tmake_file.
10706         Set extra_parts.
10707         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
10708         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
10709         Set extra_parts.
10710         (powerpc-*-eabisim*): Likewise.
10711         (powerpc-*-elf*): Likewise.
10712         (powerpc-*-eabialtivec*): Likewise.
10713         (powerpc-xilinx-eabi*): Likewise.
10714         (powerpc-*-eabi*): Likewise.
10715         (powerpc-*-rtems*): Likewise.
10716         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
10717         tmake_file.
10718         Set extra_parts.
10719         (powerpc-*-lynxos*): Add to tmake_file.
10720         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
10721         rs6000/t-crtstuff, t-crtstuff-pic.
10722         Set extra_parts.
10723         (powerpcle-*-eabisim*): Likewise.
10724         (powerpcle-*-eabi*): Likewise.
10725         (rx-*-elf): Remove extra_parts.
10726         (s390x-ibm-tpf*): Set extra_parts.
10727         (score-*-elf): Set extra_parts.
10728         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10729         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10730         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10731         (sh64l*-*-netbsd*): Split into ...
10732         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
10733         Add t-crtstuff-pic to tmake_file.
10734         Set extra_parts.
10735         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
10736         Set extra_parts.
10737         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
10738         (sparc-*-elf*): Remove t-crtin from tmake_file.
10739         Add to extra_parts, remove crtbegin.o, crtend.o.
10740         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
10741         (sparc64-*-linux*): Likewise.
10742         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
10743         Add to extra_parts, remove crtbegin.o, crtend.o.
10744         (sparc64-*-elf*): Remove t-crtin from tmake_file.
10745         Add to extra_parts, remove crtbegin.o, crtend.o.
10746         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
10747         Add to extra_parts, remove crtbegin.o, crtend.o.
10748         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
10749         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
10750         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
10751         Set extra_parts.
10752         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
10753         Set extra_parts.
10754         (tic6x-*-*): Change to ...
10755         (tic6x-*-elf): ... this.
10756         Set extra_parts.
10757         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
10758         Set extra_parts.
10759         (am33_2.0-*-linux*): Add comment.
10760         (mep*-*-*): Add mep/t-mep to tmake_file.
10761         Set extra_parts.
10762         * config/alpha/t-vms: New file.
10763         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
10764         * config/arm/crti.S, config/arm/crtn.S: New files.
10765         * config/bfin/crti.S, config/bfin/crtn.S: New files.
10766         * config/bfin/crtlibid.S: New file.
10767         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
10768         * config/c6x/crti.S, config/c6x/crtn.S: New files.
10769         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
10770         (crti.o, crtin.o): New rules.
10771         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10772         * config/c6x/t-uclinux: New file.
10773         * config/cris/t-elfmulti: New file.
10774         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
10775         * config/fr30/crti.S, config/fr30/crtn.S: New files.
10776         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
10777         * config/frv/t-frv: New file.
10778         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
10779         * config/h8300/crti.S, config/h8300/crtn.S: New files.
10780         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
10781         New files.
10782         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
10783         refer to cygming-crtbegin.c, cygming-crtend.c.
10784         Use $<.
10785         * config/i386/t-nto: New file.
10786         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
10787         * config/ia64/crti.S, config/ia64/crtn.S: New files.
10788         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
10789         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
10790         Use .S extension.
10791         Use $<.
10792         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10793         (crtinitS.o): New rule.
10794         * config/ia64/vms-crtinit.S: New file.
10795         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
10796         * config/m32r/initfini.c: New file.
10797         * config/m32r/t-linux, config/m32r/t-m32r: New files.
10798         * config/m68k/crti.S, config/m68k/crtn.S: New files.
10799         * config/mcore/crti.S, config/mcore/crtn.S: New files.
10800         * config/mep/t-mep: New file.
10801         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
10802         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
10803         * config/mips/crti.S, config/mips/crtn.S: New files.
10804         * config/mips/t-crtstuff: New file.
10805         * config/mmix/crti.S, config/mmix/crtn.S: New files.
10806         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
10807         (CUSTOM_CRTIN): Set.
10808         ($(T)crti.o, $(T)crtn.o): Remove $(T),
10809         dependencies.
10810         Use $(srcdir) to refer to crti.S, crtn.S.
10811         Use .S extension, $<.
10812         * config/moxie/crti.asm: Rename to ...
10813         * config/moxie/crti.S: ... this.
10814         * config/moxie/crtn.asm: Rename to ...
10815         * config/moxie/crtn.S: ... this.
10816         * config/moxie/t-moxie: Remove.
10817         * config/pa/stublib.c: New file.
10818         * config/pa/t-stublib, config/pa/t-stublib64: New files.
10819         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
10820         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
10821         * config/rs6000/t-crtstuff: New file.
10822         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
10823         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
10824         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
10825         Make output file explicit.
10826         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
10827         Make output file explicit.
10828         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
10829         Make output file explicit.
10830         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
10831         Make output file explicit.
10832         * config/score/crti.S, config/score/crtn.S: New files.
10833         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
10834         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
10835         files.
10836         * config/sh/t-sh, config/sh/t-superh: New files.
10837         * config/sparc/t-linux64: New file.
10838         * config/spu/cache.S, config/spu/cachemgr.c: New files.
10839         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
10840         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
10841         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
10842         * config/t-crtin: Remove.
10843         * config/t-crtstuff-pic: New file.
10844         * config/t-sol2 (CUSTOM_CRTIN): Set.
10845         (crti.o, crtn.o): New rules.
10846         * config/vms/t-vms: New file.
10847         * config/vms/vms-ucrt0.c: New file.
10848         * config/xtensa/t-elf: New file.
10850 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10852         * Makefile.in (SHLIB_NM_FLAGS): Set.
10853         * mkmap-flat.awk, mkmap-symver.awk: New files.
10854         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
10855         exceptions.
10856         * configure: Regenerate.
10857         * config/libgcc-glibc.ver: New file.
10858         * config/libgcc-libsystem.ver: New file.
10859         * config/t-libunwind (SHLIB_LC): Set.
10860         * config/t-linux: New file.
10861         * config/t-slibgcc (INSTALL_SHLIB): New.
10862         (SHLIB_INSTALL): Use it.
10863         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
10864         to mkmap-symver.awk.
10865         (SHLIB_MAPFILES): Don't append, adapt pathname.
10866         (SHLIB_VERPFX): Set.
10867         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
10868         to mkmap-symver.awk.
10869         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
10870         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
10871         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
10872         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
10873         to mkmap-flat.awk.
10874         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
10875         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
10876         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
10877         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
10878         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
10879         * config/i386/libgcc-darwin.10.4.ver,
10880         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
10881         New files.
10882         * config/i386/t-darwin: Remove.
10883         * config/i386/t-darwin64: Likewise.
10884         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
10885         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
10886         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
10887         * config/i386/t-linux: New file.
10888         * config/i386/t-mingw32: New file.
10889         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
10890         * config/ia64/t-glibc: Rename to ...
10891         * config/ia64/t-linux: ... this.
10892         (SHLIB_MAPFILES): Set.
10893         * config/ia64/t-glibc-libunwind: Rename to ...
10894         * config/ia64/t-linux-libunwind: ... this.
10895         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
10896         * config/ia64/t-slibgcc-hpux: New file.
10897         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
10898         * config/m68k/t-slibgcc-elf-ver: New file.
10899         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
10900         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
10901         to mkmap-flat.awk.
10902         * config/pa/t-slibgcc-hpux: New file.
10903         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
10904         files.
10905         * config/rs6000/libgcc-darwin.10.4.ver,
10906         config/rs6000/libgcc-darwin.10.5.ver: New files.
10907         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
10908         config/rs6000/libgcc-glibc.ver.
10909         * config/rs6000/libgcc-ppc64.ver: Rename to
10910         config/rs6000/libgcc-ibm-ldouble.ver.
10911         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
10912         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
10913         * config/rs6000/t-ldbl128: Rename to ...
10914         * config/rs6000/t-linux: ... this.
10915         (SHLIB_MAPFILES): Adapt filename.
10916         * config/rs6000/t-slibgcc-aix: New file.
10917         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
10918         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
10919         libgcc-excl.ver, libgcc-glibc.ver.
10920         (SHLIB_LINK, SHLIB_INSTALL): Remove.
10921         * config/sparc/libgcc-glibc.ver: New file.
10922         * config/sparc/t-linux: New file.
10923         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
10924         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
10925         t-slibgcc-elf-ver to tmake_file.
10926         Add t-slibgcc-nolc-override to tmake_file for posix threads on
10927         *-*-freebsd[34].
10928         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10929         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
10930         t-slibgcc-elf-ver, t-linux to tmake_file.
10931         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
10932         tmake_file.
10933         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
10934         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
10935         (alpha*-dec-*vms*): Likewise.
10936         (arm*-*-freebsd*): Append to tmake_file.
10937         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
10938         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
10939         arm*-*-linux-*eabi.
10940         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
10941         tmake_file for arm*-*-symbianelf*.
10942         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
10943         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
10944         cris/t-linux.
10945         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
10946         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
10947         pa/t-slibgcc-dwarf-ver to tmake_file.
10948         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
10949         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
10950         (hppa*64*-*-hpux11*): Likewise.
10951         (hppa[12]*-*-hpux11*): Likewise.
10952         (x86_64-*-darwin*): Don't override tmake_file, but only keep
10953         i386/t-crtpc, i386/t-crtfm.
10954         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
10955         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10956         to tmake_file.
10957         Add i386/t-cygwin to tmake_file.
10958         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
10959         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
10960         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10961         to tmake_file.
10962         Add i386/t-mingw32 to tmake_file.
10963         (x86_64-*-mingw*): Likewise.
10964         (ia64*-*-freebsd*): Append to tmake_file.
10965         (ia64*-*-linux*): Append to tmake_file.
10966         Replace ia64/t-glibc by ia64/t-linux.
10967         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
10968         system libunwind.
10969         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
10970         t-slibgcc-hpux to tmake_file.
10971         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
10972         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
10973         (m32rle-*-linux*): Likewise.
10974         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
10975         sjlj exceptions.
10976         (microblaze*-linux*): New case.
10977         Append to tmake_file, add t-slibgcc-nolc-override.
10978         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
10979         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10980         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
10981         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10982         rs6000/t-slibgcc-aix to tmake_file.
10983         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10984         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10985         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10986         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10987         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10988         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
10989         sh*-*-linux*.
10990         (sparc-*-linux*): Append to tmake_file for *-leon*.
10991         Add sparc/t-linux to tmake_file for non-Leon targets.
10992         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
10993         (tic6x-*-uclinux): New case.
10994         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
10995         (tic6x-*-*): Add c6x/t-elf to tmake_file.
10996         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
10997         (am33_2.0-*-linux*): Append to tmake_file.
10998         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
10999         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
11000         x86_64-*-kfreebsd*-gnu.
11001         Add i386/t-linux to tmake_file.
11003 2011-10-28  Ian Lance Taylor  <iant@google.com>
11005         * config/i386/morestack.S: Correct CFI information to do proper
11006         returns throughout function.  In 32-bit mode, save %ebx so that it
11007         is restored on unwind.
11009 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
11011         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
11012         case where B3 isn't the return register.
11014         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
11015         logic for doubleword pops.
11017 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
11019         * config/rs6000/t-freebsd: Add wildcard.
11021 2011-10-21  Paul Brook  <paul@codesourcery.com>
11023         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
11025 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
11026             Eric Botcazou  <ebotcazou@adacore.com>
11028         PR target/50737
11029         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
11030         fs->signal_frame to 1.
11032 2011-10-07  Ian Lance Taylor  <iant@google.com>
11034         * generic-morestack-thread.c: #include <errno.h>.
11036 2011-10-07  Ian Lance Taylor  <iant@google.com>
11038         PR target/46093
11039         * generic-morestack.c (__generic_morestack): Make sure the segment
11040         is large enough for both the stack frame and the copied
11041         parameters.
11043 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11045         PR bootstrap/49804
11046         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
11047         extra_parts.
11049 2011-09-28  Nick Clifton  <nickc@redhat.com>
11051         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
11052         64-bit doubles are not enabled.
11053         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
11054         and floatunsisf functions.
11056 2011-09-13  Paul Brook  <paul@codesourcery.com>
11058         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
11059         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
11060         * unwind-arm-common.inc: New file.
11061         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
11062         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
11063         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
11064         * config/c6x/libunwind.S: New file.
11065         * config/c6x/pr-support.c: New file.
11066         * config/c6x/unwind-c6x.c: New file.
11067         * config/c6x/unwind-c6x.h: New file.
11068         * config/c6x/t-c6x-elf: New file.
11070 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
11072         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
11073         (ASM_DIVZERO): Ditto.
11074         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
11076 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
11078         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
11080 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
11082         PR target/50090
11083         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
11084         instead of an assembly one.
11086 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
11088         PR bootstrap/50047
11089         * Makefile.in (install-unwind_h): Create
11090         $(gcc_objdir)/include/unwind.h atomically.
11092 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11094         * Makefile.in (install-unwind_h): Remove destination file first.
11096 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11098         * sync.c: New file.
11099         * config/mips/t-mips16: New file.
11100         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
11101         (mips*-*-linux*): Likewise.
11102         (mips*-sde-elf*): Likewise.
11103         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
11104         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
11105         Add mips/t-mips16 to tmake_file.
11106         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
11107         (mips-*-elf*): Likewise.
11108         (mips64-*-elf*): Likewise.
11109         (mips64orion-*-elf*): Likewise.
11110         (mips*-*-rtems*): Likewise.
11111         (mipstx39-*-elf*): Likewise.
11112         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
11113         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
11114         LIBGCC_SYNC_CFLAGS.
11115         Use $(srcdir) to refer to sync.c.
11116         Use $<.
11117         ($(libgcc-sync-funcs-o)): Likewise.
11118         ($(libgcc-sync-size-funcs-s-o)): Likewise.
11119         ($(libgcc-sync-funcs-s-o)): Likewise.
11121 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
11123         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
11124         t-libunwind.
11126 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
11128         PR other/48007
11129         * config/i386/value-unwind.h: New.
11131 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
11133         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
11134         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
11135         Add to tmake_file rather than overriding it.
11137 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11139         * config/t-softfp: Remove.
11140         * soft-fp: Moved from ../gcc/config.
11141         * soft-fp/README: Remove t-softfp reference.
11142         * soft-fp/t-softfp: Move to config/t-softfp.
11143         (softfp_machine_header): Remove.
11144         (softfp_file_list): Remove config subdir.
11145         (soft-fp-objects): New variable.
11146         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
11147         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
11148         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
11149         * config/t-softfp-excl: New file.
11150         * config/t-softfp-sfdf: New file.
11151         * config/t-softfp-tf: New file.
11152         * config/no-sfp-machine.h: New file.
11153         * config/arm/sfp-machine.h: New file.
11154         * config/arm/t-softfp: New file.
11155         * config/c6x/sfp-machine.h: New file.
11156         * config/i386/32/t-fprules-softfp: Rename to ...
11157         * config/i386/32/t-softfp: ... this.
11158         (tifunctions, LIB2ADD): Remove.
11159         (softfp_int_modes): Override.
11160         * config/i386/64/t-softfp-compat (tf-functions): Remove config
11161         subdir.
11162         * config/i386/64/eqtf2.c: Likewise.
11163         * config/i386/64/getf2.c: Likewise.
11164         * config/i386/64/letf2.c: Likewise.
11165         * config/ia64/sft-machine.h: New file.
11166         * config/ia64/t-fprules-softfp: Rename to ...
11167         * config/ia64/t-softfp: ... this.
11168         * config/lm32/sfp-machine.h: New file.
11169         * config/moxie/t-moxie-softfp: Remove.
11170         * config/rs6000/ibm-ldouble-format: New file.
11171         * config/rs6000/ibm-ldouble.c: New file.
11172         * config/rs6000/libgcc-ppc-glibc.ver: New file
11173         * config/rs6000/libgcc-ppc64.ver: New file
11174         * config/rs6000/sfp-machine.h: New file.
11175         * config/rs6000/t-freebsd: New file.
11176         * config/rs6000/t-ibm-ldouble: New file.
11177         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
11178         libgcc-ppc-glibc.ver.
11179         * config/rs6000/t-linux64: New file.
11180         * config/rs6000/t-ppccomm (LIB2ADD): Add
11181         $(srcdir)/config/rs6000/ibm-ldouble.c.
11182         * config/rs6000/t-ppccomm-ldbl: New file.
11183         * config/score/sfp-machine.h: New file.
11184         * config.host (sfp_machine_header): Explain.
11185         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
11186         t-softfp to tmake_file.
11187         (arm*-*-uclinux*): Likewise.
11188         (arm*-*-ecos-elf): Likewise.
11189         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11190         (arm*-*-rtems*): Likewise.
11191         (arm*-*-elf): Likewise.
11192         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
11193         in tmake_file.
11194         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
11195         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
11196         (lm32-*-uclinux*): Likewise.
11197         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
11198         t-softfp-excl, t-softfp.
11199         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
11200         (powerpc64-*-darwin*): Likewise.
11201         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
11202         to tmake_file.
11203         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
11204         tmake_file.
11205         (powerpc-*-eabisim*): Likewise.
11206         (powerpc-*-elf*): Likewise.
11207         (powerpc-*-eabialtivec*): Likewise.
11208         (powerpc-xilinx-eabi*): Likewise.
11209         (powerpc-*-rtems*): Likewise.
11210         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
11211         t-softfp-excl, t-softfp to tmake_file.
11212         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
11213         rs6000/t-ppccomm-ldbl to tmake_file.
11214         (powerpcle-*-elf*): Likewise.
11215         (powerpcle-*-eabisim*): Likewise.
11216         (powerpcle-*-eabi*): Likewise.
11217         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11218         rs6000/t-ibm-ldouble to tmake_file.
11219         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11220         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11221         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
11222         (tic6x-*-*): Likewise.
11223         (i[34567]86-*-darwin*, x86_64-*-darwin*,
11224         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
11225         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
11226         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
11227         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
11228         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
11229         t-softfp to tmake_file.
11230         * configure.ac (sfp_machine_header): Provide default if unset.
11231         Substitute.
11232         Link sfp-machine.h to config/$sfp_machine_header.
11233         * configure: Regenerate.
11235 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11237         * Makefile.in (double_type_size, long_double_type_size): Set.
11238         Remove $(fpbit-in-libgcc) support.
11239         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
11240         (fpbit-src): New variable.
11241         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
11242         Compile with -DFLOAT $(FPBIT_CFLAGS).
11243         Use $<.
11244         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
11245         Compile with $(FPBIT_CFLAGS).
11246         Use $<.
11247         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
11248         Compile with -DFLOAT $(TPBIT_CFLAGS).
11249         Use $<.
11250         * configure.ac (double_type_size, long_double_type_size):
11251         Determine and substitute.
11252         * configure: Regenerate.
11253         * fp-bit.c, fp-bit.h: New files.
11254         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
11255         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
11256         * config/mips/t-mips: New file.
11257         * config/mips/t-sdemtk: New file.
11258         * config/rs6000/ppc64-fp.c: New file.
11259         * config/rs6000/t-darwin (LIB2ADD): Add
11260         $(srcdir)/config/rs6000/ppc64-fp.c.
11261         * config/rs6000/t-ppc64-fp: New file.
11262         * config/rx/rx-lib.h: New file.
11263         * config/rx/t-rx (FPBIT): Set to true.
11264         ($(gcc_objdir)/fp-bit.c): Remove.
11265         (DPBIT): Set to true only with -m64bit-doubles.
11266         ($(gcc_objdir)/dp-bit.c): Remove.
11267         * config/sparc/t-softfp: Remove.
11268         * config/spu/t-elf: New file.
11269         * config/t-fdpbit, config/t-fpbit: New files.
11270         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
11271         (mips*-*-*): Likewise.
11272         (arm-wrs-vxworks): Likewise.
11273         (arm*-*-freebsd*): Likewise.
11274         (avr-*-rtems*): Add t-fpbit to tmake_file.
11275         (avr-*-*): Likewise.
11276         (bfin*-elf*): Add t-fdpbit to tmake_file.
11277         (bfin*-uclinux*): Likewise.
11278         (bfin*-linux-uclibc*): Likewise.
11279         (bfin*-rtems*): New case.
11280         Add t-fdpbit to tmake_file.
11281         (bfin*-*): Add t-fdpbit to tmake_file.
11282         (crisv32-*-elf): Likewise.
11283         (cris-*-linux*): Likewise.
11284         (fr30-*-elf): Likewise.
11285         (frv-*-elf, frv-*-*linux*): Likewise.
11286         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
11287         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
11288         (m32r-*-elf*): Likewise.
11289         (m32rle-*-elf*): Likewise.
11290         (m32r-*-linux*): Likewise.
11291         (m32rle-*-linux*): Likewise.
11292         (mcore-*-elf): Add t-fdpbit to tmake_file.
11293         (microblaze*-*-*): Likewise.
11294         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
11295         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
11296         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
11297         Fix typo.
11298         Add mips/t-tpbit to tmake-file.
11299         (mips*-*-linux*): Fix typo.
11300         (mips*-sde-elf*): New case
11301         Add mips/t-sdemtk unless using newlib.
11302         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
11303         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
11304         (mn10300-*-*): Likewise.
11305         (pdp11-*-*): Likewise.
11306         (picochip-*-*): Add t-fpbit to tmake_file.
11307         (powerpc-*-eabisimaltivec*): Likewise.
11308         (powerpc-*-eabisim*): Likewise.
11309         (powerpc-*-elf*): Likewise.
11310         (powerpc-*-eabialtivec*): Likewise.
11311         (powerpc-xilinx-eabi*): New case.
11312         Add t-fdpbit to tmake_file.
11313         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
11314         (powerpc-*-rtems*): Likewise.
11315         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
11316         tmake_file.
11317         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
11318         tmake_file.
11319         (powerpc-*-lynxos*): Likewise.
11320         (powerpcle-*-elf*): Likewise.
11321         (powerpcle-*-eabisim*): Likewise.
11322         (powerpcle-*-eabi*): Likewise.
11323         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11324         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
11325         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11326         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11327         (rx-*-elf): Add t-fdpbit to tmake_file.
11328         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11329         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11330         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11331         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
11332         sh*-*-netbsd*.
11333         (sh-*-rtems*): Add t-fdpbit to tmake_file.
11334         (sh-wrs-vxworks): Likewise.
11335         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
11336         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
11337         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
11338         (sparc64-*-rtems*): ... new case.
11339         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
11340         (spu-*-elf*): Likewise.
11341         Add spu/t-elf to tmake_file.
11342         (v850*-*-*): Add t-fdpbit to tmake_file.
11343         (xstormy16-*-elf): Likewise.
11344         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
11345         (mep*-*-*): Likewise.
11347 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11349         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
11350         variables.
11351         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
11352         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
11353         (install-unwind_h): New target.
11354         (all): Depend on it.
11355         * config.host (unwind_header): New variable.
11356         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
11357         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11358         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
11359         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
11360         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
11361         Set unwind_header.
11362         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
11363         Set unwind_header.
11364         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
11365         arm*-*-eabi*.
11366         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
11367         Set unwind_header.
11368         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
11369         (ia64*-*-freebsd*): Likewise.
11370         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
11371         tmake_file.
11372         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
11373         $with_system_libunwind.
11374         (ia64*-*-hpux*): Set tmake_file.
11375         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
11376         (picochip-*-*): Set tmake_file.
11377         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
11378         md_unwind_header.
11379         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11380         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11381         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
11382         (xtensa*-*-elf*): Set tmake_file.
11383         (xtensa*-*-linux*): Likewise.
11384         * configure.ac: Include ../config/unwind_ipinfo.m4.
11385         Call GCC_CHECK_UNWIND_GETIPINFO.
11386         Link unwind.h to $unwind_header.
11387         * configure: Regenerate.
11388         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
11389         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
11390         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
11391         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
11392         * config/unwind-dw2-fde-darwin.c: New file.
11393         * config/arm/libunwind.S, config/arm/pr-support.c,
11394         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
11395         config/arm/unwind-arm.h,: New files.
11396         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
11397         config/ia64/t-eh-ia64, config/ia64/t-glibc,
11398         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
11399         config/ia64/t-vms, config/ia64/unwind-ia64.c,
11400         config/ia64/unwind-ia64.h: New files.
11401         * config/picochip/t-picochip: New file.
11402         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
11403         files.
11404         * config/rs6000/t-darwin (LIB2ADDEH): Set.
11405         * config/s390/t-tpf (LIB2ADDEH): Remove.
11406         * config/t-darwin (LIB2ADDEH): Set.
11407         * config/t-eh-dw2-dip: New file.
11408         * config/t-libunwind, config/t-libunwind-elf: New files.
11409         * config/t-sol2 (LIB2ADDEH): Remove.
11410         * config/xtensa/t-xtensa: New file.
11412 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
11414         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
11415         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
11416         long long to check rt_sigreturn syscall.
11418 2011-08-02  Alan Modra  <amodra@gmail.com>
11420         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11421         Restore for indirect call bcrtl from correct stack slot, and only
11422         if cfa+40 isn't valid.
11424 2011-08-01  Julian Brown  <julian@codesourcery.com>
11426         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
11427         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
11428         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
11430 2011-08-01  Julian Brown  <julian@codesourcery.com>
11432         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
11433         (libgcc-std.ver.in): Use above.
11434         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
11435         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
11436         throughout file.
11437         * config/t-fixedpoint-gnu-prefix: New file.
11438         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
11439         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
11440         instead of __PFX__.
11442 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
11444         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
11445         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
11446         for x86-64.  Properly check __x86_64__ and __LP64__.
11448 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
11450         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
11451         version.
11452         (_FP_WS_TYPE): Likewise.
11453         (_FP_I_TYPE): Likewise.
11455 2011-07-28  Alan Modra  <amodra@gmail.com>
11457         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11458         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
11459         in a plt call stub.  Do restore r2 if stopped on bctrl.
11461 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11463         * config.host (i[3456x]86-*-netware*): Remove.
11464         * config/i386/netware-crt0.c, config/i386/t-nwld,
11465         config/i386/t-slibgcc-nwld: Remove.
11467 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
11469         * config.host: Handle tic6x-*-*.
11470         * config/c6x/c6x-abi.h: New file.
11472 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11474         * config/i386/crtprec.c: New file.
11475         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
11476         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
11477         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
11478         (x86_64-*-darwin*): Likewise.
11479         (i[34567]86-*-solaris2*: Likewise.
11481 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11483         * config/alpha/crtfastmath.c: New file.
11484         * config/i386/crtfastmath.c: New file.
11485         * config/ia64/crtfastmath.c: New file.
11486         * config/mips/crtfastmath.c: New file.
11487         * config/sparc/crtfastmath.c: New file.
11489         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
11490         crtfastmath.c.
11491         Add -frandom-seed=gcc-crtfastmath.
11492         * config/alpha/t-crtfm: Remove.
11493         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
11494         * config/ia64/t-ia64 (crtfastmath.o): Remove.
11496         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
11497         (alpha*-dec-osf5.1*): Likewise.
11498         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
11499         Add crtfastmath.o to extra_parts.
11500         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
11501         Add crtfastmath.o to extra_parts.
11502         (x86_64-*-darwin*): Likewise.
11503         (x86_64-*-mingw*): Likewise.
11504         (ia64*-*-elf*): Add t-crtfm to tmake_file.
11505         (ia64*-*-freebsd*): Likewise.
11506         (ia64*-*-linux*): Likewise.
11507         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
11508         Add crtfastmath.o to extra_parts.
11510 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11512         * config/darwin-crt3.o: New file.
11513         * config/rs6000/darwin-crt2.c: New file.
11514         * config/t-darwin: New file.
11515         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
11516         (crt2.o): New rule.
11517         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
11518         (powerpc-*-darwin*): Add crt2.o to extra_parts.
11519         (powerpc64-*-darwin*): Likewise.
11521 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11523         * config/i386/netware-crt0.c: New file.
11524         * config/i386/t-nwld: Rename to ...
11525         * config/i386/t-slibgcc-nwld: ... this.
11526         * config/i386/t-nwld: New file.
11527         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
11528         tmake_file.
11529         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
11530         extra_parts.
11532 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11534         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
11535         i386/t-crtstuff.
11536         * configure: Regenerate.
11538 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11540         * dfp-bit.c, dfp-bit.h: New files.
11541         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
11542         variables.
11543         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
11544         ($(d64pbit-o)): Likewise.
11545         ($(d128pbit-o)): Likewise.
11546         * config/t-dfprules: New file.
11547         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
11548         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
11549         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11550         (x86_64-*-linux*): Likewise.
11551         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11552         (i[34567]86-*-cygwin*): Likewise.
11553         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
11554         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11556 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11558         * Makfile.in (LIBGCOV): New variable.
11559         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
11560         * libgcov.c: New file.
11562 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11564         * fixed-bit.c, fixed-bit.h: New files.
11565         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
11566         refer to fixed-bit.c.
11568 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
11570         * config.host (*local*): Remove.
11572 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11574         PR target/39150
11575         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
11576         like i?86-*-solaris2.1[0-9]*.
11577         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
11578         * configure.ac (i?86-*-solaris2*): Likewise.
11579         * configure: Regenerate.
11581 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
11583         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11584         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
11585         md_unwind_header by splitting out of...
11586         (i[34567]86-*-linux*): ... this.
11587         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
11588         Remove md_unwind_header by splitting out of...
11589         (x86_64-*-linux*): ... this.
11591 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
11593         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
11595 2011-06-28  Nick Clifton  <nickc@redhat.com>
11597         * config.host: Recognize all V850 variants.
11599 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
11601         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
11603 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11605         * shared-object.mk (c_flags-$o): Save c_flags.
11606         ($(base)$(objext)): Use it.
11607         ($(base)_s$(objext)): Likewise.
11609 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
11611         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
11612         * libgcc-std.ver.in (GCC_4.7.0): New section.
11614 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
11616         PR target/49313
11617         PR target/29524
11618         * config/avr/t-avr: Fix line endings.
11619         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
11620         _parityXX2.
11622 2011-06-14  Olivier Hainque  <hainque@adacore.com>
11623             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11625         * config/mips/irix6-unwind.h: New file.
11626         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
11628 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
11630         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
11631         (sparc64_fallback_frame_state): Use it.
11632         (sparc64_frob_update_context): Further adjust context.
11633         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
11634         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
11635         * config/sparc/sol2-cn.S: Likewise.
11637 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11639         * enable-execute-stack-empty.c: New file.
11640         * enable-execute-stack-mprotect.c: New file.
11641         * config/i386/enable-execute-stack-mingw32.c: New file.
11642         * config.host (enable_execute_stack): New variable.
11643         Select appropriate variants.
11644         * configure.ac: Link enable-execute-stack.c to
11645         $enable_execute_stack.
11646         * configure: Regenerate.
11647         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
11648         (lib2funcs): Remove _enable_execute_stack.
11650 2011-06-09  David S. Miller  <davem@davemloft.net>
11651             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11653         * config.host (sparc-*-linux*): Correct md_unwind_header
11654         filename.
11655         (s390x-ibm-tpf*): Fix typo.
11657 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11659         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
11660         Add crtfastmath.o to extra_parts.
11661         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
11662         mips/t-crtfm.
11663         * config/mips/t-crtfm: Remove.
11665 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
11667         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
11669 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
11671         * config.host (sh*-*-linux*): Fix typo.
11673 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11675         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
11676         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
11677         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
11678         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
11679         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
11680         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
11681         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
11682         Wrap in !__MINGW64__.
11683         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
11684         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
11685         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
11686         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
11687         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
11688         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
11689         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
11690         Wrap in !__LP64__.
11691         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
11692         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
11693         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
11694         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
11695         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
11696         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
11697         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
11698         * config/no-unwind.h: New file.
11699         * config.host (md_unwind_header): Document.
11700         Define.
11701         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
11702         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
11703         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
11704         hppa[12]*-*-hpux11*): Set md_unwind_header.
11705         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
11706         Set md_unwind_header.
11707         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
11708         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
11709         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
11710         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
11711         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
11712         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
11713         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
11714         md_unwind_header.
11715         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
11716         * configure: Regenerate.
11718 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11720         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
11721         Set tmake_file, extra_parts.
11722         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
11723         Remove O32 support.
11724         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
11725         Remove O32 support.
11726         * config/mips/t-irix6: New file.
11727         * config/mips/t-slibgcc-irix: New file.
11729 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11731         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
11732         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
11734 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11736         * configure.ac (target_thread_file): Determine thread model.
11737         * configure: Regenerate.
11738         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
11739         * config/alpha/t-alpha: New file.
11740         * config/alpha/t-crtfm: Use $<.
11741         * config/alpha/t-ieee: New file.
11742         * config/alpha/t-osf-pthread: New file.
11743         * config/alpha/t-slibgcc-osf: New file.
11744         * config/alpha/libgcc-osf5.ver: New file.
11746 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11748         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
11749         tmake_file.
11750         Add crtfastmath.o to extra_parts.
11752 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11754         * config/gmon-sol2.c: Reindent.
11755         Cleanup comments.
11756         Remove, correct casts.
11757         Use STDERR_FILENO, NULL.
11758         (BASEADDRESS): Remove.
11759         (minbrk): Remove.
11760         (errno, sbrk): Remove declarations.
11761         (monstartup) [hp300]: Remove.
11762         (mcount): Remove.
11764 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11766         * Makefile.in (cpu_type): Define.
11767         * config.host (i[34567]86-*-rtems*): Handle it.
11768         (i[34567]86-*-solaris2*): Move body ...
11769         (*-*-solaris2*): ... here.
11770         New case, generalize.
11771         (sparc-*-elf*): Handle it.
11772         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
11773         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
11774         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
11775         Fold into ...
11776         (sparc*-*-solaris2*): ... this.
11777         New case.
11778         (sparc64-*-elf*): Handle it.
11779         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
11780         Merge ../gcc/config/i386/gmon-sol2.c.
11781         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
11782         Use C comments.
11783         Merge ../gcc/config/i386/sol2-gc1.asm.
11784         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
11785         Use C comments.
11786         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
11787         Use C comments.
11788         * config/i386/t-crtfm (crtfastmath.o): Use $<.
11789         * config/i386/t-crtstuff: New file.
11790         * config/i386/t-softfp: New file.
11791         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
11792         $(T)crti.o, $(T)crtn.o): Remove.
11793         (gcrt1.o): New rule.
11794         (TARGET_LIBGCC2_CFLAGS): Remove.
11795         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
11796         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
11797         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
11798         * config/sparc/t-sol2: New file.
11799         * config/sparc/t-crtfm: Move to ...
11800         * config/t-crtfm: ... this.
11801         Use $(cpu_type), $<.
11802         * config/t-crtin: New file.
11803         * config/sparc/t-softfp: New file.
11804         * config/sparc/t-softmul: New file.
11805         * config/t-rtems: New file.
11806         * config/t-slibgcc: New file.
11807         * config/t-slibgcc-elf-ver: New file.
11808         * config/t-slibgcc-gld: New file.
11809         * config/t-slibgcc-sld: New file.
11810         * config/t-sol2: New file.
11811         * configure.ac: Include ../config/lib-ld.m4.
11812         Call AC_LIB_PROG_LD_GNU.
11813         Substitute cpu_type.
11814         * configure: Regenerate.
11816 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
11818         PR bootstrap/49173
11819         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
11820         libgcc-std.ver in the build directory.
11821         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
11822         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
11824 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
11826         * libgcc-std.ver.in: New file.
11827         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
11828         variables.
11829         (libgcc-std.ver): New rule.
11830         * config/t-gnu-prefix: New file.
11832 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11834         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
11836 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
11838         * config/i386/darwin-lib.h: New file.
11840 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
11842         * config/arm/symbian-lib.h: New.
11844 2011-05-04  Chris Demetriou  <cgd@google.com>
11846         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
11847         (__x86.get_pc_thunk.bx): ...this.
11848         (__morestack): Adjust for rename, remove undef of __i686.
11850 2011-05-03  Chris Demetriou  <cgd@google.com>
11852         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
11854 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
11856         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
11857         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
11858         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
11859         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
11860         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
11861         Remove cases.
11863 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
11865         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
11866         Adjust copyright year.
11868 2011-03-07  Ian Lance Taylor  <iant@google.com>
11870         * generic-morestack.c (__splitstack_find): Adjust returned stack
11871         pointer to include all registers pushed by __morestack.
11873 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
11875         PR target/40125
11876         * configure.ac: Call ACX_NONCANONICAL_TARGET.
11877         (toolexecdir): Calculate and AC_SUBST.
11878         (toolexeclibdir): Likewise.
11879         * Makefile.in (target_noncanonical): Import.
11880         (toolexecdir): Likewise.
11881         (toolexeclibdir): Likewise.
11882         * configure: Regenerate.
11884 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
11886         PR target/46040
11887         * config/arm/bpabi.h: Rename to...
11888         * config/arm/bpabi-lib.h: ...this.
11890 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11892         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
11893         appropriate.
11894         * configure: Regenerate.
11896 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
11898         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
11899         __FLOAT_WORD_ORDER__.
11900         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
11901         Delete.
11903 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11905         PR other/46202
11906         * Makefile.in (install-strip): New phony target.
11908 2010-11-07  Ian Lance Taylor  <iant@google.com>
11910         PR target/46089
11911         * config/i386/morestack.S (__morestack_large_model): New
11912         function.
11914 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
11916         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
11917         Delete.
11918         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
11920 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
11922         * config/arm/bpabi.h: New file.
11923         * config/frv/frv-abi.h: New file.
11925 2010-10-01  Ian Lance Taylor  <iant@google.com>
11927         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
11928         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
11930 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
11932         PR target/45858
11933         * config.host: Add the missing `$'.
11935 2010-09-30  Michael Eager  <eager@eagercon.com>
11937         * config.host: Add microblaze*-*-*.
11938         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
11939         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
11940         udivsi3.asm,umodsi3.asm}:  New.
11942 2010-09-28  Ian Lance Taylor  <iant@google.com>
11944         * configure.ac: Adjust CFI test to test assembler directly rather
11945         than checking gcc preprocessor macro.
11946         * configure: Rebuild.
11948 2010-09-27  Ian Lance Taylor  <iant@google.com>
11950         * configure.ac: Test whether assembler supports CFI directives.
11951         * config.host: Only add t-stack and i386/t-stack-i386 to
11952         tmake_file if libgcc_cv_cfi is "yes".
11953         * configure: Rebuild.
11955 2010-09-27  Ian Lance Taylor  <iant@google.com>
11957         * generic-morestack.h: New file.
11958         * generic-morestack.c: New file.
11959         * generic-morestack-thread.c: New file.
11960         * config/i386/morestack.S: New file.
11961         * config/t-stack: New file.
11962         * config/i386/t-stack-i386: New file.
11963         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
11964         i386/t-stack-i386 to tmake_file.
11966 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
11968         * Makefile.in (libgcc-extra-parts):  Check for static archives and
11969         invoke ranlib after installing them.
11970         (gcc-extra-parts): Likewise.
11971         (install-leaf): Likewise.
11973 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
11975         * configure: Regenerated.
11977 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
11979         * configure: Regenerated.
11981 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
11982             Andrew Pinski  <pinskia@gmail.com>
11984         PR target/40959
11985         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
11987 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
11989         PR target/45524
11990         * configure: Regenerated.
11992 2010-09-06  Andreas Schwab  <schwab@redhat.com>
11994         * configure: Regenerate.
11996 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
11998         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
11999         64bit targets.
12000         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
12001         for 64bit targets.
12003 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
12004             Iain Sandoe  <iains@gcc.gnu.org>
12006         PR target/45476
12007         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
12008         LIB2FUNCS_EXCLUDE functions.
12010 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12012         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
12013         Include dfp.m4.
12014         * configure: Regenerate.
12016 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
12018         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
12019         i386/t-freebsd to tmake_file.
12020         * config/i386/t-freebsd: New file.
12021         * config/i386/libgcc-bsd.ver: New file.
12023 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
12025         * config.host (powerpc*-eabispe*): Set tmake_file.
12026         (powerpc*-eabi*): Likewise.
12027         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
12028         crtbeginS, crtendS, crtbeginT.
12030 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
12032         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
12033         to tmake_file.  Add crtfastmath.o to extra_parts.
12034         * config/mips/t-crtfm: New.
12036 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
12038         * config.host (sparc64-*-rtems*): New target.
12040 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12042         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12043         assembler syntax.
12045 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
12047         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
12049 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12051         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
12052         alpha-dec-osf5.0* support.
12054 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
12056         * config.host: Add lm32-*-rtems*.
12058 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12059             Uros Bizjak  <ubizjak@gmail.com>
12061         PR target/39048
12062         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
12063         like other remaining 32-bit x86 OSes.
12064         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12065         assembler syntax.
12066         * config/i386/libgcc-sol2.ver: New file.
12067         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
12069 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
12071         PR c/43553
12072         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
12073         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
12074         is used and substitute set_use_emutls.
12075         * configure: Regenerated.
12077 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
12079         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
12081 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12083         PR target/38085
12084         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
12085         MULTILIB_CFLAGS.
12086         ($(T)gcrt1.o): Likewise.
12087         ($(T)crt1.o): Likewise.
12088         ($(T)crti.o): Likewise.
12089         ($(T)crtn.o): Likewise.
12091 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12093         PR other/42980
12094         * Makefile.in (install): Use $(MAKE) string in rule, for
12095         parallel make.
12097 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
12099         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
12100         * config/mmix/t-mmix: New file.
12101         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
12103 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
12105         PR java/41991
12106         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
12107         SHLIB_MAPFILES.
12109 2010-01-04  Anthony Green  <green@moxielogic.com>
12111         * config/moxie/crti.asm, config/moxie/crtn.asm,
12112         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
12113         config/moxie/t-moxie: New files.
12114         * config.host: Add t-moxie-softfp reference.
12116 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
12118         PR other/39888
12119         * config/t-slibgcc-darwin: Fix embedded rpaths for
12120         --enable-version-specific-runtime-libs, build extension stub
12121         libs exposing features available from current libgcc_s.
12123 2009-11-11  Jon Beniston  <jon@beniston.com>
12125         * config.host: Add lm32 targets.
12126         * config/lm32: New directory.
12127         * config/lm32/libgcc_lm32.h: New file.
12128         * config/lm32/_mulsi3.c: New file.
12129         * config/lm32/_udivmodsi4.c: New file.
12130         * config/lm32/_divsi3.c: New file.
12131         * config/lm32/_modsi3.c: New file.
12132         * config/lm32/_udivsi3.c: New file.
12133         * config/lm32/_umodsi3.c: New file.
12134         * config/lm32/_lshrsi3.S: New file.
12135         * config/lm32/_ashrsi3.S: New file.
12136         * config/lm32/_ashlsi3.S: New file.
12137         * config/lm32/crti.S: New file.
12138         * config/lm32/crtn.S: New file.
12139         * config/lm32/t-lm32: New file.
12140         * config/lm32/t-elf: New file.
12141         * config/lm32/t-uclinux: New file.
12143 2009-10-26  Nick Clifton  <nickc@redhat.com>
12145         * config.host: Add support for RX target.
12146         * config/rx: New directory.
12147         * config/rx/rx-abi-functions.c: New file. Supplementary
12148         functions for libgcc to support the RX ABI.
12149         * config/rx/rx-abi.h: New file.  Supplementary header file for
12150         libgcc RX ABI functions.
12151         * config/rx/t-rx: New file: Makefile fragment for building
12152         libgcc for the RX.
12154 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
12156         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
12157         constraint of y0 to "g".
12159 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12161         * config.host: Include the s390 makefile fragments.
12162         * config/s390/32/_fixdfdi.c: New file.
12163         * config/s390/32/_fixsfdi.c: New file.
12164         * config/s390/32/_fixtfdi.c: New file.
12165         * config/s390/32/_fixunsdfdi.c: New file.
12166         * config/s390/32/_fixunssfdi.c: New file.
12167         * config/s390/32/_fixunstfdi.c: New file.
12168         * config/s390/32/t-floattodi: New file.
12169         * config/s390/libgcc-glibc.ver: New file.
12170         * config/s390/t-crtstuff: New file.
12171         * config/s390/t-linux: New file.
12172         * config/s390/t-tpf: New file.
12174 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12176         * configure.ac (AC_PREREQ): Bump to 2.64.
12178 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
12180         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
12182 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12184         * configure: Regenerate.
12186 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
12188         * config.host (ia64-hp-*vms*): New target.
12189         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
12190         with ia64-hp-*vms*.
12192 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12194         * configure.ac: Add snippet for maintainer-mode.
12195         * configure: Regenerate.
12196         * Makefile.in (AUTOCONF, configure_deps): New variables.
12197         ($(srcdir)/configure)): New rule, active only with maintainer
12198         mode turned on.
12200 2009-06-23  DJ Delorie  <dj@redhat.com>
12202         Add MeP port.
12203         * config.host: Add mep support.
12205 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
12207         * config.host: Add i386/${host_address}/t-fprules-softfp and
12208         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
12210         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
12211         for mingw targets.
12212         * config/i386/64/_multc3.c: Likewise.
12213         * config/i386/64/_powitf2.c: Likewise.
12214         * config/i386/64/eqtf2.c: Likewise.
12215         * config/i386/64/getf2.c: Likewise.
12216         * config/i386/64/letf2.c: Likewise.
12217         * config/i386/64/letf2.c: Likewise.
12218         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
12219         unsigned long long for x64 mingw targets.
12220         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
12221         (_FP_I_TYPE): Define as long long for x64 mingw target.
12223 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
12225         * config.host (vax-*-linux*): New.
12227 2009-05-31  Anthony Green  <green@moxielogic.com>
12229         * config.host: Add moxie support.
12230         * config/moxie/t-moxie: New file.
12232 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
12234         * config.host: Add i386/${host_address}/t-fprules-softfp and
12235         t-softfp to tmake_file for i[34567]86-*-cygwin*.
12237 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
12239         * config.host: Add i386/${host_address}/t-fprules-softfp to
12240         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
12242 2009-04-09  Nick Clifton  <nickc@redhat.com>
12244         * config/ia64/tf-signs.c: Change copyright header to refer to
12245         version 3 of the GNU General Public License with version 3.1
12246         of the GCC Runtime Library Exception and to point readers at
12247         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
12248         web page.
12249         * config/i386/32/tf-signs.c: Likewise.
12250         * config/libbid/_addsub_dd.c: Likewise.
12251         * config/libbid/_addsub_sd.c: Likewise.
12252         * config/libbid/_addsub_td.c: Likewise.
12253         * config/libbid/_dd_to_df.c: Likewise.
12254         * config/libbid/_dd_to_di.c: Likewise.
12255         * config/libbid/_dd_to_sd.c: Likewise.
12256         * config/libbid/_dd_to_sf.c: Likewise.
12257         * config/libbid/_dd_to_si.c: Likewise.
12258         * config/libbid/_dd_to_td.c: Likewise.
12259         * config/libbid/_dd_to_tf.c: Likewise.
12260         * config/libbid/_dd_to_udi.c: Likewise.
12261         * config/libbid/_dd_to_usi.c: Likewise.
12262         * config/libbid/_dd_to_xf.c: Likewise.
12263         * config/libbid/_df_to_dd.c: Likewise.
12264         * config/libbid/_df_to_sd.c: Likewise.
12265         * config/libbid/_df_to_td.c: Likewise.
12266         * config/libbid/_di_to_dd.c: Likewise.
12267         * config/libbid/_di_to_sd.c: Likewise.
12268         * config/libbid/_di_to_td.c: Likewise.
12269         * config/libbid/_div_dd.c: Likewise.
12270         * config/libbid/_div_sd.c: Likewise.
12271         * config/libbid/_div_td.c: Likewise.
12272         * config/libbid/_eq_dd.c: Likewise.
12273         * config/libbid/_eq_sd.c: Likewise.
12274         * config/libbid/_eq_td.c: Likewise.
12275         * config/libbid/_ge_dd.c: Likewise.
12276         * config/libbid/_ge_sd.c: Likewise.
12277         * config/libbid/_ge_td.c: Likewise.
12278         * config/libbid/_gt_dd.c: Likewise.
12279         * config/libbid/_gt_sd.c: Likewise.
12280         * config/libbid/_gt_td.c: Likewise.
12281         * config/libbid/_isinfd128.c: Likewise.
12282         * config/libbid/_isinfd32.c: Likewise.
12283         * config/libbid/_isinfd64.c: Likewise.
12284         * config/libbid/_le_dd.c: Likewise.
12285         * config/libbid/_le_sd.c: Likewise.
12286         * config/libbid/_le_td.c: Likewise.
12287         * config/libbid/_lt_dd.c: Likewise.
12288         * config/libbid/_lt_sd.c: Likewise.
12289         * config/libbid/_lt_td.c: Likewise.
12290         * config/libbid/_mul_dd.c: Likewise.
12291         * config/libbid/_mul_sd.c: Likewise.
12292         * config/libbid/_mul_td.c: Likewise.
12293         * config/libbid/_ne_dd.c: Likewise.
12294         * config/libbid/_ne_sd.c: Likewise.
12295         * config/libbid/_ne_td.c: Likewise.
12296         * config/libbid/_sd_to_dd.c: Likewise.
12297         * config/libbid/_sd_to_df.c: Likewise.
12298         * config/libbid/_sd_to_di.c: Likewise.
12299         * config/libbid/_sd_to_sf.c: Likewise.
12300         * config/libbid/_sd_to_si.c: Likewise.
12301         * config/libbid/_sd_to_td.c: Likewise.
12302         * config/libbid/_sd_to_tf.c: Likewise.
12303         * config/libbid/_sd_to_udi.c: Likewise.
12304         * config/libbid/_sd_to_usi.c: Likewise.
12305         * config/libbid/_sd_to_xf.c: Likewise.
12306         * config/libbid/_sf_to_dd.c: Likewise.
12307         * config/libbid/_sf_to_sd.c: Likewise.
12308         * config/libbid/_sf_to_td.c: Likewise.
12309         * config/libbid/_si_to_dd.c: Likewise.
12310         * config/libbid/_si_to_sd.c: Likewise.
12311         * config/libbid/_si_to_td.c: Likewise.
12312         * config/libbid/_td_to_dd.c: Likewise.
12313         * config/libbid/_td_to_df.c: Likewise.
12314         * config/libbid/_td_to_di.c: Likewise.
12315         * config/libbid/_td_to_sd.c: Likewise.
12316         * config/libbid/_td_to_sf.c: Likewise.
12317         * config/libbid/_td_to_si.c: Likewise.
12318         * config/libbid/_td_to_tf.c: Likewise.
12319         * config/libbid/_td_to_udi.c: Likewise.
12320         * config/libbid/_td_to_usi.c: Likewise.
12321         * config/libbid/_td_to_xf.c: Likewise.
12322         * config/libbid/_tf_to_dd.c: Likewise.
12323         * config/libbid/_tf_to_sd.c: Likewise.
12324         * config/libbid/_tf_to_td.c: Likewise.
12325         * config/libbid/_udi_to_dd.c: Likewise.
12326         * config/libbid/_udi_to_sd.c: Likewise.
12327         * config/libbid/_udi_to_td.c: Likewise.
12328         * config/libbid/_unord_dd.c: Likewise.
12329         * config/libbid/_unord_sd.c: Likewise.
12330         * config/libbid/_unord_td.c: Likewise.
12331         * config/libbid/_usi_to_dd.c: Likewise.
12332         * config/libbid/_usi_to_sd.c: Likewise.
12333         * config/libbid/_usi_to_td.c: Likewise.
12334         * config/libbid/_xf_to_dd.c: Likewise.
12335         * config/libbid/_xf_to_sd.c: Likewise.
12336         * config/libbid/_xf_to_td.c: Likewise.
12337         * config/libbid/bid128.c: Likewise.
12338         * config/libbid/bid128_2_str.h: Likewise.
12339         * config/libbid/bid128_2_str_macros.h: Likewise.
12340         * config/libbid/bid128_2_str_tables.c: Likewise.
12341         * config/libbid/bid128_add.c: Likewise.
12342         * config/libbid/bid128_compare.c: Likewise.
12343         * config/libbid/bid128_div.c: Likewise.
12344         * config/libbid/bid128_fma.c: Likewise.
12345         * config/libbid/bid128_logb.c: Likewise.
12346         * config/libbid/bid128_minmax.c: Likewise.
12347         * config/libbid/bid128_mul.c: Likewise.
12348         * config/libbid/bid128_next.c: Likewise.
12349         * config/libbid/bid128_noncomp.c: Likewise.
12350         * config/libbid/bid128_quantize.c: Likewise.
12351         * config/libbid/bid128_rem.c: Likewise.
12352         * config/libbid/bid128_round_integral.c: Likewise.
12353         * config/libbid/bid128_scalb.c: Likewise.
12354         * config/libbid/bid128_sqrt.c: Likewise.
12355         * config/libbid/bid128_string.c: Likewise.
12356         * config/libbid/bid128_to_int16.c: Likewise.
12357         * config/libbid/bid128_to_int32.c: Likewise.
12358         * config/libbid/bid128_to_int64.c: Likewise.
12359         * config/libbid/bid128_to_int8.c: Likewise.
12360         * config/libbid/bid128_to_uint16.c: Likewise.
12361         * config/libbid/bid128_to_uint32.c: Likewise.
12362         * config/libbid/bid128_to_uint64.c: Likewise.
12363         * config/libbid/bid128_to_uint8.c: Likewise.
12364         * config/libbid/bid32_to_bid128.c: Likewise.
12365         * config/libbid/bid32_to_bid64.c: Likewise.
12366         * config/libbid/bid64_add.c: Likewise.
12367         * config/libbid/bid64_compare.c: Likewise.
12368         * config/libbid/bid64_div.c: Likewise.
12369         * config/libbid/bid64_fma.c: Likewise.
12370         * config/libbid/bid64_logb.c: Likewise.
12371         * config/libbid/bid64_minmax.c: Likewise.
12372         * config/libbid/bid64_mul.c: Likewise.
12373         * config/libbid/bid64_next.c: Likewise.
12374         * config/libbid/bid64_noncomp.c: Likewise.
12375         * config/libbid/bid64_quantize.c: Likewise.
12376         * config/libbid/bid64_rem.c: Likewise.
12377         * config/libbid/bid64_round_integral.c: Likewise.
12378         * config/libbid/bid64_scalb.c: Likewise.
12379         * config/libbid/bid64_sqrt.c: Likewise.
12380         * config/libbid/bid64_string.c: Likewise.
12381         * config/libbid/bid64_to_bid128.c: Likewise.
12382         * config/libbid/bid64_to_int16.c: Likewise.
12383         * config/libbid/bid64_to_int32.c: Likewise.
12384         * config/libbid/bid64_to_int64.c: Likewise.
12385         * config/libbid/bid64_to_int8.c: Likewise.
12386         * config/libbid/bid64_to_uint16.c: Likewise.
12387         * config/libbid/bid64_to_uint32.c: Likewise.
12388         * config/libbid/bid64_to_uint64.c: Likewise.
12389         * config/libbid/bid64_to_uint8.c: Likewise.
12390         * config/libbid/bid_b2d.h: Likewise.
12391         * config/libbid/bid_binarydecimal.c: Likewise.
12392         * config/libbid/bid_conf.h: Likewise.
12393         * config/libbid/bid_convert_data.c: Likewise.
12394         * config/libbid/bid_decimal_data.c: Likewise.
12395         * config/libbid/bid_decimal_globals.c: Likewise.
12396         * config/libbid/bid_div_macros.h: Likewise.
12397         * config/libbid/bid_dpd.c: Likewise.
12398         * config/libbid/bid_flag_operations.c: Likewise.
12399         * config/libbid/bid_from_int.c: Likewise.
12400         * config/libbid/bid_functions.h: Likewise.
12401         * config/libbid/bid_gcc_intrinsics.h: Likewise.
12402         * config/libbid/bid_inline_add.h: Likewise.
12403         * config/libbid/bid_internal.h: Likewise.
12404         * config/libbid/bid_round.c: Likewise.
12405         * config/libbid/bid_sqrt_macros.h: Likewise.
12407 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
12409         * Makefile.in: Change copyright header to refer to version
12410         3 of the GNU General Public License and to point readers at the
12411         COPYING3 file and the FSF's license web page.
12412         * config.host: Likewise.
12414 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
12416         * config.host: Reorder and merge to match config.gcc change.
12418 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
12420         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
12422 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
12424         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
12425         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
12426         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
12427         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
12429 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
12431         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
12432         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12434 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
12436         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
12437         ia64/t-softfp-compat to tmake_file.
12439         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
12441         * config/ia64/__divxf3.asm: New.
12442         * config/ia64/_fixtfdi.asm: Likewise.
12443         * config/ia64/_fixunstfdi.asm: Likewise.
12444         * config/ia64/_floatditf.asm: Likewise.
12445         * config/ia64/t-fprules-softfp: Likewise.
12446         * config/ia64/t-softfp-compat: Likewise.
12447         * config/ia64/tf-signs.c: Likewise.
12449 2009-01-18  Ben Elliston  <bje@au.ibm.com>
12451         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12453 2009-01-16  Ben Elliston  <bje@au.ibm.com>
12455         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
12456         to tmake_file.
12458 2009-01-13  Ben Elliston  <bje@au.ibm.com>
12460         * config/t-softfp: New file.
12461         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
12462         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
12464 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
12466         * config.host: Add m32r*-*-rtems*.
12468 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
12470         * config.host: Add m32c*-*-rtems*.
12472 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12474         PR bootstrap/33100
12475         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
12476         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
12477         * configure: Regenerate.
12478         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
12479         tmake_file here from gcc/config.gcc.
12480         Move extra_parts here from gcc/config.gcc.
12481         * config/i386/t-sol2: Move here from gcc/config/i386.
12482         Use gcc_srcdir instead of srcdir.
12484 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
12486         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
12487         case.
12489 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
12491         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
12493 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
12495         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
12497 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
12499         Add picoChip port.
12500         * config.host: Add picochip-*-*.
12502 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
12504         * config.host: Match more processor names for Xtensa.
12506 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
12508         * config/i386/64/t-softfp-compat: Update comments.
12510 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
12512         * config/i386/64/_divtc3-compat.c: Moved to ...
12513         * config/i386/64/_divtc3.c: Here.
12515         * config/i386/64/_multc3-compat.c: Moved to ...
12516         * config/i386/64/_multc3.c: Here.
12518         * config/i386/64/_powitf2-compat.c: Moved to ...
12519         * config/i386/64/_powitf2.c: Here.
12521         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
12522         .c suffix instead of -compat.c.
12524 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
12526         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
12527         (_FP_MUL_MEAT_D): Ditto.
12528         (_FP_DIV_MEAT_S): Ditto.
12529         (_FP_DIV_MEAT_D): Ditto.
12531 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
12533         * Makefile.in: Add support for __sync_* libgcc functions.
12535 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
12537         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
12539 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12541         PR boostrap/36702
12542         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
12543         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
12545         * config/i386/64/t-fprules-softfp: Moved to ...
12546         * config/i386/64/t-softfp-compat: This.  New.
12548 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
12550         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
12551         Initialize f with 0.0.
12553 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12555         PR target/36669
12556         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
12558         * config/i386/64/_divtc3-compat.c: New.
12559         * config/i386/64/_multc3-compat.c: Likewise.
12560         * config/i386/64/_powitf2-compat.c: Likewise.
12561         * config/i386/64/eqtf2.c: Likewise.
12562         * config/i386/64/getf2.c: Likewise.
12563         * config/i386/64/letf2.c: Likewise.
12564         * config/i386/64/t-fprules-softfp: Likewise.
12566 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12568         * config.host: Add i386/${host_address}/t-fprules-softfp to
12569         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
12570         i[34567]86-*-linux*, x86_64-*-linux*.
12572         * configure.ac: Set host_address to 64 or 32 for x86.
12573         * configure: Regenerated.
12575         * Makefile.in (config.status): Also depend on
12576         $(srcdir)/config.host.
12578         * config/i386/32/t-fprules-softfp: New.
12579         * config/i386/32/tf-signs.c: Likewise.
12581         * config/i386/64/sfp-machine.h: New. Moved from gcc.
12583 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12584             Uros Bizjak  <ubizjak@gmail.com>
12586         * config/i386/32/sfp-machine.h: New.
12588 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
12590         * config/rs6000/t-ppccomm: Remove rules that conflict with
12591         auto-generated rules.
12593 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12595         * configure.ac: sinclude override.m4.
12596         * configure: Regenerate.
12598 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
12600         * configure: Regenerate.
12602 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
12604         * Makefile.in (DECNUMINC): Remove
12605         -I$(MULTIBUILDTOP)../../libdecnumber.
12606         * gstdint.h: New.
12608 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
12610         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
12611         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
12612         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
12613         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
12614         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
12615         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
12616         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
12617         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
12618         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
12619         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
12620         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
12621         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
12622         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
12623         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
12625 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
12627         * config.host (sh2[lbe]*-*-linux*): Allow target.
12629 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
12631         * config/rs6000/t-ppccomm: Add build rules for new files.
12632         (LIB2ADD_ST): New variable.
12634 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
12636         PR target/34210
12637         PR target/35508
12638         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
12639         * config/t-avr: New file. Build 16bit libgcc functions.
12641 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
12643         PR target/35401
12644         * config/t-slibgcc-darwin: Make install-leaf dependent on
12645         install-darwin-libgcc-stubs instead of install.
12647 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
12649         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
12650         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
12651         sh-*-rtemscoff*): Remove cases.
12653 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
12655         * Makefile.in (all): Use install-leaf rather than install.
12656         (install): Split most of the rule into...
12657         (install-leaf): ...this new one.
12659 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
12660             Paolo Bonzini  <bonzini@gnu.org>
12662         PR target/30572
12663         * Makefile.in: Use @shlib_slibdir@ substitution to get
12664         correct install name on darwin.
12665         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
12667 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
12669         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
12670         cris-*-elf and cris-*-none.
12671         (crisv32-*-linux*): Similar, as cris-*-linux*.
12673 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
12675         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
12677 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
12679         PR regression/33926
12680         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
12681         * configure: Regenerated.
12683 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
12685         * Makefile.in (dfp-filenames): Replace decimal_globals,
12686         decimal_data, binarydecimal and convert_data with
12687         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
12688         and bid_convert_data, respectively.
12690 2007-09-17  Chao-ying Fu  <fu@mips.com>
12691             Nigel Stephens  <nigel@mips.com>
12693         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
12694         * Makefile.in (fixed_point): Define.
12695         Check if fixed_point is yes to build support functions.
12696         * configure.ac: Check for fixed_point support.
12697         * configure: Regenerated.
12698         * gen-fixed.sh: New file to generate lists of fixed-point labels,
12699         funcs, modes, from, to.
12701 2007-09-11  Janis Johnson  <janis187@us.ibm.com
12703         * Makefile.in (dfp-filenames): Add bid128_noncomp.
12705 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
12707         * Makefile.in (dfp-filenames): Remove decUtility, add
12708         decDouble, decPacked, decQuad, decSingle.
12710 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
12712         * config.host : Add x86_64-elf target.
12714 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
12716         * configure.ac (set_have_cc_tls): Add a missing =.
12717         * configure: Regenerated.
12719 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
12721         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
12722         and x86_64-*-linux*.
12724         * config/t-tls: New file.
12726         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
12728         * configure.ac: Include ../config/enable.m4 and
12729         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
12730         supports TLS and substitute set_have_cc_tls.
12731         * configure: Regenerated.
12733 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
12735         * Makefile.in: Use libbid for DFP when BID is enabled.
12737 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
12739         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
12740         extra_parts. Add config/i386/t-cygming to tmake_file.
12741         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
12743 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
12744             Danny Smith  <dannysmith@users.sourceforge.net>
12746         PR target/29498
12747         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
12748         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
12749         * config/i386/t-crtfm: Compile crtfastmath.o with
12750         -minline-all-stringops.
12752 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
12754         * config.host (sparc-wrs-vxworks): New target.
12756 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
12758         * config.host: Recognize fido.
12760 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
12762         * configure: Check host, not target, for decimal float support.
12764 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
12766         * config/i386/t-crtpc: New file.
12767         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
12768         (x86_64-*-linux*): Ditto.
12770 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
12772         * config.host (x86_64-*-mingw*): New target.
12774 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
12775             H.J. Lu  <hongjiu.lu@intel.com>
12777         * Makefile.in (enable_decimal_float): New.
12778         (DECNUMINC): Add
12779         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
12780         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
12781         (decbits-filenames): This.
12782         (decbits-objects): New.
12783         (libgcc-objects): Add $(decbits-objects).
12785         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
12786         Substitute enable_decimal_float.
12787         * configure: Regenerated.
12789 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
12791         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
12793 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
12795         * Makefile.in (install-info): New dummy target.
12797 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
12799         * config.host (bfin*-linux-uclibc*): Set extra_parts.
12801 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
12803         * Makefile.in: Add install-html and install-pdf dummy
12804         targets.
12806 2007-02-05  Roger Sayle  <roger@eyesopen.com>
12807             Daniel Jacobowitz  <dan@codesourcery.com>
12809         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
12810         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
12811         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
12813 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
12815         * Makefile.in (dec-filenames): Add decExcept.
12817 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
12819         PR bootstrap/30469
12820         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
12821         -fprofile-use.
12823 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
12825         * configure.ac: Add --enable-version-specific-runtime-libs.
12826         Correct $slibdir default.
12827         * configure: Regenerated.
12829 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
12831         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
12833 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
12835         PR target/30519
12836         * config.host (alpha*-*-linux*): Set extra_parts.
12838 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
12840         * config/sh/t-linux: New.
12841         * config.host (sh*-*-linux*): Set tmake_file.
12843 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
12845         * Makefile.in (install): Handle multilibs.
12847 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
12849         * Makefile.in: Added .PHONY entry for documentation targets.
12851 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
12853         * Makefile.in: Add empty info, html, dvi, pdf targets.
12855 2007-01-04  Mike Stump  <mrs@apple.com>
12857         * Makefile.in (MAKEINFO): Remove.
12858         (PERL): Likewise.
12860 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
12862         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
12863         * configure: Regenerate.
12864         * Makefile.in (host_subdir): Substitute it.
12865         (gcc_objdir): Use it.
12867 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
12869         * config.host (ia64*-*-linux*): Set tmake_file.
12871 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
12873         * Makefile.in (version): Define.
12875 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
12876             Paolo Bonzini  <bonzini@gnu.org>
12878         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
12879         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
12880         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
12881         config/sparc/t-crtfm, config/t-slibgcc-darwin,
12882         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
12883         shared-object.mk, siditi-object.mk, static-object.mk: New files.
12884         * configure: Generated.
12886 Copyright (C) 2007-2023 Free Software Foundation, Inc.
12888 Copying and distribution of this file, with or without modification,
12889 are permitted in any medium without royalty provided the copyright
12890 notice and this notice are preserved.