1 2023-01-03 Florian Weimer <fweimer@redhat.com>
3 * unwind-dw2-execute_cfa.h: New file. Extracted from
4 the execute_cfa_program function in unwind-dw2.c.
5 * unwind-dw2.c (execute_cfa_program_generic): New function.
6 (execute_cfa_program_specialized): Likewise.
7 (execute_cfa_program): Call execute_cfa_program_specialized
8 or execute_cfa_program_generic, as appropriate.
10 2023-01-03 Florian Weimer <fweimer@redhat.com>
13 2023-01-03 Florian Weimer <fweimer@redhat.com>
15 * unwind-dw2.c (dwarf_reg_size): New function.
16 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
17 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
18 (uw_init_context_1): Do not initialize dwarf_reg_size_table
21 2023-01-03 Florian Weimer <fweimer@redhat.com>
24 2023-01-03 Florian Weimer <fweimer@redhat.com>
26 * unwind-dw2-execute_cfa.h: New file. Extracted from
27 the execute_cfa_program function in unwind-dw2.c.
28 * unwind-dw2.c (execute_cfa_program_generic): New function.
29 (execute_cfa_program_specialized): Likewise.
30 (execute_cfa_program): Call execute_cfa_program_specialized
31 or execute_cfa_program_generic, as appropriate.
33 2023-01-02 Florian Weimer <fweimer@redhat.com>
35 * unwind-dw2-execute_cfa.h: New file. Extracted from
36 the execute_cfa_program function in unwind-dw2.c.
37 * unwind-dw2.c (execute_cfa_program_generic): New function.
38 (execute_cfa_program_specialized): Likewise.
39 (execute_cfa_program): Call execute_cfa_program_specialized
40 or execute_cfa_program_generic, as appropriate.
42 2023-01-02 Florian Weimer <fweimer@redhat.com>
44 * unwind-dw2.c (dwarf_reg_size): New function.
45 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
46 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
47 (uw_init_context_1): Do not initialize dwarf_reg_size_table
50 2022-12-25 Jonathan Yong <10walls@gmail.com>
52 * config/i386/gthr-win32.h: undef CC_NONE
54 2022-12-24 Iain Sandoe <iain@sandoe.co.uk>
56 * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
57 install of libgcc_s.1.dylib when the installation is into the build
60 2022-12-23 Eric Botcazou <ebotcazou@adacore.com>
62 * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
63 as well as new i386/t-slibgcc-mingw fragment.
64 (x86_64-*-mingw*): Likewise.
65 * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
66 both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
67 Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
68 Include stdlib.h instead of errno.h and do not include _mingw.h.
69 (CONST_CAST2): Add specific definition for C++.
70 (ATTRIBUTE_UNUSED): New macro.
71 (__UNUSED_PARAM): Delete.
72 Define WIN32_LEAN_AND_MEAN before including windows.h.
73 (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
74 (__gthread_objc_init_thread_system): Likewise.
75 (__gthread_objc_thread_get_data): Minor tweak.
76 (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
77 (__gthread_objc_condition_deallocate): Likewise.
78 (__gthread_objc_condition_wait): Likewise.
79 (__gthread_objc_condition_broadcast): Likewise.
80 (__gthread_objc_condition_signal): Likewise.
82 (__gthr_win32_DWORD): New typedef.
83 (__gthr_win32_HANDLE): Likewise.
84 (__gthr_win32_CRITICAL_SECTION): Likewise.
85 (__gthr_win32_CONDITION_VARIABLE): Likewise.
86 (__gthread_t): Adjust.
87 (__gthread_key_t): Likewise.
88 (__gthread_mutex_t): Likewise.
89 (__gthread_recursive_mutex_t): Likewise.
90 (__gthread_cond_t): New typedef.
91 (__gthread_time_t): Likewise.
92 (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
93 (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
94 (__GTHREAD_COND_INIT_FUNCTION): Define.
95 (__GTHREAD_TIME_INIT): Likewise.
96 (__gthr_i486_lock_cmp_xchg): Delete.
97 (__gthr_win32_create): Declare.
98 (__gthr_win32_join): Likewise.
99 (__gthr_win32_self): Likewise.
100 (__gthr_win32_detach): Likewise.
101 (__gthr_win32_equal): Likewise.
102 (__gthr_win32_yield): Likewise.
103 (__gthr_win32_mutex_destroy): Likewise.
104 (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
105 (__gthr_win32_cond_broadcast): Likewise.
106 (__gthr_win32_cond_signal): Likewise.
107 (__gthr_win32_cond_wait): Likewise.
108 (__gthr_win32_cond_timedwait): Likewise.
109 (__gthr_win32_recursive_mutex_init_function): Delete.
110 (__gthr_win32_recursive_mutex_lock): Likewise.
111 (__gthr_win32_recursive_mutex_unlock): Likewise.
112 (__gthr_win32_recursive_mutex_destroy): Likewise.
113 (__gthread_create): New inline function.
114 (__gthread_join): Likewise.
115 (__gthread_self): Likewise.
116 (__gthread_detach): Likewise.
117 (__gthread_equal): Likewise.
118 (__gthread_yield): Likewise.
119 (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
120 (__gthread_cond_broadcast): Likewise.
121 (__gthread_cond_signal): Likewise.
122 (__gthread_cond_wait): Likewise.
123 (__gthread_cond_timedwait): Likewise.
124 (__GTHREAD_WIN32_INLINE): New macro.
125 (__GTHREAD_WIN32_COND_INLINE): Likewise.
126 (__GTHREAD_WIN32_ACTIVE_P): Likewise.
127 Define WIN32_LEAN_AND_MEAN before including windows.h.
128 (__gthread_once): Minor tweaks.
129 (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
130 (__gthread_key_delete): Minor tweak.
131 (__gthread_getspecific): Likewise.
132 (__gthread_setspecific): Likewise.
133 (__gthread_mutex_init_function): Reimplement.
134 (__gthread_mutex_destroy): Likewise.
135 (__gthread_mutex_lock): Likewise.
136 (__gthread_mutex_trylock): Likewise.
137 (__gthread_mutex_unlock): Likewise.
138 (__gthr_win32_abs_to_rel_time): Declare.
139 (__gthread_recursive_mutex_init_function): Reimplement.
140 (__gthread_recursive_mutex_destroy): Likewise.
141 (__gthread_recursive_mutex_lock): Likewise.
142 (__gthread_recursive_mutex_trylock): Likewise.
143 (__gthread_recursive_mutex_unlock): Likewise.
144 (__gthread_cond_destroy): New inline function.
145 (__gthread_cond_wait_recursive): Likewise.
146 * config/i386/gthr-win32.c: Delete everything.
147 Include gthr-win32.h to get the out-of-line version of inline routines.
148 Add compile-time checks for the local version of the Win32 types.
149 * config/i386/gthr-win32-cond.c: New file.
150 * config/i386/gthr-win32-thread.c: Likewise.
151 * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
152 EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
153 the static version of libgcc.
154 * config/i386/t-slibgcc-mingw: New file.
155 * config/i386/libgcc-mingw.ver: Likewise.
157 2022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
159 * unwind-dw2-fde.c: Initialize fde object lazily when
160 the first exception tries to pass through.
162 2022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
164 * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
166 2022-12-08 Max Filippov <jcmvbkbc@gmail.com>
168 * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
169 (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
170 (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
171 (XSHAL_ABI): Remove stray symbols from macro definitions.
173 2022-12-07 Max Filippov <jcmvbkbc@gmail.com>
175 * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
176 xtensa-config-builtin.h.
177 * config/xtensa/crtn.S: Likewise.
178 * config/xtensa/lib1funcs.S: Likewise.
179 * config/xtensa/lib2funcs.S: Likewise.
180 * config/xtensa/xtensa-config-builtin.h: New File.
182 2022-11-04 Florian Weimer <fweimer@redhat.com>
184 * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
185 values actually used by BFD ld.
187 2022-10-23 LIU Hao <lh_mouse@126.com>
189 * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
190 libobjc, instead of 'gthr.h'
192 2022-10-19 LIU Hao <lh_mouse@126.com>
194 * config.host: Add new cases for `mcf` thread model
195 * config/i386/gthr-mcf.h: New file
196 * config/i386/t-mingw-mcfgthread: New file
197 * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
198 * configure: Regenerate
200 2022-10-18 Jonathan Wakely <jwakely@redhat.com>
202 * Makefile.in: Quote variable.
204 2022-10-17 H.J. Lu <hjl.tools@gmail.com>
206 * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
208 * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
209 _Unwind_Frames_Increment.
210 (_Unwind_ForcedUnwind_Phase2): Likewise.
211 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
212 Take the EXC argument. Return _URC_FATAL_PHASE2_ERROR if the
213 return address on normal stack doesn't match the return address
216 2022-10-17 Florian Weimer <fweimer@redhat.com>
218 * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
221 2022-10-14 Jakub Jelinek <jakub@redhat.com>
223 * config/i386/t-softfp (softfp_extensions): Add bfsf.
224 (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
225 (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
226 CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
228 * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
229 __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
230 * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
231 * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
232 * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
233 * soft-fp/brain.h: New file.
234 * soft-fp/truncsfbf2.c: New file.
235 * soft-fp/truncdfbf2.c: New file.
236 * soft-fp/truncxfbf2.c: New file.
237 * soft-fp/trunctfbf2.c: New file.
238 * soft-fp/trunchfbf2.c: New file.
239 * soft-fp/truncbfhf2.c: New file.
240 * soft-fp/extendbfsf2.c: New file.
242 2022-10-12 Martin Liska <mliska@suse.cz>
244 * libgcov-driver.c: Use new function.
245 * libgcov.h (gcov_write_summary): Rename to ...
246 (gcov_write_object_summary): ... this.
248 2022-10-11 Olivier Hainque <hainque@adacore.com>
250 * config.host (*vxworks*): When enable_shared, add
251 libgcc and crtstuff "shared" fragments for rtp except
253 (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
254 the list of fragments.
256 2022-10-06 Jakub Jelinek <jakub@redhat.com>
258 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
259 fs->regs.how[X] instead of fs->regs.reg[X].how.
261 2022-10-06 Jakub Jelinek <jakub@redhat.com>
263 * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
264 REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
265 REG_UNDEFINED): New anonymous enum, moved from inside of
266 struct frame_state_reg_info.
267 (struct frame_state_reg_info): Remove reg[].how element and the
268 anonymous enum there. Add how element.
269 * unwind-dw2.c: Include stddef.h.
270 (uw_frame_state_for): Don't clear first
271 offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
272 (execute_cfa_program, __frame_state_for, uw_update_context_1,
273 uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
274 or fs.regs.how[X] instead of fs.regs.reg[X].how.
275 * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
276 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
277 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
278 * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
279 UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
281 * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
283 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
284 * config/arc/linux-unwind.h (arc_fallback_frame_state,
285 arc_frob_update_context): Likewise.
286 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
287 * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
288 * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
289 * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
290 * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
291 * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
292 MD_FALLBACK_FRAME_STATE_FOR): Likewise.
293 * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
294 sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
295 * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
296 x86_fallback_frame_state): Likewise.
297 * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
298 * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
299 x86_fallback_frame_state): Likewise.
300 * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
302 * config/i386/dragonfly-unwind.h
303 (x86_64_dragonfly_fallback_frame_state): Likewise.
304 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
305 * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
306 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
308 * config/aarch64/freebsd-unwind.h
309 (aarch64_freebsd_fallback_frame_state): Likewise.
310 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
312 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
313 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
314 * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
316 * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
317 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
319 * config/rs6000/darwin-fallback.c (set_offset): Likewise.
320 * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
321 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
322 * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
324 2022-10-02 Olivier Hainque <hainque@adacore.com>
326 * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment. Move
327 -I options for gcc/include and gcc/include-fixed at the end
328 and make them -isystem.
330 2022-10-02 Olivier Hainque <hainque@adacore.com>
332 * config/gthr-vxworks.h: Prevent Wpragma warning for the
333 pragma diagnostics on Wstrict-prototypes.
335 2022-09-29 Olivier Hainque <hainque@adacore.com>
337 * config/vxcrtstuff.c: Improve the comment attached to the use
338 of auto-host.h and of __dso_handle. Remove redundant guard on
339 HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
341 2022-09-26 Thomas Neumann <tneumann@users.sourceforge.net>
343 * unwind-dw2-fde.c: Introduce a constant for in_shutdown
344 for the non-fast-path case. Drop destructor priority.
346 2022-09-22 Thomas Neumann <tneumann@users.sourceforge.net>
348 * unwind-dw2-fde.c: (release_register_frames) Remember
349 when the btree has been destroyed.
350 (__deregister_frame_info_bases) Disable the assert when
353 2022-09-18 Thomas Neumann <tneumann@users.sourceforge.net>
355 * unwind-dw2-fde.c: Replace uintptr_t with typedef
356 for __UINTPTR_TYPE__.
357 * unwind-dw2-btree.h: Likewise.
359 2022-09-16 Thomas Neumann <tneumann@users.sourceforge.net>
361 * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
362 (__register_frame_info_table_bases): Use btree in atomic fast path.
363 (__deregister_frame_info_bases): Likewise.
364 (_Unwind_Find_FDE): Likewise.
365 (base_from_object): Make parameter const.
366 (classify_object_over_fdes): Add query-only mode.
367 (get_pc_range): Compute PC range for lookup.
368 * unwind-dw2-fde.h (last_fde): Make parameter const.
369 * unwind-dw2-btree.h: New file.
371 2022-08-31 Martin Liska <mliska@suse.cz>
373 * config.host: Remove hppa.
375 2022-08-30 Martin Liska <mliska@suse.cz>
377 * config.host: Remove the port.
379 2022-08-26 Martin Liska <mliska@suse.cz>
381 * config.host: Remove cr16 related stuff.
382 * config/cr16/crti.S: Removed.
383 * config/cr16/crtlibid.S: Removed.
384 * config/cr16/crtn.S: Removed.
385 * config/cr16/divmodhi3.c: Removed.
386 * config/cr16/lib1funcs.S: Removed.
387 * config/cr16/t-cr16: Removed.
388 * config/cr16/t-crtlibid: Removed.
389 * config/cr16/unwind-cr16.c: Removed.
390 * config/cr16/unwind-dw2.h: Removed.
392 2022-08-16 Kito Cheng <kito.cheng@sifive.com>
394 * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
395 (_FP_NANFRAC_H): Ditto.
396 (_FP_NANSIGN_H): Ditto.
397 * config/riscv/t-softfp32 (softfp_extensions): Add HF related
399 (softfp_truncations): Ditto.
400 (softfp_extras): Ditto.
401 * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
403 2022-08-16 Kito Cheng <kito.cheng@sifive.com>
405 * soft-fp/fixhfdi.c: New.
406 * soft-fp/fixhfsi.c: Likewise.
407 * soft-fp/fixunshfdi.c: Likewise.
408 * soft-fp/fixunshfsi.c: Likewise.
409 * soft-fp/floatdihf.c: Likewise.
410 * soft-fp/floatsihf.c: Likewise.
411 * soft-fp/floatundihf.c: Likewise.
412 * soft-fp/floatunsihf.c: Likewise.
413 * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
414 lines and update URL for license.
415 * soft-fp/addsf3.c: Likewise.
416 * soft-fp/addtf3.c: Likewise.
417 * soft-fp/divdf3.c: Likewise.
418 * soft-fp/divsf3.c: Likewise.
419 * soft-fp/divtf3.c: Likewise.
420 * soft-fp/double.h: Likewise.
421 * soft-fp/eqdf2.c: Likewise.
422 * soft-fp/eqhf2.c: Likewise.
423 * soft-fp/eqsf2.c: Likewise.
424 * soft-fp/eqtf2.c: Likewise.
425 * soft-fp/extenddftf2.c: Likewise.
426 * soft-fp/extended.h: Likewise.
427 * soft-fp/extendhfdf2.c: Likewise.
428 * soft-fp/extendhfsf2.c: Likewise.
429 * soft-fp/extendhftf2.c: Likewise.
430 * soft-fp/extendhfxf2.c: Likewise.
431 * soft-fp/extendsfdf2.c: Likewise.
432 * soft-fp/extendsftf2.c: Likewise.
433 * soft-fp/extendxftf2.c: Likewise.
434 * soft-fp/fixdfdi.c: Likewise.
435 * soft-fp/fixdfsi.c: Likewise.
436 * soft-fp/fixdfti.c: Likewise.
437 * soft-fp/fixhfti.c: Likewise.
438 * soft-fp/fixsfdi.c: Likewise.
439 * soft-fp/fixsfsi.c: Likewise.
440 * soft-fp/fixsfti.c: Likewise.
441 * soft-fp/fixtfdi.c: Likewise.
442 * soft-fp/fixtfsi.c: Likewise.
443 * soft-fp/fixtfti.c: Likewise.
444 * soft-fp/fixunsdfdi.c: Likewise.
445 * soft-fp/fixunsdfsi.c: Likewise.
446 * soft-fp/fixunsdfti.c: Likewise.
447 * soft-fp/fixunshfti.c: Likewise.
448 * soft-fp/fixunssfdi.c: Likewise.
449 * soft-fp/fixunssfsi.c: Likewise.
450 * soft-fp/fixunssfti.c: Likewise.
451 * soft-fp/fixunstfdi.c: Likewise.
452 * soft-fp/fixunstfsi.c: Likewise.
453 * soft-fp/fixunstfti.c: Likewise.
454 * soft-fp/floatdidf.c: Likewise.
455 * soft-fp/floatdisf.c: Likewise.
456 * soft-fp/floatditf.c: Likewise.
457 * soft-fp/floatsidf.c: Likewise.
458 * soft-fp/floatsisf.c: Likewise.
459 * soft-fp/floatsitf.c: Likewise.
460 * soft-fp/floattidf.c: Likewise.
461 * soft-fp/floattihf.c: Likewise.
462 * soft-fp/floattisf.c: Likewise.
463 * soft-fp/floattitf.c: Likewise.
464 * soft-fp/floatundidf.c: Likewise.
465 * soft-fp/floatundisf.c: Likewise.
466 * soft-fp/floatunditf.c: Likewise.
467 * soft-fp/floatunsidf.c: Likewise.
468 * soft-fp/floatunsisf.c: Likewise.
469 * soft-fp/floatunsitf.c: Likewise.
470 * soft-fp/floatuntidf.c: Likewise.
471 * soft-fp/floatuntihf.c: Likewise.
472 * soft-fp/floatuntisf.c: Likewise.
473 * soft-fp/floatuntitf.c: Likewise.
474 * soft-fp/gedf2.c: Likewise.
475 * soft-fp/gesf2.c: Likewise.
476 * soft-fp/getf2.c: Likewise.
477 * soft-fp/half.h: Likewise.
478 * soft-fp/ledf2.c: Likewise.
479 * soft-fp/lesf2.c: Likewise.
480 * soft-fp/letf2.c: Likewise.
481 * soft-fp/muldf3.c: Likewise.
482 * soft-fp/mulsf3.c: Likewise.
483 * soft-fp/multf3.c: Likewise.
484 * soft-fp/negdf2.c: Likewise.
485 * soft-fp/negsf2.c: Likewise.
486 * soft-fp/negtf2.c: Likewise.
487 * soft-fp/op-1.h: Likewise.
488 * soft-fp/op-2.h: Likewise.
489 * soft-fp/op-4.h: Likewise.
490 * soft-fp/op-8.h: Likewise.
491 * soft-fp/op-common.h: Likewise.
492 * soft-fp/quad.h: Likewise.
493 * soft-fp/single.h: Likewise.
494 * soft-fp/soft-fp.h: Likewise.
495 * soft-fp/subdf3.c: Likewise.
496 * soft-fp/subsf3.c: Likewise.
497 * soft-fp/subtf3.c: Likewise.
498 * soft-fp/truncdfhf2.c: Likewise.
499 * soft-fp/truncdfsf2.c: Likewise.
500 * soft-fp/truncsfhf2.c: Likewise.
501 * soft-fp/trunctfdf2.c: Likewise.
502 * soft-fp/trunctfhf2.c: Likewise.
503 * soft-fp/trunctfsf2.c: Likewise.
504 * soft-fp/trunctfxf2.c: Likewise.
505 * soft-fp/truncxfhf2.c: Likewise.
506 * soft-fp/unorddf2.c: Likewise.
507 * soft-fp/unordsf2.c: Likewise.
508 * soft-fp/unordtf2.c: Likewise.
510 2022-07-18 Claudiu Zissulescu <claziss@synopsys.com>
512 * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
513 * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
516 2022-06-25 Jeff Law <jeffreyalaw@gmail.com>
518 * config.host: Removed tilegx and tilepro entries.
519 * config/tilegx/sfp-machine.h: Removed.
520 * config/tilegx/sfp-machine32.h: Removed.
521 * config/tilegx/sfp-machine64.h: Removed.
522 * config/tilegx/t-crtstuff: Removed.
523 * config/tilegx/t-softfp: Removed.
524 * config/tilegx/t-tilegx: Removed.
525 * config/tilepro/atomic.c: Removed.
526 * config/tilepro/atomic.h: Removed.
527 * config/tilepro/linux-unwind.h: Removed.
528 * config/tilepro/sfp-machine.h: Removed.
529 * config/tilepro/softdivide.c: Removed.
530 * config/tilepro/softmpy.S: Removed.
531 * config/tilepro/t-crtstuff: Removed.
532 * config/tilepro/t-tilepro: Removed.
534 2022-06-09 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
536 * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
537 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
539 2022-06-01 H.J. Lu <hjl.tools@gmail.com>
542 * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
544 2022-05-25 Wilco Dijkstra <wilco.dijkstra@arm.com>
547 * config/aarch64/lse-init.c: Increase constructor priority.
549 2022-05-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
552 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
553 Handle the !REG_UNSAVED case.
554 * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
556 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
558 * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
559 (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
560 (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
562 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
564 * config.host: Add t-dfprules to AArch64 targets.
566 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
568 * configure: Regenerate.
570 2022-05-13 Sebastian Pop <spop@amazon.com>
573 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
574 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
576 2022-05-10 Martin Liska <mliska@suse.cz>
577 Hans-Peter Helfert <peter-helfert@t-online.de>
579 PR gcov-profile/105535
580 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
583 2022-05-02 Martin Liska <mliska@suse.cz>
585 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
587 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
589 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
590 (gcov_profile_merge_stream): Likewise.
592 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
594 * libgcov-util.c (consume_stream): New.
595 (get_target_profiles_for_merge): Likewise.
596 (gcov_profile_merge_stream): Likewise.
598 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
600 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
602 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
604 * libgcov-util.c (read_gcda_file): Do not open file.
605 (ftw_read_file): Open file here.
607 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
609 * libgcov-util.c (read_gcda_file): Prepend new info object to global
611 (ftw_read_file): Remove list append here.
613 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
615 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
616 (ftw_read_file): Duplicate filename for read_gcda_file().
618 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
620 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
621 (__gcov_filename_to_gcfn): Declare and document.
622 * libgcov-driver.c (dump_string): New.
623 (__gcov_filename_to_gcfn): Likewise.
624 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
626 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
628 * libgcov.h (gcov_seek): Remove define and declaration.
630 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
632 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
633 parameter. Pass mode to gcov_open() calls.
634 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
635 gcov_exit_open_gcda_file() call.
636 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
638 (__gcov_dump_one): Open file for reading and writing.
640 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
642 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
644 * libgcov-util.c (read_gcda_file): Open file for reading.
645 * libgcov.h (gcov_open): Delete declaration.
647 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
649 * libgcov-util.c (gcov_profile_merge): Return the list of merged
650 profiles. Accept empty target and source profile lists.
652 2022-04-08 Sergei Trofimovich <siarheit@google.com>
654 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
656 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
657 Lulu Cheng <chenglulu@loongson.cn>
659 * configure: Regenerate file.
661 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
662 Lulu Cheng <chenglulu@loongson.cn>
664 * config/loongarch/crtfastmath.c: New file.
665 * config/loongarch/linux-unwind.h: Like wise.
666 * config/loongarch/sfp-machine.h: Like wise.
667 * config/loongarch/t-crtstuff: Like wise.
668 * config/loongarch/t-loongarch: Like wise.
669 * config/loongarch/t-loongarch64: Like wise.
670 * config/loongarch/t-softfp-tf: Like wise.
671 * config.host: Add LoongArch tuples.
672 * configure.ac: Add LoongArch support.
674 2022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
677 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
679 (__udivsi3_internal, __divsi3_internal): Similarly.
680 (__umodsi3, __modsi3): Use the internal function names.
682 2022-03-09 Tobias Burnus <tobias@codesourcery.com>
685 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
686 a line up to non-arg-dependent value first.
687 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
688 __atomic_compare_exchange_{1,2}.
690 2022-03-04 Iain Sandoe <iain@sandoe.co.uk>
692 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
693 * config/t-darwin-ehs: Add dependency on unwind.h.
695 2022-02-24 Xi Ruoyao <xry111@mengyan1223.wang>
697 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
698 with 0 instead of NULL.
700 2022-02-24 Jose E. Marchesi <jose.marchesi@oracle.com>
703 * configure.ac: --disable-gcov if targetting bpf-*.
704 * configure: Regenerate.
706 2022-01-25 Florian Weimer <fweimer@redhat.com>
709 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
711 2022-01-17 Martin Liska <mliska@suse.cz>
713 * libgcov-driver.c: Rename .c names to .cc.
715 2022-01-15 David <gccbugzilla@limegreensocks.com>
717 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
718 Remove inlined version, Windows 95 is no longer relevant.
719 * config/i386/gthr-win32.h
720 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
722 2022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
724 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
725 DWARF_ALT_FRAME_RETURN_COLUMN macro.
727 2022-01-04 Florian Weimer <fweimer@redhat.com>
729 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
732 2022-01-02 John David Anglin <danglin@gcc.gnu.org>
734 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
735 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
736 return is not equal _ASM_EFAULT.
737 (__kernel_cmpxchg2): Likewise.
739 2021-12-17 Iain Sandoe <iain@sandoe.co.uk>
741 * config.host: Add shim declaration header to powerpc*-darwin builds.
742 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
744 * config/t-darwin-ehs: Add dependencies to the shared unwinder
746 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
747 the shared EH lib. Add all-multi to the dependencies for the
748 libgcc_s.1.dylib redirections.
750 2021-12-13 Olivier Hainque <hainque@adacore.com>
752 * config.host (powerpc*-*-vxworks7*): Remove
753 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
755 2021-12-13 Olivier Hainque <hainque@adacore.com>
757 * config.host (*vxworks*): Remove special case for
758 arm on the use of vxcrtstuff.
760 2021-12-13 Fred Konrad <konrad@adacore.com>
761 Olivier Hainque <hainque@adacore.com>
763 * config/t-vxcrtstuffS: New Makefile fragment.
764 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
765 functions for INITFINI_ARRAY support in shared libs and guard
766 the definition of eh table registration functions on conditions
767 indicating they are needed.
769 2021-12-13 Olivier Hainque <hainque@adacore.com>
771 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
772 ahead of the other files in tmake_files.
773 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
776 2021-12-13 Olivier Hainque <hainque@adacore.com>
778 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
779 both VxWorks7 and earlier.
780 * config/t-vxworks7: Remove.
781 * config.host: Remove special case for vxworks7.
783 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
785 * config/vxcrtstuff.c: Make constructor and destructor
786 functions static when possible.
788 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
790 * config/vxcrtstuff.c: Remove constructor/destructor
793 2021-12-10 Iain Sandoe <iain@sandoe.co.uk>
795 * config/t-darwin: Add libgcc_tm.h to the dependencies
796 for darwin10-unwind-find-enc-func.
798 2021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
800 * config/rs6000/t-vxworks: New file.
801 * config.host (powerpc*-*-vxworks*): Use it instead of
804 2021-12-09 Fred Konrad <konrad@adacore.com>
806 * config.host (powerpc*-wrs-vxworks7*): Fix path to
807 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
809 2021-12-09 Olivier Hainque <hainque@adacore.com>
810 Rasmus Villemoes <rv@rasmusvillemoes.dk>
812 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
814 * config/t-vxworks7: Likewise.
816 2021-12-08 Iain Sandoe <iain@sandoe.co.uk>
818 * config.host (*-*-darwin*): Add logic to build a shared
819 unwinder library for Darwin8-10.
820 * config/i386/t-darwin: Build legacy libgcc_s.1.
821 * config/rs6000/t-darwin: Likewise.
822 * config/t-darwin: Reorganise the EH fragments to place
823 them for inclusion in a shared EH lib.
824 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
825 the supporting pieces (all FAT libs).
826 * config/t-darwin-noeh: Removed.
827 * config/darwin-unwind.ver: New file.
828 * config/rs6000/t-darwin-ehs: New file.
829 * config/t-darwin-ehs: New file.
831 2021-12-06 Nelson Chu <nelson.chu@sifive.com>
833 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
834 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
835 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
838 2021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
840 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
841 ssize_t and vfork after including auto-host.h.
843 2021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
845 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
846 crtend.o to extra_parts.
848 2021-11-27 John David Anglin <danglin@gcc.gnu.org>
850 * config/pa/t-dimode (lib2difuncs): Fix typo.
852 2021-11-25 Florian Weimer <fweimer@redhat.com>
854 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
856 (find_fde_tail): New function. Split from
857 _Unwind_IteratePhdrCallback. Move the result initialization
858 from _Unwind_Find_FDE.
859 (_Unwind_Find_FDE): Updated to call find_fde_tail.
861 2021-11-22 Florian Weimer <fweimer@redhat.com>
863 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
864 (struct unw_eh_callback_data): Make dbase member conditional.
865 (unw_eh_callback_data_dbase): New function.
866 (base_from_cb_data): Simplify for the non-dbase case.
867 (_Unwind_IteratePhdrCallback): Adjust.
868 (_Unwind_Find_FDE): Likewise.
870 2021-11-22 Florian Weimer <fweimer@redhat.com>
872 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
874 (base_from_cb_data): Adjust.
875 (_Unwind_IteratePhdrCallback): Likewise.
876 (_Unwind_Find_FDE): Likewise.
878 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
880 * config.host: Add weak emutls crt to the extra_parts.
881 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
883 * config/libgcc-libsystem.ver: Add exclude list for the system-
885 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
886 * config/i386/libgcc-darwin.10.4.ver: Removed.
887 * config/i386/libgcc-darwin.10.5.ver: Removed.
888 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
889 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
890 * config/t-darwin-noeh: New file.
892 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
894 * config/t-darwin: Build weak-defined emutls objects.
895 * emutls.c (__emutls_get_address): Add optional attributes.
896 (__emutls_register_common): Likewise.
899 2021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
902 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
903 called with a null argument or at the end of the backtrace and return.
904 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
906 2021-11-10 Jakub Jelinek <jakub@redhat.com>
908 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
911 2021-11-05 Iain Sandoe <iain@sandoe.co.uk>
913 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
914 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
916 2021-11-05 John David Anglin <danglin@gcc.gnu.org>
919 * config.host (hppa*64*-*-linux*): Revise tmake_file.
920 (hppa*64*-*-hpux11*): Likewise.
921 * config/pa/sfp-exceptions.c: New.
922 * config/pa/sfp-machine.h: New.
923 * config/pa/t-dimode: New.
924 * config/pa/t-softfp-sfdftf: New.
926 2021-10-27 John David Anglin <danglin@gcc.gnu.org>
928 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
930 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
931 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
932 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
933 * config/pa/t-linux64 (LIB1ASMSRC): New define.
934 (LIB1ASMFUNCS): Revise.
935 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
937 2021-10-22 Stafford Horne <shorne@gmail.com>
939 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
942 2021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
944 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
945 outside of get_regs() in order to use it in another function, this
946 is done twice: for __powerpc64__ and for !__powerpc64__.
947 (struct trace_arg): New struct.
948 (struct layout): New struct.
949 (ppc_backchain_fallback): New function.
950 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
951 state and call MD_BACKCHAIN_FALLBACK.
953 2021-10-13 Martin Liska <mliska@suse.cz>
955 PR gcov-profile/90364
956 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
958 (write_one_data): Write also checksum.
959 * libgcov-util.c (read_gcda_file): Read also checksum field.
960 * libgcov.h (struct gcov_info): Add new field.
962 2021-10-08 Ian Lance Taylor <iant@golang.org>
964 * config/i386/morestack.S: Use .init_array for constructor if
966 * config/rs6000/morestack.S: Likewise.
967 * config/s390/morestack.S: Likewise.
969 2021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
972 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
973 Use more correct values for native IBM 128-bit.
975 2021-09-28 Iain Sandoe <iain@sandoe.co.uk>
977 * config/i386/libgcc-darwin.ver: Add Symbols for
978 __cpu_model, __cpu_indicator_init.
980 2021-09-22 Iain Sandoe <iain@sandoe.co.uk>
982 * config/i386/sfp-machine.h: Guard Mach-O-specific code
985 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
987 * config/t-slibgcc-darwin: Delete unused code.
989 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
991 * config/i386/t-darwin: Add in a vers file for X86-specific
993 * config/t-darwin: Add the generic symbol maps here...
994 * config/t-slibgcc-darwin: ... removing from here.
995 * config/i386/libgcc-darwin.ver: New file.
997 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
999 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
1002 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1004 * config.host: Use convenience library for Darwin10
1006 * config/t-darwin: Build Darwin10 unwinder shim as a
1007 convenience library.
1009 2021-09-13 Andrew Pinski <apinski@marvell.com>
1011 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
1012 * config/m32r/libgcc-glibc.ver: Removed.
1013 * config/m32r/t-linux: Removed.
1015 2021-09-08 liuhongt <hongtao.liu@intel.com>
1017 * config/i386/t-softfp: Compile __{mul,div}hc3 into
1020 2021-09-08 Jakub Jelinek <jakub@redhat.com>
1021 Iain Sandoe <iain@sandoe.co.uk>
1023 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
1024 and export *hf* and *hc* functions at GCC_12.0.0.
1026 2021-09-06 liuhongt <hongtao.liu@intel.com>
1028 * Makefile.in: Adjust to support specific CFLAGS for each
1030 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
1031 related libgcc source files.
1032 * config/i386/t-softfp: Ditto.
1033 * config/i386/_divhc3.c: New file.
1034 * config/i386/_mulhc3.c: New file.
1036 2021-09-03 Iain Sandoe <iain@sandoe.co.uk>
1038 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
1039 alias_DFtype, alias_TFtype): New.
1040 (ALIAS_SELECTOR): New.
1041 (strong_alias): Use __typeof and a _Generic selector to
1042 provide the type to the synthesized function.
1044 2021-09-02 liuhongt <hongtao.liu@intel.com>
1046 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
1047 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
1048 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
1049 * config/i386/t-softfp: Add hf soft-fp.
1050 * config.host: Add i386/64/t-softfp.
1051 * config/i386/64/t-softfp: New file.
1053 2021-09-02 liuhongt <hongtao.liu@intel.com>
1055 * soft-fp/eqhf2.c: New file.
1056 * soft-fp/extendhfdf2.c: New file.
1057 * soft-fp/extendhfsf2.c: New file.
1058 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
1059 * soft-fp/truncdfhf2.c: New file
1060 * soft-fp/truncsfhf2.c: New file
1062 2021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
1064 * unwind-arm-common.inc (abort): Remove.
1066 2021-08-31 Richard Sandiford <richard.sandiford@arm.com>
1068 * config/aarch64/value-unwind.h: Add missing runtime exception
1070 * config/frv/frv-abi.h: Likewise.
1071 * config/i386/value-unwind.h: Likewise.
1072 * config/pa/pa64-hpux-lib.h: Likewise.
1074 2021-08-26 David Edelsohn <dje.gcc@gmail.com>
1076 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
1078 (__gcc_qadd): Call ldouble_qadd_internal.
1079 (__gcc_qsub): Call ldouble_qadd_internal with second long double
1082 2021-08-26 Jonathan Yong <10walls@gmail.com>
1084 * config/i386/cygming-crtend.c: Fix register_frame_ctor
1085 and register_frame_dtor warnings.
1087 2021-08-24 Richard Earnshaw <rearnsha@arm.com>
1090 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
1091 Add vlldm erratum work-around.
1093 2021-08-21 John David Anglin <danglin@gcc.gnu.org>
1095 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
1097 2021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
1099 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
1100 (gcov_type_unsigned): Likewise.
1102 2021-08-14 Stafford Horne <shorne@gmail.com>
1105 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
1106 * config/or1k/t-crtstuff: New file.
1108 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1110 * libgcov-driver.c (#include <stdint.h>): Remove.
1111 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
1113 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1115 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
1116 * gcov.h (gcov_info): Declare.
1117 (__gcov_info_to_gdca): Likewise.
1118 * libgcov.h (gcov_write_counter): Remove.
1119 (gcov_write_tag_length): Likewise.
1120 * libgcov-driver.c (#include <stdint.h>): New.
1121 (#include <string.h>): Remove.
1122 (NEED_L_GCOV): Conditionally define.
1123 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
1124 (are_all_counters_zero): New.
1125 (gcov_dump_handler): Likewise.
1126 (gcov_allocate_handler): Likewise.
1127 (dump_unsigned): Likewise.
1128 (dump_counter): Likewise.
1129 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
1130 Use dump_unsigned() and dump_counter().
1131 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
1132 dump_unsigned(), dump_counter(), and are_all_counters_zero().
1133 (__gcov_info_to_gcda): New.
1135 2021-08-05 Jakub Jelinek <jakub@redhat.com>
1137 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
1138 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
1139 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
1140 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
1142 2021-08-04 Jakub Jelinek <jakub@redhat.com>
1144 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
1146 2021-07-15 Alan Modra <amodra@gmail.com>
1148 * config/rs6000/morestack.S (R2_SAVE): Define.
1149 (__morestack): Save and restore r2. Set up r2 for called
1152 2021-07-01 H.J. Lu <hjl.tools@gmail.com>
1154 * soft-fp/extendhfxf2.c: New file.
1155 * soft-fp/truncxfhf2.c: Likewise.
1157 2021-06-29 Julian Brown <julian@codesourcery.com>
1159 * config/gcn/lib2-bswapti2.c: New file.
1160 * config/gcn/lib2-divmod-di.c: New file.
1161 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
1163 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
1164 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
1167 2021-06-29 Julian Brown <julian@codesourcery.com>
1169 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
1170 return types to USItype.
1171 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
1173 2021-06-23 Kewen Lin <linkw@linux.ibm.com>
1175 * configure: Regenerate.
1176 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
1177 typos among the name, CFLAGS and the test.
1178 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
1179 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
1181 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
1182 macro FLOAT128_HW_INSNS_ISA3_1.
1183 (FP128_3_1_CFLAGS_HW): Fix option typo.
1184 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
1185 FLOAT128_HW_INSNS_ISA3_1.
1186 (__floattikf_resolve): Likewise.
1187 (__floatuntikf_resolve): Likewise.
1188 (__fixkfti_resolve): Likewise.
1189 (__fixunskfti_resolve): Likewise.
1190 (__floattikf): Likewise.
1191 (__floatuntikf): Likewise.
1192 (__fixkfti): Likewise.
1193 (__fixunskfti): Likewise.
1195 2021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1198 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
1200 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
1201 on passing -mcmse option.
1203 2021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
1205 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
1208 2021-06-09 Carl Love <cel@us.ibm.com>
1210 * config.host: Add if test and set for
1211 libgcc_cv_powerpc_3_1_float128_hw.
1212 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
1213 Change calls of __fixkfti to __fixkfti_sw.
1214 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
1215 Change calls of __fixunskfti to __fixunskfti_sw.
1216 * config/rs6000/float128-p10.c (__floattikf_hw,
1217 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
1218 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
1219 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
1220 __fixunskfti_resolve): Add resolve functions.
1221 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
1222 * config/rs6000/float128-sed (floattitf, __floatuntitf,
1223 __fixtfti, __fixunstfti): Add editor commands to change names.
1224 * config/rs6000/float128-sed-hw (__floattitf,
1225 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
1227 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
1228 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
1229 * config/rs6000/quad-float128.h (__floattikf_sw,
1230 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
1231 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
1232 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
1233 * config/rs6000/t-float128 (floattikf, floatuntikf,
1234 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
1235 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
1236 file names to fp128_ppc_funcs.
1237 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
1238 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
1239 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
1240 * config/rs6000/t-float128-p10-hw: New file.
1241 * configure: Update script for isa 3.1 128-bit float support.
1242 * configure.ac: Add check for 128-bit float hardware support.
1243 * config/rs6000/fixkfti-sw.c: New file.
1244 * config/rs6000/fixunskfti-sw.c: New file.
1245 * config/rs6000/floattikf-sw.c: New file.
1246 * config/rs6000/floatuntikf-sw.c: New file.
1248 2021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
1250 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
1252 2021-05-13 Martin Liska <mliska@suse.cz>
1254 * libgcov-driver.c: Fix GNU coding style.
1256 2021-05-10 Martin Liska <mliska@suse.cz>
1258 * libgcov-driver.c (gcov_version): Use different name that does
1259 not clash with newly introduced macro.
1261 2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
1263 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
1264 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
1265 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
1267 2021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1269 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1271 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
1272 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1274 (__divkc3): Improve complex divide.
1276 2021-04-23 Michael Meissner <meissner@linux.ibm.com>
1279 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
1280 trampoline size comparison in 32-bit by reversing test and
1281 combining load immediate with compare.
1282 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
1283 in 32-bit by reversing test and combining load immediate with
1286 2021-04-05 Florian Weimer <fweimer@redhat.com>
1287 Michael Meissner <meissner@linux.ibm.com>
1289 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
1290 point functions for $(decimal_float) only.
1292 2021-04-03 Jakub Jelinek <jakub@redhat.com>
1295 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
1296 $(objext) instead of $(object). Use _floatunditf instead of
1297 _floatunsditf. Add tf <-> ti conversion objects.
1298 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
1300 2021-03-29 Michael Meissner <meissner@linux.ibm.com>
1302 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
1303 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
1304 (fp128_decstr_objs): Delete.
1305 * dfp-bit.h: Call __sprintfieee128 to do conversions from
1306 _Float128 to a Decimal type. Call __strtoieee128 to do
1307 conversions from a Decimal type to _Float128.
1308 * config/rs6000/_sprintfkf.c: Delete file.
1309 * config/rs6000/_sprintfkf.h: Delete file.
1310 * config/rs6000/_strtokf.c: Delete file.
1311 * config/rs6000/_strtokf.h: Delete file.
1313 2021-03-23 Marcus Comstedt <marcus@mc.pp.se>
1315 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
1318 2021-03-06 Jakub Jelinek <jakub@redhat.com>
1320 PR gcov-profile/99406
1321 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
1322 defined, define these macros if not defined already.
1324 2021-03-04 Martin Liska <mliska@suse.cz>
1326 PR gcov-profile/99105
1327 * libgcov-driver.c (write_top_counters): Rename to ...
1328 (write_topn_counters): ... this.
1329 (write_one_data): Pre-allocate buffer for number of items
1330 in the corresponding linked lists.
1331 * libgcov.h (malloc_mmap): New function.
1332 (allocate_gcov_kvp): Use it.
1334 2021-03-04 Martin Liska <mliska@suse.cz>
1336 PR gcov-profile/99385
1337 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
1339 2021-03-03 Martin Liska <mliska@suse.cz>
1341 PR gcov-profile/97461
1342 * config.in: Regenerate.
1343 * configure: Likewise.
1344 * configure.ac: Check sys/mman.h header file
1345 * libgcov-driver.c (struct gcov_kvp): Remove static
1346 pre-allocated pool and use a dynamic one.
1347 * libgcov.h (MMAP_CHUNK_SIZE): New.
1348 (gcov_counter_add): Use mmap to allocate pool for struct
1351 2021-03-02 Michael Meissner <meissner@linux.ibm.com>
1353 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
1355 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
1357 2021-02-24 Jakub Jelinek <jakub@redhat.com>
1360 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
1361 negation of m in unsigned type.
1363 2021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
1364 Hau Hsu <hsuhau617@gmail.com>
1367 * config/arm/t-arm: Fix cmse support detection.
1369 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
1371 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
1373 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
1375 * config/rs6000/_dd_to_kf.c: New file.
1376 * config/rs6000/_kf_to_dd.c: New file.
1377 * config/rs6000/_kf_to_sd.c: New file.
1378 * config/rs6000/_kf_to_td.c: New file.
1379 * config/rs6000/_sd_to_kf.c: New file.
1380 * config/rs6000/_sprintfkf.c: New file.
1381 * config/rs6000/_sprintfkf.h: New file.
1382 * config/rs6000/_strtokf.h: New file.
1383 * config/rs6000/_strtokf.c: New file.
1384 * config/rs6000/_td_to_kf.c: New file.
1385 * config/rs6000/quad-float128.h: Add new declarations.
1386 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
1387 (fp128_decstr_funcs): New macro.
1388 (ibm128_dec_funcs): New macro.
1389 (fp128_ppc_funcs): Add the new conversions.
1390 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
1391 compiled with -mabi=ieeelongdouble.
1392 (fp128_decstr_objs): Force __float128 <-> string conversions to be
1393 compiled with -mabi=ibmlongdouble.
1394 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
1395 compiled with -mabi=ieeelongdouble.
1396 (FP128_CFLAGS_DECIMAL): New macro.
1397 (IBM128_CFLAGS_DECIMAL): New macro.
1398 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
1399 (BFP_TO_DFP): Add PowerPC _Float128 support.
1400 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
1401 IEEE 128-bit floating point.
1402 (DFP_TO_BFP): Add PowerPC _Float128 support.
1403 (BFP_TO_DFP): Add PowerPC _Float128 support.
1404 (BFP_SPRINTF): New macro.
1406 2021-01-27 Jakub Jelinek <jakub@redhat.com>
1408 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
1409 * config/i386/savms64f.h: Likewise.
1410 * config/i386/resms64.h: Likewise.
1411 * config/i386/resms64f.h: Likewise.
1412 * config/i386/resms64x.h: Likewise.
1413 * config/i386/resms64fx.h: Likewise.
1415 2021-01-26 Martin Liska <mliska@suse.cz>
1417 PR gcov-profile/98739
1418 * libgcov.h (gcov_topn_add_value): Do not train when
1419 we have a merged profile with a negative number of total
1422 2021-01-25 Martin Liska <mliska@suse.cz>
1424 PR gcov-profile/98739
1425 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
1426 ends with a dropped counter.
1427 * libgcov.h (gcov_topn_add_value): Add return value.
1429 2021-01-13 Stafford Horne <shorne@gmail.com>
1431 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1432 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
1433 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
1434 FP_EX_ALL): New constant macros.
1435 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
1436 FP_HANDLE_EXCEPTIONS): New macros.
1437 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
1439 2021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
1441 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
1442 posix siginfo case to struct handler_args. Detect between legacy
1443 and siginfo from the second parameter, which is a small sigcode in
1444 the legacy case, and a pointer in the siginfo case.
1446 2020-12-20 Max Filippov <jcmvbkbc@gmail.com>
1448 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
1450 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
1453 2020-12-08 Ian Lance Taylor <iant@golang.org>
1455 * generic-morestack-thread.c (free_segments): Block signals during
1458 2020-12-03 Michael Meissner <meissner@linux.ibm.com>
1462 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
1463 (IBM128_SHARED_OBJS): New make variable.
1464 (IBM128_OBJS): New make variable. Set all objects to use the
1465 explicit IBM format, and disable gnu attributes.
1466 (IBM128_CFLAGS): New make variable.
1467 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
1470 2020-12-03 Alexandre Oliva <oliva@adacore.com>
1472 * config/t-vxworks (LIB2ADD): Drop.
1473 * config/t-vxworks7 (LIB2ADD): Likewise.
1474 * config/vxcache.c: Remove.
1476 2020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
1478 * libgcc2.c (bswapsi2): Make constants unsigned.
1480 2020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
1482 * libgcc2.c (absvSI2): Simplify/improve implementation by using
1483 builtin_add_overflow.
1484 (absvsi2, absvDI2): Likewise.
1486 2020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
1488 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
1489 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
1491 2020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1493 * config/msp430/lib2hw_mul.S (mult64_hw): New.
1494 (if MUL_32): Use mult64_hw for __muldi3.
1495 (if MUL_F5): Use mult64_hw for __muldi3.
1496 * config/msp430/lib2mul.c (__muldi3): New.
1497 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
1499 2020-11-17 Alan Modra <amodra@gmail.com>
1501 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
1502 (LIB2_SIDITI_CONV_FUNCS): Define.
1503 * config/rs6000/ppc64-fp.c: Delete file.
1505 2020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1507 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
1508 hwmult library functions.
1510 2020-11-10 Jeff Law <law@redhat.com>
1512 * libgcc2.c: Fix whitespace issues in most recent change.
1514 2020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
1516 * libgcc2.c (__addvSI3): Use overflow builtins.
1517 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
1518 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
1519 (__negvsi2, __negvDI2): Likewise.
1520 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
1522 * libgcc2.h (__ucmpdi2): Adjust prototype.
1524 2020-11-03 Pat Bernardi <bernardi@adacore.com>
1525 Olivier Hainque <hainque@adacore.com>
1527 * config.host (aarch64-vxworks7*, tmake_file): Add
1528 ${cpu_type}/t-lse and t-slibgcc-libgcc.
1530 2020-11-03 Martin Storsjö <martin@martin.st>
1532 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
1533 before calling the callback.
1535 2020-10-30 Olivier Hainque <hainque@adacore.com>
1536 Douglas Rupp <rupp@adacore.com>
1537 Pat Bernardi <bernardi@adacore.com>
1539 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
1540 to apply to VxWorks 7 as well.
1542 2020-10-29 Olivier Hainque <hainque@adacore.com>
1544 * config/gthr-vxworks-tls.c: Fix preprocessor logic
1545 controlling the definition of VX_ENTER_TLS_DTOR and
1546 VX_LEAVE_TLS_DTOR based on a version major check.
1548 2020-10-29 Olivier Hainque <hainque@adacore.com>
1550 * config/gthr-vxworks-thread.c: Fix name of macro used
1551 to condition the inclusion of an actual implementation.
1553 2020-10-27 Martin Liska <mliska@suse.cz>
1555 PR gcov-profile/97461
1556 * libgcov.h (gcov_counter_add): Use first static counters
1557 as it should help to have malloc wrappers set up.
1559 2020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1561 * config/gthr-vxworks-thread.c: #include gthr.h before
1562 testing the guard defined there.
1563 * config/gthr-vxworks-cond.c: Likewise.
1565 2020-10-21 Douglas Rupp <rupp@adacore.com>
1566 Olivier Hainque <hainque@adacore.com>
1568 * config.host (powerpc*-wrs-vxworks7*): New case.
1569 * configure.ac: Handle powerpc*-*-vxworks7* as
1570 powerpc*-*-linux* for ppc-fp_type.
1571 * configure: Regenerate.
1573 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1575 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
1576 section on VxWorks >= 6.
1577 * config/gthr-vxworks-thread.c: Condition the entire
1578 implementation on __GTHREAD_CXX0X.
1580 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1582 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
1583 section on VxWorks >= 6.
1584 * config/gthr-vxworks-cond.c: Condition the entire
1585 implementation on __GTHREAD_HAS_COND.
1587 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1589 * config/gthr-vxworks.c: #include <taskLib.h>.
1591 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1593 * config/gthr-vxworks.h: Rewrite remaining occurrence
1594 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
1596 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1597 Olivier Hainque <hainque@adacore.com>
1599 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
1600 except on VxWorks 6.
1602 2020-10-16 Olivier Hainque <hainque@adacore.com>
1604 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
1606 2020-10-14 Alexandre Oliva <oliva@adacore.com>
1608 * config/gthr-vxworks-thread.c: Include stdlib.h.
1609 (tls_delete_hook): Prototype it.
1610 (__gthread_cond_signal): Return early if no waiters. Consume
1611 signal in case the semaphore got full. Use semInfoGet instead
1612 of kernel-mode-only semInfo.
1613 (__gthread_cond_timedwait): Use semExchange. Always take the
1614 mutex again before returning.
1615 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
1617 2020-10-14 Olivier Hainque <hainque@adacore.com>
1619 * config/t-vxworks (LIBGCC2_INCLUDES): Append
1620 $(MULTISUBDIR) to the -I path for fixed headers, as we
1621 arrange to have different sets of such headers for different
1622 multilibs when they are activated.
1623 * config/t-vxworks7: Likewise.
1625 2020-10-14 Olivier Hainque <hainque@adacore.com>
1627 * config/t-vxworks: Add include-fixed to include search
1628 paths for libgcc on VxWorks.
1629 * config/t-vxworks7: Likewise.
1631 2020-10-09 H.J. Lu <hjl.tools@gmail.com>
1634 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
1635 instead of <cetintrin.h>.
1637 2020-10-01 Alan Modra <amodra@gmail.com>
1639 * config/rs6000/morestack.S,
1640 * config/rs6000/tramp.S: Support __PCREL__ code.
1642 2020-10-01 Alan Modra <amodra@gmail.com>
1644 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
1646 2020-09-29 Maciej W. Rozycki <macro@wdc.com>
1648 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
1651 2020-09-28 Richard Sandiford <richard.sandiford@arm.com>
1653 * config/aarch64/libgcc-softfp.ver: New file.
1654 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
1656 2020-09-27 Clement Chigot <clement.chigot@atos.net>
1658 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
1660 2020-09-22 Sergei Trofimovich <siarheit@google.com>
1662 PR gcov-profile/96913
1663 * libgcov-driver.c (write_one_data): Avoid function pointer
1664 comparison in TOP streaming decision.
1666 2020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
1667 Christophe Lyon <christophe.lyon@linaro.org>
1669 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
1671 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
1672 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
1675 2020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
1677 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
1678 unused variable warning.
1680 2020-09-16 Jojo R <jiejie_rong@c-sky.com>
1682 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
1684 2020-09-09 Tom de Vries <tdevries@suse.de>
1686 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
1687 Wbuiltin-declaration-mismatch.
1689 2020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1691 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
1692 * config/msp430/srai.S (__gnu_mspabi_srap): New.
1693 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
1695 2020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
1697 * config/nvptx/atomic.c: New.
1698 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
1700 2020-08-03 Ian Lance Taylor <iant@golang.org>
1702 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
1704 2020-08-03 Jakub Jelinek <jakub@redhat.com>
1707 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
1708 of x(tmp0), x(tmp1) in STXP arguments.
1710 2020-07-31 Maciej W. Rozycki <macro@wdc.com>
1712 * config/riscv/save-restore.S [__riscv_xlen == 64]
1713 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
1714 (__riscv_save_2): Replace negative immediates used for the final
1715 stack pointer adjustment with positive ones, right-shifted by 4.
1717 2020-07-31 Martin Liska <mliska@suse.cz>
1719 * libgcov-driver.c: Add __gcov_kvp_pool
1720 and __gcov_kvp_pool_index variables.
1721 * libgcov.h (allocate_gcov_kvp): New.
1722 (gcov_topn_add_value): Use it.
1724 2020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1726 * config/aarch64/lse.S: Add PAC property note.
1728 2020-07-23 Martin Liska <mliska@suse.cz>
1730 PR gcov-profile/96035
1731 * libgcov-driver-system.c: Create gcov folders with 0777
1732 so that it respects a system umask.
1734 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
1736 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
1738 2020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1741 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
1742 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
1743 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
1744 (MD_DEMANGLE_RETURN_ADDR): This.
1745 (aarch64_post_extract_frame_addr): Rename to ...
1746 (aarch64_demangle_return_addr): This.
1747 (aarch64_post_frob_eh_handler_addr): Remove.
1748 * unwind-dw2.c (uw_update_context): Demangle return address.
1749 (uw_frob_return_addr): Remove.
1751 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1754 * config/aarch64/lse.S: Add BTI marking and related definitions,
1755 and add BTI c to function entries.
1757 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1759 * config/aarch64/lse.S: Add stack note.
1761 2020-07-02 Martin Liska <mliska@suse.cz>
1763 PR gcov-profile/95348
1764 * libgcov-driver.c (merge_one_data): Merge only profiles
1765 that are not of non-zero type.
1766 (write_one_data): Write counters only if there's one non-zero
1768 * libgcov-util.c (tag_function): Change signature from unsigned
1770 (tag_blocks): Likewise.
1771 (tag_arcs): Likewise.
1772 (tag_counters): Likewise.
1773 (tag_summary): Likewise.
1774 (tag_lines): Read only if COUNTERS is non-zero.
1775 (read_gcda_file): Handle negative length for COUNTERS type.
1777 2020-06-25 Martin Liska <mliska@suse.cz>
1779 * libgcov-driver.c (merge_summary): Remove function as its name
1780 is misleading and doing something different.
1781 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
1783 * libgcov-util.c (curr_object_summary): Remove.
1784 (read_gcda_file): Remove unused curr_object_summary.
1785 (gcov_merge): Merge summaries.
1786 * libgcov.h: Add summary argument for gcov_info struct.
1788 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
1791 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
1792 "common/config/i386/i386-cpuinfo.h" and
1793 "common/config/i386/cpuinfo.h".
1794 (__cpu_features2): Changed to array.
1795 (get_amd_cpu): Removed.
1796 (get_intel_cpu): Likewise.
1797 (get_available_features): Likewise.
1798 (__cpu_indicator_init): Call cpu_indicator_init.
1799 * config/i386/cpuinfo.h: Removed.
1801 2020-06-23 David Edelsohn <dje.gcc@gmail.com>
1803 * Makefile.in: Remove uses of empty.mk. Use -include.
1804 * config/avr/t-avr: Use -include.
1807 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
1809 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
1810 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
1811 and 64 bit with -maix64.
1812 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
1813 Build and install AIX-style FAT libraries.
1815 2020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
1817 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
1819 * config/i386/gnu-unwind.h: New file.
1821 2020-06-17 Martin Liska <mliska@suse.cz>
1823 * libgcov-util.c (read_gcda_finalize): Remove const operator.
1824 (merge_wrapper): Add both counts and use them properly.
1825 (topn_to_memory_representation): New function.
1826 (gcov_merge): Covert on disk representation to in memory
1828 * libgcov.h: Remove const operator.
1830 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
1832 * configure: Regenerate.
1833 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
1834 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
1836 2020-06-09 Martin Liska <mliska@suse.cz>
1838 PR gcov-profile/95494
1839 * libgcov-driver.c (write_top_counters): Cast first to
1840 intptr_t as sizeof(*) != sizeof(gcov_type).
1841 * libgcov.h (gcov_counter_set_if_null): Remove.
1842 (gcov_topn_add_value): Cast first to intptr_t and update
1843 linked list directly.
1845 2020-06-09 Max Filippov <jcmvbkbc@gmail.com>
1847 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
1848 with uw_install_context_1.
1850 2020-06-04 Andreas Schwab <schwab@suse.de>
1854 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
1856 (LIB2ADD): Add config/ia64/divtf3.c.
1857 * config/ia64/divtf3.c: New file.
1859 2020-06-03 Martin Liska <mliska@suse.cz>
1861 PR gcov-profile/95480
1862 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
1863 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
1864 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
1865 (gcov_counter_set_if_null): Likewise.
1867 2020-06-02 Jim Wilson <jimw@sifive.com>
1869 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
1872 2020-06-02 Martin Liska <mliska@suse.cz>
1874 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
1877 2020-06-02 Martin Liska <mliska@suse.cz>
1879 * libgcov-driver.c (prune_topn_counter): Remove.
1880 (prune_counters): Likewise.
1881 (merge_one_data): Special case TOP N counters
1882 as they have variable length.
1883 (write_top_counters): New.
1884 (write_one_data): Special case TOP N.
1885 (dump_one_gcov): Do not prune TOP N counters.
1886 * libgcov-merge.c (merge_topn_values_set): Remove.
1887 (__gcov_merge_topn): Use gcov_topn_add_value.
1888 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1890 * libgcov.h (gcov_counter_add): New.
1891 (gcov_counter_set_if_null): Likewise.
1892 (gcov_topn_add_value): New.
1894 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
1896 * config/i386/sfp-exceptions.c (struct fenv):
1897 Add __attribute__ ((gcc_struct)).
1899 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
1902 * configure: Regenerated.
1904 2020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
1906 PR gcov-profile/95332
1907 * libgcov-util.c (read_gcda_file): Call gcov_magic.
1908 * libgcov.h (gcov_magic): Disable GCC poison.
1910 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
1913 * config/i386/cpuinfo.h (processor_features): Move
1914 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
1916 2020-05-20 H.J. Lu <hongjiu.lu@intel.com>
1919 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
1922 2020-05-19 H.J. Lu <hongjiu.lu@intel.com>
1926 * config/i386/cpuinfo.c (get_available_features): Fix
1927 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
1928 * config/i386/cpuinfo.h (processor_features): Add
1929 FEATURE_AVX512VP2INTERSECT.
1931 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
1934 * configure: Regenerated.
1936 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
1938 * configure: Regenerated.
1940 2020-05-09 Hans-Peter Nilsson <hp@axis.com>
1942 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
1943 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
1945 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
1947 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
1948 (__math_force_eval_div): New define.
1949 (__sfp_handle_exceptions): Use __math_force_eval_div to use
1950 generic division to generate INVALID, DIVZERO and INEXACT
1953 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1955 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
1956 instead of getauxval.
1958 (HWCAP_ATOMICS): Define.
1959 Guard detection on __gnu_linux__.
1961 2020-05-05 Michael Meissner <meissner@linux.ibm.com>
1963 * config.host: Delete changes meant for a private branch.
1964 * config/rs6000/t-float128: Likewise.
1965 * configure.ac: Likewise.
1966 * configure: Likewise.
1968 2020-05-05 Martin Liska <mliska@suse.cz>
1970 PR gcov-profile/93623
1971 * Makefile.in: Remove __gcov_flush.
1972 * gcov.h (__gcov_flush): Remove.
1973 * libgcov-interface.c (__gcov_flush): Remove.
1974 (init_mx): Use renamed mutex.
1975 (__gcov_lock): Likewise.
1976 (__gcov_unlock): Likewise.
1977 (__gcov_fork): Likewise.
1978 (__gcov_flush): Remove.
1980 2020-05-05 Martin Liska <mliska@suse.cz>
1982 PR gcov-profile/93623
1983 * libgcov-interface.c (__gcov_fork): Do not flush
1984 and reset only in child process.
1985 (__gcov_execl): Dump counters only and reset them
1986 only if exec* fails.
1987 (__gcov_execlp): Likewise.
1988 (__gcov_execle): Likewise.
1989 (__gcov_execv): Likewise.
1990 (__gcov_execvp): Likewise.
1991 (__gcov_execve): Likewise.
1993 2020-05-05 Martin Liska <mliska@suse.cz>
1995 PR gcov-profile/93623
1996 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
1997 * libgcov-interface.c (ALIAS_void_fn): Remove.
1999 (__gcov_unlock): New.
2000 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
2001 (__gcov_reset): Likewise.
2002 (__gcov_dump): Likewise.
2003 * libgcov.h (__gcov_lock): New declaration.
2004 (__gcov_unlock): Likewise.
2006 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
2008 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
2009 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
2010 generic division to generate INVALID and DIVZERO exceptions.
2012 2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
2014 * config/rs6000/crtresfpr.S: Use .machine ppc.
2015 * config/rs6000/crtresxfpr.S: Likewise.
2016 * config/rs6000/crtsavfpr.S: Likewise.
2018 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2021 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
2022 Update context->flags accroding to the frame state.
2024 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
2026 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
2027 Remove unneeded assignments to volatile memory.
2029 2020-04-15 Jakub Jelinek <jakub@redhat.com>
2032 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
2033 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
2034 is not defined, use just .arch armv8-a.
2035 (B, M, N, OPN): Define.
2036 (COMMENT): New .macro.
2037 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
2038 defined. Otherwise, move the operands right after the glue? and
2039 comment out operands where the macros are used.
2040 * configure: Regenerated.
2041 * config.in: Regenerated.
2043 2020-04-07 Ian Lance Taylor <iant@golang.org>
2046 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
2049 2020-04-04 Ian Lance Taylor <iant@golang.org>
2051 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
2053 2020-04-03 Ian Lance Taylor <iant@golang.org>
2055 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
2056 than mmap/munmap, to avoid hooks.
2058 2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
2060 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
2061 (TPFRA_OFFSET): Macros removed.
2062 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
2063 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
2064 (PG3_SKIPPING_OFFSET): New macros.
2065 (__isPATrange): Use cinfc_fast for the check.
2066 (__isSkipResetAddr): New function.
2067 (s390_fallback_frame_state): Check for skip trace addresses. Use
2068 either ICST_CRET or ICST_SRET to calculate return address
2070 (__tpf_eh_return): Handle skip trace addresses.
2072 2020-03-26 Richard Earnshaw <rearnsha@arm.com>
2075 * config/arm/lib1funcs.asm (COND): Use a single definition for
2077 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
2078 (aeabi_idivmod): Likewise.
2079 (divsi3_skip_div0_test): Likewise.
2081 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
2083 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
2085 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
2087 * config.host: Include the new makefile fragment.
2088 * config/s390/t-tpf: New file.
2090 2020-03-03 Richard Earnshaw <rearnsha@arm.com>
2092 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
2094 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
2095 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
2096 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
2097 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
2098 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
2100 (divsi3, modsi3): Likewise.
2101 (clzdi2, ctzsi2): Likewise.
2102 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
2104 (UNWIND_WRAPPER): Likewise.
2106 2020-03-02 Martin Liska <mliska@suse.cz>
2108 * libgcov-interface.c: Remove duplicate
2109 declaration of __gcov_flush_mx.
2111 2020-02-18 Martin Liska <mliska@suse.cz>
2114 * libgcov-merge.c (merge_topn_values_set): Record
2115 when a TOP N counter becomes invalid. When merging
2116 remove a smallest value if the space is needed.
2118 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
2123 * configure: Regenerated.
2125 2020-02-10 Jeff Law <law@redhat.com>
2127 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
2129 * config/frv/frvend.c: Similarly.
2131 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
2134 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2137 2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
2140 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
2141 _Unwind_gnu_Find_got.
2142 * unwind-pe.h: Likewise.
2144 2020-02-07 Jakub Jelinek <jakub@redhat.com>
2147 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
2148 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
2149 trailing :s in asm. Formatting fixes.
2150 (_Unwind_decode_typeinfo_ptr): Adjust caller.
2152 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
2154 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
2156 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
2157 * config/nios2-elf-lib.h: New.
2158 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
2159 code for finding GOT base for nios2.
2161 2020-01-27 Martin Liska <mliska@suse.cz>
2163 PR gcov-profile/93403
2164 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
2165 Call __gcov_indirect_call_profiler_body.
2166 (__gcov_indirect_call_profiler_body): New.
2167 (__gcov_indirect_call_profiler_v4_atomic): New.
2168 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
2171 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
2173 * config/arc/crti.S: Add RF16 object attribute.
2174 * config/arc/crtn.S: Likewise.
2175 * config/arc/crttls.S: Likewise.
2176 * config/arc/lib1funcs.S: Likewise.
2177 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
2178 * config/arc/lib2funcs.c: New file.
2179 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
2181 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
2183 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
2184 * configure.ac: Handle `--with-toolexeclibdir='.
2185 * configure: Regenerate.
2187 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2189 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
2191 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2193 * config/mips/gnustack.h: New file.
2194 * config/mips/crti.S: Include gnustack.h.
2195 * config/mips/crtn.S: Likewise.
2196 * config/mips/mips16.S: Likewise.
2197 * config/mips/vr4120-div.S: Likewise.
2199 2020-01-23 Martin Liska <mliska@suse.cz>
2201 * libgcov-driver.c (prune_topn_counter): Remove
2202 check for -1 as we only prune run-time counters
2203 that do not generate an invalid state.
2205 2020-01-22 Martin Liska <mliska@suse.cz>
2207 PR tree-optimization/92924
2208 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
2209 try to find an existing value, then find an empty slot
2212 2020-01-22 Martin Liska <mliska@suse.cz>
2214 PR tree-optimization/92924
2215 * libgcov-driver.c (prune_topn_counter): New.
2216 (prune_counters): Likewise.
2217 (dump_one_gcov): Prune a run-time counter.
2218 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2219 For a known value, add GCOV_TOPN_VALUES to value.
2220 Otherwise, decrement all counters by one.
2222 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
2224 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
2226 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
2229 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
2230 DEFAULT_USE_CXA_ATEXIT is true.
2232 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
2233 Thomas Preud'homme <thomas.preudhomme@arm.com>
2235 * config/arm/t-arm: Check return value of gcc rather than lack of
2238 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
2240 * config/avr/lib1funcs.S (skip): Simplify.
2242 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
2244 * config/gcn/atomic.c: Remove include of stdint.h.
2245 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
2248 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
2250 * config/gcn/atomic.c: New.
2251 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
2253 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
2255 Implement 64-bit double functions.
2258 * config.host (tmake_file) [target=avr]: Add t-libf7,
2259 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
2260 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
2261 depending on sizeof (double) or sizeof (long double).
2262 * config/avr/libf7: New folder.
2264 2020-01-05 Olivier Hainque <hainque@adacore.com>
2266 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
2269 2020-01-01 Jakub Jelinek <jakub@redhat.com>
2271 Update copyright years.
2273 2019-12-30 Olivier Hainque <hainque@adacore.com>
2275 * config/gthr-vxworks.h: Use _vxworks-versions.h.
2276 * config/gthr-vxworks-tls.c: Likewise.
2278 2019-12-30 Olivier Hainque <hainque@adacore.com>
2280 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
2281 standard zero-initializer syntax.
2283 2019-12-30 Olivier Hainque <hainque@adacore.com>
2285 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
2286 reference to the internal VX_GET_TLS_DATA interface.
2288 2019-12-30 Olivier Hainque <hainque@adacore.com>
2290 * config/vxcrtstuff.c: Fix incorrect spelling of
2291 USE_INITFINI_ARRAY in guard.
2293 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2295 * config.host: s/msp430*-*-elf/msp430-*-elf*.
2296 Override default "extra_parts" variable.
2297 * configure: Regenerate.
2298 * configure.ac: Disable TM clone registry by default for
2301 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2303 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
2305 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
2307 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2309 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
2312 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2314 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
2315 defined instead of its value.
2317 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2319 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
2320 if it will have contents.
2322 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
2325 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
2327 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
2330 * config.host: Add t-gthr-noweak on *-*-musl*.
2331 * config/t-gthr-noweak: New file.
2333 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
2335 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
2336 volatile void *. Remove trap check.
2337 (__kernel_cmpxchg2): Likewise.
2338 (FETCH_AND_OP_2): Adjust operand types.
2339 (OP_AND_FETCH_2): Likewise.
2340 (FETCH_AND_OP_WORD): Likewise.
2341 (OP_AND_FETCH_WORD): Likewise.
2342 (COMPARE_AND_SWAP_2): Likewise.
2343 (__sync_val_compare_and_swap_4): Likewise.
2344 (__sync_bool_compare_and_swap_4): Likewise.
2345 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2346 (__sync_lock_test_and_set_4): Likewise.
2347 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
2348 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
2350 (__sync_lock_release_8): Remove.
2352 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
2354 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
2357 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
2358 Doug Rupp <rupp@adacore.com>
2359 Olivier Hainque <hainque@adacore.com>
2361 * config.host: Collapse the arm-vxworks entries into
2362 a single arm-wrs-vxworks7* one.
2363 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
2364 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
2365 kernel modules, to be overriden by libstdc++ when we link with
2366 it. Rely on externally provided __exidx_start/end.
2368 2019-11-14 Doug Rupp <rupp@adacore.com>
2369 Olivier Hainque <hainque@adacore.com>
2371 * config.host: Handle aarch64*-wrs-vxworks7*.
2373 2019-11-12 Olivier Hainque <hainque@adacore.com>
2375 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
2376 sources except the cxx0x support to LIB2ADDEH. We don't support
2378 * config/t-vxworksae: New file.
2379 * config.host: Handle *-*-vxworksae: Add the two aforementioned
2380 Makefile fragment files at their expected position in the tmake_file
2381 list, in accordance with what is done for other VxWorks variants.
2383 2019-11-12 Corentin Gay <gay@adacore.com>
2384 Jerome Lambourg <lambourg@adacore.com>
2385 Olivier Hainque <hainque@adacore.com>
2387 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
2388 sources to LIB2ADDEH.
2389 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
2390 * config/t-vxworks7: Likewise.
2392 * config.host: Append a block at the end of the file to add the
2393 t-gthr files to the tmake_file list for VxWorks after everything
2396 * config/vxlib.c: Rename as gthr-vxworks.c.
2397 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
2399 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
2400 API and a basic error checking API, both internal. Simplify the
2401 __gthread_once_t type definition and initializers. Add sections
2402 for condition variables support and for the C++0x thread support,
2403 conditioned against Vx653 for the latter.
2405 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
2406 implementation, leveraging the TAS internal API.
2407 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
2408 API, leveraging the general availability of TLS services in VxWorks7
2410 (__gthread_setspecific, __gthread_setspecific): Use it.
2411 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
2412 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
2413 support based on VxWorks primitives.
2414 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
2415 based on VxWorks primitives.
2417 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
2418 Olivier Hainque <hainque@adacore.com>
2420 * config/vxcrtstuff.c: New file.
2421 * config/t-vxcrtstuff: New Makefile fragment.
2422 * config.host: Append t-vxcrtstuff to the tmake_file list
2423 on all VxWorks ports using dwarf for table based EH.
2425 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
2427 Support 64-bit double and 64-bit long double configurations.
2430 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
2431 long double is a 32-bit type.
2432 * config/avr/t-avrlibc: Copy double64 and long-double64
2433 multilib(s) from the vanilla one.
2434 * config/avr/t-copy-libgcc: New Makefile snip.
2436 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2438 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
2439 the target output object format is not ELF.
2440 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
2442 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
2445 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
2446 * fp-bit.c (pack_d, unpack_d): Remove special cases for
2447 FLOAT_BIT_ORDER_MISMATCH.
2448 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
2450 2019-11-01 Jim Wilson <jimw@sifive.com>
2452 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
2454 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2456 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
2457 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
2458 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
2459 Define symbols for 32-bit and f5series hardware multiply
2461 Replace hard-coded register addresses with symbols.
2462 Fix "_mspabi*" typo.
2464 * config/msp430/lib2mul.c: Add comment.
2466 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
2468 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
2469 unsigned int. Adjust callers.
2470 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
2471 unsigned int *. Load relocation offset before function pointer.
2472 Add barrier to ensure ordering.
2474 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
2476 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
2477 Load PIC register after branch target. Fix white space.
2478 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
2479 implementations. Load PIC register after branch target. Don't
2480 clobber function pointer when it points to function descriptor.
2481 Use nullification instead of branch in LINUX implementation.
2483 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
2485 * config/pa/fptr.c: Disable -Warray-bounds warning.
2487 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
2489 * config.in, configure: Re-rebuild with stock autoconf 2.69,
2490 not the ubuntu modified 2.69.
2493 * config/aarch64/lse-init.c: Include auto-target.h. Disable
2494 initialization if !HAVE_SYS_AUXV_H.
2495 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
2496 * config.in, configure: Rebuild.
2499 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
2502 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
2504 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
2505 CTR_EL0.IDC and CTR_EL0.DIC.
2507 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
2510 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2511 Mickaël Guêné <mickael.guene@st.com>
2513 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2516 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
2518 * config/aarch64/lse-init.c: New file.
2519 * config/aarch64/lse.S: New file.
2520 * config/aarch64/t-lse: New file.
2521 * config.host: Add t-lse to all aarch64 tuples.
2523 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2524 Mickaël Guêné <mickael.guene@st.com>
2526 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2529 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2530 Mickaël Guêné <mickael.guene@st.com>
2532 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
2533 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
2534 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
2535 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
2536 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
2537 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
2538 (__gnu_personality_sigframe_fdpic): New.
2539 (get_eit_entry): Add FDPIC signal frame support.
2541 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2542 Mickaël Guêné <mickael.guene@st.com>
2544 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
2545 (__kernel_dmb): Likewise.
2546 (__fdpic_cmpxchg): New function.
2547 (__fdpic_dmb): New function.
2548 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
2549 (gnu_Unwind_Find_got): New function.
2550 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
2551 * unwind-arm-common.inc (UCB_PR_GOT): New.
2552 (funcdesc_t): New struct.
2553 (get_eit_entry): Add FDPIC support.
2554 (unwind_phase2): Likewise.
2555 (unwind_phase2_forced): Likewise.
2556 (__gnu_Unwind_RaiseException): Likewise.
2557 (__gnu_Unwind_Resume): Likewise.
2558 (__gnu_Unwind_Backtrace): Likewise.
2559 * unwind-pe.h (read_encoded_value_with_base): Likewise.
2561 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2562 Mickaël Guêné <mickael.guene@st.com>
2564 * libgcc/crtstuff.c: Add support for FDPIC.
2566 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2568 * config.host: Handle *-*-uclinuxfdpiceabi.
2570 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2572 * config.host: Set cpu_type for bpf-*-* targets.
2573 * config/bpf/t-bpf: Likewise.
2574 * config/bpf/crtn.S: Likewise.
2575 * config/bpf/crti.S: New file.
2577 2019-09-06 Jim Wilson <jimw@sifive.com>
2579 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2580 (riscv*-*-freebsd*): Likewise.
2582 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
2584 * config.host: Remove references to spu.
2585 * config/spu/: Remove directory.
2587 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2590 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
2591 element type, instead of "sizeof" the element type.
2592 (__DTOR_LIST__): Likewise.
2593 (__TMC_LIST__): Likewise.
2594 (__do_global_dtors_aux_fini_array_entry): Likewise.
2595 (__frame_dummy_init_array_entry): Likewise.
2596 (__CTOR_END__): Likewise.
2597 (__DTOR_END__): Likweise.
2598 (__FRAME_END__): Likewise.
2599 (__TMC_END__): Likewise.
2601 2019-08-20 Lili Cui <lilicui@intel.com>
2603 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
2604 INTEL_COREI7_COOPERLAKE.
2606 2019-07-31 Matt Thomas <matt@3am-software.com>
2607 Nick Hudson <nick@nthcliff.demon.co.uk>
2608 Matthew Green <mrg@eterna.com.au>
2609 Maya Rashish <coypu@sdf.org>
2611 * config.host (hppa*-*-netbsd*): New case.
2612 * config/pa/t-netbsd: New file.
2614 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
2616 * config/arm/cmse.c (cmse_check_address_range): Add
2617 warn_unused_result attribute.
2619 2019-07-22 Martin Liska <mliska@suse.cz>
2621 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
2622 * config/pa/t-stublib: Likewise.
2624 2019-07-22 Stafford Horne <shorne@gmail.com>
2627 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
2628 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
2629 instructions are not available on every processor. Change a
2630 l.bnf to l.bf to fix logic issue.
2632 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
2634 * config.host: Remove reference to t-darwin8.
2636 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
2638 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
2640 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
2641 mmacosx-version-min for crts to run across all system versions.
2642 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
2643 * config/t-darwin: Revise mmacosx-version-min for crts to run across
2644 system versions >= 10.4.
2646 2019-07-03 Martin Liska <mliska@suse.cz>
2648 * Makefile.in: Use topn_values instead of one_value names.
2649 * libgcov-merge.c (__gcov_merge_single): Move to ...
2650 (__gcov_merge_topn): ... this.
2651 (merge_single_value_set): Move to ...
2652 (merge_topn_values_set): ... this.
2653 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
2655 (__gcov_topn_values_profiler_body): ... this.
2656 (__gcov_one_value_profiler_v2): Move to ...
2657 (__gcov_topn_values_profiler): ... this.
2658 (__gcov_one_value_profiler_v2_atomic): Move to ...
2659 (__gcov_topn_values_profiler_atomic): ... this.
2660 (__gcov_indirect_call_profiler_v4): Remove.
2661 * libgcov-util.c (__gcov_single_counter_op): Move to ...
2662 (__gcov_topn_counter_op): ... this.
2663 * libgcov.h (L_gcov_merge_single): Remove.
2664 (L_gcov_merge_topn): New.
2665 (__gcov_merge_single): Remove.
2666 (__gcov_merge_topn): New.
2667 (__gcov_one_value_profiler_v2): Move to ..
2668 (__gcov_topn_values_profiler): ... this.
2669 (__gcov_one_value_profiler_v2_atomic): Move to ...
2670 (__gcov_topn_values_profiler_atomic): ... this.
2672 2019-07-03 Martin Liska <mliska@suse.cz>
2674 * libgcov-merge.c (merge_single_value_set): Support N values.
2675 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
2677 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
2679 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
2680 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
2681 * configure.ac: Add --disable-tm-clone-registry option.
2682 * configure: Regenerate.
2684 2019-06-27 Martin Liska <mliska@suse.cz>
2686 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
2688 * libgcov-util.c: Likewise.
2690 2019-06-27 Martin Liska <mliska@suse.cz>
2692 * libgcov-util.c (gcov_profile_merge): Release allocated
2694 (calculate_overlap): Likewise.
2696 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
2698 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
2699 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
2700 Build objects for the out of line save/restore register functions
2701 so that they can be used for any supported Darwin version.
2702 * config/t-darwin: Default the build Darwin version to Darwin8
2705 2019-06-25 Martin Liska <mliska@suse.cz>
2707 * libgcov-driver-system.c (replace_filename_variables): Do not
2708 call strlen with NULL argument.
2710 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
2712 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
2713 * config/gcn/unwind-gcn.c: New file.
2715 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
2716 Andrew Stubbs <ams@codesourcery.com>
2718 * configure: Regenerate.
2719 * config/gcn/gthr-gcn.h: New.
2721 2019-06-18 Tom de Vries <tdevries@suse.de>
2723 * config/nvptx/crt0.c (__main): Declare.
2725 2019-06-17 Matthew Green <mrg@eterna.com.au>
2726 Maya Rashish <coypu@sdf.org>
2728 * config.host (aarch64*-*-netbsd*): New case.
2730 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2732 * config/msp430/slli.S (__mspabi_sllll): New library function for
2733 performing a logical left shift of a 64-bit value.
2734 * config/msp430/srai.S (__mspabi_srall): New library function for
2735 performing a arithmetic right shift of a 64-bit value.
2736 * config/msp430/srll.S (__mspabi_srlll): New library function for
2737 performing a logical right shift of a 64-bit value.
2739 2019-06-14 Matt Thomas <matt@3am-software.com>
2740 Matthew Green <mrg@eterna.com.au>
2741 Nick Hudson <skrll@netbsd.org>
2742 Maya Rashish <coypu@sdf.org>
2744 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
2745 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
2747 * config/arm/t-netbsd-eabi: New file.
2749 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
2751 * config.host: Add PRU target.
2752 * config/pru/asri.c: New file.
2753 * config/pru/eqd.c: New file.
2754 * config/pru/eqf.c: New file.
2755 * config/pru/ged.c: New file.
2756 * config/pru/gef.c: New file.
2757 * config/pru/gtd.c: New file.
2758 * config/pru/gtf.c: New file.
2759 * config/pru/led.c: New file.
2760 * config/pru/lef.c: New file.
2761 * config/pru/lib2bitcountHI.c: New file.
2762 * config/pru/lib2divHI.c: New file.
2763 * config/pru/lib2divQI.c: New file.
2764 * config/pru/lib2divSI.c: New file.
2765 * config/pru/libgcc-eabi.ver: New file.
2766 * config/pru/ltd.c: New file.
2767 * config/pru/ltf.c: New file.
2768 * config/pru/mpyll.S: New file.
2769 * config/pru/pru-abi.h: New file.
2770 * config/pru/pru-asm.h: New file.
2771 * config/pru/pru-divmod.h: New file.
2772 * config/pru/sfp-machine.h: New file.
2773 * config/pru/t-pru: New file.
2775 2019-06-11 Jakub Jelinek <jakub@redhat.com>
2777 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
2779 2019-06-10 Martin Liska <mliska@suse.cz>
2782 * libgcov.h: Add ATTRIBUTE_UNUSED.
2784 2019-06-10 Martin Liska <mliska@suse.cz>
2786 * Makefile.in: Add __gcov_one_value_profiler_v2,
2787 __gcov_one_value_profiler_v2_atomic and
2788 __gcov_indirect_call_profiler_v4.
2789 * libgcov-merge.c (__gcov_merge_single): Change
2791 (merge_single_value_set): New.
2792 * libgcov-profiler.c (__gcov_one_value_profiler_body):
2793 Update functionality.
2794 (__gcov_one_value_profiler): Remove.
2795 (__gcov_one_value_profiler_v2): ... this.
2796 (__gcov_one_value_profiler_atomic): Rename to ...
2797 (__gcov_one_value_profiler_v2_atomic): this.
2798 (__gcov_indirect_call_profiler_v3): Rename to ...
2799 (__gcov_indirect_call_profiler_v4): ... this.
2800 * libgcov.h (__gcov_one_value_profiler): Remove.
2801 (__gcov_one_value_profiler_atomic): Remove.
2802 (__gcov_one_value_profiler_v2_atomic): New.
2803 (__gcov_indirect_call_profiler_v3): Remove.
2804 (__gcov_one_value_profiler_v2): New.
2805 (__gcov_indirect_call_profiler_v4): New.
2806 (gcov_get_counter_ignore_scaling): New function.
2808 2019-06-07 Martin Liska <mliska@suse.cz>
2810 * Makefile.in: Remove usage of
2811 _gcov_merge_icall_topn.
2812 * libgcov-driver.c (gcov_sort_n_vals): Remove.
2813 (gcov_sort_icall_topn_counter): Likewise.
2814 (gcov_sort_topn_counter_arrays): Likewise.
2815 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
2816 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
2817 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
2819 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
2820 (struct indirect_call_tuple): Remove.
2821 (__gcov_indirect_call_topn_profiler): Remove.
2822 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
2823 * libgcov.h (gcov_sort_n_vals): Remove.
2824 (L_gcov_merge_icall_topn): Likewise.
2825 (__gcov_merge_icall_topn): Likewise.
2826 (__gcov_indirect_call_topn_profiler): Likewise.
2828 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
2830 * config/rs6000/t-darwin: Ensure that the unwinder is built with
2833 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2835 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
2837 (__mspabi_slli): Likewise.
2838 (__mspabi_slll_n): Likewise.
2839 (__mspabi_slll): Likewise.
2840 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
2841 (__mspabi_srai): Likewise.
2842 (__mspabi_sral_n): Likewise.
2843 (__mspabi_sral): Likewise.
2844 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
2845 (__mspabi_srli): Likewise.
2846 (__mspabi_srll_n): Likewise.
2847 (__mspabi_srll): Likewise.
2849 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
2851 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
2852 Add appropriate tm_file clause as well.
2853 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
2855 2019-06-05 James Clarke <jrtc27@jrtc27.com>
2857 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
2858 rather than .data/.bss so it can be accessed via gp-relative
2861 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
2863 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
2864 (CR2_REGNO): Rename to R_CR2.
2865 (XER_REGNO): Rename to R_XER.
2866 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
2867 (VRSAVE_REGNO): Rename to R_VRSAVE.
2868 (VSCR_REGNO): R_VSCR.
2870 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
2872 * config.host (rx-*-linux*): Add new case.
2873 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
2875 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
2877 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
2879 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
2880 aarch64_post_frob_eh_handler_addr): Add check for b-key.
2881 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
2882 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
2883 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
2884 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
2886 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
2888 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
2890 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2892 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
2893 Remove Solaris 9 and 10 support.
2894 (sparc_is_sighandler): Likewise.
2896 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
2898 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
2900 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
2902 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2903 4_FP_W_TYPEs are used for IEEE quad precision.
2904 * soft-fp/extendhftf2.c: Likewise.
2905 * soft-fp/extendsftf2.c: Likewise.
2906 * soft-fp/extendxftf2.c: Likewise.
2907 * soft-fp/trunctfdf2.c: Likewise.
2908 * soft-fp/trunctfhf2.c: Likewise.
2909 * soft-fp/trunctfsf2.c: Likewise.
2910 * soft-fp/trunctfxf2.c: Likewise.
2911 * config/rs6000/ibm-ldouble.c: Likewise.
2913 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2915 * config.host: Simplify various *-*-solaris2.1[0-9]* to
2917 * configure.ac: Likewise.
2918 * configure: Regenerate.
2920 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2921 Solaris 10 and Solaris 11 < snv_125 handling.
2923 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
2925 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
2927 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
2929 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
2930 * config/i386/cpuinfo.h (enum processor_features): Add
2933 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2934 Bernd Edlinger <bernd.edlinger@hotmail.de>
2935 Jakub Jelinek <jakub@redhat.com>
2938 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
2939 * config/arm/unwind-arm.c: Likewise.
2940 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
2943 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
2945 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
2946 (RT_SIGRETURN): Update.
2947 (nds32_fallback_frame_state): Update.
2949 2019-02-21 Martin Sebor <msebor@redhat.com>
2951 * libgcc2.h (__clear_cache): Correct signature.
2952 * libgcc2.c (__clear_cache): Same.
2954 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
2956 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
2957 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
2959 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
2961 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
2962 regno instead of index to DWARF_ZERO_REG.
2964 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
2966 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
2967 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
2969 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
2971 * config/alpha/t-linux: Add -mfp-rounding-mode=d
2972 to HOST_LIBGCC2_CFLAGS.
2974 2019-01-23 Joseph Myers <joseph@codesourcery.com>
2977 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
2979 2019-01-18 Martin Liska <mliska@suse.cz>
2981 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
2983 (__gcov_indirect_call_profiler_v3): ... this.
2984 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
2985 (__gcov_indirect_call_profiler_v3): Likewise.
2986 * Makefile.in: Bump function name.
2988 2019-01-18 Martin Liska <mliska@suse.cz>
2990 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
2991 (gcov_version): Use in gcov_error.
2992 (merge_one_data): Likewise.
2993 (dump_one_gcov): Likewise.
2995 2019-01-18 Martin Liska <mliska@suse.cz>
2997 * libgcov-driver.c (gcov_version_string): New function.
2998 (gcov_version): Convert version integer into string.
3000 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
3001 Kwok Cheung Yeung <kcy@codesourcery.com>
3002 Julian Brown <julian@codesourcery.com>
3003 Tom de Vries <tom@codesourcery.com>
3005 * config.host: Recognize amdgcn*-*-amdhsa.
3006 * config/gcn/crt0.c: New file.
3007 * config/gcn/lib2-divmod-hi.c: New file.
3008 * config/gcn/lib2-divmod.c: New file.
3009 * config/gcn/lib2-gcn.h: New file.
3010 * config/gcn/sfp-machine.h: New file.
3011 * config/gcn/t-amdgcn: New file.
3013 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
3017 * config/c6x/libunwind.S: Mechanically replace "can not" with
3019 * config/tilepro/atomic.h: Likewise.
3020 * config/vxlib-tls.c: Likewise.
3021 * generic-morestack-thread.c: Likewise.
3022 * generic-morestack.c: Likewise.
3023 * mkmap-symver.awk: Likewise.
3025 2019-01-01 Jakub Jelinek <jakub@redhat.com>
3027 Update copyright years.
3029 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3031 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
3032 to ignore -Waddress-of-packed-member.
3034 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
3036 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
3037 parameter and corresponding code.
3038 (ARM_FUNC_START): Likewise in both definitions.
3039 Also update footer comment about condition that need to match with
3040 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
3041 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
3042 defined. Weakly define it in this case.
3043 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
3044 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
3045 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
3046 comment to keep condition in sync with the one in
3047 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
3049 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
3051 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
3052 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
3054 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3056 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
3057 and .cfi_endproc directives for VxWorks targets.
3059 2018-12-05 Paul Koning <ni1d@arrl.net>
3061 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
3063 2018-11-27 Alan Modra <amodra@gmail.com>
3065 * config/rs6000/morestack.S (__stack_split_initialize),
3066 (__morestack_get_guard, __morestack_set_guard),
3067 (__morestack_make_guard): Provide CFI covering these functions.
3068 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
3070 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3072 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
3073 (sc_pt_regs_lr): Update for kernel.
3074 (sc_pt_regs_tls): Update for kernel.
3076 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3078 * config/csky/linux-unwind.h: Fix coding style.
3080 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
3082 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
3083 (csky_fallback_frame_state): Modify the check of the
3084 instructions to adapt to changes in the kernel
3086 2018-11-09 Stafford Horne <shorne@gmail.com>
3087 Richard Henderson <rth@twiddle.net>
3089 * config.host: Add OpenRISC support.
3090 * config/or1k/*: New.
3092 2018-11-08 Kito Cheng <kito@andestech.com>
3094 * soft-fp/adddf3.c: Update from glibc.
3095 * soft-fp/addsf3.c: Likewise.
3096 * soft-fp/addtf3.c: Likewise.
3097 * soft-fp/divdf3.c: Likewise.
3098 * soft-fp/divsf3.c: Likewise.
3099 * soft-fp/divtf3.c: Likewise.
3100 * soft-fp/double.h: Likewise.
3101 * soft-fp/eqdf2.c: Likewise.
3102 * soft-fp/eqsf2.c: Likewise.
3103 * soft-fp/eqtf2.c: Likewise.
3104 * soft-fp/extenddftf2.c: Likewise.
3105 * soft-fp/extended.h: Likewise.
3106 * soft-fp/extendhftf2.c: Likewise.
3107 * soft-fp/extendsfdf2.c: Likewise.
3108 * soft-fp/extendsftf2.c: Likewise.
3109 * soft-fp/extendxftf2.c: Likewise.
3110 * soft-fp/fixdfdi.c: Likewise.
3111 * soft-fp/fixdfsi.c: Likewise.
3112 * soft-fp/fixdfti.c: Likewise.
3113 * soft-fp/fixhfti.c: Likewise.
3114 * soft-fp/fixsfdi.c: Likewise.
3115 * soft-fp/fixsfsi.c: Likewise.
3116 * soft-fp/fixsfti.c: Likewise.
3117 * soft-fp/fixtfdi.c: Likewise.
3118 * soft-fp/fixtfsi.c: Likewise.
3119 * soft-fp/fixtfti.c: Likewise.
3120 * soft-fp/fixunsdfdi.c: Likewise.
3121 * soft-fp/fixunsdfsi.c: Likewise.
3122 * soft-fp/fixunsdfti.c: Likewise.
3123 * soft-fp/fixunshfti.c: Likewise.
3124 * soft-fp/fixunssfdi.c: Likewise.
3125 * soft-fp/fixunssfsi.c: Likewise.
3126 * soft-fp/fixunssfti.c: Likewise.
3127 * soft-fp/fixunstfdi.c: Likewise.
3128 * soft-fp/fixunstfsi.c: Likewise.
3129 * soft-fp/fixunstfti.c: Likewise.
3130 * soft-fp/floatdidf.c: Likewise.
3131 * soft-fp/floatdisf.c: Likewise.
3132 * soft-fp/floatditf.c: Likewise.
3133 * soft-fp/floatsidf.c: Likewise.
3134 * soft-fp/floatsisf.c: Likewise.
3135 * soft-fp/floatsitf.c: Likewise.
3136 * soft-fp/floattidf.c: Likewise.
3137 * soft-fp/floattihf.c: Likewise.
3138 * soft-fp/floattisf.c: Likewise.
3139 * soft-fp/floattitf.c: Likewise.
3140 * soft-fp/floatundidf.c: Likewise.
3141 * soft-fp/floatundisf.c: Likewise.
3142 * soft-fp/floatunditf.c: Likewise.
3143 * soft-fp/floatunsidf.c: Likewise.
3144 * soft-fp/floatunsisf.c: Likewise.
3145 * soft-fp/floatunsitf.c: Likewise.
3146 * soft-fp/floatuntidf.c: Likewise.
3147 * soft-fp/floatuntihf.c: Likewise.
3148 * soft-fp/floatuntisf.c: Likewise.
3149 * soft-fp/floatuntitf.c: Likewise.
3150 * soft-fp/gedf2.c: Likewise.
3151 * soft-fp/gesf2.c: Likewise.
3152 * soft-fp/getf2.c: Likewise.
3153 * soft-fp/half.h: Likewise.
3154 * soft-fp/ledf2.c: Likewise.
3155 * soft-fp/lesf2.c: Likewise.
3156 * soft-fp/letf2.c: Likewise.
3157 * soft-fp/muldf3.c: Likewise.
3158 * soft-fp/mulsf3.c: Likewise.
3159 * soft-fp/multf3.c: Likewise.
3160 * soft-fp/negdf2.c: Likewise.
3161 * soft-fp/negsf2.c: Likewise.
3162 * soft-fp/negtf2.c: Likewise.
3163 * soft-fp/op-1.h: Likewise.
3164 * soft-fp/op-2.h: Likewise.
3165 * soft-fp/op-4.h: Likewise.
3166 * soft-fp/op-8.h: Likewise.
3167 * soft-fp/op-common.h: Likewise.
3168 * soft-fp/quad.h: Likewise.
3169 * soft-fp/single.h: Likewise.
3170 * soft-fp/soft-fp.h: Likewise.
3171 * soft-fp/subdf3.c: Likewise.
3172 * soft-fp/subsf3.c: Likewise.
3173 * soft-fp/subtf3.c: Likewise.
3174 * soft-fp/truncdfsf2.c: Likewise.
3175 * soft-fp/trunctfdf2.c: Likewise.
3176 * soft-fp/trunctfhf2.c: Likewise.
3177 * soft-fp/trunctfsf2.c: Likewise.
3178 * soft-fp/trunctfxf2.c: Likewise.
3179 * soft-fp/unorddf2.c: Likewise.
3180 * soft-fp/unordsf2.c: Likewise.
3181 * soft-fp/unordtf2.c: Likewise.
3183 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
3185 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
3186 * config/i386/cpuinfo.h (processor_types): Add znver2.
3188 2018-11-01 Paul Koning <ni1d@arrl.net>
3190 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
3191 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
3193 2018-10-31 Joseph Myers <joseph@codesourcery.com>
3196 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
3197 * configure: Regenerate.
3199 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
3201 * config/arc/lib1funcs.S (_muldi3): New function.
3202 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
3204 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3206 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
3208 2018-10-25 Martin Liska <mliska@suse.cz>
3211 * libgcov-profiler.c: Revert.
3213 2018-10-24 Martin Liska <mliska@suse.cz>
3215 * libgcov-profiler.c: Start from 1 in order to distinguish
3216 functions which were seen and these that were not.
3218 2018-10-18 Paul Koning <ni1d@arrl.net>
3220 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
3222 * divmod.c: Update references to __udivmodsi4.
3224 * udivhi3.c: New file.
3225 * udivmodhi4.c: New file.
3226 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
3228 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3230 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
3232 2018-10-12 Olivier Hainque <hainque@adacore.com>
3234 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
3235 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
3237 2018-10-08 Paul Koning <ni1d@arrl.net>
3239 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
3241 2018-10-04 Martin Liska <mliska@suse.cz>
3243 PR gcov-profile/84107
3244 * libgcov-profiler.c (__gcov_indirect_call):
3245 Change type to indirect_call_tuple.
3246 (struct indirect_call_tuple): New struct.
3247 (__gcov_indirect_call_topn_profiler): Change type.
3248 (__gcov_indirect_call_profiler_v2): Use the new
3250 * libgcov.h (struct indirect_call_tuple): New struct
3253 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
3255 * libgcc2.c (isnan): Use __builtin_isnan.
3256 (isfinite): Use __builtin_isfinite.
3257 (isinf): Use __builtin_isinf.
3259 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
3261 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
3263 2018-09-21 Alexandre Oliva <oliva@adacore.com>
3265 * config/vxcache.c: New file. Provide __clear_cache, based on
3266 the cacheTextUpdate VxWorks service.
3267 * config/t-vxworks (LIB2ADD): Add vxcache.c.
3268 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
3269 * config/t-vxwoks7: Likewise.
3271 2018-09-21 Martin Liska <mliska@suse.cz>
3273 * libgcov-driver.c (crc32_unsigned): Remove.
3274 (gcov_histogram_insert): Likewise.
3275 (gcov_compute_histogram): Likewise.
3276 (compute_summary): Simplify rapidly.
3277 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
3278 (merge_summary): Rapidly simplify.
3279 (dump_one_gcov): Ignore gcov_summary.
3280 (gcov_do_dump): Do not handle program summary, it's not
3282 * libgcov-util.c (tag_summary): Remove.
3283 (read_gcda_finalize): Fix coding style.
3284 (read_gcda_file): Initialize curr_object_summary.
3285 (compute_summary): Remove.
3286 (calculate_overlap): Remove settings of run_max.
3288 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
3290 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
3291 ucontext_t type instead.
3292 (nds32_fallback_frame_state): Remove struct _sigframe statement.
3294 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
3296 * config/nds32/t-nds32-glibc: New file.
3298 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3300 * configure.ac (solaris_ld_v2_maps): New test.
3301 * configure: Regenerate.
3302 * Makefile.in (solaris_ld_v2_maps): New variable.
3303 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
3306 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
3309 * config/arm/lib1funcs.asm (speculation_barrier): New function.
3310 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
3313 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
3315 * config/unwind-dw2-fde-darwin.c
3316 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
3317 * config/darwin10-unwind-find-enc-func.c: … to here.
3318 * config/t-darwin: Build Darwin10 unwinder shim crt.
3319 * libgcc/config.host: Add the Darwin10 unwinder shim.
3321 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3323 * config.host: Add crtbegin.o and crtend.o for
3324 powerpc-wrs-vxworks target.
3326 2018-08-17 Jojo <jijie_rong@c-sky.com>
3327 Huibin Wang <huibin_wang@c-sky.com>
3328 Sandra Loosemore <sandra@codesourcery.com>
3329 Chung-Lin Tang <cltang@codesourcery.com>
3333 * config.host: Add C-SKY support.
3334 * config/csky/*: New.
3336 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
3338 * config/nds32/t-nds32-isr: Rearrange object dependency.
3339 * config/nds32/initfini.c: Add dwarf2 unwinding support.
3340 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
3341 and registers usage.
3342 * config/nds32/isr-library/excp_isr.S: Ditto.
3343 * config/nds32/isr-library/intr_isr.S: Ditto.
3344 * config/nds32/isr-library/reset.S: Ditto.
3345 * config/nds32/isr-library/restore_all.inc: Ditto.
3346 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
3347 * config/nds32/isr-library/restore_partial.inc: Ditto.
3348 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
3349 * config/nds32/isr-library/save_all.inc: Ditto.
3350 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
3351 * config/nds32/isr-library/save_partial.inc: Ditto.
3352 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
3353 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
3355 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
3357 * config/pa/linux-atomic.c: Update comment.
3358 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
3359 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
3360 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
3361 __ATOMIC_RELAXED for atomic loads.
3362 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
3363 unordered store to release lock.
3364 (__sync_lock_release_8): Likewise.
3365 (SYNC_LOCK_RELEASE_2): Remove define.
3367 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
3370 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
3371 exponent goes negative. Update my email address.
3372 * config/arm/ieee754-sf.S: Likewise.
3374 2018-08-01 Martin Liska <mliska@suse.cz>
3376 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
3377 check that __gcov_indirect_call_callee is non-null.
3379 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
3381 * config/arm/ieee754-df.S: Fix comment for code working on
3383 * config/arm/ieee754-sf.S: Likewise.
3385 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
3388 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3391 2018-07-05 James Clarke <jrtc27@jrtc27.com>
3393 * configure: Regenerated.
3395 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3397 * Makefile.in (install_leaf): Use enable_gcov instead of
3400 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3402 * configure.ac: Add --disable-gcov option.
3403 * configure: Regenerate.
3404 * Makefile.in: Honour @enable_gcov@.
3406 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3408 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
3409 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
3410 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
3411 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
3413 * config/arm/ieee754-sf.S: Likewise.
3414 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
3416 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3418 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
3420 * config/arm/ieee754-sf.S: Likewise.
3422 2018-06-20 Than McIntosh <thanm@google.com>
3425 * generic-morestack.c (allocate_segment): Move calls to getenv and
3426 getpagesize to __morestack_load_mmap.
3427 (__morestack_load_mmap) Initialize static_pagesize and
3428 use_guard_page here so as to avoid clobbering SSE regs during a
3431 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
3433 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
3434 support modules with -mno-gnu-attribute.
3435 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
3437 2018-06-07 Olivier Hainque <hainque@adacore.com>
3439 * config/t-vxworks (LIBGCC_INCLUDES): Add
3440 -I$(MULTIBUILDTOP)../../gcc/include.
3441 * config/t-vxworks7: Likewise. Reformat a bit to match
3442 the t-vxworks layout.
3444 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
3446 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
3448 2018-06-07 Martin Liska <mliska@suse.cz>
3450 * libgcov-driver.c: Rename cs_all to all and assign it from
3453 2018-06-07 Martin Liska <mliska@suse.cz>
3456 * libgcov-driver-system.c (replace_filename_variables): Use
3457 memcpy instead of mempcpy.
3458 (allocate_filename_struct): Do not allocate filename, allocate
3460 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
3461 here and properly copy content into it.
3462 * libgcov-driver.c (struct gcov_filename): Remove max_length
3463 field, change prefix from size_t into char *.
3464 (compute_summary): Do not calculate longest filename.
3465 (gcov_do_dump): Release memory of gf.filename after each file.
3466 * libgcov-util.c (compute_summary): Use new signature of
3468 (calculate_overlap): Likewise.
3470 2018-06-05 Martin Liska <mliska@suse.cz>
3472 PR gcov-profile/47618
3473 * libgcov-driver-system.c (replace_filename_variables): New
3475 (gcov_exit_open_gcda_file): Use it.
3477 2018-06-05 Martin Liska <mliska@suse.cz>
3479 * libgcov-driver.c (gcov_compute_histogram): Remove usage
3480 of gcov_ctr_summary.
3481 (compute_summary): Do it just for a single summary.
3482 (merge_one_data): Likewise.
3483 (merge_summary): Simplify as we read just single summary.
3484 (dump_one_gcov): Pass proper argument.
3485 * libgcov-util.c (compute_one_gcov): Simplify as we have just
3487 (gcov_info_count_all_cold): Likewise.
3488 (calculate_overlap): Likewise.
3490 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
3491 Monk Chiang <sh.chiang04@gmail.com>
3493 * config.host (nds32*-linux*): New.
3494 * config/nds32/linux-atomic.c: New file.
3495 * config/nds32/linux-unwind.h: New file.
3497 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
3500 * config/i386/cpuinfo.c (get_amd_cpu): Return
3501 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
3503 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
3505 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
3507 2018-05-29 Martin Liska <mliska@suse.cz>
3509 PR gcov-profile/85759
3510 * libgcov-driver-system.c (gcov_error): Introduce usage of
3511 GCOV_EXIT_AT_ERROR env. variable.
3512 * libgcov-driver.c (merge_one_data): Print error that we
3513 overwrite a gcov file with a different timestamp.
3515 2018-05-23 Kalamatee <kalamatee@gmail.com>
3517 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
3520 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
3521 Monk Chiang <sh.chiang04@gmail.com>
3522 Jim Wilson <jimw@sifive.com>
3524 * config/riscv/save-restore.S: Add support for rv32e.
3526 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3528 * config/arm/libunwind.S: Update comment relating to armv5.
3530 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
3532 * config/arm/cmse.c (cmse_check_address_range): Replace
3533 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
3535 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
3537 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
3538 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
3540 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
3542 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
3543 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
3545 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
3547 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
3549 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
3550 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
3553 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
3554 op_and_fetch to return the right result.
3556 2018-04-27 Alan Modra <amodra@gmail.com>
3559 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
3560 -fno-asynchronous-unwind-tables.
3562 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
3564 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
3565 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
3567 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3569 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
3570 when including "config/i386/shadow-stack-unwind.h".
3572 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3574 * configure: Regenerated.
3576 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
3579 * config/rs6000/_powikf2.c: New file. Add support for the
3580 __builtin_powil function when long double is IEEE 128-bit floating
3582 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
3584 (__powikf2): Likewise.
3585 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
3586 (__powikf2_hw): Likewise.
3587 (__powikf2): Likewise.
3588 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
3589 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
3590 (_powikf2-hw.c): Likewise.
3592 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3595 * unwind-generic.h (_Unwind_Frames_Increment): New.
3596 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3598 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
3599 count with _Unwind_Frames_Increment.
3600 (_Unwind_ForcedUnwind_Phase2): Likewise.
3602 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3605 * config/i386/morestack.S (__stack_split_initialize): Add
3608 2018-04-19 Jakub Jelinek <jakub@redhat.com>
3610 * configure: Regenerated.
3612 2018-04-18 David Malcolm <dmalcolm@redhat.com>
3615 * configure: Regenerate.
3617 2018-04-16 Jakub Jelinek <jakub@redhat.com>
3620 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
3621 -Wdangling-else warnings. Mask shift counts to avoid
3622 -Wshift-count-negative and -Wshift-count-overflow false positives.
3624 2018-04-06 Ruslan Bukin <br@bsdpad.com>
3626 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
3628 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
3631 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
3632 (XSTATE_FP): Likewise.
3633 (XSTATE_SSE): Likewise.
3634 (XSTATE_YMM): Likewise.
3635 (XSTATE_OPMASK): Likewise.
3636 (XSTATE_ZMM): Likewise.
3637 (XSTATE_HI_ZMM): Likewise.
3638 (XCR_AVX_ENABLED_MASK): Likewise.
3639 (XCR_AVX512F_ENABLED_MASK): Likewise.
3640 (get_available_features): Enable AVX and AVX512 features only
3641 if their states are supported by OSXSAVE.
3643 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3646 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3647 Fix a typo, tmp => 255.
3649 2018-03-20 Jakub Jelinek <jakub@redhat.com>
3652 * config/i386/cpuinfo.h (__cpu_features2): Declare.
3653 * config/i386/cpuinfo.c (__cpu_features2): New variable for
3655 (set_feature): Define.
3656 (get_available_features): Use set_feature macro. Set __cpu_features2
3657 to the second word of features ifndef SHARED.
3659 2018-03-15 Julia Koval <julia.koval@intel.com>
3661 * config/i386/cpuinfo.c (get_available_features): Add
3662 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
3663 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
3664 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
3665 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
3666 FEATURE_AVX512BITALG.
3668 2018-03-14 Julia Koval <julia.koval@intel.com>
3670 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
3671 icelake client and icelake server.
3673 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
3675 * config/pa/fptr.c (_dl_read_access_allowed): New.
3676 (__canonicalize_funcptr_for_compare): Use it.
3678 2018-02-28 Jakub Jelinek <jakub@redhat.com>
3681 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
3682 $asm_hidden_op if visibility ("hidden") attribute works.
3683 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
3684 * config/i386/i386-asm.h: Don't include auto-host.h.
3685 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
3686 PACKAGE_URL): Don't undefine.
3687 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
3688 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
3689 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
3690 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
3691 definition instead of hardcoded .hidden.
3692 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
3693 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
3694 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
3695 (USE_GAS_CFI_DIRECTIVES): Don't define.
3696 * configure: Regenerated.
3697 * config.in: Likewise.
3699 2018-02-26 Jakub Jelinek <jakub@redhat.com>
3702 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
3703 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
3704 inclusion of auto-target.h and auto-host.h.
3705 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
3706 __GCC_HAVE_DWARF2_CFI_ASM.
3707 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3708 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
3710 * config/i386/cygwin.S: Don't include auto-host.h here, just
3711 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
3712 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3713 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
3714 * config/i386/resms64fx.h: Add cfi_* directives.
3715 * config/i386/resms64x.h: Likewise.
3717 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
3719 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
3720 .literal_position directive.
3721 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
3723 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3726 * configure: Regenerate.
3728 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3731 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3732 Include cetintrin.h not x86intrin.h.
3734 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3737 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3738 Use new _get_ssp and _inc_ssp intrinsics.
3740 2018-02-02 Julia Koval <julia.koval@intel.com>
3742 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
3744 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
3746 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
3748 (__divsi3): Use RF16 safe registers.
3749 (__modsi3): Likewise.
3751 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
3753 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
3754 (__divsf3): Make NaN return value quiet.
3755 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
3756 (__divdf3): Make NaN return value quiet.
3758 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3760 * config/rl78/anddi3.S: New assembly file.
3761 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
3763 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3765 * config/rl78/umindi3.S: New assembly file.
3766 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
3768 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3770 * config/rl78/smindi3.S: New assembly file.
3771 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
3773 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3775 * config/rl78/smaxdi3.S: New assembly file.
3776 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
3778 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3780 * config/rl78/umaxdi3.S: New assembly file.
3781 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
3783 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
3786 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
3787 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
3789 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
3791 * config/aarch64/value-unwind.h (aarch64_vg): New function.
3792 (DWARF_LAZY_REGISTER_VALUE): Define.
3793 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
3794 to provide a fallback register value.
3796 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
3798 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
3799 __ibm128, instead of trying to use long double.
3800 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
3801 accomidate -mabi=ieeelongdouble multilibs.
3802 (CVT_IBM128_TO_FLOAT128): Likewise.
3803 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
3804 the appropriate IBM extended double type.
3805 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
3806 (__gcc_qsub): Likewise.
3807 (__gcc_qmul): Likewise.
3808 (__gcc_qdiv): Likewise.
3809 (pack_ldouble): Likewise.
3810 (__gcc_qneg): Likewise.
3811 (__gcc_qeq): Likewise.
3812 (__gcc_qne): Likewise.
3813 (__gcc_qge): Likewise.
3814 (__gcc_qle): Likewise.
3815 (__gcc_stoq): Likewise.
3816 (__gcc_dtoq): Likewise.
3817 (__gcc_itoq): Likewise.
3818 (__gcc_utoq): Likewise.
3819 (__gcc_qunord): Likewise.
3820 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
3821 quad-float128.h for the definitions.
3822 (COPYSIGN): Use the f128 version instead of the q version.
3823 (INFINITY): Likewise.
3824 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
3825 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
3826 quad-float128.h for the definitions.
3827 (COPYSIGN): Use the f128 version instead of the q version.
3828 (INFINITY): Likewise.
3830 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
3831 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
3832 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
3834 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
3836 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
3839 2018-01-03 Jakub Jelinek <jakub@redhat.com>
3841 Update copyright years.
3843 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
3845 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
3846 * config/riscv/multi3.c: New file.
3847 * config/riscv/multi3.S: Remove.
3849 2017-12-08 Jim Wilson <jimw@sifive.com>
3851 * config/riscv/div.S: Use FUNC_* macros.
3852 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
3853 * config/riscv/save-restore.S: Likewise.
3854 * config/riscv/riscv-asm.h: New.
3856 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
3858 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
3859 * config/rs6000/_divkc3.c (__divkc3): Likewise.
3862 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
3863 correct type for all ifunc resolvers to silence -Wattribute-alias
3864 warnings. Eliminate the forward declaration of the resolver
3865 functions which is no longer needed.
3866 (__subkf3_resolve): Likewise.
3867 (__mulkf3_resolve): Likewise.
3868 (__divkf3_resolve): Likewise.
3869 (__negkf2_resolve): Likewise.
3870 (__eqkf2_resolve): Likewise.
3871 (__nekf2_resolve): Likewise.
3872 (__gekf2_resolve): Likewise.
3873 (__gtkf2_resolve): Likewise.
3874 (__lekf2_resolve): Likewise.
3875 (__ltkf2_resolve): Likewise.
3876 (__unordkf2_resolve): Likewise.
3877 (__extendsfkf2_resolve): Likewise.
3878 (__extenddfkf2_resolve): Likewise.
3879 (__trunckfsf2_resolve): Likewise.
3880 (__trunckfdf2_resolve): Likewise.
3881 (__fixkfsi_resolve): Likewise.
3882 (__fixkfdi_resolve): Likewise.
3883 (__fixunskfsi_resolve): Likewise.
3884 (__fixunskfdi_resolve): Likewise.
3885 (__floatsikf_resolve): Likewise.
3886 (__floatdikf_resolve): Likewise.
3887 (__floatunsikf_resolve): Likewise.
3888 (__floatundikf_resolve): Likewise.
3889 (__extendkftf2_resolve): Likewise.
3890 (__trunctfkf2_resolve): Likewise.
3893 * config/rs6000/quad-float128.h (TF): Don't define if long double
3894 is IEEE 128-bit floating point.
3895 (TCtype): Define as either TCmode or KCmode, depending on whether
3896 long double is IEEE 128-bit floating point.
3897 (__mulkc3_sw): Add declarations for software/hardware versions of
3898 complex multiply/divide.
3899 (__divkc3_sw): Likewise.
3900 (__mulkc3_hw): Likewise.
3901 (__divkc3_hw): Likewise.
3902 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
3903 handlers to switch between using software emulation and hardware
3904 float128 instructions, build the complex multiply/divide functions
3905 for both software and hardware support.
3906 * config/rs6000/_divkc3.c (_divkc3): Likewise.
3907 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
3908 (__divkc3_resolve): Likewise.
3909 (__mulkc3): Likewise.
3910 (__divkc3): Likewise.
3911 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
3912 (fp128_hw_src): Likewise.
3913 (fp128_hw_static_obj): Likewise.
3914 (fp128_hw_shared_obj): Likewise.
3915 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
3916 _mulkc3.c and _divkc3.c, changing the function name.
3917 (_divkc3-hw.c): Likewise.
3918 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
3921 2017-11-26 Julia Koval <julia.koval@intel.com>
3923 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
3924 * config/i386/cpuinfo.h (processor_subtypes): Add
3925 INTEL_COREI7_CANNONLAKE.
3927 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3930 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
3932 * config/xtensa/unwind-dw2-xtensa.c: Likewise
3933 * config/ia64/unwind-ia64.c: Add frames parameter.
3934 * unwind-sjlj.c: Likewise.
3936 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3938 * config/i386/linux-unwind.h: Include
3939 config/i386/shadow-stack-unwind.h.
3940 * config/i386/shadow-stack-unwind.h: New file.
3941 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
3942 pass it to _Unwind_Frames_Extra.
3943 * unwind-generic.h (_Unwind_Frames_Extra): New.
3944 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
3945 parameter. Add local variable frames to count number of frames.
3946 (_Unwind_ForcedUnwind_Phase2): Likewise.
3947 (_Unwind_RaiseException): Add local variable frames to count
3948 number of frames, pass it to _Unwind_RaiseException_Phase2 and
3950 (_Unwind_ForcedUnwind): Likewise.
3951 (_Unwind_Resume): Likewise.
3952 (_Unwind_Resume_or_Rethrow): Likewise.
3954 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3956 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
3958 * config/i386/morestack.S: Include <cet.h>.
3959 (__morestack_large_model): Add _CET_ENDBR at function entrance.
3960 * config/i386/resms64.h: Include <cet.h>.
3961 * config/i386/resms64f.h: Likewise.
3962 * config/i386/resms64fx.h: Likewise.
3963 * config/i386/resms64x.h: Likewise.
3964 * config/i386/savms64.h: Likewise.
3965 * config/i386/savms64f.h: Likewise.
3966 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
3967 (CRTSTUFF_T_CFLAGS): Likewise.
3968 * configure.ac: Include ../config/cet.m4.
3969 Set and substitute CET_FLAGS.
3970 * configure: Regenerated.
3972 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3974 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
3976 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
3977 * configure.ac (libgcc_cv_solaris_crts): Likewise.
3978 * configure: Regenerate.
3980 2017-11-07 Tom de Vries <tom@codesourcery.com>
3982 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
3983 after "do {} while (0)".
3985 2017-11-07 Tom de Vries <tom@codesourcery.com>
3988 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
3989 semicolon after "do {} while (0)".
3990 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3991 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3992 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3993 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3995 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
3998 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
3999 sysctl to determine whether we're in a trampoline.
4000 Keep the pattern matching method for systems without
4001 KERN_PROC_SIGTRAMP sysctl.
4003 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
4004 Vineet Gupta <vgupta@synopsys.com>
4006 * config.host (arc*-*-linux*): Set md_unwind_header variable.
4007 * config/arc/linux-unwind-reg.def: New file.
4008 * config/arc/linux-unwind-reg.h: Likewise.
4010 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
4012 * config/rl78/subdi3.S: New assembly file.
4013 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
4015 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
4017 * config/rl78/adddi3.S: New assembly file.
4018 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
4020 2017-10-13 Jakub Jelinek <jakub@redhat.com>
4023 * libgcc2.c (__mulvDI3): If both operands have
4024 the same highpart of -1 and the topmost bit of lowpart is 0,
4025 multiplication overflows even if both lowparts are 0.
4027 2017-09-28 James Bowman <james.bowman@ftdichip.com>
4029 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
4031 2017-09-26 Joseph Myers <joseph@codesourcery.com>
4033 * config/microblaze/crti.S, config/microblaze/crtn.S,
4034 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
4035 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
4036 config/microblaze/mulsi3.S,
4037 config/microblaze/stack_overflow_exit.S,
4038 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
4039 config/pa/milli64.S: Add .note.GNU-stack section.
4041 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
4043 * configure.ac: Add Check for HAVE_AS_AVX.
4044 * config.in: Regenerate.
4045 * configure: Likewise.
4046 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
4047 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
4048 Correct out-of-date comments.
4050 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
4052 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
4053 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
4055 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
4057 * config/i386/i386-asm.h (PASTE2): New macro.
4058 (ASMNAME): Modify to use PASTE2.
4059 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
4060 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
4061 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
4062 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
4063 * config/i386/resms64f.S: Likewise.
4064 * config/i386/resms64fx.S: Likewise.
4065 * config/i386/resms64x.S: Likewise.
4066 * config/i386/savms64.S: Likewise.
4067 * config/i386/savms64f.S: Likewise.
4068 * config/i386/avx_resms64.S: New file that only defines a macro and
4069 includes it's corresponding header file.
4070 * config/i386/avx_resms64f.S: Likewise.
4071 * config/i386/avx_resms64fx.S: Likewise.
4072 * config/i386/avx_resms64x.S: Likewise.
4073 * config/i386/avx_savms64.S: Likewise.
4074 * config/i386/avx_savms64f.S: Likewise.
4075 * config/i386/sse_resms64.S: Likewise.
4076 * config/i386/sse_resms64f.S: Likewise.
4077 * config/i386/sse_resms64fx.S: Likewise.
4078 * config/i386/sse_resms64x.S: Likewise.
4079 * config/i386/sse_savms64.S: Likewise.
4080 * config/i386/sse_savms64f.S: Likewise.
4081 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
4083 2017-09-01 Olivier Hainque <hainque@adacore.com>
4084 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
4086 2017-08-31 Olivier Hainque <hainque@adacore.com>
4088 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
4089 match as powerpc-wrs-vxworks*.
4091 2017-08-07 Jonathan Yong <10walls@gmail.com>
4093 * config.host (*-cygwin): Include file from mingw
4094 config/i386/enable-execute-stack-mingw32.c
4096 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
4097 Doug Rupp <rupp@adacore.com>
4098 Olivier Hainque <hainque@adacore.com>
4100 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
4101 as well as arm-wrs-vxworks.
4102 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
4104 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
4105 __exidx_start and __exidx_end for downloadable modules.
4107 2017-08-01 Olivier Hainque <hainque@adacore.com>
4109 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
4110 * config/t-vxworks7: Likewise.
4112 2017-08-01 Olivier Hainque <hainque@adacore.com>
4114 * config/t-vxworks: Instead of redefining LIB2ADD,
4115 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
4117 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
4119 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
4121 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
4124 * config.host: include i386/t-msabi for darwin and solaris.
4125 * config/i386/i386-asm.h
4126 (ELFFN): Rename to FN_TYPE.
4127 (FN_SIZE): New macro.
4128 (FN_HIDDEN): Likewise.
4129 (ASMNAME): Likewise.
4130 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
4132 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
4133 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
4134 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
4136 * config/i386/resms64f.S: Likewise.
4137 * config/i386/resms64fx.S: Likewise.
4138 * config/i386/resms64x.S: Likewise.
4139 * config/i386/savms64.S: Likewise.
4140 * config/i386/savms64f.S: Likewise.
4142 2017-07-19 John Marino <gnugcc@marino.st>
4144 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
4146 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
4149 * configure.ac (PowerPC float128 hardware support): Test whether
4150 we can use __builtin_cpu_supports before enabling the ifunc
4152 * configure: Regenerate.
4154 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
4156 * config.host: Remove uclibc from arc target spec.
4158 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
4160 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
4162 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
4164 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
4165 (have_ieee_hw_p): Delete function.
4166 (SW_OR_HW) Use __builtin_cpu_supports().
4168 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
4170 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
4172 2017-07-03 Olivier Hainque <hainque@adacore.com>
4174 * config/t-vxworks7: New file, really.
4176 2017-06-28 Joseph Myers <joseph@codesourcery.com>
4178 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
4179 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
4180 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
4181 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
4182 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
4183 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
4184 config/pa/linux-unwind.h (pa32_fallback_frame_state),
4185 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
4186 config/sh/linux-unwind.h (sh_fallback_frame_state),
4187 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
4188 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
4189 ucontext_t instead of struct ucontext.
4191 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
4193 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
4194 (x86_64-wrs-vxworks7): Likewise.
4196 2017-06-27 Olivier Hainque <hainque@adacore.com>
4198 * config/t-vxworks7: New file.
4199 * config.host (*-*-vxworks7): Use it.
4201 2017-06-22 Matt Turner <mattst88@gmail.com>
4203 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
4206 2017-06-21 Richard Biener <rguenther@suse.de>
4208 PR gcov-profile/81080
4209 * configure.ac: Add AC_SYS_LARGEFILE.
4210 * libgcov.h: Include auto-target.h before tsystem.h to pick
4211 up _FILE_OFFSET_BITS which might differ for multilibs.
4212 * config.in: Regenerate.
4213 * configure: Likewise.
4215 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
4217 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
4219 2017-06-09 Martin Liska <mliska@suse.cz>
4221 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
4222 Reset __gcov_indirect_call_callee to NULL.
4224 2017-06-08 Olivier Hainque <hainque@adacore.com>
4226 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
4227 the set of -I options, support for direct inclusions of net/uio.h
4228 by VxWorks header files via ioLib.h.
4230 2017-06-07 Tony Reix <tony.reix@atos.net>
4231 Matthieu Sarter <matthieu.sarter.external@atos.net>
4232 David Edelsohn <dje.gcc@gmail.com>
4234 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
4236 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
4239 2017-06-02 Olivier Hainque <hainque@adacore.com>
4241 * config/vxlib.c (__gthread_once): Add missing value to
4244 2017-05-30 Olivier Hainque <hainque@adacore.com>
4246 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
4247 dollar sign before $(MULTIDIR).
4249 2017-05-26 Richard Henderson <rth@redhat.com>
4252 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
4254 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
4256 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
4257 _Unwind_SetIP available as functions for arm*-*-freebsd*.
4258 * config/arm/unwind-arm.c: Implement the above.
4260 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4262 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
4263 section for a non-executable stack.
4265 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
4268 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
4270 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
4272 * config.host: Add i386/t-msabi to i386/t-linux file list.
4273 * config/i386/i386-asm.h: New file.
4274 * config/i386/resms64.S: New file.
4275 * config/i386/resms64f.S: New file.
4276 * config/i386/resms64fx.S: New file.
4277 * config/i386/resms64x.S: New file.
4278 * config/i386/savms64.S: New file.
4279 * config/i386/savms64f.S: New file.
4280 * config/i386/t-msabi: New file.
4282 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
4284 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
4285 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
4287 2017-05-05 Joshua Conner <joshconner@google.com>
4289 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
4290 pc-relative indirect handling for fuchsia.
4291 * config/t-slibgcc-fuchsia: New file.
4292 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
4293 x86_64-*-fuchsia*): Add definitions.
4295 2017-04-19 Martin Liska <mliska@suse.cz>
4297 PR gcov-profile/80435
4298 * Makefile.in: Install gcov.h.
4300 * libgcov.h: Use the header and make __gcov_flush publicly
4303 2017-04-18 Martin Liska <mliska@suse.cz>
4305 PR gcov-profile/78783
4306 * libgcov-driver.c (gcov_get_filename): New function.
4308 2017-04-07 Jeff Law <law@redhat.com>
4310 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
4311 target makefile fragment.
4312 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
4314 2017-04-07 Alan Modra <amodra@gmail.com>
4317 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
4319 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
4321 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
4323 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
4325 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
4327 2017-03-10 John Marino <gnugcc@marino.st>
4329 * config/aarch64/freebsd-unwind.h: New file.
4330 * config.host: Add aarch64-*-freebsd unwinder.
4332 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4334 * config/rs6000/crtrestvr.s: Use .machine altivec.
4335 * config/rs6000/crtsavevr.s: Ditto.
4337 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4339 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
4340 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
4341 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
4342 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
4343 * configure: Regenerate.
4344 * config.in: Regenerate.
4346 2017-03-02 Jonathan Yong <10walls@gmail.com>
4348 * config/i386/gthr-win32.h: Define NOGDI before
4349 windows.h include to prevent w32api CC_NONE macro
4350 clash with libgfortran.
4352 2017-03-02 Jonathan Yong <10walls@gmail.com>
4354 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
4356 2017-02-16 Andrew Pinski <apinski@cavium.com>
4358 * config/aarch64/value-unwind.h: New file.
4359 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
4362 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
4364 * config.host: Add RISC-V tuples.
4365 * config/riscv/atomic.c: New file.
4366 * config/riscv/crti.S: Likewise.
4367 * config/riscv/crtn.S: Likewise.
4368 * config/riscv/div.S: Likewise.
4369 * config/riscv/linux-unwind.h: Likewise.
4370 * config/riscv/muldi3.S: Likewise.
4371 * config/riscv/multi3.S: Likewise.
4372 * config/riscv/save-restore.S: Likewise.
4373 * config/riscv/sfp-machine.h: Likewise.
4374 * config/riscv/t-elf: Likewise.
4375 * config/riscv/t-elf32: Likewise.
4376 * config/riscv/t-elf64: Likewise.
4377 * config/riscv/t-softfp32: Likewise.
4378 * config/riscv/t-softfp64: Likewise.
4380 2017-01-24 Jakub Jelinek <jakub@redhat.com>
4382 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4383 /* FALLTHRU */ comments.
4385 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
4387 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
4389 2017-01-20 Jiong Wang <jiong.wang@arm.com>
4391 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
4392 * unwind-dw2.c (execute_cfa_program): Only multiplexing
4393 DW_CFA_GNU_window_save for AArch64 and LP64.
4395 2017-01-20 Jiong Wang <jiong.wang@arm.com>
4397 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
4399 2017-01-19 Jiong Wang <jiong.wang@arm.com>
4401 * config/aarch64/aarch64-unwind.h: New file.
4402 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
4403 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
4404 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
4405 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
4406 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
4407 (aarch64_post_extract_frame_addr): New function.
4408 (aarch64_post_frob_eh_handler_addr): New function.
4409 (aarch64_frob_update_context): New function.
4410 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
4411 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
4412 aarch64*-*-freebsd*):
4413 Initialize md_unwind_header to include aarch64-unwind.h.
4414 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
4415 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
4417 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
4418 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
4419 (uw_frob_return_addr): New function.
4420 (uw_install_context): Use uw_frob_return_addr.
4422 2017-01-17 Jakub Jelinek <jakub@redhat.com>
4425 * configure.ac: Add GCC_BASE_VER.
4426 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
4427 version from BASE-VER file.
4428 * configure: Regenerated.
4430 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
4432 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
4433 libmul_f5.a): Filter archived prerequisites.
4435 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
4437 * config/i386/cpuinfo.h (processor_features): Add
4438 FEATURE_AVX512VPOPCNTDQ.
4439 * config/i386/cpuinfo.c (get_available_features): Habdle new
4442 2017-01-04 Joseph Myers <joseph@codesourcery.com>
4444 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
4445 payload if [__mips_nan2008].
4447 2017-01-04 Alan Modra <amodra@gmail.com>
4449 * Makefile.in (configure_deps): Update.
4450 * configure: Regenerate.
4452 2017-01-01 Jakub Jelinek <jakub@redhat.com>
4454 Update copyright years.
4456 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
4458 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
4459 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
4460 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
4462 2016-12-17 Matthias Klose <doko@ubuntu.com>
4464 * config/arc/gmon: Remove empty directory.
4466 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
4468 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
4470 (arc*-*-elf*): Likewise.
4471 * config/arc/t-arc: Remove old gmon lib targets.
4472 * config/arc/crtg.S: Remove.
4473 * config/arc/crtgend.S: Likewise.
4474 * config/arc/gmon/atomic.h: Likewise.
4475 * config/arc/gmon/auxreg.h: Likewise.
4476 * config/arc/gmon/dcache_linesz.S: Likewise.
4477 * config/arc/gmon/gmon.c: Likewise.
4478 * config/arc/gmon/machine-gmon.h: Likewise.
4479 * config/arc/gmon/mcount.c: Likewise.
4480 * config/arc/gmon/prof-freq-stub.S: Likewise.
4481 * config/arc/gmon/prof-freq.c: Likewise.
4482 * config/arc/gmon/profil.S: Likewise.
4483 * config/arc/gmon/sys/gmon.h: Likewise.
4484 * config/arc/gmon/sys/gmon_out.h: Likewise.
4485 * config/arc/t-arc-newlib: Likewise.
4486 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
4488 2016-12-12 George Spelvin <linux@sciencehorizons.net>
4490 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
4492 2016-12-12 George Spelvin <linux@sciencehorizons.net>
4494 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
4495 R16 instead of push + pop.
4496 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
4498 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
4500 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
4503 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
4505 * config.host (arc*-*-linux-uclibc*): Use default extra
4506 objects. Include linux-android header.
4507 * config/arc/crti.S (_init): Declare symbol as function.
4510 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
4513 * config/i386/cpuinfo.c: Move denums for processor vendors,
4514 processor type, processor subtypes and declaration of
4515 struct __processor_model into
4516 * config/i386/cpuinfo.h: New header file.
4518 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
4519 Thomas Preud'homme <thomas.preudhomme@arm.com>
4521 * config/arm/cmse_nonsecure_call.S: New.
4522 * config/arm/t-arm: Compile cmse_nonsecure_call.S
4524 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
4525 Thomas Preud'homme <thomas.preudhomme@arm.com>
4527 * config/arm/t-arm (HAVE_CMSE): New.
4528 * config/arm/cmse.c: New.
4530 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
4533 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
4534 use generic linker version information on Blackfin.
4537 * libgcc/mkmap-symver.awk: add support for skip_underscore
4539 2016-11-27 Iain Sandoe <iain@codesourcery.com>
4540 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4543 * config/t-darwin: Default builds to 10.5 codegen.
4545 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
4547 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
4548 (_FP_NANSIGN_H): Likewise.
4549 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
4550 (softfp_truncations): Add tfhf.
4551 (softfp_extras): Add required conversion functions.
4553 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4554 Matthew Wahab <matthew.wahab@arm.com>
4556 * config/arm/fp16.c (binary64): New.
4557 (__gnu_d2h_internal): New.
4558 (__gnu_d2h_ieee): New.
4559 (__gnu_d2h_alternative): New.
4561 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4562 Matthew Wahab <matthew.wahab@arm.com>
4564 * config/arm/fp16.c (struct format): New.
4566 (__gnu_float2h_internal): New. Body moved from
4567 __gnu_f2h_internal and generalize.
4568 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
4569 Call it with binary32.
4571 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4573 * soft-fp/extendhftf2.c: Update from glibc.
4574 * soft-fp/fixhfti.c: Likewise.
4575 * soft-fp/fixunshfti.c: Likewise.
4576 * soft-fp/floattihf.c: Likewise.
4577 * soft-fp/floatuntihf.c: Likewise.
4578 * soft-fp/half.h: Likewise.
4579 * soft-fp/trunctfhf2.c: Likewise.
4581 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
4584 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
4585 __TMC_END__ behind a passthrough asm.
4587 2016-11-18 Walter Lee <walt@tilera.com>
4589 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
4591 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
4593 * config/i386/cpuinfo.c (processor_features): Add
4594 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
4596 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
4598 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
4599 (__ARC_NORM__): Use instead ARC_OPTFPE.
4600 * config/arc/fp-hack.h: Likewise.
4601 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
4602 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
4604 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
4606 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
4607 * config/nvptx/mgomp.c: New file.
4608 * config/nvptx/t-nvptx: Add mgomp.c
4610 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
4613 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
4615 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
4617 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
4618 of checking for cpus.
4619 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
4620 (__modsi3, __clzsi2): Likewise.
4622 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4624 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
4625 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
4626 * config/i386/t-cpuinfo-static: New.
4628 2016-11-03 Martin Liska <mliska@suse.cz>
4630 * libgcov-profiler.c (__gcov_time_profiler): Remove.
4631 (__gcov_time_profiler_atomic): Likewise.
4633 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
4636 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
4637 count_leading_zeros.
4639 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
4641 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
4642 * libgcc2.c (__divmoddi4): New function.
4643 * libgcc2.h (__divmoddi4): Declare.
4644 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
4645 and __PFX_divmodti4.
4647 2016-10-24 Florian Weimer <fweimer@redhat.com>
4650 * unwind-c.c: Include auto-target.h.
4652 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
4654 * config/pa/pa64-hpux-lib.h: New file.
4655 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
4656 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
4657 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
4660 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
4662 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4664 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4666 * config/xtensa/t-windowed (LIB2ADDEH): Use
4667 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
4670 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
4672 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
4673 __ieee754_sqrt): New functions.
4674 (__divdf3): Add implementation with new FPU instructions under
4675 #if XCHAL_HAVE_DFP_DIV.
4676 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
4677 __ieee754_sqrtf): New functions.
4678 (__divsf3): Add implementation with new FPU instructions under
4679 #if XCHAL_HAVE_FP_DIV.
4680 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
4681 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
4683 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
4685 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
4687 * config/tilepro/atomic.c: Likewise and stop casting model to
4690 2016-10-10 Joseph Myers <joseph@codesourcery.com>
4693 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
4696 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
4698 * config.host: Add support for aarch64-*-freebsd*.
4700 2016-10-05 Andreas Schwab <schwab@suse.de>
4702 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
4703 (.section .init_array): Don't call __do_jv_register_classes.
4704 (.section .init): Likewise.
4706 2016-10-04 Jakub Jelinek <jakub@redhat.com>
4708 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
4709 (__JCR_LIST__): Remove.
4710 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
4711 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
4712 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
4713 * config/ia64/crtend.S (__JCR_END__): Remove.
4714 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
4716 (__JCR_LIST__, __JCR_END__): Remove.
4717 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
4718 (__do_global_ctors_1): Likewise.
4720 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
4722 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
4723 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
4725 2016-09-27 Martin Liska <mliska@suse.cz>
4727 PR gcov-profile/7970
4728 PR gcov-profile/16855
4729 PR gcov-profile/44779
4730 * libgcov-driver.c (__gcov_init): Do not register a atexit
4732 (__gcov_exit): Rename from gcov_exit.
4733 * libgcov.h (__gcov_exit): Declare.
4735 2016-09-27 Martin Liska <mliska@suse.cz>
4738 * Makefile.in: Remove _gcov_merge_delta.
4739 * libgcov-merge.c (void __gcov_merge_delta): Remove.
4740 * libgcov-util.c (__gcov_delta_counter_op): Remove.
4741 * libgcov.h: Remove declaration of __gcov_merge_delta.
4743 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
4745 * configure.ac: Do not create links, only substitute the filenames.
4746 * configure: Regenerate.
4747 * Makefile.in: Assign the substitution results to variables.
4748 (LIBGCC_LINKS): Define.
4749 (enable-execute-stack.c): New rule.
4750 (unwind.h): Likewise.
4751 (md-unwind-support.h): Likewise.
4752 (sfp-machine.h): Likewise.
4753 (gthr-default.h): Likewise.
4754 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
4755 unwind.h as prerequisite of install-unwind_h-forbuild.
4757 2016-09-16 Jakub Jelinek <jakub@redhat.com>
4760 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
4761 is not the primary registry and atomics are available.
4762 (any_objects_registered): New variable.
4763 (__register_frame_info_bases, __register_frame_info_table_bases):
4764 Atomically store 1 to any_objects_registered after registering first
4766 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
4768 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
4771 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
4772 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
4775 (__divhc3): Likewise.
4776 (__mulhc3): Likewise.
4777 * libgcc2.c: Support _mulhc3 and _divhc3.
4779 2016-09-07 Joseph Myers <joseph@codesourcery.com>
4782 * libgcc2.c (NOTRUNC): Invert settings.
4784 2016-09-06 Martin Liska <mliska@suse.cz>
4786 PR gcov-profile/77378
4787 PR gcov-profile/77466
4788 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
4789 conditionaly enable/disable *_atomic functions.
4791 2016-08-26 Joseph Myers <joseph@codesourcery.com>
4793 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
4794 where not already enabled.
4796 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
4798 * config/mips/linux-unwind.h: Use sys/syscall.h.
4800 2016-08-16 Joseph Myers <joseph@codesourcery.com>
4803 * soft-fp/adddf3.c: Update from glibc.
4804 * soft-fp/addsf3.c: Likewise.
4805 * soft-fp/addtf3.c: Likewise.
4806 * soft-fp/divdf3.c: Likewise.
4807 * soft-fp/divsf3.c: Likewise.
4808 * soft-fp/divtf3.c: Likewise.
4809 * soft-fp/double.h: Likewise.
4810 * soft-fp/eqdf2.c: Likewise.
4811 * soft-fp/eqsf2.c: Likewise.
4812 * soft-fp/eqtf2.c: Likewise.
4813 * soft-fp/extenddftf2.c: Likewise.
4814 * soft-fp/extended.h: Likewise.
4815 * soft-fp/extendsfdf2.c: Likewise.
4816 * soft-fp/extendsftf2.c: Likewise.
4817 * soft-fp/extendxftf2.c: Likewise.
4818 * soft-fp/fixdfdi.c: Likewise.
4819 * soft-fp/fixdfsi.c: Likewise.
4820 * soft-fp/fixdfti.c: Likewise.
4821 * soft-fp/fixsfdi.c: Likewise.
4822 * soft-fp/fixsfsi.c: Likewise.
4823 * soft-fp/fixsfti.c: Likewise.
4824 * soft-fp/fixtfdi.c: Likewise.
4825 * soft-fp/fixtfsi.c: Likewise.
4826 * soft-fp/fixtfti.c: Likewise.
4827 * soft-fp/fixunsdfdi.c: Likewise.
4828 * soft-fp/fixunsdfsi.c: Likewise.
4829 * soft-fp/fixunsdfti.c: Likewise.
4830 * soft-fp/fixunssfdi.c: Likewise.
4831 * soft-fp/fixunssfsi.c: Likewise.
4832 * soft-fp/fixunssfti.c: Likewise.
4833 * soft-fp/fixunstfdi.c: Likewise.
4834 * soft-fp/fixunstfsi.c: Likewise.
4835 * soft-fp/fixunstfti.c: Likewise.
4836 * soft-fp/floatdidf.c: Likewise.
4837 * soft-fp/floatdisf.c: Likewise.
4838 * soft-fp/floatditf.c: Likewise.
4839 * soft-fp/floatsidf.c: Likewise.
4840 * soft-fp/floatsisf.c: Likewise.
4841 * soft-fp/floatsitf.c: Likewise.
4842 * soft-fp/floattidf.c: Likewise.
4843 * soft-fp/floattisf.c: Likewise.
4844 * soft-fp/floattitf.c: Likewise.
4845 * soft-fp/floatundidf.c: Likewise.
4846 * soft-fp/floatundisf.c: Likewise.
4847 * soft-fp/floatunditf.c: Likewise.
4848 * soft-fp/floatunsidf.c: Likewise.
4849 * soft-fp/floatunsisf.c: Likewise.
4850 * soft-fp/floatunsitf.c: Likewise.
4851 * soft-fp/floatuntidf.c: Likewise.
4852 * soft-fp/floatuntisf.c: Likewise.
4853 * soft-fp/floatuntitf.c: Likewise.
4854 * soft-fp/gedf2.c: Likewise.
4855 * soft-fp/gesf2.c: Likewise.
4856 * soft-fp/getf2.c: Likewise.
4857 * soft-fp/ledf2.c: Likewise.
4858 * soft-fp/lesf2.c: Likewise.
4859 * soft-fp/letf2.c: Likewise.
4860 * soft-fp/muldf3.c: Likewise.
4861 * soft-fp/mulsf3.c: Likewise.
4862 * soft-fp/multf3.c: Likewise.
4863 * soft-fp/negdf2.c: Likewise.
4864 * soft-fp/negsf2.c: Likewise.
4865 * soft-fp/negtf2.c: Likewise.
4866 * soft-fp/op-1.h: Likewise.
4867 * soft-fp/op-2.h: Likewise.
4868 * soft-fp/op-4.h: Likewise.
4869 * soft-fp/op-8.h: Likewise.
4870 * soft-fp/op-common.h: Likewise.
4871 * soft-fp/quad.h: Likewise.
4872 * soft-fp/single.h: Likewise.
4873 * soft-fp/soft-fp.h: Likewise.
4874 * soft-fp/subdf3.c: Likewise.
4875 * soft-fp/subsf3.c: Likewise.
4876 * soft-fp/subtf3.c: Likewise.
4877 * soft-fp/truncdfsf2.c: Likewise.
4878 * soft-fp/trunctfdf2.c: Likewise.
4879 * soft-fp/trunctfsf2.c: Likewise.
4880 * soft-fp/trunctfxf2.c: Likewise.
4881 * soft-fp/unorddf2.c: Likewise.
4882 * soft-fp/unordsf2.c: Likewise.
4883 * soft-fp/unordtf2.c: Likewise.
4885 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
4887 PR gcov-profile/67097
4888 * libgcov-util.c (gcov_profile_merge): Skip missing files.
4890 2016-08-10 Martin Liska <mliska@suse.cz>
4892 PR gcov-profile/58306
4893 * Makefile.in: New functions (modules) are added.
4894 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
4896 (__gcov_pow2_profiler_atomic): New function.
4897 (__gcov_one_value_profiler_body): New argument is instroduced.
4898 (__gcov_one_value_profiler): Call with the new argument.
4899 (__gcov_one_value_profiler_atomic): Likewise.
4900 (__gcov_indirect_call_profiler_v2): Likewise.
4901 (__gcov_time_profiler_atomic): New function.
4902 (__gcov_average_profiler_atomic): Likewise.
4903 (__gcov_ior_profiler_atomic): Likewise.
4904 * libgcov.h: Declare the aforementioned functions.
4906 2016-08-09 Martin Liska <mliska@suse.cz>
4908 * libgcov-util.c: Fix typo and GNU coding style.
4910 2016-08-09 Martin Liska <mliska@suse.cz>
4912 * Makefile.in: Remove __gcov_indirect_call_profiler.
4913 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
4915 * libgcov.h: And the declaration of the function.
4917 2016-08-09 Martin Liska <mliska@suse.cz>
4919 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
4922 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4924 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
4925 * config/rs6000/_mulkc3.c: Likewise.
4927 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
4929 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
4930 zero_reg as previous call to __umulhisi3 already cleared it.
4932 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
4935 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
4937 2016-07-19 Nick Clifton <nickc@redhat.com>
4939 * config.host (m32r): Add m32r/t-m32r to tmake_file.
4940 Add crtinit.o and crtfini.o to extra_parts.
4942 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4944 * config/rs6000/_divkc3.c: New.
4945 * config/rs6000/_mulkc3.c: New.
4946 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
4948 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
4951 2016-07-11 Hale Wang <hale.wang@arm.com>
4952 Andre Vieira <andre.simoesdiasvieira@arm.com>
4954 * config/arm/lib1funcs.S: Add new wrapper.
4956 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4958 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
4960 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4962 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
4963 and ARMv5t* rather than for a fixed list of architectures.
4965 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4967 * config/arm/bpabi-v6m.S: Clarify what architectures is the
4968 implementation suitable for.
4969 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
4970 for all Thumb-1 only targets.
4971 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
4972 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
4975 (ARM_FUNC_ALIAS): Likewise.
4976 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
4979 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
4982 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
4983 __ARM_ARCH_6M__ in guard for checking whether it is defined.
4984 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
4985 __ARM_ARCH_6M__ and add comment to indicate the connection between
4986 this condition and the one in gcc/config/arm/elf.h.
4987 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
4988 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
4989 * config/arm/t-softfp: Likewise.
4991 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4993 * libgcc2.c (SYMBOL__MAIN): Remove checks for
4994 CTOR_LISTS_DEFINED_EXTERNALLY.
4996 2016-06-28 Walter Lee <walt@tilera.com>
4998 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
5000 (SPR_CMPEXCH_VALUE): Define for tilegx.
5001 (__NR_FAST_cmpxchg): Define for tilepro.
5002 (__NR_FAST_atomic_update): Define for tilepro.
5003 (__NR_FAST_cmpxchg64): Define for tilepro.
5005 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
5007 * config.host: Add suport for arm*-*-phoenix* targets.
5009 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5011 * config.host: Remove support for mep-*.
5012 * config/mep/lib1funcs.S: Remove.
5013 * config/mep/lib2funcs.c: Remove.
5014 * config/mep/t-mep: Remove.
5015 * config/mep/tramp.c: Remove.
5017 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5019 * config.host: Remove support for avr-rtems.
5020 * config/avr/t-rtems: Remove.
5022 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5024 * config.host: Remove m32r-rtems support.
5026 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5028 * config.host: Remove h8300-rtems support.
5030 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5032 * config.host: Remove support for knetbsd.
5034 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5036 * config.host: Remove support for openbsd 2 and 3.
5038 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5040 * config.host: Remove interix support.
5041 * config/i386/t-interix: Remove.
5043 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
5045 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
5046 least-significant bit in function pointer for fixup.
5048 2016-06-05 Aaron Conole <aconole@redhat.com>
5049 Nathan Sidwell <nathan@acm.org>
5052 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
5053 (get_gcov_error_file): Check __gcov_error_file before trying to
5055 (gcov_error): Always use get_gcov_error_file.
5057 2016-06-02 Aaron Conole <aconole@redhat.com>
5059 * libgcov-driver-system.c (__gcov_error_file): New.
5060 (get_gcov_error_file): New.
5061 (gcov_error): Use and set __gcov_error_file.
5062 (gcov_error_exit): New.
5063 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
5065 2016-05-26 Nathan Sidwell <nathan@acm.org>
5067 * config/nvptx/free.asm: Delete.
5068 * config/nvptx/malloc.asm: Delete.
5069 * config/nvptx/realloc.c: Delete.
5072 2016-05-25 Nathan Sidwell <nathan@acm.org>
5074 * config/nvptx/crt0.s: Delete.
5075 * config/nvptx/crt0.c: New.
5078 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
5080 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
5081 dw2/seh configuration.
5082 [x86_64-*-mingw*]: Likewise.
5084 2016-05-10 Joel Sherrill <joel@rtems.org>
5087 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
5088 targets so the same extra_parts are built. Also have tmake_file add
5089 on to its value rather than override.
5091 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
5093 * config.host: Remove SH5 support.
5094 * configure: Likewise.
5096 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
5098 * config/sh/crt1.S: Remove SH5 support.
5099 * config/sh/crti.S: Likewise.
5100 * config/sh/crtn.S: Likewise.
5101 * config/sh/lib1funcs-4-300.S: Likewise.
5102 * config/sh/lib1funcs-Os-4-200.S: Likewise.
5103 * config/sh/lib1funcs.S: Likewise.
5104 * config/sh/linux-unwind.h: Likewise.
5105 * config/sh/t-sh64: Delete.
5107 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
5109 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
5111 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
5112 Joern Rennecke <joern.rennecke@embecosm.com>
5114 * config/arc/crttls.S: New file.
5115 * config/arc/t-arc: New rule.
5116 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
5118 2016-04-25 Nick Clifton <nickc@redhat.com>
5120 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
5121 (__mspabi_cmpd): Likewise.
5122 * config/msp430/floathidf.c (__floathidf): Likewise.
5123 * config/msp430/floathisf.c (__floathisf): Likewise
5124 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
5125 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
5126 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
5128 (__ashrsi3): Likewise.
5130 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
5132 * config/m68k/linux-atomic.c: Do not include unistd.h
5134 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
5136 * config/arm/ieee754-df.S: Fix typos in comments.
5138 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
5141 * configure.ac (powerpc*-*-linux*): Rework tests to build
5142 __float128 emulation routines to not depend on using #pragma GCC
5143 target to enable -mfloat128.
5144 * configure: Regnerate.
5146 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
5149 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
5150 __MINGW32__ is defined.
5152 2016-03-28 James Bowman <james.bowman@ftdichip.com>
5154 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
5156 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
5159 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
5160 built with an assembler that does not support ISA 3.0
5161 instructions, rename __extendkftf2_sw to __extendkftf2.
5163 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5166 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
5167 call-clobbered registers.
5168 (internal_mcount): Remove __i386__ handling.
5170 2016-02-26 Joel Sherrill <joel@rtems.org>
5172 * config.host: Add x86_64-*-rtems*.
5174 2016-02-26 Joel Sherrill <joel@rtems.org>
5176 * libgcc/config.host: Add aarch64-*-rtems*.
5178 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5179 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5181 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
5182 union of u64 and double.
5183 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
5184 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
5186 (FP_ROUNDMODE): Update the usage of _fpscr.
5188 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
5191 * Makefile.in (crtoffloadtable$(objext)): New rule.
5192 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
5193 enable_offload_targets is not empty.
5194 * configure: Regenerate.
5195 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
5198 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
5200 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
5201 .literal_position before the function.
5202 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
5205 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
5207 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
5208 * config/s390/morestack.S: New file.
5209 * config/s390/t-stack-s390: New file.
5210 * generic-morestack.c (__splitstack_find): Add s390-specific code.
5212 2016-02-12 Walter Lee <walt@tilera.com>
5214 * config.host (tilegx*-*-linux*): remove ti from
5215 softfp_int_modes for 32-bit configs.
5217 2016-02-10 Ian Lance Taylor <iant@google.com>
5220 * config/i386/morestack.S (__stack_split_initialize): Align
5223 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
5226 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
5227 __FLOAT128__ to compile only for __float128 capable targets.
5229 2016-01-25 Jakub Jelinek <jakub@redhat.com>
5232 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
5233 instead of ___NO_FPRS__.
5235 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
5236 Steven Munroe <munroesj@linux.vnet.ibm.com>
5237 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
5239 * config/rs6000/float128-sed: New files to convert TF names to KF
5240 names for PowerPC IEEE 128-bit floating point support.
5241 * config/rs6000/float128-sed-hw: Likewise.
5243 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5244 floating point hardware support.
5246 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5247 128-bit floating point software emulation or use ISA 3.0 hardware
5248 support if it is available.
5250 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5253 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
5254 floating point to IBM extended double.
5256 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
5257 double to IEEE 128-bit floating point.
5259 * config/rs6000/t-float128: New Makefile fragments to enable
5260 building __float128 emulation support.
5261 * config/rs6000/t-float128-hw: Likewise.
5263 * config/rs6000/sfp-exceptions.c: New file to provide exception
5264 support for IEEE 128-bit floating point.
5266 * config/rs6000/floattikf.c: New files for converting between IEEE
5267 128-bit floating point and signed/unsigned 128-bit integers.
5268 * config/rs6000/fixunskfti.c: Likewise.
5269 * config/rs6000/fixkfti.c: Likewise.
5270 * config/rs6000/floatuntikf.c: Likewise.
5272 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5273 when building on 64-bit systems, or when VSX is enabled.
5274 (_FP_W_TYPE): Likewise.
5275 (_FP_WS_TYPE): Likewise.
5276 (_FP_I_TYPE): Likewise.
5277 (TItype): Define on 64-bit systems.
5278 (UTItype): Likewise.
5279 (TI_BITS): Likewise.
5280 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5281 (_FP_MUL_MEAT_Q): Likewise.
5282 (_FP_DIV_MEAT_D): Likewise.
5283 (_FP_DIV_MEAT_Q): Likewise.
5284 (_FP_NANFRAC_D): Likewise.
5285 (_FP_NANFRAC_Q): Likewise.
5286 (ISA_BIT): Add exception support if we are being compiled on a
5287 machine with hardware floating point support to build the IEEE
5288 128-bit emulation functions.
5289 (FP_EX_INVALID): Likewise.
5290 (FP_EX_OVERFLOW): Likewise.
5291 (FP_EX_UNDERFLOW): Likewise.
5292 (FP_EX_DIVZERO): Likewise.
5293 (FP_EX_INEXACT): Likewise.
5294 (FP_EX_ALL): Likewise.
5295 (__sfp_handle_exceptions): Likewise.
5296 (FP_HANDLE_EXCEPTIONS): Likewise.
5297 (FP_RND_NEAREST): Likewise.
5298 (FP_RND_ZERO): Likewise.
5299 (FP_RND_PINF): Likewise.
5300 (FP_RND_MINF): Likewise.
5301 (FP_RND_MASK): Likewise.
5302 (_FP_DECL_EX): Likewise.
5303 (FP_INIT_ROUNDMODE): Likewise.
5304 (FP_ROUNDMODE): Likewise.
5306 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5307 VSX code, enable IEEE 128-bit floating point. If the compiler can
5308 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
5309 floating point hardware instructions and it supports declaring
5310 functions with the ifunc attribute, enable ifunc functions to
5311 switch between software and hardware support.
5312 * configure.ac (powerpc*-*-linux*): Likewise.
5313 * configure: Regenerate.
5315 2016-01-15 Nick Clifton <nickc@redhat.com>
5317 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
5318 dependency as the source file to be compiled.
5319 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
5320 (lib2hw_mul_f5.o): Likewise.
5322 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
5324 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
5325 * libgcc/config/rs6000/fixkfti.c: Likewise.
5326 * libgcc/config/rs6000/fixunskfti.c: Likewise.
5327 * libgcc/config/rs6000/float128-hw.c: Likewise.
5328 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
5329 * libgcc/config/rs6000/float128-sed: Likewise.
5330 * libgcc/config/rs6000/floattikf.c: Likewise.
5331 * libgcc/config/rs6000/floatuntikf.c: Likewise.
5332 * libgcc/config/rs6000/quad-float128.h: Likewise.
5333 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
5334 * libgcc/config/rs6000/sfp-machine.h: Likewise.
5335 * libgcc/config/rs6000/t-float128: Likewise.
5336 * libgcc/config/rs6000/t-float128-hw: Likewise.
5337 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
5338 * libgcc/config.host: Likewise.
5339 * libgcc/configure: Likewise.
5340 * libgcc/configure.ac: Likewise.
5342 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
5343 Steven Munroe <munroesj@linux.vnet.ibm.com>
5344 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
5346 * config/rs6000/sfp-exceptions.c: New file to provide exception
5347 support for IEEE 128-bit floating point.
5349 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5350 floating point hardware support.
5352 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
5354 * config/rs6000/fixunskfti.c: Likewise.
5355 * config/rs6000/fixkfti.c: Likewise.
5356 * config/rs6000/floatuntikf.c: Likewise.
5357 * config/rs6000/extendkftf2-sw.c: Likewise.
5358 * config/rs6000/trunctfkf2-sw.c: Likewise.
5360 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5361 128-bit floating point software emulation or use ISA 3.0 hardware
5362 support if it is available.
5364 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5367 * config/rs6000/t-float128: New Makefile fragments to enable
5368 building __float128 emulation support.
5369 * config/rs6000/t-float128-hw: Likewise.
5371 * config/rs6000/float128-sed: New file to convert TF names to KF
5372 names for PowerPC IEEE 128-bit floating point support.
5374 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5375 when building on 64-bit systems, or when VSX is enabled.
5376 (_FP_W_TYPE): Likewise.
5377 (_FP_WS_TYPE): Likewise.
5378 (_FP_I_TYPE): Likewise.
5379 (TItype): Define on 64-bit systems.
5380 (UTItype): Likewise.
5381 (TI_BITS): Likewise.
5382 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5383 (_FP_MUL_MEAT_Q): Likewise.
5384 (_FP_DIV_MEAT_D): Likewise.
5385 (_FP_DIV_MEAT_Q): Likewise.
5386 (_FP_NANFRAC_D): Likewise.
5387 (_FP_NANFRAC_Q): Likewise.
5388 (ISA_BIT): Add exception support if we are being compiled on a
5389 machine with hardware floating point support to build the IEEE
5390 128-bit emulation functions.
5391 (FP_EX_INVALID): Likewise.
5392 (FP_EX_OVERFLOW): Likewise.
5393 (FP_EX_UNDERFLOW): Likewise.
5394 (FP_EX_DIVZERO): Likewise.
5395 (FP_EX_INEXACT): Likewise.
5396 (FP_EX_ALL): Likewise.
5397 (__sfp_handle_exceptions): Likewise.
5398 (FP_HANDLE_EXCEPTIONS): Likewise.
5399 (FP_RND_NEAREST): Likewise.
5400 (FP_RND_ZERO): Likewise.
5401 (FP_RND_PINF): Likewise.
5402 (FP_RND_MINF): Likewise.
5403 (FP_RND_MASK): Likewise.
5404 (_FP_DECL_EX): Likewise.
5405 (FP_INIT_ROUNDMODE): Likewise.
5406 (FP_ROUNDMODE): Likewise.
5408 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
5409 compiler can do __float128.
5410 * configure: Regenerate.
5412 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5413 VSX code, enable IEEE 128-bit floating point.
5415 2016-01-05 Olivier Hainque <hainque@adacore.com>
5417 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
5420 2016-01-04 Jakub Jelinek <jakub@redhat.com>
5422 Update copyright years.
5424 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
5426 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
5429 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5431 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
5432 instead of abort to avoid dependency on stdlib.h.
5434 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
5436 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
5437 to initialize call to __dl_fixup once.
5439 2015-12-04 Nick Clifton <nickc@redhat.com>
5441 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
5442 Allow for the second argument being negative.
5443 * config.host (extra_parts): Define for MSP430. Create separate
5444 libraries for each of the hardware multiply formats.
5445 * config/msp430/lib2hw_mul.S: Build only the multiply routines
5447 * config/msp430/lib2mul.c: Likewise.
5448 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
5449 Add rules to build hardware multiply libraries.
5450 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
5451 __mspabi_divul function.
5452 (__mspabi_divllu): New stub function.
5454 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
5456 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
5457 fixup values if saved GOT address doesn't match runtime address.
5458 (fixup_branch_offset): Reorder list.
5460 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5462 * Makefile.in (VTV_CFLAGS): New variable.
5463 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
5464 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
5465 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5466 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
5467 to extra_parts if $enable_vtable_verify = yes.
5469 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
5472 * config/arm/linux-atomic-64bit.c (__write): Rename to...
5473 (write): ...this and fix the return type.
5475 2015-11-19 DJ Delorie <dj@redhat.com>
5477 * config/msp430/lib2hw_mul.S: Fix alignment.
5479 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
5481 * config/nvptx/reduction.c: New.
5482 * config/nvptx/t-nvptx (LIB2ADD): Add it.
5484 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
5486 * config/rs6000/on_exit.c: New file.
5487 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
5488 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
5490 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
5492 * config/arc/dp-hack.h: Add support for ARCHS.
5493 * config/arc/ieee-754/divdf3.S: Likewise.
5494 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5495 * config/arc/ieee-754/muldf3.S: Likewise.
5496 * config/arc/ieee-754/mulsf3.S: Likewise
5497 * config/arc/lib1funcs.S: Likewise
5498 * config/arc/gmon/dcache_linesz.S: Don't read the build register
5500 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
5502 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
5503 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
5506 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5508 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
5510 * config/ia64/crtend.S: Likewise.
5512 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5514 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
5515 __CHAR_BIT__ instead of BITS_PER_UNIT.
5516 * fixed-bit.h: Likewise.
5517 * fp-bit.h: Likewise.
5518 * libgcc2.c (__popcountSI2): Likewise.
5519 (__popcountDI2): Likewise.
5520 * libgcc2.h: Likewise.
5521 * libgcov.h: Likewise.
5523 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
5525 * config/rs6000/atexit.c: New file.
5526 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
5527 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
5528 * config/rs6000/cxa_finalize.c
5529 (catomic_compare_and_exchange_bool_acq): Negate return value.
5531 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
5533 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
5534 (processor_subtypes): Add znver1.
5535 (get_amd_cpu): Detect znver1.
5537 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
5539 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
5540 Include crtfastmath.o.
5542 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
5545 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
5547 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
5549 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
5550 * config/rl78/divmodsi.S: Update return register to r8.
5551 * config/rl78/divmodhi.S: Update return register to r8,r9.
5552 Branch to main_loop_done_himode to pop registers before return.
5554 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
5556 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
5557 (__cpu_indicator_init): Fix model selection for AMD CPUs.
5559 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
5561 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
5563 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
5565 * config.host (xtensa*-*-uclinux*): New configuration.
5567 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
5569 * config/i386/cpuinfo.c (processor_features): Add
5570 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
5572 2015-09-28 Joseph Myers <joseph@codesourcery.com>
5574 * soft-fp/adddf3.c: Update from glibc.
5575 * soft-fp/addsf3.c: Likewise.
5576 * soft-fp/addtf3.c: Likewise.
5577 * soft-fp/divdf3.c: Likewise.
5578 * soft-fp/divsf3.c: Likewise.
5579 * soft-fp/divtf3.c: Likewise.
5580 * soft-fp/double.h: Likewise.
5581 * soft-fp/eqdf2.c: Likewise.
5582 * soft-fp/eqsf2.c: Likewise.
5583 * soft-fp/eqtf2.c: Likewise.
5584 * soft-fp/extenddftf2.c: Likewise.
5585 * soft-fp/extended.h: Likewise.
5586 * soft-fp/extendsfdf2.c: Likewise.
5587 * soft-fp/extendsftf2.c: Likewise.
5588 * soft-fp/extendxftf2.c: Likewise.
5589 * soft-fp/fixdfdi.c: Likewise.
5590 * soft-fp/fixdfsi.c: Likewise.
5591 * soft-fp/fixdfti.c: Likewise.
5592 * soft-fp/fixsfdi.c: Likewise.
5593 * soft-fp/fixsfsi.c: Likewise.
5594 * soft-fp/fixsfti.c: Likewise.
5595 * soft-fp/fixtfdi.c: Likewise.
5596 * soft-fp/fixtfsi.c: Likewise.
5597 * soft-fp/fixtfti.c: Likewise.
5598 * soft-fp/fixunsdfdi.c: Likewise.
5599 * soft-fp/fixunsdfsi.c: Likewise.
5600 * soft-fp/fixunsdfti.c: Likewise.
5601 * soft-fp/fixunssfdi.c: Likewise.
5602 * soft-fp/fixunssfsi.c: Likewise.
5603 * soft-fp/fixunssfti.c: Likewise.
5604 * soft-fp/fixunstfdi.c: Likewise.
5605 * soft-fp/fixunstfsi.c: Likewise.
5606 * soft-fp/fixunstfti.c: Likewise.
5607 * soft-fp/floatdidf.c: Likewise.
5608 * soft-fp/floatdisf.c: Likewise.
5609 * soft-fp/floatditf.c: Likewise.
5610 * soft-fp/floatsidf.c: Likewise.
5611 * soft-fp/floatsisf.c: Likewise.
5612 * soft-fp/floatsitf.c: Likewise.
5613 * soft-fp/floattidf.c: Likewise.
5614 * soft-fp/floattisf.c: Likewise.
5615 * soft-fp/floattitf.c: Likewise.
5616 * soft-fp/floatundidf.c: Likewise.
5617 * soft-fp/floatundisf.c: Likewise.
5618 * soft-fp/floatunditf.c: Likewise.
5619 * soft-fp/floatunsidf.c: Likewise.
5620 * soft-fp/floatunsisf.c: Likewise.
5621 * soft-fp/floatunsitf.c: Likewise.
5622 * soft-fp/floatuntidf.c: Likewise.
5623 * soft-fp/floatuntisf.c: Likewise.
5624 * soft-fp/floatuntitf.c: Likewise.
5625 * soft-fp/gedf2.c: Likewise.
5626 * soft-fp/gesf2.c: Likewise.
5627 * soft-fp/getf2.c: Likewise.
5628 * soft-fp/ledf2.c: Likewise.
5629 * soft-fp/lesf2.c: Likewise.
5630 * soft-fp/letf2.c: Likewise.
5631 * soft-fp/muldf3.c: Likewise.
5632 * soft-fp/mulsf3.c: Likewise.
5633 * soft-fp/multf3.c: Likewise.
5634 * soft-fp/negdf2.c: Likewise.
5635 * soft-fp/negsf2.c: Likewise.
5636 * soft-fp/negtf2.c: Likewise.
5637 * soft-fp/op-1.h: Likewise.
5638 * soft-fp/op-2.h: Likewise.
5639 * soft-fp/op-4.h: Likewise.
5640 * soft-fp/op-8.h: Likewise.
5641 * soft-fp/op-common.h: Likewise.
5642 * soft-fp/quad.h: Likewise.
5643 * soft-fp/single.h: Likewise.
5644 * soft-fp/soft-fp.h: Likewise.
5645 * soft-fp/subdf3.c: Likewise.
5646 * soft-fp/subsf3.c: Likewise.
5647 * soft-fp/subtf3.c: Likewise.
5648 * soft-fp/truncdfsf2.c: Likewise.
5649 * soft-fp/trunctfdf2.c: Likewise.
5650 * soft-fp/trunctfsf2.c: Likewise.
5651 * soft-fp/trunctfxf2.c: Likewise.
5652 * soft-fp/unorddf2.c: Likewise.
5653 * soft-fp/unordsf2.c: Likewise.
5654 * soft-fp/unordtf2.c: Likewise.
5656 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
5659 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
5661 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5663 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5664 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
5665 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
5667 (internal_mcount): Likewise.
5668 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
5669 crt_compile, add CRTSTUFF_T_CFLAGS_S.
5671 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5673 * configure.ac (libgcc_cv_solaris_crts): New test.
5674 * configure: Regenerate.
5675 * config.in: Regenerate.
5676 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
5677 * config/gmon-sol2.c: Rename to ...
5678 * config/sol2/gmon.c: ... this.
5679 Include auto-target.h.
5680 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
5681 * config/t-sol2: Rename to ...
5682 * config/sol2/t-sol2: ... this.
5683 (gmon.o): Reflect renaming.
5684 (crtp.o, crtpg.o): New rules.
5685 * config.host (*-*-solaris2*): Reflect renaming.
5686 Use system CRTs if present.
5687 Remove default CRT case.
5689 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
5691 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
5692 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
5694 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
5695 (__sync_val_compare_and_swap_##WIDTH): Likewise.
5696 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
5697 (__sync_lock_test_and_set_##WIDTH): Likewise.
5698 (__sync_lock_release_##WIDTH): Likewise.
5699 (__sync_fetch_and_##OP##_4): Change result to match type of
5701 (__sync_##OP##_and_fetch_4): Likewise.
5702 (__sync_val_compare_and_swap_4): Likewise.
5703 (__sync_bool_compare_and_swap_4): likewise.
5704 (__sync_lock_test_and_set_4): Likewise.
5705 (__sync_lock_release_4): Likewise.
5706 (FETCH_AND_OP_2): Add long long variants.
5707 (OP_AND_FETCH_2): Likewise.
5708 (COMPARE_AND_SWAP_2 ): Likewise.
5709 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5710 (SYNC_LOCK_RELEASE_2): Likewise.
5711 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
5713 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
5715 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
5716 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
5717 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
5718 (get_available_features): Habdle new features.
5720 2015-09-21 James Bowman <james.bowman@ftdichip.com>
5722 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
5723 memory layout. Deal correctly with BSS region larger than 32K.
5724 Handle a watchdog reset like a power-on reset. Clean up unused
5727 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
5728 David Edelsohn <dje.gcc@gmail.com>
5730 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
5731 * config/rs6000/crtdbase.S: New file.
5732 * config/rs6000/t-aix-cxa: Build crtdbase.o.
5734 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
5736 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
5737 Add support for call0 ABI.
5739 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
5741 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
5743 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
5745 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
5746 (__GTHREAD_HAS_COND): Likewise.
5747 (__gthread_t): Likewise.
5748 (__gthread_cond_t): Likewise.
5749 (__gthread_time_t): Likewise.
5750 (__GTHREAD_MUTEX_INIT): Likewise.
5751 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
5752 (__GTHREAD_COND_INIT): Likewise.
5753 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
5754 (__GTHREAD_TIME_INIT): Likewise.
5755 (__gthread_create): Likewise.
5756 (__gthread_join): Likewise.
5757 (__gthread_detach): Likewise.
5758 (__gthread_equal): Likewise.
5759 (__gthread_self): Likewise.
5760 (__gthread_yield): Likewise.
5761 (__gthread_cond_broadcast): Likewise.
5762 (__gthread_cond_signal): Likewise.
5763 (__gthread_cond_wait): Likewise.
5764 (__gthread_cond_timedwait): Likewise.
5765 (__gthread_cond_wait_recursive): Likewise.
5766 (__gthread_cond_destroy): Likewise.
5767 (rtems_gxx_once): Delete.
5768 (rtems_gxx_key_create): Likewise.
5769 (rtems_gxx_key_delete): Likewise.
5770 (rtems_gxx_getspecific): Likewise.
5771 (rtems_gxx_setspecific): Likewise.
5772 (rtems_gxx_mutex_init): Likewise.
5773 (rtems_gxx_mutex_destroy): Likewise.
5774 (rtems_gxx_mutex_lock): Likewise.
5775 (rtems_gxx_mutex_trylock): Likewise.
5776 (rtems_gxx_mutex_unlock): Likewise.
5777 (rtems_gxx_recursive_mutex_init): Likewise.
5778 (rtems_gxx_recursive_mutex_lock): Likewise.
5779 (rtems_gxx_recursive_mutex_trylock): Likewise.
5780 (rtems_gxx_recursive_mutex_unlock): Likewise.
5781 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
5782 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
5783 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
5784 (__gthread_once): Likewise.
5785 (__gthread_key_create): Likewise.
5786 (__gthread_key_delete): Likewise.
5787 (__gthread_getspecific): Likewise.
5788 (__gthread_setspecific): Likewise.
5789 (__gthread_key_t): Use <pthread.h> type.
5790 (__gthread_once_t): Likewise
5791 (__gthread_mutex_t): Use <sys/lock.h> type.
5792 (__gthread_recursive_mutex_t): Likewise
5793 (__gthread_mutex_lock): Use <sys/lock.h> function.
5794 (__gthread_mutex_trylock): Likewise.
5795 (__gthread_mutex_timedlock): Likewise.
5796 (__gthread_mutex_unlock): Likewise.
5797 (__gthread_mutex_destroy): Likewise.
5798 (__gthread_recursive_mutex_lock): Likewise.
5799 (__gthread_recursive_mutex_trylock): Likewise.
5800 (__gthread_recursive_mutex_timedlock): Likewise.
5801 (__gthread_recursive_mutex_unlock): Likewise.
5802 (__gthread_recursive_mutex_destroy): Likewise.
5804 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5806 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
5807 context->sp instead of context->cfa.
5809 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5811 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
5812 with unwind-dw2-fde-dip.
5814 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5816 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
5817 CALL12 followed by series of ENTRY to spill windowed registers.
5818 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
5819 instead of making linux spill syscall.
5821 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
5823 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
5824 (get_intel_cpu): Likewise.
5826 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
5828 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
5829 (get_intel_cpu): Add Knights Landing support.
5831 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
5834 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
5835 (get_available_features): Handle FEATURE_PCLMUL.
5837 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
5839 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
5842 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
5845 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
5846 (get_available_features): Handle FEATURE_AES.
5848 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
5850 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
5851 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
5853 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
5855 * offloadstuff.c: Constify host data.
5857 2015-07-17 Jan Beulich <jbeulich@suse.com>
5859 * config/t-softfp: Split up "else ifneq".
5861 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
5862 Cesar Philippidis <cesar@codesourcery.com>
5863 Chung-Lin Tang <cltang@codesourcery.com>
5865 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
5866 for __nios2_arch__ level.
5868 2015-07-13 John Marino <gnugcc@marino.st>
5870 * config/i386/t-dragonfly: New.
5872 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
5874 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
5875 better match light-weight syscall argument order.
5876 (__kernel_cmpxchg2): Likewise.
5879 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
5881 * config.host: Support i[34567]86-*-elfiamcu target.
5882 * config/t-softfp-sfdftf: New file.
5883 * config/i386/32/t-iamcu: Likewise.
5884 * configure: Regenerated.
5886 2015-06-23 James Lemke <jwlemke@codesourcery.com>
5889 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
5891 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
5893 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
5895 2015-05-27 John Marino <gnugcc@marino.st>
5897 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
5899 * config/i386/freebsd-unwind.h: New.
5901 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
5903 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
5904 i386/t-crtfm to tmake_file.
5905 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
5906 (set_fast_math): Use set_fast_math_sse for SSE targets.
5907 * config/i386/t-crtfm: Remove.
5909 2015-05-21 Alan Modra <amodra@gmail.com>
5912 * config/rs6000/morestack.S: Remove ".abiversion 1".
5914 2015-05-20 Alan Modra <amodra@gmail.com>
5916 * config/rs6000/morestack.S: New.
5917 * config/rs6000/t-stack-rs6000: New.
5918 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
5920 * generic-morestack.c: Don't build for powerpc 32-bit.
5922 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
5924 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
5925 Remove useless endif/ifneq ($(enable_shared),yes) pair.
5927 2015-05-16 James Bowman <james.bowman@ftdichip.com>
5929 * config.host: FT32 target added.
5930 * config/ft32/*: New files for FT32 target.
5932 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
5934 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
5936 * config/arm/ieee754-df.S: Add CFI directives.
5937 * config/arm/ieee754-sf.S: Add CFI directives.
5939 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
5941 * configure.ac: Include config/sjlj.m4.
5942 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
5943 * config.in: Regenerate.
5944 * configure: Likewise.
5945 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
5947 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
5949 * libgcov-util.c: Add space between string literal and macro name.
5951 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
5952 Chris Jones <chrisj@nvidia.com>
5953 Joshua Conner <jconner@nvidia.com>
5955 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
5956 (arm*-*-uclinux*): Likewise.
5957 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
5958 * config/arm/crtfastmath.c: New file.
5960 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
5962 * Makefile.in (real_host_noncanonical): New variable.
5963 (libsubdir): Use it.
5964 * configure.ac (real_host_noncanonical): Compute. Remove special
5965 case for intelmicemul.
5966 * configure: Regenerate.
5968 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
5970 * config/frv/elf-lib.h: New file.
5971 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
5972 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
5975 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
5977 * config/frv/frvbengin.c: Do not include defaults.h
5978 * config/frv/frvend.c: Ditto.
5980 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
5982 * config.host: Add h8300-*-linux
5983 * config/h8300/t-linux: New file.
5984 * config/h8300/lib1funs.s: Change symbol prefix.
5985 * config/h8300/sfp-machine.h: 64bit double support.
5987 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
5988 Szabolcs Nagy <szabolcs.nagy@arm.com>
5990 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
5991 Linux if target provides dl_iterate_phdr.
5993 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
5996 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
5997 * config/i386/cpuinfo.c (__cpu_model): Initialize.
5998 (__cpu_indicator_init@GCC_4.8.0): New.
5999 (__cpu_model@GCC_4.8.0): Likewise.
6000 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
6003 2015-04-16 Nick Clifton <nickc@redhat.com>
6005 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
6006 and __modhi3 functions.
6007 * config/rl78/divmodso.S: Add G14 and G13 versions of the
6008 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
6010 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
6012 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
6013 do-while loop as macro body to avoid warnings.
6015 2015-04-10 Jakub Jelinek <jakub@redhat.com>
6016 Iain Sandoe <iain@codesourcery.com>
6019 * configure: Regenerate.
6021 2015-04-07 Jakub Jelinek <jakub@redhat.com>
6022 Iain Sandoe <iain@codesourcery.com>
6025 * configure: Regenerate.
6027 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
6029 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
6031 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
6033 Implement call0 ABI for xtensa
6034 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6035 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
6036 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
6037 use ret in call0 ABI.
6038 * config/xtensa/t-windowed: New file.
6039 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
6040 * libgcc/configure: Regenerated.
6041 * libgcc/configure.ac: Check if xtensa target is configured for
6042 windowed ABI and thus needs to use custom unwind code.
6044 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
6047 * gthr-single.h: Use __unused__ attribute instead of unused.
6048 * config/gthr-vxworks.h: Likewise.
6049 * config/i386/gthr-win32.h: Likewise.
6051 2015-02-27 Kai Tietz <ktietz@redhat.com>
6054 * config.in: Regenerated.
6055 * configure: Likewise.
6056 * configure.ac (AC_HEADER_STDC): Added explicit.
6057 (AC_CHECK_HEADERS): Check for default headers plus
6059 * libgcov-util.c (gcov_read_profile_dir): Disable use
6060 of ftw-function, if header is not found.
6061 (ftw_read_file): Likewise.
6063 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
6066 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
6069 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
6071 * config/arm/bpabi.S (test_div_by_zero): Make label names
6072 consistent between thumb2 and arm mode cases. Separate the
6073 signed comparison on the high word of the numerator from the
6074 unsigned comparison on the low word.
6075 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
6078 2015-02-17 Joseph Myers <joseph@codesourcery.com>
6080 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
6082 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
6084 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
6086 PR gcov-profile/61889
6087 * libgcov-driver-system.c: undefine clashing macro for mkdir.
6089 2015-02-02 Nick Clifton <nickc@redhat.com>
6091 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
6092 rounding up the fraction.
6094 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
6096 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
6097 oldval and newval to const void *. Fix typo.
6098 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
6099 (FETCH_AND_OP_WORD): Likewise.
6100 (OP_AND_FETCH_WORD): Likewise.
6101 (COMPARE_AND_SWAP_2): Likewise.
6102 (__sync_val_compare_and_swap_4): Likewise.
6103 (__sync_lock_test_and_set_4): Likewise.
6104 (SYNC_LOCK_RELEASE_2): Likewise.
6105 Remove support for long long atomic operations.
6107 2015-01-27 Caroline Tice <cmtice@google.com>
6109 Committing VTV Cywin/Ming patch for Patrick Wollgast
6110 * Makefile.in: Move rules to build vtv_*.o out of the check
6111 for CUSTOM_CRTSTUFF.
6112 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
6113 i[34567]86-*-mingw*)
6114 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
6115 enable_vtable_verify.
6117 2015-01-27 Nick Clifton <nickc@redhat.com>
6119 * config/rl78/cmpsi2.S: Use function start and end macros.
6120 (__gcc_bcmp): New function.
6121 * config/rl78/lshrsi3.S: Use function start and end macros.
6122 * config/rl78/mulsi3.S: Add support for G10.
6123 (__mulqi3): New function for G10.
6124 * config/rl78/signbit.S: Use function start and end macros.
6125 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
6127 (LIB2FUNCS_EXCLUDE): Define.
6128 (LIB2FUNCS_ST): Define.
6129 * config/rl78/trampoline.S: Use function start and end macros.
6130 * config/rl78/vregs.h (START_FUNC): New macro.
6131 (START_ANOTHER_FUNC): New macro.
6132 (END_FUNC): New macro.
6133 (END_ANOTHER_FUNC): New macro.
6134 * config/rl78/bit-count.S: New file. Contains assembler
6135 implementations of the bit counting functions: ___clzhi2,
6136 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
6137 __paritysi2, __popcounthi2 and __popcountsi2.
6138 * config/rl78/fpbit-sf.S: New file. Contains assembler
6139 implementationas of the math functions: __negsf2, __cmpsf2,
6140 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
6141 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
6142 * config/rl78/fpmath-sf.S: New file. Contains assembler
6143 implementations of the math functions: __subsf3, __addsf3,
6144 __mulsf3 and __divsf3
6146 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6148 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
6149 Add i386/elf-lib.h to tm_file.
6150 * config/i386/elf-lib.h: Fix comment.
6151 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
6152 && __sun__ && __svr4__]: Remove workaround.
6154 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6156 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
6158 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
6160 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
6162 * config/i386/cpuinfo.c (processor_subtypes): Add
6163 INTEL_COREI7_BROADWELL.
6164 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
6167 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
6169 * config/i386/elf-lib.h: New file.
6170 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
6171 Wrap definition in #ifdef __i386__.
6172 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6173 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
6174 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
6175 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
6178 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
6180 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
6181 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
6183 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
6185 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
6186 Update rt_sigframe format and address for current Nios II
6189 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
6191 * config.host (arm*-*-freebsd*): Add new configuration for
6193 * config/arm/freebsd-atomic.c: New file.
6194 * config/arm/t-freebsd: Likewise.
6195 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
6196 'PC-relative indirect' OS's.
6198 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
6200 * config.host: Add Visium support.
6201 * config/visium: New directory.
6203 2015-01-05 Jakub Jelinek <jakub@redhat.com>
6205 Update copyright years.
6207 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
6209 * config.host: Support mipsisa32r6 and mipsisa64r6.
6210 * config/mips/mips16.S: Do not build for R6.
6212 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
6214 * config/sh/crt.h: New.
6215 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
6217 * config/sh/crt1.S: Likewise.
6219 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
6222 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
6223 func_ptr *dtor_list temporary variable to avoid "array subscript
6224 is above array bounds" warnings.
6226 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
6228 * Makefile.in (with_aix_soname): Define.
6229 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
6230 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
6231 * configure: Recreate.
6233 2014-12-05 Olivier Hainque <hainque@adacore.com>
6235 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
6236 now provided by defaults.h.
6238 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
6241 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
6242 whether it's defined.
6244 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
6246 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
6247 * config/i386/cpuinfo.c (get_available_features): Detect it.
6249 2014-11-27 Tony Wang <tony.wang@arm.com>
6251 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
6252 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
6253 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
6255 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
6257 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
6259 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
6261 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
6264 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
6265 John David Anglin <danglin@gcc.gnu.org>
6267 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
6268 (FETCH_AND_OP_2): New. Use for subword and double word operations.
6269 (OP_AND_FETCH_2): Likewise.
6270 (COMPARE_AND_SWAP_2): Likewise.
6271 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6272 (SYNC_LOCK_RELEASE_2): Likewise.
6273 (SUBWORD_SYNC_OP): Remove.
6274 (SUBWORD_VAL_CAS): Likewise.
6275 (SUBWORD_BOOL_CAS): Likewise.
6276 (FETCH_AND_OP_WORD): Update.
6277 Consistently use signed types.
6279 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
6280 Thomas Schwinge <thomas@codesourcery.com>
6281 Ilya Verbin <ilya.verbin@intel.com>
6282 Andrey Turetskiy <andrey.turetskiy@intel.com>
6284 * Makefile.in (crtoffloadbegin$(objext)): New rule.
6285 (crtoffloadend$(objext)): Likewise.
6286 * configure: Regenerate.
6287 * configure.ac (accel_dir_suffix): Compute new variable.
6288 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
6289 if enable_offload_targets is not empty.
6290 * offloadstuff.c: New file.
6292 2014-11-13 Nick Clifton <nickc@redhat.com>
6294 * config/rl78/divmodhi.S: Add support for the G10 architecture.
6295 Use START_FUNC and END_FUNC macros to enable linker garbage
6297 * config/rl78/divmodqi.S: Likewise.
6298 * config/rl78/divmodsi.S: Likewise.
6299 * config/rl78/mulsi3.S: Likewise.
6300 * config/rl78/lib2div.c: Remove G10 functions.
6301 * config/rl78/lib2muls.c: Likewise.
6302 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
6303 * config/rl78/vregs.h (START_FUNC): New macro.
6304 (END_FUNC): New macro.
6306 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
6308 * config/mips/mips16.S: Set .module when supported. Update O32
6309 FP64 calling convention and use for FPXX when possible. Add FPXX
6310 calling convention fallback case.
6312 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
6314 * config.host: Handle nvptx-*-*.
6315 * shared-object.mk (as-flags-$o): Define.
6316 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
6317 -xassembler-with-cpp.
6318 * static-object.mk: Identical changes.
6319 * config/nvptx/t-nvptx: New file.
6320 * config/nvptx/crt0.s: New file.
6321 * config/nvptx/free.asm: New file.
6322 * config/nvptx/malloc.asm: New file.
6323 * config/nvptx/realloc.c: New file.
6325 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6327 * Makefile.in (libgcc.map.in): New target.
6328 (libgcc.map): Use libgcc.map.in.
6329 * config/t-softfp (softfp_compat): New variable to be set by
6331 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
6333 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
6335 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
6336 that use compat symbols and disable all code unless [SHARED].
6337 * config/t-softfp-compat: New file.
6338 * find-symver.awk: New file.
6339 * configure.ac (--with-glibc-version): New configure option.
6340 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
6341 * configure: Regenerate.
6342 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
6343 soft-float and e500.
6345 2014-10-29 Joseph Myers <joseph@codesourcery.com>
6347 * config/t-hardfp (hardfp_exclusions): Document new variable for
6349 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
6350 * config/t-softfp (softfp_extras): Document new variable for user
6352 (softfp_func_list): Add functions from $(softfp_extras).
6353 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
6354 * config.host (powerpc*-*-linux*): For e500v1, use
6355 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
6356 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
6357 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
6359 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
6361 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
6362 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
6363 memory read accesses are ok.
6365 2014-10-25 Joseph Myers <joseph@codesourcery.com>
6367 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
6368 * configure: Regenerate.
6369 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
6370 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
6371 of soft-fp for 32-bit classic hard float. Do not use
6372 t-softfp-excl for soft float.
6374 2014-10-22 Joseph Myers <joseph@codesourcery.com>
6376 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
6378 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
6381 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
6383 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
6384 introduced with 2014-10-21 trunk r216525.
6386 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
6387 Vidya Praveen <vidya.praveen@atmel.com>
6388 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
6389 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
6390 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
6392 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
6395 Updated library functions for AVRTINY arch.
6396 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
6397 Replaced occurrences of r0/r1 with tmp/zero reg macros.
6398 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
6399 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
6401 (__mulsi3_helper): Update stack, preserve callee saved regs and
6402 argument from stack. Restore callee save registers.
6403 (__mulpsi3): Likewise.
6404 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
6405 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
6406 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
6408 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
6409 (__do_copy_data): Added new definition for AVRTINY.
6410 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
6411 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
6412 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
6413 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
6414 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
6416 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
6419 Fix broken long multiplication on tiny arch.
6421 2014-10-09 Joseph Myers <joseph@codesourcery.com>
6423 * soft-fp/double.h: Update from glibc.
6424 * soft-fp/eqdf2.c: Likewise.
6425 * soft-fp/eqsf2.c: Likewise.
6426 * soft-fp/eqtf2.c: Likewise.
6427 * soft-fp/extenddftf2.c: Likewise.
6428 * soft-fp/extended.h: Likewise.
6429 * soft-fp/extendsfdf2.c: Likewise.
6430 * soft-fp/extendsftf2.c: Likewise.
6431 * soft-fp/extendxftf2.c: Likewise.
6432 * soft-fp/gedf2.c: Likewise.
6433 * soft-fp/gesf2.c: Likewise.
6434 * soft-fp/getf2.c: Likewise.
6435 * soft-fp/ledf2.c: Likewise.
6436 * soft-fp/lesf2.c: Likewise.
6437 * soft-fp/letf2.c: Likewise.
6438 * soft-fp/op-1.h: Likewise.
6439 * soft-fp/op-2.h: Likewise.
6440 * soft-fp/op-4.h: Likewise.
6441 * soft-fp/op-8.h: Likewise.
6442 * soft-fp/op-common.h: Likewise.
6443 * soft-fp/quad.h: Likewise.
6444 * soft-fp/single.h: Likewise.
6445 * soft-fp/soft-fp.h: Likewise.
6446 * soft-fp/unorddf2.c: Likewise.
6447 * soft-fp/unordsf2.c: Likewise.
6448 * soft-fp/unordtf2.c: Likewise.
6449 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
6450 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
6451 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
6452 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
6453 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
6454 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
6455 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
6456 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
6457 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
6458 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
6460 2014-10-08 Rong Xu <xur@google.com>
6462 * libgcov-util.c (read_gcda_file): Fix format.
6463 (find_match_gcov_info): Ditto.
6464 (calculate_2_entries): New.
6465 (compute_one_gcov): Ditto.
6466 (gcov_info_count_all_cold): Ditto.
6467 (gcov_info_count_all_zero): Ditto.
6468 (extract_file_basename): Ditto.
6469 (get_file_basename): Ditto.
6471 (matched_gcov_info): Ditto.
6472 (calculate_overlap): Ditto.
6473 (gcov_profile_overlap): Ditto.
6474 * libgcov-driver.c (compute_summary): Make
6475 it avavilable for external calls.
6477 2014-10-06 Rong Xu <xur@google.com>
6479 * Makefile.in: Ditto.
6480 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
6481 (gcov_sort_icall_topn_counter): Ditto.
6482 (gcov_sort_topn_counter_arrays): Ditto.
6483 (dump_one_gcov): Sort indirect_call topn counters.
6484 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
6486 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
6488 (__gcov_indirect_call_topn_profiler): New profiler function.
6489 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
6490 * libgcov.h: New decls.
6492 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
6494 * config.host: Remove support for score-*.
6496 2014-09-22 Joseph Myers <joseph@codesourcery.com>
6498 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6499 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
6500 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
6501 __LIBGCC_XF_MANT_DIG__.
6502 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
6503 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
6504 __LIBGCC_TF_MANT_DIG__.
6505 * libgcc2.c (NOTRUNC): Define in terms of
6506 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
6507 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6509 2014-09-22 Joseph Myers <joseph@codesourcery.com>
6512 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
6515 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
6517 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
6518 override USE_PT_GNU_EH_FRAME.
6519 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
6520 check USE_EH_FRAME_REGISTRY_ALWAYS against
6521 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
6522 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
6523 variable for substituted force_explicit_eh_registry.
6524 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
6525 * configure.ac (explicit-exception-frame-registration):
6527 * configure: Regenerate.
6529 2014-09-19 Olivier Hainque <hainque@adacore.com>
6531 * config.host (powerpc-wrs-vxworksmils): New configuration,
6534 2014-09-18 Joseph Myers <joseph@codesourcery.com>
6536 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
6538 2014-09-18 Joseph Myers <joseph@codesourcery.com>
6540 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
6541 bits not set bits as indicating trapping exceptions.
6543 2014-09-17 Nathan sidwell <nathan@acm.org>
6545 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
6546 (LIBGCOV_DRIVER): ... here.
6547 * libgcov-driver.c (gcov_master): New.
6548 (gcov_exit): Remove from master chain.
6549 (__gcov_init): Add to master chain if version compatible. Don't
6551 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
6552 (gcov_reset_int): Clear master chain, if compatible.
6553 (gcov_dump_int): New internal interface. Dump master chain, if
6555 (gcov_dump): Alias for gcov_dump_int.
6556 * libgcov.h (struct gcov_root): Add next and prev fields.
6557 (struct gcov_master): New struct.
6558 (__gcov_master): New.
6559 (gcov_dump_int): Declare.
6561 2014-09-17 Olivier Hainque <hainque@adacore.com>
6563 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
6564 and crtbegin.o + crtend.o to extra_parts.
6566 2014-09-12 Joseph Myers <joseph@codesourcery.com>
6568 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
6569 __LIBGCC_HAS_SF_MODE__.
6570 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6571 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6572 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6573 * config/libbid/bid_gcc_intrinsics.h
6574 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6575 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6576 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6577 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6578 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
6579 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6581 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
6584 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
6585 and R24 as needed. Make work for all devices and .text locations.
6586 (__do_global_ctors, __do_global_dtors): Use word addresses.
6587 (__tablejump__, __tablejump_elpm__): Remove functions.
6588 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
6590 (XICALL, XIJMP): New macros.
6592 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
6593 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6595 * config.host (aarch64*): Include crtfastmath.o and
6597 * config/aarch64/crtfastmath.c: New file.
6599 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
6601 * config.host: Remove picochip support.
6602 * config/picochip/adddi3.S: Remove.
6603 * config/picochip/ashlsi3.S: Remove.
6604 * config/picochip/ashlsi3.c: Remove.
6605 * config/picochip/ashrsi3.S: Remove.
6606 * config/picochip/ashrsi3.c: Remove.
6607 * config/picochip/clzsi2.S: Remove.
6608 * config/picochip/cmpsi2.S: Remove.
6609 * config/picochip/divmod15.S: Remove.
6610 * config/picochip/divmodhi4.S: Remove.
6611 * config/picochip/divmodsi4.S: Remove.
6612 * config/picochip/lib1funcs.S: Remove.
6613 * config/picochip/longjmp.S: Remove.
6614 * config/picochip/lshrsi3.S: Remove.
6615 * config/picochip/lshrsi3.c: Remove.
6616 * config/picochip/parityhi2.S: Remove.
6617 * config/picochip/popcounthi2.S: Remove.
6618 * config/picochip/setjmp.S: Remove.
6619 * config/picochip/subdi3.S: Remove.
6620 * config/picochip/t-picochip: Remove.
6621 * config/picochip/ucmpsi2.S: Remove.
6622 * config/picochip/udivmodhi4.S: Remove.
6623 * config/picochip/udivmodsi4.S: Remove.
6625 2014-09-08 Joseph Myers <joseph@codesourcery.com>
6627 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
6628 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
6629 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
6630 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
6631 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
6632 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
6633 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
6634 defined and LIBGCC2_HAS_DF_MODE is defined.
6635 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
6636 defined and LIBGCC2_HAS_XF_MODE is defined.
6637 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
6638 defined and LIBGCC2_HAS_TF_MODE is defined.
6640 2014-09-08 Joseph Myers <joseph@codesourcery.com>
6642 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
6643 and ROUND_TOWARDS_ZERO conditionals.
6645 2014-09-07 Nathan sidwell <nathan@acm.org>
6647 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
6648 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
6650 2014-09-05 Joseph Myers <joseph@codesourcery.com>
6652 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
6653 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6654 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6655 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6656 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6657 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6658 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6659 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
6660 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
6661 (DWARF_FRAME_REGISTERS): Change all uses to
6662 __LIBGCC_DWARF_FRAME_REGISTERS__.
6663 (EH_RETURN_STACKADJ_RTX): Change all uses to
6664 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6665 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
6666 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
6667 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
6668 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
6669 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
6670 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
6671 to __LIBGCC_EH_FRAME_SECTION_NAME__.
6672 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
6673 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
6674 __LIBGCC_STACK_POINTER_REGNUM__.
6675 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6676 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6677 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6678 to __LIBGCC_STACK_POINTER_REGNUM__.
6679 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6680 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6681 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6682 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6683 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6684 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6685 (STACK_POINTER_REGNUM): Change all uses to
6686 __LIBGCC_STACK_POINTER_REGNUM__.
6687 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
6688 use to __LIBGCC_STACK_POINTER_REGNUM__.
6689 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6690 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6691 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
6692 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6693 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
6694 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6695 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6696 to __LIBGCC_STACK_POINTER_REGNUM__.
6697 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
6698 Remove conditional definition.
6699 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
6700 __LIBGCC_TEXT_SECTION_ASM_OP__.
6701 (EH_FRAME_SECTION_NAME): Change all uses to
6702 __LIBGCC_EH_FRAME_SECTION_NAME__.
6703 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
6704 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
6705 (CTORS_SECTION_ASM_OP): Change all uses to
6706 __LIBGCC_CTORS_SECTION_ASM_OP__.
6707 (DTORS_SECTION_ASM_OP): Change all uses to
6708 __LIBGCC_DTORS_SECTION_ASM_OP__.
6709 (JCR_SECTION_NAME): Change all uses to
6710 __LIBGCC_JCR_SECTION_NAME__.
6711 (INIT_SECTION_ASM_OP): Change all uses to
6712 __LIBGCC_INIT_SECTION_ASM_OP__.
6713 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6714 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6715 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
6716 __LIBGCC_STACK_GROWS_DOWNWARD__.
6717 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
6718 __LIBGCC_INIT_SECTION_ASM_OP__.
6719 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6720 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6721 (EH_FRAME_SECTION_NAME): Change all uses to
6722 __LIBGCC_EH_FRAME_SECTION_NAME__.
6723 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
6724 definitions. Change all uses to
6725 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
6726 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
6727 __LIBGCC_STACK_GROWS_DOWNWARD__.
6728 (DWARF_FRAME_REGISTERS): Change all uses to
6729 __LIBGCC_DWARF_FRAME_REGISTERS__.
6730 (EH_RETURN_STACKADJ_RTX): Change all uses to
6731 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6732 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
6733 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
6734 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
6735 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
6736 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
6738 2014-09-02 Nathan sidwell <nathan@acm.org>
6740 * libgcov-interface.c (STRONG_ALIAS): New.
6741 (__gcov_flush): Call __gcov_reset_int.
6742 (__gcov_reset): Strong alias for ...
6743 (__gcov_reset_ing): ... this renamed hidden version.
6744 * libgcov.h (__gcov_reset_int): New declaration.
6746 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
6748 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
6750 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
6751 (__dso_handle): Define on Cygwin.
6752 * config/i386/t-cygming (crtbeginS.o): New rule.
6753 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
6755 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
6758 2014-08-13 Steve Ellcey <sellcey@mips.com>
6760 * crtstuff.c: Undef caddr_t.
6762 2014-08-12 Steve Ellcey <sellcey@mips.com>
6764 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
6766 2014-08-07 Nathan Sidwell <nathan@acm.org>
6768 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
6769 (LIBGCOV_DRIVER): ... to here.
6770 * libgcov.h (gcov_do_dump): New #define.
6771 (struct gcov_root): New.
6772 (__gcov_root): New declaration.
6773 (__gcov_dump_one): Declare.
6774 * libgcov-driver.c (gcov_list, gcov_dump_complete,
6775 run_accounted): Delete.
6776 (gcov_compute_histogram): Add LIST argument, adjust.
6777 (compute_summary): Adjust gcov_compute_histogram call.
6778 (gcov_do_dump): Not hidden, static in libgcov.
6779 (gcov_clear): Move to interface.c.
6780 (__gcov_dump_one): New, broken out of ...
6781 (gcov_exit): ... here. Make static.
6783 (__gcov_init): Adjust.
6784 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
6786 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
6787 (gcov_clear): Moved from driver.c. Add LIST argument.
6788 (__gcov_reset): Adjust for changed interfaces.
6789 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
6791 2014-08-04 Rohit <rohitarulraj@freescale.com>
6794 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
6795 based on change in SPE high register numbers and 3 HTM registers.
6797 2014-08-01 Nathan Sidwell <nathan@acm.org>
6799 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
6800 LIBGCOV_INTERFACE): Reformat.
6801 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
6803 * libgcov-interface.c: Reformat some comments.
6804 (__gcov_flush_mx): Add declaration. Tidy up definition.
6806 2014-07-31 Alan Modra <amodra@gmail.com>
6807 Peter Bergner <bergner@vnet.ibm.com>
6809 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
6810 (pack_ldouble): New function.
6811 (__gcc_qadd): Use it.
6812 (__gcc_qmul): Likewise.
6813 (__gcc_qdiv): Likewise.
6814 (__gcc_qneg): Likewise.
6815 (__gcc_stoq): Likewise.
6816 (__gcc_dtoq): Likewise.
6818 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
6820 * config/s390/tpf-unwind.h: Include <stdbool.h>.
6821 (__tpf_eh_return): Add original return address as second parameter.
6822 Handle cases where unwinder routines were called directly, instead
6823 of from within the C++ library.
6825 2014-07-29 Nathan Sidwell <nathan@acm.org>
6827 * libgcov.h: Move renaming of entry points to lib gcov specific
6829 (gcov_do_dump): New rename.
6830 (gcov_rewrite): Remove inline, make HIDDEN.
6831 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
6832 (gcov_exit_compute_summary): Rename to ...
6833 (compute_summary): ... here. Add LIST argument.
6834 (gcov_exit_merge_gcda): Rename to ...
6835 (merge_one_data): ... here.
6836 (gcov_exit_write_gcda): Rename to ...
6837 (write_one_data): ... here.
6838 (gcov_exit_merge_summary): Rename to ...
6839 (merge_summary): Add RUN_COUNTED argument.
6840 (gcov_exit_dump_gcov): Rename to ...
6841 (dump_one_gcov): Add RUN_COUNTED argument.
6842 (gcov_do_dump): New function, broken out of ...
6843 (gcov_exit): ... here. Call it.
6845 2014-07-27 Anthony Green <green@moxielogic.com>
6847 * config.host: Add moxiebox configuration suppport.
6849 2014-07-27 Nathan Sidwell <nathan@acm.org>
6851 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
6852 (struct gcov_filename): ... here. Include buffer and max length
6854 (gcov_max_filename): Remove.
6855 (gi_filename): Remove.
6856 (gcov_exit_compute_summary): Compute max filename here.
6857 (gcov_exit_merge_gcda): Add filename parm, adjust.
6858 (gcov_exit_merge_summary): Likewise.
6859 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
6860 (gcov_exit): Likewise.
6861 (__gcov_init): Don't calculate max length here.
6862 * libgcov_util.c (max_filename_len): Remove.
6863 (read_gcda_file): Don't calculate max length here.
6864 (gcov_read_profile_dir): Don't propagate here.
6865 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
6866 struct gcov_filename changes.
6867 (gcov_exit_open_gcda_file): Likewise.
6869 2014-07-25 Nathan Sidwell <nathan@acm.org>
6871 * libgcov-driver.c (set_gcov_dump_complete,
6872 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
6873 functions polluting user's namespace.
6874 (gcov_exit): Set variable directly.
6875 (gcov_clear): Reset variable directly.
6876 * libgcov-interface.c (get_gcov_dymp_complete,
6877 reset_gov_dump_complete): Remove declarations.
6878 (__gcov_reset, __gcov_dump): Don't call them.
6880 2014-07-24 DJ Delorie <dj@redhat.com>
6882 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
6883 (__gcc_deregister_frame): Move logic to detect deregister function
6885 (__gcc_register_frame): here, so it's consistent with the register
6888 2014-07-23 Nathan Sidwell <nathan@acm.org>
6890 * libgcov-driver.c (set_gcov_list): Remove.
6891 (gcov_list): Make non-static in GCOV_TOOL.
6892 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
6894 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
6896 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
6897 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
6898 Don't use SYNC_LOCK_RELEASE for int type.
6900 2014-07-14 Richard Biener <rguenther@suse.de>
6902 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
6904 2014-07-11 Rong Xu <xur@google.com>
6906 * libgcov-util.c (gcov_max_filename): Fix declartion.
6908 2014-07-10 Rong Xu <xur@google.com>
6910 Add gcov-tool: an offline gcda profile processing tool
6912 * libgcov-driver.c (gcov_max_filename): Make available
6914 * libgcov-merge.c (__gcov_merge_add): Replace
6915 gcov_read_counter() with a Macro.
6916 (__gcov_merge_ior): Ditto.
6917 (__gcov_merge_time_profile): Ditto.
6918 (__gcov_merge_single): Ditto.
6919 (__gcov_merge_delta): Ditto.
6920 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
6921 in the utility functions.
6922 (set_fn_ctrs): Utility function for reading gcda files to in-memory
6923 gcov_list object link lists.
6924 (tag_function): Ditto.
6925 (tag_blocks): Ditto.
6928 (tag_counters): Ditto.
6929 (tag_summary): Ditto.
6930 (read_gcda_finalize): Ditto.
6931 (read_gcda_file): Ditto.
6932 (ftw_read_file): Ditto.
6933 (read_profile_dir_init): Ditto.
6934 (gcov_read_profile_dir): Ditto.
6935 (gcov_read_counter_mem): Ditto.
6936 (gcov_get_merge_weight): Ditto.
6937 (merge_wrapper): A wrapper function that calls merging handler.
6938 (gcov_merge): Merge two gcov_info objects with weights.
6939 (find_match_gcov_info): Find the matched gcov_info in the list.
6940 (gcov_profile_merge): Merge two gcov_info object lists.
6941 (__gcov_add_counter_op): Process edge profile counter values.
6942 (__gcov_ior_counter_op): Process IOR profile counter values.
6943 (__gcov_delta_counter_op): Process delta profile counter values.
6944 (__gcov_single_counter_op): Process single profile counter values.
6945 (fp_scale): Callback function for float-point scaling.
6946 (int_scale): Callback function for integer fraction scaling.
6947 (gcov_profile_scale): Scaling profile counters.
6948 (gcov_profile_normalize): Normalize profile counters.
6949 * libgcov.h: Add headers and functions for gcov-tool use.
6950 (gcov_get_counter): New.
6951 (gcov_get_counter_target): Ditto.
6952 (struct gcov_info): Make the functions field mutable in gcov-tool
6955 2014-06-23 Kai Tietz <ktietz@redhat.com>
6958 * unwind-seh.c (_Unwind_GetGR): Check for proper
6960 (_Unwind_SetGR): Likewise.
6962 2014-05-22 Nick Clifton <nickc@redhat.com>
6964 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
6967 2014-05-22 Teresa Johnson <tejohnson@google.com>
6969 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
6972 2014-05-20 John Marino <gnugcc@marino.st>
6974 * config.host (*-*-dragonfly*): New target.
6975 * crtstuff.c: Make dl_iterate_support generic on *bsd.
6976 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
6977 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
6978 * config/i386/dragonfly-unwind.h: New.
6980 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6983 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
6984 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
6986 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
6988 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
6991 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
6993 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
6995 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6998 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
7001 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
7003 Work around for current cygwin32 build problems.
7004 * config/i386/cygming-crtbegin.c (__register_frame_info,
7005 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
7006 functions only for 64-bit systems.
7008 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7010 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
7011 (sigill_caught, sigill_hdlr): Remove.
7013 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7015 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
7017 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7018 Solaris 9 single-threaded support.
7019 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7020 Solaris 9 single-threaded support. Add call_user_handler code
7022 (sparc_is_sighandler): Likewise.
7024 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7026 * config.host: Append t-floattodi to tmake_file depending on
7029 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
7031 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
7033 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
7036 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
7037 variable to avoid "array subscript is above array bounds" warnings.
7038 Use __builtin_expect when checking *jcr_list for NULL.
7040 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7043 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
7044 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
7045 vtv_*.o to extra_parts if enable_vtable_verify.
7047 2014-03-06 Nick Clifton <nickc@redhat.com>
7049 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
7050 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
7052 2014-02-28 Joey Ye <joey.ye@arm.com>
7055 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
7056 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
7059 2014-02-24 Walter Lee <walt@tilera.com>
7061 * config.host: Support "tilegx*" and "tilepro*" triplets.
7062 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
7063 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
7065 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
7066 Chung-Lin Tang <cltang@codesourcery.com>
7068 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
7069 * config/nios2/crti.S: Remove .file directive.
7070 * config/nios2/crtn.S: Likewise.
7072 2014-02-18 Kai Tietz <ktietz@redhat.com>
7073 Jonathan Schleifer <js@webkeks.org>
7076 * unwind-seh.c (_GCC_specific_handler): Pass proper
7077 value to unwind-handler.
7079 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7081 * soft-fp/adddf3.c: Update from glibc.
7082 * soft-fp/addsf3.c: Likewise.
7083 * soft-fp/addtf3.c: Likewise.
7084 * soft-fp/divdf3.c: Likewise.
7085 * soft-fp/divsf3.c: Likewise.
7086 * soft-fp/divtf3.c: Likewise.
7087 * soft-fp/double.h: Likewise.
7088 * soft-fp/eqdf2.c: Likewise.
7089 * soft-fp/eqsf2.c: Likewise.
7090 * soft-fp/eqtf2.c: Likewise.
7091 * soft-fp/extenddftf2.c: Likewise.
7092 * soft-fp/extended.h: Likewise.
7093 * soft-fp/extendsfdf2.c: Likewise.
7094 * soft-fp/extendsftf2.c: Likewise.
7095 * soft-fp/extendxftf2.c: Likewise.
7096 * soft-fp/fixdfdi.c: Likewise.
7097 * soft-fp/fixdfsi.c: Likewise.
7098 * soft-fp/fixdfti.c: Likewise.
7099 * soft-fp/fixsfdi.c: Likewise.
7100 * soft-fp/fixsfsi.c: Likewise.
7101 * soft-fp/fixsfti.c: Likewise.
7102 * soft-fp/fixtfdi.c: Likewise.
7103 * soft-fp/fixtfsi.c: Likewise.
7104 * soft-fp/fixtfti.c: Likewise.
7105 * soft-fp/fixunsdfdi.c: Likewise.
7106 * soft-fp/fixunsdfsi.c: Likewise.
7107 * soft-fp/fixunsdfti.c: Likewise.
7108 * soft-fp/fixunssfdi.c: Likewise.
7109 * soft-fp/fixunssfsi.c: Likewise.
7110 * soft-fp/fixunssfti.c: Likewise.
7111 * soft-fp/fixunstfdi.c: Likewise.
7112 * soft-fp/fixunstfsi.c: Likewise.
7113 * soft-fp/fixunstfti.c: Likewise.
7114 * soft-fp/floatdidf.c: Likewise.
7115 * soft-fp/floatdisf.c: Likewise.
7116 * soft-fp/floatditf.c: Likewise.
7117 * soft-fp/floatsidf.c: Likewise.
7118 * soft-fp/floatsisf.c: Likewise.
7119 * soft-fp/floatsitf.c: Likewise.
7120 * soft-fp/floattidf.c: Likewise.
7121 * soft-fp/floattisf.c: Likewise.
7122 * soft-fp/floattitf.c: Likewise.
7123 * soft-fp/floatundidf.c: Likewise.
7124 * soft-fp/floatundisf.c: Likewise.
7125 * soft-fp/floatunditf.c: Likewise.
7126 * soft-fp/floatunsidf.c: Likewise.
7127 * soft-fp/floatunsisf.c: Likewise.
7128 * soft-fp/floatunsitf.c: Likewise.
7129 * soft-fp/floatuntidf.c: Likewise.
7130 * soft-fp/floatuntisf.c: Likewise.
7131 * soft-fp/floatuntitf.c: Likewise.
7132 * soft-fp/gedf2.c: Likewise.
7133 * soft-fp/gesf2.c: Likewise.
7134 * soft-fp/getf2.c: Likewise.
7135 * soft-fp/ledf2.c: Likewise.
7136 * soft-fp/lesf2.c: Likewise.
7137 * soft-fp/letf2.c: Likewise.
7138 * soft-fp/muldf3.c: Likewise.
7139 * soft-fp/mulsf3.c: Likewise.
7140 * soft-fp/multf3.c: Likewise.
7141 * soft-fp/negdf2.c: Likewise.
7142 * soft-fp/negsf2.c: Likewise.
7143 * soft-fp/negtf2.c: Likewise.
7144 * soft-fp/op-1.h: Likewise.
7145 * soft-fp/op-2.h: Likewise.
7146 * soft-fp/op-4.h: Likewise.
7147 * soft-fp/op-8.h: Likewise.
7148 * soft-fp/op-common.h: Likewise.
7149 * soft-fp/quad.h: Likewise.
7150 * soft-fp/single.h: Likewise.
7151 * soft-fp/soft-fp.h: Likewise.
7152 * soft-fp/subdf3.c: Likewise.
7153 * soft-fp/subsf3.c: Likewise.
7154 * soft-fp/subtf3.c: Likewise.
7155 * soft-fp/truncdfsf2.c: Likewise.
7156 * soft-fp/trunctfdf2.c: Likewise.
7157 * soft-fp/trunctfsf2.c: Likewise.
7158 * soft-fp/trunctfxf2.c: Likewise.
7159 * soft-fp/unorddf2.c: Likewise.
7160 * soft-fp/unordsf2.c: Likewise.
7161 * soft-fp/unordtf2.c: Likewise.
7162 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
7164 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7166 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7168 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7170 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7172 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7174 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7176 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7178 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7180 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7182 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7184 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7186 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7188 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
7190 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
7192 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7195 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7197 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
7198 cannot be represented.
7199 * config/s390/32/_fixsfdi.c: Likewise.
7200 * config/s390/32/_fixtfdi.c: Likewise.
7201 * config/s390/32/_fixunsdfdi.c: Likewise.
7202 * config/s390/32/_fixunssfdi.c: Likewise.
7203 * config/s390/32/_fixunstfdi.c: Likewise.
7205 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
7207 * configure.ac (libgcc_cv_mips_hard_float): New.
7208 * configure: Regenerate.
7209 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
7210 t-softfp-sfdf for hard-float targets.
7211 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
7212 (softfp_float_modes, softfp_int_modes, softfp_extensions)
7213 (softfp_truncations, softfp_exclude_libgcc2): New.
7214 * config/t-hardfp: New file.
7215 * config/t-hardfp-sfdf: Likewise.
7216 * config/hardfp.c: Likewise.
7218 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7220 * config.host: Include t-floattodi also for s390x.
7221 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
7222 * config/s390/32/_fixsfdi.c: Likewise.
7223 * config/s390/32/_fixtfdi.c: Likewise.
7224 * config/s390/32/_fixunsdfdi.c: Likewise.
7225 * config/s390/32/_fixunssfdi.c: Likewise.
7226 * config/s390/32/_fixunstfdi.c: Likewise.
7228 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7231 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
7232 (install-libgcc-unwind-map-forbuild): New target.
7233 (all): Depend on install-libgcc-unwind-map-forbuild.
7234 (install-libgcc-unwind-map): New target.
7235 (install): Depend on install-libgcc-unwind-map.
7237 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
7239 * config/nios2/crti.S (_init): Initialize GOT pointer from
7240 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
7242 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
7244 * configure.ac: Check __mips64 when setting host_address.
7245 * configure: Regenerate.
7246 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
7247 mips/t-mips64 and t-softfp.
7248 (mips*-*-linux*): Don't add mips/t-tpbit.
7249 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
7250 (DPBIT, DPBIT_CFLAGS): Delete.
7251 * config/mips/sfp-machine.h: New file.
7252 * config/mips/t-mips64: Likewise.
7253 * config/mips/t-softfp-tf: Likewise.
7254 * config/mips/t-tpbit: Delete.
7256 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
7258 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
7261 2014-01-25 Walter Lee <walt@tilera.com>
7263 * config/tilepro/atomic.c: Include tconfig.h. Don't include
7264 config.h or system.h.
7267 2014-01-25 Walter Lee <walt@tilera.com>
7269 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
7270 (post_atomic_barrier): Ditto.
7271 (__fetch_and_do): New macro.
7272 (__atomic_fetch_and_do): Use __fetch_and_do.
7273 (__sync_fetch_and_do): New macro.
7274 (__sync_fetch_and_add_4): New function.
7275 (__sync_fetch_and_sub_4): New function.
7276 (__sync_fetch_and_or_4): New function.
7277 (__sync_fetch_and_and_4): New function.
7278 (__sync_fetch_and_xor_4): New function.
7279 (__sync_fetch_and_nand_4): New function.
7280 (__sync_fetch_and_add_8): New function.
7281 (__sync_fetch_and_sub_8): New function.
7282 (__sync_fetch_and_or_8): New function.
7283 (__sync_fetch_and_and_8): New function.
7284 (__sync_fetch_and_xor_8): New function.
7285 (__sync_fetch_and_nand_8): New function.
7286 (__do_and_fetch): New macro.
7287 (__atomic_do_and_fetch): Use __do_and_fetch.
7288 (__sync_do_and_fetch): New macro.
7289 (__sync_add_and_fetch_4): New function.
7290 (__sync_sub_and_fetch_4): New function.
7291 (__sync_or_and_fetch_4): New function.
7292 (__sync_and_and_fetch_4): New function.
7293 (__sync_xor_and_fetch_4): New function.
7294 (__sync_nand_and_fetch_4): New function.
7295 (__sync_add_and_fetch_8): New function.
7296 (__sync_sub_and_fetch_8): New function.
7297 (__sync_or_and_fetch_8): New function.
7298 (__sync_and_and_fetch_8): New function.
7299 (__sync_xor_and_fetch_8): New function.
7300 (__sync_nand_and_fetch_8): New function.
7301 (__sync_exchange_methods): New macro.
7302 (__sync_val_compare_and_swap_4): New function.
7303 (__sync_bool_compare_and_swap_4): New function.
7304 (__sync_lock_test_and_test_4): New function.
7305 (__sync_val_compare_and_swap_8): New function.
7306 (__sync_bool_compare_and_swap_8): New function.
7307 (__sync_lock_test_and_test_8): New function.
7308 (__subword_cmpxchg_body): New macro.
7309 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
7310 (__atomic_compare_exchange_2): Ditto.
7311 (__sync_subword_cmpxchg): New macro.
7312 (__sync_val_compare_and_swap_1): New function.
7313 (__sync_bool_compare_and_swap_1): New function.
7314 (__sync_val_compare_and_swap_2): New function.
7315 (__sync_bool_compare_and_swap_2): New function.
7316 (__atomic_subword): Rename to ...
7317 (__subword): ... New name.
7318 (__atomic_subword_fetch): Use __subword.
7319 (__sync_subword_fetch): New macro.
7320 (__sync_fetch_and_add_1): New function.
7321 (__sync_fetch_and_sub_1): New function.
7322 (__sync_fetch_and_or_1): New function.
7323 (__sync_fetch_and_and_1): New function.
7324 (__sync_fetch_and_xor_1): New function.
7325 (__sync_fetch_and_nand_1): New function.
7326 (__sync_fetch_and_add_2): New function.
7327 (__sync_fetch_and_sub_2): New function.
7328 (__sync_fetch_and_or_2): New function.
7329 (__sync_fetch_and_and_2): New function.
7330 (__sync_fetch_and_xor_2): New function.
7331 (__sync_fetch_and_nand_2): New function.
7332 (__sync_add_and_fetch_1): New function.
7333 (__sync_sub_and_fetch_1): New function.
7334 (__sync_or_and_fetch_1): New function.
7335 (__sync_and_and_fetch_1): New function.
7336 (__sync_xor_and_fetch_1): New function.
7337 (__sync_nand_and_fetch_1): New function.
7338 (__sync_add_and_fetch_2): New function.
7339 (__sync_sub_and_fetch_2): New function.
7340 (__sync_or_and_fetch_2): New function.
7341 (__sync_and_and_fetch_2): New function.
7342 (__sync_xor_and_fetch_2): New function.
7343 (__sync_nand_and_fetch_2): New function.
7344 (__atomic_subword_lock): Use __subword.
7345 (__sync_subword_lock): New macro.
7346 (__sync_lock_test_and_set_1): New function.
7347 (__sync_lock_test_and_set_2): New function.
7349 2014-01-25 Walter Lee <walt@tilera.com>
7351 * config/tilepro/atomic.c (BIT_OFFSET): Define.
7352 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
7353 (__atomic_subword): Ditto.
7355 2014-01-25 Walter Lee <walt@tilera.com>
7357 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
7358 a prefix op argument.
7359 (__atomic_nand_fetch_4): Add prefix op.
7360 (__atomic_nand_fetch_8): Ditto.
7362 2014-01-21 Baruch Siach <barch@tkos.co.il>
7364 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
7366 2014-01-09 Rong Xu <xur@google.com>
7368 * libgcov-driver.c (this_prg): make it local to save
7370 (gcov_exit_compute_summary): Ditto.
7371 (gcov_exit_merge_gcda): Ditto.
7372 (gcov_exit_merge_summary): Ditto.
7373 (gcov_exit_dump_gcov): Ditto.
7375 2014-01-08 Rong Xu <xur@google.com>
7377 * libgcov-driver.c: Use libgcov.h.
7378 (buffer_fn_data): Use xmalloc instead of malloc.
7379 (gcov_exit_merge_gcda): Ditto.
7380 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
7381 * libgcov.h: New common header files for libgcov-*.h.
7382 * libgcov-interface.c: Use libgcov.h
7383 * libgcov-merge.c: Ditto.
7384 * libgcov-profiler.c: Ditto.
7385 * Makefile.in: Add dependence to libgcov.h
7387 2014-01-02 Joseph Myers <joseph@codesourcery.com>
7389 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
7390 case of small numerator and finite nonzero result.
7392 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7394 Update copyright years
7396 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7398 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
7399 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
7400 config/arc/dp-hack.h, config/arc/fp-hack.h,
7401 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
7402 config/arc/ieee-754/arc600-dsp/divdf3.S,
7403 config/arc/ieee-754/arc600-dsp/divsf3.S,
7404 config/arc/ieee-754/arc600-dsp/muldf3.S,
7405 config/arc/ieee-754/arc600-dsp/mulsf3.S,
7406 config/arc/ieee-754/arc600-mul64/divdf3.S,
7407 config/arc/ieee-754/arc600-mul64/divsf3.S,
7408 config/arc/ieee-754/arc600-mul64/muldf3.S,
7409 config/arc/ieee-754/arc600-mul64/mulsf3.S,
7410 config/arc/ieee-754/arc600/divsf3.S,
7411 config/arc/ieee-754/arc600/mulsf3.S,
7412 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
7413 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
7414 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
7415 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
7416 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
7417 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
7418 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
7419 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
7420 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
7421 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
7422 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
7423 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
7424 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
7425 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
7426 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
7427 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
7428 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
7429 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
7430 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
7431 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
7432 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
7433 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
7434 vtv_start_preinit.c: Use the standard form for the copyright notice.
7436 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
7437 Chung-Lin Tang <cltang@codesourcery.com>
7438 Based on patches from Altera Corporation
7440 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
7441 * config/nios2/lib2-nios2.h: New file.
7442 * config/nios2/lib2-divmod-hi.c: New file.
7443 * config/nios2/linux-unwind.h: New file.
7444 * config/nios2/lib2-divmod.c: New file.
7445 * config/nios2/linux-atomic.c: New file.
7446 * config/nios2/t-nios2: New file.
7447 * config/nios2/crti.asm: New file.
7448 * config/nios2/t-linux: New file.
7449 * config/nios2/lib2-divtable.c: New file.
7450 * config/nios2/lib2-mul.c: New file.
7451 * config/nios2/tramp.c: New file.
7452 * config/nios2/crtn.asm: New file.
7454 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
7456 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
7457 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
7458 from cpuid.h to check vendor signatures.
7460 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
7462 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
7463 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
7464 (get_amd_cpu): Likewise.
7466 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
7468 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
7471 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
7472 H.J. Lu <hongjiu.lu@intel.com>
7475 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
7477 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
7478 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
7479 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
7480 FEATURE_XOP and FEATURE_FMA.
7481 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
7483 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
7484 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
7485 FEATURE_FMA4 and FEATURE_XOP.
7487 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
7489 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
7490 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
7491 (get_intel_cpu): Updated.
7493 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
7495 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
7497 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
7499 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7500 instructions when __SSE_MATH__ is defined.
7502 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
7504 * config.host (microblaze-*-rtems*): New.
7506 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
7508 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
7509 architectures that do not have hardware divide instruction.
7510 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
7512 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
7514 * longlong.h: Delete (moved to include/).
7516 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7518 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
7519 of normal number and qNaN to not raise an inexact exception.
7521 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
7523 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
7525 2013-11-28 Matthew Leach <matthew.leach@arm.com>
7527 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
7528 for correct opcodes on BE.
7530 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
7532 * soft-fp/op-4.h: Update from glibc.
7534 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
7536 * libgcc2.c (__udivmoddi4): Define new implementation when
7537 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
7538 divide instructions.
7540 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
7542 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
7544 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7546 * config/t-softfp (soft-fp-objects-base): New variable.
7547 (soft-fp-objects): Use it.
7549 2013-11-23 David Edelson <dje.gcc@gmail.com>
7550 Andrew Dixie <andrewd@gentrack.com>
7553 * config/rs6000/aixinitfini.c: New file.
7554 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
7555 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
7558 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
7560 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
7562 2013-11-18 Jan Hubicka <jh@suse.cz>
7564 * libgcov-driver.c (run_accounted): Make global level static.
7565 (gcov_exit_merge_summary): Silence warning; do not clear
7567 (gcov_exit): Clear it here.
7569 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
7572 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
7573 (all_prg, crc32): Remove static vars.
7574 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
7576 (gcov_exit_merge_gcda): Add crc32 parameter.
7577 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
7578 do not account run if it was already accounted.
7579 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
7580 (gcov_exit): Initialize all_prg; update.
7582 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
7584 * configure: Regenerate.
7586 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7587 Alan Modra <amodra@gmail.com>
7589 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
7590 (frob_update_context): Use it.
7592 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7593 Alan Modra <amodra@gmail.com>
7595 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
7596 (trampoline_initial): Provide ELFv2 variant.
7597 (__trampoline_setup): Likewise.
7599 * config/rs6000/linux-unwind.h (frob_update_context): Do not
7600 check for AIX indirect function call sequence if _CALL_ELF == 2.
7602 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7603 Alan Modra <amodra@gmail.com>
7605 * config/rs6000/linux-unwind.h (get_regs): Do not support
7606 old kernel versions if _CALL_ELF == 2.
7607 (frob_update_context): Do not support PLT stub variants only
7608 generated by old linkers if _CALL_ELF == 2.
7610 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7611 Alan Modra <amodra@gmail.com>
7613 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
7614 location of CR save area for 64-bit little-endian systems.
7616 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
7618 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
7620 * config/arm/t-vxworks: Delete.
7622 2013-11-10 Kai Tietz <ktietz@redhat.com>
7624 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
7625 Increment load-count on use of LIBGCC_SONAME DLL.
7626 (hmod_libgcc): New static variable to hold handle of
7628 (__gcc_deregister_frame): Decrement load-count of
7631 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
7633 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
7635 * configure: Regenerate
7637 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
7639 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
7640 FP_EX_DENORM. Store result to volatile location after SSE division
7641 to close interrupt window. Remove unneeded fwait after x87
7642 division since interrupt window will be closed by emitted fstp.
7643 Rewrite FP_EX_INEXACT handling.
7645 2013-11-06 Joseph Myers <joseph@codesourcery.com>
7647 * soft-fp/README: Update.
7648 * soft-fp/adddf3.c: Update from glibc.
7649 * soft-fp/addsf3.c: Likewise.
7650 * soft-fp/addtf3.c: Likewise.
7651 * soft-fp/divdf3.c: Likewise.
7652 * soft-fp/divsf3.c: Likewise.
7653 * soft-fp/divtf3.c: Likewise.
7654 * soft-fp/double.h: Likewise.
7655 * soft-fp/eqdf2.c: Likewise.
7656 * soft-fp/eqsf2.c: Likewise.
7657 * soft-fp/eqtf2.c: Likewise.
7658 * soft-fp/extenddftf2.c: Likewise.
7659 * soft-fp/extended.h: Likewise.
7660 * soft-fp/extendsfdf2.c: Likewise.
7661 * soft-fp/extendsftf2.c: Likewise.
7662 * soft-fp/extendxftf2.c: Likewise.
7663 * soft-fp/fixdfdi.c: Likewise.
7664 * soft-fp/fixdfsi.c: Likewise.
7665 * soft-fp/fixdfti.c: Likewise.
7666 * soft-fp/fixsfdi.c: Likewise.
7667 * soft-fp/fixsfsi.c: Likewise.
7668 * soft-fp/fixsfti.c: Likewise.
7669 * soft-fp/fixtfdi.c: Likewise.
7670 * soft-fp/fixtfsi.c: Likewise.
7671 * soft-fp/fixtfti.c: Likewise.
7672 * soft-fp/fixunsdfdi.c: Likewise.
7673 * soft-fp/fixunsdfsi.c: Likewise.
7674 * soft-fp/fixunsdfti.c: Likewise.
7675 * soft-fp/fixunssfdi.c: Likewise.
7676 * soft-fp/fixunssfsi.c: Likewise.
7677 * soft-fp/fixunssfti.c: Likewise.
7678 * soft-fp/fixunstfdi.c: Likewise.
7679 * soft-fp/fixunstfsi.c: Likewise.
7680 * soft-fp/fixunstfti.c: Likewise.
7681 * soft-fp/floatdidf.c: Likewise.
7682 * soft-fp/floatdisf.c: Likewise.
7683 * soft-fp/floatditf.c: Likewise.
7684 * soft-fp/floatsidf.c: Likewise.
7685 * soft-fp/floatsisf.c: Likewise.
7686 * soft-fp/floatsitf.c: Likewise.
7687 * soft-fp/floattidf.c: Likewise.
7688 * soft-fp/floattisf.c: Likewise.
7689 * soft-fp/floattitf.c: Likewise.
7690 * soft-fp/floatundidf.c: Likewise.
7691 * soft-fp/floatundisf.c: Likewise.
7692 * soft-fp/floatunditf.c: Likewise.
7693 * soft-fp/floatunsidf.c: Likewise.
7694 * soft-fp/floatunsisf.c: Likewise.
7695 * soft-fp/floatunsitf.c: Likewise.
7696 * soft-fp/floatuntidf.c: Likewise.
7697 * soft-fp/floatuntisf.c: Likewise.
7698 * soft-fp/floatuntitf.c: Likewise.
7699 * soft-fp/gedf2.c: Likewise.
7700 * soft-fp/gesf2.c: Likewise.
7701 * soft-fp/getf2.c: Likewise.
7702 * soft-fp/ledf2.c: Likewise.
7703 * soft-fp/lesf2.c: Likewise.
7704 * soft-fp/letf2.c: Likewise.
7705 * soft-fp/muldf3.c: Likewise.
7706 * soft-fp/mulsf3.c: Likewise.
7707 * soft-fp/multf3.c: Likewise.
7708 * soft-fp/negdf2.c: Likewise.
7709 * soft-fp/negsf2.c: Likewise.
7710 * soft-fp/negtf2.c: Likewise.
7711 * soft-fp/op-1.h: Likewise.
7712 * soft-fp/op-2.h: Likewise.
7713 * soft-fp/op-4.h: Likewise.
7714 * soft-fp/op-8.h: Likewise.
7715 * soft-fp/op-common.h: Likewise.
7716 * soft-fp/quad.h: Likewise.
7717 * soft-fp/single.h: Likewise.
7718 * soft-fp/soft-fp.h: Likewise.
7719 * soft-fp/subdf3.c: Likewise.
7720 * soft-fp/subsf3.c: Likewise.
7721 * soft-fp/subtf3.c: Likewise.
7722 * soft-fp/truncdfsf2.c: Likewise.
7723 * soft-fp/trunctfdf2.c: Likewise.
7724 * soft-fp/trunctfsf2.c: Likewise.
7725 * soft-fp/trunctfxf2.c: Likewise.
7726 * soft-fp/unorddf2.c: Likewise.
7727 * soft-fp/unordsf2.c: Likewise.
7728 * soft-fp/unordtf2.c: Likewise.
7730 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
7732 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
7733 (_FP_MUL_MEAT_D): Ditto.
7734 (_FP_DIV_MEAT_S): Ditto.
7735 (_FP_DIV_MEAT_D): Ditto.
7736 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
7737 t-softfp-sfdf and t-softfp to tmake_file.
7739 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
7741 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
7742 * config/i386/crtprec.c: Ditto.
7744 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
7745 Shiva Chen <shiva0217@gmail.com>
7747 * config.host (nds32*-elf*): Add nds32 target.
7748 * config/nds32 : New directory and files.
7750 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
7752 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
7753 * config.host (cpu_type) <Setting default>: Add entry for
7755 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
7756 <crisv32-*-linux*>: Adjust.
7757 * longlong.h: Wrap the whole CRIS section in a single
7758 defined(__CRIS__) conditional. Add comment about add_ssaaaa
7760 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
7762 [__CRIS__] (__umulsidi3): Define.
7763 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
7764 * config/cris/sfp-machine.h: New file.
7765 * config/cris/umulsidi3.S: New file.
7766 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
7767 * config/cris/arit.c (SIGNMULT): New macro.
7768 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
7769 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
7770 saving 3 out of originally 33 cycles from the fastest
7771 path, 3 out of 54 from the medium path and one from the longest
7772 path. Improve comments.
7774 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
7776 * sync.c: Remove static aliases and define each function directly
7777 under its real name.
7779 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
7781 * config.host (hppa*64*-*-linux*): Define extra_parts.
7782 (hppa*-*-linux*): Likewise.
7784 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
7786 * config/arc/crtgend.S: Add 2013 to Copyright years.
7787 * config/arc/gmon/atomic.h: Likewise.
7788 * config/arc/gmon/auxreg.h: Likewise.
7789 * config/arc/gmon/sys/gmon_out.h: Likewise.
7790 * config/arc/gmon/sys/gmon.h: Likewise.
7791 * config/arc/gmon/prof-freq.c: Likewise.
7792 * config/arc/gmon/mcount.c: Likewise.
7793 * config/arc/gmon/prof-freq-stub.S: Likewise.
7794 * config/arc/gmon/gmon.c: Likewise.
7795 * config/arc/gmon/machine-gmon.h: Likewise.
7796 * config/arc/gmon/profil.S: Likewise.
7797 * config/arc/gmon/dcache_linesz.S: Likewise.
7798 * config/arc/crtg.S: Likewise.
7799 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
7800 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
7801 * config/arc/ieee-754/adddf3.S: Likewise.
7802 * config/arc/ieee-754/truncdfsf2.S: Likewise.
7803 * config/arc/ieee-754/fixsfsi.S: Likewise.
7804 * config/arc/ieee-754/gtsf2.S: Likewise.
7805 * config/arc/ieee-754/floatsisf.S: Likewise.
7806 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
7807 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
7808 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
7809 * config/arc/ieee-754/fixdfsi.S: Likewise.
7810 * config/arc/ieee-754/addsf3.S: Likewise.
7811 * config/arc/ieee-754/gesf2.S: Likewise.
7812 * config/arc/ieee-754/floatsidf.S: Likewise.
7813 * config/arc/ieee-754/extendsfdf2.S: Likewise.
7814 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
7815 * config/arc/ieee-754/gtdf2.S: Likewise.
7816 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
7817 * config/arc/ieee-754/uneqdf2.S: Likewise.
7818 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
7819 * config/arc/ieee-754/uneqsf2.S: Likewise.
7820 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
7821 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
7822 * config/arc/ieee-754/eqdf2.S: Likewise.
7823 * config/arc/ieee-754/ordsf2.S: Likewise.
7824 * config/arc/ieee-754/divsf3.S: Likewise.
7825 * config/arc/ieee-754/divdf3.S: Likewise.
7826 * config/arc/ieee-754/floatunsidf.S: Likewise.
7827 * config/arc/ieee-754/orddf2.S: Likewise.
7828 * config/arc/ieee-754/eqsf2.S: Likewise.
7829 * config/arc/ieee-754/gedf2.S: Likewise.
7830 * config/arc/crtn.S: Likewise.
7831 * config/arc/crti.S: Likewise.
7832 * config/arc/t-arc700-uClibc: Likewise.
7833 * config/arc/asm.h: Likewise.
7834 * config/arc/libgcc-excl.ver: Likewise.
7835 * config/arc/t-arc-newlib: Likewise.
7836 * config/arc/divtab-arc700.c: Likewise.
7837 * config/arc/initfini.c: Likewise.
7838 * config/arc/fp-hack.h: Likewise.
7840 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7841 Diego Novillo <dnovillo@google.com>
7843 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
7844 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
7845 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
7846 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
7848 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7849 Brendan Kehoe <brendan@zen.org>
7850 Simon Cook <simon.cook@embecosm.com>
7852 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
7853 * config/arc: New directory.
7854 * longlong.h [__arc__] (umul_ppmm): Remove.
7855 [__arc__] (__umulsidi3): Define.
7856 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
7857 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
7859 2013-09-17 Jacek Caban <jacek@codeweavers.com>
7861 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
7863 * config/i386/gthr-win32.h: Likewise.
7865 2013-09-16 DJ Delorie <dj@redhat.com>
7867 * config/rl78/vregs.h: Add G10 register definitions.
7868 * config/rl78/lib2mul.c: Enable for RL78/G10.
7869 * config/rl78/lib2div.c: Likewise.
7870 * config/rl78/lshrsi3.S: Use vregs.h.
7871 * config/rl78/cmpsi2.S: Likewise.
7872 * config/rl78/trampoline.S: Likewise.
7873 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
7875 2013-09-14 DJ Delorie <dj@redhat.com>
7876 Nick Clifton <nickc@redhat.com>
7878 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
7879 * config/rl78/vregs.h: New.
7880 * config/rl78/signbit.S: New file. Implements signbit function.
7881 * config/rl78/divmodsi.S: New.
7882 * config/rl78/divmodhi.S: New.
7883 * config/rl78/divmodqi.S: New.
7884 * config/rl78/t-rl78: Build them here...
7885 * config/rl78/lib2div.c: ...but not here.
7887 2013-09-12 DJ Delorie <dj@redhat.com>
7889 * config.host (msp*-*-elf): New.
7890 * config/msp430/: New port.
7892 2013-08-18 Iain Sandoe <iain@codesourcery.com>
7894 PR gcov-profile/58127
7895 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
7896 __thread var for emulated TLS.
7897 (__gcov_indirect_call_counters): Likewise.
7899 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
7900 Catherine Moore <clm@codesourcery.com>
7901 Richard Sandiford <rdsandiford@googlemail.com>
7903 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
7904 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
7905 (CALL_STUB_NO_RET): Likewise.
7906 (CALL_STUB_RET): Likewise.
7907 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
7908 __mips16_ret call/return stub symbols.
7909 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
7912 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
7914 * config.host <mips*-*-linux*>: Remove a stray comment.
7916 2013-08-10 Jan Hubicka <jh@suse.cz>
7918 Work around binutils PR14342
7919 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
7920 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
7921 (L_gcov_indirect_call_profiler_v2): New.
7923 2013-08-06 Jan Hubicka <jh@suse.cz>
7925 * libgcov.c (__gcov_indirect_call_callee,
7926 __gcov_indirect_call_counters): New global vars.
7927 (__gcov_indirect_call_profiler): replace by ...
7928 (__gcov_indirect_call_profiler_v2) ... this one.
7930 2013-08-06 Caroline Tice <cmtice@google.com>
7932 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
7933 vtv_start_preinit.o and vtv_end_preinit.o.
7934 * configure.ac: Add code to check/set enable_vtable_verify.
7935 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
7937 * vtv_start_preinit.c: New file.
7938 * vtv_end_preinit.c: New file.
7939 * vtv_start.c: New file.
7940 * vtv_end.c: New file.
7941 * configure: Regenerated.
7943 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
7945 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
7946 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
7947 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
7948 GPL-3.0-with-GCC-exception.
7950 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
7952 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
7955 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7957 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
7958 mapping for FPRs when creating the fallback framestate.
7960 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
7963 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
7964 (__round_s2_const, __round_u2_const)
7965 (__round_s4_const, __round_u4_const, __round_x8):
7966 Saturate result if addition result cannot be represented.
7968 2013-07-15 Matthias Klose <doko@ubuntu.com>
7970 * libgcc2.c: Don't include <limits.h>.
7972 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
7974 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
7976 2013-07-06 Jakub Jelinek <jakub@redhat.com>
7979 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
7981 2013-06-28 Jakub Jelinek <jakub@redhat.com>
7984 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
7986 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
7987 instead of table lookups.
7988 (__popcountDI2): Likewise.
7990 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
7992 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
7995 2013-06-21 Joseph Myers <joseph@codesourcery.com>
7998 * soft-fp/adddf3.c: Update from glibc.
7999 * soft-fp/addsf3.c: Likewise.
8000 * soft-fp/addtf3.c: Likewise.
8001 * soft-fp/divdf3.c: Likewise.
8002 * soft-fp/divsf3.c: Likewise.
8003 * soft-fp/divtf3.c: Likewise.
8004 * soft-fp/double.h: Likewise.
8005 * soft-fp/eqdf2.c: Likewise.
8006 * soft-fp/eqsf2.c: Likewise.
8007 * soft-fp/eqtf2.c: Likewise.
8008 * soft-fp/extenddftf2.c: Likewise.
8009 * soft-fp/extended.h: Likewise.
8010 * soft-fp/extendsfdf2.c: Likewise.
8011 * soft-fp/extendsftf2.c: Likewise.
8012 * soft-fp/fixdfdi.c: Likewise.
8013 * soft-fp/fixdfsi.c: Likewise.
8014 * soft-fp/fixsfdi.c: Likewise.
8015 * soft-fp/fixsfsi.c: Likewise.
8016 * soft-fp/fixtfdi.c: Likewise.
8017 * soft-fp/fixtfsi.c: Likewise.
8018 * soft-fp/fixunsdfdi.c: Likewise.
8019 * soft-fp/fixunsdfsi.c: Likewise.
8020 * soft-fp/fixunssfdi.c: Likewise.
8021 * soft-fp/fixunssfsi.c: Likewise.
8022 * soft-fp/fixunstfdi.c: Likewise.
8023 * soft-fp/fixunstfsi.c: Likewise.
8024 * soft-fp/floatdidf.c: Likewise.
8025 * soft-fp/floatdisf.c: Likewise.
8026 * soft-fp/floatditf.c: Likewise.
8027 * soft-fp/floatsidf.c: Likewise.
8028 * soft-fp/floatsisf.c: Likewise.
8029 * soft-fp/floatsitf.c: Likewise.
8030 * soft-fp/floatundidf.c: Likewise.
8031 * soft-fp/floatundisf.c: Likewise.
8032 * soft-fp/floatunditf.c: Likewise.
8033 * soft-fp/floatunsidf.c: Likewise.
8034 * soft-fp/floatunsisf.c: Likewise.
8035 * soft-fp/floatunsitf.c: Likewise.
8036 * soft-fp/gedf2.c: Likewise.
8037 * soft-fp/gesf2.c: Likewise.
8038 * soft-fp/getf2.c: Likewise.
8039 * soft-fp/ledf2.c: Likewise.
8040 * soft-fp/lesf2.c: Likewise.
8041 * soft-fp/letf2.c: Likewise.
8042 * soft-fp/muldf3.c: Likewise.
8043 * soft-fp/mulsf3.c: Likewise.
8044 * soft-fp/multf3.c: Likewise.
8045 * soft-fp/negdf2.c: Likewise.
8046 * soft-fp/negsf2.c: Likewise.
8047 * soft-fp/negtf2.c: Likewise.
8048 * soft-fp/op-1.h: Likewise.
8049 * soft-fp/op-2.h: Likewise.
8050 * soft-fp/op-4.h: Likewise.
8051 * soft-fp/op-8.h: Likewise.
8052 * soft-fp/op-common.h: Likewise.
8053 * soft-fp/quad.h: Likewise.
8054 * soft-fp/single.h: Likewise.
8055 * soft-fp/soft-fp.h: Likewise.
8056 * soft-fp/subdf3.c: Likewise.
8057 * soft-fp/subsf3.c: Likewise.
8058 * soft-fp/subtf3.c: Likewise.
8059 * soft-fp/truncdfsf2.c: Likewise.
8060 * soft-fp/trunctfdf2.c: Likewise.
8061 * soft-fp/trunctfsf2.c: Likewise.
8062 * soft-fp/unorddf2.c: Likewise.
8063 * soft-fp/unordsf2.c: Likewise.
8064 * soft-fp/unordtf2.c: Likewise.
8065 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
8066 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8067 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8068 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8069 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8070 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8071 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8072 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8073 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8074 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
8075 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
8076 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8078 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
8080 * config/mips/lib2funcs.c: New file.
8081 * config/mips/t-mips (LIB2ADD_ST): Add it.
8083 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
8086 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
8087 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
8089 2013-06-08 Walter Lee <walt@tilera.com>
8091 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
8092 Replace int64_t with long long. Add __extension__ where
8094 * config/tilepro/atomic.c: Include config.h.
8096 2013-06-06 Douglas B Rupp <rupp@adacore.com>
8098 * config.host (arm-wrs-vxworks): Configure with other soft float.
8100 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
8102 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
8103 (mips64r5900el-*-elf*): New configurations.
8105 2013-06-04 Alan Modra <amodra@gmail.com>
8107 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
8109 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
8111 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
8113 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
8115 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
8116 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
8117 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
8119 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8121 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
8122 (powerpc-wrs-vxworks): Likewise.
8124 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8126 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
8127 signal frames as well.
8128 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
8129 STACK_BIAS to the CFA offset.
8131 2013-05-17 Richard Henderson <rth@redhat.com>
8134 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
8135 (execute_cfa_program): Use it when storing to fs->regs.
8137 2013-05-08 Kai Tietz <ktietz@redhat.com>
8139 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
8140 (__deregister_frame_info): Likewise.
8142 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
8144 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
8147 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
8149 2013-04-25 Alan Modra <amodra@gmail.com>
8151 * config.host: Match little-endian powerpc-linux.
8153 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
8155 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
8156 as 'unsigned long long' instead of 'unsigned long'.
8157 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
8160 2013-04-10 Julian Brown <julian@codesourcery.com>
8162 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
8163 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
8164 unsigned char/unsigned short.
8165 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
8167 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8170 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
8172 2013-04-04 Meador Inge <meadori@codesourcery.com>
8174 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
8175 computing the location of the link register.
8176 (aeabi_uldivmod): Ditto.
8178 2013-03-27 Kai Tietz <ktietz@redhat.com>
8180 * config.host: Add support for cygwin x64 target.
8181 * configure: Regenerated.
8183 2013-03-26 Walter Lee <walt@tilera.com>
8185 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
8186 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
8188 2013-03-25 Kai Tietz <ktietz@redhat.com>
8190 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
8192 2013-03-20 Robert Mason <rbmj@verizon.net>
8194 * config/vxlib-tls.c (__gthread_get_tsd_data,)
8195 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
8196 (__gthread_leave_tsd_dtor_context): Add prototypes.
8197 (tls_delete_hook): Update.
8199 2013-03-20 Catherine Moore <clm@codesourcery.com>
8200 Joseph Myers <joseph@codesourcery.com>
8201 Chao-ying Fu <fu@mips.com>
8203 * config/mips/mips16.S: Don't build for microMIPS.
8204 * config/mips/linux-unwind.h: Handle microMIPS frame.
8205 * config/mips/crtn.S (fini, init): New labels.
8207 2013-03-14 Jakub Jelinek <jakub@redhat.com>
8209 PR tree-optimization/53265
8210 * unwind-dw2.c (execute_cfa_program): Avoid
8211 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
8212 on targets with DWARF_FRAME_REGISTERS < 32.
8214 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
8217 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
8218 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
8220 2013-03-07 Sriraman Tallam <tmsriram@google.com>
8222 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
8223 sandybridge processors.
8225 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
8228 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
8231 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
8233 * config/microblaze/crti.S: Setup stack protection at entry
8235 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
8237 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
8238 (__rotldi3): Shift bytewise if applicable.
8240 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
8242 * config/aarch64/sync-cache.c
8243 (__aarch64_sync_cache_range): Silence warnings.
8245 2013-02-25 Catherine Moore <clm@codesourcery.com>
8248 2013-02-24 Catherine Moore <clm@codesourcery.com>
8249 Joseph Myers <joseph@codesourcery.com>
8250 Chao-ying Fu <fu@mips.com>
8252 * config/mips/mips16.S: Don't build for microMIPS.
8253 * config/mips/linux-unwind.h: Handle microMIPS frame.
8254 * config/mips/crtn.S (fini, init): New labels.
8256 2013-02-24 Catherine Moore <clm@codesourcery.com>
8257 Joseph Myers <joseph@codesourcery.com>
8258 Chao-ying Fu <fu@mips.com>
8260 * config/mips/mips16.S: Don't build for microMIPS.
8261 * config/mips/linux-unwind.h: Handle microMIPS frame.
8262 * config/mips/crtn.S (fini, init): New labels.
8264 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
8265 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
8268 2013-02-16 Alan Modra <amodra@gmail.com>
8271 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
8272 (ppc_fallback_frame_state): Always set up save locations for fp
8273 and altivec. Don't bother with non-callee-saved regs, r0-r13
8274 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
8276 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
8279 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
8281 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
8282 _ssmulha3, _usmulusa3, _ssmulsa3.
8283 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
8284 (__muldi3): XCALL __muldi3_6 instead of rcall.
8285 (__umulsidi3, __mulsidi3): New functions.
8286 (do_prologue_saves, do_epilogue_restores): New .macros.
8287 (__divdi3_moddi3): Use them.
8288 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
8289 (__usmulusa3, __ssmulsa3): New functions.
8291 2013-02-11 Iain Sandoe <iain@codesourcery.com>
8292 Jack Howarth <howarth@bromo.med.uc.edu>
8293 Patrick Marlier <patrick.marlier@gmail.com>
8296 * config/darwin-crt-tm.c: Remove dummy functions hack.
8298 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
8301 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
8302 * config/avr/lib2-object.mk: New iterator to build objects from it.
8303 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
8305 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
8306 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
8307 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
8308 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
8309 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
8310 * config/avr/lib1funcs-fixed.S: Implement them.
8312 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
8314 Update copyright years.
8316 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
8319 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
8320 Add crtcxa to extra_parts.
8321 * config/rs6000/exit.h: New file.
8322 * config/rs6000/cxa_atexit.c: New file.
8323 * config/rs6000/cxa_finalize.c: New file.
8324 * config/rs6000/crtcxa.c: New file.
8325 * config/rs6000/t-aix-cxa: New file.
8326 * config/rs6000/libgcc-aix-cxa.ver: New file.
8328 2013-01-31 Nick Clifton <nickc@redhat.com>
8330 * config/v850/lib1funcs.S: Add support for e3v5 architecture
8333 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
8336 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
8337 _mulQQ, _mulHQ, _mulHA, _mulSA,
8338 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
8339 _divQQ, _divHQ, _divHA, _divSA,
8340 _divUQQ, _divUHQ, _divUHA, _divUSA.
8342 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
8344 * config.host(microblaze*-linux*): tmake_file: Remove
8345 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
8346 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
8347 to exclude functions from being built with libgcc.c and use
8348 the microblaze assembly.
8350 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
8352 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
8355 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
8357 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
8358 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
8359 __UINTPTR_TYPE__; also cast 'base' to the same type before the
8360 alignment operation.
8362 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
8364 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
8365 loop start address for cache clearing.
8367 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
8369 * config/avr/lib1funcs.S: Remove trailing blanks.
8370 * config/avr/lib1funcs-fixed.S: Ditto.
8372 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
8374 * config/avr/avr-lib.h: Add GPL copyright notice.
8376 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
8378 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
8379 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
8380 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
8381 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
8383 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
8385 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
8386 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
8388 2013-01-04 Nick Clifton <nickc@redhat.com>
8390 * config/v850/lib1funcs.S: Only provide CALLT support functions if
8391 the CALLT instruction is supported.
8393 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
8395 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
8396 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
8398 2012-12-13 John Tytgat <John@bass-software.com>
8400 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
8403 2012-12-12 Jakub Jelinek <jakub@redhat.com>
8406 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
8407 undefined signed overflows.
8409 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
8412 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
8414 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
8416 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
8417 (FP_TRAPPING_EXCEPTIONS): Define.
8418 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
8419 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
8421 2012-12-04 Richard Henderson <rth@redhat.com>
8424 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
8426 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
8428 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
8429 (FP_EX_SHIFT): Define.
8430 (FP_TRAPPING_EXCEPTIONS): Define.
8432 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
8434 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
8435 (FP_ROUNDMODE): Use FP_RND_MASK.
8436 * config/aarch64/sfp-exceptions.c: New.
8437 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8438 Use __sfp_handle_exceptions.
8440 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
8442 * config.host: (arm*-*-freebsd*): Remove.
8443 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
8444 (arm*-*-elf*): Remove.
8445 (arm*-*-wince-pe*): Remove.
8446 * arm/unwind-arm.c (struct fpa_reg): Delete.
8447 (struct fpa_regs): Delete.
8448 (phase1_vrs): Remove fpa element.
8449 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
8450 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
8451 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
8452 * ieee754-sf.S (floatundisf): Remove FPA support.
8453 (floatdisf): Likewise.
8454 * ieee75f-df.S (floatundidf): Likewise.
8455 (floatdidf): Likewise.
8457 2012-11-29 Kai Tietz <ktietz@redhat.com>
8460 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
8461 * unwind-generic.h: Likewise.
8462 * unwind-seh.c: Likewise.
8464 2012-11-28 Richard Henderson <rth@redhat.com>
8467 * emutls.c (__emutls_get_address): Avoid race condition between
8468 obj->loc.offset read and emutls_key initialization.
8470 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
8472 Adjust decimal point of signed accum mode to GCC default.
8475 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
8477 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
8478 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
8479 (__mulha3, __mulsa3)
8480 (__divqq3, __divha3, __divsa3): Adjust to new position of
8481 decimal point of signed accum types.
8483 (__mulusa3_round): New function.
8484 (__mulusa3): Use it.
8485 (__divqq_helper): New function.
8486 (__udivuqq3): Use it.
8488 2012-11-20 Jakub Jelinek <jakub@redhat.com>
8491 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
8493 2012-11-18 Teresa Johnson <tejohnson@google.com>
8496 * libgcov.c (gcov_exit): Remove merged program summary
8497 comparison unless !GCOV_LOCKED.
8499 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
8501 * soft-fp: Updated from glibc upstream.
8503 2012-11-06 Ian Lance Taylor <iant@google.com>
8505 * generic-morestack.c (__generic_morestack): Align the returned
8506 stack pointer to a 32 byte boundary.
8507 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
8508 increment the return address until we have decided that we don't
8509 have a varargs function.
8510 (__morestack) [32-bit]: Align stack correctly when calling C
8512 (__morestack) [64-bit]: Likewise.
8514 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8516 * configure: Regenerate.
8518 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
8521 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
8522 * config/i386/sfp-machine.h: Guard exception handling
8523 code with _SOFT_FLOAT.
8524 * config/i386/32/sfp-machine.h: Guard rounding handling
8525 code with _SOFT_FLOAT.
8526 * config/i386/64/sfp-machine.h: Ditto.
8528 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
8530 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
8533 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
8535 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
8536 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
8537 when appropriate. Correct structure element types.
8538 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
8539 -minline-all-stringops from compile flags.
8541 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
8543 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
8545 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
8547 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
8549 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
8551 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
8554 2012-10-23 Ian Bolton <ian.bolton@arm.com>
8555 Jim MacArthur <jim.macarthur@arm.com>
8556 Marcus Shawcroft <marcus.shawcroft@arm.com>
8557 Nigel Stephens <nigel.stephens@arm.com>
8558 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
8559 Richard Earnshaw <rearnsha@arm.com>
8560 Sofiane Naci <sofiane.naci@arm.com>
8561 Stephen Thomas <stephen.thomas@arm.com>
8562 Tejas Belagod <tejas.belagod@arm.com>
8563 Yufeng Zhang <yufeng.zhang@arm.com>
8565 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
8566 * config/aarch64/crti.S: New file.
8567 * config/aarch64/crtn.S: New file.
8568 * config/aarch64/linux-unwind.h: New file.
8569 * config/aarch64/sfp-machine.h: New file.
8570 * config/aarch64/sync-cache.c: New file.
8571 * config/aarch64/t-aarch64: New file.
8572 * config/aarch64/t-softfp: New file.
8574 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
8576 * config/mmix/crti.S: Mark program and data addresses using PRELD.
8577 Remove typo'd and unnecessary alignment-LOC for .data. Remove
8578 no-longer-needed LDBU insns.
8580 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
8583 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
8584 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
8586 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8588 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
8590 2012-10-15 Matthias Klose <doko@ubuntu.com>
8592 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
8594 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
8596 * configure: Regenerate.
8597 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
8599 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
8601 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8602 instructions for 64bit targets only.
8604 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
8606 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8607 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
8608 * config/i386/32/sfp-machine.h: ... here.
8609 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
8610 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
8613 2012-10-07 Matthias Klose <doko@ubuntu.com>
8615 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
8617 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
8619 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
8621 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
8622 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
8623 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
8626 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
8629 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8630 Fix parameter names.
8632 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
8635 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
8636 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
8637 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
8639 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
8642 * config/sh/linux-atomic.S: Delete.
8643 * config/sh/linux-atomic.c: New.
8644 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
8645 linux-atomic.c. Add cflags to disable warnings.
8647 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8650 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
8652 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
8653 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
8654 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
8655 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
8656 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
8658 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8660 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
8662 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
8663 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
8665 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
8667 * config.host (hppa-*-openbsd*): New target.
8668 * config/pa/t-openbsd: New file.
8670 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
8673 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
8674 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
8675 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
8676 (__divsa3): Use __negsi2 to negate r_quoL.
8677 * config/avr/lib1funcs.S (FALIAS): New macro.
8678 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
8679 (__negsi2): ...this new function.
8680 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
8681 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
8682 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
8683 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
8684 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
8685 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
8687 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
8690 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
8691 (lshrsi3): Reimplement as lshrsi3_r0.
8693 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
8696 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
8699 2012-09-07 Teresa Johnson <tejohnson@google.com>
8701 PR gcov-profile/54487
8702 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
8705 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
8708 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
8709 not configured --with-avrlibc=no.
8710 * config/avr/t-avrlibc: New file.
8711 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
8712 (DPBIT_FUNCS): Ditto.
8713 (TPBIT_FUNCS): Ditto.
8715 2012-09-04 Teresa Johnson <tejohnson@google.com>
8717 * libgcov.c (struct gcov_summary_buffer): New structure.
8718 (gcov_histogram_insert): New function.
8719 (gcov_compute_histogram): Ditto.
8720 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
8721 histograms during summary merging.
8723 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
8725 * config.host (x86_64-*-openbsd*): New target.
8727 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
8729 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
8732 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
8735 * config/avr/t-avr (conv_X): Rename to func_X.
8737 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
8740 * config/avr/lib1funcs-fixed.S: New file.
8741 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
8742 after they are used.
8743 (neg2, neg4): New macros.
8744 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
8745 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
8746 (__umulhisi3): Speed up MUL variant if there is enough flash.
8747 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
8749 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
8750 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
8751 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
8752 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
8753 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
8754 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
8755 (LIB2FUNCS_EXCLUDE): Add supported functions.
8757 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
8759 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
8760 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
8762 * fixed-obj.mk: Only expand dependency if $o is not in
8765 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
8767 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
8769 2012-08-22 Joseph Myers <joseph@codesourcery.com>
8771 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
8772 depend on --enable-shared.
8773 ($(lib1asmfuncs-o)): Use %.vis files independent of
8775 * static-object.mk ($(base)$(objext), $(base).vis)
8776 ($(base)_s$(objext)): Use same rules for visibility handling as in
8779 2012-08-21 Ian Lance Taylor <iant@google.com>
8781 * config/i386/morestack.S (__morestack_non_split): Increase amount
8782 of space allocated for non-split code stack.
8784 2012-08-19 Joseph Myers <joseph@codesourcery.com>
8786 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
8787 even if inhibit_libc.
8789 2012-08-17 Julian Brown <julian@codesourcery.com>
8791 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
8792 -fexceptions -fnon-call-exceptions if not defined.
8793 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
8794 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
8796 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
8798 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
8801 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
8803 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
8804 rs6000/t-slibgcc-aix.
8806 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8808 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
8810 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8812 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
8814 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
8817 * Makefile.in (version): Replace top_srcdir with srcdir.
8819 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
8821 * Makefile.in (version): set to BASE-VER file from gcc directory.
8823 2012-08-01 Nick Clifton <nickc@redhat.com>
8825 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
8826 Implements __clrsb for an HImode argument.
8828 2012-07-31 Nick Clifton <nickc@redhat.com>
8830 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
8831 Implements __clrsb for an HImode argument.
8832 * config/stormy16/clrsbhi2.c: New file:
8833 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
8835 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
8837 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
8839 2012-07-19 Tristan Gingold <gingold@adacore.com>
8840 Richard Henderson <rth@redhat.com>
8842 * unwind-seh.c: New file.
8843 * unwind-generic.h: Include windows.h for SEH.
8844 (_Unwind_Exception): Use 6 private fields for SEH.
8845 (_GCC_specific_handler): Declare.
8846 * unwind-c.c (__gcc_personality_seh0): New function.
8848 * config/i386/libgcc-cygming.ver: New file.
8849 * config/i386/t-seh-eh: New file.
8850 * config.host (x86_64-*-mingw*): Default to seh.
8852 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
8854 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
8856 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
8858 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
8859 __builtin_expect when checking for exceptions.
8860 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
8862 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
8864 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
8865 function declaration.
8866 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8868 * config/ia64/sfp-exceptions.c: New.
8869 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
8871 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
8873 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
8874 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
8875 * config/i386/64/sfp-machine: ... (delete here) ...
8876 * config/i386/sfp-machine.h: ... to here.
8877 (FP_EX_MASK): Remove.
8879 (FP_INIT_ROUNDMODE): Declare asm as volatile.
8881 2012-06-11 Sriraman Tallam <tmsriram@google.com>
8883 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
8884 * config/i386/libgcc-sol2.ver: Ditto.
8885 * config/i386/libgcc-glibc.ver: Ditto.
8887 2012-06-11 Roland McGrath <mcgrathr@google.com>
8889 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
8890 If __GLIBC__ is defined, refer to __pthread_key_create instead of
8893 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
8895 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
8896 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
8897 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
8898 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8899 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
8900 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
8901 * config/i386/64/sfp-machine: ... (delete here) ...
8902 * config/i386/sfp-machine.h: ... to here.
8904 (__sfp_handle_exceptions): New function declaration.
8905 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8906 * config/i386/sfp-exceptions.c: New.
8907 * config/i386/t-softfp: New.
8908 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
8909 i386/t-softfp to tmake_file.
8911 2012-06-03 David S. Miller <davem@davemloft.net>
8913 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
8916 2012-05-31 David S. Miller <davem@davemloft.net>
8918 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
8919 multiply and divide instructions on 32-bit when V9.
8920 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
8922 2012-05-29 Joseph Myers <joseph@codesourcery.com>
8924 * config/arm/ieee754-df.S: Fix typos.
8925 * config/arm/ieee754-sf.S: Fix typos.
8926 * config/c6x/libunwind.S: Fix typos.
8927 * config/epiphany/udivsi3-float.c: Fix typos.
8928 * config/microblaze/muldi3_hard.S: Fix typos.
8929 * config/picochip/adddi3.S: Fix typos.
8930 * config/picochip/ashlsi3.S: Fix typos.
8931 * config/picochip/ashrsi3.S: Fix typos.
8932 * config/picochip/clzsi2.S: Fix typos.
8933 * config/picochip/cmpsi2.S: Fix typos.
8934 * config/picochip/divmod15.S: Fix typos.
8935 * config/picochip/divmodhi4.S: Fix typos.
8936 * config/picochip/divmodsi4.S: Fix typos.
8937 * config/picochip/longjmp.S: Fix typos.
8938 * config/picochip/lshrsi3.S: Fix typos.
8939 * config/picochip/parityhi2.S: Fix typos.
8940 * config/picochip/popcounthi2.S: Fix typos.
8941 * config/picochip/setjmp.S: Fix typos.
8942 * config/picochip/subdi3.S: Fix typos.
8943 * config/picochip/ucmpsi2.S: Fix typos.
8944 * config/picochip/udivmodhi4.S: Fix typos.
8945 * config/picochip/udivmodsi4.S: Fix typos.
8946 * config/spu/divv2df3.c: Fix typos.
8947 * config/spu/mfc_multi_tag_release.c: Fix typos.
8948 * config/spu/mfc_tag_release.c: Fix typos.
8949 * configure.ac: Fix typos.
8950 * configure: Regenerate.
8952 2012-05-25 Ian Lance Taylor <iant@google.com>
8954 * config/i386/morestack.S (__morestack_non_split): Check whether
8955 caller is varargs and needs %bp to hold the stack frame on return.
8957 2012-05-25 Olivier Hainque <hainque@adacore.com>
8959 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
8960 sequence in the non pic case on VxWorks.
8962 2012-05-24 Olivier Hainque <hainque@adacore.com>
8964 * Makefile.in: Move dependency on install-unwind_h from
8965 "install-leaf" to "install".
8967 2012-05-24 Olivier Hainque <hainque@adacore.com>
8969 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
8970 Use a separate command for stamp removals.
8972 2012-05-21 Andrew Pinski <apinski@cavium.com>
8975 * configure.ac: Define the default includes to being none.
8976 * configure: Regenerate.
8978 2012-05-16 Olivier Hainque <hainque@adacore.com>
8980 * Makefile.in (install-unwind_h): Rename into ...
8981 (install-unwind_h-forbuild): New target.
8982 (all): Use it instead of the former install-unwind_h.
8983 (install-unwind_h): Reinstate, copy to user install destination
8984 for include files, not to the internal gcc object directory one.
8985 (install-leaf): Depend on it.
8987 2012-05-15 Olivier Hainque <hainque@adacore.com>
8989 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
8990 register numbers. LR_REGNO replaces R_LR.
8991 (ucontext_for): New, helper for ...
8992 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
8994 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
8996 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8998 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
8999 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
9000 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
9002 (i[34567]86-*-*, x86_64-*-*): ... here.
9004 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
9005 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
9007 * config/i386/i386-cpuinfo.c: Rename to ...
9008 * config/i386/cpuinfo.c: ... this.
9009 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
9011 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
9012 (libgcc_cv_init_priority): New test.
9013 * configure: Regenerate.
9014 * config.in: New file.
9015 * Makefile.in (clean): Rename config.h to auto-target.h.
9016 (config.h): Likewise.
9017 (stamp-h): Likewise.
9019 * config/i386/cpuinfo.c (auto-target.h): Include.
9020 (CONSTRUCTOR_PRIORITY): Define.
9021 (__cpu_indicator_init): Use it.
9023 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9025 * longlong.h: Use a URL instead of an FSF postal address.
9026 Replace spaces with tab.
9028 2012-05-08 Teresa Johnson <tejohnson@google.com>
9030 * libgcov.c (gcov_clear, __gcov_reset): New functions.
9031 (__gcov_dump): Ditto.
9032 (gcov_dump_complete): New global variable.
9033 (gcov_exit): Export hidden to enable use in L_gcov_dump.
9034 (__gcov_flush): Outline functionality now in gcov_clear.
9035 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
9037 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
9039 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
9040 (mips*-*-linux*): Include mips/t-tpbit when long double is
9043 2012-04-25 Sriraman Tallam <tmsriram@google.com>
9045 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
9046 (get_available_features): New argument. Check for AVX2.
9047 (__cpu_indicator_init): Modify call to get_available_features.
9049 2012-04-25 Alan Modra <amodra@gmail.com>
9051 * config/rs6000/crtsavevr.S: New file.
9052 * config/rs6000/crtrestvr.S: New file.
9053 * config/rs6000/t-savresfgpr: Build the above.
9054 * config/rs6000/t-netbsd: Likewise.
9056 2012-04-24 Sriraman Tallam <tmsriram@google.com>
9058 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
9060 2012-04-24 Sriraman Tallam <tmsriram@google.com>
9062 * libgcc/config/i386/i386-cpuinfo.c: New file.
9063 * libgcc/config/i386/t-cpuinfo: New file.
9064 * libgcc/config.host: Include t-cpuinfo.
9065 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
9067 2012-04-24 Chao-ying Fu <fu@mips.com>
9069 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
9071 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
9073 struct siginfo vs. siginfo_t
9075 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
9076 siginfo_t instead of struct siginfo.
9077 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
9078 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
9079 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
9080 (ia64_handle_unwabi): Likewise.
9081 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
9082 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
9083 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
9084 (sh_fallback_frame_state): Likewise.
9085 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
9086 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
9088 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
9090 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
9093 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
9095 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
9096 if it hasn't been previously saved.
9098 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
9100 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
9103 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
9106 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
9107 instead of __AVR_HAVE_8BIT_SP__.
9109 2012-03-26 Tristan Gingold <gingold@adacore.com>
9111 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
9112 (unw_table_entry): Use unw_word instead of unsigned long.
9113 (_Unwind_FindTableEntry): Likewise.
9114 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
9115 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
9116 (_Unwind_FindTableEntry): Likewise.
9117 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
9118 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
9119 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
9120 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
9121 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
9122 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
9123 (uw_init_context_1, uw_install_context): Likewise.
9124 (unw_word): Move to unwind-ia64.h
9126 2012-03-26 Tristan Gingold <gingold@adacore.com>
9128 * config/vms/vms-ucrt0.c: Update copyright years.
9130 (___gcc_main_flags): Declare.
9131 (__main): Check flags to remap argv and exit code.
9132 * config.host (*-*-*vms*): Adjust extra_parts.
9133 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
9136 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
9138 * arm/lib1funcs.asm (ctzsi2): New function.
9139 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
9140 * arm/t-linux (LIB1ASMFUNCS): Likewise.
9141 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
9142 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
9143 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
9144 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
9146 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
9148 * config.host: Add bits to support powerpc64-*-freebsd*.
9149 * config/rs6000/freebsd-unwind.h: New file.
9150 * config/rs6000/t-freebsd64: New file.
9152 2012-03-20 Richard Guenther <rguenther@suse.de>
9154 PR gcov-profile/52627
9155 * libgcov.c (init_mx): Fix mutex name.
9157 2012-03-16 Tristan Gingold <gingold@adacore.com>
9159 * config/ia64/vms-unwind.h: Remove ulong (and replace
9160 it by unw_reg where used). Define unw_reg with __int64.
9162 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9164 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
9166 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
9168 (sparc_is_sighandler): Likewise.
9170 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
9172 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
9175 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9177 * config/arm/crtn.S: Fix typo.
9179 2012-03-13 Richard Guenther <rguenther@suse.de>
9181 * libgcov.c: Remove stdio.h include and NULL un-define.
9183 2012-03-13 Richard Guenther <rguenther@suse.de>
9186 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
9188 2012-03-13 Richard Guenther <rguenther@suse.de>
9190 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
9192 2012-03-13 Richard Guenther <rguenther@suse.de>
9194 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
9195 and __gthread_mutex_init_function definitions.
9197 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9199 * config.host (mips*-*-openbsd*): Remove.
9201 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9203 * config.host: Remove alpha*-dec-osf5.1* handling.
9204 * config/alpha/gthr-posix.c: Remove.
9205 * config/alpha/libgcc-osf5.ver: Remove.
9206 * config/alpha/osf5-unwind.h: Remove.
9207 * config/alpha/t-osf-pthread: Remove.
9208 * config/alpha/t-slibgcc-osf: Remove.
9209 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
9210 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
9211 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
9212 * mkmap-flat.awk: Remove osf_export handling.
9214 2012-03-12 Richard Guenther <rguenther@suse.de>
9216 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
9217 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9218 (__gthread_mutex_init_function): New function.
9219 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9222 * libgcov.c: Include gthr.h.
9223 (__gcov_flush_mx): New global variable.
9224 (init_mx, init_mx_once): New functions.
9225 (__gcov_flush): Protect self with a mutex.
9226 (__gcov_fork): Re-initialize mutex after forking.
9227 * unwind-dw2-fde.c: Change condition under which to use
9228 __GTHREAD_MUTEX_INIT_FUNCTION.
9230 2012-03-12 Tristan Gingold <gingold@adacore.com>
9232 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
9233 * config/ia64/t-vms: Likewise.
9235 2012-03-11 Michael Hope <michael.hope@linaro.org>
9237 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
9240 2012-03-07 Walter Lee <walt@tilera.com>
9242 * config/tilepro/atomic.c: Rename "atomic_" prefix to
9244 (atomic_xor): Rename and move definition to
9245 config/tilepro/atomic.h.
9246 (atomic_nand): Ditto.
9247 * config/tilepro/atomic.h: Rename "atomic_" prefix to
9249 (arch_atomic_xor): Move from config/tilepro/atomic.c.
9250 (arch_atomic_nand): Ditto.
9252 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
9255 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
9257 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
9260 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
9263 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
9267 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
9268 if RAMPZ affects reading from RAM.
9269 (__tablejump_elpm__): Ditto.
9271 (__movmemx_hi): Ditto.
9272 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
9273 (__do_global_dtors): Ditto.
9274 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
9275 (__movmemx_hi): Ditto.
9277 2012-03-05 Richard Henderson <rth@redhat.com>
9279 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
9280 [ARM] (count_trailing_zeros): Use the builtin.
9282 2012-03-01 Kai Tietz <ktietz@redhat.com>
9284 * soft-fp: Imported from glibc upstream.
9286 2012-02-28 Kai Tietz <ktietz@redhat.com>
9288 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
9289 for mingw-targets as attribute gcc_struct.
9291 2012-02-28 Ian Lance Taylor <iant@google.com>
9293 * generic-morestack.c (__splitstack_releasecontext): Correct call
9294 to __morestack_release_segments.
9296 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9299 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
9300 for __linux__ when removing signals from __morestack_fullmask.
9302 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
9305 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
9307 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9309 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
9310 instead of HAVE_INITFINI_ARRAY.
9311 * config/ia64/crtend.S: Likewise.
9313 2012-02-20 Kai Tietz <ktietz@redhat.com>
9316 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
9318 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
9319 to w32-unwind.h header.
9321 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9323 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
9324 (mips*-*-linux*): Remove t-slibgcc-libgcc.
9325 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
9326 * config/mips/mips16.S (__mips16_rdhwr): Delete.
9328 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9330 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
9332 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9335 * config/darwin-crt-tm.c: Correct typo.
9337 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9338 Patrick Marlier <patrick.marlier@gmail.com>
9341 * config/darwin-crt-tm.c: Generate dummy functions.
9343 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9344 Patrick Marlier <patrick.marlier@gmail.com>
9347 * config/darwin-crt-tm.c (getTMCloneTable): New function.
9348 (__doTMRegistrations): Call it.
9349 (__doTMdeRegistrations): Likewise.
9351 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
9352 Anatoly Sokolov <aesok@post.ru>
9353 Eric Weddington <eric.weddington@atmel.com>
9356 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
9357 (__epilogue_restores__): Ditto.
9359 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
9363 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
9364 Solaris 11 and slightly reformat.
9365 (sparc_is_sighandler): Likewise.
9367 2012-02-14 Walter Lee <walt@tilera.com>
9369 * config.host: Handle tilegx and tilepro.
9370 * config/tilegx/sfp-machine.h: New file.
9371 * config/tilegx/sfp-machine32.h: New file.
9372 * config/tilegx/sfp-machine64.h: New file.
9373 * config/tilegx/t-crtstuff: New file.
9374 * config/tilegx/t-softfp: New file.
9375 * config/tilegx/t-tilegx: New file.
9376 * config/tilepro/atomic.c: New file.
9377 * config/tilepro/atomic.h: New file.
9378 * config/tilepro/linux-unwind.h: New file.
9379 * config/tilepro/sfp-machine.h: New file.
9380 * config/tilepro/softdivide.c: New file.
9381 * config/tilepro/softmpy.S: New file.
9382 * config/tilepro/t-crtstuff: New file.
9383 * config/tilepro/t-tilepro: New file.
9385 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
9389 * gthr-posix.h: Allow static initializer macros to be disabled.
9390 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
9392 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9394 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
9395 Add t-slibgcc-libgcc to tmake_file.
9396 * config/mips/libgcc-mips16.ver: Revert previous patch.
9397 * config/mips/mips16.S (__mips16_rdhwr): Hide.
9399 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
9400 Jayant R Sonar <jayant.sonar@kpitcummins.com>
9402 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
9403 * config/cr16/crti.S: New file.
9404 * config/cr16/crtlibid.S: New file.
9405 * config/cr16/crtn.S: New file.
9406 * config/cr16/lib1funcs.S: New file.
9407 * config/cr16/t-cr16: New file.
9408 * config/cr16/t-crtlibid: New file.
9409 * config/cr16/unwind-dw2.h: New file.
9410 * config/cr16/unwind-cr16.c: New file.
9411 * config/cr16/divmodhi3.c: New file.
9413 2012-01-25 Alan Modra <amodra@gmail.com>
9415 * config/rs6000/t-linux64: Delete. Move..
9416 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
9417 * config/rs6000/t-linux: ..and libgcc flags to here.
9419 2012-01-22 Douglas B Rupp <rupp@gnat.com>
9421 * config.host (i[34567]86-*-interix3*):
9422 Change triplet to i[34567]86-*-interix[3-9]*.
9423 * configure: Regenerate.
9425 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
9426 Richard Sandiford <rdsandiford@googlemail.com>
9428 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
9429 * config/mips/mips16.S (__mips16_rdhwr): New function.
9430 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
9432 2012-01-11 Nathan Sidwell <nathan@acm.org>
9434 * libgcov.c (__gcov_init): Ignore objects with no functions.
9436 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
9439 Extend __pgmx semantics to linearize memory.
9440 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
9441 * config/avr/lib1funcs.S (__xload_1): New function.
9442 (__movmemx_qi, __movmemx_hi): New functions.
9443 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
9446 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9448 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
9449 purported sigacthandler address isn't null before dereferencing it.
9450 (sparc_is_sighandler): Likewise.
9452 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9455 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
9456 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
9457 (sparc_is_sighandler): Likewise.
9458 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
9460 2012-01-06 Tristan Gingold <gingold@adacore.com>
9462 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
9463 compatibility thunks...
9464 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
9465 (crtbeginS.o, crtendS.o): ... and these to ...
9466 * config/ia64/t-ia64-elf: ... this new file.
9467 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
9468 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
9470 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9472 * configure: Regenerate.
9473 * config/s390/t-crtstuff: Remove -fPIC.
9475 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
9478 * enable-execute-stack-mprotect.c (getpagesize): Do not define
9481 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
9484 * config/avr/lib1funcs.S: Remove FIXME comments.
9485 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
9487 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
9489 Implement light-weight DImode support.
9490 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
9491 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
9492 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
9493 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
9495 2011-12-30 Nathan Sidwell <nathan@acm.org>
9497 * libgcov.c (gcov_crc32): Remove global var.
9498 (free_fn_data): New function.
9499 (buffer_fn_data): Pass in filename, more robust error recovery.
9500 (crc32_unsigned): New function.
9501 (gcov_exit): More robust detection of new program. More robust
9503 (__gcov_init): Do not update program's crc here.
9505 2011-12-21 Tristan Gingold <gingold@adacore.com>
9507 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
9509 2011-12-21 Ian Lance Taylor <iant@google.com>
9511 * config/i386/morestack.S: Simplify CFI opcodes throughout.
9513 2011-12-20 Ian Lance Taylor <iant@google.com>
9515 * config/i386/morestack.S (__morestack_non_split): If there is
9516 enough stack space already, don't split. Ask for more stack space
9519 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
9521 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
9523 (_Unwind_DebugHook): New function.
9524 (uw_restore_core_regs): New define.
9525 (unwind_phase2): Use uw_restore_core_regs instead of
9527 (unwind_phase2_forced): Likewise.
9528 (__gnu_Unwind_Resume): Likewise.
9530 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
9532 * config/alpha/linux-unwind.h: Update copyright years.
9533 (MD_FROB_UPDATE_CONTEXT): New define.
9534 (alpha_frob_update_context): New function.
9536 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
9538 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
9539 tmake_file rather replacing it.
9541 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
9543 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
9544 function is not used for PPC64.
9545 (save_world): Amend comments. Update the VRsave mask to reflect the
9547 (rest_world): Update comments, do not clobber r10, do not use r8.
9548 (eh_rest_world_r10): Amend comments, do not use r8.
9549 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
9550 no longer used, move restore of CR and target address to the end of
9553 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
9555 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
9556 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
9558 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
9561 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
9562 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
9564 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
9566 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
9568 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
9571 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
9572 * config/avr/lib1funcs.S (__muldi3): New function.
9574 2011-12-06 Andrew Pinski <apinski@cavium.com>
9576 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
9578 (__frame_dummy_init_array_entry): Likewise.
9580 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
9582 Forward-port from gcc-4_6-branch r181936 2011-12-02.
9586 * config/avr/lib1funcs.S (__prologue_saves__,
9587 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
9588 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
9590 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
9592 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
9594 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9597 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
9598 (_ITM_deregisterTMCloneTable): Likewise.
9599 (__register_frame_info): Fix unused warning.
9600 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
9601 pthread_default_stacksize_np): Likewise.
9602 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
9604 2011-11-29 DJ Delorie <dj@redhat.com>
9606 * config.host (rl78-*-elf): New case.
9607 * config/rl78: New directory for the Renesas RL78.
9609 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
9611 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
9614 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9617 * config/rs6000/t-savresfgpr: New file.
9618 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
9619 $(srcdir)/config/rs6000/eabi.S.
9620 * config/rs6000/t-ppccomm-ldbl: Remove.
9621 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
9623 (powerpc-*-eabispe*): Likewise.
9624 (powerpc-*-eabi*): Likewise.
9625 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9626 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
9627 to tmake_file, remove rs6000/t-ppccomm-ldbl.
9628 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
9630 (powerpc-*-eabisim*): Likewise.
9631 (powerpc-*-elf*): Likewise.
9632 (powerpc-*-eabialtivec*): Likewise.
9633 (powerpc-xilinx-eabi*): Likewise.
9634 (powerpc-*-rtems*): Likewise.
9635 (powerpcle-*-elf*): Likewise.
9636 (powerpcle-*-eabisim*): Likewise.
9637 (powerpcle-*-eabi*): Likewise.
9639 2011-11-27 Ian Lance Taylor <iant@google.com>
9641 * generic-morestack.c (__splitstack_find): Check for NULL old
9643 (__splitstack_resetcontext): New function.
9644 (__splitstack_releasecontext): New function.
9645 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9647 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9649 * config/darwin-crt-tm.c: Correct comments, use correct licence.
9651 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9653 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
9655 2011-11-26 Richard Henderson <rth@redhat.com>
9657 * config/m68k/linux-atomic.c: New file.
9658 * config/m68k/t-linux: New file.
9659 * config.host (m68k-uclinux, m68k-linux): Use it.
9661 2011-11-26 Richard Henderson <rth@redhat.com>
9663 * crtstuff.c (__TMC_LIST__): Mark used not unused.
9664 (__TMC_END__): Only declare if hidden is available; in the definition,
9665 if hidden is unavailable add a null record.
9666 (deregister_tm_clones, register_tm_clones): New.
9667 (__do_global_dtors_aux, frame_dummy): Use them.
9668 (__do_global_dtors, __do_global_ctors_1): Likewise.
9670 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
9672 * config/darwin-crt-tm.c: New file.
9673 * config.host (darwin): Build crttms.o crttme.o to provide
9674 startup and shutdown for tm clones.
9675 * config/t-darwin (crttms.o): New build rule.
9676 (crttme.o): Likewise.
9678 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
9680 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
9683 2011-11-21 Richard Henderson <rth@redhat.com>
9685 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
9686 (__TMC_LIST__, __TMC_END__): New.
9687 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
9688 (__do_global_dtors): Likewise.
9689 (frame_dummy): Call _ITM_registerTMCloneTable.
9690 (__do_global_ctors_1): Likewise.
9692 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9694 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
9695 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9696 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
9697 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
9698 * config/i386/t-darwin64: Remove.
9699 * config/sh/t-netbsd (LIB2ADD): Remove.
9701 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
9704 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
9705 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
9706 * config/avr/lib1funcs.S (wmov): New assembler macro.
9707 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
9708 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
9709 (__udivmod64): New function.
9710 (__negdi2): New function.
9712 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
9714 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
9715 *-*-freebsd*aout*): Remove.
9717 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
9719 * static-object.mk (c_flags-$o): Save c_flags.
9720 ($(base)$(objext)): Use it.
9722 2011-11-18 Steve Ellcey <sje@cup.hp.com>
9724 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
9726 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
9729 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
9730 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
9733 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9735 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
9737 (aeabi_uidivmod): Likewise.
9738 (umodsi3): Likewise.
9740 (aeabi_idivmod): Likewise.
9743 2011-11-16 Tristan Gingold <gingold@adacore.com>
9745 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
9747 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
9750 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
9751 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
9753 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9755 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
9757 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
9758 * config/pa/t-stublib64: Delete.
9760 2011-11-12 Richard Henderson <rth@redhat.com>
9762 * config/rs6000/linux-unwind.h (frob_update_context): Properly
9763 cast the pointer argument to _Unwind_SetGRPtr.
9765 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9767 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
9769 2011-11-09 Ian Lance Taylor <iant@google.com>
9771 * generic-morestack.c: Include <string.h>.
9772 (uintptr_type): Define.
9773 (struct initial_sp): Add dont_block_signals field. Reduce size of
9775 (allocate_segment): Set prev field to NULL. Don't set
9776 __morestack_current_segment or __morestack_segments.
9777 (__generic_morestack): Update current->prev and *pp after calling
9779 (__morestack_block_signals): Don't do anything if
9780 dont_block_signals is set.
9781 (__morestack_unblock_signals): Likewise.
9782 (__generic_findstack): Check for initial_sp == NULL. Add casts to
9784 (__splitstack_block_signals): New function.
9785 (enum __splitstack_content_offsets): Define.
9786 (__splitstack_getcontext, __splitstack_setcontext): New functions.
9787 (__splitstack_makecontext): New function.
9788 (__splitstack_block_signals_context): New function.
9789 (__splitstack_find_context): New function.
9790 * config/i386/morestack.S (__morestack_get_guard): New function.
9791 (__morestack_set_guard, __morestack_make_guard): New functions.
9792 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9794 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9796 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
9797 (i[34567]86-*-mingw*): ... here.
9798 (x86_64-*-mingw*): ... here.
9800 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9802 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
9804 2011-11-07 Nathan Sidwell <nathan@acm.org>
9806 * libgcov.c (struct gcov_fn_buffer): New struct.
9807 (buffer_fn_data): New helper.
9808 (gcov_exit): Rework for new gcov data structures.
9810 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
9813 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
9815 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9817 * config.host (tmake_file): Correct comment.
9818 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
9820 (bfin*-uclinux*): Likewise.
9821 (bfin*-linux-uclibc*): Likewise.
9822 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
9824 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
9826 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9827 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
9828 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9829 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
9830 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9831 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
9832 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
9833 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9834 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
9835 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
9836 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
9837 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
9838 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
9840 * config/bfin/t-elf: Remove.
9841 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
9843 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9845 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
9846 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
9847 (lm32-*-elf*, lm32-*-rtems*): Split into ...
9848 (lm32-*-elf*): ... this.
9849 (lm32-*-rtems*): ... and this.
9851 (m32r-*-rtems*): Add to tmake_file.
9852 (moxie-*-rtems*): Likewise.
9853 (sparc-*-rtems*): Likewise.
9854 Remove t-rtems from tmake_file.
9855 (sparc64-*-rtems*): Likewise.
9856 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
9859 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9862 * config/gthr-posix.h: Move ...
9863 * gthr-posix.h: ... here.
9864 * config/gthr-lynx.h: Reflect this.
9865 * config/gthr-vxworks.h: Likewise.
9866 * config/rs6000/gthr-aix.h: Likewise.
9867 * configure.ac (target_thread_file): Likewise.
9868 * configure: Regenerate.
9870 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
9872 * config.host (arm*-*-rtemseabi*): New target.
9874 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9877 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
9880 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
9882 * config.host (epiphany-*-elf*): New configuration.
9883 * config/epiphany: New Directory.
9885 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
9887 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
9888 * config/avr/t-rtems: New.
9889 Filter out _exit from LIB1ASMFUNCS.
9891 2011-11-04 David S. Miller <davem@davemloft.net>
9893 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
9894 * configure: Rebuild.
9896 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9898 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
9901 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
9904 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
9905 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
9907 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
9910 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
9912 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9914 * config/c6x/t-elf (LIB2ADDEH): Set.
9915 * config/c6x/t-c6x-elf: Remove.
9917 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9919 * config/i386/sol2-ci.S: Rename to ...
9920 * config/i386/crti.S: ... this.
9921 * config/i386/sol2-cn.S: Rename to ...
9922 * config/i386/crtn.S: ... this.
9923 * config/sparc/sol2-ci.S: Rename to ...
9924 * config/sparc/crti.S: ... this.
9925 * config/sparc/sol2-cn.S: Rename to ...
9926 * config/sparc/crtn.S: ... this.
9927 * config/t-sol2 (CUSTOM_CRTIN): Remove.
9928 (crti.o, crtn.o): Remove.
9930 2011-11-04 Tristan Gingold <gingold@adacore.com>
9932 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
9934 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
9936 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
9938 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
9940 * config.host (crisv32-*-none, cris-*-none): Remove.
9941 (crisv32-*-elf): Append to tmake_file, don't just set it.
9942 (cris-*-elf): Add missing t-fdpbit to tmake_file.
9944 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9946 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
9947 (ecrtn$(objext)): Likewise.
9948 (ncrti$(objext)): Likewise.
9949 (ncrtn$(objext)): Likewise.
9951 2011-11-03 Andreas Schwab <schwab@redhat.com>
9953 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
9955 2011-11-02 David S. Miller <davem@davemloft.net>
9957 * configure.ac: Set host_address on sparc too.
9958 * configure: Regenerate.
9959 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
9960 based upon host_address.
9961 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
9963 2011-11-02 Jason Merrill <jason@redhat.com>
9965 * config/rs6000/t-ppccomm: Add missing \.
9967 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9969 * gthr-single.h, gthr.h: New files.
9970 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
9971 config/gthr-vxworks.h, config/i386/gthr-win32.h,
9972 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
9973 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
9974 * config/i386/gthr-win32.c: Include "gthr-win32.h".
9975 * configure.ac (thread_header): New variable.
9976 Set it depending on target_thread_file.
9977 (gthr-default.h): Link from $thread_header.
9978 * configure: Regenerate.
9979 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
9981 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9983 * configure.ac (tm_file_): New variable.
9984 Determine from tm_file.
9985 (tm_file, tm_defines): Substitute.
9986 * configure: Regenerate.
9987 * mkheader.sh: New file.
9988 * Makefile.in (clean): Remove libgcc_tm.h.
9989 ($(objects)): Depend on libgcc_tm.h.
9990 (libgcc_tm_defines, libgcc_tm_file): New variables.
9991 (libgcc_tm.h, libgcc_tm.stamp): New targets.
9992 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
9993 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
9994 ($(extra-parts)): Depend on libgcc_tm.h.
9995 * config.host (tm_defines, tm_file): New variable.
9996 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
9997 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
9998 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
9999 (avr-*-rtems*): Likewise.
10000 (avr-*-*): Likewise.
10001 (frv-*-elf): Likewise.
10002 (frv-*-*linux*): Likewise.
10003 (h8300-*-rtems*): Likewise.
10004 (h8300-*-elf*): Likewise.
10005 (i[34567]86-*-darwin*): Likewise.
10006 (x86_64-*-darwin*): Likewise.
10007 (rx-*-elf): Likewise.
10008 (tic6x-*-uclinux): Likewise.
10009 (tic6x-*-elf): Likewise.
10010 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
10011 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
10012 * config/i386/cygming-crtbegin.c: Likewise.
10013 * config/i386/cygming-crtend.c: Likewise.
10014 * config/ia64/fde-vms.c: Likewise.
10015 * config/ia64/unwind-ia64.c: Likewise.
10016 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10017 * config/rs6000/darwin-fallback.c: Likewise.
10018 * config/stormy16/lib2funcs.c: Likewise.
10019 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
10020 * crtstuff.c: Likewise.
10021 * dfp-bit.h: Likewise.
10022 * emutls.c: Likewise.
10023 * fixed-bit.c: Likewise.
10024 * fp-bit.c: Likewise.
10025 * generic-morestack-thread.c: Likewise.
10026 * generic-morestack.c: Likewise.
10027 * libgcc2.c: Likewise.
10028 * libgcov.c: Likewise.
10029 * unwind-dw2-fde-dip.c: Likewise.
10030 * unwind-dw2-fde.c: Likewise.
10031 * unwind-dw2.c: Likewise.
10032 * unwind-sjlj.c: Likewise.
10034 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10036 * configure.ac: Include ../config/picflag.m4.
10037 (GCC_PICFLAG): Call it.
10039 * configure: Regenerate.
10040 * Makefile.in (gcc_srcdir): Remove.
10041 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
10042 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
10043 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
10044 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
10045 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
10048 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
10049 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
10050 to refer to libgcc2.c.
10052 * config/darwin-64.c: New file.
10053 * config/darwin-crt3.c: Remove comment.
10054 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
10055 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
10056 config/udivmodsi4.c: New files.
10057 * config/memcmp.c, config/memcpy.c, config/memmove.c,
10058 config/memset.c: New files.
10059 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
10060 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
10061 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
10062 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
10063 * config/t-openbsd-thread: New file.
10064 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
10065 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
10066 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
10067 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
10070 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
10071 to refer to gthr-posix.c.
10072 * config/alpha/t-vms (LIB2ADD): Set.
10073 * config/alpha/vms-gcc_shell_handler.c: New file.
10074 * config/arm/bpabi.c, config/arm/fp16.c,
10075 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
10076 config/arm/unaligned-funcs.c: New files.
10077 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
10078 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10079 * config/arm/t-linux: Likewise.
10080 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
10081 * config/arm/t-netbsd: New file.
10082 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
10083 * config/arm/t-symbian (LIB2ADD_ST): Set.
10084 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
10085 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10086 * config/bfin/t-elf: New file.
10087 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
10088 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
10089 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
10090 config/c6x/ltf.c: New files.
10091 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
10092 (HOST_LIBGCC2_CFLAGS): Set.
10093 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
10094 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10095 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
10097 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
10098 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
10099 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
10100 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
10101 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
10103 * config/frv/t-frv (LIB2ADD): Set.
10104 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10105 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
10106 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
10107 config/h8300/popcounthi2.c: New files.
10108 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10109 * config/i386/gthr-win32.c: New file.
10110 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
10111 * config/i386/t-cygwin: Likewise.
10112 * config/i386/t-darwin, config/i386/t-darwin64,
10113 config/i386/t-gthr-win32, config/i386/t-interix: New files.
10114 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
10115 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10116 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10117 * config/ia64/quadlib.c: New file.
10118 * config/ia64/t-hpux (LIB2ADD): Set.
10119 * config/ia64/t-ia64: Add comment.
10120 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
10121 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10122 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
10123 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
10124 * config/m32c/t-m32c (LIB2ADD): Set.
10125 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10126 * config/m32r/t-m32r: Likewise.
10127 * config/m68k/fpgnulib.c: New file.
10128 * config/m68k/t-floatlib (LIB2ADD): Set.
10129 (xfgnulib.c): New target.
10130 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
10131 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
10132 * config/mep/t-mep (LIB2ADD): Set.
10133 * config/microblaze/divsi3.asm: Rename to divsi3.S.
10134 * config/microblaze/moddi3.asm: Rename to moddi3.S.
10135 * config/microblaze/modsi3.asm: Rename to modsi3.S.
10136 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
10137 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
10138 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
10139 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
10140 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
10141 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
10142 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
10144 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
10145 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
10146 * config/pa/fptr.c, config/pa/lib2funcs.S,
10147 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
10148 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10149 (LIB2ADD, LIB2ADD_ST): Set.
10150 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
10151 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
10153 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
10154 * config/pdp11/t-pdp11: New file.
10155 * config/picochip/libgccExtras/adddi3.S,
10156 config/picochip/libgccExtras/ashlsi3.S,
10157 config/picochip/libgccExtras/ashrsi3.S,
10158 config/picochip/libgccExtras/clzsi2.S,
10159 config/picochip/libgccExtras/cmpsi2.S,
10160 config/picochip/libgccExtras/divmod15.S,
10161 config/picochip/libgccExtras/divmodhi4.S,
10162 config/picochip/libgccExtras/divmodsi4.S,
10163 config/picochip/libgccExtras/lshrsi3.S,
10164 config/picochip/libgccExtras/parityhi2.S,
10165 config/picochip/libgccExtras/popcounthi2.S,
10166 config/picochip/libgccExtras/subdi3.S,
10167 config/picochip/libgccExtras/ucmpsi2.S,
10168 config/picochip/libgccExtras/udivmodhi4.S,
10169 config/picochip/libgccExtras/udivmodsi4.S: New files.
10170 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
10171 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
10172 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
10173 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
10174 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
10175 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
10176 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
10177 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
10179 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
10180 (HOST_LIBGCC2_CFLAGS): Set.
10181 * config/rs6000/t-darwin64: New file.
10182 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
10183 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
10184 * config/rs6000/t-ppccomm (LIB2ADD): Add
10185 $(srcdir)/config/rs6000/tramp.S.
10186 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
10187 Add $(srcdir)/config/rs6000/eabi.S.
10188 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
10189 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
10190 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
10191 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
10192 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
10193 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
10194 * config/rs6000/tramp.S: New file.
10195 * config/s390/t-tpf: Remove.
10196 * config/sh/linux-atomic.S: New file.
10197 * config/sh/t-linux (LIB2ADD): Set.
10198 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
10199 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10200 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
10202 (HOST_LIBGCC2_CFLAGS): Set.
10203 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10204 * config/spu/divmodti4.c, config/spu/divv2df3.c,
10205 config/spu/float_disf.c, config/spu/float_unsdidf.c,
10206 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
10207 config/spu/mfc_multi_tag_release.c,
10208 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
10209 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
10210 config/spu/multi3.c: New files.
10211 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
10212 (HOST_LIBGCC2_CFLAGS): Set.
10213 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
10214 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
10215 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
10216 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
10217 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
10218 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
10219 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
10220 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
10221 config/stormy16/umodsi3.c: New files.
10222 * config/xtensa/lib2funcs.S: New file.
10223 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10224 * config/xtensa/t-xtensa (LIB2ADD): Set.
10225 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
10226 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
10227 Add t-freebsd-thread to tmake_file for posix threads.
10228 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
10229 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
10230 (*-*-lynxos*): Likewise.
10231 (*-*-netbsd*): Likewise.
10232 (*-*-openbsd*): Likewise.
10233 Add t-openbsd-thread to tmake_file for posix threads.
10234 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
10235 (*-*-vxworks*): Set tmake_file.
10236 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10237 (alpha*-*-freebsd*): Likewise.
10238 (alpha*-*-netbsd*): Likewise.
10239 (alpha*-*-openbsd*): Likewise.
10240 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
10241 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10242 (alpha*-dec-*vms*): Likewise.
10243 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
10244 (bfin*-elf*): Add bfin/t-elf to tmake_file.
10245 (bfin*-uclinux*): Likewise.
10246 (bfin*-linux-uclibc*): Likewise.
10247 (crisv32-*-elf): Add cris/t-cris to tmake_file.
10248 (crisv32-*-none): Likewise.
10249 (cris-*-elf): Likewise.
10250 (cris-*-none): Likewise.
10251 (cris-*-linux*, crisv32-*-linux*): Likewise.
10252 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
10254 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
10256 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
10257 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
10258 (x86_64-*-elf*): Likewise.
10259 (i[34567]86-*-nto-qnx*): Likewise.
10260 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
10262 (x86_64-*-mingw*): Likewise.
10263 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
10264 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
10265 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10266 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10267 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
10269 (mipsisa64sr71k-*-elf*): Likewise.
10270 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10271 (mips-*-elf*, mipsel-*-elf*): Likewise.
10272 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10273 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10274 (mips*-*-rtems*): Likewise.
10275 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
10277 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
10278 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
10279 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
10280 (spu-*-elf*): Likewise.
10281 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
10283 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10285 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
10286 $(srcdir) to refer to $(LIB1ASMSRC).
10288 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
10289 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
10290 config/arm/lib1funcs.S: New files.
10291 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
10292 * config/arm/t-arm: New file.
10293 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
10294 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
10295 config/arm/t-strongarm-elf: New files.
10296 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
10297 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
10298 * config/avr/lib1funcs.S: New file.
10299 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10300 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
10301 * config/c6x/lib1funcs.S: New file.
10302 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10303 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
10304 * config/frv/lib1funcs.S: New file.
10305 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10306 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
10307 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
10308 * config/ia64/__divxf3.asm: Rename to ...
10309 * config/ia64/__divxf3.S: ... this.
10310 Adapt lib1funcs.asm filename.
10311 * config/ia64/_fixtfdi.asm: Rename to ...
10312 * config/ia64/_fixtfdi.S: ... this.
10313 Adapt lib1funcs.asm filename.
10314 * config/ia64/_fixunstfdi.asm: Rename to ...
10315 * config/ia64/_fixunstfdi.S: ... this.
10316 Adapt lib1funcs.asm filename.
10317 * config/ia64/_floatditf.asm: Rename to ...
10318 * config/ia64/_floatditf.S: ... this.
10319 Adapt lib1funcs.asm filename.
10320 * config/ia64/lib1funcs.S: New file.
10321 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
10322 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10323 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
10324 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
10325 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
10326 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
10327 * config/mep/lib1funcs.S: New file.
10328 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10329 * config/mips/mips16.S: New file.
10330 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10331 * config/pa/milli64.S: New file.
10332 * config/pa/t-linux, config/pa/t-linux64: New files.
10333 * config/picochip/lib1funcs.S: New file.
10334 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10335 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
10336 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
10337 * config/sh/t-netbsd: New file.
10338 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
10339 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
10340 * config/sh/t-sh64: New file.
10341 * config/sparc/lb1spc.S: New file.
10342 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
10344 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
10345 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
10346 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
10347 config/xtensa/lib1funcs.S: New files.
10348 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10349 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
10351 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
10352 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
10353 (arm*-*-linux*): Likewise.
10354 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
10355 arm*-*-linux-*eabi, add arm/t-linux otherwise.
10356 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
10357 (arm*-*-ecos-elf): Likewise.
10358 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10359 (arm*-*-rtems*): Likewise.
10360 (arm*-*-elf): Likewise.
10361 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
10362 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
10363 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
10364 (bfin*-uclinux*): Likewise.
10365 (bfin*-linux-uclibc*): Likewise.
10366 (bfin*-rtems*): Likewise.
10367 (bfin*-*): Likewise.
10368 (fido-*-elf): Merge into m68k-*-elf*.
10369 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
10370 (frv-*-*linux*): Add frv/t-frv to tmake_file.
10371 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
10372 (h8300-*-elf*): Likewise.
10373 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
10374 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
10375 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
10376 (i[34567]86-*-mingw*): Likewise.
10377 (x86_64-*-mingw*): Likewise.
10378 (i[34567]86-*-interix3*): Likewise.
10379 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
10380 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
10381 (m68k-*-elf*): Also handle fido-*-elf.
10382 Add m68k/t-floatlib to tmake_file.
10383 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
10384 (m68k-*-linux*): Likewise.
10385 (m68k-*-rtems*): Likewise.
10386 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
10387 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
10389 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
10390 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
10391 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
10392 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
10393 sh/t-netbsd to tmake_file.
10394 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
10395 (sh-*-rtems*): Add sh/t-sh to tmake_file.
10396 (sh-wrs-vxworks): Likewise.
10397 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
10399 (v850*-*-*): Add v850/t-v850 to tmake_file.
10400 (vax-*-linux*): Add vax/t-linux to tmake_file.
10401 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
10403 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10405 * crtstuff.c: New file.
10406 * Makefile.in (CRTSTUFF_CFLAGS): Define.
10407 (CRTSTUFF_T_CFLAGS): Define.
10408 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
10409 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
10410 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
10413 (crtbeginT.o): Use $(objext).
10414 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
10415 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
10416 (gcc-extra-parts): Remove.
10417 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
10419 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10420 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
10421 Add t-crtstuff-pic to tmake_file.
10422 (*-*-lynxos*): New case.
10423 Set tmake_file, extra_parts.
10424 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
10425 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
10426 *-*-netbsdelf[2-9]*.
10427 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
10428 (*-*-rtems*): Set extra_parts.
10429 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
10430 (*-*-uclinux*): New case.
10432 (*-*-vms*): New case.
10433 Set tmake_file, extra_parts.
10434 (*-*-elf): Set extra_parts.
10435 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
10436 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
10439 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
10441 (arm*-*-freebsd*): Add t-crtin to tmake_file.
10442 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
10443 (arm-wrs-vxworks): Append to tmake_file.
10445 (arm*-*-uclinux*): Set extra_parts.
10446 (arm*-*-ecos-elf): Likewise.
10447 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
10449 (arm*-*-rtems*): Set extra_parts.
10450 (arm*-*-elf): Likewise.
10451 (avr-*-rtems*): Clear extra_parts.
10452 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
10454 (bfin*-uclinux*): Likewise.
10455 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
10456 (bfin*-rtems*): Append to tmake_file.
10458 (bfin*-*): Likewise.
10459 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
10460 (crisv32-*-elf): ... this.
10461 (crisv32-*-none): ... this.
10462 (cris-*-elf, cris-*-none): New cases.
10463 Add cris/t-elfmulti to tmake_file.
10464 (fr30-*-elf): Append to tmake_file.
10466 (frv-*-elf): Append to tmake_file, add frv/t-frv.
10468 (h8300-*-rtems*): Append to tmake_file.
10470 (h8300-*-elf*): Likewise.
10471 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
10473 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
10475 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
10476 (x86_64-*-elf*): Likewise.
10477 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
10478 (x86_64-*-freebsd*): Likewise.
10479 (x86_64-*-netbsd*): Likewise.
10480 (i[34567]86-*-linux*): Likewise.
10481 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10482 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10483 (x86_64-*-linux*): Likewise.
10484 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10485 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
10488 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
10489 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
10490 Append to extra_parts, remove crtbegin.o, crtend.o.
10491 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
10492 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
10493 crtend.o, crtbeginS.o, crtendS.o.
10494 (ia64*-*-linux*): Comment extra_parts.
10495 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
10497 (iq2000*-*-elf*): Clear extra_parts.
10498 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
10499 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
10500 (m32r-*-elf*, m32r-*-rtems*): Split off ...
10501 (m32r-*-rtems*): ... this.
10502 Add m32r/t-m32r to tmake_file.
10503 (m68k-*-elf*): Add t-crtin to tmake_file.
10504 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
10505 (mcore-*-elf): Likewise.
10506 (microblaze*-*-*): Set extra_parts.
10507 (mips*-sde-elf*): New case.
10508 Set tmake_file, extra_parts.
10509 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10510 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10511 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
10514 (mipsisa64sr71k-*-elf*): Likewise.
10515 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10516 (mips-*-elf*, mipsel-*-elf*): Likewise.
10517 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10518 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
10519 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10520 (mips*-*-rtems*): Likewise.
10521 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
10522 (moxie-*-*): Split into ...
10523 (moxie-*-elf, moxie-*-uclinux*): ... this.
10524 Add to extra_parts, remove crtbegin.o, crtend.o.
10525 (moxie-*-rtems*): New case.
10528 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
10530 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10531 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
10534 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
10535 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
10537 (powerpc-*-eabisim*): Likewise.
10538 (powerpc-*-elf*): Likewise.
10539 (powerpc-*-eabialtivec*): Likewise.
10540 (powerpc-xilinx-eabi*): Likewise.
10541 (powerpc-*-eabi*): Likewise.
10542 (powerpc-*-rtems*): Likewise.
10543 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
10546 (powerpc-*-lynxos*): Add to tmake_file.
10547 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
10548 rs6000/t-crtstuff, t-crtstuff-pic.
10550 (powerpcle-*-eabisim*): Likewise.
10551 (powerpcle-*-eabi*): Likewise.
10552 (rx-*-elf): Remove extra_parts.
10553 (s390x-ibm-tpf*): Set extra_parts.
10554 (score-*-elf): Set extra_parts.
10555 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10556 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10557 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10558 (sh64l*-*-netbsd*): Split into ...
10559 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
10560 Add t-crtstuff-pic to tmake_file.
10562 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
10564 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
10565 (sparc-*-elf*): Remove t-crtin from tmake_file.
10566 Add to extra_parts, remove crtbegin.o, crtend.o.
10567 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
10568 (sparc64-*-linux*): Likewise.
10569 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
10570 Add to extra_parts, remove crtbegin.o, crtend.o.
10571 (sparc64-*-elf*): Remove t-crtin from tmake_file.
10572 Add to extra_parts, remove crtbegin.o, crtend.o.
10573 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
10574 Add to extra_parts, remove crtbegin.o, crtend.o.
10575 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
10576 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
10577 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
10579 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
10581 (tic6x-*-*): Change to ...
10582 (tic6x-*-elf): ... this.
10584 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
10586 (am33_2.0-*-linux*): Add comment.
10587 (mep*-*-*): Add mep/t-mep to tmake_file.
10589 * config/alpha/t-vms: New file.
10590 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
10591 * config/arm/crti.S, config/arm/crtn.S: New files.
10592 * config/bfin/crti.S, config/bfin/crtn.S: New files.
10593 * config/bfin/crtlibid.S: New file.
10594 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
10595 * config/c6x/crti.S, config/c6x/crtn.S: New files.
10596 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
10597 (crti.o, crtin.o): New rules.
10598 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10599 * config/c6x/t-uclinux: New file.
10600 * config/cris/t-elfmulti: New file.
10601 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
10602 * config/fr30/crti.S, config/fr30/crtn.S: New files.
10603 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
10604 * config/frv/t-frv: New file.
10605 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
10606 * config/h8300/crti.S, config/h8300/crtn.S: New files.
10607 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
10609 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
10610 refer to cygming-crtbegin.c, cygming-crtend.c.
10612 * config/i386/t-nto: New file.
10613 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
10614 * config/ia64/crti.S, config/ia64/crtn.S: New files.
10615 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
10616 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
10619 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10620 (crtinitS.o): New rule.
10621 * config/ia64/vms-crtinit.S: New file.
10622 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
10623 * config/m32r/initfini.c: New file.
10624 * config/m32r/t-linux, config/m32r/t-m32r: New files.
10625 * config/m68k/crti.S, config/m68k/crtn.S: New files.
10626 * config/mcore/crti.S, config/mcore/crtn.S: New files.
10627 * config/mep/t-mep: New file.
10628 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
10629 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
10630 * config/mips/crti.S, config/mips/crtn.S: New files.
10631 * config/mips/t-crtstuff: New file.
10632 * config/mmix/crti.S, config/mmix/crtn.S: New files.
10633 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
10634 (CUSTOM_CRTIN): Set.
10635 ($(T)crti.o, $(T)crtn.o): Remove $(T),
10637 Use $(srcdir) to refer to crti.S, crtn.S.
10638 Use .S extension, $<.
10639 * config/moxie/crti.asm: Rename to ...
10640 * config/moxie/crti.S: ... this.
10641 * config/moxie/crtn.asm: Rename to ...
10642 * config/moxie/crtn.S: ... this.
10643 * config/moxie/t-moxie: Remove.
10644 * config/pa/stublib.c: New file.
10645 * config/pa/t-stublib, config/pa/t-stublib64: New files.
10646 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
10647 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
10648 * config/rs6000/t-crtstuff: New file.
10649 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
10650 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
10651 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
10652 Make output file explicit.
10653 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
10654 Make output file explicit.
10655 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
10656 Make output file explicit.
10657 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
10658 Make output file explicit.
10659 * config/score/crti.S, config/score/crtn.S: New files.
10660 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
10661 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
10663 * config/sh/t-sh, config/sh/t-superh: New files.
10664 * config/sparc/t-linux64: New file.
10665 * config/spu/cache.S, config/spu/cachemgr.c: New files.
10666 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
10667 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
10668 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
10669 * config/t-crtin: Remove.
10670 * config/t-crtstuff-pic: New file.
10671 * config/t-sol2 (CUSTOM_CRTIN): Set.
10672 (crti.o, crtn.o): New rules.
10673 * config/vms/t-vms: New file.
10674 * config/vms/vms-ucrt0.c: New file.
10675 * config/xtensa/t-elf: New file.
10677 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10679 * Makefile.in (SHLIB_NM_FLAGS): Set.
10680 * mkmap-flat.awk, mkmap-symver.awk: New files.
10681 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
10683 * configure: Regenerate.
10684 * config/libgcc-glibc.ver: New file.
10685 * config/libgcc-libsystem.ver: New file.
10686 * config/t-libunwind (SHLIB_LC): Set.
10687 * config/t-linux: New file.
10688 * config/t-slibgcc (INSTALL_SHLIB): New.
10689 (SHLIB_INSTALL): Use it.
10690 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
10691 to mkmap-symver.awk.
10692 (SHLIB_MAPFILES): Don't append, adapt pathname.
10693 (SHLIB_VERPFX): Set.
10694 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
10695 to mkmap-symver.awk.
10696 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
10697 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
10698 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
10699 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
10701 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
10702 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
10703 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
10704 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
10705 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
10706 * config/i386/libgcc-darwin.10.4.ver,
10707 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
10709 * config/i386/t-darwin: Remove.
10710 * config/i386/t-darwin64: Likewise.
10711 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
10712 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
10713 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
10714 * config/i386/t-linux: New file.
10715 * config/i386/t-mingw32: New file.
10716 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
10717 * config/ia64/t-glibc: Rename to ...
10718 * config/ia64/t-linux: ... this.
10719 (SHLIB_MAPFILES): Set.
10720 * config/ia64/t-glibc-libunwind: Rename to ...
10721 * config/ia64/t-linux-libunwind: ... this.
10722 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
10723 * config/ia64/t-slibgcc-hpux: New file.
10724 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
10725 * config/m68k/t-slibgcc-elf-ver: New file.
10726 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
10727 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
10729 * config/pa/t-slibgcc-hpux: New file.
10730 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
10732 * config/rs6000/libgcc-darwin.10.4.ver,
10733 config/rs6000/libgcc-darwin.10.5.ver: New files.
10734 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
10735 config/rs6000/libgcc-glibc.ver.
10736 * config/rs6000/libgcc-ppc64.ver: Rename to
10737 config/rs6000/libgcc-ibm-ldouble.ver.
10738 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
10739 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
10740 * config/rs6000/t-ldbl128: Rename to ...
10741 * config/rs6000/t-linux: ... this.
10742 (SHLIB_MAPFILES): Adapt filename.
10743 * config/rs6000/t-slibgcc-aix: New file.
10744 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
10745 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
10746 libgcc-excl.ver, libgcc-glibc.ver.
10747 (SHLIB_LINK, SHLIB_INSTALL): Remove.
10748 * config/sparc/libgcc-glibc.ver: New file.
10749 * config/sparc/t-linux: New file.
10750 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
10751 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
10752 t-slibgcc-elf-ver to tmake_file.
10753 Add t-slibgcc-nolc-override to tmake_file for posix threads on
10755 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10756 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
10757 t-slibgcc-elf-ver, t-linux to tmake_file.
10758 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
10760 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
10761 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
10762 (alpha*-dec-*vms*): Likewise.
10763 (arm*-*-freebsd*): Append to tmake_file.
10764 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
10765 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
10766 arm*-*-linux-*eabi.
10767 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
10768 tmake_file for arm*-*-symbianelf*.
10769 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
10770 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
10772 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
10773 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
10774 pa/t-slibgcc-dwarf-ver to tmake_file.
10775 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
10776 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
10777 (hppa*64*-*-hpux11*): Likewise.
10778 (hppa[12]*-*-hpux11*): Likewise.
10779 (x86_64-*-darwin*): Don't override tmake_file, but only keep
10780 i386/t-crtpc, i386/t-crtfm.
10781 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
10782 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10784 Add i386/t-cygwin to tmake_file.
10785 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
10786 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
10787 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10789 Add i386/t-mingw32 to tmake_file.
10790 (x86_64-*-mingw*): Likewise.
10791 (ia64*-*-freebsd*): Append to tmake_file.
10792 (ia64*-*-linux*): Append to tmake_file.
10793 Replace ia64/t-glibc by ia64/t-linux.
10794 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
10796 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
10797 t-slibgcc-hpux to tmake_file.
10798 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
10799 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
10800 (m32rle-*-linux*): Likewise.
10801 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
10803 (microblaze*-linux*): New case.
10804 Append to tmake_file, add t-slibgcc-nolc-override.
10805 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
10806 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10807 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
10808 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10809 rs6000/t-slibgcc-aix to tmake_file.
10810 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10811 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10812 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10813 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10814 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10815 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
10817 (sparc-*-linux*): Append to tmake_file for *-leon*.
10818 Add sparc/t-linux to tmake_file for non-Leon targets.
10819 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
10820 (tic6x-*-uclinux): New case.
10821 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
10822 (tic6x-*-*): Add c6x/t-elf to tmake_file.
10823 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
10824 (am33_2.0-*-linux*): Append to tmake_file.
10825 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
10826 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
10827 x86_64-*-kfreebsd*-gnu.
10828 Add i386/t-linux to tmake_file.
10830 2011-10-28 Ian Lance Taylor <iant@google.com>
10832 * config/i386/morestack.S: Correct CFI information to do proper
10833 returns throughout function. In 32-bit mode, save %ebx so that it
10834 is restored on unwind.
10836 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
10838 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
10839 case where B3 isn't the return register.
10841 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
10842 logic for doubleword pops.
10844 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
10846 * config/rs6000/t-freebsd: Add wildcard.
10848 2011-10-21 Paul Brook <paul@codesourcery.com>
10850 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
10852 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
10853 Eric Botcazou <ebotcazou@adacore.com>
10856 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
10857 fs->signal_frame to 1.
10859 2011-10-07 Ian Lance Taylor <iant@google.com>
10861 * generic-morestack-thread.c: #include <errno.h>.
10863 2011-10-07 Ian Lance Taylor <iant@google.com>
10866 * generic-morestack.c (__generic_morestack): Make sure the segment
10867 is large enough for both the stack frame and the copied
10870 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10873 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
10876 2011-09-28 Nick Clifton <nickc@redhat.com>
10878 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
10879 64-bit doubles are not enabled.
10880 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
10881 and floatunsisf functions.
10883 2011-09-13 Paul Brook <paul@codesourcery.com>
10885 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
10886 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
10887 * unwind-arm-common.inc: New file.
10888 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
10889 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
10890 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
10891 * config/c6x/libunwind.S: New file.
10892 * config/c6x/pr-support.c: New file.
10893 * config/c6x/unwind-c6x.c: New file.
10894 * config/c6x/unwind-c6x.h: New file.
10895 * config/c6x/t-c6x-elf: New file.
10897 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
10899 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
10900 (ASM_DIVZERO): Ditto.
10901 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
10903 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
10905 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
10907 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
10910 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
10911 instead of an assembly one.
10913 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
10916 * Makefile.in (install-unwind_h): Create
10917 $(gcc_objdir)/include/unwind.h atomically.
10919 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10921 * Makefile.in (install-unwind_h): Remove destination file first.
10923 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10925 * sync.c: New file.
10926 * config/mips/t-mips16: New file.
10927 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
10928 (mips*-*-linux*): Likewise.
10929 (mips*-sde-elf*): Likewise.
10930 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
10931 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
10932 Add mips/t-mips16 to tmake_file.
10933 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
10934 (mips-*-elf*): Likewise.
10935 (mips64-*-elf*): Likewise.
10936 (mips64orion-*-elf*): Likewise.
10937 (mips*-*-rtems*): Likewise.
10938 (mipstx39-*-elf*): Likewise.
10939 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
10940 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
10941 LIBGCC_SYNC_CFLAGS.
10942 Use $(srcdir) to refer to sync.c.
10944 ($(libgcc-sync-funcs-o)): Likewise.
10945 ($(libgcc-sync-size-funcs-s-o)): Likewise.
10946 ($(libgcc-sync-funcs-s-o)): Likewise.
10948 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
10950 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
10953 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
10956 * config/i386/value-unwind.h: New.
10958 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
10960 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
10961 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
10962 Add to tmake_file rather than overriding it.
10964 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10966 * config/t-softfp: Remove.
10967 * soft-fp: Moved from ../gcc/config.
10968 * soft-fp/README: Remove t-softfp reference.
10969 * soft-fp/t-softfp: Move to config/t-softfp.
10970 (softfp_machine_header): Remove.
10971 (softfp_file_list): Remove config subdir.
10972 (soft-fp-objects): New variable.
10973 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
10974 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
10975 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
10976 * config/t-softfp-excl: New file.
10977 * config/t-softfp-sfdf: New file.
10978 * config/t-softfp-tf: New file.
10979 * config/no-sfp-machine.h: New file.
10980 * config/arm/sfp-machine.h: New file.
10981 * config/arm/t-softfp: New file.
10982 * config/c6x/sfp-machine.h: New file.
10983 * config/i386/32/t-fprules-softfp: Rename to ...
10984 * config/i386/32/t-softfp: ... this.
10985 (tifunctions, LIB2ADD): Remove.
10986 (softfp_int_modes): Override.
10987 * config/i386/64/t-softfp-compat (tf-functions): Remove config
10989 * config/i386/64/eqtf2.c: Likewise.
10990 * config/i386/64/getf2.c: Likewise.
10991 * config/i386/64/letf2.c: Likewise.
10992 * config/ia64/sft-machine.h: New file.
10993 * config/ia64/t-fprules-softfp: Rename to ...
10994 * config/ia64/t-softfp: ... this.
10995 * config/lm32/sfp-machine.h: New file.
10996 * config/moxie/t-moxie-softfp: Remove.
10997 * config/rs6000/ibm-ldouble-format: New file.
10998 * config/rs6000/ibm-ldouble.c: New file.
10999 * config/rs6000/libgcc-ppc-glibc.ver: New file
11000 * config/rs6000/libgcc-ppc64.ver: New file
11001 * config/rs6000/sfp-machine.h: New file.
11002 * config/rs6000/t-freebsd: New file.
11003 * config/rs6000/t-ibm-ldouble: New file.
11004 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
11005 libgcc-ppc-glibc.ver.
11006 * config/rs6000/t-linux64: New file.
11007 * config/rs6000/t-ppccomm (LIB2ADD): Add
11008 $(srcdir)/config/rs6000/ibm-ldouble.c.
11009 * config/rs6000/t-ppccomm-ldbl: New file.
11010 * config/score/sfp-machine.h: New file.
11011 * config.host (sfp_machine_header): Explain.
11012 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
11013 t-softfp to tmake_file.
11014 (arm*-*-uclinux*): Likewise.
11015 (arm*-*-ecos-elf): Likewise.
11016 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11017 (arm*-*-rtems*): Likewise.
11018 (arm*-*-elf): Likewise.
11019 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
11021 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
11022 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
11023 (lm32-*-uclinux*): Likewise.
11024 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
11025 t-softfp-excl, t-softfp.
11026 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
11027 (powerpc64-*-darwin*): Likewise.
11028 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
11030 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
11032 (powerpc-*-eabisim*): Likewise.
11033 (powerpc-*-elf*): Likewise.
11034 (powerpc-*-eabialtivec*): Likewise.
11035 (powerpc-xilinx-eabi*): Likewise.
11036 (powerpc-*-rtems*): Likewise.
11037 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
11038 t-softfp-excl, t-softfp to tmake_file.
11039 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
11040 rs6000/t-ppccomm-ldbl to tmake_file.
11041 (powerpcle-*-elf*): Likewise.
11042 (powerpcle-*-eabisim*): Likewise.
11043 (powerpcle-*-eabi*): Likewise.
11044 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11045 rs6000/t-ibm-ldouble to tmake_file.
11046 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11047 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11048 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
11049 (tic6x-*-*): Likewise.
11050 (i[34567]86-*-darwin*, x86_64-*-darwin*,
11051 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
11052 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
11053 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
11054 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
11055 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
11056 t-softfp to tmake_file.
11057 * configure.ac (sfp_machine_header): Provide default if unset.
11059 Link sfp-machine.h to config/$sfp_machine_header.
11060 * configure: Regenerate.
11062 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11064 * Makefile.in (double_type_size, long_double_type_size): Set.
11065 Remove $(fpbit-in-libgcc) support.
11066 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
11067 (fpbit-src): New variable.
11068 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
11069 Compile with -DFLOAT $(FPBIT_CFLAGS).
11071 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
11072 Compile with $(FPBIT_CFLAGS).
11074 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
11075 Compile with -DFLOAT $(TPBIT_CFLAGS).
11077 * configure.ac (double_type_size, long_double_type_size):
11078 Determine and substitute.
11079 * configure: Regenerate.
11080 * fp-bit.c, fp-bit.h: New files.
11081 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
11082 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
11083 * config/mips/t-mips: New file.
11084 * config/mips/t-sdemtk: New file.
11085 * config/rs6000/ppc64-fp.c: New file.
11086 * config/rs6000/t-darwin (LIB2ADD): Add
11087 $(srcdir)/config/rs6000/ppc64-fp.c.
11088 * config/rs6000/t-ppc64-fp: New file.
11089 * config/rx/rx-lib.h: New file.
11090 * config/rx/t-rx (FPBIT): Set to true.
11091 ($(gcc_objdir)/fp-bit.c): Remove.
11092 (DPBIT): Set to true only with -m64bit-doubles.
11093 ($(gcc_objdir)/dp-bit.c): Remove.
11094 * config/sparc/t-softfp: Remove.
11095 * config/spu/t-elf: New file.
11096 * config/t-fdpbit, config/t-fpbit: New files.
11097 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
11098 (mips*-*-*): Likewise.
11099 (arm-wrs-vxworks): Likewise.
11100 (arm*-*-freebsd*): Likewise.
11101 (avr-*-rtems*): Add t-fpbit to tmake_file.
11102 (avr-*-*): Likewise.
11103 (bfin*-elf*): Add t-fdpbit to tmake_file.
11104 (bfin*-uclinux*): Likewise.
11105 (bfin*-linux-uclibc*): Likewise.
11106 (bfin*-rtems*): New case.
11107 Add t-fdpbit to tmake_file.
11108 (bfin*-*): Add t-fdpbit to tmake_file.
11109 (crisv32-*-elf): Likewise.
11110 (cris-*-linux*): Likewise.
11111 (fr30-*-elf): Likewise.
11112 (frv-*-elf, frv-*-*linux*): Likewise.
11113 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
11114 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
11115 (m32r-*-elf*): Likewise.
11116 (m32rle-*-elf*): Likewise.
11117 (m32r-*-linux*): Likewise.
11118 (m32rle-*-linux*): Likewise.
11119 (mcore-*-elf): Add t-fdpbit to tmake_file.
11120 (microblaze*-*-*): Likewise.
11121 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
11122 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
11123 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
11125 Add mips/t-tpbit to tmake-file.
11126 (mips*-*-linux*): Fix typo.
11127 (mips*-sde-elf*): New case
11128 Add mips/t-sdemtk unless using newlib.
11129 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
11130 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
11131 (mn10300-*-*): Likewise.
11132 (pdp11-*-*): Likewise.
11133 (picochip-*-*): Add t-fpbit to tmake_file.
11134 (powerpc-*-eabisimaltivec*): Likewise.
11135 (powerpc-*-eabisim*): Likewise.
11136 (powerpc-*-elf*): Likewise.
11137 (powerpc-*-eabialtivec*): Likewise.
11138 (powerpc-xilinx-eabi*): New case.
11139 Add t-fdpbit to tmake_file.
11140 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
11141 (powerpc-*-rtems*): Likewise.
11142 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
11144 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
11146 (powerpc-*-lynxos*): Likewise.
11147 (powerpcle-*-elf*): Likewise.
11148 (powerpcle-*-eabisim*): Likewise.
11149 (powerpcle-*-eabi*): Likewise.
11150 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11151 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
11152 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11153 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11154 (rx-*-elf): Add t-fdpbit to tmake_file.
11155 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11156 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11157 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11158 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
11160 (sh-*-rtems*): Add t-fdpbit to tmake_file.
11161 (sh-wrs-vxworks): Likewise.
11162 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
11163 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
11164 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
11165 (sparc64-*-rtems*): ... new case.
11166 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
11167 (spu-*-elf*): Likewise.
11168 Add spu/t-elf to tmake_file.
11169 (v850*-*-*): Add t-fdpbit to tmake_file.
11170 (xstormy16-*-elf): Likewise.
11171 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
11172 (mep*-*-*): Likewise.
11174 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11176 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
11178 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
11179 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
11180 (install-unwind_h): New target.
11181 (all): Depend on it.
11182 * config.host (unwind_header): New variable.
11183 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
11184 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11185 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
11186 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
11187 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
11189 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
11191 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
11193 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
11195 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
11196 (ia64*-*-freebsd*): Likewise.
11197 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
11199 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
11200 $with_system_libunwind.
11201 (ia64*-*-hpux*): Set tmake_file.
11202 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
11203 (picochip-*-*): Set tmake_file.
11204 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
11206 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11207 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11208 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
11209 (xtensa*-*-elf*): Set tmake_file.
11210 (xtensa*-*-linux*): Likewise.
11211 * configure.ac: Include ../config/unwind_ipinfo.m4.
11212 Call GCC_CHECK_UNWIND_GETIPINFO.
11213 Link unwind.h to $unwind_header.
11214 * configure: Regenerate.
11215 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
11216 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
11217 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
11218 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
11219 * config/unwind-dw2-fde-darwin.c: New file.
11220 * config/arm/libunwind.S, config/arm/pr-support.c,
11221 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
11222 config/arm/unwind-arm.h,: New files.
11223 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
11224 config/ia64/t-eh-ia64, config/ia64/t-glibc,
11225 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
11226 config/ia64/t-vms, config/ia64/unwind-ia64.c,
11227 config/ia64/unwind-ia64.h: New files.
11228 * config/picochip/t-picochip: New file.
11229 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
11231 * config/rs6000/t-darwin (LIB2ADDEH): Set.
11232 * config/s390/t-tpf (LIB2ADDEH): Remove.
11233 * config/t-darwin (LIB2ADDEH): Set.
11234 * config/t-eh-dw2-dip: New file.
11235 * config/t-libunwind, config/t-libunwind-elf: New files.
11236 * config/t-sol2 (LIB2ADDEH): Remove.
11237 * config/xtensa/t-xtensa: New file.
11239 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
11241 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
11242 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
11243 long long to check rt_sigreturn syscall.
11245 2011-08-02 Alan Modra <amodra@gmail.com>
11247 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11248 Restore for indirect call bcrtl from correct stack slot, and only
11249 if cfa+40 isn't valid.
11251 2011-08-01 Julian Brown <julian@codesourcery.com>
11253 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
11254 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
11255 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
11257 2011-08-01 Julian Brown <julian@codesourcery.com>
11259 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
11260 (libgcc-std.ver.in): Use above.
11261 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
11262 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
11264 * config/t-fixedpoint-gnu-prefix: New file.
11265 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
11266 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
11267 instead of __PFX__.
11269 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
11271 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
11272 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
11273 for x86-64. Properly check __x86_64__ and __LP64__.
11275 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
11277 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
11279 (_FP_WS_TYPE): Likewise.
11280 (_FP_I_TYPE): Likewise.
11282 2011-07-28 Alan Modra <amodra@gmail.com>
11284 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11285 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
11286 in a plt call stub. Do restore r2 if stopped on bctrl.
11288 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11290 * config.host (i[3456x]86-*-netware*): Remove.
11291 * config/i386/netware-crt0.c, config/i386/t-nwld,
11292 config/i386/t-slibgcc-nwld: Remove.
11294 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
11296 * config.host: Handle tic6x-*-*.
11297 * config/c6x/c6x-abi.h: New file.
11299 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11301 * config/i386/crtprec.c: New file.
11302 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
11303 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
11304 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
11305 (x86_64-*-darwin*): Likewise.
11306 (i[34567]86-*-solaris2*: Likewise.
11308 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11310 * config/alpha/crtfastmath.c: New file.
11311 * config/i386/crtfastmath.c: New file.
11312 * config/ia64/crtfastmath.c: New file.
11313 * config/mips/crtfastmath.c: New file.
11314 * config/sparc/crtfastmath.c: New file.
11316 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
11318 Add -frandom-seed=gcc-crtfastmath.
11319 * config/alpha/t-crtfm: Remove.
11320 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
11321 * config/ia64/t-ia64 (crtfastmath.o): Remove.
11323 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
11324 (alpha*-dec-osf5.1*): Likewise.
11325 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
11326 Add crtfastmath.o to extra_parts.
11327 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
11328 Add crtfastmath.o to extra_parts.
11329 (x86_64-*-darwin*): Likewise.
11330 (x86_64-*-mingw*): Likewise.
11331 (ia64*-*-elf*): Add t-crtfm to tmake_file.
11332 (ia64*-*-freebsd*): Likewise.
11333 (ia64*-*-linux*): Likewise.
11334 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
11335 Add crtfastmath.o to extra_parts.
11337 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11339 * config/darwin-crt3.o: New file.
11340 * config/rs6000/darwin-crt2.c: New file.
11341 * config/t-darwin: New file.
11342 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
11343 (crt2.o): New rule.
11344 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
11345 (powerpc-*-darwin*): Add crt2.o to extra_parts.
11346 (powerpc64-*-darwin*): Likewise.
11348 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11350 * config/i386/netware-crt0.c: New file.
11351 * config/i386/t-nwld: Rename to ...
11352 * config/i386/t-slibgcc-nwld: ... this.
11353 * config/i386/t-nwld: New file.
11354 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
11356 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
11359 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11361 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
11363 * configure: Regenerate.
11365 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11367 * dfp-bit.c, dfp-bit.h: New files.
11368 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
11370 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
11371 ($(d64pbit-o)): Likewise.
11372 ($(d128pbit-o)): Likewise.
11373 * config/t-dfprules: New file.
11374 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
11375 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
11376 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11377 (x86_64-*-linux*): Likewise.
11378 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11379 (i[34567]86-*-cygwin*): Likewise.
11380 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
11381 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11383 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11385 * Makfile.in (LIBGCOV): New variable.
11386 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
11387 * libgcov.c: New file.
11389 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11391 * fixed-bit.c, fixed-bit.h: New files.
11392 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
11393 refer to fixed-bit.c.
11395 2011-07-07 Joseph Myers <joseph@codesourcery.com>
11397 * config.host (*local*): Remove.
11399 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11402 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
11403 like i?86-*-solaris2.1[0-9]*.
11404 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
11405 * configure.ac (i?86-*-solaris2*): Likewise.
11406 * configure: Regenerate.
11408 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
11410 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11411 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
11412 md_unwind_header by splitting out of...
11413 (i[34567]86-*-linux*): ... this.
11414 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
11415 Remove md_unwind_header by splitting out of...
11416 (x86_64-*-linux*): ... this.
11418 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
11420 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
11422 2011-06-28 Nick Clifton <nickc@redhat.com>
11424 * config.host: Recognize all V850 variants.
11426 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
11428 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
11430 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11432 * shared-object.mk (c_flags-$o): Save c_flags.
11433 ($(base)$(objext)): Use it.
11434 ($(base)_s$(objext)): Likewise.
11436 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
11438 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
11439 * libgcc-std.ver.in (GCC_4.7.0): New section.
11441 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
11445 * config/avr/t-avr: Fix line endings.
11446 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
11449 2011-06-14 Olivier Hainque <hainque@adacore.com>
11450 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11452 * config/mips/irix6-unwind.h: New file.
11453 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
11455 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
11457 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
11458 (sparc64_fallback_frame_state): Use it.
11459 (sparc64_frob_update_context): Further adjust context.
11460 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
11461 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
11462 * config/sparc/sol2-cn.S: Likewise.
11464 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11466 * enable-execute-stack-empty.c: New file.
11467 * enable-execute-stack-mprotect.c: New file.
11468 * config/i386/enable-execute-stack-mingw32.c: New file.
11469 * config.host (enable_execute_stack): New variable.
11470 Select appropriate variants.
11471 * configure.ac: Link enable-execute-stack.c to
11472 $enable_execute_stack.
11473 * configure: Regenerate.
11474 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
11475 (lib2funcs): Remove _enable_execute_stack.
11477 2011-06-09 David S. Miller <davem@davemloft.net>
11478 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11480 * config.host (sparc-*-linux*): Correct md_unwind_header
11482 (s390x-ibm-tpf*): Fix typo.
11484 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11486 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
11487 Add crtfastmath.o to extra_parts.
11488 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
11490 * config/mips/t-crtfm: Remove.
11492 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
11494 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
11496 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
11498 * config.host (sh*-*-linux*): Fix typo.
11500 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11502 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
11503 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
11504 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
11505 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
11506 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
11507 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
11508 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
11509 Wrap in !__MINGW64__.
11510 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
11511 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
11512 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
11513 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
11514 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
11515 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
11516 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
11518 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
11519 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
11520 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
11521 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
11522 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
11523 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
11524 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
11525 * config/no-unwind.h: New file.
11526 * config.host (md_unwind_header): Document.
11528 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
11529 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
11530 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
11531 hppa[12]*-*-hpux11*): Set md_unwind_header.
11532 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
11533 Set md_unwind_header.
11534 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
11535 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
11536 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
11537 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
11538 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
11539 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
11540 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
11542 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
11543 * configure: Regenerate.
11545 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11547 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
11548 Set tmake_file, extra_parts.
11549 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
11550 Remove O32 support.
11551 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
11552 Remove O32 support.
11553 * config/mips/t-irix6: New file.
11554 * config/mips/t-slibgcc-irix: New file.
11556 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11558 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
11559 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
11561 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11563 * configure.ac (target_thread_file): Determine thread model.
11564 * configure: Regenerate.
11565 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
11566 * config/alpha/t-alpha: New file.
11567 * config/alpha/t-crtfm: Use $<.
11568 * config/alpha/t-ieee: New file.
11569 * config/alpha/t-osf-pthread: New file.
11570 * config/alpha/t-slibgcc-osf: New file.
11571 * config/alpha/libgcc-osf5.ver: New file.
11573 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11575 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
11577 Add crtfastmath.o to extra_parts.
11579 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11581 * config/gmon-sol2.c: Reindent.
11583 Remove, correct casts.
11584 Use STDERR_FILENO, NULL.
11585 (BASEADDRESS): Remove.
11587 (errno, sbrk): Remove declarations.
11588 (monstartup) [hp300]: Remove.
11591 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11593 * Makefile.in (cpu_type): Define.
11594 * config.host (i[34567]86-*-rtems*): Handle it.
11595 (i[34567]86-*-solaris2*): Move body ...
11596 (*-*-solaris2*): ... here.
11597 New case, generalize.
11598 (sparc-*-elf*): Handle it.
11599 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
11600 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
11601 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
11603 (sparc*-*-solaris2*): ... this.
11605 (sparc64-*-elf*): Handle it.
11606 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
11607 Merge ../gcc/config/i386/gmon-sol2.c.
11608 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
11610 Merge ../gcc/config/i386/sol2-gc1.asm.
11611 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
11613 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
11615 * config/i386/t-crtfm (crtfastmath.o): Use $<.
11616 * config/i386/t-crtstuff: New file.
11617 * config/i386/t-softfp: New file.
11618 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
11619 $(T)crti.o, $(T)crtn.o): Remove.
11620 (gcrt1.o): New rule.
11621 (TARGET_LIBGCC2_CFLAGS): Remove.
11622 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
11623 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
11624 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
11625 * config/sparc/t-sol2: New file.
11626 * config/sparc/t-crtfm: Move to ...
11627 * config/t-crtfm: ... this.
11628 Use $(cpu_type), $<.
11629 * config/t-crtin: New file.
11630 * config/sparc/t-softfp: New file.
11631 * config/sparc/t-softmul: New file.
11632 * config/t-rtems: New file.
11633 * config/t-slibgcc: New file.
11634 * config/t-slibgcc-elf-ver: New file.
11635 * config/t-slibgcc-gld: New file.
11636 * config/t-slibgcc-sld: New file.
11637 * config/t-sol2: New file.
11638 * configure.ac: Include ../config/lib-ld.m4.
11639 Call AC_LIB_PROG_LD_GNU.
11640 Substitute cpu_type.
11641 * configure: Regenerate.
11643 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
11646 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
11647 libgcc-std.ver in the build directory.
11648 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
11649 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
11651 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
11653 * libgcc-std.ver.in: New file.
11654 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
11656 (libgcc-std.ver): New rule.
11657 * config/t-gnu-prefix: New file.
11659 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11661 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
11663 2011-05-10 Joseph Myers <joseph@codesourcery.com>
11665 * config/i386/darwin-lib.h: New file.
11667 2011-05-10 Joseph Myers <joseph@codesourcery.com>
11669 * config/arm/symbian-lib.h: New.
11671 2011-05-04 Chris Demetriou <cgd@google.com>
11673 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
11674 (__x86.get_pc_thunk.bx): ...this.
11675 (__morestack): Adjust for rename, remove undef of __i686.
11677 2011-05-03 Chris Demetriou <cgd@google.com>
11679 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
11681 2011-03-22 Joseph Myers <joseph@codesourcery.com>
11683 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
11684 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
11685 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
11686 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
11687 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
11690 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
11692 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
11693 Adjust copyright year.
11695 2011-03-07 Ian Lance Taylor <iant@google.com>
11697 * generic-morestack.c (__splitstack_find): Adjust returned stack
11698 pointer to include all registers pushed by __morestack.
11700 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
11703 * configure.ac: Call ACX_NONCANONICAL_TARGET.
11704 (toolexecdir): Calculate and AC_SUBST.
11705 (toolexeclibdir): Likewise.
11706 * Makefile.in (target_noncanonical): Import.
11707 (toolexecdir): Likewise.
11708 (toolexeclibdir): Likewise.
11709 * configure: Regenerate.
11711 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
11714 * config/arm/bpabi.h: Rename to...
11715 * config/arm/bpabi-lib.h: ...this.
11717 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11719 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
11721 * configure: Regenerate.
11723 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
11725 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
11726 __FLOAT_WORD_ORDER__.
11727 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
11730 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11733 * Makefile.in (install-strip): New phony target.
11735 2010-11-07 Ian Lance Taylor <iant@google.com>
11738 * config/i386/morestack.S (__morestack_large_model): New
11741 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
11743 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
11745 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
11747 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
11749 * config/arm/bpabi.h: New file.
11750 * config/frv/frv-abi.h: New file.
11752 2010-10-01 Ian Lance Taylor <iant@google.com>
11754 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
11755 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
11757 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
11760 * config.host: Add the missing `$'.
11762 2010-09-30 Michael Eager <eager@eagercon.com>
11764 * config.host: Add microblaze*-*-*.
11765 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
11766 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
11767 udivsi3.asm,umodsi3.asm}: New.
11769 2010-09-28 Ian Lance Taylor <iant@google.com>
11771 * configure.ac: Adjust CFI test to test assembler directly rather
11772 than checking gcc preprocessor macro.
11773 * configure: Rebuild.
11775 2010-09-27 Ian Lance Taylor <iant@google.com>
11777 * configure.ac: Test whether assembler supports CFI directives.
11778 * config.host: Only add t-stack and i386/t-stack-i386 to
11779 tmake_file if libgcc_cv_cfi is "yes".
11780 * configure: Rebuild.
11782 2010-09-27 Ian Lance Taylor <iant@google.com>
11784 * generic-morestack.h: New file.
11785 * generic-morestack.c: New file.
11786 * generic-morestack-thread.c: New file.
11787 * config/i386/morestack.S: New file.
11788 * config/t-stack: New file.
11789 * config/i386/t-stack-i386: New file.
11790 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
11791 i386/t-stack-i386 to tmake_file.
11793 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
11795 * Makefile.in (libgcc-extra-parts): Check for static archives and
11796 invoke ranlib after installing them.
11797 (gcc-extra-parts): Likewise.
11798 (install-leaf): Likewise.
11800 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
11802 * configure: Regenerated.
11804 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
11806 * configure: Regenerated.
11808 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
11809 Andrew Pinski <pinskia@gmail.com>
11812 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
11814 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
11817 * configure: Regenerated.
11819 2010-09-06 Andreas Schwab <schwab@redhat.com>
11821 * configure: Regenerate.
11823 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
11825 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
11827 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
11830 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
11831 Iain Sandoe <iains@gcc.gnu.org>
11834 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
11835 LIB2FUNCS_EXCLUDE functions.
11837 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11839 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
11841 * configure: Regenerate.
11843 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
11845 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
11846 i386/t-freebsd to tmake_file.
11847 * config/i386/t-freebsd: New file.
11848 * config/i386/libgcc-bsd.ver: New file.
11850 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
11852 * config.host (powerpc*-eabispe*): Set tmake_file.
11853 (powerpc*-eabi*): Likewise.
11854 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
11855 crtbeginS, crtendS, crtbeginT.
11857 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
11859 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
11860 to tmake_file. Add crtfastmath.o to extra_parts.
11861 * config/mips/t-crtfm: New.
11863 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
11865 * config.host (sparc64-*-rtems*): New target.
11867 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11869 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11872 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
11874 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
11876 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11878 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
11879 alpha-dec-osf5.0* support.
11881 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
11883 * config.host: Add lm32-*-rtems*.
11885 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11886 Uros Bizjak <ubizjak@gmail.com>
11889 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
11890 like other remaining 32-bit x86 OSes.
11891 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11893 * config/i386/libgcc-sol2.ver: New file.
11894 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
11896 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
11899 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
11900 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
11901 is used and substitute set_use_emutls.
11902 * configure: Regenerated.
11904 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
11906 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
11908 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11911 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
11913 ($(T)gcrt1.o): Likewise.
11914 ($(T)crt1.o): Likewise.
11915 ($(T)crti.o): Likewise.
11916 ($(T)crtn.o): Likewise.
11918 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11921 * Makefile.in (install): Use $(MAKE) string in rule, for
11924 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
11926 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
11927 * config/mmix/t-mmix: New file.
11928 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
11930 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
11933 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
11936 2010-01-04 Anthony Green <green@moxielogic.com>
11938 * config/moxie/crti.asm, config/moxie/crtn.asm,
11939 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
11940 config/moxie/t-moxie: New files.
11941 * config.host: Add t-moxie-softfp reference.
11943 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
11946 * config/t-slibgcc-darwin: Fix embedded rpaths for
11947 --enable-version-specific-runtime-libs, build extension stub
11948 libs exposing features available from current libgcc_s.
11950 2009-11-11 Jon Beniston <jon@beniston.com>
11952 * config.host: Add lm32 targets.
11953 * config/lm32: New directory.
11954 * config/lm32/libgcc_lm32.h: New file.
11955 * config/lm32/_mulsi3.c: New file.
11956 * config/lm32/_udivmodsi4.c: New file.
11957 * config/lm32/_divsi3.c: New file.
11958 * config/lm32/_modsi3.c: New file.
11959 * config/lm32/_udivsi3.c: New file.
11960 * config/lm32/_umodsi3.c: New file.
11961 * config/lm32/_lshrsi3.S: New file.
11962 * config/lm32/_ashrsi3.S: New file.
11963 * config/lm32/_ashlsi3.S: New file.
11964 * config/lm32/crti.S: New file.
11965 * config/lm32/crtn.S: New file.
11966 * config/lm32/t-lm32: New file.
11967 * config/lm32/t-elf: New file.
11968 * config/lm32/t-uclinux: New file.
11970 2009-10-26 Nick Clifton <nickc@redhat.com>
11972 * config.host: Add support for RX target.
11973 * config/rx: New directory.
11974 * config/rx/rx-abi-functions.c: New file. Supplementary
11975 functions for libgcc to support the RX ABI.
11976 * config/rx/rx-abi.h: New file. Supplementary header file for
11977 libgcc RX ABI functions.
11978 * config/rx/t-rx: New file: Makefile fragment for building
11981 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
11983 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
11984 constraint of y0 to "g".
11986 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11988 * config.host: Include the s390 makefile fragments.
11989 * config/s390/32/_fixdfdi.c: New file.
11990 * config/s390/32/_fixsfdi.c: New file.
11991 * config/s390/32/_fixtfdi.c: New file.
11992 * config/s390/32/_fixunsdfdi.c: New file.
11993 * config/s390/32/_fixunssfdi.c: New file.
11994 * config/s390/32/_fixunstfdi.c: New file.
11995 * config/s390/32/t-floattodi: New file.
11996 * config/s390/libgcc-glibc.ver: New file.
11997 * config/s390/t-crtstuff: New file.
11998 * config/s390/t-linux: New file.
11999 * config/s390/t-tpf: New file.
12001 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12003 * configure.ac (AC_PREREQ): Bump to 2.64.
12005 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
12007 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
12009 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12011 * configure: Regenerate.
12013 2009-08-09 Douglas B Rupp <rupp@gnat.com>
12015 * config.host (ia64-hp-*vms*): New target.
12016 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
12017 with ia64-hp-*vms*.
12019 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12021 * configure.ac: Add snippet for maintainer-mode.
12022 * configure: Regenerate.
12023 * Makefile.in (AUTOCONF, configure_deps): New variables.
12024 ($(srcdir)/configure)): New rule, active only with maintainer
12027 2009-06-23 DJ Delorie <dj@redhat.com>
12030 * config.host: Add mep support.
12032 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
12034 * config.host: Add i386/${host_address}/t-fprules-softfp and
12035 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
12037 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
12039 * config/i386/64/_multc3.c: Likewise.
12040 * config/i386/64/_powitf2.c: Likewise.
12041 * config/i386/64/eqtf2.c: Likewise.
12042 * config/i386/64/getf2.c: Likewise.
12043 * config/i386/64/letf2.c: Likewise.
12044 * config/i386/64/letf2.c: Likewise.
12045 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
12046 unsigned long long for x64 mingw targets.
12047 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
12048 (_FP_I_TYPE): Define as long long for x64 mingw target.
12050 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
12052 * config.host (vax-*-linux*): New.
12054 2009-05-31 Anthony Green <green@moxielogic.com>
12056 * config.host: Add moxie support.
12057 * config/moxie/t-moxie: New file.
12059 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
12061 * config.host: Add i386/${host_address}/t-fprules-softfp and
12062 t-softfp to tmake_file for i[34567]86-*-cygwin*.
12064 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
12066 * config.host: Add i386/${host_address}/t-fprules-softfp to
12067 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
12069 2009-04-09 Nick Clifton <nickc@redhat.com>
12071 * config/ia64/tf-signs.c: Change copyright header to refer to
12072 version 3 of the GNU General Public License with version 3.1
12073 of the GCC Runtime Library Exception and to point readers at
12074 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
12076 * config/i386/32/tf-signs.c: Likewise.
12077 * config/libbid/_addsub_dd.c: Likewise.
12078 * config/libbid/_addsub_sd.c: Likewise.
12079 * config/libbid/_addsub_td.c: Likewise.
12080 * config/libbid/_dd_to_df.c: Likewise.
12081 * config/libbid/_dd_to_di.c: Likewise.
12082 * config/libbid/_dd_to_sd.c: Likewise.
12083 * config/libbid/_dd_to_sf.c: Likewise.
12084 * config/libbid/_dd_to_si.c: Likewise.
12085 * config/libbid/_dd_to_td.c: Likewise.
12086 * config/libbid/_dd_to_tf.c: Likewise.
12087 * config/libbid/_dd_to_udi.c: Likewise.
12088 * config/libbid/_dd_to_usi.c: Likewise.
12089 * config/libbid/_dd_to_xf.c: Likewise.
12090 * config/libbid/_df_to_dd.c: Likewise.
12091 * config/libbid/_df_to_sd.c: Likewise.
12092 * config/libbid/_df_to_td.c: Likewise.
12093 * config/libbid/_di_to_dd.c: Likewise.
12094 * config/libbid/_di_to_sd.c: Likewise.
12095 * config/libbid/_di_to_td.c: Likewise.
12096 * config/libbid/_div_dd.c: Likewise.
12097 * config/libbid/_div_sd.c: Likewise.
12098 * config/libbid/_div_td.c: Likewise.
12099 * config/libbid/_eq_dd.c: Likewise.
12100 * config/libbid/_eq_sd.c: Likewise.
12101 * config/libbid/_eq_td.c: Likewise.
12102 * config/libbid/_ge_dd.c: Likewise.
12103 * config/libbid/_ge_sd.c: Likewise.
12104 * config/libbid/_ge_td.c: Likewise.
12105 * config/libbid/_gt_dd.c: Likewise.
12106 * config/libbid/_gt_sd.c: Likewise.
12107 * config/libbid/_gt_td.c: Likewise.
12108 * config/libbid/_isinfd128.c: Likewise.
12109 * config/libbid/_isinfd32.c: Likewise.
12110 * config/libbid/_isinfd64.c: Likewise.
12111 * config/libbid/_le_dd.c: Likewise.
12112 * config/libbid/_le_sd.c: Likewise.
12113 * config/libbid/_le_td.c: Likewise.
12114 * config/libbid/_lt_dd.c: Likewise.
12115 * config/libbid/_lt_sd.c: Likewise.
12116 * config/libbid/_lt_td.c: Likewise.
12117 * config/libbid/_mul_dd.c: Likewise.
12118 * config/libbid/_mul_sd.c: Likewise.
12119 * config/libbid/_mul_td.c: Likewise.
12120 * config/libbid/_ne_dd.c: Likewise.
12121 * config/libbid/_ne_sd.c: Likewise.
12122 * config/libbid/_ne_td.c: Likewise.
12123 * config/libbid/_sd_to_dd.c: Likewise.
12124 * config/libbid/_sd_to_df.c: Likewise.
12125 * config/libbid/_sd_to_di.c: Likewise.
12126 * config/libbid/_sd_to_sf.c: Likewise.
12127 * config/libbid/_sd_to_si.c: Likewise.
12128 * config/libbid/_sd_to_td.c: Likewise.
12129 * config/libbid/_sd_to_tf.c: Likewise.
12130 * config/libbid/_sd_to_udi.c: Likewise.
12131 * config/libbid/_sd_to_usi.c: Likewise.
12132 * config/libbid/_sd_to_xf.c: Likewise.
12133 * config/libbid/_sf_to_dd.c: Likewise.
12134 * config/libbid/_sf_to_sd.c: Likewise.
12135 * config/libbid/_sf_to_td.c: Likewise.
12136 * config/libbid/_si_to_dd.c: Likewise.
12137 * config/libbid/_si_to_sd.c: Likewise.
12138 * config/libbid/_si_to_td.c: Likewise.
12139 * config/libbid/_td_to_dd.c: Likewise.
12140 * config/libbid/_td_to_df.c: Likewise.
12141 * config/libbid/_td_to_di.c: Likewise.
12142 * config/libbid/_td_to_sd.c: Likewise.
12143 * config/libbid/_td_to_sf.c: Likewise.
12144 * config/libbid/_td_to_si.c: Likewise.
12145 * config/libbid/_td_to_tf.c: Likewise.
12146 * config/libbid/_td_to_udi.c: Likewise.
12147 * config/libbid/_td_to_usi.c: Likewise.
12148 * config/libbid/_td_to_xf.c: Likewise.
12149 * config/libbid/_tf_to_dd.c: Likewise.
12150 * config/libbid/_tf_to_sd.c: Likewise.
12151 * config/libbid/_tf_to_td.c: Likewise.
12152 * config/libbid/_udi_to_dd.c: Likewise.
12153 * config/libbid/_udi_to_sd.c: Likewise.
12154 * config/libbid/_udi_to_td.c: Likewise.
12155 * config/libbid/_unord_dd.c: Likewise.
12156 * config/libbid/_unord_sd.c: Likewise.
12157 * config/libbid/_unord_td.c: Likewise.
12158 * config/libbid/_usi_to_dd.c: Likewise.
12159 * config/libbid/_usi_to_sd.c: Likewise.
12160 * config/libbid/_usi_to_td.c: Likewise.
12161 * config/libbid/_xf_to_dd.c: Likewise.
12162 * config/libbid/_xf_to_sd.c: Likewise.
12163 * config/libbid/_xf_to_td.c: Likewise.
12164 * config/libbid/bid128.c: Likewise.
12165 * config/libbid/bid128_2_str.h: Likewise.
12166 * config/libbid/bid128_2_str_macros.h: Likewise.
12167 * config/libbid/bid128_2_str_tables.c: Likewise.
12168 * config/libbid/bid128_add.c: Likewise.
12169 * config/libbid/bid128_compare.c: Likewise.
12170 * config/libbid/bid128_div.c: Likewise.
12171 * config/libbid/bid128_fma.c: Likewise.
12172 * config/libbid/bid128_logb.c: Likewise.
12173 * config/libbid/bid128_minmax.c: Likewise.
12174 * config/libbid/bid128_mul.c: Likewise.
12175 * config/libbid/bid128_next.c: Likewise.
12176 * config/libbid/bid128_noncomp.c: Likewise.
12177 * config/libbid/bid128_quantize.c: Likewise.
12178 * config/libbid/bid128_rem.c: Likewise.
12179 * config/libbid/bid128_round_integral.c: Likewise.
12180 * config/libbid/bid128_scalb.c: Likewise.
12181 * config/libbid/bid128_sqrt.c: Likewise.
12182 * config/libbid/bid128_string.c: Likewise.
12183 * config/libbid/bid128_to_int16.c: Likewise.
12184 * config/libbid/bid128_to_int32.c: Likewise.
12185 * config/libbid/bid128_to_int64.c: Likewise.
12186 * config/libbid/bid128_to_int8.c: Likewise.
12187 * config/libbid/bid128_to_uint16.c: Likewise.
12188 * config/libbid/bid128_to_uint32.c: Likewise.
12189 * config/libbid/bid128_to_uint64.c: Likewise.
12190 * config/libbid/bid128_to_uint8.c: Likewise.
12191 * config/libbid/bid32_to_bid128.c: Likewise.
12192 * config/libbid/bid32_to_bid64.c: Likewise.
12193 * config/libbid/bid64_add.c: Likewise.
12194 * config/libbid/bid64_compare.c: Likewise.
12195 * config/libbid/bid64_div.c: Likewise.
12196 * config/libbid/bid64_fma.c: Likewise.
12197 * config/libbid/bid64_logb.c: Likewise.
12198 * config/libbid/bid64_minmax.c: Likewise.
12199 * config/libbid/bid64_mul.c: Likewise.
12200 * config/libbid/bid64_next.c: Likewise.
12201 * config/libbid/bid64_noncomp.c: Likewise.
12202 * config/libbid/bid64_quantize.c: Likewise.
12203 * config/libbid/bid64_rem.c: Likewise.
12204 * config/libbid/bid64_round_integral.c: Likewise.
12205 * config/libbid/bid64_scalb.c: Likewise.
12206 * config/libbid/bid64_sqrt.c: Likewise.
12207 * config/libbid/bid64_string.c: Likewise.
12208 * config/libbid/bid64_to_bid128.c: Likewise.
12209 * config/libbid/bid64_to_int16.c: Likewise.
12210 * config/libbid/bid64_to_int32.c: Likewise.
12211 * config/libbid/bid64_to_int64.c: Likewise.
12212 * config/libbid/bid64_to_int8.c: Likewise.
12213 * config/libbid/bid64_to_uint16.c: Likewise.
12214 * config/libbid/bid64_to_uint32.c: Likewise.
12215 * config/libbid/bid64_to_uint64.c: Likewise.
12216 * config/libbid/bid64_to_uint8.c: Likewise.
12217 * config/libbid/bid_b2d.h: Likewise.
12218 * config/libbid/bid_binarydecimal.c: Likewise.
12219 * config/libbid/bid_conf.h: Likewise.
12220 * config/libbid/bid_convert_data.c: Likewise.
12221 * config/libbid/bid_decimal_data.c: Likewise.
12222 * config/libbid/bid_decimal_globals.c: Likewise.
12223 * config/libbid/bid_div_macros.h: Likewise.
12224 * config/libbid/bid_dpd.c: Likewise.
12225 * config/libbid/bid_flag_operations.c: Likewise.
12226 * config/libbid/bid_from_int.c: Likewise.
12227 * config/libbid/bid_functions.h: Likewise.
12228 * config/libbid/bid_gcc_intrinsics.h: Likewise.
12229 * config/libbid/bid_inline_add.h: Likewise.
12230 * config/libbid/bid_internal.h: Likewise.
12231 * config/libbid/bid_round.c: Likewise.
12232 * config/libbid/bid_sqrt_macros.h: Likewise.
12234 2009-04-09 Jakub Jelinek <jakub@redhat.com>
12236 * Makefile.in: Change copyright header to refer to version
12237 3 of the GNU General Public License and to point readers at the
12238 COPYING3 file and the FSF's license web page.
12239 * config.host: Likewise.
12241 2009-04-07 Alan Modra <amodra@bigpond.net.au>
12243 * config.host: Reorder and merge to match config.gcc change.
12245 2009-04-03 Alan Modra <amodra@bigpond.net.au>
12247 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
12249 2009-03-28 Joseph Myers <joseph@codesourcery.com>
12251 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
12252 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
12253 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
12254 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
12256 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
12258 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
12259 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12261 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
12263 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
12264 ia64/t-softfp-compat to tmake_file.
12266 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
12268 * config/ia64/__divxf3.asm: New.
12269 * config/ia64/_fixtfdi.asm: Likewise.
12270 * config/ia64/_fixunstfdi.asm: Likewise.
12271 * config/ia64/_floatditf.asm: Likewise.
12272 * config/ia64/t-fprules-softfp: Likewise.
12273 * config/ia64/t-softfp-compat: Likewise.
12274 * config/ia64/tf-signs.c: Likewise.
12276 2009-01-18 Ben Elliston <bje@au.ibm.com>
12278 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12280 2009-01-16 Ben Elliston <bje@au.ibm.com>
12282 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
12285 2009-01-13 Ben Elliston <bje@au.ibm.com>
12287 * config/t-softfp: New file.
12288 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
12289 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
12291 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
12293 * config.host: Add m32r*-*-rtems*.
12295 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
12297 * config.host: Add m32c*-*-rtems*.
12299 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12302 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
12303 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
12304 * configure: Regenerate.
12305 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
12306 tmake_file here from gcc/config.gcc.
12307 Move extra_parts here from gcc/config.gcc.
12308 * config/i386/t-sol2: Move here from gcc/config/i386.
12309 Use gcc_srcdir instead of srcdir.
12311 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
12313 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
12316 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
12318 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
12320 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
12322 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
12324 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
12327 * config.host: Add picochip-*-*.
12329 2008-08-06 Bob Wilson <bob.wilson@acm.org>
12331 * config.host: Match more processor names for Xtensa.
12333 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
12335 * config/i386/64/t-softfp-compat: Update comments.
12337 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
12339 * config/i386/64/_divtc3-compat.c: Moved to ...
12340 * config/i386/64/_divtc3.c: Here.
12342 * config/i386/64/_multc3-compat.c: Moved to ...
12343 * config/i386/64/_multc3.c: Here.
12345 * config/i386/64/_powitf2-compat.c: Moved to ...
12346 * config/i386/64/_powitf2.c: Here.
12348 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
12349 .c suffix instead of -compat.c.
12351 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
12353 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
12354 (_FP_MUL_MEAT_D): Ditto.
12355 (_FP_DIV_MEAT_S): Ditto.
12356 (_FP_DIV_MEAT_D): Ditto.
12358 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
12360 * Makefile.in: Add support for __sync_* libgcc functions.
12362 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
12364 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
12366 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12369 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
12370 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
12372 * config/i386/64/t-fprules-softfp: Moved to ...
12373 * config/i386/64/t-softfp-compat: This. New.
12375 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
12377 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
12378 Initialize f with 0.0.
12380 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12383 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
12385 * config/i386/64/_divtc3-compat.c: New.
12386 * config/i386/64/_multc3-compat.c: Likewise.
12387 * config/i386/64/_powitf2-compat.c: Likewise.
12388 * config/i386/64/eqtf2.c: Likewise.
12389 * config/i386/64/getf2.c: Likewise.
12390 * config/i386/64/letf2.c: Likewise.
12391 * config/i386/64/t-fprules-softfp: Likewise.
12393 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12395 * config.host: Add i386/${host_address}/t-fprules-softfp to
12396 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
12397 i[34567]86-*-linux*, x86_64-*-linux*.
12399 * configure.ac: Set host_address to 64 or 32 for x86.
12400 * configure: Regenerated.
12402 * Makefile.in (config.status): Also depend on
12403 $(srcdir)/config.host.
12405 * config/i386/32/t-fprules-softfp: New.
12406 * config/i386/32/tf-signs.c: Likewise.
12408 * config/i386/64/sfp-machine.h: New. Moved from gcc.
12410 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12411 Uros Bizjak <ubizjak@gmail.com>
12413 * config/i386/32/sfp-machine.h: New.
12415 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
12417 * config/rs6000/t-ppccomm: Remove rules that conflict with
12418 auto-generated rules.
12420 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12422 * configure.ac: sinclude override.m4.
12423 * configure: Regenerate.
12425 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
12427 * configure: Regenerate.
12429 2008-06-10 Joseph Myers <joseph@codesourcery.com>
12431 * Makefile.in (DECNUMINC): Remove
12432 -I$(MULTIBUILDTOP)../../libdecnumber.
12435 2008-06-07 Joseph Myers <joseph@codesourcery.com>
12437 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
12438 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
12439 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
12440 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
12441 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
12442 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
12443 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
12444 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
12445 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
12446 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
12447 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
12448 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
12449 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
12450 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
12452 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
12454 * config.host (sh2[lbe]*-*-linux*): Allow target.
12456 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
12458 * config/rs6000/t-ppccomm: Add build rules for new files.
12459 (LIB2ADD_ST): New variable.
12461 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
12465 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
12466 * config/t-avr: New file. Build 16bit libgcc functions.
12468 2008-03-02 Jakub Jelinek <jakub@redhat.com>
12471 * config/t-slibgcc-darwin: Make install-leaf dependent on
12472 install-darwin-libgcc-stubs instead of install.
12474 2008-01-25 Joseph Myers <joseph@codesourcery.com>
12476 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
12477 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
12478 sh-*-rtemscoff*): Remove cases.
12480 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
12482 * Makefile.in (all): Use install-leaf rather than install.
12483 (install): Split most of the rule into...
12484 (install-leaf): ...this new one.
12486 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
12487 Paolo Bonzini <bonzini@gnu.org>
12490 * Makefile.in: Use @shlib_slibdir@ substitution to get
12491 correct install name on darwin.
12492 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
12494 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
12496 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
12497 cris-*-elf and cris-*-none.
12498 (crisv32-*-linux*): Similar, as cris-*-linux*.
12500 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
12502 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
12504 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
12506 PR regression/33926
12507 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
12508 * configure: Regenerated.
12510 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
12512 * Makefile.in (dfp-filenames): Replace decimal_globals,
12513 decimal_data, binarydecimal and convert_data with
12514 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
12515 and bid_convert_data, respectively.
12517 2007-09-17 Chao-ying Fu <fu@mips.com>
12518 Nigel Stephens <nigel@mips.com>
12520 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
12521 * Makefile.in (fixed_point): Define.
12522 Check if fixed_point is yes to build support functions.
12523 * configure.ac: Check for fixed_point support.
12524 * configure: Regenerated.
12525 * gen-fixed.sh: New file to generate lists of fixed-point labels,
12526 funcs, modes, from, to.
12528 2007-09-11 Janis Johnson <janis187@us.ibm.com
12530 * Makefile.in (dfp-filenames): Add bid128_noncomp.
12532 2007-09-10 Janis Johnson <janis187@us.ibm.com>
12534 * Makefile.in (dfp-filenames): Remove decUtility, add
12535 decDouble, decPacked, decQuad, decSingle.
12537 2007-08-27 Hans Kester <hans.kester@ellips.nl>
12539 * config.host : Add x86_64-elf target.
12541 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
12543 * configure.ac (set_have_cc_tls): Add a missing =.
12544 * configure: Regenerated.
12546 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
12548 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
12549 and x86_64-*-linux*.
12551 * config/t-tls: New file.
12553 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
12555 * configure.ac: Include ../config/enable.m4 and
12556 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
12557 supports TLS and substitute set_have_cc_tls.
12558 * configure: Regenerated.
12560 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
12562 * Makefile.in: Use libbid for DFP when BID is enabled.
12564 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
12566 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
12567 extra_parts. Add config/i386/t-cygming to tmake_file.
12568 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
12570 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
12571 Danny Smith <dannysmith@users.sourceforge.net>
12574 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
12575 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
12576 * config/i386/t-crtfm: Compile crtfastmath.o with
12577 -minline-all-stringops.
12579 2007-05-10 Richard Sandiford <richard@codesourcery.com>
12581 * config.host (sparc-wrs-vxworks): New target.
12583 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
12585 * config.host: Recognize fido.
12587 2007-04-04 Janis Johnson <janis187@us.ibm.com>
12589 * configure: Check host, not target, for decimal float support.
12591 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
12593 * config/i386/t-crtpc: New file.
12594 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
12595 (x86_64-*-linux*): Ditto.
12597 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
12599 * config.host (x86_64-*-mingw*): New target.
12601 2007-03-23 Michael Meissner <michael.meissner@amd.com>
12602 H.J. Lu <hongjiu.lu@intel.com>
12604 * Makefile.in (enable_decimal_float): New.
12606 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
12607 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
12608 (decbits-filenames): This.
12609 (decbits-objects): New.
12610 (libgcc-objects): Add $(decbits-objects).
12612 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
12613 Substitute enable_decimal_float.
12614 * configure: Regenerated.
12616 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
12618 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
12620 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
12622 * Makefile.in (install-info): New dummy target.
12624 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
12626 * config.host (bfin*-linux-uclibc*): Set extra_parts.
12628 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
12630 * Makefile.in: Add install-html and install-pdf dummy
12633 2007-02-05 Roger Sayle <roger@eyesopen.com>
12634 Daniel Jacobowitz <dan@codesourcery.com>
12636 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
12637 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
12638 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
12640 2007-01-29 Janis Johnson <janis187@us.ibm.com>
12642 * Makefile.in (dec-filenames): Add decExcept.
12644 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
12647 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
12650 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
12652 * configure.ac: Add --enable-version-specific-runtime-libs.
12653 Correct $slibdir default.
12654 * configure: Regenerated.
12656 2007-01-23 Joseph Myers <joseph@codesourcery.com>
12658 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
12660 2007-01-21 Andrew Pinski <pinskia@gmail.com>
12663 * config.host (alpha*-*-linux*): Set extra_parts.
12665 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
12667 * config/sh/t-linux: New.
12668 * config.host (sh*-*-linux*): Set tmake_file.
12670 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
12672 * Makefile.in (install): Handle multilibs.
12674 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12676 * Makefile.in: Added .PHONY entry for documentation targets.
12678 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12680 * Makefile.in: Add empty info, html, dvi, pdf targets.
12682 2007-01-04 Mike Stump <mrs@apple.com>
12684 * Makefile.in (MAKEINFO): Remove.
12687 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
12689 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
12690 * configure: Regenerate.
12691 * Makefile.in (host_subdir): Substitute it.
12692 (gcc_objdir): Use it.
12694 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12696 * config.host (ia64*-*-linux*): Set tmake_file.
12698 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12700 * Makefile.in (version): Define.
12702 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12703 Paolo Bonzini <bonzini@gnu.org>
12705 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
12706 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
12707 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
12708 config/sparc/t-crtfm, config/t-slibgcc-darwin,
12709 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
12710 shared-object.mk, siditi-object.mk, static-object.mk: New files.
12711 * configure: Generated.
12713 Copyright (C) 2007-2023 Free Software Foundation, Inc.
12715 Copying and distribution of this file, with or without modification,
12716 are permitted in any medium without royalty provided the copyright
12717 notice and this notice are preserved.