1 2023-11-21 Jakub Jelinek <jakub@redhat.com>
3 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Formatting fixes.
5 2023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
7 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Always define it.
8 Set it also to 1, if __LIBGCC_HAVE_LIBATOMIC is defined.
10 2023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
13 2023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
15 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
16 (gcov_type_unsigned): Likewise.
18 2023-11-10 Keith Packard <keithp@keithp.com>
20 * config/m68k/lb1sf68.S (__adddf3): Properly check for non-zero denorm.
21 (__divdf3): Restore sign bit properly.
22 (__addsf3): Correct exponent check.
23 * config/m68k/fpgnulib.c (EXPMASK): Define.
24 (__extendsfdf2): Handle Inf and NaN properly.
25 (__truncdfsf2): Handle underflow and overflow correctly.
26 (__extenddfxf2): Handle underflow, denorms, Inf and NaN correctly.
27 (__truncxfdf2): Handle underflow and denorms correctly.
28 (__fixxfsi): Reimplement.
30 2023-11-09 Jakub Jelinek <jakub@redhat.com>
33 * config/t-softfp (softfp_bid_list): Add
34 {U,}TItype <-> _Decimal{32,64,128} conversions.
35 * soft-fp/floattisd.c: New file.
36 * soft-fp/floattidd.c: New file.
37 * soft-fp/floattitd.c: New file.
38 * soft-fp/floatuntisd.c: New file.
39 * soft-fp/floatuntidd.c: New file.
40 * soft-fp/floatuntitd.c: New file.
41 * soft-fp/fixsdti.c: New file.
42 * soft-fp/fixddti.c: New file.
43 * soft-fp/fixtdti.c: New file.
44 * soft-fp/fixunssdti.c: New file.
45 * soft-fp/fixunsddti.c: New file.
46 * soft-fp/fixunstdti.c: New file.
48 2023-11-07 Kwok Cheung Yeung <kcy@codesourcery.com>
50 * offloadstuff.c (OFFLOAD_IND_FUNC_TABLE_SECTION_NAME): New.
51 (__offload_ind_func_table): New.
52 (__offload_ind_funcs_end): New.
53 (__OFFLOAD_TABLE__): Add entries for indirect functions.
55 2023-11-03 Thomas Schwinge <thomas@codesourcery.com>
57 * config/gcn/gthr-gcn.h (__gthread_getspecific): 's%NULL%0'.
59 2023-10-31 Alexandre Oliva <oliva@adacore.com>
61 * hardcfr.c: Adjust copyright year.
63 2023-10-24 Sergei Trofimovich <siarheit@google.com>
65 * config/aarch64/heap-trampoline.c: Disable when libc is not
67 * config/i386/heap-trampoline.c: Ditto.
69 2023-10-22 Iain Sandoe <iain@sandoe.co.uk>
71 * config/t-slibgcc-darwin: Generate libgcc_s
73 * config.host: Handle Darwin rpaths.
74 * config/t-darwin-rpath: New file.
76 2023-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
77 Maxim Blinov <maxim.blinov@embecosm.com>
78 Iain Sandoe <iain@sandoe.co.uk>
79 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
81 * libgcc2.h (__builtin_nested_func_ptr_created): Declare.
82 (__builtin_nested_func_ptr_deleted): Declare.
83 * libgcc-std.ver.in: Add the new symbols.
84 * config/aarch64/heap-trampoline.c: Implement heap-based
85 trampolines for aarch64.
86 * config/aarch64/t-heap-trampoline: Add rule to build
87 config/aarch64/heap-trampoline.c
88 * config/i386/heap-trampoline.c: Implement heap-based
89 trampolines for x86_64.
90 * config/i386/t-heap-trampoline: Add rule to build
91 config/i386/heap-trampoline.cc
92 * config.host: Handle --enable-heap-trampolines on
93 x86_64-*-linux*, aarch64-*-linux*, x86_64-*-darwin*.
95 2023-10-20 Andrew Stubbs <ams@codesourcery.com>
97 * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Set false for __RDNA2__.
99 2023-10-20 Alexandre Oliva <oliva@adacore.com>
101 * Makefile.in (LIB2ADD): Add hardcfr.c.
104 2023-10-13 Florian Weimer <fweimer@redhat.com>
106 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Add
109 2023-10-13 Florian Weimer <fweimer@redhat.com>
111 * config/arc/linux-unwind.h (arc_fallback_frame_state): Add
114 2023-10-13 Florian Weimer <fweimer@redhat.com>
116 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Add
119 2023-10-13 Florian Weimer <fweimer@redhat.com>
121 * config/csky/linux-unwind.h (csky_fallback_frame_state): Add
124 2023-10-13 Florian Weimer <fweimer@redhat.com>
126 * config/m68k/fpgnulib.c (__cmpdf2): Declare.
128 2023-09-26 Wilco Dijkstra <wilco.dijkstra@arm.com>
130 * config/aarch64/lse.S (BTI_C): Remove define.
132 2023-09-20 Pekka Seppänen <pexu@gcc.mail.kapsi.fi>
134 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key):
135 Use const unsigned type and a builtin.
137 2023-09-06 Jakub Jelinek <jakub@redhat.com>
140 * libgcc2.c (bitint_negate): Add function comment.
141 * soft-fp/bitint.h (bitint_negate): Add function comment.
142 (FP_TO_BITINT, FP_FROM_BITINT): Add comment explaining the macros.
144 2023-09-06 Jakub Jelinek <jakub@redhat.com>
147 * config/aarch64/t-softfp (softfp_extras): Use += rather than :=.
148 * config/i386/64/t-softfp (softfp_extras): Likewise.
149 * config/i386/libgcc-glibc.ver (GCC_14.0.0): Export _BitInt support
151 * config/i386/t-softfp (softfp_extras): Add fixxfbitint and
152 bf, hf and xf mode floatbitint.
153 (CFLAGS-floatbitintbf.c, CFLAGS-floatbitinthf.c): Add -msse2.
154 * config/riscv/t-softfp32 (softfp_extras): Use += rather than :=.
155 * config/rs6000/t-e500v1-fp (softfp_extras): Likewise.
156 * config/rs6000/t-e500v2-fp (softfp_extras): Likewise.
157 * config/t-softfp (softfp_floatbitint_funcs): New.
158 (softfp_bid_list): New.
159 (softfp_func_list): Add sf and df mode from and to _BitInt libcalls.
160 (softfp_bid_file_list): New.
161 (LIB2ADD_ST): Add $(softfp_bid_file_list).
162 * config/t-softfp-sfdftf (softfp_extras): Add fixtfbitint and
164 * config/t-softfp-tf (softfp_extras): Likewise.
165 * libgcc2.c (bitint_reduce_prec): New inline function.
166 (BITINT_INC, BITINT_END): Define.
167 (bitint_mul_1, bitint_addmul_1): New helper functions.
168 (__mulbitint3): New function.
169 (bitint_negate, bitint_submul_1): New helper functions.
170 (__divmodbitint4): New function.
171 * libgcc2.h (LIBGCC2_UNITS_PER_WORD): When building _BitInt support
172 libcalls, redefine depending on __LIBGCC_BITINT_LIMB_WIDTH__.
173 (__mulbitint3, __divmodbitint4): Declare.
174 * libgcc-std.ver.in (GCC_14.0.0): Export _BitInt support routines.
175 * Makefile.in (lib2funcs): Add _mulbitint3.
176 (LIB2_DIVMOD_FUNCS): Add _divmodbitint4.
177 * soft-fp/bitint.h: New file.
178 * soft-fp/fixdfbitint.c: New file.
179 * soft-fp/fixsfbitint.c: New file.
180 * soft-fp/fixtfbitint.c: New file.
181 * soft-fp/fixxfbitint.c: New file.
182 * soft-fp/floatbitintbf.c: New file.
183 * soft-fp/floatbitintdf.c: New file.
184 * soft-fp/floatbitinthf.c: New file.
185 * soft-fp/floatbitintsf.c: New file.
186 * soft-fp/floatbitinttf.c: New file.
187 * soft-fp/floatbitintxf.c: New file.
188 * soft-fp/op-common.h (_FP_FROM_INT): Add support for rsize up to
189 4 * _FP_W_TYPE_SIZE rather than just 2 * _FP_W_TYPE_SIZE.
190 * soft-fp/bitintpow10.c: New file.
191 * soft-fp/fixsdbitint.c: New file.
192 * soft-fp/fixddbitint.c: New file.
193 * soft-fp/fixtdbitint.c: New file.
194 * soft-fp/floatbitintsd.c: New file.
195 * soft-fp/floatbitintdd.c: New file.
196 * soft-fp/floatbitinttd.c: New file.
198 2023-09-06 Jakub Jelinek <jakub@redhat.com>
201 * soft-fp/bitintpow10.h: New file.
203 2023-09-05 Yang Yujie <yangyujie@loongson.cn>
205 * config.host: add loongarch*-elf target.
207 2023-08-11 Thomas Neumann <thomas.neumann@in.tum.de>
210 * unwind-dw2-fde.c: Associate object with address of unwinding
213 2023-08-07 John Ericson <git@JohnEricson.me>
215 * configure: Regenerate.
217 2023-08-07 Alan Modra <amodra@gmail.com>
219 * configure: Regenerate.
221 2023-07-23 Andrew Pinski <apinski@marvell.com>
223 * config.host (riscv*-*-linux*): Add t-crtstuff to tmake_file.
224 (riscv*-*-freebsd*): Likewise.
225 * config/riscv/t-crtstuff: New file.
227 2023-07-19 liuhongt <hongtao.liu@intel.com>
229 * config/i386/t-softfp: Add -msse2 to libbid HFtype related
232 2023-07-11 Florian Weimer <fweimer@redhat.com>
235 * unwind-dw2-fde-dip.c (find_fde_tail): Add cast to avoid
236 implicit conversion of pointer value to integer.
238 2023-07-06 Kito Cheng <kito.cheng@sifive.com>
240 * config/riscv/sfp-machine.h (FP_INIT_ROUNDMODE): Check zfinx.
241 (FP_HANDLE_EXCEPTIONS): Ditto.
243 2023-06-19 Andrew Stubbs <ams@codesourcery.com>
245 * config/gcn/lib2-divmod-di.c: Reimplement like lib2-divmod.c.
246 * config/gcn/lib2-divmod.c: Likewise.
247 * config/gcn/lib2-gcn.h: Add new types and prototypes for all the
249 * config/gcn/t-amdgcn: Add new files.
250 * config/gcn/amdgcn_veclib.h: New file.
251 * config/gcn/lib2-vec_divmod-di.c: New file.
252 * config/gcn/lib2-vec_divmod-hi.c: New file.
253 * config/gcn/lib2-vec_divmod-qi.c: New file.
254 * config/gcn/lib2-vec_divmod.c: New file.
256 2023-06-19 Andrew Stubbs <ams@codesourcery.com>
258 * config/gcn/lib2-gcn.h (QItype, UQItype, HItype, UHItype): Delete.
259 (__divhi3, __modhi3, __udivhi3, __umodhi3): Delete.
260 * config/gcn/t-amdgcn: Don't build lib2-divmod-hi.c.
261 * config/gcn/lib2-divmod-hi.c: Removed.
263 2023-06-07 Florian Weimer <fweimer@redhat.com>
266 * unwind-dw2-fde-dip.c (find_fde_tail): Correct fast path for
269 2023-06-05 Kewen Lin <linkw@linux.ibm.com>
271 * config/i386/morestack.S: Use @init_array rather than
272 @progbits for section type of section .init_array.
273 * config/rs6000/morestack.S: Likewise.
274 * config/s390/morestack.S: Likewise.
276 2023-06-05 YunQiang Su <yunqiang.su@cipunited.com>
278 * config/mips/lib1funcs.S: New file.
279 define __speculation_barrier and include mips16.S.
280 * config/mips/t-mips: define LIB1ASMSRC as mips/lib1funcs.S.
281 define LIB1ASMFUNCS as _speculation_barrier.
282 set version info for __speculation_barrier.
283 * config/mips/libgcc-mips.ver: New file.
284 * config/mips/t-mips16: don't define LIB1ASMSRC as mips16.S
285 included in lib1funcs.S now.
287 2023-06-03 Thomas Neumann <tneumann@users.sourceforge.net>
290 * unwind-dw2-fde.c: Fix radix sort buffer management.
292 2023-06-03 Thomas Neumann <tneumann@users.sourceforge.net>
295 * unwind-dw2-fde.c: Free sort array in atomic fast path.
297 2023-05-19 Iain Sandoe <iain@sandoe.co.uk>
299 * config.host: Arrange to set min Darwin OS versions from
300 the configured host version.
301 * config/darwin10-unwind-find-enc-func.c: Do not use current
302 headers, but declare the nexessary structures locally to the
303 versions in use for Mac OSX 10.6.
304 * config/t-darwin: Amend to handle configured min OS
306 * config/t-darwin-min-1: New.
307 * config/t-darwin-min-5: New.
308 * config/t-darwin-min-8: New.
310 2023-05-15 Thomas Neumann <tneumann@users.sourceforge.net>
312 * unwind-dw2-fde.c: Fix assert in non-atomic path.
314 2023-05-15 Sören Tempel <soeren+git@soeren-tempel.net>
316 * unwind-dw2-fde.c: Accept empty ranges when deregistering frames.
318 2023-05-02 Patrick O'Neill <patrick@rivosinc.com>
320 * config/riscv/atomic.c: Change LR.aq/SC.rl pairs into
321 sequentially consistent LR.aqrl/SC.rl pairs.
323 2023-05-01 Dimitar Dimitrov <dimitar@dinux.eu>
325 * config/pru/t-pru (HOST_LIBGCC2_CFLAGS): Add
326 -DTARGET_HAS_NO_HW_DIVIDE.
328 2023-04-27 Hans-Peter Nilsson <hp@axis.com>
330 * config/cris/t-cris (HOST_LIBGCC2_CFLAGS): Add
331 -DTARGET_HAS_NO_HW_DIVIDE.
333 2023-04-26 Patrick O'Neill <patrick@rivosinc.com>
336 * config/riscv/atomic.c: Add reference to duplicate logic.
338 2023-04-08 Tetsuma Hoshino <t-hoshino@pony-e.jp>
341 * config/v850/lib1funcs.S (___muldi3): Remove unnecessary
344 2023-04-05 John David Anglin <danglin@gcc.gnu.org>
347 * config/pa/milli64.S (RETURN_COLUMN): Define.
348 ($$divI): Add CFI directives.
353 2023-03-19 Stafford Horne <shorne@gmail.com>
355 * config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
356 statement clearing existing exceptions.
358 2023-03-13 Max Filippov <jcmvbkbc@gmail.com>
360 * config/xtensa/crti.S: Add .note.GNU-stack section on linux.
361 * config/xtensa/crtn.S: Likewise.
362 * config/xtensa/lib1funcs.S: Likewise.
363 * config/xtensa/lib2funcs.S: Likewise.
365 2023-03-12 Jakub Jelinek <jakub@redhat.com>
367 * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
368 (softfp_truncations): Add tfbf dfbf sfbf hfbf.
369 (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
370 * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
371 __extendbfsf2 and __trunc{s,d,t,h}fbf2.
372 * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
373 * soft-fp/floatundibf.c: New file.
374 * soft-fp/floatdibf.c: New file.
376 2023-03-10 Jakub Jelinek <jakub@redhat.com>
379 * soft-fp/floattibf.c: New file.
380 * soft-fp/floatuntibf.c: New file.
381 * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
382 * config/i386/64/t-softfp (softfp_extras): Add floattibf and
384 (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
386 2023-03-08 Kewen Lin <linkw@linux.ibm.com>
389 * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
392 2023-03-06 Michael Meissner <meissner@linux.ibm.com>
395 * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
396 whether long double is IBM or IEEE.
397 (INFINITY): Likewise.
399 * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
400 (INFINITY): Likewise.
401 * config/rs6000/quad-float128.h (TF): Remove definition.
402 (TFtype): Define to be long double or _Float128.
403 (TCtype): Define to be _Complex long double or _Complex _Float128.
404 * libgcc2.h (TFtype): Allow machine config files to override this.
406 * soft-fp/quad.h (TFtype): Likewise.
408 2023-02-13 Kito Cheng <kito.cheng@sifive.com>
410 * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
411 * config/riscv/value-unwind.h: New.
413 2023-02-03 Christophe Lyon <christophe.lyon@arm.com>
415 * config/arm/pr-support.c (__gnu_unwind_execute): Use
416 TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
418 2023-01-30 Flavio Cruz <flaviocruz@gmail.com>
420 * config.host: Recognize x86_64-*-gnu* targets.
421 * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
424 2023-01-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
426 * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
429 2023-01-23 Andrea Corallo <andrea.corallo@arm.com>
430 Tejas Belagod <tbelagod@arm.com>
431 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
433 * config/arm/pr-support.c (__gnu_unwind_execute): Decode
434 exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
436 * config/arm/unwind-arm.c (struct pseudo_regs): New.
437 (phase1_vrs): Introduce new field to store pseudo-reg state.
438 (phase2_vrs): Likewise.
439 (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
440 (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
441 (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
443 2023-01-18 Wilco Dijkstra <wilco.dijkstra@arm.com>
446 * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
447 * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
448 * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
449 encode the return address signing state.
450 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
451 Check current return address signing state.
452 (aarch64_frob_update_contex): Remove.
454 2023-01-13 John David Anglin <danglin@gcc.gnu.org>
456 * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
458 (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
459 instead of pa/t-hpux and pa/t-pa64.
460 * config/pa/linux-atomic.c: Define u32 type.
461 (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
462 atomic_load_2, atomic_load_4 and atomic_load_8. Update sync
463 defines to use atomic_load calls for type.
464 (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
465 * config/pa/sync-libfuncs.c: New file.
466 * config/pa/t-netbsd (LIB2ADD_ST): Define.
467 * config/pa/t-openbsd (LIB2ADD_ST): Define.
468 * config/pa/t-pa64-hpux: New file.
469 * config/pa/t-pa64-linux: New file.
471 2023-01-13 Jonathan Wakely <jwakely@redhat.com>
474 * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
475 struct matching the previous __gthread_mutex_t struct.
476 (__GTHREAD_LEGACY_MUTEX_T): Define.
478 2023-01-13 Seija Kijin <doremylover456@gmail.com>
480 * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
483 2023-01-07 LIU Hao <lh_mouse@126.com>
486 * config/i386/enable-execute-stack-mingw32.c: Define
487 `WIN32_LEAN_AND_MEAN` before <windows.h>.
488 * libgcc2.c: Likewise.
489 * unwind-generic.h: Likewise.
491 2023-01-03 Florian Weimer <fweimer@redhat.com>
493 * unwind-dw2-execute_cfa.h: New file. Extracted from
494 the execute_cfa_program function in unwind-dw2.c.
495 * unwind-dw2.c (execute_cfa_program_generic): New function.
496 (execute_cfa_program_specialized): Likewise.
497 (execute_cfa_program): Call execute_cfa_program_specialized
498 or execute_cfa_program_generic, as appropriate.
500 2023-01-03 Florian Weimer <fweimer@redhat.com>
503 2023-01-03 Florian Weimer <fweimer@redhat.com>
505 * unwind-dw2.c (dwarf_reg_size): New function.
506 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
507 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
508 (uw_init_context_1): Do not initialize dwarf_reg_size_table
511 2023-01-03 Florian Weimer <fweimer@redhat.com>
514 2023-01-03 Florian Weimer <fweimer@redhat.com>
516 * unwind-dw2-execute_cfa.h: New file. Extracted from
517 the execute_cfa_program function in unwind-dw2.c.
518 * unwind-dw2.c (execute_cfa_program_generic): New function.
519 (execute_cfa_program_specialized): Likewise.
520 (execute_cfa_program): Call execute_cfa_program_specialized
521 or execute_cfa_program_generic, as appropriate.
523 2023-01-02 Florian Weimer <fweimer@redhat.com>
525 * unwind-dw2-execute_cfa.h: New file. Extracted from
526 the execute_cfa_program function in unwind-dw2.c.
527 * unwind-dw2.c (execute_cfa_program_generic): New function.
528 (execute_cfa_program_specialized): Likewise.
529 (execute_cfa_program): Call execute_cfa_program_specialized
530 or execute_cfa_program_generic, as appropriate.
532 2023-01-02 Florian Weimer <fweimer@redhat.com>
534 * unwind-dw2.c (dwarf_reg_size): New function.
535 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
536 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
537 (uw_init_context_1): Do not initialize dwarf_reg_size_table
540 2022-12-25 Jonathan Yong <10walls@gmail.com>
542 * config/i386/gthr-win32.h: undef CC_NONE
544 2022-12-24 Iain Sandoe <iain@sandoe.co.uk>
546 * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
547 install of libgcc_s.1.dylib when the installation is into the build
550 2022-12-23 Eric Botcazou <ebotcazou@adacore.com>
552 * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
553 as well as new i386/t-slibgcc-mingw fragment.
554 (x86_64-*-mingw*): Likewise.
555 * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
556 both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
557 Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
558 Include stdlib.h instead of errno.h and do not include _mingw.h.
559 (CONST_CAST2): Add specific definition for C++.
560 (ATTRIBUTE_UNUSED): New macro.
561 (__UNUSED_PARAM): Delete.
562 Define WIN32_LEAN_AND_MEAN before including windows.h.
563 (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
564 (__gthread_objc_init_thread_system): Likewise.
565 (__gthread_objc_thread_get_data): Minor tweak.
566 (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
567 (__gthread_objc_condition_deallocate): Likewise.
568 (__gthread_objc_condition_wait): Likewise.
569 (__gthread_objc_condition_broadcast): Likewise.
570 (__gthread_objc_condition_signal): Likewise.
572 (__gthr_win32_DWORD): New typedef.
573 (__gthr_win32_HANDLE): Likewise.
574 (__gthr_win32_CRITICAL_SECTION): Likewise.
575 (__gthr_win32_CONDITION_VARIABLE): Likewise.
576 (__gthread_t): Adjust.
577 (__gthread_key_t): Likewise.
578 (__gthread_mutex_t): Likewise.
579 (__gthread_recursive_mutex_t): Likewise.
580 (__gthread_cond_t): New typedef.
581 (__gthread_time_t): Likewise.
582 (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
583 (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
584 (__GTHREAD_COND_INIT_FUNCTION): Define.
585 (__GTHREAD_TIME_INIT): Likewise.
586 (__gthr_i486_lock_cmp_xchg): Delete.
587 (__gthr_win32_create): Declare.
588 (__gthr_win32_join): Likewise.
589 (__gthr_win32_self): Likewise.
590 (__gthr_win32_detach): Likewise.
591 (__gthr_win32_equal): Likewise.
592 (__gthr_win32_yield): Likewise.
593 (__gthr_win32_mutex_destroy): Likewise.
594 (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
595 (__gthr_win32_cond_broadcast): Likewise.
596 (__gthr_win32_cond_signal): Likewise.
597 (__gthr_win32_cond_wait): Likewise.
598 (__gthr_win32_cond_timedwait): Likewise.
599 (__gthr_win32_recursive_mutex_init_function): Delete.
600 (__gthr_win32_recursive_mutex_lock): Likewise.
601 (__gthr_win32_recursive_mutex_unlock): Likewise.
602 (__gthr_win32_recursive_mutex_destroy): Likewise.
603 (__gthread_create): New inline function.
604 (__gthread_join): Likewise.
605 (__gthread_self): Likewise.
606 (__gthread_detach): Likewise.
607 (__gthread_equal): Likewise.
608 (__gthread_yield): Likewise.
609 (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
610 (__gthread_cond_broadcast): Likewise.
611 (__gthread_cond_signal): Likewise.
612 (__gthread_cond_wait): Likewise.
613 (__gthread_cond_timedwait): Likewise.
614 (__GTHREAD_WIN32_INLINE): New macro.
615 (__GTHREAD_WIN32_COND_INLINE): Likewise.
616 (__GTHREAD_WIN32_ACTIVE_P): Likewise.
617 Define WIN32_LEAN_AND_MEAN before including windows.h.
618 (__gthread_once): Minor tweaks.
619 (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
620 (__gthread_key_delete): Minor tweak.
621 (__gthread_getspecific): Likewise.
622 (__gthread_setspecific): Likewise.
623 (__gthread_mutex_init_function): Reimplement.
624 (__gthread_mutex_destroy): Likewise.
625 (__gthread_mutex_lock): Likewise.
626 (__gthread_mutex_trylock): Likewise.
627 (__gthread_mutex_unlock): Likewise.
628 (__gthr_win32_abs_to_rel_time): Declare.
629 (__gthread_recursive_mutex_init_function): Reimplement.
630 (__gthread_recursive_mutex_destroy): Likewise.
631 (__gthread_recursive_mutex_lock): Likewise.
632 (__gthread_recursive_mutex_trylock): Likewise.
633 (__gthread_recursive_mutex_unlock): Likewise.
634 (__gthread_cond_destroy): New inline function.
635 (__gthread_cond_wait_recursive): Likewise.
636 * config/i386/gthr-win32.c: Delete everything.
637 Include gthr-win32.h to get the out-of-line version of inline routines.
638 Add compile-time checks for the local version of the Win32 types.
639 * config/i386/gthr-win32-cond.c: New file.
640 * config/i386/gthr-win32-thread.c: Likewise.
641 * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
642 EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
643 the static version of libgcc.
644 * config/i386/t-slibgcc-mingw: New file.
645 * config/i386/libgcc-mingw.ver: Likewise.
647 2022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
649 * unwind-dw2-fde.c: Initialize fde object lazily when
650 the first exception tries to pass through.
652 2022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
654 * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
656 2022-12-08 Max Filippov <jcmvbkbc@gmail.com>
658 * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
659 (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
660 (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
661 (XSHAL_ABI): Remove stray symbols from macro definitions.
663 2022-12-07 Max Filippov <jcmvbkbc@gmail.com>
665 * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
666 xtensa-config-builtin.h.
667 * config/xtensa/crtn.S: Likewise.
668 * config/xtensa/lib1funcs.S: Likewise.
669 * config/xtensa/lib2funcs.S: Likewise.
670 * config/xtensa/xtensa-config-builtin.h: New File.
672 2022-11-04 Florian Weimer <fweimer@redhat.com>
674 * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
675 values actually used by BFD ld.
677 2022-10-23 LIU Hao <lh_mouse@126.com>
679 * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
680 libobjc, instead of 'gthr.h'
682 2022-10-19 LIU Hao <lh_mouse@126.com>
684 * config.host: Add new cases for `mcf` thread model
685 * config/i386/gthr-mcf.h: New file
686 * config/i386/t-mingw-mcfgthread: New file
687 * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
688 * configure: Regenerate
690 2022-10-18 Jonathan Wakely <jwakely@redhat.com>
692 * Makefile.in: Quote variable.
694 2022-10-17 H.J. Lu <hjl.tools@gmail.com>
696 * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
698 * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
699 _Unwind_Frames_Increment.
700 (_Unwind_ForcedUnwind_Phase2): Likewise.
701 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
702 Take the EXC argument. Return _URC_FATAL_PHASE2_ERROR if the
703 return address on normal stack doesn't match the return address
706 2022-10-17 Florian Weimer <fweimer@redhat.com>
708 * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
711 2022-10-14 Jakub Jelinek <jakub@redhat.com>
713 * config/i386/t-softfp (softfp_extensions): Add bfsf.
714 (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
715 (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
716 CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
718 * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
719 __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
720 * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
721 * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
722 * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
723 * soft-fp/brain.h: New file.
724 * soft-fp/truncsfbf2.c: New file.
725 * soft-fp/truncdfbf2.c: New file.
726 * soft-fp/truncxfbf2.c: New file.
727 * soft-fp/trunctfbf2.c: New file.
728 * soft-fp/trunchfbf2.c: New file.
729 * soft-fp/truncbfhf2.c: New file.
730 * soft-fp/extendbfsf2.c: New file.
732 2022-10-12 Martin Liska <mliska@suse.cz>
734 * libgcov-driver.c: Use new function.
735 * libgcov.h (gcov_write_summary): Rename to ...
736 (gcov_write_object_summary): ... this.
738 2022-10-11 Olivier Hainque <hainque@adacore.com>
740 * config.host (*vxworks*): When enable_shared, add
741 libgcc and crtstuff "shared" fragments for rtp except
743 (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
744 the list of fragments.
746 2022-10-06 Jakub Jelinek <jakub@redhat.com>
748 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
749 fs->regs.how[X] instead of fs->regs.reg[X].how.
751 2022-10-06 Jakub Jelinek <jakub@redhat.com>
753 * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
754 REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
755 REG_UNDEFINED): New anonymous enum, moved from inside of
756 struct frame_state_reg_info.
757 (struct frame_state_reg_info): Remove reg[].how element and the
758 anonymous enum there. Add how element.
759 * unwind-dw2.c: Include stddef.h.
760 (uw_frame_state_for): Don't clear first
761 offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
762 (execute_cfa_program, __frame_state_for, uw_update_context_1,
763 uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
764 or fs.regs.how[X] instead of fs.regs.reg[X].how.
765 * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
766 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
767 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
768 * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
769 UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
771 * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
773 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
774 * config/arc/linux-unwind.h (arc_fallback_frame_state,
775 arc_frob_update_context): Likewise.
776 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
777 * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
778 * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
779 * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
780 * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
781 * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
782 MD_FALLBACK_FRAME_STATE_FOR): Likewise.
783 * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
784 sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
785 * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
786 x86_fallback_frame_state): Likewise.
787 * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
788 * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
789 x86_fallback_frame_state): Likewise.
790 * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
792 * config/i386/dragonfly-unwind.h
793 (x86_64_dragonfly_fallback_frame_state): Likewise.
794 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
795 * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
796 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
798 * config/aarch64/freebsd-unwind.h
799 (aarch64_freebsd_fallback_frame_state): Likewise.
800 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
802 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
803 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
804 * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
806 * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
807 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
809 * config/rs6000/darwin-fallback.c (set_offset): Likewise.
810 * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
811 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
812 * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
814 2022-10-02 Olivier Hainque <hainque@adacore.com>
816 * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment. Move
817 -I options for gcc/include and gcc/include-fixed at the end
818 and make them -isystem.
820 2022-10-02 Olivier Hainque <hainque@adacore.com>
822 * config/gthr-vxworks.h: Prevent Wpragma warning for the
823 pragma diagnostics on Wstrict-prototypes.
825 2022-09-29 Olivier Hainque <hainque@adacore.com>
827 * config/vxcrtstuff.c: Improve the comment attached to the use
828 of auto-host.h and of __dso_handle. Remove redundant guard on
829 HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
831 2022-09-26 Thomas Neumann <tneumann@users.sourceforge.net>
833 * unwind-dw2-fde.c: Introduce a constant for in_shutdown
834 for the non-fast-path case. Drop destructor priority.
836 2022-09-22 Thomas Neumann <tneumann@users.sourceforge.net>
838 * unwind-dw2-fde.c: (release_register_frames) Remember
839 when the btree has been destroyed.
840 (__deregister_frame_info_bases) Disable the assert when
843 2022-09-18 Thomas Neumann <tneumann@users.sourceforge.net>
845 * unwind-dw2-fde.c: Replace uintptr_t with typedef
846 for __UINTPTR_TYPE__.
847 * unwind-dw2-btree.h: Likewise.
849 2022-09-16 Thomas Neumann <tneumann@users.sourceforge.net>
851 * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
852 (__register_frame_info_table_bases): Use btree in atomic fast path.
853 (__deregister_frame_info_bases): Likewise.
854 (_Unwind_Find_FDE): Likewise.
855 (base_from_object): Make parameter const.
856 (classify_object_over_fdes): Add query-only mode.
857 (get_pc_range): Compute PC range for lookup.
858 * unwind-dw2-fde.h (last_fde): Make parameter const.
859 * unwind-dw2-btree.h: New file.
861 2022-08-31 Martin Liska <mliska@suse.cz>
863 * config.host: Remove hppa.
865 2022-08-30 Martin Liska <mliska@suse.cz>
867 * config.host: Remove the port.
869 2022-08-26 Martin Liska <mliska@suse.cz>
871 * config.host: Remove cr16 related stuff.
872 * config/cr16/crti.S: Removed.
873 * config/cr16/crtlibid.S: Removed.
874 * config/cr16/crtn.S: Removed.
875 * config/cr16/divmodhi3.c: Removed.
876 * config/cr16/lib1funcs.S: Removed.
877 * config/cr16/t-cr16: Removed.
878 * config/cr16/t-crtlibid: Removed.
879 * config/cr16/unwind-cr16.c: Removed.
880 * config/cr16/unwind-dw2.h: Removed.
882 2022-08-16 Kito Cheng <kito.cheng@sifive.com>
884 * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
885 (_FP_NANFRAC_H): Ditto.
886 (_FP_NANSIGN_H): Ditto.
887 * config/riscv/t-softfp32 (softfp_extensions): Add HF related
889 (softfp_truncations): Ditto.
890 (softfp_extras): Ditto.
891 * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
893 2022-08-16 Kito Cheng <kito.cheng@sifive.com>
895 * soft-fp/fixhfdi.c: New.
896 * soft-fp/fixhfsi.c: Likewise.
897 * soft-fp/fixunshfdi.c: Likewise.
898 * soft-fp/fixunshfsi.c: Likewise.
899 * soft-fp/floatdihf.c: Likewise.
900 * soft-fp/floatsihf.c: Likewise.
901 * soft-fp/floatundihf.c: Likewise.
902 * soft-fp/floatunsihf.c: Likewise.
903 * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
904 lines and update URL for license.
905 * soft-fp/addsf3.c: Likewise.
906 * soft-fp/addtf3.c: Likewise.
907 * soft-fp/divdf3.c: Likewise.
908 * soft-fp/divsf3.c: Likewise.
909 * soft-fp/divtf3.c: Likewise.
910 * soft-fp/double.h: Likewise.
911 * soft-fp/eqdf2.c: Likewise.
912 * soft-fp/eqhf2.c: Likewise.
913 * soft-fp/eqsf2.c: Likewise.
914 * soft-fp/eqtf2.c: Likewise.
915 * soft-fp/extenddftf2.c: Likewise.
916 * soft-fp/extended.h: Likewise.
917 * soft-fp/extendhfdf2.c: Likewise.
918 * soft-fp/extendhfsf2.c: Likewise.
919 * soft-fp/extendhftf2.c: Likewise.
920 * soft-fp/extendhfxf2.c: Likewise.
921 * soft-fp/extendsfdf2.c: Likewise.
922 * soft-fp/extendsftf2.c: Likewise.
923 * soft-fp/extendxftf2.c: Likewise.
924 * soft-fp/fixdfdi.c: Likewise.
925 * soft-fp/fixdfsi.c: Likewise.
926 * soft-fp/fixdfti.c: Likewise.
927 * soft-fp/fixhfti.c: Likewise.
928 * soft-fp/fixsfdi.c: Likewise.
929 * soft-fp/fixsfsi.c: Likewise.
930 * soft-fp/fixsfti.c: Likewise.
931 * soft-fp/fixtfdi.c: Likewise.
932 * soft-fp/fixtfsi.c: Likewise.
933 * soft-fp/fixtfti.c: Likewise.
934 * soft-fp/fixunsdfdi.c: Likewise.
935 * soft-fp/fixunsdfsi.c: Likewise.
936 * soft-fp/fixunsdfti.c: Likewise.
937 * soft-fp/fixunshfti.c: Likewise.
938 * soft-fp/fixunssfdi.c: Likewise.
939 * soft-fp/fixunssfsi.c: Likewise.
940 * soft-fp/fixunssfti.c: Likewise.
941 * soft-fp/fixunstfdi.c: Likewise.
942 * soft-fp/fixunstfsi.c: Likewise.
943 * soft-fp/fixunstfti.c: Likewise.
944 * soft-fp/floatdidf.c: Likewise.
945 * soft-fp/floatdisf.c: Likewise.
946 * soft-fp/floatditf.c: Likewise.
947 * soft-fp/floatsidf.c: Likewise.
948 * soft-fp/floatsisf.c: Likewise.
949 * soft-fp/floatsitf.c: Likewise.
950 * soft-fp/floattidf.c: Likewise.
951 * soft-fp/floattihf.c: Likewise.
952 * soft-fp/floattisf.c: Likewise.
953 * soft-fp/floattitf.c: Likewise.
954 * soft-fp/floatundidf.c: Likewise.
955 * soft-fp/floatundisf.c: Likewise.
956 * soft-fp/floatunditf.c: Likewise.
957 * soft-fp/floatunsidf.c: Likewise.
958 * soft-fp/floatunsisf.c: Likewise.
959 * soft-fp/floatunsitf.c: Likewise.
960 * soft-fp/floatuntidf.c: Likewise.
961 * soft-fp/floatuntihf.c: Likewise.
962 * soft-fp/floatuntisf.c: Likewise.
963 * soft-fp/floatuntitf.c: Likewise.
964 * soft-fp/gedf2.c: Likewise.
965 * soft-fp/gesf2.c: Likewise.
966 * soft-fp/getf2.c: Likewise.
967 * soft-fp/half.h: Likewise.
968 * soft-fp/ledf2.c: Likewise.
969 * soft-fp/lesf2.c: Likewise.
970 * soft-fp/letf2.c: Likewise.
971 * soft-fp/muldf3.c: Likewise.
972 * soft-fp/mulsf3.c: Likewise.
973 * soft-fp/multf3.c: Likewise.
974 * soft-fp/negdf2.c: Likewise.
975 * soft-fp/negsf2.c: Likewise.
976 * soft-fp/negtf2.c: Likewise.
977 * soft-fp/op-1.h: Likewise.
978 * soft-fp/op-2.h: Likewise.
979 * soft-fp/op-4.h: Likewise.
980 * soft-fp/op-8.h: Likewise.
981 * soft-fp/op-common.h: Likewise.
982 * soft-fp/quad.h: Likewise.
983 * soft-fp/single.h: Likewise.
984 * soft-fp/soft-fp.h: Likewise.
985 * soft-fp/subdf3.c: Likewise.
986 * soft-fp/subsf3.c: Likewise.
987 * soft-fp/subtf3.c: Likewise.
988 * soft-fp/truncdfhf2.c: Likewise.
989 * soft-fp/truncdfsf2.c: Likewise.
990 * soft-fp/truncsfhf2.c: Likewise.
991 * soft-fp/trunctfdf2.c: Likewise.
992 * soft-fp/trunctfhf2.c: Likewise.
993 * soft-fp/trunctfsf2.c: Likewise.
994 * soft-fp/trunctfxf2.c: Likewise.
995 * soft-fp/truncxfhf2.c: Likewise.
996 * soft-fp/unorddf2.c: Likewise.
997 * soft-fp/unordsf2.c: Likewise.
998 * soft-fp/unordtf2.c: Likewise.
1000 2022-07-18 Claudiu Zissulescu <claziss@synopsys.com>
1002 * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
1003 * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
1006 2022-06-25 Jeff Law <jeffreyalaw@gmail.com>
1008 * config.host: Removed tilegx and tilepro entries.
1009 * config/tilegx/sfp-machine.h: Removed.
1010 * config/tilegx/sfp-machine32.h: Removed.
1011 * config/tilegx/sfp-machine64.h: Removed.
1012 * config/tilegx/t-crtstuff: Removed.
1013 * config/tilegx/t-softfp: Removed.
1014 * config/tilegx/t-tilegx: Removed.
1015 * config/tilepro/atomic.c: Removed.
1016 * config/tilepro/atomic.h: Removed.
1017 * config/tilepro/linux-unwind.h: Removed.
1018 * config/tilepro/sfp-machine.h: Removed.
1019 * config/tilepro/softdivide.c: Removed.
1020 * config/tilepro/softmpy.S: Removed.
1021 * config/tilepro/t-crtstuff: Removed.
1022 * config/tilepro/t-tilepro: Removed.
1024 2022-06-09 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
1026 * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
1027 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
1029 2022-06-01 H.J. Lu <hjl.tools@gmail.com>
1032 * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
1034 2022-05-25 Wilco Dijkstra <wilco.dijkstra@arm.com>
1037 * config/aarch64/lse-init.c: Increase constructor priority.
1039 2022-05-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1042 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1043 Handle the !REG_UNSAVED case.
1044 * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
1046 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
1048 * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
1049 (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
1050 (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
1052 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
1054 * config.host: Add t-dfprules to AArch64 targets.
1056 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
1058 * configure: Regenerate.
1060 2022-05-13 Sebastian Pop <spop@amazon.com>
1063 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
1064 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
1066 2022-05-10 Martin Liska <mliska@suse.cz>
1067 Hans-Peter Helfert <peter-helfert@t-online.de>
1069 PR gcov-profile/105535
1070 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
1073 2022-05-02 Martin Liska <mliska@suse.cz>
1075 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
1077 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1079 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
1080 (gcov_profile_merge_stream): Likewise.
1082 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1084 * libgcov-util.c (consume_stream): New.
1085 (get_target_profiles_for_merge): Likewise.
1086 (gcov_profile_merge_stream): Likewise.
1088 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1090 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
1092 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1094 * libgcov-util.c (read_gcda_file): Do not open file.
1095 (ftw_read_file): Open file here.
1097 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1099 * libgcov-util.c (read_gcda_file): Prepend new info object to global
1101 (ftw_read_file): Remove list append here.
1103 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1105 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
1106 (ftw_read_file): Duplicate filename for read_gcda_file().
1108 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1110 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
1111 (__gcov_filename_to_gcfn): Declare and document.
1112 * libgcov-driver.c (dump_string): New.
1113 (__gcov_filename_to_gcfn): Likewise.
1114 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
1116 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1118 * libgcov.h (gcov_seek): Remove define and declaration.
1120 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1122 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
1123 parameter. Pass mode to gcov_open() calls.
1124 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
1125 gcov_exit_open_gcda_file() call.
1126 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
1128 (__gcov_dump_one): Open file for reading and writing.
1130 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1132 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
1133 reading and writing.
1134 * libgcov-util.c (read_gcda_file): Open file for reading.
1135 * libgcov.h (gcov_open): Delete declaration.
1137 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1139 * libgcov-util.c (gcov_profile_merge): Return the list of merged
1140 profiles. Accept empty target and source profile lists.
1142 2022-04-08 Sergei Trofimovich <siarheit@google.com>
1144 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
1146 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
1147 Lulu Cheng <chenglulu@loongson.cn>
1149 * configure: Regenerate file.
1151 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
1152 Lulu Cheng <chenglulu@loongson.cn>
1154 * config/loongarch/crtfastmath.c: New file.
1155 * config/loongarch/linux-unwind.h: Like wise.
1156 * config/loongarch/sfp-machine.h: Like wise.
1157 * config/loongarch/t-crtstuff: Like wise.
1158 * config/loongarch/t-loongarch: Like wise.
1159 * config/loongarch/t-loongarch64: Like wise.
1160 * config/loongarch/t-softfp-tf: Like wise.
1161 * config.host: Add LoongArch tuples.
1162 * configure.ac: Add LoongArch support.
1164 2022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
1167 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
1169 (__udivsi3_internal, __divsi3_internal): Similarly.
1170 (__umodsi3, __modsi3): Use the internal function names.
1172 2022-03-09 Tobias Burnus <tobias@codesourcery.com>
1175 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
1176 a line up to non-arg-dependent value first.
1177 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
1178 __atomic_compare_exchange_{1,2}.
1180 2022-03-04 Iain Sandoe <iain@sandoe.co.uk>
1182 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
1183 * config/t-darwin-ehs: Add dependency on unwind.h.
1185 2022-02-24 Xi Ruoyao <xry111@mengyan1223.wang>
1187 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
1188 with 0 instead of NULL.
1190 2022-02-24 Jose E. Marchesi <jose.marchesi@oracle.com>
1193 * configure.ac: --disable-gcov if targetting bpf-*.
1194 * configure: Regenerate.
1196 2022-01-25 Florian Weimer <fweimer@redhat.com>
1199 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
1201 2022-01-17 Martin Liska <mliska@suse.cz>
1203 * libgcov-driver.c: Rename .c names to .cc.
1205 2022-01-15 David <gccbugzilla@limegreensocks.com>
1207 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
1208 Remove inlined version, Windows 95 is no longer relevant.
1209 * config/i386/gthr-win32.h
1210 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
1212 2022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
1214 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
1215 DWARF_ALT_FRAME_RETURN_COLUMN macro.
1217 2022-01-04 Florian Weimer <fweimer@redhat.com>
1219 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
1222 2022-01-02 John David Anglin <danglin@gcc.gnu.org>
1224 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
1225 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
1226 return is not equal _ASM_EFAULT.
1227 (__kernel_cmpxchg2): Likewise.
1229 2021-12-17 Iain Sandoe <iain@sandoe.co.uk>
1231 * config.host: Add shim declaration header to powerpc*-darwin builds.
1232 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
1234 * config/t-darwin-ehs: Add dependencies to the shared unwinder
1236 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
1237 the shared EH lib. Add all-multi to the dependencies for the
1238 libgcc_s.1.dylib redirections.
1240 2021-12-13 Olivier Hainque <hainque@adacore.com>
1242 * config.host (powerpc*-*-vxworks7*): Remove
1243 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
1245 2021-12-13 Olivier Hainque <hainque@adacore.com>
1247 * config.host (*vxworks*): Remove special case for
1248 arm on the use of vxcrtstuff.
1250 2021-12-13 Fred Konrad <konrad@adacore.com>
1251 Olivier Hainque <hainque@adacore.com>
1253 * config/t-vxcrtstuffS: New Makefile fragment.
1254 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
1255 functions for INITFINI_ARRAY support in shared libs and guard
1256 the definition of eh table registration functions on conditions
1257 indicating they are needed.
1259 2021-12-13 Olivier Hainque <hainque@adacore.com>
1261 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
1262 ahead of the other files in tmake_files.
1263 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
1266 2021-12-13 Olivier Hainque <hainque@adacore.com>
1268 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
1269 both VxWorks7 and earlier.
1270 * config/t-vxworks7: Remove.
1271 * config.host: Remove special case for vxworks7.
1273 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1275 * config/vxcrtstuff.c: Make constructor and destructor
1276 functions static when possible.
1278 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1280 * config/vxcrtstuff.c: Remove constructor/destructor
1283 2021-12-10 Iain Sandoe <iain@sandoe.co.uk>
1285 * config/t-darwin: Add libgcc_tm.h to the dependencies
1286 for darwin10-unwind-find-enc-func.
1288 2021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1290 * config/rs6000/t-vxworks: New file.
1291 * config.host (powerpc*-*-vxworks*): Use it instead of
1294 2021-12-09 Fred Konrad <konrad@adacore.com>
1296 * config.host (powerpc*-wrs-vxworks7*): Fix path to
1297 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
1299 2021-12-09 Olivier Hainque <hainque@adacore.com>
1300 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1302 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
1303 $(LIBGCC2_INCLUDES).
1304 * config/t-vxworks7: Likewise.
1306 2021-12-08 Iain Sandoe <iain@sandoe.co.uk>
1308 * config.host (*-*-darwin*): Add logic to build a shared
1309 unwinder library for Darwin8-10.
1310 * config/i386/t-darwin: Build legacy libgcc_s.1.
1311 * config/rs6000/t-darwin: Likewise.
1312 * config/t-darwin: Reorganise the EH fragments to place
1313 them for inclusion in a shared EH lib.
1314 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
1315 the supporting pieces (all FAT libs).
1316 * config/t-darwin-noeh: Removed.
1317 * config/darwin-unwind.ver: New file.
1318 * config/rs6000/t-darwin-ehs: New file.
1319 * config/t-darwin-ehs: New file.
1321 2021-12-06 Nelson Chu <nelson.chu@sifive.com>
1323 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
1324 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
1325 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
1328 2021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1330 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
1331 ssize_t and vfork after including auto-host.h.
1333 2021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1335 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
1336 crtend.o to extra_parts.
1338 2021-11-27 John David Anglin <danglin@gcc.gnu.org>
1340 * config/pa/t-dimode (lib2difuncs): Fix typo.
1342 2021-11-25 Florian Weimer <fweimer@redhat.com>
1344 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
1346 (find_fde_tail): New function. Split from
1347 _Unwind_IteratePhdrCallback. Move the result initialization
1348 from _Unwind_Find_FDE.
1349 (_Unwind_Find_FDE): Updated to call find_fde_tail.
1351 2021-11-22 Florian Weimer <fweimer@redhat.com>
1353 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
1354 (struct unw_eh_callback_data): Make dbase member conditional.
1355 (unw_eh_callback_data_dbase): New function.
1356 (base_from_cb_data): Simplify for the non-dbase case.
1357 (_Unwind_IteratePhdrCallback): Adjust.
1358 (_Unwind_Find_FDE): Likewise.
1360 2021-11-22 Florian Weimer <fweimer@redhat.com>
1362 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
1364 (base_from_cb_data): Adjust.
1365 (_Unwind_IteratePhdrCallback): Likewise.
1366 (_Unwind_Find_FDE): Likewise.
1368 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1370 * config.host: Add weak emutls crt to the extra_parts.
1371 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
1373 * config/libgcc-libsystem.ver: Add exclude list for the system-
1375 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
1376 * config/i386/libgcc-darwin.10.4.ver: Removed.
1377 * config/i386/libgcc-darwin.10.5.ver: Removed.
1378 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
1379 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
1380 * config/t-darwin-noeh: New file.
1382 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1384 * config/t-darwin: Build weak-defined emutls objects.
1385 * emutls.c (__emutls_get_address): Add optional attributes.
1386 (__emutls_register_common): Likewise.
1389 2021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1392 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
1393 called with a null argument or at the end of the backtrace and return.
1394 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
1396 2021-11-10 Jakub Jelinek <jakub@redhat.com>
1398 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
1401 2021-11-05 Iain Sandoe <iain@sandoe.co.uk>
1403 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
1404 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
1406 2021-11-05 John David Anglin <danglin@gcc.gnu.org>
1409 * config.host (hppa*64*-*-linux*): Revise tmake_file.
1410 (hppa*64*-*-hpux11*): Likewise.
1411 * config/pa/sfp-exceptions.c: New.
1412 * config/pa/sfp-machine.h: New.
1413 * config/pa/t-dimode: New.
1414 * config/pa/t-softfp-sfdftf: New.
1416 2021-10-27 John David Anglin <danglin@gcc.gnu.org>
1418 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
1420 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
1421 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
1422 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
1423 * config/pa/t-linux64 (LIB1ASMSRC): New define.
1424 (LIB1ASMFUNCS): Revise.
1425 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
1427 2021-10-22 Stafford Horne <shorne@gmail.com>
1429 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1432 2021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1434 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
1435 outside of get_regs() in order to use it in another function, this
1436 is done twice: for __powerpc64__ and for !__powerpc64__.
1437 (struct trace_arg): New struct.
1438 (struct layout): New struct.
1439 (ppc_backchain_fallback): New function.
1440 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
1441 state and call MD_BACKCHAIN_FALLBACK.
1443 2021-10-13 Martin Liska <mliska@suse.cz>
1445 PR gcov-profile/90364
1446 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
1448 (write_one_data): Write also checksum.
1449 * libgcov-util.c (read_gcda_file): Read also checksum field.
1450 * libgcov.h (struct gcov_info): Add new field.
1452 2021-10-08 Ian Lance Taylor <iant@golang.org>
1454 * config/i386/morestack.S: Use .init_array for constructor if
1456 * config/rs6000/morestack.S: Likewise.
1457 * config/s390/morestack.S: Likewise.
1459 2021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1462 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
1463 Use more correct values for native IBM 128-bit.
1465 2021-09-28 Iain Sandoe <iain@sandoe.co.uk>
1467 * config/i386/libgcc-darwin.ver: Add Symbols for
1468 __cpu_model, __cpu_indicator_init.
1470 2021-09-22 Iain Sandoe <iain@sandoe.co.uk>
1472 * config/i386/sfp-machine.h: Guard Mach-O-specific code
1475 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1477 * config/t-slibgcc-darwin: Delete unused code.
1479 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1481 * config/i386/t-darwin: Add in a vers file for X86-specific
1483 * config/t-darwin: Add the generic symbol maps here...
1484 * config/t-slibgcc-darwin: ... removing from here.
1485 * config/i386/libgcc-darwin.ver: New file.
1487 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1489 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
1492 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1494 * config.host: Use convenience library for Darwin10
1496 * config/t-darwin: Build Darwin10 unwinder shim as a
1497 convenience library.
1499 2021-09-13 Andrew Pinski <apinski@marvell.com>
1501 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
1502 * config/m32r/libgcc-glibc.ver: Removed.
1503 * config/m32r/t-linux: Removed.
1505 2021-09-08 liuhongt <hongtao.liu@intel.com>
1507 * config/i386/t-softfp: Compile __{mul,div}hc3 into
1510 2021-09-08 Jakub Jelinek <jakub@redhat.com>
1511 Iain Sandoe <iain@sandoe.co.uk>
1513 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
1514 and export *hf* and *hc* functions at GCC_12.0.0.
1516 2021-09-06 liuhongt <hongtao.liu@intel.com>
1518 * Makefile.in: Adjust to support specific CFLAGS for each
1520 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
1521 related libgcc source files.
1522 * config/i386/t-softfp: Ditto.
1523 * config/i386/_divhc3.c: New file.
1524 * config/i386/_mulhc3.c: New file.
1526 2021-09-03 Iain Sandoe <iain@sandoe.co.uk>
1528 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
1529 alias_DFtype, alias_TFtype): New.
1530 (ALIAS_SELECTOR): New.
1531 (strong_alias): Use __typeof and a _Generic selector to
1532 provide the type to the synthesized function.
1534 2021-09-02 liuhongt <hongtao.liu@intel.com>
1536 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
1537 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
1538 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
1539 * config/i386/t-softfp: Add hf soft-fp.
1540 * config.host: Add i386/64/t-softfp.
1541 * config/i386/64/t-softfp: New file.
1543 2021-09-02 liuhongt <hongtao.liu@intel.com>
1545 * soft-fp/eqhf2.c: New file.
1546 * soft-fp/extendhfdf2.c: New file.
1547 * soft-fp/extendhfsf2.c: New file.
1548 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
1549 * soft-fp/truncdfhf2.c: New file
1550 * soft-fp/truncsfhf2.c: New file
1552 2021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
1554 * unwind-arm-common.inc (abort): Remove.
1556 2021-08-31 Richard Sandiford <richard.sandiford@arm.com>
1558 * config/aarch64/value-unwind.h: Add missing runtime exception
1560 * config/frv/frv-abi.h: Likewise.
1561 * config/i386/value-unwind.h: Likewise.
1562 * config/pa/pa64-hpux-lib.h: Likewise.
1564 2021-08-26 David Edelsohn <dje.gcc@gmail.com>
1566 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
1568 (__gcc_qadd): Call ldouble_qadd_internal.
1569 (__gcc_qsub): Call ldouble_qadd_internal with second long double
1572 2021-08-26 Jonathan Yong <10walls@gmail.com>
1574 * config/i386/cygming-crtend.c: Fix register_frame_ctor
1575 and register_frame_dtor warnings.
1577 2021-08-24 Richard Earnshaw <rearnsha@arm.com>
1580 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
1581 Add vlldm erratum work-around.
1583 2021-08-21 John David Anglin <danglin@gcc.gnu.org>
1585 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
1587 2021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
1589 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
1590 (gcov_type_unsigned): Likewise.
1592 2021-08-14 Stafford Horne <shorne@gmail.com>
1595 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
1596 * config/or1k/t-crtstuff: New file.
1598 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1600 * libgcov-driver.c (#include <stdint.h>): Remove.
1601 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
1603 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1605 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
1606 * gcov.h (gcov_info): Declare.
1607 (__gcov_info_to_gdca): Likewise.
1608 * libgcov.h (gcov_write_counter): Remove.
1609 (gcov_write_tag_length): Likewise.
1610 * libgcov-driver.c (#include <stdint.h>): New.
1611 (#include <string.h>): Remove.
1612 (NEED_L_GCOV): Conditionally define.
1613 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
1614 (are_all_counters_zero): New.
1615 (gcov_dump_handler): Likewise.
1616 (gcov_allocate_handler): Likewise.
1617 (dump_unsigned): Likewise.
1618 (dump_counter): Likewise.
1619 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
1620 Use dump_unsigned() and dump_counter().
1621 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
1622 dump_unsigned(), dump_counter(), and are_all_counters_zero().
1623 (__gcov_info_to_gcda): New.
1625 2021-08-05 Jakub Jelinek <jakub@redhat.com>
1627 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
1628 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
1629 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
1630 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
1632 2021-08-04 Jakub Jelinek <jakub@redhat.com>
1634 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
1636 2021-07-15 Alan Modra <amodra@gmail.com>
1638 * config/rs6000/morestack.S (R2_SAVE): Define.
1639 (__morestack): Save and restore r2. Set up r2 for called
1642 2021-07-01 H.J. Lu <hjl.tools@gmail.com>
1644 * soft-fp/extendhfxf2.c: New file.
1645 * soft-fp/truncxfhf2.c: Likewise.
1647 2021-06-29 Julian Brown <julian@codesourcery.com>
1649 * config/gcn/lib2-bswapti2.c: New file.
1650 * config/gcn/lib2-divmod-di.c: New file.
1651 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
1653 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
1654 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
1657 2021-06-29 Julian Brown <julian@codesourcery.com>
1659 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
1660 return types to USItype.
1661 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
1663 2021-06-23 Kewen Lin <linkw@linux.ibm.com>
1665 * configure: Regenerate.
1666 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
1667 typos among the name, CFLAGS and the test.
1668 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
1669 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
1671 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
1672 macro FLOAT128_HW_INSNS_ISA3_1.
1673 (FP128_3_1_CFLAGS_HW): Fix option typo.
1674 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
1675 FLOAT128_HW_INSNS_ISA3_1.
1676 (__floattikf_resolve): Likewise.
1677 (__floatuntikf_resolve): Likewise.
1678 (__fixkfti_resolve): Likewise.
1679 (__fixunskfti_resolve): Likewise.
1680 (__floattikf): Likewise.
1681 (__floatuntikf): Likewise.
1682 (__fixkfti): Likewise.
1683 (__fixunskfti): Likewise.
1685 2021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1688 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
1690 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
1691 on passing -mcmse option.
1693 2021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
1695 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
1698 2021-06-09 Carl Love <cel@us.ibm.com>
1700 * config.host: Add if test and set for
1701 libgcc_cv_powerpc_3_1_float128_hw.
1702 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
1703 Change calls of __fixkfti to __fixkfti_sw.
1704 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
1705 Change calls of __fixunskfti to __fixunskfti_sw.
1706 * config/rs6000/float128-p10.c (__floattikf_hw,
1707 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
1708 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
1709 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
1710 __fixunskfti_resolve): Add resolve functions.
1711 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
1712 * config/rs6000/float128-sed (floattitf, __floatuntitf,
1713 __fixtfti, __fixunstfti): Add editor commands to change names.
1714 * config/rs6000/float128-sed-hw (__floattitf,
1715 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
1717 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
1718 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
1719 * config/rs6000/quad-float128.h (__floattikf_sw,
1720 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
1721 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
1722 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
1723 * config/rs6000/t-float128 (floattikf, floatuntikf,
1724 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
1725 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
1726 file names to fp128_ppc_funcs.
1727 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
1728 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
1729 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
1730 * config/rs6000/t-float128-p10-hw: New file.
1731 * configure: Update script for isa 3.1 128-bit float support.
1732 * configure.ac: Add check for 128-bit float hardware support.
1733 * config/rs6000/fixkfti-sw.c: New file.
1734 * config/rs6000/fixunskfti-sw.c: New file.
1735 * config/rs6000/floattikf-sw.c: New file.
1736 * config/rs6000/floatuntikf-sw.c: New file.
1738 2021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
1740 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
1742 2021-05-13 Martin Liska <mliska@suse.cz>
1744 * libgcov-driver.c: Fix GNU coding style.
1746 2021-05-10 Martin Liska <mliska@suse.cz>
1748 * libgcov-driver.c (gcov_version): Use different name that does
1749 not clash with newly introduced macro.
1751 2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
1753 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
1754 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
1755 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
1757 2021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1759 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1761 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
1762 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1764 (__divkc3): Improve complex divide.
1766 2021-04-23 Michael Meissner <meissner@linux.ibm.com>
1769 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
1770 trampoline size comparison in 32-bit by reversing test and
1771 combining load immediate with compare.
1772 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
1773 in 32-bit by reversing test and combining load immediate with
1776 2021-04-05 Florian Weimer <fweimer@redhat.com>
1777 Michael Meissner <meissner@linux.ibm.com>
1779 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
1780 point functions for $(decimal_float) only.
1782 2021-04-03 Jakub Jelinek <jakub@redhat.com>
1785 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
1786 $(objext) instead of $(object). Use _floatunditf instead of
1787 _floatunsditf. Add tf <-> ti conversion objects.
1788 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
1790 2021-03-29 Michael Meissner <meissner@linux.ibm.com>
1792 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
1793 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
1794 (fp128_decstr_objs): Delete.
1795 * dfp-bit.h: Call __sprintfieee128 to do conversions from
1796 _Float128 to a Decimal type. Call __strtoieee128 to do
1797 conversions from a Decimal type to _Float128.
1798 * config/rs6000/_sprintfkf.c: Delete file.
1799 * config/rs6000/_sprintfkf.h: Delete file.
1800 * config/rs6000/_strtokf.c: Delete file.
1801 * config/rs6000/_strtokf.h: Delete file.
1803 2021-03-23 Marcus Comstedt <marcus@mc.pp.se>
1805 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
1808 2021-03-06 Jakub Jelinek <jakub@redhat.com>
1810 PR gcov-profile/99406
1811 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
1812 defined, define these macros if not defined already.
1814 2021-03-04 Martin Liska <mliska@suse.cz>
1816 PR gcov-profile/99105
1817 * libgcov-driver.c (write_top_counters): Rename to ...
1818 (write_topn_counters): ... this.
1819 (write_one_data): Pre-allocate buffer for number of items
1820 in the corresponding linked lists.
1821 * libgcov.h (malloc_mmap): New function.
1822 (allocate_gcov_kvp): Use it.
1824 2021-03-04 Martin Liska <mliska@suse.cz>
1826 PR gcov-profile/99385
1827 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
1829 2021-03-03 Martin Liska <mliska@suse.cz>
1831 PR gcov-profile/97461
1832 * config.in: Regenerate.
1833 * configure: Likewise.
1834 * configure.ac: Check sys/mman.h header file
1835 * libgcov-driver.c (struct gcov_kvp): Remove static
1836 pre-allocated pool and use a dynamic one.
1837 * libgcov.h (MMAP_CHUNK_SIZE): New.
1838 (gcov_counter_add): Use mmap to allocate pool for struct
1841 2021-03-02 Michael Meissner <meissner@linux.ibm.com>
1843 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
1845 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
1847 2021-02-24 Jakub Jelinek <jakub@redhat.com>
1850 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
1851 negation of m in unsigned type.
1853 2021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
1854 Hau Hsu <hsuhau617@gmail.com>
1857 * config/arm/t-arm: Fix cmse support detection.
1859 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
1861 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
1863 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
1865 * config/rs6000/_dd_to_kf.c: New file.
1866 * config/rs6000/_kf_to_dd.c: New file.
1867 * config/rs6000/_kf_to_sd.c: New file.
1868 * config/rs6000/_kf_to_td.c: New file.
1869 * config/rs6000/_sd_to_kf.c: New file.
1870 * config/rs6000/_sprintfkf.c: New file.
1871 * config/rs6000/_sprintfkf.h: New file.
1872 * config/rs6000/_strtokf.h: New file.
1873 * config/rs6000/_strtokf.c: New file.
1874 * config/rs6000/_td_to_kf.c: New file.
1875 * config/rs6000/quad-float128.h: Add new declarations.
1876 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
1877 (fp128_decstr_funcs): New macro.
1878 (ibm128_dec_funcs): New macro.
1879 (fp128_ppc_funcs): Add the new conversions.
1880 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
1881 compiled with -mabi=ieeelongdouble.
1882 (fp128_decstr_objs): Force __float128 <-> string conversions to be
1883 compiled with -mabi=ibmlongdouble.
1884 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
1885 compiled with -mabi=ieeelongdouble.
1886 (FP128_CFLAGS_DECIMAL): New macro.
1887 (IBM128_CFLAGS_DECIMAL): New macro.
1888 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
1889 (BFP_TO_DFP): Add PowerPC _Float128 support.
1890 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
1891 IEEE 128-bit floating point.
1892 (DFP_TO_BFP): Add PowerPC _Float128 support.
1893 (BFP_TO_DFP): Add PowerPC _Float128 support.
1894 (BFP_SPRINTF): New macro.
1896 2021-01-27 Jakub Jelinek <jakub@redhat.com>
1898 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
1899 * config/i386/savms64f.h: Likewise.
1900 * config/i386/resms64.h: Likewise.
1901 * config/i386/resms64f.h: Likewise.
1902 * config/i386/resms64x.h: Likewise.
1903 * config/i386/resms64fx.h: Likewise.
1905 2021-01-26 Martin Liska <mliska@suse.cz>
1907 PR gcov-profile/98739
1908 * libgcov.h (gcov_topn_add_value): Do not train when
1909 we have a merged profile with a negative number of total
1912 2021-01-25 Martin Liska <mliska@suse.cz>
1914 PR gcov-profile/98739
1915 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
1916 ends with a dropped counter.
1917 * libgcov.h (gcov_topn_add_value): Add return value.
1919 2021-01-13 Stafford Horne <shorne@gmail.com>
1921 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1922 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
1923 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
1924 FP_EX_ALL): New constant macros.
1925 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
1926 FP_HANDLE_EXCEPTIONS): New macros.
1927 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
1929 2021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
1931 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
1932 posix siginfo case to struct handler_args. Detect between legacy
1933 and siginfo from the second parameter, which is a small sigcode in
1934 the legacy case, and a pointer in the siginfo case.
1936 2020-12-20 Max Filippov <jcmvbkbc@gmail.com>
1938 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
1940 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
1943 2020-12-08 Ian Lance Taylor <iant@golang.org>
1945 * generic-morestack-thread.c (free_segments): Block signals during
1948 2020-12-03 Michael Meissner <meissner@linux.ibm.com>
1952 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
1953 (IBM128_SHARED_OBJS): New make variable.
1954 (IBM128_OBJS): New make variable. Set all objects to use the
1955 explicit IBM format, and disable gnu attributes.
1956 (IBM128_CFLAGS): New make variable.
1957 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
1960 2020-12-03 Alexandre Oliva <oliva@adacore.com>
1962 * config/t-vxworks (LIB2ADD): Drop.
1963 * config/t-vxworks7 (LIB2ADD): Likewise.
1964 * config/vxcache.c: Remove.
1966 2020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
1968 * libgcc2.c (bswapsi2): Make constants unsigned.
1970 2020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
1972 * libgcc2.c (absvSI2): Simplify/improve implementation by using
1973 builtin_add_overflow.
1974 (absvsi2, absvDI2): Likewise.
1976 2020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
1978 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
1979 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
1981 2020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1983 * config/msp430/lib2hw_mul.S (mult64_hw): New.
1984 (if MUL_32): Use mult64_hw for __muldi3.
1985 (if MUL_F5): Use mult64_hw for __muldi3.
1986 * config/msp430/lib2mul.c (__muldi3): New.
1987 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
1989 2020-11-17 Alan Modra <amodra@gmail.com>
1991 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
1992 (LIB2_SIDITI_CONV_FUNCS): Define.
1993 * config/rs6000/ppc64-fp.c: Delete file.
1995 2020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1997 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
1998 hwmult library functions.
2000 2020-11-10 Jeff Law <law@redhat.com>
2002 * libgcc2.c: Fix whitespace issues in most recent change.
2004 2020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
2006 * libgcc2.c (__addvSI3): Use overflow builtins.
2007 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
2008 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
2009 (__negvsi2, __negvDI2): Likewise.
2010 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
2012 * libgcc2.h (__ucmpdi2): Adjust prototype.
2014 2020-11-03 Pat Bernardi <bernardi@adacore.com>
2015 Olivier Hainque <hainque@adacore.com>
2017 * config.host (aarch64-vxworks7*, tmake_file): Add
2018 ${cpu_type}/t-lse and t-slibgcc-libgcc.
2020 2020-11-03 Martin Storsjö <martin@martin.st>
2022 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
2023 before calling the callback.
2025 2020-10-30 Olivier Hainque <hainque@adacore.com>
2026 Douglas Rupp <rupp@adacore.com>
2027 Pat Bernardi <bernardi@adacore.com>
2029 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
2030 to apply to VxWorks 7 as well.
2032 2020-10-29 Olivier Hainque <hainque@adacore.com>
2034 * config/gthr-vxworks-tls.c: Fix preprocessor logic
2035 controlling the definition of VX_ENTER_TLS_DTOR and
2036 VX_LEAVE_TLS_DTOR based on a version major check.
2038 2020-10-29 Olivier Hainque <hainque@adacore.com>
2040 * config/gthr-vxworks-thread.c: Fix name of macro used
2041 to condition the inclusion of an actual implementation.
2043 2020-10-27 Martin Liska <mliska@suse.cz>
2045 PR gcov-profile/97461
2046 * libgcov.h (gcov_counter_add): Use first static counters
2047 as it should help to have malloc wrappers set up.
2049 2020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2051 * config/gthr-vxworks-thread.c: #include gthr.h before
2052 testing the guard defined there.
2053 * config/gthr-vxworks-cond.c: Likewise.
2055 2020-10-21 Douglas Rupp <rupp@adacore.com>
2056 Olivier Hainque <hainque@adacore.com>
2058 * config.host (powerpc*-wrs-vxworks7*): New case.
2059 * configure.ac: Handle powerpc*-*-vxworks7* as
2060 powerpc*-*-linux* for ppc-fp_type.
2061 * configure: Regenerate.
2063 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2065 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
2066 section on VxWorks >= 6.
2067 * config/gthr-vxworks-thread.c: Condition the entire
2068 implementation on __GTHREAD_CXX0X.
2070 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2072 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
2073 section on VxWorks >= 6.
2074 * config/gthr-vxworks-cond.c: Condition the entire
2075 implementation on __GTHREAD_HAS_COND.
2077 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2079 * config/gthr-vxworks.c: #include <taskLib.h>.
2081 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2083 * config/gthr-vxworks.h: Rewrite remaining occurrence
2084 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
2086 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2087 Olivier Hainque <hainque@adacore.com>
2089 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
2090 except on VxWorks 6.
2092 2020-10-16 Olivier Hainque <hainque@adacore.com>
2094 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
2096 2020-10-14 Alexandre Oliva <oliva@adacore.com>
2098 * config/gthr-vxworks-thread.c: Include stdlib.h.
2099 (tls_delete_hook): Prototype it.
2100 (__gthread_cond_signal): Return early if no waiters. Consume
2101 signal in case the semaphore got full. Use semInfoGet instead
2102 of kernel-mode-only semInfo.
2103 (__gthread_cond_timedwait): Use semExchange. Always take the
2104 mutex again before returning.
2105 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
2107 2020-10-14 Olivier Hainque <hainque@adacore.com>
2109 * config/t-vxworks (LIBGCC2_INCLUDES): Append
2110 $(MULTISUBDIR) to the -I path for fixed headers, as we
2111 arrange to have different sets of such headers for different
2112 multilibs when they are activated.
2113 * config/t-vxworks7: Likewise.
2115 2020-10-14 Olivier Hainque <hainque@adacore.com>
2117 * config/t-vxworks: Add include-fixed to include search
2118 paths for libgcc on VxWorks.
2119 * config/t-vxworks7: Likewise.
2121 2020-10-09 H.J. Lu <hjl.tools@gmail.com>
2124 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
2125 instead of <cetintrin.h>.
2127 2020-10-01 Alan Modra <amodra@gmail.com>
2129 * config/rs6000/morestack.S,
2130 * config/rs6000/tramp.S: Support __PCREL__ code.
2132 2020-10-01 Alan Modra <amodra@gmail.com>
2134 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
2136 2020-09-29 Maciej W. Rozycki <macro@wdc.com>
2138 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
2141 2020-09-28 Richard Sandiford <richard.sandiford@arm.com>
2143 * config/aarch64/libgcc-softfp.ver: New file.
2144 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
2146 2020-09-27 Clement Chigot <clement.chigot@atos.net>
2148 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
2150 2020-09-22 Sergei Trofimovich <siarheit@google.com>
2152 PR gcov-profile/96913
2153 * libgcov-driver.c (write_one_data): Avoid function pointer
2154 comparison in TOP streaming decision.
2156 2020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
2157 Christophe Lyon <christophe.lyon@linaro.org>
2159 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
2161 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
2162 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
2165 2020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
2167 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
2168 unused variable warning.
2170 2020-09-16 Jojo R <jiejie_rong@c-sky.com>
2172 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
2174 2020-09-09 Tom de Vries <tdevries@suse.de>
2176 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
2177 Wbuiltin-declaration-mismatch.
2179 2020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2181 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
2182 * config/msp430/srai.S (__gnu_mspabi_srap): New.
2183 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
2185 2020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
2187 * config/nvptx/atomic.c: New.
2188 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
2190 2020-08-03 Ian Lance Taylor <iant@golang.org>
2192 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
2194 2020-08-03 Jakub Jelinek <jakub@redhat.com>
2197 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
2198 of x(tmp0), x(tmp1) in STXP arguments.
2200 2020-07-31 Maciej W. Rozycki <macro@wdc.com>
2202 * config/riscv/save-restore.S [__riscv_xlen == 64]
2203 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
2204 (__riscv_save_2): Replace negative immediates used for the final
2205 stack pointer adjustment with positive ones, right-shifted by 4.
2207 2020-07-31 Martin Liska <mliska@suse.cz>
2209 * libgcov-driver.c: Add __gcov_kvp_pool
2210 and __gcov_kvp_pool_index variables.
2211 * libgcov.h (allocate_gcov_kvp): New.
2212 (gcov_topn_add_value): Use it.
2214 2020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2216 * config/aarch64/lse.S: Add PAC property note.
2218 2020-07-23 Martin Liska <mliska@suse.cz>
2220 PR gcov-profile/96035
2221 * libgcov-driver-system.c: Create gcov folders with 0777
2222 so that it respects a system umask.
2224 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
2226 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
2228 2020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2231 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
2232 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
2233 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
2234 (MD_DEMANGLE_RETURN_ADDR): This.
2235 (aarch64_post_extract_frame_addr): Rename to ...
2236 (aarch64_demangle_return_addr): This.
2237 (aarch64_post_frob_eh_handler_addr): Remove.
2238 * unwind-dw2.c (uw_update_context): Demangle return address.
2239 (uw_frob_return_addr): Remove.
2241 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2244 * config/aarch64/lse.S: Add BTI marking and related definitions,
2245 and add BTI c to function entries.
2247 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2249 * config/aarch64/lse.S: Add stack note.
2251 2020-07-02 Martin Liska <mliska@suse.cz>
2253 PR gcov-profile/95348
2254 * libgcov-driver.c (merge_one_data): Merge only profiles
2255 that are not of non-zero type.
2256 (write_one_data): Write counters only if there's one non-zero
2258 * libgcov-util.c (tag_function): Change signature from unsigned
2260 (tag_blocks): Likewise.
2261 (tag_arcs): Likewise.
2262 (tag_counters): Likewise.
2263 (tag_summary): Likewise.
2264 (tag_lines): Read only if COUNTERS is non-zero.
2265 (read_gcda_file): Handle negative length for COUNTERS type.
2267 2020-06-25 Martin Liska <mliska@suse.cz>
2269 * libgcov-driver.c (merge_summary): Remove function as its name
2270 is misleading and doing something different.
2271 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
2273 * libgcov-util.c (curr_object_summary): Remove.
2274 (read_gcda_file): Remove unused curr_object_summary.
2275 (gcov_merge): Merge summaries.
2276 * libgcov.h: Add summary argument for gcov_info struct.
2278 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
2281 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
2282 "common/config/i386/i386-cpuinfo.h" and
2283 "common/config/i386/cpuinfo.h".
2284 (__cpu_features2): Changed to array.
2285 (get_amd_cpu): Removed.
2286 (get_intel_cpu): Likewise.
2287 (get_available_features): Likewise.
2288 (__cpu_indicator_init): Call cpu_indicator_init.
2289 * config/i386/cpuinfo.h: Removed.
2291 2020-06-23 David Edelsohn <dje.gcc@gmail.com>
2293 * Makefile.in: Remove uses of empty.mk. Use -include.
2294 * config/avr/t-avr: Use -include.
2297 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
2299 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
2300 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
2301 and 64 bit with -maix64.
2302 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
2303 Build and install AIX-style FAT libraries.
2305 2020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
2307 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
2309 * config/i386/gnu-unwind.h: New file.
2311 2020-06-17 Martin Liska <mliska@suse.cz>
2313 * libgcov-util.c (read_gcda_finalize): Remove const operator.
2314 (merge_wrapper): Add both counts and use them properly.
2315 (topn_to_memory_representation): New function.
2316 (gcov_merge): Covert on disk representation to in memory
2318 * libgcov.h: Remove const operator.
2320 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
2322 * configure: Regenerate.
2323 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
2324 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
2326 2020-06-09 Martin Liska <mliska@suse.cz>
2328 PR gcov-profile/95494
2329 * libgcov-driver.c (write_top_counters): Cast first to
2330 intptr_t as sizeof(*) != sizeof(gcov_type).
2331 * libgcov.h (gcov_counter_set_if_null): Remove.
2332 (gcov_topn_add_value): Cast first to intptr_t and update
2333 linked list directly.
2335 2020-06-09 Max Filippov <jcmvbkbc@gmail.com>
2337 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
2338 with uw_install_context_1.
2340 2020-06-04 Andreas Schwab <schwab@suse.de>
2344 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
2346 (LIB2ADD): Add config/ia64/divtf3.c.
2347 * config/ia64/divtf3.c: New file.
2349 2020-06-03 Martin Liska <mliska@suse.cz>
2351 PR gcov-profile/95480
2352 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
2353 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
2354 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
2355 (gcov_counter_set_if_null): Likewise.
2357 2020-06-02 Jim Wilson <jimw@sifive.com>
2359 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
2362 2020-06-02 Martin Liska <mliska@suse.cz>
2364 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
2367 2020-06-02 Martin Liska <mliska@suse.cz>
2369 * libgcov-driver.c (prune_topn_counter): Remove.
2370 (prune_counters): Likewise.
2371 (merge_one_data): Special case TOP N counters
2372 as they have variable length.
2373 (write_top_counters): New.
2374 (write_one_data): Special case TOP N.
2375 (dump_one_gcov): Do not prune TOP N counters.
2376 * libgcov-merge.c (merge_topn_values_set): Remove.
2377 (__gcov_merge_topn): Use gcov_topn_add_value.
2378 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2380 * libgcov.h (gcov_counter_add): New.
2381 (gcov_counter_set_if_null): Likewise.
2382 (gcov_topn_add_value): New.
2384 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
2386 * config/i386/sfp-exceptions.c (struct fenv):
2387 Add __attribute__ ((gcc_struct)).
2389 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
2392 * configure: Regenerated.
2394 2020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
2396 PR gcov-profile/95332
2397 * libgcov-util.c (read_gcda_file): Call gcov_magic.
2398 * libgcov.h (gcov_magic): Disable GCC poison.
2400 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
2403 * config/i386/cpuinfo.h (processor_features): Move
2404 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
2406 2020-05-20 H.J. Lu <hongjiu.lu@intel.com>
2409 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
2412 2020-05-19 H.J. Lu <hongjiu.lu@intel.com>
2416 * config/i386/cpuinfo.c (get_available_features): Fix
2417 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
2418 * config/i386/cpuinfo.h (processor_features): Add
2419 FEATURE_AVX512VP2INTERSECT.
2421 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
2424 * configure: Regenerated.
2426 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
2428 * configure: Regenerated.
2430 2020-05-09 Hans-Peter Nilsson <hp@axis.com>
2432 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
2433 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
2435 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
2437 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
2438 (__math_force_eval_div): New define.
2439 (__sfp_handle_exceptions): Use __math_force_eval_div to use
2440 generic division to generate INVALID, DIVZERO and INEXACT
2443 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2445 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
2446 instead of getauxval.
2448 (HWCAP_ATOMICS): Define.
2449 Guard detection on __gnu_linux__.
2451 2020-05-05 Michael Meissner <meissner@linux.ibm.com>
2453 * config.host: Delete changes meant for a private branch.
2454 * config/rs6000/t-float128: Likewise.
2455 * configure.ac: Likewise.
2456 * configure: Likewise.
2458 2020-05-05 Martin Liska <mliska@suse.cz>
2460 PR gcov-profile/93623
2461 * Makefile.in: Remove __gcov_flush.
2462 * gcov.h (__gcov_flush): Remove.
2463 * libgcov-interface.c (__gcov_flush): Remove.
2464 (init_mx): Use renamed mutex.
2465 (__gcov_lock): Likewise.
2466 (__gcov_unlock): Likewise.
2467 (__gcov_fork): Likewise.
2468 (__gcov_flush): Remove.
2470 2020-05-05 Martin Liska <mliska@suse.cz>
2472 PR gcov-profile/93623
2473 * libgcov-interface.c (__gcov_fork): Do not flush
2474 and reset only in child process.
2475 (__gcov_execl): Dump counters only and reset them
2476 only if exec* fails.
2477 (__gcov_execlp): Likewise.
2478 (__gcov_execle): Likewise.
2479 (__gcov_execv): Likewise.
2480 (__gcov_execvp): Likewise.
2481 (__gcov_execve): Likewise.
2483 2020-05-05 Martin Liska <mliska@suse.cz>
2485 PR gcov-profile/93623
2486 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
2487 * libgcov-interface.c (ALIAS_void_fn): Remove.
2489 (__gcov_unlock): New.
2490 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
2491 (__gcov_reset): Likewise.
2492 (__gcov_dump): Likewise.
2493 * libgcov.h (__gcov_lock): New declaration.
2494 (__gcov_unlock): Likewise.
2496 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
2498 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
2499 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
2500 generic division to generate INVALID and DIVZERO exceptions.
2502 2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
2504 * config/rs6000/crtresfpr.S: Use .machine ppc.
2505 * config/rs6000/crtresxfpr.S: Likewise.
2506 * config/rs6000/crtsavfpr.S: Likewise.
2508 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2511 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
2512 Update context->flags accroding to the frame state.
2514 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
2516 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
2517 Remove unneeded assignments to volatile memory.
2519 2020-04-15 Jakub Jelinek <jakub@redhat.com>
2522 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
2523 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
2524 is not defined, use just .arch armv8-a.
2525 (B, M, N, OPN): Define.
2526 (COMMENT): New .macro.
2527 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
2528 defined. Otherwise, move the operands right after the glue? and
2529 comment out operands where the macros are used.
2530 * configure: Regenerated.
2531 * config.in: Regenerated.
2533 2020-04-07 Ian Lance Taylor <iant@golang.org>
2536 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
2539 2020-04-04 Ian Lance Taylor <iant@golang.org>
2541 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
2543 2020-04-03 Ian Lance Taylor <iant@golang.org>
2545 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
2546 than mmap/munmap, to avoid hooks.
2548 2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
2550 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
2551 (TPFRA_OFFSET): Macros removed.
2552 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
2553 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
2554 (PG3_SKIPPING_OFFSET): New macros.
2555 (__isPATrange): Use cinfc_fast for the check.
2556 (__isSkipResetAddr): New function.
2557 (s390_fallback_frame_state): Check for skip trace addresses. Use
2558 either ICST_CRET or ICST_SRET to calculate return address
2560 (__tpf_eh_return): Handle skip trace addresses.
2562 2020-03-26 Richard Earnshaw <rearnsha@arm.com>
2565 * config/arm/lib1funcs.asm (COND): Use a single definition for
2567 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
2568 (aeabi_idivmod): Likewise.
2569 (divsi3_skip_div0_test): Likewise.
2571 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
2573 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
2575 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
2577 * config.host: Include the new makefile fragment.
2578 * config/s390/t-tpf: New file.
2580 2020-03-03 Richard Earnshaw <rearnsha@arm.com>
2582 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
2584 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
2585 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
2586 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
2587 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
2588 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
2590 (divsi3, modsi3): Likewise.
2591 (clzdi2, ctzsi2): Likewise.
2592 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
2594 (UNWIND_WRAPPER): Likewise.
2596 2020-03-02 Martin Liska <mliska@suse.cz>
2598 * libgcov-interface.c: Remove duplicate
2599 declaration of __gcov_flush_mx.
2601 2020-02-18 Martin Liska <mliska@suse.cz>
2604 * libgcov-merge.c (merge_topn_values_set): Record
2605 when a TOP N counter becomes invalid. When merging
2606 remove a smallest value if the space is needed.
2608 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
2613 * configure: Regenerated.
2615 2020-02-10 Jeff Law <law@redhat.com>
2617 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
2619 * config/frv/frvend.c: Similarly.
2621 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
2624 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2627 2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
2630 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
2631 _Unwind_gnu_Find_got.
2632 * unwind-pe.h: Likewise.
2634 2020-02-07 Jakub Jelinek <jakub@redhat.com>
2637 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
2638 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
2639 trailing :s in asm. Formatting fixes.
2640 (_Unwind_decode_typeinfo_ptr): Adjust caller.
2642 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
2644 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
2646 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
2647 * config/nios2-elf-lib.h: New.
2648 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
2649 code for finding GOT base for nios2.
2651 2020-01-27 Martin Liska <mliska@suse.cz>
2653 PR gcov-profile/93403
2654 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
2655 Call __gcov_indirect_call_profiler_body.
2656 (__gcov_indirect_call_profiler_body): New.
2657 (__gcov_indirect_call_profiler_v4_atomic): New.
2658 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
2661 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
2663 * config/arc/crti.S: Add RF16 object attribute.
2664 * config/arc/crtn.S: Likewise.
2665 * config/arc/crttls.S: Likewise.
2666 * config/arc/lib1funcs.S: Likewise.
2667 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
2668 * config/arc/lib2funcs.c: New file.
2669 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
2671 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
2673 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
2674 * configure.ac: Handle `--with-toolexeclibdir='.
2675 * configure: Regenerate.
2677 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2679 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
2681 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2683 * config/mips/gnustack.h: New file.
2684 * config/mips/crti.S: Include gnustack.h.
2685 * config/mips/crtn.S: Likewise.
2686 * config/mips/mips16.S: Likewise.
2687 * config/mips/vr4120-div.S: Likewise.
2689 2020-01-23 Martin Liska <mliska@suse.cz>
2691 * libgcov-driver.c (prune_topn_counter): Remove
2692 check for -1 as we only prune run-time counters
2693 that do not generate an invalid state.
2695 2020-01-22 Martin Liska <mliska@suse.cz>
2697 PR tree-optimization/92924
2698 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
2699 try to find an existing value, then find an empty slot
2702 2020-01-22 Martin Liska <mliska@suse.cz>
2704 PR tree-optimization/92924
2705 * libgcov-driver.c (prune_topn_counter): New.
2706 (prune_counters): Likewise.
2707 (dump_one_gcov): Prune a run-time counter.
2708 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2709 For a known value, add GCOV_TOPN_VALUES to value.
2710 Otherwise, decrement all counters by one.
2712 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
2714 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
2716 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
2719 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
2720 DEFAULT_USE_CXA_ATEXIT is true.
2722 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
2723 Thomas Preud'homme <thomas.preudhomme@arm.com>
2725 * config/arm/t-arm: Check return value of gcc rather than lack of
2728 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
2730 * config/avr/lib1funcs.S (skip): Simplify.
2732 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
2734 * config/gcn/atomic.c: Remove include of stdint.h.
2735 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
2738 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
2740 * config/gcn/atomic.c: New.
2741 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
2743 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
2745 Implement 64-bit double functions.
2748 * config.host (tmake_file) [target=avr]: Add t-libf7,
2749 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
2750 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
2751 depending on sizeof (double) or sizeof (long double).
2752 * config/avr/libf7: New folder.
2754 2020-01-05 Olivier Hainque <hainque@adacore.com>
2756 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
2759 2020-01-01 Jakub Jelinek <jakub@redhat.com>
2761 Update copyright years.
2763 2019-12-30 Olivier Hainque <hainque@adacore.com>
2765 * config/gthr-vxworks.h: Use _vxworks-versions.h.
2766 * config/gthr-vxworks-tls.c: Likewise.
2768 2019-12-30 Olivier Hainque <hainque@adacore.com>
2770 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
2771 standard zero-initializer syntax.
2773 2019-12-30 Olivier Hainque <hainque@adacore.com>
2775 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
2776 reference to the internal VX_GET_TLS_DATA interface.
2778 2019-12-30 Olivier Hainque <hainque@adacore.com>
2780 * config/vxcrtstuff.c: Fix incorrect spelling of
2781 USE_INITFINI_ARRAY in guard.
2783 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2785 * config.host: s/msp430*-*-elf/msp430-*-elf*.
2786 Override default "extra_parts" variable.
2787 * configure: Regenerate.
2788 * configure.ac: Disable TM clone registry by default for
2791 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2793 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
2795 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
2797 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2799 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
2802 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2804 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
2805 defined instead of its value.
2807 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2809 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
2810 if it will have contents.
2812 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
2815 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
2817 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
2820 * config.host: Add t-gthr-noweak on *-*-musl*.
2821 * config/t-gthr-noweak: New file.
2823 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
2825 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
2826 volatile void *. Remove trap check.
2827 (__kernel_cmpxchg2): Likewise.
2828 (FETCH_AND_OP_2): Adjust operand types.
2829 (OP_AND_FETCH_2): Likewise.
2830 (FETCH_AND_OP_WORD): Likewise.
2831 (OP_AND_FETCH_WORD): Likewise.
2832 (COMPARE_AND_SWAP_2): Likewise.
2833 (__sync_val_compare_and_swap_4): Likewise.
2834 (__sync_bool_compare_and_swap_4): Likewise.
2835 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2836 (__sync_lock_test_and_set_4): Likewise.
2837 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
2838 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
2840 (__sync_lock_release_8): Remove.
2842 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
2844 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
2847 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
2848 Doug Rupp <rupp@adacore.com>
2849 Olivier Hainque <hainque@adacore.com>
2851 * config.host: Collapse the arm-vxworks entries into
2852 a single arm-wrs-vxworks7* one.
2853 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
2854 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
2855 kernel modules, to be overriden by libstdc++ when we link with
2856 it. Rely on externally provided __exidx_start/end.
2858 2019-11-14 Doug Rupp <rupp@adacore.com>
2859 Olivier Hainque <hainque@adacore.com>
2861 * config.host: Handle aarch64*-wrs-vxworks7*.
2863 2019-11-12 Olivier Hainque <hainque@adacore.com>
2865 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
2866 sources except the cxx0x support to LIB2ADDEH. We don't support
2868 * config/t-vxworksae: New file.
2869 * config.host: Handle *-*-vxworksae: Add the two aforementioned
2870 Makefile fragment files at their expected position in the tmake_file
2871 list, in accordance with what is done for other VxWorks variants.
2873 2019-11-12 Corentin Gay <gay@adacore.com>
2874 Jerome Lambourg <lambourg@adacore.com>
2875 Olivier Hainque <hainque@adacore.com>
2877 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
2878 sources to LIB2ADDEH.
2879 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
2880 * config/t-vxworks7: Likewise.
2882 * config.host: Append a block at the end of the file to add the
2883 t-gthr files to the tmake_file list for VxWorks after everything
2886 * config/vxlib.c: Rename as gthr-vxworks.c.
2887 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
2889 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
2890 API and a basic error checking API, both internal. Simplify the
2891 __gthread_once_t type definition and initializers. Add sections
2892 for condition variables support and for the C++0x thread support,
2893 conditioned against Vx653 for the latter.
2895 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
2896 implementation, leveraging the TAS internal API.
2897 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
2898 API, leveraging the general availability of TLS services in VxWorks7
2900 (__gthread_setspecific, __gthread_setspecific): Use it.
2901 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
2902 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
2903 support based on VxWorks primitives.
2904 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
2905 based on VxWorks primitives.
2907 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
2908 Olivier Hainque <hainque@adacore.com>
2910 * config/vxcrtstuff.c: New file.
2911 * config/t-vxcrtstuff: New Makefile fragment.
2912 * config.host: Append t-vxcrtstuff to the tmake_file list
2913 on all VxWorks ports using dwarf for table based EH.
2915 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
2917 Support 64-bit double and 64-bit long double configurations.
2920 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
2921 long double is a 32-bit type.
2922 * config/avr/t-avrlibc: Copy double64 and long-double64
2923 multilib(s) from the vanilla one.
2924 * config/avr/t-copy-libgcc: New Makefile snip.
2926 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2928 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
2929 the target output object format is not ELF.
2930 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
2932 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
2935 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
2936 * fp-bit.c (pack_d, unpack_d): Remove special cases for
2937 FLOAT_BIT_ORDER_MISMATCH.
2938 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
2940 2019-11-01 Jim Wilson <jimw@sifive.com>
2942 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
2944 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2946 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
2947 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
2948 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
2949 Define symbols for 32-bit and f5series hardware multiply
2951 Replace hard-coded register addresses with symbols.
2952 Fix "_mspabi*" typo.
2954 * config/msp430/lib2mul.c: Add comment.
2956 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
2958 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
2959 unsigned int. Adjust callers.
2960 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
2961 unsigned int *. Load relocation offset before function pointer.
2962 Add barrier to ensure ordering.
2964 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
2966 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
2967 Load PIC register after branch target. Fix white space.
2968 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
2969 implementations. Load PIC register after branch target. Don't
2970 clobber function pointer when it points to function descriptor.
2971 Use nullification instead of branch in LINUX implementation.
2973 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
2975 * config/pa/fptr.c: Disable -Warray-bounds warning.
2977 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
2979 * config.in, configure: Re-rebuild with stock autoconf 2.69,
2980 not the ubuntu modified 2.69.
2983 * config/aarch64/lse-init.c: Include auto-target.h. Disable
2984 initialization if !HAVE_SYS_AUXV_H.
2985 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
2986 * config.in, configure: Rebuild.
2989 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
2992 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
2994 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
2995 CTR_EL0.IDC and CTR_EL0.DIC.
2997 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
3000 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3001 Mickaël Guêné <mickael.guene@st.com>
3003 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3006 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
3008 * config/aarch64/lse-init.c: New file.
3009 * config/aarch64/lse.S: New file.
3010 * config/aarch64/t-lse: New file.
3011 * config.host: Add t-lse to all aarch64 tuples.
3013 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3014 Mickaël Guêné <mickael.guene@st.com>
3016 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3019 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3020 Mickaël Guêné <mickael.guene@st.com>
3022 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
3023 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
3024 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
3025 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
3026 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
3027 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
3028 (__gnu_personality_sigframe_fdpic): New.
3029 (get_eit_entry): Add FDPIC signal frame support.
3031 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3032 Mickaël Guêné <mickael.guene@st.com>
3034 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
3035 (__kernel_dmb): Likewise.
3036 (__fdpic_cmpxchg): New function.
3037 (__fdpic_dmb): New function.
3038 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
3039 (gnu_Unwind_Find_got): New function.
3040 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
3041 * unwind-arm-common.inc (UCB_PR_GOT): New.
3042 (funcdesc_t): New struct.
3043 (get_eit_entry): Add FDPIC support.
3044 (unwind_phase2): Likewise.
3045 (unwind_phase2_forced): Likewise.
3046 (__gnu_Unwind_RaiseException): Likewise.
3047 (__gnu_Unwind_Resume): Likewise.
3048 (__gnu_Unwind_Backtrace): Likewise.
3049 * unwind-pe.h (read_encoded_value_with_base): Likewise.
3051 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3052 Mickaël Guêné <mickael.guene@st.com>
3054 * libgcc/crtstuff.c: Add support for FDPIC.
3056 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3058 * config.host: Handle *-*-uclinuxfdpiceabi.
3060 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
3062 * config.host: Set cpu_type for bpf-*-* targets.
3063 * config/bpf/t-bpf: Likewise.
3064 * config/bpf/crtn.S: Likewise.
3065 * config/bpf/crti.S: New file.
3067 2019-09-06 Jim Wilson <jimw@sifive.com>
3069 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3070 (riscv*-*-freebsd*): Likewise.
3072 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
3074 * config.host: Remove references to spu.
3075 * config/spu/: Remove directory.
3077 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3080 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
3081 element type, instead of "sizeof" the element type.
3082 (__DTOR_LIST__): Likewise.
3083 (__TMC_LIST__): Likewise.
3084 (__do_global_dtors_aux_fini_array_entry): Likewise.
3085 (__frame_dummy_init_array_entry): Likewise.
3086 (__CTOR_END__): Likewise.
3087 (__DTOR_END__): Likweise.
3088 (__FRAME_END__): Likewise.
3089 (__TMC_END__): Likewise.
3091 2019-08-20 Lili Cui <lilicui@intel.com>
3093 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
3094 INTEL_COREI7_COOPERLAKE.
3096 2019-07-31 Matt Thomas <matt@3am-software.com>
3097 Nick Hudson <nick@nthcliff.demon.co.uk>
3098 Matthew Green <mrg@eterna.com.au>
3099 Maya Rashish <coypu@sdf.org>
3101 * config.host (hppa*-*-netbsd*): New case.
3102 * config/pa/t-netbsd: New file.
3104 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
3106 * config/arm/cmse.c (cmse_check_address_range): Add
3107 warn_unused_result attribute.
3109 2019-07-22 Martin Liska <mliska@suse.cz>
3111 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
3112 * config/pa/t-stublib: Likewise.
3114 2019-07-22 Stafford Horne <shorne@gmail.com>
3117 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
3118 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
3119 instructions are not available on every processor. Change a
3120 l.bnf to l.bf to fix logic issue.
3122 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
3124 * config.host: Remove reference to t-darwin8.
3126 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
3128 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
3130 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
3131 mmacosx-version-min for crts to run across all system versions.
3132 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
3133 * config/t-darwin: Revise mmacosx-version-min for crts to run across
3134 system versions >= 10.4.
3136 2019-07-03 Martin Liska <mliska@suse.cz>
3138 * Makefile.in: Use topn_values instead of one_value names.
3139 * libgcov-merge.c (__gcov_merge_single): Move to ...
3140 (__gcov_merge_topn): ... this.
3141 (merge_single_value_set): Move to ...
3142 (merge_topn_values_set): ... this.
3143 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
3145 (__gcov_topn_values_profiler_body): ... this.
3146 (__gcov_one_value_profiler_v2): Move to ...
3147 (__gcov_topn_values_profiler): ... this.
3148 (__gcov_one_value_profiler_v2_atomic): Move to ...
3149 (__gcov_topn_values_profiler_atomic): ... this.
3150 (__gcov_indirect_call_profiler_v4): Remove.
3151 * libgcov-util.c (__gcov_single_counter_op): Move to ...
3152 (__gcov_topn_counter_op): ... this.
3153 * libgcov.h (L_gcov_merge_single): Remove.
3154 (L_gcov_merge_topn): New.
3155 (__gcov_merge_single): Remove.
3156 (__gcov_merge_topn): New.
3157 (__gcov_one_value_profiler_v2): Move to ..
3158 (__gcov_topn_values_profiler): ... this.
3159 (__gcov_one_value_profiler_v2_atomic): Move to ...
3160 (__gcov_topn_values_profiler_atomic): ... this.
3162 2019-07-03 Martin Liska <mliska@suse.cz>
3164 * libgcov-merge.c (merge_single_value_set): Support N values.
3165 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
3167 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
3169 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
3170 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
3171 * configure.ac: Add --disable-tm-clone-registry option.
3172 * configure: Regenerate.
3174 2019-06-27 Martin Liska <mliska@suse.cz>
3176 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
3178 * libgcov-util.c: Likewise.
3180 2019-06-27 Martin Liska <mliska@suse.cz>
3182 * libgcov-util.c (gcov_profile_merge): Release allocated
3184 (calculate_overlap): Likewise.
3186 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
3188 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
3189 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
3190 Build objects for the out of line save/restore register functions
3191 so that they can be used for any supported Darwin version.
3192 * config/t-darwin: Default the build Darwin version to Darwin8
3195 2019-06-25 Martin Liska <mliska@suse.cz>
3197 * libgcov-driver-system.c (replace_filename_variables): Do not
3198 call strlen with NULL argument.
3200 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
3202 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
3203 * config/gcn/unwind-gcn.c: New file.
3205 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
3206 Andrew Stubbs <ams@codesourcery.com>
3208 * configure: Regenerate.
3209 * config/gcn/gthr-gcn.h: New.
3211 2019-06-18 Tom de Vries <tdevries@suse.de>
3213 * config/nvptx/crt0.c (__main): Declare.
3215 2019-06-17 Matthew Green <mrg@eterna.com.au>
3216 Maya Rashish <coypu@sdf.org>
3218 * config.host (aarch64*-*-netbsd*): New case.
3220 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3222 * config/msp430/slli.S (__mspabi_sllll): New library function for
3223 performing a logical left shift of a 64-bit value.
3224 * config/msp430/srai.S (__mspabi_srall): New library function for
3225 performing a arithmetic right shift of a 64-bit value.
3226 * config/msp430/srll.S (__mspabi_srlll): New library function for
3227 performing a logical right shift of a 64-bit value.
3229 2019-06-14 Matt Thomas <matt@3am-software.com>
3230 Matthew Green <mrg@eterna.com.au>
3231 Nick Hudson <skrll@netbsd.org>
3232 Maya Rashish <coypu@sdf.org>
3234 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
3235 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
3237 * config/arm/t-netbsd-eabi: New file.
3239 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
3241 * config.host: Add PRU target.
3242 * config/pru/asri.c: New file.
3243 * config/pru/eqd.c: New file.
3244 * config/pru/eqf.c: New file.
3245 * config/pru/ged.c: New file.
3246 * config/pru/gef.c: New file.
3247 * config/pru/gtd.c: New file.
3248 * config/pru/gtf.c: New file.
3249 * config/pru/led.c: New file.
3250 * config/pru/lef.c: New file.
3251 * config/pru/lib2bitcountHI.c: New file.
3252 * config/pru/lib2divHI.c: New file.
3253 * config/pru/lib2divQI.c: New file.
3254 * config/pru/lib2divSI.c: New file.
3255 * config/pru/libgcc-eabi.ver: New file.
3256 * config/pru/ltd.c: New file.
3257 * config/pru/ltf.c: New file.
3258 * config/pru/mpyll.S: New file.
3259 * config/pru/pru-abi.h: New file.
3260 * config/pru/pru-asm.h: New file.
3261 * config/pru/pru-divmod.h: New file.
3262 * config/pru/sfp-machine.h: New file.
3263 * config/pru/t-pru: New file.
3265 2019-06-11 Jakub Jelinek <jakub@redhat.com>
3267 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
3269 2019-06-10 Martin Liska <mliska@suse.cz>
3272 * libgcov.h: Add ATTRIBUTE_UNUSED.
3274 2019-06-10 Martin Liska <mliska@suse.cz>
3276 * Makefile.in: Add __gcov_one_value_profiler_v2,
3277 __gcov_one_value_profiler_v2_atomic and
3278 __gcov_indirect_call_profiler_v4.
3279 * libgcov-merge.c (__gcov_merge_single): Change
3281 (merge_single_value_set): New.
3282 * libgcov-profiler.c (__gcov_one_value_profiler_body):
3283 Update functionality.
3284 (__gcov_one_value_profiler): Remove.
3285 (__gcov_one_value_profiler_v2): ... this.
3286 (__gcov_one_value_profiler_atomic): Rename to ...
3287 (__gcov_one_value_profiler_v2_atomic): this.
3288 (__gcov_indirect_call_profiler_v3): Rename to ...
3289 (__gcov_indirect_call_profiler_v4): ... this.
3290 * libgcov.h (__gcov_one_value_profiler): Remove.
3291 (__gcov_one_value_profiler_atomic): Remove.
3292 (__gcov_one_value_profiler_v2_atomic): New.
3293 (__gcov_indirect_call_profiler_v3): Remove.
3294 (__gcov_one_value_profiler_v2): New.
3295 (__gcov_indirect_call_profiler_v4): New.
3296 (gcov_get_counter_ignore_scaling): New function.
3298 2019-06-07 Martin Liska <mliska@suse.cz>
3300 * Makefile.in: Remove usage of
3301 _gcov_merge_icall_topn.
3302 * libgcov-driver.c (gcov_sort_n_vals): Remove.
3303 (gcov_sort_icall_topn_counter): Likewise.
3304 (gcov_sort_topn_counter_arrays): Likewise.
3305 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
3306 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
3307 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
3309 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
3310 (struct indirect_call_tuple): Remove.
3311 (__gcov_indirect_call_topn_profiler): Remove.
3312 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
3313 * libgcov.h (gcov_sort_n_vals): Remove.
3314 (L_gcov_merge_icall_topn): Likewise.
3315 (__gcov_merge_icall_topn): Likewise.
3316 (__gcov_indirect_call_topn_profiler): Likewise.
3318 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
3320 * config/rs6000/t-darwin: Ensure that the unwinder is built with
3323 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3325 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
3327 (__mspabi_slli): Likewise.
3328 (__mspabi_slll_n): Likewise.
3329 (__mspabi_slll): Likewise.
3330 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
3331 (__mspabi_srai): Likewise.
3332 (__mspabi_sral_n): Likewise.
3333 (__mspabi_sral): Likewise.
3334 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
3335 (__mspabi_srli): Likewise.
3336 (__mspabi_srll_n): Likewise.
3337 (__mspabi_srll): Likewise.
3339 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
3341 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
3342 Add appropriate tm_file clause as well.
3343 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
3345 2019-06-05 James Clarke <jrtc27@jrtc27.com>
3347 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
3348 rather than .data/.bss so it can be accessed via gp-relative
3351 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
3353 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
3354 (CR2_REGNO): Rename to R_CR2.
3355 (XER_REGNO): Rename to R_XER.
3356 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
3357 (VRSAVE_REGNO): Rename to R_VRSAVE.
3358 (VSCR_REGNO): R_VSCR.
3360 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
3362 * config.host (rx-*-linux*): Add new case.
3363 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
3365 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
3367 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
3369 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
3370 aarch64_post_frob_eh_handler_addr): Add check for b-key.
3371 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
3372 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
3373 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
3374 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
3376 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
3378 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
3380 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3382 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
3383 Remove Solaris 9 and 10 support.
3384 (sparc_is_sighandler): Likewise.
3386 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
3388 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
3390 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
3392 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3393 4_FP_W_TYPEs are used for IEEE quad precision.
3394 * soft-fp/extendhftf2.c: Likewise.
3395 * soft-fp/extendsftf2.c: Likewise.
3396 * soft-fp/extendxftf2.c: Likewise.
3397 * soft-fp/trunctfdf2.c: Likewise.
3398 * soft-fp/trunctfhf2.c: Likewise.
3399 * soft-fp/trunctfsf2.c: Likewise.
3400 * soft-fp/trunctfxf2.c: Likewise.
3401 * config/rs6000/ibm-ldouble.c: Likewise.
3403 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3405 * config.host: Simplify various *-*-solaris2.1[0-9]* to
3407 * configure.ac: Likewise.
3408 * configure: Regenerate.
3410 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3411 Solaris 10 and Solaris 11 < snv_125 handling.
3413 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
3415 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
3417 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
3419 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
3420 * config/i386/cpuinfo.h (enum processor_features): Add
3423 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3424 Bernd Edlinger <bernd.edlinger@hotmail.de>
3425 Jakub Jelinek <jakub@redhat.com>
3428 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
3429 * config/arm/unwind-arm.c: Likewise.
3430 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
3433 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
3435 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
3436 (RT_SIGRETURN): Update.
3437 (nds32_fallback_frame_state): Update.
3439 2019-02-21 Martin Sebor <msebor@redhat.com>
3441 * libgcc2.h (__clear_cache): Correct signature.
3442 * libgcc2.c (__clear_cache): Same.
3444 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
3446 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
3447 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
3449 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
3451 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
3452 regno instead of index to DWARF_ZERO_REG.
3454 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
3456 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
3457 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
3459 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
3461 * config/alpha/t-linux: Add -mfp-rounding-mode=d
3462 to HOST_LIBGCC2_CFLAGS.
3464 2019-01-23 Joseph Myers <joseph@codesourcery.com>
3467 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
3469 2019-01-18 Martin Liska <mliska@suse.cz>
3471 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
3473 (__gcov_indirect_call_profiler_v3): ... this.
3474 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
3475 (__gcov_indirect_call_profiler_v3): Likewise.
3476 * Makefile.in: Bump function name.
3478 2019-01-18 Martin Liska <mliska@suse.cz>
3480 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
3481 (gcov_version): Use in gcov_error.
3482 (merge_one_data): Likewise.
3483 (dump_one_gcov): Likewise.
3485 2019-01-18 Martin Liska <mliska@suse.cz>
3487 * libgcov-driver.c (gcov_version_string): New function.
3488 (gcov_version): Convert version integer into string.
3490 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
3491 Kwok Cheung Yeung <kcy@codesourcery.com>
3492 Julian Brown <julian@codesourcery.com>
3493 Tom de Vries <tom@codesourcery.com>
3495 * config.host: Recognize amdgcn*-*-amdhsa.
3496 * config/gcn/crt0.c: New file.
3497 * config/gcn/lib2-divmod-hi.c: New file.
3498 * config/gcn/lib2-divmod.c: New file.
3499 * config/gcn/lib2-gcn.h: New file.
3500 * config/gcn/sfp-machine.h: New file.
3501 * config/gcn/t-amdgcn: New file.
3503 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
3507 * config/c6x/libunwind.S: Mechanically replace "can not" with
3509 * config/tilepro/atomic.h: Likewise.
3510 * config/vxlib-tls.c: Likewise.
3511 * generic-morestack-thread.c: Likewise.
3512 * generic-morestack.c: Likewise.
3513 * mkmap-symver.awk: Likewise.
3515 2019-01-01 Jakub Jelinek <jakub@redhat.com>
3517 Update copyright years.
3519 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3521 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
3522 to ignore -Waddress-of-packed-member.
3524 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
3526 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
3527 parameter and corresponding code.
3528 (ARM_FUNC_START): Likewise in both definitions.
3529 Also update footer comment about condition that need to match with
3530 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
3531 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
3532 defined. Weakly define it in this case.
3533 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
3534 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
3535 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
3536 comment to keep condition in sync with the one in
3537 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
3539 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
3541 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
3542 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
3544 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3546 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
3547 and .cfi_endproc directives for VxWorks targets.
3549 2018-12-05 Paul Koning <ni1d@arrl.net>
3551 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
3553 2018-11-27 Alan Modra <amodra@gmail.com>
3555 * config/rs6000/morestack.S (__stack_split_initialize),
3556 (__morestack_get_guard, __morestack_set_guard),
3557 (__morestack_make_guard): Provide CFI covering these functions.
3558 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
3560 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3562 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
3563 (sc_pt_regs_lr): Update for kernel.
3564 (sc_pt_regs_tls): Update for kernel.
3566 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3568 * config/csky/linux-unwind.h: Fix coding style.
3570 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
3572 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
3573 (csky_fallback_frame_state): Modify the check of the
3574 instructions to adapt to changes in the kernel
3576 2018-11-09 Stafford Horne <shorne@gmail.com>
3577 Richard Henderson <rth@twiddle.net>
3579 * config.host: Add OpenRISC support.
3580 * config/or1k/*: New.
3582 2018-11-08 Kito Cheng <kito@andestech.com>
3584 * soft-fp/adddf3.c: Update from glibc.
3585 * soft-fp/addsf3.c: Likewise.
3586 * soft-fp/addtf3.c: Likewise.
3587 * soft-fp/divdf3.c: Likewise.
3588 * soft-fp/divsf3.c: Likewise.
3589 * soft-fp/divtf3.c: Likewise.
3590 * soft-fp/double.h: Likewise.
3591 * soft-fp/eqdf2.c: Likewise.
3592 * soft-fp/eqsf2.c: Likewise.
3593 * soft-fp/eqtf2.c: Likewise.
3594 * soft-fp/extenddftf2.c: Likewise.
3595 * soft-fp/extended.h: Likewise.
3596 * soft-fp/extendhftf2.c: Likewise.
3597 * soft-fp/extendsfdf2.c: Likewise.
3598 * soft-fp/extendsftf2.c: Likewise.
3599 * soft-fp/extendxftf2.c: Likewise.
3600 * soft-fp/fixdfdi.c: Likewise.
3601 * soft-fp/fixdfsi.c: Likewise.
3602 * soft-fp/fixdfti.c: Likewise.
3603 * soft-fp/fixhfti.c: Likewise.
3604 * soft-fp/fixsfdi.c: Likewise.
3605 * soft-fp/fixsfsi.c: Likewise.
3606 * soft-fp/fixsfti.c: Likewise.
3607 * soft-fp/fixtfdi.c: Likewise.
3608 * soft-fp/fixtfsi.c: Likewise.
3609 * soft-fp/fixtfti.c: Likewise.
3610 * soft-fp/fixunsdfdi.c: Likewise.
3611 * soft-fp/fixunsdfsi.c: Likewise.
3612 * soft-fp/fixunsdfti.c: Likewise.
3613 * soft-fp/fixunshfti.c: Likewise.
3614 * soft-fp/fixunssfdi.c: Likewise.
3615 * soft-fp/fixunssfsi.c: Likewise.
3616 * soft-fp/fixunssfti.c: Likewise.
3617 * soft-fp/fixunstfdi.c: Likewise.
3618 * soft-fp/fixunstfsi.c: Likewise.
3619 * soft-fp/fixunstfti.c: Likewise.
3620 * soft-fp/floatdidf.c: Likewise.
3621 * soft-fp/floatdisf.c: Likewise.
3622 * soft-fp/floatditf.c: Likewise.
3623 * soft-fp/floatsidf.c: Likewise.
3624 * soft-fp/floatsisf.c: Likewise.
3625 * soft-fp/floatsitf.c: Likewise.
3626 * soft-fp/floattidf.c: Likewise.
3627 * soft-fp/floattihf.c: Likewise.
3628 * soft-fp/floattisf.c: Likewise.
3629 * soft-fp/floattitf.c: Likewise.
3630 * soft-fp/floatundidf.c: Likewise.
3631 * soft-fp/floatundisf.c: Likewise.
3632 * soft-fp/floatunditf.c: Likewise.
3633 * soft-fp/floatunsidf.c: Likewise.
3634 * soft-fp/floatunsisf.c: Likewise.
3635 * soft-fp/floatunsitf.c: Likewise.
3636 * soft-fp/floatuntidf.c: Likewise.
3637 * soft-fp/floatuntihf.c: Likewise.
3638 * soft-fp/floatuntisf.c: Likewise.
3639 * soft-fp/floatuntitf.c: Likewise.
3640 * soft-fp/gedf2.c: Likewise.
3641 * soft-fp/gesf2.c: Likewise.
3642 * soft-fp/getf2.c: Likewise.
3643 * soft-fp/half.h: Likewise.
3644 * soft-fp/ledf2.c: Likewise.
3645 * soft-fp/lesf2.c: Likewise.
3646 * soft-fp/letf2.c: Likewise.
3647 * soft-fp/muldf3.c: Likewise.
3648 * soft-fp/mulsf3.c: Likewise.
3649 * soft-fp/multf3.c: Likewise.
3650 * soft-fp/negdf2.c: Likewise.
3651 * soft-fp/negsf2.c: Likewise.
3652 * soft-fp/negtf2.c: Likewise.
3653 * soft-fp/op-1.h: Likewise.
3654 * soft-fp/op-2.h: Likewise.
3655 * soft-fp/op-4.h: Likewise.
3656 * soft-fp/op-8.h: Likewise.
3657 * soft-fp/op-common.h: Likewise.
3658 * soft-fp/quad.h: Likewise.
3659 * soft-fp/single.h: Likewise.
3660 * soft-fp/soft-fp.h: Likewise.
3661 * soft-fp/subdf3.c: Likewise.
3662 * soft-fp/subsf3.c: Likewise.
3663 * soft-fp/subtf3.c: Likewise.
3664 * soft-fp/truncdfsf2.c: Likewise.
3665 * soft-fp/trunctfdf2.c: Likewise.
3666 * soft-fp/trunctfhf2.c: Likewise.
3667 * soft-fp/trunctfsf2.c: Likewise.
3668 * soft-fp/trunctfxf2.c: Likewise.
3669 * soft-fp/unorddf2.c: Likewise.
3670 * soft-fp/unordsf2.c: Likewise.
3671 * soft-fp/unordtf2.c: Likewise.
3673 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
3675 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
3676 * config/i386/cpuinfo.h (processor_types): Add znver2.
3678 2018-11-01 Paul Koning <ni1d@arrl.net>
3680 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
3681 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
3683 2018-10-31 Joseph Myers <joseph@codesourcery.com>
3686 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
3687 * configure: Regenerate.
3689 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
3691 * config/arc/lib1funcs.S (_muldi3): New function.
3692 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
3694 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3696 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
3698 2018-10-25 Martin Liska <mliska@suse.cz>
3701 * libgcov-profiler.c: Revert.
3703 2018-10-24 Martin Liska <mliska@suse.cz>
3705 * libgcov-profiler.c: Start from 1 in order to distinguish
3706 functions which were seen and these that were not.
3708 2018-10-18 Paul Koning <ni1d@arrl.net>
3710 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
3712 * divmod.c: Update references to __udivmodsi4.
3714 * udivhi3.c: New file.
3715 * udivmodhi4.c: New file.
3716 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
3718 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3720 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
3722 2018-10-12 Olivier Hainque <hainque@adacore.com>
3724 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
3725 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
3727 2018-10-08 Paul Koning <ni1d@arrl.net>
3729 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
3731 2018-10-04 Martin Liska <mliska@suse.cz>
3733 PR gcov-profile/84107
3734 * libgcov-profiler.c (__gcov_indirect_call):
3735 Change type to indirect_call_tuple.
3736 (struct indirect_call_tuple): New struct.
3737 (__gcov_indirect_call_topn_profiler): Change type.
3738 (__gcov_indirect_call_profiler_v2): Use the new
3740 * libgcov.h (struct indirect_call_tuple): New struct
3743 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
3745 * libgcc2.c (isnan): Use __builtin_isnan.
3746 (isfinite): Use __builtin_isfinite.
3747 (isinf): Use __builtin_isinf.
3749 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
3751 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
3753 2018-09-21 Alexandre Oliva <oliva@adacore.com>
3755 * config/vxcache.c: New file. Provide __clear_cache, based on
3756 the cacheTextUpdate VxWorks service.
3757 * config/t-vxworks (LIB2ADD): Add vxcache.c.
3758 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
3759 * config/t-vxwoks7: Likewise.
3761 2018-09-21 Martin Liska <mliska@suse.cz>
3763 * libgcov-driver.c (crc32_unsigned): Remove.
3764 (gcov_histogram_insert): Likewise.
3765 (gcov_compute_histogram): Likewise.
3766 (compute_summary): Simplify rapidly.
3767 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
3768 (merge_summary): Rapidly simplify.
3769 (dump_one_gcov): Ignore gcov_summary.
3770 (gcov_do_dump): Do not handle program summary, it's not
3772 * libgcov-util.c (tag_summary): Remove.
3773 (read_gcda_finalize): Fix coding style.
3774 (read_gcda_file): Initialize curr_object_summary.
3775 (compute_summary): Remove.
3776 (calculate_overlap): Remove settings of run_max.
3778 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
3780 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
3781 ucontext_t type instead.
3782 (nds32_fallback_frame_state): Remove struct _sigframe statement.
3784 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
3786 * config/nds32/t-nds32-glibc: New file.
3788 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3790 * configure.ac (solaris_ld_v2_maps): New test.
3791 * configure: Regenerate.
3792 * Makefile.in (solaris_ld_v2_maps): New variable.
3793 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
3796 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
3799 * config/arm/lib1funcs.asm (speculation_barrier): New function.
3800 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
3803 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
3805 * config/unwind-dw2-fde-darwin.c
3806 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
3807 * config/darwin10-unwind-find-enc-func.c: … to here.
3808 * config/t-darwin: Build Darwin10 unwinder shim crt.
3809 * libgcc/config.host: Add the Darwin10 unwinder shim.
3811 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3813 * config.host: Add crtbegin.o and crtend.o for
3814 powerpc-wrs-vxworks target.
3816 2018-08-17 Jojo <jijie_rong@c-sky.com>
3817 Huibin Wang <huibin_wang@c-sky.com>
3818 Sandra Loosemore <sandra@codesourcery.com>
3819 Chung-Lin Tang <cltang@codesourcery.com>
3823 * config.host: Add C-SKY support.
3824 * config/csky/*: New.
3826 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
3828 * config/nds32/t-nds32-isr: Rearrange object dependency.
3829 * config/nds32/initfini.c: Add dwarf2 unwinding support.
3830 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
3831 and registers usage.
3832 * config/nds32/isr-library/excp_isr.S: Ditto.
3833 * config/nds32/isr-library/intr_isr.S: Ditto.
3834 * config/nds32/isr-library/reset.S: Ditto.
3835 * config/nds32/isr-library/restore_all.inc: Ditto.
3836 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
3837 * config/nds32/isr-library/restore_partial.inc: Ditto.
3838 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
3839 * config/nds32/isr-library/save_all.inc: Ditto.
3840 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
3841 * config/nds32/isr-library/save_partial.inc: Ditto.
3842 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
3843 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
3845 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
3847 * config/pa/linux-atomic.c: Update comment.
3848 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
3849 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
3850 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
3851 __ATOMIC_RELAXED for atomic loads.
3852 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
3853 unordered store to release lock.
3854 (__sync_lock_release_8): Likewise.
3855 (SYNC_LOCK_RELEASE_2): Remove define.
3857 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
3860 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
3861 exponent goes negative. Update my email address.
3862 * config/arm/ieee754-sf.S: Likewise.
3864 2018-08-01 Martin Liska <mliska@suse.cz>
3866 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
3867 check that __gcov_indirect_call_callee is non-null.
3869 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
3871 * config/arm/ieee754-df.S: Fix comment for code working on
3873 * config/arm/ieee754-sf.S: Likewise.
3875 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
3878 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3881 2018-07-05 James Clarke <jrtc27@jrtc27.com>
3883 * configure: Regenerated.
3885 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3887 * Makefile.in (install_leaf): Use enable_gcov instead of
3890 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3892 * configure.ac: Add --disable-gcov option.
3893 * configure: Regenerate.
3894 * Makefile.in: Honour @enable_gcov@.
3896 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3898 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
3899 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
3900 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
3901 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
3903 * config/arm/ieee754-sf.S: Likewise.
3904 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
3906 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3908 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
3910 * config/arm/ieee754-sf.S: Likewise.
3912 2018-06-20 Than McIntosh <thanm@google.com>
3915 * generic-morestack.c (allocate_segment): Move calls to getenv and
3916 getpagesize to __morestack_load_mmap.
3917 (__morestack_load_mmap) Initialize static_pagesize and
3918 use_guard_page here so as to avoid clobbering SSE regs during a
3921 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
3923 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
3924 support modules with -mno-gnu-attribute.
3925 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
3927 2018-06-07 Olivier Hainque <hainque@adacore.com>
3929 * config/t-vxworks (LIBGCC_INCLUDES): Add
3930 -I$(MULTIBUILDTOP)../../gcc/include.
3931 * config/t-vxworks7: Likewise. Reformat a bit to match
3932 the t-vxworks layout.
3934 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
3936 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
3938 2018-06-07 Martin Liska <mliska@suse.cz>
3940 * libgcov-driver.c: Rename cs_all to all and assign it from
3943 2018-06-07 Martin Liska <mliska@suse.cz>
3946 * libgcov-driver-system.c (replace_filename_variables): Use
3947 memcpy instead of mempcpy.
3948 (allocate_filename_struct): Do not allocate filename, allocate
3950 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
3951 here and properly copy content into it.
3952 * libgcov-driver.c (struct gcov_filename): Remove max_length
3953 field, change prefix from size_t into char *.
3954 (compute_summary): Do not calculate longest filename.
3955 (gcov_do_dump): Release memory of gf.filename after each file.
3956 * libgcov-util.c (compute_summary): Use new signature of
3958 (calculate_overlap): Likewise.
3960 2018-06-05 Martin Liska <mliska@suse.cz>
3962 PR gcov-profile/47618
3963 * libgcov-driver-system.c (replace_filename_variables): New
3965 (gcov_exit_open_gcda_file): Use it.
3967 2018-06-05 Martin Liska <mliska@suse.cz>
3969 * libgcov-driver.c (gcov_compute_histogram): Remove usage
3970 of gcov_ctr_summary.
3971 (compute_summary): Do it just for a single summary.
3972 (merge_one_data): Likewise.
3973 (merge_summary): Simplify as we read just single summary.
3974 (dump_one_gcov): Pass proper argument.
3975 * libgcov-util.c (compute_one_gcov): Simplify as we have just
3977 (gcov_info_count_all_cold): Likewise.
3978 (calculate_overlap): Likewise.
3980 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
3981 Monk Chiang <sh.chiang04@gmail.com>
3983 * config.host (nds32*-linux*): New.
3984 * config/nds32/linux-atomic.c: New file.
3985 * config/nds32/linux-unwind.h: New file.
3987 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
3990 * config/i386/cpuinfo.c (get_amd_cpu): Return
3991 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
3993 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
3995 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
3997 2018-05-29 Martin Liska <mliska@suse.cz>
3999 PR gcov-profile/85759
4000 * libgcov-driver-system.c (gcov_error): Introduce usage of
4001 GCOV_EXIT_AT_ERROR env. variable.
4002 * libgcov-driver.c (merge_one_data): Print error that we
4003 overwrite a gcov file with a different timestamp.
4005 2018-05-23 Kalamatee <kalamatee@gmail.com>
4007 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
4010 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
4011 Monk Chiang <sh.chiang04@gmail.com>
4012 Jim Wilson <jimw@sifive.com>
4014 * config/riscv/save-restore.S: Add support for rv32e.
4016 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4018 * config/arm/libunwind.S: Update comment relating to armv5.
4020 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
4022 * config/arm/cmse.c (cmse_check_address_range): Replace
4023 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
4025 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
4027 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
4028 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
4030 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
4032 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
4033 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
4035 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
4037 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
4039 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
4040 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
4043 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
4044 op_and_fetch to return the right result.
4046 2018-04-27 Alan Modra <amodra@gmail.com>
4049 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
4050 -fno-asynchronous-unwind-tables.
4052 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
4054 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
4055 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
4057 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
4059 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
4060 when including "config/i386/shadow-stack-unwind.h".
4062 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
4064 * configure: Regenerated.
4066 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
4069 * config/rs6000/_powikf2.c: New file. Add support for the
4070 __builtin_powil function when long double is IEEE 128-bit floating
4072 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
4074 (__powikf2): Likewise.
4075 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
4076 (__powikf2_hw): Likewise.
4077 (__powikf2): Likewise.
4078 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
4079 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
4080 (_powikf2-hw.c): Likewise.
4082 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
4085 * unwind-generic.h (_Unwind_Frames_Increment): New.
4086 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
4088 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
4089 count with _Unwind_Frames_Increment.
4090 (_Unwind_ForcedUnwind_Phase2): Likewise.
4092 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
4095 * config/i386/morestack.S (__stack_split_initialize): Add
4098 2018-04-19 Jakub Jelinek <jakub@redhat.com>
4100 * configure: Regenerated.
4102 2018-04-18 David Malcolm <dmalcolm@redhat.com>
4105 * configure: Regenerate.
4107 2018-04-16 Jakub Jelinek <jakub@redhat.com>
4110 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
4111 -Wdangling-else warnings. Mask shift counts to avoid
4112 -Wshift-count-negative and -Wshift-count-overflow false positives.
4114 2018-04-06 Ruslan Bukin <br@bsdpad.com>
4116 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
4118 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
4121 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
4122 (XSTATE_FP): Likewise.
4123 (XSTATE_SSE): Likewise.
4124 (XSTATE_YMM): Likewise.
4125 (XSTATE_OPMASK): Likewise.
4126 (XSTATE_ZMM): Likewise.
4127 (XSTATE_HI_ZMM): Likewise.
4128 (XCR_AVX_ENABLED_MASK): Likewise.
4129 (XCR_AVX512F_ENABLED_MASK): Likewise.
4130 (get_available_features): Enable AVX and AVX512 features only
4131 if their states are supported by OSXSAVE.
4133 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4136 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4137 Fix a typo, tmp => 255.
4139 2018-03-20 Jakub Jelinek <jakub@redhat.com>
4142 * config/i386/cpuinfo.h (__cpu_features2): Declare.
4143 * config/i386/cpuinfo.c (__cpu_features2): New variable for
4145 (set_feature): Define.
4146 (get_available_features): Use set_feature macro. Set __cpu_features2
4147 to the second word of features ifndef SHARED.
4149 2018-03-15 Julia Koval <julia.koval@intel.com>
4151 * config/i386/cpuinfo.c (get_available_features): Add
4152 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
4153 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
4154 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
4155 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
4156 FEATURE_AVX512BITALG.
4158 2018-03-14 Julia Koval <julia.koval@intel.com>
4160 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
4161 icelake client and icelake server.
4163 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
4165 * config/pa/fptr.c (_dl_read_access_allowed): New.
4166 (__canonicalize_funcptr_for_compare): Use it.
4168 2018-02-28 Jakub Jelinek <jakub@redhat.com>
4171 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
4172 $asm_hidden_op if visibility ("hidden") attribute works.
4173 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
4174 * config/i386/i386-asm.h: Don't include auto-host.h.
4175 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
4176 PACKAGE_URL): Don't undefine.
4177 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
4178 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
4179 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
4180 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
4181 definition instead of hardcoded .hidden.
4182 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
4183 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
4184 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
4185 (USE_GAS_CFI_DIRECTIVES): Don't define.
4186 * configure: Regenerated.
4187 * config.in: Likewise.
4189 2018-02-26 Jakub Jelinek <jakub@redhat.com>
4192 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
4193 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
4194 inclusion of auto-target.h and auto-host.h.
4195 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
4196 __GCC_HAVE_DWARF2_CFI_ASM.
4197 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4198 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
4200 * config/i386/cygwin.S: Don't include auto-host.h here, just
4201 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
4202 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4203 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
4204 * config/i386/resms64fx.h: Add cfi_* directives.
4205 * config/i386/resms64x.h: Likewise.
4207 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
4209 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
4210 .literal_position directive.
4211 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
4213 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4216 * configure: Regenerate.
4218 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4221 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4222 Include cetintrin.h not x86intrin.h.
4224 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4227 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4228 Use new _get_ssp and _inc_ssp intrinsics.
4230 2018-02-02 Julia Koval <julia.koval@intel.com>
4232 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
4234 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4236 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
4238 (__divsi3): Use RF16 safe registers.
4239 (__modsi3): Likewise.
4241 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
4243 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
4244 (__divsf3): Make NaN return value quiet.
4245 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
4246 (__divdf3): Make NaN return value quiet.
4248 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4250 * config/rl78/anddi3.S: New assembly file.
4251 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
4253 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4255 * config/rl78/umindi3.S: New assembly file.
4256 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
4258 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4260 * config/rl78/smindi3.S: New assembly file.
4261 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
4263 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4265 * config/rl78/smaxdi3.S: New assembly file.
4266 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
4268 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4270 * config/rl78/umaxdi3.S: New assembly file.
4271 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
4273 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
4276 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
4277 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
4279 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
4281 * config/aarch64/value-unwind.h (aarch64_vg): New function.
4282 (DWARF_LAZY_REGISTER_VALUE): Define.
4283 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
4284 to provide a fallback register value.
4286 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
4288 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
4289 __ibm128, instead of trying to use long double.
4290 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
4291 accomidate -mabi=ieeelongdouble multilibs.
4292 (CVT_IBM128_TO_FLOAT128): Likewise.
4293 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
4294 the appropriate IBM extended double type.
4295 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
4296 (__gcc_qsub): Likewise.
4297 (__gcc_qmul): Likewise.
4298 (__gcc_qdiv): Likewise.
4299 (pack_ldouble): Likewise.
4300 (__gcc_qneg): Likewise.
4301 (__gcc_qeq): Likewise.
4302 (__gcc_qne): Likewise.
4303 (__gcc_qge): Likewise.
4304 (__gcc_qle): Likewise.
4305 (__gcc_stoq): Likewise.
4306 (__gcc_dtoq): Likewise.
4307 (__gcc_itoq): Likewise.
4308 (__gcc_utoq): Likewise.
4309 (__gcc_qunord): Likewise.
4310 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
4311 quad-float128.h for the definitions.
4312 (COPYSIGN): Use the f128 version instead of the q version.
4313 (INFINITY): Likewise.
4314 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
4315 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
4316 quad-float128.h for the definitions.
4317 (COPYSIGN): Use the f128 version instead of the q version.
4318 (INFINITY): Likewise.
4320 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
4321 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
4322 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
4324 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
4326 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
4329 2018-01-03 Jakub Jelinek <jakub@redhat.com>
4331 Update copyright years.
4333 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
4335 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
4336 * config/riscv/multi3.c: New file.
4337 * config/riscv/multi3.S: Remove.
4339 2017-12-08 Jim Wilson <jimw@sifive.com>
4341 * config/riscv/div.S: Use FUNC_* macros.
4342 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
4343 * config/riscv/save-restore.S: Likewise.
4344 * config/riscv/riscv-asm.h: New.
4346 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
4348 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
4349 * config/rs6000/_divkc3.c (__divkc3): Likewise.
4352 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
4353 correct type for all ifunc resolvers to silence -Wattribute-alias
4354 warnings. Eliminate the forward declaration of the resolver
4355 functions which is no longer needed.
4356 (__subkf3_resolve): Likewise.
4357 (__mulkf3_resolve): Likewise.
4358 (__divkf3_resolve): Likewise.
4359 (__negkf2_resolve): Likewise.
4360 (__eqkf2_resolve): Likewise.
4361 (__nekf2_resolve): Likewise.
4362 (__gekf2_resolve): Likewise.
4363 (__gtkf2_resolve): Likewise.
4364 (__lekf2_resolve): Likewise.
4365 (__ltkf2_resolve): Likewise.
4366 (__unordkf2_resolve): Likewise.
4367 (__extendsfkf2_resolve): Likewise.
4368 (__extenddfkf2_resolve): Likewise.
4369 (__trunckfsf2_resolve): Likewise.
4370 (__trunckfdf2_resolve): Likewise.
4371 (__fixkfsi_resolve): Likewise.
4372 (__fixkfdi_resolve): Likewise.
4373 (__fixunskfsi_resolve): Likewise.
4374 (__fixunskfdi_resolve): Likewise.
4375 (__floatsikf_resolve): Likewise.
4376 (__floatdikf_resolve): Likewise.
4377 (__floatunsikf_resolve): Likewise.
4378 (__floatundikf_resolve): Likewise.
4379 (__extendkftf2_resolve): Likewise.
4380 (__trunctfkf2_resolve): Likewise.
4383 * config/rs6000/quad-float128.h (TF): Don't define if long double
4384 is IEEE 128-bit floating point.
4385 (TCtype): Define as either TCmode or KCmode, depending on whether
4386 long double is IEEE 128-bit floating point.
4387 (__mulkc3_sw): Add declarations for software/hardware versions of
4388 complex multiply/divide.
4389 (__divkc3_sw): Likewise.
4390 (__mulkc3_hw): Likewise.
4391 (__divkc3_hw): Likewise.
4392 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
4393 handlers to switch between using software emulation and hardware
4394 float128 instructions, build the complex multiply/divide functions
4395 for both software and hardware support.
4396 * config/rs6000/_divkc3.c (_divkc3): Likewise.
4397 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
4398 (__divkc3_resolve): Likewise.
4399 (__mulkc3): Likewise.
4400 (__divkc3): Likewise.
4401 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
4402 (fp128_hw_src): Likewise.
4403 (fp128_hw_static_obj): Likewise.
4404 (fp128_hw_shared_obj): Likewise.
4405 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
4406 _mulkc3.c and _divkc3.c, changing the function name.
4407 (_divkc3-hw.c): Likewise.
4408 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
4411 2017-11-26 Julia Koval <julia.koval@intel.com>
4413 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
4414 * config/i386/cpuinfo.h (processor_subtypes): Add
4415 INTEL_COREI7_CANNONLAKE.
4417 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4420 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
4422 * config/xtensa/unwind-dw2-xtensa.c: Likewise
4423 * config/ia64/unwind-ia64.c: Add frames parameter.
4424 * unwind-sjlj.c: Likewise.
4426 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4428 * config/i386/linux-unwind.h: Include
4429 config/i386/shadow-stack-unwind.h.
4430 * config/i386/shadow-stack-unwind.h: New file.
4431 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
4432 pass it to _Unwind_Frames_Extra.
4433 * unwind-generic.h (_Unwind_Frames_Extra): New.
4434 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
4435 parameter. Add local variable frames to count number of frames.
4436 (_Unwind_ForcedUnwind_Phase2): Likewise.
4437 (_Unwind_RaiseException): Add local variable frames to count
4438 number of frames, pass it to _Unwind_RaiseException_Phase2 and
4440 (_Unwind_ForcedUnwind): Likewise.
4441 (_Unwind_Resume): Likewise.
4442 (_Unwind_Resume_or_Rethrow): Likewise.
4444 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4446 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
4448 * config/i386/morestack.S: Include <cet.h>.
4449 (__morestack_large_model): Add _CET_ENDBR at function entrance.
4450 * config/i386/resms64.h: Include <cet.h>.
4451 * config/i386/resms64f.h: Likewise.
4452 * config/i386/resms64fx.h: Likewise.
4453 * config/i386/resms64x.h: Likewise.
4454 * config/i386/savms64.h: Likewise.
4455 * config/i386/savms64f.h: Likewise.
4456 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
4457 (CRTSTUFF_T_CFLAGS): Likewise.
4458 * configure.ac: Include ../config/cet.m4.
4459 Set and substitute CET_FLAGS.
4460 * configure: Regenerated.
4462 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4464 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
4466 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
4467 * configure.ac (libgcc_cv_solaris_crts): Likewise.
4468 * configure: Regenerate.
4470 2017-11-07 Tom de Vries <tom@codesourcery.com>
4472 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
4473 after "do {} while (0)".
4475 2017-11-07 Tom de Vries <tom@codesourcery.com>
4478 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
4479 semicolon after "do {} while (0)".
4480 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4481 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4482 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4483 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4485 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
4488 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
4489 sysctl to determine whether we're in a trampoline.
4490 Keep the pattern matching method for systems without
4491 KERN_PROC_SIGTRAMP sysctl.
4493 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
4494 Vineet Gupta <vgupta@synopsys.com>
4496 * config.host (arc*-*-linux*): Set md_unwind_header variable.
4497 * config/arc/linux-unwind-reg.def: New file.
4498 * config/arc/linux-unwind-reg.h: Likewise.
4500 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
4502 * config/rl78/subdi3.S: New assembly file.
4503 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
4505 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
4507 * config/rl78/adddi3.S: New assembly file.
4508 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
4510 2017-10-13 Jakub Jelinek <jakub@redhat.com>
4513 * libgcc2.c (__mulvDI3): If both operands have
4514 the same highpart of -1 and the topmost bit of lowpart is 0,
4515 multiplication overflows even if both lowparts are 0.
4517 2017-09-28 James Bowman <james.bowman@ftdichip.com>
4519 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
4521 2017-09-26 Joseph Myers <joseph@codesourcery.com>
4523 * config/microblaze/crti.S, config/microblaze/crtn.S,
4524 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
4525 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
4526 config/microblaze/mulsi3.S,
4527 config/microblaze/stack_overflow_exit.S,
4528 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
4529 config/pa/milli64.S: Add .note.GNU-stack section.
4531 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
4533 * configure.ac: Add Check for HAVE_AS_AVX.
4534 * config.in: Regenerate.
4535 * configure: Likewise.
4536 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
4537 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
4538 Correct out-of-date comments.
4540 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
4542 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
4543 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
4545 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
4547 * config/i386/i386-asm.h (PASTE2): New macro.
4548 (ASMNAME): Modify to use PASTE2.
4549 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
4550 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
4551 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
4552 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
4553 * config/i386/resms64f.S: Likewise.
4554 * config/i386/resms64fx.S: Likewise.
4555 * config/i386/resms64x.S: Likewise.
4556 * config/i386/savms64.S: Likewise.
4557 * config/i386/savms64f.S: Likewise.
4558 * config/i386/avx_resms64.S: New file that only defines a macro and
4559 includes it's corresponding header file.
4560 * config/i386/avx_resms64f.S: Likewise.
4561 * config/i386/avx_resms64fx.S: Likewise.
4562 * config/i386/avx_resms64x.S: Likewise.
4563 * config/i386/avx_savms64.S: Likewise.
4564 * config/i386/avx_savms64f.S: Likewise.
4565 * config/i386/sse_resms64.S: Likewise.
4566 * config/i386/sse_resms64f.S: Likewise.
4567 * config/i386/sse_resms64fx.S: Likewise.
4568 * config/i386/sse_resms64x.S: Likewise.
4569 * config/i386/sse_savms64.S: Likewise.
4570 * config/i386/sse_savms64f.S: Likewise.
4571 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
4573 2017-09-01 Olivier Hainque <hainque@adacore.com>
4574 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
4576 2017-08-31 Olivier Hainque <hainque@adacore.com>
4578 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
4579 match as powerpc-wrs-vxworks*.
4581 2017-08-07 Jonathan Yong <10walls@gmail.com>
4583 * config.host (*-cygwin): Include file from mingw
4584 config/i386/enable-execute-stack-mingw32.c
4586 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
4587 Doug Rupp <rupp@adacore.com>
4588 Olivier Hainque <hainque@adacore.com>
4590 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
4591 as well as arm-wrs-vxworks.
4592 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
4594 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
4595 __exidx_start and __exidx_end for downloadable modules.
4597 2017-08-01 Olivier Hainque <hainque@adacore.com>
4599 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
4600 * config/t-vxworks7: Likewise.
4602 2017-08-01 Olivier Hainque <hainque@adacore.com>
4604 * config/t-vxworks: Instead of redefining LIB2ADD,
4605 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
4607 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
4609 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
4611 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
4614 * config.host: include i386/t-msabi for darwin and solaris.
4615 * config/i386/i386-asm.h
4616 (ELFFN): Rename to FN_TYPE.
4617 (FN_SIZE): New macro.
4618 (FN_HIDDEN): Likewise.
4619 (ASMNAME): Likewise.
4620 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
4622 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
4623 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
4624 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
4626 * config/i386/resms64f.S: Likewise.
4627 * config/i386/resms64fx.S: Likewise.
4628 * config/i386/resms64x.S: Likewise.
4629 * config/i386/savms64.S: Likewise.
4630 * config/i386/savms64f.S: Likewise.
4632 2017-07-19 John Marino <gnugcc@marino.st>
4634 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
4636 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
4639 * configure.ac (PowerPC float128 hardware support): Test whether
4640 we can use __builtin_cpu_supports before enabling the ifunc
4642 * configure: Regenerate.
4644 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
4646 * config.host: Remove uclibc from arc target spec.
4648 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
4650 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
4652 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
4654 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
4655 (have_ieee_hw_p): Delete function.
4656 (SW_OR_HW) Use __builtin_cpu_supports().
4658 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
4660 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
4662 2017-07-03 Olivier Hainque <hainque@adacore.com>
4664 * config/t-vxworks7: New file, really.
4666 2017-06-28 Joseph Myers <joseph@codesourcery.com>
4668 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
4669 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
4670 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
4671 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
4672 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
4673 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
4674 config/pa/linux-unwind.h (pa32_fallback_frame_state),
4675 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
4676 config/sh/linux-unwind.h (sh_fallback_frame_state),
4677 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
4678 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
4679 ucontext_t instead of struct ucontext.
4681 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
4683 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
4684 (x86_64-wrs-vxworks7): Likewise.
4686 2017-06-27 Olivier Hainque <hainque@adacore.com>
4688 * config/t-vxworks7: New file.
4689 * config.host (*-*-vxworks7): Use it.
4691 2017-06-22 Matt Turner <mattst88@gmail.com>
4693 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
4696 2017-06-21 Richard Biener <rguenther@suse.de>
4698 PR gcov-profile/81080
4699 * configure.ac: Add AC_SYS_LARGEFILE.
4700 * libgcov.h: Include auto-target.h before tsystem.h to pick
4701 up _FILE_OFFSET_BITS which might differ for multilibs.
4702 * config.in: Regenerate.
4703 * configure: Likewise.
4705 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
4707 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
4709 2017-06-09 Martin Liska <mliska@suse.cz>
4711 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
4712 Reset __gcov_indirect_call_callee to NULL.
4714 2017-06-08 Olivier Hainque <hainque@adacore.com>
4716 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
4717 the set of -I options, support for direct inclusions of net/uio.h
4718 by VxWorks header files via ioLib.h.
4720 2017-06-07 Tony Reix <tony.reix@atos.net>
4721 Matthieu Sarter <matthieu.sarter.external@atos.net>
4722 David Edelsohn <dje.gcc@gmail.com>
4724 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
4726 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
4729 2017-06-02 Olivier Hainque <hainque@adacore.com>
4731 * config/vxlib.c (__gthread_once): Add missing value to
4734 2017-05-30 Olivier Hainque <hainque@adacore.com>
4736 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
4737 dollar sign before $(MULTIDIR).
4739 2017-05-26 Richard Henderson <rth@redhat.com>
4742 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
4744 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
4746 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
4747 _Unwind_SetIP available as functions for arm*-*-freebsd*.
4748 * config/arm/unwind-arm.c: Implement the above.
4750 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4752 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
4753 section for a non-executable stack.
4755 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
4758 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
4760 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
4762 * config.host: Add i386/t-msabi to i386/t-linux file list.
4763 * config/i386/i386-asm.h: New file.
4764 * config/i386/resms64.S: New file.
4765 * config/i386/resms64f.S: New file.
4766 * config/i386/resms64fx.S: New file.
4767 * config/i386/resms64x.S: New file.
4768 * config/i386/savms64.S: New file.
4769 * config/i386/savms64f.S: New file.
4770 * config/i386/t-msabi: New file.
4772 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
4774 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
4775 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
4777 2017-05-05 Joshua Conner <joshconner@google.com>
4779 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
4780 pc-relative indirect handling for fuchsia.
4781 * config/t-slibgcc-fuchsia: New file.
4782 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
4783 x86_64-*-fuchsia*): Add definitions.
4785 2017-04-19 Martin Liska <mliska@suse.cz>
4787 PR gcov-profile/80435
4788 * Makefile.in: Install gcov.h.
4790 * libgcov.h: Use the header and make __gcov_flush publicly
4793 2017-04-18 Martin Liska <mliska@suse.cz>
4795 PR gcov-profile/78783
4796 * libgcov-driver.c (gcov_get_filename): New function.
4798 2017-04-07 Jeff Law <law@redhat.com>
4800 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
4801 target makefile fragment.
4802 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
4804 2017-04-07 Alan Modra <amodra@gmail.com>
4807 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
4809 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
4811 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
4813 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
4815 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
4817 2017-03-10 John Marino <gnugcc@marino.st>
4819 * config/aarch64/freebsd-unwind.h: New file.
4820 * config.host: Add aarch64-*-freebsd unwinder.
4822 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4824 * config/rs6000/crtrestvr.s: Use .machine altivec.
4825 * config/rs6000/crtsavevr.s: Ditto.
4827 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4829 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
4830 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
4831 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
4832 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
4833 * configure: Regenerate.
4834 * config.in: Regenerate.
4836 2017-03-02 Jonathan Yong <10walls@gmail.com>
4838 * config/i386/gthr-win32.h: Define NOGDI before
4839 windows.h include to prevent w32api CC_NONE macro
4840 clash with libgfortran.
4842 2017-03-02 Jonathan Yong <10walls@gmail.com>
4844 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
4846 2017-02-16 Andrew Pinski <apinski@cavium.com>
4848 * config/aarch64/value-unwind.h: New file.
4849 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
4852 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
4854 * config.host: Add RISC-V tuples.
4855 * config/riscv/atomic.c: New file.
4856 * config/riscv/crti.S: Likewise.
4857 * config/riscv/crtn.S: Likewise.
4858 * config/riscv/div.S: Likewise.
4859 * config/riscv/linux-unwind.h: Likewise.
4860 * config/riscv/muldi3.S: Likewise.
4861 * config/riscv/multi3.S: Likewise.
4862 * config/riscv/save-restore.S: Likewise.
4863 * config/riscv/sfp-machine.h: Likewise.
4864 * config/riscv/t-elf: Likewise.
4865 * config/riscv/t-elf32: Likewise.
4866 * config/riscv/t-elf64: Likewise.
4867 * config/riscv/t-softfp32: Likewise.
4868 * config/riscv/t-softfp64: Likewise.
4870 2017-01-24 Jakub Jelinek <jakub@redhat.com>
4872 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4873 /* FALLTHRU */ comments.
4875 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
4877 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
4879 2017-01-20 Jiong Wang <jiong.wang@arm.com>
4881 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
4882 * unwind-dw2.c (execute_cfa_program): Only multiplexing
4883 DW_CFA_GNU_window_save for AArch64 and LP64.
4885 2017-01-20 Jiong Wang <jiong.wang@arm.com>
4887 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
4889 2017-01-19 Jiong Wang <jiong.wang@arm.com>
4891 * config/aarch64/aarch64-unwind.h: New file.
4892 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
4893 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
4894 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
4895 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
4896 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
4897 (aarch64_post_extract_frame_addr): New function.
4898 (aarch64_post_frob_eh_handler_addr): New function.
4899 (aarch64_frob_update_context): New function.
4900 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
4901 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
4902 aarch64*-*-freebsd*):
4903 Initialize md_unwind_header to include aarch64-unwind.h.
4904 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
4905 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
4907 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
4908 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
4909 (uw_frob_return_addr): New function.
4910 (uw_install_context): Use uw_frob_return_addr.
4912 2017-01-17 Jakub Jelinek <jakub@redhat.com>
4915 * configure.ac: Add GCC_BASE_VER.
4916 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
4917 version from BASE-VER file.
4918 * configure: Regenerated.
4920 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
4922 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
4923 libmul_f5.a): Filter archived prerequisites.
4925 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
4927 * config/i386/cpuinfo.h (processor_features): Add
4928 FEATURE_AVX512VPOPCNTDQ.
4929 * config/i386/cpuinfo.c (get_available_features): Habdle new
4932 2017-01-04 Joseph Myers <joseph@codesourcery.com>
4934 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
4935 payload if [__mips_nan2008].
4937 2017-01-04 Alan Modra <amodra@gmail.com>
4939 * Makefile.in (configure_deps): Update.
4940 * configure: Regenerate.
4942 2017-01-01 Jakub Jelinek <jakub@redhat.com>
4944 Update copyright years.
4946 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
4948 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
4949 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
4950 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
4952 2016-12-17 Matthias Klose <doko@ubuntu.com>
4954 * config/arc/gmon: Remove empty directory.
4956 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
4958 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
4960 (arc*-*-elf*): Likewise.
4961 * config/arc/t-arc: Remove old gmon lib targets.
4962 * config/arc/crtg.S: Remove.
4963 * config/arc/crtgend.S: Likewise.
4964 * config/arc/gmon/atomic.h: Likewise.
4965 * config/arc/gmon/auxreg.h: Likewise.
4966 * config/arc/gmon/dcache_linesz.S: Likewise.
4967 * config/arc/gmon/gmon.c: Likewise.
4968 * config/arc/gmon/machine-gmon.h: Likewise.
4969 * config/arc/gmon/mcount.c: Likewise.
4970 * config/arc/gmon/prof-freq-stub.S: Likewise.
4971 * config/arc/gmon/prof-freq.c: Likewise.
4972 * config/arc/gmon/profil.S: Likewise.
4973 * config/arc/gmon/sys/gmon.h: Likewise.
4974 * config/arc/gmon/sys/gmon_out.h: Likewise.
4975 * config/arc/t-arc-newlib: Likewise.
4976 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
4978 2016-12-12 George Spelvin <linux@sciencehorizons.net>
4980 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
4982 2016-12-12 George Spelvin <linux@sciencehorizons.net>
4984 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
4985 R16 instead of push + pop.
4986 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
4988 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
4990 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
4993 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
4995 * config.host (arc*-*-linux-uclibc*): Use default extra
4996 objects. Include linux-android header.
4997 * config/arc/crti.S (_init): Declare symbol as function.
5000 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
5003 * config/i386/cpuinfo.c: Move denums for processor vendors,
5004 processor type, processor subtypes and declaration of
5005 struct __processor_model into
5006 * config/i386/cpuinfo.h: New header file.
5008 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
5009 Thomas Preud'homme <thomas.preudhomme@arm.com>
5011 * config/arm/cmse_nonsecure_call.S: New.
5012 * config/arm/t-arm: Compile cmse_nonsecure_call.S
5014 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
5015 Thomas Preud'homme <thomas.preudhomme@arm.com>
5017 * config/arm/t-arm (HAVE_CMSE): New.
5018 * config/arm/cmse.c: New.
5020 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
5023 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
5024 use generic linker version information on Blackfin.
5027 * libgcc/mkmap-symver.awk: add support for skip_underscore
5029 2016-11-27 Iain Sandoe <iain@codesourcery.com>
5030 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5033 * config/t-darwin: Default builds to 10.5 codegen.
5035 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
5037 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
5038 (_FP_NANSIGN_H): Likewise.
5039 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
5040 (softfp_truncations): Add tfhf.
5041 (softfp_extras): Add required conversion functions.
5043 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
5044 Matthew Wahab <matthew.wahab@arm.com>
5046 * config/arm/fp16.c (binary64): New.
5047 (__gnu_d2h_internal): New.
5048 (__gnu_d2h_ieee): New.
5049 (__gnu_d2h_alternative): New.
5051 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
5052 Matthew Wahab <matthew.wahab@arm.com>
5054 * config/arm/fp16.c (struct format): New.
5056 (__gnu_float2h_internal): New. Body moved from
5057 __gnu_f2h_internal and generalize.
5058 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
5059 Call it with binary32.
5061 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
5063 * soft-fp/extendhftf2.c: Update from glibc.
5064 * soft-fp/fixhfti.c: Likewise.
5065 * soft-fp/fixunshfti.c: Likewise.
5066 * soft-fp/floattihf.c: Likewise.
5067 * soft-fp/floatuntihf.c: Likewise.
5068 * soft-fp/half.h: Likewise.
5069 * soft-fp/trunctfhf2.c: Likewise.
5071 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
5074 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
5075 __TMC_END__ behind a passthrough asm.
5077 2016-11-18 Walter Lee <walt@tilera.com>
5079 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
5081 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
5083 * config/i386/cpuinfo.c (processor_features): Add
5084 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
5086 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
5088 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
5089 (__ARC_NORM__): Use instead ARC_OPTFPE.
5090 * config/arc/fp-hack.h: Likewise.
5091 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
5092 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
5094 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
5096 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
5097 * config/nvptx/mgomp.c: New file.
5098 * config/nvptx/t-nvptx: Add mgomp.c
5100 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
5103 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
5105 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
5107 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
5108 of checking for cpus.
5109 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
5110 (__modsi3, __clzsi2): Likewise.
5112 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5114 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
5115 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
5116 * config/i386/t-cpuinfo-static: New.
5118 2016-11-03 Martin Liska <mliska@suse.cz>
5120 * libgcov-profiler.c (__gcov_time_profiler): Remove.
5121 (__gcov_time_profiler_atomic): Likewise.
5123 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
5126 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
5127 count_leading_zeros.
5129 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
5131 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
5132 * libgcc2.c (__divmoddi4): New function.
5133 * libgcc2.h (__divmoddi4): Declare.
5134 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
5135 and __PFX_divmodti4.
5137 2016-10-24 Florian Weimer <fweimer@redhat.com>
5140 * unwind-c.c: Include auto-target.h.
5142 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
5144 * config/pa/pa64-hpux-lib.h: New file.
5145 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
5146 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
5147 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
5150 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
5152 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5154 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5156 * config/xtensa/t-windowed (LIB2ADDEH): Use
5157 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
5160 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
5162 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
5163 __ieee754_sqrt): New functions.
5164 (__divdf3): Add implementation with new FPU instructions under
5165 #if XCHAL_HAVE_DFP_DIV.
5166 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
5167 __ieee754_sqrtf): New functions.
5168 (__divsf3): Add implementation with new FPU instructions under
5169 #if XCHAL_HAVE_FP_DIV.
5170 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
5171 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
5173 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
5175 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
5177 * config/tilepro/atomic.c: Likewise and stop casting model to
5180 2016-10-10 Joseph Myers <joseph@codesourcery.com>
5183 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
5186 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
5188 * config.host: Add support for aarch64-*-freebsd*.
5190 2016-10-05 Andreas Schwab <schwab@suse.de>
5192 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
5193 (.section .init_array): Don't call __do_jv_register_classes.
5194 (.section .init): Likewise.
5196 2016-10-04 Jakub Jelinek <jakub@redhat.com>
5198 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
5199 (__JCR_LIST__): Remove.
5200 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
5201 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
5202 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
5203 * config/ia64/crtend.S (__JCR_END__): Remove.
5204 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
5206 (__JCR_LIST__, __JCR_END__): Remove.
5207 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
5208 (__do_global_ctors_1): Likewise.
5210 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
5212 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
5213 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
5215 2016-09-27 Martin Liska <mliska@suse.cz>
5217 PR gcov-profile/7970
5218 PR gcov-profile/16855
5219 PR gcov-profile/44779
5220 * libgcov-driver.c (__gcov_init): Do not register a atexit
5222 (__gcov_exit): Rename from gcov_exit.
5223 * libgcov.h (__gcov_exit): Declare.
5225 2016-09-27 Martin Liska <mliska@suse.cz>
5228 * Makefile.in: Remove _gcov_merge_delta.
5229 * libgcov-merge.c (void __gcov_merge_delta): Remove.
5230 * libgcov-util.c (__gcov_delta_counter_op): Remove.
5231 * libgcov.h: Remove declaration of __gcov_merge_delta.
5233 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
5235 * configure.ac: Do not create links, only substitute the filenames.
5236 * configure: Regenerate.
5237 * Makefile.in: Assign the substitution results to variables.
5238 (LIBGCC_LINKS): Define.
5239 (enable-execute-stack.c): New rule.
5240 (unwind.h): Likewise.
5241 (md-unwind-support.h): Likewise.
5242 (sfp-machine.h): Likewise.
5243 (gthr-default.h): Likewise.
5244 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
5245 unwind.h as prerequisite of install-unwind_h-forbuild.
5247 2016-09-16 Jakub Jelinek <jakub@redhat.com>
5250 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
5251 is not the primary registry and atomics are available.
5252 (any_objects_registered): New variable.
5253 (__register_frame_info_bases, __register_frame_info_table_bases):
5254 Atomically store 1 to any_objects_registered after registering first
5256 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
5258 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
5261 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
5262 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
5265 (__divhc3): Likewise.
5266 (__mulhc3): Likewise.
5267 * libgcc2.c: Support _mulhc3 and _divhc3.
5269 2016-09-07 Joseph Myers <joseph@codesourcery.com>
5272 * libgcc2.c (NOTRUNC): Invert settings.
5274 2016-09-06 Martin Liska <mliska@suse.cz>
5276 PR gcov-profile/77378
5277 PR gcov-profile/77466
5278 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
5279 conditionaly enable/disable *_atomic functions.
5281 2016-08-26 Joseph Myers <joseph@codesourcery.com>
5283 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
5284 where not already enabled.
5286 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5288 * config/mips/linux-unwind.h: Use sys/syscall.h.
5290 2016-08-16 Joseph Myers <joseph@codesourcery.com>
5293 * soft-fp/adddf3.c: Update from glibc.
5294 * soft-fp/addsf3.c: Likewise.
5295 * soft-fp/addtf3.c: Likewise.
5296 * soft-fp/divdf3.c: Likewise.
5297 * soft-fp/divsf3.c: Likewise.
5298 * soft-fp/divtf3.c: Likewise.
5299 * soft-fp/double.h: Likewise.
5300 * soft-fp/eqdf2.c: Likewise.
5301 * soft-fp/eqsf2.c: Likewise.
5302 * soft-fp/eqtf2.c: Likewise.
5303 * soft-fp/extenddftf2.c: Likewise.
5304 * soft-fp/extended.h: Likewise.
5305 * soft-fp/extendsfdf2.c: Likewise.
5306 * soft-fp/extendsftf2.c: Likewise.
5307 * soft-fp/extendxftf2.c: Likewise.
5308 * soft-fp/fixdfdi.c: Likewise.
5309 * soft-fp/fixdfsi.c: Likewise.
5310 * soft-fp/fixdfti.c: Likewise.
5311 * soft-fp/fixsfdi.c: Likewise.
5312 * soft-fp/fixsfsi.c: Likewise.
5313 * soft-fp/fixsfti.c: Likewise.
5314 * soft-fp/fixtfdi.c: Likewise.
5315 * soft-fp/fixtfsi.c: Likewise.
5316 * soft-fp/fixtfti.c: Likewise.
5317 * soft-fp/fixunsdfdi.c: Likewise.
5318 * soft-fp/fixunsdfsi.c: Likewise.
5319 * soft-fp/fixunsdfti.c: Likewise.
5320 * soft-fp/fixunssfdi.c: Likewise.
5321 * soft-fp/fixunssfsi.c: Likewise.
5322 * soft-fp/fixunssfti.c: Likewise.
5323 * soft-fp/fixunstfdi.c: Likewise.
5324 * soft-fp/fixunstfsi.c: Likewise.
5325 * soft-fp/fixunstfti.c: Likewise.
5326 * soft-fp/floatdidf.c: Likewise.
5327 * soft-fp/floatdisf.c: Likewise.
5328 * soft-fp/floatditf.c: Likewise.
5329 * soft-fp/floatsidf.c: Likewise.
5330 * soft-fp/floatsisf.c: Likewise.
5331 * soft-fp/floatsitf.c: Likewise.
5332 * soft-fp/floattidf.c: Likewise.
5333 * soft-fp/floattisf.c: Likewise.
5334 * soft-fp/floattitf.c: Likewise.
5335 * soft-fp/floatundidf.c: Likewise.
5336 * soft-fp/floatundisf.c: Likewise.
5337 * soft-fp/floatunditf.c: Likewise.
5338 * soft-fp/floatunsidf.c: Likewise.
5339 * soft-fp/floatunsisf.c: Likewise.
5340 * soft-fp/floatunsitf.c: Likewise.
5341 * soft-fp/floatuntidf.c: Likewise.
5342 * soft-fp/floatuntisf.c: Likewise.
5343 * soft-fp/floatuntitf.c: Likewise.
5344 * soft-fp/gedf2.c: Likewise.
5345 * soft-fp/gesf2.c: Likewise.
5346 * soft-fp/getf2.c: Likewise.
5347 * soft-fp/ledf2.c: Likewise.
5348 * soft-fp/lesf2.c: Likewise.
5349 * soft-fp/letf2.c: Likewise.
5350 * soft-fp/muldf3.c: Likewise.
5351 * soft-fp/mulsf3.c: Likewise.
5352 * soft-fp/multf3.c: Likewise.
5353 * soft-fp/negdf2.c: Likewise.
5354 * soft-fp/negsf2.c: Likewise.
5355 * soft-fp/negtf2.c: Likewise.
5356 * soft-fp/op-1.h: Likewise.
5357 * soft-fp/op-2.h: Likewise.
5358 * soft-fp/op-4.h: Likewise.
5359 * soft-fp/op-8.h: Likewise.
5360 * soft-fp/op-common.h: Likewise.
5361 * soft-fp/quad.h: Likewise.
5362 * soft-fp/single.h: Likewise.
5363 * soft-fp/soft-fp.h: Likewise.
5364 * soft-fp/subdf3.c: Likewise.
5365 * soft-fp/subsf3.c: Likewise.
5366 * soft-fp/subtf3.c: Likewise.
5367 * soft-fp/truncdfsf2.c: Likewise.
5368 * soft-fp/trunctfdf2.c: Likewise.
5369 * soft-fp/trunctfsf2.c: Likewise.
5370 * soft-fp/trunctfxf2.c: Likewise.
5371 * soft-fp/unorddf2.c: Likewise.
5372 * soft-fp/unordsf2.c: Likewise.
5373 * soft-fp/unordtf2.c: Likewise.
5375 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
5377 PR gcov-profile/67097
5378 * libgcov-util.c (gcov_profile_merge): Skip missing files.
5380 2016-08-10 Martin Liska <mliska@suse.cz>
5382 PR gcov-profile/58306
5383 * Makefile.in: New functions (modules) are added.
5384 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
5386 (__gcov_pow2_profiler_atomic): New function.
5387 (__gcov_one_value_profiler_body): New argument is instroduced.
5388 (__gcov_one_value_profiler): Call with the new argument.
5389 (__gcov_one_value_profiler_atomic): Likewise.
5390 (__gcov_indirect_call_profiler_v2): Likewise.
5391 (__gcov_time_profiler_atomic): New function.
5392 (__gcov_average_profiler_atomic): Likewise.
5393 (__gcov_ior_profiler_atomic): Likewise.
5394 * libgcov.h: Declare the aforementioned functions.
5396 2016-08-09 Martin Liska <mliska@suse.cz>
5398 * libgcov-util.c: Fix typo and GNU coding style.
5400 2016-08-09 Martin Liska <mliska@suse.cz>
5402 * Makefile.in: Remove __gcov_indirect_call_profiler.
5403 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
5405 * libgcov.h: And the declaration of the function.
5407 2016-08-09 Martin Liska <mliska@suse.cz>
5409 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
5412 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5414 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
5415 * config/rs6000/_mulkc3.c: Likewise.
5417 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
5419 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
5420 zero_reg as previous call to __umulhisi3 already cleared it.
5422 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
5425 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
5427 2016-07-19 Nick Clifton <nickc@redhat.com>
5429 * config.host (m32r): Add m32r/t-m32r to tmake_file.
5430 Add crtinit.o and crtfini.o to extra_parts.
5432 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5434 * config/rs6000/_divkc3.c: New.
5435 * config/rs6000/_mulkc3.c: New.
5436 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
5438 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
5441 2016-07-11 Hale Wang <hale.wang@arm.com>
5442 Andre Vieira <andre.simoesdiasvieira@arm.com>
5444 * config/arm/lib1funcs.S: Add new wrapper.
5446 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5448 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
5450 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5452 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
5453 and ARMv5t* rather than for a fixed list of architectures.
5455 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5457 * config/arm/bpabi-v6m.S: Clarify what architectures is the
5458 implementation suitable for.
5459 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
5460 for all Thumb-1 only targets.
5461 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
5462 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
5465 (ARM_FUNC_ALIAS): Likewise.
5466 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
5469 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
5472 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
5473 __ARM_ARCH_6M__ in guard for checking whether it is defined.
5474 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
5475 __ARM_ARCH_6M__ and add comment to indicate the connection between
5476 this condition and the one in gcc/config/arm/elf.h.
5477 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
5478 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
5479 * config/arm/t-softfp: Likewise.
5481 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5483 * libgcc2.c (SYMBOL__MAIN): Remove checks for
5484 CTOR_LISTS_DEFINED_EXTERNALLY.
5486 2016-06-28 Walter Lee <walt@tilera.com>
5488 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
5490 (SPR_CMPEXCH_VALUE): Define for tilegx.
5491 (__NR_FAST_cmpxchg): Define for tilepro.
5492 (__NR_FAST_atomic_update): Define for tilepro.
5493 (__NR_FAST_cmpxchg64): Define for tilepro.
5495 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
5497 * config.host: Add suport for arm*-*-phoenix* targets.
5499 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5501 * config.host: Remove support for mep-*.
5502 * config/mep/lib1funcs.S: Remove.
5503 * config/mep/lib2funcs.c: Remove.
5504 * config/mep/t-mep: Remove.
5505 * config/mep/tramp.c: Remove.
5507 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5509 * config.host: Remove support for avr-rtems.
5510 * config/avr/t-rtems: Remove.
5512 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5514 * config.host: Remove m32r-rtems support.
5516 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5518 * config.host: Remove h8300-rtems support.
5520 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5522 * config.host: Remove support for knetbsd.
5524 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5526 * config.host: Remove support for openbsd 2 and 3.
5528 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5530 * config.host: Remove interix support.
5531 * config/i386/t-interix: Remove.
5533 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
5535 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
5536 least-significant bit in function pointer for fixup.
5538 2016-06-05 Aaron Conole <aconole@redhat.com>
5539 Nathan Sidwell <nathan@acm.org>
5542 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
5543 (get_gcov_error_file): Check __gcov_error_file before trying to
5545 (gcov_error): Always use get_gcov_error_file.
5547 2016-06-02 Aaron Conole <aconole@redhat.com>
5549 * libgcov-driver-system.c (__gcov_error_file): New.
5550 (get_gcov_error_file): New.
5551 (gcov_error): Use and set __gcov_error_file.
5552 (gcov_error_exit): New.
5553 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
5555 2016-05-26 Nathan Sidwell <nathan@acm.org>
5557 * config/nvptx/free.asm: Delete.
5558 * config/nvptx/malloc.asm: Delete.
5559 * config/nvptx/realloc.c: Delete.
5562 2016-05-25 Nathan Sidwell <nathan@acm.org>
5564 * config/nvptx/crt0.s: Delete.
5565 * config/nvptx/crt0.c: New.
5568 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
5570 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
5571 dw2/seh configuration.
5572 [x86_64-*-mingw*]: Likewise.
5574 2016-05-10 Joel Sherrill <joel@rtems.org>
5577 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
5578 targets so the same extra_parts are built. Also have tmake_file add
5579 on to its value rather than override.
5581 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
5583 * config.host: Remove SH5 support.
5584 * configure: Likewise.
5586 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
5588 * config/sh/crt1.S: Remove SH5 support.
5589 * config/sh/crti.S: Likewise.
5590 * config/sh/crtn.S: Likewise.
5591 * config/sh/lib1funcs-4-300.S: Likewise.
5592 * config/sh/lib1funcs-Os-4-200.S: Likewise.
5593 * config/sh/lib1funcs.S: Likewise.
5594 * config/sh/linux-unwind.h: Likewise.
5595 * config/sh/t-sh64: Delete.
5597 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
5599 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
5601 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
5602 Joern Rennecke <joern.rennecke@embecosm.com>
5604 * config/arc/crttls.S: New file.
5605 * config/arc/t-arc: New rule.
5606 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
5608 2016-04-25 Nick Clifton <nickc@redhat.com>
5610 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
5611 (__mspabi_cmpd): Likewise.
5612 * config/msp430/floathidf.c (__floathidf): Likewise.
5613 * config/msp430/floathisf.c (__floathisf): Likewise
5614 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
5615 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
5616 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
5618 (__ashrsi3): Likewise.
5620 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
5622 * config/m68k/linux-atomic.c: Do not include unistd.h
5624 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
5626 * config/arm/ieee754-df.S: Fix typos in comments.
5628 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
5631 * configure.ac (powerpc*-*-linux*): Rework tests to build
5632 __float128 emulation routines to not depend on using #pragma GCC
5633 target to enable -mfloat128.
5634 * configure: Regnerate.
5636 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
5639 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
5640 __MINGW32__ is defined.
5642 2016-03-28 James Bowman <james.bowman@ftdichip.com>
5644 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
5646 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
5649 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
5650 built with an assembler that does not support ISA 3.0
5651 instructions, rename __extendkftf2_sw to __extendkftf2.
5653 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5656 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
5657 call-clobbered registers.
5658 (internal_mcount): Remove __i386__ handling.
5660 2016-02-26 Joel Sherrill <joel@rtems.org>
5662 * config.host: Add x86_64-*-rtems*.
5664 2016-02-26 Joel Sherrill <joel@rtems.org>
5666 * libgcc/config.host: Add aarch64-*-rtems*.
5668 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5669 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5671 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
5672 union of u64 and double.
5673 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
5674 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
5676 (FP_ROUNDMODE): Update the usage of _fpscr.
5678 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
5681 * Makefile.in (crtoffloadtable$(objext)): New rule.
5682 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
5683 enable_offload_targets is not empty.
5684 * configure: Regenerate.
5685 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
5688 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
5690 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
5691 .literal_position before the function.
5692 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
5695 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
5697 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
5698 * config/s390/morestack.S: New file.
5699 * config/s390/t-stack-s390: New file.
5700 * generic-morestack.c (__splitstack_find): Add s390-specific code.
5702 2016-02-12 Walter Lee <walt@tilera.com>
5704 * config.host (tilegx*-*-linux*): remove ti from
5705 softfp_int_modes for 32-bit configs.
5707 2016-02-10 Ian Lance Taylor <iant@google.com>
5710 * config/i386/morestack.S (__stack_split_initialize): Align
5713 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
5716 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
5717 __FLOAT128__ to compile only for __float128 capable targets.
5719 2016-01-25 Jakub Jelinek <jakub@redhat.com>
5722 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
5723 instead of ___NO_FPRS__.
5725 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
5726 Steven Munroe <munroesj@linux.vnet.ibm.com>
5727 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
5729 * config/rs6000/float128-sed: New files to convert TF names to KF
5730 names for PowerPC IEEE 128-bit floating point support.
5731 * config/rs6000/float128-sed-hw: Likewise.
5733 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5734 floating point hardware support.
5736 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5737 128-bit floating point software emulation or use ISA 3.0 hardware
5738 support if it is available.
5740 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5743 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
5744 floating point to IBM extended double.
5746 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
5747 double to IEEE 128-bit floating point.
5749 * config/rs6000/t-float128: New Makefile fragments to enable
5750 building __float128 emulation support.
5751 * config/rs6000/t-float128-hw: Likewise.
5753 * config/rs6000/sfp-exceptions.c: New file to provide exception
5754 support for IEEE 128-bit floating point.
5756 * config/rs6000/floattikf.c: New files for converting between IEEE
5757 128-bit floating point and signed/unsigned 128-bit integers.
5758 * config/rs6000/fixunskfti.c: Likewise.
5759 * config/rs6000/fixkfti.c: Likewise.
5760 * config/rs6000/floatuntikf.c: Likewise.
5762 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5763 when building on 64-bit systems, or when VSX is enabled.
5764 (_FP_W_TYPE): Likewise.
5765 (_FP_WS_TYPE): Likewise.
5766 (_FP_I_TYPE): Likewise.
5767 (TItype): Define on 64-bit systems.
5768 (UTItype): Likewise.
5769 (TI_BITS): Likewise.
5770 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5771 (_FP_MUL_MEAT_Q): Likewise.
5772 (_FP_DIV_MEAT_D): Likewise.
5773 (_FP_DIV_MEAT_Q): Likewise.
5774 (_FP_NANFRAC_D): Likewise.
5775 (_FP_NANFRAC_Q): Likewise.
5776 (ISA_BIT): Add exception support if we are being compiled on a
5777 machine with hardware floating point support to build the IEEE
5778 128-bit emulation functions.
5779 (FP_EX_INVALID): Likewise.
5780 (FP_EX_OVERFLOW): Likewise.
5781 (FP_EX_UNDERFLOW): Likewise.
5782 (FP_EX_DIVZERO): Likewise.
5783 (FP_EX_INEXACT): Likewise.
5784 (FP_EX_ALL): Likewise.
5785 (__sfp_handle_exceptions): Likewise.
5786 (FP_HANDLE_EXCEPTIONS): Likewise.
5787 (FP_RND_NEAREST): Likewise.
5788 (FP_RND_ZERO): Likewise.
5789 (FP_RND_PINF): Likewise.
5790 (FP_RND_MINF): Likewise.
5791 (FP_RND_MASK): Likewise.
5792 (_FP_DECL_EX): Likewise.
5793 (FP_INIT_ROUNDMODE): Likewise.
5794 (FP_ROUNDMODE): Likewise.
5796 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5797 VSX code, enable IEEE 128-bit floating point. If the compiler can
5798 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
5799 floating point hardware instructions and it supports declaring
5800 functions with the ifunc attribute, enable ifunc functions to
5801 switch between software and hardware support.
5802 * configure.ac (powerpc*-*-linux*): Likewise.
5803 * configure: Regenerate.
5805 2016-01-15 Nick Clifton <nickc@redhat.com>
5807 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
5808 dependency as the source file to be compiled.
5809 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
5810 (lib2hw_mul_f5.o): Likewise.
5812 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
5814 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
5815 * libgcc/config/rs6000/fixkfti.c: Likewise.
5816 * libgcc/config/rs6000/fixunskfti.c: Likewise.
5817 * libgcc/config/rs6000/float128-hw.c: Likewise.
5818 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
5819 * libgcc/config/rs6000/float128-sed: Likewise.
5820 * libgcc/config/rs6000/floattikf.c: Likewise.
5821 * libgcc/config/rs6000/floatuntikf.c: Likewise.
5822 * libgcc/config/rs6000/quad-float128.h: Likewise.
5823 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
5824 * libgcc/config/rs6000/sfp-machine.h: Likewise.
5825 * libgcc/config/rs6000/t-float128: Likewise.
5826 * libgcc/config/rs6000/t-float128-hw: Likewise.
5827 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
5828 * libgcc/config.host: Likewise.
5829 * libgcc/configure: Likewise.
5830 * libgcc/configure.ac: Likewise.
5832 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
5833 Steven Munroe <munroesj@linux.vnet.ibm.com>
5834 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
5836 * config/rs6000/sfp-exceptions.c: New file to provide exception
5837 support for IEEE 128-bit floating point.
5839 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5840 floating point hardware support.
5842 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
5844 * config/rs6000/fixunskfti.c: Likewise.
5845 * config/rs6000/fixkfti.c: Likewise.
5846 * config/rs6000/floatuntikf.c: Likewise.
5847 * config/rs6000/extendkftf2-sw.c: Likewise.
5848 * config/rs6000/trunctfkf2-sw.c: Likewise.
5850 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5851 128-bit floating point software emulation or use ISA 3.0 hardware
5852 support if it is available.
5854 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5857 * config/rs6000/t-float128: New Makefile fragments to enable
5858 building __float128 emulation support.
5859 * config/rs6000/t-float128-hw: Likewise.
5861 * config/rs6000/float128-sed: New file to convert TF names to KF
5862 names for PowerPC IEEE 128-bit floating point support.
5864 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5865 when building on 64-bit systems, or when VSX is enabled.
5866 (_FP_W_TYPE): Likewise.
5867 (_FP_WS_TYPE): Likewise.
5868 (_FP_I_TYPE): Likewise.
5869 (TItype): Define on 64-bit systems.
5870 (UTItype): Likewise.
5871 (TI_BITS): Likewise.
5872 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5873 (_FP_MUL_MEAT_Q): Likewise.
5874 (_FP_DIV_MEAT_D): Likewise.
5875 (_FP_DIV_MEAT_Q): Likewise.
5876 (_FP_NANFRAC_D): Likewise.
5877 (_FP_NANFRAC_Q): Likewise.
5878 (ISA_BIT): Add exception support if we are being compiled on a
5879 machine with hardware floating point support to build the IEEE
5880 128-bit emulation functions.
5881 (FP_EX_INVALID): Likewise.
5882 (FP_EX_OVERFLOW): Likewise.
5883 (FP_EX_UNDERFLOW): Likewise.
5884 (FP_EX_DIVZERO): Likewise.
5885 (FP_EX_INEXACT): Likewise.
5886 (FP_EX_ALL): Likewise.
5887 (__sfp_handle_exceptions): Likewise.
5888 (FP_HANDLE_EXCEPTIONS): Likewise.
5889 (FP_RND_NEAREST): Likewise.
5890 (FP_RND_ZERO): Likewise.
5891 (FP_RND_PINF): Likewise.
5892 (FP_RND_MINF): Likewise.
5893 (FP_RND_MASK): Likewise.
5894 (_FP_DECL_EX): Likewise.
5895 (FP_INIT_ROUNDMODE): Likewise.
5896 (FP_ROUNDMODE): Likewise.
5898 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
5899 compiler can do __float128.
5900 * configure: Regenerate.
5902 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5903 VSX code, enable IEEE 128-bit floating point.
5905 2016-01-05 Olivier Hainque <hainque@adacore.com>
5907 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
5910 2016-01-04 Jakub Jelinek <jakub@redhat.com>
5912 Update copyright years.
5914 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
5916 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
5919 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5921 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
5922 instead of abort to avoid dependency on stdlib.h.
5924 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
5926 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
5927 to initialize call to __dl_fixup once.
5929 2015-12-04 Nick Clifton <nickc@redhat.com>
5931 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
5932 Allow for the second argument being negative.
5933 * config.host (extra_parts): Define for MSP430. Create separate
5934 libraries for each of the hardware multiply formats.
5935 * config/msp430/lib2hw_mul.S: Build only the multiply routines
5937 * config/msp430/lib2mul.c: Likewise.
5938 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
5939 Add rules to build hardware multiply libraries.
5940 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
5941 __mspabi_divul function.
5942 (__mspabi_divllu): New stub function.
5944 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
5946 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
5947 fixup values if saved GOT address doesn't match runtime address.
5948 (fixup_branch_offset): Reorder list.
5950 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5952 * Makefile.in (VTV_CFLAGS): New variable.
5953 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
5954 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
5955 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5956 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
5957 to extra_parts if $enable_vtable_verify = yes.
5959 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
5962 * config/arm/linux-atomic-64bit.c (__write): Rename to...
5963 (write): ...this and fix the return type.
5965 2015-11-19 DJ Delorie <dj@redhat.com>
5967 * config/msp430/lib2hw_mul.S: Fix alignment.
5969 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
5971 * config/nvptx/reduction.c: New.
5972 * config/nvptx/t-nvptx (LIB2ADD): Add it.
5974 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
5976 * config/rs6000/on_exit.c: New file.
5977 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
5978 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
5980 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
5982 * config/arc/dp-hack.h: Add support for ARCHS.
5983 * config/arc/ieee-754/divdf3.S: Likewise.
5984 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5985 * config/arc/ieee-754/muldf3.S: Likewise.
5986 * config/arc/ieee-754/mulsf3.S: Likewise
5987 * config/arc/lib1funcs.S: Likewise
5988 * config/arc/gmon/dcache_linesz.S: Don't read the build register
5990 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
5992 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
5993 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
5996 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5998 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
6000 * config/ia64/crtend.S: Likewise.
6002 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
6004 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
6005 __CHAR_BIT__ instead of BITS_PER_UNIT.
6006 * fixed-bit.h: Likewise.
6007 * fp-bit.h: Likewise.
6008 * libgcc2.c (__popcountSI2): Likewise.
6009 (__popcountDI2): Likewise.
6010 * libgcc2.h: Likewise.
6011 * libgcov.h: Likewise.
6013 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
6015 * config/rs6000/atexit.c: New file.
6016 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
6017 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
6018 * config/rs6000/cxa_finalize.c
6019 (catomic_compare_and_exchange_bool_acq): Negate return value.
6021 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
6023 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
6024 (processor_subtypes): Add znver1.
6025 (get_amd_cpu): Detect znver1.
6027 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
6029 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
6030 Include crtfastmath.o.
6032 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
6035 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
6037 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
6039 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
6040 * config/rl78/divmodsi.S: Update return register to r8.
6041 * config/rl78/divmodhi.S: Update return register to r8,r9.
6042 Branch to main_loop_done_himode to pop registers before return.
6044 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
6046 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
6047 (__cpu_indicator_init): Fix model selection for AMD CPUs.
6049 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
6051 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
6053 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
6055 * config.host (xtensa*-*-uclinux*): New configuration.
6057 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
6059 * config/i386/cpuinfo.c (processor_features): Add
6060 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
6062 2015-09-28 Joseph Myers <joseph@codesourcery.com>
6064 * soft-fp/adddf3.c: Update from glibc.
6065 * soft-fp/addsf3.c: Likewise.
6066 * soft-fp/addtf3.c: Likewise.
6067 * soft-fp/divdf3.c: Likewise.
6068 * soft-fp/divsf3.c: Likewise.
6069 * soft-fp/divtf3.c: Likewise.
6070 * soft-fp/double.h: Likewise.
6071 * soft-fp/eqdf2.c: Likewise.
6072 * soft-fp/eqsf2.c: Likewise.
6073 * soft-fp/eqtf2.c: Likewise.
6074 * soft-fp/extenddftf2.c: Likewise.
6075 * soft-fp/extended.h: Likewise.
6076 * soft-fp/extendsfdf2.c: Likewise.
6077 * soft-fp/extendsftf2.c: Likewise.
6078 * soft-fp/extendxftf2.c: Likewise.
6079 * soft-fp/fixdfdi.c: Likewise.
6080 * soft-fp/fixdfsi.c: Likewise.
6081 * soft-fp/fixdfti.c: Likewise.
6082 * soft-fp/fixsfdi.c: Likewise.
6083 * soft-fp/fixsfsi.c: Likewise.
6084 * soft-fp/fixsfti.c: Likewise.
6085 * soft-fp/fixtfdi.c: Likewise.
6086 * soft-fp/fixtfsi.c: Likewise.
6087 * soft-fp/fixtfti.c: Likewise.
6088 * soft-fp/fixunsdfdi.c: Likewise.
6089 * soft-fp/fixunsdfsi.c: Likewise.
6090 * soft-fp/fixunsdfti.c: Likewise.
6091 * soft-fp/fixunssfdi.c: Likewise.
6092 * soft-fp/fixunssfsi.c: Likewise.
6093 * soft-fp/fixunssfti.c: Likewise.
6094 * soft-fp/fixunstfdi.c: Likewise.
6095 * soft-fp/fixunstfsi.c: Likewise.
6096 * soft-fp/fixunstfti.c: Likewise.
6097 * soft-fp/floatdidf.c: Likewise.
6098 * soft-fp/floatdisf.c: Likewise.
6099 * soft-fp/floatditf.c: Likewise.
6100 * soft-fp/floatsidf.c: Likewise.
6101 * soft-fp/floatsisf.c: Likewise.
6102 * soft-fp/floatsitf.c: Likewise.
6103 * soft-fp/floattidf.c: Likewise.
6104 * soft-fp/floattisf.c: Likewise.
6105 * soft-fp/floattitf.c: Likewise.
6106 * soft-fp/floatundidf.c: Likewise.
6107 * soft-fp/floatundisf.c: Likewise.
6108 * soft-fp/floatunditf.c: Likewise.
6109 * soft-fp/floatunsidf.c: Likewise.
6110 * soft-fp/floatunsisf.c: Likewise.
6111 * soft-fp/floatunsitf.c: Likewise.
6112 * soft-fp/floatuntidf.c: Likewise.
6113 * soft-fp/floatuntisf.c: Likewise.
6114 * soft-fp/floatuntitf.c: Likewise.
6115 * soft-fp/gedf2.c: Likewise.
6116 * soft-fp/gesf2.c: Likewise.
6117 * soft-fp/getf2.c: Likewise.
6118 * soft-fp/ledf2.c: Likewise.
6119 * soft-fp/lesf2.c: Likewise.
6120 * soft-fp/letf2.c: Likewise.
6121 * soft-fp/muldf3.c: Likewise.
6122 * soft-fp/mulsf3.c: Likewise.
6123 * soft-fp/multf3.c: Likewise.
6124 * soft-fp/negdf2.c: Likewise.
6125 * soft-fp/negsf2.c: Likewise.
6126 * soft-fp/negtf2.c: Likewise.
6127 * soft-fp/op-1.h: Likewise.
6128 * soft-fp/op-2.h: Likewise.
6129 * soft-fp/op-4.h: Likewise.
6130 * soft-fp/op-8.h: Likewise.
6131 * soft-fp/op-common.h: Likewise.
6132 * soft-fp/quad.h: Likewise.
6133 * soft-fp/single.h: Likewise.
6134 * soft-fp/soft-fp.h: Likewise.
6135 * soft-fp/subdf3.c: Likewise.
6136 * soft-fp/subsf3.c: Likewise.
6137 * soft-fp/subtf3.c: Likewise.
6138 * soft-fp/truncdfsf2.c: Likewise.
6139 * soft-fp/trunctfdf2.c: Likewise.
6140 * soft-fp/trunctfsf2.c: Likewise.
6141 * soft-fp/trunctfxf2.c: Likewise.
6142 * soft-fp/unorddf2.c: Likewise.
6143 * soft-fp/unordsf2.c: Likewise.
6144 * soft-fp/unordtf2.c: Likewise.
6146 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
6149 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
6151 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6153 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
6154 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
6155 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
6157 (internal_mcount): Likewise.
6158 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
6159 crt_compile, add CRTSTUFF_T_CFLAGS_S.
6161 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6163 * configure.ac (libgcc_cv_solaris_crts): New test.
6164 * configure: Regenerate.
6165 * config.in: Regenerate.
6166 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
6167 * config/gmon-sol2.c: Rename to ...
6168 * config/sol2/gmon.c: ... this.
6169 Include auto-target.h.
6170 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
6171 * config/t-sol2: Rename to ...
6172 * config/sol2/t-sol2: ... this.
6173 (gmon.o): Reflect renaming.
6174 (crtp.o, crtpg.o): New rules.
6175 * config.host (*-*-solaris2*): Reflect renaming.
6176 Use system CRTs if present.
6177 Remove default CRT case.
6179 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
6181 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
6182 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
6184 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
6185 (__sync_val_compare_and_swap_##WIDTH): Likewise.
6186 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
6187 (__sync_lock_test_and_set_##WIDTH): Likewise.
6188 (__sync_lock_release_##WIDTH): Likewise.
6189 (__sync_fetch_and_##OP##_4): Change result to match type of
6191 (__sync_##OP##_and_fetch_4): Likewise.
6192 (__sync_val_compare_and_swap_4): Likewise.
6193 (__sync_bool_compare_and_swap_4): likewise.
6194 (__sync_lock_test_and_set_4): Likewise.
6195 (__sync_lock_release_4): Likewise.
6196 (FETCH_AND_OP_2): Add long long variants.
6197 (OP_AND_FETCH_2): Likewise.
6198 (COMPARE_AND_SWAP_2 ): Likewise.
6199 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6200 (SYNC_LOCK_RELEASE_2): Likewise.
6201 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
6203 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
6205 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
6206 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
6207 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
6208 (get_available_features): Habdle new features.
6210 2015-09-21 James Bowman <james.bowman@ftdichip.com>
6212 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
6213 memory layout. Deal correctly with BSS region larger than 32K.
6214 Handle a watchdog reset like a power-on reset. Clean up unused
6217 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
6218 David Edelsohn <dje.gcc@gmail.com>
6220 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
6221 * config/rs6000/crtdbase.S: New file.
6222 * config/rs6000/t-aix-cxa: Build crtdbase.o.
6224 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
6226 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
6227 Add support for call0 ABI.
6229 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
6231 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
6233 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
6235 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
6236 (__GTHREAD_HAS_COND): Likewise.
6237 (__gthread_t): Likewise.
6238 (__gthread_cond_t): Likewise.
6239 (__gthread_time_t): Likewise.
6240 (__GTHREAD_MUTEX_INIT): Likewise.
6241 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
6242 (__GTHREAD_COND_INIT): Likewise.
6243 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
6244 (__GTHREAD_TIME_INIT): Likewise.
6245 (__gthread_create): Likewise.
6246 (__gthread_join): Likewise.
6247 (__gthread_detach): Likewise.
6248 (__gthread_equal): Likewise.
6249 (__gthread_self): Likewise.
6250 (__gthread_yield): Likewise.
6251 (__gthread_cond_broadcast): Likewise.
6252 (__gthread_cond_signal): Likewise.
6253 (__gthread_cond_wait): Likewise.
6254 (__gthread_cond_timedwait): Likewise.
6255 (__gthread_cond_wait_recursive): Likewise.
6256 (__gthread_cond_destroy): Likewise.
6257 (rtems_gxx_once): Delete.
6258 (rtems_gxx_key_create): Likewise.
6259 (rtems_gxx_key_delete): Likewise.
6260 (rtems_gxx_getspecific): Likewise.
6261 (rtems_gxx_setspecific): Likewise.
6262 (rtems_gxx_mutex_init): Likewise.
6263 (rtems_gxx_mutex_destroy): Likewise.
6264 (rtems_gxx_mutex_lock): Likewise.
6265 (rtems_gxx_mutex_trylock): Likewise.
6266 (rtems_gxx_mutex_unlock): Likewise.
6267 (rtems_gxx_recursive_mutex_init): Likewise.
6268 (rtems_gxx_recursive_mutex_lock): Likewise.
6269 (rtems_gxx_recursive_mutex_trylock): Likewise.
6270 (rtems_gxx_recursive_mutex_unlock): Likewise.
6271 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
6272 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
6273 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
6274 (__gthread_once): Likewise.
6275 (__gthread_key_create): Likewise.
6276 (__gthread_key_delete): Likewise.
6277 (__gthread_getspecific): Likewise.
6278 (__gthread_setspecific): Likewise.
6279 (__gthread_key_t): Use <pthread.h> type.
6280 (__gthread_once_t): Likewise
6281 (__gthread_mutex_t): Use <sys/lock.h> type.
6282 (__gthread_recursive_mutex_t): Likewise
6283 (__gthread_mutex_lock): Use <sys/lock.h> function.
6284 (__gthread_mutex_trylock): Likewise.
6285 (__gthread_mutex_timedlock): Likewise.
6286 (__gthread_mutex_unlock): Likewise.
6287 (__gthread_mutex_destroy): Likewise.
6288 (__gthread_recursive_mutex_lock): Likewise.
6289 (__gthread_recursive_mutex_trylock): Likewise.
6290 (__gthread_recursive_mutex_timedlock): Likewise.
6291 (__gthread_recursive_mutex_unlock): Likewise.
6292 (__gthread_recursive_mutex_destroy): Likewise.
6294 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6296 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
6297 context->sp instead of context->cfa.
6299 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6301 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
6302 with unwind-dw2-fde-dip.
6304 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6306 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
6307 CALL12 followed by series of ENTRY to spill windowed registers.
6308 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
6309 instead of making linux spill syscall.
6311 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
6313 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
6314 (get_intel_cpu): Likewise.
6316 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
6318 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
6319 (get_intel_cpu): Add Knights Landing support.
6321 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
6324 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
6325 (get_available_features): Handle FEATURE_PCLMUL.
6327 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
6329 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
6332 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
6335 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
6336 (get_available_features): Handle FEATURE_AES.
6338 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
6340 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
6341 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
6343 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
6345 * offloadstuff.c: Constify host data.
6347 2015-07-17 Jan Beulich <jbeulich@suse.com>
6349 * config/t-softfp: Split up "else ifneq".
6351 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
6352 Cesar Philippidis <cesar@codesourcery.com>
6353 Chung-Lin Tang <cltang@codesourcery.com>
6355 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
6356 for __nios2_arch__ level.
6358 2015-07-13 John Marino <gnugcc@marino.st>
6360 * config/i386/t-dragonfly: New.
6362 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
6364 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
6365 better match light-weight syscall argument order.
6366 (__kernel_cmpxchg2): Likewise.
6369 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
6371 * config.host: Support i[34567]86-*-elfiamcu target.
6372 * config/t-softfp-sfdftf: New file.
6373 * config/i386/32/t-iamcu: Likewise.
6374 * configure: Regenerated.
6376 2015-06-23 James Lemke <jwlemke@codesourcery.com>
6379 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
6381 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
6383 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
6385 2015-05-27 John Marino <gnugcc@marino.st>
6387 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
6389 * config/i386/freebsd-unwind.h: New.
6391 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
6393 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
6394 i386/t-crtfm to tmake_file.
6395 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
6396 (set_fast_math): Use set_fast_math_sse for SSE targets.
6397 * config/i386/t-crtfm: Remove.
6399 2015-05-21 Alan Modra <amodra@gmail.com>
6402 * config/rs6000/morestack.S: Remove ".abiversion 1".
6404 2015-05-20 Alan Modra <amodra@gmail.com>
6406 * config/rs6000/morestack.S: New.
6407 * config/rs6000/t-stack-rs6000: New.
6408 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
6410 * generic-morestack.c: Don't build for powerpc 32-bit.
6412 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
6414 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
6415 Remove useless endif/ifneq ($(enable_shared),yes) pair.
6417 2015-05-16 James Bowman <james.bowman@ftdichip.com>
6419 * config.host: FT32 target added.
6420 * config/ft32/*: New files for FT32 target.
6422 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
6424 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
6426 * config/arm/ieee754-df.S: Add CFI directives.
6427 * config/arm/ieee754-sf.S: Add CFI directives.
6429 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
6431 * configure.ac: Include config/sjlj.m4.
6432 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
6433 * config.in: Regenerate.
6434 * configure: Likewise.
6435 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
6437 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
6439 * libgcov-util.c: Add space between string literal and macro name.
6441 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
6442 Chris Jones <chrisj@nvidia.com>
6443 Joshua Conner <jconner@nvidia.com>
6445 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
6446 (arm*-*-uclinux*): Likewise.
6447 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
6448 * config/arm/crtfastmath.c: New file.
6450 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
6452 * Makefile.in (real_host_noncanonical): New variable.
6453 (libsubdir): Use it.
6454 * configure.ac (real_host_noncanonical): Compute. Remove special
6455 case for intelmicemul.
6456 * configure: Regenerate.
6458 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
6460 * config/frv/elf-lib.h: New file.
6461 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
6462 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
6465 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
6467 * config/frv/frvbengin.c: Do not include defaults.h
6468 * config/frv/frvend.c: Ditto.
6470 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
6472 * config.host: Add h8300-*-linux
6473 * config/h8300/t-linux: New file.
6474 * config/h8300/lib1funs.s: Change symbol prefix.
6475 * config/h8300/sfp-machine.h: 64bit double support.
6477 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
6478 Szabolcs Nagy <szabolcs.nagy@arm.com>
6480 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
6481 Linux if target provides dl_iterate_phdr.
6483 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
6486 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
6487 * config/i386/cpuinfo.c (__cpu_model): Initialize.
6488 (__cpu_indicator_init@GCC_4.8.0): New.
6489 (__cpu_model@GCC_4.8.0): Likewise.
6490 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
6493 2015-04-16 Nick Clifton <nickc@redhat.com>
6495 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
6496 and __modhi3 functions.
6497 * config/rl78/divmodso.S: Add G14 and G13 versions of the
6498 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
6500 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
6502 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
6503 do-while loop as macro body to avoid warnings.
6505 2015-04-10 Jakub Jelinek <jakub@redhat.com>
6506 Iain Sandoe <iain@codesourcery.com>
6509 * configure: Regenerate.
6511 2015-04-07 Jakub Jelinek <jakub@redhat.com>
6512 Iain Sandoe <iain@codesourcery.com>
6515 * configure: Regenerate.
6517 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
6519 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
6521 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
6523 Implement call0 ABI for xtensa
6524 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6525 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
6526 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
6527 use ret in call0 ABI.
6528 * config/xtensa/t-windowed: New file.
6529 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
6530 * libgcc/configure: Regenerated.
6531 * libgcc/configure.ac: Check if xtensa target is configured for
6532 windowed ABI and thus needs to use custom unwind code.
6534 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
6537 * gthr-single.h: Use __unused__ attribute instead of unused.
6538 * config/gthr-vxworks.h: Likewise.
6539 * config/i386/gthr-win32.h: Likewise.
6541 2015-02-27 Kai Tietz <ktietz@redhat.com>
6544 * config.in: Regenerated.
6545 * configure: Likewise.
6546 * configure.ac (AC_HEADER_STDC): Added explicit.
6547 (AC_CHECK_HEADERS): Check for default headers plus
6549 * libgcov-util.c (gcov_read_profile_dir): Disable use
6550 of ftw-function, if header is not found.
6551 (ftw_read_file): Likewise.
6553 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
6556 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
6559 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
6561 * config/arm/bpabi.S (test_div_by_zero): Make label names
6562 consistent between thumb2 and arm mode cases. Separate the
6563 signed comparison on the high word of the numerator from the
6564 unsigned comparison on the low word.
6565 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
6568 2015-02-17 Joseph Myers <joseph@codesourcery.com>
6570 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
6572 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
6574 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
6576 PR gcov-profile/61889
6577 * libgcov-driver-system.c: undefine clashing macro for mkdir.
6579 2015-02-02 Nick Clifton <nickc@redhat.com>
6581 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
6582 rounding up the fraction.
6584 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
6586 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
6587 oldval and newval to const void *. Fix typo.
6588 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
6589 (FETCH_AND_OP_WORD): Likewise.
6590 (OP_AND_FETCH_WORD): Likewise.
6591 (COMPARE_AND_SWAP_2): Likewise.
6592 (__sync_val_compare_and_swap_4): Likewise.
6593 (__sync_lock_test_and_set_4): Likewise.
6594 (SYNC_LOCK_RELEASE_2): Likewise.
6595 Remove support for long long atomic operations.
6597 2015-01-27 Caroline Tice <cmtice@google.com>
6599 Committing VTV Cywin/Ming patch for Patrick Wollgast
6600 * Makefile.in: Move rules to build vtv_*.o out of the check
6601 for CUSTOM_CRTSTUFF.
6602 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
6603 i[34567]86-*-mingw*)
6604 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
6605 enable_vtable_verify.
6607 2015-01-27 Nick Clifton <nickc@redhat.com>
6609 * config/rl78/cmpsi2.S: Use function start and end macros.
6610 (__gcc_bcmp): New function.
6611 * config/rl78/lshrsi3.S: Use function start and end macros.
6612 * config/rl78/mulsi3.S: Add support for G10.
6613 (__mulqi3): New function for G10.
6614 * config/rl78/signbit.S: Use function start and end macros.
6615 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
6617 (LIB2FUNCS_EXCLUDE): Define.
6618 (LIB2FUNCS_ST): Define.
6619 * config/rl78/trampoline.S: Use function start and end macros.
6620 * config/rl78/vregs.h (START_FUNC): New macro.
6621 (START_ANOTHER_FUNC): New macro.
6622 (END_FUNC): New macro.
6623 (END_ANOTHER_FUNC): New macro.
6624 * config/rl78/bit-count.S: New file. Contains assembler
6625 implementations of the bit counting functions: ___clzhi2,
6626 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
6627 __paritysi2, __popcounthi2 and __popcountsi2.
6628 * config/rl78/fpbit-sf.S: New file. Contains assembler
6629 implementationas of the math functions: __negsf2, __cmpsf2,
6630 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
6631 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
6632 * config/rl78/fpmath-sf.S: New file. Contains assembler
6633 implementations of the math functions: __subsf3, __addsf3,
6634 __mulsf3 and __divsf3
6636 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6638 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
6639 Add i386/elf-lib.h to tm_file.
6640 * config/i386/elf-lib.h: Fix comment.
6641 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
6642 && __sun__ && __svr4__]: Remove workaround.
6644 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6646 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
6648 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
6650 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
6652 * config/i386/cpuinfo.c (processor_subtypes): Add
6653 INTEL_COREI7_BROADWELL.
6654 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
6657 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
6659 * config/i386/elf-lib.h: New file.
6660 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
6661 Wrap definition in #ifdef __i386__.
6662 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6663 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
6664 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
6665 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
6668 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
6670 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
6671 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
6673 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
6675 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
6676 Update rt_sigframe format and address for current Nios II
6679 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
6681 * config.host (arm*-*-freebsd*): Add new configuration for
6683 * config/arm/freebsd-atomic.c: New file.
6684 * config/arm/t-freebsd: Likewise.
6685 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
6686 'PC-relative indirect' OS's.
6688 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
6690 * config.host: Add Visium support.
6691 * config/visium: New directory.
6693 2015-01-05 Jakub Jelinek <jakub@redhat.com>
6695 Update copyright years.
6697 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
6699 * config.host: Support mipsisa32r6 and mipsisa64r6.
6700 * config/mips/mips16.S: Do not build for R6.
6702 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
6704 * config/sh/crt.h: New.
6705 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
6707 * config/sh/crt1.S: Likewise.
6709 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
6712 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
6713 func_ptr *dtor_list temporary variable to avoid "array subscript
6714 is above array bounds" warnings.
6716 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
6718 * Makefile.in (with_aix_soname): Define.
6719 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
6720 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
6721 * configure: Recreate.
6723 2014-12-05 Olivier Hainque <hainque@adacore.com>
6725 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
6726 now provided by defaults.h.
6728 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
6731 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
6732 whether it's defined.
6734 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
6736 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
6737 * config/i386/cpuinfo.c (get_available_features): Detect it.
6739 2014-11-27 Tony Wang <tony.wang@arm.com>
6741 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
6742 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
6743 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
6745 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
6747 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
6749 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
6751 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
6754 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
6755 John David Anglin <danglin@gcc.gnu.org>
6757 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
6758 (FETCH_AND_OP_2): New. Use for subword and double word operations.
6759 (OP_AND_FETCH_2): Likewise.
6760 (COMPARE_AND_SWAP_2): Likewise.
6761 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6762 (SYNC_LOCK_RELEASE_2): Likewise.
6763 (SUBWORD_SYNC_OP): Remove.
6764 (SUBWORD_VAL_CAS): Likewise.
6765 (SUBWORD_BOOL_CAS): Likewise.
6766 (FETCH_AND_OP_WORD): Update.
6767 Consistently use signed types.
6769 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
6770 Thomas Schwinge <thomas@codesourcery.com>
6771 Ilya Verbin <ilya.verbin@intel.com>
6772 Andrey Turetskiy <andrey.turetskiy@intel.com>
6774 * Makefile.in (crtoffloadbegin$(objext)): New rule.
6775 (crtoffloadend$(objext)): Likewise.
6776 * configure: Regenerate.
6777 * configure.ac (accel_dir_suffix): Compute new variable.
6778 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
6779 if enable_offload_targets is not empty.
6780 * offloadstuff.c: New file.
6782 2014-11-13 Nick Clifton <nickc@redhat.com>
6784 * config/rl78/divmodhi.S: Add support for the G10 architecture.
6785 Use START_FUNC and END_FUNC macros to enable linker garbage
6787 * config/rl78/divmodqi.S: Likewise.
6788 * config/rl78/divmodsi.S: Likewise.
6789 * config/rl78/mulsi3.S: Likewise.
6790 * config/rl78/lib2div.c: Remove G10 functions.
6791 * config/rl78/lib2muls.c: Likewise.
6792 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
6793 * config/rl78/vregs.h (START_FUNC): New macro.
6794 (END_FUNC): New macro.
6796 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
6798 * config/mips/mips16.S: Set .module when supported. Update O32
6799 FP64 calling convention and use for FPXX when possible. Add FPXX
6800 calling convention fallback case.
6802 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
6804 * config.host: Handle nvptx-*-*.
6805 * shared-object.mk (as-flags-$o): Define.
6806 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
6807 -xassembler-with-cpp.
6808 * static-object.mk: Identical changes.
6809 * config/nvptx/t-nvptx: New file.
6810 * config/nvptx/crt0.s: New file.
6811 * config/nvptx/free.asm: New file.
6812 * config/nvptx/malloc.asm: New file.
6813 * config/nvptx/realloc.c: New file.
6815 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6817 * Makefile.in (libgcc.map.in): New target.
6818 (libgcc.map): Use libgcc.map.in.
6819 * config/t-softfp (softfp_compat): New variable to be set by
6821 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
6823 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
6825 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
6826 that use compat symbols and disable all code unless [SHARED].
6827 * config/t-softfp-compat: New file.
6828 * find-symver.awk: New file.
6829 * configure.ac (--with-glibc-version): New configure option.
6830 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
6831 * configure: Regenerate.
6832 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
6833 soft-float and e500.
6835 2014-10-29 Joseph Myers <joseph@codesourcery.com>
6837 * config/t-hardfp (hardfp_exclusions): Document new variable for
6839 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
6840 * config/t-softfp (softfp_extras): Document new variable for user
6842 (softfp_func_list): Add functions from $(softfp_extras).
6843 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
6844 * config.host (powerpc*-*-linux*): For e500v1, use
6845 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
6846 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
6847 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
6849 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
6851 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
6852 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
6853 memory read accesses are ok.
6855 2014-10-25 Joseph Myers <joseph@codesourcery.com>
6857 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
6858 * configure: Regenerate.
6859 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
6860 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
6861 of soft-fp for 32-bit classic hard float. Do not use
6862 t-softfp-excl for soft float.
6864 2014-10-22 Joseph Myers <joseph@codesourcery.com>
6866 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
6868 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
6871 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
6873 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
6874 introduced with 2014-10-21 trunk r216525.
6876 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
6877 Vidya Praveen <vidya.praveen@atmel.com>
6878 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
6879 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
6880 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
6882 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
6885 Updated library functions for AVRTINY arch.
6886 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
6887 Replaced occurrences of r0/r1 with tmp/zero reg macros.
6888 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
6889 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
6891 (__mulsi3_helper): Update stack, preserve callee saved regs and
6892 argument from stack. Restore callee save registers.
6893 (__mulpsi3): Likewise.
6894 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
6895 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
6896 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
6898 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
6899 (__do_copy_data): Added new definition for AVRTINY.
6900 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
6901 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
6902 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
6903 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
6904 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
6906 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
6909 Fix broken long multiplication on tiny arch.
6911 2014-10-09 Joseph Myers <joseph@codesourcery.com>
6913 * soft-fp/double.h: Update from glibc.
6914 * soft-fp/eqdf2.c: Likewise.
6915 * soft-fp/eqsf2.c: Likewise.
6916 * soft-fp/eqtf2.c: Likewise.
6917 * soft-fp/extenddftf2.c: Likewise.
6918 * soft-fp/extended.h: Likewise.
6919 * soft-fp/extendsfdf2.c: Likewise.
6920 * soft-fp/extendsftf2.c: Likewise.
6921 * soft-fp/extendxftf2.c: Likewise.
6922 * soft-fp/gedf2.c: Likewise.
6923 * soft-fp/gesf2.c: Likewise.
6924 * soft-fp/getf2.c: Likewise.
6925 * soft-fp/ledf2.c: Likewise.
6926 * soft-fp/lesf2.c: Likewise.
6927 * soft-fp/letf2.c: Likewise.
6928 * soft-fp/op-1.h: Likewise.
6929 * soft-fp/op-2.h: Likewise.
6930 * soft-fp/op-4.h: Likewise.
6931 * soft-fp/op-8.h: Likewise.
6932 * soft-fp/op-common.h: Likewise.
6933 * soft-fp/quad.h: Likewise.
6934 * soft-fp/single.h: Likewise.
6935 * soft-fp/soft-fp.h: Likewise.
6936 * soft-fp/unorddf2.c: Likewise.
6937 * soft-fp/unordsf2.c: Likewise.
6938 * soft-fp/unordtf2.c: Likewise.
6939 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
6940 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
6941 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
6942 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
6943 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
6944 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
6945 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
6946 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
6947 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
6948 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
6950 2014-10-08 Rong Xu <xur@google.com>
6952 * libgcov-util.c (read_gcda_file): Fix format.
6953 (find_match_gcov_info): Ditto.
6954 (calculate_2_entries): New.
6955 (compute_one_gcov): Ditto.
6956 (gcov_info_count_all_cold): Ditto.
6957 (gcov_info_count_all_zero): Ditto.
6958 (extract_file_basename): Ditto.
6959 (get_file_basename): Ditto.
6961 (matched_gcov_info): Ditto.
6962 (calculate_overlap): Ditto.
6963 (gcov_profile_overlap): Ditto.
6964 * libgcov-driver.c (compute_summary): Make
6965 it avavilable for external calls.
6967 2014-10-06 Rong Xu <xur@google.com>
6969 * Makefile.in: Ditto.
6970 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
6971 (gcov_sort_icall_topn_counter): Ditto.
6972 (gcov_sort_topn_counter_arrays): Ditto.
6973 (dump_one_gcov): Sort indirect_call topn counters.
6974 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
6976 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
6978 (__gcov_indirect_call_topn_profiler): New profiler function.
6979 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
6980 * libgcov.h: New decls.
6982 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
6984 * config.host: Remove support for score-*.
6986 2014-09-22 Joseph Myers <joseph@codesourcery.com>
6988 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6989 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
6990 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
6991 __LIBGCC_XF_MANT_DIG__.
6992 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
6993 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
6994 __LIBGCC_TF_MANT_DIG__.
6995 * libgcc2.c (NOTRUNC): Define in terms of
6996 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
6997 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6999 2014-09-22 Joseph Myers <joseph@codesourcery.com>
7002 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
7005 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
7007 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
7008 override USE_PT_GNU_EH_FRAME.
7009 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
7010 check USE_EH_FRAME_REGISTRY_ALWAYS against
7011 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
7012 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
7013 variable for substituted force_explicit_eh_registry.
7014 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
7015 * configure.ac (explicit-exception-frame-registration):
7017 * configure: Regenerate.
7019 2014-09-19 Olivier Hainque <hainque@adacore.com>
7021 * config.host (powerpc-wrs-vxworksmils): New configuration,
7024 2014-09-18 Joseph Myers <joseph@codesourcery.com>
7026 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
7028 2014-09-18 Joseph Myers <joseph@codesourcery.com>
7030 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
7031 bits not set bits as indicating trapping exceptions.
7033 2014-09-17 Nathan sidwell <nathan@acm.org>
7035 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
7036 (LIBGCOV_DRIVER): ... here.
7037 * libgcov-driver.c (gcov_master): New.
7038 (gcov_exit): Remove from master chain.
7039 (__gcov_init): Add to master chain if version compatible. Don't
7041 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
7042 (gcov_reset_int): Clear master chain, if compatible.
7043 (gcov_dump_int): New internal interface. Dump master chain, if
7045 (gcov_dump): Alias for gcov_dump_int.
7046 * libgcov.h (struct gcov_root): Add next and prev fields.
7047 (struct gcov_master): New struct.
7048 (__gcov_master): New.
7049 (gcov_dump_int): Declare.
7051 2014-09-17 Olivier Hainque <hainque@adacore.com>
7053 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
7054 and crtbegin.o + crtend.o to extra_parts.
7056 2014-09-12 Joseph Myers <joseph@codesourcery.com>
7058 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
7059 __LIBGCC_HAS_SF_MODE__.
7060 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7061 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7062 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7063 * config/libbid/bid_gcc_intrinsics.h
7064 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7065 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7066 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7067 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7068 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
7069 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7071 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
7074 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
7075 and R24 as needed. Make work for all devices and .text locations.
7076 (__do_global_ctors, __do_global_dtors): Use word addresses.
7077 (__tablejump__, __tablejump_elpm__): Remove functions.
7078 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
7080 (XICALL, XIJMP): New macros.
7082 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
7083 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7085 * config.host (aarch64*): Include crtfastmath.o and
7087 * config/aarch64/crtfastmath.c: New file.
7089 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
7091 * config.host: Remove picochip support.
7092 * config/picochip/adddi3.S: Remove.
7093 * config/picochip/ashlsi3.S: Remove.
7094 * config/picochip/ashlsi3.c: Remove.
7095 * config/picochip/ashrsi3.S: Remove.
7096 * config/picochip/ashrsi3.c: Remove.
7097 * config/picochip/clzsi2.S: Remove.
7098 * config/picochip/cmpsi2.S: Remove.
7099 * config/picochip/divmod15.S: Remove.
7100 * config/picochip/divmodhi4.S: Remove.
7101 * config/picochip/divmodsi4.S: Remove.
7102 * config/picochip/lib1funcs.S: Remove.
7103 * config/picochip/longjmp.S: Remove.
7104 * config/picochip/lshrsi3.S: Remove.
7105 * config/picochip/lshrsi3.c: Remove.
7106 * config/picochip/parityhi2.S: Remove.
7107 * config/picochip/popcounthi2.S: Remove.
7108 * config/picochip/setjmp.S: Remove.
7109 * config/picochip/subdi3.S: Remove.
7110 * config/picochip/t-picochip: Remove.
7111 * config/picochip/ucmpsi2.S: Remove.
7112 * config/picochip/udivmodhi4.S: Remove.
7113 * config/picochip/udivmodsi4.S: Remove.
7115 2014-09-08 Joseph Myers <joseph@codesourcery.com>
7117 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
7118 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
7119 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
7120 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
7121 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
7122 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
7123 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
7124 defined and LIBGCC2_HAS_DF_MODE is defined.
7125 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
7126 defined and LIBGCC2_HAS_XF_MODE is defined.
7127 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
7128 defined and LIBGCC2_HAS_TF_MODE is defined.
7130 2014-09-08 Joseph Myers <joseph@codesourcery.com>
7132 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
7133 and ROUND_TOWARDS_ZERO conditionals.
7135 2014-09-07 Nathan sidwell <nathan@acm.org>
7137 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
7138 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
7140 2014-09-05 Joseph Myers <joseph@codesourcery.com>
7142 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
7143 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7144 uses to __LIBGCC_STACK_POINTER_REGNUM__.
7145 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7146 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7147 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7148 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7149 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
7150 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
7151 (DWARF_FRAME_REGISTERS): Change all uses to
7152 __LIBGCC_DWARF_FRAME_REGISTERS__.
7153 (EH_RETURN_STACKADJ_RTX): Change all uses to
7154 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7155 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
7156 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
7157 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
7158 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
7159 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
7160 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
7161 to __LIBGCC_EH_FRAME_SECTION_NAME__.
7162 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
7163 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
7164 __LIBGCC_STACK_POINTER_REGNUM__.
7165 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7166 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7167 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7168 to __LIBGCC_STACK_POINTER_REGNUM__.
7169 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7170 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7171 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7172 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7173 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7174 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7175 (STACK_POINTER_REGNUM): Change all uses to
7176 __LIBGCC_STACK_POINTER_REGNUM__.
7177 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
7178 use to __LIBGCC_STACK_POINTER_REGNUM__.
7179 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7180 uses to __LIBGCC_STACK_POINTER_REGNUM__.
7181 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
7182 to __LIBGCC_DWARF_FRAME_REGISTERS__.
7183 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
7184 to __LIBGCC_DWARF_FRAME_REGISTERS__.
7185 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7186 to __LIBGCC_STACK_POINTER_REGNUM__.
7187 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
7188 Remove conditional definition.
7189 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
7190 __LIBGCC_TEXT_SECTION_ASM_OP__.
7191 (EH_FRAME_SECTION_NAME): Change all uses to
7192 __LIBGCC_EH_FRAME_SECTION_NAME__.
7193 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
7194 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
7195 (CTORS_SECTION_ASM_OP): Change all uses to
7196 __LIBGCC_CTORS_SECTION_ASM_OP__.
7197 (DTORS_SECTION_ASM_OP): Change all uses to
7198 __LIBGCC_DTORS_SECTION_ASM_OP__.
7199 (JCR_SECTION_NAME): Change all uses to
7200 __LIBGCC_JCR_SECTION_NAME__.
7201 (INIT_SECTION_ASM_OP): Change all uses to
7202 __LIBGCC_INIT_SECTION_ASM_OP__.
7203 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7204 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7205 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
7206 __LIBGCC_STACK_GROWS_DOWNWARD__.
7207 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
7208 __LIBGCC_INIT_SECTION_ASM_OP__.
7209 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7210 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7211 (EH_FRAME_SECTION_NAME): Change all uses to
7212 __LIBGCC_EH_FRAME_SECTION_NAME__.
7213 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
7214 definitions. Change all uses to
7215 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
7216 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
7217 __LIBGCC_STACK_GROWS_DOWNWARD__.
7218 (DWARF_FRAME_REGISTERS): Change all uses to
7219 __LIBGCC_DWARF_FRAME_REGISTERS__.
7220 (EH_RETURN_STACKADJ_RTX): Change all uses to
7221 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7222 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
7223 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
7224 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
7225 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
7226 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
7228 2014-09-02 Nathan sidwell <nathan@acm.org>
7230 * libgcov-interface.c (STRONG_ALIAS): New.
7231 (__gcov_flush): Call __gcov_reset_int.
7232 (__gcov_reset): Strong alias for ...
7233 (__gcov_reset_ing): ... this renamed hidden version.
7234 * libgcov.h (__gcov_reset_int): New declaration.
7236 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
7238 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
7240 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
7241 (__dso_handle): Define on Cygwin.
7242 * config/i386/t-cygming (crtbeginS.o): New rule.
7243 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
7245 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
7248 2014-08-13 Steve Ellcey <sellcey@mips.com>
7250 * crtstuff.c: Undef caddr_t.
7252 2014-08-12 Steve Ellcey <sellcey@mips.com>
7254 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
7256 2014-08-07 Nathan Sidwell <nathan@acm.org>
7258 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
7259 (LIBGCOV_DRIVER): ... to here.
7260 * libgcov.h (gcov_do_dump): New #define.
7261 (struct gcov_root): New.
7262 (__gcov_root): New declaration.
7263 (__gcov_dump_one): Declare.
7264 * libgcov-driver.c (gcov_list, gcov_dump_complete,
7265 run_accounted): Delete.
7266 (gcov_compute_histogram): Add LIST argument, adjust.
7267 (compute_summary): Adjust gcov_compute_histogram call.
7268 (gcov_do_dump): Not hidden, static in libgcov.
7269 (gcov_clear): Move to interface.c.
7270 (__gcov_dump_one): New, broken out of ...
7271 (gcov_exit): ... here. Make static.
7273 (__gcov_init): Adjust.
7274 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
7276 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
7277 (gcov_clear): Moved from driver.c. Add LIST argument.
7278 (__gcov_reset): Adjust for changed interfaces.
7279 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
7281 2014-08-04 Rohit <rohitarulraj@freescale.com>
7284 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
7285 based on change in SPE high register numbers and 3 HTM registers.
7287 2014-08-01 Nathan Sidwell <nathan@acm.org>
7289 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
7290 LIBGCOV_INTERFACE): Reformat.
7291 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
7293 * libgcov-interface.c: Reformat some comments.
7294 (__gcov_flush_mx): Add declaration. Tidy up definition.
7296 2014-07-31 Alan Modra <amodra@gmail.com>
7297 Peter Bergner <bergner@vnet.ibm.com>
7299 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
7300 (pack_ldouble): New function.
7301 (__gcc_qadd): Use it.
7302 (__gcc_qmul): Likewise.
7303 (__gcc_qdiv): Likewise.
7304 (__gcc_qneg): Likewise.
7305 (__gcc_stoq): Likewise.
7306 (__gcc_dtoq): Likewise.
7308 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
7310 * config/s390/tpf-unwind.h: Include <stdbool.h>.
7311 (__tpf_eh_return): Add original return address as second parameter.
7312 Handle cases where unwinder routines were called directly, instead
7313 of from within the C++ library.
7315 2014-07-29 Nathan Sidwell <nathan@acm.org>
7317 * libgcov.h: Move renaming of entry points to lib gcov specific
7319 (gcov_do_dump): New rename.
7320 (gcov_rewrite): Remove inline, make HIDDEN.
7321 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
7322 (gcov_exit_compute_summary): Rename to ...
7323 (compute_summary): ... here. Add LIST argument.
7324 (gcov_exit_merge_gcda): Rename to ...
7325 (merge_one_data): ... here.
7326 (gcov_exit_write_gcda): Rename to ...
7327 (write_one_data): ... here.
7328 (gcov_exit_merge_summary): Rename to ...
7329 (merge_summary): Add RUN_COUNTED argument.
7330 (gcov_exit_dump_gcov): Rename to ...
7331 (dump_one_gcov): Add RUN_COUNTED argument.
7332 (gcov_do_dump): New function, broken out of ...
7333 (gcov_exit): ... here. Call it.
7335 2014-07-27 Anthony Green <green@moxielogic.com>
7337 * config.host: Add moxiebox configuration suppport.
7339 2014-07-27 Nathan Sidwell <nathan@acm.org>
7341 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
7342 (struct gcov_filename): ... here. Include buffer and max length
7344 (gcov_max_filename): Remove.
7345 (gi_filename): Remove.
7346 (gcov_exit_compute_summary): Compute max filename here.
7347 (gcov_exit_merge_gcda): Add filename parm, adjust.
7348 (gcov_exit_merge_summary): Likewise.
7349 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
7350 (gcov_exit): Likewise.
7351 (__gcov_init): Don't calculate max length here.
7352 * libgcov_util.c (max_filename_len): Remove.
7353 (read_gcda_file): Don't calculate max length here.
7354 (gcov_read_profile_dir): Don't propagate here.
7355 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
7356 struct gcov_filename changes.
7357 (gcov_exit_open_gcda_file): Likewise.
7359 2014-07-25 Nathan Sidwell <nathan@acm.org>
7361 * libgcov-driver.c (set_gcov_dump_complete,
7362 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
7363 functions polluting user's namespace.
7364 (gcov_exit): Set variable directly.
7365 (gcov_clear): Reset variable directly.
7366 * libgcov-interface.c (get_gcov_dymp_complete,
7367 reset_gov_dump_complete): Remove declarations.
7368 (__gcov_reset, __gcov_dump): Don't call them.
7370 2014-07-24 DJ Delorie <dj@redhat.com>
7372 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
7373 (__gcc_deregister_frame): Move logic to detect deregister function
7375 (__gcc_register_frame): here, so it's consistent with the register
7378 2014-07-23 Nathan Sidwell <nathan@acm.org>
7380 * libgcov-driver.c (set_gcov_list): Remove.
7381 (gcov_list): Make non-static in GCOV_TOOL.
7382 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
7384 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
7386 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
7387 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
7388 Don't use SYNC_LOCK_RELEASE for int type.
7390 2014-07-14 Richard Biener <rguenther@suse.de>
7392 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
7394 2014-07-11 Rong Xu <xur@google.com>
7396 * libgcov-util.c (gcov_max_filename): Fix declartion.
7398 2014-07-10 Rong Xu <xur@google.com>
7400 Add gcov-tool: an offline gcda profile processing tool
7402 * libgcov-driver.c (gcov_max_filename): Make available
7404 * libgcov-merge.c (__gcov_merge_add): Replace
7405 gcov_read_counter() with a Macro.
7406 (__gcov_merge_ior): Ditto.
7407 (__gcov_merge_time_profile): Ditto.
7408 (__gcov_merge_single): Ditto.
7409 (__gcov_merge_delta): Ditto.
7410 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
7411 in the utility functions.
7412 (set_fn_ctrs): Utility function for reading gcda files to in-memory
7413 gcov_list object link lists.
7414 (tag_function): Ditto.
7415 (tag_blocks): Ditto.
7418 (tag_counters): Ditto.
7419 (tag_summary): Ditto.
7420 (read_gcda_finalize): Ditto.
7421 (read_gcda_file): Ditto.
7422 (ftw_read_file): Ditto.
7423 (read_profile_dir_init): Ditto.
7424 (gcov_read_profile_dir): Ditto.
7425 (gcov_read_counter_mem): Ditto.
7426 (gcov_get_merge_weight): Ditto.
7427 (merge_wrapper): A wrapper function that calls merging handler.
7428 (gcov_merge): Merge two gcov_info objects with weights.
7429 (find_match_gcov_info): Find the matched gcov_info in the list.
7430 (gcov_profile_merge): Merge two gcov_info object lists.
7431 (__gcov_add_counter_op): Process edge profile counter values.
7432 (__gcov_ior_counter_op): Process IOR profile counter values.
7433 (__gcov_delta_counter_op): Process delta profile counter values.
7434 (__gcov_single_counter_op): Process single profile counter values.
7435 (fp_scale): Callback function for float-point scaling.
7436 (int_scale): Callback function for integer fraction scaling.
7437 (gcov_profile_scale): Scaling profile counters.
7438 (gcov_profile_normalize): Normalize profile counters.
7439 * libgcov.h: Add headers and functions for gcov-tool use.
7440 (gcov_get_counter): New.
7441 (gcov_get_counter_target): Ditto.
7442 (struct gcov_info): Make the functions field mutable in gcov-tool
7445 2014-06-23 Kai Tietz <ktietz@redhat.com>
7448 * unwind-seh.c (_Unwind_GetGR): Check for proper
7450 (_Unwind_SetGR): Likewise.
7452 2014-05-22 Nick Clifton <nickc@redhat.com>
7454 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
7457 2014-05-22 Teresa Johnson <tejohnson@google.com>
7459 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
7462 2014-05-20 John Marino <gnugcc@marino.st>
7464 * config.host (*-*-dragonfly*): New target.
7465 * crtstuff.c: Make dl_iterate_support generic on *bsd.
7466 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
7467 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
7468 * config/i386/dragonfly-unwind.h: New.
7470 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7473 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
7474 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
7476 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
7478 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
7481 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
7483 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
7485 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7488 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
7491 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
7493 Work around for current cygwin32 build problems.
7494 * config/i386/cygming-crtbegin.c (__register_frame_info,
7495 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
7496 functions only for 64-bit systems.
7498 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7500 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
7501 (sigill_caught, sigill_hdlr): Remove.
7503 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7505 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
7507 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7508 Solaris 9 single-threaded support.
7509 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7510 Solaris 9 single-threaded support. Add call_user_handler code
7512 (sparc_is_sighandler): Likewise.
7514 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7516 * config.host: Append t-floattodi to tmake_file depending on
7519 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
7521 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
7523 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
7526 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
7527 variable to avoid "array subscript is above array bounds" warnings.
7528 Use __builtin_expect when checking *jcr_list for NULL.
7530 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7533 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
7534 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
7535 vtv_*.o to extra_parts if enable_vtable_verify.
7537 2014-03-06 Nick Clifton <nickc@redhat.com>
7539 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
7540 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
7542 2014-02-28 Joey Ye <joey.ye@arm.com>
7545 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
7546 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
7549 2014-02-24 Walter Lee <walt@tilera.com>
7551 * config.host: Support "tilegx*" and "tilepro*" triplets.
7552 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
7553 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
7555 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
7556 Chung-Lin Tang <cltang@codesourcery.com>
7558 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
7559 * config/nios2/crti.S: Remove .file directive.
7560 * config/nios2/crtn.S: Likewise.
7562 2014-02-18 Kai Tietz <ktietz@redhat.com>
7563 Jonathan Schleifer <js@webkeks.org>
7566 * unwind-seh.c (_GCC_specific_handler): Pass proper
7567 value to unwind-handler.
7569 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7571 * soft-fp/adddf3.c: Update from glibc.
7572 * soft-fp/addsf3.c: Likewise.
7573 * soft-fp/addtf3.c: Likewise.
7574 * soft-fp/divdf3.c: Likewise.
7575 * soft-fp/divsf3.c: Likewise.
7576 * soft-fp/divtf3.c: Likewise.
7577 * soft-fp/double.h: Likewise.
7578 * soft-fp/eqdf2.c: Likewise.
7579 * soft-fp/eqsf2.c: Likewise.
7580 * soft-fp/eqtf2.c: Likewise.
7581 * soft-fp/extenddftf2.c: Likewise.
7582 * soft-fp/extended.h: Likewise.
7583 * soft-fp/extendsfdf2.c: Likewise.
7584 * soft-fp/extendsftf2.c: Likewise.
7585 * soft-fp/extendxftf2.c: Likewise.
7586 * soft-fp/fixdfdi.c: Likewise.
7587 * soft-fp/fixdfsi.c: Likewise.
7588 * soft-fp/fixdfti.c: Likewise.
7589 * soft-fp/fixsfdi.c: Likewise.
7590 * soft-fp/fixsfsi.c: Likewise.
7591 * soft-fp/fixsfti.c: Likewise.
7592 * soft-fp/fixtfdi.c: Likewise.
7593 * soft-fp/fixtfsi.c: Likewise.
7594 * soft-fp/fixtfti.c: Likewise.
7595 * soft-fp/fixunsdfdi.c: Likewise.
7596 * soft-fp/fixunsdfsi.c: Likewise.
7597 * soft-fp/fixunsdfti.c: Likewise.
7598 * soft-fp/fixunssfdi.c: Likewise.
7599 * soft-fp/fixunssfsi.c: Likewise.
7600 * soft-fp/fixunssfti.c: Likewise.
7601 * soft-fp/fixunstfdi.c: Likewise.
7602 * soft-fp/fixunstfsi.c: Likewise.
7603 * soft-fp/fixunstfti.c: Likewise.
7604 * soft-fp/floatdidf.c: Likewise.
7605 * soft-fp/floatdisf.c: Likewise.
7606 * soft-fp/floatditf.c: Likewise.
7607 * soft-fp/floatsidf.c: Likewise.
7608 * soft-fp/floatsisf.c: Likewise.
7609 * soft-fp/floatsitf.c: Likewise.
7610 * soft-fp/floattidf.c: Likewise.
7611 * soft-fp/floattisf.c: Likewise.
7612 * soft-fp/floattitf.c: Likewise.
7613 * soft-fp/floatundidf.c: Likewise.
7614 * soft-fp/floatundisf.c: Likewise.
7615 * soft-fp/floatunditf.c: Likewise.
7616 * soft-fp/floatunsidf.c: Likewise.
7617 * soft-fp/floatunsisf.c: Likewise.
7618 * soft-fp/floatunsitf.c: Likewise.
7619 * soft-fp/floatuntidf.c: Likewise.
7620 * soft-fp/floatuntisf.c: Likewise.
7621 * soft-fp/floatuntitf.c: Likewise.
7622 * soft-fp/gedf2.c: Likewise.
7623 * soft-fp/gesf2.c: Likewise.
7624 * soft-fp/getf2.c: Likewise.
7625 * soft-fp/ledf2.c: Likewise.
7626 * soft-fp/lesf2.c: Likewise.
7627 * soft-fp/letf2.c: Likewise.
7628 * soft-fp/muldf3.c: Likewise.
7629 * soft-fp/mulsf3.c: Likewise.
7630 * soft-fp/multf3.c: Likewise.
7631 * soft-fp/negdf2.c: Likewise.
7632 * soft-fp/negsf2.c: Likewise.
7633 * soft-fp/negtf2.c: Likewise.
7634 * soft-fp/op-1.h: Likewise.
7635 * soft-fp/op-2.h: Likewise.
7636 * soft-fp/op-4.h: Likewise.
7637 * soft-fp/op-8.h: Likewise.
7638 * soft-fp/op-common.h: Likewise.
7639 * soft-fp/quad.h: Likewise.
7640 * soft-fp/single.h: Likewise.
7641 * soft-fp/soft-fp.h: Likewise.
7642 * soft-fp/subdf3.c: Likewise.
7643 * soft-fp/subsf3.c: Likewise.
7644 * soft-fp/subtf3.c: Likewise.
7645 * soft-fp/truncdfsf2.c: Likewise.
7646 * soft-fp/trunctfdf2.c: Likewise.
7647 * soft-fp/trunctfsf2.c: Likewise.
7648 * soft-fp/trunctfxf2.c: Likewise.
7649 * soft-fp/unorddf2.c: Likewise.
7650 * soft-fp/unordsf2.c: Likewise.
7651 * soft-fp/unordtf2.c: Likewise.
7652 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
7654 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7656 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7658 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7660 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7662 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7664 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7666 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7668 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7670 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7672 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7674 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7676 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7678 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
7680 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
7682 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7685 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7687 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
7688 cannot be represented.
7689 * config/s390/32/_fixsfdi.c: Likewise.
7690 * config/s390/32/_fixtfdi.c: Likewise.
7691 * config/s390/32/_fixunsdfdi.c: Likewise.
7692 * config/s390/32/_fixunssfdi.c: Likewise.
7693 * config/s390/32/_fixunstfdi.c: Likewise.
7695 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
7697 * configure.ac (libgcc_cv_mips_hard_float): New.
7698 * configure: Regenerate.
7699 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
7700 t-softfp-sfdf for hard-float targets.
7701 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
7702 (softfp_float_modes, softfp_int_modes, softfp_extensions)
7703 (softfp_truncations, softfp_exclude_libgcc2): New.
7704 * config/t-hardfp: New file.
7705 * config/t-hardfp-sfdf: Likewise.
7706 * config/hardfp.c: Likewise.
7708 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7710 * config.host: Include t-floattodi also for s390x.
7711 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
7712 * config/s390/32/_fixsfdi.c: Likewise.
7713 * config/s390/32/_fixtfdi.c: Likewise.
7714 * config/s390/32/_fixunsdfdi.c: Likewise.
7715 * config/s390/32/_fixunssfdi.c: Likewise.
7716 * config/s390/32/_fixunstfdi.c: Likewise.
7718 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7721 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
7722 (install-libgcc-unwind-map-forbuild): New target.
7723 (all): Depend on install-libgcc-unwind-map-forbuild.
7724 (install-libgcc-unwind-map): New target.
7725 (install): Depend on install-libgcc-unwind-map.
7727 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
7729 * config/nios2/crti.S (_init): Initialize GOT pointer from
7730 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
7732 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
7734 * configure.ac: Check __mips64 when setting host_address.
7735 * configure: Regenerate.
7736 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
7737 mips/t-mips64 and t-softfp.
7738 (mips*-*-linux*): Don't add mips/t-tpbit.
7739 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
7740 (DPBIT, DPBIT_CFLAGS): Delete.
7741 * config/mips/sfp-machine.h: New file.
7742 * config/mips/t-mips64: Likewise.
7743 * config/mips/t-softfp-tf: Likewise.
7744 * config/mips/t-tpbit: Delete.
7746 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
7748 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
7751 2014-01-25 Walter Lee <walt@tilera.com>
7753 * config/tilepro/atomic.c: Include tconfig.h. Don't include
7754 config.h or system.h.
7757 2014-01-25 Walter Lee <walt@tilera.com>
7759 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
7760 (post_atomic_barrier): Ditto.
7761 (__fetch_and_do): New macro.
7762 (__atomic_fetch_and_do): Use __fetch_and_do.
7763 (__sync_fetch_and_do): New macro.
7764 (__sync_fetch_and_add_4): New function.
7765 (__sync_fetch_and_sub_4): New function.
7766 (__sync_fetch_and_or_4): New function.
7767 (__sync_fetch_and_and_4): New function.
7768 (__sync_fetch_and_xor_4): New function.
7769 (__sync_fetch_and_nand_4): New function.
7770 (__sync_fetch_and_add_8): New function.
7771 (__sync_fetch_and_sub_8): New function.
7772 (__sync_fetch_and_or_8): New function.
7773 (__sync_fetch_and_and_8): New function.
7774 (__sync_fetch_and_xor_8): New function.
7775 (__sync_fetch_and_nand_8): New function.
7776 (__do_and_fetch): New macro.
7777 (__atomic_do_and_fetch): Use __do_and_fetch.
7778 (__sync_do_and_fetch): New macro.
7779 (__sync_add_and_fetch_4): New function.
7780 (__sync_sub_and_fetch_4): New function.
7781 (__sync_or_and_fetch_4): New function.
7782 (__sync_and_and_fetch_4): New function.
7783 (__sync_xor_and_fetch_4): New function.
7784 (__sync_nand_and_fetch_4): New function.
7785 (__sync_add_and_fetch_8): New function.
7786 (__sync_sub_and_fetch_8): New function.
7787 (__sync_or_and_fetch_8): New function.
7788 (__sync_and_and_fetch_8): New function.
7789 (__sync_xor_and_fetch_8): New function.
7790 (__sync_nand_and_fetch_8): New function.
7791 (__sync_exchange_methods): New macro.
7792 (__sync_val_compare_and_swap_4): New function.
7793 (__sync_bool_compare_and_swap_4): New function.
7794 (__sync_lock_test_and_test_4): New function.
7795 (__sync_val_compare_and_swap_8): New function.
7796 (__sync_bool_compare_and_swap_8): New function.
7797 (__sync_lock_test_and_test_8): New function.
7798 (__subword_cmpxchg_body): New macro.
7799 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
7800 (__atomic_compare_exchange_2): Ditto.
7801 (__sync_subword_cmpxchg): New macro.
7802 (__sync_val_compare_and_swap_1): New function.
7803 (__sync_bool_compare_and_swap_1): New function.
7804 (__sync_val_compare_and_swap_2): New function.
7805 (__sync_bool_compare_and_swap_2): New function.
7806 (__atomic_subword): Rename to ...
7807 (__subword): ... New name.
7808 (__atomic_subword_fetch): Use __subword.
7809 (__sync_subword_fetch): New macro.
7810 (__sync_fetch_and_add_1): New function.
7811 (__sync_fetch_and_sub_1): New function.
7812 (__sync_fetch_and_or_1): New function.
7813 (__sync_fetch_and_and_1): New function.
7814 (__sync_fetch_and_xor_1): New function.
7815 (__sync_fetch_and_nand_1): New function.
7816 (__sync_fetch_and_add_2): New function.
7817 (__sync_fetch_and_sub_2): New function.
7818 (__sync_fetch_and_or_2): New function.
7819 (__sync_fetch_and_and_2): New function.
7820 (__sync_fetch_and_xor_2): New function.
7821 (__sync_fetch_and_nand_2): New function.
7822 (__sync_add_and_fetch_1): New function.
7823 (__sync_sub_and_fetch_1): New function.
7824 (__sync_or_and_fetch_1): New function.
7825 (__sync_and_and_fetch_1): New function.
7826 (__sync_xor_and_fetch_1): New function.
7827 (__sync_nand_and_fetch_1): New function.
7828 (__sync_add_and_fetch_2): New function.
7829 (__sync_sub_and_fetch_2): New function.
7830 (__sync_or_and_fetch_2): New function.
7831 (__sync_and_and_fetch_2): New function.
7832 (__sync_xor_and_fetch_2): New function.
7833 (__sync_nand_and_fetch_2): New function.
7834 (__atomic_subword_lock): Use __subword.
7835 (__sync_subword_lock): New macro.
7836 (__sync_lock_test_and_set_1): New function.
7837 (__sync_lock_test_and_set_2): New function.
7839 2014-01-25 Walter Lee <walt@tilera.com>
7841 * config/tilepro/atomic.c (BIT_OFFSET): Define.
7842 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
7843 (__atomic_subword): Ditto.
7845 2014-01-25 Walter Lee <walt@tilera.com>
7847 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
7848 a prefix op argument.
7849 (__atomic_nand_fetch_4): Add prefix op.
7850 (__atomic_nand_fetch_8): Ditto.
7852 2014-01-21 Baruch Siach <barch@tkos.co.il>
7854 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
7856 2014-01-09 Rong Xu <xur@google.com>
7858 * libgcov-driver.c (this_prg): make it local to save
7860 (gcov_exit_compute_summary): Ditto.
7861 (gcov_exit_merge_gcda): Ditto.
7862 (gcov_exit_merge_summary): Ditto.
7863 (gcov_exit_dump_gcov): Ditto.
7865 2014-01-08 Rong Xu <xur@google.com>
7867 * libgcov-driver.c: Use libgcov.h.
7868 (buffer_fn_data): Use xmalloc instead of malloc.
7869 (gcov_exit_merge_gcda): Ditto.
7870 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
7871 * libgcov.h: New common header files for libgcov-*.h.
7872 * libgcov-interface.c: Use libgcov.h
7873 * libgcov-merge.c: Ditto.
7874 * libgcov-profiler.c: Ditto.
7875 * Makefile.in: Add dependence to libgcov.h
7877 2014-01-02 Joseph Myers <joseph@codesourcery.com>
7879 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
7880 case of small numerator and finite nonzero result.
7882 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7884 Update copyright years
7886 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7888 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
7889 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
7890 config/arc/dp-hack.h, config/arc/fp-hack.h,
7891 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
7892 config/arc/ieee-754/arc600-dsp/divdf3.S,
7893 config/arc/ieee-754/arc600-dsp/divsf3.S,
7894 config/arc/ieee-754/arc600-dsp/muldf3.S,
7895 config/arc/ieee-754/arc600-dsp/mulsf3.S,
7896 config/arc/ieee-754/arc600-mul64/divdf3.S,
7897 config/arc/ieee-754/arc600-mul64/divsf3.S,
7898 config/arc/ieee-754/arc600-mul64/muldf3.S,
7899 config/arc/ieee-754/arc600-mul64/mulsf3.S,
7900 config/arc/ieee-754/arc600/divsf3.S,
7901 config/arc/ieee-754/arc600/mulsf3.S,
7902 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
7903 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
7904 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
7905 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
7906 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
7907 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
7908 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
7909 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
7910 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
7911 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
7912 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
7913 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
7914 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
7915 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
7916 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
7917 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
7918 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
7919 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
7920 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
7921 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
7922 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
7923 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
7924 vtv_start_preinit.c: Use the standard form for the copyright notice.
7926 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
7927 Chung-Lin Tang <cltang@codesourcery.com>
7928 Based on patches from Altera Corporation
7930 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
7931 * config/nios2/lib2-nios2.h: New file.
7932 * config/nios2/lib2-divmod-hi.c: New file.
7933 * config/nios2/linux-unwind.h: New file.
7934 * config/nios2/lib2-divmod.c: New file.
7935 * config/nios2/linux-atomic.c: New file.
7936 * config/nios2/t-nios2: New file.
7937 * config/nios2/crti.asm: New file.
7938 * config/nios2/t-linux: New file.
7939 * config/nios2/lib2-divtable.c: New file.
7940 * config/nios2/lib2-mul.c: New file.
7941 * config/nios2/tramp.c: New file.
7942 * config/nios2/crtn.asm: New file.
7944 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
7946 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
7947 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
7948 from cpuid.h to check vendor signatures.
7950 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
7952 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
7953 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
7954 (get_amd_cpu): Likewise.
7956 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
7958 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
7961 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
7962 H.J. Lu <hongjiu.lu@intel.com>
7965 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
7967 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
7968 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
7969 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
7970 FEATURE_XOP and FEATURE_FMA.
7971 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
7973 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
7974 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
7975 FEATURE_FMA4 and FEATURE_XOP.
7977 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
7979 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
7980 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
7981 (get_intel_cpu): Updated.
7983 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
7985 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
7987 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
7989 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7990 instructions when __SSE_MATH__ is defined.
7992 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
7994 * config.host (microblaze-*-rtems*): New.
7996 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
7998 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
7999 architectures that do not have hardware divide instruction.
8000 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
8002 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
8004 * longlong.h: Delete (moved to include/).
8006 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8008 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
8009 of normal number and qNaN to not raise an inexact exception.
8011 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
8013 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
8015 2013-11-28 Matthew Leach <matthew.leach@arm.com>
8017 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
8018 for correct opcodes on BE.
8020 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
8022 * soft-fp/op-4.h: Update from glibc.
8024 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
8026 * libgcc2.c (__udivmoddi4): Define new implementation when
8027 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
8028 divide instructions.
8030 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
8032 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
8034 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8036 * config/t-softfp (soft-fp-objects-base): New variable.
8037 (soft-fp-objects): Use it.
8039 2013-11-23 David Edelson <dje.gcc@gmail.com>
8040 Andrew Dixie <andrewd@gentrack.com>
8043 * config/rs6000/aixinitfini.c: New file.
8044 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
8045 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
8048 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
8050 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
8052 2013-11-18 Jan Hubicka <jh@suse.cz>
8054 * libgcov-driver.c (run_accounted): Make global level static.
8055 (gcov_exit_merge_summary): Silence warning; do not clear
8057 (gcov_exit): Clear it here.
8059 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
8062 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
8063 (all_prg, crc32): Remove static vars.
8064 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
8066 (gcov_exit_merge_gcda): Add crc32 parameter.
8067 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
8068 do not account run if it was already accounted.
8069 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
8070 (gcov_exit): Initialize all_prg; update.
8072 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
8074 * configure: Regenerate.
8076 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8077 Alan Modra <amodra@gmail.com>
8079 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
8080 (frob_update_context): Use it.
8082 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8083 Alan Modra <amodra@gmail.com>
8085 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
8086 (trampoline_initial): Provide ELFv2 variant.
8087 (__trampoline_setup): Likewise.
8089 * config/rs6000/linux-unwind.h (frob_update_context): Do not
8090 check for AIX indirect function call sequence if _CALL_ELF == 2.
8092 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8093 Alan Modra <amodra@gmail.com>
8095 * config/rs6000/linux-unwind.h (get_regs): Do not support
8096 old kernel versions if _CALL_ELF == 2.
8097 (frob_update_context): Do not support PLT stub variants only
8098 generated by old linkers if _CALL_ELF == 2.
8100 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8101 Alan Modra <amodra@gmail.com>
8103 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
8104 location of CR save area for 64-bit little-endian systems.
8106 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
8108 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
8110 * config/arm/t-vxworks: Delete.
8112 2013-11-10 Kai Tietz <ktietz@redhat.com>
8114 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
8115 Increment load-count on use of LIBGCC_SONAME DLL.
8116 (hmod_libgcc): New static variable to hold handle of
8118 (__gcc_deregister_frame): Decrement load-count of
8121 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
8123 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
8125 * configure: Regenerate
8127 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
8129 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
8130 FP_EX_DENORM. Store result to volatile location after SSE division
8131 to close interrupt window. Remove unneeded fwait after x87
8132 division since interrupt window will be closed by emitted fstp.
8133 Rewrite FP_EX_INEXACT handling.
8135 2013-11-06 Joseph Myers <joseph@codesourcery.com>
8137 * soft-fp/README: Update.
8138 * soft-fp/adddf3.c: Update from glibc.
8139 * soft-fp/addsf3.c: Likewise.
8140 * soft-fp/addtf3.c: Likewise.
8141 * soft-fp/divdf3.c: Likewise.
8142 * soft-fp/divsf3.c: Likewise.
8143 * soft-fp/divtf3.c: Likewise.
8144 * soft-fp/double.h: Likewise.
8145 * soft-fp/eqdf2.c: Likewise.
8146 * soft-fp/eqsf2.c: Likewise.
8147 * soft-fp/eqtf2.c: Likewise.
8148 * soft-fp/extenddftf2.c: Likewise.
8149 * soft-fp/extended.h: Likewise.
8150 * soft-fp/extendsfdf2.c: Likewise.
8151 * soft-fp/extendsftf2.c: Likewise.
8152 * soft-fp/extendxftf2.c: Likewise.
8153 * soft-fp/fixdfdi.c: Likewise.
8154 * soft-fp/fixdfsi.c: Likewise.
8155 * soft-fp/fixdfti.c: Likewise.
8156 * soft-fp/fixsfdi.c: Likewise.
8157 * soft-fp/fixsfsi.c: Likewise.
8158 * soft-fp/fixsfti.c: Likewise.
8159 * soft-fp/fixtfdi.c: Likewise.
8160 * soft-fp/fixtfsi.c: Likewise.
8161 * soft-fp/fixtfti.c: Likewise.
8162 * soft-fp/fixunsdfdi.c: Likewise.
8163 * soft-fp/fixunsdfsi.c: Likewise.
8164 * soft-fp/fixunsdfti.c: Likewise.
8165 * soft-fp/fixunssfdi.c: Likewise.
8166 * soft-fp/fixunssfsi.c: Likewise.
8167 * soft-fp/fixunssfti.c: Likewise.
8168 * soft-fp/fixunstfdi.c: Likewise.
8169 * soft-fp/fixunstfsi.c: Likewise.
8170 * soft-fp/fixunstfti.c: Likewise.
8171 * soft-fp/floatdidf.c: Likewise.
8172 * soft-fp/floatdisf.c: Likewise.
8173 * soft-fp/floatditf.c: Likewise.
8174 * soft-fp/floatsidf.c: Likewise.
8175 * soft-fp/floatsisf.c: Likewise.
8176 * soft-fp/floatsitf.c: Likewise.
8177 * soft-fp/floattidf.c: Likewise.
8178 * soft-fp/floattisf.c: Likewise.
8179 * soft-fp/floattitf.c: Likewise.
8180 * soft-fp/floatundidf.c: Likewise.
8181 * soft-fp/floatundisf.c: Likewise.
8182 * soft-fp/floatunditf.c: Likewise.
8183 * soft-fp/floatunsidf.c: Likewise.
8184 * soft-fp/floatunsisf.c: Likewise.
8185 * soft-fp/floatunsitf.c: Likewise.
8186 * soft-fp/floatuntidf.c: Likewise.
8187 * soft-fp/floatuntisf.c: Likewise.
8188 * soft-fp/floatuntitf.c: Likewise.
8189 * soft-fp/gedf2.c: Likewise.
8190 * soft-fp/gesf2.c: Likewise.
8191 * soft-fp/getf2.c: Likewise.
8192 * soft-fp/ledf2.c: Likewise.
8193 * soft-fp/lesf2.c: Likewise.
8194 * soft-fp/letf2.c: Likewise.
8195 * soft-fp/muldf3.c: Likewise.
8196 * soft-fp/mulsf3.c: Likewise.
8197 * soft-fp/multf3.c: Likewise.
8198 * soft-fp/negdf2.c: Likewise.
8199 * soft-fp/negsf2.c: Likewise.
8200 * soft-fp/negtf2.c: Likewise.
8201 * soft-fp/op-1.h: Likewise.
8202 * soft-fp/op-2.h: Likewise.
8203 * soft-fp/op-4.h: Likewise.
8204 * soft-fp/op-8.h: Likewise.
8205 * soft-fp/op-common.h: Likewise.
8206 * soft-fp/quad.h: Likewise.
8207 * soft-fp/single.h: Likewise.
8208 * soft-fp/soft-fp.h: Likewise.
8209 * soft-fp/subdf3.c: Likewise.
8210 * soft-fp/subsf3.c: Likewise.
8211 * soft-fp/subtf3.c: Likewise.
8212 * soft-fp/truncdfsf2.c: Likewise.
8213 * soft-fp/trunctfdf2.c: Likewise.
8214 * soft-fp/trunctfsf2.c: Likewise.
8215 * soft-fp/trunctfxf2.c: Likewise.
8216 * soft-fp/unorddf2.c: Likewise.
8217 * soft-fp/unordsf2.c: Likewise.
8218 * soft-fp/unordtf2.c: Likewise.
8220 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
8222 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
8223 (_FP_MUL_MEAT_D): Ditto.
8224 (_FP_DIV_MEAT_S): Ditto.
8225 (_FP_DIV_MEAT_D): Ditto.
8226 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
8227 t-softfp-sfdf and t-softfp to tmake_file.
8229 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
8231 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
8232 * config/i386/crtprec.c: Ditto.
8234 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
8235 Shiva Chen <shiva0217@gmail.com>
8237 * config.host (nds32*-elf*): Add nds32 target.
8238 * config/nds32 : New directory and files.
8240 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
8242 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
8243 * config.host (cpu_type) <Setting default>: Add entry for
8245 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
8246 <crisv32-*-linux*>: Adjust.
8247 * longlong.h: Wrap the whole CRIS section in a single
8248 defined(__CRIS__) conditional. Add comment about add_ssaaaa
8250 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
8252 [__CRIS__] (__umulsidi3): Define.
8253 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
8254 * config/cris/sfp-machine.h: New file.
8255 * config/cris/umulsidi3.S: New file.
8256 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
8257 * config/cris/arit.c (SIGNMULT): New macro.
8258 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
8259 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
8260 saving 3 out of originally 33 cycles from the fastest
8261 path, 3 out of 54 from the medium path and one from the longest
8262 path. Improve comments.
8264 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
8266 * sync.c: Remove static aliases and define each function directly
8267 under its real name.
8269 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
8271 * config.host (hppa*64*-*-linux*): Define extra_parts.
8272 (hppa*-*-linux*): Likewise.
8274 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
8276 * config/arc/crtgend.S: Add 2013 to Copyright years.
8277 * config/arc/gmon/atomic.h: Likewise.
8278 * config/arc/gmon/auxreg.h: Likewise.
8279 * config/arc/gmon/sys/gmon_out.h: Likewise.
8280 * config/arc/gmon/sys/gmon.h: Likewise.
8281 * config/arc/gmon/prof-freq.c: Likewise.
8282 * config/arc/gmon/mcount.c: Likewise.
8283 * config/arc/gmon/prof-freq-stub.S: Likewise.
8284 * config/arc/gmon/gmon.c: Likewise.
8285 * config/arc/gmon/machine-gmon.h: Likewise.
8286 * config/arc/gmon/profil.S: Likewise.
8287 * config/arc/gmon/dcache_linesz.S: Likewise.
8288 * config/arc/crtg.S: Likewise.
8289 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
8290 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
8291 * config/arc/ieee-754/adddf3.S: Likewise.
8292 * config/arc/ieee-754/truncdfsf2.S: Likewise.
8293 * config/arc/ieee-754/fixsfsi.S: Likewise.
8294 * config/arc/ieee-754/gtsf2.S: Likewise.
8295 * config/arc/ieee-754/floatsisf.S: Likewise.
8296 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
8297 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
8298 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
8299 * config/arc/ieee-754/fixdfsi.S: Likewise.
8300 * config/arc/ieee-754/addsf3.S: Likewise.
8301 * config/arc/ieee-754/gesf2.S: Likewise.
8302 * config/arc/ieee-754/floatsidf.S: Likewise.
8303 * config/arc/ieee-754/extendsfdf2.S: Likewise.
8304 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
8305 * config/arc/ieee-754/gtdf2.S: Likewise.
8306 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
8307 * config/arc/ieee-754/uneqdf2.S: Likewise.
8308 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
8309 * config/arc/ieee-754/uneqsf2.S: Likewise.
8310 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
8311 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
8312 * config/arc/ieee-754/eqdf2.S: Likewise.
8313 * config/arc/ieee-754/ordsf2.S: Likewise.
8314 * config/arc/ieee-754/divsf3.S: Likewise.
8315 * config/arc/ieee-754/divdf3.S: Likewise.
8316 * config/arc/ieee-754/floatunsidf.S: Likewise.
8317 * config/arc/ieee-754/orddf2.S: Likewise.
8318 * config/arc/ieee-754/eqsf2.S: Likewise.
8319 * config/arc/ieee-754/gedf2.S: Likewise.
8320 * config/arc/crtn.S: Likewise.
8321 * config/arc/crti.S: Likewise.
8322 * config/arc/t-arc700-uClibc: Likewise.
8323 * config/arc/asm.h: Likewise.
8324 * config/arc/libgcc-excl.ver: Likewise.
8325 * config/arc/t-arc-newlib: Likewise.
8326 * config/arc/divtab-arc700.c: Likewise.
8327 * config/arc/initfini.c: Likewise.
8328 * config/arc/fp-hack.h: Likewise.
8330 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
8331 Diego Novillo <dnovillo@google.com>
8333 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
8334 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
8335 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
8336 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
8338 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
8339 Brendan Kehoe <brendan@zen.org>
8340 Simon Cook <simon.cook@embecosm.com>
8342 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
8343 * config/arc: New directory.
8344 * longlong.h [__arc__] (umul_ppmm): Remove.
8345 [__arc__] (__umulsidi3): Define.
8346 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
8347 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
8349 2013-09-17 Jacek Caban <jacek@codeweavers.com>
8351 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
8353 * config/i386/gthr-win32.h: Likewise.
8355 2013-09-16 DJ Delorie <dj@redhat.com>
8357 * config/rl78/vregs.h: Add G10 register definitions.
8358 * config/rl78/lib2mul.c: Enable for RL78/G10.
8359 * config/rl78/lib2div.c: Likewise.
8360 * config/rl78/lshrsi3.S: Use vregs.h.
8361 * config/rl78/cmpsi2.S: Likewise.
8362 * config/rl78/trampoline.S: Likewise.
8363 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
8365 2013-09-14 DJ Delorie <dj@redhat.com>
8366 Nick Clifton <nickc@redhat.com>
8368 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
8369 * config/rl78/vregs.h: New.
8370 * config/rl78/signbit.S: New file. Implements signbit function.
8371 * config/rl78/divmodsi.S: New.
8372 * config/rl78/divmodhi.S: New.
8373 * config/rl78/divmodqi.S: New.
8374 * config/rl78/t-rl78: Build them here...
8375 * config/rl78/lib2div.c: ...but not here.
8377 2013-09-12 DJ Delorie <dj@redhat.com>
8379 * config.host (msp*-*-elf): New.
8380 * config/msp430/: New port.
8382 2013-08-18 Iain Sandoe <iain@codesourcery.com>
8384 PR gcov-profile/58127
8385 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
8386 __thread var for emulated TLS.
8387 (__gcov_indirect_call_counters): Likewise.
8389 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
8390 Catherine Moore <clm@codesourcery.com>
8391 Richard Sandiford <rdsandiford@googlemail.com>
8393 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
8394 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
8395 (CALL_STUB_NO_RET): Likewise.
8396 (CALL_STUB_RET): Likewise.
8397 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
8398 __mips16_ret call/return stub symbols.
8399 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
8402 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
8404 * config.host <mips*-*-linux*>: Remove a stray comment.
8406 2013-08-10 Jan Hubicka <jh@suse.cz>
8408 Work around binutils PR14342
8409 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
8410 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
8411 (L_gcov_indirect_call_profiler_v2): New.
8413 2013-08-06 Jan Hubicka <jh@suse.cz>
8415 * libgcov.c (__gcov_indirect_call_callee,
8416 __gcov_indirect_call_counters): New global vars.
8417 (__gcov_indirect_call_profiler): replace by ...
8418 (__gcov_indirect_call_profiler_v2) ... this one.
8420 2013-08-06 Caroline Tice <cmtice@google.com>
8422 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
8423 vtv_start_preinit.o and vtv_end_preinit.o.
8424 * configure.ac: Add code to check/set enable_vtable_verify.
8425 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
8427 * vtv_start_preinit.c: New file.
8428 * vtv_end_preinit.c: New file.
8429 * vtv_start.c: New file.
8430 * vtv_end.c: New file.
8431 * configure: Regenerated.
8433 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
8435 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
8436 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
8437 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
8438 GPL-3.0-with-GCC-exception.
8440 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
8442 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
8445 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8447 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
8448 mapping for FPRs when creating the fallback framestate.
8450 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
8453 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
8454 (__round_s2_const, __round_u2_const)
8455 (__round_s4_const, __round_u4_const, __round_x8):
8456 Saturate result if addition result cannot be represented.
8458 2013-07-15 Matthias Klose <doko@ubuntu.com>
8460 * libgcc2.c: Don't include <limits.h>.
8462 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
8464 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
8466 2013-07-06 Jakub Jelinek <jakub@redhat.com>
8469 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
8471 2013-06-28 Jakub Jelinek <jakub@redhat.com>
8474 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
8476 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
8477 instead of table lookups.
8478 (__popcountDI2): Likewise.
8480 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
8482 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
8485 2013-06-21 Joseph Myers <joseph@codesourcery.com>
8488 * soft-fp/adddf3.c: Update from glibc.
8489 * soft-fp/addsf3.c: Likewise.
8490 * soft-fp/addtf3.c: Likewise.
8491 * soft-fp/divdf3.c: Likewise.
8492 * soft-fp/divsf3.c: Likewise.
8493 * soft-fp/divtf3.c: Likewise.
8494 * soft-fp/double.h: Likewise.
8495 * soft-fp/eqdf2.c: Likewise.
8496 * soft-fp/eqsf2.c: Likewise.
8497 * soft-fp/eqtf2.c: Likewise.
8498 * soft-fp/extenddftf2.c: Likewise.
8499 * soft-fp/extended.h: Likewise.
8500 * soft-fp/extendsfdf2.c: Likewise.
8501 * soft-fp/extendsftf2.c: Likewise.
8502 * soft-fp/fixdfdi.c: Likewise.
8503 * soft-fp/fixdfsi.c: Likewise.
8504 * soft-fp/fixsfdi.c: Likewise.
8505 * soft-fp/fixsfsi.c: Likewise.
8506 * soft-fp/fixtfdi.c: Likewise.
8507 * soft-fp/fixtfsi.c: Likewise.
8508 * soft-fp/fixunsdfdi.c: Likewise.
8509 * soft-fp/fixunsdfsi.c: Likewise.
8510 * soft-fp/fixunssfdi.c: Likewise.
8511 * soft-fp/fixunssfsi.c: Likewise.
8512 * soft-fp/fixunstfdi.c: Likewise.
8513 * soft-fp/fixunstfsi.c: Likewise.
8514 * soft-fp/floatdidf.c: Likewise.
8515 * soft-fp/floatdisf.c: Likewise.
8516 * soft-fp/floatditf.c: Likewise.
8517 * soft-fp/floatsidf.c: Likewise.
8518 * soft-fp/floatsisf.c: Likewise.
8519 * soft-fp/floatsitf.c: Likewise.
8520 * soft-fp/floatundidf.c: Likewise.
8521 * soft-fp/floatundisf.c: Likewise.
8522 * soft-fp/floatunditf.c: Likewise.
8523 * soft-fp/floatunsidf.c: Likewise.
8524 * soft-fp/floatunsisf.c: Likewise.
8525 * soft-fp/floatunsitf.c: Likewise.
8526 * soft-fp/gedf2.c: Likewise.
8527 * soft-fp/gesf2.c: Likewise.
8528 * soft-fp/getf2.c: Likewise.
8529 * soft-fp/ledf2.c: Likewise.
8530 * soft-fp/lesf2.c: Likewise.
8531 * soft-fp/letf2.c: Likewise.
8532 * soft-fp/muldf3.c: Likewise.
8533 * soft-fp/mulsf3.c: Likewise.
8534 * soft-fp/multf3.c: Likewise.
8535 * soft-fp/negdf2.c: Likewise.
8536 * soft-fp/negsf2.c: Likewise.
8537 * soft-fp/negtf2.c: Likewise.
8538 * soft-fp/op-1.h: Likewise.
8539 * soft-fp/op-2.h: Likewise.
8540 * soft-fp/op-4.h: Likewise.
8541 * soft-fp/op-8.h: Likewise.
8542 * soft-fp/op-common.h: Likewise.
8543 * soft-fp/quad.h: Likewise.
8544 * soft-fp/single.h: Likewise.
8545 * soft-fp/soft-fp.h: Likewise.
8546 * soft-fp/subdf3.c: Likewise.
8547 * soft-fp/subsf3.c: Likewise.
8548 * soft-fp/subtf3.c: Likewise.
8549 * soft-fp/truncdfsf2.c: Likewise.
8550 * soft-fp/trunctfdf2.c: Likewise.
8551 * soft-fp/trunctfsf2.c: Likewise.
8552 * soft-fp/unorddf2.c: Likewise.
8553 * soft-fp/unordsf2.c: Likewise.
8554 * soft-fp/unordtf2.c: Likewise.
8555 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
8556 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8557 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8558 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8559 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8560 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8561 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8562 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8563 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8564 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
8565 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
8566 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8568 2013-06-16 JĂĽrgen Urban <JuergenUrban@gmx.de>
8570 * config/mips/lib2funcs.c: New file.
8571 * config/mips/t-mips (LIB2ADD_ST): Add it.
8573 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
8576 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
8577 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
8579 2013-06-08 Walter Lee <walt@tilera.com>
8581 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
8582 Replace int64_t with long long. Add __extension__ where
8584 * config/tilepro/atomic.c: Include config.h.
8586 2013-06-06 Douglas B Rupp <rupp@adacore.com>
8588 * config.host (arm-wrs-vxworks): Configure with other soft float.
8590 2013-06-04 JĂĽrgen Urban <JuergenUrban@gmx.de>
8592 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
8593 (mips64r5900el-*-elf*): New configurations.
8595 2013-06-04 Alan Modra <amodra@gmail.com>
8597 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
8599 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
8601 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
8603 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
8605 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
8606 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
8607 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
8609 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8611 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
8612 (powerpc-wrs-vxworks): Likewise.
8614 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8616 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
8617 signal frames as well.
8618 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
8619 STACK_BIAS to the CFA offset.
8621 2013-05-17 Richard Henderson <rth@redhat.com>
8624 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
8625 (execute_cfa_program): Use it when storing to fs->regs.
8627 2013-05-08 Kai Tietz <ktietz@redhat.com>
8629 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
8630 (__deregister_frame_info): Likewise.
8632 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
8634 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
8637 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
8639 2013-04-25 Alan Modra <amodra@gmail.com>
8641 * config.host: Match little-endian powerpc-linux.
8643 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
8645 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
8646 as 'unsigned long long' instead of 'unsigned long'.
8647 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
8650 2013-04-10 Julian Brown <julian@codesourcery.com>
8652 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
8653 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
8654 unsigned char/unsigned short.
8655 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
8657 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8660 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
8662 2013-04-04 Meador Inge <meadori@codesourcery.com>
8664 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
8665 computing the location of the link register.
8666 (aeabi_uldivmod): Ditto.
8668 2013-03-27 Kai Tietz <ktietz@redhat.com>
8670 * config.host: Add support for cygwin x64 target.
8671 * configure: Regenerated.
8673 2013-03-26 Walter Lee <walt@tilera.com>
8675 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
8676 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
8678 2013-03-25 Kai Tietz <ktietz@redhat.com>
8680 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
8682 2013-03-20 Robert Mason <rbmj@verizon.net>
8684 * config/vxlib-tls.c (__gthread_get_tsd_data,)
8685 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
8686 (__gthread_leave_tsd_dtor_context): Add prototypes.
8687 (tls_delete_hook): Update.
8689 2013-03-20 Catherine Moore <clm@codesourcery.com>
8690 Joseph Myers <joseph@codesourcery.com>
8691 Chao-ying Fu <fu@mips.com>
8693 * config/mips/mips16.S: Don't build for microMIPS.
8694 * config/mips/linux-unwind.h: Handle microMIPS frame.
8695 * config/mips/crtn.S (fini, init): New labels.
8697 2013-03-14 Jakub Jelinek <jakub@redhat.com>
8699 PR tree-optimization/53265
8700 * unwind-dw2.c (execute_cfa_program): Avoid
8701 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
8702 on targets with DWARF_FRAME_REGISTERS < 32.
8704 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
8707 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
8708 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
8710 2013-03-07 Sriraman Tallam <tmsriram@google.com>
8712 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
8713 sandybridge processors.
8715 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
8718 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
8721 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
8723 * config/microblaze/crti.S: Setup stack protection at entry
8725 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
8727 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
8728 (__rotldi3): Shift bytewise if applicable.
8730 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
8732 * config/aarch64/sync-cache.c
8733 (__aarch64_sync_cache_range): Silence warnings.
8735 2013-02-25 Catherine Moore <clm@codesourcery.com>
8738 2013-02-24 Catherine Moore <clm@codesourcery.com>
8739 Joseph Myers <joseph@codesourcery.com>
8740 Chao-ying Fu <fu@mips.com>
8742 * config/mips/mips16.S: Don't build for microMIPS.
8743 * config/mips/linux-unwind.h: Handle microMIPS frame.
8744 * config/mips/crtn.S (fini, init): New labels.
8746 2013-02-24 Catherine Moore <clm@codesourcery.com>
8747 Joseph Myers <joseph@codesourcery.com>
8748 Chao-ying Fu <fu@mips.com>
8750 * config/mips/mips16.S: Don't build for microMIPS.
8751 * config/mips/linux-unwind.h: Handle microMIPS frame.
8752 * config/mips/crtn.S (fini, init): New labels.
8754 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
8755 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
8758 2013-02-16 Alan Modra <amodra@gmail.com>
8761 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
8762 (ppc_fallback_frame_state): Always set up save locations for fp
8763 and altivec. Don't bother with non-callee-saved regs, r0-r13
8764 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
8766 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
8769 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
8771 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
8772 _ssmulha3, _usmulusa3, _ssmulsa3.
8773 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
8774 (__muldi3): XCALL __muldi3_6 instead of rcall.
8775 (__umulsidi3, __mulsidi3): New functions.
8776 (do_prologue_saves, do_epilogue_restores): New .macros.
8777 (__divdi3_moddi3): Use them.
8778 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
8779 (__usmulusa3, __ssmulsa3): New functions.
8781 2013-02-11 Iain Sandoe <iain@codesourcery.com>
8782 Jack Howarth <howarth@bromo.med.uc.edu>
8783 Patrick Marlier <patrick.marlier@gmail.com>
8786 * config/darwin-crt-tm.c: Remove dummy functions hack.
8788 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
8791 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
8792 * config/avr/lib2-object.mk: New iterator to build objects from it.
8793 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
8795 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
8796 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
8797 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
8798 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
8799 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
8800 * config/avr/lib1funcs-fixed.S: Implement them.
8802 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
8804 Update copyright years.
8806 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
8809 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
8810 Add crtcxa to extra_parts.
8811 * config/rs6000/exit.h: New file.
8812 * config/rs6000/cxa_atexit.c: New file.
8813 * config/rs6000/cxa_finalize.c: New file.
8814 * config/rs6000/crtcxa.c: New file.
8815 * config/rs6000/t-aix-cxa: New file.
8816 * config/rs6000/libgcc-aix-cxa.ver: New file.
8818 2013-01-31 Nick Clifton <nickc@redhat.com>
8820 * config/v850/lib1funcs.S: Add support for e3v5 architecture
8823 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
8826 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
8827 _mulQQ, _mulHQ, _mulHA, _mulSA,
8828 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
8829 _divQQ, _divHQ, _divHA, _divSA,
8830 _divUQQ, _divUHQ, _divUHA, _divUSA.
8832 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
8834 * config.host(microblaze*-linux*): tmake_file: Remove
8835 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
8836 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
8837 to exclude functions from being built with libgcc.c and use
8838 the microblaze assembly.
8840 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
8842 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
8845 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
8847 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
8848 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
8849 __UINTPTR_TYPE__; also cast 'base' to the same type before the
8850 alignment operation.
8852 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
8854 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
8855 loop start address for cache clearing.
8857 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
8859 * config/avr/lib1funcs.S: Remove trailing blanks.
8860 * config/avr/lib1funcs-fixed.S: Ditto.
8862 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
8864 * config/avr/avr-lib.h: Add GPL copyright notice.
8866 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
8868 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
8869 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
8870 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
8871 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
8873 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
8875 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
8876 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
8878 2013-01-04 Nick Clifton <nickc@redhat.com>
8880 * config/v850/lib1funcs.S: Only provide CALLT support functions if
8881 the CALLT instruction is supported.
8883 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
8885 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
8886 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
8888 2012-12-13 John Tytgat <John@bass-software.com>
8890 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
8893 2012-12-12 Jakub Jelinek <jakub@redhat.com>
8896 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
8897 undefined signed overflows.
8899 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
8902 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
8904 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
8906 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
8907 (FP_TRAPPING_EXCEPTIONS): Define.
8908 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
8909 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
8911 2012-12-04 Richard Henderson <rth@redhat.com>
8914 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
8916 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
8918 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
8919 (FP_EX_SHIFT): Define.
8920 (FP_TRAPPING_EXCEPTIONS): Define.
8922 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
8924 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
8925 (FP_ROUNDMODE): Use FP_RND_MASK.
8926 * config/aarch64/sfp-exceptions.c: New.
8927 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8928 Use __sfp_handle_exceptions.
8930 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
8932 * config.host: (arm*-*-freebsd*): Remove.
8933 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
8934 (arm*-*-elf*): Remove.
8935 (arm*-*-wince-pe*): Remove.
8936 * arm/unwind-arm.c (struct fpa_reg): Delete.
8937 (struct fpa_regs): Delete.
8938 (phase1_vrs): Remove fpa element.
8939 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
8940 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
8941 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
8942 * ieee754-sf.S (floatundisf): Remove FPA support.
8943 (floatdisf): Likewise.
8944 * ieee75f-df.S (floatundidf): Likewise.
8945 (floatdidf): Likewise.
8947 2012-11-29 Kai Tietz <ktietz@redhat.com>
8950 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
8951 * unwind-generic.h: Likewise.
8952 * unwind-seh.c: Likewise.
8954 2012-11-28 Richard Henderson <rth@redhat.com>
8957 * emutls.c (__emutls_get_address): Avoid race condition between
8958 obj->loc.offset read and emutls_key initialization.
8960 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
8962 Adjust decimal point of signed accum mode to GCC default.
8965 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
8967 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
8968 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
8969 (__mulha3, __mulsa3)
8970 (__divqq3, __divha3, __divsa3): Adjust to new position of
8971 decimal point of signed accum types.
8973 (__mulusa3_round): New function.
8974 (__mulusa3): Use it.
8975 (__divqq_helper): New function.
8976 (__udivuqq3): Use it.
8978 2012-11-20 Jakub Jelinek <jakub@redhat.com>
8981 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
8983 2012-11-18 Teresa Johnson <tejohnson@google.com>
8986 * libgcov.c (gcov_exit): Remove merged program summary
8987 comparison unless !GCOV_LOCKED.
8989 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
8991 * soft-fp: Updated from glibc upstream.
8993 2012-11-06 Ian Lance Taylor <iant@google.com>
8995 * generic-morestack.c (__generic_morestack): Align the returned
8996 stack pointer to a 32 byte boundary.
8997 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
8998 increment the return address until we have decided that we don't
8999 have a varargs function.
9000 (__morestack) [32-bit]: Align stack correctly when calling C
9002 (__morestack) [64-bit]: Likewise.
9004 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9006 * configure: Regenerate.
9008 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
9011 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
9012 * config/i386/sfp-machine.h: Guard exception handling
9013 code with _SOFT_FLOAT.
9014 * config/i386/32/sfp-machine.h: Guard rounding handling
9015 code with _SOFT_FLOAT.
9016 * config/i386/64/sfp-machine.h: Ditto.
9018 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
9020 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
9023 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
9025 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
9026 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
9027 when appropriate. Correct structure element types.
9028 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
9029 -minline-all-stringops from compile flags.
9031 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
9033 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
9035 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
9037 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
9039 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
9041 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
9044 2012-10-23 Ian Bolton <ian.bolton@arm.com>
9045 Jim MacArthur <jim.macarthur@arm.com>
9046 Marcus Shawcroft <marcus.shawcroft@arm.com>
9047 Nigel Stephens <nigel.stephens@arm.com>
9048 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
9049 Richard Earnshaw <rearnsha@arm.com>
9050 Sofiane Naci <sofiane.naci@arm.com>
9051 Stephen Thomas <stephen.thomas@arm.com>
9052 Tejas Belagod <tejas.belagod@arm.com>
9053 Yufeng Zhang <yufeng.zhang@arm.com>
9055 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
9056 * config/aarch64/crti.S: New file.
9057 * config/aarch64/crtn.S: New file.
9058 * config/aarch64/linux-unwind.h: New file.
9059 * config/aarch64/sfp-machine.h: New file.
9060 * config/aarch64/sync-cache.c: New file.
9061 * config/aarch64/t-aarch64: New file.
9062 * config/aarch64/t-softfp: New file.
9064 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
9066 * config/mmix/crti.S: Mark program and data addresses using PRELD.
9067 Remove typo'd and unnecessary alignment-LOC for .data. Remove
9068 no-longer-needed LDBU insns.
9070 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
9073 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
9074 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
9076 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9078 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
9080 2012-10-15 Matthias Klose <doko@ubuntu.com>
9082 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
9084 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
9086 * configure: Regenerate.
9087 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
9089 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
9091 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
9092 instructions for 64bit targets only.
9094 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
9096 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9097 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
9098 * config/i386/32/sfp-machine.h: ... here.
9099 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
9100 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
9103 2012-10-07 Matthias Klose <doko@ubuntu.com>
9105 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
9107 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
9109 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
9111 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
9112 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
9113 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
9116 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
9119 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9120 Fix parameter names.
9122 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
9125 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
9126 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
9127 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
9129 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
9132 * config/sh/linux-atomic.S: Delete.
9133 * config/sh/linux-atomic.c: New.
9134 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
9135 linux-atomic.c. Add cflags to disable warnings.
9137 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
9140 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
9142 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
9143 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
9144 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
9145 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
9146 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
9148 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9150 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
9152 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
9153 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
9155 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
9157 * config.host (hppa-*-openbsd*): New target.
9158 * config/pa/t-openbsd: New file.
9160 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
9163 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
9164 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
9165 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
9166 (__divsa3): Use __negsi2 to negate r_quoL.
9167 * config/avr/lib1funcs.S (FALIAS): New macro.
9168 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
9169 (__negsi2): ...this new function.
9170 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
9171 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
9172 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
9173 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
9174 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
9175 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
9177 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
9180 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
9181 (lshrsi3): Reimplement as lshrsi3_r0.
9183 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
9186 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
9189 2012-09-07 Teresa Johnson <tejohnson@google.com>
9191 PR gcov-profile/54487
9192 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9195 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
9198 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
9199 not configured --with-avrlibc=no.
9200 * config/avr/t-avrlibc: New file.
9201 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
9202 (DPBIT_FUNCS): Ditto.
9203 (TPBIT_FUNCS): Ditto.
9205 2012-09-04 Teresa Johnson <tejohnson@google.com>
9207 * libgcov.c (struct gcov_summary_buffer): New structure.
9208 (gcov_histogram_insert): New function.
9209 (gcov_compute_histogram): Ditto.
9210 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
9211 histograms during summary merging.
9213 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
9215 * config.host (x86_64-*-openbsd*): New target.
9217 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
9219 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
9222 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
9225 * config/avr/t-avr (conv_X): Rename to func_X.
9227 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
9230 * config/avr/lib1funcs-fixed.S: New file.
9231 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
9232 after they are used.
9233 (neg2, neg4): New macros.
9234 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
9235 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
9236 (__umulhisi3): Speed up MUL variant if there is enough flash.
9237 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
9239 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
9240 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
9241 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
9242 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
9243 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
9244 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
9245 (LIB2FUNCS_EXCLUDE): Add supported functions.
9247 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
9249 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
9250 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
9252 * fixed-obj.mk: Only expand dependency if $o is not in
9255 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
9257 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
9259 2012-08-22 Joseph Myers <joseph@codesourcery.com>
9261 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
9262 depend on --enable-shared.
9263 ($(lib1asmfuncs-o)): Use %.vis files independent of
9265 * static-object.mk ($(base)$(objext), $(base).vis)
9266 ($(base)_s$(objext)): Use same rules for visibility handling as in
9269 2012-08-21 Ian Lance Taylor <iant@google.com>
9271 * config/i386/morestack.S (__morestack_non_split): Increase amount
9272 of space allocated for non-split code stack.
9274 2012-08-19 Joseph Myers <joseph@codesourcery.com>
9276 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
9277 even if inhibit_libc.
9279 2012-08-17 Julian Brown <julian@codesourcery.com>
9281 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
9282 -fexceptions -fnon-call-exceptions if not defined.
9283 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
9284 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
9286 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
9288 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
9291 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
9293 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
9294 rs6000/t-slibgcc-aix.
9296 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
9298 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
9300 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
9302 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
9304 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
9307 * Makefile.in (version): Replace top_srcdir with srcdir.
9309 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
9311 * Makefile.in (version): set to BASE-VER file from gcc directory.
9313 2012-08-01 Nick Clifton <nickc@redhat.com>
9315 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
9316 Implements __clrsb for an HImode argument.
9318 2012-07-31 Nick Clifton <nickc@redhat.com>
9320 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
9321 Implements __clrsb for an HImode argument.
9322 * config/stormy16/clrsbhi2.c: New file:
9323 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
9325 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
9327 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
9329 2012-07-19 Tristan Gingold <gingold@adacore.com>
9330 Richard Henderson <rth@redhat.com>
9332 * unwind-seh.c: New file.
9333 * unwind-generic.h: Include windows.h for SEH.
9334 (_Unwind_Exception): Use 6 private fields for SEH.
9335 (_GCC_specific_handler): Declare.
9336 * unwind-c.c (__gcc_personality_seh0): New function.
9338 * config/i386/libgcc-cygming.ver: New file.
9339 * config/i386/t-seh-eh: New file.
9340 * config.host (x86_64-*-mingw*): Default to seh.
9342 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
9344 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
9346 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
9348 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
9349 __builtin_expect when checking for exceptions.
9350 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
9352 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
9354 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
9355 function declaration.
9356 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9358 * config/ia64/sfp-exceptions.c: New.
9359 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
9361 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
9363 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
9364 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
9365 * config/i386/64/sfp-machine: ... (delete here) ...
9366 * config/i386/sfp-machine.h: ... to here.
9367 (FP_EX_MASK): Remove.
9369 (FP_INIT_ROUNDMODE): Declare asm as volatile.
9371 2012-06-11 Sriraman Tallam <tmsriram@google.com>
9373 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
9374 * config/i386/libgcc-sol2.ver: Ditto.
9375 * config/i386/libgcc-glibc.ver: Ditto.
9377 2012-06-11 Roland McGrath <mcgrathr@google.com>
9379 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
9380 If __GLIBC__ is defined, refer to __pthread_key_create instead of
9383 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
9385 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
9386 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
9387 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
9388 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9389 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
9390 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
9391 * config/i386/64/sfp-machine: ... (delete here) ...
9392 * config/i386/sfp-machine.h: ... to here.
9394 (__sfp_handle_exceptions): New function declaration.
9395 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9396 * config/i386/sfp-exceptions.c: New.
9397 * config/i386/t-softfp: New.
9398 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
9399 i386/t-softfp to tmake_file.
9401 2012-06-03 David S. Miller <davem@davemloft.net>
9403 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
9406 2012-05-31 David S. Miller <davem@davemloft.net>
9408 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
9409 multiply and divide instructions on 32-bit when V9.
9410 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
9412 2012-05-29 Joseph Myers <joseph@codesourcery.com>
9414 * config/arm/ieee754-df.S: Fix typos.
9415 * config/arm/ieee754-sf.S: Fix typos.
9416 * config/c6x/libunwind.S: Fix typos.
9417 * config/epiphany/udivsi3-float.c: Fix typos.
9418 * config/microblaze/muldi3_hard.S: Fix typos.
9419 * config/picochip/adddi3.S: Fix typos.
9420 * config/picochip/ashlsi3.S: Fix typos.
9421 * config/picochip/ashrsi3.S: Fix typos.
9422 * config/picochip/clzsi2.S: Fix typos.
9423 * config/picochip/cmpsi2.S: Fix typos.
9424 * config/picochip/divmod15.S: Fix typos.
9425 * config/picochip/divmodhi4.S: Fix typos.
9426 * config/picochip/divmodsi4.S: Fix typos.
9427 * config/picochip/longjmp.S: Fix typos.
9428 * config/picochip/lshrsi3.S: Fix typos.
9429 * config/picochip/parityhi2.S: Fix typos.
9430 * config/picochip/popcounthi2.S: Fix typos.
9431 * config/picochip/setjmp.S: Fix typos.
9432 * config/picochip/subdi3.S: Fix typos.
9433 * config/picochip/ucmpsi2.S: Fix typos.
9434 * config/picochip/udivmodhi4.S: Fix typos.
9435 * config/picochip/udivmodsi4.S: Fix typos.
9436 * config/spu/divv2df3.c: Fix typos.
9437 * config/spu/mfc_multi_tag_release.c: Fix typos.
9438 * config/spu/mfc_tag_release.c: Fix typos.
9439 * configure.ac: Fix typos.
9440 * configure: Regenerate.
9442 2012-05-25 Ian Lance Taylor <iant@google.com>
9444 * config/i386/morestack.S (__morestack_non_split): Check whether
9445 caller is varargs and needs %bp to hold the stack frame on return.
9447 2012-05-25 Olivier Hainque <hainque@adacore.com>
9449 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
9450 sequence in the non pic case on VxWorks.
9452 2012-05-24 Olivier Hainque <hainque@adacore.com>
9454 * Makefile.in: Move dependency on install-unwind_h from
9455 "install-leaf" to "install".
9457 2012-05-24 Olivier Hainque <hainque@adacore.com>
9459 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
9460 Use a separate command for stamp removals.
9462 2012-05-21 Andrew Pinski <apinski@cavium.com>
9465 * configure.ac: Define the default includes to being none.
9466 * configure: Regenerate.
9468 2012-05-16 Olivier Hainque <hainque@adacore.com>
9470 * Makefile.in (install-unwind_h): Rename into ...
9471 (install-unwind_h-forbuild): New target.
9472 (all): Use it instead of the former install-unwind_h.
9473 (install-unwind_h): Reinstate, copy to user install destination
9474 for include files, not to the internal gcc object directory one.
9475 (install-leaf): Depend on it.
9477 2012-05-15 Olivier Hainque <hainque@adacore.com>
9479 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
9480 register numbers. LR_REGNO replaces R_LR.
9481 (ucontext_for): New, helper for ...
9482 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
9484 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
9486 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9488 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
9489 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
9490 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
9492 (i[34567]86-*-*, x86_64-*-*): ... here.
9494 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
9495 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
9497 * config/i386/i386-cpuinfo.c: Rename to ...
9498 * config/i386/cpuinfo.c: ... this.
9499 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
9501 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
9502 (libgcc_cv_init_priority): New test.
9503 * configure: Regenerate.
9504 * config.in: New file.
9505 * Makefile.in (clean): Rename config.h to auto-target.h.
9506 (config.h): Likewise.
9507 (stamp-h): Likewise.
9509 * config/i386/cpuinfo.c (auto-target.h): Include.
9510 (CONSTRUCTOR_PRIORITY): Define.
9511 (__cpu_indicator_init): Use it.
9513 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9515 * longlong.h: Use a URL instead of an FSF postal address.
9516 Replace spaces with tab.
9518 2012-05-08 Teresa Johnson <tejohnson@google.com>
9520 * libgcov.c (gcov_clear, __gcov_reset): New functions.
9521 (__gcov_dump): Ditto.
9522 (gcov_dump_complete): New global variable.
9523 (gcov_exit): Export hidden to enable use in L_gcov_dump.
9524 (__gcov_flush): Outline functionality now in gcov_clear.
9525 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
9527 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
9529 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
9530 (mips*-*-linux*): Include mips/t-tpbit when long double is
9533 2012-04-25 Sriraman Tallam <tmsriram@google.com>
9535 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
9536 (get_available_features): New argument. Check for AVX2.
9537 (__cpu_indicator_init): Modify call to get_available_features.
9539 2012-04-25 Alan Modra <amodra@gmail.com>
9541 * config/rs6000/crtsavevr.S: New file.
9542 * config/rs6000/crtrestvr.S: New file.
9543 * config/rs6000/t-savresfgpr: Build the above.
9544 * config/rs6000/t-netbsd: Likewise.
9546 2012-04-24 Sriraman Tallam <tmsriram@google.com>
9548 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
9550 2012-04-24 Sriraman Tallam <tmsriram@google.com>
9552 * libgcc/config/i386/i386-cpuinfo.c: New file.
9553 * libgcc/config/i386/t-cpuinfo: New file.
9554 * libgcc/config.host: Include t-cpuinfo.
9555 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
9557 2012-04-24 Chao-ying Fu <fu@mips.com>
9559 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
9561 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
9563 struct siginfo vs. siginfo_t
9565 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
9566 siginfo_t instead of struct siginfo.
9567 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
9568 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
9569 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
9570 (ia64_handle_unwabi): Likewise.
9571 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
9572 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
9573 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
9574 (sh_fallback_frame_state): Likewise.
9575 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
9576 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
9578 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
9580 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
9583 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
9585 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
9586 if it hasn't been previously saved.
9588 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
9590 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
9593 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
9596 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
9597 instead of __AVR_HAVE_8BIT_SP__.
9599 2012-03-26 Tristan Gingold <gingold@adacore.com>
9601 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
9602 (unw_table_entry): Use unw_word instead of unsigned long.
9603 (_Unwind_FindTableEntry): Likewise.
9604 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
9605 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
9606 (_Unwind_FindTableEntry): Likewise.
9607 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
9608 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
9609 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
9610 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
9611 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
9612 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
9613 (uw_init_context_1, uw_install_context): Likewise.
9614 (unw_word): Move to unwind-ia64.h
9616 2012-03-26 Tristan Gingold <gingold@adacore.com>
9618 * config/vms/vms-ucrt0.c: Update copyright years.
9620 (___gcc_main_flags): Declare.
9621 (__main): Check flags to remap argv and exit code.
9622 * config.host (*-*-*vms*): Adjust extra_parts.
9623 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
9626 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
9628 * arm/lib1funcs.asm (ctzsi2): New function.
9629 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
9630 * arm/t-linux (LIB1ASMFUNCS): Likewise.
9631 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
9632 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
9633 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
9634 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
9636 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
9638 * config.host: Add bits to support powerpc64-*-freebsd*.
9639 * config/rs6000/freebsd-unwind.h: New file.
9640 * config/rs6000/t-freebsd64: New file.
9642 2012-03-20 Richard Guenther <rguenther@suse.de>
9644 PR gcov-profile/52627
9645 * libgcov.c (init_mx): Fix mutex name.
9647 2012-03-16 Tristan Gingold <gingold@adacore.com>
9649 * config/ia64/vms-unwind.h: Remove ulong (and replace
9650 it by unw_reg where used). Define unw_reg with __int64.
9652 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9654 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
9656 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
9658 (sparc_is_sighandler): Likewise.
9660 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
9662 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
9665 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9667 * config/arm/crtn.S: Fix typo.
9669 2012-03-13 Richard Guenther <rguenther@suse.de>
9671 * libgcov.c: Remove stdio.h include and NULL un-define.
9673 2012-03-13 Richard Guenther <rguenther@suse.de>
9676 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
9678 2012-03-13 Richard Guenther <rguenther@suse.de>
9680 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
9682 2012-03-13 Richard Guenther <rguenther@suse.de>
9684 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
9685 and __gthread_mutex_init_function definitions.
9687 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9689 * config.host (mips*-*-openbsd*): Remove.
9691 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9693 * config.host: Remove alpha*-dec-osf5.1* handling.
9694 * config/alpha/gthr-posix.c: Remove.
9695 * config/alpha/libgcc-osf5.ver: Remove.
9696 * config/alpha/osf5-unwind.h: Remove.
9697 * config/alpha/t-osf-pthread: Remove.
9698 * config/alpha/t-slibgcc-osf: Remove.
9699 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
9700 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
9701 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
9702 * mkmap-flat.awk: Remove osf_export handling.
9704 2012-03-12 Richard Guenther <rguenther@suse.de>
9706 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
9707 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9708 (__gthread_mutex_init_function): New function.
9709 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9712 * libgcov.c: Include gthr.h.
9713 (__gcov_flush_mx): New global variable.
9714 (init_mx, init_mx_once): New functions.
9715 (__gcov_flush): Protect self with a mutex.
9716 (__gcov_fork): Re-initialize mutex after forking.
9717 * unwind-dw2-fde.c: Change condition under which to use
9718 __GTHREAD_MUTEX_INIT_FUNCTION.
9720 2012-03-12 Tristan Gingold <gingold@adacore.com>
9722 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
9723 * config/ia64/t-vms: Likewise.
9725 2012-03-11 Michael Hope <michael.hope@linaro.org>
9727 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
9730 2012-03-07 Walter Lee <walt@tilera.com>
9732 * config/tilepro/atomic.c: Rename "atomic_" prefix to
9734 (atomic_xor): Rename and move definition to
9735 config/tilepro/atomic.h.
9736 (atomic_nand): Ditto.
9737 * config/tilepro/atomic.h: Rename "atomic_" prefix to
9739 (arch_atomic_xor): Move from config/tilepro/atomic.c.
9740 (arch_atomic_nand): Ditto.
9742 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
9745 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
9747 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
9750 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
9753 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
9757 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
9758 if RAMPZ affects reading from RAM.
9759 (__tablejump_elpm__): Ditto.
9761 (__movmemx_hi): Ditto.
9762 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
9763 (__do_global_dtors): Ditto.
9764 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
9765 (__movmemx_hi): Ditto.
9767 2012-03-05 Richard Henderson <rth@redhat.com>
9769 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
9770 [ARM] (count_trailing_zeros): Use the builtin.
9772 2012-03-01 Kai Tietz <ktietz@redhat.com>
9774 * soft-fp: Imported from glibc upstream.
9776 2012-02-28 Kai Tietz <ktietz@redhat.com>
9778 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
9779 for mingw-targets as attribute gcc_struct.
9781 2012-02-28 Ian Lance Taylor <iant@google.com>
9783 * generic-morestack.c (__splitstack_releasecontext): Correct call
9784 to __morestack_release_segments.
9786 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9789 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
9790 for __linux__ when removing signals from __morestack_fullmask.
9792 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
9795 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
9797 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9799 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
9800 instead of HAVE_INITFINI_ARRAY.
9801 * config/ia64/crtend.S: Likewise.
9803 2012-02-20 Kai Tietz <ktietz@redhat.com>
9806 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
9808 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
9809 to w32-unwind.h header.
9811 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9813 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
9814 (mips*-*-linux*): Remove t-slibgcc-libgcc.
9815 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
9816 * config/mips/mips16.S (__mips16_rdhwr): Delete.
9818 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9820 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
9822 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9825 * config/darwin-crt-tm.c: Correct typo.
9827 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9828 Patrick Marlier <patrick.marlier@gmail.com>
9831 * config/darwin-crt-tm.c: Generate dummy functions.
9833 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9834 Patrick Marlier <patrick.marlier@gmail.com>
9837 * config/darwin-crt-tm.c (getTMCloneTable): New function.
9838 (__doTMRegistrations): Call it.
9839 (__doTMdeRegistrations): Likewise.
9841 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
9842 Anatoly Sokolov <aesok@post.ru>
9843 Eric Weddington <eric.weddington@atmel.com>
9846 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
9847 (__epilogue_restores__): Ditto.
9849 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
9853 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
9854 Solaris 11 and slightly reformat.
9855 (sparc_is_sighandler): Likewise.
9857 2012-02-14 Walter Lee <walt@tilera.com>
9859 * config.host: Handle tilegx and tilepro.
9860 * config/tilegx/sfp-machine.h: New file.
9861 * config/tilegx/sfp-machine32.h: New file.
9862 * config/tilegx/sfp-machine64.h: New file.
9863 * config/tilegx/t-crtstuff: New file.
9864 * config/tilegx/t-softfp: New file.
9865 * config/tilegx/t-tilegx: New file.
9866 * config/tilepro/atomic.c: New file.
9867 * config/tilepro/atomic.h: New file.
9868 * config/tilepro/linux-unwind.h: New file.
9869 * config/tilepro/sfp-machine.h: New file.
9870 * config/tilepro/softdivide.c: New file.
9871 * config/tilepro/softmpy.S: New file.
9872 * config/tilepro/t-crtstuff: New file.
9873 * config/tilepro/t-tilepro: New file.
9875 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
9879 * gthr-posix.h: Allow static initializer macros to be disabled.
9880 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
9882 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9884 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
9885 Add t-slibgcc-libgcc to tmake_file.
9886 * config/mips/libgcc-mips16.ver: Revert previous patch.
9887 * config/mips/mips16.S (__mips16_rdhwr): Hide.
9889 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
9890 Jayant R Sonar <jayant.sonar@kpitcummins.com>
9892 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
9893 * config/cr16/crti.S: New file.
9894 * config/cr16/crtlibid.S: New file.
9895 * config/cr16/crtn.S: New file.
9896 * config/cr16/lib1funcs.S: New file.
9897 * config/cr16/t-cr16: New file.
9898 * config/cr16/t-crtlibid: New file.
9899 * config/cr16/unwind-dw2.h: New file.
9900 * config/cr16/unwind-cr16.c: New file.
9901 * config/cr16/divmodhi3.c: New file.
9903 2012-01-25 Alan Modra <amodra@gmail.com>
9905 * config/rs6000/t-linux64: Delete. Move..
9906 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
9907 * config/rs6000/t-linux: ..and libgcc flags to here.
9909 2012-01-22 Douglas B Rupp <rupp@gnat.com>
9911 * config.host (i[34567]86-*-interix3*):
9912 Change triplet to i[34567]86-*-interix[3-9]*.
9913 * configure: Regenerate.
9915 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
9916 Richard Sandiford <rdsandiford@googlemail.com>
9918 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
9919 * config/mips/mips16.S (__mips16_rdhwr): New function.
9920 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
9922 2012-01-11 Nathan Sidwell <nathan@acm.org>
9924 * libgcov.c (__gcov_init): Ignore objects with no functions.
9926 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
9929 Extend __pgmx semantics to linearize memory.
9930 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
9931 * config/avr/lib1funcs.S (__xload_1): New function.
9932 (__movmemx_qi, __movmemx_hi): New functions.
9933 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
9936 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9938 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
9939 purported sigacthandler address isn't null before dereferencing it.
9940 (sparc_is_sighandler): Likewise.
9942 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9945 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
9946 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
9947 (sparc_is_sighandler): Likewise.
9948 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
9950 2012-01-06 Tristan Gingold <gingold@adacore.com>
9952 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
9953 compatibility thunks...
9954 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
9955 (crtbeginS.o, crtendS.o): ... and these to ...
9956 * config/ia64/t-ia64-elf: ... this new file.
9957 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
9958 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
9960 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9962 * configure: Regenerate.
9963 * config/s390/t-crtstuff: Remove -fPIC.
9965 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
9968 * enable-execute-stack-mprotect.c (getpagesize): Do not define
9971 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
9974 * config/avr/lib1funcs.S: Remove FIXME comments.
9975 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
9977 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
9979 Implement light-weight DImode support.
9980 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
9981 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
9982 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
9983 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
9985 2011-12-30 Nathan Sidwell <nathan@acm.org>
9987 * libgcov.c (gcov_crc32): Remove global var.
9988 (free_fn_data): New function.
9989 (buffer_fn_data): Pass in filename, more robust error recovery.
9990 (crc32_unsigned): New function.
9991 (gcov_exit): More robust detection of new program. More robust
9993 (__gcov_init): Do not update program's crc here.
9995 2011-12-21 Tristan Gingold <gingold@adacore.com>
9997 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
9999 2011-12-21 Ian Lance Taylor <iant@google.com>
10001 * config/i386/morestack.S: Simplify CFI opcodes throughout.
10003 2011-12-20 Ian Lance Taylor <iant@google.com>
10005 * config/i386/morestack.S (__morestack_non_split): If there is
10006 enough stack space already, don't split. Ask for more stack space
10009 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
10011 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
10013 (_Unwind_DebugHook): New function.
10014 (uw_restore_core_regs): New define.
10015 (unwind_phase2): Use uw_restore_core_regs instead of
10017 (unwind_phase2_forced): Likewise.
10018 (__gnu_Unwind_Resume): Likewise.
10020 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
10022 * config/alpha/linux-unwind.h: Update copyright years.
10023 (MD_FROB_UPDATE_CONTEXT): New define.
10024 (alpha_frob_update_context): New function.
10026 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
10028 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
10029 tmake_file rather replacing it.
10031 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
10033 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
10034 function is not used for PPC64.
10035 (save_world): Amend comments. Update the VRsave mask to reflect the
10037 (rest_world): Update comments, do not clobber r10, do not use r8.
10038 (eh_rest_world_r10): Amend comments, do not use r8.
10039 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
10040 no longer used, move restore of CR and target address to the end of
10043 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
10045 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
10046 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
10048 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
10051 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
10052 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
10054 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
10056 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
10058 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
10061 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
10062 * config/avr/lib1funcs.S (__muldi3): New function.
10064 2011-12-06 Andrew Pinski <apinski@cavium.com>
10066 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
10068 (__frame_dummy_init_array_entry): Likewise.
10070 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
10072 Forward-port from gcc-4_6-branch r181936 2011-12-02.
10076 * config/avr/lib1funcs.S (__prologue_saves__,
10077 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
10078 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
10080 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
10082 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
10084 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10087 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
10088 (_ITM_deregisterTMCloneTable): Likewise.
10089 (__register_frame_info): Fix unused warning.
10090 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
10091 pthread_default_stacksize_np): Likewise.
10092 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
10094 2011-11-29 DJ Delorie <dj@redhat.com>
10096 * config.host (rl78-*-elf): New case.
10097 * config/rl78: New directory for the Renesas RL78.
10099 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
10101 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
10104 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10107 * config/rs6000/t-savresfgpr: New file.
10108 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
10109 $(srcdir)/config/rs6000/eabi.S.
10110 * config/rs6000/t-ppccomm-ldbl: Remove.
10111 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
10113 (powerpc-*-eabispe*): Likewise.
10114 (powerpc-*-eabi*): Likewise.
10115 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10116 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
10117 to tmake_file, remove rs6000/t-ppccomm-ldbl.
10118 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
10120 (powerpc-*-eabisim*): Likewise.
10121 (powerpc-*-elf*): Likewise.
10122 (powerpc-*-eabialtivec*): Likewise.
10123 (powerpc-xilinx-eabi*): Likewise.
10124 (powerpc-*-rtems*): Likewise.
10125 (powerpcle-*-elf*): Likewise.
10126 (powerpcle-*-eabisim*): Likewise.
10127 (powerpcle-*-eabi*): Likewise.
10129 2011-11-27 Ian Lance Taylor <iant@google.com>
10131 * generic-morestack.c (__splitstack_find): Check for NULL old
10133 (__splitstack_resetcontext): New function.
10134 (__splitstack_releasecontext): New function.
10135 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10137 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
10139 * config/darwin-crt-tm.c: Correct comments, use correct licence.
10141 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
10143 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
10145 2011-11-26 Richard Henderson <rth@redhat.com>
10147 * config/m68k/linux-atomic.c: New file.
10148 * config/m68k/t-linux: New file.
10149 * config.host (m68k-uclinux, m68k-linux): Use it.
10151 2011-11-26 Richard Henderson <rth@redhat.com>
10153 * crtstuff.c (__TMC_LIST__): Mark used not unused.
10154 (__TMC_END__): Only declare if hidden is available; in the definition,
10155 if hidden is unavailable add a null record.
10156 (deregister_tm_clones, register_tm_clones): New.
10157 (__do_global_dtors_aux, frame_dummy): Use them.
10158 (__do_global_dtors, __do_global_ctors_1): Likewise.
10160 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
10162 * config/darwin-crt-tm.c: New file.
10163 * config.host (darwin): Build crttms.o crttme.o to provide
10164 startup and shutdown for tm clones.
10165 * config/t-darwin (crttms.o): New build rule.
10166 (crttme.o): Likewise.
10168 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
10170 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
10173 2011-11-21 Richard Henderson <rth@redhat.com>
10175 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
10176 (__TMC_LIST__, __TMC_END__): New.
10177 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
10178 (__do_global_dtors): Likewise.
10179 (frame_dummy): Call _ITM_registerTMCloneTable.
10180 (__do_global_ctors_1): Likewise.
10182 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10184 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
10185 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10186 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
10187 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
10188 * config/i386/t-darwin64: Remove.
10189 * config/sh/t-netbsd (LIB2ADD): Remove.
10191 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
10194 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
10195 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
10196 * config/avr/lib1funcs.S (wmov): New assembler macro.
10197 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
10198 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
10199 (__udivmod64): New function.
10200 (__negdi2): New function.
10202 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
10204 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
10205 *-*-freebsd*aout*): Remove.
10207 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
10209 * static-object.mk (c_flags-$o): Save c_flags.
10210 ($(base)$(objext)): Use it.
10212 2011-11-18 Steve Ellcey <sje@cup.hp.com>
10214 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
10216 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
10219 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
10220 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
10223 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
10225 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
10227 (aeabi_uidivmod): Likewise.
10228 (umodsi3): Likewise.
10229 (divsi3): Likewise.
10230 (aeabi_idivmod): Likewise.
10231 (modsi3): Likewise.
10233 2011-11-16 Tristan Gingold <gingold@adacore.com>
10235 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
10237 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
10240 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
10241 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
10243 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10245 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
10247 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
10248 * config/pa/t-stublib64: Delete.
10250 2011-11-12 Richard Henderson <rth@redhat.com>
10252 * config/rs6000/linux-unwind.h (frob_update_context): Properly
10253 cast the pointer argument to _Unwind_SetGRPtr.
10255 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10257 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
10259 2011-11-09 Ian Lance Taylor <iant@google.com>
10261 * generic-morestack.c: Include <string.h>.
10262 (uintptr_type): Define.
10263 (struct initial_sp): Add dont_block_signals field. Reduce size of
10265 (allocate_segment): Set prev field to NULL. Don't set
10266 __morestack_current_segment or __morestack_segments.
10267 (__generic_morestack): Update current->prev and *pp after calling
10269 (__morestack_block_signals): Don't do anything if
10270 dont_block_signals is set.
10271 (__morestack_unblock_signals): Likewise.
10272 (__generic_findstack): Check for initial_sp == NULL. Add casts to
10274 (__splitstack_block_signals): New function.
10275 (enum __splitstack_content_offsets): Define.
10276 (__splitstack_getcontext, __splitstack_setcontext): New functions.
10277 (__splitstack_makecontext): New function.
10278 (__splitstack_block_signals_context): New function.
10279 (__splitstack_find_context): New function.
10280 * config/i386/morestack.S (__morestack_get_guard): New function.
10281 (__morestack_set_guard, __morestack_make_guard): New functions.
10282 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10284 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10286 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
10287 (i[34567]86-*-mingw*): ... here.
10288 (x86_64-*-mingw*): ... here.
10290 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10292 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
10294 2011-11-07 Nathan Sidwell <nathan@acm.org>
10296 * libgcov.c (struct gcov_fn_buffer): New struct.
10297 (buffer_fn_data): New helper.
10298 (gcov_exit): Rework for new gcov data structures.
10300 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
10303 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
10305 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10307 * config.host (tmake_file): Correct comment.
10308 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
10310 (bfin*-uclinux*): Likewise.
10311 (bfin*-linux-uclibc*): Likewise.
10312 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
10314 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
10316 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10317 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
10318 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10319 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
10320 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10321 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
10322 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
10323 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10324 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
10325 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
10326 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
10327 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
10328 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
10330 * config/bfin/t-elf: Remove.
10331 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
10333 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10335 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
10336 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
10337 (lm32-*-elf*, lm32-*-rtems*): Split into ...
10338 (lm32-*-elf*): ... this.
10339 (lm32-*-rtems*): ... and this.
10341 (m32r-*-rtems*): Add to tmake_file.
10342 (moxie-*-rtems*): Likewise.
10343 (sparc-*-rtems*): Likewise.
10344 Remove t-rtems from tmake_file.
10345 (sparc64-*-rtems*): Likewise.
10346 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
10349 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10352 * config/gthr-posix.h: Move ...
10353 * gthr-posix.h: ... here.
10354 * config/gthr-lynx.h: Reflect this.
10355 * config/gthr-vxworks.h: Likewise.
10356 * config/rs6000/gthr-aix.h: Likewise.
10357 * configure.ac (target_thread_file): Likewise.
10358 * configure: Regenerate.
10360 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
10362 * config.host (arm*-*-rtemseabi*): New target.
10364 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10367 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
10370 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
10372 * config.host (epiphany-*-elf*): New configuration.
10373 * config/epiphany: New Directory.
10375 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
10377 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
10378 * config/avr/t-rtems: New.
10379 Filter out _exit from LIB1ASMFUNCS.
10381 2011-11-04 David S. Miller <davem@davemloft.net>
10383 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
10384 * configure: Rebuild.
10386 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10388 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
10391 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
10394 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
10395 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
10397 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
10400 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
10402 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10404 * config/c6x/t-elf (LIB2ADDEH): Set.
10405 * config/c6x/t-c6x-elf: Remove.
10407 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10409 * config/i386/sol2-ci.S: Rename to ...
10410 * config/i386/crti.S: ... this.
10411 * config/i386/sol2-cn.S: Rename to ...
10412 * config/i386/crtn.S: ... this.
10413 * config/sparc/sol2-ci.S: Rename to ...
10414 * config/sparc/crti.S: ... this.
10415 * config/sparc/sol2-cn.S: Rename to ...
10416 * config/sparc/crtn.S: ... this.
10417 * config/t-sol2 (CUSTOM_CRTIN): Remove.
10418 (crti.o, crtn.o): Remove.
10420 2011-11-04 Tristan Gingold <gingold@adacore.com>
10422 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
10424 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
10426 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
10428 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
10430 * config.host (crisv32-*-none, cris-*-none): Remove.
10431 (crisv32-*-elf): Append to tmake_file, don't just set it.
10432 (cris-*-elf): Add missing t-fdpbit to tmake_file.
10434 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10436 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
10437 (ecrtn$(objext)): Likewise.
10438 (ncrti$(objext)): Likewise.
10439 (ncrtn$(objext)): Likewise.
10441 2011-11-03 Andreas Schwab <schwab@redhat.com>
10443 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
10445 2011-11-02 David S. Miller <davem@davemloft.net>
10447 * configure.ac: Set host_address on sparc too.
10448 * configure: Regenerate.
10449 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
10450 based upon host_address.
10451 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
10453 2011-11-02 Jason Merrill <jason@redhat.com>
10455 * config/rs6000/t-ppccomm: Add missing \.
10457 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10459 * gthr-single.h, gthr.h: New files.
10460 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
10461 config/gthr-vxworks.h, config/i386/gthr-win32.h,
10462 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
10463 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
10464 * config/i386/gthr-win32.c: Include "gthr-win32.h".
10465 * configure.ac (thread_header): New variable.
10466 Set it depending on target_thread_file.
10467 (gthr-default.h): Link from $thread_header.
10468 * configure: Regenerate.
10469 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
10471 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10473 * configure.ac (tm_file_): New variable.
10474 Determine from tm_file.
10475 (tm_file, tm_defines): Substitute.
10476 * configure: Regenerate.
10477 * mkheader.sh: New file.
10478 * Makefile.in (clean): Remove libgcc_tm.h.
10479 ($(objects)): Depend on libgcc_tm.h.
10480 (libgcc_tm_defines, libgcc_tm_file): New variables.
10481 (libgcc_tm.h, libgcc_tm.stamp): New targets.
10482 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
10483 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
10484 ($(extra-parts)): Depend on libgcc_tm.h.
10485 * config.host (tm_defines, tm_file): New variable.
10486 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
10487 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
10488 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
10489 (avr-*-rtems*): Likewise.
10490 (avr-*-*): Likewise.
10491 (frv-*-elf): Likewise.
10492 (frv-*-*linux*): Likewise.
10493 (h8300-*-rtems*): Likewise.
10494 (h8300-*-elf*): Likewise.
10495 (i[34567]86-*-darwin*): Likewise.
10496 (x86_64-*-darwin*): Likewise.
10497 (rx-*-elf): Likewise.
10498 (tic6x-*-uclinux): Likewise.
10499 (tic6x-*-elf): Likewise.
10500 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
10501 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
10502 * config/i386/cygming-crtbegin.c: Likewise.
10503 * config/i386/cygming-crtend.c: Likewise.
10504 * config/ia64/fde-vms.c: Likewise.
10505 * config/ia64/unwind-ia64.c: Likewise.
10506 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10507 * config/rs6000/darwin-fallback.c: Likewise.
10508 * config/stormy16/lib2funcs.c: Likewise.
10509 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
10510 * crtstuff.c: Likewise.
10511 * dfp-bit.h: Likewise.
10512 * emutls.c: Likewise.
10513 * fixed-bit.c: Likewise.
10514 * fp-bit.c: Likewise.
10515 * generic-morestack-thread.c: Likewise.
10516 * generic-morestack.c: Likewise.
10517 * libgcc2.c: Likewise.
10518 * libgcov.c: Likewise.
10519 * unwind-dw2-fde-dip.c: Likewise.
10520 * unwind-dw2-fde.c: Likewise.
10521 * unwind-dw2.c: Likewise.
10522 * unwind-sjlj.c: Likewise.
10524 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10526 * configure.ac: Include ../config/picflag.m4.
10527 (GCC_PICFLAG): Call it.
10529 * configure: Regenerate.
10530 * Makefile.in (gcc_srcdir): Remove.
10531 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
10532 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
10533 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
10534 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
10535 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
10538 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
10539 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
10540 to refer to libgcc2.c.
10542 * config/darwin-64.c: New file.
10543 * config/darwin-crt3.c: Remove comment.
10544 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
10545 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
10546 config/udivmodsi4.c: New files.
10547 * config/memcmp.c, config/memcpy.c, config/memmove.c,
10548 config/memset.c: New files.
10549 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
10550 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
10551 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
10552 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
10553 * config/t-openbsd-thread: New file.
10554 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
10555 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
10556 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
10557 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
10560 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
10561 to refer to gthr-posix.c.
10562 * config/alpha/t-vms (LIB2ADD): Set.
10563 * config/alpha/vms-gcc_shell_handler.c: New file.
10564 * config/arm/bpabi.c, config/arm/fp16.c,
10565 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
10566 config/arm/unaligned-funcs.c: New files.
10567 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
10568 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10569 * config/arm/t-linux: Likewise.
10570 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
10571 * config/arm/t-netbsd: New file.
10572 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
10573 * config/arm/t-symbian (LIB2ADD_ST): Set.
10574 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
10575 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10576 * config/bfin/t-elf: New file.
10577 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
10578 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
10579 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
10580 config/c6x/ltf.c: New files.
10581 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
10582 (HOST_LIBGCC2_CFLAGS): Set.
10583 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
10584 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10585 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
10587 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
10588 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
10589 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
10590 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
10591 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
10593 * config/frv/t-frv (LIB2ADD): Set.
10594 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10595 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
10596 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
10597 config/h8300/popcounthi2.c: New files.
10598 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10599 * config/i386/gthr-win32.c: New file.
10600 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
10601 * config/i386/t-cygwin: Likewise.
10602 * config/i386/t-darwin, config/i386/t-darwin64,
10603 config/i386/t-gthr-win32, config/i386/t-interix: New files.
10604 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
10605 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10606 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10607 * config/ia64/quadlib.c: New file.
10608 * config/ia64/t-hpux (LIB2ADD): Set.
10609 * config/ia64/t-ia64: Add comment.
10610 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
10611 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10612 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
10613 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
10614 * config/m32c/t-m32c (LIB2ADD): Set.
10615 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10616 * config/m32r/t-m32r: Likewise.
10617 * config/m68k/fpgnulib.c: New file.
10618 * config/m68k/t-floatlib (LIB2ADD): Set.
10619 (xfgnulib.c): New target.
10620 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
10621 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
10622 * config/mep/t-mep (LIB2ADD): Set.
10623 * config/microblaze/divsi3.asm: Rename to divsi3.S.
10624 * config/microblaze/moddi3.asm: Rename to moddi3.S.
10625 * config/microblaze/modsi3.asm: Rename to modsi3.S.
10626 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
10627 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
10628 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
10629 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
10630 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
10631 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
10632 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
10634 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
10635 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
10636 * config/pa/fptr.c, config/pa/lib2funcs.S,
10637 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
10638 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10639 (LIB2ADD, LIB2ADD_ST): Set.
10640 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
10641 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
10643 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
10644 * config/pdp11/t-pdp11: New file.
10645 * config/picochip/libgccExtras/adddi3.S,
10646 config/picochip/libgccExtras/ashlsi3.S,
10647 config/picochip/libgccExtras/ashrsi3.S,
10648 config/picochip/libgccExtras/clzsi2.S,
10649 config/picochip/libgccExtras/cmpsi2.S,
10650 config/picochip/libgccExtras/divmod15.S,
10651 config/picochip/libgccExtras/divmodhi4.S,
10652 config/picochip/libgccExtras/divmodsi4.S,
10653 config/picochip/libgccExtras/lshrsi3.S,
10654 config/picochip/libgccExtras/parityhi2.S,
10655 config/picochip/libgccExtras/popcounthi2.S,
10656 config/picochip/libgccExtras/subdi3.S,
10657 config/picochip/libgccExtras/ucmpsi2.S,
10658 config/picochip/libgccExtras/udivmodhi4.S,
10659 config/picochip/libgccExtras/udivmodsi4.S: New files.
10660 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
10661 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
10662 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
10663 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
10664 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
10665 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
10666 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
10667 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
10669 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
10670 (HOST_LIBGCC2_CFLAGS): Set.
10671 * config/rs6000/t-darwin64: New file.
10672 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
10673 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
10674 * config/rs6000/t-ppccomm (LIB2ADD): Add
10675 $(srcdir)/config/rs6000/tramp.S.
10676 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
10677 Add $(srcdir)/config/rs6000/eabi.S.
10678 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
10679 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
10680 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
10681 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
10682 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
10683 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
10684 * config/rs6000/tramp.S: New file.
10685 * config/s390/t-tpf: Remove.
10686 * config/sh/linux-atomic.S: New file.
10687 * config/sh/t-linux (LIB2ADD): Set.
10688 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
10689 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10690 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
10692 (HOST_LIBGCC2_CFLAGS): Set.
10693 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10694 * config/spu/divmodti4.c, config/spu/divv2df3.c,
10695 config/spu/float_disf.c, config/spu/float_unsdidf.c,
10696 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
10697 config/spu/mfc_multi_tag_release.c,
10698 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
10699 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
10700 config/spu/multi3.c: New files.
10701 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
10702 (HOST_LIBGCC2_CFLAGS): Set.
10703 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
10704 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
10705 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
10706 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
10707 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
10708 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
10709 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
10710 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
10711 config/stormy16/umodsi3.c: New files.
10712 * config/xtensa/lib2funcs.S: New file.
10713 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10714 * config/xtensa/t-xtensa (LIB2ADD): Set.
10715 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
10716 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
10717 Add t-freebsd-thread to tmake_file for posix threads.
10718 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
10719 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
10720 (*-*-lynxos*): Likewise.
10721 (*-*-netbsd*): Likewise.
10722 (*-*-openbsd*): Likewise.
10723 Add t-openbsd-thread to tmake_file for posix threads.
10724 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
10725 (*-*-vxworks*): Set tmake_file.
10726 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10727 (alpha*-*-freebsd*): Likewise.
10728 (alpha*-*-netbsd*): Likewise.
10729 (alpha*-*-openbsd*): Likewise.
10730 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
10731 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10732 (alpha*-dec-*vms*): Likewise.
10733 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
10734 (bfin*-elf*): Add bfin/t-elf to tmake_file.
10735 (bfin*-uclinux*): Likewise.
10736 (bfin*-linux-uclibc*): Likewise.
10737 (crisv32-*-elf): Add cris/t-cris to tmake_file.
10738 (crisv32-*-none): Likewise.
10739 (cris-*-elf): Likewise.
10740 (cris-*-none): Likewise.
10741 (cris-*-linux*, crisv32-*-linux*): Likewise.
10742 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
10744 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
10746 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
10747 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
10748 (x86_64-*-elf*): Likewise.
10749 (i[34567]86-*-nto-qnx*): Likewise.
10750 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
10752 (x86_64-*-mingw*): Likewise.
10753 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
10754 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
10755 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10756 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10757 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
10759 (mipsisa64sr71k-*-elf*): Likewise.
10760 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10761 (mips-*-elf*, mipsel-*-elf*): Likewise.
10762 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10763 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10764 (mips*-*-rtems*): Likewise.
10765 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
10767 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
10768 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
10769 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
10770 (spu-*-elf*): Likewise.
10771 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
10773 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10775 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
10776 $(srcdir) to refer to $(LIB1ASMSRC).
10778 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
10779 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
10780 config/arm/lib1funcs.S: New files.
10781 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
10782 * config/arm/t-arm: New file.
10783 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
10784 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
10785 config/arm/t-strongarm-elf: New files.
10786 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
10787 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
10788 * config/avr/lib1funcs.S: New file.
10789 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10790 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
10791 * config/c6x/lib1funcs.S: New file.
10792 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10793 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
10794 * config/frv/lib1funcs.S: New file.
10795 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10796 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
10797 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
10798 * config/ia64/__divxf3.asm: Rename to ...
10799 * config/ia64/__divxf3.S: ... this.
10800 Adapt lib1funcs.asm filename.
10801 * config/ia64/_fixtfdi.asm: Rename to ...
10802 * config/ia64/_fixtfdi.S: ... this.
10803 Adapt lib1funcs.asm filename.
10804 * config/ia64/_fixunstfdi.asm: Rename to ...
10805 * config/ia64/_fixunstfdi.S: ... this.
10806 Adapt lib1funcs.asm filename.
10807 * config/ia64/_floatditf.asm: Rename to ...
10808 * config/ia64/_floatditf.S: ... this.
10809 Adapt lib1funcs.asm filename.
10810 * config/ia64/lib1funcs.S: New file.
10811 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
10812 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10813 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
10814 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
10815 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
10816 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
10817 * config/mep/lib1funcs.S: New file.
10818 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10819 * config/mips/mips16.S: New file.
10820 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10821 * config/pa/milli64.S: New file.
10822 * config/pa/t-linux, config/pa/t-linux64: New files.
10823 * config/picochip/lib1funcs.S: New file.
10824 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10825 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
10826 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
10827 * config/sh/t-netbsd: New file.
10828 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
10829 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
10830 * config/sh/t-sh64: New file.
10831 * config/sparc/lb1spc.S: New file.
10832 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
10834 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
10835 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
10836 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
10837 config/xtensa/lib1funcs.S: New files.
10838 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10839 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
10841 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
10842 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
10843 (arm*-*-linux*): Likewise.
10844 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
10845 arm*-*-linux-*eabi, add arm/t-linux otherwise.
10846 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
10847 (arm*-*-ecos-elf): Likewise.
10848 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10849 (arm*-*-rtems*): Likewise.
10850 (arm*-*-elf): Likewise.
10851 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
10852 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
10853 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
10854 (bfin*-uclinux*): Likewise.
10855 (bfin*-linux-uclibc*): Likewise.
10856 (bfin*-rtems*): Likewise.
10857 (bfin*-*): Likewise.
10858 (fido-*-elf): Merge into m68k-*-elf*.
10859 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
10860 (frv-*-*linux*): Add frv/t-frv to tmake_file.
10861 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
10862 (h8300-*-elf*): Likewise.
10863 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
10864 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
10865 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
10866 (i[34567]86-*-mingw*): Likewise.
10867 (x86_64-*-mingw*): Likewise.
10868 (i[34567]86-*-interix3*): Likewise.
10869 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
10870 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
10871 (m68k-*-elf*): Also handle fido-*-elf.
10872 Add m68k/t-floatlib to tmake_file.
10873 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
10874 (m68k-*-linux*): Likewise.
10875 (m68k-*-rtems*): Likewise.
10876 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
10877 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
10879 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
10880 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
10881 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
10882 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
10883 sh/t-netbsd to tmake_file.
10884 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
10885 (sh-*-rtems*): Add sh/t-sh to tmake_file.
10886 (sh-wrs-vxworks): Likewise.
10887 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
10889 (v850*-*-*): Add v850/t-v850 to tmake_file.
10890 (vax-*-linux*): Add vax/t-linux to tmake_file.
10891 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
10893 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10895 * crtstuff.c: New file.
10896 * Makefile.in (CRTSTUFF_CFLAGS): Define.
10897 (CRTSTUFF_T_CFLAGS): Define.
10898 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
10899 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
10900 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
10903 (crtbeginT.o): Use $(objext).
10904 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
10905 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
10906 (gcc-extra-parts): Remove.
10907 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
10909 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10910 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
10911 Add t-crtstuff-pic to tmake_file.
10912 (*-*-lynxos*): New case.
10913 Set tmake_file, extra_parts.
10914 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
10915 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
10916 *-*-netbsdelf[2-9]*.
10917 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
10918 (*-*-rtems*): Set extra_parts.
10919 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
10920 (*-*-uclinux*): New case.
10922 (*-*-vms*): New case.
10923 Set tmake_file, extra_parts.
10924 (*-*-elf): Set extra_parts.
10925 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
10926 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
10929 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
10931 (arm*-*-freebsd*): Add t-crtin to tmake_file.
10932 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
10933 (arm-wrs-vxworks): Append to tmake_file.
10935 (arm*-*-uclinux*): Set extra_parts.
10936 (arm*-*-ecos-elf): Likewise.
10937 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
10939 (arm*-*-rtems*): Set extra_parts.
10940 (arm*-*-elf): Likewise.
10941 (avr-*-rtems*): Clear extra_parts.
10942 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
10944 (bfin*-uclinux*): Likewise.
10945 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
10946 (bfin*-rtems*): Append to tmake_file.
10948 (bfin*-*): Likewise.
10949 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
10950 (crisv32-*-elf): ... this.
10951 (crisv32-*-none): ... this.
10952 (cris-*-elf, cris-*-none): New cases.
10953 Add cris/t-elfmulti to tmake_file.
10954 (fr30-*-elf): Append to tmake_file.
10956 (frv-*-elf): Append to tmake_file, add frv/t-frv.
10958 (h8300-*-rtems*): Append to tmake_file.
10960 (h8300-*-elf*): Likewise.
10961 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
10963 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
10965 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
10966 (x86_64-*-elf*): Likewise.
10967 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
10968 (x86_64-*-freebsd*): Likewise.
10969 (x86_64-*-netbsd*): Likewise.
10970 (i[34567]86-*-linux*): Likewise.
10971 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10972 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10973 (x86_64-*-linux*): Likewise.
10974 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10975 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
10978 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
10979 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
10980 Append to extra_parts, remove crtbegin.o, crtend.o.
10981 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
10982 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
10983 crtend.o, crtbeginS.o, crtendS.o.
10984 (ia64*-*-linux*): Comment extra_parts.
10985 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
10987 (iq2000*-*-elf*): Clear extra_parts.
10988 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
10989 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
10990 (m32r-*-elf*, m32r-*-rtems*): Split off ...
10991 (m32r-*-rtems*): ... this.
10992 Add m32r/t-m32r to tmake_file.
10993 (m68k-*-elf*): Add t-crtin to tmake_file.
10994 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
10995 (mcore-*-elf): Likewise.
10996 (microblaze*-*-*): Set extra_parts.
10997 (mips*-sde-elf*): New case.
10998 Set tmake_file, extra_parts.
10999 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
11000 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
11001 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
11004 (mipsisa64sr71k-*-elf*): Likewise.
11005 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
11006 (mips-*-elf*, mipsel-*-elf*): Likewise.
11007 (mips64-*-elf*, mips64el-*-elf*): Likewise.
11008 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
11009 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
11010 (mips*-*-rtems*): Likewise.
11011 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
11012 (moxie-*-*): Split into ...
11013 (moxie-*-elf, moxie-*-uclinux*): ... this.
11014 Add to extra_parts, remove crtbegin.o, crtend.o.
11015 (moxie-*-rtems*): New case.
11018 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
11020 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
11021 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
11024 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
11025 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
11027 (powerpc-*-eabisim*): Likewise.
11028 (powerpc-*-elf*): Likewise.
11029 (powerpc-*-eabialtivec*): Likewise.
11030 (powerpc-xilinx-eabi*): Likewise.
11031 (powerpc-*-eabi*): Likewise.
11032 (powerpc-*-rtems*): Likewise.
11033 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
11036 (powerpc-*-lynxos*): Add to tmake_file.
11037 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
11038 rs6000/t-crtstuff, t-crtstuff-pic.
11040 (powerpcle-*-eabisim*): Likewise.
11041 (powerpcle-*-eabi*): Likewise.
11042 (rx-*-elf): Remove extra_parts.
11043 (s390x-ibm-tpf*): Set extra_parts.
11044 (score-*-elf): Set extra_parts.
11045 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11046 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11047 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11048 (sh64l*-*-netbsd*): Split into ...
11049 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
11050 Add t-crtstuff-pic to tmake_file.
11052 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
11054 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
11055 (sparc-*-elf*): Remove t-crtin from tmake_file.
11056 Add to extra_parts, remove crtbegin.o, crtend.o.
11057 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
11058 (sparc64-*-linux*): Likewise.
11059 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
11060 Add to extra_parts, remove crtbegin.o, crtend.o.
11061 (sparc64-*-elf*): Remove t-crtin from tmake_file.
11062 Add to extra_parts, remove crtbegin.o, crtend.o.
11063 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
11064 Add to extra_parts, remove crtbegin.o, crtend.o.
11065 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
11066 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
11067 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
11069 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
11071 (tic6x-*-*): Change to ...
11072 (tic6x-*-elf): ... this.
11074 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
11076 (am33_2.0-*-linux*): Add comment.
11077 (mep*-*-*): Add mep/t-mep to tmake_file.
11079 * config/alpha/t-vms: New file.
11080 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
11081 * config/arm/crti.S, config/arm/crtn.S: New files.
11082 * config/bfin/crti.S, config/bfin/crtn.S: New files.
11083 * config/bfin/crtlibid.S: New file.
11084 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
11085 * config/c6x/crti.S, config/c6x/crtn.S: New files.
11086 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
11087 (crti.o, crtin.o): New rules.
11088 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11089 * config/c6x/t-uclinux: New file.
11090 * config/cris/t-elfmulti: New file.
11091 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
11092 * config/fr30/crti.S, config/fr30/crtn.S: New files.
11093 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
11094 * config/frv/t-frv: New file.
11095 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
11096 * config/h8300/crti.S, config/h8300/crtn.S: New files.
11097 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
11099 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
11100 refer to cygming-crtbegin.c, cygming-crtend.c.
11102 * config/i386/t-nto: New file.
11103 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
11104 * config/ia64/crti.S, config/ia64/crtn.S: New files.
11105 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
11106 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
11109 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11110 (crtinitS.o): New rule.
11111 * config/ia64/vms-crtinit.S: New file.
11112 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
11113 * config/m32r/initfini.c: New file.
11114 * config/m32r/t-linux, config/m32r/t-m32r: New files.
11115 * config/m68k/crti.S, config/m68k/crtn.S: New files.
11116 * config/mcore/crti.S, config/mcore/crtn.S: New files.
11117 * config/mep/t-mep: New file.
11118 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
11119 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
11120 * config/mips/crti.S, config/mips/crtn.S: New files.
11121 * config/mips/t-crtstuff: New file.
11122 * config/mmix/crti.S, config/mmix/crtn.S: New files.
11123 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
11124 (CUSTOM_CRTIN): Set.
11125 ($(T)crti.o, $(T)crtn.o): Remove $(T),
11127 Use $(srcdir) to refer to crti.S, crtn.S.
11128 Use .S extension, $<.
11129 * config/moxie/crti.asm: Rename to ...
11130 * config/moxie/crti.S: ... this.
11131 * config/moxie/crtn.asm: Rename to ...
11132 * config/moxie/crtn.S: ... this.
11133 * config/moxie/t-moxie: Remove.
11134 * config/pa/stublib.c: New file.
11135 * config/pa/t-stublib, config/pa/t-stublib64: New files.
11136 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
11137 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
11138 * config/rs6000/t-crtstuff: New file.
11139 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
11140 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
11141 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
11142 Make output file explicit.
11143 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
11144 Make output file explicit.
11145 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
11146 Make output file explicit.
11147 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
11148 Make output file explicit.
11149 * config/score/crti.S, config/score/crtn.S: New files.
11150 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
11151 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
11153 * config/sh/t-sh, config/sh/t-superh: New files.
11154 * config/sparc/t-linux64: New file.
11155 * config/spu/cache.S, config/spu/cachemgr.c: New files.
11156 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
11157 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
11158 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
11159 * config/t-crtin: Remove.
11160 * config/t-crtstuff-pic: New file.
11161 * config/t-sol2 (CUSTOM_CRTIN): Set.
11162 (crti.o, crtn.o): New rules.
11163 * config/vms/t-vms: New file.
11164 * config/vms/vms-ucrt0.c: New file.
11165 * config/xtensa/t-elf: New file.
11167 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11169 * Makefile.in (SHLIB_NM_FLAGS): Set.
11170 * mkmap-flat.awk, mkmap-symver.awk: New files.
11171 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
11173 * configure: Regenerate.
11174 * config/libgcc-glibc.ver: New file.
11175 * config/libgcc-libsystem.ver: New file.
11176 * config/t-libunwind (SHLIB_LC): Set.
11177 * config/t-linux: New file.
11178 * config/t-slibgcc (INSTALL_SHLIB): New.
11179 (SHLIB_INSTALL): Use it.
11180 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
11181 to mkmap-symver.awk.
11182 (SHLIB_MAPFILES): Don't append, adapt pathname.
11183 (SHLIB_VERPFX): Set.
11184 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
11185 to mkmap-symver.awk.
11186 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
11187 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
11188 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
11189 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
11191 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
11192 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
11193 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
11194 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
11195 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
11196 * config/i386/libgcc-darwin.10.4.ver,
11197 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
11199 * config/i386/t-darwin: Remove.
11200 * config/i386/t-darwin64: Likewise.
11201 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
11202 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
11203 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
11204 * config/i386/t-linux: New file.
11205 * config/i386/t-mingw32: New file.
11206 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
11207 * config/ia64/t-glibc: Rename to ...
11208 * config/ia64/t-linux: ... this.
11209 (SHLIB_MAPFILES): Set.
11210 * config/ia64/t-glibc-libunwind: Rename to ...
11211 * config/ia64/t-linux-libunwind: ... this.
11212 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
11213 * config/ia64/t-slibgcc-hpux: New file.
11214 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
11215 * config/m68k/t-slibgcc-elf-ver: New file.
11216 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
11217 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
11219 * config/pa/t-slibgcc-hpux: New file.
11220 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
11222 * config/rs6000/libgcc-darwin.10.4.ver,
11223 config/rs6000/libgcc-darwin.10.5.ver: New files.
11224 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
11225 config/rs6000/libgcc-glibc.ver.
11226 * config/rs6000/libgcc-ppc64.ver: Rename to
11227 config/rs6000/libgcc-ibm-ldouble.ver.
11228 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
11229 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
11230 * config/rs6000/t-ldbl128: Rename to ...
11231 * config/rs6000/t-linux: ... this.
11232 (SHLIB_MAPFILES): Adapt filename.
11233 * config/rs6000/t-slibgcc-aix: New file.
11234 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
11235 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
11236 libgcc-excl.ver, libgcc-glibc.ver.
11237 (SHLIB_LINK, SHLIB_INSTALL): Remove.
11238 * config/sparc/libgcc-glibc.ver: New file.
11239 * config/sparc/t-linux: New file.
11240 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
11241 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
11242 t-slibgcc-elf-ver to tmake_file.
11243 Add t-slibgcc-nolc-override to tmake_file for posix threads on
11245 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11246 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
11247 t-slibgcc-elf-ver, t-linux to tmake_file.
11248 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
11250 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
11251 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
11252 (alpha*-dec-*vms*): Likewise.
11253 (arm*-*-freebsd*): Append to tmake_file.
11254 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
11255 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
11256 arm*-*-linux-*eabi.
11257 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
11258 tmake_file for arm*-*-symbianelf*.
11259 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
11260 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
11262 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
11263 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
11264 pa/t-slibgcc-dwarf-ver to tmake_file.
11265 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
11266 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
11267 (hppa*64*-*-hpux11*): Likewise.
11268 (hppa[12]*-*-hpux11*): Likewise.
11269 (x86_64-*-darwin*): Don't override tmake_file, but only keep
11270 i386/t-crtpc, i386/t-crtfm.
11271 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
11272 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11274 Add i386/t-cygwin to tmake_file.
11275 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
11276 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
11277 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11279 Add i386/t-mingw32 to tmake_file.
11280 (x86_64-*-mingw*): Likewise.
11281 (ia64*-*-freebsd*): Append to tmake_file.
11282 (ia64*-*-linux*): Append to tmake_file.
11283 Replace ia64/t-glibc by ia64/t-linux.
11284 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
11286 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
11287 t-slibgcc-hpux to tmake_file.
11288 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
11289 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
11290 (m32rle-*-linux*): Likewise.
11291 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
11293 (microblaze*-linux*): New case.
11294 Append to tmake_file, add t-slibgcc-nolc-override.
11295 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
11296 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11297 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
11298 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11299 rs6000/t-slibgcc-aix to tmake_file.
11300 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11301 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11302 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11303 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11304 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11305 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
11307 (sparc-*-linux*): Append to tmake_file for *-leon*.
11308 Add sparc/t-linux to tmake_file for non-Leon targets.
11309 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
11310 (tic6x-*-uclinux): New case.
11311 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
11312 (tic6x-*-*): Add c6x/t-elf to tmake_file.
11313 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
11314 (am33_2.0-*-linux*): Append to tmake_file.
11315 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
11316 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
11317 x86_64-*-kfreebsd*-gnu.
11318 Add i386/t-linux to tmake_file.
11320 2011-10-28 Ian Lance Taylor <iant@google.com>
11322 * config/i386/morestack.S: Correct CFI information to do proper
11323 returns throughout function. In 32-bit mode, save %ebx so that it
11324 is restored on unwind.
11326 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
11328 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
11329 case where B3 isn't the return register.
11331 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
11332 logic for doubleword pops.
11334 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
11336 * config/rs6000/t-freebsd: Add wildcard.
11338 2011-10-21 Paul Brook <paul@codesourcery.com>
11340 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
11342 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
11343 Eric Botcazou <ebotcazou@adacore.com>
11346 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
11347 fs->signal_frame to 1.
11349 2011-10-07 Ian Lance Taylor <iant@google.com>
11351 * generic-morestack-thread.c: #include <errno.h>.
11353 2011-10-07 Ian Lance Taylor <iant@google.com>
11356 * generic-morestack.c (__generic_morestack): Make sure the segment
11357 is large enough for both the stack frame and the copied
11360 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11363 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
11366 2011-09-28 Nick Clifton <nickc@redhat.com>
11368 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
11369 64-bit doubles are not enabled.
11370 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
11371 and floatunsisf functions.
11373 2011-09-13 Paul Brook <paul@codesourcery.com>
11375 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
11376 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
11377 * unwind-arm-common.inc: New file.
11378 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
11379 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
11380 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
11381 * config/c6x/libunwind.S: New file.
11382 * config/c6x/pr-support.c: New file.
11383 * config/c6x/unwind-c6x.c: New file.
11384 * config/c6x/unwind-c6x.h: New file.
11385 * config/c6x/t-c6x-elf: New file.
11387 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
11389 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
11390 (ASM_DIVZERO): Ditto.
11391 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
11393 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
11395 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
11397 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
11400 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
11401 instead of an assembly one.
11403 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
11406 * Makefile.in (install-unwind_h): Create
11407 $(gcc_objdir)/include/unwind.h atomically.
11409 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11411 * Makefile.in (install-unwind_h): Remove destination file first.
11413 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11415 * sync.c: New file.
11416 * config/mips/t-mips16: New file.
11417 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
11418 (mips*-*-linux*): Likewise.
11419 (mips*-sde-elf*): Likewise.
11420 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
11421 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
11422 Add mips/t-mips16 to tmake_file.
11423 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
11424 (mips-*-elf*): Likewise.
11425 (mips64-*-elf*): Likewise.
11426 (mips64orion-*-elf*): Likewise.
11427 (mips*-*-rtems*): Likewise.
11428 (mipstx39-*-elf*): Likewise.
11429 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
11430 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
11431 LIBGCC_SYNC_CFLAGS.
11432 Use $(srcdir) to refer to sync.c.
11434 ($(libgcc-sync-funcs-o)): Likewise.
11435 ($(libgcc-sync-size-funcs-s-o)): Likewise.
11436 ($(libgcc-sync-funcs-s-o)): Likewise.
11438 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
11440 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
11443 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
11446 * config/i386/value-unwind.h: New.
11448 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
11450 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
11451 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
11452 Add to tmake_file rather than overriding it.
11454 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11456 * config/t-softfp: Remove.
11457 * soft-fp: Moved from ../gcc/config.
11458 * soft-fp/README: Remove t-softfp reference.
11459 * soft-fp/t-softfp: Move to config/t-softfp.
11460 (softfp_machine_header): Remove.
11461 (softfp_file_list): Remove config subdir.
11462 (soft-fp-objects): New variable.
11463 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
11464 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
11465 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
11466 * config/t-softfp-excl: New file.
11467 * config/t-softfp-sfdf: New file.
11468 * config/t-softfp-tf: New file.
11469 * config/no-sfp-machine.h: New file.
11470 * config/arm/sfp-machine.h: New file.
11471 * config/arm/t-softfp: New file.
11472 * config/c6x/sfp-machine.h: New file.
11473 * config/i386/32/t-fprules-softfp: Rename to ...
11474 * config/i386/32/t-softfp: ... this.
11475 (tifunctions, LIB2ADD): Remove.
11476 (softfp_int_modes): Override.
11477 * config/i386/64/t-softfp-compat (tf-functions): Remove config
11479 * config/i386/64/eqtf2.c: Likewise.
11480 * config/i386/64/getf2.c: Likewise.
11481 * config/i386/64/letf2.c: Likewise.
11482 * config/ia64/sft-machine.h: New file.
11483 * config/ia64/t-fprules-softfp: Rename to ...
11484 * config/ia64/t-softfp: ... this.
11485 * config/lm32/sfp-machine.h: New file.
11486 * config/moxie/t-moxie-softfp: Remove.
11487 * config/rs6000/ibm-ldouble-format: New file.
11488 * config/rs6000/ibm-ldouble.c: New file.
11489 * config/rs6000/libgcc-ppc-glibc.ver: New file
11490 * config/rs6000/libgcc-ppc64.ver: New file
11491 * config/rs6000/sfp-machine.h: New file.
11492 * config/rs6000/t-freebsd: New file.
11493 * config/rs6000/t-ibm-ldouble: New file.
11494 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
11495 libgcc-ppc-glibc.ver.
11496 * config/rs6000/t-linux64: New file.
11497 * config/rs6000/t-ppccomm (LIB2ADD): Add
11498 $(srcdir)/config/rs6000/ibm-ldouble.c.
11499 * config/rs6000/t-ppccomm-ldbl: New file.
11500 * config/score/sfp-machine.h: New file.
11501 * config.host (sfp_machine_header): Explain.
11502 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
11503 t-softfp to tmake_file.
11504 (arm*-*-uclinux*): Likewise.
11505 (arm*-*-ecos-elf): Likewise.
11506 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11507 (arm*-*-rtems*): Likewise.
11508 (arm*-*-elf): Likewise.
11509 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
11511 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
11512 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
11513 (lm32-*-uclinux*): Likewise.
11514 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
11515 t-softfp-excl, t-softfp.
11516 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
11517 (powerpc64-*-darwin*): Likewise.
11518 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
11520 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
11522 (powerpc-*-eabisim*): Likewise.
11523 (powerpc-*-elf*): Likewise.
11524 (powerpc-*-eabialtivec*): Likewise.
11525 (powerpc-xilinx-eabi*): Likewise.
11526 (powerpc-*-rtems*): Likewise.
11527 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
11528 t-softfp-excl, t-softfp to tmake_file.
11529 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
11530 rs6000/t-ppccomm-ldbl to tmake_file.
11531 (powerpcle-*-elf*): Likewise.
11532 (powerpcle-*-eabisim*): Likewise.
11533 (powerpcle-*-eabi*): Likewise.
11534 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11535 rs6000/t-ibm-ldouble to tmake_file.
11536 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11537 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11538 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
11539 (tic6x-*-*): Likewise.
11540 (i[34567]86-*-darwin*, x86_64-*-darwin*,
11541 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
11542 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
11543 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
11544 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
11545 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
11546 t-softfp to tmake_file.
11547 * configure.ac (sfp_machine_header): Provide default if unset.
11549 Link sfp-machine.h to config/$sfp_machine_header.
11550 * configure: Regenerate.
11552 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11554 * Makefile.in (double_type_size, long_double_type_size): Set.
11555 Remove $(fpbit-in-libgcc) support.
11556 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
11557 (fpbit-src): New variable.
11558 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
11559 Compile with -DFLOAT $(FPBIT_CFLAGS).
11561 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
11562 Compile with $(FPBIT_CFLAGS).
11564 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
11565 Compile with -DFLOAT $(TPBIT_CFLAGS).
11567 * configure.ac (double_type_size, long_double_type_size):
11568 Determine and substitute.
11569 * configure: Regenerate.
11570 * fp-bit.c, fp-bit.h: New files.
11571 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
11572 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
11573 * config/mips/t-mips: New file.
11574 * config/mips/t-sdemtk: New file.
11575 * config/rs6000/ppc64-fp.c: New file.
11576 * config/rs6000/t-darwin (LIB2ADD): Add
11577 $(srcdir)/config/rs6000/ppc64-fp.c.
11578 * config/rs6000/t-ppc64-fp: New file.
11579 * config/rx/rx-lib.h: New file.
11580 * config/rx/t-rx (FPBIT): Set to true.
11581 ($(gcc_objdir)/fp-bit.c): Remove.
11582 (DPBIT): Set to true only with -m64bit-doubles.
11583 ($(gcc_objdir)/dp-bit.c): Remove.
11584 * config/sparc/t-softfp: Remove.
11585 * config/spu/t-elf: New file.
11586 * config/t-fdpbit, config/t-fpbit: New files.
11587 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
11588 (mips*-*-*): Likewise.
11589 (arm-wrs-vxworks): Likewise.
11590 (arm*-*-freebsd*): Likewise.
11591 (avr-*-rtems*): Add t-fpbit to tmake_file.
11592 (avr-*-*): Likewise.
11593 (bfin*-elf*): Add t-fdpbit to tmake_file.
11594 (bfin*-uclinux*): Likewise.
11595 (bfin*-linux-uclibc*): Likewise.
11596 (bfin*-rtems*): New case.
11597 Add t-fdpbit to tmake_file.
11598 (bfin*-*): Add t-fdpbit to tmake_file.
11599 (crisv32-*-elf): Likewise.
11600 (cris-*-linux*): Likewise.
11601 (fr30-*-elf): Likewise.
11602 (frv-*-elf, frv-*-*linux*): Likewise.
11603 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
11604 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
11605 (m32r-*-elf*): Likewise.
11606 (m32rle-*-elf*): Likewise.
11607 (m32r-*-linux*): Likewise.
11608 (m32rle-*-linux*): Likewise.
11609 (mcore-*-elf): Add t-fdpbit to tmake_file.
11610 (microblaze*-*-*): Likewise.
11611 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
11612 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
11613 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
11615 Add mips/t-tpbit to tmake-file.
11616 (mips*-*-linux*): Fix typo.
11617 (mips*-sde-elf*): New case
11618 Add mips/t-sdemtk unless using newlib.
11619 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
11620 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
11621 (mn10300-*-*): Likewise.
11622 (pdp11-*-*): Likewise.
11623 (picochip-*-*): Add t-fpbit to tmake_file.
11624 (powerpc-*-eabisimaltivec*): Likewise.
11625 (powerpc-*-eabisim*): Likewise.
11626 (powerpc-*-elf*): Likewise.
11627 (powerpc-*-eabialtivec*): Likewise.
11628 (powerpc-xilinx-eabi*): New case.
11629 Add t-fdpbit to tmake_file.
11630 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
11631 (powerpc-*-rtems*): Likewise.
11632 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
11634 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
11636 (powerpc-*-lynxos*): Likewise.
11637 (powerpcle-*-elf*): Likewise.
11638 (powerpcle-*-eabisim*): Likewise.
11639 (powerpcle-*-eabi*): Likewise.
11640 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11641 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
11642 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11643 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11644 (rx-*-elf): Add t-fdpbit to tmake_file.
11645 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11646 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11647 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11648 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
11650 (sh-*-rtems*): Add t-fdpbit to tmake_file.
11651 (sh-wrs-vxworks): Likewise.
11652 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
11653 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
11654 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
11655 (sparc64-*-rtems*): ... new case.
11656 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
11657 (spu-*-elf*): Likewise.
11658 Add spu/t-elf to tmake_file.
11659 (v850*-*-*): Add t-fdpbit to tmake_file.
11660 (xstormy16-*-elf): Likewise.
11661 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
11662 (mep*-*-*): Likewise.
11664 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11666 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
11668 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
11669 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
11670 (install-unwind_h): New target.
11671 (all): Depend on it.
11672 * config.host (unwind_header): New variable.
11673 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
11674 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11675 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
11676 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
11677 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
11679 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
11681 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
11683 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
11685 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
11686 (ia64*-*-freebsd*): Likewise.
11687 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
11689 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
11690 $with_system_libunwind.
11691 (ia64*-*-hpux*): Set tmake_file.
11692 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
11693 (picochip-*-*): Set tmake_file.
11694 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
11696 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11697 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11698 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
11699 (xtensa*-*-elf*): Set tmake_file.
11700 (xtensa*-*-linux*): Likewise.
11701 * configure.ac: Include ../config/unwind_ipinfo.m4.
11702 Call GCC_CHECK_UNWIND_GETIPINFO.
11703 Link unwind.h to $unwind_header.
11704 * configure: Regenerate.
11705 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
11706 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
11707 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
11708 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
11709 * config/unwind-dw2-fde-darwin.c: New file.
11710 * config/arm/libunwind.S, config/arm/pr-support.c,
11711 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
11712 config/arm/unwind-arm.h,: New files.
11713 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
11714 config/ia64/t-eh-ia64, config/ia64/t-glibc,
11715 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
11716 config/ia64/t-vms, config/ia64/unwind-ia64.c,
11717 config/ia64/unwind-ia64.h: New files.
11718 * config/picochip/t-picochip: New file.
11719 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
11721 * config/rs6000/t-darwin (LIB2ADDEH): Set.
11722 * config/s390/t-tpf (LIB2ADDEH): Remove.
11723 * config/t-darwin (LIB2ADDEH): Set.
11724 * config/t-eh-dw2-dip: New file.
11725 * config/t-libunwind, config/t-libunwind-elf: New files.
11726 * config/t-sol2 (LIB2ADDEH): Remove.
11727 * config/xtensa/t-xtensa: New file.
11729 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
11731 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
11732 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
11733 long long to check rt_sigreturn syscall.
11735 2011-08-02 Alan Modra <amodra@gmail.com>
11737 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11738 Restore for indirect call bcrtl from correct stack slot, and only
11739 if cfa+40 isn't valid.
11741 2011-08-01 Julian Brown <julian@codesourcery.com>
11743 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
11744 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
11745 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
11747 2011-08-01 Julian Brown <julian@codesourcery.com>
11749 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
11750 (libgcc-std.ver.in): Use above.
11751 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
11752 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
11754 * config/t-fixedpoint-gnu-prefix: New file.
11755 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
11756 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
11757 instead of __PFX__.
11759 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
11761 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
11762 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
11763 for x86-64. Properly check __x86_64__ and __LP64__.
11765 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
11767 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
11769 (_FP_WS_TYPE): Likewise.
11770 (_FP_I_TYPE): Likewise.
11772 2011-07-28 Alan Modra <amodra@gmail.com>
11774 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11775 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
11776 in a plt call stub. Do restore r2 if stopped on bctrl.
11778 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11780 * config.host (i[3456x]86-*-netware*): Remove.
11781 * config/i386/netware-crt0.c, config/i386/t-nwld,
11782 config/i386/t-slibgcc-nwld: Remove.
11784 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
11786 * config.host: Handle tic6x-*-*.
11787 * config/c6x/c6x-abi.h: New file.
11789 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11791 * config/i386/crtprec.c: New file.
11792 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
11793 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
11794 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
11795 (x86_64-*-darwin*): Likewise.
11796 (i[34567]86-*-solaris2*: Likewise.
11798 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11800 * config/alpha/crtfastmath.c: New file.
11801 * config/i386/crtfastmath.c: New file.
11802 * config/ia64/crtfastmath.c: New file.
11803 * config/mips/crtfastmath.c: New file.
11804 * config/sparc/crtfastmath.c: New file.
11806 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
11808 Add -frandom-seed=gcc-crtfastmath.
11809 * config/alpha/t-crtfm: Remove.
11810 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
11811 * config/ia64/t-ia64 (crtfastmath.o): Remove.
11813 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
11814 (alpha*-dec-osf5.1*): Likewise.
11815 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
11816 Add crtfastmath.o to extra_parts.
11817 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
11818 Add crtfastmath.o to extra_parts.
11819 (x86_64-*-darwin*): Likewise.
11820 (x86_64-*-mingw*): Likewise.
11821 (ia64*-*-elf*): Add t-crtfm to tmake_file.
11822 (ia64*-*-freebsd*): Likewise.
11823 (ia64*-*-linux*): Likewise.
11824 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
11825 Add crtfastmath.o to extra_parts.
11827 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11829 * config/darwin-crt3.o: New file.
11830 * config/rs6000/darwin-crt2.c: New file.
11831 * config/t-darwin: New file.
11832 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
11833 (crt2.o): New rule.
11834 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
11835 (powerpc-*-darwin*): Add crt2.o to extra_parts.
11836 (powerpc64-*-darwin*): Likewise.
11838 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11840 * config/i386/netware-crt0.c: New file.
11841 * config/i386/t-nwld: Rename to ...
11842 * config/i386/t-slibgcc-nwld: ... this.
11843 * config/i386/t-nwld: New file.
11844 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
11846 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
11849 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11851 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
11853 * configure: Regenerate.
11855 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11857 * dfp-bit.c, dfp-bit.h: New files.
11858 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
11860 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
11861 ($(d64pbit-o)): Likewise.
11862 ($(d128pbit-o)): Likewise.
11863 * config/t-dfprules: New file.
11864 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
11865 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
11866 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11867 (x86_64-*-linux*): Likewise.
11868 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11869 (i[34567]86-*-cygwin*): Likewise.
11870 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
11871 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11873 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11875 * Makfile.in (LIBGCOV): New variable.
11876 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
11877 * libgcov.c: New file.
11879 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11881 * fixed-bit.c, fixed-bit.h: New files.
11882 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
11883 refer to fixed-bit.c.
11885 2011-07-07 Joseph Myers <joseph@codesourcery.com>
11887 * config.host (*local*): Remove.
11889 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11892 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
11893 like i?86-*-solaris2.1[0-9]*.
11894 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
11895 * configure.ac (i?86-*-solaris2*): Likewise.
11896 * configure: Regenerate.
11898 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
11900 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11901 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
11902 md_unwind_header by splitting out of...
11903 (i[34567]86-*-linux*): ... this.
11904 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
11905 Remove md_unwind_header by splitting out of...
11906 (x86_64-*-linux*): ... this.
11908 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
11910 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
11912 2011-06-28 Nick Clifton <nickc@redhat.com>
11914 * config.host: Recognize all V850 variants.
11916 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
11918 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
11920 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11922 * shared-object.mk (c_flags-$o): Save c_flags.
11923 ($(base)$(objext)): Use it.
11924 ($(base)_s$(objext)): Likewise.
11926 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
11928 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
11929 * libgcc-std.ver.in (GCC_4.7.0): New section.
11931 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
11935 * config/avr/t-avr: Fix line endings.
11936 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
11939 2011-06-14 Olivier Hainque <hainque@adacore.com>
11940 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11942 * config/mips/irix6-unwind.h: New file.
11943 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
11945 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
11947 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
11948 (sparc64_fallback_frame_state): Use it.
11949 (sparc64_frob_update_context): Further adjust context.
11950 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
11951 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
11952 * config/sparc/sol2-cn.S: Likewise.
11954 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11956 * enable-execute-stack-empty.c: New file.
11957 * enable-execute-stack-mprotect.c: New file.
11958 * config/i386/enable-execute-stack-mingw32.c: New file.
11959 * config.host (enable_execute_stack): New variable.
11960 Select appropriate variants.
11961 * configure.ac: Link enable-execute-stack.c to
11962 $enable_execute_stack.
11963 * configure: Regenerate.
11964 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
11965 (lib2funcs): Remove _enable_execute_stack.
11967 2011-06-09 David S. Miller <davem@davemloft.net>
11968 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11970 * config.host (sparc-*-linux*): Correct md_unwind_header
11972 (s390x-ibm-tpf*): Fix typo.
11974 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11976 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
11977 Add crtfastmath.o to extra_parts.
11978 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
11980 * config/mips/t-crtfm: Remove.
11982 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
11984 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
11986 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
11988 * config.host (sh*-*-linux*): Fix typo.
11990 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11992 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
11993 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
11994 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
11995 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
11996 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
11997 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
11998 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
11999 Wrap in !__MINGW64__.
12000 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
12001 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
12002 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
12003 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
12004 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
12005 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
12006 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
12008 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
12009 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
12010 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
12011 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
12012 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
12013 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
12014 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
12015 * config/no-unwind.h: New file.
12016 * config.host (md_unwind_header): Document.
12018 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
12019 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
12020 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
12021 hppa[12]*-*-hpux11*): Set md_unwind_header.
12022 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
12023 Set md_unwind_header.
12024 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
12025 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
12026 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
12027 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
12028 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
12029 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
12030 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
12032 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
12033 * configure: Regenerate.
12035 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12037 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
12038 Set tmake_file, extra_parts.
12039 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
12040 Remove O32 support.
12041 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
12042 Remove O32 support.
12043 * config/mips/t-irix6: New file.
12044 * config/mips/t-slibgcc-irix: New file.
12046 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12048 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
12049 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
12051 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12053 * configure.ac (target_thread_file): Determine thread model.
12054 * configure: Regenerate.
12055 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
12056 * config/alpha/t-alpha: New file.
12057 * config/alpha/t-crtfm: Use $<.
12058 * config/alpha/t-ieee: New file.
12059 * config/alpha/t-osf-pthread: New file.
12060 * config/alpha/t-slibgcc-osf: New file.
12061 * config/alpha/libgcc-osf5.ver: New file.
12063 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12065 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
12067 Add crtfastmath.o to extra_parts.
12069 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12071 * config/gmon-sol2.c: Reindent.
12073 Remove, correct casts.
12074 Use STDERR_FILENO, NULL.
12075 (BASEADDRESS): Remove.
12077 (errno, sbrk): Remove declarations.
12078 (monstartup) [hp300]: Remove.
12081 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12083 * Makefile.in (cpu_type): Define.
12084 * config.host (i[34567]86-*-rtems*): Handle it.
12085 (i[34567]86-*-solaris2*): Move body ...
12086 (*-*-solaris2*): ... here.
12087 New case, generalize.
12088 (sparc-*-elf*): Handle it.
12089 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
12090 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
12091 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
12093 (sparc*-*-solaris2*): ... this.
12095 (sparc64-*-elf*): Handle it.
12096 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
12097 Merge ../gcc/config/i386/gmon-sol2.c.
12098 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
12100 Merge ../gcc/config/i386/sol2-gc1.asm.
12101 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
12103 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
12105 * config/i386/t-crtfm (crtfastmath.o): Use $<.
12106 * config/i386/t-crtstuff: New file.
12107 * config/i386/t-softfp: New file.
12108 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
12109 $(T)crti.o, $(T)crtn.o): Remove.
12110 (gcrt1.o): New rule.
12111 (TARGET_LIBGCC2_CFLAGS): Remove.
12112 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
12113 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
12114 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
12115 * config/sparc/t-sol2: New file.
12116 * config/sparc/t-crtfm: Move to ...
12117 * config/t-crtfm: ... this.
12118 Use $(cpu_type), $<.
12119 * config/t-crtin: New file.
12120 * config/sparc/t-softfp: New file.
12121 * config/sparc/t-softmul: New file.
12122 * config/t-rtems: New file.
12123 * config/t-slibgcc: New file.
12124 * config/t-slibgcc-elf-ver: New file.
12125 * config/t-slibgcc-gld: New file.
12126 * config/t-slibgcc-sld: New file.
12127 * config/t-sol2: New file.
12128 * configure.ac: Include ../config/lib-ld.m4.
12129 Call AC_LIB_PROG_LD_GNU.
12130 Substitute cpu_type.
12131 * configure: Regenerate.
12133 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
12136 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
12137 libgcc-std.ver in the build directory.
12138 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
12139 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
12141 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
12143 * libgcc-std.ver.in: New file.
12144 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
12146 (libgcc-std.ver): New rule.
12147 * config/t-gnu-prefix: New file.
12149 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12151 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
12153 2011-05-10 Joseph Myers <joseph@codesourcery.com>
12155 * config/i386/darwin-lib.h: New file.
12157 2011-05-10 Joseph Myers <joseph@codesourcery.com>
12159 * config/arm/symbian-lib.h: New.
12161 2011-05-04 Chris Demetriou <cgd@google.com>
12163 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
12164 (__x86.get_pc_thunk.bx): ...this.
12165 (__morestack): Adjust for rename, remove undef of __i686.
12167 2011-05-03 Chris Demetriou <cgd@google.com>
12169 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
12171 2011-03-22 Joseph Myers <joseph@codesourcery.com>
12173 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
12174 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
12175 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
12176 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
12177 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
12180 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
12182 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
12183 Adjust copyright year.
12185 2011-03-07 Ian Lance Taylor <iant@google.com>
12187 * generic-morestack.c (__splitstack_find): Adjust returned stack
12188 pointer to include all registers pushed by __morestack.
12190 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
12193 * configure.ac: Call ACX_NONCANONICAL_TARGET.
12194 (toolexecdir): Calculate and AC_SUBST.
12195 (toolexeclibdir): Likewise.
12196 * Makefile.in (target_noncanonical): Import.
12197 (toolexecdir): Likewise.
12198 (toolexeclibdir): Likewise.
12199 * configure: Regenerate.
12201 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
12204 * config/arm/bpabi.h: Rename to...
12205 * config/arm/bpabi-lib.h: ...this.
12207 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12209 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
12211 * configure: Regenerate.
12213 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
12215 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
12216 __FLOAT_WORD_ORDER__.
12217 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
12220 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12223 * Makefile.in (install-strip): New phony target.
12225 2010-11-07 Ian Lance Taylor <iant@google.com>
12228 * config/i386/morestack.S (__morestack_large_model): New
12231 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
12233 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
12235 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
12237 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
12239 * config/arm/bpabi.h: New file.
12240 * config/frv/frv-abi.h: New file.
12242 2010-10-01 Ian Lance Taylor <iant@google.com>
12244 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
12245 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
12247 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
12250 * config.host: Add the missing `$'.
12252 2010-09-30 Michael Eager <eager@eagercon.com>
12254 * config.host: Add microblaze*-*-*.
12255 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
12256 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
12257 udivsi3.asm,umodsi3.asm}: New.
12259 2010-09-28 Ian Lance Taylor <iant@google.com>
12261 * configure.ac: Adjust CFI test to test assembler directly rather
12262 than checking gcc preprocessor macro.
12263 * configure: Rebuild.
12265 2010-09-27 Ian Lance Taylor <iant@google.com>
12267 * configure.ac: Test whether assembler supports CFI directives.
12268 * config.host: Only add t-stack and i386/t-stack-i386 to
12269 tmake_file if libgcc_cv_cfi is "yes".
12270 * configure: Rebuild.
12272 2010-09-27 Ian Lance Taylor <iant@google.com>
12274 * generic-morestack.h: New file.
12275 * generic-morestack.c: New file.
12276 * generic-morestack-thread.c: New file.
12277 * config/i386/morestack.S: New file.
12278 * config/t-stack: New file.
12279 * config/i386/t-stack-i386: New file.
12280 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
12281 i386/t-stack-i386 to tmake_file.
12283 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
12285 * Makefile.in (libgcc-extra-parts): Check for static archives and
12286 invoke ranlib after installing them.
12287 (gcc-extra-parts): Likewise.
12288 (install-leaf): Likewise.
12290 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
12292 * configure: Regenerated.
12294 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
12296 * configure: Regenerated.
12298 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
12299 Andrew Pinski <pinskia@gmail.com>
12302 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
12304 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
12307 * configure: Regenerated.
12309 2010-09-06 Andreas Schwab <schwab@redhat.com>
12311 * configure: Regenerate.
12313 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
12315 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
12317 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
12320 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
12321 Iain Sandoe <iains@gcc.gnu.org>
12324 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
12325 LIB2FUNCS_EXCLUDE functions.
12327 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12329 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
12331 * configure: Regenerate.
12333 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
12335 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
12336 i386/t-freebsd to tmake_file.
12337 * config/i386/t-freebsd: New file.
12338 * config/i386/libgcc-bsd.ver: New file.
12340 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
12342 * config.host (powerpc*-eabispe*): Set tmake_file.
12343 (powerpc*-eabi*): Likewise.
12344 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
12345 crtbeginS, crtendS, crtbeginT.
12347 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
12349 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
12350 to tmake_file. Add crtfastmath.o to extra_parts.
12351 * config/mips/t-crtfm: New.
12353 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
12355 * config.host (sparc64-*-rtems*): New target.
12357 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12359 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12362 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
12364 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
12366 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12368 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
12369 alpha-dec-osf5.0* support.
12371 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
12373 * config.host: Add lm32-*-rtems*.
12375 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12376 Uros Bizjak <ubizjak@gmail.com>
12379 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
12380 like other remaining 32-bit x86 OSes.
12381 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12383 * config/i386/libgcc-sol2.ver: New file.
12384 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
12386 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
12389 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
12390 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
12391 is used and substitute set_use_emutls.
12392 * configure: Regenerated.
12394 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
12396 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
12398 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12401 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
12403 ($(T)gcrt1.o): Likewise.
12404 ($(T)crt1.o): Likewise.
12405 ($(T)crti.o): Likewise.
12406 ($(T)crtn.o): Likewise.
12408 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12411 * Makefile.in (install): Use $(MAKE) string in rule, for
12414 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
12416 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
12417 * config/mmix/t-mmix: New file.
12418 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
12420 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
12423 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
12426 2010-01-04 Anthony Green <green@moxielogic.com>
12428 * config/moxie/crti.asm, config/moxie/crtn.asm,
12429 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
12430 config/moxie/t-moxie: New files.
12431 * config.host: Add t-moxie-softfp reference.
12433 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
12436 * config/t-slibgcc-darwin: Fix embedded rpaths for
12437 --enable-version-specific-runtime-libs, build extension stub
12438 libs exposing features available from current libgcc_s.
12440 2009-11-11 Jon Beniston <jon@beniston.com>
12442 * config.host: Add lm32 targets.
12443 * config/lm32: New directory.
12444 * config/lm32/libgcc_lm32.h: New file.
12445 * config/lm32/_mulsi3.c: New file.
12446 * config/lm32/_udivmodsi4.c: New file.
12447 * config/lm32/_divsi3.c: New file.
12448 * config/lm32/_modsi3.c: New file.
12449 * config/lm32/_udivsi3.c: New file.
12450 * config/lm32/_umodsi3.c: New file.
12451 * config/lm32/_lshrsi3.S: New file.
12452 * config/lm32/_ashrsi3.S: New file.
12453 * config/lm32/_ashlsi3.S: New file.
12454 * config/lm32/crti.S: New file.
12455 * config/lm32/crtn.S: New file.
12456 * config/lm32/t-lm32: New file.
12457 * config/lm32/t-elf: New file.
12458 * config/lm32/t-uclinux: New file.
12460 2009-10-26 Nick Clifton <nickc@redhat.com>
12462 * config.host: Add support for RX target.
12463 * config/rx: New directory.
12464 * config/rx/rx-abi-functions.c: New file. Supplementary
12465 functions for libgcc to support the RX ABI.
12466 * config/rx/rx-abi.h: New file. Supplementary header file for
12467 libgcc RX ABI functions.
12468 * config/rx/t-rx: New file: Makefile fragment for building
12471 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
12473 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
12474 constraint of y0 to "g".
12476 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12478 * config.host: Include the s390 makefile fragments.
12479 * config/s390/32/_fixdfdi.c: New file.
12480 * config/s390/32/_fixsfdi.c: New file.
12481 * config/s390/32/_fixtfdi.c: New file.
12482 * config/s390/32/_fixunsdfdi.c: New file.
12483 * config/s390/32/_fixunssfdi.c: New file.
12484 * config/s390/32/_fixunstfdi.c: New file.
12485 * config/s390/32/t-floattodi: New file.
12486 * config/s390/libgcc-glibc.ver: New file.
12487 * config/s390/t-crtstuff: New file.
12488 * config/s390/t-linux: New file.
12489 * config/s390/t-tpf: New file.
12491 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12493 * configure.ac (AC_PREREQ): Bump to 2.64.
12495 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
12497 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
12499 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12501 * configure: Regenerate.
12503 2009-08-09 Douglas B Rupp <rupp@gnat.com>
12505 * config.host (ia64-hp-*vms*): New target.
12506 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
12507 with ia64-hp-*vms*.
12509 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12511 * configure.ac: Add snippet for maintainer-mode.
12512 * configure: Regenerate.
12513 * Makefile.in (AUTOCONF, configure_deps): New variables.
12514 ($(srcdir)/configure)): New rule, active only with maintainer
12517 2009-06-23 DJ Delorie <dj@redhat.com>
12520 * config.host: Add mep support.
12522 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
12524 * config.host: Add i386/${host_address}/t-fprules-softfp and
12525 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
12527 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
12529 * config/i386/64/_multc3.c: Likewise.
12530 * config/i386/64/_powitf2.c: Likewise.
12531 * config/i386/64/eqtf2.c: Likewise.
12532 * config/i386/64/getf2.c: Likewise.
12533 * config/i386/64/letf2.c: Likewise.
12534 * config/i386/64/letf2.c: Likewise.
12535 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
12536 unsigned long long for x64 mingw targets.
12537 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
12538 (_FP_I_TYPE): Define as long long for x64 mingw target.
12540 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
12542 * config.host (vax-*-linux*): New.
12544 2009-05-31 Anthony Green <green@moxielogic.com>
12546 * config.host: Add moxie support.
12547 * config/moxie/t-moxie: New file.
12549 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
12551 * config.host: Add i386/${host_address}/t-fprules-softfp and
12552 t-softfp to tmake_file for i[34567]86-*-cygwin*.
12554 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
12556 * config.host: Add i386/${host_address}/t-fprules-softfp to
12557 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
12559 2009-04-09 Nick Clifton <nickc@redhat.com>
12561 * config/ia64/tf-signs.c: Change copyright header to refer to
12562 version 3 of the GNU General Public License with version 3.1
12563 of the GCC Runtime Library Exception and to point readers at
12564 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
12566 * config/i386/32/tf-signs.c: Likewise.
12567 * config/libbid/_addsub_dd.c: Likewise.
12568 * config/libbid/_addsub_sd.c: Likewise.
12569 * config/libbid/_addsub_td.c: Likewise.
12570 * config/libbid/_dd_to_df.c: Likewise.
12571 * config/libbid/_dd_to_di.c: Likewise.
12572 * config/libbid/_dd_to_sd.c: Likewise.
12573 * config/libbid/_dd_to_sf.c: Likewise.
12574 * config/libbid/_dd_to_si.c: Likewise.
12575 * config/libbid/_dd_to_td.c: Likewise.
12576 * config/libbid/_dd_to_tf.c: Likewise.
12577 * config/libbid/_dd_to_udi.c: Likewise.
12578 * config/libbid/_dd_to_usi.c: Likewise.
12579 * config/libbid/_dd_to_xf.c: Likewise.
12580 * config/libbid/_df_to_dd.c: Likewise.
12581 * config/libbid/_df_to_sd.c: Likewise.
12582 * config/libbid/_df_to_td.c: Likewise.
12583 * config/libbid/_di_to_dd.c: Likewise.
12584 * config/libbid/_di_to_sd.c: Likewise.
12585 * config/libbid/_di_to_td.c: Likewise.
12586 * config/libbid/_div_dd.c: Likewise.
12587 * config/libbid/_div_sd.c: Likewise.
12588 * config/libbid/_div_td.c: Likewise.
12589 * config/libbid/_eq_dd.c: Likewise.
12590 * config/libbid/_eq_sd.c: Likewise.
12591 * config/libbid/_eq_td.c: Likewise.
12592 * config/libbid/_ge_dd.c: Likewise.
12593 * config/libbid/_ge_sd.c: Likewise.
12594 * config/libbid/_ge_td.c: Likewise.
12595 * config/libbid/_gt_dd.c: Likewise.
12596 * config/libbid/_gt_sd.c: Likewise.
12597 * config/libbid/_gt_td.c: Likewise.
12598 * config/libbid/_isinfd128.c: Likewise.
12599 * config/libbid/_isinfd32.c: Likewise.
12600 * config/libbid/_isinfd64.c: Likewise.
12601 * config/libbid/_le_dd.c: Likewise.
12602 * config/libbid/_le_sd.c: Likewise.
12603 * config/libbid/_le_td.c: Likewise.
12604 * config/libbid/_lt_dd.c: Likewise.
12605 * config/libbid/_lt_sd.c: Likewise.
12606 * config/libbid/_lt_td.c: Likewise.
12607 * config/libbid/_mul_dd.c: Likewise.
12608 * config/libbid/_mul_sd.c: Likewise.
12609 * config/libbid/_mul_td.c: Likewise.
12610 * config/libbid/_ne_dd.c: Likewise.
12611 * config/libbid/_ne_sd.c: Likewise.
12612 * config/libbid/_ne_td.c: Likewise.
12613 * config/libbid/_sd_to_dd.c: Likewise.
12614 * config/libbid/_sd_to_df.c: Likewise.
12615 * config/libbid/_sd_to_di.c: Likewise.
12616 * config/libbid/_sd_to_sf.c: Likewise.
12617 * config/libbid/_sd_to_si.c: Likewise.
12618 * config/libbid/_sd_to_td.c: Likewise.
12619 * config/libbid/_sd_to_tf.c: Likewise.
12620 * config/libbid/_sd_to_udi.c: Likewise.
12621 * config/libbid/_sd_to_usi.c: Likewise.
12622 * config/libbid/_sd_to_xf.c: Likewise.
12623 * config/libbid/_sf_to_dd.c: Likewise.
12624 * config/libbid/_sf_to_sd.c: Likewise.
12625 * config/libbid/_sf_to_td.c: Likewise.
12626 * config/libbid/_si_to_dd.c: Likewise.
12627 * config/libbid/_si_to_sd.c: Likewise.
12628 * config/libbid/_si_to_td.c: Likewise.
12629 * config/libbid/_td_to_dd.c: Likewise.
12630 * config/libbid/_td_to_df.c: Likewise.
12631 * config/libbid/_td_to_di.c: Likewise.
12632 * config/libbid/_td_to_sd.c: Likewise.
12633 * config/libbid/_td_to_sf.c: Likewise.
12634 * config/libbid/_td_to_si.c: Likewise.
12635 * config/libbid/_td_to_tf.c: Likewise.
12636 * config/libbid/_td_to_udi.c: Likewise.
12637 * config/libbid/_td_to_usi.c: Likewise.
12638 * config/libbid/_td_to_xf.c: Likewise.
12639 * config/libbid/_tf_to_dd.c: Likewise.
12640 * config/libbid/_tf_to_sd.c: Likewise.
12641 * config/libbid/_tf_to_td.c: Likewise.
12642 * config/libbid/_udi_to_dd.c: Likewise.
12643 * config/libbid/_udi_to_sd.c: Likewise.
12644 * config/libbid/_udi_to_td.c: Likewise.
12645 * config/libbid/_unord_dd.c: Likewise.
12646 * config/libbid/_unord_sd.c: Likewise.
12647 * config/libbid/_unord_td.c: Likewise.
12648 * config/libbid/_usi_to_dd.c: Likewise.
12649 * config/libbid/_usi_to_sd.c: Likewise.
12650 * config/libbid/_usi_to_td.c: Likewise.
12651 * config/libbid/_xf_to_dd.c: Likewise.
12652 * config/libbid/_xf_to_sd.c: Likewise.
12653 * config/libbid/_xf_to_td.c: Likewise.
12654 * config/libbid/bid128.c: Likewise.
12655 * config/libbid/bid128_2_str.h: Likewise.
12656 * config/libbid/bid128_2_str_macros.h: Likewise.
12657 * config/libbid/bid128_2_str_tables.c: Likewise.
12658 * config/libbid/bid128_add.c: Likewise.
12659 * config/libbid/bid128_compare.c: Likewise.
12660 * config/libbid/bid128_div.c: Likewise.
12661 * config/libbid/bid128_fma.c: Likewise.
12662 * config/libbid/bid128_logb.c: Likewise.
12663 * config/libbid/bid128_minmax.c: Likewise.
12664 * config/libbid/bid128_mul.c: Likewise.
12665 * config/libbid/bid128_next.c: Likewise.
12666 * config/libbid/bid128_noncomp.c: Likewise.
12667 * config/libbid/bid128_quantize.c: Likewise.
12668 * config/libbid/bid128_rem.c: Likewise.
12669 * config/libbid/bid128_round_integral.c: Likewise.
12670 * config/libbid/bid128_scalb.c: Likewise.
12671 * config/libbid/bid128_sqrt.c: Likewise.
12672 * config/libbid/bid128_string.c: Likewise.
12673 * config/libbid/bid128_to_int16.c: Likewise.
12674 * config/libbid/bid128_to_int32.c: Likewise.
12675 * config/libbid/bid128_to_int64.c: Likewise.
12676 * config/libbid/bid128_to_int8.c: Likewise.
12677 * config/libbid/bid128_to_uint16.c: Likewise.
12678 * config/libbid/bid128_to_uint32.c: Likewise.
12679 * config/libbid/bid128_to_uint64.c: Likewise.
12680 * config/libbid/bid128_to_uint8.c: Likewise.
12681 * config/libbid/bid32_to_bid128.c: Likewise.
12682 * config/libbid/bid32_to_bid64.c: Likewise.
12683 * config/libbid/bid64_add.c: Likewise.
12684 * config/libbid/bid64_compare.c: Likewise.
12685 * config/libbid/bid64_div.c: Likewise.
12686 * config/libbid/bid64_fma.c: Likewise.
12687 * config/libbid/bid64_logb.c: Likewise.
12688 * config/libbid/bid64_minmax.c: Likewise.
12689 * config/libbid/bid64_mul.c: Likewise.
12690 * config/libbid/bid64_next.c: Likewise.
12691 * config/libbid/bid64_noncomp.c: Likewise.
12692 * config/libbid/bid64_quantize.c: Likewise.
12693 * config/libbid/bid64_rem.c: Likewise.
12694 * config/libbid/bid64_round_integral.c: Likewise.
12695 * config/libbid/bid64_scalb.c: Likewise.
12696 * config/libbid/bid64_sqrt.c: Likewise.
12697 * config/libbid/bid64_string.c: Likewise.
12698 * config/libbid/bid64_to_bid128.c: Likewise.
12699 * config/libbid/bid64_to_int16.c: Likewise.
12700 * config/libbid/bid64_to_int32.c: Likewise.
12701 * config/libbid/bid64_to_int64.c: Likewise.
12702 * config/libbid/bid64_to_int8.c: Likewise.
12703 * config/libbid/bid64_to_uint16.c: Likewise.
12704 * config/libbid/bid64_to_uint32.c: Likewise.
12705 * config/libbid/bid64_to_uint64.c: Likewise.
12706 * config/libbid/bid64_to_uint8.c: Likewise.
12707 * config/libbid/bid_b2d.h: Likewise.
12708 * config/libbid/bid_binarydecimal.c: Likewise.
12709 * config/libbid/bid_conf.h: Likewise.
12710 * config/libbid/bid_convert_data.c: Likewise.
12711 * config/libbid/bid_decimal_data.c: Likewise.
12712 * config/libbid/bid_decimal_globals.c: Likewise.
12713 * config/libbid/bid_div_macros.h: Likewise.
12714 * config/libbid/bid_dpd.c: Likewise.
12715 * config/libbid/bid_flag_operations.c: Likewise.
12716 * config/libbid/bid_from_int.c: Likewise.
12717 * config/libbid/bid_functions.h: Likewise.
12718 * config/libbid/bid_gcc_intrinsics.h: Likewise.
12719 * config/libbid/bid_inline_add.h: Likewise.
12720 * config/libbid/bid_internal.h: Likewise.
12721 * config/libbid/bid_round.c: Likewise.
12722 * config/libbid/bid_sqrt_macros.h: Likewise.
12724 2009-04-09 Jakub Jelinek <jakub@redhat.com>
12726 * Makefile.in: Change copyright header to refer to version
12727 3 of the GNU General Public License and to point readers at the
12728 COPYING3 file and the FSF's license web page.
12729 * config.host: Likewise.
12731 2009-04-07 Alan Modra <amodra@bigpond.net.au>
12733 * config.host: Reorder and merge to match config.gcc change.
12735 2009-04-03 Alan Modra <amodra@bigpond.net.au>
12737 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
12739 2009-03-28 Joseph Myers <joseph@codesourcery.com>
12741 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
12742 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
12743 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
12744 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
12746 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
12748 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
12749 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12751 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
12753 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
12754 ia64/t-softfp-compat to tmake_file.
12756 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
12758 * config/ia64/__divxf3.asm: New.
12759 * config/ia64/_fixtfdi.asm: Likewise.
12760 * config/ia64/_fixunstfdi.asm: Likewise.
12761 * config/ia64/_floatditf.asm: Likewise.
12762 * config/ia64/t-fprules-softfp: Likewise.
12763 * config/ia64/t-softfp-compat: Likewise.
12764 * config/ia64/tf-signs.c: Likewise.
12766 2009-01-18 Ben Elliston <bje@au.ibm.com>
12768 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12770 2009-01-16 Ben Elliston <bje@au.ibm.com>
12772 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
12775 2009-01-13 Ben Elliston <bje@au.ibm.com>
12777 * config/t-softfp: New file.
12778 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
12779 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
12781 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
12783 * config.host: Add m32r*-*-rtems*.
12785 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
12787 * config.host: Add m32c*-*-rtems*.
12789 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12792 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
12793 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
12794 * configure: Regenerate.
12795 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
12796 tmake_file here from gcc/config.gcc.
12797 Move extra_parts here from gcc/config.gcc.
12798 * config/i386/t-sol2: Move here from gcc/config/i386.
12799 Use gcc_srcdir instead of srcdir.
12801 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
12803 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
12806 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
12808 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
12810 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
12812 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
12814 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
12817 * config.host: Add picochip-*-*.
12819 2008-08-06 Bob Wilson <bob.wilson@acm.org>
12821 * config.host: Match more processor names for Xtensa.
12823 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
12825 * config/i386/64/t-softfp-compat: Update comments.
12827 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
12829 * config/i386/64/_divtc3-compat.c: Moved to ...
12830 * config/i386/64/_divtc3.c: Here.
12832 * config/i386/64/_multc3-compat.c: Moved to ...
12833 * config/i386/64/_multc3.c: Here.
12835 * config/i386/64/_powitf2-compat.c: Moved to ...
12836 * config/i386/64/_powitf2.c: Here.
12838 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
12839 .c suffix instead of -compat.c.
12841 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
12843 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
12844 (_FP_MUL_MEAT_D): Ditto.
12845 (_FP_DIV_MEAT_S): Ditto.
12846 (_FP_DIV_MEAT_D): Ditto.
12848 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
12850 * Makefile.in: Add support for __sync_* libgcc functions.
12852 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
12854 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
12856 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12859 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
12860 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
12862 * config/i386/64/t-fprules-softfp: Moved to ...
12863 * config/i386/64/t-softfp-compat: This. New.
12865 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
12867 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
12868 Initialize f with 0.0.
12870 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12873 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
12875 * config/i386/64/_divtc3-compat.c: New.
12876 * config/i386/64/_multc3-compat.c: Likewise.
12877 * config/i386/64/_powitf2-compat.c: Likewise.
12878 * config/i386/64/eqtf2.c: Likewise.
12879 * config/i386/64/getf2.c: Likewise.
12880 * config/i386/64/letf2.c: Likewise.
12881 * config/i386/64/t-fprules-softfp: Likewise.
12883 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12885 * config.host: Add i386/${host_address}/t-fprules-softfp to
12886 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
12887 i[34567]86-*-linux*, x86_64-*-linux*.
12889 * configure.ac: Set host_address to 64 or 32 for x86.
12890 * configure: Regenerated.
12892 * Makefile.in (config.status): Also depend on
12893 $(srcdir)/config.host.
12895 * config/i386/32/t-fprules-softfp: New.
12896 * config/i386/32/tf-signs.c: Likewise.
12898 * config/i386/64/sfp-machine.h: New. Moved from gcc.
12900 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12901 Uros Bizjak <ubizjak@gmail.com>
12903 * config/i386/32/sfp-machine.h: New.
12905 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
12907 * config/rs6000/t-ppccomm: Remove rules that conflict with
12908 auto-generated rules.
12910 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12912 * configure.ac: sinclude override.m4.
12913 * configure: Regenerate.
12915 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
12917 * configure: Regenerate.
12919 2008-06-10 Joseph Myers <joseph@codesourcery.com>
12921 * Makefile.in (DECNUMINC): Remove
12922 -I$(MULTIBUILDTOP)../../libdecnumber.
12925 2008-06-07 Joseph Myers <joseph@codesourcery.com>
12927 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
12928 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
12929 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
12930 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
12931 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
12932 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
12933 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
12934 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
12935 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
12936 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
12937 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
12938 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
12939 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
12940 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
12942 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
12944 * config.host (sh2[lbe]*-*-linux*): Allow target.
12946 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
12948 * config/rs6000/t-ppccomm: Add build rules for new files.
12949 (LIB2ADD_ST): New variable.
12951 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
12955 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
12956 * config/t-avr: New file. Build 16bit libgcc functions.
12958 2008-03-02 Jakub Jelinek <jakub@redhat.com>
12961 * config/t-slibgcc-darwin: Make install-leaf dependent on
12962 install-darwin-libgcc-stubs instead of install.
12964 2008-01-25 Joseph Myers <joseph@codesourcery.com>
12966 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
12967 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
12968 sh-*-rtemscoff*): Remove cases.
12970 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
12972 * Makefile.in (all): Use install-leaf rather than install.
12973 (install): Split most of the rule into...
12974 (install-leaf): ...this new one.
12976 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
12977 Paolo Bonzini <bonzini@gnu.org>
12980 * Makefile.in: Use @shlib_slibdir@ substitution to get
12981 correct install name on darwin.
12982 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
12984 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
12986 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
12987 cris-*-elf and cris-*-none.
12988 (crisv32-*-linux*): Similar, as cris-*-linux*.
12990 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
12992 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
12994 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
12996 PR regression/33926
12997 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
12998 * configure: Regenerated.
13000 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
13002 * Makefile.in (dfp-filenames): Replace decimal_globals,
13003 decimal_data, binarydecimal and convert_data with
13004 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
13005 and bid_convert_data, respectively.
13007 2007-09-17 Chao-ying Fu <fu@mips.com>
13008 Nigel Stephens <nigel@mips.com>
13010 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
13011 * Makefile.in (fixed_point): Define.
13012 Check if fixed_point is yes to build support functions.
13013 * configure.ac: Check for fixed_point support.
13014 * configure: Regenerated.
13015 * gen-fixed.sh: New file to generate lists of fixed-point labels,
13016 funcs, modes, from, to.
13018 2007-09-11 Janis Johnson <janis187@us.ibm.com
13020 * Makefile.in (dfp-filenames): Add bid128_noncomp.
13022 2007-09-10 Janis Johnson <janis187@us.ibm.com>
13024 * Makefile.in (dfp-filenames): Remove decUtility, add
13025 decDouble, decPacked, decQuad, decSingle.
13027 2007-08-27 Hans Kester <hans.kester@ellips.nl>
13029 * config.host : Add x86_64-elf target.
13031 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
13033 * configure.ac (set_have_cc_tls): Add a missing =.
13034 * configure: Regenerated.
13036 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
13038 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
13039 and x86_64-*-linux*.
13041 * config/t-tls: New file.
13043 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
13045 * configure.ac: Include ../config/enable.m4 and
13046 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
13047 supports TLS and substitute set_have_cc_tls.
13048 * configure: Regenerated.
13050 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
13052 * Makefile.in: Use libbid for DFP when BID is enabled.
13054 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
13056 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
13057 extra_parts. Add config/i386/t-cygming to tmake_file.
13058 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
13060 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
13061 Danny Smith <dannysmith@users.sourceforge.net>
13064 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
13065 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
13066 * config/i386/t-crtfm: Compile crtfastmath.o with
13067 -minline-all-stringops.
13069 2007-05-10 Richard Sandiford <richard@codesourcery.com>
13071 * config.host (sparc-wrs-vxworks): New target.
13073 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
13075 * config.host: Recognize fido.
13077 2007-04-04 Janis Johnson <janis187@us.ibm.com>
13079 * configure: Check host, not target, for decimal float support.
13081 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
13083 * config/i386/t-crtpc: New file.
13084 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
13085 (x86_64-*-linux*): Ditto.
13087 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
13089 * config.host (x86_64-*-mingw*): New target.
13091 2007-03-23 Michael Meissner <michael.meissner@amd.com>
13092 H.J. Lu <hongjiu.lu@intel.com>
13094 * Makefile.in (enable_decimal_float): New.
13096 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
13097 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
13098 (decbits-filenames): This.
13099 (decbits-objects): New.
13100 (libgcc-objects): Add $(decbits-objects).
13102 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
13103 Substitute enable_decimal_float.
13104 * configure: Regenerated.
13106 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
13108 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
13110 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
13112 * Makefile.in (install-info): New dummy target.
13114 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
13116 * config.host (bfin*-linux-uclibc*): Set extra_parts.
13118 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
13120 * Makefile.in: Add install-html and install-pdf dummy
13123 2007-02-05 Roger Sayle <roger@eyesopen.com>
13124 Daniel Jacobowitz <dan@codesourcery.com>
13126 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
13127 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
13128 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
13130 2007-01-29 Janis Johnson <janis187@us.ibm.com>
13132 * Makefile.in (dec-filenames): Add decExcept.
13134 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
13137 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
13140 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
13142 * configure.ac: Add --enable-version-specific-runtime-libs.
13143 Correct $slibdir default.
13144 * configure: Regenerated.
13146 2007-01-23 Joseph Myers <joseph@codesourcery.com>
13148 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
13150 2007-01-21 Andrew Pinski <pinskia@gmail.com>
13153 * config.host (alpha*-*-linux*): Set extra_parts.
13155 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
13157 * config/sh/t-linux: New.
13158 * config.host (sh*-*-linux*): Set tmake_file.
13160 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
13162 * Makefile.in (install): Handle multilibs.
13164 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
13166 * Makefile.in: Added .PHONY entry for documentation targets.
13168 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
13170 * Makefile.in: Add empty info, html, dvi, pdf targets.
13172 2007-01-04 Mike Stump <mrs@apple.com>
13174 * Makefile.in (MAKEINFO): Remove.
13177 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
13179 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
13180 * configure: Regenerate.
13181 * Makefile.in (host_subdir): Substitute it.
13182 (gcc_objdir): Use it.
13184 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
13186 * config.host (ia64*-*-linux*): Set tmake_file.
13188 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
13190 * Makefile.in (version): Define.
13192 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
13193 Paolo Bonzini <bonzini@gnu.org>
13195 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
13196 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
13197 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
13198 config/sparc/t-crtfm, config/t-slibgcc-darwin,
13199 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
13200 shared-object.mk, siditi-object.mk, static-object.mk: New files.
13201 * configure: Generated.
13203 Copyright (C) 2007-2023 Free Software Foundation, Inc.
13205 Copying and distribution of this file, with or without modification,
13206 are permitted in any medium without royalty provided the copyright
13207 notice and this notice are preserved.