1 2023-08-11 Thomas Neumann <thomas.neumann@in.tum.de>
4 * unwind-dw2-fde.c: Associate object with address of unwinding
7 2023-08-07 John Ericson <git@JohnEricson.me>
9 * configure: Regenerate.
11 2023-08-07 Alan Modra <amodra@gmail.com>
13 * configure: Regenerate.
15 2023-07-23 Andrew Pinski <apinski@marvell.com>
17 * config.host (riscv*-*-linux*): Add t-crtstuff to tmake_file.
18 (riscv*-*-freebsd*): Likewise.
19 * config/riscv/t-crtstuff: New file.
21 2023-07-19 liuhongt <hongtao.liu@intel.com>
23 * config/i386/t-softfp: Add -msse2 to libbid HFtype related
26 2023-07-11 Florian Weimer <fweimer@redhat.com>
29 * unwind-dw2-fde-dip.c (find_fde_tail): Add cast to avoid
30 implicit conversion of pointer value to integer.
32 2023-07-06 Kito Cheng <kito.cheng@sifive.com>
34 * config/riscv/sfp-machine.h (FP_INIT_ROUNDMODE): Check zfinx.
35 (FP_HANDLE_EXCEPTIONS): Ditto.
37 2023-06-19 Andrew Stubbs <ams@codesourcery.com>
39 * config/gcn/lib2-divmod-di.c: Reimplement like lib2-divmod.c.
40 * config/gcn/lib2-divmod.c: Likewise.
41 * config/gcn/lib2-gcn.h: Add new types and prototypes for all the
43 * config/gcn/t-amdgcn: Add new files.
44 * config/gcn/amdgcn_veclib.h: New file.
45 * config/gcn/lib2-vec_divmod-di.c: New file.
46 * config/gcn/lib2-vec_divmod-hi.c: New file.
47 * config/gcn/lib2-vec_divmod-qi.c: New file.
48 * config/gcn/lib2-vec_divmod.c: New file.
50 2023-06-19 Andrew Stubbs <ams@codesourcery.com>
52 * config/gcn/lib2-gcn.h (QItype, UQItype, HItype, UHItype): Delete.
53 (__divhi3, __modhi3, __udivhi3, __umodhi3): Delete.
54 * config/gcn/t-amdgcn: Don't build lib2-divmod-hi.c.
55 * config/gcn/lib2-divmod-hi.c: Removed.
57 2023-06-07 Florian Weimer <fweimer@redhat.com>
60 * unwind-dw2-fde-dip.c (find_fde_tail): Correct fast path for
63 2023-06-05 Kewen Lin <linkw@linux.ibm.com>
65 * config/i386/morestack.S: Use @init_array rather than
66 @progbits for section type of section .init_array.
67 * config/rs6000/morestack.S: Likewise.
68 * config/s390/morestack.S: Likewise.
70 2023-06-05 YunQiang Su <yunqiang.su@cipunited.com>
72 * config/mips/lib1funcs.S: New file.
73 define __speculation_barrier and include mips16.S.
74 * config/mips/t-mips: define LIB1ASMSRC as mips/lib1funcs.S.
75 define LIB1ASMFUNCS as _speculation_barrier.
76 set version info for __speculation_barrier.
77 * config/mips/libgcc-mips.ver: New file.
78 * config/mips/t-mips16: don't define LIB1ASMSRC as mips16.S
79 included in lib1funcs.S now.
81 2023-06-03 Thomas Neumann <tneumann@users.sourceforge.net>
84 * unwind-dw2-fde.c: Fix radix sort buffer management.
86 2023-06-03 Thomas Neumann <tneumann@users.sourceforge.net>
89 * unwind-dw2-fde.c: Free sort array in atomic fast path.
91 2023-05-19 Iain Sandoe <iain@sandoe.co.uk>
93 * config.host: Arrange to set min Darwin OS versions from
94 the configured host version.
95 * config/darwin10-unwind-find-enc-func.c: Do not use current
96 headers, but declare the nexessary structures locally to the
97 versions in use for Mac OSX 10.6.
98 * config/t-darwin: Amend to handle configured min OS
100 * config/t-darwin-min-1: New.
101 * config/t-darwin-min-5: New.
102 * config/t-darwin-min-8: New.
104 2023-05-15 Thomas Neumann <tneumann@users.sourceforge.net>
106 * unwind-dw2-fde.c: Fix assert in non-atomic path.
108 2023-05-15 Sören Tempel <soeren+git@soeren-tempel.net>
110 * unwind-dw2-fde.c: Accept empty ranges when deregistering frames.
112 2023-05-02 Patrick O'Neill <patrick@rivosinc.com>
114 * config/riscv/atomic.c: Change LR.aq/SC.rl pairs into
115 sequentially consistent LR.aqrl/SC.rl pairs.
117 2023-05-01 Dimitar Dimitrov <dimitar@dinux.eu>
119 * config/pru/t-pru (HOST_LIBGCC2_CFLAGS): Add
120 -DTARGET_HAS_NO_HW_DIVIDE.
122 2023-04-27 Hans-Peter Nilsson <hp@axis.com>
124 * config/cris/t-cris (HOST_LIBGCC2_CFLAGS): Add
125 -DTARGET_HAS_NO_HW_DIVIDE.
127 2023-04-26 Patrick O'Neill <patrick@rivosinc.com>
130 * config/riscv/atomic.c: Add reference to duplicate logic.
132 2023-04-08 Tetsuma Hoshino <t-hoshino@pony-e.jp>
135 * config/v850/lib1funcs.S (___muldi3): Remove unnecessary
138 2023-04-05 John David Anglin <danglin@gcc.gnu.org>
141 * config/pa/milli64.S (RETURN_COLUMN): Define.
142 ($$divI): Add CFI directives.
147 2023-03-19 Stafford Horne <shorne@gmail.com>
149 * config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
150 statement clearing existing exceptions.
152 2023-03-13 Max Filippov <jcmvbkbc@gmail.com>
154 * config/xtensa/crti.S: Add .note.GNU-stack section on linux.
155 * config/xtensa/crtn.S: Likewise.
156 * config/xtensa/lib1funcs.S: Likewise.
157 * config/xtensa/lib2funcs.S: Likewise.
159 2023-03-12 Jakub Jelinek <jakub@redhat.com>
161 * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
162 (softfp_truncations): Add tfbf dfbf sfbf hfbf.
163 (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
164 * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
165 __extendbfsf2 and __trunc{s,d,t,h}fbf2.
166 * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
167 * soft-fp/floatundibf.c: New file.
168 * soft-fp/floatdibf.c: New file.
170 2023-03-10 Jakub Jelinek <jakub@redhat.com>
173 * soft-fp/floattibf.c: New file.
174 * soft-fp/floatuntibf.c: New file.
175 * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
176 * config/i386/64/t-softfp (softfp_extras): Add floattibf and
178 (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
180 2023-03-08 Kewen Lin <linkw@linux.ibm.com>
183 * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
186 2023-03-06 Michael Meissner <meissner@linux.ibm.com>
189 * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
190 whether long double is IBM or IEEE.
191 (INFINITY): Likewise.
193 * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
194 (INFINITY): Likewise.
195 * config/rs6000/quad-float128.h (TF): Remove definition.
196 (TFtype): Define to be long double or _Float128.
197 (TCtype): Define to be _Complex long double or _Complex _Float128.
198 * libgcc2.h (TFtype): Allow machine config files to override this.
200 * soft-fp/quad.h (TFtype): Likewise.
202 2023-02-13 Kito Cheng <kito.cheng@sifive.com>
204 * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
205 * config/riscv/value-unwind.h: New.
207 2023-02-03 Christophe Lyon <christophe.lyon@arm.com>
209 * config/arm/pr-support.c (__gnu_unwind_execute): Use
210 TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
212 2023-01-30 Flavio Cruz <flaviocruz@gmail.com>
214 * config.host: Recognize x86_64-*-gnu* targets.
215 * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
218 2023-01-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
220 * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
223 2023-01-23 Andrea Corallo <andrea.corallo@arm.com>
224 Tejas Belagod <tbelagod@arm.com>
225 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
227 * config/arm/pr-support.c (__gnu_unwind_execute): Decode
228 exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
230 * config/arm/unwind-arm.c (struct pseudo_regs): New.
231 (phase1_vrs): Introduce new field to store pseudo-reg state.
232 (phase2_vrs): Likewise.
233 (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
234 (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
235 (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
237 2023-01-18 Wilco Dijkstra <wilco.dijkstra@arm.com>
240 * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
241 * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
242 * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
243 encode the return address signing state.
244 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
245 Check current return address signing state.
246 (aarch64_frob_update_contex): Remove.
248 2023-01-13 John David Anglin <danglin@gcc.gnu.org>
250 * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
252 (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
253 instead of pa/t-hpux and pa/t-pa64.
254 * config/pa/linux-atomic.c: Define u32 type.
255 (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
256 atomic_load_2, atomic_load_4 and atomic_load_8. Update sync
257 defines to use atomic_load calls for type.
258 (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
259 * config/pa/sync-libfuncs.c: New file.
260 * config/pa/t-netbsd (LIB2ADD_ST): Define.
261 * config/pa/t-openbsd (LIB2ADD_ST): Define.
262 * config/pa/t-pa64-hpux: New file.
263 * config/pa/t-pa64-linux: New file.
265 2023-01-13 Jonathan Wakely <jwakely@redhat.com>
268 * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
269 struct matching the previous __gthread_mutex_t struct.
270 (__GTHREAD_LEGACY_MUTEX_T): Define.
272 2023-01-13 Seija Kijin <doremylover456@gmail.com>
274 * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
277 2023-01-07 LIU Hao <lh_mouse@126.com>
280 * config/i386/enable-execute-stack-mingw32.c: Define
281 `WIN32_LEAN_AND_MEAN` before <windows.h>.
282 * libgcc2.c: Likewise.
283 * unwind-generic.h: Likewise.
285 2023-01-03 Florian Weimer <fweimer@redhat.com>
287 * unwind-dw2-execute_cfa.h: New file. Extracted from
288 the execute_cfa_program function in unwind-dw2.c.
289 * unwind-dw2.c (execute_cfa_program_generic): New function.
290 (execute_cfa_program_specialized): Likewise.
291 (execute_cfa_program): Call execute_cfa_program_specialized
292 or execute_cfa_program_generic, as appropriate.
294 2023-01-03 Florian Weimer <fweimer@redhat.com>
297 2023-01-03 Florian Weimer <fweimer@redhat.com>
299 * unwind-dw2.c (dwarf_reg_size): New function.
300 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
301 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
302 (uw_init_context_1): Do not initialize dwarf_reg_size_table
305 2023-01-03 Florian Weimer <fweimer@redhat.com>
308 2023-01-03 Florian Weimer <fweimer@redhat.com>
310 * unwind-dw2-execute_cfa.h: New file. Extracted from
311 the execute_cfa_program function in unwind-dw2.c.
312 * unwind-dw2.c (execute_cfa_program_generic): New function.
313 (execute_cfa_program_specialized): Likewise.
314 (execute_cfa_program): Call execute_cfa_program_specialized
315 or execute_cfa_program_generic, as appropriate.
317 2023-01-02 Florian Weimer <fweimer@redhat.com>
319 * unwind-dw2-execute_cfa.h: New file. Extracted from
320 the execute_cfa_program function in unwind-dw2.c.
321 * unwind-dw2.c (execute_cfa_program_generic): New function.
322 (execute_cfa_program_specialized): Likewise.
323 (execute_cfa_program): Call execute_cfa_program_specialized
324 or execute_cfa_program_generic, as appropriate.
326 2023-01-02 Florian Weimer <fweimer@redhat.com>
328 * unwind-dw2.c (dwarf_reg_size): New function.
329 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
330 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
331 (uw_init_context_1): Do not initialize dwarf_reg_size_table
334 2022-12-25 Jonathan Yong <10walls@gmail.com>
336 * config/i386/gthr-win32.h: undef CC_NONE
338 2022-12-24 Iain Sandoe <iain@sandoe.co.uk>
340 * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
341 install of libgcc_s.1.dylib when the installation is into the build
344 2022-12-23 Eric Botcazou <ebotcazou@adacore.com>
346 * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
347 as well as new i386/t-slibgcc-mingw fragment.
348 (x86_64-*-mingw*): Likewise.
349 * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
350 both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
351 Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
352 Include stdlib.h instead of errno.h and do not include _mingw.h.
353 (CONST_CAST2): Add specific definition for C++.
354 (ATTRIBUTE_UNUSED): New macro.
355 (__UNUSED_PARAM): Delete.
356 Define WIN32_LEAN_AND_MEAN before including windows.h.
357 (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
358 (__gthread_objc_init_thread_system): Likewise.
359 (__gthread_objc_thread_get_data): Minor tweak.
360 (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
361 (__gthread_objc_condition_deallocate): Likewise.
362 (__gthread_objc_condition_wait): Likewise.
363 (__gthread_objc_condition_broadcast): Likewise.
364 (__gthread_objc_condition_signal): Likewise.
366 (__gthr_win32_DWORD): New typedef.
367 (__gthr_win32_HANDLE): Likewise.
368 (__gthr_win32_CRITICAL_SECTION): Likewise.
369 (__gthr_win32_CONDITION_VARIABLE): Likewise.
370 (__gthread_t): Adjust.
371 (__gthread_key_t): Likewise.
372 (__gthread_mutex_t): Likewise.
373 (__gthread_recursive_mutex_t): Likewise.
374 (__gthread_cond_t): New typedef.
375 (__gthread_time_t): Likewise.
376 (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
377 (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
378 (__GTHREAD_COND_INIT_FUNCTION): Define.
379 (__GTHREAD_TIME_INIT): Likewise.
380 (__gthr_i486_lock_cmp_xchg): Delete.
381 (__gthr_win32_create): Declare.
382 (__gthr_win32_join): Likewise.
383 (__gthr_win32_self): Likewise.
384 (__gthr_win32_detach): Likewise.
385 (__gthr_win32_equal): Likewise.
386 (__gthr_win32_yield): Likewise.
387 (__gthr_win32_mutex_destroy): Likewise.
388 (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
389 (__gthr_win32_cond_broadcast): Likewise.
390 (__gthr_win32_cond_signal): Likewise.
391 (__gthr_win32_cond_wait): Likewise.
392 (__gthr_win32_cond_timedwait): Likewise.
393 (__gthr_win32_recursive_mutex_init_function): Delete.
394 (__gthr_win32_recursive_mutex_lock): Likewise.
395 (__gthr_win32_recursive_mutex_unlock): Likewise.
396 (__gthr_win32_recursive_mutex_destroy): Likewise.
397 (__gthread_create): New inline function.
398 (__gthread_join): Likewise.
399 (__gthread_self): Likewise.
400 (__gthread_detach): Likewise.
401 (__gthread_equal): Likewise.
402 (__gthread_yield): Likewise.
403 (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
404 (__gthread_cond_broadcast): Likewise.
405 (__gthread_cond_signal): Likewise.
406 (__gthread_cond_wait): Likewise.
407 (__gthread_cond_timedwait): Likewise.
408 (__GTHREAD_WIN32_INLINE): New macro.
409 (__GTHREAD_WIN32_COND_INLINE): Likewise.
410 (__GTHREAD_WIN32_ACTIVE_P): Likewise.
411 Define WIN32_LEAN_AND_MEAN before including windows.h.
412 (__gthread_once): Minor tweaks.
413 (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
414 (__gthread_key_delete): Minor tweak.
415 (__gthread_getspecific): Likewise.
416 (__gthread_setspecific): Likewise.
417 (__gthread_mutex_init_function): Reimplement.
418 (__gthread_mutex_destroy): Likewise.
419 (__gthread_mutex_lock): Likewise.
420 (__gthread_mutex_trylock): Likewise.
421 (__gthread_mutex_unlock): Likewise.
422 (__gthr_win32_abs_to_rel_time): Declare.
423 (__gthread_recursive_mutex_init_function): Reimplement.
424 (__gthread_recursive_mutex_destroy): Likewise.
425 (__gthread_recursive_mutex_lock): Likewise.
426 (__gthread_recursive_mutex_trylock): Likewise.
427 (__gthread_recursive_mutex_unlock): Likewise.
428 (__gthread_cond_destroy): New inline function.
429 (__gthread_cond_wait_recursive): Likewise.
430 * config/i386/gthr-win32.c: Delete everything.
431 Include gthr-win32.h to get the out-of-line version of inline routines.
432 Add compile-time checks for the local version of the Win32 types.
433 * config/i386/gthr-win32-cond.c: New file.
434 * config/i386/gthr-win32-thread.c: Likewise.
435 * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
436 EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
437 the static version of libgcc.
438 * config/i386/t-slibgcc-mingw: New file.
439 * config/i386/libgcc-mingw.ver: Likewise.
441 2022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
443 * unwind-dw2-fde.c: Initialize fde object lazily when
444 the first exception tries to pass through.
446 2022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
448 * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
450 2022-12-08 Max Filippov <jcmvbkbc@gmail.com>
452 * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
453 (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
454 (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
455 (XSHAL_ABI): Remove stray symbols from macro definitions.
457 2022-12-07 Max Filippov <jcmvbkbc@gmail.com>
459 * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
460 xtensa-config-builtin.h.
461 * config/xtensa/crtn.S: Likewise.
462 * config/xtensa/lib1funcs.S: Likewise.
463 * config/xtensa/lib2funcs.S: Likewise.
464 * config/xtensa/xtensa-config-builtin.h: New File.
466 2022-11-04 Florian Weimer <fweimer@redhat.com>
468 * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
469 values actually used by BFD ld.
471 2022-10-23 LIU Hao <lh_mouse@126.com>
473 * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
474 libobjc, instead of 'gthr.h'
476 2022-10-19 LIU Hao <lh_mouse@126.com>
478 * config.host: Add new cases for `mcf` thread model
479 * config/i386/gthr-mcf.h: New file
480 * config/i386/t-mingw-mcfgthread: New file
481 * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
482 * configure: Regenerate
484 2022-10-18 Jonathan Wakely <jwakely@redhat.com>
486 * Makefile.in: Quote variable.
488 2022-10-17 H.J. Lu <hjl.tools@gmail.com>
490 * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
492 * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
493 _Unwind_Frames_Increment.
494 (_Unwind_ForcedUnwind_Phase2): Likewise.
495 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
496 Take the EXC argument. Return _URC_FATAL_PHASE2_ERROR if the
497 return address on normal stack doesn't match the return address
500 2022-10-17 Florian Weimer <fweimer@redhat.com>
502 * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
505 2022-10-14 Jakub Jelinek <jakub@redhat.com>
507 * config/i386/t-softfp (softfp_extensions): Add bfsf.
508 (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
509 (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
510 CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
512 * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
513 __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
514 * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
515 * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
516 * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
517 * soft-fp/brain.h: New file.
518 * soft-fp/truncsfbf2.c: New file.
519 * soft-fp/truncdfbf2.c: New file.
520 * soft-fp/truncxfbf2.c: New file.
521 * soft-fp/trunctfbf2.c: New file.
522 * soft-fp/trunchfbf2.c: New file.
523 * soft-fp/truncbfhf2.c: New file.
524 * soft-fp/extendbfsf2.c: New file.
526 2022-10-12 Martin Liska <mliska@suse.cz>
528 * libgcov-driver.c: Use new function.
529 * libgcov.h (gcov_write_summary): Rename to ...
530 (gcov_write_object_summary): ... this.
532 2022-10-11 Olivier Hainque <hainque@adacore.com>
534 * config.host (*vxworks*): When enable_shared, add
535 libgcc and crtstuff "shared" fragments for rtp except
537 (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
538 the list of fragments.
540 2022-10-06 Jakub Jelinek <jakub@redhat.com>
542 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
543 fs->regs.how[X] instead of fs->regs.reg[X].how.
545 2022-10-06 Jakub Jelinek <jakub@redhat.com>
547 * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
548 REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
549 REG_UNDEFINED): New anonymous enum, moved from inside of
550 struct frame_state_reg_info.
551 (struct frame_state_reg_info): Remove reg[].how element and the
552 anonymous enum there. Add how element.
553 * unwind-dw2.c: Include stddef.h.
554 (uw_frame_state_for): Don't clear first
555 offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
556 (execute_cfa_program, __frame_state_for, uw_update_context_1,
557 uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
558 or fs.regs.how[X] instead of fs.regs.reg[X].how.
559 * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
560 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
561 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
562 * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
563 UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
565 * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
567 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
568 * config/arc/linux-unwind.h (arc_fallback_frame_state,
569 arc_frob_update_context): Likewise.
570 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
571 * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
572 * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
573 * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
574 * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
575 * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
576 MD_FALLBACK_FRAME_STATE_FOR): Likewise.
577 * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
578 sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
579 * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
580 x86_fallback_frame_state): Likewise.
581 * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
582 * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
583 x86_fallback_frame_state): Likewise.
584 * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
586 * config/i386/dragonfly-unwind.h
587 (x86_64_dragonfly_fallback_frame_state): Likewise.
588 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
589 * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
590 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
592 * config/aarch64/freebsd-unwind.h
593 (aarch64_freebsd_fallback_frame_state): Likewise.
594 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
596 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
597 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
598 * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
600 * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
601 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
603 * config/rs6000/darwin-fallback.c (set_offset): Likewise.
604 * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
605 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
606 * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
608 2022-10-02 Olivier Hainque <hainque@adacore.com>
610 * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment. Move
611 -I options for gcc/include and gcc/include-fixed at the end
612 and make them -isystem.
614 2022-10-02 Olivier Hainque <hainque@adacore.com>
616 * config/gthr-vxworks.h: Prevent Wpragma warning for the
617 pragma diagnostics on Wstrict-prototypes.
619 2022-09-29 Olivier Hainque <hainque@adacore.com>
621 * config/vxcrtstuff.c: Improve the comment attached to the use
622 of auto-host.h and of __dso_handle. Remove redundant guard on
623 HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
625 2022-09-26 Thomas Neumann <tneumann@users.sourceforge.net>
627 * unwind-dw2-fde.c: Introduce a constant for in_shutdown
628 for the non-fast-path case. Drop destructor priority.
630 2022-09-22 Thomas Neumann <tneumann@users.sourceforge.net>
632 * unwind-dw2-fde.c: (release_register_frames) Remember
633 when the btree has been destroyed.
634 (__deregister_frame_info_bases) Disable the assert when
637 2022-09-18 Thomas Neumann <tneumann@users.sourceforge.net>
639 * unwind-dw2-fde.c: Replace uintptr_t with typedef
640 for __UINTPTR_TYPE__.
641 * unwind-dw2-btree.h: Likewise.
643 2022-09-16 Thomas Neumann <tneumann@users.sourceforge.net>
645 * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
646 (__register_frame_info_table_bases): Use btree in atomic fast path.
647 (__deregister_frame_info_bases): Likewise.
648 (_Unwind_Find_FDE): Likewise.
649 (base_from_object): Make parameter const.
650 (classify_object_over_fdes): Add query-only mode.
651 (get_pc_range): Compute PC range for lookup.
652 * unwind-dw2-fde.h (last_fde): Make parameter const.
653 * unwind-dw2-btree.h: New file.
655 2022-08-31 Martin Liska <mliska@suse.cz>
657 * config.host: Remove hppa.
659 2022-08-30 Martin Liska <mliska@suse.cz>
661 * config.host: Remove the port.
663 2022-08-26 Martin Liska <mliska@suse.cz>
665 * config.host: Remove cr16 related stuff.
666 * config/cr16/crti.S: Removed.
667 * config/cr16/crtlibid.S: Removed.
668 * config/cr16/crtn.S: Removed.
669 * config/cr16/divmodhi3.c: Removed.
670 * config/cr16/lib1funcs.S: Removed.
671 * config/cr16/t-cr16: Removed.
672 * config/cr16/t-crtlibid: Removed.
673 * config/cr16/unwind-cr16.c: Removed.
674 * config/cr16/unwind-dw2.h: Removed.
676 2022-08-16 Kito Cheng <kito.cheng@sifive.com>
678 * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
679 (_FP_NANFRAC_H): Ditto.
680 (_FP_NANSIGN_H): Ditto.
681 * config/riscv/t-softfp32 (softfp_extensions): Add HF related
683 (softfp_truncations): Ditto.
684 (softfp_extras): Ditto.
685 * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
687 2022-08-16 Kito Cheng <kito.cheng@sifive.com>
689 * soft-fp/fixhfdi.c: New.
690 * soft-fp/fixhfsi.c: Likewise.
691 * soft-fp/fixunshfdi.c: Likewise.
692 * soft-fp/fixunshfsi.c: Likewise.
693 * soft-fp/floatdihf.c: Likewise.
694 * soft-fp/floatsihf.c: Likewise.
695 * soft-fp/floatundihf.c: Likewise.
696 * soft-fp/floatunsihf.c: Likewise.
697 * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
698 lines and update URL for license.
699 * soft-fp/addsf3.c: Likewise.
700 * soft-fp/addtf3.c: Likewise.
701 * soft-fp/divdf3.c: Likewise.
702 * soft-fp/divsf3.c: Likewise.
703 * soft-fp/divtf3.c: Likewise.
704 * soft-fp/double.h: Likewise.
705 * soft-fp/eqdf2.c: Likewise.
706 * soft-fp/eqhf2.c: Likewise.
707 * soft-fp/eqsf2.c: Likewise.
708 * soft-fp/eqtf2.c: Likewise.
709 * soft-fp/extenddftf2.c: Likewise.
710 * soft-fp/extended.h: Likewise.
711 * soft-fp/extendhfdf2.c: Likewise.
712 * soft-fp/extendhfsf2.c: Likewise.
713 * soft-fp/extendhftf2.c: Likewise.
714 * soft-fp/extendhfxf2.c: Likewise.
715 * soft-fp/extendsfdf2.c: Likewise.
716 * soft-fp/extendsftf2.c: Likewise.
717 * soft-fp/extendxftf2.c: Likewise.
718 * soft-fp/fixdfdi.c: Likewise.
719 * soft-fp/fixdfsi.c: Likewise.
720 * soft-fp/fixdfti.c: Likewise.
721 * soft-fp/fixhfti.c: Likewise.
722 * soft-fp/fixsfdi.c: Likewise.
723 * soft-fp/fixsfsi.c: Likewise.
724 * soft-fp/fixsfti.c: Likewise.
725 * soft-fp/fixtfdi.c: Likewise.
726 * soft-fp/fixtfsi.c: Likewise.
727 * soft-fp/fixtfti.c: Likewise.
728 * soft-fp/fixunsdfdi.c: Likewise.
729 * soft-fp/fixunsdfsi.c: Likewise.
730 * soft-fp/fixunsdfti.c: Likewise.
731 * soft-fp/fixunshfti.c: Likewise.
732 * soft-fp/fixunssfdi.c: Likewise.
733 * soft-fp/fixunssfsi.c: Likewise.
734 * soft-fp/fixunssfti.c: Likewise.
735 * soft-fp/fixunstfdi.c: Likewise.
736 * soft-fp/fixunstfsi.c: Likewise.
737 * soft-fp/fixunstfti.c: Likewise.
738 * soft-fp/floatdidf.c: Likewise.
739 * soft-fp/floatdisf.c: Likewise.
740 * soft-fp/floatditf.c: Likewise.
741 * soft-fp/floatsidf.c: Likewise.
742 * soft-fp/floatsisf.c: Likewise.
743 * soft-fp/floatsitf.c: Likewise.
744 * soft-fp/floattidf.c: Likewise.
745 * soft-fp/floattihf.c: Likewise.
746 * soft-fp/floattisf.c: Likewise.
747 * soft-fp/floattitf.c: Likewise.
748 * soft-fp/floatundidf.c: Likewise.
749 * soft-fp/floatundisf.c: Likewise.
750 * soft-fp/floatunditf.c: Likewise.
751 * soft-fp/floatunsidf.c: Likewise.
752 * soft-fp/floatunsisf.c: Likewise.
753 * soft-fp/floatunsitf.c: Likewise.
754 * soft-fp/floatuntidf.c: Likewise.
755 * soft-fp/floatuntihf.c: Likewise.
756 * soft-fp/floatuntisf.c: Likewise.
757 * soft-fp/floatuntitf.c: Likewise.
758 * soft-fp/gedf2.c: Likewise.
759 * soft-fp/gesf2.c: Likewise.
760 * soft-fp/getf2.c: Likewise.
761 * soft-fp/half.h: Likewise.
762 * soft-fp/ledf2.c: Likewise.
763 * soft-fp/lesf2.c: Likewise.
764 * soft-fp/letf2.c: Likewise.
765 * soft-fp/muldf3.c: Likewise.
766 * soft-fp/mulsf3.c: Likewise.
767 * soft-fp/multf3.c: Likewise.
768 * soft-fp/negdf2.c: Likewise.
769 * soft-fp/negsf2.c: Likewise.
770 * soft-fp/negtf2.c: Likewise.
771 * soft-fp/op-1.h: Likewise.
772 * soft-fp/op-2.h: Likewise.
773 * soft-fp/op-4.h: Likewise.
774 * soft-fp/op-8.h: Likewise.
775 * soft-fp/op-common.h: Likewise.
776 * soft-fp/quad.h: Likewise.
777 * soft-fp/single.h: Likewise.
778 * soft-fp/soft-fp.h: Likewise.
779 * soft-fp/subdf3.c: Likewise.
780 * soft-fp/subsf3.c: Likewise.
781 * soft-fp/subtf3.c: Likewise.
782 * soft-fp/truncdfhf2.c: Likewise.
783 * soft-fp/truncdfsf2.c: Likewise.
784 * soft-fp/truncsfhf2.c: Likewise.
785 * soft-fp/trunctfdf2.c: Likewise.
786 * soft-fp/trunctfhf2.c: Likewise.
787 * soft-fp/trunctfsf2.c: Likewise.
788 * soft-fp/trunctfxf2.c: Likewise.
789 * soft-fp/truncxfhf2.c: Likewise.
790 * soft-fp/unorddf2.c: Likewise.
791 * soft-fp/unordsf2.c: Likewise.
792 * soft-fp/unordtf2.c: Likewise.
794 2022-07-18 Claudiu Zissulescu <claziss@synopsys.com>
796 * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
797 * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
800 2022-06-25 Jeff Law <jeffreyalaw@gmail.com>
802 * config.host: Removed tilegx and tilepro entries.
803 * config/tilegx/sfp-machine.h: Removed.
804 * config/tilegx/sfp-machine32.h: Removed.
805 * config/tilegx/sfp-machine64.h: Removed.
806 * config/tilegx/t-crtstuff: Removed.
807 * config/tilegx/t-softfp: Removed.
808 * config/tilegx/t-tilegx: Removed.
809 * config/tilepro/atomic.c: Removed.
810 * config/tilepro/atomic.h: Removed.
811 * config/tilepro/linux-unwind.h: Removed.
812 * config/tilepro/sfp-machine.h: Removed.
813 * config/tilepro/softdivide.c: Removed.
814 * config/tilepro/softmpy.S: Removed.
815 * config/tilepro/t-crtstuff: Removed.
816 * config/tilepro/t-tilepro: Removed.
818 2022-06-09 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
820 * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
821 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
823 2022-06-01 H.J. Lu <hjl.tools@gmail.com>
826 * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
828 2022-05-25 Wilco Dijkstra <wilco.dijkstra@arm.com>
831 * config/aarch64/lse-init.c: Increase constructor priority.
833 2022-05-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
836 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
837 Handle the !REG_UNSAVED case.
838 * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
840 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
842 * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
843 (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
844 (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
846 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
848 * config.host: Add t-dfprules to AArch64 targets.
850 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
852 * configure: Regenerate.
854 2022-05-13 Sebastian Pop <spop@amazon.com>
857 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
858 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
860 2022-05-10 Martin Liska <mliska@suse.cz>
861 Hans-Peter Helfert <peter-helfert@t-online.de>
863 PR gcov-profile/105535
864 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
867 2022-05-02 Martin Liska <mliska@suse.cz>
869 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
871 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
873 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
874 (gcov_profile_merge_stream): Likewise.
876 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
878 * libgcov-util.c (consume_stream): New.
879 (get_target_profiles_for_merge): Likewise.
880 (gcov_profile_merge_stream): Likewise.
882 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
884 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
886 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
888 * libgcov-util.c (read_gcda_file): Do not open file.
889 (ftw_read_file): Open file here.
891 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
893 * libgcov-util.c (read_gcda_file): Prepend new info object to global
895 (ftw_read_file): Remove list append here.
897 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
899 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
900 (ftw_read_file): Duplicate filename for read_gcda_file().
902 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
904 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
905 (__gcov_filename_to_gcfn): Declare and document.
906 * libgcov-driver.c (dump_string): New.
907 (__gcov_filename_to_gcfn): Likewise.
908 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
910 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
912 * libgcov.h (gcov_seek): Remove define and declaration.
914 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
916 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
917 parameter. Pass mode to gcov_open() calls.
918 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
919 gcov_exit_open_gcda_file() call.
920 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
922 (__gcov_dump_one): Open file for reading and writing.
924 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
926 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
928 * libgcov-util.c (read_gcda_file): Open file for reading.
929 * libgcov.h (gcov_open): Delete declaration.
931 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
933 * libgcov-util.c (gcov_profile_merge): Return the list of merged
934 profiles. Accept empty target and source profile lists.
936 2022-04-08 Sergei Trofimovich <siarheit@google.com>
938 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
940 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
941 Lulu Cheng <chenglulu@loongson.cn>
943 * configure: Regenerate file.
945 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
946 Lulu Cheng <chenglulu@loongson.cn>
948 * config/loongarch/crtfastmath.c: New file.
949 * config/loongarch/linux-unwind.h: Like wise.
950 * config/loongarch/sfp-machine.h: Like wise.
951 * config/loongarch/t-crtstuff: Like wise.
952 * config/loongarch/t-loongarch: Like wise.
953 * config/loongarch/t-loongarch64: Like wise.
954 * config/loongarch/t-softfp-tf: Like wise.
955 * config.host: Add LoongArch tuples.
956 * configure.ac: Add LoongArch support.
958 2022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
961 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
963 (__udivsi3_internal, __divsi3_internal): Similarly.
964 (__umodsi3, __modsi3): Use the internal function names.
966 2022-03-09 Tobias Burnus <tobias@codesourcery.com>
969 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
970 a line up to non-arg-dependent value first.
971 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
972 __atomic_compare_exchange_{1,2}.
974 2022-03-04 Iain Sandoe <iain@sandoe.co.uk>
976 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
977 * config/t-darwin-ehs: Add dependency on unwind.h.
979 2022-02-24 Xi Ruoyao <xry111@mengyan1223.wang>
981 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
982 with 0 instead of NULL.
984 2022-02-24 Jose E. Marchesi <jose.marchesi@oracle.com>
987 * configure.ac: --disable-gcov if targetting bpf-*.
988 * configure: Regenerate.
990 2022-01-25 Florian Weimer <fweimer@redhat.com>
993 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
995 2022-01-17 Martin Liska <mliska@suse.cz>
997 * libgcov-driver.c: Rename .c names to .cc.
999 2022-01-15 David <gccbugzilla@limegreensocks.com>
1001 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
1002 Remove inlined version, Windows 95 is no longer relevant.
1003 * config/i386/gthr-win32.h
1004 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
1006 2022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
1008 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
1009 DWARF_ALT_FRAME_RETURN_COLUMN macro.
1011 2022-01-04 Florian Weimer <fweimer@redhat.com>
1013 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
1016 2022-01-02 John David Anglin <danglin@gcc.gnu.org>
1018 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
1019 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
1020 return is not equal _ASM_EFAULT.
1021 (__kernel_cmpxchg2): Likewise.
1023 2021-12-17 Iain Sandoe <iain@sandoe.co.uk>
1025 * config.host: Add shim declaration header to powerpc*-darwin builds.
1026 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
1028 * config/t-darwin-ehs: Add dependencies to the shared unwinder
1030 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
1031 the shared EH lib. Add all-multi to the dependencies for the
1032 libgcc_s.1.dylib redirections.
1034 2021-12-13 Olivier Hainque <hainque@adacore.com>
1036 * config.host (powerpc*-*-vxworks7*): Remove
1037 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
1039 2021-12-13 Olivier Hainque <hainque@adacore.com>
1041 * config.host (*vxworks*): Remove special case for
1042 arm on the use of vxcrtstuff.
1044 2021-12-13 Fred Konrad <konrad@adacore.com>
1045 Olivier Hainque <hainque@adacore.com>
1047 * config/t-vxcrtstuffS: New Makefile fragment.
1048 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
1049 functions for INITFINI_ARRAY support in shared libs and guard
1050 the definition of eh table registration functions on conditions
1051 indicating they are needed.
1053 2021-12-13 Olivier Hainque <hainque@adacore.com>
1055 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
1056 ahead of the other files in tmake_files.
1057 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
1060 2021-12-13 Olivier Hainque <hainque@adacore.com>
1062 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
1063 both VxWorks7 and earlier.
1064 * config/t-vxworks7: Remove.
1065 * config.host: Remove special case for vxworks7.
1067 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1069 * config/vxcrtstuff.c: Make constructor and destructor
1070 functions static when possible.
1072 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1074 * config/vxcrtstuff.c: Remove constructor/destructor
1077 2021-12-10 Iain Sandoe <iain@sandoe.co.uk>
1079 * config/t-darwin: Add libgcc_tm.h to the dependencies
1080 for darwin10-unwind-find-enc-func.
1082 2021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1084 * config/rs6000/t-vxworks: New file.
1085 * config.host (powerpc*-*-vxworks*): Use it instead of
1088 2021-12-09 Fred Konrad <konrad@adacore.com>
1090 * config.host (powerpc*-wrs-vxworks7*): Fix path to
1091 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
1093 2021-12-09 Olivier Hainque <hainque@adacore.com>
1094 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1096 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
1097 $(LIBGCC2_INCLUDES).
1098 * config/t-vxworks7: Likewise.
1100 2021-12-08 Iain Sandoe <iain@sandoe.co.uk>
1102 * config.host (*-*-darwin*): Add logic to build a shared
1103 unwinder library for Darwin8-10.
1104 * config/i386/t-darwin: Build legacy libgcc_s.1.
1105 * config/rs6000/t-darwin: Likewise.
1106 * config/t-darwin: Reorganise the EH fragments to place
1107 them for inclusion in a shared EH lib.
1108 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
1109 the supporting pieces (all FAT libs).
1110 * config/t-darwin-noeh: Removed.
1111 * config/darwin-unwind.ver: New file.
1112 * config/rs6000/t-darwin-ehs: New file.
1113 * config/t-darwin-ehs: New file.
1115 2021-12-06 Nelson Chu <nelson.chu@sifive.com>
1117 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
1118 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
1119 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
1122 2021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1124 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
1125 ssize_t and vfork after including auto-host.h.
1127 2021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1129 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
1130 crtend.o to extra_parts.
1132 2021-11-27 John David Anglin <danglin@gcc.gnu.org>
1134 * config/pa/t-dimode (lib2difuncs): Fix typo.
1136 2021-11-25 Florian Weimer <fweimer@redhat.com>
1138 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
1140 (find_fde_tail): New function. Split from
1141 _Unwind_IteratePhdrCallback. Move the result initialization
1142 from _Unwind_Find_FDE.
1143 (_Unwind_Find_FDE): Updated to call find_fde_tail.
1145 2021-11-22 Florian Weimer <fweimer@redhat.com>
1147 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
1148 (struct unw_eh_callback_data): Make dbase member conditional.
1149 (unw_eh_callback_data_dbase): New function.
1150 (base_from_cb_data): Simplify for the non-dbase case.
1151 (_Unwind_IteratePhdrCallback): Adjust.
1152 (_Unwind_Find_FDE): Likewise.
1154 2021-11-22 Florian Weimer <fweimer@redhat.com>
1156 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
1158 (base_from_cb_data): Adjust.
1159 (_Unwind_IteratePhdrCallback): Likewise.
1160 (_Unwind_Find_FDE): Likewise.
1162 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1164 * config.host: Add weak emutls crt to the extra_parts.
1165 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
1167 * config/libgcc-libsystem.ver: Add exclude list for the system-
1169 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
1170 * config/i386/libgcc-darwin.10.4.ver: Removed.
1171 * config/i386/libgcc-darwin.10.5.ver: Removed.
1172 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
1173 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
1174 * config/t-darwin-noeh: New file.
1176 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1178 * config/t-darwin: Build weak-defined emutls objects.
1179 * emutls.c (__emutls_get_address): Add optional attributes.
1180 (__emutls_register_common): Likewise.
1183 2021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1186 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
1187 called with a null argument or at the end of the backtrace and return.
1188 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
1190 2021-11-10 Jakub Jelinek <jakub@redhat.com>
1192 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
1195 2021-11-05 Iain Sandoe <iain@sandoe.co.uk>
1197 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
1198 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
1200 2021-11-05 John David Anglin <danglin@gcc.gnu.org>
1203 * config.host (hppa*64*-*-linux*): Revise tmake_file.
1204 (hppa*64*-*-hpux11*): Likewise.
1205 * config/pa/sfp-exceptions.c: New.
1206 * config/pa/sfp-machine.h: New.
1207 * config/pa/t-dimode: New.
1208 * config/pa/t-softfp-sfdftf: New.
1210 2021-10-27 John David Anglin <danglin@gcc.gnu.org>
1212 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
1214 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
1215 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
1216 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
1217 * config/pa/t-linux64 (LIB1ASMSRC): New define.
1218 (LIB1ASMFUNCS): Revise.
1219 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
1221 2021-10-22 Stafford Horne <shorne@gmail.com>
1223 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1226 2021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1228 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
1229 outside of get_regs() in order to use it in another function, this
1230 is done twice: for __powerpc64__ and for !__powerpc64__.
1231 (struct trace_arg): New struct.
1232 (struct layout): New struct.
1233 (ppc_backchain_fallback): New function.
1234 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
1235 state and call MD_BACKCHAIN_FALLBACK.
1237 2021-10-13 Martin Liska <mliska@suse.cz>
1239 PR gcov-profile/90364
1240 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
1242 (write_one_data): Write also checksum.
1243 * libgcov-util.c (read_gcda_file): Read also checksum field.
1244 * libgcov.h (struct gcov_info): Add new field.
1246 2021-10-08 Ian Lance Taylor <iant@golang.org>
1248 * config/i386/morestack.S: Use .init_array for constructor if
1250 * config/rs6000/morestack.S: Likewise.
1251 * config/s390/morestack.S: Likewise.
1253 2021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1256 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
1257 Use more correct values for native IBM 128-bit.
1259 2021-09-28 Iain Sandoe <iain@sandoe.co.uk>
1261 * config/i386/libgcc-darwin.ver: Add Symbols for
1262 __cpu_model, __cpu_indicator_init.
1264 2021-09-22 Iain Sandoe <iain@sandoe.co.uk>
1266 * config/i386/sfp-machine.h: Guard Mach-O-specific code
1269 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1271 * config/t-slibgcc-darwin: Delete unused code.
1273 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1275 * config/i386/t-darwin: Add in a vers file for X86-specific
1277 * config/t-darwin: Add the generic symbol maps here...
1278 * config/t-slibgcc-darwin: ... removing from here.
1279 * config/i386/libgcc-darwin.ver: New file.
1281 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1283 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
1286 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1288 * config.host: Use convenience library for Darwin10
1290 * config/t-darwin: Build Darwin10 unwinder shim as a
1291 convenience library.
1293 2021-09-13 Andrew Pinski <apinski@marvell.com>
1295 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
1296 * config/m32r/libgcc-glibc.ver: Removed.
1297 * config/m32r/t-linux: Removed.
1299 2021-09-08 liuhongt <hongtao.liu@intel.com>
1301 * config/i386/t-softfp: Compile __{mul,div}hc3 into
1304 2021-09-08 Jakub Jelinek <jakub@redhat.com>
1305 Iain Sandoe <iain@sandoe.co.uk>
1307 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
1308 and export *hf* and *hc* functions at GCC_12.0.0.
1310 2021-09-06 liuhongt <hongtao.liu@intel.com>
1312 * Makefile.in: Adjust to support specific CFLAGS for each
1314 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
1315 related libgcc source files.
1316 * config/i386/t-softfp: Ditto.
1317 * config/i386/_divhc3.c: New file.
1318 * config/i386/_mulhc3.c: New file.
1320 2021-09-03 Iain Sandoe <iain@sandoe.co.uk>
1322 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
1323 alias_DFtype, alias_TFtype): New.
1324 (ALIAS_SELECTOR): New.
1325 (strong_alias): Use __typeof and a _Generic selector to
1326 provide the type to the synthesized function.
1328 2021-09-02 liuhongt <hongtao.liu@intel.com>
1330 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
1331 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
1332 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
1333 * config/i386/t-softfp: Add hf soft-fp.
1334 * config.host: Add i386/64/t-softfp.
1335 * config/i386/64/t-softfp: New file.
1337 2021-09-02 liuhongt <hongtao.liu@intel.com>
1339 * soft-fp/eqhf2.c: New file.
1340 * soft-fp/extendhfdf2.c: New file.
1341 * soft-fp/extendhfsf2.c: New file.
1342 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
1343 * soft-fp/truncdfhf2.c: New file
1344 * soft-fp/truncsfhf2.c: New file
1346 2021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
1348 * unwind-arm-common.inc (abort): Remove.
1350 2021-08-31 Richard Sandiford <richard.sandiford@arm.com>
1352 * config/aarch64/value-unwind.h: Add missing runtime exception
1354 * config/frv/frv-abi.h: Likewise.
1355 * config/i386/value-unwind.h: Likewise.
1356 * config/pa/pa64-hpux-lib.h: Likewise.
1358 2021-08-26 David Edelsohn <dje.gcc@gmail.com>
1360 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
1362 (__gcc_qadd): Call ldouble_qadd_internal.
1363 (__gcc_qsub): Call ldouble_qadd_internal with second long double
1366 2021-08-26 Jonathan Yong <10walls@gmail.com>
1368 * config/i386/cygming-crtend.c: Fix register_frame_ctor
1369 and register_frame_dtor warnings.
1371 2021-08-24 Richard Earnshaw <rearnsha@arm.com>
1374 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
1375 Add vlldm erratum work-around.
1377 2021-08-21 John David Anglin <danglin@gcc.gnu.org>
1379 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
1381 2021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
1383 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
1384 (gcov_type_unsigned): Likewise.
1386 2021-08-14 Stafford Horne <shorne@gmail.com>
1389 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
1390 * config/or1k/t-crtstuff: New file.
1392 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1394 * libgcov-driver.c (#include <stdint.h>): Remove.
1395 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
1397 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1399 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
1400 * gcov.h (gcov_info): Declare.
1401 (__gcov_info_to_gdca): Likewise.
1402 * libgcov.h (gcov_write_counter): Remove.
1403 (gcov_write_tag_length): Likewise.
1404 * libgcov-driver.c (#include <stdint.h>): New.
1405 (#include <string.h>): Remove.
1406 (NEED_L_GCOV): Conditionally define.
1407 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
1408 (are_all_counters_zero): New.
1409 (gcov_dump_handler): Likewise.
1410 (gcov_allocate_handler): Likewise.
1411 (dump_unsigned): Likewise.
1412 (dump_counter): Likewise.
1413 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
1414 Use dump_unsigned() and dump_counter().
1415 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
1416 dump_unsigned(), dump_counter(), and are_all_counters_zero().
1417 (__gcov_info_to_gcda): New.
1419 2021-08-05 Jakub Jelinek <jakub@redhat.com>
1421 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
1422 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
1423 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
1424 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
1426 2021-08-04 Jakub Jelinek <jakub@redhat.com>
1428 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
1430 2021-07-15 Alan Modra <amodra@gmail.com>
1432 * config/rs6000/morestack.S (R2_SAVE): Define.
1433 (__morestack): Save and restore r2. Set up r2 for called
1436 2021-07-01 H.J. Lu <hjl.tools@gmail.com>
1438 * soft-fp/extendhfxf2.c: New file.
1439 * soft-fp/truncxfhf2.c: Likewise.
1441 2021-06-29 Julian Brown <julian@codesourcery.com>
1443 * config/gcn/lib2-bswapti2.c: New file.
1444 * config/gcn/lib2-divmod-di.c: New file.
1445 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
1447 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
1448 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
1451 2021-06-29 Julian Brown <julian@codesourcery.com>
1453 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
1454 return types to USItype.
1455 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
1457 2021-06-23 Kewen Lin <linkw@linux.ibm.com>
1459 * configure: Regenerate.
1460 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
1461 typos among the name, CFLAGS and the test.
1462 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
1463 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
1465 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
1466 macro FLOAT128_HW_INSNS_ISA3_1.
1467 (FP128_3_1_CFLAGS_HW): Fix option typo.
1468 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
1469 FLOAT128_HW_INSNS_ISA3_1.
1470 (__floattikf_resolve): Likewise.
1471 (__floatuntikf_resolve): Likewise.
1472 (__fixkfti_resolve): Likewise.
1473 (__fixunskfti_resolve): Likewise.
1474 (__floattikf): Likewise.
1475 (__floatuntikf): Likewise.
1476 (__fixkfti): Likewise.
1477 (__fixunskfti): Likewise.
1479 2021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1482 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
1484 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
1485 on passing -mcmse option.
1487 2021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
1489 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
1492 2021-06-09 Carl Love <cel@us.ibm.com>
1494 * config.host: Add if test and set for
1495 libgcc_cv_powerpc_3_1_float128_hw.
1496 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
1497 Change calls of __fixkfti to __fixkfti_sw.
1498 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
1499 Change calls of __fixunskfti to __fixunskfti_sw.
1500 * config/rs6000/float128-p10.c (__floattikf_hw,
1501 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
1502 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
1503 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
1504 __fixunskfti_resolve): Add resolve functions.
1505 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
1506 * config/rs6000/float128-sed (floattitf, __floatuntitf,
1507 __fixtfti, __fixunstfti): Add editor commands to change names.
1508 * config/rs6000/float128-sed-hw (__floattitf,
1509 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
1511 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
1512 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
1513 * config/rs6000/quad-float128.h (__floattikf_sw,
1514 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
1515 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
1516 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
1517 * config/rs6000/t-float128 (floattikf, floatuntikf,
1518 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
1519 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
1520 file names to fp128_ppc_funcs.
1521 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
1522 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
1523 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
1524 * config/rs6000/t-float128-p10-hw: New file.
1525 * configure: Update script for isa 3.1 128-bit float support.
1526 * configure.ac: Add check for 128-bit float hardware support.
1527 * config/rs6000/fixkfti-sw.c: New file.
1528 * config/rs6000/fixunskfti-sw.c: New file.
1529 * config/rs6000/floattikf-sw.c: New file.
1530 * config/rs6000/floatuntikf-sw.c: New file.
1532 2021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
1534 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
1536 2021-05-13 Martin Liska <mliska@suse.cz>
1538 * libgcov-driver.c: Fix GNU coding style.
1540 2021-05-10 Martin Liska <mliska@suse.cz>
1542 * libgcov-driver.c (gcov_version): Use different name that does
1543 not clash with newly introduced macro.
1545 2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
1547 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
1548 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
1549 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
1551 2021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1553 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1555 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
1556 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1558 (__divkc3): Improve complex divide.
1560 2021-04-23 Michael Meissner <meissner@linux.ibm.com>
1563 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
1564 trampoline size comparison in 32-bit by reversing test and
1565 combining load immediate with compare.
1566 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
1567 in 32-bit by reversing test and combining load immediate with
1570 2021-04-05 Florian Weimer <fweimer@redhat.com>
1571 Michael Meissner <meissner@linux.ibm.com>
1573 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
1574 point functions for $(decimal_float) only.
1576 2021-04-03 Jakub Jelinek <jakub@redhat.com>
1579 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
1580 $(objext) instead of $(object). Use _floatunditf instead of
1581 _floatunsditf. Add tf <-> ti conversion objects.
1582 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
1584 2021-03-29 Michael Meissner <meissner@linux.ibm.com>
1586 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
1587 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
1588 (fp128_decstr_objs): Delete.
1589 * dfp-bit.h: Call __sprintfieee128 to do conversions from
1590 _Float128 to a Decimal type. Call __strtoieee128 to do
1591 conversions from a Decimal type to _Float128.
1592 * config/rs6000/_sprintfkf.c: Delete file.
1593 * config/rs6000/_sprintfkf.h: Delete file.
1594 * config/rs6000/_strtokf.c: Delete file.
1595 * config/rs6000/_strtokf.h: Delete file.
1597 2021-03-23 Marcus Comstedt <marcus@mc.pp.se>
1599 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
1602 2021-03-06 Jakub Jelinek <jakub@redhat.com>
1604 PR gcov-profile/99406
1605 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
1606 defined, define these macros if not defined already.
1608 2021-03-04 Martin Liska <mliska@suse.cz>
1610 PR gcov-profile/99105
1611 * libgcov-driver.c (write_top_counters): Rename to ...
1612 (write_topn_counters): ... this.
1613 (write_one_data): Pre-allocate buffer for number of items
1614 in the corresponding linked lists.
1615 * libgcov.h (malloc_mmap): New function.
1616 (allocate_gcov_kvp): Use it.
1618 2021-03-04 Martin Liska <mliska@suse.cz>
1620 PR gcov-profile/99385
1621 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
1623 2021-03-03 Martin Liska <mliska@suse.cz>
1625 PR gcov-profile/97461
1626 * config.in: Regenerate.
1627 * configure: Likewise.
1628 * configure.ac: Check sys/mman.h header file
1629 * libgcov-driver.c (struct gcov_kvp): Remove static
1630 pre-allocated pool and use a dynamic one.
1631 * libgcov.h (MMAP_CHUNK_SIZE): New.
1632 (gcov_counter_add): Use mmap to allocate pool for struct
1635 2021-03-02 Michael Meissner <meissner@linux.ibm.com>
1637 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
1639 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
1641 2021-02-24 Jakub Jelinek <jakub@redhat.com>
1644 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
1645 negation of m in unsigned type.
1647 2021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
1648 Hau Hsu <hsuhau617@gmail.com>
1651 * config/arm/t-arm: Fix cmse support detection.
1653 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
1655 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
1657 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
1659 * config/rs6000/_dd_to_kf.c: New file.
1660 * config/rs6000/_kf_to_dd.c: New file.
1661 * config/rs6000/_kf_to_sd.c: New file.
1662 * config/rs6000/_kf_to_td.c: New file.
1663 * config/rs6000/_sd_to_kf.c: New file.
1664 * config/rs6000/_sprintfkf.c: New file.
1665 * config/rs6000/_sprintfkf.h: New file.
1666 * config/rs6000/_strtokf.h: New file.
1667 * config/rs6000/_strtokf.c: New file.
1668 * config/rs6000/_td_to_kf.c: New file.
1669 * config/rs6000/quad-float128.h: Add new declarations.
1670 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
1671 (fp128_decstr_funcs): New macro.
1672 (ibm128_dec_funcs): New macro.
1673 (fp128_ppc_funcs): Add the new conversions.
1674 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
1675 compiled with -mabi=ieeelongdouble.
1676 (fp128_decstr_objs): Force __float128 <-> string conversions to be
1677 compiled with -mabi=ibmlongdouble.
1678 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
1679 compiled with -mabi=ieeelongdouble.
1680 (FP128_CFLAGS_DECIMAL): New macro.
1681 (IBM128_CFLAGS_DECIMAL): New macro.
1682 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
1683 (BFP_TO_DFP): Add PowerPC _Float128 support.
1684 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
1685 IEEE 128-bit floating point.
1686 (DFP_TO_BFP): Add PowerPC _Float128 support.
1687 (BFP_TO_DFP): Add PowerPC _Float128 support.
1688 (BFP_SPRINTF): New macro.
1690 2021-01-27 Jakub Jelinek <jakub@redhat.com>
1692 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
1693 * config/i386/savms64f.h: Likewise.
1694 * config/i386/resms64.h: Likewise.
1695 * config/i386/resms64f.h: Likewise.
1696 * config/i386/resms64x.h: Likewise.
1697 * config/i386/resms64fx.h: Likewise.
1699 2021-01-26 Martin Liska <mliska@suse.cz>
1701 PR gcov-profile/98739
1702 * libgcov.h (gcov_topn_add_value): Do not train when
1703 we have a merged profile with a negative number of total
1706 2021-01-25 Martin Liska <mliska@suse.cz>
1708 PR gcov-profile/98739
1709 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
1710 ends with a dropped counter.
1711 * libgcov.h (gcov_topn_add_value): Add return value.
1713 2021-01-13 Stafford Horne <shorne@gmail.com>
1715 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1716 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
1717 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
1718 FP_EX_ALL): New constant macros.
1719 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
1720 FP_HANDLE_EXCEPTIONS): New macros.
1721 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
1723 2021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
1725 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
1726 posix siginfo case to struct handler_args. Detect between legacy
1727 and siginfo from the second parameter, which is a small sigcode in
1728 the legacy case, and a pointer in the siginfo case.
1730 2020-12-20 Max Filippov <jcmvbkbc@gmail.com>
1732 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
1734 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
1737 2020-12-08 Ian Lance Taylor <iant@golang.org>
1739 * generic-morestack-thread.c (free_segments): Block signals during
1742 2020-12-03 Michael Meissner <meissner@linux.ibm.com>
1746 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
1747 (IBM128_SHARED_OBJS): New make variable.
1748 (IBM128_OBJS): New make variable. Set all objects to use the
1749 explicit IBM format, and disable gnu attributes.
1750 (IBM128_CFLAGS): New make variable.
1751 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
1754 2020-12-03 Alexandre Oliva <oliva@adacore.com>
1756 * config/t-vxworks (LIB2ADD): Drop.
1757 * config/t-vxworks7 (LIB2ADD): Likewise.
1758 * config/vxcache.c: Remove.
1760 2020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
1762 * libgcc2.c (bswapsi2): Make constants unsigned.
1764 2020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
1766 * libgcc2.c (absvSI2): Simplify/improve implementation by using
1767 builtin_add_overflow.
1768 (absvsi2, absvDI2): Likewise.
1770 2020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
1772 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
1773 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
1775 2020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1777 * config/msp430/lib2hw_mul.S (mult64_hw): New.
1778 (if MUL_32): Use mult64_hw for __muldi3.
1779 (if MUL_F5): Use mult64_hw for __muldi3.
1780 * config/msp430/lib2mul.c (__muldi3): New.
1781 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
1783 2020-11-17 Alan Modra <amodra@gmail.com>
1785 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
1786 (LIB2_SIDITI_CONV_FUNCS): Define.
1787 * config/rs6000/ppc64-fp.c: Delete file.
1789 2020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1791 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
1792 hwmult library functions.
1794 2020-11-10 Jeff Law <law@redhat.com>
1796 * libgcc2.c: Fix whitespace issues in most recent change.
1798 2020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
1800 * libgcc2.c (__addvSI3): Use overflow builtins.
1801 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
1802 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
1803 (__negvsi2, __negvDI2): Likewise.
1804 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
1806 * libgcc2.h (__ucmpdi2): Adjust prototype.
1808 2020-11-03 Pat Bernardi <bernardi@adacore.com>
1809 Olivier Hainque <hainque@adacore.com>
1811 * config.host (aarch64-vxworks7*, tmake_file): Add
1812 ${cpu_type}/t-lse and t-slibgcc-libgcc.
1814 2020-11-03 Martin Storsjö <martin@martin.st>
1816 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
1817 before calling the callback.
1819 2020-10-30 Olivier Hainque <hainque@adacore.com>
1820 Douglas Rupp <rupp@adacore.com>
1821 Pat Bernardi <bernardi@adacore.com>
1823 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
1824 to apply to VxWorks 7 as well.
1826 2020-10-29 Olivier Hainque <hainque@adacore.com>
1828 * config/gthr-vxworks-tls.c: Fix preprocessor logic
1829 controlling the definition of VX_ENTER_TLS_DTOR and
1830 VX_LEAVE_TLS_DTOR based on a version major check.
1832 2020-10-29 Olivier Hainque <hainque@adacore.com>
1834 * config/gthr-vxworks-thread.c: Fix name of macro used
1835 to condition the inclusion of an actual implementation.
1837 2020-10-27 Martin Liska <mliska@suse.cz>
1839 PR gcov-profile/97461
1840 * libgcov.h (gcov_counter_add): Use first static counters
1841 as it should help to have malloc wrappers set up.
1843 2020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1845 * config/gthr-vxworks-thread.c: #include gthr.h before
1846 testing the guard defined there.
1847 * config/gthr-vxworks-cond.c: Likewise.
1849 2020-10-21 Douglas Rupp <rupp@adacore.com>
1850 Olivier Hainque <hainque@adacore.com>
1852 * config.host (powerpc*-wrs-vxworks7*): New case.
1853 * configure.ac: Handle powerpc*-*-vxworks7* as
1854 powerpc*-*-linux* for ppc-fp_type.
1855 * configure: Regenerate.
1857 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1859 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
1860 section on VxWorks >= 6.
1861 * config/gthr-vxworks-thread.c: Condition the entire
1862 implementation on __GTHREAD_CXX0X.
1864 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1866 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
1867 section on VxWorks >= 6.
1868 * config/gthr-vxworks-cond.c: Condition the entire
1869 implementation on __GTHREAD_HAS_COND.
1871 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1873 * config/gthr-vxworks.c: #include <taskLib.h>.
1875 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1877 * config/gthr-vxworks.h: Rewrite remaining occurrence
1878 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
1880 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1881 Olivier Hainque <hainque@adacore.com>
1883 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
1884 except on VxWorks 6.
1886 2020-10-16 Olivier Hainque <hainque@adacore.com>
1888 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
1890 2020-10-14 Alexandre Oliva <oliva@adacore.com>
1892 * config/gthr-vxworks-thread.c: Include stdlib.h.
1893 (tls_delete_hook): Prototype it.
1894 (__gthread_cond_signal): Return early if no waiters. Consume
1895 signal in case the semaphore got full. Use semInfoGet instead
1896 of kernel-mode-only semInfo.
1897 (__gthread_cond_timedwait): Use semExchange. Always take the
1898 mutex again before returning.
1899 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
1901 2020-10-14 Olivier Hainque <hainque@adacore.com>
1903 * config/t-vxworks (LIBGCC2_INCLUDES): Append
1904 $(MULTISUBDIR) to the -I path for fixed headers, as we
1905 arrange to have different sets of such headers for different
1906 multilibs when they are activated.
1907 * config/t-vxworks7: Likewise.
1909 2020-10-14 Olivier Hainque <hainque@adacore.com>
1911 * config/t-vxworks: Add include-fixed to include search
1912 paths for libgcc on VxWorks.
1913 * config/t-vxworks7: Likewise.
1915 2020-10-09 H.J. Lu <hjl.tools@gmail.com>
1918 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
1919 instead of <cetintrin.h>.
1921 2020-10-01 Alan Modra <amodra@gmail.com>
1923 * config/rs6000/morestack.S,
1924 * config/rs6000/tramp.S: Support __PCREL__ code.
1926 2020-10-01 Alan Modra <amodra@gmail.com>
1928 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
1930 2020-09-29 Maciej W. Rozycki <macro@wdc.com>
1932 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
1935 2020-09-28 Richard Sandiford <richard.sandiford@arm.com>
1937 * config/aarch64/libgcc-softfp.ver: New file.
1938 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
1940 2020-09-27 Clement Chigot <clement.chigot@atos.net>
1942 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
1944 2020-09-22 Sergei Trofimovich <siarheit@google.com>
1946 PR gcov-profile/96913
1947 * libgcov-driver.c (write_one_data): Avoid function pointer
1948 comparison in TOP streaming decision.
1950 2020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
1951 Christophe Lyon <christophe.lyon@linaro.org>
1953 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
1955 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
1956 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
1959 2020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
1961 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
1962 unused variable warning.
1964 2020-09-16 Jojo R <jiejie_rong@c-sky.com>
1966 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
1968 2020-09-09 Tom de Vries <tdevries@suse.de>
1970 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
1971 Wbuiltin-declaration-mismatch.
1973 2020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1975 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
1976 * config/msp430/srai.S (__gnu_mspabi_srap): New.
1977 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
1979 2020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
1981 * config/nvptx/atomic.c: New.
1982 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
1984 2020-08-03 Ian Lance Taylor <iant@golang.org>
1986 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
1988 2020-08-03 Jakub Jelinek <jakub@redhat.com>
1991 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
1992 of x(tmp0), x(tmp1) in STXP arguments.
1994 2020-07-31 Maciej W. Rozycki <macro@wdc.com>
1996 * config/riscv/save-restore.S [__riscv_xlen == 64]
1997 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
1998 (__riscv_save_2): Replace negative immediates used for the final
1999 stack pointer adjustment with positive ones, right-shifted by 4.
2001 2020-07-31 Martin Liska <mliska@suse.cz>
2003 * libgcov-driver.c: Add __gcov_kvp_pool
2004 and __gcov_kvp_pool_index variables.
2005 * libgcov.h (allocate_gcov_kvp): New.
2006 (gcov_topn_add_value): Use it.
2008 2020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2010 * config/aarch64/lse.S: Add PAC property note.
2012 2020-07-23 Martin Liska <mliska@suse.cz>
2014 PR gcov-profile/96035
2015 * libgcov-driver-system.c: Create gcov folders with 0777
2016 so that it respects a system umask.
2018 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
2020 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
2022 2020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2025 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
2026 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
2027 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
2028 (MD_DEMANGLE_RETURN_ADDR): This.
2029 (aarch64_post_extract_frame_addr): Rename to ...
2030 (aarch64_demangle_return_addr): This.
2031 (aarch64_post_frob_eh_handler_addr): Remove.
2032 * unwind-dw2.c (uw_update_context): Demangle return address.
2033 (uw_frob_return_addr): Remove.
2035 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2038 * config/aarch64/lse.S: Add BTI marking and related definitions,
2039 and add BTI c to function entries.
2041 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2043 * config/aarch64/lse.S: Add stack note.
2045 2020-07-02 Martin Liska <mliska@suse.cz>
2047 PR gcov-profile/95348
2048 * libgcov-driver.c (merge_one_data): Merge only profiles
2049 that are not of non-zero type.
2050 (write_one_data): Write counters only if there's one non-zero
2052 * libgcov-util.c (tag_function): Change signature from unsigned
2054 (tag_blocks): Likewise.
2055 (tag_arcs): Likewise.
2056 (tag_counters): Likewise.
2057 (tag_summary): Likewise.
2058 (tag_lines): Read only if COUNTERS is non-zero.
2059 (read_gcda_file): Handle negative length for COUNTERS type.
2061 2020-06-25 Martin Liska <mliska@suse.cz>
2063 * libgcov-driver.c (merge_summary): Remove function as its name
2064 is misleading and doing something different.
2065 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
2067 * libgcov-util.c (curr_object_summary): Remove.
2068 (read_gcda_file): Remove unused curr_object_summary.
2069 (gcov_merge): Merge summaries.
2070 * libgcov.h: Add summary argument for gcov_info struct.
2072 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
2075 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
2076 "common/config/i386/i386-cpuinfo.h" and
2077 "common/config/i386/cpuinfo.h".
2078 (__cpu_features2): Changed to array.
2079 (get_amd_cpu): Removed.
2080 (get_intel_cpu): Likewise.
2081 (get_available_features): Likewise.
2082 (__cpu_indicator_init): Call cpu_indicator_init.
2083 * config/i386/cpuinfo.h: Removed.
2085 2020-06-23 David Edelsohn <dje.gcc@gmail.com>
2087 * Makefile.in: Remove uses of empty.mk. Use -include.
2088 * config/avr/t-avr: Use -include.
2091 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
2093 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
2094 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
2095 and 64 bit with -maix64.
2096 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
2097 Build and install AIX-style FAT libraries.
2099 2020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
2101 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
2103 * config/i386/gnu-unwind.h: New file.
2105 2020-06-17 Martin Liska <mliska@suse.cz>
2107 * libgcov-util.c (read_gcda_finalize): Remove const operator.
2108 (merge_wrapper): Add both counts and use them properly.
2109 (topn_to_memory_representation): New function.
2110 (gcov_merge): Covert on disk representation to in memory
2112 * libgcov.h: Remove const operator.
2114 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
2116 * configure: Regenerate.
2117 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
2118 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
2120 2020-06-09 Martin Liska <mliska@suse.cz>
2122 PR gcov-profile/95494
2123 * libgcov-driver.c (write_top_counters): Cast first to
2124 intptr_t as sizeof(*) != sizeof(gcov_type).
2125 * libgcov.h (gcov_counter_set_if_null): Remove.
2126 (gcov_topn_add_value): Cast first to intptr_t and update
2127 linked list directly.
2129 2020-06-09 Max Filippov <jcmvbkbc@gmail.com>
2131 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
2132 with uw_install_context_1.
2134 2020-06-04 Andreas Schwab <schwab@suse.de>
2138 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
2140 (LIB2ADD): Add config/ia64/divtf3.c.
2141 * config/ia64/divtf3.c: New file.
2143 2020-06-03 Martin Liska <mliska@suse.cz>
2145 PR gcov-profile/95480
2146 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
2147 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
2148 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
2149 (gcov_counter_set_if_null): Likewise.
2151 2020-06-02 Jim Wilson <jimw@sifive.com>
2153 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
2156 2020-06-02 Martin Liska <mliska@suse.cz>
2158 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
2161 2020-06-02 Martin Liska <mliska@suse.cz>
2163 * libgcov-driver.c (prune_topn_counter): Remove.
2164 (prune_counters): Likewise.
2165 (merge_one_data): Special case TOP N counters
2166 as they have variable length.
2167 (write_top_counters): New.
2168 (write_one_data): Special case TOP N.
2169 (dump_one_gcov): Do not prune TOP N counters.
2170 * libgcov-merge.c (merge_topn_values_set): Remove.
2171 (__gcov_merge_topn): Use gcov_topn_add_value.
2172 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2174 * libgcov.h (gcov_counter_add): New.
2175 (gcov_counter_set_if_null): Likewise.
2176 (gcov_topn_add_value): New.
2178 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
2180 * config/i386/sfp-exceptions.c (struct fenv):
2181 Add __attribute__ ((gcc_struct)).
2183 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
2186 * configure: Regenerated.
2188 2020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
2190 PR gcov-profile/95332
2191 * libgcov-util.c (read_gcda_file): Call gcov_magic.
2192 * libgcov.h (gcov_magic): Disable GCC poison.
2194 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
2197 * config/i386/cpuinfo.h (processor_features): Move
2198 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
2200 2020-05-20 H.J. Lu <hongjiu.lu@intel.com>
2203 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
2206 2020-05-19 H.J. Lu <hongjiu.lu@intel.com>
2210 * config/i386/cpuinfo.c (get_available_features): Fix
2211 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
2212 * config/i386/cpuinfo.h (processor_features): Add
2213 FEATURE_AVX512VP2INTERSECT.
2215 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
2218 * configure: Regenerated.
2220 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
2222 * configure: Regenerated.
2224 2020-05-09 Hans-Peter Nilsson <hp@axis.com>
2226 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
2227 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
2229 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
2231 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
2232 (__math_force_eval_div): New define.
2233 (__sfp_handle_exceptions): Use __math_force_eval_div to use
2234 generic division to generate INVALID, DIVZERO and INEXACT
2237 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2239 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
2240 instead of getauxval.
2242 (HWCAP_ATOMICS): Define.
2243 Guard detection on __gnu_linux__.
2245 2020-05-05 Michael Meissner <meissner@linux.ibm.com>
2247 * config.host: Delete changes meant for a private branch.
2248 * config/rs6000/t-float128: Likewise.
2249 * configure.ac: Likewise.
2250 * configure: Likewise.
2252 2020-05-05 Martin Liska <mliska@suse.cz>
2254 PR gcov-profile/93623
2255 * Makefile.in: Remove __gcov_flush.
2256 * gcov.h (__gcov_flush): Remove.
2257 * libgcov-interface.c (__gcov_flush): Remove.
2258 (init_mx): Use renamed mutex.
2259 (__gcov_lock): Likewise.
2260 (__gcov_unlock): Likewise.
2261 (__gcov_fork): Likewise.
2262 (__gcov_flush): Remove.
2264 2020-05-05 Martin Liska <mliska@suse.cz>
2266 PR gcov-profile/93623
2267 * libgcov-interface.c (__gcov_fork): Do not flush
2268 and reset only in child process.
2269 (__gcov_execl): Dump counters only and reset them
2270 only if exec* fails.
2271 (__gcov_execlp): Likewise.
2272 (__gcov_execle): Likewise.
2273 (__gcov_execv): Likewise.
2274 (__gcov_execvp): Likewise.
2275 (__gcov_execve): Likewise.
2277 2020-05-05 Martin Liska <mliska@suse.cz>
2279 PR gcov-profile/93623
2280 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
2281 * libgcov-interface.c (ALIAS_void_fn): Remove.
2283 (__gcov_unlock): New.
2284 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
2285 (__gcov_reset): Likewise.
2286 (__gcov_dump): Likewise.
2287 * libgcov.h (__gcov_lock): New declaration.
2288 (__gcov_unlock): Likewise.
2290 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
2292 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
2293 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
2294 generic division to generate INVALID and DIVZERO exceptions.
2296 2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
2298 * config/rs6000/crtresfpr.S: Use .machine ppc.
2299 * config/rs6000/crtresxfpr.S: Likewise.
2300 * config/rs6000/crtsavfpr.S: Likewise.
2302 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2305 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
2306 Update context->flags accroding to the frame state.
2308 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
2310 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
2311 Remove unneeded assignments to volatile memory.
2313 2020-04-15 Jakub Jelinek <jakub@redhat.com>
2316 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
2317 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
2318 is not defined, use just .arch armv8-a.
2319 (B, M, N, OPN): Define.
2320 (COMMENT): New .macro.
2321 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
2322 defined. Otherwise, move the operands right after the glue? and
2323 comment out operands where the macros are used.
2324 * configure: Regenerated.
2325 * config.in: Regenerated.
2327 2020-04-07 Ian Lance Taylor <iant@golang.org>
2330 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
2333 2020-04-04 Ian Lance Taylor <iant@golang.org>
2335 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
2337 2020-04-03 Ian Lance Taylor <iant@golang.org>
2339 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
2340 than mmap/munmap, to avoid hooks.
2342 2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
2344 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
2345 (TPFRA_OFFSET): Macros removed.
2346 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
2347 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
2348 (PG3_SKIPPING_OFFSET): New macros.
2349 (__isPATrange): Use cinfc_fast for the check.
2350 (__isSkipResetAddr): New function.
2351 (s390_fallback_frame_state): Check for skip trace addresses. Use
2352 either ICST_CRET or ICST_SRET to calculate return address
2354 (__tpf_eh_return): Handle skip trace addresses.
2356 2020-03-26 Richard Earnshaw <rearnsha@arm.com>
2359 * config/arm/lib1funcs.asm (COND): Use a single definition for
2361 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
2362 (aeabi_idivmod): Likewise.
2363 (divsi3_skip_div0_test): Likewise.
2365 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
2367 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
2369 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
2371 * config.host: Include the new makefile fragment.
2372 * config/s390/t-tpf: New file.
2374 2020-03-03 Richard Earnshaw <rearnsha@arm.com>
2376 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
2378 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
2379 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
2380 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
2381 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
2382 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
2384 (divsi3, modsi3): Likewise.
2385 (clzdi2, ctzsi2): Likewise.
2386 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
2388 (UNWIND_WRAPPER): Likewise.
2390 2020-03-02 Martin Liska <mliska@suse.cz>
2392 * libgcov-interface.c: Remove duplicate
2393 declaration of __gcov_flush_mx.
2395 2020-02-18 Martin Liska <mliska@suse.cz>
2398 * libgcov-merge.c (merge_topn_values_set): Record
2399 when a TOP N counter becomes invalid. When merging
2400 remove a smallest value if the space is needed.
2402 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
2407 * configure: Regenerated.
2409 2020-02-10 Jeff Law <law@redhat.com>
2411 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
2413 * config/frv/frvend.c: Similarly.
2415 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
2418 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2421 2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
2424 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
2425 _Unwind_gnu_Find_got.
2426 * unwind-pe.h: Likewise.
2428 2020-02-07 Jakub Jelinek <jakub@redhat.com>
2431 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
2432 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
2433 trailing :s in asm. Formatting fixes.
2434 (_Unwind_decode_typeinfo_ptr): Adjust caller.
2436 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
2438 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
2440 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
2441 * config/nios2-elf-lib.h: New.
2442 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
2443 code for finding GOT base for nios2.
2445 2020-01-27 Martin Liska <mliska@suse.cz>
2447 PR gcov-profile/93403
2448 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
2449 Call __gcov_indirect_call_profiler_body.
2450 (__gcov_indirect_call_profiler_body): New.
2451 (__gcov_indirect_call_profiler_v4_atomic): New.
2452 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
2455 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
2457 * config/arc/crti.S: Add RF16 object attribute.
2458 * config/arc/crtn.S: Likewise.
2459 * config/arc/crttls.S: Likewise.
2460 * config/arc/lib1funcs.S: Likewise.
2461 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
2462 * config/arc/lib2funcs.c: New file.
2463 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
2465 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
2467 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
2468 * configure.ac: Handle `--with-toolexeclibdir='.
2469 * configure: Regenerate.
2471 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2473 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
2475 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2477 * config/mips/gnustack.h: New file.
2478 * config/mips/crti.S: Include gnustack.h.
2479 * config/mips/crtn.S: Likewise.
2480 * config/mips/mips16.S: Likewise.
2481 * config/mips/vr4120-div.S: Likewise.
2483 2020-01-23 Martin Liska <mliska@suse.cz>
2485 * libgcov-driver.c (prune_topn_counter): Remove
2486 check for -1 as we only prune run-time counters
2487 that do not generate an invalid state.
2489 2020-01-22 Martin Liska <mliska@suse.cz>
2491 PR tree-optimization/92924
2492 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
2493 try to find an existing value, then find an empty slot
2496 2020-01-22 Martin Liska <mliska@suse.cz>
2498 PR tree-optimization/92924
2499 * libgcov-driver.c (prune_topn_counter): New.
2500 (prune_counters): Likewise.
2501 (dump_one_gcov): Prune a run-time counter.
2502 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2503 For a known value, add GCOV_TOPN_VALUES to value.
2504 Otherwise, decrement all counters by one.
2506 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
2508 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
2510 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
2513 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
2514 DEFAULT_USE_CXA_ATEXIT is true.
2516 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
2517 Thomas Preud'homme <thomas.preudhomme@arm.com>
2519 * config/arm/t-arm: Check return value of gcc rather than lack of
2522 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
2524 * config/avr/lib1funcs.S (skip): Simplify.
2526 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
2528 * config/gcn/atomic.c: Remove include of stdint.h.
2529 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
2532 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
2534 * config/gcn/atomic.c: New.
2535 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
2537 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
2539 Implement 64-bit double functions.
2542 * config.host (tmake_file) [target=avr]: Add t-libf7,
2543 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
2544 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
2545 depending on sizeof (double) or sizeof (long double).
2546 * config/avr/libf7: New folder.
2548 2020-01-05 Olivier Hainque <hainque@adacore.com>
2550 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
2553 2020-01-01 Jakub Jelinek <jakub@redhat.com>
2555 Update copyright years.
2557 2019-12-30 Olivier Hainque <hainque@adacore.com>
2559 * config/gthr-vxworks.h: Use _vxworks-versions.h.
2560 * config/gthr-vxworks-tls.c: Likewise.
2562 2019-12-30 Olivier Hainque <hainque@adacore.com>
2564 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
2565 standard zero-initializer syntax.
2567 2019-12-30 Olivier Hainque <hainque@adacore.com>
2569 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
2570 reference to the internal VX_GET_TLS_DATA interface.
2572 2019-12-30 Olivier Hainque <hainque@adacore.com>
2574 * config/vxcrtstuff.c: Fix incorrect spelling of
2575 USE_INITFINI_ARRAY in guard.
2577 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2579 * config.host: s/msp430*-*-elf/msp430-*-elf*.
2580 Override default "extra_parts" variable.
2581 * configure: Regenerate.
2582 * configure.ac: Disable TM clone registry by default for
2585 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2587 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
2589 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
2591 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2593 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
2596 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2598 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
2599 defined instead of its value.
2601 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2603 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
2604 if it will have contents.
2606 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
2609 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
2611 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
2614 * config.host: Add t-gthr-noweak on *-*-musl*.
2615 * config/t-gthr-noweak: New file.
2617 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
2619 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
2620 volatile void *. Remove trap check.
2621 (__kernel_cmpxchg2): Likewise.
2622 (FETCH_AND_OP_2): Adjust operand types.
2623 (OP_AND_FETCH_2): Likewise.
2624 (FETCH_AND_OP_WORD): Likewise.
2625 (OP_AND_FETCH_WORD): Likewise.
2626 (COMPARE_AND_SWAP_2): Likewise.
2627 (__sync_val_compare_and_swap_4): Likewise.
2628 (__sync_bool_compare_and_swap_4): Likewise.
2629 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2630 (__sync_lock_test_and_set_4): Likewise.
2631 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
2632 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
2634 (__sync_lock_release_8): Remove.
2636 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
2638 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
2641 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
2642 Doug Rupp <rupp@adacore.com>
2643 Olivier Hainque <hainque@adacore.com>
2645 * config.host: Collapse the arm-vxworks entries into
2646 a single arm-wrs-vxworks7* one.
2647 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
2648 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
2649 kernel modules, to be overriden by libstdc++ when we link with
2650 it. Rely on externally provided __exidx_start/end.
2652 2019-11-14 Doug Rupp <rupp@adacore.com>
2653 Olivier Hainque <hainque@adacore.com>
2655 * config.host: Handle aarch64*-wrs-vxworks7*.
2657 2019-11-12 Olivier Hainque <hainque@adacore.com>
2659 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
2660 sources except the cxx0x support to LIB2ADDEH. We don't support
2662 * config/t-vxworksae: New file.
2663 * config.host: Handle *-*-vxworksae: Add the two aforementioned
2664 Makefile fragment files at their expected position in the tmake_file
2665 list, in accordance with what is done for other VxWorks variants.
2667 2019-11-12 Corentin Gay <gay@adacore.com>
2668 Jerome Lambourg <lambourg@adacore.com>
2669 Olivier Hainque <hainque@adacore.com>
2671 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
2672 sources to LIB2ADDEH.
2673 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
2674 * config/t-vxworks7: Likewise.
2676 * config.host: Append a block at the end of the file to add the
2677 t-gthr files to the tmake_file list for VxWorks after everything
2680 * config/vxlib.c: Rename as gthr-vxworks.c.
2681 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
2683 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
2684 API and a basic error checking API, both internal. Simplify the
2685 __gthread_once_t type definition and initializers. Add sections
2686 for condition variables support and for the C++0x thread support,
2687 conditioned against Vx653 for the latter.
2689 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
2690 implementation, leveraging the TAS internal API.
2691 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
2692 API, leveraging the general availability of TLS services in VxWorks7
2694 (__gthread_setspecific, __gthread_setspecific): Use it.
2695 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
2696 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
2697 support based on VxWorks primitives.
2698 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
2699 based on VxWorks primitives.
2701 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
2702 Olivier Hainque <hainque@adacore.com>
2704 * config/vxcrtstuff.c: New file.
2705 * config/t-vxcrtstuff: New Makefile fragment.
2706 * config.host: Append t-vxcrtstuff to the tmake_file list
2707 on all VxWorks ports using dwarf for table based EH.
2709 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
2711 Support 64-bit double and 64-bit long double configurations.
2714 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
2715 long double is a 32-bit type.
2716 * config/avr/t-avrlibc: Copy double64 and long-double64
2717 multilib(s) from the vanilla one.
2718 * config/avr/t-copy-libgcc: New Makefile snip.
2720 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2722 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
2723 the target output object format is not ELF.
2724 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
2726 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
2729 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
2730 * fp-bit.c (pack_d, unpack_d): Remove special cases for
2731 FLOAT_BIT_ORDER_MISMATCH.
2732 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
2734 2019-11-01 Jim Wilson <jimw@sifive.com>
2736 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
2738 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2740 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
2741 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
2742 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
2743 Define symbols for 32-bit and f5series hardware multiply
2745 Replace hard-coded register addresses with symbols.
2746 Fix "_mspabi*" typo.
2748 * config/msp430/lib2mul.c: Add comment.
2750 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
2752 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
2753 unsigned int. Adjust callers.
2754 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
2755 unsigned int *. Load relocation offset before function pointer.
2756 Add barrier to ensure ordering.
2758 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
2760 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
2761 Load PIC register after branch target. Fix white space.
2762 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
2763 implementations. Load PIC register after branch target. Don't
2764 clobber function pointer when it points to function descriptor.
2765 Use nullification instead of branch in LINUX implementation.
2767 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
2769 * config/pa/fptr.c: Disable -Warray-bounds warning.
2771 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
2773 * config.in, configure: Re-rebuild with stock autoconf 2.69,
2774 not the ubuntu modified 2.69.
2777 * config/aarch64/lse-init.c: Include auto-target.h. Disable
2778 initialization if !HAVE_SYS_AUXV_H.
2779 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
2780 * config.in, configure: Rebuild.
2783 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
2786 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
2788 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
2789 CTR_EL0.IDC and CTR_EL0.DIC.
2791 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
2794 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2795 Mickaël Guêné <mickael.guene@st.com>
2797 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2800 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
2802 * config/aarch64/lse-init.c: New file.
2803 * config/aarch64/lse.S: New file.
2804 * config/aarch64/t-lse: New file.
2805 * config.host: Add t-lse to all aarch64 tuples.
2807 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2808 Mickaël Guêné <mickael.guene@st.com>
2810 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2813 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2814 Mickaël Guêné <mickael.guene@st.com>
2816 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
2817 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
2818 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
2819 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
2820 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
2821 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
2822 (__gnu_personality_sigframe_fdpic): New.
2823 (get_eit_entry): Add FDPIC signal frame support.
2825 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2826 Mickaël Guêné <mickael.guene@st.com>
2828 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
2829 (__kernel_dmb): Likewise.
2830 (__fdpic_cmpxchg): New function.
2831 (__fdpic_dmb): New function.
2832 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
2833 (gnu_Unwind_Find_got): New function.
2834 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
2835 * unwind-arm-common.inc (UCB_PR_GOT): New.
2836 (funcdesc_t): New struct.
2837 (get_eit_entry): Add FDPIC support.
2838 (unwind_phase2): Likewise.
2839 (unwind_phase2_forced): Likewise.
2840 (__gnu_Unwind_RaiseException): Likewise.
2841 (__gnu_Unwind_Resume): Likewise.
2842 (__gnu_Unwind_Backtrace): Likewise.
2843 * unwind-pe.h (read_encoded_value_with_base): Likewise.
2845 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2846 Mickaël Guêné <mickael.guene@st.com>
2848 * libgcc/crtstuff.c: Add support for FDPIC.
2850 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2852 * config.host: Handle *-*-uclinuxfdpiceabi.
2854 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2856 * config.host: Set cpu_type for bpf-*-* targets.
2857 * config/bpf/t-bpf: Likewise.
2858 * config/bpf/crtn.S: Likewise.
2859 * config/bpf/crti.S: New file.
2861 2019-09-06 Jim Wilson <jimw@sifive.com>
2863 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2864 (riscv*-*-freebsd*): Likewise.
2866 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
2868 * config.host: Remove references to spu.
2869 * config/spu/: Remove directory.
2871 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2874 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
2875 element type, instead of "sizeof" the element type.
2876 (__DTOR_LIST__): Likewise.
2877 (__TMC_LIST__): Likewise.
2878 (__do_global_dtors_aux_fini_array_entry): Likewise.
2879 (__frame_dummy_init_array_entry): Likewise.
2880 (__CTOR_END__): Likewise.
2881 (__DTOR_END__): Likweise.
2882 (__FRAME_END__): Likewise.
2883 (__TMC_END__): Likewise.
2885 2019-08-20 Lili Cui <lilicui@intel.com>
2887 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
2888 INTEL_COREI7_COOPERLAKE.
2890 2019-07-31 Matt Thomas <matt@3am-software.com>
2891 Nick Hudson <nick@nthcliff.demon.co.uk>
2892 Matthew Green <mrg@eterna.com.au>
2893 Maya Rashish <coypu@sdf.org>
2895 * config.host (hppa*-*-netbsd*): New case.
2896 * config/pa/t-netbsd: New file.
2898 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
2900 * config/arm/cmse.c (cmse_check_address_range): Add
2901 warn_unused_result attribute.
2903 2019-07-22 Martin Liska <mliska@suse.cz>
2905 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
2906 * config/pa/t-stublib: Likewise.
2908 2019-07-22 Stafford Horne <shorne@gmail.com>
2911 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
2912 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
2913 instructions are not available on every processor. Change a
2914 l.bnf to l.bf to fix logic issue.
2916 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
2918 * config.host: Remove reference to t-darwin8.
2920 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
2922 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
2924 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
2925 mmacosx-version-min for crts to run across all system versions.
2926 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
2927 * config/t-darwin: Revise mmacosx-version-min for crts to run across
2928 system versions >= 10.4.
2930 2019-07-03 Martin Liska <mliska@suse.cz>
2932 * Makefile.in: Use topn_values instead of one_value names.
2933 * libgcov-merge.c (__gcov_merge_single): Move to ...
2934 (__gcov_merge_topn): ... this.
2935 (merge_single_value_set): Move to ...
2936 (merge_topn_values_set): ... this.
2937 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
2939 (__gcov_topn_values_profiler_body): ... this.
2940 (__gcov_one_value_profiler_v2): Move to ...
2941 (__gcov_topn_values_profiler): ... this.
2942 (__gcov_one_value_profiler_v2_atomic): Move to ...
2943 (__gcov_topn_values_profiler_atomic): ... this.
2944 (__gcov_indirect_call_profiler_v4): Remove.
2945 * libgcov-util.c (__gcov_single_counter_op): Move to ...
2946 (__gcov_topn_counter_op): ... this.
2947 * libgcov.h (L_gcov_merge_single): Remove.
2948 (L_gcov_merge_topn): New.
2949 (__gcov_merge_single): Remove.
2950 (__gcov_merge_topn): New.
2951 (__gcov_one_value_profiler_v2): Move to ..
2952 (__gcov_topn_values_profiler): ... this.
2953 (__gcov_one_value_profiler_v2_atomic): Move to ...
2954 (__gcov_topn_values_profiler_atomic): ... this.
2956 2019-07-03 Martin Liska <mliska@suse.cz>
2958 * libgcov-merge.c (merge_single_value_set): Support N values.
2959 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
2961 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
2963 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
2964 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
2965 * configure.ac: Add --disable-tm-clone-registry option.
2966 * configure: Regenerate.
2968 2019-06-27 Martin Liska <mliska@suse.cz>
2970 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
2972 * libgcov-util.c: Likewise.
2974 2019-06-27 Martin Liska <mliska@suse.cz>
2976 * libgcov-util.c (gcov_profile_merge): Release allocated
2978 (calculate_overlap): Likewise.
2980 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
2982 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
2983 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
2984 Build objects for the out of line save/restore register functions
2985 so that they can be used for any supported Darwin version.
2986 * config/t-darwin: Default the build Darwin version to Darwin8
2989 2019-06-25 Martin Liska <mliska@suse.cz>
2991 * libgcov-driver-system.c (replace_filename_variables): Do not
2992 call strlen with NULL argument.
2994 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
2996 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
2997 * config/gcn/unwind-gcn.c: New file.
2999 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
3000 Andrew Stubbs <ams@codesourcery.com>
3002 * configure: Regenerate.
3003 * config/gcn/gthr-gcn.h: New.
3005 2019-06-18 Tom de Vries <tdevries@suse.de>
3007 * config/nvptx/crt0.c (__main): Declare.
3009 2019-06-17 Matthew Green <mrg@eterna.com.au>
3010 Maya Rashish <coypu@sdf.org>
3012 * config.host (aarch64*-*-netbsd*): New case.
3014 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3016 * config/msp430/slli.S (__mspabi_sllll): New library function for
3017 performing a logical left shift of a 64-bit value.
3018 * config/msp430/srai.S (__mspabi_srall): New library function for
3019 performing a arithmetic right shift of a 64-bit value.
3020 * config/msp430/srll.S (__mspabi_srlll): New library function for
3021 performing a logical right shift of a 64-bit value.
3023 2019-06-14 Matt Thomas <matt@3am-software.com>
3024 Matthew Green <mrg@eterna.com.au>
3025 Nick Hudson <skrll@netbsd.org>
3026 Maya Rashish <coypu@sdf.org>
3028 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
3029 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
3031 * config/arm/t-netbsd-eabi: New file.
3033 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
3035 * config.host: Add PRU target.
3036 * config/pru/asri.c: New file.
3037 * config/pru/eqd.c: New file.
3038 * config/pru/eqf.c: New file.
3039 * config/pru/ged.c: New file.
3040 * config/pru/gef.c: New file.
3041 * config/pru/gtd.c: New file.
3042 * config/pru/gtf.c: New file.
3043 * config/pru/led.c: New file.
3044 * config/pru/lef.c: New file.
3045 * config/pru/lib2bitcountHI.c: New file.
3046 * config/pru/lib2divHI.c: New file.
3047 * config/pru/lib2divQI.c: New file.
3048 * config/pru/lib2divSI.c: New file.
3049 * config/pru/libgcc-eabi.ver: New file.
3050 * config/pru/ltd.c: New file.
3051 * config/pru/ltf.c: New file.
3052 * config/pru/mpyll.S: New file.
3053 * config/pru/pru-abi.h: New file.
3054 * config/pru/pru-asm.h: New file.
3055 * config/pru/pru-divmod.h: New file.
3056 * config/pru/sfp-machine.h: New file.
3057 * config/pru/t-pru: New file.
3059 2019-06-11 Jakub Jelinek <jakub@redhat.com>
3061 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
3063 2019-06-10 Martin Liska <mliska@suse.cz>
3066 * libgcov.h: Add ATTRIBUTE_UNUSED.
3068 2019-06-10 Martin Liska <mliska@suse.cz>
3070 * Makefile.in: Add __gcov_one_value_profiler_v2,
3071 __gcov_one_value_profiler_v2_atomic and
3072 __gcov_indirect_call_profiler_v4.
3073 * libgcov-merge.c (__gcov_merge_single): Change
3075 (merge_single_value_set): New.
3076 * libgcov-profiler.c (__gcov_one_value_profiler_body):
3077 Update functionality.
3078 (__gcov_one_value_profiler): Remove.
3079 (__gcov_one_value_profiler_v2): ... this.
3080 (__gcov_one_value_profiler_atomic): Rename to ...
3081 (__gcov_one_value_profiler_v2_atomic): this.
3082 (__gcov_indirect_call_profiler_v3): Rename to ...
3083 (__gcov_indirect_call_profiler_v4): ... this.
3084 * libgcov.h (__gcov_one_value_profiler): Remove.
3085 (__gcov_one_value_profiler_atomic): Remove.
3086 (__gcov_one_value_profiler_v2_atomic): New.
3087 (__gcov_indirect_call_profiler_v3): Remove.
3088 (__gcov_one_value_profiler_v2): New.
3089 (__gcov_indirect_call_profiler_v4): New.
3090 (gcov_get_counter_ignore_scaling): New function.
3092 2019-06-07 Martin Liska <mliska@suse.cz>
3094 * Makefile.in: Remove usage of
3095 _gcov_merge_icall_topn.
3096 * libgcov-driver.c (gcov_sort_n_vals): Remove.
3097 (gcov_sort_icall_topn_counter): Likewise.
3098 (gcov_sort_topn_counter_arrays): Likewise.
3099 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
3100 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
3101 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
3103 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
3104 (struct indirect_call_tuple): Remove.
3105 (__gcov_indirect_call_topn_profiler): Remove.
3106 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
3107 * libgcov.h (gcov_sort_n_vals): Remove.
3108 (L_gcov_merge_icall_topn): Likewise.
3109 (__gcov_merge_icall_topn): Likewise.
3110 (__gcov_indirect_call_topn_profiler): Likewise.
3112 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
3114 * config/rs6000/t-darwin: Ensure that the unwinder is built with
3117 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3119 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
3121 (__mspabi_slli): Likewise.
3122 (__mspabi_slll_n): Likewise.
3123 (__mspabi_slll): Likewise.
3124 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
3125 (__mspabi_srai): Likewise.
3126 (__mspabi_sral_n): Likewise.
3127 (__mspabi_sral): Likewise.
3128 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
3129 (__mspabi_srli): Likewise.
3130 (__mspabi_srll_n): Likewise.
3131 (__mspabi_srll): Likewise.
3133 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
3135 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
3136 Add appropriate tm_file clause as well.
3137 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
3139 2019-06-05 James Clarke <jrtc27@jrtc27.com>
3141 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
3142 rather than .data/.bss so it can be accessed via gp-relative
3145 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
3147 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
3148 (CR2_REGNO): Rename to R_CR2.
3149 (XER_REGNO): Rename to R_XER.
3150 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
3151 (VRSAVE_REGNO): Rename to R_VRSAVE.
3152 (VSCR_REGNO): R_VSCR.
3154 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
3156 * config.host (rx-*-linux*): Add new case.
3157 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
3159 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
3161 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
3163 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
3164 aarch64_post_frob_eh_handler_addr): Add check for b-key.
3165 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
3166 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
3167 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
3168 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
3170 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
3172 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
3174 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3176 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
3177 Remove Solaris 9 and 10 support.
3178 (sparc_is_sighandler): Likewise.
3180 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
3182 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
3184 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
3186 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3187 4_FP_W_TYPEs are used for IEEE quad precision.
3188 * soft-fp/extendhftf2.c: Likewise.
3189 * soft-fp/extendsftf2.c: Likewise.
3190 * soft-fp/extendxftf2.c: Likewise.
3191 * soft-fp/trunctfdf2.c: Likewise.
3192 * soft-fp/trunctfhf2.c: Likewise.
3193 * soft-fp/trunctfsf2.c: Likewise.
3194 * soft-fp/trunctfxf2.c: Likewise.
3195 * config/rs6000/ibm-ldouble.c: Likewise.
3197 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3199 * config.host: Simplify various *-*-solaris2.1[0-9]* to
3201 * configure.ac: Likewise.
3202 * configure: Regenerate.
3204 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3205 Solaris 10 and Solaris 11 < snv_125 handling.
3207 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
3209 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
3211 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
3213 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
3214 * config/i386/cpuinfo.h (enum processor_features): Add
3217 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3218 Bernd Edlinger <bernd.edlinger@hotmail.de>
3219 Jakub Jelinek <jakub@redhat.com>
3222 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
3223 * config/arm/unwind-arm.c: Likewise.
3224 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
3227 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
3229 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
3230 (RT_SIGRETURN): Update.
3231 (nds32_fallback_frame_state): Update.
3233 2019-02-21 Martin Sebor <msebor@redhat.com>
3235 * libgcc2.h (__clear_cache): Correct signature.
3236 * libgcc2.c (__clear_cache): Same.
3238 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
3240 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
3241 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
3243 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
3245 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
3246 regno instead of index to DWARF_ZERO_REG.
3248 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
3250 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
3251 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
3253 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
3255 * config/alpha/t-linux: Add -mfp-rounding-mode=d
3256 to HOST_LIBGCC2_CFLAGS.
3258 2019-01-23 Joseph Myers <joseph@codesourcery.com>
3261 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
3263 2019-01-18 Martin Liska <mliska@suse.cz>
3265 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
3267 (__gcov_indirect_call_profiler_v3): ... this.
3268 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
3269 (__gcov_indirect_call_profiler_v3): Likewise.
3270 * Makefile.in: Bump function name.
3272 2019-01-18 Martin Liska <mliska@suse.cz>
3274 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
3275 (gcov_version): Use in gcov_error.
3276 (merge_one_data): Likewise.
3277 (dump_one_gcov): Likewise.
3279 2019-01-18 Martin Liska <mliska@suse.cz>
3281 * libgcov-driver.c (gcov_version_string): New function.
3282 (gcov_version): Convert version integer into string.
3284 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
3285 Kwok Cheung Yeung <kcy@codesourcery.com>
3286 Julian Brown <julian@codesourcery.com>
3287 Tom de Vries <tom@codesourcery.com>
3289 * config.host: Recognize amdgcn*-*-amdhsa.
3290 * config/gcn/crt0.c: New file.
3291 * config/gcn/lib2-divmod-hi.c: New file.
3292 * config/gcn/lib2-divmod.c: New file.
3293 * config/gcn/lib2-gcn.h: New file.
3294 * config/gcn/sfp-machine.h: New file.
3295 * config/gcn/t-amdgcn: New file.
3297 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
3301 * config/c6x/libunwind.S: Mechanically replace "can not" with
3303 * config/tilepro/atomic.h: Likewise.
3304 * config/vxlib-tls.c: Likewise.
3305 * generic-morestack-thread.c: Likewise.
3306 * generic-morestack.c: Likewise.
3307 * mkmap-symver.awk: Likewise.
3309 2019-01-01 Jakub Jelinek <jakub@redhat.com>
3311 Update copyright years.
3313 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3315 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
3316 to ignore -Waddress-of-packed-member.
3318 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
3320 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
3321 parameter and corresponding code.
3322 (ARM_FUNC_START): Likewise in both definitions.
3323 Also update footer comment about condition that need to match with
3324 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
3325 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
3326 defined. Weakly define it in this case.
3327 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
3328 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
3329 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
3330 comment to keep condition in sync with the one in
3331 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
3333 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
3335 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
3336 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
3338 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3340 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
3341 and .cfi_endproc directives for VxWorks targets.
3343 2018-12-05 Paul Koning <ni1d@arrl.net>
3345 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
3347 2018-11-27 Alan Modra <amodra@gmail.com>
3349 * config/rs6000/morestack.S (__stack_split_initialize),
3350 (__morestack_get_guard, __morestack_set_guard),
3351 (__morestack_make_guard): Provide CFI covering these functions.
3352 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
3354 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3356 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
3357 (sc_pt_regs_lr): Update for kernel.
3358 (sc_pt_regs_tls): Update for kernel.
3360 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3362 * config/csky/linux-unwind.h: Fix coding style.
3364 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
3366 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
3367 (csky_fallback_frame_state): Modify the check of the
3368 instructions to adapt to changes in the kernel
3370 2018-11-09 Stafford Horne <shorne@gmail.com>
3371 Richard Henderson <rth@twiddle.net>
3373 * config.host: Add OpenRISC support.
3374 * config/or1k/*: New.
3376 2018-11-08 Kito Cheng <kito@andestech.com>
3378 * soft-fp/adddf3.c: Update from glibc.
3379 * soft-fp/addsf3.c: Likewise.
3380 * soft-fp/addtf3.c: Likewise.
3381 * soft-fp/divdf3.c: Likewise.
3382 * soft-fp/divsf3.c: Likewise.
3383 * soft-fp/divtf3.c: Likewise.
3384 * soft-fp/double.h: Likewise.
3385 * soft-fp/eqdf2.c: Likewise.
3386 * soft-fp/eqsf2.c: Likewise.
3387 * soft-fp/eqtf2.c: Likewise.
3388 * soft-fp/extenddftf2.c: Likewise.
3389 * soft-fp/extended.h: Likewise.
3390 * soft-fp/extendhftf2.c: Likewise.
3391 * soft-fp/extendsfdf2.c: Likewise.
3392 * soft-fp/extendsftf2.c: Likewise.
3393 * soft-fp/extendxftf2.c: Likewise.
3394 * soft-fp/fixdfdi.c: Likewise.
3395 * soft-fp/fixdfsi.c: Likewise.
3396 * soft-fp/fixdfti.c: Likewise.
3397 * soft-fp/fixhfti.c: Likewise.
3398 * soft-fp/fixsfdi.c: Likewise.
3399 * soft-fp/fixsfsi.c: Likewise.
3400 * soft-fp/fixsfti.c: Likewise.
3401 * soft-fp/fixtfdi.c: Likewise.
3402 * soft-fp/fixtfsi.c: Likewise.
3403 * soft-fp/fixtfti.c: Likewise.
3404 * soft-fp/fixunsdfdi.c: Likewise.
3405 * soft-fp/fixunsdfsi.c: Likewise.
3406 * soft-fp/fixunsdfti.c: Likewise.
3407 * soft-fp/fixunshfti.c: Likewise.
3408 * soft-fp/fixunssfdi.c: Likewise.
3409 * soft-fp/fixunssfsi.c: Likewise.
3410 * soft-fp/fixunssfti.c: Likewise.
3411 * soft-fp/fixunstfdi.c: Likewise.
3412 * soft-fp/fixunstfsi.c: Likewise.
3413 * soft-fp/fixunstfti.c: Likewise.
3414 * soft-fp/floatdidf.c: Likewise.
3415 * soft-fp/floatdisf.c: Likewise.
3416 * soft-fp/floatditf.c: Likewise.
3417 * soft-fp/floatsidf.c: Likewise.
3418 * soft-fp/floatsisf.c: Likewise.
3419 * soft-fp/floatsitf.c: Likewise.
3420 * soft-fp/floattidf.c: Likewise.
3421 * soft-fp/floattihf.c: Likewise.
3422 * soft-fp/floattisf.c: Likewise.
3423 * soft-fp/floattitf.c: Likewise.
3424 * soft-fp/floatundidf.c: Likewise.
3425 * soft-fp/floatundisf.c: Likewise.
3426 * soft-fp/floatunditf.c: Likewise.
3427 * soft-fp/floatunsidf.c: Likewise.
3428 * soft-fp/floatunsisf.c: Likewise.
3429 * soft-fp/floatunsitf.c: Likewise.
3430 * soft-fp/floatuntidf.c: Likewise.
3431 * soft-fp/floatuntihf.c: Likewise.
3432 * soft-fp/floatuntisf.c: Likewise.
3433 * soft-fp/floatuntitf.c: Likewise.
3434 * soft-fp/gedf2.c: Likewise.
3435 * soft-fp/gesf2.c: Likewise.
3436 * soft-fp/getf2.c: Likewise.
3437 * soft-fp/half.h: Likewise.
3438 * soft-fp/ledf2.c: Likewise.
3439 * soft-fp/lesf2.c: Likewise.
3440 * soft-fp/letf2.c: Likewise.
3441 * soft-fp/muldf3.c: Likewise.
3442 * soft-fp/mulsf3.c: Likewise.
3443 * soft-fp/multf3.c: Likewise.
3444 * soft-fp/negdf2.c: Likewise.
3445 * soft-fp/negsf2.c: Likewise.
3446 * soft-fp/negtf2.c: Likewise.
3447 * soft-fp/op-1.h: Likewise.
3448 * soft-fp/op-2.h: Likewise.
3449 * soft-fp/op-4.h: Likewise.
3450 * soft-fp/op-8.h: Likewise.
3451 * soft-fp/op-common.h: Likewise.
3452 * soft-fp/quad.h: Likewise.
3453 * soft-fp/single.h: Likewise.
3454 * soft-fp/soft-fp.h: Likewise.
3455 * soft-fp/subdf3.c: Likewise.
3456 * soft-fp/subsf3.c: Likewise.
3457 * soft-fp/subtf3.c: Likewise.
3458 * soft-fp/truncdfsf2.c: Likewise.
3459 * soft-fp/trunctfdf2.c: Likewise.
3460 * soft-fp/trunctfhf2.c: Likewise.
3461 * soft-fp/trunctfsf2.c: Likewise.
3462 * soft-fp/trunctfxf2.c: Likewise.
3463 * soft-fp/unorddf2.c: Likewise.
3464 * soft-fp/unordsf2.c: Likewise.
3465 * soft-fp/unordtf2.c: Likewise.
3467 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
3469 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
3470 * config/i386/cpuinfo.h (processor_types): Add znver2.
3472 2018-11-01 Paul Koning <ni1d@arrl.net>
3474 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
3475 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
3477 2018-10-31 Joseph Myers <joseph@codesourcery.com>
3480 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
3481 * configure: Regenerate.
3483 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
3485 * config/arc/lib1funcs.S (_muldi3): New function.
3486 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
3488 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3490 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
3492 2018-10-25 Martin Liska <mliska@suse.cz>
3495 * libgcov-profiler.c: Revert.
3497 2018-10-24 Martin Liska <mliska@suse.cz>
3499 * libgcov-profiler.c: Start from 1 in order to distinguish
3500 functions which were seen and these that were not.
3502 2018-10-18 Paul Koning <ni1d@arrl.net>
3504 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
3506 * divmod.c: Update references to __udivmodsi4.
3508 * udivhi3.c: New file.
3509 * udivmodhi4.c: New file.
3510 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
3512 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3514 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
3516 2018-10-12 Olivier Hainque <hainque@adacore.com>
3518 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
3519 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
3521 2018-10-08 Paul Koning <ni1d@arrl.net>
3523 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
3525 2018-10-04 Martin Liska <mliska@suse.cz>
3527 PR gcov-profile/84107
3528 * libgcov-profiler.c (__gcov_indirect_call):
3529 Change type to indirect_call_tuple.
3530 (struct indirect_call_tuple): New struct.
3531 (__gcov_indirect_call_topn_profiler): Change type.
3532 (__gcov_indirect_call_profiler_v2): Use the new
3534 * libgcov.h (struct indirect_call_tuple): New struct
3537 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
3539 * libgcc2.c (isnan): Use __builtin_isnan.
3540 (isfinite): Use __builtin_isfinite.
3541 (isinf): Use __builtin_isinf.
3543 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
3545 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
3547 2018-09-21 Alexandre Oliva <oliva@adacore.com>
3549 * config/vxcache.c: New file. Provide __clear_cache, based on
3550 the cacheTextUpdate VxWorks service.
3551 * config/t-vxworks (LIB2ADD): Add vxcache.c.
3552 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
3553 * config/t-vxwoks7: Likewise.
3555 2018-09-21 Martin Liska <mliska@suse.cz>
3557 * libgcov-driver.c (crc32_unsigned): Remove.
3558 (gcov_histogram_insert): Likewise.
3559 (gcov_compute_histogram): Likewise.
3560 (compute_summary): Simplify rapidly.
3561 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
3562 (merge_summary): Rapidly simplify.
3563 (dump_one_gcov): Ignore gcov_summary.
3564 (gcov_do_dump): Do not handle program summary, it's not
3566 * libgcov-util.c (tag_summary): Remove.
3567 (read_gcda_finalize): Fix coding style.
3568 (read_gcda_file): Initialize curr_object_summary.
3569 (compute_summary): Remove.
3570 (calculate_overlap): Remove settings of run_max.
3572 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
3574 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
3575 ucontext_t type instead.
3576 (nds32_fallback_frame_state): Remove struct _sigframe statement.
3578 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
3580 * config/nds32/t-nds32-glibc: New file.
3582 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3584 * configure.ac (solaris_ld_v2_maps): New test.
3585 * configure: Regenerate.
3586 * Makefile.in (solaris_ld_v2_maps): New variable.
3587 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
3590 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
3593 * config/arm/lib1funcs.asm (speculation_barrier): New function.
3594 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
3597 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
3599 * config/unwind-dw2-fde-darwin.c
3600 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
3601 * config/darwin10-unwind-find-enc-func.c: … to here.
3602 * config/t-darwin: Build Darwin10 unwinder shim crt.
3603 * libgcc/config.host: Add the Darwin10 unwinder shim.
3605 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3607 * config.host: Add crtbegin.o and crtend.o for
3608 powerpc-wrs-vxworks target.
3610 2018-08-17 Jojo <jijie_rong@c-sky.com>
3611 Huibin Wang <huibin_wang@c-sky.com>
3612 Sandra Loosemore <sandra@codesourcery.com>
3613 Chung-Lin Tang <cltang@codesourcery.com>
3617 * config.host: Add C-SKY support.
3618 * config/csky/*: New.
3620 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
3622 * config/nds32/t-nds32-isr: Rearrange object dependency.
3623 * config/nds32/initfini.c: Add dwarf2 unwinding support.
3624 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
3625 and registers usage.
3626 * config/nds32/isr-library/excp_isr.S: Ditto.
3627 * config/nds32/isr-library/intr_isr.S: Ditto.
3628 * config/nds32/isr-library/reset.S: Ditto.
3629 * config/nds32/isr-library/restore_all.inc: Ditto.
3630 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
3631 * config/nds32/isr-library/restore_partial.inc: Ditto.
3632 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
3633 * config/nds32/isr-library/save_all.inc: Ditto.
3634 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
3635 * config/nds32/isr-library/save_partial.inc: Ditto.
3636 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
3637 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
3639 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
3641 * config/pa/linux-atomic.c: Update comment.
3642 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
3643 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
3644 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
3645 __ATOMIC_RELAXED for atomic loads.
3646 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
3647 unordered store to release lock.
3648 (__sync_lock_release_8): Likewise.
3649 (SYNC_LOCK_RELEASE_2): Remove define.
3651 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
3654 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
3655 exponent goes negative. Update my email address.
3656 * config/arm/ieee754-sf.S: Likewise.
3658 2018-08-01 Martin Liska <mliska@suse.cz>
3660 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
3661 check that __gcov_indirect_call_callee is non-null.
3663 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
3665 * config/arm/ieee754-df.S: Fix comment for code working on
3667 * config/arm/ieee754-sf.S: Likewise.
3669 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
3672 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3675 2018-07-05 James Clarke <jrtc27@jrtc27.com>
3677 * configure: Regenerated.
3679 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3681 * Makefile.in (install_leaf): Use enable_gcov instead of
3684 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3686 * configure.ac: Add --disable-gcov option.
3687 * configure: Regenerate.
3688 * Makefile.in: Honour @enable_gcov@.
3690 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3692 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
3693 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
3694 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
3695 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
3697 * config/arm/ieee754-sf.S: Likewise.
3698 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
3700 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3702 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
3704 * config/arm/ieee754-sf.S: Likewise.
3706 2018-06-20 Than McIntosh <thanm@google.com>
3709 * generic-morestack.c (allocate_segment): Move calls to getenv and
3710 getpagesize to __morestack_load_mmap.
3711 (__morestack_load_mmap) Initialize static_pagesize and
3712 use_guard_page here so as to avoid clobbering SSE regs during a
3715 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
3717 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
3718 support modules with -mno-gnu-attribute.
3719 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
3721 2018-06-07 Olivier Hainque <hainque@adacore.com>
3723 * config/t-vxworks (LIBGCC_INCLUDES): Add
3724 -I$(MULTIBUILDTOP)../../gcc/include.
3725 * config/t-vxworks7: Likewise. Reformat a bit to match
3726 the t-vxworks layout.
3728 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
3730 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
3732 2018-06-07 Martin Liska <mliska@suse.cz>
3734 * libgcov-driver.c: Rename cs_all to all and assign it from
3737 2018-06-07 Martin Liska <mliska@suse.cz>
3740 * libgcov-driver-system.c (replace_filename_variables): Use
3741 memcpy instead of mempcpy.
3742 (allocate_filename_struct): Do not allocate filename, allocate
3744 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
3745 here and properly copy content into it.
3746 * libgcov-driver.c (struct gcov_filename): Remove max_length
3747 field, change prefix from size_t into char *.
3748 (compute_summary): Do not calculate longest filename.
3749 (gcov_do_dump): Release memory of gf.filename after each file.
3750 * libgcov-util.c (compute_summary): Use new signature of
3752 (calculate_overlap): Likewise.
3754 2018-06-05 Martin Liska <mliska@suse.cz>
3756 PR gcov-profile/47618
3757 * libgcov-driver-system.c (replace_filename_variables): New
3759 (gcov_exit_open_gcda_file): Use it.
3761 2018-06-05 Martin Liska <mliska@suse.cz>
3763 * libgcov-driver.c (gcov_compute_histogram): Remove usage
3764 of gcov_ctr_summary.
3765 (compute_summary): Do it just for a single summary.
3766 (merge_one_data): Likewise.
3767 (merge_summary): Simplify as we read just single summary.
3768 (dump_one_gcov): Pass proper argument.
3769 * libgcov-util.c (compute_one_gcov): Simplify as we have just
3771 (gcov_info_count_all_cold): Likewise.
3772 (calculate_overlap): Likewise.
3774 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
3775 Monk Chiang <sh.chiang04@gmail.com>
3777 * config.host (nds32*-linux*): New.
3778 * config/nds32/linux-atomic.c: New file.
3779 * config/nds32/linux-unwind.h: New file.
3781 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
3784 * config/i386/cpuinfo.c (get_amd_cpu): Return
3785 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
3787 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
3789 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
3791 2018-05-29 Martin Liska <mliska@suse.cz>
3793 PR gcov-profile/85759
3794 * libgcov-driver-system.c (gcov_error): Introduce usage of
3795 GCOV_EXIT_AT_ERROR env. variable.
3796 * libgcov-driver.c (merge_one_data): Print error that we
3797 overwrite a gcov file with a different timestamp.
3799 2018-05-23 Kalamatee <kalamatee@gmail.com>
3801 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
3804 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
3805 Monk Chiang <sh.chiang04@gmail.com>
3806 Jim Wilson <jimw@sifive.com>
3808 * config/riscv/save-restore.S: Add support for rv32e.
3810 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3812 * config/arm/libunwind.S: Update comment relating to armv5.
3814 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
3816 * config/arm/cmse.c (cmse_check_address_range): Replace
3817 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
3819 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
3821 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
3822 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
3824 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
3826 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
3827 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
3829 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
3831 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
3833 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
3834 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
3837 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
3838 op_and_fetch to return the right result.
3840 2018-04-27 Alan Modra <amodra@gmail.com>
3843 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
3844 -fno-asynchronous-unwind-tables.
3846 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
3848 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
3849 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
3851 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3853 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
3854 when including "config/i386/shadow-stack-unwind.h".
3856 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3858 * configure: Regenerated.
3860 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
3863 * config/rs6000/_powikf2.c: New file. Add support for the
3864 __builtin_powil function when long double is IEEE 128-bit floating
3866 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
3868 (__powikf2): Likewise.
3869 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
3870 (__powikf2_hw): Likewise.
3871 (__powikf2): Likewise.
3872 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
3873 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
3874 (_powikf2-hw.c): Likewise.
3876 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3879 * unwind-generic.h (_Unwind_Frames_Increment): New.
3880 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3882 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
3883 count with _Unwind_Frames_Increment.
3884 (_Unwind_ForcedUnwind_Phase2): Likewise.
3886 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3889 * config/i386/morestack.S (__stack_split_initialize): Add
3892 2018-04-19 Jakub Jelinek <jakub@redhat.com>
3894 * configure: Regenerated.
3896 2018-04-18 David Malcolm <dmalcolm@redhat.com>
3899 * configure: Regenerate.
3901 2018-04-16 Jakub Jelinek <jakub@redhat.com>
3904 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
3905 -Wdangling-else warnings. Mask shift counts to avoid
3906 -Wshift-count-negative and -Wshift-count-overflow false positives.
3908 2018-04-06 Ruslan Bukin <br@bsdpad.com>
3910 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
3912 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
3915 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
3916 (XSTATE_FP): Likewise.
3917 (XSTATE_SSE): Likewise.
3918 (XSTATE_YMM): Likewise.
3919 (XSTATE_OPMASK): Likewise.
3920 (XSTATE_ZMM): Likewise.
3921 (XSTATE_HI_ZMM): Likewise.
3922 (XCR_AVX_ENABLED_MASK): Likewise.
3923 (XCR_AVX512F_ENABLED_MASK): Likewise.
3924 (get_available_features): Enable AVX and AVX512 features only
3925 if their states are supported by OSXSAVE.
3927 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3930 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3931 Fix a typo, tmp => 255.
3933 2018-03-20 Jakub Jelinek <jakub@redhat.com>
3936 * config/i386/cpuinfo.h (__cpu_features2): Declare.
3937 * config/i386/cpuinfo.c (__cpu_features2): New variable for
3939 (set_feature): Define.
3940 (get_available_features): Use set_feature macro. Set __cpu_features2
3941 to the second word of features ifndef SHARED.
3943 2018-03-15 Julia Koval <julia.koval@intel.com>
3945 * config/i386/cpuinfo.c (get_available_features): Add
3946 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
3947 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
3948 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
3949 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
3950 FEATURE_AVX512BITALG.
3952 2018-03-14 Julia Koval <julia.koval@intel.com>
3954 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
3955 icelake client and icelake server.
3957 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
3959 * config/pa/fptr.c (_dl_read_access_allowed): New.
3960 (__canonicalize_funcptr_for_compare): Use it.
3962 2018-02-28 Jakub Jelinek <jakub@redhat.com>
3965 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
3966 $asm_hidden_op if visibility ("hidden") attribute works.
3967 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
3968 * config/i386/i386-asm.h: Don't include auto-host.h.
3969 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
3970 PACKAGE_URL): Don't undefine.
3971 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
3972 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
3973 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
3974 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
3975 definition instead of hardcoded .hidden.
3976 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
3977 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
3978 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
3979 (USE_GAS_CFI_DIRECTIVES): Don't define.
3980 * configure: Regenerated.
3981 * config.in: Likewise.
3983 2018-02-26 Jakub Jelinek <jakub@redhat.com>
3986 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
3987 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
3988 inclusion of auto-target.h and auto-host.h.
3989 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
3990 __GCC_HAVE_DWARF2_CFI_ASM.
3991 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3992 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
3994 * config/i386/cygwin.S: Don't include auto-host.h here, just
3995 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
3996 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3997 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
3998 * config/i386/resms64fx.h: Add cfi_* directives.
3999 * config/i386/resms64x.h: Likewise.
4001 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
4003 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
4004 .literal_position directive.
4005 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
4007 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4010 * configure: Regenerate.
4012 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4015 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4016 Include cetintrin.h not x86intrin.h.
4018 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4021 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4022 Use new _get_ssp and _inc_ssp intrinsics.
4024 2018-02-02 Julia Koval <julia.koval@intel.com>
4026 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
4028 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4030 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
4032 (__divsi3): Use RF16 safe registers.
4033 (__modsi3): Likewise.
4035 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
4037 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
4038 (__divsf3): Make NaN return value quiet.
4039 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
4040 (__divdf3): Make NaN return value quiet.
4042 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4044 * config/rl78/anddi3.S: New assembly file.
4045 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
4047 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4049 * config/rl78/umindi3.S: New assembly file.
4050 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
4052 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4054 * config/rl78/smindi3.S: New assembly file.
4055 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
4057 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4059 * config/rl78/smaxdi3.S: New assembly file.
4060 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
4062 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4064 * config/rl78/umaxdi3.S: New assembly file.
4065 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
4067 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
4070 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
4071 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
4073 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
4075 * config/aarch64/value-unwind.h (aarch64_vg): New function.
4076 (DWARF_LAZY_REGISTER_VALUE): Define.
4077 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
4078 to provide a fallback register value.
4080 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
4082 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
4083 __ibm128, instead of trying to use long double.
4084 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
4085 accomidate -mabi=ieeelongdouble multilibs.
4086 (CVT_IBM128_TO_FLOAT128): Likewise.
4087 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
4088 the appropriate IBM extended double type.
4089 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
4090 (__gcc_qsub): Likewise.
4091 (__gcc_qmul): Likewise.
4092 (__gcc_qdiv): Likewise.
4093 (pack_ldouble): Likewise.
4094 (__gcc_qneg): Likewise.
4095 (__gcc_qeq): Likewise.
4096 (__gcc_qne): Likewise.
4097 (__gcc_qge): Likewise.
4098 (__gcc_qle): Likewise.
4099 (__gcc_stoq): Likewise.
4100 (__gcc_dtoq): Likewise.
4101 (__gcc_itoq): Likewise.
4102 (__gcc_utoq): Likewise.
4103 (__gcc_qunord): Likewise.
4104 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
4105 quad-float128.h for the definitions.
4106 (COPYSIGN): Use the f128 version instead of the q version.
4107 (INFINITY): Likewise.
4108 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
4109 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
4110 quad-float128.h for the definitions.
4111 (COPYSIGN): Use the f128 version instead of the q version.
4112 (INFINITY): Likewise.
4114 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
4115 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
4116 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
4118 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
4120 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
4123 2018-01-03 Jakub Jelinek <jakub@redhat.com>
4125 Update copyright years.
4127 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
4129 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
4130 * config/riscv/multi3.c: New file.
4131 * config/riscv/multi3.S: Remove.
4133 2017-12-08 Jim Wilson <jimw@sifive.com>
4135 * config/riscv/div.S: Use FUNC_* macros.
4136 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
4137 * config/riscv/save-restore.S: Likewise.
4138 * config/riscv/riscv-asm.h: New.
4140 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
4142 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
4143 * config/rs6000/_divkc3.c (__divkc3): Likewise.
4146 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
4147 correct type for all ifunc resolvers to silence -Wattribute-alias
4148 warnings. Eliminate the forward declaration of the resolver
4149 functions which is no longer needed.
4150 (__subkf3_resolve): Likewise.
4151 (__mulkf3_resolve): Likewise.
4152 (__divkf3_resolve): Likewise.
4153 (__negkf2_resolve): Likewise.
4154 (__eqkf2_resolve): Likewise.
4155 (__nekf2_resolve): Likewise.
4156 (__gekf2_resolve): Likewise.
4157 (__gtkf2_resolve): Likewise.
4158 (__lekf2_resolve): Likewise.
4159 (__ltkf2_resolve): Likewise.
4160 (__unordkf2_resolve): Likewise.
4161 (__extendsfkf2_resolve): Likewise.
4162 (__extenddfkf2_resolve): Likewise.
4163 (__trunckfsf2_resolve): Likewise.
4164 (__trunckfdf2_resolve): Likewise.
4165 (__fixkfsi_resolve): Likewise.
4166 (__fixkfdi_resolve): Likewise.
4167 (__fixunskfsi_resolve): Likewise.
4168 (__fixunskfdi_resolve): Likewise.
4169 (__floatsikf_resolve): Likewise.
4170 (__floatdikf_resolve): Likewise.
4171 (__floatunsikf_resolve): Likewise.
4172 (__floatundikf_resolve): Likewise.
4173 (__extendkftf2_resolve): Likewise.
4174 (__trunctfkf2_resolve): Likewise.
4177 * config/rs6000/quad-float128.h (TF): Don't define if long double
4178 is IEEE 128-bit floating point.
4179 (TCtype): Define as either TCmode or KCmode, depending on whether
4180 long double is IEEE 128-bit floating point.
4181 (__mulkc3_sw): Add declarations for software/hardware versions of
4182 complex multiply/divide.
4183 (__divkc3_sw): Likewise.
4184 (__mulkc3_hw): Likewise.
4185 (__divkc3_hw): Likewise.
4186 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
4187 handlers to switch between using software emulation and hardware
4188 float128 instructions, build the complex multiply/divide functions
4189 for both software and hardware support.
4190 * config/rs6000/_divkc3.c (_divkc3): Likewise.
4191 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
4192 (__divkc3_resolve): Likewise.
4193 (__mulkc3): Likewise.
4194 (__divkc3): Likewise.
4195 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
4196 (fp128_hw_src): Likewise.
4197 (fp128_hw_static_obj): Likewise.
4198 (fp128_hw_shared_obj): Likewise.
4199 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
4200 _mulkc3.c and _divkc3.c, changing the function name.
4201 (_divkc3-hw.c): Likewise.
4202 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
4205 2017-11-26 Julia Koval <julia.koval@intel.com>
4207 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
4208 * config/i386/cpuinfo.h (processor_subtypes): Add
4209 INTEL_COREI7_CANNONLAKE.
4211 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4214 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
4216 * config/xtensa/unwind-dw2-xtensa.c: Likewise
4217 * config/ia64/unwind-ia64.c: Add frames parameter.
4218 * unwind-sjlj.c: Likewise.
4220 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4222 * config/i386/linux-unwind.h: Include
4223 config/i386/shadow-stack-unwind.h.
4224 * config/i386/shadow-stack-unwind.h: New file.
4225 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
4226 pass it to _Unwind_Frames_Extra.
4227 * unwind-generic.h (_Unwind_Frames_Extra): New.
4228 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
4229 parameter. Add local variable frames to count number of frames.
4230 (_Unwind_ForcedUnwind_Phase2): Likewise.
4231 (_Unwind_RaiseException): Add local variable frames to count
4232 number of frames, pass it to _Unwind_RaiseException_Phase2 and
4234 (_Unwind_ForcedUnwind): Likewise.
4235 (_Unwind_Resume): Likewise.
4236 (_Unwind_Resume_or_Rethrow): Likewise.
4238 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4240 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
4242 * config/i386/morestack.S: Include <cet.h>.
4243 (__morestack_large_model): Add _CET_ENDBR at function entrance.
4244 * config/i386/resms64.h: Include <cet.h>.
4245 * config/i386/resms64f.h: Likewise.
4246 * config/i386/resms64fx.h: Likewise.
4247 * config/i386/resms64x.h: Likewise.
4248 * config/i386/savms64.h: Likewise.
4249 * config/i386/savms64f.h: Likewise.
4250 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
4251 (CRTSTUFF_T_CFLAGS): Likewise.
4252 * configure.ac: Include ../config/cet.m4.
4253 Set and substitute CET_FLAGS.
4254 * configure: Regenerated.
4256 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4258 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
4260 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
4261 * configure.ac (libgcc_cv_solaris_crts): Likewise.
4262 * configure: Regenerate.
4264 2017-11-07 Tom de Vries <tom@codesourcery.com>
4266 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
4267 after "do {} while (0)".
4269 2017-11-07 Tom de Vries <tom@codesourcery.com>
4272 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
4273 semicolon after "do {} while (0)".
4274 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4275 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4276 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4277 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4279 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
4282 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
4283 sysctl to determine whether we're in a trampoline.
4284 Keep the pattern matching method for systems without
4285 KERN_PROC_SIGTRAMP sysctl.
4287 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
4288 Vineet Gupta <vgupta@synopsys.com>
4290 * config.host (arc*-*-linux*): Set md_unwind_header variable.
4291 * config/arc/linux-unwind-reg.def: New file.
4292 * config/arc/linux-unwind-reg.h: Likewise.
4294 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
4296 * config/rl78/subdi3.S: New assembly file.
4297 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
4299 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
4301 * config/rl78/adddi3.S: New assembly file.
4302 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
4304 2017-10-13 Jakub Jelinek <jakub@redhat.com>
4307 * libgcc2.c (__mulvDI3): If both operands have
4308 the same highpart of -1 and the topmost bit of lowpart is 0,
4309 multiplication overflows even if both lowparts are 0.
4311 2017-09-28 James Bowman <james.bowman@ftdichip.com>
4313 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
4315 2017-09-26 Joseph Myers <joseph@codesourcery.com>
4317 * config/microblaze/crti.S, config/microblaze/crtn.S,
4318 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
4319 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
4320 config/microblaze/mulsi3.S,
4321 config/microblaze/stack_overflow_exit.S,
4322 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
4323 config/pa/milli64.S: Add .note.GNU-stack section.
4325 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
4327 * configure.ac: Add Check for HAVE_AS_AVX.
4328 * config.in: Regenerate.
4329 * configure: Likewise.
4330 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
4331 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
4332 Correct out-of-date comments.
4334 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
4336 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
4337 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
4339 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
4341 * config/i386/i386-asm.h (PASTE2): New macro.
4342 (ASMNAME): Modify to use PASTE2.
4343 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
4344 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
4345 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
4346 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
4347 * config/i386/resms64f.S: Likewise.
4348 * config/i386/resms64fx.S: Likewise.
4349 * config/i386/resms64x.S: Likewise.
4350 * config/i386/savms64.S: Likewise.
4351 * config/i386/savms64f.S: Likewise.
4352 * config/i386/avx_resms64.S: New file that only defines a macro and
4353 includes it's corresponding header file.
4354 * config/i386/avx_resms64f.S: Likewise.
4355 * config/i386/avx_resms64fx.S: Likewise.
4356 * config/i386/avx_resms64x.S: Likewise.
4357 * config/i386/avx_savms64.S: Likewise.
4358 * config/i386/avx_savms64f.S: Likewise.
4359 * config/i386/sse_resms64.S: Likewise.
4360 * config/i386/sse_resms64f.S: Likewise.
4361 * config/i386/sse_resms64fx.S: Likewise.
4362 * config/i386/sse_resms64x.S: Likewise.
4363 * config/i386/sse_savms64.S: Likewise.
4364 * config/i386/sse_savms64f.S: Likewise.
4365 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
4367 2017-09-01 Olivier Hainque <hainque@adacore.com>
4368 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
4370 2017-08-31 Olivier Hainque <hainque@adacore.com>
4372 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
4373 match as powerpc-wrs-vxworks*.
4375 2017-08-07 Jonathan Yong <10walls@gmail.com>
4377 * config.host (*-cygwin): Include file from mingw
4378 config/i386/enable-execute-stack-mingw32.c
4380 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
4381 Doug Rupp <rupp@adacore.com>
4382 Olivier Hainque <hainque@adacore.com>
4384 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
4385 as well as arm-wrs-vxworks.
4386 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
4388 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
4389 __exidx_start and __exidx_end for downloadable modules.
4391 2017-08-01 Olivier Hainque <hainque@adacore.com>
4393 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
4394 * config/t-vxworks7: Likewise.
4396 2017-08-01 Olivier Hainque <hainque@adacore.com>
4398 * config/t-vxworks: Instead of redefining LIB2ADD,
4399 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
4401 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
4403 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
4405 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
4408 * config.host: include i386/t-msabi for darwin and solaris.
4409 * config/i386/i386-asm.h
4410 (ELFFN): Rename to FN_TYPE.
4411 (FN_SIZE): New macro.
4412 (FN_HIDDEN): Likewise.
4413 (ASMNAME): Likewise.
4414 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
4416 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
4417 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
4418 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
4420 * config/i386/resms64f.S: Likewise.
4421 * config/i386/resms64fx.S: Likewise.
4422 * config/i386/resms64x.S: Likewise.
4423 * config/i386/savms64.S: Likewise.
4424 * config/i386/savms64f.S: Likewise.
4426 2017-07-19 John Marino <gnugcc@marino.st>
4428 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
4430 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
4433 * configure.ac (PowerPC float128 hardware support): Test whether
4434 we can use __builtin_cpu_supports before enabling the ifunc
4436 * configure: Regenerate.
4438 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
4440 * config.host: Remove uclibc from arc target spec.
4442 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
4444 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
4446 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
4448 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
4449 (have_ieee_hw_p): Delete function.
4450 (SW_OR_HW) Use __builtin_cpu_supports().
4452 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
4454 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
4456 2017-07-03 Olivier Hainque <hainque@adacore.com>
4458 * config/t-vxworks7: New file, really.
4460 2017-06-28 Joseph Myers <joseph@codesourcery.com>
4462 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
4463 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
4464 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
4465 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
4466 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
4467 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
4468 config/pa/linux-unwind.h (pa32_fallback_frame_state),
4469 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
4470 config/sh/linux-unwind.h (sh_fallback_frame_state),
4471 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
4472 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
4473 ucontext_t instead of struct ucontext.
4475 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
4477 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
4478 (x86_64-wrs-vxworks7): Likewise.
4480 2017-06-27 Olivier Hainque <hainque@adacore.com>
4482 * config/t-vxworks7: New file.
4483 * config.host (*-*-vxworks7): Use it.
4485 2017-06-22 Matt Turner <mattst88@gmail.com>
4487 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
4490 2017-06-21 Richard Biener <rguenther@suse.de>
4492 PR gcov-profile/81080
4493 * configure.ac: Add AC_SYS_LARGEFILE.
4494 * libgcov.h: Include auto-target.h before tsystem.h to pick
4495 up _FILE_OFFSET_BITS which might differ for multilibs.
4496 * config.in: Regenerate.
4497 * configure: Likewise.
4499 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
4501 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
4503 2017-06-09 Martin Liska <mliska@suse.cz>
4505 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
4506 Reset __gcov_indirect_call_callee to NULL.
4508 2017-06-08 Olivier Hainque <hainque@adacore.com>
4510 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
4511 the set of -I options, support for direct inclusions of net/uio.h
4512 by VxWorks header files via ioLib.h.
4514 2017-06-07 Tony Reix <tony.reix@atos.net>
4515 Matthieu Sarter <matthieu.sarter.external@atos.net>
4516 David Edelsohn <dje.gcc@gmail.com>
4518 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
4520 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
4523 2017-06-02 Olivier Hainque <hainque@adacore.com>
4525 * config/vxlib.c (__gthread_once): Add missing value to
4528 2017-05-30 Olivier Hainque <hainque@adacore.com>
4530 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
4531 dollar sign before $(MULTIDIR).
4533 2017-05-26 Richard Henderson <rth@redhat.com>
4536 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
4538 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
4540 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
4541 _Unwind_SetIP available as functions for arm*-*-freebsd*.
4542 * config/arm/unwind-arm.c: Implement the above.
4544 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4546 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
4547 section for a non-executable stack.
4549 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
4552 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
4554 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
4556 * config.host: Add i386/t-msabi to i386/t-linux file list.
4557 * config/i386/i386-asm.h: New file.
4558 * config/i386/resms64.S: New file.
4559 * config/i386/resms64f.S: New file.
4560 * config/i386/resms64fx.S: New file.
4561 * config/i386/resms64x.S: New file.
4562 * config/i386/savms64.S: New file.
4563 * config/i386/savms64f.S: New file.
4564 * config/i386/t-msabi: New file.
4566 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
4568 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
4569 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
4571 2017-05-05 Joshua Conner <joshconner@google.com>
4573 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
4574 pc-relative indirect handling for fuchsia.
4575 * config/t-slibgcc-fuchsia: New file.
4576 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
4577 x86_64-*-fuchsia*): Add definitions.
4579 2017-04-19 Martin Liska <mliska@suse.cz>
4581 PR gcov-profile/80435
4582 * Makefile.in: Install gcov.h.
4584 * libgcov.h: Use the header and make __gcov_flush publicly
4587 2017-04-18 Martin Liska <mliska@suse.cz>
4589 PR gcov-profile/78783
4590 * libgcov-driver.c (gcov_get_filename): New function.
4592 2017-04-07 Jeff Law <law@redhat.com>
4594 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
4595 target makefile fragment.
4596 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
4598 2017-04-07 Alan Modra <amodra@gmail.com>
4601 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
4603 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
4605 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
4607 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
4609 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
4611 2017-03-10 John Marino <gnugcc@marino.st>
4613 * config/aarch64/freebsd-unwind.h: New file.
4614 * config.host: Add aarch64-*-freebsd unwinder.
4616 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4618 * config/rs6000/crtrestvr.s: Use .machine altivec.
4619 * config/rs6000/crtsavevr.s: Ditto.
4621 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4623 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
4624 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
4625 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
4626 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
4627 * configure: Regenerate.
4628 * config.in: Regenerate.
4630 2017-03-02 Jonathan Yong <10walls@gmail.com>
4632 * config/i386/gthr-win32.h: Define NOGDI before
4633 windows.h include to prevent w32api CC_NONE macro
4634 clash with libgfortran.
4636 2017-03-02 Jonathan Yong <10walls@gmail.com>
4638 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
4640 2017-02-16 Andrew Pinski <apinski@cavium.com>
4642 * config/aarch64/value-unwind.h: New file.
4643 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
4646 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
4648 * config.host: Add RISC-V tuples.
4649 * config/riscv/atomic.c: New file.
4650 * config/riscv/crti.S: Likewise.
4651 * config/riscv/crtn.S: Likewise.
4652 * config/riscv/div.S: Likewise.
4653 * config/riscv/linux-unwind.h: Likewise.
4654 * config/riscv/muldi3.S: Likewise.
4655 * config/riscv/multi3.S: Likewise.
4656 * config/riscv/save-restore.S: Likewise.
4657 * config/riscv/sfp-machine.h: Likewise.
4658 * config/riscv/t-elf: Likewise.
4659 * config/riscv/t-elf32: Likewise.
4660 * config/riscv/t-elf64: Likewise.
4661 * config/riscv/t-softfp32: Likewise.
4662 * config/riscv/t-softfp64: Likewise.
4664 2017-01-24 Jakub Jelinek <jakub@redhat.com>
4666 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4667 /* FALLTHRU */ comments.
4669 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
4671 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
4673 2017-01-20 Jiong Wang <jiong.wang@arm.com>
4675 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
4676 * unwind-dw2.c (execute_cfa_program): Only multiplexing
4677 DW_CFA_GNU_window_save for AArch64 and LP64.
4679 2017-01-20 Jiong Wang <jiong.wang@arm.com>
4681 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
4683 2017-01-19 Jiong Wang <jiong.wang@arm.com>
4685 * config/aarch64/aarch64-unwind.h: New file.
4686 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
4687 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
4688 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
4689 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
4690 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
4691 (aarch64_post_extract_frame_addr): New function.
4692 (aarch64_post_frob_eh_handler_addr): New function.
4693 (aarch64_frob_update_context): New function.
4694 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
4695 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
4696 aarch64*-*-freebsd*):
4697 Initialize md_unwind_header to include aarch64-unwind.h.
4698 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
4699 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
4701 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
4702 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
4703 (uw_frob_return_addr): New function.
4704 (uw_install_context): Use uw_frob_return_addr.
4706 2017-01-17 Jakub Jelinek <jakub@redhat.com>
4709 * configure.ac: Add GCC_BASE_VER.
4710 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
4711 version from BASE-VER file.
4712 * configure: Regenerated.
4714 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
4716 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
4717 libmul_f5.a): Filter archived prerequisites.
4719 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
4721 * config/i386/cpuinfo.h (processor_features): Add
4722 FEATURE_AVX512VPOPCNTDQ.
4723 * config/i386/cpuinfo.c (get_available_features): Habdle new
4726 2017-01-04 Joseph Myers <joseph@codesourcery.com>
4728 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
4729 payload if [__mips_nan2008].
4731 2017-01-04 Alan Modra <amodra@gmail.com>
4733 * Makefile.in (configure_deps): Update.
4734 * configure: Regenerate.
4736 2017-01-01 Jakub Jelinek <jakub@redhat.com>
4738 Update copyright years.
4740 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
4742 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
4743 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
4744 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
4746 2016-12-17 Matthias Klose <doko@ubuntu.com>
4748 * config/arc/gmon: Remove empty directory.
4750 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
4752 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
4754 (arc*-*-elf*): Likewise.
4755 * config/arc/t-arc: Remove old gmon lib targets.
4756 * config/arc/crtg.S: Remove.
4757 * config/arc/crtgend.S: Likewise.
4758 * config/arc/gmon/atomic.h: Likewise.
4759 * config/arc/gmon/auxreg.h: Likewise.
4760 * config/arc/gmon/dcache_linesz.S: Likewise.
4761 * config/arc/gmon/gmon.c: Likewise.
4762 * config/arc/gmon/machine-gmon.h: Likewise.
4763 * config/arc/gmon/mcount.c: Likewise.
4764 * config/arc/gmon/prof-freq-stub.S: Likewise.
4765 * config/arc/gmon/prof-freq.c: Likewise.
4766 * config/arc/gmon/profil.S: Likewise.
4767 * config/arc/gmon/sys/gmon.h: Likewise.
4768 * config/arc/gmon/sys/gmon_out.h: Likewise.
4769 * config/arc/t-arc-newlib: Likewise.
4770 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
4772 2016-12-12 George Spelvin <linux@sciencehorizons.net>
4774 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
4776 2016-12-12 George Spelvin <linux@sciencehorizons.net>
4778 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
4779 R16 instead of push + pop.
4780 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
4782 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
4784 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
4787 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
4789 * config.host (arc*-*-linux-uclibc*): Use default extra
4790 objects. Include linux-android header.
4791 * config/arc/crti.S (_init): Declare symbol as function.
4794 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
4797 * config/i386/cpuinfo.c: Move denums for processor vendors,
4798 processor type, processor subtypes and declaration of
4799 struct __processor_model into
4800 * config/i386/cpuinfo.h: New header file.
4802 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
4803 Thomas Preud'homme <thomas.preudhomme@arm.com>
4805 * config/arm/cmse_nonsecure_call.S: New.
4806 * config/arm/t-arm: Compile cmse_nonsecure_call.S
4808 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
4809 Thomas Preud'homme <thomas.preudhomme@arm.com>
4811 * config/arm/t-arm (HAVE_CMSE): New.
4812 * config/arm/cmse.c: New.
4814 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
4817 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
4818 use generic linker version information on Blackfin.
4821 * libgcc/mkmap-symver.awk: add support for skip_underscore
4823 2016-11-27 Iain Sandoe <iain@codesourcery.com>
4824 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4827 * config/t-darwin: Default builds to 10.5 codegen.
4829 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
4831 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
4832 (_FP_NANSIGN_H): Likewise.
4833 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
4834 (softfp_truncations): Add tfhf.
4835 (softfp_extras): Add required conversion functions.
4837 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4838 Matthew Wahab <matthew.wahab@arm.com>
4840 * config/arm/fp16.c (binary64): New.
4841 (__gnu_d2h_internal): New.
4842 (__gnu_d2h_ieee): New.
4843 (__gnu_d2h_alternative): New.
4845 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4846 Matthew Wahab <matthew.wahab@arm.com>
4848 * config/arm/fp16.c (struct format): New.
4850 (__gnu_float2h_internal): New. Body moved from
4851 __gnu_f2h_internal and generalize.
4852 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
4853 Call it with binary32.
4855 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4857 * soft-fp/extendhftf2.c: Update from glibc.
4858 * soft-fp/fixhfti.c: Likewise.
4859 * soft-fp/fixunshfti.c: Likewise.
4860 * soft-fp/floattihf.c: Likewise.
4861 * soft-fp/floatuntihf.c: Likewise.
4862 * soft-fp/half.h: Likewise.
4863 * soft-fp/trunctfhf2.c: Likewise.
4865 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
4868 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
4869 __TMC_END__ behind a passthrough asm.
4871 2016-11-18 Walter Lee <walt@tilera.com>
4873 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
4875 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
4877 * config/i386/cpuinfo.c (processor_features): Add
4878 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
4880 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
4882 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
4883 (__ARC_NORM__): Use instead ARC_OPTFPE.
4884 * config/arc/fp-hack.h: Likewise.
4885 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
4886 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
4888 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
4890 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
4891 * config/nvptx/mgomp.c: New file.
4892 * config/nvptx/t-nvptx: Add mgomp.c
4894 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
4897 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
4899 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
4901 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
4902 of checking for cpus.
4903 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
4904 (__modsi3, __clzsi2): Likewise.
4906 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4908 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
4909 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
4910 * config/i386/t-cpuinfo-static: New.
4912 2016-11-03 Martin Liska <mliska@suse.cz>
4914 * libgcov-profiler.c (__gcov_time_profiler): Remove.
4915 (__gcov_time_profiler_atomic): Likewise.
4917 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
4920 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
4921 count_leading_zeros.
4923 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
4925 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
4926 * libgcc2.c (__divmoddi4): New function.
4927 * libgcc2.h (__divmoddi4): Declare.
4928 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
4929 and __PFX_divmodti4.
4931 2016-10-24 Florian Weimer <fweimer@redhat.com>
4934 * unwind-c.c: Include auto-target.h.
4936 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
4938 * config/pa/pa64-hpux-lib.h: New file.
4939 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
4940 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
4941 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
4944 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
4946 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4948 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4950 * config/xtensa/t-windowed (LIB2ADDEH): Use
4951 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
4954 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
4956 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
4957 __ieee754_sqrt): New functions.
4958 (__divdf3): Add implementation with new FPU instructions under
4959 #if XCHAL_HAVE_DFP_DIV.
4960 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
4961 __ieee754_sqrtf): New functions.
4962 (__divsf3): Add implementation with new FPU instructions under
4963 #if XCHAL_HAVE_FP_DIV.
4964 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
4965 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
4967 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
4969 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
4971 * config/tilepro/atomic.c: Likewise and stop casting model to
4974 2016-10-10 Joseph Myers <joseph@codesourcery.com>
4977 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
4980 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
4982 * config.host: Add support for aarch64-*-freebsd*.
4984 2016-10-05 Andreas Schwab <schwab@suse.de>
4986 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
4987 (.section .init_array): Don't call __do_jv_register_classes.
4988 (.section .init): Likewise.
4990 2016-10-04 Jakub Jelinek <jakub@redhat.com>
4992 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
4993 (__JCR_LIST__): Remove.
4994 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
4995 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
4996 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
4997 * config/ia64/crtend.S (__JCR_END__): Remove.
4998 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
5000 (__JCR_LIST__, __JCR_END__): Remove.
5001 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
5002 (__do_global_ctors_1): Likewise.
5004 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
5006 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
5007 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
5009 2016-09-27 Martin Liska <mliska@suse.cz>
5011 PR gcov-profile/7970
5012 PR gcov-profile/16855
5013 PR gcov-profile/44779
5014 * libgcov-driver.c (__gcov_init): Do not register a atexit
5016 (__gcov_exit): Rename from gcov_exit.
5017 * libgcov.h (__gcov_exit): Declare.
5019 2016-09-27 Martin Liska <mliska@suse.cz>
5022 * Makefile.in: Remove _gcov_merge_delta.
5023 * libgcov-merge.c (void __gcov_merge_delta): Remove.
5024 * libgcov-util.c (__gcov_delta_counter_op): Remove.
5025 * libgcov.h: Remove declaration of __gcov_merge_delta.
5027 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
5029 * configure.ac: Do not create links, only substitute the filenames.
5030 * configure: Regenerate.
5031 * Makefile.in: Assign the substitution results to variables.
5032 (LIBGCC_LINKS): Define.
5033 (enable-execute-stack.c): New rule.
5034 (unwind.h): Likewise.
5035 (md-unwind-support.h): Likewise.
5036 (sfp-machine.h): Likewise.
5037 (gthr-default.h): Likewise.
5038 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
5039 unwind.h as prerequisite of install-unwind_h-forbuild.
5041 2016-09-16 Jakub Jelinek <jakub@redhat.com>
5044 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
5045 is not the primary registry and atomics are available.
5046 (any_objects_registered): New variable.
5047 (__register_frame_info_bases, __register_frame_info_table_bases):
5048 Atomically store 1 to any_objects_registered after registering first
5050 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
5052 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
5055 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
5056 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
5059 (__divhc3): Likewise.
5060 (__mulhc3): Likewise.
5061 * libgcc2.c: Support _mulhc3 and _divhc3.
5063 2016-09-07 Joseph Myers <joseph@codesourcery.com>
5066 * libgcc2.c (NOTRUNC): Invert settings.
5068 2016-09-06 Martin Liska <mliska@suse.cz>
5070 PR gcov-profile/77378
5071 PR gcov-profile/77466
5072 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
5073 conditionaly enable/disable *_atomic functions.
5075 2016-08-26 Joseph Myers <joseph@codesourcery.com>
5077 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
5078 where not already enabled.
5080 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5082 * config/mips/linux-unwind.h: Use sys/syscall.h.
5084 2016-08-16 Joseph Myers <joseph@codesourcery.com>
5087 * soft-fp/adddf3.c: Update from glibc.
5088 * soft-fp/addsf3.c: Likewise.
5089 * soft-fp/addtf3.c: Likewise.
5090 * soft-fp/divdf3.c: Likewise.
5091 * soft-fp/divsf3.c: Likewise.
5092 * soft-fp/divtf3.c: Likewise.
5093 * soft-fp/double.h: Likewise.
5094 * soft-fp/eqdf2.c: Likewise.
5095 * soft-fp/eqsf2.c: Likewise.
5096 * soft-fp/eqtf2.c: Likewise.
5097 * soft-fp/extenddftf2.c: Likewise.
5098 * soft-fp/extended.h: Likewise.
5099 * soft-fp/extendsfdf2.c: Likewise.
5100 * soft-fp/extendsftf2.c: Likewise.
5101 * soft-fp/extendxftf2.c: Likewise.
5102 * soft-fp/fixdfdi.c: Likewise.
5103 * soft-fp/fixdfsi.c: Likewise.
5104 * soft-fp/fixdfti.c: Likewise.
5105 * soft-fp/fixsfdi.c: Likewise.
5106 * soft-fp/fixsfsi.c: Likewise.
5107 * soft-fp/fixsfti.c: Likewise.
5108 * soft-fp/fixtfdi.c: Likewise.
5109 * soft-fp/fixtfsi.c: Likewise.
5110 * soft-fp/fixtfti.c: Likewise.
5111 * soft-fp/fixunsdfdi.c: Likewise.
5112 * soft-fp/fixunsdfsi.c: Likewise.
5113 * soft-fp/fixunsdfti.c: Likewise.
5114 * soft-fp/fixunssfdi.c: Likewise.
5115 * soft-fp/fixunssfsi.c: Likewise.
5116 * soft-fp/fixunssfti.c: Likewise.
5117 * soft-fp/fixunstfdi.c: Likewise.
5118 * soft-fp/fixunstfsi.c: Likewise.
5119 * soft-fp/fixunstfti.c: Likewise.
5120 * soft-fp/floatdidf.c: Likewise.
5121 * soft-fp/floatdisf.c: Likewise.
5122 * soft-fp/floatditf.c: Likewise.
5123 * soft-fp/floatsidf.c: Likewise.
5124 * soft-fp/floatsisf.c: Likewise.
5125 * soft-fp/floatsitf.c: Likewise.
5126 * soft-fp/floattidf.c: Likewise.
5127 * soft-fp/floattisf.c: Likewise.
5128 * soft-fp/floattitf.c: Likewise.
5129 * soft-fp/floatundidf.c: Likewise.
5130 * soft-fp/floatundisf.c: Likewise.
5131 * soft-fp/floatunditf.c: Likewise.
5132 * soft-fp/floatunsidf.c: Likewise.
5133 * soft-fp/floatunsisf.c: Likewise.
5134 * soft-fp/floatunsitf.c: Likewise.
5135 * soft-fp/floatuntidf.c: Likewise.
5136 * soft-fp/floatuntisf.c: Likewise.
5137 * soft-fp/floatuntitf.c: Likewise.
5138 * soft-fp/gedf2.c: Likewise.
5139 * soft-fp/gesf2.c: Likewise.
5140 * soft-fp/getf2.c: Likewise.
5141 * soft-fp/ledf2.c: Likewise.
5142 * soft-fp/lesf2.c: Likewise.
5143 * soft-fp/letf2.c: Likewise.
5144 * soft-fp/muldf3.c: Likewise.
5145 * soft-fp/mulsf3.c: Likewise.
5146 * soft-fp/multf3.c: Likewise.
5147 * soft-fp/negdf2.c: Likewise.
5148 * soft-fp/negsf2.c: Likewise.
5149 * soft-fp/negtf2.c: Likewise.
5150 * soft-fp/op-1.h: Likewise.
5151 * soft-fp/op-2.h: Likewise.
5152 * soft-fp/op-4.h: Likewise.
5153 * soft-fp/op-8.h: Likewise.
5154 * soft-fp/op-common.h: Likewise.
5155 * soft-fp/quad.h: Likewise.
5156 * soft-fp/single.h: Likewise.
5157 * soft-fp/soft-fp.h: Likewise.
5158 * soft-fp/subdf3.c: Likewise.
5159 * soft-fp/subsf3.c: Likewise.
5160 * soft-fp/subtf3.c: Likewise.
5161 * soft-fp/truncdfsf2.c: Likewise.
5162 * soft-fp/trunctfdf2.c: Likewise.
5163 * soft-fp/trunctfsf2.c: Likewise.
5164 * soft-fp/trunctfxf2.c: Likewise.
5165 * soft-fp/unorddf2.c: Likewise.
5166 * soft-fp/unordsf2.c: Likewise.
5167 * soft-fp/unordtf2.c: Likewise.
5169 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
5171 PR gcov-profile/67097
5172 * libgcov-util.c (gcov_profile_merge): Skip missing files.
5174 2016-08-10 Martin Liska <mliska@suse.cz>
5176 PR gcov-profile/58306
5177 * Makefile.in: New functions (modules) are added.
5178 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
5180 (__gcov_pow2_profiler_atomic): New function.
5181 (__gcov_one_value_profiler_body): New argument is instroduced.
5182 (__gcov_one_value_profiler): Call with the new argument.
5183 (__gcov_one_value_profiler_atomic): Likewise.
5184 (__gcov_indirect_call_profiler_v2): Likewise.
5185 (__gcov_time_profiler_atomic): New function.
5186 (__gcov_average_profiler_atomic): Likewise.
5187 (__gcov_ior_profiler_atomic): Likewise.
5188 * libgcov.h: Declare the aforementioned functions.
5190 2016-08-09 Martin Liska <mliska@suse.cz>
5192 * libgcov-util.c: Fix typo and GNU coding style.
5194 2016-08-09 Martin Liska <mliska@suse.cz>
5196 * Makefile.in: Remove __gcov_indirect_call_profiler.
5197 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
5199 * libgcov.h: And the declaration of the function.
5201 2016-08-09 Martin Liska <mliska@suse.cz>
5203 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
5206 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5208 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
5209 * config/rs6000/_mulkc3.c: Likewise.
5211 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
5213 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
5214 zero_reg as previous call to __umulhisi3 already cleared it.
5216 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
5219 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
5221 2016-07-19 Nick Clifton <nickc@redhat.com>
5223 * config.host (m32r): Add m32r/t-m32r to tmake_file.
5224 Add crtinit.o and crtfini.o to extra_parts.
5226 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5228 * config/rs6000/_divkc3.c: New.
5229 * config/rs6000/_mulkc3.c: New.
5230 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
5232 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
5235 2016-07-11 Hale Wang <hale.wang@arm.com>
5236 Andre Vieira <andre.simoesdiasvieira@arm.com>
5238 * config/arm/lib1funcs.S: Add new wrapper.
5240 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5242 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
5244 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5246 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
5247 and ARMv5t* rather than for a fixed list of architectures.
5249 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5251 * config/arm/bpabi-v6m.S: Clarify what architectures is the
5252 implementation suitable for.
5253 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
5254 for all Thumb-1 only targets.
5255 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
5256 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
5259 (ARM_FUNC_ALIAS): Likewise.
5260 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
5263 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
5266 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
5267 __ARM_ARCH_6M__ in guard for checking whether it is defined.
5268 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
5269 __ARM_ARCH_6M__ and add comment to indicate the connection between
5270 this condition and the one in gcc/config/arm/elf.h.
5271 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
5272 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
5273 * config/arm/t-softfp: Likewise.
5275 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5277 * libgcc2.c (SYMBOL__MAIN): Remove checks for
5278 CTOR_LISTS_DEFINED_EXTERNALLY.
5280 2016-06-28 Walter Lee <walt@tilera.com>
5282 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
5284 (SPR_CMPEXCH_VALUE): Define for tilegx.
5285 (__NR_FAST_cmpxchg): Define for tilepro.
5286 (__NR_FAST_atomic_update): Define for tilepro.
5287 (__NR_FAST_cmpxchg64): Define for tilepro.
5289 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
5291 * config.host: Add suport for arm*-*-phoenix* targets.
5293 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5295 * config.host: Remove support for mep-*.
5296 * config/mep/lib1funcs.S: Remove.
5297 * config/mep/lib2funcs.c: Remove.
5298 * config/mep/t-mep: Remove.
5299 * config/mep/tramp.c: Remove.
5301 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5303 * config.host: Remove support for avr-rtems.
5304 * config/avr/t-rtems: Remove.
5306 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5308 * config.host: Remove m32r-rtems support.
5310 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5312 * config.host: Remove h8300-rtems support.
5314 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5316 * config.host: Remove support for knetbsd.
5318 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5320 * config.host: Remove support for openbsd 2 and 3.
5322 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5324 * config.host: Remove interix support.
5325 * config/i386/t-interix: Remove.
5327 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
5329 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
5330 least-significant bit in function pointer for fixup.
5332 2016-06-05 Aaron Conole <aconole@redhat.com>
5333 Nathan Sidwell <nathan@acm.org>
5336 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
5337 (get_gcov_error_file): Check __gcov_error_file before trying to
5339 (gcov_error): Always use get_gcov_error_file.
5341 2016-06-02 Aaron Conole <aconole@redhat.com>
5343 * libgcov-driver-system.c (__gcov_error_file): New.
5344 (get_gcov_error_file): New.
5345 (gcov_error): Use and set __gcov_error_file.
5346 (gcov_error_exit): New.
5347 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
5349 2016-05-26 Nathan Sidwell <nathan@acm.org>
5351 * config/nvptx/free.asm: Delete.
5352 * config/nvptx/malloc.asm: Delete.
5353 * config/nvptx/realloc.c: Delete.
5356 2016-05-25 Nathan Sidwell <nathan@acm.org>
5358 * config/nvptx/crt0.s: Delete.
5359 * config/nvptx/crt0.c: New.
5362 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
5364 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
5365 dw2/seh configuration.
5366 [x86_64-*-mingw*]: Likewise.
5368 2016-05-10 Joel Sherrill <joel@rtems.org>
5371 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
5372 targets so the same extra_parts are built. Also have tmake_file add
5373 on to its value rather than override.
5375 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
5377 * config.host: Remove SH5 support.
5378 * configure: Likewise.
5380 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
5382 * config/sh/crt1.S: Remove SH5 support.
5383 * config/sh/crti.S: Likewise.
5384 * config/sh/crtn.S: Likewise.
5385 * config/sh/lib1funcs-4-300.S: Likewise.
5386 * config/sh/lib1funcs-Os-4-200.S: Likewise.
5387 * config/sh/lib1funcs.S: Likewise.
5388 * config/sh/linux-unwind.h: Likewise.
5389 * config/sh/t-sh64: Delete.
5391 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
5393 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
5395 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
5396 Joern Rennecke <joern.rennecke@embecosm.com>
5398 * config/arc/crttls.S: New file.
5399 * config/arc/t-arc: New rule.
5400 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
5402 2016-04-25 Nick Clifton <nickc@redhat.com>
5404 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
5405 (__mspabi_cmpd): Likewise.
5406 * config/msp430/floathidf.c (__floathidf): Likewise.
5407 * config/msp430/floathisf.c (__floathisf): Likewise
5408 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
5409 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
5410 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
5412 (__ashrsi3): Likewise.
5414 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
5416 * config/m68k/linux-atomic.c: Do not include unistd.h
5418 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
5420 * config/arm/ieee754-df.S: Fix typos in comments.
5422 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
5425 * configure.ac (powerpc*-*-linux*): Rework tests to build
5426 __float128 emulation routines to not depend on using #pragma GCC
5427 target to enable -mfloat128.
5428 * configure: Regnerate.
5430 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
5433 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
5434 __MINGW32__ is defined.
5436 2016-03-28 James Bowman <james.bowman@ftdichip.com>
5438 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
5440 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
5443 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
5444 built with an assembler that does not support ISA 3.0
5445 instructions, rename __extendkftf2_sw to __extendkftf2.
5447 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5450 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
5451 call-clobbered registers.
5452 (internal_mcount): Remove __i386__ handling.
5454 2016-02-26 Joel Sherrill <joel@rtems.org>
5456 * config.host: Add x86_64-*-rtems*.
5458 2016-02-26 Joel Sherrill <joel@rtems.org>
5460 * libgcc/config.host: Add aarch64-*-rtems*.
5462 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5463 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5465 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
5466 union of u64 and double.
5467 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
5468 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
5470 (FP_ROUNDMODE): Update the usage of _fpscr.
5472 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
5475 * Makefile.in (crtoffloadtable$(objext)): New rule.
5476 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
5477 enable_offload_targets is not empty.
5478 * configure: Regenerate.
5479 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
5482 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
5484 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
5485 .literal_position before the function.
5486 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
5489 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
5491 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
5492 * config/s390/morestack.S: New file.
5493 * config/s390/t-stack-s390: New file.
5494 * generic-morestack.c (__splitstack_find): Add s390-specific code.
5496 2016-02-12 Walter Lee <walt@tilera.com>
5498 * config.host (tilegx*-*-linux*): remove ti from
5499 softfp_int_modes for 32-bit configs.
5501 2016-02-10 Ian Lance Taylor <iant@google.com>
5504 * config/i386/morestack.S (__stack_split_initialize): Align
5507 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
5510 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
5511 __FLOAT128__ to compile only for __float128 capable targets.
5513 2016-01-25 Jakub Jelinek <jakub@redhat.com>
5516 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
5517 instead of ___NO_FPRS__.
5519 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
5520 Steven Munroe <munroesj@linux.vnet.ibm.com>
5521 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
5523 * config/rs6000/float128-sed: New files to convert TF names to KF
5524 names for PowerPC IEEE 128-bit floating point support.
5525 * config/rs6000/float128-sed-hw: Likewise.
5527 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5528 floating point hardware support.
5530 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5531 128-bit floating point software emulation or use ISA 3.0 hardware
5532 support if it is available.
5534 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5537 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
5538 floating point to IBM extended double.
5540 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
5541 double to IEEE 128-bit floating point.
5543 * config/rs6000/t-float128: New Makefile fragments to enable
5544 building __float128 emulation support.
5545 * config/rs6000/t-float128-hw: Likewise.
5547 * config/rs6000/sfp-exceptions.c: New file to provide exception
5548 support for IEEE 128-bit floating point.
5550 * config/rs6000/floattikf.c: New files for converting between IEEE
5551 128-bit floating point and signed/unsigned 128-bit integers.
5552 * config/rs6000/fixunskfti.c: Likewise.
5553 * config/rs6000/fixkfti.c: Likewise.
5554 * config/rs6000/floatuntikf.c: Likewise.
5556 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5557 when building on 64-bit systems, or when VSX is enabled.
5558 (_FP_W_TYPE): Likewise.
5559 (_FP_WS_TYPE): Likewise.
5560 (_FP_I_TYPE): Likewise.
5561 (TItype): Define on 64-bit systems.
5562 (UTItype): Likewise.
5563 (TI_BITS): Likewise.
5564 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5565 (_FP_MUL_MEAT_Q): Likewise.
5566 (_FP_DIV_MEAT_D): Likewise.
5567 (_FP_DIV_MEAT_Q): Likewise.
5568 (_FP_NANFRAC_D): Likewise.
5569 (_FP_NANFRAC_Q): Likewise.
5570 (ISA_BIT): Add exception support if we are being compiled on a
5571 machine with hardware floating point support to build the IEEE
5572 128-bit emulation functions.
5573 (FP_EX_INVALID): Likewise.
5574 (FP_EX_OVERFLOW): Likewise.
5575 (FP_EX_UNDERFLOW): Likewise.
5576 (FP_EX_DIVZERO): Likewise.
5577 (FP_EX_INEXACT): Likewise.
5578 (FP_EX_ALL): Likewise.
5579 (__sfp_handle_exceptions): Likewise.
5580 (FP_HANDLE_EXCEPTIONS): Likewise.
5581 (FP_RND_NEAREST): Likewise.
5582 (FP_RND_ZERO): Likewise.
5583 (FP_RND_PINF): Likewise.
5584 (FP_RND_MINF): Likewise.
5585 (FP_RND_MASK): Likewise.
5586 (_FP_DECL_EX): Likewise.
5587 (FP_INIT_ROUNDMODE): Likewise.
5588 (FP_ROUNDMODE): Likewise.
5590 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5591 VSX code, enable IEEE 128-bit floating point. If the compiler can
5592 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
5593 floating point hardware instructions and it supports declaring
5594 functions with the ifunc attribute, enable ifunc functions to
5595 switch between software and hardware support.
5596 * configure.ac (powerpc*-*-linux*): Likewise.
5597 * configure: Regenerate.
5599 2016-01-15 Nick Clifton <nickc@redhat.com>
5601 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
5602 dependency as the source file to be compiled.
5603 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
5604 (lib2hw_mul_f5.o): Likewise.
5606 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
5608 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
5609 * libgcc/config/rs6000/fixkfti.c: Likewise.
5610 * libgcc/config/rs6000/fixunskfti.c: Likewise.
5611 * libgcc/config/rs6000/float128-hw.c: Likewise.
5612 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
5613 * libgcc/config/rs6000/float128-sed: Likewise.
5614 * libgcc/config/rs6000/floattikf.c: Likewise.
5615 * libgcc/config/rs6000/floatuntikf.c: Likewise.
5616 * libgcc/config/rs6000/quad-float128.h: Likewise.
5617 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
5618 * libgcc/config/rs6000/sfp-machine.h: Likewise.
5619 * libgcc/config/rs6000/t-float128: Likewise.
5620 * libgcc/config/rs6000/t-float128-hw: Likewise.
5621 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
5622 * libgcc/config.host: Likewise.
5623 * libgcc/configure: Likewise.
5624 * libgcc/configure.ac: Likewise.
5626 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
5627 Steven Munroe <munroesj@linux.vnet.ibm.com>
5628 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
5630 * config/rs6000/sfp-exceptions.c: New file to provide exception
5631 support for IEEE 128-bit floating point.
5633 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5634 floating point hardware support.
5636 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
5638 * config/rs6000/fixunskfti.c: Likewise.
5639 * config/rs6000/fixkfti.c: Likewise.
5640 * config/rs6000/floatuntikf.c: Likewise.
5641 * config/rs6000/extendkftf2-sw.c: Likewise.
5642 * config/rs6000/trunctfkf2-sw.c: Likewise.
5644 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5645 128-bit floating point software emulation or use ISA 3.0 hardware
5646 support if it is available.
5648 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5651 * config/rs6000/t-float128: New Makefile fragments to enable
5652 building __float128 emulation support.
5653 * config/rs6000/t-float128-hw: Likewise.
5655 * config/rs6000/float128-sed: New file to convert TF names to KF
5656 names for PowerPC IEEE 128-bit floating point support.
5658 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5659 when building on 64-bit systems, or when VSX is enabled.
5660 (_FP_W_TYPE): Likewise.
5661 (_FP_WS_TYPE): Likewise.
5662 (_FP_I_TYPE): Likewise.
5663 (TItype): Define on 64-bit systems.
5664 (UTItype): Likewise.
5665 (TI_BITS): Likewise.
5666 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5667 (_FP_MUL_MEAT_Q): Likewise.
5668 (_FP_DIV_MEAT_D): Likewise.
5669 (_FP_DIV_MEAT_Q): Likewise.
5670 (_FP_NANFRAC_D): Likewise.
5671 (_FP_NANFRAC_Q): Likewise.
5672 (ISA_BIT): Add exception support if we are being compiled on a
5673 machine with hardware floating point support to build the IEEE
5674 128-bit emulation functions.
5675 (FP_EX_INVALID): Likewise.
5676 (FP_EX_OVERFLOW): Likewise.
5677 (FP_EX_UNDERFLOW): Likewise.
5678 (FP_EX_DIVZERO): Likewise.
5679 (FP_EX_INEXACT): Likewise.
5680 (FP_EX_ALL): Likewise.
5681 (__sfp_handle_exceptions): Likewise.
5682 (FP_HANDLE_EXCEPTIONS): Likewise.
5683 (FP_RND_NEAREST): Likewise.
5684 (FP_RND_ZERO): Likewise.
5685 (FP_RND_PINF): Likewise.
5686 (FP_RND_MINF): Likewise.
5687 (FP_RND_MASK): Likewise.
5688 (_FP_DECL_EX): Likewise.
5689 (FP_INIT_ROUNDMODE): Likewise.
5690 (FP_ROUNDMODE): Likewise.
5692 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
5693 compiler can do __float128.
5694 * configure: Regenerate.
5696 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5697 VSX code, enable IEEE 128-bit floating point.
5699 2016-01-05 Olivier Hainque <hainque@adacore.com>
5701 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
5704 2016-01-04 Jakub Jelinek <jakub@redhat.com>
5706 Update copyright years.
5708 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
5710 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
5713 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5715 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
5716 instead of abort to avoid dependency on stdlib.h.
5718 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
5720 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
5721 to initialize call to __dl_fixup once.
5723 2015-12-04 Nick Clifton <nickc@redhat.com>
5725 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
5726 Allow for the second argument being negative.
5727 * config.host (extra_parts): Define for MSP430. Create separate
5728 libraries for each of the hardware multiply formats.
5729 * config/msp430/lib2hw_mul.S: Build only the multiply routines
5731 * config/msp430/lib2mul.c: Likewise.
5732 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
5733 Add rules to build hardware multiply libraries.
5734 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
5735 __mspabi_divul function.
5736 (__mspabi_divllu): New stub function.
5738 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
5740 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
5741 fixup values if saved GOT address doesn't match runtime address.
5742 (fixup_branch_offset): Reorder list.
5744 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5746 * Makefile.in (VTV_CFLAGS): New variable.
5747 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
5748 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
5749 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5750 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
5751 to extra_parts if $enable_vtable_verify = yes.
5753 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
5756 * config/arm/linux-atomic-64bit.c (__write): Rename to...
5757 (write): ...this and fix the return type.
5759 2015-11-19 DJ Delorie <dj@redhat.com>
5761 * config/msp430/lib2hw_mul.S: Fix alignment.
5763 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
5765 * config/nvptx/reduction.c: New.
5766 * config/nvptx/t-nvptx (LIB2ADD): Add it.
5768 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
5770 * config/rs6000/on_exit.c: New file.
5771 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
5772 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
5774 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
5776 * config/arc/dp-hack.h: Add support for ARCHS.
5777 * config/arc/ieee-754/divdf3.S: Likewise.
5778 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5779 * config/arc/ieee-754/muldf3.S: Likewise.
5780 * config/arc/ieee-754/mulsf3.S: Likewise
5781 * config/arc/lib1funcs.S: Likewise
5782 * config/arc/gmon/dcache_linesz.S: Don't read the build register
5784 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
5786 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
5787 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
5790 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5792 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
5794 * config/ia64/crtend.S: Likewise.
5796 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5798 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
5799 __CHAR_BIT__ instead of BITS_PER_UNIT.
5800 * fixed-bit.h: Likewise.
5801 * fp-bit.h: Likewise.
5802 * libgcc2.c (__popcountSI2): Likewise.
5803 (__popcountDI2): Likewise.
5804 * libgcc2.h: Likewise.
5805 * libgcov.h: Likewise.
5807 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
5809 * config/rs6000/atexit.c: New file.
5810 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
5811 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
5812 * config/rs6000/cxa_finalize.c
5813 (catomic_compare_and_exchange_bool_acq): Negate return value.
5815 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
5817 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
5818 (processor_subtypes): Add znver1.
5819 (get_amd_cpu): Detect znver1.
5821 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
5823 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
5824 Include crtfastmath.o.
5826 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
5829 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
5831 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
5833 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
5834 * config/rl78/divmodsi.S: Update return register to r8.
5835 * config/rl78/divmodhi.S: Update return register to r8,r9.
5836 Branch to main_loop_done_himode to pop registers before return.
5838 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
5840 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
5841 (__cpu_indicator_init): Fix model selection for AMD CPUs.
5843 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
5845 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
5847 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
5849 * config.host (xtensa*-*-uclinux*): New configuration.
5851 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
5853 * config/i386/cpuinfo.c (processor_features): Add
5854 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
5856 2015-09-28 Joseph Myers <joseph@codesourcery.com>
5858 * soft-fp/adddf3.c: Update from glibc.
5859 * soft-fp/addsf3.c: Likewise.
5860 * soft-fp/addtf3.c: Likewise.
5861 * soft-fp/divdf3.c: Likewise.
5862 * soft-fp/divsf3.c: Likewise.
5863 * soft-fp/divtf3.c: Likewise.
5864 * soft-fp/double.h: Likewise.
5865 * soft-fp/eqdf2.c: Likewise.
5866 * soft-fp/eqsf2.c: Likewise.
5867 * soft-fp/eqtf2.c: Likewise.
5868 * soft-fp/extenddftf2.c: Likewise.
5869 * soft-fp/extended.h: Likewise.
5870 * soft-fp/extendsfdf2.c: Likewise.
5871 * soft-fp/extendsftf2.c: Likewise.
5872 * soft-fp/extendxftf2.c: Likewise.
5873 * soft-fp/fixdfdi.c: Likewise.
5874 * soft-fp/fixdfsi.c: Likewise.
5875 * soft-fp/fixdfti.c: Likewise.
5876 * soft-fp/fixsfdi.c: Likewise.
5877 * soft-fp/fixsfsi.c: Likewise.
5878 * soft-fp/fixsfti.c: Likewise.
5879 * soft-fp/fixtfdi.c: Likewise.
5880 * soft-fp/fixtfsi.c: Likewise.
5881 * soft-fp/fixtfti.c: Likewise.
5882 * soft-fp/fixunsdfdi.c: Likewise.
5883 * soft-fp/fixunsdfsi.c: Likewise.
5884 * soft-fp/fixunsdfti.c: Likewise.
5885 * soft-fp/fixunssfdi.c: Likewise.
5886 * soft-fp/fixunssfsi.c: Likewise.
5887 * soft-fp/fixunssfti.c: Likewise.
5888 * soft-fp/fixunstfdi.c: Likewise.
5889 * soft-fp/fixunstfsi.c: Likewise.
5890 * soft-fp/fixunstfti.c: Likewise.
5891 * soft-fp/floatdidf.c: Likewise.
5892 * soft-fp/floatdisf.c: Likewise.
5893 * soft-fp/floatditf.c: Likewise.
5894 * soft-fp/floatsidf.c: Likewise.
5895 * soft-fp/floatsisf.c: Likewise.
5896 * soft-fp/floatsitf.c: Likewise.
5897 * soft-fp/floattidf.c: Likewise.
5898 * soft-fp/floattisf.c: Likewise.
5899 * soft-fp/floattitf.c: Likewise.
5900 * soft-fp/floatundidf.c: Likewise.
5901 * soft-fp/floatundisf.c: Likewise.
5902 * soft-fp/floatunditf.c: Likewise.
5903 * soft-fp/floatunsidf.c: Likewise.
5904 * soft-fp/floatunsisf.c: Likewise.
5905 * soft-fp/floatunsitf.c: Likewise.
5906 * soft-fp/floatuntidf.c: Likewise.
5907 * soft-fp/floatuntisf.c: Likewise.
5908 * soft-fp/floatuntitf.c: Likewise.
5909 * soft-fp/gedf2.c: Likewise.
5910 * soft-fp/gesf2.c: Likewise.
5911 * soft-fp/getf2.c: Likewise.
5912 * soft-fp/ledf2.c: Likewise.
5913 * soft-fp/lesf2.c: Likewise.
5914 * soft-fp/letf2.c: Likewise.
5915 * soft-fp/muldf3.c: Likewise.
5916 * soft-fp/mulsf3.c: Likewise.
5917 * soft-fp/multf3.c: Likewise.
5918 * soft-fp/negdf2.c: Likewise.
5919 * soft-fp/negsf2.c: Likewise.
5920 * soft-fp/negtf2.c: Likewise.
5921 * soft-fp/op-1.h: Likewise.
5922 * soft-fp/op-2.h: Likewise.
5923 * soft-fp/op-4.h: Likewise.
5924 * soft-fp/op-8.h: Likewise.
5925 * soft-fp/op-common.h: Likewise.
5926 * soft-fp/quad.h: Likewise.
5927 * soft-fp/single.h: Likewise.
5928 * soft-fp/soft-fp.h: Likewise.
5929 * soft-fp/subdf3.c: Likewise.
5930 * soft-fp/subsf3.c: Likewise.
5931 * soft-fp/subtf3.c: Likewise.
5932 * soft-fp/truncdfsf2.c: Likewise.
5933 * soft-fp/trunctfdf2.c: Likewise.
5934 * soft-fp/trunctfsf2.c: Likewise.
5935 * soft-fp/trunctfxf2.c: Likewise.
5936 * soft-fp/unorddf2.c: Likewise.
5937 * soft-fp/unordsf2.c: Likewise.
5938 * soft-fp/unordtf2.c: Likewise.
5940 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
5943 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
5945 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5947 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5948 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
5949 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
5951 (internal_mcount): Likewise.
5952 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
5953 crt_compile, add CRTSTUFF_T_CFLAGS_S.
5955 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5957 * configure.ac (libgcc_cv_solaris_crts): New test.
5958 * configure: Regenerate.
5959 * config.in: Regenerate.
5960 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
5961 * config/gmon-sol2.c: Rename to ...
5962 * config/sol2/gmon.c: ... this.
5963 Include auto-target.h.
5964 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
5965 * config/t-sol2: Rename to ...
5966 * config/sol2/t-sol2: ... this.
5967 (gmon.o): Reflect renaming.
5968 (crtp.o, crtpg.o): New rules.
5969 * config.host (*-*-solaris2*): Reflect renaming.
5970 Use system CRTs if present.
5971 Remove default CRT case.
5973 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
5975 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
5976 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
5978 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
5979 (__sync_val_compare_and_swap_##WIDTH): Likewise.
5980 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
5981 (__sync_lock_test_and_set_##WIDTH): Likewise.
5982 (__sync_lock_release_##WIDTH): Likewise.
5983 (__sync_fetch_and_##OP##_4): Change result to match type of
5985 (__sync_##OP##_and_fetch_4): Likewise.
5986 (__sync_val_compare_and_swap_4): Likewise.
5987 (__sync_bool_compare_and_swap_4): likewise.
5988 (__sync_lock_test_and_set_4): Likewise.
5989 (__sync_lock_release_4): Likewise.
5990 (FETCH_AND_OP_2): Add long long variants.
5991 (OP_AND_FETCH_2): Likewise.
5992 (COMPARE_AND_SWAP_2 ): Likewise.
5993 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5994 (SYNC_LOCK_RELEASE_2): Likewise.
5995 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
5997 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
5999 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
6000 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
6001 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
6002 (get_available_features): Habdle new features.
6004 2015-09-21 James Bowman <james.bowman@ftdichip.com>
6006 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
6007 memory layout. Deal correctly with BSS region larger than 32K.
6008 Handle a watchdog reset like a power-on reset. Clean up unused
6011 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
6012 David Edelsohn <dje.gcc@gmail.com>
6014 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
6015 * config/rs6000/crtdbase.S: New file.
6016 * config/rs6000/t-aix-cxa: Build crtdbase.o.
6018 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
6020 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
6021 Add support for call0 ABI.
6023 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
6025 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
6027 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
6029 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
6030 (__GTHREAD_HAS_COND): Likewise.
6031 (__gthread_t): Likewise.
6032 (__gthread_cond_t): Likewise.
6033 (__gthread_time_t): Likewise.
6034 (__GTHREAD_MUTEX_INIT): Likewise.
6035 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
6036 (__GTHREAD_COND_INIT): Likewise.
6037 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
6038 (__GTHREAD_TIME_INIT): Likewise.
6039 (__gthread_create): Likewise.
6040 (__gthread_join): Likewise.
6041 (__gthread_detach): Likewise.
6042 (__gthread_equal): Likewise.
6043 (__gthread_self): Likewise.
6044 (__gthread_yield): Likewise.
6045 (__gthread_cond_broadcast): Likewise.
6046 (__gthread_cond_signal): Likewise.
6047 (__gthread_cond_wait): Likewise.
6048 (__gthread_cond_timedwait): Likewise.
6049 (__gthread_cond_wait_recursive): Likewise.
6050 (__gthread_cond_destroy): Likewise.
6051 (rtems_gxx_once): Delete.
6052 (rtems_gxx_key_create): Likewise.
6053 (rtems_gxx_key_delete): Likewise.
6054 (rtems_gxx_getspecific): Likewise.
6055 (rtems_gxx_setspecific): Likewise.
6056 (rtems_gxx_mutex_init): Likewise.
6057 (rtems_gxx_mutex_destroy): Likewise.
6058 (rtems_gxx_mutex_lock): Likewise.
6059 (rtems_gxx_mutex_trylock): Likewise.
6060 (rtems_gxx_mutex_unlock): Likewise.
6061 (rtems_gxx_recursive_mutex_init): Likewise.
6062 (rtems_gxx_recursive_mutex_lock): Likewise.
6063 (rtems_gxx_recursive_mutex_trylock): Likewise.
6064 (rtems_gxx_recursive_mutex_unlock): Likewise.
6065 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
6066 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
6067 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
6068 (__gthread_once): Likewise.
6069 (__gthread_key_create): Likewise.
6070 (__gthread_key_delete): Likewise.
6071 (__gthread_getspecific): Likewise.
6072 (__gthread_setspecific): Likewise.
6073 (__gthread_key_t): Use <pthread.h> type.
6074 (__gthread_once_t): Likewise
6075 (__gthread_mutex_t): Use <sys/lock.h> type.
6076 (__gthread_recursive_mutex_t): Likewise
6077 (__gthread_mutex_lock): Use <sys/lock.h> function.
6078 (__gthread_mutex_trylock): Likewise.
6079 (__gthread_mutex_timedlock): Likewise.
6080 (__gthread_mutex_unlock): Likewise.
6081 (__gthread_mutex_destroy): Likewise.
6082 (__gthread_recursive_mutex_lock): Likewise.
6083 (__gthread_recursive_mutex_trylock): Likewise.
6084 (__gthread_recursive_mutex_timedlock): Likewise.
6085 (__gthread_recursive_mutex_unlock): Likewise.
6086 (__gthread_recursive_mutex_destroy): Likewise.
6088 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6090 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
6091 context->sp instead of context->cfa.
6093 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6095 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
6096 with unwind-dw2-fde-dip.
6098 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6100 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
6101 CALL12 followed by series of ENTRY to spill windowed registers.
6102 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
6103 instead of making linux spill syscall.
6105 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
6107 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
6108 (get_intel_cpu): Likewise.
6110 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
6112 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
6113 (get_intel_cpu): Add Knights Landing support.
6115 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
6118 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
6119 (get_available_features): Handle FEATURE_PCLMUL.
6121 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
6123 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
6126 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
6129 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
6130 (get_available_features): Handle FEATURE_AES.
6132 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
6134 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
6135 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
6137 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
6139 * offloadstuff.c: Constify host data.
6141 2015-07-17 Jan Beulich <jbeulich@suse.com>
6143 * config/t-softfp: Split up "else ifneq".
6145 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
6146 Cesar Philippidis <cesar@codesourcery.com>
6147 Chung-Lin Tang <cltang@codesourcery.com>
6149 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
6150 for __nios2_arch__ level.
6152 2015-07-13 John Marino <gnugcc@marino.st>
6154 * config/i386/t-dragonfly: New.
6156 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
6158 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
6159 better match light-weight syscall argument order.
6160 (__kernel_cmpxchg2): Likewise.
6163 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
6165 * config.host: Support i[34567]86-*-elfiamcu target.
6166 * config/t-softfp-sfdftf: New file.
6167 * config/i386/32/t-iamcu: Likewise.
6168 * configure: Regenerated.
6170 2015-06-23 James Lemke <jwlemke@codesourcery.com>
6173 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
6175 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
6177 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
6179 2015-05-27 John Marino <gnugcc@marino.st>
6181 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
6183 * config/i386/freebsd-unwind.h: New.
6185 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
6187 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
6188 i386/t-crtfm to tmake_file.
6189 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
6190 (set_fast_math): Use set_fast_math_sse for SSE targets.
6191 * config/i386/t-crtfm: Remove.
6193 2015-05-21 Alan Modra <amodra@gmail.com>
6196 * config/rs6000/morestack.S: Remove ".abiversion 1".
6198 2015-05-20 Alan Modra <amodra@gmail.com>
6200 * config/rs6000/morestack.S: New.
6201 * config/rs6000/t-stack-rs6000: New.
6202 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
6204 * generic-morestack.c: Don't build for powerpc 32-bit.
6206 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
6208 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
6209 Remove useless endif/ifneq ($(enable_shared),yes) pair.
6211 2015-05-16 James Bowman <james.bowman@ftdichip.com>
6213 * config.host: FT32 target added.
6214 * config/ft32/*: New files for FT32 target.
6216 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
6218 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
6220 * config/arm/ieee754-df.S: Add CFI directives.
6221 * config/arm/ieee754-sf.S: Add CFI directives.
6223 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
6225 * configure.ac: Include config/sjlj.m4.
6226 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
6227 * config.in: Regenerate.
6228 * configure: Likewise.
6229 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
6231 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
6233 * libgcov-util.c: Add space between string literal and macro name.
6235 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
6236 Chris Jones <chrisj@nvidia.com>
6237 Joshua Conner <jconner@nvidia.com>
6239 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
6240 (arm*-*-uclinux*): Likewise.
6241 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
6242 * config/arm/crtfastmath.c: New file.
6244 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
6246 * Makefile.in (real_host_noncanonical): New variable.
6247 (libsubdir): Use it.
6248 * configure.ac (real_host_noncanonical): Compute. Remove special
6249 case for intelmicemul.
6250 * configure: Regenerate.
6252 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
6254 * config/frv/elf-lib.h: New file.
6255 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
6256 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
6259 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
6261 * config/frv/frvbengin.c: Do not include defaults.h
6262 * config/frv/frvend.c: Ditto.
6264 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
6266 * config.host: Add h8300-*-linux
6267 * config/h8300/t-linux: New file.
6268 * config/h8300/lib1funs.s: Change symbol prefix.
6269 * config/h8300/sfp-machine.h: 64bit double support.
6271 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
6272 Szabolcs Nagy <szabolcs.nagy@arm.com>
6274 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
6275 Linux if target provides dl_iterate_phdr.
6277 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
6280 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
6281 * config/i386/cpuinfo.c (__cpu_model): Initialize.
6282 (__cpu_indicator_init@GCC_4.8.0): New.
6283 (__cpu_model@GCC_4.8.0): Likewise.
6284 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
6287 2015-04-16 Nick Clifton <nickc@redhat.com>
6289 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
6290 and __modhi3 functions.
6291 * config/rl78/divmodso.S: Add G14 and G13 versions of the
6292 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
6294 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
6296 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
6297 do-while loop as macro body to avoid warnings.
6299 2015-04-10 Jakub Jelinek <jakub@redhat.com>
6300 Iain Sandoe <iain@codesourcery.com>
6303 * configure: Regenerate.
6305 2015-04-07 Jakub Jelinek <jakub@redhat.com>
6306 Iain Sandoe <iain@codesourcery.com>
6309 * configure: Regenerate.
6311 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
6313 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
6315 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
6317 Implement call0 ABI for xtensa
6318 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6319 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
6320 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
6321 use ret in call0 ABI.
6322 * config/xtensa/t-windowed: New file.
6323 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
6324 * libgcc/configure: Regenerated.
6325 * libgcc/configure.ac: Check if xtensa target is configured for
6326 windowed ABI and thus needs to use custom unwind code.
6328 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
6331 * gthr-single.h: Use __unused__ attribute instead of unused.
6332 * config/gthr-vxworks.h: Likewise.
6333 * config/i386/gthr-win32.h: Likewise.
6335 2015-02-27 Kai Tietz <ktietz@redhat.com>
6338 * config.in: Regenerated.
6339 * configure: Likewise.
6340 * configure.ac (AC_HEADER_STDC): Added explicit.
6341 (AC_CHECK_HEADERS): Check for default headers plus
6343 * libgcov-util.c (gcov_read_profile_dir): Disable use
6344 of ftw-function, if header is not found.
6345 (ftw_read_file): Likewise.
6347 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
6350 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
6353 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
6355 * config/arm/bpabi.S (test_div_by_zero): Make label names
6356 consistent between thumb2 and arm mode cases. Separate the
6357 signed comparison on the high word of the numerator from the
6358 unsigned comparison on the low word.
6359 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
6362 2015-02-17 Joseph Myers <joseph@codesourcery.com>
6364 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
6366 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
6368 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
6370 PR gcov-profile/61889
6371 * libgcov-driver-system.c: undefine clashing macro for mkdir.
6373 2015-02-02 Nick Clifton <nickc@redhat.com>
6375 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
6376 rounding up the fraction.
6378 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
6380 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
6381 oldval and newval to const void *. Fix typo.
6382 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
6383 (FETCH_AND_OP_WORD): Likewise.
6384 (OP_AND_FETCH_WORD): Likewise.
6385 (COMPARE_AND_SWAP_2): Likewise.
6386 (__sync_val_compare_and_swap_4): Likewise.
6387 (__sync_lock_test_and_set_4): Likewise.
6388 (SYNC_LOCK_RELEASE_2): Likewise.
6389 Remove support for long long atomic operations.
6391 2015-01-27 Caroline Tice <cmtice@google.com>
6393 Committing VTV Cywin/Ming patch for Patrick Wollgast
6394 * Makefile.in: Move rules to build vtv_*.o out of the check
6395 for CUSTOM_CRTSTUFF.
6396 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
6397 i[34567]86-*-mingw*)
6398 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
6399 enable_vtable_verify.
6401 2015-01-27 Nick Clifton <nickc@redhat.com>
6403 * config/rl78/cmpsi2.S: Use function start and end macros.
6404 (__gcc_bcmp): New function.
6405 * config/rl78/lshrsi3.S: Use function start and end macros.
6406 * config/rl78/mulsi3.S: Add support for G10.
6407 (__mulqi3): New function for G10.
6408 * config/rl78/signbit.S: Use function start and end macros.
6409 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
6411 (LIB2FUNCS_EXCLUDE): Define.
6412 (LIB2FUNCS_ST): Define.
6413 * config/rl78/trampoline.S: Use function start and end macros.
6414 * config/rl78/vregs.h (START_FUNC): New macro.
6415 (START_ANOTHER_FUNC): New macro.
6416 (END_FUNC): New macro.
6417 (END_ANOTHER_FUNC): New macro.
6418 * config/rl78/bit-count.S: New file. Contains assembler
6419 implementations of the bit counting functions: ___clzhi2,
6420 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
6421 __paritysi2, __popcounthi2 and __popcountsi2.
6422 * config/rl78/fpbit-sf.S: New file. Contains assembler
6423 implementationas of the math functions: __negsf2, __cmpsf2,
6424 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
6425 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
6426 * config/rl78/fpmath-sf.S: New file. Contains assembler
6427 implementations of the math functions: __subsf3, __addsf3,
6428 __mulsf3 and __divsf3
6430 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6432 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
6433 Add i386/elf-lib.h to tm_file.
6434 * config/i386/elf-lib.h: Fix comment.
6435 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
6436 && __sun__ && __svr4__]: Remove workaround.
6438 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6440 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
6442 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
6444 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
6446 * config/i386/cpuinfo.c (processor_subtypes): Add
6447 INTEL_COREI7_BROADWELL.
6448 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
6451 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
6453 * config/i386/elf-lib.h: New file.
6454 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
6455 Wrap definition in #ifdef __i386__.
6456 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6457 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
6458 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
6459 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
6462 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
6464 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
6465 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
6467 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
6469 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
6470 Update rt_sigframe format and address for current Nios II
6473 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
6475 * config.host (arm*-*-freebsd*): Add new configuration for
6477 * config/arm/freebsd-atomic.c: New file.
6478 * config/arm/t-freebsd: Likewise.
6479 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
6480 'PC-relative indirect' OS's.
6482 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
6484 * config.host: Add Visium support.
6485 * config/visium: New directory.
6487 2015-01-05 Jakub Jelinek <jakub@redhat.com>
6489 Update copyright years.
6491 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
6493 * config.host: Support mipsisa32r6 and mipsisa64r6.
6494 * config/mips/mips16.S: Do not build for R6.
6496 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
6498 * config/sh/crt.h: New.
6499 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
6501 * config/sh/crt1.S: Likewise.
6503 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
6506 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
6507 func_ptr *dtor_list temporary variable to avoid "array subscript
6508 is above array bounds" warnings.
6510 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
6512 * Makefile.in (with_aix_soname): Define.
6513 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
6514 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
6515 * configure: Recreate.
6517 2014-12-05 Olivier Hainque <hainque@adacore.com>
6519 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
6520 now provided by defaults.h.
6522 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
6525 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
6526 whether it's defined.
6528 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
6530 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
6531 * config/i386/cpuinfo.c (get_available_features): Detect it.
6533 2014-11-27 Tony Wang <tony.wang@arm.com>
6535 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
6536 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
6537 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
6539 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
6541 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
6543 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
6545 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
6548 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
6549 John David Anglin <danglin@gcc.gnu.org>
6551 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
6552 (FETCH_AND_OP_2): New. Use for subword and double word operations.
6553 (OP_AND_FETCH_2): Likewise.
6554 (COMPARE_AND_SWAP_2): Likewise.
6555 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6556 (SYNC_LOCK_RELEASE_2): Likewise.
6557 (SUBWORD_SYNC_OP): Remove.
6558 (SUBWORD_VAL_CAS): Likewise.
6559 (SUBWORD_BOOL_CAS): Likewise.
6560 (FETCH_AND_OP_WORD): Update.
6561 Consistently use signed types.
6563 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
6564 Thomas Schwinge <thomas@codesourcery.com>
6565 Ilya Verbin <ilya.verbin@intel.com>
6566 Andrey Turetskiy <andrey.turetskiy@intel.com>
6568 * Makefile.in (crtoffloadbegin$(objext)): New rule.
6569 (crtoffloadend$(objext)): Likewise.
6570 * configure: Regenerate.
6571 * configure.ac (accel_dir_suffix): Compute new variable.
6572 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
6573 if enable_offload_targets is not empty.
6574 * offloadstuff.c: New file.
6576 2014-11-13 Nick Clifton <nickc@redhat.com>
6578 * config/rl78/divmodhi.S: Add support for the G10 architecture.
6579 Use START_FUNC and END_FUNC macros to enable linker garbage
6581 * config/rl78/divmodqi.S: Likewise.
6582 * config/rl78/divmodsi.S: Likewise.
6583 * config/rl78/mulsi3.S: Likewise.
6584 * config/rl78/lib2div.c: Remove G10 functions.
6585 * config/rl78/lib2muls.c: Likewise.
6586 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
6587 * config/rl78/vregs.h (START_FUNC): New macro.
6588 (END_FUNC): New macro.
6590 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
6592 * config/mips/mips16.S: Set .module when supported. Update O32
6593 FP64 calling convention and use for FPXX when possible. Add FPXX
6594 calling convention fallback case.
6596 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
6598 * config.host: Handle nvptx-*-*.
6599 * shared-object.mk (as-flags-$o): Define.
6600 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
6601 -xassembler-with-cpp.
6602 * static-object.mk: Identical changes.
6603 * config/nvptx/t-nvptx: New file.
6604 * config/nvptx/crt0.s: New file.
6605 * config/nvptx/free.asm: New file.
6606 * config/nvptx/malloc.asm: New file.
6607 * config/nvptx/realloc.c: New file.
6609 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6611 * Makefile.in (libgcc.map.in): New target.
6612 (libgcc.map): Use libgcc.map.in.
6613 * config/t-softfp (softfp_compat): New variable to be set by
6615 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
6617 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
6619 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
6620 that use compat symbols and disable all code unless [SHARED].
6621 * config/t-softfp-compat: New file.
6622 * find-symver.awk: New file.
6623 * configure.ac (--with-glibc-version): New configure option.
6624 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
6625 * configure: Regenerate.
6626 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
6627 soft-float and e500.
6629 2014-10-29 Joseph Myers <joseph@codesourcery.com>
6631 * config/t-hardfp (hardfp_exclusions): Document new variable for
6633 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
6634 * config/t-softfp (softfp_extras): Document new variable for user
6636 (softfp_func_list): Add functions from $(softfp_extras).
6637 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
6638 * config.host (powerpc*-*-linux*): For e500v1, use
6639 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
6640 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
6641 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
6643 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
6645 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
6646 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
6647 memory read accesses are ok.
6649 2014-10-25 Joseph Myers <joseph@codesourcery.com>
6651 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
6652 * configure: Regenerate.
6653 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
6654 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
6655 of soft-fp for 32-bit classic hard float. Do not use
6656 t-softfp-excl for soft float.
6658 2014-10-22 Joseph Myers <joseph@codesourcery.com>
6660 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
6662 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
6665 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
6667 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
6668 introduced with 2014-10-21 trunk r216525.
6670 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
6671 Vidya Praveen <vidya.praveen@atmel.com>
6672 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
6673 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
6674 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
6676 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
6679 Updated library functions for AVRTINY arch.
6680 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
6681 Replaced occurrences of r0/r1 with tmp/zero reg macros.
6682 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
6683 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
6685 (__mulsi3_helper): Update stack, preserve callee saved regs and
6686 argument from stack. Restore callee save registers.
6687 (__mulpsi3): Likewise.
6688 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
6689 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
6690 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
6692 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
6693 (__do_copy_data): Added new definition for AVRTINY.
6694 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
6695 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
6696 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
6697 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
6698 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
6700 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
6703 Fix broken long multiplication on tiny arch.
6705 2014-10-09 Joseph Myers <joseph@codesourcery.com>
6707 * soft-fp/double.h: Update from glibc.
6708 * soft-fp/eqdf2.c: Likewise.
6709 * soft-fp/eqsf2.c: Likewise.
6710 * soft-fp/eqtf2.c: Likewise.
6711 * soft-fp/extenddftf2.c: Likewise.
6712 * soft-fp/extended.h: Likewise.
6713 * soft-fp/extendsfdf2.c: Likewise.
6714 * soft-fp/extendsftf2.c: Likewise.
6715 * soft-fp/extendxftf2.c: Likewise.
6716 * soft-fp/gedf2.c: Likewise.
6717 * soft-fp/gesf2.c: Likewise.
6718 * soft-fp/getf2.c: Likewise.
6719 * soft-fp/ledf2.c: Likewise.
6720 * soft-fp/lesf2.c: Likewise.
6721 * soft-fp/letf2.c: Likewise.
6722 * soft-fp/op-1.h: Likewise.
6723 * soft-fp/op-2.h: Likewise.
6724 * soft-fp/op-4.h: Likewise.
6725 * soft-fp/op-8.h: Likewise.
6726 * soft-fp/op-common.h: Likewise.
6727 * soft-fp/quad.h: Likewise.
6728 * soft-fp/single.h: Likewise.
6729 * soft-fp/soft-fp.h: Likewise.
6730 * soft-fp/unorddf2.c: Likewise.
6731 * soft-fp/unordsf2.c: Likewise.
6732 * soft-fp/unordtf2.c: Likewise.
6733 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
6734 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
6735 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
6736 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
6737 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
6738 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
6739 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
6740 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
6741 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
6742 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
6744 2014-10-08 Rong Xu <xur@google.com>
6746 * libgcov-util.c (read_gcda_file): Fix format.
6747 (find_match_gcov_info): Ditto.
6748 (calculate_2_entries): New.
6749 (compute_one_gcov): Ditto.
6750 (gcov_info_count_all_cold): Ditto.
6751 (gcov_info_count_all_zero): Ditto.
6752 (extract_file_basename): Ditto.
6753 (get_file_basename): Ditto.
6755 (matched_gcov_info): Ditto.
6756 (calculate_overlap): Ditto.
6757 (gcov_profile_overlap): Ditto.
6758 * libgcov-driver.c (compute_summary): Make
6759 it avavilable for external calls.
6761 2014-10-06 Rong Xu <xur@google.com>
6763 * Makefile.in: Ditto.
6764 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
6765 (gcov_sort_icall_topn_counter): Ditto.
6766 (gcov_sort_topn_counter_arrays): Ditto.
6767 (dump_one_gcov): Sort indirect_call topn counters.
6768 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
6770 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
6772 (__gcov_indirect_call_topn_profiler): New profiler function.
6773 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
6774 * libgcov.h: New decls.
6776 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
6778 * config.host: Remove support for score-*.
6780 2014-09-22 Joseph Myers <joseph@codesourcery.com>
6782 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6783 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
6784 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
6785 __LIBGCC_XF_MANT_DIG__.
6786 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
6787 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
6788 __LIBGCC_TF_MANT_DIG__.
6789 * libgcc2.c (NOTRUNC): Define in terms of
6790 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
6791 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6793 2014-09-22 Joseph Myers <joseph@codesourcery.com>
6796 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
6799 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
6801 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
6802 override USE_PT_GNU_EH_FRAME.
6803 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
6804 check USE_EH_FRAME_REGISTRY_ALWAYS against
6805 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
6806 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
6807 variable for substituted force_explicit_eh_registry.
6808 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
6809 * configure.ac (explicit-exception-frame-registration):
6811 * configure: Regenerate.
6813 2014-09-19 Olivier Hainque <hainque@adacore.com>
6815 * config.host (powerpc-wrs-vxworksmils): New configuration,
6818 2014-09-18 Joseph Myers <joseph@codesourcery.com>
6820 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
6822 2014-09-18 Joseph Myers <joseph@codesourcery.com>
6824 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
6825 bits not set bits as indicating trapping exceptions.
6827 2014-09-17 Nathan sidwell <nathan@acm.org>
6829 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
6830 (LIBGCOV_DRIVER): ... here.
6831 * libgcov-driver.c (gcov_master): New.
6832 (gcov_exit): Remove from master chain.
6833 (__gcov_init): Add to master chain if version compatible. Don't
6835 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
6836 (gcov_reset_int): Clear master chain, if compatible.
6837 (gcov_dump_int): New internal interface. Dump master chain, if
6839 (gcov_dump): Alias for gcov_dump_int.
6840 * libgcov.h (struct gcov_root): Add next and prev fields.
6841 (struct gcov_master): New struct.
6842 (__gcov_master): New.
6843 (gcov_dump_int): Declare.
6845 2014-09-17 Olivier Hainque <hainque@adacore.com>
6847 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
6848 and crtbegin.o + crtend.o to extra_parts.
6850 2014-09-12 Joseph Myers <joseph@codesourcery.com>
6852 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
6853 __LIBGCC_HAS_SF_MODE__.
6854 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6855 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6856 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6857 * config/libbid/bid_gcc_intrinsics.h
6858 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6859 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6860 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6861 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6862 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
6863 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6865 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
6868 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
6869 and R24 as needed. Make work for all devices and .text locations.
6870 (__do_global_ctors, __do_global_dtors): Use word addresses.
6871 (__tablejump__, __tablejump_elpm__): Remove functions.
6872 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
6874 (XICALL, XIJMP): New macros.
6876 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
6877 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6879 * config.host (aarch64*): Include crtfastmath.o and
6881 * config/aarch64/crtfastmath.c: New file.
6883 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
6885 * config.host: Remove picochip support.
6886 * config/picochip/adddi3.S: Remove.
6887 * config/picochip/ashlsi3.S: Remove.
6888 * config/picochip/ashlsi3.c: Remove.
6889 * config/picochip/ashrsi3.S: Remove.
6890 * config/picochip/ashrsi3.c: Remove.
6891 * config/picochip/clzsi2.S: Remove.
6892 * config/picochip/cmpsi2.S: Remove.
6893 * config/picochip/divmod15.S: Remove.
6894 * config/picochip/divmodhi4.S: Remove.
6895 * config/picochip/divmodsi4.S: Remove.
6896 * config/picochip/lib1funcs.S: Remove.
6897 * config/picochip/longjmp.S: Remove.
6898 * config/picochip/lshrsi3.S: Remove.
6899 * config/picochip/lshrsi3.c: Remove.
6900 * config/picochip/parityhi2.S: Remove.
6901 * config/picochip/popcounthi2.S: Remove.
6902 * config/picochip/setjmp.S: Remove.
6903 * config/picochip/subdi3.S: Remove.
6904 * config/picochip/t-picochip: Remove.
6905 * config/picochip/ucmpsi2.S: Remove.
6906 * config/picochip/udivmodhi4.S: Remove.
6907 * config/picochip/udivmodsi4.S: Remove.
6909 2014-09-08 Joseph Myers <joseph@codesourcery.com>
6911 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
6912 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
6913 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
6914 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
6915 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
6916 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
6917 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
6918 defined and LIBGCC2_HAS_DF_MODE is defined.
6919 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
6920 defined and LIBGCC2_HAS_XF_MODE is defined.
6921 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
6922 defined and LIBGCC2_HAS_TF_MODE is defined.
6924 2014-09-08 Joseph Myers <joseph@codesourcery.com>
6926 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
6927 and ROUND_TOWARDS_ZERO conditionals.
6929 2014-09-07 Nathan sidwell <nathan@acm.org>
6931 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
6932 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
6934 2014-09-05 Joseph Myers <joseph@codesourcery.com>
6936 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
6937 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6938 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6939 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6940 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6941 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6942 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6943 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
6944 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
6945 (DWARF_FRAME_REGISTERS): Change all uses to
6946 __LIBGCC_DWARF_FRAME_REGISTERS__.
6947 (EH_RETURN_STACKADJ_RTX): Change all uses to
6948 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6949 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
6950 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
6951 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
6952 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
6953 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
6954 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
6955 to __LIBGCC_EH_FRAME_SECTION_NAME__.
6956 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
6957 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
6958 __LIBGCC_STACK_POINTER_REGNUM__.
6959 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6960 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6961 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6962 to __LIBGCC_STACK_POINTER_REGNUM__.
6963 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6964 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6965 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6966 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6967 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6968 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6969 (STACK_POINTER_REGNUM): Change all uses to
6970 __LIBGCC_STACK_POINTER_REGNUM__.
6971 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
6972 use to __LIBGCC_STACK_POINTER_REGNUM__.
6973 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6974 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6975 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
6976 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6977 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
6978 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6979 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6980 to __LIBGCC_STACK_POINTER_REGNUM__.
6981 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
6982 Remove conditional definition.
6983 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
6984 __LIBGCC_TEXT_SECTION_ASM_OP__.
6985 (EH_FRAME_SECTION_NAME): Change all uses to
6986 __LIBGCC_EH_FRAME_SECTION_NAME__.
6987 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
6988 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
6989 (CTORS_SECTION_ASM_OP): Change all uses to
6990 __LIBGCC_CTORS_SECTION_ASM_OP__.
6991 (DTORS_SECTION_ASM_OP): Change all uses to
6992 __LIBGCC_DTORS_SECTION_ASM_OP__.
6993 (JCR_SECTION_NAME): Change all uses to
6994 __LIBGCC_JCR_SECTION_NAME__.
6995 (INIT_SECTION_ASM_OP): Change all uses to
6996 __LIBGCC_INIT_SECTION_ASM_OP__.
6997 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6998 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6999 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
7000 __LIBGCC_STACK_GROWS_DOWNWARD__.
7001 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
7002 __LIBGCC_INIT_SECTION_ASM_OP__.
7003 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7004 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7005 (EH_FRAME_SECTION_NAME): Change all uses to
7006 __LIBGCC_EH_FRAME_SECTION_NAME__.
7007 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
7008 definitions. Change all uses to
7009 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
7010 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
7011 __LIBGCC_STACK_GROWS_DOWNWARD__.
7012 (DWARF_FRAME_REGISTERS): Change all uses to
7013 __LIBGCC_DWARF_FRAME_REGISTERS__.
7014 (EH_RETURN_STACKADJ_RTX): Change all uses to
7015 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7016 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
7017 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
7018 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
7019 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
7020 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
7022 2014-09-02 Nathan sidwell <nathan@acm.org>
7024 * libgcov-interface.c (STRONG_ALIAS): New.
7025 (__gcov_flush): Call __gcov_reset_int.
7026 (__gcov_reset): Strong alias for ...
7027 (__gcov_reset_ing): ... this renamed hidden version.
7028 * libgcov.h (__gcov_reset_int): New declaration.
7030 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
7032 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
7034 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
7035 (__dso_handle): Define on Cygwin.
7036 * config/i386/t-cygming (crtbeginS.o): New rule.
7037 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
7039 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
7042 2014-08-13 Steve Ellcey <sellcey@mips.com>
7044 * crtstuff.c: Undef caddr_t.
7046 2014-08-12 Steve Ellcey <sellcey@mips.com>
7048 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
7050 2014-08-07 Nathan Sidwell <nathan@acm.org>
7052 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
7053 (LIBGCOV_DRIVER): ... to here.
7054 * libgcov.h (gcov_do_dump): New #define.
7055 (struct gcov_root): New.
7056 (__gcov_root): New declaration.
7057 (__gcov_dump_one): Declare.
7058 * libgcov-driver.c (gcov_list, gcov_dump_complete,
7059 run_accounted): Delete.
7060 (gcov_compute_histogram): Add LIST argument, adjust.
7061 (compute_summary): Adjust gcov_compute_histogram call.
7062 (gcov_do_dump): Not hidden, static in libgcov.
7063 (gcov_clear): Move to interface.c.
7064 (__gcov_dump_one): New, broken out of ...
7065 (gcov_exit): ... here. Make static.
7067 (__gcov_init): Adjust.
7068 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
7070 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
7071 (gcov_clear): Moved from driver.c. Add LIST argument.
7072 (__gcov_reset): Adjust for changed interfaces.
7073 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
7075 2014-08-04 Rohit <rohitarulraj@freescale.com>
7078 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
7079 based on change in SPE high register numbers and 3 HTM registers.
7081 2014-08-01 Nathan Sidwell <nathan@acm.org>
7083 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
7084 LIBGCOV_INTERFACE): Reformat.
7085 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
7087 * libgcov-interface.c: Reformat some comments.
7088 (__gcov_flush_mx): Add declaration. Tidy up definition.
7090 2014-07-31 Alan Modra <amodra@gmail.com>
7091 Peter Bergner <bergner@vnet.ibm.com>
7093 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
7094 (pack_ldouble): New function.
7095 (__gcc_qadd): Use it.
7096 (__gcc_qmul): Likewise.
7097 (__gcc_qdiv): Likewise.
7098 (__gcc_qneg): Likewise.
7099 (__gcc_stoq): Likewise.
7100 (__gcc_dtoq): Likewise.
7102 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
7104 * config/s390/tpf-unwind.h: Include <stdbool.h>.
7105 (__tpf_eh_return): Add original return address as second parameter.
7106 Handle cases where unwinder routines were called directly, instead
7107 of from within the C++ library.
7109 2014-07-29 Nathan Sidwell <nathan@acm.org>
7111 * libgcov.h: Move renaming of entry points to lib gcov specific
7113 (gcov_do_dump): New rename.
7114 (gcov_rewrite): Remove inline, make HIDDEN.
7115 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
7116 (gcov_exit_compute_summary): Rename to ...
7117 (compute_summary): ... here. Add LIST argument.
7118 (gcov_exit_merge_gcda): Rename to ...
7119 (merge_one_data): ... here.
7120 (gcov_exit_write_gcda): Rename to ...
7121 (write_one_data): ... here.
7122 (gcov_exit_merge_summary): Rename to ...
7123 (merge_summary): Add RUN_COUNTED argument.
7124 (gcov_exit_dump_gcov): Rename to ...
7125 (dump_one_gcov): Add RUN_COUNTED argument.
7126 (gcov_do_dump): New function, broken out of ...
7127 (gcov_exit): ... here. Call it.
7129 2014-07-27 Anthony Green <green@moxielogic.com>
7131 * config.host: Add moxiebox configuration suppport.
7133 2014-07-27 Nathan Sidwell <nathan@acm.org>
7135 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
7136 (struct gcov_filename): ... here. Include buffer and max length
7138 (gcov_max_filename): Remove.
7139 (gi_filename): Remove.
7140 (gcov_exit_compute_summary): Compute max filename here.
7141 (gcov_exit_merge_gcda): Add filename parm, adjust.
7142 (gcov_exit_merge_summary): Likewise.
7143 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
7144 (gcov_exit): Likewise.
7145 (__gcov_init): Don't calculate max length here.
7146 * libgcov_util.c (max_filename_len): Remove.
7147 (read_gcda_file): Don't calculate max length here.
7148 (gcov_read_profile_dir): Don't propagate here.
7149 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
7150 struct gcov_filename changes.
7151 (gcov_exit_open_gcda_file): Likewise.
7153 2014-07-25 Nathan Sidwell <nathan@acm.org>
7155 * libgcov-driver.c (set_gcov_dump_complete,
7156 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
7157 functions polluting user's namespace.
7158 (gcov_exit): Set variable directly.
7159 (gcov_clear): Reset variable directly.
7160 * libgcov-interface.c (get_gcov_dymp_complete,
7161 reset_gov_dump_complete): Remove declarations.
7162 (__gcov_reset, __gcov_dump): Don't call them.
7164 2014-07-24 DJ Delorie <dj@redhat.com>
7166 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
7167 (__gcc_deregister_frame): Move logic to detect deregister function
7169 (__gcc_register_frame): here, so it's consistent with the register
7172 2014-07-23 Nathan Sidwell <nathan@acm.org>
7174 * libgcov-driver.c (set_gcov_list): Remove.
7175 (gcov_list): Make non-static in GCOV_TOOL.
7176 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
7178 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
7180 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
7181 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
7182 Don't use SYNC_LOCK_RELEASE for int type.
7184 2014-07-14 Richard Biener <rguenther@suse.de>
7186 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
7188 2014-07-11 Rong Xu <xur@google.com>
7190 * libgcov-util.c (gcov_max_filename): Fix declartion.
7192 2014-07-10 Rong Xu <xur@google.com>
7194 Add gcov-tool: an offline gcda profile processing tool
7196 * libgcov-driver.c (gcov_max_filename): Make available
7198 * libgcov-merge.c (__gcov_merge_add): Replace
7199 gcov_read_counter() with a Macro.
7200 (__gcov_merge_ior): Ditto.
7201 (__gcov_merge_time_profile): Ditto.
7202 (__gcov_merge_single): Ditto.
7203 (__gcov_merge_delta): Ditto.
7204 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
7205 in the utility functions.
7206 (set_fn_ctrs): Utility function for reading gcda files to in-memory
7207 gcov_list object link lists.
7208 (tag_function): Ditto.
7209 (tag_blocks): Ditto.
7212 (tag_counters): Ditto.
7213 (tag_summary): Ditto.
7214 (read_gcda_finalize): Ditto.
7215 (read_gcda_file): Ditto.
7216 (ftw_read_file): Ditto.
7217 (read_profile_dir_init): Ditto.
7218 (gcov_read_profile_dir): Ditto.
7219 (gcov_read_counter_mem): Ditto.
7220 (gcov_get_merge_weight): Ditto.
7221 (merge_wrapper): A wrapper function that calls merging handler.
7222 (gcov_merge): Merge two gcov_info objects with weights.
7223 (find_match_gcov_info): Find the matched gcov_info in the list.
7224 (gcov_profile_merge): Merge two gcov_info object lists.
7225 (__gcov_add_counter_op): Process edge profile counter values.
7226 (__gcov_ior_counter_op): Process IOR profile counter values.
7227 (__gcov_delta_counter_op): Process delta profile counter values.
7228 (__gcov_single_counter_op): Process single profile counter values.
7229 (fp_scale): Callback function for float-point scaling.
7230 (int_scale): Callback function for integer fraction scaling.
7231 (gcov_profile_scale): Scaling profile counters.
7232 (gcov_profile_normalize): Normalize profile counters.
7233 * libgcov.h: Add headers and functions for gcov-tool use.
7234 (gcov_get_counter): New.
7235 (gcov_get_counter_target): Ditto.
7236 (struct gcov_info): Make the functions field mutable in gcov-tool
7239 2014-06-23 Kai Tietz <ktietz@redhat.com>
7242 * unwind-seh.c (_Unwind_GetGR): Check for proper
7244 (_Unwind_SetGR): Likewise.
7246 2014-05-22 Nick Clifton <nickc@redhat.com>
7248 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
7251 2014-05-22 Teresa Johnson <tejohnson@google.com>
7253 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
7256 2014-05-20 John Marino <gnugcc@marino.st>
7258 * config.host (*-*-dragonfly*): New target.
7259 * crtstuff.c: Make dl_iterate_support generic on *bsd.
7260 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
7261 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
7262 * config/i386/dragonfly-unwind.h: New.
7264 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7267 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
7268 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
7270 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
7272 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
7275 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
7277 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
7279 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7282 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
7285 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
7287 Work around for current cygwin32 build problems.
7288 * config/i386/cygming-crtbegin.c (__register_frame_info,
7289 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
7290 functions only for 64-bit systems.
7292 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7294 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
7295 (sigill_caught, sigill_hdlr): Remove.
7297 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7299 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
7301 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7302 Solaris 9 single-threaded support.
7303 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7304 Solaris 9 single-threaded support. Add call_user_handler code
7306 (sparc_is_sighandler): Likewise.
7308 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7310 * config.host: Append t-floattodi to tmake_file depending on
7313 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
7315 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
7317 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
7320 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
7321 variable to avoid "array subscript is above array bounds" warnings.
7322 Use __builtin_expect when checking *jcr_list for NULL.
7324 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7327 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
7328 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
7329 vtv_*.o to extra_parts if enable_vtable_verify.
7331 2014-03-06 Nick Clifton <nickc@redhat.com>
7333 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
7334 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
7336 2014-02-28 Joey Ye <joey.ye@arm.com>
7339 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
7340 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
7343 2014-02-24 Walter Lee <walt@tilera.com>
7345 * config.host: Support "tilegx*" and "tilepro*" triplets.
7346 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
7347 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
7349 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
7350 Chung-Lin Tang <cltang@codesourcery.com>
7352 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
7353 * config/nios2/crti.S: Remove .file directive.
7354 * config/nios2/crtn.S: Likewise.
7356 2014-02-18 Kai Tietz <ktietz@redhat.com>
7357 Jonathan Schleifer <js@webkeks.org>
7360 * unwind-seh.c (_GCC_specific_handler): Pass proper
7361 value to unwind-handler.
7363 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7365 * soft-fp/adddf3.c: Update from glibc.
7366 * soft-fp/addsf3.c: Likewise.
7367 * soft-fp/addtf3.c: Likewise.
7368 * soft-fp/divdf3.c: Likewise.
7369 * soft-fp/divsf3.c: Likewise.
7370 * soft-fp/divtf3.c: Likewise.
7371 * soft-fp/double.h: Likewise.
7372 * soft-fp/eqdf2.c: Likewise.
7373 * soft-fp/eqsf2.c: Likewise.
7374 * soft-fp/eqtf2.c: Likewise.
7375 * soft-fp/extenddftf2.c: Likewise.
7376 * soft-fp/extended.h: Likewise.
7377 * soft-fp/extendsfdf2.c: Likewise.
7378 * soft-fp/extendsftf2.c: Likewise.
7379 * soft-fp/extendxftf2.c: Likewise.
7380 * soft-fp/fixdfdi.c: Likewise.
7381 * soft-fp/fixdfsi.c: Likewise.
7382 * soft-fp/fixdfti.c: Likewise.
7383 * soft-fp/fixsfdi.c: Likewise.
7384 * soft-fp/fixsfsi.c: Likewise.
7385 * soft-fp/fixsfti.c: Likewise.
7386 * soft-fp/fixtfdi.c: Likewise.
7387 * soft-fp/fixtfsi.c: Likewise.
7388 * soft-fp/fixtfti.c: Likewise.
7389 * soft-fp/fixunsdfdi.c: Likewise.
7390 * soft-fp/fixunsdfsi.c: Likewise.
7391 * soft-fp/fixunsdfti.c: Likewise.
7392 * soft-fp/fixunssfdi.c: Likewise.
7393 * soft-fp/fixunssfsi.c: Likewise.
7394 * soft-fp/fixunssfti.c: Likewise.
7395 * soft-fp/fixunstfdi.c: Likewise.
7396 * soft-fp/fixunstfsi.c: Likewise.
7397 * soft-fp/fixunstfti.c: Likewise.
7398 * soft-fp/floatdidf.c: Likewise.
7399 * soft-fp/floatdisf.c: Likewise.
7400 * soft-fp/floatditf.c: Likewise.
7401 * soft-fp/floatsidf.c: Likewise.
7402 * soft-fp/floatsisf.c: Likewise.
7403 * soft-fp/floatsitf.c: Likewise.
7404 * soft-fp/floattidf.c: Likewise.
7405 * soft-fp/floattisf.c: Likewise.
7406 * soft-fp/floattitf.c: Likewise.
7407 * soft-fp/floatundidf.c: Likewise.
7408 * soft-fp/floatundisf.c: Likewise.
7409 * soft-fp/floatunditf.c: Likewise.
7410 * soft-fp/floatunsidf.c: Likewise.
7411 * soft-fp/floatunsisf.c: Likewise.
7412 * soft-fp/floatunsitf.c: Likewise.
7413 * soft-fp/floatuntidf.c: Likewise.
7414 * soft-fp/floatuntisf.c: Likewise.
7415 * soft-fp/floatuntitf.c: Likewise.
7416 * soft-fp/gedf2.c: Likewise.
7417 * soft-fp/gesf2.c: Likewise.
7418 * soft-fp/getf2.c: Likewise.
7419 * soft-fp/ledf2.c: Likewise.
7420 * soft-fp/lesf2.c: Likewise.
7421 * soft-fp/letf2.c: Likewise.
7422 * soft-fp/muldf3.c: Likewise.
7423 * soft-fp/mulsf3.c: Likewise.
7424 * soft-fp/multf3.c: Likewise.
7425 * soft-fp/negdf2.c: Likewise.
7426 * soft-fp/negsf2.c: Likewise.
7427 * soft-fp/negtf2.c: Likewise.
7428 * soft-fp/op-1.h: Likewise.
7429 * soft-fp/op-2.h: Likewise.
7430 * soft-fp/op-4.h: Likewise.
7431 * soft-fp/op-8.h: Likewise.
7432 * soft-fp/op-common.h: Likewise.
7433 * soft-fp/quad.h: Likewise.
7434 * soft-fp/single.h: Likewise.
7435 * soft-fp/soft-fp.h: Likewise.
7436 * soft-fp/subdf3.c: Likewise.
7437 * soft-fp/subsf3.c: Likewise.
7438 * soft-fp/subtf3.c: Likewise.
7439 * soft-fp/truncdfsf2.c: Likewise.
7440 * soft-fp/trunctfdf2.c: Likewise.
7441 * soft-fp/trunctfsf2.c: Likewise.
7442 * soft-fp/trunctfxf2.c: Likewise.
7443 * soft-fp/unorddf2.c: Likewise.
7444 * soft-fp/unordsf2.c: Likewise.
7445 * soft-fp/unordtf2.c: Likewise.
7446 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
7448 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7450 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7452 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7454 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7456 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7458 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7460 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7462 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7464 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7466 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7468 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7470 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7472 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
7474 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
7476 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7479 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7481 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
7482 cannot be represented.
7483 * config/s390/32/_fixsfdi.c: Likewise.
7484 * config/s390/32/_fixtfdi.c: Likewise.
7485 * config/s390/32/_fixunsdfdi.c: Likewise.
7486 * config/s390/32/_fixunssfdi.c: Likewise.
7487 * config/s390/32/_fixunstfdi.c: Likewise.
7489 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
7491 * configure.ac (libgcc_cv_mips_hard_float): New.
7492 * configure: Regenerate.
7493 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
7494 t-softfp-sfdf for hard-float targets.
7495 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
7496 (softfp_float_modes, softfp_int_modes, softfp_extensions)
7497 (softfp_truncations, softfp_exclude_libgcc2): New.
7498 * config/t-hardfp: New file.
7499 * config/t-hardfp-sfdf: Likewise.
7500 * config/hardfp.c: Likewise.
7502 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7504 * config.host: Include t-floattodi also for s390x.
7505 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
7506 * config/s390/32/_fixsfdi.c: Likewise.
7507 * config/s390/32/_fixtfdi.c: Likewise.
7508 * config/s390/32/_fixunsdfdi.c: Likewise.
7509 * config/s390/32/_fixunssfdi.c: Likewise.
7510 * config/s390/32/_fixunstfdi.c: Likewise.
7512 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7515 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
7516 (install-libgcc-unwind-map-forbuild): New target.
7517 (all): Depend on install-libgcc-unwind-map-forbuild.
7518 (install-libgcc-unwind-map): New target.
7519 (install): Depend on install-libgcc-unwind-map.
7521 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
7523 * config/nios2/crti.S (_init): Initialize GOT pointer from
7524 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
7526 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
7528 * configure.ac: Check __mips64 when setting host_address.
7529 * configure: Regenerate.
7530 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
7531 mips/t-mips64 and t-softfp.
7532 (mips*-*-linux*): Don't add mips/t-tpbit.
7533 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
7534 (DPBIT, DPBIT_CFLAGS): Delete.
7535 * config/mips/sfp-machine.h: New file.
7536 * config/mips/t-mips64: Likewise.
7537 * config/mips/t-softfp-tf: Likewise.
7538 * config/mips/t-tpbit: Delete.
7540 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
7542 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
7545 2014-01-25 Walter Lee <walt@tilera.com>
7547 * config/tilepro/atomic.c: Include tconfig.h. Don't include
7548 config.h or system.h.
7551 2014-01-25 Walter Lee <walt@tilera.com>
7553 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
7554 (post_atomic_barrier): Ditto.
7555 (__fetch_and_do): New macro.
7556 (__atomic_fetch_and_do): Use __fetch_and_do.
7557 (__sync_fetch_and_do): New macro.
7558 (__sync_fetch_and_add_4): New function.
7559 (__sync_fetch_and_sub_4): New function.
7560 (__sync_fetch_and_or_4): New function.
7561 (__sync_fetch_and_and_4): New function.
7562 (__sync_fetch_and_xor_4): New function.
7563 (__sync_fetch_and_nand_4): New function.
7564 (__sync_fetch_and_add_8): New function.
7565 (__sync_fetch_and_sub_8): New function.
7566 (__sync_fetch_and_or_8): New function.
7567 (__sync_fetch_and_and_8): New function.
7568 (__sync_fetch_and_xor_8): New function.
7569 (__sync_fetch_and_nand_8): New function.
7570 (__do_and_fetch): New macro.
7571 (__atomic_do_and_fetch): Use __do_and_fetch.
7572 (__sync_do_and_fetch): New macro.
7573 (__sync_add_and_fetch_4): New function.
7574 (__sync_sub_and_fetch_4): New function.
7575 (__sync_or_and_fetch_4): New function.
7576 (__sync_and_and_fetch_4): New function.
7577 (__sync_xor_and_fetch_4): New function.
7578 (__sync_nand_and_fetch_4): New function.
7579 (__sync_add_and_fetch_8): New function.
7580 (__sync_sub_and_fetch_8): New function.
7581 (__sync_or_and_fetch_8): New function.
7582 (__sync_and_and_fetch_8): New function.
7583 (__sync_xor_and_fetch_8): New function.
7584 (__sync_nand_and_fetch_8): New function.
7585 (__sync_exchange_methods): New macro.
7586 (__sync_val_compare_and_swap_4): New function.
7587 (__sync_bool_compare_and_swap_4): New function.
7588 (__sync_lock_test_and_test_4): New function.
7589 (__sync_val_compare_and_swap_8): New function.
7590 (__sync_bool_compare_and_swap_8): New function.
7591 (__sync_lock_test_and_test_8): New function.
7592 (__subword_cmpxchg_body): New macro.
7593 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
7594 (__atomic_compare_exchange_2): Ditto.
7595 (__sync_subword_cmpxchg): New macro.
7596 (__sync_val_compare_and_swap_1): New function.
7597 (__sync_bool_compare_and_swap_1): New function.
7598 (__sync_val_compare_and_swap_2): New function.
7599 (__sync_bool_compare_and_swap_2): New function.
7600 (__atomic_subword): Rename to ...
7601 (__subword): ... New name.
7602 (__atomic_subword_fetch): Use __subword.
7603 (__sync_subword_fetch): New macro.
7604 (__sync_fetch_and_add_1): New function.
7605 (__sync_fetch_and_sub_1): New function.
7606 (__sync_fetch_and_or_1): New function.
7607 (__sync_fetch_and_and_1): New function.
7608 (__sync_fetch_and_xor_1): New function.
7609 (__sync_fetch_and_nand_1): New function.
7610 (__sync_fetch_and_add_2): New function.
7611 (__sync_fetch_and_sub_2): New function.
7612 (__sync_fetch_and_or_2): New function.
7613 (__sync_fetch_and_and_2): New function.
7614 (__sync_fetch_and_xor_2): New function.
7615 (__sync_fetch_and_nand_2): New function.
7616 (__sync_add_and_fetch_1): New function.
7617 (__sync_sub_and_fetch_1): New function.
7618 (__sync_or_and_fetch_1): New function.
7619 (__sync_and_and_fetch_1): New function.
7620 (__sync_xor_and_fetch_1): New function.
7621 (__sync_nand_and_fetch_1): New function.
7622 (__sync_add_and_fetch_2): New function.
7623 (__sync_sub_and_fetch_2): New function.
7624 (__sync_or_and_fetch_2): New function.
7625 (__sync_and_and_fetch_2): New function.
7626 (__sync_xor_and_fetch_2): New function.
7627 (__sync_nand_and_fetch_2): New function.
7628 (__atomic_subword_lock): Use __subword.
7629 (__sync_subword_lock): New macro.
7630 (__sync_lock_test_and_set_1): New function.
7631 (__sync_lock_test_and_set_2): New function.
7633 2014-01-25 Walter Lee <walt@tilera.com>
7635 * config/tilepro/atomic.c (BIT_OFFSET): Define.
7636 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
7637 (__atomic_subword): Ditto.
7639 2014-01-25 Walter Lee <walt@tilera.com>
7641 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
7642 a prefix op argument.
7643 (__atomic_nand_fetch_4): Add prefix op.
7644 (__atomic_nand_fetch_8): Ditto.
7646 2014-01-21 Baruch Siach <barch@tkos.co.il>
7648 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
7650 2014-01-09 Rong Xu <xur@google.com>
7652 * libgcov-driver.c (this_prg): make it local to save
7654 (gcov_exit_compute_summary): Ditto.
7655 (gcov_exit_merge_gcda): Ditto.
7656 (gcov_exit_merge_summary): Ditto.
7657 (gcov_exit_dump_gcov): Ditto.
7659 2014-01-08 Rong Xu <xur@google.com>
7661 * libgcov-driver.c: Use libgcov.h.
7662 (buffer_fn_data): Use xmalloc instead of malloc.
7663 (gcov_exit_merge_gcda): Ditto.
7664 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
7665 * libgcov.h: New common header files for libgcov-*.h.
7666 * libgcov-interface.c: Use libgcov.h
7667 * libgcov-merge.c: Ditto.
7668 * libgcov-profiler.c: Ditto.
7669 * Makefile.in: Add dependence to libgcov.h
7671 2014-01-02 Joseph Myers <joseph@codesourcery.com>
7673 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
7674 case of small numerator and finite nonzero result.
7676 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7678 Update copyright years
7680 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7682 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
7683 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
7684 config/arc/dp-hack.h, config/arc/fp-hack.h,
7685 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
7686 config/arc/ieee-754/arc600-dsp/divdf3.S,
7687 config/arc/ieee-754/arc600-dsp/divsf3.S,
7688 config/arc/ieee-754/arc600-dsp/muldf3.S,
7689 config/arc/ieee-754/arc600-dsp/mulsf3.S,
7690 config/arc/ieee-754/arc600-mul64/divdf3.S,
7691 config/arc/ieee-754/arc600-mul64/divsf3.S,
7692 config/arc/ieee-754/arc600-mul64/muldf3.S,
7693 config/arc/ieee-754/arc600-mul64/mulsf3.S,
7694 config/arc/ieee-754/arc600/divsf3.S,
7695 config/arc/ieee-754/arc600/mulsf3.S,
7696 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
7697 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
7698 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
7699 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
7700 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
7701 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
7702 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
7703 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
7704 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
7705 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
7706 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
7707 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
7708 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
7709 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
7710 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
7711 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
7712 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
7713 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
7714 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
7715 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
7716 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
7717 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
7718 vtv_start_preinit.c: Use the standard form for the copyright notice.
7720 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
7721 Chung-Lin Tang <cltang@codesourcery.com>
7722 Based on patches from Altera Corporation
7724 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
7725 * config/nios2/lib2-nios2.h: New file.
7726 * config/nios2/lib2-divmod-hi.c: New file.
7727 * config/nios2/linux-unwind.h: New file.
7728 * config/nios2/lib2-divmod.c: New file.
7729 * config/nios2/linux-atomic.c: New file.
7730 * config/nios2/t-nios2: New file.
7731 * config/nios2/crti.asm: New file.
7732 * config/nios2/t-linux: New file.
7733 * config/nios2/lib2-divtable.c: New file.
7734 * config/nios2/lib2-mul.c: New file.
7735 * config/nios2/tramp.c: New file.
7736 * config/nios2/crtn.asm: New file.
7738 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
7740 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
7741 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
7742 from cpuid.h to check vendor signatures.
7744 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
7746 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
7747 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
7748 (get_amd_cpu): Likewise.
7750 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
7752 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
7755 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
7756 H.J. Lu <hongjiu.lu@intel.com>
7759 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
7761 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
7762 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
7763 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
7764 FEATURE_XOP and FEATURE_FMA.
7765 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
7767 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
7768 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
7769 FEATURE_FMA4 and FEATURE_XOP.
7771 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
7773 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
7774 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
7775 (get_intel_cpu): Updated.
7777 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
7779 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
7781 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
7783 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7784 instructions when __SSE_MATH__ is defined.
7786 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
7788 * config.host (microblaze-*-rtems*): New.
7790 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
7792 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
7793 architectures that do not have hardware divide instruction.
7794 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
7796 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
7798 * longlong.h: Delete (moved to include/).
7800 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7802 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
7803 of normal number and qNaN to not raise an inexact exception.
7805 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
7807 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
7809 2013-11-28 Matthew Leach <matthew.leach@arm.com>
7811 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
7812 for correct opcodes on BE.
7814 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
7816 * soft-fp/op-4.h: Update from glibc.
7818 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
7820 * libgcc2.c (__udivmoddi4): Define new implementation when
7821 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
7822 divide instructions.
7824 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
7826 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
7828 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7830 * config/t-softfp (soft-fp-objects-base): New variable.
7831 (soft-fp-objects): Use it.
7833 2013-11-23 David Edelson <dje.gcc@gmail.com>
7834 Andrew Dixie <andrewd@gentrack.com>
7837 * config/rs6000/aixinitfini.c: New file.
7838 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
7839 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
7842 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
7844 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
7846 2013-11-18 Jan Hubicka <jh@suse.cz>
7848 * libgcov-driver.c (run_accounted): Make global level static.
7849 (gcov_exit_merge_summary): Silence warning; do not clear
7851 (gcov_exit): Clear it here.
7853 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
7856 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
7857 (all_prg, crc32): Remove static vars.
7858 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
7860 (gcov_exit_merge_gcda): Add crc32 parameter.
7861 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
7862 do not account run if it was already accounted.
7863 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
7864 (gcov_exit): Initialize all_prg; update.
7866 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
7868 * configure: Regenerate.
7870 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7871 Alan Modra <amodra@gmail.com>
7873 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
7874 (frob_update_context): Use it.
7876 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7877 Alan Modra <amodra@gmail.com>
7879 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
7880 (trampoline_initial): Provide ELFv2 variant.
7881 (__trampoline_setup): Likewise.
7883 * config/rs6000/linux-unwind.h (frob_update_context): Do not
7884 check for AIX indirect function call sequence if _CALL_ELF == 2.
7886 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7887 Alan Modra <amodra@gmail.com>
7889 * config/rs6000/linux-unwind.h (get_regs): Do not support
7890 old kernel versions if _CALL_ELF == 2.
7891 (frob_update_context): Do not support PLT stub variants only
7892 generated by old linkers if _CALL_ELF == 2.
7894 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7895 Alan Modra <amodra@gmail.com>
7897 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
7898 location of CR save area for 64-bit little-endian systems.
7900 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
7902 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
7904 * config/arm/t-vxworks: Delete.
7906 2013-11-10 Kai Tietz <ktietz@redhat.com>
7908 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
7909 Increment load-count on use of LIBGCC_SONAME DLL.
7910 (hmod_libgcc): New static variable to hold handle of
7912 (__gcc_deregister_frame): Decrement load-count of
7915 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
7917 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
7919 * configure: Regenerate
7921 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
7923 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
7924 FP_EX_DENORM. Store result to volatile location after SSE division
7925 to close interrupt window. Remove unneeded fwait after x87
7926 division since interrupt window will be closed by emitted fstp.
7927 Rewrite FP_EX_INEXACT handling.
7929 2013-11-06 Joseph Myers <joseph@codesourcery.com>
7931 * soft-fp/README: Update.
7932 * soft-fp/adddf3.c: Update from glibc.
7933 * soft-fp/addsf3.c: Likewise.
7934 * soft-fp/addtf3.c: Likewise.
7935 * soft-fp/divdf3.c: Likewise.
7936 * soft-fp/divsf3.c: Likewise.
7937 * soft-fp/divtf3.c: Likewise.
7938 * soft-fp/double.h: Likewise.
7939 * soft-fp/eqdf2.c: Likewise.
7940 * soft-fp/eqsf2.c: Likewise.
7941 * soft-fp/eqtf2.c: Likewise.
7942 * soft-fp/extenddftf2.c: Likewise.
7943 * soft-fp/extended.h: Likewise.
7944 * soft-fp/extendsfdf2.c: Likewise.
7945 * soft-fp/extendsftf2.c: Likewise.
7946 * soft-fp/extendxftf2.c: Likewise.
7947 * soft-fp/fixdfdi.c: Likewise.
7948 * soft-fp/fixdfsi.c: Likewise.
7949 * soft-fp/fixdfti.c: Likewise.
7950 * soft-fp/fixsfdi.c: Likewise.
7951 * soft-fp/fixsfsi.c: Likewise.
7952 * soft-fp/fixsfti.c: Likewise.
7953 * soft-fp/fixtfdi.c: Likewise.
7954 * soft-fp/fixtfsi.c: Likewise.
7955 * soft-fp/fixtfti.c: Likewise.
7956 * soft-fp/fixunsdfdi.c: Likewise.
7957 * soft-fp/fixunsdfsi.c: Likewise.
7958 * soft-fp/fixunsdfti.c: Likewise.
7959 * soft-fp/fixunssfdi.c: Likewise.
7960 * soft-fp/fixunssfsi.c: Likewise.
7961 * soft-fp/fixunssfti.c: Likewise.
7962 * soft-fp/fixunstfdi.c: Likewise.
7963 * soft-fp/fixunstfsi.c: Likewise.
7964 * soft-fp/fixunstfti.c: Likewise.
7965 * soft-fp/floatdidf.c: Likewise.
7966 * soft-fp/floatdisf.c: Likewise.
7967 * soft-fp/floatditf.c: Likewise.
7968 * soft-fp/floatsidf.c: Likewise.
7969 * soft-fp/floatsisf.c: Likewise.
7970 * soft-fp/floatsitf.c: Likewise.
7971 * soft-fp/floattidf.c: Likewise.
7972 * soft-fp/floattisf.c: Likewise.
7973 * soft-fp/floattitf.c: Likewise.
7974 * soft-fp/floatundidf.c: Likewise.
7975 * soft-fp/floatundisf.c: Likewise.
7976 * soft-fp/floatunditf.c: Likewise.
7977 * soft-fp/floatunsidf.c: Likewise.
7978 * soft-fp/floatunsisf.c: Likewise.
7979 * soft-fp/floatunsitf.c: Likewise.
7980 * soft-fp/floatuntidf.c: Likewise.
7981 * soft-fp/floatuntisf.c: Likewise.
7982 * soft-fp/floatuntitf.c: Likewise.
7983 * soft-fp/gedf2.c: Likewise.
7984 * soft-fp/gesf2.c: Likewise.
7985 * soft-fp/getf2.c: Likewise.
7986 * soft-fp/ledf2.c: Likewise.
7987 * soft-fp/lesf2.c: Likewise.
7988 * soft-fp/letf2.c: Likewise.
7989 * soft-fp/muldf3.c: Likewise.
7990 * soft-fp/mulsf3.c: Likewise.
7991 * soft-fp/multf3.c: Likewise.
7992 * soft-fp/negdf2.c: Likewise.
7993 * soft-fp/negsf2.c: Likewise.
7994 * soft-fp/negtf2.c: Likewise.
7995 * soft-fp/op-1.h: Likewise.
7996 * soft-fp/op-2.h: Likewise.
7997 * soft-fp/op-4.h: Likewise.
7998 * soft-fp/op-8.h: Likewise.
7999 * soft-fp/op-common.h: Likewise.
8000 * soft-fp/quad.h: Likewise.
8001 * soft-fp/single.h: Likewise.
8002 * soft-fp/soft-fp.h: Likewise.
8003 * soft-fp/subdf3.c: Likewise.
8004 * soft-fp/subsf3.c: Likewise.
8005 * soft-fp/subtf3.c: Likewise.
8006 * soft-fp/truncdfsf2.c: Likewise.
8007 * soft-fp/trunctfdf2.c: Likewise.
8008 * soft-fp/trunctfsf2.c: Likewise.
8009 * soft-fp/trunctfxf2.c: Likewise.
8010 * soft-fp/unorddf2.c: Likewise.
8011 * soft-fp/unordsf2.c: Likewise.
8012 * soft-fp/unordtf2.c: Likewise.
8014 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
8016 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
8017 (_FP_MUL_MEAT_D): Ditto.
8018 (_FP_DIV_MEAT_S): Ditto.
8019 (_FP_DIV_MEAT_D): Ditto.
8020 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
8021 t-softfp-sfdf and t-softfp to tmake_file.
8023 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
8025 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
8026 * config/i386/crtprec.c: Ditto.
8028 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
8029 Shiva Chen <shiva0217@gmail.com>
8031 * config.host (nds32*-elf*): Add nds32 target.
8032 * config/nds32 : New directory and files.
8034 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
8036 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
8037 * config.host (cpu_type) <Setting default>: Add entry for
8039 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
8040 <crisv32-*-linux*>: Adjust.
8041 * longlong.h: Wrap the whole CRIS section in a single
8042 defined(__CRIS__) conditional. Add comment about add_ssaaaa
8044 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
8046 [__CRIS__] (__umulsidi3): Define.
8047 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
8048 * config/cris/sfp-machine.h: New file.
8049 * config/cris/umulsidi3.S: New file.
8050 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
8051 * config/cris/arit.c (SIGNMULT): New macro.
8052 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
8053 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
8054 saving 3 out of originally 33 cycles from the fastest
8055 path, 3 out of 54 from the medium path and one from the longest
8056 path. Improve comments.
8058 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
8060 * sync.c: Remove static aliases and define each function directly
8061 under its real name.
8063 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
8065 * config.host (hppa*64*-*-linux*): Define extra_parts.
8066 (hppa*-*-linux*): Likewise.
8068 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
8070 * config/arc/crtgend.S: Add 2013 to Copyright years.
8071 * config/arc/gmon/atomic.h: Likewise.
8072 * config/arc/gmon/auxreg.h: Likewise.
8073 * config/arc/gmon/sys/gmon_out.h: Likewise.
8074 * config/arc/gmon/sys/gmon.h: Likewise.
8075 * config/arc/gmon/prof-freq.c: Likewise.
8076 * config/arc/gmon/mcount.c: Likewise.
8077 * config/arc/gmon/prof-freq-stub.S: Likewise.
8078 * config/arc/gmon/gmon.c: Likewise.
8079 * config/arc/gmon/machine-gmon.h: Likewise.
8080 * config/arc/gmon/profil.S: Likewise.
8081 * config/arc/gmon/dcache_linesz.S: Likewise.
8082 * config/arc/crtg.S: Likewise.
8083 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
8084 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
8085 * config/arc/ieee-754/adddf3.S: Likewise.
8086 * config/arc/ieee-754/truncdfsf2.S: Likewise.
8087 * config/arc/ieee-754/fixsfsi.S: Likewise.
8088 * config/arc/ieee-754/gtsf2.S: Likewise.
8089 * config/arc/ieee-754/floatsisf.S: Likewise.
8090 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
8091 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
8092 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
8093 * config/arc/ieee-754/fixdfsi.S: Likewise.
8094 * config/arc/ieee-754/addsf3.S: Likewise.
8095 * config/arc/ieee-754/gesf2.S: Likewise.
8096 * config/arc/ieee-754/floatsidf.S: Likewise.
8097 * config/arc/ieee-754/extendsfdf2.S: Likewise.
8098 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
8099 * config/arc/ieee-754/gtdf2.S: Likewise.
8100 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
8101 * config/arc/ieee-754/uneqdf2.S: Likewise.
8102 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
8103 * config/arc/ieee-754/uneqsf2.S: Likewise.
8104 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
8105 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
8106 * config/arc/ieee-754/eqdf2.S: Likewise.
8107 * config/arc/ieee-754/ordsf2.S: Likewise.
8108 * config/arc/ieee-754/divsf3.S: Likewise.
8109 * config/arc/ieee-754/divdf3.S: Likewise.
8110 * config/arc/ieee-754/floatunsidf.S: Likewise.
8111 * config/arc/ieee-754/orddf2.S: Likewise.
8112 * config/arc/ieee-754/eqsf2.S: Likewise.
8113 * config/arc/ieee-754/gedf2.S: Likewise.
8114 * config/arc/crtn.S: Likewise.
8115 * config/arc/crti.S: Likewise.
8116 * config/arc/t-arc700-uClibc: Likewise.
8117 * config/arc/asm.h: Likewise.
8118 * config/arc/libgcc-excl.ver: Likewise.
8119 * config/arc/t-arc-newlib: Likewise.
8120 * config/arc/divtab-arc700.c: Likewise.
8121 * config/arc/initfini.c: Likewise.
8122 * config/arc/fp-hack.h: Likewise.
8124 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
8125 Diego Novillo <dnovillo@google.com>
8127 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
8128 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
8129 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
8130 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
8132 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
8133 Brendan Kehoe <brendan@zen.org>
8134 Simon Cook <simon.cook@embecosm.com>
8136 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
8137 * config/arc: New directory.
8138 * longlong.h [__arc__] (umul_ppmm): Remove.
8139 [__arc__] (__umulsidi3): Define.
8140 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
8141 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
8143 2013-09-17 Jacek Caban <jacek@codeweavers.com>
8145 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
8147 * config/i386/gthr-win32.h: Likewise.
8149 2013-09-16 DJ Delorie <dj@redhat.com>
8151 * config/rl78/vregs.h: Add G10 register definitions.
8152 * config/rl78/lib2mul.c: Enable for RL78/G10.
8153 * config/rl78/lib2div.c: Likewise.
8154 * config/rl78/lshrsi3.S: Use vregs.h.
8155 * config/rl78/cmpsi2.S: Likewise.
8156 * config/rl78/trampoline.S: Likewise.
8157 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
8159 2013-09-14 DJ Delorie <dj@redhat.com>
8160 Nick Clifton <nickc@redhat.com>
8162 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
8163 * config/rl78/vregs.h: New.
8164 * config/rl78/signbit.S: New file. Implements signbit function.
8165 * config/rl78/divmodsi.S: New.
8166 * config/rl78/divmodhi.S: New.
8167 * config/rl78/divmodqi.S: New.
8168 * config/rl78/t-rl78: Build them here...
8169 * config/rl78/lib2div.c: ...but not here.
8171 2013-09-12 DJ Delorie <dj@redhat.com>
8173 * config.host (msp*-*-elf): New.
8174 * config/msp430/: New port.
8176 2013-08-18 Iain Sandoe <iain@codesourcery.com>
8178 PR gcov-profile/58127
8179 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
8180 __thread var for emulated TLS.
8181 (__gcov_indirect_call_counters): Likewise.
8183 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
8184 Catherine Moore <clm@codesourcery.com>
8185 Richard Sandiford <rdsandiford@googlemail.com>
8187 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
8188 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
8189 (CALL_STUB_NO_RET): Likewise.
8190 (CALL_STUB_RET): Likewise.
8191 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
8192 __mips16_ret call/return stub symbols.
8193 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
8196 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
8198 * config.host <mips*-*-linux*>: Remove a stray comment.
8200 2013-08-10 Jan Hubicka <jh@suse.cz>
8202 Work around binutils PR14342
8203 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
8204 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
8205 (L_gcov_indirect_call_profiler_v2): New.
8207 2013-08-06 Jan Hubicka <jh@suse.cz>
8209 * libgcov.c (__gcov_indirect_call_callee,
8210 __gcov_indirect_call_counters): New global vars.
8211 (__gcov_indirect_call_profiler): replace by ...
8212 (__gcov_indirect_call_profiler_v2) ... this one.
8214 2013-08-06 Caroline Tice <cmtice@google.com>
8216 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
8217 vtv_start_preinit.o and vtv_end_preinit.o.
8218 * configure.ac: Add code to check/set enable_vtable_verify.
8219 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
8221 * vtv_start_preinit.c: New file.
8222 * vtv_end_preinit.c: New file.
8223 * vtv_start.c: New file.
8224 * vtv_end.c: New file.
8225 * configure: Regenerated.
8227 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
8229 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
8230 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
8231 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
8232 GPL-3.0-with-GCC-exception.
8234 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
8236 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
8239 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8241 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
8242 mapping for FPRs when creating the fallback framestate.
8244 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
8247 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
8248 (__round_s2_const, __round_u2_const)
8249 (__round_s4_const, __round_u4_const, __round_x8):
8250 Saturate result if addition result cannot be represented.
8252 2013-07-15 Matthias Klose <doko@ubuntu.com>
8254 * libgcc2.c: Don't include <limits.h>.
8256 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
8258 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
8260 2013-07-06 Jakub Jelinek <jakub@redhat.com>
8263 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
8265 2013-06-28 Jakub Jelinek <jakub@redhat.com>
8268 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
8270 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
8271 instead of table lookups.
8272 (__popcountDI2): Likewise.
8274 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
8276 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
8279 2013-06-21 Joseph Myers <joseph@codesourcery.com>
8282 * soft-fp/adddf3.c: Update from glibc.
8283 * soft-fp/addsf3.c: Likewise.
8284 * soft-fp/addtf3.c: Likewise.
8285 * soft-fp/divdf3.c: Likewise.
8286 * soft-fp/divsf3.c: Likewise.
8287 * soft-fp/divtf3.c: Likewise.
8288 * soft-fp/double.h: Likewise.
8289 * soft-fp/eqdf2.c: Likewise.
8290 * soft-fp/eqsf2.c: Likewise.
8291 * soft-fp/eqtf2.c: Likewise.
8292 * soft-fp/extenddftf2.c: Likewise.
8293 * soft-fp/extended.h: Likewise.
8294 * soft-fp/extendsfdf2.c: Likewise.
8295 * soft-fp/extendsftf2.c: Likewise.
8296 * soft-fp/fixdfdi.c: Likewise.
8297 * soft-fp/fixdfsi.c: Likewise.
8298 * soft-fp/fixsfdi.c: Likewise.
8299 * soft-fp/fixsfsi.c: Likewise.
8300 * soft-fp/fixtfdi.c: Likewise.
8301 * soft-fp/fixtfsi.c: Likewise.
8302 * soft-fp/fixunsdfdi.c: Likewise.
8303 * soft-fp/fixunsdfsi.c: Likewise.
8304 * soft-fp/fixunssfdi.c: Likewise.
8305 * soft-fp/fixunssfsi.c: Likewise.
8306 * soft-fp/fixunstfdi.c: Likewise.
8307 * soft-fp/fixunstfsi.c: Likewise.
8308 * soft-fp/floatdidf.c: Likewise.
8309 * soft-fp/floatdisf.c: Likewise.
8310 * soft-fp/floatditf.c: Likewise.
8311 * soft-fp/floatsidf.c: Likewise.
8312 * soft-fp/floatsisf.c: Likewise.
8313 * soft-fp/floatsitf.c: Likewise.
8314 * soft-fp/floatundidf.c: Likewise.
8315 * soft-fp/floatundisf.c: Likewise.
8316 * soft-fp/floatunditf.c: Likewise.
8317 * soft-fp/floatunsidf.c: Likewise.
8318 * soft-fp/floatunsisf.c: Likewise.
8319 * soft-fp/floatunsitf.c: Likewise.
8320 * soft-fp/gedf2.c: Likewise.
8321 * soft-fp/gesf2.c: Likewise.
8322 * soft-fp/getf2.c: Likewise.
8323 * soft-fp/ledf2.c: Likewise.
8324 * soft-fp/lesf2.c: Likewise.
8325 * soft-fp/letf2.c: Likewise.
8326 * soft-fp/muldf3.c: Likewise.
8327 * soft-fp/mulsf3.c: Likewise.
8328 * soft-fp/multf3.c: Likewise.
8329 * soft-fp/negdf2.c: Likewise.
8330 * soft-fp/negsf2.c: Likewise.
8331 * soft-fp/negtf2.c: Likewise.
8332 * soft-fp/op-1.h: Likewise.
8333 * soft-fp/op-2.h: Likewise.
8334 * soft-fp/op-4.h: Likewise.
8335 * soft-fp/op-8.h: Likewise.
8336 * soft-fp/op-common.h: Likewise.
8337 * soft-fp/quad.h: Likewise.
8338 * soft-fp/single.h: Likewise.
8339 * soft-fp/soft-fp.h: Likewise.
8340 * soft-fp/subdf3.c: Likewise.
8341 * soft-fp/subsf3.c: Likewise.
8342 * soft-fp/subtf3.c: Likewise.
8343 * soft-fp/truncdfsf2.c: Likewise.
8344 * soft-fp/trunctfdf2.c: Likewise.
8345 * soft-fp/trunctfsf2.c: Likewise.
8346 * soft-fp/unorddf2.c: Likewise.
8347 * soft-fp/unordsf2.c: Likewise.
8348 * soft-fp/unordtf2.c: Likewise.
8349 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
8350 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8351 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8352 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8353 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8354 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8355 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8356 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8357 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8358 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
8359 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
8360 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8362 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
8364 * config/mips/lib2funcs.c: New file.
8365 * config/mips/t-mips (LIB2ADD_ST): Add it.
8367 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
8370 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
8371 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
8373 2013-06-08 Walter Lee <walt@tilera.com>
8375 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
8376 Replace int64_t with long long. Add __extension__ where
8378 * config/tilepro/atomic.c: Include config.h.
8380 2013-06-06 Douglas B Rupp <rupp@adacore.com>
8382 * config.host (arm-wrs-vxworks): Configure with other soft float.
8384 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
8386 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
8387 (mips64r5900el-*-elf*): New configurations.
8389 2013-06-04 Alan Modra <amodra@gmail.com>
8391 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
8393 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
8395 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
8397 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
8399 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
8400 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
8401 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
8403 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8405 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
8406 (powerpc-wrs-vxworks): Likewise.
8408 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8410 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
8411 signal frames as well.
8412 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
8413 STACK_BIAS to the CFA offset.
8415 2013-05-17 Richard Henderson <rth@redhat.com>
8418 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
8419 (execute_cfa_program): Use it when storing to fs->regs.
8421 2013-05-08 Kai Tietz <ktietz@redhat.com>
8423 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
8424 (__deregister_frame_info): Likewise.
8426 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
8428 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
8431 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
8433 2013-04-25 Alan Modra <amodra@gmail.com>
8435 * config.host: Match little-endian powerpc-linux.
8437 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
8439 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
8440 as 'unsigned long long' instead of 'unsigned long'.
8441 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
8444 2013-04-10 Julian Brown <julian@codesourcery.com>
8446 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
8447 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
8448 unsigned char/unsigned short.
8449 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
8451 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8454 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
8456 2013-04-04 Meador Inge <meadori@codesourcery.com>
8458 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
8459 computing the location of the link register.
8460 (aeabi_uldivmod): Ditto.
8462 2013-03-27 Kai Tietz <ktietz@redhat.com>
8464 * config.host: Add support for cygwin x64 target.
8465 * configure: Regenerated.
8467 2013-03-26 Walter Lee <walt@tilera.com>
8469 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
8470 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
8472 2013-03-25 Kai Tietz <ktietz@redhat.com>
8474 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
8476 2013-03-20 Robert Mason <rbmj@verizon.net>
8478 * config/vxlib-tls.c (__gthread_get_tsd_data,)
8479 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
8480 (__gthread_leave_tsd_dtor_context): Add prototypes.
8481 (tls_delete_hook): Update.
8483 2013-03-20 Catherine Moore <clm@codesourcery.com>
8484 Joseph Myers <joseph@codesourcery.com>
8485 Chao-ying Fu <fu@mips.com>
8487 * config/mips/mips16.S: Don't build for microMIPS.
8488 * config/mips/linux-unwind.h: Handle microMIPS frame.
8489 * config/mips/crtn.S (fini, init): New labels.
8491 2013-03-14 Jakub Jelinek <jakub@redhat.com>
8493 PR tree-optimization/53265
8494 * unwind-dw2.c (execute_cfa_program): Avoid
8495 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
8496 on targets with DWARF_FRAME_REGISTERS < 32.
8498 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
8501 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
8502 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
8504 2013-03-07 Sriraman Tallam <tmsriram@google.com>
8506 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
8507 sandybridge processors.
8509 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
8512 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
8515 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
8517 * config/microblaze/crti.S: Setup stack protection at entry
8519 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
8521 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
8522 (__rotldi3): Shift bytewise if applicable.
8524 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
8526 * config/aarch64/sync-cache.c
8527 (__aarch64_sync_cache_range): Silence warnings.
8529 2013-02-25 Catherine Moore <clm@codesourcery.com>
8532 2013-02-24 Catherine Moore <clm@codesourcery.com>
8533 Joseph Myers <joseph@codesourcery.com>
8534 Chao-ying Fu <fu@mips.com>
8536 * config/mips/mips16.S: Don't build for microMIPS.
8537 * config/mips/linux-unwind.h: Handle microMIPS frame.
8538 * config/mips/crtn.S (fini, init): New labels.
8540 2013-02-24 Catherine Moore <clm@codesourcery.com>
8541 Joseph Myers <joseph@codesourcery.com>
8542 Chao-ying Fu <fu@mips.com>
8544 * config/mips/mips16.S: Don't build for microMIPS.
8545 * config/mips/linux-unwind.h: Handle microMIPS frame.
8546 * config/mips/crtn.S (fini, init): New labels.
8548 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
8549 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
8552 2013-02-16 Alan Modra <amodra@gmail.com>
8555 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
8556 (ppc_fallback_frame_state): Always set up save locations for fp
8557 and altivec. Don't bother with non-callee-saved regs, r0-r13
8558 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
8560 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
8563 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
8565 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
8566 _ssmulha3, _usmulusa3, _ssmulsa3.
8567 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
8568 (__muldi3): XCALL __muldi3_6 instead of rcall.
8569 (__umulsidi3, __mulsidi3): New functions.
8570 (do_prologue_saves, do_epilogue_restores): New .macros.
8571 (__divdi3_moddi3): Use them.
8572 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
8573 (__usmulusa3, __ssmulsa3): New functions.
8575 2013-02-11 Iain Sandoe <iain@codesourcery.com>
8576 Jack Howarth <howarth@bromo.med.uc.edu>
8577 Patrick Marlier <patrick.marlier@gmail.com>
8580 * config/darwin-crt-tm.c: Remove dummy functions hack.
8582 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
8585 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
8586 * config/avr/lib2-object.mk: New iterator to build objects from it.
8587 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
8589 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
8590 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
8591 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
8592 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
8593 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
8594 * config/avr/lib1funcs-fixed.S: Implement them.
8596 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
8598 Update copyright years.
8600 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
8603 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
8604 Add crtcxa to extra_parts.
8605 * config/rs6000/exit.h: New file.
8606 * config/rs6000/cxa_atexit.c: New file.
8607 * config/rs6000/cxa_finalize.c: New file.
8608 * config/rs6000/crtcxa.c: New file.
8609 * config/rs6000/t-aix-cxa: New file.
8610 * config/rs6000/libgcc-aix-cxa.ver: New file.
8612 2013-01-31 Nick Clifton <nickc@redhat.com>
8614 * config/v850/lib1funcs.S: Add support for e3v5 architecture
8617 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
8620 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
8621 _mulQQ, _mulHQ, _mulHA, _mulSA,
8622 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
8623 _divQQ, _divHQ, _divHA, _divSA,
8624 _divUQQ, _divUHQ, _divUHA, _divUSA.
8626 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
8628 * config.host(microblaze*-linux*): tmake_file: Remove
8629 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
8630 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
8631 to exclude functions from being built with libgcc.c and use
8632 the microblaze assembly.
8634 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
8636 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
8639 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
8641 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
8642 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
8643 __UINTPTR_TYPE__; also cast 'base' to the same type before the
8644 alignment operation.
8646 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
8648 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
8649 loop start address for cache clearing.
8651 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
8653 * config/avr/lib1funcs.S: Remove trailing blanks.
8654 * config/avr/lib1funcs-fixed.S: Ditto.
8656 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
8658 * config/avr/avr-lib.h: Add GPL copyright notice.
8660 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
8662 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
8663 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
8664 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
8665 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
8667 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
8669 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
8670 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
8672 2013-01-04 Nick Clifton <nickc@redhat.com>
8674 * config/v850/lib1funcs.S: Only provide CALLT support functions if
8675 the CALLT instruction is supported.
8677 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
8679 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
8680 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
8682 2012-12-13 John Tytgat <John@bass-software.com>
8684 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
8687 2012-12-12 Jakub Jelinek <jakub@redhat.com>
8690 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
8691 undefined signed overflows.
8693 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
8696 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
8698 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
8700 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
8701 (FP_TRAPPING_EXCEPTIONS): Define.
8702 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
8703 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
8705 2012-12-04 Richard Henderson <rth@redhat.com>
8708 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
8710 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
8712 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
8713 (FP_EX_SHIFT): Define.
8714 (FP_TRAPPING_EXCEPTIONS): Define.
8716 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
8718 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
8719 (FP_ROUNDMODE): Use FP_RND_MASK.
8720 * config/aarch64/sfp-exceptions.c: New.
8721 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8722 Use __sfp_handle_exceptions.
8724 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
8726 * config.host: (arm*-*-freebsd*): Remove.
8727 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
8728 (arm*-*-elf*): Remove.
8729 (arm*-*-wince-pe*): Remove.
8730 * arm/unwind-arm.c (struct fpa_reg): Delete.
8731 (struct fpa_regs): Delete.
8732 (phase1_vrs): Remove fpa element.
8733 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
8734 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
8735 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
8736 * ieee754-sf.S (floatundisf): Remove FPA support.
8737 (floatdisf): Likewise.
8738 * ieee75f-df.S (floatundidf): Likewise.
8739 (floatdidf): Likewise.
8741 2012-11-29 Kai Tietz <ktietz@redhat.com>
8744 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
8745 * unwind-generic.h: Likewise.
8746 * unwind-seh.c: Likewise.
8748 2012-11-28 Richard Henderson <rth@redhat.com>
8751 * emutls.c (__emutls_get_address): Avoid race condition between
8752 obj->loc.offset read and emutls_key initialization.
8754 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
8756 Adjust decimal point of signed accum mode to GCC default.
8759 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
8761 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
8762 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
8763 (__mulha3, __mulsa3)
8764 (__divqq3, __divha3, __divsa3): Adjust to new position of
8765 decimal point of signed accum types.
8767 (__mulusa3_round): New function.
8768 (__mulusa3): Use it.
8769 (__divqq_helper): New function.
8770 (__udivuqq3): Use it.
8772 2012-11-20 Jakub Jelinek <jakub@redhat.com>
8775 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
8777 2012-11-18 Teresa Johnson <tejohnson@google.com>
8780 * libgcov.c (gcov_exit): Remove merged program summary
8781 comparison unless !GCOV_LOCKED.
8783 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
8785 * soft-fp: Updated from glibc upstream.
8787 2012-11-06 Ian Lance Taylor <iant@google.com>
8789 * generic-morestack.c (__generic_morestack): Align the returned
8790 stack pointer to a 32 byte boundary.
8791 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
8792 increment the return address until we have decided that we don't
8793 have a varargs function.
8794 (__morestack) [32-bit]: Align stack correctly when calling C
8796 (__morestack) [64-bit]: Likewise.
8798 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8800 * configure: Regenerate.
8802 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
8805 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
8806 * config/i386/sfp-machine.h: Guard exception handling
8807 code with _SOFT_FLOAT.
8808 * config/i386/32/sfp-machine.h: Guard rounding handling
8809 code with _SOFT_FLOAT.
8810 * config/i386/64/sfp-machine.h: Ditto.
8812 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
8814 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
8817 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
8819 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
8820 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
8821 when appropriate. Correct structure element types.
8822 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
8823 -minline-all-stringops from compile flags.
8825 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
8827 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
8829 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
8831 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
8833 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
8835 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
8838 2012-10-23 Ian Bolton <ian.bolton@arm.com>
8839 Jim MacArthur <jim.macarthur@arm.com>
8840 Marcus Shawcroft <marcus.shawcroft@arm.com>
8841 Nigel Stephens <nigel.stephens@arm.com>
8842 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
8843 Richard Earnshaw <rearnsha@arm.com>
8844 Sofiane Naci <sofiane.naci@arm.com>
8845 Stephen Thomas <stephen.thomas@arm.com>
8846 Tejas Belagod <tejas.belagod@arm.com>
8847 Yufeng Zhang <yufeng.zhang@arm.com>
8849 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
8850 * config/aarch64/crti.S: New file.
8851 * config/aarch64/crtn.S: New file.
8852 * config/aarch64/linux-unwind.h: New file.
8853 * config/aarch64/sfp-machine.h: New file.
8854 * config/aarch64/sync-cache.c: New file.
8855 * config/aarch64/t-aarch64: New file.
8856 * config/aarch64/t-softfp: New file.
8858 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
8860 * config/mmix/crti.S: Mark program and data addresses using PRELD.
8861 Remove typo'd and unnecessary alignment-LOC for .data. Remove
8862 no-longer-needed LDBU insns.
8864 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
8867 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
8868 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
8870 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8872 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
8874 2012-10-15 Matthias Klose <doko@ubuntu.com>
8876 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
8878 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
8880 * configure: Regenerate.
8881 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
8883 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
8885 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8886 instructions for 64bit targets only.
8888 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
8890 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8891 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
8892 * config/i386/32/sfp-machine.h: ... here.
8893 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
8894 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
8897 2012-10-07 Matthias Klose <doko@ubuntu.com>
8899 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
8901 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
8903 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
8905 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
8906 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
8907 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
8910 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
8913 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8914 Fix parameter names.
8916 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
8919 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
8920 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
8921 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
8923 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
8926 * config/sh/linux-atomic.S: Delete.
8927 * config/sh/linux-atomic.c: New.
8928 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
8929 linux-atomic.c. Add cflags to disable warnings.
8931 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8934 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
8936 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
8937 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
8938 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
8939 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
8940 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
8942 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8944 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
8946 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
8947 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
8949 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
8951 * config.host (hppa-*-openbsd*): New target.
8952 * config/pa/t-openbsd: New file.
8954 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
8957 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
8958 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
8959 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
8960 (__divsa3): Use __negsi2 to negate r_quoL.
8961 * config/avr/lib1funcs.S (FALIAS): New macro.
8962 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
8963 (__negsi2): ...this new function.
8964 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
8965 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
8966 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
8967 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
8968 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
8969 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
8971 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
8974 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
8975 (lshrsi3): Reimplement as lshrsi3_r0.
8977 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
8980 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
8983 2012-09-07 Teresa Johnson <tejohnson@google.com>
8985 PR gcov-profile/54487
8986 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
8989 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
8992 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
8993 not configured --with-avrlibc=no.
8994 * config/avr/t-avrlibc: New file.
8995 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
8996 (DPBIT_FUNCS): Ditto.
8997 (TPBIT_FUNCS): Ditto.
8999 2012-09-04 Teresa Johnson <tejohnson@google.com>
9001 * libgcov.c (struct gcov_summary_buffer): New structure.
9002 (gcov_histogram_insert): New function.
9003 (gcov_compute_histogram): Ditto.
9004 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
9005 histograms during summary merging.
9007 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
9009 * config.host (x86_64-*-openbsd*): New target.
9011 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
9013 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
9016 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
9019 * config/avr/t-avr (conv_X): Rename to func_X.
9021 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
9024 * config/avr/lib1funcs-fixed.S: New file.
9025 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
9026 after they are used.
9027 (neg2, neg4): New macros.
9028 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
9029 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
9030 (__umulhisi3): Speed up MUL variant if there is enough flash.
9031 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
9033 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
9034 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
9035 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
9036 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
9037 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
9038 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
9039 (LIB2FUNCS_EXCLUDE): Add supported functions.
9041 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
9043 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
9044 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
9046 * fixed-obj.mk: Only expand dependency if $o is not in
9049 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
9051 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
9053 2012-08-22 Joseph Myers <joseph@codesourcery.com>
9055 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
9056 depend on --enable-shared.
9057 ($(lib1asmfuncs-o)): Use %.vis files independent of
9059 * static-object.mk ($(base)$(objext), $(base).vis)
9060 ($(base)_s$(objext)): Use same rules for visibility handling as in
9063 2012-08-21 Ian Lance Taylor <iant@google.com>
9065 * config/i386/morestack.S (__morestack_non_split): Increase amount
9066 of space allocated for non-split code stack.
9068 2012-08-19 Joseph Myers <joseph@codesourcery.com>
9070 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
9071 even if inhibit_libc.
9073 2012-08-17 Julian Brown <julian@codesourcery.com>
9075 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
9076 -fexceptions -fnon-call-exceptions if not defined.
9077 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
9078 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
9080 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
9082 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
9085 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
9087 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
9088 rs6000/t-slibgcc-aix.
9090 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
9092 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
9094 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
9096 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
9098 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
9101 * Makefile.in (version): Replace top_srcdir with srcdir.
9103 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
9105 * Makefile.in (version): set to BASE-VER file from gcc directory.
9107 2012-08-01 Nick Clifton <nickc@redhat.com>
9109 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
9110 Implements __clrsb for an HImode argument.
9112 2012-07-31 Nick Clifton <nickc@redhat.com>
9114 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
9115 Implements __clrsb for an HImode argument.
9116 * config/stormy16/clrsbhi2.c: New file:
9117 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
9119 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
9121 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
9123 2012-07-19 Tristan Gingold <gingold@adacore.com>
9124 Richard Henderson <rth@redhat.com>
9126 * unwind-seh.c: New file.
9127 * unwind-generic.h: Include windows.h for SEH.
9128 (_Unwind_Exception): Use 6 private fields for SEH.
9129 (_GCC_specific_handler): Declare.
9130 * unwind-c.c (__gcc_personality_seh0): New function.
9132 * config/i386/libgcc-cygming.ver: New file.
9133 * config/i386/t-seh-eh: New file.
9134 * config.host (x86_64-*-mingw*): Default to seh.
9136 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
9138 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
9140 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
9142 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
9143 __builtin_expect when checking for exceptions.
9144 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
9146 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
9148 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
9149 function declaration.
9150 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9152 * config/ia64/sfp-exceptions.c: New.
9153 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
9155 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
9157 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
9158 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
9159 * config/i386/64/sfp-machine: ... (delete here) ...
9160 * config/i386/sfp-machine.h: ... to here.
9161 (FP_EX_MASK): Remove.
9163 (FP_INIT_ROUNDMODE): Declare asm as volatile.
9165 2012-06-11 Sriraman Tallam <tmsriram@google.com>
9167 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
9168 * config/i386/libgcc-sol2.ver: Ditto.
9169 * config/i386/libgcc-glibc.ver: Ditto.
9171 2012-06-11 Roland McGrath <mcgrathr@google.com>
9173 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
9174 If __GLIBC__ is defined, refer to __pthread_key_create instead of
9177 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
9179 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
9180 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
9181 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
9182 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9183 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
9184 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
9185 * config/i386/64/sfp-machine: ... (delete here) ...
9186 * config/i386/sfp-machine.h: ... to here.
9188 (__sfp_handle_exceptions): New function declaration.
9189 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9190 * config/i386/sfp-exceptions.c: New.
9191 * config/i386/t-softfp: New.
9192 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
9193 i386/t-softfp to tmake_file.
9195 2012-06-03 David S. Miller <davem@davemloft.net>
9197 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
9200 2012-05-31 David S. Miller <davem@davemloft.net>
9202 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
9203 multiply and divide instructions on 32-bit when V9.
9204 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
9206 2012-05-29 Joseph Myers <joseph@codesourcery.com>
9208 * config/arm/ieee754-df.S: Fix typos.
9209 * config/arm/ieee754-sf.S: Fix typos.
9210 * config/c6x/libunwind.S: Fix typos.
9211 * config/epiphany/udivsi3-float.c: Fix typos.
9212 * config/microblaze/muldi3_hard.S: Fix typos.
9213 * config/picochip/adddi3.S: Fix typos.
9214 * config/picochip/ashlsi3.S: Fix typos.
9215 * config/picochip/ashrsi3.S: Fix typos.
9216 * config/picochip/clzsi2.S: Fix typos.
9217 * config/picochip/cmpsi2.S: Fix typos.
9218 * config/picochip/divmod15.S: Fix typos.
9219 * config/picochip/divmodhi4.S: Fix typos.
9220 * config/picochip/divmodsi4.S: Fix typos.
9221 * config/picochip/longjmp.S: Fix typos.
9222 * config/picochip/lshrsi3.S: Fix typos.
9223 * config/picochip/parityhi2.S: Fix typos.
9224 * config/picochip/popcounthi2.S: Fix typos.
9225 * config/picochip/setjmp.S: Fix typos.
9226 * config/picochip/subdi3.S: Fix typos.
9227 * config/picochip/ucmpsi2.S: Fix typos.
9228 * config/picochip/udivmodhi4.S: Fix typos.
9229 * config/picochip/udivmodsi4.S: Fix typos.
9230 * config/spu/divv2df3.c: Fix typos.
9231 * config/spu/mfc_multi_tag_release.c: Fix typos.
9232 * config/spu/mfc_tag_release.c: Fix typos.
9233 * configure.ac: Fix typos.
9234 * configure: Regenerate.
9236 2012-05-25 Ian Lance Taylor <iant@google.com>
9238 * config/i386/morestack.S (__morestack_non_split): Check whether
9239 caller is varargs and needs %bp to hold the stack frame on return.
9241 2012-05-25 Olivier Hainque <hainque@adacore.com>
9243 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
9244 sequence in the non pic case on VxWorks.
9246 2012-05-24 Olivier Hainque <hainque@adacore.com>
9248 * Makefile.in: Move dependency on install-unwind_h from
9249 "install-leaf" to "install".
9251 2012-05-24 Olivier Hainque <hainque@adacore.com>
9253 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
9254 Use a separate command for stamp removals.
9256 2012-05-21 Andrew Pinski <apinski@cavium.com>
9259 * configure.ac: Define the default includes to being none.
9260 * configure: Regenerate.
9262 2012-05-16 Olivier Hainque <hainque@adacore.com>
9264 * Makefile.in (install-unwind_h): Rename into ...
9265 (install-unwind_h-forbuild): New target.
9266 (all): Use it instead of the former install-unwind_h.
9267 (install-unwind_h): Reinstate, copy to user install destination
9268 for include files, not to the internal gcc object directory one.
9269 (install-leaf): Depend on it.
9271 2012-05-15 Olivier Hainque <hainque@adacore.com>
9273 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
9274 register numbers. LR_REGNO replaces R_LR.
9275 (ucontext_for): New, helper for ...
9276 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
9278 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
9280 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9282 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
9283 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
9284 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
9286 (i[34567]86-*-*, x86_64-*-*): ... here.
9288 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
9289 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
9291 * config/i386/i386-cpuinfo.c: Rename to ...
9292 * config/i386/cpuinfo.c: ... this.
9293 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
9295 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
9296 (libgcc_cv_init_priority): New test.
9297 * configure: Regenerate.
9298 * config.in: New file.
9299 * Makefile.in (clean): Rename config.h to auto-target.h.
9300 (config.h): Likewise.
9301 (stamp-h): Likewise.
9303 * config/i386/cpuinfo.c (auto-target.h): Include.
9304 (CONSTRUCTOR_PRIORITY): Define.
9305 (__cpu_indicator_init): Use it.
9307 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9309 * longlong.h: Use a URL instead of an FSF postal address.
9310 Replace spaces with tab.
9312 2012-05-08 Teresa Johnson <tejohnson@google.com>
9314 * libgcov.c (gcov_clear, __gcov_reset): New functions.
9315 (__gcov_dump): Ditto.
9316 (gcov_dump_complete): New global variable.
9317 (gcov_exit): Export hidden to enable use in L_gcov_dump.
9318 (__gcov_flush): Outline functionality now in gcov_clear.
9319 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
9321 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
9323 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
9324 (mips*-*-linux*): Include mips/t-tpbit when long double is
9327 2012-04-25 Sriraman Tallam <tmsriram@google.com>
9329 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
9330 (get_available_features): New argument. Check for AVX2.
9331 (__cpu_indicator_init): Modify call to get_available_features.
9333 2012-04-25 Alan Modra <amodra@gmail.com>
9335 * config/rs6000/crtsavevr.S: New file.
9336 * config/rs6000/crtrestvr.S: New file.
9337 * config/rs6000/t-savresfgpr: Build the above.
9338 * config/rs6000/t-netbsd: Likewise.
9340 2012-04-24 Sriraman Tallam <tmsriram@google.com>
9342 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
9344 2012-04-24 Sriraman Tallam <tmsriram@google.com>
9346 * libgcc/config/i386/i386-cpuinfo.c: New file.
9347 * libgcc/config/i386/t-cpuinfo: New file.
9348 * libgcc/config.host: Include t-cpuinfo.
9349 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
9351 2012-04-24 Chao-ying Fu <fu@mips.com>
9353 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
9355 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
9357 struct siginfo vs. siginfo_t
9359 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
9360 siginfo_t instead of struct siginfo.
9361 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
9362 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
9363 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
9364 (ia64_handle_unwabi): Likewise.
9365 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
9366 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
9367 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
9368 (sh_fallback_frame_state): Likewise.
9369 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
9370 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
9372 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
9374 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
9377 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
9379 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
9380 if it hasn't been previously saved.
9382 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
9384 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
9387 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
9390 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
9391 instead of __AVR_HAVE_8BIT_SP__.
9393 2012-03-26 Tristan Gingold <gingold@adacore.com>
9395 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
9396 (unw_table_entry): Use unw_word instead of unsigned long.
9397 (_Unwind_FindTableEntry): Likewise.
9398 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
9399 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
9400 (_Unwind_FindTableEntry): Likewise.
9401 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
9402 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
9403 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
9404 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
9405 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
9406 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
9407 (uw_init_context_1, uw_install_context): Likewise.
9408 (unw_word): Move to unwind-ia64.h
9410 2012-03-26 Tristan Gingold <gingold@adacore.com>
9412 * config/vms/vms-ucrt0.c: Update copyright years.
9414 (___gcc_main_flags): Declare.
9415 (__main): Check flags to remap argv and exit code.
9416 * config.host (*-*-*vms*): Adjust extra_parts.
9417 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
9420 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
9422 * arm/lib1funcs.asm (ctzsi2): New function.
9423 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
9424 * arm/t-linux (LIB1ASMFUNCS): Likewise.
9425 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
9426 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
9427 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
9428 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
9430 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
9432 * config.host: Add bits to support powerpc64-*-freebsd*.
9433 * config/rs6000/freebsd-unwind.h: New file.
9434 * config/rs6000/t-freebsd64: New file.
9436 2012-03-20 Richard Guenther <rguenther@suse.de>
9438 PR gcov-profile/52627
9439 * libgcov.c (init_mx): Fix mutex name.
9441 2012-03-16 Tristan Gingold <gingold@adacore.com>
9443 * config/ia64/vms-unwind.h: Remove ulong (and replace
9444 it by unw_reg where used). Define unw_reg with __int64.
9446 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9448 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
9450 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
9452 (sparc_is_sighandler): Likewise.
9454 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
9456 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
9459 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9461 * config/arm/crtn.S: Fix typo.
9463 2012-03-13 Richard Guenther <rguenther@suse.de>
9465 * libgcov.c: Remove stdio.h include and NULL un-define.
9467 2012-03-13 Richard Guenther <rguenther@suse.de>
9470 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
9472 2012-03-13 Richard Guenther <rguenther@suse.de>
9474 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
9476 2012-03-13 Richard Guenther <rguenther@suse.de>
9478 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
9479 and __gthread_mutex_init_function definitions.
9481 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9483 * config.host (mips*-*-openbsd*): Remove.
9485 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9487 * config.host: Remove alpha*-dec-osf5.1* handling.
9488 * config/alpha/gthr-posix.c: Remove.
9489 * config/alpha/libgcc-osf5.ver: Remove.
9490 * config/alpha/osf5-unwind.h: Remove.
9491 * config/alpha/t-osf-pthread: Remove.
9492 * config/alpha/t-slibgcc-osf: Remove.
9493 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
9494 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
9495 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
9496 * mkmap-flat.awk: Remove osf_export handling.
9498 2012-03-12 Richard Guenther <rguenther@suse.de>
9500 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
9501 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9502 (__gthread_mutex_init_function): New function.
9503 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9506 * libgcov.c: Include gthr.h.
9507 (__gcov_flush_mx): New global variable.
9508 (init_mx, init_mx_once): New functions.
9509 (__gcov_flush): Protect self with a mutex.
9510 (__gcov_fork): Re-initialize mutex after forking.
9511 * unwind-dw2-fde.c: Change condition under which to use
9512 __GTHREAD_MUTEX_INIT_FUNCTION.
9514 2012-03-12 Tristan Gingold <gingold@adacore.com>
9516 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
9517 * config/ia64/t-vms: Likewise.
9519 2012-03-11 Michael Hope <michael.hope@linaro.org>
9521 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
9524 2012-03-07 Walter Lee <walt@tilera.com>
9526 * config/tilepro/atomic.c: Rename "atomic_" prefix to
9528 (atomic_xor): Rename and move definition to
9529 config/tilepro/atomic.h.
9530 (atomic_nand): Ditto.
9531 * config/tilepro/atomic.h: Rename "atomic_" prefix to
9533 (arch_atomic_xor): Move from config/tilepro/atomic.c.
9534 (arch_atomic_nand): Ditto.
9536 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
9539 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
9541 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
9544 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
9547 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
9551 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
9552 if RAMPZ affects reading from RAM.
9553 (__tablejump_elpm__): Ditto.
9555 (__movmemx_hi): Ditto.
9556 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
9557 (__do_global_dtors): Ditto.
9558 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
9559 (__movmemx_hi): Ditto.
9561 2012-03-05 Richard Henderson <rth@redhat.com>
9563 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
9564 [ARM] (count_trailing_zeros): Use the builtin.
9566 2012-03-01 Kai Tietz <ktietz@redhat.com>
9568 * soft-fp: Imported from glibc upstream.
9570 2012-02-28 Kai Tietz <ktietz@redhat.com>
9572 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
9573 for mingw-targets as attribute gcc_struct.
9575 2012-02-28 Ian Lance Taylor <iant@google.com>
9577 * generic-morestack.c (__splitstack_releasecontext): Correct call
9578 to __morestack_release_segments.
9580 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9583 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
9584 for __linux__ when removing signals from __morestack_fullmask.
9586 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
9589 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
9591 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9593 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
9594 instead of HAVE_INITFINI_ARRAY.
9595 * config/ia64/crtend.S: Likewise.
9597 2012-02-20 Kai Tietz <ktietz@redhat.com>
9600 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
9602 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
9603 to w32-unwind.h header.
9605 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9607 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
9608 (mips*-*-linux*): Remove t-slibgcc-libgcc.
9609 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
9610 * config/mips/mips16.S (__mips16_rdhwr): Delete.
9612 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9614 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
9616 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9619 * config/darwin-crt-tm.c: Correct typo.
9621 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9622 Patrick Marlier <patrick.marlier@gmail.com>
9625 * config/darwin-crt-tm.c: Generate dummy functions.
9627 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9628 Patrick Marlier <patrick.marlier@gmail.com>
9631 * config/darwin-crt-tm.c (getTMCloneTable): New function.
9632 (__doTMRegistrations): Call it.
9633 (__doTMdeRegistrations): Likewise.
9635 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
9636 Anatoly Sokolov <aesok@post.ru>
9637 Eric Weddington <eric.weddington@atmel.com>
9640 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
9641 (__epilogue_restores__): Ditto.
9643 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
9647 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
9648 Solaris 11 and slightly reformat.
9649 (sparc_is_sighandler): Likewise.
9651 2012-02-14 Walter Lee <walt@tilera.com>
9653 * config.host: Handle tilegx and tilepro.
9654 * config/tilegx/sfp-machine.h: New file.
9655 * config/tilegx/sfp-machine32.h: New file.
9656 * config/tilegx/sfp-machine64.h: New file.
9657 * config/tilegx/t-crtstuff: New file.
9658 * config/tilegx/t-softfp: New file.
9659 * config/tilegx/t-tilegx: New file.
9660 * config/tilepro/atomic.c: New file.
9661 * config/tilepro/atomic.h: New file.
9662 * config/tilepro/linux-unwind.h: New file.
9663 * config/tilepro/sfp-machine.h: New file.
9664 * config/tilepro/softdivide.c: New file.
9665 * config/tilepro/softmpy.S: New file.
9666 * config/tilepro/t-crtstuff: New file.
9667 * config/tilepro/t-tilepro: New file.
9669 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
9673 * gthr-posix.h: Allow static initializer macros to be disabled.
9674 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
9676 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9678 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
9679 Add t-slibgcc-libgcc to tmake_file.
9680 * config/mips/libgcc-mips16.ver: Revert previous patch.
9681 * config/mips/mips16.S (__mips16_rdhwr): Hide.
9683 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
9684 Jayant R Sonar <jayant.sonar@kpitcummins.com>
9686 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
9687 * config/cr16/crti.S: New file.
9688 * config/cr16/crtlibid.S: New file.
9689 * config/cr16/crtn.S: New file.
9690 * config/cr16/lib1funcs.S: New file.
9691 * config/cr16/t-cr16: New file.
9692 * config/cr16/t-crtlibid: New file.
9693 * config/cr16/unwind-dw2.h: New file.
9694 * config/cr16/unwind-cr16.c: New file.
9695 * config/cr16/divmodhi3.c: New file.
9697 2012-01-25 Alan Modra <amodra@gmail.com>
9699 * config/rs6000/t-linux64: Delete. Move..
9700 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
9701 * config/rs6000/t-linux: ..and libgcc flags to here.
9703 2012-01-22 Douglas B Rupp <rupp@gnat.com>
9705 * config.host (i[34567]86-*-interix3*):
9706 Change triplet to i[34567]86-*-interix[3-9]*.
9707 * configure: Regenerate.
9709 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
9710 Richard Sandiford <rdsandiford@googlemail.com>
9712 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
9713 * config/mips/mips16.S (__mips16_rdhwr): New function.
9714 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
9716 2012-01-11 Nathan Sidwell <nathan@acm.org>
9718 * libgcov.c (__gcov_init): Ignore objects with no functions.
9720 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
9723 Extend __pgmx semantics to linearize memory.
9724 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
9725 * config/avr/lib1funcs.S (__xload_1): New function.
9726 (__movmemx_qi, __movmemx_hi): New functions.
9727 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
9730 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9732 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
9733 purported sigacthandler address isn't null before dereferencing it.
9734 (sparc_is_sighandler): Likewise.
9736 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9739 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
9740 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
9741 (sparc_is_sighandler): Likewise.
9742 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
9744 2012-01-06 Tristan Gingold <gingold@adacore.com>
9746 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
9747 compatibility thunks...
9748 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
9749 (crtbeginS.o, crtendS.o): ... and these to ...
9750 * config/ia64/t-ia64-elf: ... this new file.
9751 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
9752 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
9754 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9756 * configure: Regenerate.
9757 * config/s390/t-crtstuff: Remove -fPIC.
9759 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
9762 * enable-execute-stack-mprotect.c (getpagesize): Do not define
9765 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
9768 * config/avr/lib1funcs.S: Remove FIXME comments.
9769 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
9771 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
9773 Implement light-weight DImode support.
9774 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
9775 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
9776 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
9777 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
9779 2011-12-30 Nathan Sidwell <nathan@acm.org>
9781 * libgcov.c (gcov_crc32): Remove global var.
9782 (free_fn_data): New function.
9783 (buffer_fn_data): Pass in filename, more robust error recovery.
9784 (crc32_unsigned): New function.
9785 (gcov_exit): More robust detection of new program. More robust
9787 (__gcov_init): Do not update program's crc here.
9789 2011-12-21 Tristan Gingold <gingold@adacore.com>
9791 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
9793 2011-12-21 Ian Lance Taylor <iant@google.com>
9795 * config/i386/morestack.S: Simplify CFI opcodes throughout.
9797 2011-12-20 Ian Lance Taylor <iant@google.com>
9799 * config/i386/morestack.S (__morestack_non_split): If there is
9800 enough stack space already, don't split. Ask for more stack space
9803 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
9805 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
9807 (_Unwind_DebugHook): New function.
9808 (uw_restore_core_regs): New define.
9809 (unwind_phase2): Use uw_restore_core_regs instead of
9811 (unwind_phase2_forced): Likewise.
9812 (__gnu_Unwind_Resume): Likewise.
9814 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
9816 * config/alpha/linux-unwind.h: Update copyright years.
9817 (MD_FROB_UPDATE_CONTEXT): New define.
9818 (alpha_frob_update_context): New function.
9820 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
9822 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
9823 tmake_file rather replacing it.
9825 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
9827 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
9828 function is not used for PPC64.
9829 (save_world): Amend comments. Update the VRsave mask to reflect the
9831 (rest_world): Update comments, do not clobber r10, do not use r8.
9832 (eh_rest_world_r10): Amend comments, do not use r8.
9833 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
9834 no longer used, move restore of CR and target address to the end of
9837 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
9839 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
9840 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
9842 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
9845 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
9846 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
9848 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
9850 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
9852 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
9855 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
9856 * config/avr/lib1funcs.S (__muldi3): New function.
9858 2011-12-06 Andrew Pinski <apinski@cavium.com>
9860 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
9862 (__frame_dummy_init_array_entry): Likewise.
9864 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
9866 Forward-port from gcc-4_6-branch r181936 2011-12-02.
9870 * config/avr/lib1funcs.S (__prologue_saves__,
9871 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
9872 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
9874 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
9876 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
9878 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9881 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
9882 (_ITM_deregisterTMCloneTable): Likewise.
9883 (__register_frame_info): Fix unused warning.
9884 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
9885 pthread_default_stacksize_np): Likewise.
9886 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
9888 2011-11-29 DJ Delorie <dj@redhat.com>
9890 * config.host (rl78-*-elf): New case.
9891 * config/rl78: New directory for the Renesas RL78.
9893 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
9895 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
9898 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9901 * config/rs6000/t-savresfgpr: New file.
9902 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
9903 $(srcdir)/config/rs6000/eabi.S.
9904 * config/rs6000/t-ppccomm-ldbl: Remove.
9905 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
9907 (powerpc-*-eabispe*): Likewise.
9908 (powerpc-*-eabi*): Likewise.
9909 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9910 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
9911 to tmake_file, remove rs6000/t-ppccomm-ldbl.
9912 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
9914 (powerpc-*-eabisim*): Likewise.
9915 (powerpc-*-elf*): Likewise.
9916 (powerpc-*-eabialtivec*): Likewise.
9917 (powerpc-xilinx-eabi*): Likewise.
9918 (powerpc-*-rtems*): Likewise.
9919 (powerpcle-*-elf*): Likewise.
9920 (powerpcle-*-eabisim*): Likewise.
9921 (powerpcle-*-eabi*): Likewise.
9923 2011-11-27 Ian Lance Taylor <iant@google.com>
9925 * generic-morestack.c (__splitstack_find): Check for NULL old
9927 (__splitstack_resetcontext): New function.
9928 (__splitstack_releasecontext): New function.
9929 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9931 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9933 * config/darwin-crt-tm.c: Correct comments, use correct licence.
9935 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9937 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
9939 2011-11-26 Richard Henderson <rth@redhat.com>
9941 * config/m68k/linux-atomic.c: New file.
9942 * config/m68k/t-linux: New file.
9943 * config.host (m68k-uclinux, m68k-linux): Use it.
9945 2011-11-26 Richard Henderson <rth@redhat.com>
9947 * crtstuff.c (__TMC_LIST__): Mark used not unused.
9948 (__TMC_END__): Only declare if hidden is available; in the definition,
9949 if hidden is unavailable add a null record.
9950 (deregister_tm_clones, register_tm_clones): New.
9951 (__do_global_dtors_aux, frame_dummy): Use them.
9952 (__do_global_dtors, __do_global_ctors_1): Likewise.
9954 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
9956 * config/darwin-crt-tm.c: New file.
9957 * config.host (darwin): Build crttms.o crttme.o to provide
9958 startup and shutdown for tm clones.
9959 * config/t-darwin (crttms.o): New build rule.
9960 (crttme.o): Likewise.
9962 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
9964 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
9967 2011-11-21 Richard Henderson <rth@redhat.com>
9969 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
9970 (__TMC_LIST__, __TMC_END__): New.
9971 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
9972 (__do_global_dtors): Likewise.
9973 (frame_dummy): Call _ITM_registerTMCloneTable.
9974 (__do_global_ctors_1): Likewise.
9976 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9978 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
9979 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9980 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
9981 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
9982 * config/i386/t-darwin64: Remove.
9983 * config/sh/t-netbsd (LIB2ADD): Remove.
9985 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
9988 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
9989 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
9990 * config/avr/lib1funcs.S (wmov): New assembler macro.
9991 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
9992 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
9993 (__udivmod64): New function.
9994 (__negdi2): New function.
9996 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
9998 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
9999 *-*-freebsd*aout*): Remove.
10001 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
10003 * static-object.mk (c_flags-$o): Save c_flags.
10004 ($(base)$(objext)): Use it.
10006 2011-11-18 Steve Ellcey <sje@cup.hp.com>
10008 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
10010 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
10013 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
10014 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
10017 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
10019 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
10021 (aeabi_uidivmod): Likewise.
10022 (umodsi3): Likewise.
10023 (divsi3): Likewise.
10024 (aeabi_idivmod): Likewise.
10025 (modsi3): Likewise.
10027 2011-11-16 Tristan Gingold <gingold@adacore.com>
10029 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
10031 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
10034 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
10035 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
10037 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10039 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
10041 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
10042 * config/pa/t-stublib64: Delete.
10044 2011-11-12 Richard Henderson <rth@redhat.com>
10046 * config/rs6000/linux-unwind.h (frob_update_context): Properly
10047 cast the pointer argument to _Unwind_SetGRPtr.
10049 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10051 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
10053 2011-11-09 Ian Lance Taylor <iant@google.com>
10055 * generic-morestack.c: Include <string.h>.
10056 (uintptr_type): Define.
10057 (struct initial_sp): Add dont_block_signals field. Reduce size of
10059 (allocate_segment): Set prev field to NULL. Don't set
10060 __morestack_current_segment or __morestack_segments.
10061 (__generic_morestack): Update current->prev and *pp after calling
10063 (__morestack_block_signals): Don't do anything if
10064 dont_block_signals is set.
10065 (__morestack_unblock_signals): Likewise.
10066 (__generic_findstack): Check for initial_sp == NULL. Add casts to
10068 (__splitstack_block_signals): New function.
10069 (enum __splitstack_content_offsets): Define.
10070 (__splitstack_getcontext, __splitstack_setcontext): New functions.
10071 (__splitstack_makecontext): New function.
10072 (__splitstack_block_signals_context): New function.
10073 (__splitstack_find_context): New function.
10074 * config/i386/morestack.S (__morestack_get_guard): New function.
10075 (__morestack_set_guard, __morestack_make_guard): New functions.
10076 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10078 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10080 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
10081 (i[34567]86-*-mingw*): ... here.
10082 (x86_64-*-mingw*): ... here.
10084 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10086 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
10088 2011-11-07 Nathan Sidwell <nathan@acm.org>
10090 * libgcov.c (struct gcov_fn_buffer): New struct.
10091 (buffer_fn_data): New helper.
10092 (gcov_exit): Rework for new gcov data structures.
10094 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
10097 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
10099 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10101 * config.host (tmake_file): Correct comment.
10102 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
10104 (bfin*-uclinux*): Likewise.
10105 (bfin*-linux-uclibc*): Likewise.
10106 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
10108 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
10110 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10111 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
10112 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10113 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
10114 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10115 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
10116 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
10117 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10118 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
10119 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
10120 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
10121 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
10122 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
10124 * config/bfin/t-elf: Remove.
10125 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
10127 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10129 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
10130 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
10131 (lm32-*-elf*, lm32-*-rtems*): Split into ...
10132 (lm32-*-elf*): ... this.
10133 (lm32-*-rtems*): ... and this.
10135 (m32r-*-rtems*): Add to tmake_file.
10136 (moxie-*-rtems*): Likewise.
10137 (sparc-*-rtems*): Likewise.
10138 Remove t-rtems from tmake_file.
10139 (sparc64-*-rtems*): Likewise.
10140 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
10143 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10146 * config/gthr-posix.h: Move ...
10147 * gthr-posix.h: ... here.
10148 * config/gthr-lynx.h: Reflect this.
10149 * config/gthr-vxworks.h: Likewise.
10150 * config/rs6000/gthr-aix.h: Likewise.
10151 * configure.ac (target_thread_file): Likewise.
10152 * configure: Regenerate.
10154 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
10156 * config.host (arm*-*-rtemseabi*): New target.
10158 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10161 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
10164 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
10166 * config.host (epiphany-*-elf*): New configuration.
10167 * config/epiphany: New Directory.
10169 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
10171 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
10172 * config/avr/t-rtems: New.
10173 Filter out _exit from LIB1ASMFUNCS.
10175 2011-11-04 David S. Miller <davem@davemloft.net>
10177 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
10178 * configure: Rebuild.
10180 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10182 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
10185 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
10188 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
10189 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
10191 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
10194 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
10196 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10198 * config/c6x/t-elf (LIB2ADDEH): Set.
10199 * config/c6x/t-c6x-elf: Remove.
10201 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10203 * config/i386/sol2-ci.S: Rename to ...
10204 * config/i386/crti.S: ... this.
10205 * config/i386/sol2-cn.S: Rename to ...
10206 * config/i386/crtn.S: ... this.
10207 * config/sparc/sol2-ci.S: Rename to ...
10208 * config/sparc/crti.S: ... this.
10209 * config/sparc/sol2-cn.S: Rename to ...
10210 * config/sparc/crtn.S: ... this.
10211 * config/t-sol2 (CUSTOM_CRTIN): Remove.
10212 (crti.o, crtn.o): Remove.
10214 2011-11-04 Tristan Gingold <gingold@adacore.com>
10216 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
10218 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
10220 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
10222 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
10224 * config.host (crisv32-*-none, cris-*-none): Remove.
10225 (crisv32-*-elf): Append to tmake_file, don't just set it.
10226 (cris-*-elf): Add missing t-fdpbit to tmake_file.
10228 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10230 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
10231 (ecrtn$(objext)): Likewise.
10232 (ncrti$(objext)): Likewise.
10233 (ncrtn$(objext)): Likewise.
10235 2011-11-03 Andreas Schwab <schwab@redhat.com>
10237 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
10239 2011-11-02 David S. Miller <davem@davemloft.net>
10241 * configure.ac: Set host_address on sparc too.
10242 * configure: Regenerate.
10243 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
10244 based upon host_address.
10245 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
10247 2011-11-02 Jason Merrill <jason@redhat.com>
10249 * config/rs6000/t-ppccomm: Add missing \.
10251 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10253 * gthr-single.h, gthr.h: New files.
10254 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
10255 config/gthr-vxworks.h, config/i386/gthr-win32.h,
10256 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
10257 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
10258 * config/i386/gthr-win32.c: Include "gthr-win32.h".
10259 * configure.ac (thread_header): New variable.
10260 Set it depending on target_thread_file.
10261 (gthr-default.h): Link from $thread_header.
10262 * configure: Regenerate.
10263 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
10265 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10267 * configure.ac (tm_file_): New variable.
10268 Determine from tm_file.
10269 (tm_file, tm_defines): Substitute.
10270 * configure: Regenerate.
10271 * mkheader.sh: New file.
10272 * Makefile.in (clean): Remove libgcc_tm.h.
10273 ($(objects)): Depend on libgcc_tm.h.
10274 (libgcc_tm_defines, libgcc_tm_file): New variables.
10275 (libgcc_tm.h, libgcc_tm.stamp): New targets.
10276 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
10277 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
10278 ($(extra-parts)): Depend on libgcc_tm.h.
10279 * config.host (tm_defines, tm_file): New variable.
10280 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
10281 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
10282 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
10283 (avr-*-rtems*): Likewise.
10284 (avr-*-*): Likewise.
10285 (frv-*-elf): Likewise.
10286 (frv-*-*linux*): Likewise.
10287 (h8300-*-rtems*): Likewise.
10288 (h8300-*-elf*): Likewise.
10289 (i[34567]86-*-darwin*): Likewise.
10290 (x86_64-*-darwin*): Likewise.
10291 (rx-*-elf): Likewise.
10292 (tic6x-*-uclinux): Likewise.
10293 (tic6x-*-elf): Likewise.
10294 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
10295 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
10296 * config/i386/cygming-crtbegin.c: Likewise.
10297 * config/i386/cygming-crtend.c: Likewise.
10298 * config/ia64/fde-vms.c: Likewise.
10299 * config/ia64/unwind-ia64.c: Likewise.
10300 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10301 * config/rs6000/darwin-fallback.c: Likewise.
10302 * config/stormy16/lib2funcs.c: Likewise.
10303 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
10304 * crtstuff.c: Likewise.
10305 * dfp-bit.h: Likewise.
10306 * emutls.c: Likewise.
10307 * fixed-bit.c: Likewise.
10308 * fp-bit.c: Likewise.
10309 * generic-morestack-thread.c: Likewise.
10310 * generic-morestack.c: Likewise.
10311 * libgcc2.c: Likewise.
10312 * libgcov.c: Likewise.
10313 * unwind-dw2-fde-dip.c: Likewise.
10314 * unwind-dw2-fde.c: Likewise.
10315 * unwind-dw2.c: Likewise.
10316 * unwind-sjlj.c: Likewise.
10318 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10320 * configure.ac: Include ../config/picflag.m4.
10321 (GCC_PICFLAG): Call it.
10323 * configure: Regenerate.
10324 * Makefile.in (gcc_srcdir): Remove.
10325 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
10326 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
10327 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
10328 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
10329 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
10332 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
10333 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
10334 to refer to libgcc2.c.
10336 * config/darwin-64.c: New file.
10337 * config/darwin-crt3.c: Remove comment.
10338 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
10339 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
10340 config/udivmodsi4.c: New files.
10341 * config/memcmp.c, config/memcpy.c, config/memmove.c,
10342 config/memset.c: New files.
10343 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
10344 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
10345 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
10346 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
10347 * config/t-openbsd-thread: New file.
10348 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
10349 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
10350 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
10351 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
10354 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
10355 to refer to gthr-posix.c.
10356 * config/alpha/t-vms (LIB2ADD): Set.
10357 * config/alpha/vms-gcc_shell_handler.c: New file.
10358 * config/arm/bpabi.c, config/arm/fp16.c,
10359 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
10360 config/arm/unaligned-funcs.c: New files.
10361 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
10362 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10363 * config/arm/t-linux: Likewise.
10364 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
10365 * config/arm/t-netbsd: New file.
10366 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
10367 * config/arm/t-symbian (LIB2ADD_ST): Set.
10368 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
10369 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10370 * config/bfin/t-elf: New file.
10371 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
10372 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
10373 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
10374 config/c6x/ltf.c: New files.
10375 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
10376 (HOST_LIBGCC2_CFLAGS): Set.
10377 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
10378 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10379 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
10381 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
10382 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
10383 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
10384 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
10385 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
10387 * config/frv/t-frv (LIB2ADD): Set.
10388 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10389 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
10390 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
10391 config/h8300/popcounthi2.c: New files.
10392 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10393 * config/i386/gthr-win32.c: New file.
10394 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
10395 * config/i386/t-cygwin: Likewise.
10396 * config/i386/t-darwin, config/i386/t-darwin64,
10397 config/i386/t-gthr-win32, config/i386/t-interix: New files.
10398 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
10399 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10400 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10401 * config/ia64/quadlib.c: New file.
10402 * config/ia64/t-hpux (LIB2ADD): Set.
10403 * config/ia64/t-ia64: Add comment.
10404 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
10405 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10406 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
10407 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
10408 * config/m32c/t-m32c (LIB2ADD): Set.
10409 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10410 * config/m32r/t-m32r: Likewise.
10411 * config/m68k/fpgnulib.c: New file.
10412 * config/m68k/t-floatlib (LIB2ADD): Set.
10413 (xfgnulib.c): New target.
10414 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
10415 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
10416 * config/mep/t-mep (LIB2ADD): Set.
10417 * config/microblaze/divsi3.asm: Rename to divsi3.S.
10418 * config/microblaze/moddi3.asm: Rename to moddi3.S.
10419 * config/microblaze/modsi3.asm: Rename to modsi3.S.
10420 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
10421 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
10422 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
10423 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
10424 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
10425 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
10426 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
10428 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
10429 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
10430 * config/pa/fptr.c, config/pa/lib2funcs.S,
10431 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
10432 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10433 (LIB2ADD, LIB2ADD_ST): Set.
10434 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
10435 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
10437 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
10438 * config/pdp11/t-pdp11: New file.
10439 * config/picochip/libgccExtras/adddi3.S,
10440 config/picochip/libgccExtras/ashlsi3.S,
10441 config/picochip/libgccExtras/ashrsi3.S,
10442 config/picochip/libgccExtras/clzsi2.S,
10443 config/picochip/libgccExtras/cmpsi2.S,
10444 config/picochip/libgccExtras/divmod15.S,
10445 config/picochip/libgccExtras/divmodhi4.S,
10446 config/picochip/libgccExtras/divmodsi4.S,
10447 config/picochip/libgccExtras/lshrsi3.S,
10448 config/picochip/libgccExtras/parityhi2.S,
10449 config/picochip/libgccExtras/popcounthi2.S,
10450 config/picochip/libgccExtras/subdi3.S,
10451 config/picochip/libgccExtras/ucmpsi2.S,
10452 config/picochip/libgccExtras/udivmodhi4.S,
10453 config/picochip/libgccExtras/udivmodsi4.S: New files.
10454 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
10455 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
10456 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
10457 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
10458 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
10459 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
10460 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
10461 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
10463 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
10464 (HOST_LIBGCC2_CFLAGS): Set.
10465 * config/rs6000/t-darwin64: New file.
10466 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
10467 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
10468 * config/rs6000/t-ppccomm (LIB2ADD): Add
10469 $(srcdir)/config/rs6000/tramp.S.
10470 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
10471 Add $(srcdir)/config/rs6000/eabi.S.
10472 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
10473 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
10474 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
10475 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
10476 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
10477 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
10478 * config/rs6000/tramp.S: New file.
10479 * config/s390/t-tpf: Remove.
10480 * config/sh/linux-atomic.S: New file.
10481 * config/sh/t-linux (LIB2ADD): Set.
10482 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
10483 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10484 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
10486 (HOST_LIBGCC2_CFLAGS): Set.
10487 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10488 * config/spu/divmodti4.c, config/spu/divv2df3.c,
10489 config/spu/float_disf.c, config/spu/float_unsdidf.c,
10490 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
10491 config/spu/mfc_multi_tag_release.c,
10492 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
10493 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
10494 config/spu/multi3.c: New files.
10495 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
10496 (HOST_LIBGCC2_CFLAGS): Set.
10497 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
10498 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
10499 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
10500 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
10501 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
10502 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
10503 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
10504 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
10505 config/stormy16/umodsi3.c: New files.
10506 * config/xtensa/lib2funcs.S: New file.
10507 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10508 * config/xtensa/t-xtensa (LIB2ADD): Set.
10509 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
10510 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
10511 Add t-freebsd-thread to tmake_file for posix threads.
10512 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
10513 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
10514 (*-*-lynxos*): Likewise.
10515 (*-*-netbsd*): Likewise.
10516 (*-*-openbsd*): Likewise.
10517 Add t-openbsd-thread to tmake_file for posix threads.
10518 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
10519 (*-*-vxworks*): Set tmake_file.
10520 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10521 (alpha*-*-freebsd*): Likewise.
10522 (alpha*-*-netbsd*): Likewise.
10523 (alpha*-*-openbsd*): Likewise.
10524 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
10525 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10526 (alpha*-dec-*vms*): Likewise.
10527 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
10528 (bfin*-elf*): Add bfin/t-elf to tmake_file.
10529 (bfin*-uclinux*): Likewise.
10530 (bfin*-linux-uclibc*): Likewise.
10531 (crisv32-*-elf): Add cris/t-cris to tmake_file.
10532 (crisv32-*-none): Likewise.
10533 (cris-*-elf): Likewise.
10534 (cris-*-none): Likewise.
10535 (cris-*-linux*, crisv32-*-linux*): Likewise.
10536 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
10538 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
10540 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
10541 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
10542 (x86_64-*-elf*): Likewise.
10543 (i[34567]86-*-nto-qnx*): Likewise.
10544 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
10546 (x86_64-*-mingw*): Likewise.
10547 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
10548 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
10549 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10550 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10551 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
10553 (mipsisa64sr71k-*-elf*): Likewise.
10554 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10555 (mips-*-elf*, mipsel-*-elf*): Likewise.
10556 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10557 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10558 (mips*-*-rtems*): Likewise.
10559 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
10561 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
10562 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
10563 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
10564 (spu-*-elf*): Likewise.
10565 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
10567 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10569 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
10570 $(srcdir) to refer to $(LIB1ASMSRC).
10572 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
10573 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
10574 config/arm/lib1funcs.S: New files.
10575 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
10576 * config/arm/t-arm: New file.
10577 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
10578 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
10579 config/arm/t-strongarm-elf: New files.
10580 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
10581 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
10582 * config/avr/lib1funcs.S: New file.
10583 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10584 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
10585 * config/c6x/lib1funcs.S: New file.
10586 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10587 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
10588 * config/frv/lib1funcs.S: New file.
10589 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10590 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
10591 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
10592 * config/ia64/__divxf3.asm: Rename to ...
10593 * config/ia64/__divxf3.S: ... this.
10594 Adapt lib1funcs.asm filename.
10595 * config/ia64/_fixtfdi.asm: Rename to ...
10596 * config/ia64/_fixtfdi.S: ... this.
10597 Adapt lib1funcs.asm filename.
10598 * config/ia64/_fixunstfdi.asm: Rename to ...
10599 * config/ia64/_fixunstfdi.S: ... this.
10600 Adapt lib1funcs.asm filename.
10601 * config/ia64/_floatditf.asm: Rename to ...
10602 * config/ia64/_floatditf.S: ... this.
10603 Adapt lib1funcs.asm filename.
10604 * config/ia64/lib1funcs.S: New file.
10605 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
10606 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10607 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
10608 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
10609 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
10610 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
10611 * config/mep/lib1funcs.S: New file.
10612 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10613 * config/mips/mips16.S: New file.
10614 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10615 * config/pa/milli64.S: New file.
10616 * config/pa/t-linux, config/pa/t-linux64: New files.
10617 * config/picochip/lib1funcs.S: New file.
10618 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10619 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
10620 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
10621 * config/sh/t-netbsd: New file.
10622 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
10623 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
10624 * config/sh/t-sh64: New file.
10625 * config/sparc/lb1spc.S: New file.
10626 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
10628 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
10629 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
10630 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
10631 config/xtensa/lib1funcs.S: New files.
10632 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10633 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
10635 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
10636 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
10637 (arm*-*-linux*): Likewise.
10638 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
10639 arm*-*-linux-*eabi, add arm/t-linux otherwise.
10640 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
10641 (arm*-*-ecos-elf): Likewise.
10642 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10643 (arm*-*-rtems*): Likewise.
10644 (arm*-*-elf): Likewise.
10645 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
10646 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
10647 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
10648 (bfin*-uclinux*): Likewise.
10649 (bfin*-linux-uclibc*): Likewise.
10650 (bfin*-rtems*): Likewise.
10651 (bfin*-*): Likewise.
10652 (fido-*-elf): Merge into m68k-*-elf*.
10653 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
10654 (frv-*-*linux*): Add frv/t-frv to tmake_file.
10655 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
10656 (h8300-*-elf*): Likewise.
10657 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
10658 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
10659 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
10660 (i[34567]86-*-mingw*): Likewise.
10661 (x86_64-*-mingw*): Likewise.
10662 (i[34567]86-*-interix3*): Likewise.
10663 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
10664 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
10665 (m68k-*-elf*): Also handle fido-*-elf.
10666 Add m68k/t-floatlib to tmake_file.
10667 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
10668 (m68k-*-linux*): Likewise.
10669 (m68k-*-rtems*): Likewise.
10670 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
10671 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
10673 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
10674 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
10675 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
10676 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
10677 sh/t-netbsd to tmake_file.
10678 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
10679 (sh-*-rtems*): Add sh/t-sh to tmake_file.
10680 (sh-wrs-vxworks): Likewise.
10681 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
10683 (v850*-*-*): Add v850/t-v850 to tmake_file.
10684 (vax-*-linux*): Add vax/t-linux to tmake_file.
10685 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
10687 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10689 * crtstuff.c: New file.
10690 * Makefile.in (CRTSTUFF_CFLAGS): Define.
10691 (CRTSTUFF_T_CFLAGS): Define.
10692 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
10693 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
10694 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
10697 (crtbeginT.o): Use $(objext).
10698 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
10699 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
10700 (gcc-extra-parts): Remove.
10701 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
10703 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10704 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
10705 Add t-crtstuff-pic to tmake_file.
10706 (*-*-lynxos*): New case.
10707 Set tmake_file, extra_parts.
10708 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
10709 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
10710 *-*-netbsdelf[2-9]*.
10711 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
10712 (*-*-rtems*): Set extra_parts.
10713 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
10714 (*-*-uclinux*): New case.
10716 (*-*-vms*): New case.
10717 Set tmake_file, extra_parts.
10718 (*-*-elf): Set extra_parts.
10719 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
10720 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
10723 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
10725 (arm*-*-freebsd*): Add t-crtin to tmake_file.
10726 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
10727 (arm-wrs-vxworks): Append to tmake_file.
10729 (arm*-*-uclinux*): Set extra_parts.
10730 (arm*-*-ecos-elf): Likewise.
10731 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
10733 (arm*-*-rtems*): Set extra_parts.
10734 (arm*-*-elf): Likewise.
10735 (avr-*-rtems*): Clear extra_parts.
10736 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
10738 (bfin*-uclinux*): Likewise.
10739 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
10740 (bfin*-rtems*): Append to tmake_file.
10742 (bfin*-*): Likewise.
10743 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
10744 (crisv32-*-elf): ... this.
10745 (crisv32-*-none): ... this.
10746 (cris-*-elf, cris-*-none): New cases.
10747 Add cris/t-elfmulti to tmake_file.
10748 (fr30-*-elf): Append to tmake_file.
10750 (frv-*-elf): Append to tmake_file, add frv/t-frv.
10752 (h8300-*-rtems*): Append to tmake_file.
10754 (h8300-*-elf*): Likewise.
10755 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
10757 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
10759 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
10760 (x86_64-*-elf*): Likewise.
10761 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
10762 (x86_64-*-freebsd*): Likewise.
10763 (x86_64-*-netbsd*): Likewise.
10764 (i[34567]86-*-linux*): Likewise.
10765 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10766 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10767 (x86_64-*-linux*): Likewise.
10768 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10769 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
10772 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
10773 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
10774 Append to extra_parts, remove crtbegin.o, crtend.o.
10775 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
10776 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
10777 crtend.o, crtbeginS.o, crtendS.o.
10778 (ia64*-*-linux*): Comment extra_parts.
10779 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
10781 (iq2000*-*-elf*): Clear extra_parts.
10782 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
10783 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
10784 (m32r-*-elf*, m32r-*-rtems*): Split off ...
10785 (m32r-*-rtems*): ... this.
10786 Add m32r/t-m32r to tmake_file.
10787 (m68k-*-elf*): Add t-crtin to tmake_file.
10788 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
10789 (mcore-*-elf): Likewise.
10790 (microblaze*-*-*): Set extra_parts.
10791 (mips*-sde-elf*): New case.
10792 Set tmake_file, extra_parts.
10793 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10794 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10795 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
10798 (mipsisa64sr71k-*-elf*): Likewise.
10799 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10800 (mips-*-elf*, mipsel-*-elf*): Likewise.
10801 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10802 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
10803 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10804 (mips*-*-rtems*): Likewise.
10805 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
10806 (moxie-*-*): Split into ...
10807 (moxie-*-elf, moxie-*-uclinux*): ... this.
10808 Add to extra_parts, remove crtbegin.o, crtend.o.
10809 (moxie-*-rtems*): New case.
10812 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
10814 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10815 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
10818 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
10819 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
10821 (powerpc-*-eabisim*): Likewise.
10822 (powerpc-*-elf*): Likewise.
10823 (powerpc-*-eabialtivec*): Likewise.
10824 (powerpc-xilinx-eabi*): Likewise.
10825 (powerpc-*-eabi*): Likewise.
10826 (powerpc-*-rtems*): Likewise.
10827 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
10830 (powerpc-*-lynxos*): Add to tmake_file.
10831 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
10832 rs6000/t-crtstuff, t-crtstuff-pic.
10834 (powerpcle-*-eabisim*): Likewise.
10835 (powerpcle-*-eabi*): Likewise.
10836 (rx-*-elf): Remove extra_parts.
10837 (s390x-ibm-tpf*): Set extra_parts.
10838 (score-*-elf): Set extra_parts.
10839 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10840 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10841 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10842 (sh64l*-*-netbsd*): Split into ...
10843 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
10844 Add t-crtstuff-pic to tmake_file.
10846 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
10848 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
10849 (sparc-*-elf*): Remove t-crtin from tmake_file.
10850 Add to extra_parts, remove crtbegin.o, crtend.o.
10851 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
10852 (sparc64-*-linux*): Likewise.
10853 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
10854 Add to extra_parts, remove crtbegin.o, crtend.o.
10855 (sparc64-*-elf*): Remove t-crtin from tmake_file.
10856 Add to extra_parts, remove crtbegin.o, crtend.o.
10857 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
10858 Add to extra_parts, remove crtbegin.o, crtend.o.
10859 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
10860 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
10861 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
10863 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
10865 (tic6x-*-*): Change to ...
10866 (tic6x-*-elf): ... this.
10868 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
10870 (am33_2.0-*-linux*): Add comment.
10871 (mep*-*-*): Add mep/t-mep to tmake_file.
10873 * config/alpha/t-vms: New file.
10874 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
10875 * config/arm/crti.S, config/arm/crtn.S: New files.
10876 * config/bfin/crti.S, config/bfin/crtn.S: New files.
10877 * config/bfin/crtlibid.S: New file.
10878 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
10879 * config/c6x/crti.S, config/c6x/crtn.S: New files.
10880 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
10881 (crti.o, crtin.o): New rules.
10882 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10883 * config/c6x/t-uclinux: New file.
10884 * config/cris/t-elfmulti: New file.
10885 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
10886 * config/fr30/crti.S, config/fr30/crtn.S: New files.
10887 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
10888 * config/frv/t-frv: New file.
10889 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
10890 * config/h8300/crti.S, config/h8300/crtn.S: New files.
10891 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
10893 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
10894 refer to cygming-crtbegin.c, cygming-crtend.c.
10896 * config/i386/t-nto: New file.
10897 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
10898 * config/ia64/crti.S, config/ia64/crtn.S: New files.
10899 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
10900 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
10903 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10904 (crtinitS.o): New rule.
10905 * config/ia64/vms-crtinit.S: New file.
10906 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
10907 * config/m32r/initfini.c: New file.
10908 * config/m32r/t-linux, config/m32r/t-m32r: New files.
10909 * config/m68k/crti.S, config/m68k/crtn.S: New files.
10910 * config/mcore/crti.S, config/mcore/crtn.S: New files.
10911 * config/mep/t-mep: New file.
10912 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
10913 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
10914 * config/mips/crti.S, config/mips/crtn.S: New files.
10915 * config/mips/t-crtstuff: New file.
10916 * config/mmix/crti.S, config/mmix/crtn.S: New files.
10917 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
10918 (CUSTOM_CRTIN): Set.
10919 ($(T)crti.o, $(T)crtn.o): Remove $(T),
10921 Use $(srcdir) to refer to crti.S, crtn.S.
10922 Use .S extension, $<.
10923 * config/moxie/crti.asm: Rename to ...
10924 * config/moxie/crti.S: ... this.
10925 * config/moxie/crtn.asm: Rename to ...
10926 * config/moxie/crtn.S: ... this.
10927 * config/moxie/t-moxie: Remove.
10928 * config/pa/stublib.c: New file.
10929 * config/pa/t-stublib, config/pa/t-stublib64: New files.
10930 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
10931 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
10932 * config/rs6000/t-crtstuff: New file.
10933 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
10934 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
10935 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
10936 Make output file explicit.
10937 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
10938 Make output file explicit.
10939 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
10940 Make output file explicit.
10941 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
10942 Make output file explicit.
10943 * config/score/crti.S, config/score/crtn.S: New files.
10944 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
10945 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
10947 * config/sh/t-sh, config/sh/t-superh: New files.
10948 * config/sparc/t-linux64: New file.
10949 * config/spu/cache.S, config/spu/cachemgr.c: New files.
10950 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
10951 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
10952 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
10953 * config/t-crtin: Remove.
10954 * config/t-crtstuff-pic: New file.
10955 * config/t-sol2 (CUSTOM_CRTIN): Set.
10956 (crti.o, crtn.o): New rules.
10957 * config/vms/t-vms: New file.
10958 * config/vms/vms-ucrt0.c: New file.
10959 * config/xtensa/t-elf: New file.
10961 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10963 * Makefile.in (SHLIB_NM_FLAGS): Set.
10964 * mkmap-flat.awk, mkmap-symver.awk: New files.
10965 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
10967 * configure: Regenerate.
10968 * config/libgcc-glibc.ver: New file.
10969 * config/libgcc-libsystem.ver: New file.
10970 * config/t-libunwind (SHLIB_LC): Set.
10971 * config/t-linux: New file.
10972 * config/t-slibgcc (INSTALL_SHLIB): New.
10973 (SHLIB_INSTALL): Use it.
10974 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
10975 to mkmap-symver.awk.
10976 (SHLIB_MAPFILES): Don't append, adapt pathname.
10977 (SHLIB_VERPFX): Set.
10978 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
10979 to mkmap-symver.awk.
10980 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
10981 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
10982 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
10983 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
10985 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
10986 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
10987 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
10988 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
10989 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
10990 * config/i386/libgcc-darwin.10.4.ver,
10991 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
10993 * config/i386/t-darwin: Remove.
10994 * config/i386/t-darwin64: Likewise.
10995 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
10996 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
10997 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
10998 * config/i386/t-linux: New file.
10999 * config/i386/t-mingw32: New file.
11000 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
11001 * config/ia64/t-glibc: Rename to ...
11002 * config/ia64/t-linux: ... this.
11003 (SHLIB_MAPFILES): Set.
11004 * config/ia64/t-glibc-libunwind: Rename to ...
11005 * config/ia64/t-linux-libunwind: ... this.
11006 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
11007 * config/ia64/t-slibgcc-hpux: New file.
11008 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
11009 * config/m68k/t-slibgcc-elf-ver: New file.
11010 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
11011 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
11013 * config/pa/t-slibgcc-hpux: New file.
11014 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
11016 * config/rs6000/libgcc-darwin.10.4.ver,
11017 config/rs6000/libgcc-darwin.10.5.ver: New files.
11018 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
11019 config/rs6000/libgcc-glibc.ver.
11020 * config/rs6000/libgcc-ppc64.ver: Rename to
11021 config/rs6000/libgcc-ibm-ldouble.ver.
11022 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
11023 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
11024 * config/rs6000/t-ldbl128: Rename to ...
11025 * config/rs6000/t-linux: ... this.
11026 (SHLIB_MAPFILES): Adapt filename.
11027 * config/rs6000/t-slibgcc-aix: New file.
11028 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
11029 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
11030 libgcc-excl.ver, libgcc-glibc.ver.
11031 (SHLIB_LINK, SHLIB_INSTALL): Remove.
11032 * config/sparc/libgcc-glibc.ver: New file.
11033 * config/sparc/t-linux: New file.
11034 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
11035 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
11036 t-slibgcc-elf-ver to tmake_file.
11037 Add t-slibgcc-nolc-override to tmake_file for posix threads on
11039 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11040 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
11041 t-slibgcc-elf-ver, t-linux to tmake_file.
11042 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
11044 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
11045 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
11046 (alpha*-dec-*vms*): Likewise.
11047 (arm*-*-freebsd*): Append to tmake_file.
11048 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
11049 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
11050 arm*-*-linux-*eabi.
11051 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
11052 tmake_file for arm*-*-symbianelf*.
11053 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
11054 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
11056 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
11057 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
11058 pa/t-slibgcc-dwarf-ver to tmake_file.
11059 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
11060 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
11061 (hppa*64*-*-hpux11*): Likewise.
11062 (hppa[12]*-*-hpux11*): Likewise.
11063 (x86_64-*-darwin*): Don't override tmake_file, but only keep
11064 i386/t-crtpc, i386/t-crtfm.
11065 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
11066 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11068 Add i386/t-cygwin to tmake_file.
11069 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
11070 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
11071 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11073 Add i386/t-mingw32 to tmake_file.
11074 (x86_64-*-mingw*): Likewise.
11075 (ia64*-*-freebsd*): Append to tmake_file.
11076 (ia64*-*-linux*): Append to tmake_file.
11077 Replace ia64/t-glibc by ia64/t-linux.
11078 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
11080 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
11081 t-slibgcc-hpux to tmake_file.
11082 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
11083 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
11084 (m32rle-*-linux*): Likewise.
11085 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
11087 (microblaze*-linux*): New case.
11088 Append to tmake_file, add t-slibgcc-nolc-override.
11089 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
11090 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11091 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
11092 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11093 rs6000/t-slibgcc-aix to tmake_file.
11094 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11095 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11096 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11097 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11098 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11099 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
11101 (sparc-*-linux*): Append to tmake_file for *-leon*.
11102 Add sparc/t-linux to tmake_file for non-Leon targets.
11103 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
11104 (tic6x-*-uclinux): New case.
11105 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
11106 (tic6x-*-*): Add c6x/t-elf to tmake_file.
11107 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
11108 (am33_2.0-*-linux*): Append to tmake_file.
11109 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
11110 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
11111 x86_64-*-kfreebsd*-gnu.
11112 Add i386/t-linux to tmake_file.
11114 2011-10-28 Ian Lance Taylor <iant@google.com>
11116 * config/i386/morestack.S: Correct CFI information to do proper
11117 returns throughout function. In 32-bit mode, save %ebx so that it
11118 is restored on unwind.
11120 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
11122 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
11123 case where B3 isn't the return register.
11125 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
11126 logic for doubleword pops.
11128 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
11130 * config/rs6000/t-freebsd: Add wildcard.
11132 2011-10-21 Paul Brook <paul@codesourcery.com>
11134 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
11136 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
11137 Eric Botcazou <ebotcazou@adacore.com>
11140 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
11141 fs->signal_frame to 1.
11143 2011-10-07 Ian Lance Taylor <iant@google.com>
11145 * generic-morestack-thread.c: #include <errno.h>.
11147 2011-10-07 Ian Lance Taylor <iant@google.com>
11150 * generic-morestack.c (__generic_morestack): Make sure the segment
11151 is large enough for both the stack frame and the copied
11154 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11157 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
11160 2011-09-28 Nick Clifton <nickc@redhat.com>
11162 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
11163 64-bit doubles are not enabled.
11164 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
11165 and floatunsisf functions.
11167 2011-09-13 Paul Brook <paul@codesourcery.com>
11169 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
11170 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
11171 * unwind-arm-common.inc: New file.
11172 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
11173 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
11174 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
11175 * config/c6x/libunwind.S: New file.
11176 * config/c6x/pr-support.c: New file.
11177 * config/c6x/unwind-c6x.c: New file.
11178 * config/c6x/unwind-c6x.h: New file.
11179 * config/c6x/t-c6x-elf: New file.
11181 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
11183 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
11184 (ASM_DIVZERO): Ditto.
11185 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
11187 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
11189 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
11191 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
11194 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
11195 instead of an assembly one.
11197 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
11200 * Makefile.in (install-unwind_h): Create
11201 $(gcc_objdir)/include/unwind.h atomically.
11203 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11205 * Makefile.in (install-unwind_h): Remove destination file first.
11207 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11209 * sync.c: New file.
11210 * config/mips/t-mips16: New file.
11211 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
11212 (mips*-*-linux*): Likewise.
11213 (mips*-sde-elf*): Likewise.
11214 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
11215 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
11216 Add mips/t-mips16 to tmake_file.
11217 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
11218 (mips-*-elf*): Likewise.
11219 (mips64-*-elf*): Likewise.
11220 (mips64orion-*-elf*): Likewise.
11221 (mips*-*-rtems*): Likewise.
11222 (mipstx39-*-elf*): Likewise.
11223 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
11224 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
11225 LIBGCC_SYNC_CFLAGS.
11226 Use $(srcdir) to refer to sync.c.
11228 ($(libgcc-sync-funcs-o)): Likewise.
11229 ($(libgcc-sync-size-funcs-s-o)): Likewise.
11230 ($(libgcc-sync-funcs-s-o)): Likewise.
11232 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
11234 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
11237 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
11240 * config/i386/value-unwind.h: New.
11242 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
11244 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
11245 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
11246 Add to tmake_file rather than overriding it.
11248 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11250 * config/t-softfp: Remove.
11251 * soft-fp: Moved from ../gcc/config.
11252 * soft-fp/README: Remove t-softfp reference.
11253 * soft-fp/t-softfp: Move to config/t-softfp.
11254 (softfp_machine_header): Remove.
11255 (softfp_file_list): Remove config subdir.
11256 (soft-fp-objects): New variable.
11257 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
11258 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
11259 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
11260 * config/t-softfp-excl: New file.
11261 * config/t-softfp-sfdf: New file.
11262 * config/t-softfp-tf: New file.
11263 * config/no-sfp-machine.h: New file.
11264 * config/arm/sfp-machine.h: New file.
11265 * config/arm/t-softfp: New file.
11266 * config/c6x/sfp-machine.h: New file.
11267 * config/i386/32/t-fprules-softfp: Rename to ...
11268 * config/i386/32/t-softfp: ... this.
11269 (tifunctions, LIB2ADD): Remove.
11270 (softfp_int_modes): Override.
11271 * config/i386/64/t-softfp-compat (tf-functions): Remove config
11273 * config/i386/64/eqtf2.c: Likewise.
11274 * config/i386/64/getf2.c: Likewise.
11275 * config/i386/64/letf2.c: Likewise.
11276 * config/ia64/sft-machine.h: New file.
11277 * config/ia64/t-fprules-softfp: Rename to ...
11278 * config/ia64/t-softfp: ... this.
11279 * config/lm32/sfp-machine.h: New file.
11280 * config/moxie/t-moxie-softfp: Remove.
11281 * config/rs6000/ibm-ldouble-format: New file.
11282 * config/rs6000/ibm-ldouble.c: New file.
11283 * config/rs6000/libgcc-ppc-glibc.ver: New file
11284 * config/rs6000/libgcc-ppc64.ver: New file
11285 * config/rs6000/sfp-machine.h: New file.
11286 * config/rs6000/t-freebsd: New file.
11287 * config/rs6000/t-ibm-ldouble: New file.
11288 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
11289 libgcc-ppc-glibc.ver.
11290 * config/rs6000/t-linux64: New file.
11291 * config/rs6000/t-ppccomm (LIB2ADD): Add
11292 $(srcdir)/config/rs6000/ibm-ldouble.c.
11293 * config/rs6000/t-ppccomm-ldbl: New file.
11294 * config/score/sfp-machine.h: New file.
11295 * config.host (sfp_machine_header): Explain.
11296 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
11297 t-softfp to tmake_file.
11298 (arm*-*-uclinux*): Likewise.
11299 (arm*-*-ecos-elf): Likewise.
11300 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11301 (arm*-*-rtems*): Likewise.
11302 (arm*-*-elf): Likewise.
11303 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
11305 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
11306 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
11307 (lm32-*-uclinux*): Likewise.
11308 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
11309 t-softfp-excl, t-softfp.
11310 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
11311 (powerpc64-*-darwin*): Likewise.
11312 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
11314 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
11316 (powerpc-*-eabisim*): Likewise.
11317 (powerpc-*-elf*): Likewise.
11318 (powerpc-*-eabialtivec*): Likewise.
11319 (powerpc-xilinx-eabi*): Likewise.
11320 (powerpc-*-rtems*): Likewise.
11321 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
11322 t-softfp-excl, t-softfp to tmake_file.
11323 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
11324 rs6000/t-ppccomm-ldbl to tmake_file.
11325 (powerpcle-*-elf*): Likewise.
11326 (powerpcle-*-eabisim*): Likewise.
11327 (powerpcle-*-eabi*): Likewise.
11328 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11329 rs6000/t-ibm-ldouble to tmake_file.
11330 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11331 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11332 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
11333 (tic6x-*-*): Likewise.
11334 (i[34567]86-*-darwin*, x86_64-*-darwin*,
11335 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
11336 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
11337 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
11338 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
11339 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
11340 t-softfp to tmake_file.
11341 * configure.ac (sfp_machine_header): Provide default if unset.
11343 Link sfp-machine.h to config/$sfp_machine_header.
11344 * configure: Regenerate.
11346 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11348 * Makefile.in (double_type_size, long_double_type_size): Set.
11349 Remove $(fpbit-in-libgcc) support.
11350 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
11351 (fpbit-src): New variable.
11352 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
11353 Compile with -DFLOAT $(FPBIT_CFLAGS).
11355 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
11356 Compile with $(FPBIT_CFLAGS).
11358 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
11359 Compile with -DFLOAT $(TPBIT_CFLAGS).
11361 * configure.ac (double_type_size, long_double_type_size):
11362 Determine and substitute.
11363 * configure: Regenerate.
11364 * fp-bit.c, fp-bit.h: New files.
11365 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
11366 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
11367 * config/mips/t-mips: New file.
11368 * config/mips/t-sdemtk: New file.
11369 * config/rs6000/ppc64-fp.c: New file.
11370 * config/rs6000/t-darwin (LIB2ADD): Add
11371 $(srcdir)/config/rs6000/ppc64-fp.c.
11372 * config/rs6000/t-ppc64-fp: New file.
11373 * config/rx/rx-lib.h: New file.
11374 * config/rx/t-rx (FPBIT): Set to true.
11375 ($(gcc_objdir)/fp-bit.c): Remove.
11376 (DPBIT): Set to true only with -m64bit-doubles.
11377 ($(gcc_objdir)/dp-bit.c): Remove.
11378 * config/sparc/t-softfp: Remove.
11379 * config/spu/t-elf: New file.
11380 * config/t-fdpbit, config/t-fpbit: New files.
11381 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
11382 (mips*-*-*): Likewise.
11383 (arm-wrs-vxworks): Likewise.
11384 (arm*-*-freebsd*): Likewise.
11385 (avr-*-rtems*): Add t-fpbit to tmake_file.
11386 (avr-*-*): Likewise.
11387 (bfin*-elf*): Add t-fdpbit to tmake_file.
11388 (bfin*-uclinux*): Likewise.
11389 (bfin*-linux-uclibc*): Likewise.
11390 (bfin*-rtems*): New case.
11391 Add t-fdpbit to tmake_file.
11392 (bfin*-*): Add t-fdpbit to tmake_file.
11393 (crisv32-*-elf): Likewise.
11394 (cris-*-linux*): Likewise.
11395 (fr30-*-elf): Likewise.
11396 (frv-*-elf, frv-*-*linux*): Likewise.
11397 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
11398 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
11399 (m32r-*-elf*): Likewise.
11400 (m32rle-*-elf*): Likewise.
11401 (m32r-*-linux*): Likewise.
11402 (m32rle-*-linux*): Likewise.
11403 (mcore-*-elf): Add t-fdpbit to tmake_file.
11404 (microblaze*-*-*): Likewise.
11405 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
11406 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
11407 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
11409 Add mips/t-tpbit to tmake-file.
11410 (mips*-*-linux*): Fix typo.
11411 (mips*-sde-elf*): New case
11412 Add mips/t-sdemtk unless using newlib.
11413 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
11414 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
11415 (mn10300-*-*): Likewise.
11416 (pdp11-*-*): Likewise.
11417 (picochip-*-*): Add t-fpbit to tmake_file.
11418 (powerpc-*-eabisimaltivec*): Likewise.
11419 (powerpc-*-eabisim*): Likewise.
11420 (powerpc-*-elf*): Likewise.
11421 (powerpc-*-eabialtivec*): Likewise.
11422 (powerpc-xilinx-eabi*): New case.
11423 Add t-fdpbit to tmake_file.
11424 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
11425 (powerpc-*-rtems*): Likewise.
11426 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
11428 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
11430 (powerpc-*-lynxos*): Likewise.
11431 (powerpcle-*-elf*): Likewise.
11432 (powerpcle-*-eabisim*): Likewise.
11433 (powerpcle-*-eabi*): Likewise.
11434 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11435 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
11436 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11437 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11438 (rx-*-elf): Add t-fdpbit to tmake_file.
11439 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11440 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11441 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11442 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
11444 (sh-*-rtems*): Add t-fdpbit to tmake_file.
11445 (sh-wrs-vxworks): Likewise.
11446 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
11447 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
11448 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
11449 (sparc64-*-rtems*): ... new case.
11450 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
11451 (spu-*-elf*): Likewise.
11452 Add spu/t-elf to tmake_file.
11453 (v850*-*-*): Add t-fdpbit to tmake_file.
11454 (xstormy16-*-elf): Likewise.
11455 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
11456 (mep*-*-*): Likewise.
11458 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11460 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
11462 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
11463 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
11464 (install-unwind_h): New target.
11465 (all): Depend on it.
11466 * config.host (unwind_header): New variable.
11467 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
11468 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11469 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
11470 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
11471 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
11473 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
11475 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
11477 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
11479 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
11480 (ia64*-*-freebsd*): Likewise.
11481 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
11483 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
11484 $with_system_libunwind.
11485 (ia64*-*-hpux*): Set tmake_file.
11486 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
11487 (picochip-*-*): Set tmake_file.
11488 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
11490 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11491 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11492 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
11493 (xtensa*-*-elf*): Set tmake_file.
11494 (xtensa*-*-linux*): Likewise.
11495 * configure.ac: Include ../config/unwind_ipinfo.m4.
11496 Call GCC_CHECK_UNWIND_GETIPINFO.
11497 Link unwind.h to $unwind_header.
11498 * configure: Regenerate.
11499 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
11500 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
11501 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
11502 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
11503 * config/unwind-dw2-fde-darwin.c: New file.
11504 * config/arm/libunwind.S, config/arm/pr-support.c,
11505 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
11506 config/arm/unwind-arm.h,: New files.
11507 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
11508 config/ia64/t-eh-ia64, config/ia64/t-glibc,
11509 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
11510 config/ia64/t-vms, config/ia64/unwind-ia64.c,
11511 config/ia64/unwind-ia64.h: New files.
11512 * config/picochip/t-picochip: New file.
11513 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
11515 * config/rs6000/t-darwin (LIB2ADDEH): Set.
11516 * config/s390/t-tpf (LIB2ADDEH): Remove.
11517 * config/t-darwin (LIB2ADDEH): Set.
11518 * config/t-eh-dw2-dip: New file.
11519 * config/t-libunwind, config/t-libunwind-elf: New files.
11520 * config/t-sol2 (LIB2ADDEH): Remove.
11521 * config/xtensa/t-xtensa: New file.
11523 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
11525 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
11526 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
11527 long long to check rt_sigreturn syscall.
11529 2011-08-02 Alan Modra <amodra@gmail.com>
11531 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11532 Restore for indirect call bcrtl from correct stack slot, and only
11533 if cfa+40 isn't valid.
11535 2011-08-01 Julian Brown <julian@codesourcery.com>
11537 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
11538 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
11539 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
11541 2011-08-01 Julian Brown <julian@codesourcery.com>
11543 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
11544 (libgcc-std.ver.in): Use above.
11545 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
11546 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
11548 * config/t-fixedpoint-gnu-prefix: New file.
11549 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
11550 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
11551 instead of __PFX__.
11553 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
11555 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
11556 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
11557 for x86-64. Properly check __x86_64__ and __LP64__.
11559 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
11561 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
11563 (_FP_WS_TYPE): Likewise.
11564 (_FP_I_TYPE): Likewise.
11566 2011-07-28 Alan Modra <amodra@gmail.com>
11568 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11569 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
11570 in a plt call stub. Do restore r2 if stopped on bctrl.
11572 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11574 * config.host (i[3456x]86-*-netware*): Remove.
11575 * config/i386/netware-crt0.c, config/i386/t-nwld,
11576 config/i386/t-slibgcc-nwld: Remove.
11578 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
11580 * config.host: Handle tic6x-*-*.
11581 * config/c6x/c6x-abi.h: New file.
11583 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11585 * config/i386/crtprec.c: New file.
11586 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
11587 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
11588 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
11589 (x86_64-*-darwin*): Likewise.
11590 (i[34567]86-*-solaris2*: Likewise.
11592 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11594 * config/alpha/crtfastmath.c: New file.
11595 * config/i386/crtfastmath.c: New file.
11596 * config/ia64/crtfastmath.c: New file.
11597 * config/mips/crtfastmath.c: New file.
11598 * config/sparc/crtfastmath.c: New file.
11600 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
11602 Add -frandom-seed=gcc-crtfastmath.
11603 * config/alpha/t-crtfm: Remove.
11604 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
11605 * config/ia64/t-ia64 (crtfastmath.o): Remove.
11607 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
11608 (alpha*-dec-osf5.1*): Likewise.
11609 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
11610 Add crtfastmath.o to extra_parts.
11611 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
11612 Add crtfastmath.o to extra_parts.
11613 (x86_64-*-darwin*): Likewise.
11614 (x86_64-*-mingw*): Likewise.
11615 (ia64*-*-elf*): Add t-crtfm to tmake_file.
11616 (ia64*-*-freebsd*): Likewise.
11617 (ia64*-*-linux*): Likewise.
11618 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
11619 Add crtfastmath.o to extra_parts.
11621 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11623 * config/darwin-crt3.o: New file.
11624 * config/rs6000/darwin-crt2.c: New file.
11625 * config/t-darwin: New file.
11626 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
11627 (crt2.o): New rule.
11628 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
11629 (powerpc-*-darwin*): Add crt2.o to extra_parts.
11630 (powerpc64-*-darwin*): Likewise.
11632 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11634 * config/i386/netware-crt0.c: New file.
11635 * config/i386/t-nwld: Rename to ...
11636 * config/i386/t-slibgcc-nwld: ... this.
11637 * config/i386/t-nwld: New file.
11638 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
11640 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
11643 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11645 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
11647 * configure: Regenerate.
11649 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11651 * dfp-bit.c, dfp-bit.h: New files.
11652 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
11654 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
11655 ($(d64pbit-o)): Likewise.
11656 ($(d128pbit-o)): Likewise.
11657 * config/t-dfprules: New file.
11658 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
11659 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
11660 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11661 (x86_64-*-linux*): Likewise.
11662 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11663 (i[34567]86-*-cygwin*): Likewise.
11664 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
11665 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11667 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11669 * Makfile.in (LIBGCOV): New variable.
11670 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
11671 * libgcov.c: New file.
11673 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11675 * fixed-bit.c, fixed-bit.h: New files.
11676 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
11677 refer to fixed-bit.c.
11679 2011-07-07 Joseph Myers <joseph@codesourcery.com>
11681 * config.host (*local*): Remove.
11683 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11686 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
11687 like i?86-*-solaris2.1[0-9]*.
11688 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
11689 * configure.ac (i?86-*-solaris2*): Likewise.
11690 * configure: Regenerate.
11692 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
11694 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11695 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
11696 md_unwind_header by splitting out of...
11697 (i[34567]86-*-linux*): ... this.
11698 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
11699 Remove md_unwind_header by splitting out of...
11700 (x86_64-*-linux*): ... this.
11702 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
11704 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
11706 2011-06-28 Nick Clifton <nickc@redhat.com>
11708 * config.host: Recognize all V850 variants.
11710 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
11712 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
11714 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11716 * shared-object.mk (c_flags-$o): Save c_flags.
11717 ($(base)$(objext)): Use it.
11718 ($(base)_s$(objext)): Likewise.
11720 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
11722 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
11723 * libgcc-std.ver.in (GCC_4.7.0): New section.
11725 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
11729 * config/avr/t-avr: Fix line endings.
11730 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
11733 2011-06-14 Olivier Hainque <hainque@adacore.com>
11734 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11736 * config/mips/irix6-unwind.h: New file.
11737 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
11739 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
11741 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
11742 (sparc64_fallback_frame_state): Use it.
11743 (sparc64_frob_update_context): Further adjust context.
11744 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
11745 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
11746 * config/sparc/sol2-cn.S: Likewise.
11748 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11750 * enable-execute-stack-empty.c: New file.
11751 * enable-execute-stack-mprotect.c: New file.
11752 * config/i386/enable-execute-stack-mingw32.c: New file.
11753 * config.host (enable_execute_stack): New variable.
11754 Select appropriate variants.
11755 * configure.ac: Link enable-execute-stack.c to
11756 $enable_execute_stack.
11757 * configure: Regenerate.
11758 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
11759 (lib2funcs): Remove _enable_execute_stack.
11761 2011-06-09 David S. Miller <davem@davemloft.net>
11762 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11764 * config.host (sparc-*-linux*): Correct md_unwind_header
11766 (s390x-ibm-tpf*): Fix typo.
11768 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11770 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
11771 Add crtfastmath.o to extra_parts.
11772 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
11774 * config/mips/t-crtfm: Remove.
11776 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
11778 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
11780 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
11782 * config.host (sh*-*-linux*): Fix typo.
11784 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11786 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
11787 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
11788 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
11789 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
11790 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
11791 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
11792 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
11793 Wrap in !__MINGW64__.
11794 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
11795 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
11796 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
11797 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
11798 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
11799 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
11800 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
11802 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
11803 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
11804 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
11805 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
11806 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
11807 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
11808 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
11809 * config/no-unwind.h: New file.
11810 * config.host (md_unwind_header): Document.
11812 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
11813 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
11814 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
11815 hppa[12]*-*-hpux11*): Set md_unwind_header.
11816 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
11817 Set md_unwind_header.
11818 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
11819 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
11820 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
11821 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
11822 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
11823 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
11824 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
11826 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
11827 * configure: Regenerate.
11829 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11831 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
11832 Set tmake_file, extra_parts.
11833 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
11834 Remove O32 support.
11835 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
11836 Remove O32 support.
11837 * config/mips/t-irix6: New file.
11838 * config/mips/t-slibgcc-irix: New file.
11840 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11842 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
11843 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
11845 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11847 * configure.ac (target_thread_file): Determine thread model.
11848 * configure: Regenerate.
11849 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
11850 * config/alpha/t-alpha: New file.
11851 * config/alpha/t-crtfm: Use $<.
11852 * config/alpha/t-ieee: New file.
11853 * config/alpha/t-osf-pthread: New file.
11854 * config/alpha/t-slibgcc-osf: New file.
11855 * config/alpha/libgcc-osf5.ver: New file.
11857 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11859 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
11861 Add crtfastmath.o to extra_parts.
11863 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11865 * config/gmon-sol2.c: Reindent.
11867 Remove, correct casts.
11868 Use STDERR_FILENO, NULL.
11869 (BASEADDRESS): Remove.
11871 (errno, sbrk): Remove declarations.
11872 (monstartup) [hp300]: Remove.
11875 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11877 * Makefile.in (cpu_type): Define.
11878 * config.host (i[34567]86-*-rtems*): Handle it.
11879 (i[34567]86-*-solaris2*): Move body ...
11880 (*-*-solaris2*): ... here.
11881 New case, generalize.
11882 (sparc-*-elf*): Handle it.
11883 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
11884 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
11885 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
11887 (sparc*-*-solaris2*): ... this.
11889 (sparc64-*-elf*): Handle it.
11890 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
11891 Merge ../gcc/config/i386/gmon-sol2.c.
11892 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
11894 Merge ../gcc/config/i386/sol2-gc1.asm.
11895 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
11897 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
11899 * config/i386/t-crtfm (crtfastmath.o): Use $<.
11900 * config/i386/t-crtstuff: New file.
11901 * config/i386/t-softfp: New file.
11902 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
11903 $(T)crti.o, $(T)crtn.o): Remove.
11904 (gcrt1.o): New rule.
11905 (TARGET_LIBGCC2_CFLAGS): Remove.
11906 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
11907 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
11908 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
11909 * config/sparc/t-sol2: New file.
11910 * config/sparc/t-crtfm: Move to ...
11911 * config/t-crtfm: ... this.
11912 Use $(cpu_type), $<.
11913 * config/t-crtin: New file.
11914 * config/sparc/t-softfp: New file.
11915 * config/sparc/t-softmul: New file.
11916 * config/t-rtems: New file.
11917 * config/t-slibgcc: New file.
11918 * config/t-slibgcc-elf-ver: New file.
11919 * config/t-slibgcc-gld: New file.
11920 * config/t-slibgcc-sld: New file.
11921 * config/t-sol2: New file.
11922 * configure.ac: Include ../config/lib-ld.m4.
11923 Call AC_LIB_PROG_LD_GNU.
11924 Substitute cpu_type.
11925 * configure: Regenerate.
11927 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
11930 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
11931 libgcc-std.ver in the build directory.
11932 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
11933 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
11935 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
11937 * libgcc-std.ver.in: New file.
11938 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
11940 (libgcc-std.ver): New rule.
11941 * config/t-gnu-prefix: New file.
11943 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11945 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
11947 2011-05-10 Joseph Myers <joseph@codesourcery.com>
11949 * config/i386/darwin-lib.h: New file.
11951 2011-05-10 Joseph Myers <joseph@codesourcery.com>
11953 * config/arm/symbian-lib.h: New.
11955 2011-05-04 Chris Demetriou <cgd@google.com>
11957 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
11958 (__x86.get_pc_thunk.bx): ...this.
11959 (__morestack): Adjust for rename, remove undef of __i686.
11961 2011-05-03 Chris Demetriou <cgd@google.com>
11963 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
11965 2011-03-22 Joseph Myers <joseph@codesourcery.com>
11967 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
11968 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
11969 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
11970 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
11971 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
11974 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
11976 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
11977 Adjust copyright year.
11979 2011-03-07 Ian Lance Taylor <iant@google.com>
11981 * generic-morestack.c (__splitstack_find): Adjust returned stack
11982 pointer to include all registers pushed by __morestack.
11984 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
11987 * configure.ac: Call ACX_NONCANONICAL_TARGET.
11988 (toolexecdir): Calculate and AC_SUBST.
11989 (toolexeclibdir): Likewise.
11990 * Makefile.in (target_noncanonical): Import.
11991 (toolexecdir): Likewise.
11992 (toolexeclibdir): Likewise.
11993 * configure: Regenerate.
11995 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
11998 * config/arm/bpabi.h: Rename to...
11999 * config/arm/bpabi-lib.h: ...this.
12001 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12003 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
12005 * configure: Regenerate.
12007 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
12009 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
12010 __FLOAT_WORD_ORDER__.
12011 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
12014 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12017 * Makefile.in (install-strip): New phony target.
12019 2010-11-07 Ian Lance Taylor <iant@google.com>
12022 * config/i386/morestack.S (__morestack_large_model): New
12025 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
12027 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
12029 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
12031 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
12033 * config/arm/bpabi.h: New file.
12034 * config/frv/frv-abi.h: New file.
12036 2010-10-01 Ian Lance Taylor <iant@google.com>
12038 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
12039 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
12041 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
12044 * config.host: Add the missing `$'.
12046 2010-09-30 Michael Eager <eager@eagercon.com>
12048 * config.host: Add microblaze*-*-*.
12049 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
12050 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
12051 udivsi3.asm,umodsi3.asm}: New.
12053 2010-09-28 Ian Lance Taylor <iant@google.com>
12055 * configure.ac: Adjust CFI test to test assembler directly rather
12056 than checking gcc preprocessor macro.
12057 * configure: Rebuild.
12059 2010-09-27 Ian Lance Taylor <iant@google.com>
12061 * configure.ac: Test whether assembler supports CFI directives.
12062 * config.host: Only add t-stack and i386/t-stack-i386 to
12063 tmake_file if libgcc_cv_cfi is "yes".
12064 * configure: Rebuild.
12066 2010-09-27 Ian Lance Taylor <iant@google.com>
12068 * generic-morestack.h: New file.
12069 * generic-morestack.c: New file.
12070 * generic-morestack-thread.c: New file.
12071 * config/i386/morestack.S: New file.
12072 * config/t-stack: New file.
12073 * config/i386/t-stack-i386: New file.
12074 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
12075 i386/t-stack-i386 to tmake_file.
12077 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
12079 * Makefile.in (libgcc-extra-parts): Check for static archives and
12080 invoke ranlib after installing them.
12081 (gcc-extra-parts): Likewise.
12082 (install-leaf): Likewise.
12084 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
12086 * configure: Regenerated.
12088 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
12090 * configure: Regenerated.
12092 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
12093 Andrew Pinski <pinskia@gmail.com>
12096 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
12098 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
12101 * configure: Regenerated.
12103 2010-09-06 Andreas Schwab <schwab@redhat.com>
12105 * configure: Regenerate.
12107 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
12109 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
12111 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
12114 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
12115 Iain Sandoe <iains@gcc.gnu.org>
12118 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
12119 LIB2FUNCS_EXCLUDE functions.
12121 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12123 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
12125 * configure: Regenerate.
12127 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
12129 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
12130 i386/t-freebsd to tmake_file.
12131 * config/i386/t-freebsd: New file.
12132 * config/i386/libgcc-bsd.ver: New file.
12134 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
12136 * config.host (powerpc*-eabispe*): Set tmake_file.
12137 (powerpc*-eabi*): Likewise.
12138 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
12139 crtbeginS, crtendS, crtbeginT.
12141 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
12143 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
12144 to tmake_file. Add crtfastmath.o to extra_parts.
12145 * config/mips/t-crtfm: New.
12147 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
12149 * config.host (sparc64-*-rtems*): New target.
12151 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12153 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12156 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
12158 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
12160 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12162 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
12163 alpha-dec-osf5.0* support.
12165 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
12167 * config.host: Add lm32-*-rtems*.
12169 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12170 Uros Bizjak <ubizjak@gmail.com>
12173 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
12174 like other remaining 32-bit x86 OSes.
12175 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12177 * config/i386/libgcc-sol2.ver: New file.
12178 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
12180 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
12183 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
12184 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
12185 is used and substitute set_use_emutls.
12186 * configure: Regenerated.
12188 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
12190 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
12192 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12195 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
12197 ($(T)gcrt1.o): Likewise.
12198 ($(T)crt1.o): Likewise.
12199 ($(T)crti.o): Likewise.
12200 ($(T)crtn.o): Likewise.
12202 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12205 * Makefile.in (install): Use $(MAKE) string in rule, for
12208 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
12210 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
12211 * config/mmix/t-mmix: New file.
12212 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
12214 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
12217 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
12220 2010-01-04 Anthony Green <green@moxielogic.com>
12222 * config/moxie/crti.asm, config/moxie/crtn.asm,
12223 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
12224 config/moxie/t-moxie: New files.
12225 * config.host: Add t-moxie-softfp reference.
12227 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
12230 * config/t-slibgcc-darwin: Fix embedded rpaths for
12231 --enable-version-specific-runtime-libs, build extension stub
12232 libs exposing features available from current libgcc_s.
12234 2009-11-11 Jon Beniston <jon@beniston.com>
12236 * config.host: Add lm32 targets.
12237 * config/lm32: New directory.
12238 * config/lm32/libgcc_lm32.h: New file.
12239 * config/lm32/_mulsi3.c: New file.
12240 * config/lm32/_udivmodsi4.c: New file.
12241 * config/lm32/_divsi3.c: New file.
12242 * config/lm32/_modsi3.c: New file.
12243 * config/lm32/_udivsi3.c: New file.
12244 * config/lm32/_umodsi3.c: New file.
12245 * config/lm32/_lshrsi3.S: New file.
12246 * config/lm32/_ashrsi3.S: New file.
12247 * config/lm32/_ashlsi3.S: New file.
12248 * config/lm32/crti.S: New file.
12249 * config/lm32/crtn.S: New file.
12250 * config/lm32/t-lm32: New file.
12251 * config/lm32/t-elf: New file.
12252 * config/lm32/t-uclinux: New file.
12254 2009-10-26 Nick Clifton <nickc@redhat.com>
12256 * config.host: Add support for RX target.
12257 * config/rx: New directory.
12258 * config/rx/rx-abi-functions.c: New file. Supplementary
12259 functions for libgcc to support the RX ABI.
12260 * config/rx/rx-abi.h: New file. Supplementary header file for
12261 libgcc RX ABI functions.
12262 * config/rx/t-rx: New file: Makefile fragment for building
12265 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
12267 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
12268 constraint of y0 to "g".
12270 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12272 * config.host: Include the s390 makefile fragments.
12273 * config/s390/32/_fixdfdi.c: New file.
12274 * config/s390/32/_fixsfdi.c: New file.
12275 * config/s390/32/_fixtfdi.c: New file.
12276 * config/s390/32/_fixunsdfdi.c: New file.
12277 * config/s390/32/_fixunssfdi.c: New file.
12278 * config/s390/32/_fixunstfdi.c: New file.
12279 * config/s390/32/t-floattodi: New file.
12280 * config/s390/libgcc-glibc.ver: New file.
12281 * config/s390/t-crtstuff: New file.
12282 * config/s390/t-linux: New file.
12283 * config/s390/t-tpf: New file.
12285 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12287 * configure.ac (AC_PREREQ): Bump to 2.64.
12289 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
12291 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
12293 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12295 * configure: Regenerate.
12297 2009-08-09 Douglas B Rupp <rupp@gnat.com>
12299 * config.host (ia64-hp-*vms*): New target.
12300 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
12301 with ia64-hp-*vms*.
12303 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12305 * configure.ac: Add snippet for maintainer-mode.
12306 * configure: Regenerate.
12307 * Makefile.in (AUTOCONF, configure_deps): New variables.
12308 ($(srcdir)/configure)): New rule, active only with maintainer
12311 2009-06-23 DJ Delorie <dj@redhat.com>
12314 * config.host: Add mep support.
12316 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
12318 * config.host: Add i386/${host_address}/t-fprules-softfp and
12319 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
12321 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
12323 * config/i386/64/_multc3.c: Likewise.
12324 * config/i386/64/_powitf2.c: Likewise.
12325 * config/i386/64/eqtf2.c: Likewise.
12326 * config/i386/64/getf2.c: Likewise.
12327 * config/i386/64/letf2.c: Likewise.
12328 * config/i386/64/letf2.c: Likewise.
12329 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
12330 unsigned long long for x64 mingw targets.
12331 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
12332 (_FP_I_TYPE): Define as long long for x64 mingw target.
12334 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
12336 * config.host (vax-*-linux*): New.
12338 2009-05-31 Anthony Green <green@moxielogic.com>
12340 * config.host: Add moxie support.
12341 * config/moxie/t-moxie: New file.
12343 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
12345 * config.host: Add i386/${host_address}/t-fprules-softfp and
12346 t-softfp to tmake_file for i[34567]86-*-cygwin*.
12348 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
12350 * config.host: Add i386/${host_address}/t-fprules-softfp to
12351 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
12353 2009-04-09 Nick Clifton <nickc@redhat.com>
12355 * config/ia64/tf-signs.c: Change copyright header to refer to
12356 version 3 of the GNU General Public License with version 3.1
12357 of the GCC Runtime Library Exception and to point readers at
12358 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
12360 * config/i386/32/tf-signs.c: Likewise.
12361 * config/libbid/_addsub_dd.c: Likewise.
12362 * config/libbid/_addsub_sd.c: Likewise.
12363 * config/libbid/_addsub_td.c: Likewise.
12364 * config/libbid/_dd_to_df.c: Likewise.
12365 * config/libbid/_dd_to_di.c: Likewise.
12366 * config/libbid/_dd_to_sd.c: Likewise.
12367 * config/libbid/_dd_to_sf.c: Likewise.
12368 * config/libbid/_dd_to_si.c: Likewise.
12369 * config/libbid/_dd_to_td.c: Likewise.
12370 * config/libbid/_dd_to_tf.c: Likewise.
12371 * config/libbid/_dd_to_udi.c: Likewise.
12372 * config/libbid/_dd_to_usi.c: Likewise.
12373 * config/libbid/_dd_to_xf.c: Likewise.
12374 * config/libbid/_df_to_dd.c: Likewise.
12375 * config/libbid/_df_to_sd.c: Likewise.
12376 * config/libbid/_df_to_td.c: Likewise.
12377 * config/libbid/_di_to_dd.c: Likewise.
12378 * config/libbid/_di_to_sd.c: Likewise.
12379 * config/libbid/_di_to_td.c: Likewise.
12380 * config/libbid/_div_dd.c: Likewise.
12381 * config/libbid/_div_sd.c: Likewise.
12382 * config/libbid/_div_td.c: Likewise.
12383 * config/libbid/_eq_dd.c: Likewise.
12384 * config/libbid/_eq_sd.c: Likewise.
12385 * config/libbid/_eq_td.c: Likewise.
12386 * config/libbid/_ge_dd.c: Likewise.
12387 * config/libbid/_ge_sd.c: Likewise.
12388 * config/libbid/_ge_td.c: Likewise.
12389 * config/libbid/_gt_dd.c: Likewise.
12390 * config/libbid/_gt_sd.c: Likewise.
12391 * config/libbid/_gt_td.c: Likewise.
12392 * config/libbid/_isinfd128.c: Likewise.
12393 * config/libbid/_isinfd32.c: Likewise.
12394 * config/libbid/_isinfd64.c: Likewise.
12395 * config/libbid/_le_dd.c: Likewise.
12396 * config/libbid/_le_sd.c: Likewise.
12397 * config/libbid/_le_td.c: Likewise.
12398 * config/libbid/_lt_dd.c: Likewise.
12399 * config/libbid/_lt_sd.c: Likewise.
12400 * config/libbid/_lt_td.c: Likewise.
12401 * config/libbid/_mul_dd.c: Likewise.
12402 * config/libbid/_mul_sd.c: Likewise.
12403 * config/libbid/_mul_td.c: Likewise.
12404 * config/libbid/_ne_dd.c: Likewise.
12405 * config/libbid/_ne_sd.c: Likewise.
12406 * config/libbid/_ne_td.c: Likewise.
12407 * config/libbid/_sd_to_dd.c: Likewise.
12408 * config/libbid/_sd_to_df.c: Likewise.
12409 * config/libbid/_sd_to_di.c: Likewise.
12410 * config/libbid/_sd_to_sf.c: Likewise.
12411 * config/libbid/_sd_to_si.c: Likewise.
12412 * config/libbid/_sd_to_td.c: Likewise.
12413 * config/libbid/_sd_to_tf.c: Likewise.
12414 * config/libbid/_sd_to_udi.c: Likewise.
12415 * config/libbid/_sd_to_usi.c: Likewise.
12416 * config/libbid/_sd_to_xf.c: Likewise.
12417 * config/libbid/_sf_to_dd.c: Likewise.
12418 * config/libbid/_sf_to_sd.c: Likewise.
12419 * config/libbid/_sf_to_td.c: Likewise.
12420 * config/libbid/_si_to_dd.c: Likewise.
12421 * config/libbid/_si_to_sd.c: Likewise.
12422 * config/libbid/_si_to_td.c: Likewise.
12423 * config/libbid/_td_to_dd.c: Likewise.
12424 * config/libbid/_td_to_df.c: Likewise.
12425 * config/libbid/_td_to_di.c: Likewise.
12426 * config/libbid/_td_to_sd.c: Likewise.
12427 * config/libbid/_td_to_sf.c: Likewise.
12428 * config/libbid/_td_to_si.c: Likewise.
12429 * config/libbid/_td_to_tf.c: Likewise.
12430 * config/libbid/_td_to_udi.c: Likewise.
12431 * config/libbid/_td_to_usi.c: Likewise.
12432 * config/libbid/_td_to_xf.c: Likewise.
12433 * config/libbid/_tf_to_dd.c: Likewise.
12434 * config/libbid/_tf_to_sd.c: Likewise.
12435 * config/libbid/_tf_to_td.c: Likewise.
12436 * config/libbid/_udi_to_dd.c: Likewise.
12437 * config/libbid/_udi_to_sd.c: Likewise.
12438 * config/libbid/_udi_to_td.c: Likewise.
12439 * config/libbid/_unord_dd.c: Likewise.
12440 * config/libbid/_unord_sd.c: Likewise.
12441 * config/libbid/_unord_td.c: Likewise.
12442 * config/libbid/_usi_to_dd.c: Likewise.
12443 * config/libbid/_usi_to_sd.c: Likewise.
12444 * config/libbid/_usi_to_td.c: Likewise.
12445 * config/libbid/_xf_to_dd.c: Likewise.
12446 * config/libbid/_xf_to_sd.c: Likewise.
12447 * config/libbid/_xf_to_td.c: Likewise.
12448 * config/libbid/bid128.c: Likewise.
12449 * config/libbid/bid128_2_str.h: Likewise.
12450 * config/libbid/bid128_2_str_macros.h: Likewise.
12451 * config/libbid/bid128_2_str_tables.c: Likewise.
12452 * config/libbid/bid128_add.c: Likewise.
12453 * config/libbid/bid128_compare.c: Likewise.
12454 * config/libbid/bid128_div.c: Likewise.
12455 * config/libbid/bid128_fma.c: Likewise.
12456 * config/libbid/bid128_logb.c: Likewise.
12457 * config/libbid/bid128_minmax.c: Likewise.
12458 * config/libbid/bid128_mul.c: Likewise.
12459 * config/libbid/bid128_next.c: Likewise.
12460 * config/libbid/bid128_noncomp.c: Likewise.
12461 * config/libbid/bid128_quantize.c: Likewise.
12462 * config/libbid/bid128_rem.c: Likewise.
12463 * config/libbid/bid128_round_integral.c: Likewise.
12464 * config/libbid/bid128_scalb.c: Likewise.
12465 * config/libbid/bid128_sqrt.c: Likewise.
12466 * config/libbid/bid128_string.c: Likewise.
12467 * config/libbid/bid128_to_int16.c: Likewise.
12468 * config/libbid/bid128_to_int32.c: Likewise.
12469 * config/libbid/bid128_to_int64.c: Likewise.
12470 * config/libbid/bid128_to_int8.c: Likewise.
12471 * config/libbid/bid128_to_uint16.c: Likewise.
12472 * config/libbid/bid128_to_uint32.c: Likewise.
12473 * config/libbid/bid128_to_uint64.c: Likewise.
12474 * config/libbid/bid128_to_uint8.c: Likewise.
12475 * config/libbid/bid32_to_bid128.c: Likewise.
12476 * config/libbid/bid32_to_bid64.c: Likewise.
12477 * config/libbid/bid64_add.c: Likewise.
12478 * config/libbid/bid64_compare.c: Likewise.
12479 * config/libbid/bid64_div.c: Likewise.
12480 * config/libbid/bid64_fma.c: Likewise.
12481 * config/libbid/bid64_logb.c: Likewise.
12482 * config/libbid/bid64_minmax.c: Likewise.
12483 * config/libbid/bid64_mul.c: Likewise.
12484 * config/libbid/bid64_next.c: Likewise.
12485 * config/libbid/bid64_noncomp.c: Likewise.
12486 * config/libbid/bid64_quantize.c: Likewise.
12487 * config/libbid/bid64_rem.c: Likewise.
12488 * config/libbid/bid64_round_integral.c: Likewise.
12489 * config/libbid/bid64_scalb.c: Likewise.
12490 * config/libbid/bid64_sqrt.c: Likewise.
12491 * config/libbid/bid64_string.c: Likewise.
12492 * config/libbid/bid64_to_bid128.c: Likewise.
12493 * config/libbid/bid64_to_int16.c: Likewise.
12494 * config/libbid/bid64_to_int32.c: Likewise.
12495 * config/libbid/bid64_to_int64.c: Likewise.
12496 * config/libbid/bid64_to_int8.c: Likewise.
12497 * config/libbid/bid64_to_uint16.c: Likewise.
12498 * config/libbid/bid64_to_uint32.c: Likewise.
12499 * config/libbid/bid64_to_uint64.c: Likewise.
12500 * config/libbid/bid64_to_uint8.c: Likewise.
12501 * config/libbid/bid_b2d.h: Likewise.
12502 * config/libbid/bid_binarydecimal.c: Likewise.
12503 * config/libbid/bid_conf.h: Likewise.
12504 * config/libbid/bid_convert_data.c: Likewise.
12505 * config/libbid/bid_decimal_data.c: Likewise.
12506 * config/libbid/bid_decimal_globals.c: Likewise.
12507 * config/libbid/bid_div_macros.h: Likewise.
12508 * config/libbid/bid_dpd.c: Likewise.
12509 * config/libbid/bid_flag_operations.c: Likewise.
12510 * config/libbid/bid_from_int.c: Likewise.
12511 * config/libbid/bid_functions.h: Likewise.
12512 * config/libbid/bid_gcc_intrinsics.h: Likewise.
12513 * config/libbid/bid_inline_add.h: Likewise.
12514 * config/libbid/bid_internal.h: Likewise.
12515 * config/libbid/bid_round.c: Likewise.
12516 * config/libbid/bid_sqrt_macros.h: Likewise.
12518 2009-04-09 Jakub Jelinek <jakub@redhat.com>
12520 * Makefile.in: Change copyright header to refer to version
12521 3 of the GNU General Public License and to point readers at the
12522 COPYING3 file and the FSF's license web page.
12523 * config.host: Likewise.
12525 2009-04-07 Alan Modra <amodra@bigpond.net.au>
12527 * config.host: Reorder and merge to match config.gcc change.
12529 2009-04-03 Alan Modra <amodra@bigpond.net.au>
12531 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
12533 2009-03-28 Joseph Myers <joseph@codesourcery.com>
12535 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
12536 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
12537 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
12538 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
12540 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
12542 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
12543 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12545 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
12547 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
12548 ia64/t-softfp-compat to tmake_file.
12550 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
12552 * config/ia64/__divxf3.asm: New.
12553 * config/ia64/_fixtfdi.asm: Likewise.
12554 * config/ia64/_fixunstfdi.asm: Likewise.
12555 * config/ia64/_floatditf.asm: Likewise.
12556 * config/ia64/t-fprules-softfp: Likewise.
12557 * config/ia64/t-softfp-compat: Likewise.
12558 * config/ia64/tf-signs.c: Likewise.
12560 2009-01-18 Ben Elliston <bje@au.ibm.com>
12562 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12564 2009-01-16 Ben Elliston <bje@au.ibm.com>
12566 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
12569 2009-01-13 Ben Elliston <bje@au.ibm.com>
12571 * config/t-softfp: New file.
12572 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
12573 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
12575 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
12577 * config.host: Add m32r*-*-rtems*.
12579 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
12581 * config.host: Add m32c*-*-rtems*.
12583 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12586 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
12587 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
12588 * configure: Regenerate.
12589 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
12590 tmake_file here from gcc/config.gcc.
12591 Move extra_parts here from gcc/config.gcc.
12592 * config/i386/t-sol2: Move here from gcc/config/i386.
12593 Use gcc_srcdir instead of srcdir.
12595 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
12597 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
12600 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
12602 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
12604 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
12606 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
12608 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
12611 * config.host: Add picochip-*-*.
12613 2008-08-06 Bob Wilson <bob.wilson@acm.org>
12615 * config.host: Match more processor names for Xtensa.
12617 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
12619 * config/i386/64/t-softfp-compat: Update comments.
12621 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
12623 * config/i386/64/_divtc3-compat.c: Moved to ...
12624 * config/i386/64/_divtc3.c: Here.
12626 * config/i386/64/_multc3-compat.c: Moved to ...
12627 * config/i386/64/_multc3.c: Here.
12629 * config/i386/64/_powitf2-compat.c: Moved to ...
12630 * config/i386/64/_powitf2.c: Here.
12632 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
12633 .c suffix instead of -compat.c.
12635 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
12637 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
12638 (_FP_MUL_MEAT_D): Ditto.
12639 (_FP_DIV_MEAT_S): Ditto.
12640 (_FP_DIV_MEAT_D): Ditto.
12642 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
12644 * Makefile.in: Add support for __sync_* libgcc functions.
12646 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
12648 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
12650 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12653 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
12654 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
12656 * config/i386/64/t-fprules-softfp: Moved to ...
12657 * config/i386/64/t-softfp-compat: This. New.
12659 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
12661 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
12662 Initialize f with 0.0.
12664 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12667 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
12669 * config/i386/64/_divtc3-compat.c: New.
12670 * config/i386/64/_multc3-compat.c: Likewise.
12671 * config/i386/64/_powitf2-compat.c: Likewise.
12672 * config/i386/64/eqtf2.c: Likewise.
12673 * config/i386/64/getf2.c: Likewise.
12674 * config/i386/64/letf2.c: Likewise.
12675 * config/i386/64/t-fprules-softfp: Likewise.
12677 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12679 * config.host: Add i386/${host_address}/t-fprules-softfp to
12680 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
12681 i[34567]86-*-linux*, x86_64-*-linux*.
12683 * configure.ac: Set host_address to 64 or 32 for x86.
12684 * configure: Regenerated.
12686 * Makefile.in (config.status): Also depend on
12687 $(srcdir)/config.host.
12689 * config/i386/32/t-fprules-softfp: New.
12690 * config/i386/32/tf-signs.c: Likewise.
12692 * config/i386/64/sfp-machine.h: New. Moved from gcc.
12694 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12695 Uros Bizjak <ubizjak@gmail.com>
12697 * config/i386/32/sfp-machine.h: New.
12699 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
12701 * config/rs6000/t-ppccomm: Remove rules that conflict with
12702 auto-generated rules.
12704 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12706 * configure.ac: sinclude override.m4.
12707 * configure: Regenerate.
12709 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
12711 * configure: Regenerate.
12713 2008-06-10 Joseph Myers <joseph@codesourcery.com>
12715 * Makefile.in (DECNUMINC): Remove
12716 -I$(MULTIBUILDTOP)../../libdecnumber.
12719 2008-06-07 Joseph Myers <joseph@codesourcery.com>
12721 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
12722 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
12723 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
12724 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
12725 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
12726 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
12727 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
12728 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
12729 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
12730 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
12731 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
12732 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
12733 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
12734 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
12736 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
12738 * config.host (sh2[lbe]*-*-linux*): Allow target.
12740 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
12742 * config/rs6000/t-ppccomm: Add build rules for new files.
12743 (LIB2ADD_ST): New variable.
12745 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
12749 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
12750 * config/t-avr: New file. Build 16bit libgcc functions.
12752 2008-03-02 Jakub Jelinek <jakub@redhat.com>
12755 * config/t-slibgcc-darwin: Make install-leaf dependent on
12756 install-darwin-libgcc-stubs instead of install.
12758 2008-01-25 Joseph Myers <joseph@codesourcery.com>
12760 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
12761 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
12762 sh-*-rtemscoff*): Remove cases.
12764 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
12766 * Makefile.in (all): Use install-leaf rather than install.
12767 (install): Split most of the rule into...
12768 (install-leaf): ...this new one.
12770 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
12771 Paolo Bonzini <bonzini@gnu.org>
12774 * Makefile.in: Use @shlib_slibdir@ substitution to get
12775 correct install name on darwin.
12776 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
12778 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
12780 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
12781 cris-*-elf and cris-*-none.
12782 (crisv32-*-linux*): Similar, as cris-*-linux*.
12784 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
12786 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
12788 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
12790 PR regression/33926
12791 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
12792 * configure: Regenerated.
12794 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
12796 * Makefile.in (dfp-filenames): Replace decimal_globals,
12797 decimal_data, binarydecimal and convert_data with
12798 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
12799 and bid_convert_data, respectively.
12801 2007-09-17 Chao-ying Fu <fu@mips.com>
12802 Nigel Stephens <nigel@mips.com>
12804 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
12805 * Makefile.in (fixed_point): Define.
12806 Check if fixed_point is yes to build support functions.
12807 * configure.ac: Check for fixed_point support.
12808 * configure: Regenerated.
12809 * gen-fixed.sh: New file to generate lists of fixed-point labels,
12810 funcs, modes, from, to.
12812 2007-09-11 Janis Johnson <janis187@us.ibm.com
12814 * Makefile.in (dfp-filenames): Add bid128_noncomp.
12816 2007-09-10 Janis Johnson <janis187@us.ibm.com>
12818 * Makefile.in (dfp-filenames): Remove decUtility, add
12819 decDouble, decPacked, decQuad, decSingle.
12821 2007-08-27 Hans Kester <hans.kester@ellips.nl>
12823 * config.host : Add x86_64-elf target.
12825 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
12827 * configure.ac (set_have_cc_tls): Add a missing =.
12828 * configure: Regenerated.
12830 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
12832 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
12833 and x86_64-*-linux*.
12835 * config/t-tls: New file.
12837 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
12839 * configure.ac: Include ../config/enable.m4 and
12840 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
12841 supports TLS and substitute set_have_cc_tls.
12842 * configure: Regenerated.
12844 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
12846 * Makefile.in: Use libbid for DFP when BID is enabled.
12848 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
12850 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
12851 extra_parts. Add config/i386/t-cygming to tmake_file.
12852 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
12854 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
12855 Danny Smith <dannysmith@users.sourceforge.net>
12858 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
12859 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
12860 * config/i386/t-crtfm: Compile crtfastmath.o with
12861 -minline-all-stringops.
12863 2007-05-10 Richard Sandiford <richard@codesourcery.com>
12865 * config.host (sparc-wrs-vxworks): New target.
12867 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
12869 * config.host: Recognize fido.
12871 2007-04-04 Janis Johnson <janis187@us.ibm.com>
12873 * configure: Check host, not target, for decimal float support.
12875 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
12877 * config/i386/t-crtpc: New file.
12878 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
12879 (x86_64-*-linux*): Ditto.
12881 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
12883 * config.host (x86_64-*-mingw*): New target.
12885 2007-03-23 Michael Meissner <michael.meissner@amd.com>
12886 H.J. Lu <hongjiu.lu@intel.com>
12888 * Makefile.in (enable_decimal_float): New.
12890 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
12891 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
12892 (decbits-filenames): This.
12893 (decbits-objects): New.
12894 (libgcc-objects): Add $(decbits-objects).
12896 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
12897 Substitute enable_decimal_float.
12898 * configure: Regenerated.
12900 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
12902 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
12904 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
12906 * Makefile.in (install-info): New dummy target.
12908 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
12910 * config.host (bfin*-linux-uclibc*): Set extra_parts.
12912 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
12914 * Makefile.in: Add install-html and install-pdf dummy
12917 2007-02-05 Roger Sayle <roger@eyesopen.com>
12918 Daniel Jacobowitz <dan@codesourcery.com>
12920 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
12921 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
12922 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
12924 2007-01-29 Janis Johnson <janis187@us.ibm.com>
12926 * Makefile.in (dec-filenames): Add decExcept.
12928 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
12931 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
12934 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
12936 * configure.ac: Add --enable-version-specific-runtime-libs.
12937 Correct $slibdir default.
12938 * configure: Regenerated.
12940 2007-01-23 Joseph Myers <joseph@codesourcery.com>
12942 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
12944 2007-01-21 Andrew Pinski <pinskia@gmail.com>
12947 * config.host (alpha*-*-linux*): Set extra_parts.
12949 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
12951 * config/sh/t-linux: New.
12952 * config.host (sh*-*-linux*): Set tmake_file.
12954 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
12956 * Makefile.in (install): Handle multilibs.
12958 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12960 * Makefile.in: Added .PHONY entry for documentation targets.
12962 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12964 * Makefile.in: Add empty info, html, dvi, pdf targets.
12966 2007-01-04 Mike Stump <mrs@apple.com>
12968 * Makefile.in (MAKEINFO): Remove.
12971 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
12973 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
12974 * configure: Regenerate.
12975 * Makefile.in (host_subdir): Substitute it.
12976 (gcc_objdir): Use it.
12978 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12980 * config.host (ia64*-*-linux*): Set tmake_file.
12982 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12984 * Makefile.in (version): Define.
12986 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12987 Paolo Bonzini <bonzini@gnu.org>
12989 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
12990 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
12991 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
12992 config/sparc/t-crtfm, config/t-slibgcc-darwin,
12993 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
12994 shared-object.mk, siditi-object.mk, static-object.mk: New files.
12995 * configure: Generated.
12997 Copyright (C) 2007-2023 Free Software Foundation, Inc.
12999 Copying and distribution of this file, with or without modification,
13000 are permitted in any medium without royalty provided the copyright
13001 notice and this notice are preserved.