1 2023-11-10 Keith Packard <keithp@keithp.com>
3 * config/m68k/lb1sf68.S (__adddf3): Properly check for non-zero denorm.
4 (__divdf3): Restore sign bit properly.
5 (__addsf3): Correct exponent check.
6 * config/m68k/fpgnulib.c (EXPMASK): Define.
7 (__extendsfdf2): Handle Inf and NaN properly.
8 (__truncdfsf2): Handle underflow and overflow correctly.
9 (__extenddfxf2): Handle underflow, denorms, Inf and NaN correctly.
10 (__truncxfdf2): Handle underflow and denorms correctly.
11 (__fixxfsi): Reimplement.
13 2023-11-09 Jakub Jelinek <jakub@redhat.com>
16 * config/t-softfp (softfp_bid_list): Add
17 {U,}TItype <-> _Decimal{32,64,128} conversions.
18 * soft-fp/floattisd.c: New file.
19 * soft-fp/floattidd.c: New file.
20 * soft-fp/floattitd.c: New file.
21 * soft-fp/floatuntisd.c: New file.
22 * soft-fp/floatuntidd.c: New file.
23 * soft-fp/floatuntitd.c: New file.
24 * soft-fp/fixsdti.c: New file.
25 * soft-fp/fixddti.c: New file.
26 * soft-fp/fixtdti.c: New file.
27 * soft-fp/fixunssdti.c: New file.
28 * soft-fp/fixunsddti.c: New file.
29 * soft-fp/fixunstdti.c: New file.
31 2023-11-07 Kwok Cheung Yeung <kcy@codesourcery.com>
33 * offloadstuff.c (OFFLOAD_IND_FUNC_TABLE_SECTION_NAME): New.
34 (__offload_ind_func_table): New.
35 (__offload_ind_funcs_end): New.
36 (__OFFLOAD_TABLE__): Add entries for indirect functions.
38 2023-11-03 Thomas Schwinge <thomas@codesourcery.com>
40 * config/gcn/gthr-gcn.h (__gthread_getspecific): 's%NULL%0'.
42 2023-10-31 Alexandre Oliva <oliva@adacore.com>
44 * hardcfr.c: Adjust copyright year.
46 2023-10-24 Sergei Trofimovich <siarheit@google.com>
48 * config/aarch64/heap-trampoline.c: Disable when libc is not
50 * config/i386/heap-trampoline.c: Ditto.
52 2023-10-22 Iain Sandoe <iain@sandoe.co.uk>
54 * config/t-slibgcc-darwin: Generate libgcc_s
56 * config.host: Handle Darwin rpaths.
57 * config/t-darwin-rpath: New file.
59 2023-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
60 Maxim Blinov <maxim.blinov@embecosm.com>
61 Iain Sandoe <iain@sandoe.co.uk>
62 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
64 * libgcc2.h (__builtin_nested_func_ptr_created): Declare.
65 (__builtin_nested_func_ptr_deleted): Declare.
66 * libgcc-std.ver.in: Add the new symbols.
67 * config/aarch64/heap-trampoline.c: Implement heap-based
68 trampolines for aarch64.
69 * config/aarch64/t-heap-trampoline: Add rule to build
70 config/aarch64/heap-trampoline.c
71 * config/i386/heap-trampoline.c: Implement heap-based
72 trampolines for x86_64.
73 * config/i386/t-heap-trampoline: Add rule to build
74 config/i386/heap-trampoline.cc
75 * config.host: Handle --enable-heap-trampolines on
76 x86_64-*-linux*, aarch64-*-linux*, x86_64-*-darwin*.
78 2023-10-20 Andrew Stubbs <ams@codesourcery.com>
80 * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Set false for __RDNA2__.
82 2023-10-20 Alexandre Oliva <oliva@adacore.com>
84 * Makefile.in (LIB2ADD): Add hardcfr.c.
87 2023-10-13 Florian Weimer <fweimer@redhat.com>
89 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Add
92 2023-10-13 Florian Weimer <fweimer@redhat.com>
94 * config/arc/linux-unwind.h (arc_fallback_frame_state): Add
97 2023-10-13 Florian Weimer <fweimer@redhat.com>
99 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Add
102 2023-10-13 Florian Weimer <fweimer@redhat.com>
104 * config/csky/linux-unwind.h (csky_fallback_frame_state): Add
107 2023-10-13 Florian Weimer <fweimer@redhat.com>
109 * config/m68k/fpgnulib.c (__cmpdf2): Declare.
111 2023-09-26 Wilco Dijkstra <wilco.dijkstra@arm.com>
113 * config/aarch64/lse.S (BTI_C): Remove define.
115 2023-09-20 Pekka Seppänen <pexu@gcc.mail.kapsi.fi>
117 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key):
118 Use const unsigned type and a builtin.
120 2023-09-06 Jakub Jelinek <jakub@redhat.com>
123 * libgcc2.c (bitint_negate): Add function comment.
124 * soft-fp/bitint.h (bitint_negate): Add function comment.
125 (FP_TO_BITINT, FP_FROM_BITINT): Add comment explaining the macros.
127 2023-09-06 Jakub Jelinek <jakub@redhat.com>
130 * config/aarch64/t-softfp (softfp_extras): Use += rather than :=.
131 * config/i386/64/t-softfp (softfp_extras): Likewise.
132 * config/i386/libgcc-glibc.ver (GCC_14.0.0): Export _BitInt support
134 * config/i386/t-softfp (softfp_extras): Add fixxfbitint and
135 bf, hf and xf mode floatbitint.
136 (CFLAGS-floatbitintbf.c, CFLAGS-floatbitinthf.c): Add -msse2.
137 * config/riscv/t-softfp32 (softfp_extras): Use += rather than :=.
138 * config/rs6000/t-e500v1-fp (softfp_extras): Likewise.
139 * config/rs6000/t-e500v2-fp (softfp_extras): Likewise.
140 * config/t-softfp (softfp_floatbitint_funcs): New.
141 (softfp_bid_list): New.
142 (softfp_func_list): Add sf and df mode from and to _BitInt libcalls.
143 (softfp_bid_file_list): New.
144 (LIB2ADD_ST): Add $(softfp_bid_file_list).
145 * config/t-softfp-sfdftf (softfp_extras): Add fixtfbitint and
147 * config/t-softfp-tf (softfp_extras): Likewise.
148 * libgcc2.c (bitint_reduce_prec): New inline function.
149 (BITINT_INC, BITINT_END): Define.
150 (bitint_mul_1, bitint_addmul_1): New helper functions.
151 (__mulbitint3): New function.
152 (bitint_negate, bitint_submul_1): New helper functions.
153 (__divmodbitint4): New function.
154 * libgcc2.h (LIBGCC2_UNITS_PER_WORD): When building _BitInt support
155 libcalls, redefine depending on __LIBGCC_BITINT_LIMB_WIDTH__.
156 (__mulbitint3, __divmodbitint4): Declare.
157 * libgcc-std.ver.in (GCC_14.0.0): Export _BitInt support routines.
158 * Makefile.in (lib2funcs): Add _mulbitint3.
159 (LIB2_DIVMOD_FUNCS): Add _divmodbitint4.
160 * soft-fp/bitint.h: New file.
161 * soft-fp/fixdfbitint.c: New file.
162 * soft-fp/fixsfbitint.c: New file.
163 * soft-fp/fixtfbitint.c: New file.
164 * soft-fp/fixxfbitint.c: New file.
165 * soft-fp/floatbitintbf.c: New file.
166 * soft-fp/floatbitintdf.c: New file.
167 * soft-fp/floatbitinthf.c: New file.
168 * soft-fp/floatbitintsf.c: New file.
169 * soft-fp/floatbitinttf.c: New file.
170 * soft-fp/floatbitintxf.c: New file.
171 * soft-fp/op-common.h (_FP_FROM_INT): Add support for rsize up to
172 4 * _FP_W_TYPE_SIZE rather than just 2 * _FP_W_TYPE_SIZE.
173 * soft-fp/bitintpow10.c: New file.
174 * soft-fp/fixsdbitint.c: New file.
175 * soft-fp/fixddbitint.c: New file.
176 * soft-fp/fixtdbitint.c: New file.
177 * soft-fp/floatbitintsd.c: New file.
178 * soft-fp/floatbitintdd.c: New file.
179 * soft-fp/floatbitinttd.c: New file.
181 2023-09-06 Jakub Jelinek <jakub@redhat.com>
184 * soft-fp/bitintpow10.h: New file.
186 2023-09-05 Yang Yujie <yangyujie@loongson.cn>
188 * config.host: add loongarch*-elf target.
190 2023-08-11 Thomas Neumann <thomas.neumann@in.tum.de>
193 * unwind-dw2-fde.c: Associate object with address of unwinding
196 2023-08-07 John Ericson <git@JohnEricson.me>
198 * configure: Regenerate.
200 2023-08-07 Alan Modra <amodra@gmail.com>
202 * configure: Regenerate.
204 2023-07-23 Andrew Pinski <apinski@marvell.com>
206 * config.host (riscv*-*-linux*): Add t-crtstuff to tmake_file.
207 (riscv*-*-freebsd*): Likewise.
208 * config/riscv/t-crtstuff: New file.
210 2023-07-19 liuhongt <hongtao.liu@intel.com>
212 * config/i386/t-softfp: Add -msse2 to libbid HFtype related
215 2023-07-11 Florian Weimer <fweimer@redhat.com>
218 * unwind-dw2-fde-dip.c (find_fde_tail): Add cast to avoid
219 implicit conversion of pointer value to integer.
221 2023-07-06 Kito Cheng <kito.cheng@sifive.com>
223 * config/riscv/sfp-machine.h (FP_INIT_ROUNDMODE): Check zfinx.
224 (FP_HANDLE_EXCEPTIONS): Ditto.
226 2023-06-19 Andrew Stubbs <ams@codesourcery.com>
228 * config/gcn/lib2-divmod-di.c: Reimplement like lib2-divmod.c.
229 * config/gcn/lib2-divmod.c: Likewise.
230 * config/gcn/lib2-gcn.h: Add new types and prototypes for all the
232 * config/gcn/t-amdgcn: Add new files.
233 * config/gcn/amdgcn_veclib.h: New file.
234 * config/gcn/lib2-vec_divmod-di.c: New file.
235 * config/gcn/lib2-vec_divmod-hi.c: New file.
236 * config/gcn/lib2-vec_divmod-qi.c: New file.
237 * config/gcn/lib2-vec_divmod.c: New file.
239 2023-06-19 Andrew Stubbs <ams@codesourcery.com>
241 * config/gcn/lib2-gcn.h (QItype, UQItype, HItype, UHItype): Delete.
242 (__divhi3, __modhi3, __udivhi3, __umodhi3): Delete.
243 * config/gcn/t-amdgcn: Don't build lib2-divmod-hi.c.
244 * config/gcn/lib2-divmod-hi.c: Removed.
246 2023-06-07 Florian Weimer <fweimer@redhat.com>
249 * unwind-dw2-fde-dip.c (find_fde_tail): Correct fast path for
252 2023-06-05 Kewen Lin <linkw@linux.ibm.com>
254 * config/i386/morestack.S: Use @init_array rather than
255 @progbits for section type of section .init_array.
256 * config/rs6000/morestack.S: Likewise.
257 * config/s390/morestack.S: Likewise.
259 2023-06-05 YunQiang Su <yunqiang.su@cipunited.com>
261 * config/mips/lib1funcs.S: New file.
262 define __speculation_barrier and include mips16.S.
263 * config/mips/t-mips: define LIB1ASMSRC as mips/lib1funcs.S.
264 define LIB1ASMFUNCS as _speculation_barrier.
265 set version info for __speculation_barrier.
266 * config/mips/libgcc-mips.ver: New file.
267 * config/mips/t-mips16: don't define LIB1ASMSRC as mips16.S
268 included in lib1funcs.S now.
270 2023-06-03 Thomas Neumann <tneumann@users.sourceforge.net>
273 * unwind-dw2-fde.c: Fix radix sort buffer management.
275 2023-06-03 Thomas Neumann <tneumann@users.sourceforge.net>
278 * unwind-dw2-fde.c: Free sort array in atomic fast path.
280 2023-05-19 Iain Sandoe <iain@sandoe.co.uk>
282 * config.host: Arrange to set min Darwin OS versions from
283 the configured host version.
284 * config/darwin10-unwind-find-enc-func.c: Do not use current
285 headers, but declare the nexessary structures locally to the
286 versions in use for Mac OSX 10.6.
287 * config/t-darwin: Amend to handle configured min OS
289 * config/t-darwin-min-1: New.
290 * config/t-darwin-min-5: New.
291 * config/t-darwin-min-8: New.
293 2023-05-15 Thomas Neumann <tneumann@users.sourceforge.net>
295 * unwind-dw2-fde.c: Fix assert in non-atomic path.
297 2023-05-15 Sören Tempel <soeren+git@soeren-tempel.net>
299 * unwind-dw2-fde.c: Accept empty ranges when deregistering frames.
301 2023-05-02 Patrick O'Neill <patrick@rivosinc.com>
303 * config/riscv/atomic.c: Change LR.aq/SC.rl pairs into
304 sequentially consistent LR.aqrl/SC.rl pairs.
306 2023-05-01 Dimitar Dimitrov <dimitar@dinux.eu>
308 * config/pru/t-pru (HOST_LIBGCC2_CFLAGS): Add
309 -DTARGET_HAS_NO_HW_DIVIDE.
311 2023-04-27 Hans-Peter Nilsson <hp@axis.com>
313 * config/cris/t-cris (HOST_LIBGCC2_CFLAGS): Add
314 -DTARGET_HAS_NO_HW_DIVIDE.
316 2023-04-26 Patrick O'Neill <patrick@rivosinc.com>
319 * config/riscv/atomic.c: Add reference to duplicate logic.
321 2023-04-08 Tetsuma Hoshino <t-hoshino@pony-e.jp>
324 * config/v850/lib1funcs.S (___muldi3): Remove unnecessary
327 2023-04-05 John David Anglin <danglin@gcc.gnu.org>
330 * config/pa/milli64.S (RETURN_COLUMN): Define.
331 ($$divI): Add CFI directives.
336 2023-03-19 Stafford Horne <shorne@gmail.com>
338 * config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
339 statement clearing existing exceptions.
341 2023-03-13 Max Filippov <jcmvbkbc@gmail.com>
343 * config/xtensa/crti.S: Add .note.GNU-stack section on linux.
344 * config/xtensa/crtn.S: Likewise.
345 * config/xtensa/lib1funcs.S: Likewise.
346 * config/xtensa/lib2funcs.S: Likewise.
348 2023-03-12 Jakub Jelinek <jakub@redhat.com>
350 * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
351 (softfp_truncations): Add tfbf dfbf sfbf hfbf.
352 (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
353 * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
354 __extendbfsf2 and __trunc{s,d,t,h}fbf2.
355 * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
356 * soft-fp/floatundibf.c: New file.
357 * soft-fp/floatdibf.c: New file.
359 2023-03-10 Jakub Jelinek <jakub@redhat.com>
362 * soft-fp/floattibf.c: New file.
363 * soft-fp/floatuntibf.c: New file.
364 * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
365 * config/i386/64/t-softfp (softfp_extras): Add floattibf and
367 (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
369 2023-03-08 Kewen Lin <linkw@linux.ibm.com>
372 * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
375 2023-03-06 Michael Meissner <meissner@linux.ibm.com>
378 * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
379 whether long double is IBM or IEEE.
380 (INFINITY): Likewise.
382 * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
383 (INFINITY): Likewise.
384 * config/rs6000/quad-float128.h (TF): Remove definition.
385 (TFtype): Define to be long double or _Float128.
386 (TCtype): Define to be _Complex long double or _Complex _Float128.
387 * libgcc2.h (TFtype): Allow machine config files to override this.
389 * soft-fp/quad.h (TFtype): Likewise.
391 2023-02-13 Kito Cheng <kito.cheng@sifive.com>
393 * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
394 * config/riscv/value-unwind.h: New.
396 2023-02-03 Christophe Lyon <christophe.lyon@arm.com>
398 * config/arm/pr-support.c (__gnu_unwind_execute): Use
399 TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
401 2023-01-30 Flavio Cruz <flaviocruz@gmail.com>
403 * config.host: Recognize x86_64-*-gnu* targets.
404 * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
407 2023-01-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
409 * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
412 2023-01-23 Andrea Corallo <andrea.corallo@arm.com>
413 Tejas Belagod <tbelagod@arm.com>
414 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
416 * config/arm/pr-support.c (__gnu_unwind_execute): Decode
417 exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
419 * config/arm/unwind-arm.c (struct pseudo_regs): New.
420 (phase1_vrs): Introduce new field to store pseudo-reg state.
421 (phase2_vrs): Likewise.
422 (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
423 (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
424 (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
426 2023-01-18 Wilco Dijkstra <wilco.dijkstra@arm.com>
429 * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
430 * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
431 * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
432 encode the return address signing state.
433 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
434 Check current return address signing state.
435 (aarch64_frob_update_contex): Remove.
437 2023-01-13 John David Anglin <danglin@gcc.gnu.org>
439 * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
441 (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
442 instead of pa/t-hpux and pa/t-pa64.
443 * config/pa/linux-atomic.c: Define u32 type.
444 (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
445 atomic_load_2, atomic_load_4 and atomic_load_8. Update sync
446 defines to use atomic_load calls for type.
447 (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
448 * config/pa/sync-libfuncs.c: New file.
449 * config/pa/t-netbsd (LIB2ADD_ST): Define.
450 * config/pa/t-openbsd (LIB2ADD_ST): Define.
451 * config/pa/t-pa64-hpux: New file.
452 * config/pa/t-pa64-linux: New file.
454 2023-01-13 Jonathan Wakely <jwakely@redhat.com>
457 * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
458 struct matching the previous __gthread_mutex_t struct.
459 (__GTHREAD_LEGACY_MUTEX_T): Define.
461 2023-01-13 Seija Kijin <doremylover456@gmail.com>
463 * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
466 2023-01-07 LIU Hao <lh_mouse@126.com>
469 * config/i386/enable-execute-stack-mingw32.c: Define
470 `WIN32_LEAN_AND_MEAN` before <windows.h>.
471 * libgcc2.c: Likewise.
472 * unwind-generic.h: Likewise.
474 2023-01-03 Florian Weimer <fweimer@redhat.com>
476 * unwind-dw2-execute_cfa.h: New file. Extracted from
477 the execute_cfa_program function in unwind-dw2.c.
478 * unwind-dw2.c (execute_cfa_program_generic): New function.
479 (execute_cfa_program_specialized): Likewise.
480 (execute_cfa_program): Call execute_cfa_program_specialized
481 or execute_cfa_program_generic, as appropriate.
483 2023-01-03 Florian Weimer <fweimer@redhat.com>
486 2023-01-03 Florian Weimer <fweimer@redhat.com>
488 * unwind-dw2.c (dwarf_reg_size): New function.
489 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
490 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
491 (uw_init_context_1): Do not initialize dwarf_reg_size_table
494 2023-01-03 Florian Weimer <fweimer@redhat.com>
497 2023-01-03 Florian Weimer <fweimer@redhat.com>
499 * unwind-dw2-execute_cfa.h: New file. Extracted from
500 the execute_cfa_program function in unwind-dw2.c.
501 * unwind-dw2.c (execute_cfa_program_generic): New function.
502 (execute_cfa_program_specialized): Likewise.
503 (execute_cfa_program): Call execute_cfa_program_specialized
504 or execute_cfa_program_generic, as appropriate.
506 2023-01-02 Florian Weimer <fweimer@redhat.com>
508 * unwind-dw2-execute_cfa.h: New file. Extracted from
509 the execute_cfa_program function in unwind-dw2.c.
510 * unwind-dw2.c (execute_cfa_program_generic): New function.
511 (execute_cfa_program_specialized): Likewise.
512 (execute_cfa_program): Call execute_cfa_program_specialized
513 or execute_cfa_program_generic, as appropriate.
515 2023-01-02 Florian Weimer <fweimer@redhat.com>
517 * unwind-dw2.c (dwarf_reg_size): New function.
518 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
519 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
520 (uw_init_context_1): Do not initialize dwarf_reg_size_table
523 2022-12-25 Jonathan Yong <10walls@gmail.com>
525 * config/i386/gthr-win32.h: undef CC_NONE
527 2022-12-24 Iain Sandoe <iain@sandoe.co.uk>
529 * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
530 install of libgcc_s.1.dylib when the installation is into the build
533 2022-12-23 Eric Botcazou <ebotcazou@adacore.com>
535 * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
536 as well as new i386/t-slibgcc-mingw fragment.
537 (x86_64-*-mingw*): Likewise.
538 * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
539 both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
540 Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
541 Include stdlib.h instead of errno.h and do not include _mingw.h.
542 (CONST_CAST2): Add specific definition for C++.
543 (ATTRIBUTE_UNUSED): New macro.
544 (__UNUSED_PARAM): Delete.
545 Define WIN32_LEAN_AND_MEAN before including windows.h.
546 (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
547 (__gthread_objc_init_thread_system): Likewise.
548 (__gthread_objc_thread_get_data): Minor tweak.
549 (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
550 (__gthread_objc_condition_deallocate): Likewise.
551 (__gthread_objc_condition_wait): Likewise.
552 (__gthread_objc_condition_broadcast): Likewise.
553 (__gthread_objc_condition_signal): Likewise.
555 (__gthr_win32_DWORD): New typedef.
556 (__gthr_win32_HANDLE): Likewise.
557 (__gthr_win32_CRITICAL_SECTION): Likewise.
558 (__gthr_win32_CONDITION_VARIABLE): Likewise.
559 (__gthread_t): Adjust.
560 (__gthread_key_t): Likewise.
561 (__gthread_mutex_t): Likewise.
562 (__gthread_recursive_mutex_t): Likewise.
563 (__gthread_cond_t): New typedef.
564 (__gthread_time_t): Likewise.
565 (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
566 (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
567 (__GTHREAD_COND_INIT_FUNCTION): Define.
568 (__GTHREAD_TIME_INIT): Likewise.
569 (__gthr_i486_lock_cmp_xchg): Delete.
570 (__gthr_win32_create): Declare.
571 (__gthr_win32_join): Likewise.
572 (__gthr_win32_self): Likewise.
573 (__gthr_win32_detach): Likewise.
574 (__gthr_win32_equal): Likewise.
575 (__gthr_win32_yield): Likewise.
576 (__gthr_win32_mutex_destroy): Likewise.
577 (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
578 (__gthr_win32_cond_broadcast): Likewise.
579 (__gthr_win32_cond_signal): Likewise.
580 (__gthr_win32_cond_wait): Likewise.
581 (__gthr_win32_cond_timedwait): Likewise.
582 (__gthr_win32_recursive_mutex_init_function): Delete.
583 (__gthr_win32_recursive_mutex_lock): Likewise.
584 (__gthr_win32_recursive_mutex_unlock): Likewise.
585 (__gthr_win32_recursive_mutex_destroy): Likewise.
586 (__gthread_create): New inline function.
587 (__gthread_join): Likewise.
588 (__gthread_self): Likewise.
589 (__gthread_detach): Likewise.
590 (__gthread_equal): Likewise.
591 (__gthread_yield): Likewise.
592 (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
593 (__gthread_cond_broadcast): Likewise.
594 (__gthread_cond_signal): Likewise.
595 (__gthread_cond_wait): Likewise.
596 (__gthread_cond_timedwait): Likewise.
597 (__GTHREAD_WIN32_INLINE): New macro.
598 (__GTHREAD_WIN32_COND_INLINE): Likewise.
599 (__GTHREAD_WIN32_ACTIVE_P): Likewise.
600 Define WIN32_LEAN_AND_MEAN before including windows.h.
601 (__gthread_once): Minor tweaks.
602 (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
603 (__gthread_key_delete): Minor tweak.
604 (__gthread_getspecific): Likewise.
605 (__gthread_setspecific): Likewise.
606 (__gthread_mutex_init_function): Reimplement.
607 (__gthread_mutex_destroy): Likewise.
608 (__gthread_mutex_lock): Likewise.
609 (__gthread_mutex_trylock): Likewise.
610 (__gthread_mutex_unlock): Likewise.
611 (__gthr_win32_abs_to_rel_time): Declare.
612 (__gthread_recursive_mutex_init_function): Reimplement.
613 (__gthread_recursive_mutex_destroy): Likewise.
614 (__gthread_recursive_mutex_lock): Likewise.
615 (__gthread_recursive_mutex_trylock): Likewise.
616 (__gthread_recursive_mutex_unlock): Likewise.
617 (__gthread_cond_destroy): New inline function.
618 (__gthread_cond_wait_recursive): Likewise.
619 * config/i386/gthr-win32.c: Delete everything.
620 Include gthr-win32.h to get the out-of-line version of inline routines.
621 Add compile-time checks for the local version of the Win32 types.
622 * config/i386/gthr-win32-cond.c: New file.
623 * config/i386/gthr-win32-thread.c: Likewise.
624 * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
625 EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
626 the static version of libgcc.
627 * config/i386/t-slibgcc-mingw: New file.
628 * config/i386/libgcc-mingw.ver: Likewise.
630 2022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
632 * unwind-dw2-fde.c: Initialize fde object lazily when
633 the first exception tries to pass through.
635 2022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
637 * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
639 2022-12-08 Max Filippov <jcmvbkbc@gmail.com>
641 * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
642 (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
643 (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
644 (XSHAL_ABI): Remove stray symbols from macro definitions.
646 2022-12-07 Max Filippov <jcmvbkbc@gmail.com>
648 * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
649 xtensa-config-builtin.h.
650 * config/xtensa/crtn.S: Likewise.
651 * config/xtensa/lib1funcs.S: Likewise.
652 * config/xtensa/lib2funcs.S: Likewise.
653 * config/xtensa/xtensa-config-builtin.h: New File.
655 2022-11-04 Florian Weimer <fweimer@redhat.com>
657 * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
658 values actually used by BFD ld.
660 2022-10-23 LIU Hao <lh_mouse@126.com>
662 * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
663 libobjc, instead of 'gthr.h'
665 2022-10-19 LIU Hao <lh_mouse@126.com>
667 * config.host: Add new cases for `mcf` thread model
668 * config/i386/gthr-mcf.h: New file
669 * config/i386/t-mingw-mcfgthread: New file
670 * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
671 * configure: Regenerate
673 2022-10-18 Jonathan Wakely <jwakely@redhat.com>
675 * Makefile.in: Quote variable.
677 2022-10-17 H.J. Lu <hjl.tools@gmail.com>
679 * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
681 * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
682 _Unwind_Frames_Increment.
683 (_Unwind_ForcedUnwind_Phase2): Likewise.
684 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
685 Take the EXC argument. Return _URC_FATAL_PHASE2_ERROR if the
686 return address on normal stack doesn't match the return address
689 2022-10-17 Florian Weimer <fweimer@redhat.com>
691 * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
694 2022-10-14 Jakub Jelinek <jakub@redhat.com>
696 * config/i386/t-softfp (softfp_extensions): Add bfsf.
697 (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
698 (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
699 CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
701 * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
702 __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
703 * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
704 * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
705 * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
706 * soft-fp/brain.h: New file.
707 * soft-fp/truncsfbf2.c: New file.
708 * soft-fp/truncdfbf2.c: New file.
709 * soft-fp/truncxfbf2.c: New file.
710 * soft-fp/trunctfbf2.c: New file.
711 * soft-fp/trunchfbf2.c: New file.
712 * soft-fp/truncbfhf2.c: New file.
713 * soft-fp/extendbfsf2.c: New file.
715 2022-10-12 Martin Liska <mliska@suse.cz>
717 * libgcov-driver.c: Use new function.
718 * libgcov.h (gcov_write_summary): Rename to ...
719 (gcov_write_object_summary): ... this.
721 2022-10-11 Olivier Hainque <hainque@adacore.com>
723 * config.host (*vxworks*): When enable_shared, add
724 libgcc and crtstuff "shared" fragments for rtp except
726 (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
727 the list of fragments.
729 2022-10-06 Jakub Jelinek <jakub@redhat.com>
731 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
732 fs->regs.how[X] instead of fs->regs.reg[X].how.
734 2022-10-06 Jakub Jelinek <jakub@redhat.com>
736 * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
737 REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
738 REG_UNDEFINED): New anonymous enum, moved from inside of
739 struct frame_state_reg_info.
740 (struct frame_state_reg_info): Remove reg[].how element and the
741 anonymous enum there. Add how element.
742 * unwind-dw2.c: Include stddef.h.
743 (uw_frame_state_for): Don't clear first
744 offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
745 (execute_cfa_program, __frame_state_for, uw_update_context_1,
746 uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
747 or fs.regs.how[X] instead of fs.regs.reg[X].how.
748 * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
749 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
750 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
751 * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
752 UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
754 * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
756 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
757 * config/arc/linux-unwind.h (arc_fallback_frame_state,
758 arc_frob_update_context): Likewise.
759 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
760 * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
761 * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
762 * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
763 * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
764 * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
765 MD_FALLBACK_FRAME_STATE_FOR): Likewise.
766 * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
767 sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
768 * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
769 x86_fallback_frame_state): Likewise.
770 * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
771 * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
772 x86_fallback_frame_state): Likewise.
773 * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
775 * config/i386/dragonfly-unwind.h
776 (x86_64_dragonfly_fallback_frame_state): Likewise.
777 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
778 * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
779 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
781 * config/aarch64/freebsd-unwind.h
782 (aarch64_freebsd_fallback_frame_state): Likewise.
783 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
785 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
786 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
787 * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
789 * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
790 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
792 * config/rs6000/darwin-fallback.c (set_offset): Likewise.
793 * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
794 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
795 * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
797 2022-10-02 Olivier Hainque <hainque@adacore.com>
799 * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment. Move
800 -I options for gcc/include and gcc/include-fixed at the end
801 and make them -isystem.
803 2022-10-02 Olivier Hainque <hainque@adacore.com>
805 * config/gthr-vxworks.h: Prevent Wpragma warning for the
806 pragma diagnostics on Wstrict-prototypes.
808 2022-09-29 Olivier Hainque <hainque@adacore.com>
810 * config/vxcrtstuff.c: Improve the comment attached to the use
811 of auto-host.h and of __dso_handle. Remove redundant guard on
812 HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
814 2022-09-26 Thomas Neumann <tneumann@users.sourceforge.net>
816 * unwind-dw2-fde.c: Introduce a constant for in_shutdown
817 for the non-fast-path case. Drop destructor priority.
819 2022-09-22 Thomas Neumann <tneumann@users.sourceforge.net>
821 * unwind-dw2-fde.c: (release_register_frames) Remember
822 when the btree has been destroyed.
823 (__deregister_frame_info_bases) Disable the assert when
826 2022-09-18 Thomas Neumann <tneumann@users.sourceforge.net>
828 * unwind-dw2-fde.c: Replace uintptr_t with typedef
829 for __UINTPTR_TYPE__.
830 * unwind-dw2-btree.h: Likewise.
832 2022-09-16 Thomas Neumann <tneumann@users.sourceforge.net>
834 * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
835 (__register_frame_info_table_bases): Use btree in atomic fast path.
836 (__deregister_frame_info_bases): Likewise.
837 (_Unwind_Find_FDE): Likewise.
838 (base_from_object): Make parameter const.
839 (classify_object_over_fdes): Add query-only mode.
840 (get_pc_range): Compute PC range for lookup.
841 * unwind-dw2-fde.h (last_fde): Make parameter const.
842 * unwind-dw2-btree.h: New file.
844 2022-08-31 Martin Liska <mliska@suse.cz>
846 * config.host: Remove hppa.
848 2022-08-30 Martin Liska <mliska@suse.cz>
850 * config.host: Remove the port.
852 2022-08-26 Martin Liska <mliska@suse.cz>
854 * config.host: Remove cr16 related stuff.
855 * config/cr16/crti.S: Removed.
856 * config/cr16/crtlibid.S: Removed.
857 * config/cr16/crtn.S: Removed.
858 * config/cr16/divmodhi3.c: Removed.
859 * config/cr16/lib1funcs.S: Removed.
860 * config/cr16/t-cr16: Removed.
861 * config/cr16/t-crtlibid: Removed.
862 * config/cr16/unwind-cr16.c: Removed.
863 * config/cr16/unwind-dw2.h: Removed.
865 2022-08-16 Kito Cheng <kito.cheng@sifive.com>
867 * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
868 (_FP_NANFRAC_H): Ditto.
869 (_FP_NANSIGN_H): Ditto.
870 * config/riscv/t-softfp32 (softfp_extensions): Add HF related
872 (softfp_truncations): Ditto.
873 (softfp_extras): Ditto.
874 * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
876 2022-08-16 Kito Cheng <kito.cheng@sifive.com>
878 * soft-fp/fixhfdi.c: New.
879 * soft-fp/fixhfsi.c: Likewise.
880 * soft-fp/fixunshfdi.c: Likewise.
881 * soft-fp/fixunshfsi.c: Likewise.
882 * soft-fp/floatdihf.c: Likewise.
883 * soft-fp/floatsihf.c: Likewise.
884 * soft-fp/floatundihf.c: Likewise.
885 * soft-fp/floatunsihf.c: Likewise.
886 * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
887 lines and update URL for license.
888 * soft-fp/addsf3.c: Likewise.
889 * soft-fp/addtf3.c: Likewise.
890 * soft-fp/divdf3.c: Likewise.
891 * soft-fp/divsf3.c: Likewise.
892 * soft-fp/divtf3.c: Likewise.
893 * soft-fp/double.h: Likewise.
894 * soft-fp/eqdf2.c: Likewise.
895 * soft-fp/eqhf2.c: Likewise.
896 * soft-fp/eqsf2.c: Likewise.
897 * soft-fp/eqtf2.c: Likewise.
898 * soft-fp/extenddftf2.c: Likewise.
899 * soft-fp/extended.h: Likewise.
900 * soft-fp/extendhfdf2.c: Likewise.
901 * soft-fp/extendhfsf2.c: Likewise.
902 * soft-fp/extendhftf2.c: Likewise.
903 * soft-fp/extendhfxf2.c: Likewise.
904 * soft-fp/extendsfdf2.c: Likewise.
905 * soft-fp/extendsftf2.c: Likewise.
906 * soft-fp/extendxftf2.c: Likewise.
907 * soft-fp/fixdfdi.c: Likewise.
908 * soft-fp/fixdfsi.c: Likewise.
909 * soft-fp/fixdfti.c: Likewise.
910 * soft-fp/fixhfti.c: Likewise.
911 * soft-fp/fixsfdi.c: Likewise.
912 * soft-fp/fixsfsi.c: Likewise.
913 * soft-fp/fixsfti.c: Likewise.
914 * soft-fp/fixtfdi.c: Likewise.
915 * soft-fp/fixtfsi.c: Likewise.
916 * soft-fp/fixtfti.c: Likewise.
917 * soft-fp/fixunsdfdi.c: Likewise.
918 * soft-fp/fixunsdfsi.c: Likewise.
919 * soft-fp/fixunsdfti.c: Likewise.
920 * soft-fp/fixunshfti.c: Likewise.
921 * soft-fp/fixunssfdi.c: Likewise.
922 * soft-fp/fixunssfsi.c: Likewise.
923 * soft-fp/fixunssfti.c: Likewise.
924 * soft-fp/fixunstfdi.c: Likewise.
925 * soft-fp/fixunstfsi.c: Likewise.
926 * soft-fp/fixunstfti.c: Likewise.
927 * soft-fp/floatdidf.c: Likewise.
928 * soft-fp/floatdisf.c: Likewise.
929 * soft-fp/floatditf.c: Likewise.
930 * soft-fp/floatsidf.c: Likewise.
931 * soft-fp/floatsisf.c: Likewise.
932 * soft-fp/floatsitf.c: Likewise.
933 * soft-fp/floattidf.c: Likewise.
934 * soft-fp/floattihf.c: Likewise.
935 * soft-fp/floattisf.c: Likewise.
936 * soft-fp/floattitf.c: Likewise.
937 * soft-fp/floatundidf.c: Likewise.
938 * soft-fp/floatundisf.c: Likewise.
939 * soft-fp/floatunditf.c: Likewise.
940 * soft-fp/floatunsidf.c: Likewise.
941 * soft-fp/floatunsisf.c: Likewise.
942 * soft-fp/floatunsitf.c: Likewise.
943 * soft-fp/floatuntidf.c: Likewise.
944 * soft-fp/floatuntihf.c: Likewise.
945 * soft-fp/floatuntisf.c: Likewise.
946 * soft-fp/floatuntitf.c: Likewise.
947 * soft-fp/gedf2.c: Likewise.
948 * soft-fp/gesf2.c: Likewise.
949 * soft-fp/getf2.c: Likewise.
950 * soft-fp/half.h: Likewise.
951 * soft-fp/ledf2.c: Likewise.
952 * soft-fp/lesf2.c: Likewise.
953 * soft-fp/letf2.c: Likewise.
954 * soft-fp/muldf3.c: Likewise.
955 * soft-fp/mulsf3.c: Likewise.
956 * soft-fp/multf3.c: Likewise.
957 * soft-fp/negdf2.c: Likewise.
958 * soft-fp/negsf2.c: Likewise.
959 * soft-fp/negtf2.c: Likewise.
960 * soft-fp/op-1.h: Likewise.
961 * soft-fp/op-2.h: Likewise.
962 * soft-fp/op-4.h: Likewise.
963 * soft-fp/op-8.h: Likewise.
964 * soft-fp/op-common.h: Likewise.
965 * soft-fp/quad.h: Likewise.
966 * soft-fp/single.h: Likewise.
967 * soft-fp/soft-fp.h: Likewise.
968 * soft-fp/subdf3.c: Likewise.
969 * soft-fp/subsf3.c: Likewise.
970 * soft-fp/subtf3.c: Likewise.
971 * soft-fp/truncdfhf2.c: Likewise.
972 * soft-fp/truncdfsf2.c: Likewise.
973 * soft-fp/truncsfhf2.c: Likewise.
974 * soft-fp/trunctfdf2.c: Likewise.
975 * soft-fp/trunctfhf2.c: Likewise.
976 * soft-fp/trunctfsf2.c: Likewise.
977 * soft-fp/trunctfxf2.c: Likewise.
978 * soft-fp/truncxfhf2.c: Likewise.
979 * soft-fp/unorddf2.c: Likewise.
980 * soft-fp/unordsf2.c: Likewise.
981 * soft-fp/unordtf2.c: Likewise.
983 2022-07-18 Claudiu Zissulescu <claziss@synopsys.com>
985 * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
986 * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
989 2022-06-25 Jeff Law <jeffreyalaw@gmail.com>
991 * config.host: Removed tilegx and tilepro entries.
992 * config/tilegx/sfp-machine.h: Removed.
993 * config/tilegx/sfp-machine32.h: Removed.
994 * config/tilegx/sfp-machine64.h: Removed.
995 * config/tilegx/t-crtstuff: Removed.
996 * config/tilegx/t-softfp: Removed.
997 * config/tilegx/t-tilegx: Removed.
998 * config/tilepro/atomic.c: Removed.
999 * config/tilepro/atomic.h: Removed.
1000 * config/tilepro/linux-unwind.h: Removed.
1001 * config/tilepro/sfp-machine.h: Removed.
1002 * config/tilepro/softdivide.c: Removed.
1003 * config/tilepro/softmpy.S: Removed.
1004 * config/tilepro/t-crtstuff: Removed.
1005 * config/tilepro/t-tilepro: Removed.
1007 2022-06-09 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
1009 * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
1010 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
1012 2022-06-01 H.J. Lu <hjl.tools@gmail.com>
1015 * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
1017 2022-05-25 Wilco Dijkstra <wilco.dijkstra@arm.com>
1020 * config/aarch64/lse-init.c: Increase constructor priority.
1022 2022-05-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1025 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1026 Handle the !REG_UNSAVED case.
1027 * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
1029 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
1031 * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
1032 (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
1033 (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
1035 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
1037 * config.host: Add t-dfprules to AArch64 targets.
1039 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
1041 * configure: Regenerate.
1043 2022-05-13 Sebastian Pop <spop@amazon.com>
1046 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
1047 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
1049 2022-05-10 Martin Liska <mliska@suse.cz>
1050 Hans-Peter Helfert <peter-helfert@t-online.de>
1052 PR gcov-profile/105535
1053 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
1056 2022-05-02 Martin Liska <mliska@suse.cz>
1058 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
1060 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1062 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
1063 (gcov_profile_merge_stream): Likewise.
1065 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1067 * libgcov-util.c (consume_stream): New.
1068 (get_target_profiles_for_merge): Likewise.
1069 (gcov_profile_merge_stream): Likewise.
1071 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1073 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
1075 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1077 * libgcov-util.c (read_gcda_file): Do not open file.
1078 (ftw_read_file): Open file here.
1080 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1082 * libgcov-util.c (read_gcda_file): Prepend new info object to global
1084 (ftw_read_file): Remove list append here.
1086 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1088 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
1089 (ftw_read_file): Duplicate filename for read_gcda_file().
1091 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1093 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
1094 (__gcov_filename_to_gcfn): Declare and document.
1095 * libgcov-driver.c (dump_string): New.
1096 (__gcov_filename_to_gcfn): Likewise.
1097 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
1099 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1101 * libgcov.h (gcov_seek): Remove define and declaration.
1103 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1105 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
1106 parameter. Pass mode to gcov_open() calls.
1107 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
1108 gcov_exit_open_gcda_file() call.
1109 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
1111 (__gcov_dump_one): Open file for reading and writing.
1113 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1115 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
1116 reading and writing.
1117 * libgcov-util.c (read_gcda_file): Open file for reading.
1118 * libgcov.h (gcov_open): Delete declaration.
1120 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1122 * libgcov-util.c (gcov_profile_merge): Return the list of merged
1123 profiles. Accept empty target and source profile lists.
1125 2022-04-08 Sergei Trofimovich <siarheit@google.com>
1127 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
1129 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
1130 Lulu Cheng <chenglulu@loongson.cn>
1132 * configure: Regenerate file.
1134 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
1135 Lulu Cheng <chenglulu@loongson.cn>
1137 * config/loongarch/crtfastmath.c: New file.
1138 * config/loongarch/linux-unwind.h: Like wise.
1139 * config/loongarch/sfp-machine.h: Like wise.
1140 * config/loongarch/t-crtstuff: Like wise.
1141 * config/loongarch/t-loongarch: Like wise.
1142 * config/loongarch/t-loongarch64: Like wise.
1143 * config/loongarch/t-softfp-tf: Like wise.
1144 * config.host: Add LoongArch tuples.
1145 * configure.ac: Add LoongArch support.
1147 2022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
1150 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
1152 (__udivsi3_internal, __divsi3_internal): Similarly.
1153 (__umodsi3, __modsi3): Use the internal function names.
1155 2022-03-09 Tobias Burnus <tobias@codesourcery.com>
1158 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
1159 a line up to non-arg-dependent value first.
1160 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
1161 __atomic_compare_exchange_{1,2}.
1163 2022-03-04 Iain Sandoe <iain@sandoe.co.uk>
1165 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
1166 * config/t-darwin-ehs: Add dependency on unwind.h.
1168 2022-02-24 Xi Ruoyao <xry111@mengyan1223.wang>
1170 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
1171 with 0 instead of NULL.
1173 2022-02-24 Jose E. Marchesi <jose.marchesi@oracle.com>
1176 * configure.ac: --disable-gcov if targetting bpf-*.
1177 * configure: Regenerate.
1179 2022-01-25 Florian Weimer <fweimer@redhat.com>
1182 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
1184 2022-01-17 Martin Liska <mliska@suse.cz>
1186 * libgcov-driver.c: Rename .c names to .cc.
1188 2022-01-15 David <gccbugzilla@limegreensocks.com>
1190 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
1191 Remove inlined version, Windows 95 is no longer relevant.
1192 * config/i386/gthr-win32.h
1193 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
1195 2022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
1197 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
1198 DWARF_ALT_FRAME_RETURN_COLUMN macro.
1200 2022-01-04 Florian Weimer <fweimer@redhat.com>
1202 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
1205 2022-01-02 John David Anglin <danglin@gcc.gnu.org>
1207 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
1208 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
1209 return is not equal _ASM_EFAULT.
1210 (__kernel_cmpxchg2): Likewise.
1212 2021-12-17 Iain Sandoe <iain@sandoe.co.uk>
1214 * config.host: Add shim declaration header to powerpc*-darwin builds.
1215 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
1217 * config/t-darwin-ehs: Add dependencies to the shared unwinder
1219 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
1220 the shared EH lib. Add all-multi to the dependencies for the
1221 libgcc_s.1.dylib redirections.
1223 2021-12-13 Olivier Hainque <hainque@adacore.com>
1225 * config.host (powerpc*-*-vxworks7*): Remove
1226 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
1228 2021-12-13 Olivier Hainque <hainque@adacore.com>
1230 * config.host (*vxworks*): Remove special case for
1231 arm on the use of vxcrtstuff.
1233 2021-12-13 Fred Konrad <konrad@adacore.com>
1234 Olivier Hainque <hainque@adacore.com>
1236 * config/t-vxcrtstuffS: New Makefile fragment.
1237 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
1238 functions for INITFINI_ARRAY support in shared libs and guard
1239 the definition of eh table registration functions on conditions
1240 indicating they are needed.
1242 2021-12-13 Olivier Hainque <hainque@adacore.com>
1244 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
1245 ahead of the other files in tmake_files.
1246 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
1249 2021-12-13 Olivier Hainque <hainque@adacore.com>
1251 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
1252 both VxWorks7 and earlier.
1253 * config/t-vxworks7: Remove.
1254 * config.host: Remove special case for vxworks7.
1256 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1258 * config/vxcrtstuff.c: Make constructor and destructor
1259 functions static when possible.
1261 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1263 * config/vxcrtstuff.c: Remove constructor/destructor
1266 2021-12-10 Iain Sandoe <iain@sandoe.co.uk>
1268 * config/t-darwin: Add libgcc_tm.h to the dependencies
1269 for darwin10-unwind-find-enc-func.
1271 2021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1273 * config/rs6000/t-vxworks: New file.
1274 * config.host (powerpc*-*-vxworks*): Use it instead of
1277 2021-12-09 Fred Konrad <konrad@adacore.com>
1279 * config.host (powerpc*-wrs-vxworks7*): Fix path to
1280 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
1282 2021-12-09 Olivier Hainque <hainque@adacore.com>
1283 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1285 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
1286 $(LIBGCC2_INCLUDES).
1287 * config/t-vxworks7: Likewise.
1289 2021-12-08 Iain Sandoe <iain@sandoe.co.uk>
1291 * config.host (*-*-darwin*): Add logic to build a shared
1292 unwinder library for Darwin8-10.
1293 * config/i386/t-darwin: Build legacy libgcc_s.1.
1294 * config/rs6000/t-darwin: Likewise.
1295 * config/t-darwin: Reorganise the EH fragments to place
1296 them for inclusion in a shared EH lib.
1297 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
1298 the supporting pieces (all FAT libs).
1299 * config/t-darwin-noeh: Removed.
1300 * config/darwin-unwind.ver: New file.
1301 * config/rs6000/t-darwin-ehs: New file.
1302 * config/t-darwin-ehs: New file.
1304 2021-12-06 Nelson Chu <nelson.chu@sifive.com>
1306 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
1307 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
1308 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
1311 2021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1313 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
1314 ssize_t and vfork after including auto-host.h.
1316 2021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1318 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
1319 crtend.o to extra_parts.
1321 2021-11-27 John David Anglin <danglin@gcc.gnu.org>
1323 * config/pa/t-dimode (lib2difuncs): Fix typo.
1325 2021-11-25 Florian Weimer <fweimer@redhat.com>
1327 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
1329 (find_fde_tail): New function. Split from
1330 _Unwind_IteratePhdrCallback. Move the result initialization
1331 from _Unwind_Find_FDE.
1332 (_Unwind_Find_FDE): Updated to call find_fde_tail.
1334 2021-11-22 Florian Weimer <fweimer@redhat.com>
1336 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
1337 (struct unw_eh_callback_data): Make dbase member conditional.
1338 (unw_eh_callback_data_dbase): New function.
1339 (base_from_cb_data): Simplify for the non-dbase case.
1340 (_Unwind_IteratePhdrCallback): Adjust.
1341 (_Unwind_Find_FDE): Likewise.
1343 2021-11-22 Florian Weimer <fweimer@redhat.com>
1345 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
1347 (base_from_cb_data): Adjust.
1348 (_Unwind_IteratePhdrCallback): Likewise.
1349 (_Unwind_Find_FDE): Likewise.
1351 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1353 * config.host: Add weak emutls crt to the extra_parts.
1354 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
1356 * config/libgcc-libsystem.ver: Add exclude list for the system-
1358 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
1359 * config/i386/libgcc-darwin.10.4.ver: Removed.
1360 * config/i386/libgcc-darwin.10.5.ver: Removed.
1361 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
1362 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
1363 * config/t-darwin-noeh: New file.
1365 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1367 * config/t-darwin: Build weak-defined emutls objects.
1368 * emutls.c (__emutls_get_address): Add optional attributes.
1369 (__emutls_register_common): Likewise.
1372 2021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1375 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
1376 called with a null argument or at the end of the backtrace and return.
1377 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
1379 2021-11-10 Jakub Jelinek <jakub@redhat.com>
1381 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
1384 2021-11-05 Iain Sandoe <iain@sandoe.co.uk>
1386 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
1387 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
1389 2021-11-05 John David Anglin <danglin@gcc.gnu.org>
1392 * config.host (hppa*64*-*-linux*): Revise tmake_file.
1393 (hppa*64*-*-hpux11*): Likewise.
1394 * config/pa/sfp-exceptions.c: New.
1395 * config/pa/sfp-machine.h: New.
1396 * config/pa/t-dimode: New.
1397 * config/pa/t-softfp-sfdftf: New.
1399 2021-10-27 John David Anglin <danglin@gcc.gnu.org>
1401 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
1403 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
1404 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
1405 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
1406 * config/pa/t-linux64 (LIB1ASMSRC): New define.
1407 (LIB1ASMFUNCS): Revise.
1408 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
1410 2021-10-22 Stafford Horne <shorne@gmail.com>
1412 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1415 2021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1417 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
1418 outside of get_regs() in order to use it in another function, this
1419 is done twice: for __powerpc64__ and for !__powerpc64__.
1420 (struct trace_arg): New struct.
1421 (struct layout): New struct.
1422 (ppc_backchain_fallback): New function.
1423 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
1424 state and call MD_BACKCHAIN_FALLBACK.
1426 2021-10-13 Martin Liska <mliska@suse.cz>
1428 PR gcov-profile/90364
1429 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
1431 (write_one_data): Write also checksum.
1432 * libgcov-util.c (read_gcda_file): Read also checksum field.
1433 * libgcov.h (struct gcov_info): Add new field.
1435 2021-10-08 Ian Lance Taylor <iant@golang.org>
1437 * config/i386/morestack.S: Use .init_array for constructor if
1439 * config/rs6000/morestack.S: Likewise.
1440 * config/s390/morestack.S: Likewise.
1442 2021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1445 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
1446 Use more correct values for native IBM 128-bit.
1448 2021-09-28 Iain Sandoe <iain@sandoe.co.uk>
1450 * config/i386/libgcc-darwin.ver: Add Symbols for
1451 __cpu_model, __cpu_indicator_init.
1453 2021-09-22 Iain Sandoe <iain@sandoe.co.uk>
1455 * config/i386/sfp-machine.h: Guard Mach-O-specific code
1458 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1460 * config/t-slibgcc-darwin: Delete unused code.
1462 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1464 * config/i386/t-darwin: Add in a vers file for X86-specific
1466 * config/t-darwin: Add the generic symbol maps here...
1467 * config/t-slibgcc-darwin: ... removing from here.
1468 * config/i386/libgcc-darwin.ver: New file.
1470 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1472 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
1475 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1477 * config.host: Use convenience library for Darwin10
1479 * config/t-darwin: Build Darwin10 unwinder shim as a
1480 convenience library.
1482 2021-09-13 Andrew Pinski <apinski@marvell.com>
1484 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
1485 * config/m32r/libgcc-glibc.ver: Removed.
1486 * config/m32r/t-linux: Removed.
1488 2021-09-08 liuhongt <hongtao.liu@intel.com>
1490 * config/i386/t-softfp: Compile __{mul,div}hc3 into
1493 2021-09-08 Jakub Jelinek <jakub@redhat.com>
1494 Iain Sandoe <iain@sandoe.co.uk>
1496 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
1497 and export *hf* and *hc* functions at GCC_12.0.0.
1499 2021-09-06 liuhongt <hongtao.liu@intel.com>
1501 * Makefile.in: Adjust to support specific CFLAGS for each
1503 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
1504 related libgcc source files.
1505 * config/i386/t-softfp: Ditto.
1506 * config/i386/_divhc3.c: New file.
1507 * config/i386/_mulhc3.c: New file.
1509 2021-09-03 Iain Sandoe <iain@sandoe.co.uk>
1511 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
1512 alias_DFtype, alias_TFtype): New.
1513 (ALIAS_SELECTOR): New.
1514 (strong_alias): Use __typeof and a _Generic selector to
1515 provide the type to the synthesized function.
1517 2021-09-02 liuhongt <hongtao.liu@intel.com>
1519 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
1520 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
1521 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
1522 * config/i386/t-softfp: Add hf soft-fp.
1523 * config.host: Add i386/64/t-softfp.
1524 * config/i386/64/t-softfp: New file.
1526 2021-09-02 liuhongt <hongtao.liu@intel.com>
1528 * soft-fp/eqhf2.c: New file.
1529 * soft-fp/extendhfdf2.c: New file.
1530 * soft-fp/extendhfsf2.c: New file.
1531 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
1532 * soft-fp/truncdfhf2.c: New file
1533 * soft-fp/truncsfhf2.c: New file
1535 2021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
1537 * unwind-arm-common.inc (abort): Remove.
1539 2021-08-31 Richard Sandiford <richard.sandiford@arm.com>
1541 * config/aarch64/value-unwind.h: Add missing runtime exception
1543 * config/frv/frv-abi.h: Likewise.
1544 * config/i386/value-unwind.h: Likewise.
1545 * config/pa/pa64-hpux-lib.h: Likewise.
1547 2021-08-26 David Edelsohn <dje.gcc@gmail.com>
1549 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
1551 (__gcc_qadd): Call ldouble_qadd_internal.
1552 (__gcc_qsub): Call ldouble_qadd_internal with second long double
1555 2021-08-26 Jonathan Yong <10walls@gmail.com>
1557 * config/i386/cygming-crtend.c: Fix register_frame_ctor
1558 and register_frame_dtor warnings.
1560 2021-08-24 Richard Earnshaw <rearnsha@arm.com>
1563 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
1564 Add vlldm erratum work-around.
1566 2021-08-21 John David Anglin <danglin@gcc.gnu.org>
1568 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
1570 2021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
1572 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
1573 (gcov_type_unsigned): Likewise.
1575 2021-08-14 Stafford Horne <shorne@gmail.com>
1578 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
1579 * config/or1k/t-crtstuff: New file.
1581 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1583 * libgcov-driver.c (#include <stdint.h>): Remove.
1584 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
1586 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1588 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
1589 * gcov.h (gcov_info): Declare.
1590 (__gcov_info_to_gdca): Likewise.
1591 * libgcov.h (gcov_write_counter): Remove.
1592 (gcov_write_tag_length): Likewise.
1593 * libgcov-driver.c (#include <stdint.h>): New.
1594 (#include <string.h>): Remove.
1595 (NEED_L_GCOV): Conditionally define.
1596 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
1597 (are_all_counters_zero): New.
1598 (gcov_dump_handler): Likewise.
1599 (gcov_allocate_handler): Likewise.
1600 (dump_unsigned): Likewise.
1601 (dump_counter): Likewise.
1602 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
1603 Use dump_unsigned() and dump_counter().
1604 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
1605 dump_unsigned(), dump_counter(), and are_all_counters_zero().
1606 (__gcov_info_to_gcda): New.
1608 2021-08-05 Jakub Jelinek <jakub@redhat.com>
1610 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
1611 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
1612 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
1613 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
1615 2021-08-04 Jakub Jelinek <jakub@redhat.com>
1617 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
1619 2021-07-15 Alan Modra <amodra@gmail.com>
1621 * config/rs6000/morestack.S (R2_SAVE): Define.
1622 (__morestack): Save and restore r2. Set up r2 for called
1625 2021-07-01 H.J. Lu <hjl.tools@gmail.com>
1627 * soft-fp/extendhfxf2.c: New file.
1628 * soft-fp/truncxfhf2.c: Likewise.
1630 2021-06-29 Julian Brown <julian@codesourcery.com>
1632 * config/gcn/lib2-bswapti2.c: New file.
1633 * config/gcn/lib2-divmod-di.c: New file.
1634 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
1636 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
1637 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
1640 2021-06-29 Julian Brown <julian@codesourcery.com>
1642 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
1643 return types to USItype.
1644 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
1646 2021-06-23 Kewen Lin <linkw@linux.ibm.com>
1648 * configure: Regenerate.
1649 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
1650 typos among the name, CFLAGS and the test.
1651 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
1652 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
1654 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
1655 macro FLOAT128_HW_INSNS_ISA3_1.
1656 (FP128_3_1_CFLAGS_HW): Fix option typo.
1657 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
1658 FLOAT128_HW_INSNS_ISA3_1.
1659 (__floattikf_resolve): Likewise.
1660 (__floatuntikf_resolve): Likewise.
1661 (__fixkfti_resolve): Likewise.
1662 (__fixunskfti_resolve): Likewise.
1663 (__floattikf): Likewise.
1664 (__floatuntikf): Likewise.
1665 (__fixkfti): Likewise.
1666 (__fixunskfti): Likewise.
1668 2021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1671 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
1673 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
1674 on passing -mcmse option.
1676 2021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
1678 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
1681 2021-06-09 Carl Love <cel@us.ibm.com>
1683 * config.host: Add if test and set for
1684 libgcc_cv_powerpc_3_1_float128_hw.
1685 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
1686 Change calls of __fixkfti to __fixkfti_sw.
1687 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
1688 Change calls of __fixunskfti to __fixunskfti_sw.
1689 * config/rs6000/float128-p10.c (__floattikf_hw,
1690 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
1691 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
1692 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
1693 __fixunskfti_resolve): Add resolve functions.
1694 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
1695 * config/rs6000/float128-sed (floattitf, __floatuntitf,
1696 __fixtfti, __fixunstfti): Add editor commands to change names.
1697 * config/rs6000/float128-sed-hw (__floattitf,
1698 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
1700 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
1701 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
1702 * config/rs6000/quad-float128.h (__floattikf_sw,
1703 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
1704 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
1705 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
1706 * config/rs6000/t-float128 (floattikf, floatuntikf,
1707 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
1708 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
1709 file names to fp128_ppc_funcs.
1710 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
1711 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
1712 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
1713 * config/rs6000/t-float128-p10-hw: New file.
1714 * configure: Update script for isa 3.1 128-bit float support.
1715 * configure.ac: Add check for 128-bit float hardware support.
1716 * config/rs6000/fixkfti-sw.c: New file.
1717 * config/rs6000/fixunskfti-sw.c: New file.
1718 * config/rs6000/floattikf-sw.c: New file.
1719 * config/rs6000/floatuntikf-sw.c: New file.
1721 2021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
1723 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
1725 2021-05-13 Martin Liska <mliska@suse.cz>
1727 * libgcov-driver.c: Fix GNU coding style.
1729 2021-05-10 Martin Liska <mliska@suse.cz>
1731 * libgcov-driver.c (gcov_version): Use different name that does
1732 not clash with newly introduced macro.
1734 2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
1736 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
1737 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
1738 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
1740 2021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1742 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1744 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
1745 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1747 (__divkc3): Improve complex divide.
1749 2021-04-23 Michael Meissner <meissner@linux.ibm.com>
1752 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
1753 trampoline size comparison in 32-bit by reversing test and
1754 combining load immediate with compare.
1755 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
1756 in 32-bit by reversing test and combining load immediate with
1759 2021-04-05 Florian Weimer <fweimer@redhat.com>
1760 Michael Meissner <meissner@linux.ibm.com>
1762 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
1763 point functions for $(decimal_float) only.
1765 2021-04-03 Jakub Jelinek <jakub@redhat.com>
1768 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
1769 $(objext) instead of $(object). Use _floatunditf instead of
1770 _floatunsditf. Add tf <-> ti conversion objects.
1771 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
1773 2021-03-29 Michael Meissner <meissner@linux.ibm.com>
1775 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
1776 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
1777 (fp128_decstr_objs): Delete.
1778 * dfp-bit.h: Call __sprintfieee128 to do conversions from
1779 _Float128 to a Decimal type. Call __strtoieee128 to do
1780 conversions from a Decimal type to _Float128.
1781 * config/rs6000/_sprintfkf.c: Delete file.
1782 * config/rs6000/_sprintfkf.h: Delete file.
1783 * config/rs6000/_strtokf.c: Delete file.
1784 * config/rs6000/_strtokf.h: Delete file.
1786 2021-03-23 Marcus Comstedt <marcus@mc.pp.se>
1788 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
1791 2021-03-06 Jakub Jelinek <jakub@redhat.com>
1793 PR gcov-profile/99406
1794 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
1795 defined, define these macros if not defined already.
1797 2021-03-04 Martin Liska <mliska@suse.cz>
1799 PR gcov-profile/99105
1800 * libgcov-driver.c (write_top_counters): Rename to ...
1801 (write_topn_counters): ... this.
1802 (write_one_data): Pre-allocate buffer for number of items
1803 in the corresponding linked lists.
1804 * libgcov.h (malloc_mmap): New function.
1805 (allocate_gcov_kvp): Use it.
1807 2021-03-04 Martin Liska <mliska@suse.cz>
1809 PR gcov-profile/99385
1810 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
1812 2021-03-03 Martin Liska <mliska@suse.cz>
1814 PR gcov-profile/97461
1815 * config.in: Regenerate.
1816 * configure: Likewise.
1817 * configure.ac: Check sys/mman.h header file
1818 * libgcov-driver.c (struct gcov_kvp): Remove static
1819 pre-allocated pool and use a dynamic one.
1820 * libgcov.h (MMAP_CHUNK_SIZE): New.
1821 (gcov_counter_add): Use mmap to allocate pool for struct
1824 2021-03-02 Michael Meissner <meissner@linux.ibm.com>
1826 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
1828 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
1830 2021-02-24 Jakub Jelinek <jakub@redhat.com>
1833 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
1834 negation of m in unsigned type.
1836 2021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
1837 Hau Hsu <hsuhau617@gmail.com>
1840 * config/arm/t-arm: Fix cmse support detection.
1842 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
1844 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
1846 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
1848 * config/rs6000/_dd_to_kf.c: New file.
1849 * config/rs6000/_kf_to_dd.c: New file.
1850 * config/rs6000/_kf_to_sd.c: New file.
1851 * config/rs6000/_kf_to_td.c: New file.
1852 * config/rs6000/_sd_to_kf.c: New file.
1853 * config/rs6000/_sprintfkf.c: New file.
1854 * config/rs6000/_sprintfkf.h: New file.
1855 * config/rs6000/_strtokf.h: New file.
1856 * config/rs6000/_strtokf.c: New file.
1857 * config/rs6000/_td_to_kf.c: New file.
1858 * config/rs6000/quad-float128.h: Add new declarations.
1859 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
1860 (fp128_decstr_funcs): New macro.
1861 (ibm128_dec_funcs): New macro.
1862 (fp128_ppc_funcs): Add the new conversions.
1863 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
1864 compiled with -mabi=ieeelongdouble.
1865 (fp128_decstr_objs): Force __float128 <-> string conversions to be
1866 compiled with -mabi=ibmlongdouble.
1867 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
1868 compiled with -mabi=ieeelongdouble.
1869 (FP128_CFLAGS_DECIMAL): New macro.
1870 (IBM128_CFLAGS_DECIMAL): New macro.
1871 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
1872 (BFP_TO_DFP): Add PowerPC _Float128 support.
1873 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
1874 IEEE 128-bit floating point.
1875 (DFP_TO_BFP): Add PowerPC _Float128 support.
1876 (BFP_TO_DFP): Add PowerPC _Float128 support.
1877 (BFP_SPRINTF): New macro.
1879 2021-01-27 Jakub Jelinek <jakub@redhat.com>
1881 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
1882 * config/i386/savms64f.h: Likewise.
1883 * config/i386/resms64.h: Likewise.
1884 * config/i386/resms64f.h: Likewise.
1885 * config/i386/resms64x.h: Likewise.
1886 * config/i386/resms64fx.h: Likewise.
1888 2021-01-26 Martin Liska <mliska@suse.cz>
1890 PR gcov-profile/98739
1891 * libgcov.h (gcov_topn_add_value): Do not train when
1892 we have a merged profile with a negative number of total
1895 2021-01-25 Martin Liska <mliska@suse.cz>
1897 PR gcov-profile/98739
1898 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
1899 ends with a dropped counter.
1900 * libgcov.h (gcov_topn_add_value): Add return value.
1902 2021-01-13 Stafford Horne <shorne@gmail.com>
1904 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1905 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
1906 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
1907 FP_EX_ALL): New constant macros.
1908 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
1909 FP_HANDLE_EXCEPTIONS): New macros.
1910 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
1912 2021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
1914 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
1915 posix siginfo case to struct handler_args. Detect between legacy
1916 and siginfo from the second parameter, which is a small sigcode in
1917 the legacy case, and a pointer in the siginfo case.
1919 2020-12-20 Max Filippov <jcmvbkbc@gmail.com>
1921 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
1923 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
1926 2020-12-08 Ian Lance Taylor <iant@golang.org>
1928 * generic-morestack-thread.c (free_segments): Block signals during
1931 2020-12-03 Michael Meissner <meissner@linux.ibm.com>
1935 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
1936 (IBM128_SHARED_OBJS): New make variable.
1937 (IBM128_OBJS): New make variable. Set all objects to use the
1938 explicit IBM format, and disable gnu attributes.
1939 (IBM128_CFLAGS): New make variable.
1940 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
1943 2020-12-03 Alexandre Oliva <oliva@adacore.com>
1945 * config/t-vxworks (LIB2ADD): Drop.
1946 * config/t-vxworks7 (LIB2ADD): Likewise.
1947 * config/vxcache.c: Remove.
1949 2020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
1951 * libgcc2.c (bswapsi2): Make constants unsigned.
1953 2020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
1955 * libgcc2.c (absvSI2): Simplify/improve implementation by using
1956 builtin_add_overflow.
1957 (absvsi2, absvDI2): Likewise.
1959 2020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
1961 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
1962 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
1964 2020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1966 * config/msp430/lib2hw_mul.S (mult64_hw): New.
1967 (if MUL_32): Use mult64_hw for __muldi3.
1968 (if MUL_F5): Use mult64_hw for __muldi3.
1969 * config/msp430/lib2mul.c (__muldi3): New.
1970 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
1972 2020-11-17 Alan Modra <amodra@gmail.com>
1974 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
1975 (LIB2_SIDITI_CONV_FUNCS): Define.
1976 * config/rs6000/ppc64-fp.c: Delete file.
1978 2020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1980 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
1981 hwmult library functions.
1983 2020-11-10 Jeff Law <law@redhat.com>
1985 * libgcc2.c: Fix whitespace issues in most recent change.
1987 2020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
1989 * libgcc2.c (__addvSI3): Use overflow builtins.
1990 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
1991 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
1992 (__negvsi2, __negvDI2): Likewise.
1993 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
1995 * libgcc2.h (__ucmpdi2): Adjust prototype.
1997 2020-11-03 Pat Bernardi <bernardi@adacore.com>
1998 Olivier Hainque <hainque@adacore.com>
2000 * config.host (aarch64-vxworks7*, tmake_file): Add
2001 ${cpu_type}/t-lse and t-slibgcc-libgcc.
2003 2020-11-03 Martin Storsjö <martin@martin.st>
2005 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
2006 before calling the callback.
2008 2020-10-30 Olivier Hainque <hainque@adacore.com>
2009 Douglas Rupp <rupp@adacore.com>
2010 Pat Bernardi <bernardi@adacore.com>
2012 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
2013 to apply to VxWorks 7 as well.
2015 2020-10-29 Olivier Hainque <hainque@adacore.com>
2017 * config/gthr-vxworks-tls.c: Fix preprocessor logic
2018 controlling the definition of VX_ENTER_TLS_DTOR and
2019 VX_LEAVE_TLS_DTOR based on a version major check.
2021 2020-10-29 Olivier Hainque <hainque@adacore.com>
2023 * config/gthr-vxworks-thread.c: Fix name of macro used
2024 to condition the inclusion of an actual implementation.
2026 2020-10-27 Martin Liska <mliska@suse.cz>
2028 PR gcov-profile/97461
2029 * libgcov.h (gcov_counter_add): Use first static counters
2030 as it should help to have malloc wrappers set up.
2032 2020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2034 * config/gthr-vxworks-thread.c: #include gthr.h before
2035 testing the guard defined there.
2036 * config/gthr-vxworks-cond.c: Likewise.
2038 2020-10-21 Douglas Rupp <rupp@adacore.com>
2039 Olivier Hainque <hainque@adacore.com>
2041 * config.host (powerpc*-wrs-vxworks7*): New case.
2042 * configure.ac: Handle powerpc*-*-vxworks7* as
2043 powerpc*-*-linux* for ppc-fp_type.
2044 * configure: Regenerate.
2046 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2048 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
2049 section on VxWorks >= 6.
2050 * config/gthr-vxworks-thread.c: Condition the entire
2051 implementation on __GTHREAD_CXX0X.
2053 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2055 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
2056 section on VxWorks >= 6.
2057 * config/gthr-vxworks-cond.c: Condition the entire
2058 implementation on __GTHREAD_HAS_COND.
2060 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2062 * config/gthr-vxworks.c: #include <taskLib.h>.
2064 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2066 * config/gthr-vxworks.h: Rewrite remaining occurrence
2067 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
2069 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2070 Olivier Hainque <hainque@adacore.com>
2072 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
2073 except on VxWorks 6.
2075 2020-10-16 Olivier Hainque <hainque@adacore.com>
2077 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
2079 2020-10-14 Alexandre Oliva <oliva@adacore.com>
2081 * config/gthr-vxworks-thread.c: Include stdlib.h.
2082 (tls_delete_hook): Prototype it.
2083 (__gthread_cond_signal): Return early if no waiters. Consume
2084 signal in case the semaphore got full. Use semInfoGet instead
2085 of kernel-mode-only semInfo.
2086 (__gthread_cond_timedwait): Use semExchange. Always take the
2087 mutex again before returning.
2088 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
2090 2020-10-14 Olivier Hainque <hainque@adacore.com>
2092 * config/t-vxworks (LIBGCC2_INCLUDES): Append
2093 $(MULTISUBDIR) to the -I path for fixed headers, as we
2094 arrange to have different sets of such headers for different
2095 multilibs when they are activated.
2096 * config/t-vxworks7: Likewise.
2098 2020-10-14 Olivier Hainque <hainque@adacore.com>
2100 * config/t-vxworks: Add include-fixed to include search
2101 paths for libgcc on VxWorks.
2102 * config/t-vxworks7: Likewise.
2104 2020-10-09 H.J. Lu <hjl.tools@gmail.com>
2107 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
2108 instead of <cetintrin.h>.
2110 2020-10-01 Alan Modra <amodra@gmail.com>
2112 * config/rs6000/morestack.S,
2113 * config/rs6000/tramp.S: Support __PCREL__ code.
2115 2020-10-01 Alan Modra <amodra@gmail.com>
2117 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
2119 2020-09-29 Maciej W. Rozycki <macro@wdc.com>
2121 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
2124 2020-09-28 Richard Sandiford <richard.sandiford@arm.com>
2126 * config/aarch64/libgcc-softfp.ver: New file.
2127 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
2129 2020-09-27 Clement Chigot <clement.chigot@atos.net>
2131 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
2133 2020-09-22 Sergei Trofimovich <siarheit@google.com>
2135 PR gcov-profile/96913
2136 * libgcov-driver.c (write_one_data): Avoid function pointer
2137 comparison in TOP streaming decision.
2139 2020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
2140 Christophe Lyon <christophe.lyon@linaro.org>
2142 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
2144 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
2145 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
2148 2020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
2150 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
2151 unused variable warning.
2153 2020-09-16 Jojo R <jiejie_rong@c-sky.com>
2155 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
2157 2020-09-09 Tom de Vries <tdevries@suse.de>
2159 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
2160 Wbuiltin-declaration-mismatch.
2162 2020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2164 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
2165 * config/msp430/srai.S (__gnu_mspabi_srap): New.
2166 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
2168 2020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
2170 * config/nvptx/atomic.c: New.
2171 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
2173 2020-08-03 Ian Lance Taylor <iant@golang.org>
2175 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
2177 2020-08-03 Jakub Jelinek <jakub@redhat.com>
2180 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
2181 of x(tmp0), x(tmp1) in STXP arguments.
2183 2020-07-31 Maciej W. Rozycki <macro@wdc.com>
2185 * config/riscv/save-restore.S [__riscv_xlen == 64]
2186 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
2187 (__riscv_save_2): Replace negative immediates used for the final
2188 stack pointer adjustment with positive ones, right-shifted by 4.
2190 2020-07-31 Martin Liska <mliska@suse.cz>
2192 * libgcov-driver.c: Add __gcov_kvp_pool
2193 and __gcov_kvp_pool_index variables.
2194 * libgcov.h (allocate_gcov_kvp): New.
2195 (gcov_topn_add_value): Use it.
2197 2020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2199 * config/aarch64/lse.S: Add PAC property note.
2201 2020-07-23 Martin Liska <mliska@suse.cz>
2203 PR gcov-profile/96035
2204 * libgcov-driver-system.c: Create gcov folders with 0777
2205 so that it respects a system umask.
2207 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
2209 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
2211 2020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2214 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
2215 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
2216 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
2217 (MD_DEMANGLE_RETURN_ADDR): This.
2218 (aarch64_post_extract_frame_addr): Rename to ...
2219 (aarch64_demangle_return_addr): This.
2220 (aarch64_post_frob_eh_handler_addr): Remove.
2221 * unwind-dw2.c (uw_update_context): Demangle return address.
2222 (uw_frob_return_addr): Remove.
2224 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2227 * config/aarch64/lse.S: Add BTI marking and related definitions,
2228 and add BTI c to function entries.
2230 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2232 * config/aarch64/lse.S: Add stack note.
2234 2020-07-02 Martin Liska <mliska@suse.cz>
2236 PR gcov-profile/95348
2237 * libgcov-driver.c (merge_one_data): Merge only profiles
2238 that are not of non-zero type.
2239 (write_one_data): Write counters only if there's one non-zero
2241 * libgcov-util.c (tag_function): Change signature from unsigned
2243 (tag_blocks): Likewise.
2244 (tag_arcs): Likewise.
2245 (tag_counters): Likewise.
2246 (tag_summary): Likewise.
2247 (tag_lines): Read only if COUNTERS is non-zero.
2248 (read_gcda_file): Handle negative length for COUNTERS type.
2250 2020-06-25 Martin Liska <mliska@suse.cz>
2252 * libgcov-driver.c (merge_summary): Remove function as its name
2253 is misleading and doing something different.
2254 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
2256 * libgcov-util.c (curr_object_summary): Remove.
2257 (read_gcda_file): Remove unused curr_object_summary.
2258 (gcov_merge): Merge summaries.
2259 * libgcov.h: Add summary argument for gcov_info struct.
2261 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
2264 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
2265 "common/config/i386/i386-cpuinfo.h" and
2266 "common/config/i386/cpuinfo.h".
2267 (__cpu_features2): Changed to array.
2268 (get_amd_cpu): Removed.
2269 (get_intel_cpu): Likewise.
2270 (get_available_features): Likewise.
2271 (__cpu_indicator_init): Call cpu_indicator_init.
2272 * config/i386/cpuinfo.h: Removed.
2274 2020-06-23 David Edelsohn <dje.gcc@gmail.com>
2276 * Makefile.in: Remove uses of empty.mk. Use -include.
2277 * config/avr/t-avr: Use -include.
2280 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
2282 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
2283 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
2284 and 64 bit with -maix64.
2285 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
2286 Build and install AIX-style FAT libraries.
2288 2020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
2290 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
2292 * config/i386/gnu-unwind.h: New file.
2294 2020-06-17 Martin Liska <mliska@suse.cz>
2296 * libgcov-util.c (read_gcda_finalize): Remove const operator.
2297 (merge_wrapper): Add both counts and use them properly.
2298 (topn_to_memory_representation): New function.
2299 (gcov_merge): Covert on disk representation to in memory
2301 * libgcov.h: Remove const operator.
2303 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
2305 * configure: Regenerate.
2306 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
2307 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
2309 2020-06-09 Martin Liska <mliska@suse.cz>
2311 PR gcov-profile/95494
2312 * libgcov-driver.c (write_top_counters): Cast first to
2313 intptr_t as sizeof(*) != sizeof(gcov_type).
2314 * libgcov.h (gcov_counter_set_if_null): Remove.
2315 (gcov_topn_add_value): Cast first to intptr_t and update
2316 linked list directly.
2318 2020-06-09 Max Filippov <jcmvbkbc@gmail.com>
2320 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
2321 with uw_install_context_1.
2323 2020-06-04 Andreas Schwab <schwab@suse.de>
2327 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
2329 (LIB2ADD): Add config/ia64/divtf3.c.
2330 * config/ia64/divtf3.c: New file.
2332 2020-06-03 Martin Liska <mliska@suse.cz>
2334 PR gcov-profile/95480
2335 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
2336 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
2337 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
2338 (gcov_counter_set_if_null): Likewise.
2340 2020-06-02 Jim Wilson <jimw@sifive.com>
2342 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
2345 2020-06-02 Martin Liska <mliska@suse.cz>
2347 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
2350 2020-06-02 Martin Liska <mliska@suse.cz>
2352 * libgcov-driver.c (prune_topn_counter): Remove.
2353 (prune_counters): Likewise.
2354 (merge_one_data): Special case TOP N counters
2355 as they have variable length.
2356 (write_top_counters): New.
2357 (write_one_data): Special case TOP N.
2358 (dump_one_gcov): Do not prune TOP N counters.
2359 * libgcov-merge.c (merge_topn_values_set): Remove.
2360 (__gcov_merge_topn): Use gcov_topn_add_value.
2361 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2363 * libgcov.h (gcov_counter_add): New.
2364 (gcov_counter_set_if_null): Likewise.
2365 (gcov_topn_add_value): New.
2367 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
2369 * config/i386/sfp-exceptions.c (struct fenv):
2370 Add __attribute__ ((gcc_struct)).
2372 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
2375 * configure: Regenerated.
2377 2020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
2379 PR gcov-profile/95332
2380 * libgcov-util.c (read_gcda_file): Call gcov_magic.
2381 * libgcov.h (gcov_magic): Disable GCC poison.
2383 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
2386 * config/i386/cpuinfo.h (processor_features): Move
2387 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
2389 2020-05-20 H.J. Lu <hongjiu.lu@intel.com>
2392 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
2395 2020-05-19 H.J. Lu <hongjiu.lu@intel.com>
2399 * config/i386/cpuinfo.c (get_available_features): Fix
2400 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
2401 * config/i386/cpuinfo.h (processor_features): Add
2402 FEATURE_AVX512VP2INTERSECT.
2404 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
2407 * configure: Regenerated.
2409 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
2411 * configure: Regenerated.
2413 2020-05-09 Hans-Peter Nilsson <hp@axis.com>
2415 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
2416 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
2418 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
2420 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
2421 (__math_force_eval_div): New define.
2422 (__sfp_handle_exceptions): Use __math_force_eval_div to use
2423 generic division to generate INVALID, DIVZERO and INEXACT
2426 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2428 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
2429 instead of getauxval.
2431 (HWCAP_ATOMICS): Define.
2432 Guard detection on __gnu_linux__.
2434 2020-05-05 Michael Meissner <meissner@linux.ibm.com>
2436 * config.host: Delete changes meant for a private branch.
2437 * config/rs6000/t-float128: Likewise.
2438 * configure.ac: Likewise.
2439 * configure: Likewise.
2441 2020-05-05 Martin Liska <mliska@suse.cz>
2443 PR gcov-profile/93623
2444 * Makefile.in: Remove __gcov_flush.
2445 * gcov.h (__gcov_flush): Remove.
2446 * libgcov-interface.c (__gcov_flush): Remove.
2447 (init_mx): Use renamed mutex.
2448 (__gcov_lock): Likewise.
2449 (__gcov_unlock): Likewise.
2450 (__gcov_fork): Likewise.
2451 (__gcov_flush): Remove.
2453 2020-05-05 Martin Liska <mliska@suse.cz>
2455 PR gcov-profile/93623
2456 * libgcov-interface.c (__gcov_fork): Do not flush
2457 and reset only in child process.
2458 (__gcov_execl): Dump counters only and reset them
2459 only if exec* fails.
2460 (__gcov_execlp): Likewise.
2461 (__gcov_execle): Likewise.
2462 (__gcov_execv): Likewise.
2463 (__gcov_execvp): Likewise.
2464 (__gcov_execve): Likewise.
2466 2020-05-05 Martin Liska <mliska@suse.cz>
2468 PR gcov-profile/93623
2469 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
2470 * libgcov-interface.c (ALIAS_void_fn): Remove.
2472 (__gcov_unlock): New.
2473 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
2474 (__gcov_reset): Likewise.
2475 (__gcov_dump): Likewise.
2476 * libgcov.h (__gcov_lock): New declaration.
2477 (__gcov_unlock): Likewise.
2479 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
2481 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
2482 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
2483 generic division to generate INVALID and DIVZERO exceptions.
2485 2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
2487 * config/rs6000/crtresfpr.S: Use .machine ppc.
2488 * config/rs6000/crtresxfpr.S: Likewise.
2489 * config/rs6000/crtsavfpr.S: Likewise.
2491 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2494 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
2495 Update context->flags accroding to the frame state.
2497 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
2499 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
2500 Remove unneeded assignments to volatile memory.
2502 2020-04-15 Jakub Jelinek <jakub@redhat.com>
2505 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
2506 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
2507 is not defined, use just .arch armv8-a.
2508 (B, M, N, OPN): Define.
2509 (COMMENT): New .macro.
2510 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
2511 defined. Otherwise, move the operands right after the glue? and
2512 comment out operands where the macros are used.
2513 * configure: Regenerated.
2514 * config.in: Regenerated.
2516 2020-04-07 Ian Lance Taylor <iant@golang.org>
2519 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
2522 2020-04-04 Ian Lance Taylor <iant@golang.org>
2524 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
2526 2020-04-03 Ian Lance Taylor <iant@golang.org>
2528 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
2529 than mmap/munmap, to avoid hooks.
2531 2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
2533 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
2534 (TPFRA_OFFSET): Macros removed.
2535 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
2536 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
2537 (PG3_SKIPPING_OFFSET): New macros.
2538 (__isPATrange): Use cinfc_fast for the check.
2539 (__isSkipResetAddr): New function.
2540 (s390_fallback_frame_state): Check for skip trace addresses. Use
2541 either ICST_CRET or ICST_SRET to calculate return address
2543 (__tpf_eh_return): Handle skip trace addresses.
2545 2020-03-26 Richard Earnshaw <rearnsha@arm.com>
2548 * config/arm/lib1funcs.asm (COND): Use a single definition for
2550 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
2551 (aeabi_idivmod): Likewise.
2552 (divsi3_skip_div0_test): Likewise.
2554 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
2556 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
2558 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
2560 * config.host: Include the new makefile fragment.
2561 * config/s390/t-tpf: New file.
2563 2020-03-03 Richard Earnshaw <rearnsha@arm.com>
2565 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
2567 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
2568 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
2569 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
2570 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
2571 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
2573 (divsi3, modsi3): Likewise.
2574 (clzdi2, ctzsi2): Likewise.
2575 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
2577 (UNWIND_WRAPPER): Likewise.
2579 2020-03-02 Martin Liska <mliska@suse.cz>
2581 * libgcov-interface.c: Remove duplicate
2582 declaration of __gcov_flush_mx.
2584 2020-02-18 Martin Liska <mliska@suse.cz>
2587 * libgcov-merge.c (merge_topn_values_set): Record
2588 when a TOP N counter becomes invalid. When merging
2589 remove a smallest value if the space is needed.
2591 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
2596 * configure: Regenerated.
2598 2020-02-10 Jeff Law <law@redhat.com>
2600 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
2602 * config/frv/frvend.c: Similarly.
2604 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
2607 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2610 2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
2613 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
2614 _Unwind_gnu_Find_got.
2615 * unwind-pe.h: Likewise.
2617 2020-02-07 Jakub Jelinek <jakub@redhat.com>
2620 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
2621 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
2622 trailing :s in asm. Formatting fixes.
2623 (_Unwind_decode_typeinfo_ptr): Adjust caller.
2625 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
2627 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
2629 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
2630 * config/nios2-elf-lib.h: New.
2631 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
2632 code for finding GOT base for nios2.
2634 2020-01-27 Martin Liska <mliska@suse.cz>
2636 PR gcov-profile/93403
2637 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
2638 Call __gcov_indirect_call_profiler_body.
2639 (__gcov_indirect_call_profiler_body): New.
2640 (__gcov_indirect_call_profiler_v4_atomic): New.
2641 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
2644 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
2646 * config/arc/crti.S: Add RF16 object attribute.
2647 * config/arc/crtn.S: Likewise.
2648 * config/arc/crttls.S: Likewise.
2649 * config/arc/lib1funcs.S: Likewise.
2650 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
2651 * config/arc/lib2funcs.c: New file.
2652 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
2654 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
2656 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
2657 * configure.ac: Handle `--with-toolexeclibdir='.
2658 * configure: Regenerate.
2660 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2662 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
2664 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2666 * config/mips/gnustack.h: New file.
2667 * config/mips/crti.S: Include gnustack.h.
2668 * config/mips/crtn.S: Likewise.
2669 * config/mips/mips16.S: Likewise.
2670 * config/mips/vr4120-div.S: Likewise.
2672 2020-01-23 Martin Liska <mliska@suse.cz>
2674 * libgcov-driver.c (prune_topn_counter): Remove
2675 check for -1 as we only prune run-time counters
2676 that do not generate an invalid state.
2678 2020-01-22 Martin Liska <mliska@suse.cz>
2680 PR tree-optimization/92924
2681 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
2682 try to find an existing value, then find an empty slot
2685 2020-01-22 Martin Liska <mliska@suse.cz>
2687 PR tree-optimization/92924
2688 * libgcov-driver.c (prune_topn_counter): New.
2689 (prune_counters): Likewise.
2690 (dump_one_gcov): Prune a run-time counter.
2691 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2692 For a known value, add GCOV_TOPN_VALUES to value.
2693 Otherwise, decrement all counters by one.
2695 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
2697 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
2699 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
2702 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
2703 DEFAULT_USE_CXA_ATEXIT is true.
2705 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
2706 Thomas Preud'homme <thomas.preudhomme@arm.com>
2708 * config/arm/t-arm: Check return value of gcc rather than lack of
2711 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
2713 * config/avr/lib1funcs.S (skip): Simplify.
2715 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
2717 * config/gcn/atomic.c: Remove include of stdint.h.
2718 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
2721 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
2723 * config/gcn/atomic.c: New.
2724 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
2726 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
2728 Implement 64-bit double functions.
2731 * config.host (tmake_file) [target=avr]: Add t-libf7,
2732 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
2733 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
2734 depending on sizeof (double) or sizeof (long double).
2735 * config/avr/libf7: New folder.
2737 2020-01-05 Olivier Hainque <hainque@adacore.com>
2739 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
2742 2020-01-01 Jakub Jelinek <jakub@redhat.com>
2744 Update copyright years.
2746 2019-12-30 Olivier Hainque <hainque@adacore.com>
2748 * config/gthr-vxworks.h: Use _vxworks-versions.h.
2749 * config/gthr-vxworks-tls.c: Likewise.
2751 2019-12-30 Olivier Hainque <hainque@adacore.com>
2753 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
2754 standard zero-initializer syntax.
2756 2019-12-30 Olivier Hainque <hainque@adacore.com>
2758 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
2759 reference to the internal VX_GET_TLS_DATA interface.
2761 2019-12-30 Olivier Hainque <hainque@adacore.com>
2763 * config/vxcrtstuff.c: Fix incorrect spelling of
2764 USE_INITFINI_ARRAY in guard.
2766 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2768 * config.host: s/msp430*-*-elf/msp430-*-elf*.
2769 Override default "extra_parts" variable.
2770 * configure: Regenerate.
2771 * configure.ac: Disable TM clone registry by default for
2774 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2776 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
2778 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
2780 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2782 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
2785 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2787 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
2788 defined instead of its value.
2790 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2792 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
2793 if it will have contents.
2795 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
2798 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
2800 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
2803 * config.host: Add t-gthr-noweak on *-*-musl*.
2804 * config/t-gthr-noweak: New file.
2806 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
2808 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
2809 volatile void *. Remove trap check.
2810 (__kernel_cmpxchg2): Likewise.
2811 (FETCH_AND_OP_2): Adjust operand types.
2812 (OP_AND_FETCH_2): Likewise.
2813 (FETCH_AND_OP_WORD): Likewise.
2814 (OP_AND_FETCH_WORD): Likewise.
2815 (COMPARE_AND_SWAP_2): Likewise.
2816 (__sync_val_compare_and_swap_4): Likewise.
2817 (__sync_bool_compare_and_swap_4): Likewise.
2818 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2819 (__sync_lock_test_and_set_4): Likewise.
2820 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
2821 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
2823 (__sync_lock_release_8): Remove.
2825 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
2827 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
2830 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
2831 Doug Rupp <rupp@adacore.com>
2832 Olivier Hainque <hainque@adacore.com>
2834 * config.host: Collapse the arm-vxworks entries into
2835 a single arm-wrs-vxworks7* one.
2836 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
2837 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
2838 kernel modules, to be overriden by libstdc++ when we link with
2839 it. Rely on externally provided __exidx_start/end.
2841 2019-11-14 Doug Rupp <rupp@adacore.com>
2842 Olivier Hainque <hainque@adacore.com>
2844 * config.host: Handle aarch64*-wrs-vxworks7*.
2846 2019-11-12 Olivier Hainque <hainque@adacore.com>
2848 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
2849 sources except the cxx0x support to LIB2ADDEH. We don't support
2851 * config/t-vxworksae: New file.
2852 * config.host: Handle *-*-vxworksae: Add the two aforementioned
2853 Makefile fragment files at their expected position in the tmake_file
2854 list, in accordance with what is done for other VxWorks variants.
2856 2019-11-12 Corentin Gay <gay@adacore.com>
2857 Jerome Lambourg <lambourg@adacore.com>
2858 Olivier Hainque <hainque@adacore.com>
2860 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
2861 sources to LIB2ADDEH.
2862 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
2863 * config/t-vxworks7: Likewise.
2865 * config.host: Append a block at the end of the file to add the
2866 t-gthr files to the tmake_file list for VxWorks after everything
2869 * config/vxlib.c: Rename as gthr-vxworks.c.
2870 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
2872 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
2873 API and a basic error checking API, both internal. Simplify the
2874 __gthread_once_t type definition and initializers. Add sections
2875 for condition variables support and for the C++0x thread support,
2876 conditioned against Vx653 for the latter.
2878 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
2879 implementation, leveraging the TAS internal API.
2880 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
2881 API, leveraging the general availability of TLS services in VxWorks7
2883 (__gthread_setspecific, __gthread_setspecific): Use it.
2884 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
2885 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
2886 support based on VxWorks primitives.
2887 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
2888 based on VxWorks primitives.
2890 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
2891 Olivier Hainque <hainque@adacore.com>
2893 * config/vxcrtstuff.c: New file.
2894 * config/t-vxcrtstuff: New Makefile fragment.
2895 * config.host: Append t-vxcrtstuff to the tmake_file list
2896 on all VxWorks ports using dwarf for table based EH.
2898 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
2900 Support 64-bit double and 64-bit long double configurations.
2903 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
2904 long double is a 32-bit type.
2905 * config/avr/t-avrlibc: Copy double64 and long-double64
2906 multilib(s) from the vanilla one.
2907 * config/avr/t-copy-libgcc: New Makefile snip.
2909 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2911 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
2912 the target output object format is not ELF.
2913 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
2915 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
2918 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
2919 * fp-bit.c (pack_d, unpack_d): Remove special cases for
2920 FLOAT_BIT_ORDER_MISMATCH.
2921 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
2923 2019-11-01 Jim Wilson <jimw@sifive.com>
2925 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
2927 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2929 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
2930 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
2931 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
2932 Define symbols for 32-bit and f5series hardware multiply
2934 Replace hard-coded register addresses with symbols.
2935 Fix "_mspabi*" typo.
2937 * config/msp430/lib2mul.c: Add comment.
2939 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
2941 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
2942 unsigned int. Adjust callers.
2943 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
2944 unsigned int *. Load relocation offset before function pointer.
2945 Add barrier to ensure ordering.
2947 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
2949 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
2950 Load PIC register after branch target. Fix white space.
2951 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
2952 implementations. Load PIC register after branch target. Don't
2953 clobber function pointer when it points to function descriptor.
2954 Use nullification instead of branch in LINUX implementation.
2956 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
2958 * config/pa/fptr.c: Disable -Warray-bounds warning.
2960 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
2962 * config.in, configure: Re-rebuild with stock autoconf 2.69,
2963 not the ubuntu modified 2.69.
2966 * config/aarch64/lse-init.c: Include auto-target.h. Disable
2967 initialization if !HAVE_SYS_AUXV_H.
2968 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
2969 * config.in, configure: Rebuild.
2972 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
2975 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
2977 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
2978 CTR_EL0.IDC and CTR_EL0.DIC.
2980 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
2983 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2984 Mickaël Guêné <mickael.guene@st.com>
2986 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2989 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
2991 * config/aarch64/lse-init.c: New file.
2992 * config/aarch64/lse.S: New file.
2993 * config/aarch64/t-lse: New file.
2994 * config.host: Add t-lse to all aarch64 tuples.
2996 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2997 Mickaël Guêné <mickael.guene@st.com>
2999 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3002 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3003 Mickaël Guêné <mickael.guene@st.com>
3005 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
3006 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
3007 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
3008 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
3009 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
3010 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
3011 (__gnu_personality_sigframe_fdpic): New.
3012 (get_eit_entry): Add FDPIC signal frame support.
3014 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3015 Mickaël Guêné <mickael.guene@st.com>
3017 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
3018 (__kernel_dmb): Likewise.
3019 (__fdpic_cmpxchg): New function.
3020 (__fdpic_dmb): New function.
3021 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
3022 (gnu_Unwind_Find_got): New function.
3023 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
3024 * unwind-arm-common.inc (UCB_PR_GOT): New.
3025 (funcdesc_t): New struct.
3026 (get_eit_entry): Add FDPIC support.
3027 (unwind_phase2): Likewise.
3028 (unwind_phase2_forced): Likewise.
3029 (__gnu_Unwind_RaiseException): Likewise.
3030 (__gnu_Unwind_Resume): Likewise.
3031 (__gnu_Unwind_Backtrace): Likewise.
3032 * unwind-pe.h (read_encoded_value_with_base): Likewise.
3034 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3035 Mickaël Guêné <mickael.guene@st.com>
3037 * libgcc/crtstuff.c: Add support for FDPIC.
3039 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3041 * config.host: Handle *-*-uclinuxfdpiceabi.
3043 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
3045 * config.host: Set cpu_type for bpf-*-* targets.
3046 * config/bpf/t-bpf: Likewise.
3047 * config/bpf/crtn.S: Likewise.
3048 * config/bpf/crti.S: New file.
3050 2019-09-06 Jim Wilson <jimw@sifive.com>
3052 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3053 (riscv*-*-freebsd*): Likewise.
3055 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
3057 * config.host: Remove references to spu.
3058 * config/spu/: Remove directory.
3060 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3063 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
3064 element type, instead of "sizeof" the element type.
3065 (__DTOR_LIST__): Likewise.
3066 (__TMC_LIST__): Likewise.
3067 (__do_global_dtors_aux_fini_array_entry): Likewise.
3068 (__frame_dummy_init_array_entry): Likewise.
3069 (__CTOR_END__): Likewise.
3070 (__DTOR_END__): Likweise.
3071 (__FRAME_END__): Likewise.
3072 (__TMC_END__): Likewise.
3074 2019-08-20 Lili Cui <lilicui@intel.com>
3076 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
3077 INTEL_COREI7_COOPERLAKE.
3079 2019-07-31 Matt Thomas <matt@3am-software.com>
3080 Nick Hudson <nick@nthcliff.demon.co.uk>
3081 Matthew Green <mrg@eterna.com.au>
3082 Maya Rashish <coypu@sdf.org>
3084 * config.host (hppa*-*-netbsd*): New case.
3085 * config/pa/t-netbsd: New file.
3087 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
3089 * config/arm/cmse.c (cmse_check_address_range): Add
3090 warn_unused_result attribute.
3092 2019-07-22 Martin Liska <mliska@suse.cz>
3094 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
3095 * config/pa/t-stublib: Likewise.
3097 2019-07-22 Stafford Horne <shorne@gmail.com>
3100 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
3101 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
3102 instructions are not available on every processor. Change a
3103 l.bnf to l.bf to fix logic issue.
3105 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
3107 * config.host: Remove reference to t-darwin8.
3109 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
3111 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
3113 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
3114 mmacosx-version-min for crts to run across all system versions.
3115 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
3116 * config/t-darwin: Revise mmacosx-version-min for crts to run across
3117 system versions >= 10.4.
3119 2019-07-03 Martin Liska <mliska@suse.cz>
3121 * Makefile.in: Use topn_values instead of one_value names.
3122 * libgcov-merge.c (__gcov_merge_single): Move to ...
3123 (__gcov_merge_topn): ... this.
3124 (merge_single_value_set): Move to ...
3125 (merge_topn_values_set): ... this.
3126 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
3128 (__gcov_topn_values_profiler_body): ... this.
3129 (__gcov_one_value_profiler_v2): Move to ...
3130 (__gcov_topn_values_profiler): ... this.
3131 (__gcov_one_value_profiler_v2_atomic): Move to ...
3132 (__gcov_topn_values_profiler_atomic): ... this.
3133 (__gcov_indirect_call_profiler_v4): Remove.
3134 * libgcov-util.c (__gcov_single_counter_op): Move to ...
3135 (__gcov_topn_counter_op): ... this.
3136 * libgcov.h (L_gcov_merge_single): Remove.
3137 (L_gcov_merge_topn): New.
3138 (__gcov_merge_single): Remove.
3139 (__gcov_merge_topn): New.
3140 (__gcov_one_value_profiler_v2): Move to ..
3141 (__gcov_topn_values_profiler): ... this.
3142 (__gcov_one_value_profiler_v2_atomic): Move to ...
3143 (__gcov_topn_values_profiler_atomic): ... this.
3145 2019-07-03 Martin Liska <mliska@suse.cz>
3147 * libgcov-merge.c (merge_single_value_set): Support N values.
3148 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
3150 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
3152 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
3153 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
3154 * configure.ac: Add --disable-tm-clone-registry option.
3155 * configure: Regenerate.
3157 2019-06-27 Martin Liska <mliska@suse.cz>
3159 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
3161 * libgcov-util.c: Likewise.
3163 2019-06-27 Martin Liska <mliska@suse.cz>
3165 * libgcov-util.c (gcov_profile_merge): Release allocated
3167 (calculate_overlap): Likewise.
3169 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
3171 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
3172 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
3173 Build objects for the out of line save/restore register functions
3174 so that they can be used for any supported Darwin version.
3175 * config/t-darwin: Default the build Darwin version to Darwin8
3178 2019-06-25 Martin Liska <mliska@suse.cz>
3180 * libgcov-driver-system.c (replace_filename_variables): Do not
3181 call strlen with NULL argument.
3183 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
3185 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
3186 * config/gcn/unwind-gcn.c: New file.
3188 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
3189 Andrew Stubbs <ams@codesourcery.com>
3191 * configure: Regenerate.
3192 * config/gcn/gthr-gcn.h: New.
3194 2019-06-18 Tom de Vries <tdevries@suse.de>
3196 * config/nvptx/crt0.c (__main): Declare.
3198 2019-06-17 Matthew Green <mrg@eterna.com.au>
3199 Maya Rashish <coypu@sdf.org>
3201 * config.host (aarch64*-*-netbsd*): New case.
3203 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3205 * config/msp430/slli.S (__mspabi_sllll): New library function for
3206 performing a logical left shift of a 64-bit value.
3207 * config/msp430/srai.S (__mspabi_srall): New library function for
3208 performing a arithmetic right shift of a 64-bit value.
3209 * config/msp430/srll.S (__mspabi_srlll): New library function for
3210 performing a logical right shift of a 64-bit value.
3212 2019-06-14 Matt Thomas <matt@3am-software.com>
3213 Matthew Green <mrg@eterna.com.au>
3214 Nick Hudson <skrll@netbsd.org>
3215 Maya Rashish <coypu@sdf.org>
3217 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
3218 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
3220 * config/arm/t-netbsd-eabi: New file.
3222 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
3224 * config.host: Add PRU target.
3225 * config/pru/asri.c: New file.
3226 * config/pru/eqd.c: New file.
3227 * config/pru/eqf.c: New file.
3228 * config/pru/ged.c: New file.
3229 * config/pru/gef.c: New file.
3230 * config/pru/gtd.c: New file.
3231 * config/pru/gtf.c: New file.
3232 * config/pru/led.c: New file.
3233 * config/pru/lef.c: New file.
3234 * config/pru/lib2bitcountHI.c: New file.
3235 * config/pru/lib2divHI.c: New file.
3236 * config/pru/lib2divQI.c: New file.
3237 * config/pru/lib2divSI.c: New file.
3238 * config/pru/libgcc-eabi.ver: New file.
3239 * config/pru/ltd.c: New file.
3240 * config/pru/ltf.c: New file.
3241 * config/pru/mpyll.S: New file.
3242 * config/pru/pru-abi.h: New file.
3243 * config/pru/pru-asm.h: New file.
3244 * config/pru/pru-divmod.h: New file.
3245 * config/pru/sfp-machine.h: New file.
3246 * config/pru/t-pru: New file.
3248 2019-06-11 Jakub Jelinek <jakub@redhat.com>
3250 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
3252 2019-06-10 Martin Liska <mliska@suse.cz>
3255 * libgcov.h: Add ATTRIBUTE_UNUSED.
3257 2019-06-10 Martin Liska <mliska@suse.cz>
3259 * Makefile.in: Add __gcov_one_value_profiler_v2,
3260 __gcov_one_value_profiler_v2_atomic and
3261 __gcov_indirect_call_profiler_v4.
3262 * libgcov-merge.c (__gcov_merge_single): Change
3264 (merge_single_value_set): New.
3265 * libgcov-profiler.c (__gcov_one_value_profiler_body):
3266 Update functionality.
3267 (__gcov_one_value_profiler): Remove.
3268 (__gcov_one_value_profiler_v2): ... this.
3269 (__gcov_one_value_profiler_atomic): Rename to ...
3270 (__gcov_one_value_profiler_v2_atomic): this.
3271 (__gcov_indirect_call_profiler_v3): Rename to ...
3272 (__gcov_indirect_call_profiler_v4): ... this.
3273 * libgcov.h (__gcov_one_value_profiler): Remove.
3274 (__gcov_one_value_profiler_atomic): Remove.
3275 (__gcov_one_value_profiler_v2_atomic): New.
3276 (__gcov_indirect_call_profiler_v3): Remove.
3277 (__gcov_one_value_profiler_v2): New.
3278 (__gcov_indirect_call_profiler_v4): New.
3279 (gcov_get_counter_ignore_scaling): New function.
3281 2019-06-07 Martin Liska <mliska@suse.cz>
3283 * Makefile.in: Remove usage of
3284 _gcov_merge_icall_topn.
3285 * libgcov-driver.c (gcov_sort_n_vals): Remove.
3286 (gcov_sort_icall_topn_counter): Likewise.
3287 (gcov_sort_topn_counter_arrays): Likewise.
3288 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
3289 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
3290 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
3292 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
3293 (struct indirect_call_tuple): Remove.
3294 (__gcov_indirect_call_topn_profiler): Remove.
3295 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
3296 * libgcov.h (gcov_sort_n_vals): Remove.
3297 (L_gcov_merge_icall_topn): Likewise.
3298 (__gcov_merge_icall_topn): Likewise.
3299 (__gcov_indirect_call_topn_profiler): Likewise.
3301 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
3303 * config/rs6000/t-darwin: Ensure that the unwinder is built with
3306 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3308 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
3310 (__mspabi_slli): Likewise.
3311 (__mspabi_slll_n): Likewise.
3312 (__mspabi_slll): Likewise.
3313 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
3314 (__mspabi_srai): Likewise.
3315 (__mspabi_sral_n): Likewise.
3316 (__mspabi_sral): Likewise.
3317 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
3318 (__mspabi_srli): Likewise.
3319 (__mspabi_srll_n): Likewise.
3320 (__mspabi_srll): Likewise.
3322 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
3324 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
3325 Add appropriate tm_file clause as well.
3326 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
3328 2019-06-05 James Clarke <jrtc27@jrtc27.com>
3330 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
3331 rather than .data/.bss so it can be accessed via gp-relative
3334 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
3336 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
3337 (CR2_REGNO): Rename to R_CR2.
3338 (XER_REGNO): Rename to R_XER.
3339 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
3340 (VRSAVE_REGNO): Rename to R_VRSAVE.
3341 (VSCR_REGNO): R_VSCR.
3343 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
3345 * config.host (rx-*-linux*): Add new case.
3346 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
3348 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
3350 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
3352 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
3353 aarch64_post_frob_eh_handler_addr): Add check for b-key.
3354 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
3355 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
3356 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
3357 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
3359 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
3361 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
3363 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3365 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
3366 Remove Solaris 9 and 10 support.
3367 (sparc_is_sighandler): Likewise.
3369 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
3371 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
3373 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
3375 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3376 4_FP_W_TYPEs are used for IEEE quad precision.
3377 * soft-fp/extendhftf2.c: Likewise.
3378 * soft-fp/extendsftf2.c: Likewise.
3379 * soft-fp/extendxftf2.c: Likewise.
3380 * soft-fp/trunctfdf2.c: Likewise.
3381 * soft-fp/trunctfhf2.c: Likewise.
3382 * soft-fp/trunctfsf2.c: Likewise.
3383 * soft-fp/trunctfxf2.c: Likewise.
3384 * config/rs6000/ibm-ldouble.c: Likewise.
3386 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3388 * config.host: Simplify various *-*-solaris2.1[0-9]* to
3390 * configure.ac: Likewise.
3391 * configure: Regenerate.
3393 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3394 Solaris 10 and Solaris 11 < snv_125 handling.
3396 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
3398 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
3400 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
3402 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
3403 * config/i386/cpuinfo.h (enum processor_features): Add
3406 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3407 Bernd Edlinger <bernd.edlinger@hotmail.de>
3408 Jakub Jelinek <jakub@redhat.com>
3411 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
3412 * config/arm/unwind-arm.c: Likewise.
3413 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
3416 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
3418 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
3419 (RT_SIGRETURN): Update.
3420 (nds32_fallback_frame_state): Update.
3422 2019-02-21 Martin Sebor <msebor@redhat.com>
3424 * libgcc2.h (__clear_cache): Correct signature.
3425 * libgcc2.c (__clear_cache): Same.
3427 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
3429 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
3430 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
3432 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
3434 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
3435 regno instead of index to DWARF_ZERO_REG.
3437 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
3439 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
3440 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
3442 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
3444 * config/alpha/t-linux: Add -mfp-rounding-mode=d
3445 to HOST_LIBGCC2_CFLAGS.
3447 2019-01-23 Joseph Myers <joseph@codesourcery.com>
3450 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
3452 2019-01-18 Martin Liska <mliska@suse.cz>
3454 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
3456 (__gcov_indirect_call_profiler_v3): ... this.
3457 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
3458 (__gcov_indirect_call_profiler_v3): Likewise.
3459 * Makefile.in: Bump function name.
3461 2019-01-18 Martin Liska <mliska@suse.cz>
3463 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
3464 (gcov_version): Use in gcov_error.
3465 (merge_one_data): Likewise.
3466 (dump_one_gcov): Likewise.
3468 2019-01-18 Martin Liska <mliska@suse.cz>
3470 * libgcov-driver.c (gcov_version_string): New function.
3471 (gcov_version): Convert version integer into string.
3473 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
3474 Kwok Cheung Yeung <kcy@codesourcery.com>
3475 Julian Brown <julian@codesourcery.com>
3476 Tom de Vries <tom@codesourcery.com>
3478 * config.host: Recognize amdgcn*-*-amdhsa.
3479 * config/gcn/crt0.c: New file.
3480 * config/gcn/lib2-divmod-hi.c: New file.
3481 * config/gcn/lib2-divmod.c: New file.
3482 * config/gcn/lib2-gcn.h: New file.
3483 * config/gcn/sfp-machine.h: New file.
3484 * config/gcn/t-amdgcn: New file.
3486 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
3490 * config/c6x/libunwind.S: Mechanically replace "can not" with
3492 * config/tilepro/atomic.h: Likewise.
3493 * config/vxlib-tls.c: Likewise.
3494 * generic-morestack-thread.c: Likewise.
3495 * generic-morestack.c: Likewise.
3496 * mkmap-symver.awk: Likewise.
3498 2019-01-01 Jakub Jelinek <jakub@redhat.com>
3500 Update copyright years.
3502 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3504 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
3505 to ignore -Waddress-of-packed-member.
3507 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
3509 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
3510 parameter and corresponding code.
3511 (ARM_FUNC_START): Likewise in both definitions.
3512 Also update footer comment about condition that need to match with
3513 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
3514 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
3515 defined. Weakly define it in this case.
3516 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
3517 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
3518 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
3519 comment to keep condition in sync with the one in
3520 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
3522 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
3524 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
3525 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
3527 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3529 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
3530 and .cfi_endproc directives for VxWorks targets.
3532 2018-12-05 Paul Koning <ni1d@arrl.net>
3534 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
3536 2018-11-27 Alan Modra <amodra@gmail.com>
3538 * config/rs6000/morestack.S (__stack_split_initialize),
3539 (__morestack_get_guard, __morestack_set_guard),
3540 (__morestack_make_guard): Provide CFI covering these functions.
3541 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
3543 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3545 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
3546 (sc_pt_regs_lr): Update for kernel.
3547 (sc_pt_regs_tls): Update for kernel.
3549 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3551 * config/csky/linux-unwind.h: Fix coding style.
3553 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
3555 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
3556 (csky_fallback_frame_state): Modify the check of the
3557 instructions to adapt to changes in the kernel
3559 2018-11-09 Stafford Horne <shorne@gmail.com>
3560 Richard Henderson <rth@twiddle.net>
3562 * config.host: Add OpenRISC support.
3563 * config/or1k/*: New.
3565 2018-11-08 Kito Cheng <kito@andestech.com>
3567 * soft-fp/adddf3.c: Update from glibc.
3568 * soft-fp/addsf3.c: Likewise.
3569 * soft-fp/addtf3.c: Likewise.
3570 * soft-fp/divdf3.c: Likewise.
3571 * soft-fp/divsf3.c: Likewise.
3572 * soft-fp/divtf3.c: Likewise.
3573 * soft-fp/double.h: Likewise.
3574 * soft-fp/eqdf2.c: Likewise.
3575 * soft-fp/eqsf2.c: Likewise.
3576 * soft-fp/eqtf2.c: Likewise.
3577 * soft-fp/extenddftf2.c: Likewise.
3578 * soft-fp/extended.h: Likewise.
3579 * soft-fp/extendhftf2.c: Likewise.
3580 * soft-fp/extendsfdf2.c: Likewise.
3581 * soft-fp/extendsftf2.c: Likewise.
3582 * soft-fp/extendxftf2.c: Likewise.
3583 * soft-fp/fixdfdi.c: Likewise.
3584 * soft-fp/fixdfsi.c: Likewise.
3585 * soft-fp/fixdfti.c: Likewise.
3586 * soft-fp/fixhfti.c: Likewise.
3587 * soft-fp/fixsfdi.c: Likewise.
3588 * soft-fp/fixsfsi.c: Likewise.
3589 * soft-fp/fixsfti.c: Likewise.
3590 * soft-fp/fixtfdi.c: Likewise.
3591 * soft-fp/fixtfsi.c: Likewise.
3592 * soft-fp/fixtfti.c: Likewise.
3593 * soft-fp/fixunsdfdi.c: Likewise.
3594 * soft-fp/fixunsdfsi.c: Likewise.
3595 * soft-fp/fixunsdfti.c: Likewise.
3596 * soft-fp/fixunshfti.c: Likewise.
3597 * soft-fp/fixunssfdi.c: Likewise.
3598 * soft-fp/fixunssfsi.c: Likewise.
3599 * soft-fp/fixunssfti.c: Likewise.
3600 * soft-fp/fixunstfdi.c: Likewise.
3601 * soft-fp/fixunstfsi.c: Likewise.
3602 * soft-fp/fixunstfti.c: Likewise.
3603 * soft-fp/floatdidf.c: Likewise.
3604 * soft-fp/floatdisf.c: Likewise.
3605 * soft-fp/floatditf.c: Likewise.
3606 * soft-fp/floatsidf.c: Likewise.
3607 * soft-fp/floatsisf.c: Likewise.
3608 * soft-fp/floatsitf.c: Likewise.
3609 * soft-fp/floattidf.c: Likewise.
3610 * soft-fp/floattihf.c: Likewise.
3611 * soft-fp/floattisf.c: Likewise.
3612 * soft-fp/floattitf.c: Likewise.
3613 * soft-fp/floatundidf.c: Likewise.
3614 * soft-fp/floatundisf.c: Likewise.
3615 * soft-fp/floatunditf.c: Likewise.
3616 * soft-fp/floatunsidf.c: Likewise.
3617 * soft-fp/floatunsisf.c: Likewise.
3618 * soft-fp/floatunsitf.c: Likewise.
3619 * soft-fp/floatuntidf.c: Likewise.
3620 * soft-fp/floatuntihf.c: Likewise.
3621 * soft-fp/floatuntisf.c: Likewise.
3622 * soft-fp/floatuntitf.c: Likewise.
3623 * soft-fp/gedf2.c: Likewise.
3624 * soft-fp/gesf2.c: Likewise.
3625 * soft-fp/getf2.c: Likewise.
3626 * soft-fp/half.h: Likewise.
3627 * soft-fp/ledf2.c: Likewise.
3628 * soft-fp/lesf2.c: Likewise.
3629 * soft-fp/letf2.c: Likewise.
3630 * soft-fp/muldf3.c: Likewise.
3631 * soft-fp/mulsf3.c: Likewise.
3632 * soft-fp/multf3.c: Likewise.
3633 * soft-fp/negdf2.c: Likewise.
3634 * soft-fp/negsf2.c: Likewise.
3635 * soft-fp/negtf2.c: Likewise.
3636 * soft-fp/op-1.h: Likewise.
3637 * soft-fp/op-2.h: Likewise.
3638 * soft-fp/op-4.h: Likewise.
3639 * soft-fp/op-8.h: Likewise.
3640 * soft-fp/op-common.h: Likewise.
3641 * soft-fp/quad.h: Likewise.
3642 * soft-fp/single.h: Likewise.
3643 * soft-fp/soft-fp.h: Likewise.
3644 * soft-fp/subdf3.c: Likewise.
3645 * soft-fp/subsf3.c: Likewise.
3646 * soft-fp/subtf3.c: Likewise.
3647 * soft-fp/truncdfsf2.c: Likewise.
3648 * soft-fp/trunctfdf2.c: Likewise.
3649 * soft-fp/trunctfhf2.c: Likewise.
3650 * soft-fp/trunctfsf2.c: Likewise.
3651 * soft-fp/trunctfxf2.c: Likewise.
3652 * soft-fp/unorddf2.c: Likewise.
3653 * soft-fp/unordsf2.c: Likewise.
3654 * soft-fp/unordtf2.c: Likewise.
3656 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
3658 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
3659 * config/i386/cpuinfo.h (processor_types): Add znver2.
3661 2018-11-01 Paul Koning <ni1d@arrl.net>
3663 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
3664 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
3666 2018-10-31 Joseph Myers <joseph@codesourcery.com>
3669 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
3670 * configure: Regenerate.
3672 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
3674 * config/arc/lib1funcs.S (_muldi3): New function.
3675 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
3677 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3679 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
3681 2018-10-25 Martin Liska <mliska@suse.cz>
3684 * libgcov-profiler.c: Revert.
3686 2018-10-24 Martin Liska <mliska@suse.cz>
3688 * libgcov-profiler.c: Start from 1 in order to distinguish
3689 functions which were seen and these that were not.
3691 2018-10-18 Paul Koning <ni1d@arrl.net>
3693 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
3695 * divmod.c: Update references to __udivmodsi4.
3697 * udivhi3.c: New file.
3698 * udivmodhi4.c: New file.
3699 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
3701 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3703 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
3705 2018-10-12 Olivier Hainque <hainque@adacore.com>
3707 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
3708 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
3710 2018-10-08 Paul Koning <ni1d@arrl.net>
3712 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
3714 2018-10-04 Martin Liska <mliska@suse.cz>
3716 PR gcov-profile/84107
3717 * libgcov-profiler.c (__gcov_indirect_call):
3718 Change type to indirect_call_tuple.
3719 (struct indirect_call_tuple): New struct.
3720 (__gcov_indirect_call_topn_profiler): Change type.
3721 (__gcov_indirect_call_profiler_v2): Use the new
3723 * libgcov.h (struct indirect_call_tuple): New struct
3726 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
3728 * libgcc2.c (isnan): Use __builtin_isnan.
3729 (isfinite): Use __builtin_isfinite.
3730 (isinf): Use __builtin_isinf.
3732 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
3734 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
3736 2018-09-21 Alexandre Oliva <oliva@adacore.com>
3738 * config/vxcache.c: New file. Provide __clear_cache, based on
3739 the cacheTextUpdate VxWorks service.
3740 * config/t-vxworks (LIB2ADD): Add vxcache.c.
3741 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
3742 * config/t-vxwoks7: Likewise.
3744 2018-09-21 Martin Liska <mliska@suse.cz>
3746 * libgcov-driver.c (crc32_unsigned): Remove.
3747 (gcov_histogram_insert): Likewise.
3748 (gcov_compute_histogram): Likewise.
3749 (compute_summary): Simplify rapidly.
3750 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
3751 (merge_summary): Rapidly simplify.
3752 (dump_one_gcov): Ignore gcov_summary.
3753 (gcov_do_dump): Do not handle program summary, it's not
3755 * libgcov-util.c (tag_summary): Remove.
3756 (read_gcda_finalize): Fix coding style.
3757 (read_gcda_file): Initialize curr_object_summary.
3758 (compute_summary): Remove.
3759 (calculate_overlap): Remove settings of run_max.
3761 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
3763 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
3764 ucontext_t type instead.
3765 (nds32_fallback_frame_state): Remove struct _sigframe statement.
3767 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
3769 * config/nds32/t-nds32-glibc: New file.
3771 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3773 * configure.ac (solaris_ld_v2_maps): New test.
3774 * configure: Regenerate.
3775 * Makefile.in (solaris_ld_v2_maps): New variable.
3776 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
3779 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
3782 * config/arm/lib1funcs.asm (speculation_barrier): New function.
3783 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
3786 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
3788 * config/unwind-dw2-fde-darwin.c
3789 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
3790 * config/darwin10-unwind-find-enc-func.c: … to here.
3791 * config/t-darwin: Build Darwin10 unwinder shim crt.
3792 * libgcc/config.host: Add the Darwin10 unwinder shim.
3794 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3796 * config.host: Add crtbegin.o and crtend.o for
3797 powerpc-wrs-vxworks target.
3799 2018-08-17 Jojo <jijie_rong@c-sky.com>
3800 Huibin Wang <huibin_wang@c-sky.com>
3801 Sandra Loosemore <sandra@codesourcery.com>
3802 Chung-Lin Tang <cltang@codesourcery.com>
3806 * config.host: Add C-SKY support.
3807 * config/csky/*: New.
3809 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
3811 * config/nds32/t-nds32-isr: Rearrange object dependency.
3812 * config/nds32/initfini.c: Add dwarf2 unwinding support.
3813 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
3814 and registers usage.
3815 * config/nds32/isr-library/excp_isr.S: Ditto.
3816 * config/nds32/isr-library/intr_isr.S: Ditto.
3817 * config/nds32/isr-library/reset.S: Ditto.
3818 * config/nds32/isr-library/restore_all.inc: Ditto.
3819 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
3820 * config/nds32/isr-library/restore_partial.inc: Ditto.
3821 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
3822 * config/nds32/isr-library/save_all.inc: Ditto.
3823 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
3824 * config/nds32/isr-library/save_partial.inc: Ditto.
3825 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
3826 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
3828 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
3830 * config/pa/linux-atomic.c: Update comment.
3831 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
3832 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
3833 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
3834 __ATOMIC_RELAXED for atomic loads.
3835 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
3836 unordered store to release lock.
3837 (__sync_lock_release_8): Likewise.
3838 (SYNC_LOCK_RELEASE_2): Remove define.
3840 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
3843 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
3844 exponent goes negative. Update my email address.
3845 * config/arm/ieee754-sf.S: Likewise.
3847 2018-08-01 Martin Liska <mliska@suse.cz>
3849 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
3850 check that __gcov_indirect_call_callee is non-null.
3852 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
3854 * config/arm/ieee754-df.S: Fix comment for code working on
3856 * config/arm/ieee754-sf.S: Likewise.
3858 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
3861 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3864 2018-07-05 James Clarke <jrtc27@jrtc27.com>
3866 * configure: Regenerated.
3868 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3870 * Makefile.in (install_leaf): Use enable_gcov instead of
3873 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3875 * configure.ac: Add --disable-gcov option.
3876 * configure: Regenerate.
3877 * Makefile.in: Honour @enable_gcov@.
3879 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3881 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
3882 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
3883 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
3884 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
3886 * config/arm/ieee754-sf.S: Likewise.
3887 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
3889 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3891 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
3893 * config/arm/ieee754-sf.S: Likewise.
3895 2018-06-20 Than McIntosh <thanm@google.com>
3898 * generic-morestack.c (allocate_segment): Move calls to getenv and
3899 getpagesize to __morestack_load_mmap.
3900 (__morestack_load_mmap) Initialize static_pagesize and
3901 use_guard_page here so as to avoid clobbering SSE regs during a
3904 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
3906 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
3907 support modules with -mno-gnu-attribute.
3908 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
3910 2018-06-07 Olivier Hainque <hainque@adacore.com>
3912 * config/t-vxworks (LIBGCC_INCLUDES): Add
3913 -I$(MULTIBUILDTOP)../../gcc/include.
3914 * config/t-vxworks7: Likewise. Reformat a bit to match
3915 the t-vxworks layout.
3917 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
3919 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
3921 2018-06-07 Martin Liska <mliska@suse.cz>
3923 * libgcov-driver.c: Rename cs_all to all and assign it from
3926 2018-06-07 Martin Liska <mliska@suse.cz>
3929 * libgcov-driver-system.c (replace_filename_variables): Use
3930 memcpy instead of mempcpy.
3931 (allocate_filename_struct): Do not allocate filename, allocate
3933 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
3934 here and properly copy content into it.
3935 * libgcov-driver.c (struct gcov_filename): Remove max_length
3936 field, change prefix from size_t into char *.
3937 (compute_summary): Do not calculate longest filename.
3938 (gcov_do_dump): Release memory of gf.filename after each file.
3939 * libgcov-util.c (compute_summary): Use new signature of
3941 (calculate_overlap): Likewise.
3943 2018-06-05 Martin Liska <mliska@suse.cz>
3945 PR gcov-profile/47618
3946 * libgcov-driver-system.c (replace_filename_variables): New
3948 (gcov_exit_open_gcda_file): Use it.
3950 2018-06-05 Martin Liska <mliska@suse.cz>
3952 * libgcov-driver.c (gcov_compute_histogram): Remove usage
3953 of gcov_ctr_summary.
3954 (compute_summary): Do it just for a single summary.
3955 (merge_one_data): Likewise.
3956 (merge_summary): Simplify as we read just single summary.
3957 (dump_one_gcov): Pass proper argument.
3958 * libgcov-util.c (compute_one_gcov): Simplify as we have just
3960 (gcov_info_count_all_cold): Likewise.
3961 (calculate_overlap): Likewise.
3963 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
3964 Monk Chiang <sh.chiang04@gmail.com>
3966 * config.host (nds32*-linux*): New.
3967 * config/nds32/linux-atomic.c: New file.
3968 * config/nds32/linux-unwind.h: New file.
3970 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
3973 * config/i386/cpuinfo.c (get_amd_cpu): Return
3974 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
3976 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
3978 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
3980 2018-05-29 Martin Liska <mliska@suse.cz>
3982 PR gcov-profile/85759
3983 * libgcov-driver-system.c (gcov_error): Introduce usage of
3984 GCOV_EXIT_AT_ERROR env. variable.
3985 * libgcov-driver.c (merge_one_data): Print error that we
3986 overwrite a gcov file with a different timestamp.
3988 2018-05-23 Kalamatee <kalamatee@gmail.com>
3990 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
3993 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
3994 Monk Chiang <sh.chiang04@gmail.com>
3995 Jim Wilson <jimw@sifive.com>
3997 * config/riscv/save-restore.S: Add support for rv32e.
3999 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4001 * config/arm/libunwind.S: Update comment relating to armv5.
4003 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
4005 * config/arm/cmse.c (cmse_check_address_range): Replace
4006 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
4008 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
4010 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
4011 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
4013 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
4015 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
4016 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
4018 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
4020 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
4022 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
4023 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
4026 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
4027 op_and_fetch to return the right result.
4029 2018-04-27 Alan Modra <amodra@gmail.com>
4032 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
4033 -fno-asynchronous-unwind-tables.
4035 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
4037 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
4038 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
4040 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
4042 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
4043 when including "config/i386/shadow-stack-unwind.h".
4045 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
4047 * configure: Regenerated.
4049 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
4052 * config/rs6000/_powikf2.c: New file. Add support for the
4053 __builtin_powil function when long double is IEEE 128-bit floating
4055 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
4057 (__powikf2): Likewise.
4058 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
4059 (__powikf2_hw): Likewise.
4060 (__powikf2): Likewise.
4061 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
4062 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
4063 (_powikf2-hw.c): Likewise.
4065 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
4068 * unwind-generic.h (_Unwind_Frames_Increment): New.
4069 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
4071 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
4072 count with _Unwind_Frames_Increment.
4073 (_Unwind_ForcedUnwind_Phase2): Likewise.
4075 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
4078 * config/i386/morestack.S (__stack_split_initialize): Add
4081 2018-04-19 Jakub Jelinek <jakub@redhat.com>
4083 * configure: Regenerated.
4085 2018-04-18 David Malcolm <dmalcolm@redhat.com>
4088 * configure: Regenerate.
4090 2018-04-16 Jakub Jelinek <jakub@redhat.com>
4093 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
4094 -Wdangling-else warnings. Mask shift counts to avoid
4095 -Wshift-count-negative and -Wshift-count-overflow false positives.
4097 2018-04-06 Ruslan Bukin <br@bsdpad.com>
4099 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
4101 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
4104 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
4105 (XSTATE_FP): Likewise.
4106 (XSTATE_SSE): Likewise.
4107 (XSTATE_YMM): Likewise.
4108 (XSTATE_OPMASK): Likewise.
4109 (XSTATE_ZMM): Likewise.
4110 (XSTATE_HI_ZMM): Likewise.
4111 (XCR_AVX_ENABLED_MASK): Likewise.
4112 (XCR_AVX512F_ENABLED_MASK): Likewise.
4113 (get_available_features): Enable AVX and AVX512 features only
4114 if their states are supported by OSXSAVE.
4116 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4119 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4120 Fix a typo, tmp => 255.
4122 2018-03-20 Jakub Jelinek <jakub@redhat.com>
4125 * config/i386/cpuinfo.h (__cpu_features2): Declare.
4126 * config/i386/cpuinfo.c (__cpu_features2): New variable for
4128 (set_feature): Define.
4129 (get_available_features): Use set_feature macro. Set __cpu_features2
4130 to the second word of features ifndef SHARED.
4132 2018-03-15 Julia Koval <julia.koval@intel.com>
4134 * config/i386/cpuinfo.c (get_available_features): Add
4135 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
4136 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
4137 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
4138 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
4139 FEATURE_AVX512BITALG.
4141 2018-03-14 Julia Koval <julia.koval@intel.com>
4143 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
4144 icelake client and icelake server.
4146 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
4148 * config/pa/fptr.c (_dl_read_access_allowed): New.
4149 (__canonicalize_funcptr_for_compare): Use it.
4151 2018-02-28 Jakub Jelinek <jakub@redhat.com>
4154 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
4155 $asm_hidden_op if visibility ("hidden") attribute works.
4156 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
4157 * config/i386/i386-asm.h: Don't include auto-host.h.
4158 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
4159 PACKAGE_URL): Don't undefine.
4160 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
4161 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
4162 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
4163 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
4164 definition instead of hardcoded .hidden.
4165 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
4166 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
4167 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
4168 (USE_GAS_CFI_DIRECTIVES): Don't define.
4169 * configure: Regenerated.
4170 * config.in: Likewise.
4172 2018-02-26 Jakub Jelinek <jakub@redhat.com>
4175 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
4176 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
4177 inclusion of auto-target.h and auto-host.h.
4178 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
4179 __GCC_HAVE_DWARF2_CFI_ASM.
4180 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4181 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
4183 * config/i386/cygwin.S: Don't include auto-host.h here, just
4184 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
4185 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4186 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
4187 * config/i386/resms64fx.h: Add cfi_* directives.
4188 * config/i386/resms64x.h: Likewise.
4190 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
4192 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
4193 .literal_position directive.
4194 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
4196 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4199 * configure: Regenerate.
4201 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4204 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4205 Include cetintrin.h not x86intrin.h.
4207 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4210 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4211 Use new _get_ssp and _inc_ssp intrinsics.
4213 2018-02-02 Julia Koval <julia.koval@intel.com>
4215 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
4217 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4219 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
4221 (__divsi3): Use RF16 safe registers.
4222 (__modsi3): Likewise.
4224 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
4226 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
4227 (__divsf3): Make NaN return value quiet.
4228 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
4229 (__divdf3): Make NaN return value quiet.
4231 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4233 * config/rl78/anddi3.S: New assembly file.
4234 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
4236 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4238 * config/rl78/umindi3.S: New assembly file.
4239 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
4241 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4243 * config/rl78/smindi3.S: New assembly file.
4244 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
4246 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4248 * config/rl78/smaxdi3.S: New assembly file.
4249 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
4251 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4253 * config/rl78/umaxdi3.S: New assembly file.
4254 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
4256 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
4259 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
4260 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
4262 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
4264 * config/aarch64/value-unwind.h (aarch64_vg): New function.
4265 (DWARF_LAZY_REGISTER_VALUE): Define.
4266 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
4267 to provide a fallback register value.
4269 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
4271 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
4272 __ibm128, instead of trying to use long double.
4273 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
4274 accomidate -mabi=ieeelongdouble multilibs.
4275 (CVT_IBM128_TO_FLOAT128): Likewise.
4276 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
4277 the appropriate IBM extended double type.
4278 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
4279 (__gcc_qsub): Likewise.
4280 (__gcc_qmul): Likewise.
4281 (__gcc_qdiv): Likewise.
4282 (pack_ldouble): Likewise.
4283 (__gcc_qneg): Likewise.
4284 (__gcc_qeq): Likewise.
4285 (__gcc_qne): Likewise.
4286 (__gcc_qge): Likewise.
4287 (__gcc_qle): Likewise.
4288 (__gcc_stoq): Likewise.
4289 (__gcc_dtoq): Likewise.
4290 (__gcc_itoq): Likewise.
4291 (__gcc_utoq): Likewise.
4292 (__gcc_qunord): Likewise.
4293 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
4294 quad-float128.h for the definitions.
4295 (COPYSIGN): Use the f128 version instead of the q version.
4296 (INFINITY): Likewise.
4297 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
4298 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
4299 quad-float128.h for the definitions.
4300 (COPYSIGN): Use the f128 version instead of the q version.
4301 (INFINITY): Likewise.
4303 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
4304 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
4305 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
4307 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
4309 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
4312 2018-01-03 Jakub Jelinek <jakub@redhat.com>
4314 Update copyright years.
4316 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
4318 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
4319 * config/riscv/multi3.c: New file.
4320 * config/riscv/multi3.S: Remove.
4322 2017-12-08 Jim Wilson <jimw@sifive.com>
4324 * config/riscv/div.S: Use FUNC_* macros.
4325 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
4326 * config/riscv/save-restore.S: Likewise.
4327 * config/riscv/riscv-asm.h: New.
4329 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
4331 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
4332 * config/rs6000/_divkc3.c (__divkc3): Likewise.
4335 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
4336 correct type for all ifunc resolvers to silence -Wattribute-alias
4337 warnings. Eliminate the forward declaration of the resolver
4338 functions which is no longer needed.
4339 (__subkf3_resolve): Likewise.
4340 (__mulkf3_resolve): Likewise.
4341 (__divkf3_resolve): Likewise.
4342 (__negkf2_resolve): Likewise.
4343 (__eqkf2_resolve): Likewise.
4344 (__nekf2_resolve): Likewise.
4345 (__gekf2_resolve): Likewise.
4346 (__gtkf2_resolve): Likewise.
4347 (__lekf2_resolve): Likewise.
4348 (__ltkf2_resolve): Likewise.
4349 (__unordkf2_resolve): Likewise.
4350 (__extendsfkf2_resolve): Likewise.
4351 (__extenddfkf2_resolve): Likewise.
4352 (__trunckfsf2_resolve): Likewise.
4353 (__trunckfdf2_resolve): Likewise.
4354 (__fixkfsi_resolve): Likewise.
4355 (__fixkfdi_resolve): Likewise.
4356 (__fixunskfsi_resolve): Likewise.
4357 (__fixunskfdi_resolve): Likewise.
4358 (__floatsikf_resolve): Likewise.
4359 (__floatdikf_resolve): Likewise.
4360 (__floatunsikf_resolve): Likewise.
4361 (__floatundikf_resolve): Likewise.
4362 (__extendkftf2_resolve): Likewise.
4363 (__trunctfkf2_resolve): Likewise.
4366 * config/rs6000/quad-float128.h (TF): Don't define if long double
4367 is IEEE 128-bit floating point.
4368 (TCtype): Define as either TCmode or KCmode, depending on whether
4369 long double is IEEE 128-bit floating point.
4370 (__mulkc3_sw): Add declarations for software/hardware versions of
4371 complex multiply/divide.
4372 (__divkc3_sw): Likewise.
4373 (__mulkc3_hw): Likewise.
4374 (__divkc3_hw): Likewise.
4375 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
4376 handlers to switch between using software emulation and hardware
4377 float128 instructions, build the complex multiply/divide functions
4378 for both software and hardware support.
4379 * config/rs6000/_divkc3.c (_divkc3): Likewise.
4380 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
4381 (__divkc3_resolve): Likewise.
4382 (__mulkc3): Likewise.
4383 (__divkc3): Likewise.
4384 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
4385 (fp128_hw_src): Likewise.
4386 (fp128_hw_static_obj): Likewise.
4387 (fp128_hw_shared_obj): Likewise.
4388 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
4389 _mulkc3.c and _divkc3.c, changing the function name.
4390 (_divkc3-hw.c): Likewise.
4391 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
4394 2017-11-26 Julia Koval <julia.koval@intel.com>
4396 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
4397 * config/i386/cpuinfo.h (processor_subtypes): Add
4398 INTEL_COREI7_CANNONLAKE.
4400 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4403 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
4405 * config/xtensa/unwind-dw2-xtensa.c: Likewise
4406 * config/ia64/unwind-ia64.c: Add frames parameter.
4407 * unwind-sjlj.c: Likewise.
4409 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4411 * config/i386/linux-unwind.h: Include
4412 config/i386/shadow-stack-unwind.h.
4413 * config/i386/shadow-stack-unwind.h: New file.
4414 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
4415 pass it to _Unwind_Frames_Extra.
4416 * unwind-generic.h (_Unwind_Frames_Extra): New.
4417 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
4418 parameter. Add local variable frames to count number of frames.
4419 (_Unwind_ForcedUnwind_Phase2): Likewise.
4420 (_Unwind_RaiseException): Add local variable frames to count
4421 number of frames, pass it to _Unwind_RaiseException_Phase2 and
4423 (_Unwind_ForcedUnwind): Likewise.
4424 (_Unwind_Resume): Likewise.
4425 (_Unwind_Resume_or_Rethrow): Likewise.
4427 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4429 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
4431 * config/i386/morestack.S: Include <cet.h>.
4432 (__morestack_large_model): Add _CET_ENDBR at function entrance.
4433 * config/i386/resms64.h: Include <cet.h>.
4434 * config/i386/resms64f.h: Likewise.
4435 * config/i386/resms64fx.h: Likewise.
4436 * config/i386/resms64x.h: Likewise.
4437 * config/i386/savms64.h: Likewise.
4438 * config/i386/savms64f.h: Likewise.
4439 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
4440 (CRTSTUFF_T_CFLAGS): Likewise.
4441 * configure.ac: Include ../config/cet.m4.
4442 Set and substitute CET_FLAGS.
4443 * configure: Regenerated.
4445 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4447 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
4449 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
4450 * configure.ac (libgcc_cv_solaris_crts): Likewise.
4451 * configure: Regenerate.
4453 2017-11-07 Tom de Vries <tom@codesourcery.com>
4455 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
4456 after "do {} while (0)".
4458 2017-11-07 Tom de Vries <tom@codesourcery.com>
4461 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
4462 semicolon after "do {} while (0)".
4463 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4464 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4465 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4466 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4468 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
4471 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
4472 sysctl to determine whether we're in a trampoline.
4473 Keep the pattern matching method for systems without
4474 KERN_PROC_SIGTRAMP sysctl.
4476 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
4477 Vineet Gupta <vgupta@synopsys.com>
4479 * config.host (arc*-*-linux*): Set md_unwind_header variable.
4480 * config/arc/linux-unwind-reg.def: New file.
4481 * config/arc/linux-unwind-reg.h: Likewise.
4483 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
4485 * config/rl78/subdi3.S: New assembly file.
4486 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
4488 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
4490 * config/rl78/adddi3.S: New assembly file.
4491 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
4493 2017-10-13 Jakub Jelinek <jakub@redhat.com>
4496 * libgcc2.c (__mulvDI3): If both operands have
4497 the same highpart of -1 and the topmost bit of lowpart is 0,
4498 multiplication overflows even if both lowparts are 0.
4500 2017-09-28 James Bowman <james.bowman@ftdichip.com>
4502 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
4504 2017-09-26 Joseph Myers <joseph@codesourcery.com>
4506 * config/microblaze/crti.S, config/microblaze/crtn.S,
4507 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
4508 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
4509 config/microblaze/mulsi3.S,
4510 config/microblaze/stack_overflow_exit.S,
4511 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
4512 config/pa/milli64.S: Add .note.GNU-stack section.
4514 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
4516 * configure.ac: Add Check for HAVE_AS_AVX.
4517 * config.in: Regenerate.
4518 * configure: Likewise.
4519 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
4520 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
4521 Correct out-of-date comments.
4523 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
4525 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
4526 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
4528 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
4530 * config/i386/i386-asm.h (PASTE2): New macro.
4531 (ASMNAME): Modify to use PASTE2.
4532 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
4533 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
4534 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
4535 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
4536 * config/i386/resms64f.S: Likewise.
4537 * config/i386/resms64fx.S: Likewise.
4538 * config/i386/resms64x.S: Likewise.
4539 * config/i386/savms64.S: Likewise.
4540 * config/i386/savms64f.S: Likewise.
4541 * config/i386/avx_resms64.S: New file that only defines a macro and
4542 includes it's corresponding header file.
4543 * config/i386/avx_resms64f.S: Likewise.
4544 * config/i386/avx_resms64fx.S: Likewise.
4545 * config/i386/avx_resms64x.S: Likewise.
4546 * config/i386/avx_savms64.S: Likewise.
4547 * config/i386/avx_savms64f.S: Likewise.
4548 * config/i386/sse_resms64.S: Likewise.
4549 * config/i386/sse_resms64f.S: Likewise.
4550 * config/i386/sse_resms64fx.S: Likewise.
4551 * config/i386/sse_resms64x.S: Likewise.
4552 * config/i386/sse_savms64.S: Likewise.
4553 * config/i386/sse_savms64f.S: Likewise.
4554 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
4556 2017-09-01 Olivier Hainque <hainque@adacore.com>
4557 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
4559 2017-08-31 Olivier Hainque <hainque@adacore.com>
4561 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
4562 match as powerpc-wrs-vxworks*.
4564 2017-08-07 Jonathan Yong <10walls@gmail.com>
4566 * config.host (*-cygwin): Include file from mingw
4567 config/i386/enable-execute-stack-mingw32.c
4569 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
4570 Doug Rupp <rupp@adacore.com>
4571 Olivier Hainque <hainque@adacore.com>
4573 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
4574 as well as arm-wrs-vxworks.
4575 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
4577 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
4578 __exidx_start and __exidx_end for downloadable modules.
4580 2017-08-01 Olivier Hainque <hainque@adacore.com>
4582 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
4583 * config/t-vxworks7: Likewise.
4585 2017-08-01 Olivier Hainque <hainque@adacore.com>
4587 * config/t-vxworks: Instead of redefining LIB2ADD,
4588 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
4590 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
4592 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
4594 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
4597 * config.host: include i386/t-msabi for darwin and solaris.
4598 * config/i386/i386-asm.h
4599 (ELFFN): Rename to FN_TYPE.
4600 (FN_SIZE): New macro.
4601 (FN_HIDDEN): Likewise.
4602 (ASMNAME): Likewise.
4603 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
4605 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
4606 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
4607 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
4609 * config/i386/resms64f.S: Likewise.
4610 * config/i386/resms64fx.S: Likewise.
4611 * config/i386/resms64x.S: Likewise.
4612 * config/i386/savms64.S: Likewise.
4613 * config/i386/savms64f.S: Likewise.
4615 2017-07-19 John Marino <gnugcc@marino.st>
4617 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
4619 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
4622 * configure.ac (PowerPC float128 hardware support): Test whether
4623 we can use __builtin_cpu_supports before enabling the ifunc
4625 * configure: Regenerate.
4627 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
4629 * config.host: Remove uclibc from arc target spec.
4631 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
4633 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
4635 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
4637 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
4638 (have_ieee_hw_p): Delete function.
4639 (SW_OR_HW) Use __builtin_cpu_supports().
4641 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
4643 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
4645 2017-07-03 Olivier Hainque <hainque@adacore.com>
4647 * config/t-vxworks7: New file, really.
4649 2017-06-28 Joseph Myers <joseph@codesourcery.com>
4651 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
4652 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
4653 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
4654 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
4655 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
4656 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
4657 config/pa/linux-unwind.h (pa32_fallback_frame_state),
4658 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
4659 config/sh/linux-unwind.h (sh_fallback_frame_state),
4660 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
4661 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
4662 ucontext_t instead of struct ucontext.
4664 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
4666 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
4667 (x86_64-wrs-vxworks7): Likewise.
4669 2017-06-27 Olivier Hainque <hainque@adacore.com>
4671 * config/t-vxworks7: New file.
4672 * config.host (*-*-vxworks7): Use it.
4674 2017-06-22 Matt Turner <mattst88@gmail.com>
4676 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
4679 2017-06-21 Richard Biener <rguenther@suse.de>
4681 PR gcov-profile/81080
4682 * configure.ac: Add AC_SYS_LARGEFILE.
4683 * libgcov.h: Include auto-target.h before tsystem.h to pick
4684 up _FILE_OFFSET_BITS which might differ for multilibs.
4685 * config.in: Regenerate.
4686 * configure: Likewise.
4688 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
4690 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
4692 2017-06-09 Martin Liska <mliska@suse.cz>
4694 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
4695 Reset __gcov_indirect_call_callee to NULL.
4697 2017-06-08 Olivier Hainque <hainque@adacore.com>
4699 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
4700 the set of -I options, support for direct inclusions of net/uio.h
4701 by VxWorks header files via ioLib.h.
4703 2017-06-07 Tony Reix <tony.reix@atos.net>
4704 Matthieu Sarter <matthieu.sarter.external@atos.net>
4705 David Edelsohn <dje.gcc@gmail.com>
4707 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
4709 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
4712 2017-06-02 Olivier Hainque <hainque@adacore.com>
4714 * config/vxlib.c (__gthread_once): Add missing value to
4717 2017-05-30 Olivier Hainque <hainque@adacore.com>
4719 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
4720 dollar sign before $(MULTIDIR).
4722 2017-05-26 Richard Henderson <rth@redhat.com>
4725 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
4727 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
4729 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
4730 _Unwind_SetIP available as functions for arm*-*-freebsd*.
4731 * config/arm/unwind-arm.c: Implement the above.
4733 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4735 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
4736 section for a non-executable stack.
4738 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
4741 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
4743 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
4745 * config.host: Add i386/t-msabi to i386/t-linux file list.
4746 * config/i386/i386-asm.h: New file.
4747 * config/i386/resms64.S: New file.
4748 * config/i386/resms64f.S: New file.
4749 * config/i386/resms64fx.S: New file.
4750 * config/i386/resms64x.S: New file.
4751 * config/i386/savms64.S: New file.
4752 * config/i386/savms64f.S: New file.
4753 * config/i386/t-msabi: New file.
4755 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
4757 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
4758 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
4760 2017-05-05 Joshua Conner <joshconner@google.com>
4762 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
4763 pc-relative indirect handling for fuchsia.
4764 * config/t-slibgcc-fuchsia: New file.
4765 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
4766 x86_64-*-fuchsia*): Add definitions.
4768 2017-04-19 Martin Liska <mliska@suse.cz>
4770 PR gcov-profile/80435
4771 * Makefile.in: Install gcov.h.
4773 * libgcov.h: Use the header and make __gcov_flush publicly
4776 2017-04-18 Martin Liska <mliska@suse.cz>
4778 PR gcov-profile/78783
4779 * libgcov-driver.c (gcov_get_filename): New function.
4781 2017-04-07 Jeff Law <law@redhat.com>
4783 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
4784 target makefile fragment.
4785 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
4787 2017-04-07 Alan Modra <amodra@gmail.com>
4790 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
4792 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
4794 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
4796 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
4798 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
4800 2017-03-10 John Marino <gnugcc@marino.st>
4802 * config/aarch64/freebsd-unwind.h: New file.
4803 * config.host: Add aarch64-*-freebsd unwinder.
4805 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4807 * config/rs6000/crtrestvr.s: Use .machine altivec.
4808 * config/rs6000/crtsavevr.s: Ditto.
4810 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4812 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
4813 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
4814 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
4815 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
4816 * configure: Regenerate.
4817 * config.in: Regenerate.
4819 2017-03-02 Jonathan Yong <10walls@gmail.com>
4821 * config/i386/gthr-win32.h: Define NOGDI before
4822 windows.h include to prevent w32api CC_NONE macro
4823 clash with libgfortran.
4825 2017-03-02 Jonathan Yong <10walls@gmail.com>
4827 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
4829 2017-02-16 Andrew Pinski <apinski@cavium.com>
4831 * config/aarch64/value-unwind.h: New file.
4832 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
4835 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
4837 * config.host: Add RISC-V tuples.
4838 * config/riscv/atomic.c: New file.
4839 * config/riscv/crti.S: Likewise.
4840 * config/riscv/crtn.S: Likewise.
4841 * config/riscv/div.S: Likewise.
4842 * config/riscv/linux-unwind.h: Likewise.
4843 * config/riscv/muldi3.S: Likewise.
4844 * config/riscv/multi3.S: Likewise.
4845 * config/riscv/save-restore.S: Likewise.
4846 * config/riscv/sfp-machine.h: Likewise.
4847 * config/riscv/t-elf: Likewise.
4848 * config/riscv/t-elf32: Likewise.
4849 * config/riscv/t-elf64: Likewise.
4850 * config/riscv/t-softfp32: Likewise.
4851 * config/riscv/t-softfp64: Likewise.
4853 2017-01-24 Jakub Jelinek <jakub@redhat.com>
4855 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4856 /* FALLTHRU */ comments.
4858 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
4860 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
4862 2017-01-20 Jiong Wang <jiong.wang@arm.com>
4864 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
4865 * unwind-dw2.c (execute_cfa_program): Only multiplexing
4866 DW_CFA_GNU_window_save for AArch64 and LP64.
4868 2017-01-20 Jiong Wang <jiong.wang@arm.com>
4870 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
4872 2017-01-19 Jiong Wang <jiong.wang@arm.com>
4874 * config/aarch64/aarch64-unwind.h: New file.
4875 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
4876 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
4877 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
4878 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
4879 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
4880 (aarch64_post_extract_frame_addr): New function.
4881 (aarch64_post_frob_eh_handler_addr): New function.
4882 (aarch64_frob_update_context): New function.
4883 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
4884 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
4885 aarch64*-*-freebsd*):
4886 Initialize md_unwind_header to include aarch64-unwind.h.
4887 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
4888 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
4890 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
4891 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
4892 (uw_frob_return_addr): New function.
4893 (uw_install_context): Use uw_frob_return_addr.
4895 2017-01-17 Jakub Jelinek <jakub@redhat.com>
4898 * configure.ac: Add GCC_BASE_VER.
4899 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
4900 version from BASE-VER file.
4901 * configure: Regenerated.
4903 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
4905 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
4906 libmul_f5.a): Filter archived prerequisites.
4908 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
4910 * config/i386/cpuinfo.h (processor_features): Add
4911 FEATURE_AVX512VPOPCNTDQ.
4912 * config/i386/cpuinfo.c (get_available_features): Habdle new
4915 2017-01-04 Joseph Myers <joseph@codesourcery.com>
4917 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
4918 payload if [__mips_nan2008].
4920 2017-01-04 Alan Modra <amodra@gmail.com>
4922 * Makefile.in (configure_deps): Update.
4923 * configure: Regenerate.
4925 2017-01-01 Jakub Jelinek <jakub@redhat.com>
4927 Update copyright years.
4929 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
4931 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
4932 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
4933 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
4935 2016-12-17 Matthias Klose <doko@ubuntu.com>
4937 * config/arc/gmon: Remove empty directory.
4939 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
4941 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
4943 (arc*-*-elf*): Likewise.
4944 * config/arc/t-arc: Remove old gmon lib targets.
4945 * config/arc/crtg.S: Remove.
4946 * config/arc/crtgend.S: Likewise.
4947 * config/arc/gmon/atomic.h: Likewise.
4948 * config/arc/gmon/auxreg.h: Likewise.
4949 * config/arc/gmon/dcache_linesz.S: Likewise.
4950 * config/arc/gmon/gmon.c: Likewise.
4951 * config/arc/gmon/machine-gmon.h: Likewise.
4952 * config/arc/gmon/mcount.c: Likewise.
4953 * config/arc/gmon/prof-freq-stub.S: Likewise.
4954 * config/arc/gmon/prof-freq.c: Likewise.
4955 * config/arc/gmon/profil.S: Likewise.
4956 * config/arc/gmon/sys/gmon.h: Likewise.
4957 * config/arc/gmon/sys/gmon_out.h: Likewise.
4958 * config/arc/t-arc-newlib: Likewise.
4959 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
4961 2016-12-12 George Spelvin <linux@sciencehorizons.net>
4963 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
4965 2016-12-12 George Spelvin <linux@sciencehorizons.net>
4967 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
4968 R16 instead of push + pop.
4969 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
4971 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
4973 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
4976 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
4978 * config.host (arc*-*-linux-uclibc*): Use default extra
4979 objects. Include linux-android header.
4980 * config/arc/crti.S (_init): Declare symbol as function.
4983 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
4986 * config/i386/cpuinfo.c: Move denums for processor vendors,
4987 processor type, processor subtypes and declaration of
4988 struct __processor_model into
4989 * config/i386/cpuinfo.h: New header file.
4991 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
4992 Thomas Preud'homme <thomas.preudhomme@arm.com>
4994 * config/arm/cmse_nonsecure_call.S: New.
4995 * config/arm/t-arm: Compile cmse_nonsecure_call.S
4997 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
4998 Thomas Preud'homme <thomas.preudhomme@arm.com>
5000 * config/arm/t-arm (HAVE_CMSE): New.
5001 * config/arm/cmse.c: New.
5003 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
5006 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
5007 use generic linker version information on Blackfin.
5010 * libgcc/mkmap-symver.awk: add support for skip_underscore
5012 2016-11-27 Iain Sandoe <iain@codesourcery.com>
5013 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5016 * config/t-darwin: Default builds to 10.5 codegen.
5018 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
5020 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
5021 (_FP_NANSIGN_H): Likewise.
5022 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
5023 (softfp_truncations): Add tfhf.
5024 (softfp_extras): Add required conversion functions.
5026 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
5027 Matthew Wahab <matthew.wahab@arm.com>
5029 * config/arm/fp16.c (binary64): New.
5030 (__gnu_d2h_internal): New.
5031 (__gnu_d2h_ieee): New.
5032 (__gnu_d2h_alternative): New.
5034 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
5035 Matthew Wahab <matthew.wahab@arm.com>
5037 * config/arm/fp16.c (struct format): New.
5039 (__gnu_float2h_internal): New. Body moved from
5040 __gnu_f2h_internal and generalize.
5041 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
5042 Call it with binary32.
5044 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
5046 * soft-fp/extendhftf2.c: Update from glibc.
5047 * soft-fp/fixhfti.c: Likewise.
5048 * soft-fp/fixunshfti.c: Likewise.
5049 * soft-fp/floattihf.c: Likewise.
5050 * soft-fp/floatuntihf.c: Likewise.
5051 * soft-fp/half.h: Likewise.
5052 * soft-fp/trunctfhf2.c: Likewise.
5054 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
5057 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
5058 __TMC_END__ behind a passthrough asm.
5060 2016-11-18 Walter Lee <walt@tilera.com>
5062 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
5064 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
5066 * config/i386/cpuinfo.c (processor_features): Add
5067 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
5069 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
5071 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
5072 (__ARC_NORM__): Use instead ARC_OPTFPE.
5073 * config/arc/fp-hack.h: Likewise.
5074 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
5075 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
5077 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
5079 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
5080 * config/nvptx/mgomp.c: New file.
5081 * config/nvptx/t-nvptx: Add mgomp.c
5083 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
5086 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
5088 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
5090 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
5091 of checking for cpus.
5092 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
5093 (__modsi3, __clzsi2): Likewise.
5095 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5097 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
5098 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
5099 * config/i386/t-cpuinfo-static: New.
5101 2016-11-03 Martin Liska <mliska@suse.cz>
5103 * libgcov-profiler.c (__gcov_time_profiler): Remove.
5104 (__gcov_time_profiler_atomic): Likewise.
5106 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
5109 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
5110 count_leading_zeros.
5112 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
5114 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
5115 * libgcc2.c (__divmoddi4): New function.
5116 * libgcc2.h (__divmoddi4): Declare.
5117 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
5118 and __PFX_divmodti4.
5120 2016-10-24 Florian Weimer <fweimer@redhat.com>
5123 * unwind-c.c: Include auto-target.h.
5125 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
5127 * config/pa/pa64-hpux-lib.h: New file.
5128 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
5129 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
5130 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
5133 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
5135 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5137 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5139 * config/xtensa/t-windowed (LIB2ADDEH): Use
5140 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
5143 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
5145 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
5146 __ieee754_sqrt): New functions.
5147 (__divdf3): Add implementation with new FPU instructions under
5148 #if XCHAL_HAVE_DFP_DIV.
5149 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
5150 __ieee754_sqrtf): New functions.
5151 (__divsf3): Add implementation with new FPU instructions under
5152 #if XCHAL_HAVE_FP_DIV.
5153 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
5154 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
5156 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
5158 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
5160 * config/tilepro/atomic.c: Likewise and stop casting model to
5163 2016-10-10 Joseph Myers <joseph@codesourcery.com>
5166 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
5169 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
5171 * config.host: Add support for aarch64-*-freebsd*.
5173 2016-10-05 Andreas Schwab <schwab@suse.de>
5175 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
5176 (.section .init_array): Don't call __do_jv_register_classes.
5177 (.section .init): Likewise.
5179 2016-10-04 Jakub Jelinek <jakub@redhat.com>
5181 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
5182 (__JCR_LIST__): Remove.
5183 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
5184 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
5185 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
5186 * config/ia64/crtend.S (__JCR_END__): Remove.
5187 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
5189 (__JCR_LIST__, __JCR_END__): Remove.
5190 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
5191 (__do_global_ctors_1): Likewise.
5193 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
5195 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
5196 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
5198 2016-09-27 Martin Liska <mliska@suse.cz>
5200 PR gcov-profile/7970
5201 PR gcov-profile/16855
5202 PR gcov-profile/44779
5203 * libgcov-driver.c (__gcov_init): Do not register a atexit
5205 (__gcov_exit): Rename from gcov_exit.
5206 * libgcov.h (__gcov_exit): Declare.
5208 2016-09-27 Martin Liska <mliska@suse.cz>
5211 * Makefile.in: Remove _gcov_merge_delta.
5212 * libgcov-merge.c (void __gcov_merge_delta): Remove.
5213 * libgcov-util.c (__gcov_delta_counter_op): Remove.
5214 * libgcov.h: Remove declaration of __gcov_merge_delta.
5216 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
5218 * configure.ac: Do not create links, only substitute the filenames.
5219 * configure: Regenerate.
5220 * Makefile.in: Assign the substitution results to variables.
5221 (LIBGCC_LINKS): Define.
5222 (enable-execute-stack.c): New rule.
5223 (unwind.h): Likewise.
5224 (md-unwind-support.h): Likewise.
5225 (sfp-machine.h): Likewise.
5226 (gthr-default.h): Likewise.
5227 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
5228 unwind.h as prerequisite of install-unwind_h-forbuild.
5230 2016-09-16 Jakub Jelinek <jakub@redhat.com>
5233 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
5234 is not the primary registry and atomics are available.
5235 (any_objects_registered): New variable.
5236 (__register_frame_info_bases, __register_frame_info_table_bases):
5237 Atomically store 1 to any_objects_registered after registering first
5239 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
5241 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
5244 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
5245 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
5248 (__divhc3): Likewise.
5249 (__mulhc3): Likewise.
5250 * libgcc2.c: Support _mulhc3 and _divhc3.
5252 2016-09-07 Joseph Myers <joseph@codesourcery.com>
5255 * libgcc2.c (NOTRUNC): Invert settings.
5257 2016-09-06 Martin Liska <mliska@suse.cz>
5259 PR gcov-profile/77378
5260 PR gcov-profile/77466
5261 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
5262 conditionaly enable/disable *_atomic functions.
5264 2016-08-26 Joseph Myers <joseph@codesourcery.com>
5266 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
5267 where not already enabled.
5269 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5271 * config/mips/linux-unwind.h: Use sys/syscall.h.
5273 2016-08-16 Joseph Myers <joseph@codesourcery.com>
5276 * soft-fp/adddf3.c: Update from glibc.
5277 * soft-fp/addsf3.c: Likewise.
5278 * soft-fp/addtf3.c: Likewise.
5279 * soft-fp/divdf3.c: Likewise.
5280 * soft-fp/divsf3.c: Likewise.
5281 * soft-fp/divtf3.c: Likewise.
5282 * soft-fp/double.h: Likewise.
5283 * soft-fp/eqdf2.c: Likewise.
5284 * soft-fp/eqsf2.c: Likewise.
5285 * soft-fp/eqtf2.c: Likewise.
5286 * soft-fp/extenddftf2.c: Likewise.
5287 * soft-fp/extended.h: Likewise.
5288 * soft-fp/extendsfdf2.c: Likewise.
5289 * soft-fp/extendsftf2.c: Likewise.
5290 * soft-fp/extendxftf2.c: Likewise.
5291 * soft-fp/fixdfdi.c: Likewise.
5292 * soft-fp/fixdfsi.c: Likewise.
5293 * soft-fp/fixdfti.c: Likewise.
5294 * soft-fp/fixsfdi.c: Likewise.
5295 * soft-fp/fixsfsi.c: Likewise.
5296 * soft-fp/fixsfti.c: Likewise.
5297 * soft-fp/fixtfdi.c: Likewise.
5298 * soft-fp/fixtfsi.c: Likewise.
5299 * soft-fp/fixtfti.c: Likewise.
5300 * soft-fp/fixunsdfdi.c: Likewise.
5301 * soft-fp/fixunsdfsi.c: Likewise.
5302 * soft-fp/fixunsdfti.c: Likewise.
5303 * soft-fp/fixunssfdi.c: Likewise.
5304 * soft-fp/fixunssfsi.c: Likewise.
5305 * soft-fp/fixunssfti.c: Likewise.
5306 * soft-fp/fixunstfdi.c: Likewise.
5307 * soft-fp/fixunstfsi.c: Likewise.
5308 * soft-fp/fixunstfti.c: Likewise.
5309 * soft-fp/floatdidf.c: Likewise.
5310 * soft-fp/floatdisf.c: Likewise.
5311 * soft-fp/floatditf.c: Likewise.
5312 * soft-fp/floatsidf.c: Likewise.
5313 * soft-fp/floatsisf.c: Likewise.
5314 * soft-fp/floatsitf.c: Likewise.
5315 * soft-fp/floattidf.c: Likewise.
5316 * soft-fp/floattisf.c: Likewise.
5317 * soft-fp/floattitf.c: Likewise.
5318 * soft-fp/floatundidf.c: Likewise.
5319 * soft-fp/floatundisf.c: Likewise.
5320 * soft-fp/floatunditf.c: Likewise.
5321 * soft-fp/floatunsidf.c: Likewise.
5322 * soft-fp/floatunsisf.c: Likewise.
5323 * soft-fp/floatunsitf.c: Likewise.
5324 * soft-fp/floatuntidf.c: Likewise.
5325 * soft-fp/floatuntisf.c: Likewise.
5326 * soft-fp/floatuntitf.c: Likewise.
5327 * soft-fp/gedf2.c: Likewise.
5328 * soft-fp/gesf2.c: Likewise.
5329 * soft-fp/getf2.c: Likewise.
5330 * soft-fp/ledf2.c: Likewise.
5331 * soft-fp/lesf2.c: Likewise.
5332 * soft-fp/letf2.c: Likewise.
5333 * soft-fp/muldf3.c: Likewise.
5334 * soft-fp/mulsf3.c: Likewise.
5335 * soft-fp/multf3.c: Likewise.
5336 * soft-fp/negdf2.c: Likewise.
5337 * soft-fp/negsf2.c: Likewise.
5338 * soft-fp/negtf2.c: Likewise.
5339 * soft-fp/op-1.h: Likewise.
5340 * soft-fp/op-2.h: Likewise.
5341 * soft-fp/op-4.h: Likewise.
5342 * soft-fp/op-8.h: Likewise.
5343 * soft-fp/op-common.h: Likewise.
5344 * soft-fp/quad.h: Likewise.
5345 * soft-fp/single.h: Likewise.
5346 * soft-fp/soft-fp.h: Likewise.
5347 * soft-fp/subdf3.c: Likewise.
5348 * soft-fp/subsf3.c: Likewise.
5349 * soft-fp/subtf3.c: Likewise.
5350 * soft-fp/truncdfsf2.c: Likewise.
5351 * soft-fp/trunctfdf2.c: Likewise.
5352 * soft-fp/trunctfsf2.c: Likewise.
5353 * soft-fp/trunctfxf2.c: Likewise.
5354 * soft-fp/unorddf2.c: Likewise.
5355 * soft-fp/unordsf2.c: Likewise.
5356 * soft-fp/unordtf2.c: Likewise.
5358 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
5360 PR gcov-profile/67097
5361 * libgcov-util.c (gcov_profile_merge): Skip missing files.
5363 2016-08-10 Martin Liska <mliska@suse.cz>
5365 PR gcov-profile/58306
5366 * Makefile.in: New functions (modules) are added.
5367 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
5369 (__gcov_pow2_profiler_atomic): New function.
5370 (__gcov_one_value_profiler_body): New argument is instroduced.
5371 (__gcov_one_value_profiler): Call with the new argument.
5372 (__gcov_one_value_profiler_atomic): Likewise.
5373 (__gcov_indirect_call_profiler_v2): Likewise.
5374 (__gcov_time_profiler_atomic): New function.
5375 (__gcov_average_profiler_atomic): Likewise.
5376 (__gcov_ior_profiler_atomic): Likewise.
5377 * libgcov.h: Declare the aforementioned functions.
5379 2016-08-09 Martin Liska <mliska@suse.cz>
5381 * libgcov-util.c: Fix typo and GNU coding style.
5383 2016-08-09 Martin Liska <mliska@suse.cz>
5385 * Makefile.in: Remove __gcov_indirect_call_profiler.
5386 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
5388 * libgcov.h: And the declaration of the function.
5390 2016-08-09 Martin Liska <mliska@suse.cz>
5392 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
5395 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5397 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
5398 * config/rs6000/_mulkc3.c: Likewise.
5400 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
5402 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
5403 zero_reg as previous call to __umulhisi3 already cleared it.
5405 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
5408 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
5410 2016-07-19 Nick Clifton <nickc@redhat.com>
5412 * config.host (m32r): Add m32r/t-m32r to tmake_file.
5413 Add crtinit.o and crtfini.o to extra_parts.
5415 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5417 * config/rs6000/_divkc3.c: New.
5418 * config/rs6000/_mulkc3.c: New.
5419 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
5421 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
5424 2016-07-11 Hale Wang <hale.wang@arm.com>
5425 Andre Vieira <andre.simoesdiasvieira@arm.com>
5427 * config/arm/lib1funcs.S: Add new wrapper.
5429 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5431 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
5433 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5435 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
5436 and ARMv5t* rather than for a fixed list of architectures.
5438 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5440 * config/arm/bpabi-v6m.S: Clarify what architectures is the
5441 implementation suitable for.
5442 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
5443 for all Thumb-1 only targets.
5444 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
5445 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
5448 (ARM_FUNC_ALIAS): Likewise.
5449 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
5452 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
5455 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
5456 __ARM_ARCH_6M__ in guard for checking whether it is defined.
5457 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
5458 __ARM_ARCH_6M__ and add comment to indicate the connection between
5459 this condition and the one in gcc/config/arm/elf.h.
5460 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
5461 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
5462 * config/arm/t-softfp: Likewise.
5464 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5466 * libgcc2.c (SYMBOL__MAIN): Remove checks for
5467 CTOR_LISTS_DEFINED_EXTERNALLY.
5469 2016-06-28 Walter Lee <walt@tilera.com>
5471 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
5473 (SPR_CMPEXCH_VALUE): Define for tilegx.
5474 (__NR_FAST_cmpxchg): Define for tilepro.
5475 (__NR_FAST_atomic_update): Define for tilepro.
5476 (__NR_FAST_cmpxchg64): Define for tilepro.
5478 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
5480 * config.host: Add suport for arm*-*-phoenix* targets.
5482 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5484 * config.host: Remove support for mep-*.
5485 * config/mep/lib1funcs.S: Remove.
5486 * config/mep/lib2funcs.c: Remove.
5487 * config/mep/t-mep: Remove.
5488 * config/mep/tramp.c: Remove.
5490 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5492 * config.host: Remove support for avr-rtems.
5493 * config/avr/t-rtems: Remove.
5495 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5497 * config.host: Remove m32r-rtems support.
5499 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5501 * config.host: Remove h8300-rtems support.
5503 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5505 * config.host: Remove support for knetbsd.
5507 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5509 * config.host: Remove support for openbsd 2 and 3.
5511 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5513 * config.host: Remove interix support.
5514 * config/i386/t-interix: Remove.
5516 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
5518 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
5519 least-significant bit in function pointer for fixup.
5521 2016-06-05 Aaron Conole <aconole@redhat.com>
5522 Nathan Sidwell <nathan@acm.org>
5525 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
5526 (get_gcov_error_file): Check __gcov_error_file before trying to
5528 (gcov_error): Always use get_gcov_error_file.
5530 2016-06-02 Aaron Conole <aconole@redhat.com>
5532 * libgcov-driver-system.c (__gcov_error_file): New.
5533 (get_gcov_error_file): New.
5534 (gcov_error): Use and set __gcov_error_file.
5535 (gcov_error_exit): New.
5536 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
5538 2016-05-26 Nathan Sidwell <nathan@acm.org>
5540 * config/nvptx/free.asm: Delete.
5541 * config/nvptx/malloc.asm: Delete.
5542 * config/nvptx/realloc.c: Delete.
5545 2016-05-25 Nathan Sidwell <nathan@acm.org>
5547 * config/nvptx/crt0.s: Delete.
5548 * config/nvptx/crt0.c: New.
5551 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
5553 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
5554 dw2/seh configuration.
5555 [x86_64-*-mingw*]: Likewise.
5557 2016-05-10 Joel Sherrill <joel@rtems.org>
5560 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
5561 targets so the same extra_parts are built. Also have tmake_file add
5562 on to its value rather than override.
5564 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
5566 * config.host: Remove SH5 support.
5567 * configure: Likewise.
5569 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
5571 * config/sh/crt1.S: Remove SH5 support.
5572 * config/sh/crti.S: Likewise.
5573 * config/sh/crtn.S: Likewise.
5574 * config/sh/lib1funcs-4-300.S: Likewise.
5575 * config/sh/lib1funcs-Os-4-200.S: Likewise.
5576 * config/sh/lib1funcs.S: Likewise.
5577 * config/sh/linux-unwind.h: Likewise.
5578 * config/sh/t-sh64: Delete.
5580 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
5582 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
5584 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
5585 Joern Rennecke <joern.rennecke@embecosm.com>
5587 * config/arc/crttls.S: New file.
5588 * config/arc/t-arc: New rule.
5589 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
5591 2016-04-25 Nick Clifton <nickc@redhat.com>
5593 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
5594 (__mspabi_cmpd): Likewise.
5595 * config/msp430/floathidf.c (__floathidf): Likewise.
5596 * config/msp430/floathisf.c (__floathisf): Likewise
5597 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
5598 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
5599 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
5601 (__ashrsi3): Likewise.
5603 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
5605 * config/m68k/linux-atomic.c: Do not include unistd.h
5607 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
5609 * config/arm/ieee754-df.S: Fix typos in comments.
5611 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
5614 * configure.ac (powerpc*-*-linux*): Rework tests to build
5615 __float128 emulation routines to not depend on using #pragma GCC
5616 target to enable -mfloat128.
5617 * configure: Regnerate.
5619 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
5622 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
5623 __MINGW32__ is defined.
5625 2016-03-28 James Bowman <james.bowman@ftdichip.com>
5627 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
5629 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
5632 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
5633 built with an assembler that does not support ISA 3.0
5634 instructions, rename __extendkftf2_sw to __extendkftf2.
5636 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5639 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
5640 call-clobbered registers.
5641 (internal_mcount): Remove __i386__ handling.
5643 2016-02-26 Joel Sherrill <joel@rtems.org>
5645 * config.host: Add x86_64-*-rtems*.
5647 2016-02-26 Joel Sherrill <joel@rtems.org>
5649 * libgcc/config.host: Add aarch64-*-rtems*.
5651 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5652 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5654 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
5655 union of u64 and double.
5656 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
5657 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
5659 (FP_ROUNDMODE): Update the usage of _fpscr.
5661 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
5664 * Makefile.in (crtoffloadtable$(objext)): New rule.
5665 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
5666 enable_offload_targets is not empty.
5667 * configure: Regenerate.
5668 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
5671 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
5673 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
5674 .literal_position before the function.
5675 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
5678 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
5680 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
5681 * config/s390/morestack.S: New file.
5682 * config/s390/t-stack-s390: New file.
5683 * generic-morestack.c (__splitstack_find): Add s390-specific code.
5685 2016-02-12 Walter Lee <walt@tilera.com>
5687 * config.host (tilegx*-*-linux*): remove ti from
5688 softfp_int_modes for 32-bit configs.
5690 2016-02-10 Ian Lance Taylor <iant@google.com>
5693 * config/i386/morestack.S (__stack_split_initialize): Align
5696 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
5699 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
5700 __FLOAT128__ to compile only for __float128 capable targets.
5702 2016-01-25 Jakub Jelinek <jakub@redhat.com>
5705 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
5706 instead of ___NO_FPRS__.
5708 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
5709 Steven Munroe <munroesj@linux.vnet.ibm.com>
5710 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
5712 * config/rs6000/float128-sed: New files to convert TF names to KF
5713 names for PowerPC IEEE 128-bit floating point support.
5714 * config/rs6000/float128-sed-hw: Likewise.
5716 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5717 floating point hardware support.
5719 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5720 128-bit floating point software emulation or use ISA 3.0 hardware
5721 support if it is available.
5723 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5726 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
5727 floating point to IBM extended double.
5729 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
5730 double to IEEE 128-bit floating point.
5732 * config/rs6000/t-float128: New Makefile fragments to enable
5733 building __float128 emulation support.
5734 * config/rs6000/t-float128-hw: Likewise.
5736 * config/rs6000/sfp-exceptions.c: New file to provide exception
5737 support for IEEE 128-bit floating point.
5739 * config/rs6000/floattikf.c: New files for converting between IEEE
5740 128-bit floating point and signed/unsigned 128-bit integers.
5741 * config/rs6000/fixunskfti.c: Likewise.
5742 * config/rs6000/fixkfti.c: Likewise.
5743 * config/rs6000/floatuntikf.c: Likewise.
5745 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5746 when building on 64-bit systems, or when VSX is enabled.
5747 (_FP_W_TYPE): Likewise.
5748 (_FP_WS_TYPE): Likewise.
5749 (_FP_I_TYPE): Likewise.
5750 (TItype): Define on 64-bit systems.
5751 (UTItype): Likewise.
5752 (TI_BITS): Likewise.
5753 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5754 (_FP_MUL_MEAT_Q): Likewise.
5755 (_FP_DIV_MEAT_D): Likewise.
5756 (_FP_DIV_MEAT_Q): Likewise.
5757 (_FP_NANFRAC_D): Likewise.
5758 (_FP_NANFRAC_Q): Likewise.
5759 (ISA_BIT): Add exception support if we are being compiled on a
5760 machine with hardware floating point support to build the IEEE
5761 128-bit emulation functions.
5762 (FP_EX_INVALID): Likewise.
5763 (FP_EX_OVERFLOW): Likewise.
5764 (FP_EX_UNDERFLOW): Likewise.
5765 (FP_EX_DIVZERO): Likewise.
5766 (FP_EX_INEXACT): Likewise.
5767 (FP_EX_ALL): Likewise.
5768 (__sfp_handle_exceptions): Likewise.
5769 (FP_HANDLE_EXCEPTIONS): Likewise.
5770 (FP_RND_NEAREST): Likewise.
5771 (FP_RND_ZERO): Likewise.
5772 (FP_RND_PINF): Likewise.
5773 (FP_RND_MINF): Likewise.
5774 (FP_RND_MASK): Likewise.
5775 (_FP_DECL_EX): Likewise.
5776 (FP_INIT_ROUNDMODE): Likewise.
5777 (FP_ROUNDMODE): Likewise.
5779 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5780 VSX code, enable IEEE 128-bit floating point. If the compiler can
5781 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
5782 floating point hardware instructions and it supports declaring
5783 functions with the ifunc attribute, enable ifunc functions to
5784 switch between software and hardware support.
5785 * configure.ac (powerpc*-*-linux*): Likewise.
5786 * configure: Regenerate.
5788 2016-01-15 Nick Clifton <nickc@redhat.com>
5790 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
5791 dependency as the source file to be compiled.
5792 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
5793 (lib2hw_mul_f5.o): Likewise.
5795 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
5797 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
5798 * libgcc/config/rs6000/fixkfti.c: Likewise.
5799 * libgcc/config/rs6000/fixunskfti.c: Likewise.
5800 * libgcc/config/rs6000/float128-hw.c: Likewise.
5801 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
5802 * libgcc/config/rs6000/float128-sed: Likewise.
5803 * libgcc/config/rs6000/floattikf.c: Likewise.
5804 * libgcc/config/rs6000/floatuntikf.c: Likewise.
5805 * libgcc/config/rs6000/quad-float128.h: Likewise.
5806 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
5807 * libgcc/config/rs6000/sfp-machine.h: Likewise.
5808 * libgcc/config/rs6000/t-float128: Likewise.
5809 * libgcc/config/rs6000/t-float128-hw: Likewise.
5810 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
5811 * libgcc/config.host: Likewise.
5812 * libgcc/configure: Likewise.
5813 * libgcc/configure.ac: Likewise.
5815 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
5816 Steven Munroe <munroesj@linux.vnet.ibm.com>
5817 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
5819 * config/rs6000/sfp-exceptions.c: New file to provide exception
5820 support for IEEE 128-bit floating point.
5822 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5823 floating point hardware support.
5825 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
5827 * config/rs6000/fixunskfti.c: Likewise.
5828 * config/rs6000/fixkfti.c: Likewise.
5829 * config/rs6000/floatuntikf.c: Likewise.
5830 * config/rs6000/extendkftf2-sw.c: Likewise.
5831 * config/rs6000/trunctfkf2-sw.c: Likewise.
5833 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5834 128-bit floating point software emulation or use ISA 3.0 hardware
5835 support if it is available.
5837 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5840 * config/rs6000/t-float128: New Makefile fragments to enable
5841 building __float128 emulation support.
5842 * config/rs6000/t-float128-hw: Likewise.
5844 * config/rs6000/float128-sed: New file to convert TF names to KF
5845 names for PowerPC IEEE 128-bit floating point support.
5847 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5848 when building on 64-bit systems, or when VSX is enabled.
5849 (_FP_W_TYPE): Likewise.
5850 (_FP_WS_TYPE): Likewise.
5851 (_FP_I_TYPE): Likewise.
5852 (TItype): Define on 64-bit systems.
5853 (UTItype): Likewise.
5854 (TI_BITS): Likewise.
5855 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5856 (_FP_MUL_MEAT_Q): Likewise.
5857 (_FP_DIV_MEAT_D): Likewise.
5858 (_FP_DIV_MEAT_Q): Likewise.
5859 (_FP_NANFRAC_D): Likewise.
5860 (_FP_NANFRAC_Q): Likewise.
5861 (ISA_BIT): Add exception support if we are being compiled on a
5862 machine with hardware floating point support to build the IEEE
5863 128-bit emulation functions.
5864 (FP_EX_INVALID): Likewise.
5865 (FP_EX_OVERFLOW): Likewise.
5866 (FP_EX_UNDERFLOW): Likewise.
5867 (FP_EX_DIVZERO): Likewise.
5868 (FP_EX_INEXACT): Likewise.
5869 (FP_EX_ALL): Likewise.
5870 (__sfp_handle_exceptions): Likewise.
5871 (FP_HANDLE_EXCEPTIONS): Likewise.
5872 (FP_RND_NEAREST): Likewise.
5873 (FP_RND_ZERO): Likewise.
5874 (FP_RND_PINF): Likewise.
5875 (FP_RND_MINF): Likewise.
5876 (FP_RND_MASK): Likewise.
5877 (_FP_DECL_EX): Likewise.
5878 (FP_INIT_ROUNDMODE): Likewise.
5879 (FP_ROUNDMODE): Likewise.
5881 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
5882 compiler can do __float128.
5883 * configure: Regenerate.
5885 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5886 VSX code, enable IEEE 128-bit floating point.
5888 2016-01-05 Olivier Hainque <hainque@adacore.com>
5890 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
5893 2016-01-04 Jakub Jelinek <jakub@redhat.com>
5895 Update copyright years.
5897 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
5899 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
5902 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5904 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
5905 instead of abort to avoid dependency on stdlib.h.
5907 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
5909 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
5910 to initialize call to __dl_fixup once.
5912 2015-12-04 Nick Clifton <nickc@redhat.com>
5914 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
5915 Allow for the second argument being negative.
5916 * config.host (extra_parts): Define for MSP430. Create separate
5917 libraries for each of the hardware multiply formats.
5918 * config/msp430/lib2hw_mul.S: Build only the multiply routines
5920 * config/msp430/lib2mul.c: Likewise.
5921 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
5922 Add rules to build hardware multiply libraries.
5923 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
5924 __mspabi_divul function.
5925 (__mspabi_divllu): New stub function.
5927 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
5929 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
5930 fixup values if saved GOT address doesn't match runtime address.
5931 (fixup_branch_offset): Reorder list.
5933 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5935 * Makefile.in (VTV_CFLAGS): New variable.
5936 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
5937 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
5938 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5939 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
5940 to extra_parts if $enable_vtable_verify = yes.
5942 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
5945 * config/arm/linux-atomic-64bit.c (__write): Rename to...
5946 (write): ...this and fix the return type.
5948 2015-11-19 DJ Delorie <dj@redhat.com>
5950 * config/msp430/lib2hw_mul.S: Fix alignment.
5952 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
5954 * config/nvptx/reduction.c: New.
5955 * config/nvptx/t-nvptx (LIB2ADD): Add it.
5957 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
5959 * config/rs6000/on_exit.c: New file.
5960 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
5961 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
5963 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
5965 * config/arc/dp-hack.h: Add support for ARCHS.
5966 * config/arc/ieee-754/divdf3.S: Likewise.
5967 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5968 * config/arc/ieee-754/muldf3.S: Likewise.
5969 * config/arc/ieee-754/mulsf3.S: Likewise
5970 * config/arc/lib1funcs.S: Likewise
5971 * config/arc/gmon/dcache_linesz.S: Don't read the build register
5973 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
5975 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
5976 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
5979 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5981 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
5983 * config/ia64/crtend.S: Likewise.
5985 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5987 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
5988 __CHAR_BIT__ instead of BITS_PER_UNIT.
5989 * fixed-bit.h: Likewise.
5990 * fp-bit.h: Likewise.
5991 * libgcc2.c (__popcountSI2): Likewise.
5992 (__popcountDI2): Likewise.
5993 * libgcc2.h: Likewise.
5994 * libgcov.h: Likewise.
5996 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
5998 * config/rs6000/atexit.c: New file.
5999 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
6000 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
6001 * config/rs6000/cxa_finalize.c
6002 (catomic_compare_and_exchange_bool_acq): Negate return value.
6004 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
6006 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
6007 (processor_subtypes): Add znver1.
6008 (get_amd_cpu): Detect znver1.
6010 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
6012 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
6013 Include crtfastmath.o.
6015 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
6018 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
6020 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
6022 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
6023 * config/rl78/divmodsi.S: Update return register to r8.
6024 * config/rl78/divmodhi.S: Update return register to r8,r9.
6025 Branch to main_loop_done_himode to pop registers before return.
6027 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
6029 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
6030 (__cpu_indicator_init): Fix model selection for AMD CPUs.
6032 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
6034 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
6036 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
6038 * config.host (xtensa*-*-uclinux*): New configuration.
6040 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
6042 * config/i386/cpuinfo.c (processor_features): Add
6043 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
6045 2015-09-28 Joseph Myers <joseph@codesourcery.com>
6047 * soft-fp/adddf3.c: Update from glibc.
6048 * soft-fp/addsf3.c: Likewise.
6049 * soft-fp/addtf3.c: Likewise.
6050 * soft-fp/divdf3.c: Likewise.
6051 * soft-fp/divsf3.c: Likewise.
6052 * soft-fp/divtf3.c: Likewise.
6053 * soft-fp/double.h: Likewise.
6054 * soft-fp/eqdf2.c: Likewise.
6055 * soft-fp/eqsf2.c: Likewise.
6056 * soft-fp/eqtf2.c: Likewise.
6057 * soft-fp/extenddftf2.c: Likewise.
6058 * soft-fp/extended.h: Likewise.
6059 * soft-fp/extendsfdf2.c: Likewise.
6060 * soft-fp/extendsftf2.c: Likewise.
6061 * soft-fp/extendxftf2.c: Likewise.
6062 * soft-fp/fixdfdi.c: Likewise.
6063 * soft-fp/fixdfsi.c: Likewise.
6064 * soft-fp/fixdfti.c: Likewise.
6065 * soft-fp/fixsfdi.c: Likewise.
6066 * soft-fp/fixsfsi.c: Likewise.
6067 * soft-fp/fixsfti.c: Likewise.
6068 * soft-fp/fixtfdi.c: Likewise.
6069 * soft-fp/fixtfsi.c: Likewise.
6070 * soft-fp/fixtfti.c: Likewise.
6071 * soft-fp/fixunsdfdi.c: Likewise.
6072 * soft-fp/fixunsdfsi.c: Likewise.
6073 * soft-fp/fixunsdfti.c: Likewise.
6074 * soft-fp/fixunssfdi.c: Likewise.
6075 * soft-fp/fixunssfsi.c: Likewise.
6076 * soft-fp/fixunssfti.c: Likewise.
6077 * soft-fp/fixunstfdi.c: Likewise.
6078 * soft-fp/fixunstfsi.c: Likewise.
6079 * soft-fp/fixunstfti.c: Likewise.
6080 * soft-fp/floatdidf.c: Likewise.
6081 * soft-fp/floatdisf.c: Likewise.
6082 * soft-fp/floatditf.c: Likewise.
6083 * soft-fp/floatsidf.c: Likewise.
6084 * soft-fp/floatsisf.c: Likewise.
6085 * soft-fp/floatsitf.c: Likewise.
6086 * soft-fp/floattidf.c: Likewise.
6087 * soft-fp/floattisf.c: Likewise.
6088 * soft-fp/floattitf.c: Likewise.
6089 * soft-fp/floatundidf.c: Likewise.
6090 * soft-fp/floatundisf.c: Likewise.
6091 * soft-fp/floatunditf.c: Likewise.
6092 * soft-fp/floatunsidf.c: Likewise.
6093 * soft-fp/floatunsisf.c: Likewise.
6094 * soft-fp/floatunsitf.c: Likewise.
6095 * soft-fp/floatuntidf.c: Likewise.
6096 * soft-fp/floatuntisf.c: Likewise.
6097 * soft-fp/floatuntitf.c: Likewise.
6098 * soft-fp/gedf2.c: Likewise.
6099 * soft-fp/gesf2.c: Likewise.
6100 * soft-fp/getf2.c: Likewise.
6101 * soft-fp/ledf2.c: Likewise.
6102 * soft-fp/lesf2.c: Likewise.
6103 * soft-fp/letf2.c: Likewise.
6104 * soft-fp/muldf3.c: Likewise.
6105 * soft-fp/mulsf3.c: Likewise.
6106 * soft-fp/multf3.c: Likewise.
6107 * soft-fp/negdf2.c: Likewise.
6108 * soft-fp/negsf2.c: Likewise.
6109 * soft-fp/negtf2.c: Likewise.
6110 * soft-fp/op-1.h: Likewise.
6111 * soft-fp/op-2.h: Likewise.
6112 * soft-fp/op-4.h: Likewise.
6113 * soft-fp/op-8.h: Likewise.
6114 * soft-fp/op-common.h: Likewise.
6115 * soft-fp/quad.h: Likewise.
6116 * soft-fp/single.h: Likewise.
6117 * soft-fp/soft-fp.h: Likewise.
6118 * soft-fp/subdf3.c: Likewise.
6119 * soft-fp/subsf3.c: Likewise.
6120 * soft-fp/subtf3.c: Likewise.
6121 * soft-fp/truncdfsf2.c: Likewise.
6122 * soft-fp/trunctfdf2.c: Likewise.
6123 * soft-fp/trunctfsf2.c: Likewise.
6124 * soft-fp/trunctfxf2.c: Likewise.
6125 * soft-fp/unorddf2.c: Likewise.
6126 * soft-fp/unordsf2.c: Likewise.
6127 * soft-fp/unordtf2.c: Likewise.
6129 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
6132 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
6134 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6136 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
6137 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
6138 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
6140 (internal_mcount): Likewise.
6141 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
6142 crt_compile, add CRTSTUFF_T_CFLAGS_S.
6144 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6146 * configure.ac (libgcc_cv_solaris_crts): New test.
6147 * configure: Regenerate.
6148 * config.in: Regenerate.
6149 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
6150 * config/gmon-sol2.c: Rename to ...
6151 * config/sol2/gmon.c: ... this.
6152 Include auto-target.h.
6153 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
6154 * config/t-sol2: Rename to ...
6155 * config/sol2/t-sol2: ... this.
6156 (gmon.o): Reflect renaming.
6157 (crtp.o, crtpg.o): New rules.
6158 * config.host (*-*-solaris2*): Reflect renaming.
6159 Use system CRTs if present.
6160 Remove default CRT case.
6162 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
6164 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
6165 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
6167 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
6168 (__sync_val_compare_and_swap_##WIDTH): Likewise.
6169 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
6170 (__sync_lock_test_and_set_##WIDTH): Likewise.
6171 (__sync_lock_release_##WIDTH): Likewise.
6172 (__sync_fetch_and_##OP##_4): Change result to match type of
6174 (__sync_##OP##_and_fetch_4): Likewise.
6175 (__sync_val_compare_and_swap_4): Likewise.
6176 (__sync_bool_compare_and_swap_4): likewise.
6177 (__sync_lock_test_and_set_4): Likewise.
6178 (__sync_lock_release_4): Likewise.
6179 (FETCH_AND_OP_2): Add long long variants.
6180 (OP_AND_FETCH_2): Likewise.
6181 (COMPARE_AND_SWAP_2 ): Likewise.
6182 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6183 (SYNC_LOCK_RELEASE_2): Likewise.
6184 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
6186 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
6188 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
6189 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
6190 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
6191 (get_available_features): Habdle new features.
6193 2015-09-21 James Bowman <james.bowman@ftdichip.com>
6195 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
6196 memory layout. Deal correctly with BSS region larger than 32K.
6197 Handle a watchdog reset like a power-on reset. Clean up unused
6200 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
6201 David Edelsohn <dje.gcc@gmail.com>
6203 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
6204 * config/rs6000/crtdbase.S: New file.
6205 * config/rs6000/t-aix-cxa: Build crtdbase.o.
6207 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
6209 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
6210 Add support for call0 ABI.
6212 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
6214 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
6216 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
6218 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
6219 (__GTHREAD_HAS_COND): Likewise.
6220 (__gthread_t): Likewise.
6221 (__gthread_cond_t): Likewise.
6222 (__gthread_time_t): Likewise.
6223 (__GTHREAD_MUTEX_INIT): Likewise.
6224 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
6225 (__GTHREAD_COND_INIT): Likewise.
6226 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
6227 (__GTHREAD_TIME_INIT): Likewise.
6228 (__gthread_create): Likewise.
6229 (__gthread_join): Likewise.
6230 (__gthread_detach): Likewise.
6231 (__gthread_equal): Likewise.
6232 (__gthread_self): Likewise.
6233 (__gthread_yield): Likewise.
6234 (__gthread_cond_broadcast): Likewise.
6235 (__gthread_cond_signal): Likewise.
6236 (__gthread_cond_wait): Likewise.
6237 (__gthread_cond_timedwait): Likewise.
6238 (__gthread_cond_wait_recursive): Likewise.
6239 (__gthread_cond_destroy): Likewise.
6240 (rtems_gxx_once): Delete.
6241 (rtems_gxx_key_create): Likewise.
6242 (rtems_gxx_key_delete): Likewise.
6243 (rtems_gxx_getspecific): Likewise.
6244 (rtems_gxx_setspecific): Likewise.
6245 (rtems_gxx_mutex_init): Likewise.
6246 (rtems_gxx_mutex_destroy): Likewise.
6247 (rtems_gxx_mutex_lock): Likewise.
6248 (rtems_gxx_mutex_trylock): Likewise.
6249 (rtems_gxx_mutex_unlock): Likewise.
6250 (rtems_gxx_recursive_mutex_init): Likewise.
6251 (rtems_gxx_recursive_mutex_lock): Likewise.
6252 (rtems_gxx_recursive_mutex_trylock): Likewise.
6253 (rtems_gxx_recursive_mutex_unlock): Likewise.
6254 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
6255 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
6256 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
6257 (__gthread_once): Likewise.
6258 (__gthread_key_create): Likewise.
6259 (__gthread_key_delete): Likewise.
6260 (__gthread_getspecific): Likewise.
6261 (__gthread_setspecific): Likewise.
6262 (__gthread_key_t): Use <pthread.h> type.
6263 (__gthread_once_t): Likewise
6264 (__gthread_mutex_t): Use <sys/lock.h> type.
6265 (__gthread_recursive_mutex_t): Likewise
6266 (__gthread_mutex_lock): Use <sys/lock.h> function.
6267 (__gthread_mutex_trylock): Likewise.
6268 (__gthread_mutex_timedlock): Likewise.
6269 (__gthread_mutex_unlock): Likewise.
6270 (__gthread_mutex_destroy): Likewise.
6271 (__gthread_recursive_mutex_lock): Likewise.
6272 (__gthread_recursive_mutex_trylock): Likewise.
6273 (__gthread_recursive_mutex_timedlock): Likewise.
6274 (__gthread_recursive_mutex_unlock): Likewise.
6275 (__gthread_recursive_mutex_destroy): Likewise.
6277 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6279 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
6280 context->sp instead of context->cfa.
6282 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6284 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
6285 with unwind-dw2-fde-dip.
6287 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6289 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
6290 CALL12 followed by series of ENTRY to spill windowed registers.
6291 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
6292 instead of making linux spill syscall.
6294 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
6296 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
6297 (get_intel_cpu): Likewise.
6299 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
6301 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
6302 (get_intel_cpu): Add Knights Landing support.
6304 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
6307 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
6308 (get_available_features): Handle FEATURE_PCLMUL.
6310 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
6312 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
6315 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
6318 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
6319 (get_available_features): Handle FEATURE_AES.
6321 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
6323 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
6324 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
6326 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
6328 * offloadstuff.c: Constify host data.
6330 2015-07-17 Jan Beulich <jbeulich@suse.com>
6332 * config/t-softfp: Split up "else ifneq".
6334 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
6335 Cesar Philippidis <cesar@codesourcery.com>
6336 Chung-Lin Tang <cltang@codesourcery.com>
6338 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
6339 for __nios2_arch__ level.
6341 2015-07-13 John Marino <gnugcc@marino.st>
6343 * config/i386/t-dragonfly: New.
6345 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
6347 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
6348 better match light-weight syscall argument order.
6349 (__kernel_cmpxchg2): Likewise.
6352 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
6354 * config.host: Support i[34567]86-*-elfiamcu target.
6355 * config/t-softfp-sfdftf: New file.
6356 * config/i386/32/t-iamcu: Likewise.
6357 * configure: Regenerated.
6359 2015-06-23 James Lemke <jwlemke@codesourcery.com>
6362 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
6364 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
6366 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
6368 2015-05-27 John Marino <gnugcc@marino.st>
6370 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
6372 * config/i386/freebsd-unwind.h: New.
6374 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
6376 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
6377 i386/t-crtfm to tmake_file.
6378 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
6379 (set_fast_math): Use set_fast_math_sse for SSE targets.
6380 * config/i386/t-crtfm: Remove.
6382 2015-05-21 Alan Modra <amodra@gmail.com>
6385 * config/rs6000/morestack.S: Remove ".abiversion 1".
6387 2015-05-20 Alan Modra <amodra@gmail.com>
6389 * config/rs6000/morestack.S: New.
6390 * config/rs6000/t-stack-rs6000: New.
6391 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
6393 * generic-morestack.c: Don't build for powerpc 32-bit.
6395 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
6397 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
6398 Remove useless endif/ifneq ($(enable_shared),yes) pair.
6400 2015-05-16 James Bowman <james.bowman@ftdichip.com>
6402 * config.host: FT32 target added.
6403 * config/ft32/*: New files for FT32 target.
6405 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
6407 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
6409 * config/arm/ieee754-df.S: Add CFI directives.
6410 * config/arm/ieee754-sf.S: Add CFI directives.
6412 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
6414 * configure.ac: Include config/sjlj.m4.
6415 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
6416 * config.in: Regenerate.
6417 * configure: Likewise.
6418 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
6420 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
6422 * libgcov-util.c: Add space between string literal and macro name.
6424 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
6425 Chris Jones <chrisj@nvidia.com>
6426 Joshua Conner <jconner@nvidia.com>
6428 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
6429 (arm*-*-uclinux*): Likewise.
6430 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
6431 * config/arm/crtfastmath.c: New file.
6433 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
6435 * Makefile.in (real_host_noncanonical): New variable.
6436 (libsubdir): Use it.
6437 * configure.ac (real_host_noncanonical): Compute. Remove special
6438 case for intelmicemul.
6439 * configure: Regenerate.
6441 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
6443 * config/frv/elf-lib.h: New file.
6444 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
6445 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
6448 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
6450 * config/frv/frvbengin.c: Do not include defaults.h
6451 * config/frv/frvend.c: Ditto.
6453 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
6455 * config.host: Add h8300-*-linux
6456 * config/h8300/t-linux: New file.
6457 * config/h8300/lib1funs.s: Change symbol prefix.
6458 * config/h8300/sfp-machine.h: 64bit double support.
6460 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
6461 Szabolcs Nagy <szabolcs.nagy@arm.com>
6463 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
6464 Linux if target provides dl_iterate_phdr.
6466 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
6469 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
6470 * config/i386/cpuinfo.c (__cpu_model): Initialize.
6471 (__cpu_indicator_init@GCC_4.8.0): New.
6472 (__cpu_model@GCC_4.8.0): Likewise.
6473 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
6476 2015-04-16 Nick Clifton <nickc@redhat.com>
6478 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
6479 and __modhi3 functions.
6480 * config/rl78/divmodso.S: Add G14 and G13 versions of the
6481 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
6483 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
6485 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
6486 do-while loop as macro body to avoid warnings.
6488 2015-04-10 Jakub Jelinek <jakub@redhat.com>
6489 Iain Sandoe <iain@codesourcery.com>
6492 * configure: Regenerate.
6494 2015-04-07 Jakub Jelinek <jakub@redhat.com>
6495 Iain Sandoe <iain@codesourcery.com>
6498 * configure: Regenerate.
6500 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
6502 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
6504 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
6506 Implement call0 ABI for xtensa
6507 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6508 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
6509 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
6510 use ret in call0 ABI.
6511 * config/xtensa/t-windowed: New file.
6512 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
6513 * libgcc/configure: Regenerated.
6514 * libgcc/configure.ac: Check if xtensa target is configured for
6515 windowed ABI and thus needs to use custom unwind code.
6517 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
6520 * gthr-single.h: Use __unused__ attribute instead of unused.
6521 * config/gthr-vxworks.h: Likewise.
6522 * config/i386/gthr-win32.h: Likewise.
6524 2015-02-27 Kai Tietz <ktietz@redhat.com>
6527 * config.in: Regenerated.
6528 * configure: Likewise.
6529 * configure.ac (AC_HEADER_STDC): Added explicit.
6530 (AC_CHECK_HEADERS): Check for default headers plus
6532 * libgcov-util.c (gcov_read_profile_dir): Disable use
6533 of ftw-function, if header is not found.
6534 (ftw_read_file): Likewise.
6536 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
6539 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
6542 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
6544 * config/arm/bpabi.S (test_div_by_zero): Make label names
6545 consistent between thumb2 and arm mode cases. Separate the
6546 signed comparison on the high word of the numerator from the
6547 unsigned comparison on the low word.
6548 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
6551 2015-02-17 Joseph Myers <joseph@codesourcery.com>
6553 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
6555 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
6557 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
6559 PR gcov-profile/61889
6560 * libgcov-driver-system.c: undefine clashing macro for mkdir.
6562 2015-02-02 Nick Clifton <nickc@redhat.com>
6564 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
6565 rounding up the fraction.
6567 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
6569 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
6570 oldval and newval to const void *. Fix typo.
6571 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
6572 (FETCH_AND_OP_WORD): Likewise.
6573 (OP_AND_FETCH_WORD): Likewise.
6574 (COMPARE_AND_SWAP_2): Likewise.
6575 (__sync_val_compare_and_swap_4): Likewise.
6576 (__sync_lock_test_and_set_4): Likewise.
6577 (SYNC_LOCK_RELEASE_2): Likewise.
6578 Remove support for long long atomic operations.
6580 2015-01-27 Caroline Tice <cmtice@google.com>
6582 Committing VTV Cywin/Ming patch for Patrick Wollgast
6583 * Makefile.in: Move rules to build vtv_*.o out of the check
6584 for CUSTOM_CRTSTUFF.
6585 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
6586 i[34567]86-*-mingw*)
6587 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
6588 enable_vtable_verify.
6590 2015-01-27 Nick Clifton <nickc@redhat.com>
6592 * config/rl78/cmpsi2.S: Use function start and end macros.
6593 (__gcc_bcmp): New function.
6594 * config/rl78/lshrsi3.S: Use function start and end macros.
6595 * config/rl78/mulsi3.S: Add support for G10.
6596 (__mulqi3): New function for G10.
6597 * config/rl78/signbit.S: Use function start and end macros.
6598 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
6600 (LIB2FUNCS_EXCLUDE): Define.
6601 (LIB2FUNCS_ST): Define.
6602 * config/rl78/trampoline.S: Use function start and end macros.
6603 * config/rl78/vregs.h (START_FUNC): New macro.
6604 (START_ANOTHER_FUNC): New macro.
6605 (END_FUNC): New macro.
6606 (END_ANOTHER_FUNC): New macro.
6607 * config/rl78/bit-count.S: New file. Contains assembler
6608 implementations of the bit counting functions: ___clzhi2,
6609 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
6610 __paritysi2, __popcounthi2 and __popcountsi2.
6611 * config/rl78/fpbit-sf.S: New file. Contains assembler
6612 implementationas of the math functions: __negsf2, __cmpsf2,
6613 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
6614 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
6615 * config/rl78/fpmath-sf.S: New file. Contains assembler
6616 implementations of the math functions: __subsf3, __addsf3,
6617 __mulsf3 and __divsf3
6619 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6621 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
6622 Add i386/elf-lib.h to tm_file.
6623 * config/i386/elf-lib.h: Fix comment.
6624 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
6625 && __sun__ && __svr4__]: Remove workaround.
6627 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6629 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
6631 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
6633 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
6635 * config/i386/cpuinfo.c (processor_subtypes): Add
6636 INTEL_COREI7_BROADWELL.
6637 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
6640 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
6642 * config/i386/elf-lib.h: New file.
6643 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
6644 Wrap definition in #ifdef __i386__.
6645 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6646 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
6647 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
6648 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
6651 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
6653 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
6654 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
6656 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
6658 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
6659 Update rt_sigframe format and address for current Nios II
6662 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
6664 * config.host (arm*-*-freebsd*): Add new configuration for
6666 * config/arm/freebsd-atomic.c: New file.
6667 * config/arm/t-freebsd: Likewise.
6668 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
6669 'PC-relative indirect' OS's.
6671 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
6673 * config.host: Add Visium support.
6674 * config/visium: New directory.
6676 2015-01-05 Jakub Jelinek <jakub@redhat.com>
6678 Update copyright years.
6680 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
6682 * config.host: Support mipsisa32r6 and mipsisa64r6.
6683 * config/mips/mips16.S: Do not build for R6.
6685 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
6687 * config/sh/crt.h: New.
6688 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
6690 * config/sh/crt1.S: Likewise.
6692 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
6695 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
6696 func_ptr *dtor_list temporary variable to avoid "array subscript
6697 is above array bounds" warnings.
6699 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
6701 * Makefile.in (with_aix_soname): Define.
6702 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
6703 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
6704 * configure: Recreate.
6706 2014-12-05 Olivier Hainque <hainque@adacore.com>
6708 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
6709 now provided by defaults.h.
6711 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
6714 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
6715 whether it's defined.
6717 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
6719 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
6720 * config/i386/cpuinfo.c (get_available_features): Detect it.
6722 2014-11-27 Tony Wang <tony.wang@arm.com>
6724 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
6725 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
6726 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
6728 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
6730 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
6732 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
6734 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
6737 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
6738 John David Anglin <danglin@gcc.gnu.org>
6740 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
6741 (FETCH_AND_OP_2): New. Use for subword and double word operations.
6742 (OP_AND_FETCH_2): Likewise.
6743 (COMPARE_AND_SWAP_2): Likewise.
6744 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6745 (SYNC_LOCK_RELEASE_2): Likewise.
6746 (SUBWORD_SYNC_OP): Remove.
6747 (SUBWORD_VAL_CAS): Likewise.
6748 (SUBWORD_BOOL_CAS): Likewise.
6749 (FETCH_AND_OP_WORD): Update.
6750 Consistently use signed types.
6752 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
6753 Thomas Schwinge <thomas@codesourcery.com>
6754 Ilya Verbin <ilya.verbin@intel.com>
6755 Andrey Turetskiy <andrey.turetskiy@intel.com>
6757 * Makefile.in (crtoffloadbegin$(objext)): New rule.
6758 (crtoffloadend$(objext)): Likewise.
6759 * configure: Regenerate.
6760 * configure.ac (accel_dir_suffix): Compute new variable.
6761 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
6762 if enable_offload_targets is not empty.
6763 * offloadstuff.c: New file.
6765 2014-11-13 Nick Clifton <nickc@redhat.com>
6767 * config/rl78/divmodhi.S: Add support for the G10 architecture.
6768 Use START_FUNC and END_FUNC macros to enable linker garbage
6770 * config/rl78/divmodqi.S: Likewise.
6771 * config/rl78/divmodsi.S: Likewise.
6772 * config/rl78/mulsi3.S: Likewise.
6773 * config/rl78/lib2div.c: Remove G10 functions.
6774 * config/rl78/lib2muls.c: Likewise.
6775 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
6776 * config/rl78/vregs.h (START_FUNC): New macro.
6777 (END_FUNC): New macro.
6779 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
6781 * config/mips/mips16.S: Set .module when supported. Update O32
6782 FP64 calling convention and use for FPXX when possible. Add FPXX
6783 calling convention fallback case.
6785 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
6787 * config.host: Handle nvptx-*-*.
6788 * shared-object.mk (as-flags-$o): Define.
6789 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
6790 -xassembler-with-cpp.
6791 * static-object.mk: Identical changes.
6792 * config/nvptx/t-nvptx: New file.
6793 * config/nvptx/crt0.s: New file.
6794 * config/nvptx/free.asm: New file.
6795 * config/nvptx/malloc.asm: New file.
6796 * config/nvptx/realloc.c: New file.
6798 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6800 * Makefile.in (libgcc.map.in): New target.
6801 (libgcc.map): Use libgcc.map.in.
6802 * config/t-softfp (softfp_compat): New variable to be set by
6804 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
6806 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
6808 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
6809 that use compat symbols and disable all code unless [SHARED].
6810 * config/t-softfp-compat: New file.
6811 * find-symver.awk: New file.
6812 * configure.ac (--with-glibc-version): New configure option.
6813 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
6814 * configure: Regenerate.
6815 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
6816 soft-float and e500.
6818 2014-10-29 Joseph Myers <joseph@codesourcery.com>
6820 * config/t-hardfp (hardfp_exclusions): Document new variable for
6822 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
6823 * config/t-softfp (softfp_extras): Document new variable for user
6825 (softfp_func_list): Add functions from $(softfp_extras).
6826 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
6827 * config.host (powerpc*-*-linux*): For e500v1, use
6828 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
6829 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
6830 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
6832 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
6834 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
6835 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
6836 memory read accesses are ok.
6838 2014-10-25 Joseph Myers <joseph@codesourcery.com>
6840 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
6841 * configure: Regenerate.
6842 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
6843 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
6844 of soft-fp for 32-bit classic hard float. Do not use
6845 t-softfp-excl for soft float.
6847 2014-10-22 Joseph Myers <joseph@codesourcery.com>
6849 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
6851 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
6854 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
6856 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
6857 introduced with 2014-10-21 trunk r216525.
6859 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
6860 Vidya Praveen <vidya.praveen@atmel.com>
6861 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
6862 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
6863 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
6865 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
6868 Updated library functions for AVRTINY arch.
6869 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
6870 Replaced occurrences of r0/r1 with tmp/zero reg macros.
6871 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
6872 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
6874 (__mulsi3_helper): Update stack, preserve callee saved regs and
6875 argument from stack. Restore callee save registers.
6876 (__mulpsi3): Likewise.
6877 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
6878 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
6879 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
6881 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
6882 (__do_copy_data): Added new definition for AVRTINY.
6883 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
6884 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
6885 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
6886 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
6887 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
6889 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
6892 Fix broken long multiplication on tiny arch.
6894 2014-10-09 Joseph Myers <joseph@codesourcery.com>
6896 * soft-fp/double.h: Update from glibc.
6897 * soft-fp/eqdf2.c: Likewise.
6898 * soft-fp/eqsf2.c: Likewise.
6899 * soft-fp/eqtf2.c: Likewise.
6900 * soft-fp/extenddftf2.c: Likewise.
6901 * soft-fp/extended.h: Likewise.
6902 * soft-fp/extendsfdf2.c: Likewise.
6903 * soft-fp/extendsftf2.c: Likewise.
6904 * soft-fp/extendxftf2.c: Likewise.
6905 * soft-fp/gedf2.c: Likewise.
6906 * soft-fp/gesf2.c: Likewise.
6907 * soft-fp/getf2.c: Likewise.
6908 * soft-fp/ledf2.c: Likewise.
6909 * soft-fp/lesf2.c: Likewise.
6910 * soft-fp/letf2.c: Likewise.
6911 * soft-fp/op-1.h: Likewise.
6912 * soft-fp/op-2.h: Likewise.
6913 * soft-fp/op-4.h: Likewise.
6914 * soft-fp/op-8.h: Likewise.
6915 * soft-fp/op-common.h: Likewise.
6916 * soft-fp/quad.h: Likewise.
6917 * soft-fp/single.h: Likewise.
6918 * soft-fp/soft-fp.h: Likewise.
6919 * soft-fp/unorddf2.c: Likewise.
6920 * soft-fp/unordsf2.c: Likewise.
6921 * soft-fp/unordtf2.c: Likewise.
6922 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
6923 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
6924 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
6925 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
6926 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
6927 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
6928 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
6929 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
6930 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
6931 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
6933 2014-10-08 Rong Xu <xur@google.com>
6935 * libgcov-util.c (read_gcda_file): Fix format.
6936 (find_match_gcov_info): Ditto.
6937 (calculate_2_entries): New.
6938 (compute_one_gcov): Ditto.
6939 (gcov_info_count_all_cold): Ditto.
6940 (gcov_info_count_all_zero): Ditto.
6941 (extract_file_basename): Ditto.
6942 (get_file_basename): Ditto.
6944 (matched_gcov_info): Ditto.
6945 (calculate_overlap): Ditto.
6946 (gcov_profile_overlap): Ditto.
6947 * libgcov-driver.c (compute_summary): Make
6948 it avavilable for external calls.
6950 2014-10-06 Rong Xu <xur@google.com>
6952 * Makefile.in: Ditto.
6953 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
6954 (gcov_sort_icall_topn_counter): Ditto.
6955 (gcov_sort_topn_counter_arrays): Ditto.
6956 (dump_one_gcov): Sort indirect_call topn counters.
6957 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
6959 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
6961 (__gcov_indirect_call_topn_profiler): New profiler function.
6962 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
6963 * libgcov.h: New decls.
6965 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
6967 * config.host: Remove support for score-*.
6969 2014-09-22 Joseph Myers <joseph@codesourcery.com>
6971 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6972 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
6973 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
6974 __LIBGCC_XF_MANT_DIG__.
6975 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
6976 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
6977 __LIBGCC_TF_MANT_DIG__.
6978 * libgcc2.c (NOTRUNC): Define in terms of
6979 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
6980 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6982 2014-09-22 Joseph Myers <joseph@codesourcery.com>
6985 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
6988 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
6990 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
6991 override USE_PT_GNU_EH_FRAME.
6992 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
6993 check USE_EH_FRAME_REGISTRY_ALWAYS against
6994 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
6995 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
6996 variable for substituted force_explicit_eh_registry.
6997 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
6998 * configure.ac (explicit-exception-frame-registration):
7000 * configure: Regenerate.
7002 2014-09-19 Olivier Hainque <hainque@adacore.com>
7004 * config.host (powerpc-wrs-vxworksmils): New configuration,
7007 2014-09-18 Joseph Myers <joseph@codesourcery.com>
7009 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
7011 2014-09-18 Joseph Myers <joseph@codesourcery.com>
7013 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
7014 bits not set bits as indicating trapping exceptions.
7016 2014-09-17 Nathan sidwell <nathan@acm.org>
7018 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
7019 (LIBGCOV_DRIVER): ... here.
7020 * libgcov-driver.c (gcov_master): New.
7021 (gcov_exit): Remove from master chain.
7022 (__gcov_init): Add to master chain if version compatible. Don't
7024 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
7025 (gcov_reset_int): Clear master chain, if compatible.
7026 (gcov_dump_int): New internal interface. Dump master chain, if
7028 (gcov_dump): Alias for gcov_dump_int.
7029 * libgcov.h (struct gcov_root): Add next and prev fields.
7030 (struct gcov_master): New struct.
7031 (__gcov_master): New.
7032 (gcov_dump_int): Declare.
7034 2014-09-17 Olivier Hainque <hainque@adacore.com>
7036 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
7037 and crtbegin.o + crtend.o to extra_parts.
7039 2014-09-12 Joseph Myers <joseph@codesourcery.com>
7041 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
7042 __LIBGCC_HAS_SF_MODE__.
7043 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7044 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7045 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7046 * config/libbid/bid_gcc_intrinsics.h
7047 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7048 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7049 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7050 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7051 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
7052 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7054 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
7057 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
7058 and R24 as needed. Make work for all devices and .text locations.
7059 (__do_global_ctors, __do_global_dtors): Use word addresses.
7060 (__tablejump__, __tablejump_elpm__): Remove functions.
7061 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
7063 (XICALL, XIJMP): New macros.
7065 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
7066 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7068 * config.host (aarch64*): Include crtfastmath.o and
7070 * config/aarch64/crtfastmath.c: New file.
7072 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
7074 * config.host: Remove picochip support.
7075 * config/picochip/adddi3.S: Remove.
7076 * config/picochip/ashlsi3.S: Remove.
7077 * config/picochip/ashlsi3.c: Remove.
7078 * config/picochip/ashrsi3.S: Remove.
7079 * config/picochip/ashrsi3.c: Remove.
7080 * config/picochip/clzsi2.S: Remove.
7081 * config/picochip/cmpsi2.S: Remove.
7082 * config/picochip/divmod15.S: Remove.
7083 * config/picochip/divmodhi4.S: Remove.
7084 * config/picochip/divmodsi4.S: Remove.
7085 * config/picochip/lib1funcs.S: Remove.
7086 * config/picochip/longjmp.S: Remove.
7087 * config/picochip/lshrsi3.S: Remove.
7088 * config/picochip/lshrsi3.c: Remove.
7089 * config/picochip/parityhi2.S: Remove.
7090 * config/picochip/popcounthi2.S: Remove.
7091 * config/picochip/setjmp.S: Remove.
7092 * config/picochip/subdi3.S: Remove.
7093 * config/picochip/t-picochip: Remove.
7094 * config/picochip/ucmpsi2.S: Remove.
7095 * config/picochip/udivmodhi4.S: Remove.
7096 * config/picochip/udivmodsi4.S: Remove.
7098 2014-09-08 Joseph Myers <joseph@codesourcery.com>
7100 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
7101 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
7102 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
7103 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
7104 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
7105 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
7106 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
7107 defined and LIBGCC2_HAS_DF_MODE is defined.
7108 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
7109 defined and LIBGCC2_HAS_XF_MODE is defined.
7110 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
7111 defined and LIBGCC2_HAS_TF_MODE is defined.
7113 2014-09-08 Joseph Myers <joseph@codesourcery.com>
7115 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
7116 and ROUND_TOWARDS_ZERO conditionals.
7118 2014-09-07 Nathan sidwell <nathan@acm.org>
7120 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
7121 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
7123 2014-09-05 Joseph Myers <joseph@codesourcery.com>
7125 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
7126 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7127 uses to __LIBGCC_STACK_POINTER_REGNUM__.
7128 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7129 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7130 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7131 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7132 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
7133 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
7134 (DWARF_FRAME_REGISTERS): Change all uses to
7135 __LIBGCC_DWARF_FRAME_REGISTERS__.
7136 (EH_RETURN_STACKADJ_RTX): Change all uses to
7137 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7138 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
7139 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
7140 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
7141 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
7142 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
7143 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
7144 to __LIBGCC_EH_FRAME_SECTION_NAME__.
7145 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
7146 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
7147 __LIBGCC_STACK_POINTER_REGNUM__.
7148 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7149 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7150 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7151 to __LIBGCC_STACK_POINTER_REGNUM__.
7152 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7153 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7154 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7155 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7156 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7157 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7158 (STACK_POINTER_REGNUM): Change all uses to
7159 __LIBGCC_STACK_POINTER_REGNUM__.
7160 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
7161 use to __LIBGCC_STACK_POINTER_REGNUM__.
7162 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7163 uses to __LIBGCC_STACK_POINTER_REGNUM__.
7164 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
7165 to __LIBGCC_DWARF_FRAME_REGISTERS__.
7166 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
7167 to __LIBGCC_DWARF_FRAME_REGISTERS__.
7168 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7169 to __LIBGCC_STACK_POINTER_REGNUM__.
7170 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
7171 Remove conditional definition.
7172 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
7173 __LIBGCC_TEXT_SECTION_ASM_OP__.
7174 (EH_FRAME_SECTION_NAME): Change all uses to
7175 __LIBGCC_EH_FRAME_SECTION_NAME__.
7176 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
7177 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
7178 (CTORS_SECTION_ASM_OP): Change all uses to
7179 __LIBGCC_CTORS_SECTION_ASM_OP__.
7180 (DTORS_SECTION_ASM_OP): Change all uses to
7181 __LIBGCC_DTORS_SECTION_ASM_OP__.
7182 (JCR_SECTION_NAME): Change all uses to
7183 __LIBGCC_JCR_SECTION_NAME__.
7184 (INIT_SECTION_ASM_OP): Change all uses to
7185 __LIBGCC_INIT_SECTION_ASM_OP__.
7186 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7187 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7188 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
7189 __LIBGCC_STACK_GROWS_DOWNWARD__.
7190 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
7191 __LIBGCC_INIT_SECTION_ASM_OP__.
7192 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7193 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7194 (EH_FRAME_SECTION_NAME): Change all uses to
7195 __LIBGCC_EH_FRAME_SECTION_NAME__.
7196 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
7197 definitions. Change all uses to
7198 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
7199 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
7200 __LIBGCC_STACK_GROWS_DOWNWARD__.
7201 (DWARF_FRAME_REGISTERS): Change all uses to
7202 __LIBGCC_DWARF_FRAME_REGISTERS__.
7203 (EH_RETURN_STACKADJ_RTX): Change all uses to
7204 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7205 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
7206 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
7207 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
7208 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
7209 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
7211 2014-09-02 Nathan sidwell <nathan@acm.org>
7213 * libgcov-interface.c (STRONG_ALIAS): New.
7214 (__gcov_flush): Call __gcov_reset_int.
7215 (__gcov_reset): Strong alias for ...
7216 (__gcov_reset_ing): ... this renamed hidden version.
7217 * libgcov.h (__gcov_reset_int): New declaration.
7219 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
7221 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
7223 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
7224 (__dso_handle): Define on Cygwin.
7225 * config/i386/t-cygming (crtbeginS.o): New rule.
7226 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
7228 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
7231 2014-08-13 Steve Ellcey <sellcey@mips.com>
7233 * crtstuff.c: Undef caddr_t.
7235 2014-08-12 Steve Ellcey <sellcey@mips.com>
7237 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
7239 2014-08-07 Nathan Sidwell <nathan@acm.org>
7241 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
7242 (LIBGCOV_DRIVER): ... to here.
7243 * libgcov.h (gcov_do_dump): New #define.
7244 (struct gcov_root): New.
7245 (__gcov_root): New declaration.
7246 (__gcov_dump_one): Declare.
7247 * libgcov-driver.c (gcov_list, gcov_dump_complete,
7248 run_accounted): Delete.
7249 (gcov_compute_histogram): Add LIST argument, adjust.
7250 (compute_summary): Adjust gcov_compute_histogram call.
7251 (gcov_do_dump): Not hidden, static in libgcov.
7252 (gcov_clear): Move to interface.c.
7253 (__gcov_dump_one): New, broken out of ...
7254 (gcov_exit): ... here. Make static.
7256 (__gcov_init): Adjust.
7257 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
7259 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
7260 (gcov_clear): Moved from driver.c. Add LIST argument.
7261 (__gcov_reset): Adjust for changed interfaces.
7262 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
7264 2014-08-04 Rohit <rohitarulraj@freescale.com>
7267 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
7268 based on change in SPE high register numbers and 3 HTM registers.
7270 2014-08-01 Nathan Sidwell <nathan@acm.org>
7272 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
7273 LIBGCOV_INTERFACE): Reformat.
7274 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
7276 * libgcov-interface.c: Reformat some comments.
7277 (__gcov_flush_mx): Add declaration. Tidy up definition.
7279 2014-07-31 Alan Modra <amodra@gmail.com>
7280 Peter Bergner <bergner@vnet.ibm.com>
7282 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
7283 (pack_ldouble): New function.
7284 (__gcc_qadd): Use it.
7285 (__gcc_qmul): Likewise.
7286 (__gcc_qdiv): Likewise.
7287 (__gcc_qneg): Likewise.
7288 (__gcc_stoq): Likewise.
7289 (__gcc_dtoq): Likewise.
7291 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
7293 * config/s390/tpf-unwind.h: Include <stdbool.h>.
7294 (__tpf_eh_return): Add original return address as second parameter.
7295 Handle cases where unwinder routines were called directly, instead
7296 of from within the C++ library.
7298 2014-07-29 Nathan Sidwell <nathan@acm.org>
7300 * libgcov.h: Move renaming of entry points to lib gcov specific
7302 (gcov_do_dump): New rename.
7303 (gcov_rewrite): Remove inline, make HIDDEN.
7304 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
7305 (gcov_exit_compute_summary): Rename to ...
7306 (compute_summary): ... here. Add LIST argument.
7307 (gcov_exit_merge_gcda): Rename to ...
7308 (merge_one_data): ... here.
7309 (gcov_exit_write_gcda): Rename to ...
7310 (write_one_data): ... here.
7311 (gcov_exit_merge_summary): Rename to ...
7312 (merge_summary): Add RUN_COUNTED argument.
7313 (gcov_exit_dump_gcov): Rename to ...
7314 (dump_one_gcov): Add RUN_COUNTED argument.
7315 (gcov_do_dump): New function, broken out of ...
7316 (gcov_exit): ... here. Call it.
7318 2014-07-27 Anthony Green <green@moxielogic.com>
7320 * config.host: Add moxiebox configuration suppport.
7322 2014-07-27 Nathan Sidwell <nathan@acm.org>
7324 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
7325 (struct gcov_filename): ... here. Include buffer and max length
7327 (gcov_max_filename): Remove.
7328 (gi_filename): Remove.
7329 (gcov_exit_compute_summary): Compute max filename here.
7330 (gcov_exit_merge_gcda): Add filename parm, adjust.
7331 (gcov_exit_merge_summary): Likewise.
7332 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
7333 (gcov_exit): Likewise.
7334 (__gcov_init): Don't calculate max length here.
7335 * libgcov_util.c (max_filename_len): Remove.
7336 (read_gcda_file): Don't calculate max length here.
7337 (gcov_read_profile_dir): Don't propagate here.
7338 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
7339 struct gcov_filename changes.
7340 (gcov_exit_open_gcda_file): Likewise.
7342 2014-07-25 Nathan Sidwell <nathan@acm.org>
7344 * libgcov-driver.c (set_gcov_dump_complete,
7345 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
7346 functions polluting user's namespace.
7347 (gcov_exit): Set variable directly.
7348 (gcov_clear): Reset variable directly.
7349 * libgcov-interface.c (get_gcov_dymp_complete,
7350 reset_gov_dump_complete): Remove declarations.
7351 (__gcov_reset, __gcov_dump): Don't call them.
7353 2014-07-24 DJ Delorie <dj@redhat.com>
7355 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
7356 (__gcc_deregister_frame): Move logic to detect deregister function
7358 (__gcc_register_frame): here, so it's consistent with the register
7361 2014-07-23 Nathan Sidwell <nathan@acm.org>
7363 * libgcov-driver.c (set_gcov_list): Remove.
7364 (gcov_list): Make non-static in GCOV_TOOL.
7365 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
7367 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
7369 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
7370 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
7371 Don't use SYNC_LOCK_RELEASE for int type.
7373 2014-07-14 Richard Biener <rguenther@suse.de>
7375 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
7377 2014-07-11 Rong Xu <xur@google.com>
7379 * libgcov-util.c (gcov_max_filename): Fix declartion.
7381 2014-07-10 Rong Xu <xur@google.com>
7383 Add gcov-tool: an offline gcda profile processing tool
7385 * libgcov-driver.c (gcov_max_filename): Make available
7387 * libgcov-merge.c (__gcov_merge_add): Replace
7388 gcov_read_counter() with a Macro.
7389 (__gcov_merge_ior): Ditto.
7390 (__gcov_merge_time_profile): Ditto.
7391 (__gcov_merge_single): Ditto.
7392 (__gcov_merge_delta): Ditto.
7393 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
7394 in the utility functions.
7395 (set_fn_ctrs): Utility function for reading gcda files to in-memory
7396 gcov_list object link lists.
7397 (tag_function): Ditto.
7398 (tag_blocks): Ditto.
7401 (tag_counters): Ditto.
7402 (tag_summary): Ditto.
7403 (read_gcda_finalize): Ditto.
7404 (read_gcda_file): Ditto.
7405 (ftw_read_file): Ditto.
7406 (read_profile_dir_init): Ditto.
7407 (gcov_read_profile_dir): Ditto.
7408 (gcov_read_counter_mem): Ditto.
7409 (gcov_get_merge_weight): Ditto.
7410 (merge_wrapper): A wrapper function that calls merging handler.
7411 (gcov_merge): Merge two gcov_info objects with weights.
7412 (find_match_gcov_info): Find the matched gcov_info in the list.
7413 (gcov_profile_merge): Merge two gcov_info object lists.
7414 (__gcov_add_counter_op): Process edge profile counter values.
7415 (__gcov_ior_counter_op): Process IOR profile counter values.
7416 (__gcov_delta_counter_op): Process delta profile counter values.
7417 (__gcov_single_counter_op): Process single profile counter values.
7418 (fp_scale): Callback function for float-point scaling.
7419 (int_scale): Callback function for integer fraction scaling.
7420 (gcov_profile_scale): Scaling profile counters.
7421 (gcov_profile_normalize): Normalize profile counters.
7422 * libgcov.h: Add headers and functions for gcov-tool use.
7423 (gcov_get_counter): New.
7424 (gcov_get_counter_target): Ditto.
7425 (struct gcov_info): Make the functions field mutable in gcov-tool
7428 2014-06-23 Kai Tietz <ktietz@redhat.com>
7431 * unwind-seh.c (_Unwind_GetGR): Check for proper
7433 (_Unwind_SetGR): Likewise.
7435 2014-05-22 Nick Clifton <nickc@redhat.com>
7437 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
7440 2014-05-22 Teresa Johnson <tejohnson@google.com>
7442 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
7445 2014-05-20 John Marino <gnugcc@marino.st>
7447 * config.host (*-*-dragonfly*): New target.
7448 * crtstuff.c: Make dl_iterate_support generic on *bsd.
7449 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
7450 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
7451 * config/i386/dragonfly-unwind.h: New.
7453 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7456 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
7457 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
7459 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
7461 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
7464 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
7466 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
7468 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7471 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
7474 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
7476 Work around for current cygwin32 build problems.
7477 * config/i386/cygming-crtbegin.c (__register_frame_info,
7478 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
7479 functions only for 64-bit systems.
7481 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7483 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
7484 (sigill_caught, sigill_hdlr): Remove.
7486 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7488 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
7490 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7491 Solaris 9 single-threaded support.
7492 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7493 Solaris 9 single-threaded support. Add call_user_handler code
7495 (sparc_is_sighandler): Likewise.
7497 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7499 * config.host: Append t-floattodi to tmake_file depending on
7502 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
7504 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
7506 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
7509 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
7510 variable to avoid "array subscript is above array bounds" warnings.
7511 Use __builtin_expect when checking *jcr_list for NULL.
7513 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7516 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
7517 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
7518 vtv_*.o to extra_parts if enable_vtable_verify.
7520 2014-03-06 Nick Clifton <nickc@redhat.com>
7522 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
7523 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
7525 2014-02-28 Joey Ye <joey.ye@arm.com>
7528 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
7529 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
7532 2014-02-24 Walter Lee <walt@tilera.com>
7534 * config.host: Support "tilegx*" and "tilepro*" triplets.
7535 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
7536 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
7538 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
7539 Chung-Lin Tang <cltang@codesourcery.com>
7541 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
7542 * config/nios2/crti.S: Remove .file directive.
7543 * config/nios2/crtn.S: Likewise.
7545 2014-02-18 Kai Tietz <ktietz@redhat.com>
7546 Jonathan Schleifer <js@webkeks.org>
7549 * unwind-seh.c (_GCC_specific_handler): Pass proper
7550 value to unwind-handler.
7552 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7554 * soft-fp/adddf3.c: Update from glibc.
7555 * soft-fp/addsf3.c: Likewise.
7556 * soft-fp/addtf3.c: Likewise.
7557 * soft-fp/divdf3.c: Likewise.
7558 * soft-fp/divsf3.c: Likewise.
7559 * soft-fp/divtf3.c: Likewise.
7560 * soft-fp/double.h: Likewise.
7561 * soft-fp/eqdf2.c: Likewise.
7562 * soft-fp/eqsf2.c: Likewise.
7563 * soft-fp/eqtf2.c: Likewise.
7564 * soft-fp/extenddftf2.c: Likewise.
7565 * soft-fp/extended.h: Likewise.
7566 * soft-fp/extendsfdf2.c: Likewise.
7567 * soft-fp/extendsftf2.c: Likewise.
7568 * soft-fp/extendxftf2.c: Likewise.
7569 * soft-fp/fixdfdi.c: Likewise.
7570 * soft-fp/fixdfsi.c: Likewise.
7571 * soft-fp/fixdfti.c: Likewise.
7572 * soft-fp/fixsfdi.c: Likewise.
7573 * soft-fp/fixsfsi.c: Likewise.
7574 * soft-fp/fixsfti.c: Likewise.
7575 * soft-fp/fixtfdi.c: Likewise.
7576 * soft-fp/fixtfsi.c: Likewise.
7577 * soft-fp/fixtfti.c: Likewise.
7578 * soft-fp/fixunsdfdi.c: Likewise.
7579 * soft-fp/fixunsdfsi.c: Likewise.
7580 * soft-fp/fixunsdfti.c: Likewise.
7581 * soft-fp/fixunssfdi.c: Likewise.
7582 * soft-fp/fixunssfsi.c: Likewise.
7583 * soft-fp/fixunssfti.c: Likewise.
7584 * soft-fp/fixunstfdi.c: Likewise.
7585 * soft-fp/fixunstfsi.c: Likewise.
7586 * soft-fp/fixunstfti.c: Likewise.
7587 * soft-fp/floatdidf.c: Likewise.
7588 * soft-fp/floatdisf.c: Likewise.
7589 * soft-fp/floatditf.c: Likewise.
7590 * soft-fp/floatsidf.c: Likewise.
7591 * soft-fp/floatsisf.c: Likewise.
7592 * soft-fp/floatsitf.c: Likewise.
7593 * soft-fp/floattidf.c: Likewise.
7594 * soft-fp/floattisf.c: Likewise.
7595 * soft-fp/floattitf.c: Likewise.
7596 * soft-fp/floatundidf.c: Likewise.
7597 * soft-fp/floatundisf.c: Likewise.
7598 * soft-fp/floatunditf.c: Likewise.
7599 * soft-fp/floatunsidf.c: Likewise.
7600 * soft-fp/floatunsisf.c: Likewise.
7601 * soft-fp/floatunsitf.c: Likewise.
7602 * soft-fp/floatuntidf.c: Likewise.
7603 * soft-fp/floatuntisf.c: Likewise.
7604 * soft-fp/floatuntitf.c: Likewise.
7605 * soft-fp/gedf2.c: Likewise.
7606 * soft-fp/gesf2.c: Likewise.
7607 * soft-fp/getf2.c: Likewise.
7608 * soft-fp/ledf2.c: Likewise.
7609 * soft-fp/lesf2.c: Likewise.
7610 * soft-fp/letf2.c: Likewise.
7611 * soft-fp/muldf3.c: Likewise.
7612 * soft-fp/mulsf3.c: Likewise.
7613 * soft-fp/multf3.c: Likewise.
7614 * soft-fp/negdf2.c: Likewise.
7615 * soft-fp/negsf2.c: Likewise.
7616 * soft-fp/negtf2.c: Likewise.
7617 * soft-fp/op-1.h: Likewise.
7618 * soft-fp/op-2.h: Likewise.
7619 * soft-fp/op-4.h: Likewise.
7620 * soft-fp/op-8.h: Likewise.
7621 * soft-fp/op-common.h: Likewise.
7622 * soft-fp/quad.h: Likewise.
7623 * soft-fp/single.h: Likewise.
7624 * soft-fp/soft-fp.h: Likewise.
7625 * soft-fp/subdf3.c: Likewise.
7626 * soft-fp/subsf3.c: Likewise.
7627 * soft-fp/subtf3.c: Likewise.
7628 * soft-fp/truncdfsf2.c: Likewise.
7629 * soft-fp/trunctfdf2.c: Likewise.
7630 * soft-fp/trunctfsf2.c: Likewise.
7631 * soft-fp/trunctfxf2.c: Likewise.
7632 * soft-fp/unorddf2.c: Likewise.
7633 * soft-fp/unordsf2.c: Likewise.
7634 * soft-fp/unordtf2.c: Likewise.
7635 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
7637 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7639 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7641 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7643 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7645 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7647 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7649 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7651 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7653 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7655 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7657 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7659 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7661 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
7663 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
7665 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7668 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7670 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
7671 cannot be represented.
7672 * config/s390/32/_fixsfdi.c: Likewise.
7673 * config/s390/32/_fixtfdi.c: Likewise.
7674 * config/s390/32/_fixunsdfdi.c: Likewise.
7675 * config/s390/32/_fixunssfdi.c: Likewise.
7676 * config/s390/32/_fixunstfdi.c: Likewise.
7678 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
7680 * configure.ac (libgcc_cv_mips_hard_float): New.
7681 * configure: Regenerate.
7682 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
7683 t-softfp-sfdf for hard-float targets.
7684 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
7685 (softfp_float_modes, softfp_int_modes, softfp_extensions)
7686 (softfp_truncations, softfp_exclude_libgcc2): New.
7687 * config/t-hardfp: New file.
7688 * config/t-hardfp-sfdf: Likewise.
7689 * config/hardfp.c: Likewise.
7691 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7693 * config.host: Include t-floattodi also for s390x.
7694 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
7695 * config/s390/32/_fixsfdi.c: Likewise.
7696 * config/s390/32/_fixtfdi.c: Likewise.
7697 * config/s390/32/_fixunsdfdi.c: Likewise.
7698 * config/s390/32/_fixunssfdi.c: Likewise.
7699 * config/s390/32/_fixunstfdi.c: Likewise.
7701 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7704 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
7705 (install-libgcc-unwind-map-forbuild): New target.
7706 (all): Depend on install-libgcc-unwind-map-forbuild.
7707 (install-libgcc-unwind-map): New target.
7708 (install): Depend on install-libgcc-unwind-map.
7710 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
7712 * config/nios2/crti.S (_init): Initialize GOT pointer from
7713 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
7715 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
7717 * configure.ac: Check __mips64 when setting host_address.
7718 * configure: Regenerate.
7719 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
7720 mips/t-mips64 and t-softfp.
7721 (mips*-*-linux*): Don't add mips/t-tpbit.
7722 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
7723 (DPBIT, DPBIT_CFLAGS): Delete.
7724 * config/mips/sfp-machine.h: New file.
7725 * config/mips/t-mips64: Likewise.
7726 * config/mips/t-softfp-tf: Likewise.
7727 * config/mips/t-tpbit: Delete.
7729 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
7731 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
7734 2014-01-25 Walter Lee <walt@tilera.com>
7736 * config/tilepro/atomic.c: Include tconfig.h. Don't include
7737 config.h or system.h.
7740 2014-01-25 Walter Lee <walt@tilera.com>
7742 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
7743 (post_atomic_barrier): Ditto.
7744 (__fetch_and_do): New macro.
7745 (__atomic_fetch_and_do): Use __fetch_and_do.
7746 (__sync_fetch_and_do): New macro.
7747 (__sync_fetch_and_add_4): New function.
7748 (__sync_fetch_and_sub_4): New function.
7749 (__sync_fetch_and_or_4): New function.
7750 (__sync_fetch_and_and_4): New function.
7751 (__sync_fetch_and_xor_4): New function.
7752 (__sync_fetch_and_nand_4): New function.
7753 (__sync_fetch_and_add_8): New function.
7754 (__sync_fetch_and_sub_8): New function.
7755 (__sync_fetch_and_or_8): New function.
7756 (__sync_fetch_and_and_8): New function.
7757 (__sync_fetch_and_xor_8): New function.
7758 (__sync_fetch_and_nand_8): New function.
7759 (__do_and_fetch): New macro.
7760 (__atomic_do_and_fetch): Use __do_and_fetch.
7761 (__sync_do_and_fetch): New macro.
7762 (__sync_add_and_fetch_4): New function.
7763 (__sync_sub_and_fetch_4): New function.
7764 (__sync_or_and_fetch_4): New function.
7765 (__sync_and_and_fetch_4): New function.
7766 (__sync_xor_and_fetch_4): New function.
7767 (__sync_nand_and_fetch_4): New function.
7768 (__sync_add_and_fetch_8): New function.
7769 (__sync_sub_and_fetch_8): New function.
7770 (__sync_or_and_fetch_8): New function.
7771 (__sync_and_and_fetch_8): New function.
7772 (__sync_xor_and_fetch_8): New function.
7773 (__sync_nand_and_fetch_8): New function.
7774 (__sync_exchange_methods): New macro.
7775 (__sync_val_compare_and_swap_4): New function.
7776 (__sync_bool_compare_and_swap_4): New function.
7777 (__sync_lock_test_and_test_4): New function.
7778 (__sync_val_compare_and_swap_8): New function.
7779 (__sync_bool_compare_and_swap_8): New function.
7780 (__sync_lock_test_and_test_8): New function.
7781 (__subword_cmpxchg_body): New macro.
7782 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
7783 (__atomic_compare_exchange_2): Ditto.
7784 (__sync_subword_cmpxchg): New macro.
7785 (__sync_val_compare_and_swap_1): New function.
7786 (__sync_bool_compare_and_swap_1): New function.
7787 (__sync_val_compare_and_swap_2): New function.
7788 (__sync_bool_compare_and_swap_2): New function.
7789 (__atomic_subword): Rename to ...
7790 (__subword): ... New name.
7791 (__atomic_subword_fetch): Use __subword.
7792 (__sync_subword_fetch): New macro.
7793 (__sync_fetch_and_add_1): New function.
7794 (__sync_fetch_and_sub_1): New function.
7795 (__sync_fetch_and_or_1): New function.
7796 (__sync_fetch_and_and_1): New function.
7797 (__sync_fetch_and_xor_1): New function.
7798 (__sync_fetch_and_nand_1): New function.
7799 (__sync_fetch_and_add_2): New function.
7800 (__sync_fetch_and_sub_2): New function.
7801 (__sync_fetch_and_or_2): New function.
7802 (__sync_fetch_and_and_2): New function.
7803 (__sync_fetch_and_xor_2): New function.
7804 (__sync_fetch_and_nand_2): New function.
7805 (__sync_add_and_fetch_1): New function.
7806 (__sync_sub_and_fetch_1): New function.
7807 (__sync_or_and_fetch_1): New function.
7808 (__sync_and_and_fetch_1): New function.
7809 (__sync_xor_and_fetch_1): New function.
7810 (__sync_nand_and_fetch_1): New function.
7811 (__sync_add_and_fetch_2): New function.
7812 (__sync_sub_and_fetch_2): New function.
7813 (__sync_or_and_fetch_2): New function.
7814 (__sync_and_and_fetch_2): New function.
7815 (__sync_xor_and_fetch_2): New function.
7816 (__sync_nand_and_fetch_2): New function.
7817 (__atomic_subword_lock): Use __subword.
7818 (__sync_subword_lock): New macro.
7819 (__sync_lock_test_and_set_1): New function.
7820 (__sync_lock_test_and_set_2): New function.
7822 2014-01-25 Walter Lee <walt@tilera.com>
7824 * config/tilepro/atomic.c (BIT_OFFSET): Define.
7825 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
7826 (__atomic_subword): Ditto.
7828 2014-01-25 Walter Lee <walt@tilera.com>
7830 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
7831 a prefix op argument.
7832 (__atomic_nand_fetch_4): Add prefix op.
7833 (__atomic_nand_fetch_8): Ditto.
7835 2014-01-21 Baruch Siach <barch@tkos.co.il>
7837 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
7839 2014-01-09 Rong Xu <xur@google.com>
7841 * libgcov-driver.c (this_prg): make it local to save
7843 (gcov_exit_compute_summary): Ditto.
7844 (gcov_exit_merge_gcda): Ditto.
7845 (gcov_exit_merge_summary): Ditto.
7846 (gcov_exit_dump_gcov): Ditto.
7848 2014-01-08 Rong Xu <xur@google.com>
7850 * libgcov-driver.c: Use libgcov.h.
7851 (buffer_fn_data): Use xmalloc instead of malloc.
7852 (gcov_exit_merge_gcda): Ditto.
7853 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
7854 * libgcov.h: New common header files for libgcov-*.h.
7855 * libgcov-interface.c: Use libgcov.h
7856 * libgcov-merge.c: Ditto.
7857 * libgcov-profiler.c: Ditto.
7858 * Makefile.in: Add dependence to libgcov.h
7860 2014-01-02 Joseph Myers <joseph@codesourcery.com>
7862 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
7863 case of small numerator and finite nonzero result.
7865 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7867 Update copyright years
7869 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7871 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
7872 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
7873 config/arc/dp-hack.h, config/arc/fp-hack.h,
7874 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
7875 config/arc/ieee-754/arc600-dsp/divdf3.S,
7876 config/arc/ieee-754/arc600-dsp/divsf3.S,
7877 config/arc/ieee-754/arc600-dsp/muldf3.S,
7878 config/arc/ieee-754/arc600-dsp/mulsf3.S,
7879 config/arc/ieee-754/arc600-mul64/divdf3.S,
7880 config/arc/ieee-754/arc600-mul64/divsf3.S,
7881 config/arc/ieee-754/arc600-mul64/muldf3.S,
7882 config/arc/ieee-754/arc600-mul64/mulsf3.S,
7883 config/arc/ieee-754/arc600/divsf3.S,
7884 config/arc/ieee-754/arc600/mulsf3.S,
7885 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
7886 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
7887 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
7888 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
7889 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
7890 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
7891 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
7892 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
7893 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
7894 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
7895 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
7896 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
7897 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
7898 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
7899 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
7900 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
7901 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
7902 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
7903 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
7904 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
7905 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
7906 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
7907 vtv_start_preinit.c: Use the standard form for the copyright notice.
7909 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
7910 Chung-Lin Tang <cltang@codesourcery.com>
7911 Based on patches from Altera Corporation
7913 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
7914 * config/nios2/lib2-nios2.h: New file.
7915 * config/nios2/lib2-divmod-hi.c: New file.
7916 * config/nios2/linux-unwind.h: New file.
7917 * config/nios2/lib2-divmod.c: New file.
7918 * config/nios2/linux-atomic.c: New file.
7919 * config/nios2/t-nios2: New file.
7920 * config/nios2/crti.asm: New file.
7921 * config/nios2/t-linux: New file.
7922 * config/nios2/lib2-divtable.c: New file.
7923 * config/nios2/lib2-mul.c: New file.
7924 * config/nios2/tramp.c: New file.
7925 * config/nios2/crtn.asm: New file.
7927 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
7929 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
7930 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
7931 from cpuid.h to check vendor signatures.
7933 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
7935 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
7936 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
7937 (get_amd_cpu): Likewise.
7939 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
7941 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
7944 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
7945 H.J. Lu <hongjiu.lu@intel.com>
7948 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
7950 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
7951 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
7952 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
7953 FEATURE_XOP and FEATURE_FMA.
7954 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
7956 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
7957 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
7958 FEATURE_FMA4 and FEATURE_XOP.
7960 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
7962 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
7963 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
7964 (get_intel_cpu): Updated.
7966 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
7968 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
7970 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
7972 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7973 instructions when __SSE_MATH__ is defined.
7975 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
7977 * config.host (microblaze-*-rtems*): New.
7979 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
7981 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
7982 architectures that do not have hardware divide instruction.
7983 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
7985 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
7987 * longlong.h: Delete (moved to include/).
7989 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7991 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
7992 of normal number and qNaN to not raise an inexact exception.
7994 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
7996 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
7998 2013-11-28 Matthew Leach <matthew.leach@arm.com>
8000 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
8001 for correct opcodes on BE.
8003 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
8005 * soft-fp/op-4.h: Update from glibc.
8007 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
8009 * libgcc2.c (__udivmoddi4): Define new implementation when
8010 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
8011 divide instructions.
8013 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
8015 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
8017 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8019 * config/t-softfp (soft-fp-objects-base): New variable.
8020 (soft-fp-objects): Use it.
8022 2013-11-23 David Edelson <dje.gcc@gmail.com>
8023 Andrew Dixie <andrewd@gentrack.com>
8026 * config/rs6000/aixinitfini.c: New file.
8027 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
8028 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
8031 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
8033 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
8035 2013-11-18 Jan Hubicka <jh@suse.cz>
8037 * libgcov-driver.c (run_accounted): Make global level static.
8038 (gcov_exit_merge_summary): Silence warning; do not clear
8040 (gcov_exit): Clear it here.
8042 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
8045 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
8046 (all_prg, crc32): Remove static vars.
8047 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
8049 (gcov_exit_merge_gcda): Add crc32 parameter.
8050 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
8051 do not account run if it was already accounted.
8052 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
8053 (gcov_exit): Initialize all_prg; update.
8055 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
8057 * configure: Regenerate.
8059 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8060 Alan Modra <amodra@gmail.com>
8062 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
8063 (frob_update_context): Use it.
8065 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8066 Alan Modra <amodra@gmail.com>
8068 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
8069 (trampoline_initial): Provide ELFv2 variant.
8070 (__trampoline_setup): Likewise.
8072 * config/rs6000/linux-unwind.h (frob_update_context): Do not
8073 check for AIX indirect function call sequence if _CALL_ELF == 2.
8075 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8076 Alan Modra <amodra@gmail.com>
8078 * config/rs6000/linux-unwind.h (get_regs): Do not support
8079 old kernel versions if _CALL_ELF == 2.
8080 (frob_update_context): Do not support PLT stub variants only
8081 generated by old linkers if _CALL_ELF == 2.
8083 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8084 Alan Modra <amodra@gmail.com>
8086 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
8087 location of CR save area for 64-bit little-endian systems.
8089 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
8091 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
8093 * config/arm/t-vxworks: Delete.
8095 2013-11-10 Kai Tietz <ktietz@redhat.com>
8097 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
8098 Increment load-count on use of LIBGCC_SONAME DLL.
8099 (hmod_libgcc): New static variable to hold handle of
8101 (__gcc_deregister_frame): Decrement load-count of
8104 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
8106 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
8108 * configure: Regenerate
8110 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
8112 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
8113 FP_EX_DENORM. Store result to volatile location after SSE division
8114 to close interrupt window. Remove unneeded fwait after x87
8115 division since interrupt window will be closed by emitted fstp.
8116 Rewrite FP_EX_INEXACT handling.
8118 2013-11-06 Joseph Myers <joseph@codesourcery.com>
8120 * soft-fp/README: Update.
8121 * soft-fp/adddf3.c: Update from glibc.
8122 * soft-fp/addsf3.c: Likewise.
8123 * soft-fp/addtf3.c: Likewise.
8124 * soft-fp/divdf3.c: Likewise.
8125 * soft-fp/divsf3.c: Likewise.
8126 * soft-fp/divtf3.c: Likewise.
8127 * soft-fp/double.h: Likewise.
8128 * soft-fp/eqdf2.c: Likewise.
8129 * soft-fp/eqsf2.c: Likewise.
8130 * soft-fp/eqtf2.c: Likewise.
8131 * soft-fp/extenddftf2.c: Likewise.
8132 * soft-fp/extended.h: Likewise.
8133 * soft-fp/extendsfdf2.c: Likewise.
8134 * soft-fp/extendsftf2.c: Likewise.
8135 * soft-fp/extendxftf2.c: Likewise.
8136 * soft-fp/fixdfdi.c: Likewise.
8137 * soft-fp/fixdfsi.c: Likewise.
8138 * soft-fp/fixdfti.c: Likewise.
8139 * soft-fp/fixsfdi.c: Likewise.
8140 * soft-fp/fixsfsi.c: Likewise.
8141 * soft-fp/fixsfti.c: Likewise.
8142 * soft-fp/fixtfdi.c: Likewise.
8143 * soft-fp/fixtfsi.c: Likewise.
8144 * soft-fp/fixtfti.c: Likewise.
8145 * soft-fp/fixunsdfdi.c: Likewise.
8146 * soft-fp/fixunsdfsi.c: Likewise.
8147 * soft-fp/fixunsdfti.c: Likewise.
8148 * soft-fp/fixunssfdi.c: Likewise.
8149 * soft-fp/fixunssfsi.c: Likewise.
8150 * soft-fp/fixunssfti.c: Likewise.
8151 * soft-fp/fixunstfdi.c: Likewise.
8152 * soft-fp/fixunstfsi.c: Likewise.
8153 * soft-fp/fixunstfti.c: Likewise.
8154 * soft-fp/floatdidf.c: Likewise.
8155 * soft-fp/floatdisf.c: Likewise.
8156 * soft-fp/floatditf.c: Likewise.
8157 * soft-fp/floatsidf.c: Likewise.
8158 * soft-fp/floatsisf.c: Likewise.
8159 * soft-fp/floatsitf.c: Likewise.
8160 * soft-fp/floattidf.c: Likewise.
8161 * soft-fp/floattisf.c: Likewise.
8162 * soft-fp/floattitf.c: Likewise.
8163 * soft-fp/floatundidf.c: Likewise.
8164 * soft-fp/floatundisf.c: Likewise.
8165 * soft-fp/floatunditf.c: Likewise.
8166 * soft-fp/floatunsidf.c: Likewise.
8167 * soft-fp/floatunsisf.c: Likewise.
8168 * soft-fp/floatunsitf.c: Likewise.
8169 * soft-fp/floatuntidf.c: Likewise.
8170 * soft-fp/floatuntisf.c: Likewise.
8171 * soft-fp/floatuntitf.c: Likewise.
8172 * soft-fp/gedf2.c: Likewise.
8173 * soft-fp/gesf2.c: Likewise.
8174 * soft-fp/getf2.c: Likewise.
8175 * soft-fp/ledf2.c: Likewise.
8176 * soft-fp/lesf2.c: Likewise.
8177 * soft-fp/letf2.c: Likewise.
8178 * soft-fp/muldf3.c: Likewise.
8179 * soft-fp/mulsf3.c: Likewise.
8180 * soft-fp/multf3.c: Likewise.
8181 * soft-fp/negdf2.c: Likewise.
8182 * soft-fp/negsf2.c: Likewise.
8183 * soft-fp/negtf2.c: Likewise.
8184 * soft-fp/op-1.h: Likewise.
8185 * soft-fp/op-2.h: Likewise.
8186 * soft-fp/op-4.h: Likewise.
8187 * soft-fp/op-8.h: Likewise.
8188 * soft-fp/op-common.h: Likewise.
8189 * soft-fp/quad.h: Likewise.
8190 * soft-fp/single.h: Likewise.
8191 * soft-fp/soft-fp.h: Likewise.
8192 * soft-fp/subdf3.c: Likewise.
8193 * soft-fp/subsf3.c: Likewise.
8194 * soft-fp/subtf3.c: Likewise.
8195 * soft-fp/truncdfsf2.c: Likewise.
8196 * soft-fp/trunctfdf2.c: Likewise.
8197 * soft-fp/trunctfsf2.c: Likewise.
8198 * soft-fp/trunctfxf2.c: Likewise.
8199 * soft-fp/unorddf2.c: Likewise.
8200 * soft-fp/unordsf2.c: Likewise.
8201 * soft-fp/unordtf2.c: Likewise.
8203 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
8205 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
8206 (_FP_MUL_MEAT_D): Ditto.
8207 (_FP_DIV_MEAT_S): Ditto.
8208 (_FP_DIV_MEAT_D): Ditto.
8209 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
8210 t-softfp-sfdf and t-softfp to tmake_file.
8212 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
8214 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
8215 * config/i386/crtprec.c: Ditto.
8217 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
8218 Shiva Chen <shiva0217@gmail.com>
8220 * config.host (nds32*-elf*): Add nds32 target.
8221 * config/nds32 : New directory and files.
8223 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
8225 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
8226 * config.host (cpu_type) <Setting default>: Add entry for
8228 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
8229 <crisv32-*-linux*>: Adjust.
8230 * longlong.h: Wrap the whole CRIS section in a single
8231 defined(__CRIS__) conditional. Add comment about add_ssaaaa
8233 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
8235 [__CRIS__] (__umulsidi3): Define.
8236 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
8237 * config/cris/sfp-machine.h: New file.
8238 * config/cris/umulsidi3.S: New file.
8239 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
8240 * config/cris/arit.c (SIGNMULT): New macro.
8241 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
8242 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
8243 saving 3 out of originally 33 cycles from the fastest
8244 path, 3 out of 54 from the medium path and one from the longest
8245 path. Improve comments.
8247 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
8249 * sync.c: Remove static aliases and define each function directly
8250 under its real name.
8252 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
8254 * config.host (hppa*64*-*-linux*): Define extra_parts.
8255 (hppa*-*-linux*): Likewise.
8257 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
8259 * config/arc/crtgend.S: Add 2013 to Copyright years.
8260 * config/arc/gmon/atomic.h: Likewise.
8261 * config/arc/gmon/auxreg.h: Likewise.
8262 * config/arc/gmon/sys/gmon_out.h: Likewise.
8263 * config/arc/gmon/sys/gmon.h: Likewise.
8264 * config/arc/gmon/prof-freq.c: Likewise.
8265 * config/arc/gmon/mcount.c: Likewise.
8266 * config/arc/gmon/prof-freq-stub.S: Likewise.
8267 * config/arc/gmon/gmon.c: Likewise.
8268 * config/arc/gmon/machine-gmon.h: Likewise.
8269 * config/arc/gmon/profil.S: Likewise.
8270 * config/arc/gmon/dcache_linesz.S: Likewise.
8271 * config/arc/crtg.S: Likewise.
8272 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
8273 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
8274 * config/arc/ieee-754/adddf3.S: Likewise.
8275 * config/arc/ieee-754/truncdfsf2.S: Likewise.
8276 * config/arc/ieee-754/fixsfsi.S: Likewise.
8277 * config/arc/ieee-754/gtsf2.S: Likewise.
8278 * config/arc/ieee-754/floatsisf.S: Likewise.
8279 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
8280 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
8281 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
8282 * config/arc/ieee-754/fixdfsi.S: Likewise.
8283 * config/arc/ieee-754/addsf3.S: Likewise.
8284 * config/arc/ieee-754/gesf2.S: Likewise.
8285 * config/arc/ieee-754/floatsidf.S: Likewise.
8286 * config/arc/ieee-754/extendsfdf2.S: Likewise.
8287 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
8288 * config/arc/ieee-754/gtdf2.S: Likewise.
8289 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
8290 * config/arc/ieee-754/uneqdf2.S: Likewise.
8291 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
8292 * config/arc/ieee-754/uneqsf2.S: Likewise.
8293 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
8294 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
8295 * config/arc/ieee-754/eqdf2.S: Likewise.
8296 * config/arc/ieee-754/ordsf2.S: Likewise.
8297 * config/arc/ieee-754/divsf3.S: Likewise.
8298 * config/arc/ieee-754/divdf3.S: Likewise.
8299 * config/arc/ieee-754/floatunsidf.S: Likewise.
8300 * config/arc/ieee-754/orddf2.S: Likewise.
8301 * config/arc/ieee-754/eqsf2.S: Likewise.
8302 * config/arc/ieee-754/gedf2.S: Likewise.
8303 * config/arc/crtn.S: Likewise.
8304 * config/arc/crti.S: Likewise.
8305 * config/arc/t-arc700-uClibc: Likewise.
8306 * config/arc/asm.h: Likewise.
8307 * config/arc/libgcc-excl.ver: Likewise.
8308 * config/arc/t-arc-newlib: Likewise.
8309 * config/arc/divtab-arc700.c: Likewise.
8310 * config/arc/initfini.c: Likewise.
8311 * config/arc/fp-hack.h: Likewise.
8313 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
8314 Diego Novillo <dnovillo@google.com>
8316 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
8317 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
8318 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
8319 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
8321 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
8322 Brendan Kehoe <brendan@zen.org>
8323 Simon Cook <simon.cook@embecosm.com>
8325 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
8326 * config/arc: New directory.
8327 * longlong.h [__arc__] (umul_ppmm): Remove.
8328 [__arc__] (__umulsidi3): Define.
8329 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
8330 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
8332 2013-09-17 Jacek Caban <jacek@codeweavers.com>
8334 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
8336 * config/i386/gthr-win32.h: Likewise.
8338 2013-09-16 DJ Delorie <dj@redhat.com>
8340 * config/rl78/vregs.h: Add G10 register definitions.
8341 * config/rl78/lib2mul.c: Enable for RL78/G10.
8342 * config/rl78/lib2div.c: Likewise.
8343 * config/rl78/lshrsi3.S: Use vregs.h.
8344 * config/rl78/cmpsi2.S: Likewise.
8345 * config/rl78/trampoline.S: Likewise.
8346 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
8348 2013-09-14 DJ Delorie <dj@redhat.com>
8349 Nick Clifton <nickc@redhat.com>
8351 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
8352 * config/rl78/vregs.h: New.
8353 * config/rl78/signbit.S: New file. Implements signbit function.
8354 * config/rl78/divmodsi.S: New.
8355 * config/rl78/divmodhi.S: New.
8356 * config/rl78/divmodqi.S: New.
8357 * config/rl78/t-rl78: Build them here...
8358 * config/rl78/lib2div.c: ...but not here.
8360 2013-09-12 DJ Delorie <dj@redhat.com>
8362 * config.host (msp*-*-elf): New.
8363 * config/msp430/: New port.
8365 2013-08-18 Iain Sandoe <iain@codesourcery.com>
8367 PR gcov-profile/58127
8368 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
8369 __thread var for emulated TLS.
8370 (__gcov_indirect_call_counters): Likewise.
8372 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
8373 Catherine Moore <clm@codesourcery.com>
8374 Richard Sandiford <rdsandiford@googlemail.com>
8376 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
8377 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
8378 (CALL_STUB_NO_RET): Likewise.
8379 (CALL_STUB_RET): Likewise.
8380 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
8381 __mips16_ret call/return stub symbols.
8382 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
8385 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
8387 * config.host <mips*-*-linux*>: Remove a stray comment.
8389 2013-08-10 Jan Hubicka <jh@suse.cz>
8391 Work around binutils PR14342
8392 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
8393 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
8394 (L_gcov_indirect_call_profiler_v2): New.
8396 2013-08-06 Jan Hubicka <jh@suse.cz>
8398 * libgcov.c (__gcov_indirect_call_callee,
8399 __gcov_indirect_call_counters): New global vars.
8400 (__gcov_indirect_call_profiler): replace by ...
8401 (__gcov_indirect_call_profiler_v2) ... this one.
8403 2013-08-06 Caroline Tice <cmtice@google.com>
8405 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
8406 vtv_start_preinit.o and vtv_end_preinit.o.
8407 * configure.ac: Add code to check/set enable_vtable_verify.
8408 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
8410 * vtv_start_preinit.c: New file.
8411 * vtv_end_preinit.c: New file.
8412 * vtv_start.c: New file.
8413 * vtv_end.c: New file.
8414 * configure: Regenerated.
8416 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
8418 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
8419 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
8420 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
8421 GPL-3.0-with-GCC-exception.
8423 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
8425 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
8428 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8430 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
8431 mapping for FPRs when creating the fallback framestate.
8433 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
8436 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
8437 (__round_s2_const, __round_u2_const)
8438 (__round_s4_const, __round_u4_const, __round_x8):
8439 Saturate result if addition result cannot be represented.
8441 2013-07-15 Matthias Klose <doko@ubuntu.com>
8443 * libgcc2.c: Don't include <limits.h>.
8445 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
8447 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
8449 2013-07-06 Jakub Jelinek <jakub@redhat.com>
8452 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
8454 2013-06-28 Jakub Jelinek <jakub@redhat.com>
8457 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
8459 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
8460 instead of table lookups.
8461 (__popcountDI2): Likewise.
8463 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
8465 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
8468 2013-06-21 Joseph Myers <joseph@codesourcery.com>
8471 * soft-fp/adddf3.c: Update from glibc.
8472 * soft-fp/addsf3.c: Likewise.
8473 * soft-fp/addtf3.c: Likewise.
8474 * soft-fp/divdf3.c: Likewise.
8475 * soft-fp/divsf3.c: Likewise.
8476 * soft-fp/divtf3.c: Likewise.
8477 * soft-fp/double.h: Likewise.
8478 * soft-fp/eqdf2.c: Likewise.
8479 * soft-fp/eqsf2.c: Likewise.
8480 * soft-fp/eqtf2.c: Likewise.
8481 * soft-fp/extenddftf2.c: Likewise.
8482 * soft-fp/extended.h: Likewise.
8483 * soft-fp/extendsfdf2.c: Likewise.
8484 * soft-fp/extendsftf2.c: Likewise.
8485 * soft-fp/fixdfdi.c: Likewise.
8486 * soft-fp/fixdfsi.c: Likewise.
8487 * soft-fp/fixsfdi.c: Likewise.
8488 * soft-fp/fixsfsi.c: Likewise.
8489 * soft-fp/fixtfdi.c: Likewise.
8490 * soft-fp/fixtfsi.c: Likewise.
8491 * soft-fp/fixunsdfdi.c: Likewise.
8492 * soft-fp/fixunsdfsi.c: Likewise.
8493 * soft-fp/fixunssfdi.c: Likewise.
8494 * soft-fp/fixunssfsi.c: Likewise.
8495 * soft-fp/fixunstfdi.c: Likewise.
8496 * soft-fp/fixunstfsi.c: Likewise.
8497 * soft-fp/floatdidf.c: Likewise.
8498 * soft-fp/floatdisf.c: Likewise.
8499 * soft-fp/floatditf.c: Likewise.
8500 * soft-fp/floatsidf.c: Likewise.
8501 * soft-fp/floatsisf.c: Likewise.
8502 * soft-fp/floatsitf.c: Likewise.
8503 * soft-fp/floatundidf.c: Likewise.
8504 * soft-fp/floatundisf.c: Likewise.
8505 * soft-fp/floatunditf.c: Likewise.
8506 * soft-fp/floatunsidf.c: Likewise.
8507 * soft-fp/floatunsisf.c: Likewise.
8508 * soft-fp/floatunsitf.c: Likewise.
8509 * soft-fp/gedf2.c: Likewise.
8510 * soft-fp/gesf2.c: Likewise.
8511 * soft-fp/getf2.c: Likewise.
8512 * soft-fp/ledf2.c: Likewise.
8513 * soft-fp/lesf2.c: Likewise.
8514 * soft-fp/letf2.c: Likewise.
8515 * soft-fp/muldf3.c: Likewise.
8516 * soft-fp/mulsf3.c: Likewise.
8517 * soft-fp/multf3.c: Likewise.
8518 * soft-fp/negdf2.c: Likewise.
8519 * soft-fp/negsf2.c: Likewise.
8520 * soft-fp/negtf2.c: Likewise.
8521 * soft-fp/op-1.h: Likewise.
8522 * soft-fp/op-2.h: Likewise.
8523 * soft-fp/op-4.h: Likewise.
8524 * soft-fp/op-8.h: Likewise.
8525 * soft-fp/op-common.h: Likewise.
8526 * soft-fp/quad.h: Likewise.
8527 * soft-fp/single.h: Likewise.
8528 * soft-fp/soft-fp.h: Likewise.
8529 * soft-fp/subdf3.c: Likewise.
8530 * soft-fp/subsf3.c: Likewise.
8531 * soft-fp/subtf3.c: Likewise.
8532 * soft-fp/truncdfsf2.c: Likewise.
8533 * soft-fp/trunctfdf2.c: Likewise.
8534 * soft-fp/trunctfsf2.c: Likewise.
8535 * soft-fp/unorddf2.c: Likewise.
8536 * soft-fp/unordsf2.c: Likewise.
8537 * soft-fp/unordtf2.c: Likewise.
8538 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
8539 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8540 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8541 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8542 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8543 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8544 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8545 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8546 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8547 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
8548 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
8549 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8551 2013-06-16 JĂĽrgen Urban <JuergenUrban@gmx.de>
8553 * config/mips/lib2funcs.c: New file.
8554 * config/mips/t-mips (LIB2ADD_ST): Add it.
8556 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
8559 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
8560 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
8562 2013-06-08 Walter Lee <walt@tilera.com>
8564 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
8565 Replace int64_t with long long. Add __extension__ where
8567 * config/tilepro/atomic.c: Include config.h.
8569 2013-06-06 Douglas B Rupp <rupp@adacore.com>
8571 * config.host (arm-wrs-vxworks): Configure with other soft float.
8573 2013-06-04 JĂĽrgen Urban <JuergenUrban@gmx.de>
8575 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
8576 (mips64r5900el-*-elf*): New configurations.
8578 2013-06-04 Alan Modra <amodra@gmail.com>
8580 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
8582 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
8584 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
8586 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
8588 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
8589 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
8590 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
8592 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8594 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
8595 (powerpc-wrs-vxworks): Likewise.
8597 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8599 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
8600 signal frames as well.
8601 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
8602 STACK_BIAS to the CFA offset.
8604 2013-05-17 Richard Henderson <rth@redhat.com>
8607 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
8608 (execute_cfa_program): Use it when storing to fs->regs.
8610 2013-05-08 Kai Tietz <ktietz@redhat.com>
8612 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
8613 (__deregister_frame_info): Likewise.
8615 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
8617 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
8620 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
8622 2013-04-25 Alan Modra <amodra@gmail.com>
8624 * config.host: Match little-endian powerpc-linux.
8626 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
8628 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
8629 as 'unsigned long long' instead of 'unsigned long'.
8630 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
8633 2013-04-10 Julian Brown <julian@codesourcery.com>
8635 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
8636 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
8637 unsigned char/unsigned short.
8638 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
8640 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8643 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
8645 2013-04-04 Meador Inge <meadori@codesourcery.com>
8647 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
8648 computing the location of the link register.
8649 (aeabi_uldivmod): Ditto.
8651 2013-03-27 Kai Tietz <ktietz@redhat.com>
8653 * config.host: Add support for cygwin x64 target.
8654 * configure: Regenerated.
8656 2013-03-26 Walter Lee <walt@tilera.com>
8658 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
8659 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
8661 2013-03-25 Kai Tietz <ktietz@redhat.com>
8663 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
8665 2013-03-20 Robert Mason <rbmj@verizon.net>
8667 * config/vxlib-tls.c (__gthread_get_tsd_data,)
8668 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
8669 (__gthread_leave_tsd_dtor_context): Add prototypes.
8670 (tls_delete_hook): Update.
8672 2013-03-20 Catherine Moore <clm@codesourcery.com>
8673 Joseph Myers <joseph@codesourcery.com>
8674 Chao-ying Fu <fu@mips.com>
8676 * config/mips/mips16.S: Don't build for microMIPS.
8677 * config/mips/linux-unwind.h: Handle microMIPS frame.
8678 * config/mips/crtn.S (fini, init): New labels.
8680 2013-03-14 Jakub Jelinek <jakub@redhat.com>
8682 PR tree-optimization/53265
8683 * unwind-dw2.c (execute_cfa_program): Avoid
8684 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
8685 on targets with DWARF_FRAME_REGISTERS < 32.
8687 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
8690 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
8691 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
8693 2013-03-07 Sriraman Tallam <tmsriram@google.com>
8695 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
8696 sandybridge processors.
8698 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
8701 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
8704 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
8706 * config/microblaze/crti.S: Setup stack protection at entry
8708 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
8710 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
8711 (__rotldi3): Shift bytewise if applicable.
8713 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
8715 * config/aarch64/sync-cache.c
8716 (__aarch64_sync_cache_range): Silence warnings.
8718 2013-02-25 Catherine Moore <clm@codesourcery.com>
8721 2013-02-24 Catherine Moore <clm@codesourcery.com>
8722 Joseph Myers <joseph@codesourcery.com>
8723 Chao-ying Fu <fu@mips.com>
8725 * config/mips/mips16.S: Don't build for microMIPS.
8726 * config/mips/linux-unwind.h: Handle microMIPS frame.
8727 * config/mips/crtn.S (fini, init): New labels.
8729 2013-02-24 Catherine Moore <clm@codesourcery.com>
8730 Joseph Myers <joseph@codesourcery.com>
8731 Chao-ying Fu <fu@mips.com>
8733 * config/mips/mips16.S: Don't build for microMIPS.
8734 * config/mips/linux-unwind.h: Handle microMIPS frame.
8735 * config/mips/crtn.S (fini, init): New labels.
8737 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
8738 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
8741 2013-02-16 Alan Modra <amodra@gmail.com>
8744 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
8745 (ppc_fallback_frame_state): Always set up save locations for fp
8746 and altivec. Don't bother with non-callee-saved regs, r0-r13
8747 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
8749 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
8752 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
8754 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
8755 _ssmulha3, _usmulusa3, _ssmulsa3.
8756 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
8757 (__muldi3): XCALL __muldi3_6 instead of rcall.
8758 (__umulsidi3, __mulsidi3): New functions.
8759 (do_prologue_saves, do_epilogue_restores): New .macros.
8760 (__divdi3_moddi3): Use them.
8761 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
8762 (__usmulusa3, __ssmulsa3): New functions.
8764 2013-02-11 Iain Sandoe <iain@codesourcery.com>
8765 Jack Howarth <howarth@bromo.med.uc.edu>
8766 Patrick Marlier <patrick.marlier@gmail.com>
8769 * config/darwin-crt-tm.c: Remove dummy functions hack.
8771 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
8774 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
8775 * config/avr/lib2-object.mk: New iterator to build objects from it.
8776 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
8778 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
8779 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
8780 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
8781 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
8782 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
8783 * config/avr/lib1funcs-fixed.S: Implement them.
8785 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
8787 Update copyright years.
8789 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
8792 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
8793 Add crtcxa to extra_parts.
8794 * config/rs6000/exit.h: New file.
8795 * config/rs6000/cxa_atexit.c: New file.
8796 * config/rs6000/cxa_finalize.c: New file.
8797 * config/rs6000/crtcxa.c: New file.
8798 * config/rs6000/t-aix-cxa: New file.
8799 * config/rs6000/libgcc-aix-cxa.ver: New file.
8801 2013-01-31 Nick Clifton <nickc@redhat.com>
8803 * config/v850/lib1funcs.S: Add support for e3v5 architecture
8806 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
8809 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
8810 _mulQQ, _mulHQ, _mulHA, _mulSA,
8811 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
8812 _divQQ, _divHQ, _divHA, _divSA,
8813 _divUQQ, _divUHQ, _divUHA, _divUSA.
8815 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
8817 * config.host(microblaze*-linux*): tmake_file: Remove
8818 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
8819 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
8820 to exclude functions from being built with libgcc.c and use
8821 the microblaze assembly.
8823 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
8825 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
8828 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
8830 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
8831 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
8832 __UINTPTR_TYPE__; also cast 'base' to the same type before the
8833 alignment operation.
8835 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
8837 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
8838 loop start address for cache clearing.
8840 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
8842 * config/avr/lib1funcs.S: Remove trailing blanks.
8843 * config/avr/lib1funcs-fixed.S: Ditto.
8845 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
8847 * config/avr/avr-lib.h: Add GPL copyright notice.
8849 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
8851 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
8852 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
8853 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
8854 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
8856 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
8858 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
8859 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
8861 2013-01-04 Nick Clifton <nickc@redhat.com>
8863 * config/v850/lib1funcs.S: Only provide CALLT support functions if
8864 the CALLT instruction is supported.
8866 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
8868 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
8869 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
8871 2012-12-13 John Tytgat <John@bass-software.com>
8873 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
8876 2012-12-12 Jakub Jelinek <jakub@redhat.com>
8879 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
8880 undefined signed overflows.
8882 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
8885 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
8887 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
8889 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
8890 (FP_TRAPPING_EXCEPTIONS): Define.
8891 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
8892 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
8894 2012-12-04 Richard Henderson <rth@redhat.com>
8897 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
8899 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
8901 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
8902 (FP_EX_SHIFT): Define.
8903 (FP_TRAPPING_EXCEPTIONS): Define.
8905 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
8907 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
8908 (FP_ROUNDMODE): Use FP_RND_MASK.
8909 * config/aarch64/sfp-exceptions.c: New.
8910 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8911 Use __sfp_handle_exceptions.
8913 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
8915 * config.host: (arm*-*-freebsd*): Remove.
8916 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
8917 (arm*-*-elf*): Remove.
8918 (arm*-*-wince-pe*): Remove.
8919 * arm/unwind-arm.c (struct fpa_reg): Delete.
8920 (struct fpa_regs): Delete.
8921 (phase1_vrs): Remove fpa element.
8922 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
8923 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
8924 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
8925 * ieee754-sf.S (floatundisf): Remove FPA support.
8926 (floatdisf): Likewise.
8927 * ieee75f-df.S (floatundidf): Likewise.
8928 (floatdidf): Likewise.
8930 2012-11-29 Kai Tietz <ktietz@redhat.com>
8933 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
8934 * unwind-generic.h: Likewise.
8935 * unwind-seh.c: Likewise.
8937 2012-11-28 Richard Henderson <rth@redhat.com>
8940 * emutls.c (__emutls_get_address): Avoid race condition between
8941 obj->loc.offset read and emutls_key initialization.
8943 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
8945 Adjust decimal point of signed accum mode to GCC default.
8948 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
8950 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
8951 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
8952 (__mulha3, __mulsa3)
8953 (__divqq3, __divha3, __divsa3): Adjust to new position of
8954 decimal point of signed accum types.
8956 (__mulusa3_round): New function.
8957 (__mulusa3): Use it.
8958 (__divqq_helper): New function.
8959 (__udivuqq3): Use it.
8961 2012-11-20 Jakub Jelinek <jakub@redhat.com>
8964 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
8966 2012-11-18 Teresa Johnson <tejohnson@google.com>
8969 * libgcov.c (gcov_exit): Remove merged program summary
8970 comparison unless !GCOV_LOCKED.
8972 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
8974 * soft-fp: Updated from glibc upstream.
8976 2012-11-06 Ian Lance Taylor <iant@google.com>
8978 * generic-morestack.c (__generic_morestack): Align the returned
8979 stack pointer to a 32 byte boundary.
8980 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
8981 increment the return address until we have decided that we don't
8982 have a varargs function.
8983 (__morestack) [32-bit]: Align stack correctly when calling C
8985 (__morestack) [64-bit]: Likewise.
8987 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8989 * configure: Regenerate.
8991 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
8994 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
8995 * config/i386/sfp-machine.h: Guard exception handling
8996 code with _SOFT_FLOAT.
8997 * config/i386/32/sfp-machine.h: Guard rounding handling
8998 code with _SOFT_FLOAT.
8999 * config/i386/64/sfp-machine.h: Ditto.
9001 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
9003 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
9006 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
9008 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
9009 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
9010 when appropriate. Correct structure element types.
9011 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
9012 -minline-all-stringops from compile flags.
9014 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
9016 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
9018 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
9020 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
9022 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
9024 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
9027 2012-10-23 Ian Bolton <ian.bolton@arm.com>
9028 Jim MacArthur <jim.macarthur@arm.com>
9029 Marcus Shawcroft <marcus.shawcroft@arm.com>
9030 Nigel Stephens <nigel.stephens@arm.com>
9031 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
9032 Richard Earnshaw <rearnsha@arm.com>
9033 Sofiane Naci <sofiane.naci@arm.com>
9034 Stephen Thomas <stephen.thomas@arm.com>
9035 Tejas Belagod <tejas.belagod@arm.com>
9036 Yufeng Zhang <yufeng.zhang@arm.com>
9038 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
9039 * config/aarch64/crti.S: New file.
9040 * config/aarch64/crtn.S: New file.
9041 * config/aarch64/linux-unwind.h: New file.
9042 * config/aarch64/sfp-machine.h: New file.
9043 * config/aarch64/sync-cache.c: New file.
9044 * config/aarch64/t-aarch64: New file.
9045 * config/aarch64/t-softfp: New file.
9047 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
9049 * config/mmix/crti.S: Mark program and data addresses using PRELD.
9050 Remove typo'd and unnecessary alignment-LOC for .data. Remove
9051 no-longer-needed LDBU insns.
9053 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
9056 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
9057 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
9059 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9061 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
9063 2012-10-15 Matthias Klose <doko@ubuntu.com>
9065 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
9067 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
9069 * configure: Regenerate.
9070 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
9072 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
9074 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
9075 instructions for 64bit targets only.
9077 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
9079 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9080 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
9081 * config/i386/32/sfp-machine.h: ... here.
9082 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
9083 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
9086 2012-10-07 Matthias Klose <doko@ubuntu.com>
9088 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
9090 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
9092 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
9094 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
9095 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
9096 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
9099 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
9102 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9103 Fix parameter names.
9105 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
9108 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
9109 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
9110 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
9112 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
9115 * config/sh/linux-atomic.S: Delete.
9116 * config/sh/linux-atomic.c: New.
9117 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
9118 linux-atomic.c. Add cflags to disable warnings.
9120 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
9123 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
9125 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
9126 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
9127 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
9128 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
9129 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
9131 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9133 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
9135 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
9136 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
9138 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
9140 * config.host (hppa-*-openbsd*): New target.
9141 * config/pa/t-openbsd: New file.
9143 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
9146 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
9147 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
9148 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
9149 (__divsa3): Use __negsi2 to negate r_quoL.
9150 * config/avr/lib1funcs.S (FALIAS): New macro.
9151 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
9152 (__negsi2): ...this new function.
9153 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
9154 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
9155 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
9156 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
9157 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
9158 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
9160 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
9163 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
9164 (lshrsi3): Reimplement as lshrsi3_r0.
9166 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
9169 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
9172 2012-09-07 Teresa Johnson <tejohnson@google.com>
9174 PR gcov-profile/54487
9175 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9178 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
9181 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
9182 not configured --with-avrlibc=no.
9183 * config/avr/t-avrlibc: New file.
9184 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
9185 (DPBIT_FUNCS): Ditto.
9186 (TPBIT_FUNCS): Ditto.
9188 2012-09-04 Teresa Johnson <tejohnson@google.com>
9190 * libgcov.c (struct gcov_summary_buffer): New structure.
9191 (gcov_histogram_insert): New function.
9192 (gcov_compute_histogram): Ditto.
9193 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
9194 histograms during summary merging.
9196 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
9198 * config.host (x86_64-*-openbsd*): New target.
9200 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
9202 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
9205 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
9208 * config/avr/t-avr (conv_X): Rename to func_X.
9210 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
9213 * config/avr/lib1funcs-fixed.S: New file.
9214 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
9215 after they are used.
9216 (neg2, neg4): New macros.
9217 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
9218 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
9219 (__umulhisi3): Speed up MUL variant if there is enough flash.
9220 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
9222 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
9223 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
9224 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
9225 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
9226 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
9227 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
9228 (LIB2FUNCS_EXCLUDE): Add supported functions.
9230 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
9232 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
9233 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
9235 * fixed-obj.mk: Only expand dependency if $o is not in
9238 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
9240 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
9242 2012-08-22 Joseph Myers <joseph@codesourcery.com>
9244 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
9245 depend on --enable-shared.
9246 ($(lib1asmfuncs-o)): Use %.vis files independent of
9248 * static-object.mk ($(base)$(objext), $(base).vis)
9249 ($(base)_s$(objext)): Use same rules for visibility handling as in
9252 2012-08-21 Ian Lance Taylor <iant@google.com>
9254 * config/i386/morestack.S (__morestack_non_split): Increase amount
9255 of space allocated for non-split code stack.
9257 2012-08-19 Joseph Myers <joseph@codesourcery.com>
9259 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
9260 even if inhibit_libc.
9262 2012-08-17 Julian Brown <julian@codesourcery.com>
9264 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
9265 -fexceptions -fnon-call-exceptions if not defined.
9266 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
9267 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
9269 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
9271 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
9274 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
9276 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
9277 rs6000/t-slibgcc-aix.
9279 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
9281 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
9283 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
9285 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
9287 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
9290 * Makefile.in (version): Replace top_srcdir with srcdir.
9292 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
9294 * Makefile.in (version): set to BASE-VER file from gcc directory.
9296 2012-08-01 Nick Clifton <nickc@redhat.com>
9298 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
9299 Implements __clrsb for an HImode argument.
9301 2012-07-31 Nick Clifton <nickc@redhat.com>
9303 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
9304 Implements __clrsb for an HImode argument.
9305 * config/stormy16/clrsbhi2.c: New file:
9306 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
9308 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
9310 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
9312 2012-07-19 Tristan Gingold <gingold@adacore.com>
9313 Richard Henderson <rth@redhat.com>
9315 * unwind-seh.c: New file.
9316 * unwind-generic.h: Include windows.h for SEH.
9317 (_Unwind_Exception): Use 6 private fields for SEH.
9318 (_GCC_specific_handler): Declare.
9319 * unwind-c.c (__gcc_personality_seh0): New function.
9321 * config/i386/libgcc-cygming.ver: New file.
9322 * config/i386/t-seh-eh: New file.
9323 * config.host (x86_64-*-mingw*): Default to seh.
9325 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
9327 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
9329 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
9331 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
9332 __builtin_expect when checking for exceptions.
9333 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
9335 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
9337 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
9338 function declaration.
9339 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9341 * config/ia64/sfp-exceptions.c: New.
9342 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
9344 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
9346 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
9347 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
9348 * config/i386/64/sfp-machine: ... (delete here) ...
9349 * config/i386/sfp-machine.h: ... to here.
9350 (FP_EX_MASK): Remove.
9352 (FP_INIT_ROUNDMODE): Declare asm as volatile.
9354 2012-06-11 Sriraman Tallam <tmsriram@google.com>
9356 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
9357 * config/i386/libgcc-sol2.ver: Ditto.
9358 * config/i386/libgcc-glibc.ver: Ditto.
9360 2012-06-11 Roland McGrath <mcgrathr@google.com>
9362 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
9363 If __GLIBC__ is defined, refer to __pthread_key_create instead of
9366 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
9368 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
9369 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
9370 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
9371 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9372 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
9373 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
9374 * config/i386/64/sfp-machine: ... (delete here) ...
9375 * config/i386/sfp-machine.h: ... to here.
9377 (__sfp_handle_exceptions): New function declaration.
9378 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9379 * config/i386/sfp-exceptions.c: New.
9380 * config/i386/t-softfp: New.
9381 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
9382 i386/t-softfp to tmake_file.
9384 2012-06-03 David S. Miller <davem@davemloft.net>
9386 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
9389 2012-05-31 David S. Miller <davem@davemloft.net>
9391 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
9392 multiply and divide instructions on 32-bit when V9.
9393 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
9395 2012-05-29 Joseph Myers <joseph@codesourcery.com>
9397 * config/arm/ieee754-df.S: Fix typos.
9398 * config/arm/ieee754-sf.S: Fix typos.
9399 * config/c6x/libunwind.S: Fix typos.
9400 * config/epiphany/udivsi3-float.c: Fix typos.
9401 * config/microblaze/muldi3_hard.S: Fix typos.
9402 * config/picochip/adddi3.S: Fix typos.
9403 * config/picochip/ashlsi3.S: Fix typos.
9404 * config/picochip/ashrsi3.S: Fix typos.
9405 * config/picochip/clzsi2.S: Fix typos.
9406 * config/picochip/cmpsi2.S: Fix typos.
9407 * config/picochip/divmod15.S: Fix typos.
9408 * config/picochip/divmodhi4.S: Fix typos.
9409 * config/picochip/divmodsi4.S: Fix typos.
9410 * config/picochip/longjmp.S: Fix typos.
9411 * config/picochip/lshrsi3.S: Fix typos.
9412 * config/picochip/parityhi2.S: Fix typos.
9413 * config/picochip/popcounthi2.S: Fix typos.
9414 * config/picochip/setjmp.S: Fix typos.
9415 * config/picochip/subdi3.S: Fix typos.
9416 * config/picochip/ucmpsi2.S: Fix typos.
9417 * config/picochip/udivmodhi4.S: Fix typos.
9418 * config/picochip/udivmodsi4.S: Fix typos.
9419 * config/spu/divv2df3.c: Fix typos.
9420 * config/spu/mfc_multi_tag_release.c: Fix typos.
9421 * config/spu/mfc_tag_release.c: Fix typos.
9422 * configure.ac: Fix typos.
9423 * configure: Regenerate.
9425 2012-05-25 Ian Lance Taylor <iant@google.com>
9427 * config/i386/morestack.S (__morestack_non_split): Check whether
9428 caller is varargs and needs %bp to hold the stack frame on return.
9430 2012-05-25 Olivier Hainque <hainque@adacore.com>
9432 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
9433 sequence in the non pic case on VxWorks.
9435 2012-05-24 Olivier Hainque <hainque@adacore.com>
9437 * Makefile.in: Move dependency on install-unwind_h from
9438 "install-leaf" to "install".
9440 2012-05-24 Olivier Hainque <hainque@adacore.com>
9442 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
9443 Use a separate command for stamp removals.
9445 2012-05-21 Andrew Pinski <apinski@cavium.com>
9448 * configure.ac: Define the default includes to being none.
9449 * configure: Regenerate.
9451 2012-05-16 Olivier Hainque <hainque@adacore.com>
9453 * Makefile.in (install-unwind_h): Rename into ...
9454 (install-unwind_h-forbuild): New target.
9455 (all): Use it instead of the former install-unwind_h.
9456 (install-unwind_h): Reinstate, copy to user install destination
9457 for include files, not to the internal gcc object directory one.
9458 (install-leaf): Depend on it.
9460 2012-05-15 Olivier Hainque <hainque@adacore.com>
9462 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
9463 register numbers. LR_REGNO replaces R_LR.
9464 (ucontext_for): New, helper for ...
9465 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
9467 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
9469 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9471 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
9472 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
9473 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
9475 (i[34567]86-*-*, x86_64-*-*): ... here.
9477 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
9478 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
9480 * config/i386/i386-cpuinfo.c: Rename to ...
9481 * config/i386/cpuinfo.c: ... this.
9482 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
9484 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
9485 (libgcc_cv_init_priority): New test.
9486 * configure: Regenerate.
9487 * config.in: New file.
9488 * Makefile.in (clean): Rename config.h to auto-target.h.
9489 (config.h): Likewise.
9490 (stamp-h): Likewise.
9492 * config/i386/cpuinfo.c (auto-target.h): Include.
9493 (CONSTRUCTOR_PRIORITY): Define.
9494 (__cpu_indicator_init): Use it.
9496 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9498 * longlong.h: Use a URL instead of an FSF postal address.
9499 Replace spaces with tab.
9501 2012-05-08 Teresa Johnson <tejohnson@google.com>
9503 * libgcov.c (gcov_clear, __gcov_reset): New functions.
9504 (__gcov_dump): Ditto.
9505 (gcov_dump_complete): New global variable.
9506 (gcov_exit): Export hidden to enable use in L_gcov_dump.
9507 (__gcov_flush): Outline functionality now in gcov_clear.
9508 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
9510 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
9512 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
9513 (mips*-*-linux*): Include mips/t-tpbit when long double is
9516 2012-04-25 Sriraman Tallam <tmsriram@google.com>
9518 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
9519 (get_available_features): New argument. Check for AVX2.
9520 (__cpu_indicator_init): Modify call to get_available_features.
9522 2012-04-25 Alan Modra <amodra@gmail.com>
9524 * config/rs6000/crtsavevr.S: New file.
9525 * config/rs6000/crtrestvr.S: New file.
9526 * config/rs6000/t-savresfgpr: Build the above.
9527 * config/rs6000/t-netbsd: Likewise.
9529 2012-04-24 Sriraman Tallam <tmsriram@google.com>
9531 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
9533 2012-04-24 Sriraman Tallam <tmsriram@google.com>
9535 * libgcc/config/i386/i386-cpuinfo.c: New file.
9536 * libgcc/config/i386/t-cpuinfo: New file.
9537 * libgcc/config.host: Include t-cpuinfo.
9538 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
9540 2012-04-24 Chao-ying Fu <fu@mips.com>
9542 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
9544 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
9546 struct siginfo vs. siginfo_t
9548 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
9549 siginfo_t instead of struct siginfo.
9550 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
9551 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
9552 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
9553 (ia64_handle_unwabi): Likewise.
9554 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
9555 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
9556 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
9557 (sh_fallback_frame_state): Likewise.
9558 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
9559 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
9561 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
9563 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
9566 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
9568 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
9569 if it hasn't been previously saved.
9571 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
9573 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
9576 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
9579 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
9580 instead of __AVR_HAVE_8BIT_SP__.
9582 2012-03-26 Tristan Gingold <gingold@adacore.com>
9584 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
9585 (unw_table_entry): Use unw_word instead of unsigned long.
9586 (_Unwind_FindTableEntry): Likewise.
9587 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
9588 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
9589 (_Unwind_FindTableEntry): Likewise.
9590 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
9591 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
9592 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
9593 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
9594 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
9595 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
9596 (uw_init_context_1, uw_install_context): Likewise.
9597 (unw_word): Move to unwind-ia64.h
9599 2012-03-26 Tristan Gingold <gingold@adacore.com>
9601 * config/vms/vms-ucrt0.c: Update copyright years.
9603 (___gcc_main_flags): Declare.
9604 (__main): Check flags to remap argv and exit code.
9605 * config.host (*-*-*vms*): Adjust extra_parts.
9606 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
9609 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
9611 * arm/lib1funcs.asm (ctzsi2): New function.
9612 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
9613 * arm/t-linux (LIB1ASMFUNCS): Likewise.
9614 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
9615 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
9616 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
9617 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
9619 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
9621 * config.host: Add bits to support powerpc64-*-freebsd*.
9622 * config/rs6000/freebsd-unwind.h: New file.
9623 * config/rs6000/t-freebsd64: New file.
9625 2012-03-20 Richard Guenther <rguenther@suse.de>
9627 PR gcov-profile/52627
9628 * libgcov.c (init_mx): Fix mutex name.
9630 2012-03-16 Tristan Gingold <gingold@adacore.com>
9632 * config/ia64/vms-unwind.h: Remove ulong (and replace
9633 it by unw_reg where used). Define unw_reg with __int64.
9635 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9637 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
9639 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
9641 (sparc_is_sighandler): Likewise.
9643 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
9645 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
9648 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9650 * config/arm/crtn.S: Fix typo.
9652 2012-03-13 Richard Guenther <rguenther@suse.de>
9654 * libgcov.c: Remove stdio.h include and NULL un-define.
9656 2012-03-13 Richard Guenther <rguenther@suse.de>
9659 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
9661 2012-03-13 Richard Guenther <rguenther@suse.de>
9663 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
9665 2012-03-13 Richard Guenther <rguenther@suse.de>
9667 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
9668 and __gthread_mutex_init_function definitions.
9670 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9672 * config.host (mips*-*-openbsd*): Remove.
9674 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9676 * config.host: Remove alpha*-dec-osf5.1* handling.
9677 * config/alpha/gthr-posix.c: Remove.
9678 * config/alpha/libgcc-osf5.ver: Remove.
9679 * config/alpha/osf5-unwind.h: Remove.
9680 * config/alpha/t-osf-pthread: Remove.
9681 * config/alpha/t-slibgcc-osf: Remove.
9682 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
9683 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
9684 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
9685 * mkmap-flat.awk: Remove osf_export handling.
9687 2012-03-12 Richard Guenther <rguenther@suse.de>
9689 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
9690 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9691 (__gthread_mutex_init_function): New function.
9692 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9695 * libgcov.c: Include gthr.h.
9696 (__gcov_flush_mx): New global variable.
9697 (init_mx, init_mx_once): New functions.
9698 (__gcov_flush): Protect self with a mutex.
9699 (__gcov_fork): Re-initialize mutex after forking.
9700 * unwind-dw2-fde.c: Change condition under which to use
9701 __GTHREAD_MUTEX_INIT_FUNCTION.
9703 2012-03-12 Tristan Gingold <gingold@adacore.com>
9705 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
9706 * config/ia64/t-vms: Likewise.
9708 2012-03-11 Michael Hope <michael.hope@linaro.org>
9710 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
9713 2012-03-07 Walter Lee <walt@tilera.com>
9715 * config/tilepro/atomic.c: Rename "atomic_" prefix to
9717 (atomic_xor): Rename and move definition to
9718 config/tilepro/atomic.h.
9719 (atomic_nand): Ditto.
9720 * config/tilepro/atomic.h: Rename "atomic_" prefix to
9722 (arch_atomic_xor): Move from config/tilepro/atomic.c.
9723 (arch_atomic_nand): Ditto.
9725 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
9728 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
9730 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
9733 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
9736 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
9740 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
9741 if RAMPZ affects reading from RAM.
9742 (__tablejump_elpm__): Ditto.
9744 (__movmemx_hi): Ditto.
9745 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
9746 (__do_global_dtors): Ditto.
9747 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
9748 (__movmemx_hi): Ditto.
9750 2012-03-05 Richard Henderson <rth@redhat.com>
9752 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
9753 [ARM] (count_trailing_zeros): Use the builtin.
9755 2012-03-01 Kai Tietz <ktietz@redhat.com>
9757 * soft-fp: Imported from glibc upstream.
9759 2012-02-28 Kai Tietz <ktietz@redhat.com>
9761 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
9762 for mingw-targets as attribute gcc_struct.
9764 2012-02-28 Ian Lance Taylor <iant@google.com>
9766 * generic-morestack.c (__splitstack_releasecontext): Correct call
9767 to __morestack_release_segments.
9769 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9772 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
9773 for __linux__ when removing signals from __morestack_fullmask.
9775 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
9778 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
9780 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9782 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
9783 instead of HAVE_INITFINI_ARRAY.
9784 * config/ia64/crtend.S: Likewise.
9786 2012-02-20 Kai Tietz <ktietz@redhat.com>
9789 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
9791 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
9792 to w32-unwind.h header.
9794 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9796 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
9797 (mips*-*-linux*): Remove t-slibgcc-libgcc.
9798 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
9799 * config/mips/mips16.S (__mips16_rdhwr): Delete.
9801 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9803 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
9805 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9808 * config/darwin-crt-tm.c: Correct typo.
9810 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9811 Patrick Marlier <patrick.marlier@gmail.com>
9814 * config/darwin-crt-tm.c: Generate dummy functions.
9816 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9817 Patrick Marlier <patrick.marlier@gmail.com>
9820 * config/darwin-crt-tm.c (getTMCloneTable): New function.
9821 (__doTMRegistrations): Call it.
9822 (__doTMdeRegistrations): Likewise.
9824 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
9825 Anatoly Sokolov <aesok@post.ru>
9826 Eric Weddington <eric.weddington@atmel.com>
9829 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
9830 (__epilogue_restores__): Ditto.
9832 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
9836 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
9837 Solaris 11 and slightly reformat.
9838 (sparc_is_sighandler): Likewise.
9840 2012-02-14 Walter Lee <walt@tilera.com>
9842 * config.host: Handle tilegx and tilepro.
9843 * config/tilegx/sfp-machine.h: New file.
9844 * config/tilegx/sfp-machine32.h: New file.
9845 * config/tilegx/sfp-machine64.h: New file.
9846 * config/tilegx/t-crtstuff: New file.
9847 * config/tilegx/t-softfp: New file.
9848 * config/tilegx/t-tilegx: New file.
9849 * config/tilepro/atomic.c: New file.
9850 * config/tilepro/atomic.h: New file.
9851 * config/tilepro/linux-unwind.h: New file.
9852 * config/tilepro/sfp-machine.h: New file.
9853 * config/tilepro/softdivide.c: New file.
9854 * config/tilepro/softmpy.S: New file.
9855 * config/tilepro/t-crtstuff: New file.
9856 * config/tilepro/t-tilepro: New file.
9858 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
9862 * gthr-posix.h: Allow static initializer macros to be disabled.
9863 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
9865 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9867 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
9868 Add t-slibgcc-libgcc to tmake_file.
9869 * config/mips/libgcc-mips16.ver: Revert previous patch.
9870 * config/mips/mips16.S (__mips16_rdhwr): Hide.
9872 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
9873 Jayant R Sonar <jayant.sonar@kpitcummins.com>
9875 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
9876 * config/cr16/crti.S: New file.
9877 * config/cr16/crtlibid.S: New file.
9878 * config/cr16/crtn.S: New file.
9879 * config/cr16/lib1funcs.S: New file.
9880 * config/cr16/t-cr16: New file.
9881 * config/cr16/t-crtlibid: New file.
9882 * config/cr16/unwind-dw2.h: New file.
9883 * config/cr16/unwind-cr16.c: New file.
9884 * config/cr16/divmodhi3.c: New file.
9886 2012-01-25 Alan Modra <amodra@gmail.com>
9888 * config/rs6000/t-linux64: Delete. Move..
9889 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
9890 * config/rs6000/t-linux: ..and libgcc flags to here.
9892 2012-01-22 Douglas B Rupp <rupp@gnat.com>
9894 * config.host (i[34567]86-*-interix3*):
9895 Change triplet to i[34567]86-*-interix[3-9]*.
9896 * configure: Regenerate.
9898 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
9899 Richard Sandiford <rdsandiford@googlemail.com>
9901 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
9902 * config/mips/mips16.S (__mips16_rdhwr): New function.
9903 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
9905 2012-01-11 Nathan Sidwell <nathan@acm.org>
9907 * libgcov.c (__gcov_init): Ignore objects with no functions.
9909 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
9912 Extend __pgmx semantics to linearize memory.
9913 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
9914 * config/avr/lib1funcs.S (__xload_1): New function.
9915 (__movmemx_qi, __movmemx_hi): New functions.
9916 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
9919 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9921 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
9922 purported sigacthandler address isn't null before dereferencing it.
9923 (sparc_is_sighandler): Likewise.
9925 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9928 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
9929 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
9930 (sparc_is_sighandler): Likewise.
9931 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
9933 2012-01-06 Tristan Gingold <gingold@adacore.com>
9935 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
9936 compatibility thunks...
9937 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
9938 (crtbeginS.o, crtendS.o): ... and these to ...
9939 * config/ia64/t-ia64-elf: ... this new file.
9940 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
9941 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
9943 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9945 * configure: Regenerate.
9946 * config/s390/t-crtstuff: Remove -fPIC.
9948 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
9951 * enable-execute-stack-mprotect.c (getpagesize): Do not define
9954 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
9957 * config/avr/lib1funcs.S: Remove FIXME comments.
9958 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
9960 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
9962 Implement light-weight DImode support.
9963 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
9964 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
9965 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
9966 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
9968 2011-12-30 Nathan Sidwell <nathan@acm.org>
9970 * libgcov.c (gcov_crc32): Remove global var.
9971 (free_fn_data): New function.
9972 (buffer_fn_data): Pass in filename, more robust error recovery.
9973 (crc32_unsigned): New function.
9974 (gcov_exit): More robust detection of new program. More robust
9976 (__gcov_init): Do not update program's crc here.
9978 2011-12-21 Tristan Gingold <gingold@adacore.com>
9980 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
9982 2011-12-21 Ian Lance Taylor <iant@google.com>
9984 * config/i386/morestack.S: Simplify CFI opcodes throughout.
9986 2011-12-20 Ian Lance Taylor <iant@google.com>
9988 * config/i386/morestack.S (__morestack_non_split): If there is
9989 enough stack space already, don't split. Ask for more stack space
9992 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
9994 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
9996 (_Unwind_DebugHook): New function.
9997 (uw_restore_core_regs): New define.
9998 (unwind_phase2): Use uw_restore_core_regs instead of
10000 (unwind_phase2_forced): Likewise.
10001 (__gnu_Unwind_Resume): Likewise.
10003 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
10005 * config/alpha/linux-unwind.h: Update copyright years.
10006 (MD_FROB_UPDATE_CONTEXT): New define.
10007 (alpha_frob_update_context): New function.
10009 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
10011 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
10012 tmake_file rather replacing it.
10014 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
10016 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
10017 function is not used for PPC64.
10018 (save_world): Amend comments. Update the VRsave mask to reflect the
10020 (rest_world): Update comments, do not clobber r10, do not use r8.
10021 (eh_rest_world_r10): Amend comments, do not use r8.
10022 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
10023 no longer used, move restore of CR and target address to the end of
10026 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
10028 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
10029 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
10031 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
10034 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
10035 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
10037 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
10039 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
10041 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
10044 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
10045 * config/avr/lib1funcs.S (__muldi3): New function.
10047 2011-12-06 Andrew Pinski <apinski@cavium.com>
10049 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
10051 (__frame_dummy_init_array_entry): Likewise.
10053 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
10055 Forward-port from gcc-4_6-branch r181936 2011-12-02.
10059 * config/avr/lib1funcs.S (__prologue_saves__,
10060 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
10061 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
10063 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
10065 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
10067 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10070 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
10071 (_ITM_deregisterTMCloneTable): Likewise.
10072 (__register_frame_info): Fix unused warning.
10073 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
10074 pthread_default_stacksize_np): Likewise.
10075 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
10077 2011-11-29 DJ Delorie <dj@redhat.com>
10079 * config.host (rl78-*-elf): New case.
10080 * config/rl78: New directory for the Renesas RL78.
10082 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
10084 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
10087 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10090 * config/rs6000/t-savresfgpr: New file.
10091 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
10092 $(srcdir)/config/rs6000/eabi.S.
10093 * config/rs6000/t-ppccomm-ldbl: Remove.
10094 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
10096 (powerpc-*-eabispe*): Likewise.
10097 (powerpc-*-eabi*): Likewise.
10098 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10099 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
10100 to tmake_file, remove rs6000/t-ppccomm-ldbl.
10101 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
10103 (powerpc-*-eabisim*): Likewise.
10104 (powerpc-*-elf*): Likewise.
10105 (powerpc-*-eabialtivec*): Likewise.
10106 (powerpc-xilinx-eabi*): Likewise.
10107 (powerpc-*-rtems*): Likewise.
10108 (powerpcle-*-elf*): Likewise.
10109 (powerpcle-*-eabisim*): Likewise.
10110 (powerpcle-*-eabi*): Likewise.
10112 2011-11-27 Ian Lance Taylor <iant@google.com>
10114 * generic-morestack.c (__splitstack_find): Check for NULL old
10116 (__splitstack_resetcontext): New function.
10117 (__splitstack_releasecontext): New function.
10118 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10120 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
10122 * config/darwin-crt-tm.c: Correct comments, use correct licence.
10124 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
10126 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
10128 2011-11-26 Richard Henderson <rth@redhat.com>
10130 * config/m68k/linux-atomic.c: New file.
10131 * config/m68k/t-linux: New file.
10132 * config.host (m68k-uclinux, m68k-linux): Use it.
10134 2011-11-26 Richard Henderson <rth@redhat.com>
10136 * crtstuff.c (__TMC_LIST__): Mark used not unused.
10137 (__TMC_END__): Only declare if hidden is available; in the definition,
10138 if hidden is unavailable add a null record.
10139 (deregister_tm_clones, register_tm_clones): New.
10140 (__do_global_dtors_aux, frame_dummy): Use them.
10141 (__do_global_dtors, __do_global_ctors_1): Likewise.
10143 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
10145 * config/darwin-crt-tm.c: New file.
10146 * config.host (darwin): Build crttms.o crttme.o to provide
10147 startup and shutdown for tm clones.
10148 * config/t-darwin (crttms.o): New build rule.
10149 (crttme.o): Likewise.
10151 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
10153 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
10156 2011-11-21 Richard Henderson <rth@redhat.com>
10158 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
10159 (__TMC_LIST__, __TMC_END__): New.
10160 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
10161 (__do_global_dtors): Likewise.
10162 (frame_dummy): Call _ITM_registerTMCloneTable.
10163 (__do_global_ctors_1): Likewise.
10165 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10167 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
10168 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10169 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
10170 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
10171 * config/i386/t-darwin64: Remove.
10172 * config/sh/t-netbsd (LIB2ADD): Remove.
10174 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
10177 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
10178 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
10179 * config/avr/lib1funcs.S (wmov): New assembler macro.
10180 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
10181 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
10182 (__udivmod64): New function.
10183 (__negdi2): New function.
10185 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
10187 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
10188 *-*-freebsd*aout*): Remove.
10190 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
10192 * static-object.mk (c_flags-$o): Save c_flags.
10193 ($(base)$(objext)): Use it.
10195 2011-11-18 Steve Ellcey <sje@cup.hp.com>
10197 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
10199 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
10202 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
10203 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
10206 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
10208 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
10210 (aeabi_uidivmod): Likewise.
10211 (umodsi3): Likewise.
10212 (divsi3): Likewise.
10213 (aeabi_idivmod): Likewise.
10214 (modsi3): Likewise.
10216 2011-11-16 Tristan Gingold <gingold@adacore.com>
10218 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
10220 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
10223 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
10224 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
10226 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10228 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
10230 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
10231 * config/pa/t-stublib64: Delete.
10233 2011-11-12 Richard Henderson <rth@redhat.com>
10235 * config/rs6000/linux-unwind.h (frob_update_context): Properly
10236 cast the pointer argument to _Unwind_SetGRPtr.
10238 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10240 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
10242 2011-11-09 Ian Lance Taylor <iant@google.com>
10244 * generic-morestack.c: Include <string.h>.
10245 (uintptr_type): Define.
10246 (struct initial_sp): Add dont_block_signals field. Reduce size of
10248 (allocate_segment): Set prev field to NULL. Don't set
10249 __morestack_current_segment or __morestack_segments.
10250 (__generic_morestack): Update current->prev and *pp after calling
10252 (__morestack_block_signals): Don't do anything if
10253 dont_block_signals is set.
10254 (__morestack_unblock_signals): Likewise.
10255 (__generic_findstack): Check for initial_sp == NULL. Add casts to
10257 (__splitstack_block_signals): New function.
10258 (enum __splitstack_content_offsets): Define.
10259 (__splitstack_getcontext, __splitstack_setcontext): New functions.
10260 (__splitstack_makecontext): New function.
10261 (__splitstack_block_signals_context): New function.
10262 (__splitstack_find_context): New function.
10263 * config/i386/morestack.S (__morestack_get_guard): New function.
10264 (__morestack_set_guard, __morestack_make_guard): New functions.
10265 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10267 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10269 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
10270 (i[34567]86-*-mingw*): ... here.
10271 (x86_64-*-mingw*): ... here.
10273 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10275 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
10277 2011-11-07 Nathan Sidwell <nathan@acm.org>
10279 * libgcov.c (struct gcov_fn_buffer): New struct.
10280 (buffer_fn_data): New helper.
10281 (gcov_exit): Rework for new gcov data structures.
10283 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
10286 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
10288 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10290 * config.host (tmake_file): Correct comment.
10291 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
10293 (bfin*-uclinux*): Likewise.
10294 (bfin*-linux-uclibc*): Likewise.
10295 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
10297 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
10299 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10300 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
10301 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10302 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
10303 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10304 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
10305 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
10306 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10307 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
10308 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
10309 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
10310 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
10311 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
10313 * config/bfin/t-elf: Remove.
10314 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
10316 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10318 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
10319 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
10320 (lm32-*-elf*, lm32-*-rtems*): Split into ...
10321 (lm32-*-elf*): ... this.
10322 (lm32-*-rtems*): ... and this.
10324 (m32r-*-rtems*): Add to tmake_file.
10325 (moxie-*-rtems*): Likewise.
10326 (sparc-*-rtems*): Likewise.
10327 Remove t-rtems from tmake_file.
10328 (sparc64-*-rtems*): Likewise.
10329 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
10332 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10335 * config/gthr-posix.h: Move ...
10336 * gthr-posix.h: ... here.
10337 * config/gthr-lynx.h: Reflect this.
10338 * config/gthr-vxworks.h: Likewise.
10339 * config/rs6000/gthr-aix.h: Likewise.
10340 * configure.ac (target_thread_file): Likewise.
10341 * configure: Regenerate.
10343 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
10345 * config.host (arm*-*-rtemseabi*): New target.
10347 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10350 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
10353 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
10355 * config.host (epiphany-*-elf*): New configuration.
10356 * config/epiphany: New Directory.
10358 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
10360 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
10361 * config/avr/t-rtems: New.
10362 Filter out _exit from LIB1ASMFUNCS.
10364 2011-11-04 David S. Miller <davem@davemloft.net>
10366 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
10367 * configure: Rebuild.
10369 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10371 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
10374 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
10377 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
10378 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
10380 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
10383 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
10385 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10387 * config/c6x/t-elf (LIB2ADDEH): Set.
10388 * config/c6x/t-c6x-elf: Remove.
10390 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10392 * config/i386/sol2-ci.S: Rename to ...
10393 * config/i386/crti.S: ... this.
10394 * config/i386/sol2-cn.S: Rename to ...
10395 * config/i386/crtn.S: ... this.
10396 * config/sparc/sol2-ci.S: Rename to ...
10397 * config/sparc/crti.S: ... this.
10398 * config/sparc/sol2-cn.S: Rename to ...
10399 * config/sparc/crtn.S: ... this.
10400 * config/t-sol2 (CUSTOM_CRTIN): Remove.
10401 (crti.o, crtn.o): Remove.
10403 2011-11-04 Tristan Gingold <gingold@adacore.com>
10405 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
10407 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
10409 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
10411 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
10413 * config.host (crisv32-*-none, cris-*-none): Remove.
10414 (crisv32-*-elf): Append to tmake_file, don't just set it.
10415 (cris-*-elf): Add missing t-fdpbit to tmake_file.
10417 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10419 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
10420 (ecrtn$(objext)): Likewise.
10421 (ncrti$(objext)): Likewise.
10422 (ncrtn$(objext)): Likewise.
10424 2011-11-03 Andreas Schwab <schwab@redhat.com>
10426 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
10428 2011-11-02 David S. Miller <davem@davemloft.net>
10430 * configure.ac: Set host_address on sparc too.
10431 * configure: Regenerate.
10432 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
10433 based upon host_address.
10434 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
10436 2011-11-02 Jason Merrill <jason@redhat.com>
10438 * config/rs6000/t-ppccomm: Add missing \.
10440 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10442 * gthr-single.h, gthr.h: New files.
10443 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
10444 config/gthr-vxworks.h, config/i386/gthr-win32.h,
10445 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
10446 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
10447 * config/i386/gthr-win32.c: Include "gthr-win32.h".
10448 * configure.ac (thread_header): New variable.
10449 Set it depending on target_thread_file.
10450 (gthr-default.h): Link from $thread_header.
10451 * configure: Regenerate.
10452 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
10454 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10456 * configure.ac (tm_file_): New variable.
10457 Determine from tm_file.
10458 (tm_file, tm_defines): Substitute.
10459 * configure: Regenerate.
10460 * mkheader.sh: New file.
10461 * Makefile.in (clean): Remove libgcc_tm.h.
10462 ($(objects)): Depend on libgcc_tm.h.
10463 (libgcc_tm_defines, libgcc_tm_file): New variables.
10464 (libgcc_tm.h, libgcc_tm.stamp): New targets.
10465 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
10466 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
10467 ($(extra-parts)): Depend on libgcc_tm.h.
10468 * config.host (tm_defines, tm_file): New variable.
10469 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
10470 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
10471 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
10472 (avr-*-rtems*): Likewise.
10473 (avr-*-*): Likewise.
10474 (frv-*-elf): Likewise.
10475 (frv-*-*linux*): Likewise.
10476 (h8300-*-rtems*): Likewise.
10477 (h8300-*-elf*): Likewise.
10478 (i[34567]86-*-darwin*): Likewise.
10479 (x86_64-*-darwin*): Likewise.
10480 (rx-*-elf): Likewise.
10481 (tic6x-*-uclinux): Likewise.
10482 (tic6x-*-elf): Likewise.
10483 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
10484 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
10485 * config/i386/cygming-crtbegin.c: Likewise.
10486 * config/i386/cygming-crtend.c: Likewise.
10487 * config/ia64/fde-vms.c: Likewise.
10488 * config/ia64/unwind-ia64.c: Likewise.
10489 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10490 * config/rs6000/darwin-fallback.c: Likewise.
10491 * config/stormy16/lib2funcs.c: Likewise.
10492 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
10493 * crtstuff.c: Likewise.
10494 * dfp-bit.h: Likewise.
10495 * emutls.c: Likewise.
10496 * fixed-bit.c: Likewise.
10497 * fp-bit.c: Likewise.
10498 * generic-morestack-thread.c: Likewise.
10499 * generic-morestack.c: Likewise.
10500 * libgcc2.c: Likewise.
10501 * libgcov.c: Likewise.
10502 * unwind-dw2-fde-dip.c: Likewise.
10503 * unwind-dw2-fde.c: Likewise.
10504 * unwind-dw2.c: Likewise.
10505 * unwind-sjlj.c: Likewise.
10507 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10509 * configure.ac: Include ../config/picflag.m4.
10510 (GCC_PICFLAG): Call it.
10512 * configure: Regenerate.
10513 * Makefile.in (gcc_srcdir): Remove.
10514 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
10515 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
10516 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
10517 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
10518 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
10521 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
10522 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
10523 to refer to libgcc2.c.
10525 * config/darwin-64.c: New file.
10526 * config/darwin-crt3.c: Remove comment.
10527 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
10528 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
10529 config/udivmodsi4.c: New files.
10530 * config/memcmp.c, config/memcpy.c, config/memmove.c,
10531 config/memset.c: New files.
10532 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
10533 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
10534 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
10535 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
10536 * config/t-openbsd-thread: New file.
10537 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
10538 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
10539 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
10540 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
10543 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
10544 to refer to gthr-posix.c.
10545 * config/alpha/t-vms (LIB2ADD): Set.
10546 * config/alpha/vms-gcc_shell_handler.c: New file.
10547 * config/arm/bpabi.c, config/arm/fp16.c,
10548 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
10549 config/arm/unaligned-funcs.c: New files.
10550 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
10551 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10552 * config/arm/t-linux: Likewise.
10553 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
10554 * config/arm/t-netbsd: New file.
10555 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
10556 * config/arm/t-symbian (LIB2ADD_ST): Set.
10557 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
10558 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10559 * config/bfin/t-elf: New file.
10560 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
10561 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
10562 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
10563 config/c6x/ltf.c: New files.
10564 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
10565 (HOST_LIBGCC2_CFLAGS): Set.
10566 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
10567 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10568 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
10570 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
10571 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
10572 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
10573 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
10574 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
10576 * config/frv/t-frv (LIB2ADD): Set.
10577 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10578 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
10579 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
10580 config/h8300/popcounthi2.c: New files.
10581 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10582 * config/i386/gthr-win32.c: New file.
10583 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
10584 * config/i386/t-cygwin: Likewise.
10585 * config/i386/t-darwin, config/i386/t-darwin64,
10586 config/i386/t-gthr-win32, config/i386/t-interix: New files.
10587 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
10588 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10589 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10590 * config/ia64/quadlib.c: New file.
10591 * config/ia64/t-hpux (LIB2ADD): Set.
10592 * config/ia64/t-ia64: Add comment.
10593 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
10594 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10595 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
10596 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
10597 * config/m32c/t-m32c (LIB2ADD): Set.
10598 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10599 * config/m32r/t-m32r: Likewise.
10600 * config/m68k/fpgnulib.c: New file.
10601 * config/m68k/t-floatlib (LIB2ADD): Set.
10602 (xfgnulib.c): New target.
10603 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
10604 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
10605 * config/mep/t-mep (LIB2ADD): Set.
10606 * config/microblaze/divsi3.asm: Rename to divsi3.S.
10607 * config/microblaze/moddi3.asm: Rename to moddi3.S.
10608 * config/microblaze/modsi3.asm: Rename to modsi3.S.
10609 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
10610 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
10611 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
10612 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
10613 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
10614 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
10615 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
10617 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
10618 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
10619 * config/pa/fptr.c, config/pa/lib2funcs.S,
10620 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
10621 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10622 (LIB2ADD, LIB2ADD_ST): Set.
10623 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
10624 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
10626 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
10627 * config/pdp11/t-pdp11: New file.
10628 * config/picochip/libgccExtras/adddi3.S,
10629 config/picochip/libgccExtras/ashlsi3.S,
10630 config/picochip/libgccExtras/ashrsi3.S,
10631 config/picochip/libgccExtras/clzsi2.S,
10632 config/picochip/libgccExtras/cmpsi2.S,
10633 config/picochip/libgccExtras/divmod15.S,
10634 config/picochip/libgccExtras/divmodhi4.S,
10635 config/picochip/libgccExtras/divmodsi4.S,
10636 config/picochip/libgccExtras/lshrsi3.S,
10637 config/picochip/libgccExtras/parityhi2.S,
10638 config/picochip/libgccExtras/popcounthi2.S,
10639 config/picochip/libgccExtras/subdi3.S,
10640 config/picochip/libgccExtras/ucmpsi2.S,
10641 config/picochip/libgccExtras/udivmodhi4.S,
10642 config/picochip/libgccExtras/udivmodsi4.S: New files.
10643 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
10644 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
10645 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
10646 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
10647 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
10648 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
10649 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
10650 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
10652 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
10653 (HOST_LIBGCC2_CFLAGS): Set.
10654 * config/rs6000/t-darwin64: New file.
10655 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
10656 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
10657 * config/rs6000/t-ppccomm (LIB2ADD): Add
10658 $(srcdir)/config/rs6000/tramp.S.
10659 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
10660 Add $(srcdir)/config/rs6000/eabi.S.
10661 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
10662 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
10663 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
10664 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
10665 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
10666 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
10667 * config/rs6000/tramp.S: New file.
10668 * config/s390/t-tpf: Remove.
10669 * config/sh/linux-atomic.S: New file.
10670 * config/sh/t-linux (LIB2ADD): Set.
10671 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
10672 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10673 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
10675 (HOST_LIBGCC2_CFLAGS): Set.
10676 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10677 * config/spu/divmodti4.c, config/spu/divv2df3.c,
10678 config/spu/float_disf.c, config/spu/float_unsdidf.c,
10679 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
10680 config/spu/mfc_multi_tag_release.c,
10681 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
10682 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
10683 config/spu/multi3.c: New files.
10684 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
10685 (HOST_LIBGCC2_CFLAGS): Set.
10686 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
10687 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
10688 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
10689 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
10690 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
10691 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
10692 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
10693 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
10694 config/stormy16/umodsi3.c: New files.
10695 * config/xtensa/lib2funcs.S: New file.
10696 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10697 * config/xtensa/t-xtensa (LIB2ADD): Set.
10698 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
10699 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
10700 Add t-freebsd-thread to tmake_file for posix threads.
10701 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
10702 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
10703 (*-*-lynxos*): Likewise.
10704 (*-*-netbsd*): Likewise.
10705 (*-*-openbsd*): Likewise.
10706 Add t-openbsd-thread to tmake_file for posix threads.
10707 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
10708 (*-*-vxworks*): Set tmake_file.
10709 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10710 (alpha*-*-freebsd*): Likewise.
10711 (alpha*-*-netbsd*): Likewise.
10712 (alpha*-*-openbsd*): Likewise.
10713 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
10714 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10715 (alpha*-dec-*vms*): Likewise.
10716 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
10717 (bfin*-elf*): Add bfin/t-elf to tmake_file.
10718 (bfin*-uclinux*): Likewise.
10719 (bfin*-linux-uclibc*): Likewise.
10720 (crisv32-*-elf): Add cris/t-cris to tmake_file.
10721 (crisv32-*-none): Likewise.
10722 (cris-*-elf): Likewise.
10723 (cris-*-none): Likewise.
10724 (cris-*-linux*, crisv32-*-linux*): Likewise.
10725 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
10727 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
10729 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
10730 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
10731 (x86_64-*-elf*): Likewise.
10732 (i[34567]86-*-nto-qnx*): Likewise.
10733 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
10735 (x86_64-*-mingw*): Likewise.
10736 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
10737 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
10738 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10739 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10740 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
10742 (mipsisa64sr71k-*-elf*): Likewise.
10743 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10744 (mips-*-elf*, mipsel-*-elf*): Likewise.
10745 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10746 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10747 (mips*-*-rtems*): Likewise.
10748 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
10750 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
10751 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
10752 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
10753 (spu-*-elf*): Likewise.
10754 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
10756 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10758 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
10759 $(srcdir) to refer to $(LIB1ASMSRC).
10761 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
10762 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
10763 config/arm/lib1funcs.S: New files.
10764 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
10765 * config/arm/t-arm: New file.
10766 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
10767 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
10768 config/arm/t-strongarm-elf: New files.
10769 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
10770 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
10771 * config/avr/lib1funcs.S: New file.
10772 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10773 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
10774 * config/c6x/lib1funcs.S: New file.
10775 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10776 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
10777 * config/frv/lib1funcs.S: New file.
10778 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10779 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
10780 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
10781 * config/ia64/__divxf3.asm: Rename to ...
10782 * config/ia64/__divxf3.S: ... this.
10783 Adapt lib1funcs.asm filename.
10784 * config/ia64/_fixtfdi.asm: Rename to ...
10785 * config/ia64/_fixtfdi.S: ... this.
10786 Adapt lib1funcs.asm filename.
10787 * config/ia64/_fixunstfdi.asm: Rename to ...
10788 * config/ia64/_fixunstfdi.S: ... this.
10789 Adapt lib1funcs.asm filename.
10790 * config/ia64/_floatditf.asm: Rename to ...
10791 * config/ia64/_floatditf.S: ... this.
10792 Adapt lib1funcs.asm filename.
10793 * config/ia64/lib1funcs.S: New file.
10794 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
10795 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10796 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
10797 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
10798 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
10799 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
10800 * config/mep/lib1funcs.S: New file.
10801 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10802 * config/mips/mips16.S: New file.
10803 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10804 * config/pa/milli64.S: New file.
10805 * config/pa/t-linux, config/pa/t-linux64: New files.
10806 * config/picochip/lib1funcs.S: New file.
10807 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10808 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
10809 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
10810 * config/sh/t-netbsd: New file.
10811 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
10812 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
10813 * config/sh/t-sh64: New file.
10814 * config/sparc/lb1spc.S: New file.
10815 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
10817 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
10818 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
10819 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
10820 config/xtensa/lib1funcs.S: New files.
10821 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10822 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
10824 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
10825 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
10826 (arm*-*-linux*): Likewise.
10827 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
10828 arm*-*-linux-*eabi, add arm/t-linux otherwise.
10829 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
10830 (arm*-*-ecos-elf): Likewise.
10831 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10832 (arm*-*-rtems*): Likewise.
10833 (arm*-*-elf): Likewise.
10834 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
10835 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
10836 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
10837 (bfin*-uclinux*): Likewise.
10838 (bfin*-linux-uclibc*): Likewise.
10839 (bfin*-rtems*): Likewise.
10840 (bfin*-*): Likewise.
10841 (fido-*-elf): Merge into m68k-*-elf*.
10842 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
10843 (frv-*-*linux*): Add frv/t-frv to tmake_file.
10844 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
10845 (h8300-*-elf*): Likewise.
10846 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
10847 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
10848 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
10849 (i[34567]86-*-mingw*): Likewise.
10850 (x86_64-*-mingw*): Likewise.
10851 (i[34567]86-*-interix3*): Likewise.
10852 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
10853 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
10854 (m68k-*-elf*): Also handle fido-*-elf.
10855 Add m68k/t-floatlib to tmake_file.
10856 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
10857 (m68k-*-linux*): Likewise.
10858 (m68k-*-rtems*): Likewise.
10859 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
10860 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
10862 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
10863 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
10864 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
10865 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
10866 sh/t-netbsd to tmake_file.
10867 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
10868 (sh-*-rtems*): Add sh/t-sh to tmake_file.
10869 (sh-wrs-vxworks): Likewise.
10870 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
10872 (v850*-*-*): Add v850/t-v850 to tmake_file.
10873 (vax-*-linux*): Add vax/t-linux to tmake_file.
10874 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
10876 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10878 * crtstuff.c: New file.
10879 * Makefile.in (CRTSTUFF_CFLAGS): Define.
10880 (CRTSTUFF_T_CFLAGS): Define.
10881 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
10882 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
10883 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
10886 (crtbeginT.o): Use $(objext).
10887 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
10888 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
10889 (gcc-extra-parts): Remove.
10890 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
10892 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10893 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
10894 Add t-crtstuff-pic to tmake_file.
10895 (*-*-lynxos*): New case.
10896 Set tmake_file, extra_parts.
10897 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
10898 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
10899 *-*-netbsdelf[2-9]*.
10900 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
10901 (*-*-rtems*): Set extra_parts.
10902 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
10903 (*-*-uclinux*): New case.
10905 (*-*-vms*): New case.
10906 Set tmake_file, extra_parts.
10907 (*-*-elf): Set extra_parts.
10908 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
10909 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
10912 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
10914 (arm*-*-freebsd*): Add t-crtin to tmake_file.
10915 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
10916 (arm-wrs-vxworks): Append to tmake_file.
10918 (arm*-*-uclinux*): Set extra_parts.
10919 (arm*-*-ecos-elf): Likewise.
10920 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
10922 (arm*-*-rtems*): Set extra_parts.
10923 (arm*-*-elf): Likewise.
10924 (avr-*-rtems*): Clear extra_parts.
10925 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
10927 (bfin*-uclinux*): Likewise.
10928 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
10929 (bfin*-rtems*): Append to tmake_file.
10931 (bfin*-*): Likewise.
10932 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
10933 (crisv32-*-elf): ... this.
10934 (crisv32-*-none): ... this.
10935 (cris-*-elf, cris-*-none): New cases.
10936 Add cris/t-elfmulti to tmake_file.
10937 (fr30-*-elf): Append to tmake_file.
10939 (frv-*-elf): Append to tmake_file, add frv/t-frv.
10941 (h8300-*-rtems*): Append to tmake_file.
10943 (h8300-*-elf*): Likewise.
10944 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
10946 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
10948 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
10949 (x86_64-*-elf*): Likewise.
10950 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
10951 (x86_64-*-freebsd*): Likewise.
10952 (x86_64-*-netbsd*): Likewise.
10953 (i[34567]86-*-linux*): Likewise.
10954 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10955 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10956 (x86_64-*-linux*): Likewise.
10957 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10958 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
10961 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
10962 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
10963 Append to extra_parts, remove crtbegin.o, crtend.o.
10964 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
10965 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
10966 crtend.o, crtbeginS.o, crtendS.o.
10967 (ia64*-*-linux*): Comment extra_parts.
10968 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
10970 (iq2000*-*-elf*): Clear extra_parts.
10971 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
10972 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
10973 (m32r-*-elf*, m32r-*-rtems*): Split off ...
10974 (m32r-*-rtems*): ... this.
10975 Add m32r/t-m32r to tmake_file.
10976 (m68k-*-elf*): Add t-crtin to tmake_file.
10977 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
10978 (mcore-*-elf): Likewise.
10979 (microblaze*-*-*): Set extra_parts.
10980 (mips*-sde-elf*): New case.
10981 Set tmake_file, extra_parts.
10982 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10983 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10984 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
10987 (mipsisa64sr71k-*-elf*): Likewise.
10988 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10989 (mips-*-elf*, mipsel-*-elf*): Likewise.
10990 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10991 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
10992 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10993 (mips*-*-rtems*): Likewise.
10994 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
10995 (moxie-*-*): Split into ...
10996 (moxie-*-elf, moxie-*-uclinux*): ... this.
10997 Add to extra_parts, remove crtbegin.o, crtend.o.
10998 (moxie-*-rtems*): New case.
11001 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
11003 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
11004 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
11007 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
11008 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
11010 (powerpc-*-eabisim*): Likewise.
11011 (powerpc-*-elf*): Likewise.
11012 (powerpc-*-eabialtivec*): Likewise.
11013 (powerpc-xilinx-eabi*): Likewise.
11014 (powerpc-*-eabi*): Likewise.
11015 (powerpc-*-rtems*): Likewise.
11016 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
11019 (powerpc-*-lynxos*): Add to tmake_file.
11020 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
11021 rs6000/t-crtstuff, t-crtstuff-pic.
11023 (powerpcle-*-eabisim*): Likewise.
11024 (powerpcle-*-eabi*): Likewise.
11025 (rx-*-elf): Remove extra_parts.
11026 (s390x-ibm-tpf*): Set extra_parts.
11027 (score-*-elf): Set extra_parts.
11028 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11029 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11030 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11031 (sh64l*-*-netbsd*): Split into ...
11032 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
11033 Add t-crtstuff-pic to tmake_file.
11035 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
11037 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
11038 (sparc-*-elf*): Remove t-crtin from tmake_file.
11039 Add to extra_parts, remove crtbegin.o, crtend.o.
11040 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
11041 (sparc64-*-linux*): Likewise.
11042 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
11043 Add to extra_parts, remove crtbegin.o, crtend.o.
11044 (sparc64-*-elf*): Remove t-crtin from tmake_file.
11045 Add to extra_parts, remove crtbegin.o, crtend.o.
11046 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
11047 Add to extra_parts, remove crtbegin.o, crtend.o.
11048 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
11049 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
11050 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
11052 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
11054 (tic6x-*-*): Change to ...
11055 (tic6x-*-elf): ... this.
11057 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
11059 (am33_2.0-*-linux*): Add comment.
11060 (mep*-*-*): Add mep/t-mep to tmake_file.
11062 * config/alpha/t-vms: New file.
11063 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
11064 * config/arm/crti.S, config/arm/crtn.S: New files.
11065 * config/bfin/crti.S, config/bfin/crtn.S: New files.
11066 * config/bfin/crtlibid.S: New file.
11067 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
11068 * config/c6x/crti.S, config/c6x/crtn.S: New files.
11069 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
11070 (crti.o, crtin.o): New rules.
11071 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11072 * config/c6x/t-uclinux: New file.
11073 * config/cris/t-elfmulti: New file.
11074 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
11075 * config/fr30/crti.S, config/fr30/crtn.S: New files.
11076 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
11077 * config/frv/t-frv: New file.
11078 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
11079 * config/h8300/crti.S, config/h8300/crtn.S: New files.
11080 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
11082 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
11083 refer to cygming-crtbegin.c, cygming-crtend.c.
11085 * config/i386/t-nto: New file.
11086 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
11087 * config/ia64/crti.S, config/ia64/crtn.S: New files.
11088 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
11089 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
11092 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11093 (crtinitS.o): New rule.
11094 * config/ia64/vms-crtinit.S: New file.
11095 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
11096 * config/m32r/initfini.c: New file.
11097 * config/m32r/t-linux, config/m32r/t-m32r: New files.
11098 * config/m68k/crti.S, config/m68k/crtn.S: New files.
11099 * config/mcore/crti.S, config/mcore/crtn.S: New files.
11100 * config/mep/t-mep: New file.
11101 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
11102 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
11103 * config/mips/crti.S, config/mips/crtn.S: New files.
11104 * config/mips/t-crtstuff: New file.
11105 * config/mmix/crti.S, config/mmix/crtn.S: New files.
11106 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
11107 (CUSTOM_CRTIN): Set.
11108 ($(T)crti.o, $(T)crtn.o): Remove $(T),
11110 Use $(srcdir) to refer to crti.S, crtn.S.
11111 Use .S extension, $<.
11112 * config/moxie/crti.asm: Rename to ...
11113 * config/moxie/crti.S: ... this.
11114 * config/moxie/crtn.asm: Rename to ...
11115 * config/moxie/crtn.S: ... this.
11116 * config/moxie/t-moxie: Remove.
11117 * config/pa/stublib.c: New file.
11118 * config/pa/t-stublib, config/pa/t-stublib64: New files.
11119 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
11120 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
11121 * config/rs6000/t-crtstuff: New file.
11122 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
11123 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
11124 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
11125 Make output file explicit.
11126 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
11127 Make output file explicit.
11128 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
11129 Make output file explicit.
11130 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
11131 Make output file explicit.
11132 * config/score/crti.S, config/score/crtn.S: New files.
11133 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
11134 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
11136 * config/sh/t-sh, config/sh/t-superh: New files.
11137 * config/sparc/t-linux64: New file.
11138 * config/spu/cache.S, config/spu/cachemgr.c: New files.
11139 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
11140 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
11141 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
11142 * config/t-crtin: Remove.
11143 * config/t-crtstuff-pic: New file.
11144 * config/t-sol2 (CUSTOM_CRTIN): Set.
11145 (crti.o, crtn.o): New rules.
11146 * config/vms/t-vms: New file.
11147 * config/vms/vms-ucrt0.c: New file.
11148 * config/xtensa/t-elf: New file.
11150 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11152 * Makefile.in (SHLIB_NM_FLAGS): Set.
11153 * mkmap-flat.awk, mkmap-symver.awk: New files.
11154 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
11156 * configure: Regenerate.
11157 * config/libgcc-glibc.ver: New file.
11158 * config/libgcc-libsystem.ver: New file.
11159 * config/t-libunwind (SHLIB_LC): Set.
11160 * config/t-linux: New file.
11161 * config/t-slibgcc (INSTALL_SHLIB): New.
11162 (SHLIB_INSTALL): Use it.
11163 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
11164 to mkmap-symver.awk.
11165 (SHLIB_MAPFILES): Don't append, adapt pathname.
11166 (SHLIB_VERPFX): Set.
11167 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
11168 to mkmap-symver.awk.
11169 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
11170 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
11171 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
11172 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
11174 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
11175 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
11176 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
11177 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
11178 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
11179 * config/i386/libgcc-darwin.10.4.ver,
11180 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
11182 * config/i386/t-darwin: Remove.
11183 * config/i386/t-darwin64: Likewise.
11184 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
11185 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
11186 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
11187 * config/i386/t-linux: New file.
11188 * config/i386/t-mingw32: New file.
11189 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
11190 * config/ia64/t-glibc: Rename to ...
11191 * config/ia64/t-linux: ... this.
11192 (SHLIB_MAPFILES): Set.
11193 * config/ia64/t-glibc-libunwind: Rename to ...
11194 * config/ia64/t-linux-libunwind: ... this.
11195 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
11196 * config/ia64/t-slibgcc-hpux: New file.
11197 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
11198 * config/m68k/t-slibgcc-elf-ver: New file.
11199 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
11200 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
11202 * config/pa/t-slibgcc-hpux: New file.
11203 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
11205 * config/rs6000/libgcc-darwin.10.4.ver,
11206 config/rs6000/libgcc-darwin.10.5.ver: New files.
11207 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
11208 config/rs6000/libgcc-glibc.ver.
11209 * config/rs6000/libgcc-ppc64.ver: Rename to
11210 config/rs6000/libgcc-ibm-ldouble.ver.
11211 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
11212 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
11213 * config/rs6000/t-ldbl128: Rename to ...
11214 * config/rs6000/t-linux: ... this.
11215 (SHLIB_MAPFILES): Adapt filename.
11216 * config/rs6000/t-slibgcc-aix: New file.
11217 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
11218 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
11219 libgcc-excl.ver, libgcc-glibc.ver.
11220 (SHLIB_LINK, SHLIB_INSTALL): Remove.
11221 * config/sparc/libgcc-glibc.ver: New file.
11222 * config/sparc/t-linux: New file.
11223 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
11224 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
11225 t-slibgcc-elf-ver to tmake_file.
11226 Add t-slibgcc-nolc-override to tmake_file for posix threads on
11228 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11229 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
11230 t-slibgcc-elf-ver, t-linux to tmake_file.
11231 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
11233 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
11234 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
11235 (alpha*-dec-*vms*): Likewise.
11236 (arm*-*-freebsd*): Append to tmake_file.
11237 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
11238 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
11239 arm*-*-linux-*eabi.
11240 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
11241 tmake_file for arm*-*-symbianelf*.
11242 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
11243 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
11245 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
11246 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
11247 pa/t-slibgcc-dwarf-ver to tmake_file.
11248 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
11249 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
11250 (hppa*64*-*-hpux11*): Likewise.
11251 (hppa[12]*-*-hpux11*): Likewise.
11252 (x86_64-*-darwin*): Don't override tmake_file, but only keep
11253 i386/t-crtpc, i386/t-crtfm.
11254 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
11255 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11257 Add i386/t-cygwin to tmake_file.
11258 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
11259 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
11260 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11262 Add i386/t-mingw32 to tmake_file.
11263 (x86_64-*-mingw*): Likewise.
11264 (ia64*-*-freebsd*): Append to tmake_file.
11265 (ia64*-*-linux*): Append to tmake_file.
11266 Replace ia64/t-glibc by ia64/t-linux.
11267 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
11269 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
11270 t-slibgcc-hpux to tmake_file.
11271 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
11272 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
11273 (m32rle-*-linux*): Likewise.
11274 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
11276 (microblaze*-linux*): New case.
11277 Append to tmake_file, add t-slibgcc-nolc-override.
11278 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
11279 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11280 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
11281 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11282 rs6000/t-slibgcc-aix to tmake_file.
11283 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11284 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11285 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11286 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11287 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11288 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
11290 (sparc-*-linux*): Append to tmake_file for *-leon*.
11291 Add sparc/t-linux to tmake_file for non-Leon targets.
11292 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
11293 (tic6x-*-uclinux): New case.
11294 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
11295 (tic6x-*-*): Add c6x/t-elf to tmake_file.
11296 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
11297 (am33_2.0-*-linux*): Append to tmake_file.
11298 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
11299 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
11300 x86_64-*-kfreebsd*-gnu.
11301 Add i386/t-linux to tmake_file.
11303 2011-10-28 Ian Lance Taylor <iant@google.com>
11305 * config/i386/morestack.S: Correct CFI information to do proper
11306 returns throughout function. In 32-bit mode, save %ebx so that it
11307 is restored on unwind.
11309 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
11311 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
11312 case where B3 isn't the return register.
11314 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
11315 logic for doubleword pops.
11317 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
11319 * config/rs6000/t-freebsd: Add wildcard.
11321 2011-10-21 Paul Brook <paul@codesourcery.com>
11323 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
11325 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
11326 Eric Botcazou <ebotcazou@adacore.com>
11329 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
11330 fs->signal_frame to 1.
11332 2011-10-07 Ian Lance Taylor <iant@google.com>
11334 * generic-morestack-thread.c: #include <errno.h>.
11336 2011-10-07 Ian Lance Taylor <iant@google.com>
11339 * generic-morestack.c (__generic_morestack): Make sure the segment
11340 is large enough for both the stack frame and the copied
11343 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11346 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
11349 2011-09-28 Nick Clifton <nickc@redhat.com>
11351 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
11352 64-bit doubles are not enabled.
11353 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
11354 and floatunsisf functions.
11356 2011-09-13 Paul Brook <paul@codesourcery.com>
11358 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
11359 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
11360 * unwind-arm-common.inc: New file.
11361 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
11362 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
11363 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
11364 * config/c6x/libunwind.S: New file.
11365 * config/c6x/pr-support.c: New file.
11366 * config/c6x/unwind-c6x.c: New file.
11367 * config/c6x/unwind-c6x.h: New file.
11368 * config/c6x/t-c6x-elf: New file.
11370 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
11372 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
11373 (ASM_DIVZERO): Ditto.
11374 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
11376 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
11378 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
11380 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
11383 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
11384 instead of an assembly one.
11386 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
11389 * Makefile.in (install-unwind_h): Create
11390 $(gcc_objdir)/include/unwind.h atomically.
11392 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11394 * Makefile.in (install-unwind_h): Remove destination file first.
11396 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11398 * sync.c: New file.
11399 * config/mips/t-mips16: New file.
11400 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
11401 (mips*-*-linux*): Likewise.
11402 (mips*-sde-elf*): Likewise.
11403 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
11404 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
11405 Add mips/t-mips16 to tmake_file.
11406 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
11407 (mips-*-elf*): Likewise.
11408 (mips64-*-elf*): Likewise.
11409 (mips64orion-*-elf*): Likewise.
11410 (mips*-*-rtems*): Likewise.
11411 (mipstx39-*-elf*): Likewise.
11412 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
11413 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
11414 LIBGCC_SYNC_CFLAGS.
11415 Use $(srcdir) to refer to sync.c.
11417 ($(libgcc-sync-funcs-o)): Likewise.
11418 ($(libgcc-sync-size-funcs-s-o)): Likewise.
11419 ($(libgcc-sync-funcs-s-o)): Likewise.
11421 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
11423 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
11426 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
11429 * config/i386/value-unwind.h: New.
11431 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
11433 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
11434 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
11435 Add to tmake_file rather than overriding it.
11437 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11439 * config/t-softfp: Remove.
11440 * soft-fp: Moved from ../gcc/config.
11441 * soft-fp/README: Remove t-softfp reference.
11442 * soft-fp/t-softfp: Move to config/t-softfp.
11443 (softfp_machine_header): Remove.
11444 (softfp_file_list): Remove config subdir.
11445 (soft-fp-objects): New variable.
11446 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
11447 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
11448 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
11449 * config/t-softfp-excl: New file.
11450 * config/t-softfp-sfdf: New file.
11451 * config/t-softfp-tf: New file.
11452 * config/no-sfp-machine.h: New file.
11453 * config/arm/sfp-machine.h: New file.
11454 * config/arm/t-softfp: New file.
11455 * config/c6x/sfp-machine.h: New file.
11456 * config/i386/32/t-fprules-softfp: Rename to ...
11457 * config/i386/32/t-softfp: ... this.
11458 (tifunctions, LIB2ADD): Remove.
11459 (softfp_int_modes): Override.
11460 * config/i386/64/t-softfp-compat (tf-functions): Remove config
11462 * config/i386/64/eqtf2.c: Likewise.
11463 * config/i386/64/getf2.c: Likewise.
11464 * config/i386/64/letf2.c: Likewise.
11465 * config/ia64/sft-machine.h: New file.
11466 * config/ia64/t-fprules-softfp: Rename to ...
11467 * config/ia64/t-softfp: ... this.
11468 * config/lm32/sfp-machine.h: New file.
11469 * config/moxie/t-moxie-softfp: Remove.
11470 * config/rs6000/ibm-ldouble-format: New file.
11471 * config/rs6000/ibm-ldouble.c: New file.
11472 * config/rs6000/libgcc-ppc-glibc.ver: New file
11473 * config/rs6000/libgcc-ppc64.ver: New file
11474 * config/rs6000/sfp-machine.h: New file.
11475 * config/rs6000/t-freebsd: New file.
11476 * config/rs6000/t-ibm-ldouble: New file.
11477 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
11478 libgcc-ppc-glibc.ver.
11479 * config/rs6000/t-linux64: New file.
11480 * config/rs6000/t-ppccomm (LIB2ADD): Add
11481 $(srcdir)/config/rs6000/ibm-ldouble.c.
11482 * config/rs6000/t-ppccomm-ldbl: New file.
11483 * config/score/sfp-machine.h: New file.
11484 * config.host (sfp_machine_header): Explain.
11485 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
11486 t-softfp to tmake_file.
11487 (arm*-*-uclinux*): Likewise.
11488 (arm*-*-ecos-elf): Likewise.
11489 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11490 (arm*-*-rtems*): Likewise.
11491 (arm*-*-elf): Likewise.
11492 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
11494 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
11495 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
11496 (lm32-*-uclinux*): Likewise.
11497 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
11498 t-softfp-excl, t-softfp.
11499 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
11500 (powerpc64-*-darwin*): Likewise.
11501 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
11503 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
11505 (powerpc-*-eabisim*): Likewise.
11506 (powerpc-*-elf*): Likewise.
11507 (powerpc-*-eabialtivec*): Likewise.
11508 (powerpc-xilinx-eabi*): Likewise.
11509 (powerpc-*-rtems*): Likewise.
11510 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
11511 t-softfp-excl, t-softfp to tmake_file.
11512 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
11513 rs6000/t-ppccomm-ldbl to tmake_file.
11514 (powerpcle-*-elf*): Likewise.
11515 (powerpcle-*-eabisim*): Likewise.
11516 (powerpcle-*-eabi*): Likewise.
11517 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11518 rs6000/t-ibm-ldouble to tmake_file.
11519 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11520 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11521 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
11522 (tic6x-*-*): Likewise.
11523 (i[34567]86-*-darwin*, x86_64-*-darwin*,
11524 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
11525 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
11526 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
11527 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
11528 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
11529 t-softfp to tmake_file.
11530 * configure.ac (sfp_machine_header): Provide default if unset.
11532 Link sfp-machine.h to config/$sfp_machine_header.
11533 * configure: Regenerate.
11535 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11537 * Makefile.in (double_type_size, long_double_type_size): Set.
11538 Remove $(fpbit-in-libgcc) support.
11539 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
11540 (fpbit-src): New variable.
11541 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
11542 Compile with -DFLOAT $(FPBIT_CFLAGS).
11544 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
11545 Compile with $(FPBIT_CFLAGS).
11547 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
11548 Compile with -DFLOAT $(TPBIT_CFLAGS).
11550 * configure.ac (double_type_size, long_double_type_size):
11551 Determine and substitute.
11552 * configure: Regenerate.
11553 * fp-bit.c, fp-bit.h: New files.
11554 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
11555 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
11556 * config/mips/t-mips: New file.
11557 * config/mips/t-sdemtk: New file.
11558 * config/rs6000/ppc64-fp.c: New file.
11559 * config/rs6000/t-darwin (LIB2ADD): Add
11560 $(srcdir)/config/rs6000/ppc64-fp.c.
11561 * config/rs6000/t-ppc64-fp: New file.
11562 * config/rx/rx-lib.h: New file.
11563 * config/rx/t-rx (FPBIT): Set to true.
11564 ($(gcc_objdir)/fp-bit.c): Remove.
11565 (DPBIT): Set to true only with -m64bit-doubles.
11566 ($(gcc_objdir)/dp-bit.c): Remove.
11567 * config/sparc/t-softfp: Remove.
11568 * config/spu/t-elf: New file.
11569 * config/t-fdpbit, config/t-fpbit: New files.
11570 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
11571 (mips*-*-*): Likewise.
11572 (arm-wrs-vxworks): Likewise.
11573 (arm*-*-freebsd*): Likewise.
11574 (avr-*-rtems*): Add t-fpbit to tmake_file.
11575 (avr-*-*): Likewise.
11576 (bfin*-elf*): Add t-fdpbit to tmake_file.
11577 (bfin*-uclinux*): Likewise.
11578 (bfin*-linux-uclibc*): Likewise.
11579 (bfin*-rtems*): New case.
11580 Add t-fdpbit to tmake_file.
11581 (bfin*-*): Add t-fdpbit to tmake_file.
11582 (crisv32-*-elf): Likewise.
11583 (cris-*-linux*): Likewise.
11584 (fr30-*-elf): Likewise.
11585 (frv-*-elf, frv-*-*linux*): Likewise.
11586 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
11587 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
11588 (m32r-*-elf*): Likewise.
11589 (m32rle-*-elf*): Likewise.
11590 (m32r-*-linux*): Likewise.
11591 (m32rle-*-linux*): Likewise.
11592 (mcore-*-elf): Add t-fdpbit to tmake_file.
11593 (microblaze*-*-*): Likewise.
11594 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
11595 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
11596 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
11598 Add mips/t-tpbit to tmake-file.
11599 (mips*-*-linux*): Fix typo.
11600 (mips*-sde-elf*): New case
11601 Add mips/t-sdemtk unless using newlib.
11602 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
11603 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
11604 (mn10300-*-*): Likewise.
11605 (pdp11-*-*): Likewise.
11606 (picochip-*-*): Add t-fpbit to tmake_file.
11607 (powerpc-*-eabisimaltivec*): Likewise.
11608 (powerpc-*-eabisim*): Likewise.
11609 (powerpc-*-elf*): Likewise.
11610 (powerpc-*-eabialtivec*): Likewise.
11611 (powerpc-xilinx-eabi*): New case.
11612 Add t-fdpbit to tmake_file.
11613 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
11614 (powerpc-*-rtems*): Likewise.
11615 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
11617 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
11619 (powerpc-*-lynxos*): Likewise.
11620 (powerpcle-*-elf*): Likewise.
11621 (powerpcle-*-eabisim*): Likewise.
11622 (powerpcle-*-eabi*): Likewise.
11623 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11624 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
11625 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11626 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11627 (rx-*-elf): Add t-fdpbit to tmake_file.
11628 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11629 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11630 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11631 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
11633 (sh-*-rtems*): Add t-fdpbit to tmake_file.
11634 (sh-wrs-vxworks): Likewise.
11635 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
11636 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
11637 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
11638 (sparc64-*-rtems*): ... new case.
11639 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
11640 (spu-*-elf*): Likewise.
11641 Add spu/t-elf to tmake_file.
11642 (v850*-*-*): Add t-fdpbit to tmake_file.
11643 (xstormy16-*-elf): Likewise.
11644 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
11645 (mep*-*-*): Likewise.
11647 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11649 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
11651 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
11652 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
11653 (install-unwind_h): New target.
11654 (all): Depend on it.
11655 * config.host (unwind_header): New variable.
11656 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
11657 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11658 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
11659 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
11660 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
11662 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
11664 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
11666 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
11668 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
11669 (ia64*-*-freebsd*): Likewise.
11670 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
11672 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
11673 $with_system_libunwind.
11674 (ia64*-*-hpux*): Set tmake_file.
11675 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
11676 (picochip-*-*): Set tmake_file.
11677 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
11679 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11680 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11681 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
11682 (xtensa*-*-elf*): Set tmake_file.
11683 (xtensa*-*-linux*): Likewise.
11684 * configure.ac: Include ../config/unwind_ipinfo.m4.
11685 Call GCC_CHECK_UNWIND_GETIPINFO.
11686 Link unwind.h to $unwind_header.
11687 * configure: Regenerate.
11688 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
11689 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
11690 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
11691 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
11692 * config/unwind-dw2-fde-darwin.c: New file.
11693 * config/arm/libunwind.S, config/arm/pr-support.c,
11694 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
11695 config/arm/unwind-arm.h,: New files.
11696 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
11697 config/ia64/t-eh-ia64, config/ia64/t-glibc,
11698 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
11699 config/ia64/t-vms, config/ia64/unwind-ia64.c,
11700 config/ia64/unwind-ia64.h: New files.
11701 * config/picochip/t-picochip: New file.
11702 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
11704 * config/rs6000/t-darwin (LIB2ADDEH): Set.
11705 * config/s390/t-tpf (LIB2ADDEH): Remove.
11706 * config/t-darwin (LIB2ADDEH): Set.
11707 * config/t-eh-dw2-dip: New file.
11708 * config/t-libunwind, config/t-libunwind-elf: New files.
11709 * config/t-sol2 (LIB2ADDEH): Remove.
11710 * config/xtensa/t-xtensa: New file.
11712 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
11714 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
11715 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
11716 long long to check rt_sigreturn syscall.
11718 2011-08-02 Alan Modra <amodra@gmail.com>
11720 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11721 Restore for indirect call bcrtl from correct stack slot, and only
11722 if cfa+40 isn't valid.
11724 2011-08-01 Julian Brown <julian@codesourcery.com>
11726 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
11727 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
11728 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
11730 2011-08-01 Julian Brown <julian@codesourcery.com>
11732 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
11733 (libgcc-std.ver.in): Use above.
11734 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
11735 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
11737 * config/t-fixedpoint-gnu-prefix: New file.
11738 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
11739 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
11740 instead of __PFX__.
11742 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
11744 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
11745 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
11746 for x86-64. Properly check __x86_64__ and __LP64__.
11748 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
11750 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
11752 (_FP_WS_TYPE): Likewise.
11753 (_FP_I_TYPE): Likewise.
11755 2011-07-28 Alan Modra <amodra@gmail.com>
11757 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11758 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
11759 in a plt call stub. Do restore r2 if stopped on bctrl.
11761 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11763 * config.host (i[3456x]86-*-netware*): Remove.
11764 * config/i386/netware-crt0.c, config/i386/t-nwld,
11765 config/i386/t-slibgcc-nwld: Remove.
11767 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
11769 * config.host: Handle tic6x-*-*.
11770 * config/c6x/c6x-abi.h: New file.
11772 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11774 * config/i386/crtprec.c: New file.
11775 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
11776 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
11777 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
11778 (x86_64-*-darwin*): Likewise.
11779 (i[34567]86-*-solaris2*: Likewise.
11781 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11783 * config/alpha/crtfastmath.c: New file.
11784 * config/i386/crtfastmath.c: New file.
11785 * config/ia64/crtfastmath.c: New file.
11786 * config/mips/crtfastmath.c: New file.
11787 * config/sparc/crtfastmath.c: New file.
11789 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
11791 Add -frandom-seed=gcc-crtfastmath.
11792 * config/alpha/t-crtfm: Remove.
11793 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
11794 * config/ia64/t-ia64 (crtfastmath.o): Remove.
11796 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
11797 (alpha*-dec-osf5.1*): Likewise.
11798 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
11799 Add crtfastmath.o to extra_parts.
11800 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
11801 Add crtfastmath.o to extra_parts.
11802 (x86_64-*-darwin*): Likewise.
11803 (x86_64-*-mingw*): Likewise.
11804 (ia64*-*-elf*): Add t-crtfm to tmake_file.
11805 (ia64*-*-freebsd*): Likewise.
11806 (ia64*-*-linux*): Likewise.
11807 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
11808 Add crtfastmath.o to extra_parts.
11810 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11812 * config/darwin-crt3.o: New file.
11813 * config/rs6000/darwin-crt2.c: New file.
11814 * config/t-darwin: New file.
11815 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
11816 (crt2.o): New rule.
11817 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
11818 (powerpc-*-darwin*): Add crt2.o to extra_parts.
11819 (powerpc64-*-darwin*): Likewise.
11821 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11823 * config/i386/netware-crt0.c: New file.
11824 * config/i386/t-nwld: Rename to ...
11825 * config/i386/t-slibgcc-nwld: ... this.
11826 * config/i386/t-nwld: New file.
11827 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
11829 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
11832 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11834 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
11836 * configure: Regenerate.
11838 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11840 * dfp-bit.c, dfp-bit.h: New files.
11841 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
11843 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
11844 ($(d64pbit-o)): Likewise.
11845 ($(d128pbit-o)): Likewise.
11846 * config/t-dfprules: New file.
11847 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
11848 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
11849 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11850 (x86_64-*-linux*): Likewise.
11851 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11852 (i[34567]86-*-cygwin*): Likewise.
11853 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
11854 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11856 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11858 * Makfile.in (LIBGCOV): New variable.
11859 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
11860 * libgcov.c: New file.
11862 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11864 * fixed-bit.c, fixed-bit.h: New files.
11865 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
11866 refer to fixed-bit.c.
11868 2011-07-07 Joseph Myers <joseph@codesourcery.com>
11870 * config.host (*local*): Remove.
11872 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11875 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
11876 like i?86-*-solaris2.1[0-9]*.
11877 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
11878 * configure.ac (i?86-*-solaris2*): Likewise.
11879 * configure: Regenerate.
11881 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
11883 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11884 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
11885 md_unwind_header by splitting out of...
11886 (i[34567]86-*-linux*): ... this.
11887 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
11888 Remove md_unwind_header by splitting out of...
11889 (x86_64-*-linux*): ... this.
11891 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
11893 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
11895 2011-06-28 Nick Clifton <nickc@redhat.com>
11897 * config.host: Recognize all V850 variants.
11899 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
11901 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
11903 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11905 * shared-object.mk (c_flags-$o): Save c_flags.
11906 ($(base)$(objext)): Use it.
11907 ($(base)_s$(objext)): Likewise.
11909 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
11911 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
11912 * libgcc-std.ver.in (GCC_4.7.0): New section.
11914 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
11918 * config/avr/t-avr: Fix line endings.
11919 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
11922 2011-06-14 Olivier Hainque <hainque@adacore.com>
11923 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11925 * config/mips/irix6-unwind.h: New file.
11926 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
11928 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
11930 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
11931 (sparc64_fallback_frame_state): Use it.
11932 (sparc64_frob_update_context): Further adjust context.
11933 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
11934 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
11935 * config/sparc/sol2-cn.S: Likewise.
11937 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11939 * enable-execute-stack-empty.c: New file.
11940 * enable-execute-stack-mprotect.c: New file.
11941 * config/i386/enable-execute-stack-mingw32.c: New file.
11942 * config.host (enable_execute_stack): New variable.
11943 Select appropriate variants.
11944 * configure.ac: Link enable-execute-stack.c to
11945 $enable_execute_stack.
11946 * configure: Regenerate.
11947 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
11948 (lib2funcs): Remove _enable_execute_stack.
11950 2011-06-09 David S. Miller <davem@davemloft.net>
11951 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11953 * config.host (sparc-*-linux*): Correct md_unwind_header
11955 (s390x-ibm-tpf*): Fix typo.
11957 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11959 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
11960 Add crtfastmath.o to extra_parts.
11961 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
11963 * config/mips/t-crtfm: Remove.
11965 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
11967 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
11969 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
11971 * config.host (sh*-*-linux*): Fix typo.
11973 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11975 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
11976 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
11977 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
11978 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
11979 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
11980 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
11981 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
11982 Wrap in !__MINGW64__.
11983 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
11984 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
11985 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
11986 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
11987 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
11988 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
11989 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
11991 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
11992 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
11993 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
11994 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
11995 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
11996 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
11997 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
11998 * config/no-unwind.h: New file.
11999 * config.host (md_unwind_header): Document.
12001 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
12002 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
12003 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
12004 hppa[12]*-*-hpux11*): Set md_unwind_header.
12005 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
12006 Set md_unwind_header.
12007 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
12008 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
12009 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
12010 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
12011 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
12012 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
12013 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
12015 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
12016 * configure: Regenerate.
12018 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12020 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
12021 Set tmake_file, extra_parts.
12022 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
12023 Remove O32 support.
12024 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
12025 Remove O32 support.
12026 * config/mips/t-irix6: New file.
12027 * config/mips/t-slibgcc-irix: New file.
12029 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12031 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
12032 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
12034 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12036 * configure.ac (target_thread_file): Determine thread model.
12037 * configure: Regenerate.
12038 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
12039 * config/alpha/t-alpha: New file.
12040 * config/alpha/t-crtfm: Use $<.
12041 * config/alpha/t-ieee: New file.
12042 * config/alpha/t-osf-pthread: New file.
12043 * config/alpha/t-slibgcc-osf: New file.
12044 * config/alpha/libgcc-osf5.ver: New file.
12046 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12048 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
12050 Add crtfastmath.o to extra_parts.
12052 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12054 * config/gmon-sol2.c: Reindent.
12056 Remove, correct casts.
12057 Use STDERR_FILENO, NULL.
12058 (BASEADDRESS): Remove.
12060 (errno, sbrk): Remove declarations.
12061 (monstartup) [hp300]: Remove.
12064 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12066 * Makefile.in (cpu_type): Define.
12067 * config.host (i[34567]86-*-rtems*): Handle it.
12068 (i[34567]86-*-solaris2*): Move body ...
12069 (*-*-solaris2*): ... here.
12070 New case, generalize.
12071 (sparc-*-elf*): Handle it.
12072 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
12073 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
12074 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
12076 (sparc*-*-solaris2*): ... this.
12078 (sparc64-*-elf*): Handle it.
12079 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
12080 Merge ../gcc/config/i386/gmon-sol2.c.
12081 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
12083 Merge ../gcc/config/i386/sol2-gc1.asm.
12084 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
12086 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
12088 * config/i386/t-crtfm (crtfastmath.o): Use $<.
12089 * config/i386/t-crtstuff: New file.
12090 * config/i386/t-softfp: New file.
12091 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
12092 $(T)crti.o, $(T)crtn.o): Remove.
12093 (gcrt1.o): New rule.
12094 (TARGET_LIBGCC2_CFLAGS): Remove.
12095 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
12096 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
12097 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
12098 * config/sparc/t-sol2: New file.
12099 * config/sparc/t-crtfm: Move to ...
12100 * config/t-crtfm: ... this.
12101 Use $(cpu_type), $<.
12102 * config/t-crtin: New file.
12103 * config/sparc/t-softfp: New file.
12104 * config/sparc/t-softmul: New file.
12105 * config/t-rtems: New file.
12106 * config/t-slibgcc: New file.
12107 * config/t-slibgcc-elf-ver: New file.
12108 * config/t-slibgcc-gld: New file.
12109 * config/t-slibgcc-sld: New file.
12110 * config/t-sol2: New file.
12111 * configure.ac: Include ../config/lib-ld.m4.
12112 Call AC_LIB_PROG_LD_GNU.
12113 Substitute cpu_type.
12114 * configure: Regenerate.
12116 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
12119 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
12120 libgcc-std.ver in the build directory.
12121 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
12122 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
12124 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
12126 * libgcc-std.ver.in: New file.
12127 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
12129 (libgcc-std.ver): New rule.
12130 * config/t-gnu-prefix: New file.
12132 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12134 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
12136 2011-05-10 Joseph Myers <joseph@codesourcery.com>
12138 * config/i386/darwin-lib.h: New file.
12140 2011-05-10 Joseph Myers <joseph@codesourcery.com>
12142 * config/arm/symbian-lib.h: New.
12144 2011-05-04 Chris Demetriou <cgd@google.com>
12146 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
12147 (__x86.get_pc_thunk.bx): ...this.
12148 (__morestack): Adjust for rename, remove undef of __i686.
12150 2011-05-03 Chris Demetriou <cgd@google.com>
12152 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
12154 2011-03-22 Joseph Myers <joseph@codesourcery.com>
12156 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
12157 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
12158 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
12159 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
12160 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
12163 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
12165 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
12166 Adjust copyright year.
12168 2011-03-07 Ian Lance Taylor <iant@google.com>
12170 * generic-morestack.c (__splitstack_find): Adjust returned stack
12171 pointer to include all registers pushed by __morestack.
12173 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
12176 * configure.ac: Call ACX_NONCANONICAL_TARGET.
12177 (toolexecdir): Calculate and AC_SUBST.
12178 (toolexeclibdir): Likewise.
12179 * Makefile.in (target_noncanonical): Import.
12180 (toolexecdir): Likewise.
12181 (toolexeclibdir): Likewise.
12182 * configure: Regenerate.
12184 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
12187 * config/arm/bpabi.h: Rename to...
12188 * config/arm/bpabi-lib.h: ...this.
12190 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12192 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
12194 * configure: Regenerate.
12196 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
12198 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
12199 __FLOAT_WORD_ORDER__.
12200 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
12203 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12206 * Makefile.in (install-strip): New phony target.
12208 2010-11-07 Ian Lance Taylor <iant@google.com>
12211 * config/i386/morestack.S (__morestack_large_model): New
12214 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
12216 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
12218 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
12220 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
12222 * config/arm/bpabi.h: New file.
12223 * config/frv/frv-abi.h: New file.
12225 2010-10-01 Ian Lance Taylor <iant@google.com>
12227 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
12228 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
12230 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
12233 * config.host: Add the missing `$'.
12235 2010-09-30 Michael Eager <eager@eagercon.com>
12237 * config.host: Add microblaze*-*-*.
12238 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
12239 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
12240 udivsi3.asm,umodsi3.asm}: New.
12242 2010-09-28 Ian Lance Taylor <iant@google.com>
12244 * configure.ac: Adjust CFI test to test assembler directly rather
12245 than checking gcc preprocessor macro.
12246 * configure: Rebuild.
12248 2010-09-27 Ian Lance Taylor <iant@google.com>
12250 * configure.ac: Test whether assembler supports CFI directives.
12251 * config.host: Only add t-stack and i386/t-stack-i386 to
12252 tmake_file if libgcc_cv_cfi is "yes".
12253 * configure: Rebuild.
12255 2010-09-27 Ian Lance Taylor <iant@google.com>
12257 * generic-morestack.h: New file.
12258 * generic-morestack.c: New file.
12259 * generic-morestack-thread.c: New file.
12260 * config/i386/morestack.S: New file.
12261 * config/t-stack: New file.
12262 * config/i386/t-stack-i386: New file.
12263 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
12264 i386/t-stack-i386 to tmake_file.
12266 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
12268 * Makefile.in (libgcc-extra-parts): Check for static archives and
12269 invoke ranlib after installing them.
12270 (gcc-extra-parts): Likewise.
12271 (install-leaf): Likewise.
12273 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
12275 * configure: Regenerated.
12277 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
12279 * configure: Regenerated.
12281 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
12282 Andrew Pinski <pinskia@gmail.com>
12285 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
12287 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
12290 * configure: Regenerated.
12292 2010-09-06 Andreas Schwab <schwab@redhat.com>
12294 * configure: Regenerate.
12296 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
12298 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
12300 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
12303 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
12304 Iain Sandoe <iains@gcc.gnu.org>
12307 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
12308 LIB2FUNCS_EXCLUDE functions.
12310 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12312 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
12314 * configure: Regenerate.
12316 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
12318 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
12319 i386/t-freebsd to tmake_file.
12320 * config/i386/t-freebsd: New file.
12321 * config/i386/libgcc-bsd.ver: New file.
12323 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
12325 * config.host (powerpc*-eabispe*): Set tmake_file.
12326 (powerpc*-eabi*): Likewise.
12327 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
12328 crtbeginS, crtendS, crtbeginT.
12330 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
12332 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
12333 to tmake_file. Add crtfastmath.o to extra_parts.
12334 * config/mips/t-crtfm: New.
12336 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
12338 * config.host (sparc64-*-rtems*): New target.
12340 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12342 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12345 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
12347 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
12349 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12351 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
12352 alpha-dec-osf5.0* support.
12354 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
12356 * config.host: Add lm32-*-rtems*.
12358 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12359 Uros Bizjak <ubizjak@gmail.com>
12362 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
12363 like other remaining 32-bit x86 OSes.
12364 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12366 * config/i386/libgcc-sol2.ver: New file.
12367 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
12369 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
12372 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
12373 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
12374 is used and substitute set_use_emutls.
12375 * configure: Regenerated.
12377 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
12379 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
12381 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12384 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
12386 ($(T)gcrt1.o): Likewise.
12387 ($(T)crt1.o): Likewise.
12388 ($(T)crti.o): Likewise.
12389 ($(T)crtn.o): Likewise.
12391 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12394 * Makefile.in (install): Use $(MAKE) string in rule, for
12397 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
12399 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
12400 * config/mmix/t-mmix: New file.
12401 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
12403 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
12406 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
12409 2010-01-04 Anthony Green <green@moxielogic.com>
12411 * config/moxie/crti.asm, config/moxie/crtn.asm,
12412 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
12413 config/moxie/t-moxie: New files.
12414 * config.host: Add t-moxie-softfp reference.
12416 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
12419 * config/t-slibgcc-darwin: Fix embedded rpaths for
12420 --enable-version-specific-runtime-libs, build extension stub
12421 libs exposing features available from current libgcc_s.
12423 2009-11-11 Jon Beniston <jon@beniston.com>
12425 * config.host: Add lm32 targets.
12426 * config/lm32: New directory.
12427 * config/lm32/libgcc_lm32.h: New file.
12428 * config/lm32/_mulsi3.c: New file.
12429 * config/lm32/_udivmodsi4.c: New file.
12430 * config/lm32/_divsi3.c: New file.
12431 * config/lm32/_modsi3.c: New file.
12432 * config/lm32/_udivsi3.c: New file.
12433 * config/lm32/_umodsi3.c: New file.
12434 * config/lm32/_lshrsi3.S: New file.
12435 * config/lm32/_ashrsi3.S: New file.
12436 * config/lm32/_ashlsi3.S: New file.
12437 * config/lm32/crti.S: New file.
12438 * config/lm32/crtn.S: New file.
12439 * config/lm32/t-lm32: New file.
12440 * config/lm32/t-elf: New file.
12441 * config/lm32/t-uclinux: New file.
12443 2009-10-26 Nick Clifton <nickc@redhat.com>
12445 * config.host: Add support for RX target.
12446 * config/rx: New directory.
12447 * config/rx/rx-abi-functions.c: New file. Supplementary
12448 functions for libgcc to support the RX ABI.
12449 * config/rx/rx-abi.h: New file. Supplementary header file for
12450 libgcc RX ABI functions.
12451 * config/rx/t-rx: New file: Makefile fragment for building
12454 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
12456 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
12457 constraint of y0 to "g".
12459 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12461 * config.host: Include the s390 makefile fragments.
12462 * config/s390/32/_fixdfdi.c: New file.
12463 * config/s390/32/_fixsfdi.c: New file.
12464 * config/s390/32/_fixtfdi.c: New file.
12465 * config/s390/32/_fixunsdfdi.c: New file.
12466 * config/s390/32/_fixunssfdi.c: New file.
12467 * config/s390/32/_fixunstfdi.c: New file.
12468 * config/s390/32/t-floattodi: New file.
12469 * config/s390/libgcc-glibc.ver: New file.
12470 * config/s390/t-crtstuff: New file.
12471 * config/s390/t-linux: New file.
12472 * config/s390/t-tpf: New file.
12474 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12476 * configure.ac (AC_PREREQ): Bump to 2.64.
12478 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
12480 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
12482 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12484 * configure: Regenerate.
12486 2009-08-09 Douglas B Rupp <rupp@gnat.com>
12488 * config.host (ia64-hp-*vms*): New target.
12489 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
12490 with ia64-hp-*vms*.
12492 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12494 * configure.ac: Add snippet for maintainer-mode.
12495 * configure: Regenerate.
12496 * Makefile.in (AUTOCONF, configure_deps): New variables.
12497 ($(srcdir)/configure)): New rule, active only with maintainer
12500 2009-06-23 DJ Delorie <dj@redhat.com>
12503 * config.host: Add mep support.
12505 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
12507 * config.host: Add i386/${host_address}/t-fprules-softfp and
12508 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
12510 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
12512 * config/i386/64/_multc3.c: Likewise.
12513 * config/i386/64/_powitf2.c: Likewise.
12514 * config/i386/64/eqtf2.c: Likewise.
12515 * config/i386/64/getf2.c: Likewise.
12516 * config/i386/64/letf2.c: Likewise.
12517 * config/i386/64/letf2.c: Likewise.
12518 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
12519 unsigned long long for x64 mingw targets.
12520 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
12521 (_FP_I_TYPE): Define as long long for x64 mingw target.
12523 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
12525 * config.host (vax-*-linux*): New.
12527 2009-05-31 Anthony Green <green@moxielogic.com>
12529 * config.host: Add moxie support.
12530 * config/moxie/t-moxie: New file.
12532 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
12534 * config.host: Add i386/${host_address}/t-fprules-softfp and
12535 t-softfp to tmake_file for i[34567]86-*-cygwin*.
12537 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
12539 * config.host: Add i386/${host_address}/t-fprules-softfp to
12540 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
12542 2009-04-09 Nick Clifton <nickc@redhat.com>
12544 * config/ia64/tf-signs.c: Change copyright header to refer to
12545 version 3 of the GNU General Public License with version 3.1
12546 of the GCC Runtime Library Exception and to point readers at
12547 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
12549 * config/i386/32/tf-signs.c: Likewise.
12550 * config/libbid/_addsub_dd.c: Likewise.
12551 * config/libbid/_addsub_sd.c: Likewise.
12552 * config/libbid/_addsub_td.c: Likewise.
12553 * config/libbid/_dd_to_df.c: Likewise.
12554 * config/libbid/_dd_to_di.c: Likewise.
12555 * config/libbid/_dd_to_sd.c: Likewise.
12556 * config/libbid/_dd_to_sf.c: Likewise.
12557 * config/libbid/_dd_to_si.c: Likewise.
12558 * config/libbid/_dd_to_td.c: Likewise.
12559 * config/libbid/_dd_to_tf.c: Likewise.
12560 * config/libbid/_dd_to_udi.c: Likewise.
12561 * config/libbid/_dd_to_usi.c: Likewise.
12562 * config/libbid/_dd_to_xf.c: Likewise.
12563 * config/libbid/_df_to_dd.c: Likewise.
12564 * config/libbid/_df_to_sd.c: Likewise.
12565 * config/libbid/_df_to_td.c: Likewise.
12566 * config/libbid/_di_to_dd.c: Likewise.
12567 * config/libbid/_di_to_sd.c: Likewise.
12568 * config/libbid/_di_to_td.c: Likewise.
12569 * config/libbid/_div_dd.c: Likewise.
12570 * config/libbid/_div_sd.c: Likewise.
12571 * config/libbid/_div_td.c: Likewise.
12572 * config/libbid/_eq_dd.c: Likewise.
12573 * config/libbid/_eq_sd.c: Likewise.
12574 * config/libbid/_eq_td.c: Likewise.
12575 * config/libbid/_ge_dd.c: Likewise.
12576 * config/libbid/_ge_sd.c: Likewise.
12577 * config/libbid/_ge_td.c: Likewise.
12578 * config/libbid/_gt_dd.c: Likewise.
12579 * config/libbid/_gt_sd.c: Likewise.
12580 * config/libbid/_gt_td.c: Likewise.
12581 * config/libbid/_isinfd128.c: Likewise.
12582 * config/libbid/_isinfd32.c: Likewise.
12583 * config/libbid/_isinfd64.c: Likewise.
12584 * config/libbid/_le_dd.c: Likewise.
12585 * config/libbid/_le_sd.c: Likewise.
12586 * config/libbid/_le_td.c: Likewise.
12587 * config/libbid/_lt_dd.c: Likewise.
12588 * config/libbid/_lt_sd.c: Likewise.
12589 * config/libbid/_lt_td.c: Likewise.
12590 * config/libbid/_mul_dd.c: Likewise.
12591 * config/libbid/_mul_sd.c: Likewise.
12592 * config/libbid/_mul_td.c: Likewise.
12593 * config/libbid/_ne_dd.c: Likewise.
12594 * config/libbid/_ne_sd.c: Likewise.
12595 * config/libbid/_ne_td.c: Likewise.
12596 * config/libbid/_sd_to_dd.c: Likewise.
12597 * config/libbid/_sd_to_df.c: Likewise.
12598 * config/libbid/_sd_to_di.c: Likewise.
12599 * config/libbid/_sd_to_sf.c: Likewise.
12600 * config/libbid/_sd_to_si.c: Likewise.
12601 * config/libbid/_sd_to_td.c: Likewise.
12602 * config/libbid/_sd_to_tf.c: Likewise.
12603 * config/libbid/_sd_to_udi.c: Likewise.
12604 * config/libbid/_sd_to_usi.c: Likewise.
12605 * config/libbid/_sd_to_xf.c: Likewise.
12606 * config/libbid/_sf_to_dd.c: Likewise.
12607 * config/libbid/_sf_to_sd.c: Likewise.
12608 * config/libbid/_sf_to_td.c: Likewise.
12609 * config/libbid/_si_to_dd.c: Likewise.
12610 * config/libbid/_si_to_sd.c: Likewise.
12611 * config/libbid/_si_to_td.c: Likewise.
12612 * config/libbid/_td_to_dd.c: Likewise.
12613 * config/libbid/_td_to_df.c: Likewise.
12614 * config/libbid/_td_to_di.c: Likewise.
12615 * config/libbid/_td_to_sd.c: Likewise.
12616 * config/libbid/_td_to_sf.c: Likewise.
12617 * config/libbid/_td_to_si.c: Likewise.
12618 * config/libbid/_td_to_tf.c: Likewise.
12619 * config/libbid/_td_to_udi.c: Likewise.
12620 * config/libbid/_td_to_usi.c: Likewise.
12621 * config/libbid/_td_to_xf.c: Likewise.
12622 * config/libbid/_tf_to_dd.c: Likewise.
12623 * config/libbid/_tf_to_sd.c: Likewise.
12624 * config/libbid/_tf_to_td.c: Likewise.
12625 * config/libbid/_udi_to_dd.c: Likewise.
12626 * config/libbid/_udi_to_sd.c: Likewise.
12627 * config/libbid/_udi_to_td.c: Likewise.
12628 * config/libbid/_unord_dd.c: Likewise.
12629 * config/libbid/_unord_sd.c: Likewise.
12630 * config/libbid/_unord_td.c: Likewise.
12631 * config/libbid/_usi_to_dd.c: Likewise.
12632 * config/libbid/_usi_to_sd.c: Likewise.
12633 * config/libbid/_usi_to_td.c: Likewise.
12634 * config/libbid/_xf_to_dd.c: Likewise.
12635 * config/libbid/_xf_to_sd.c: Likewise.
12636 * config/libbid/_xf_to_td.c: Likewise.
12637 * config/libbid/bid128.c: Likewise.
12638 * config/libbid/bid128_2_str.h: Likewise.
12639 * config/libbid/bid128_2_str_macros.h: Likewise.
12640 * config/libbid/bid128_2_str_tables.c: Likewise.
12641 * config/libbid/bid128_add.c: Likewise.
12642 * config/libbid/bid128_compare.c: Likewise.
12643 * config/libbid/bid128_div.c: Likewise.
12644 * config/libbid/bid128_fma.c: Likewise.
12645 * config/libbid/bid128_logb.c: Likewise.
12646 * config/libbid/bid128_minmax.c: Likewise.
12647 * config/libbid/bid128_mul.c: Likewise.
12648 * config/libbid/bid128_next.c: Likewise.
12649 * config/libbid/bid128_noncomp.c: Likewise.
12650 * config/libbid/bid128_quantize.c: Likewise.
12651 * config/libbid/bid128_rem.c: Likewise.
12652 * config/libbid/bid128_round_integral.c: Likewise.
12653 * config/libbid/bid128_scalb.c: Likewise.
12654 * config/libbid/bid128_sqrt.c: Likewise.
12655 * config/libbid/bid128_string.c: Likewise.
12656 * config/libbid/bid128_to_int16.c: Likewise.
12657 * config/libbid/bid128_to_int32.c: Likewise.
12658 * config/libbid/bid128_to_int64.c: Likewise.
12659 * config/libbid/bid128_to_int8.c: Likewise.
12660 * config/libbid/bid128_to_uint16.c: Likewise.
12661 * config/libbid/bid128_to_uint32.c: Likewise.
12662 * config/libbid/bid128_to_uint64.c: Likewise.
12663 * config/libbid/bid128_to_uint8.c: Likewise.
12664 * config/libbid/bid32_to_bid128.c: Likewise.
12665 * config/libbid/bid32_to_bid64.c: Likewise.
12666 * config/libbid/bid64_add.c: Likewise.
12667 * config/libbid/bid64_compare.c: Likewise.
12668 * config/libbid/bid64_div.c: Likewise.
12669 * config/libbid/bid64_fma.c: Likewise.
12670 * config/libbid/bid64_logb.c: Likewise.
12671 * config/libbid/bid64_minmax.c: Likewise.
12672 * config/libbid/bid64_mul.c: Likewise.
12673 * config/libbid/bid64_next.c: Likewise.
12674 * config/libbid/bid64_noncomp.c: Likewise.
12675 * config/libbid/bid64_quantize.c: Likewise.
12676 * config/libbid/bid64_rem.c: Likewise.
12677 * config/libbid/bid64_round_integral.c: Likewise.
12678 * config/libbid/bid64_scalb.c: Likewise.
12679 * config/libbid/bid64_sqrt.c: Likewise.
12680 * config/libbid/bid64_string.c: Likewise.
12681 * config/libbid/bid64_to_bid128.c: Likewise.
12682 * config/libbid/bid64_to_int16.c: Likewise.
12683 * config/libbid/bid64_to_int32.c: Likewise.
12684 * config/libbid/bid64_to_int64.c: Likewise.
12685 * config/libbid/bid64_to_int8.c: Likewise.
12686 * config/libbid/bid64_to_uint16.c: Likewise.
12687 * config/libbid/bid64_to_uint32.c: Likewise.
12688 * config/libbid/bid64_to_uint64.c: Likewise.
12689 * config/libbid/bid64_to_uint8.c: Likewise.
12690 * config/libbid/bid_b2d.h: Likewise.
12691 * config/libbid/bid_binarydecimal.c: Likewise.
12692 * config/libbid/bid_conf.h: Likewise.
12693 * config/libbid/bid_convert_data.c: Likewise.
12694 * config/libbid/bid_decimal_data.c: Likewise.
12695 * config/libbid/bid_decimal_globals.c: Likewise.
12696 * config/libbid/bid_div_macros.h: Likewise.
12697 * config/libbid/bid_dpd.c: Likewise.
12698 * config/libbid/bid_flag_operations.c: Likewise.
12699 * config/libbid/bid_from_int.c: Likewise.
12700 * config/libbid/bid_functions.h: Likewise.
12701 * config/libbid/bid_gcc_intrinsics.h: Likewise.
12702 * config/libbid/bid_inline_add.h: Likewise.
12703 * config/libbid/bid_internal.h: Likewise.
12704 * config/libbid/bid_round.c: Likewise.
12705 * config/libbid/bid_sqrt_macros.h: Likewise.
12707 2009-04-09 Jakub Jelinek <jakub@redhat.com>
12709 * Makefile.in: Change copyright header to refer to version
12710 3 of the GNU General Public License and to point readers at the
12711 COPYING3 file and the FSF's license web page.
12712 * config.host: Likewise.
12714 2009-04-07 Alan Modra <amodra@bigpond.net.au>
12716 * config.host: Reorder and merge to match config.gcc change.
12718 2009-04-03 Alan Modra <amodra@bigpond.net.au>
12720 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
12722 2009-03-28 Joseph Myers <joseph@codesourcery.com>
12724 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
12725 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
12726 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
12727 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
12729 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
12731 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
12732 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12734 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
12736 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
12737 ia64/t-softfp-compat to tmake_file.
12739 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
12741 * config/ia64/__divxf3.asm: New.
12742 * config/ia64/_fixtfdi.asm: Likewise.
12743 * config/ia64/_fixunstfdi.asm: Likewise.
12744 * config/ia64/_floatditf.asm: Likewise.
12745 * config/ia64/t-fprules-softfp: Likewise.
12746 * config/ia64/t-softfp-compat: Likewise.
12747 * config/ia64/tf-signs.c: Likewise.
12749 2009-01-18 Ben Elliston <bje@au.ibm.com>
12751 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12753 2009-01-16 Ben Elliston <bje@au.ibm.com>
12755 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
12758 2009-01-13 Ben Elliston <bje@au.ibm.com>
12760 * config/t-softfp: New file.
12761 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
12762 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
12764 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
12766 * config.host: Add m32r*-*-rtems*.
12768 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
12770 * config.host: Add m32c*-*-rtems*.
12772 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12775 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
12776 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
12777 * configure: Regenerate.
12778 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
12779 tmake_file here from gcc/config.gcc.
12780 Move extra_parts here from gcc/config.gcc.
12781 * config/i386/t-sol2: Move here from gcc/config/i386.
12782 Use gcc_srcdir instead of srcdir.
12784 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
12786 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
12789 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
12791 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
12793 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
12795 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
12797 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
12800 * config.host: Add picochip-*-*.
12802 2008-08-06 Bob Wilson <bob.wilson@acm.org>
12804 * config.host: Match more processor names for Xtensa.
12806 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
12808 * config/i386/64/t-softfp-compat: Update comments.
12810 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
12812 * config/i386/64/_divtc3-compat.c: Moved to ...
12813 * config/i386/64/_divtc3.c: Here.
12815 * config/i386/64/_multc3-compat.c: Moved to ...
12816 * config/i386/64/_multc3.c: Here.
12818 * config/i386/64/_powitf2-compat.c: Moved to ...
12819 * config/i386/64/_powitf2.c: Here.
12821 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
12822 .c suffix instead of -compat.c.
12824 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
12826 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
12827 (_FP_MUL_MEAT_D): Ditto.
12828 (_FP_DIV_MEAT_S): Ditto.
12829 (_FP_DIV_MEAT_D): Ditto.
12831 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
12833 * Makefile.in: Add support for __sync_* libgcc functions.
12835 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
12837 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
12839 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12842 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
12843 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
12845 * config/i386/64/t-fprules-softfp: Moved to ...
12846 * config/i386/64/t-softfp-compat: This. New.
12848 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
12850 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
12851 Initialize f with 0.0.
12853 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12856 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
12858 * config/i386/64/_divtc3-compat.c: New.
12859 * config/i386/64/_multc3-compat.c: Likewise.
12860 * config/i386/64/_powitf2-compat.c: Likewise.
12861 * config/i386/64/eqtf2.c: Likewise.
12862 * config/i386/64/getf2.c: Likewise.
12863 * config/i386/64/letf2.c: Likewise.
12864 * config/i386/64/t-fprules-softfp: Likewise.
12866 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12868 * config.host: Add i386/${host_address}/t-fprules-softfp to
12869 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
12870 i[34567]86-*-linux*, x86_64-*-linux*.
12872 * configure.ac: Set host_address to 64 or 32 for x86.
12873 * configure: Regenerated.
12875 * Makefile.in (config.status): Also depend on
12876 $(srcdir)/config.host.
12878 * config/i386/32/t-fprules-softfp: New.
12879 * config/i386/32/tf-signs.c: Likewise.
12881 * config/i386/64/sfp-machine.h: New. Moved from gcc.
12883 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12884 Uros Bizjak <ubizjak@gmail.com>
12886 * config/i386/32/sfp-machine.h: New.
12888 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
12890 * config/rs6000/t-ppccomm: Remove rules that conflict with
12891 auto-generated rules.
12893 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12895 * configure.ac: sinclude override.m4.
12896 * configure: Regenerate.
12898 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
12900 * configure: Regenerate.
12902 2008-06-10 Joseph Myers <joseph@codesourcery.com>
12904 * Makefile.in (DECNUMINC): Remove
12905 -I$(MULTIBUILDTOP)../../libdecnumber.
12908 2008-06-07 Joseph Myers <joseph@codesourcery.com>
12910 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
12911 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
12912 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
12913 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
12914 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
12915 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
12916 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
12917 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
12918 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
12919 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
12920 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
12921 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
12922 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
12923 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
12925 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
12927 * config.host (sh2[lbe]*-*-linux*): Allow target.
12929 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
12931 * config/rs6000/t-ppccomm: Add build rules for new files.
12932 (LIB2ADD_ST): New variable.
12934 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
12938 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
12939 * config/t-avr: New file. Build 16bit libgcc functions.
12941 2008-03-02 Jakub Jelinek <jakub@redhat.com>
12944 * config/t-slibgcc-darwin: Make install-leaf dependent on
12945 install-darwin-libgcc-stubs instead of install.
12947 2008-01-25 Joseph Myers <joseph@codesourcery.com>
12949 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
12950 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
12951 sh-*-rtemscoff*): Remove cases.
12953 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
12955 * Makefile.in (all): Use install-leaf rather than install.
12956 (install): Split most of the rule into...
12957 (install-leaf): ...this new one.
12959 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
12960 Paolo Bonzini <bonzini@gnu.org>
12963 * Makefile.in: Use @shlib_slibdir@ substitution to get
12964 correct install name on darwin.
12965 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
12967 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
12969 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
12970 cris-*-elf and cris-*-none.
12971 (crisv32-*-linux*): Similar, as cris-*-linux*.
12973 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
12975 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
12977 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
12979 PR regression/33926
12980 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
12981 * configure: Regenerated.
12983 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
12985 * Makefile.in (dfp-filenames): Replace decimal_globals,
12986 decimal_data, binarydecimal and convert_data with
12987 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
12988 and bid_convert_data, respectively.
12990 2007-09-17 Chao-ying Fu <fu@mips.com>
12991 Nigel Stephens <nigel@mips.com>
12993 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
12994 * Makefile.in (fixed_point): Define.
12995 Check if fixed_point is yes to build support functions.
12996 * configure.ac: Check for fixed_point support.
12997 * configure: Regenerated.
12998 * gen-fixed.sh: New file to generate lists of fixed-point labels,
12999 funcs, modes, from, to.
13001 2007-09-11 Janis Johnson <janis187@us.ibm.com
13003 * Makefile.in (dfp-filenames): Add bid128_noncomp.
13005 2007-09-10 Janis Johnson <janis187@us.ibm.com>
13007 * Makefile.in (dfp-filenames): Remove decUtility, add
13008 decDouble, decPacked, decQuad, decSingle.
13010 2007-08-27 Hans Kester <hans.kester@ellips.nl>
13012 * config.host : Add x86_64-elf target.
13014 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
13016 * configure.ac (set_have_cc_tls): Add a missing =.
13017 * configure: Regenerated.
13019 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
13021 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
13022 and x86_64-*-linux*.
13024 * config/t-tls: New file.
13026 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
13028 * configure.ac: Include ../config/enable.m4 and
13029 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
13030 supports TLS and substitute set_have_cc_tls.
13031 * configure: Regenerated.
13033 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
13035 * Makefile.in: Use libbid for DFP when BID is enabled.
13037 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
13039 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
13040 extra_parts. Add config/i386/t-cygming to tmake_file.
13041 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
13043 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
13044 Danny Smith <dannysmith@users.sourceforge.net>
13047 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
13048 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
13049 * config/i386/t-crtfm: Compile crtfastmath.o with
13050 -minline-all-stringops.
13052 2007-05-10 Richard Sandiford <richard@codesourcery.com>
13054 * config.host (sparc-wrs-vxworks): New target.
13056 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
13058 * config.host: Recognize fido.
13060 2007-04-04 Janis Johnson <janis187@us.ibm.com>
13062 * configure: Check host, not target, for decimal float support.
13064 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
13066 * config/i386/t-crtpc: New file.
13067 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
13068 (x86_64-*-linux*): Ditto.
13070 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
13072 * config.host (x86_64-*-mingw*): New target.
13074 2007-03-23 Michael Meissner <michael.meissner@amd.com>
13075 H.J. Lu <hongjiu.lu@intel.com>
13077 * Makefile.in (enable_decimal_float): New.
13079 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
13080 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
13081 (decbits-filenames): This.
13082 (decbits-objects): New.
13083 (libgcc-objects): Add $(decbits-objects).
13085 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
13086 Substitute enable_decimal_float.
13087 * configure: Regenerated.
13089 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
13091 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
13093 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
13095 * Makefile.in (install-info): New dummy target.
13097 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
13099 * config.host (bfin*-linux-uclibc*): Set extra_parts.
13101 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
13103 * Makefile.in: Add install-html and install-pdf dummy
13106 2007-02-05 Roger Sayle <roger@eyesopen.com>
13107 Daniel Jacobowitz <dan@codesourcery.com>
13109 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
13110 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
13111 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
13113 2007-01-29 Janis Johnson <janis187@us.ibm.com>
13115 * Makefile.in (dec-filenames): Add decExcept.
13117 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
13120 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
13123 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
13125 * configure.ac: Add --enable-version-specific-runtime-libs.
13126 Correct $slibdir default.
13127 * configure: Regenerated.
13129 2007-01-23 Joseph Myers <joseph@codesourcery.com>
13131 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
13133 2007-01-21 Andrew Pinski <pinskia@gmail.com>
13136 * config.host (alpha*-*-linux*): Set extra_parts.
13138 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
13140 * config/sh/t-linux: New.
13141 * config.host (sh*-*-linux*): Set tmake_file.
13143 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
13145 * Makefile.in (install): Handle multilibs.
13147 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
13149 * Makefile.in: Added .PHONY entry for documentation targets.
13151 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
13153 * Makefile.in: Add empty info, html, dvi, pdf targets.
13155 2007-01-04 Mike Stump <mrs@apple.com>
13157 * Makefile.in (MAKEINFO): Remove.
13160 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
13162 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
13163 * configure: Regenerate.
13164 * Makefile.in (host_subdir): Substitute it.
13165 (gcc_objdir): Use it.
13167 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
13169 * config.host (ia64*-*-linux*): Set tmake_file.
13171 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
13173 * Makefile.in (version): Define.
13175 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
13176 Paolo Bonzini <bonzini@gnu.org>
13178 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
13179 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
13180 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
13181 config/sparc/t-crtfm, config/t-slibgcc-darwin,
13182 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
13183 shared-object.mk, siditi-object.mk, static-object.mk: New files.
13184 * configure: Generated.
13186 Copyright (C) 2007-2023 Free Software Foundation, Inc.
13188 Copying and distribution of this file, with or without modification,
13189 are permitted in any medium without royalty provided the copyright
13190 notice and this notice are preserved.