1 2022-08-31 Martin Liska <mliska@suse.cz>
3 * config.host: Remove hppa.
5 2022-08-30 Martin Liska <mliska@suse.cz>
7 * config.host: Remove the port.
9 2022-08-26 Martin Liska <mliska@suse.cz>
11 * config.host: Remove cr16 related stuff.
12 * config/cr16/crti.S: Removed.
13 * config/cr16/crtlibid.S: Removed.
14 * config/cr16/crtn.S: Removed.
15 * config/cr16/divmodhi3.c: Removed.
16 * config/cr16/lib1funcs.S: Removed.
17 * config/cr16/t-cr16: Removed.
18 * config/cr16/t-crtlibid: Removed.
19 * config/cr16/unwind-cr16.c: Removed.
20 * config/cr16/unwind-dw2.h: Removed.
22 2022-08-16 Kito Cheng <kito.cheng@sifive.com>
24 * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
25 (_FP_NANFRAC_H): Ditto.
26 (_FP_NANSIGN_H): Ditto.
27 * config/riscv/t-softfp32 (softfp_extensions): Add HF related
29 (softfp_truncations): Ditto.
30 (softfp_extras): Ditto.
31 * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
33 2022-08-16 Kito Cheng <kito.cheng@sifive.com>
35 * soft-fp/fixhfdi.c: New.
36 * soft-fp/fixhfsi.c: Likewise.
37 * soft-fp/fixunshfdi.c: Likewise.
38 * soft-fp/fixunshfsi.c: Likewise.
39 * soft-fp/floatdihf.c: Likewise.
40 * soft-fp/floatsihf.c: Likewise.
41 * soft-fp/floatundihf.c: Likewise.
42 * soft-fp/floatunsihf.c: Likewise.
43 * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
44 lines and update URL for license.
45 * soft-fp/addsf3.c: Likewise.
46 * soft-fp/addtf3.c: Likewise.
47 * soft-fp/divdf3.c: Likewise.
48 * soft-fp/divsf3.c: Likewise.
49 * soft-fp/divtf3.c: Likewise.
50 * soft-fp/double.h: Likewise.
51 * soft-fp/eqdf2.c: Likewise.
52 * soft-fp/eqhf2.c: Likewise.
53 * soft-fp/eqsf2.c: Likewise.
54 * soft-fp/eqtf2.c: Likewise.
55 * soft-fp/extenddftf2.c: Likewise.
56 * soft-fp/extended.h: Likewise.
57 * soft-fp/extendhfdf2.c: Likewise.
58 * soft-fp/extendhfsf2.c: Likewise.
59 * soft-fp/extendhftf2.c: Likewise.
60 * soft-fp/extendhfxf2.c: Likewise.
61 * soft-fp/extendsfdf2.c: Likewise.
62 * soft-fp/extendsftf2.c: Likewise.
63 * soft-fp/extendxftf2.c: Likewise.
64 * soft-fp/fixdfdi.c: Likewise.
65 * soft-fp/fixdfsi.c: Likewise.
66 * soft-fp/fixdfti.c: Likewise.
67 * soft-fp/fixhfti.c: Likewise.
68 * soft-fp/fixsfdi.c: Likewise.
69 * soft-fp/fixsfsi.c: Likewise.
70 * soft-fp/fixsfti.c: Likewise.
71 * soft-fp/fixtfdi.c: Likewise.
72 * soft-fp/fixtfsi.c: Likewise.
73 * soft-fp/fixtfti.c: Likewise.
74 * soft-fp/fixunsdfdi.c: Likewise.
75 * soft-fp/fixunsdfsi.c: Likewise.
76 * soft-fp/fixunsdfti.c: Likewise.
77 * soft-fp/fixunshfti.c: Likewise.
78 * soft-fp/fixunssfdi.c: Likewise.
79 * soft-fp/fixunssfsi.c: Likewise.
80 * soft-fp/fixunssfti.c: Likewise.
81 * soft-fp/fixunstfdi.c: Likewise.
82 * soft-fp/fixunstfsi.c: Likewise.
83 * soft-fp/fixunstfti.c: Likewise.
84 * soft-fp/floatdidf.c: Likewise.
85 * soft-fp/floatdisf.c: Likewise.
86 * soft-fp/floatditf.c: Likewise.
87 * soft-fp/floatsidf.c: Likewise.
88 * soft-fp/floatsisf.c: Likewise.
89 * soft-fp/floatsitf.c: Likewise.
90 * soft-fp/floattidf.c: Likewise.
91 * soft-fp/floattihf.c: Likewise.
92 * soft-fp/floattisf.c: Likewise.
93 * soft-fp/floattitf.c: Likewise.
94 * soft-fp/floatundidf.c: Likewise.
95 * soft-fp/floatundisf.c: Likewise.
96 * soft-fp/floatunditf.c: Likewise.
97 * soft-fp/floatunsidf.c: Likewise.
98 * soft-fp/floatunsisf.c: Likewise.
99 * soft-fp/floatunsitf.c: Likewise.
100 * soft-fp/floatuntidf.c: Likewise.
101 * soft-fp/floatuntihf.c: Likewise.
102 * soft-fp/floatuntisf.c: Likewise.
103 * soft-fp/floatuntitf.c: Likewise.
104 * soft-fp/gedf2.c: Likewise.
105 * soft-fp/gesf2.c: Likewise.
106 * soft-fp/getf2.c: Likewise.
107 * soft-fp/half.h: Likewise.
108 * soft-fp/ledf2.c: Likewise.
109 * soft-fp/lesf2.c: Likewise.
110 * soft-fp/letf2.c: Likewise.
111 * soft-fp/muldf3.c: Likewise.
112 * soft-fp/mulsf3.c: Likewise.
113 * soft-fp/multf3.c: Likewise.
114 * soft-fp/negdf2.c: Likewise.
115 * soft-fp/negsf2.c: Likewise.
116 * soft-fp/negtf2.c: Likewise.
117 * soft-fp/op-1.h: Likewise.
118 * soft-fp/op-2.h: Likewise.
119 * soft-fp/op-4.h: Likewise.
120 * soft-fp/op-8.h: Likewise.
121 * soft-fp/op-common.h: Likewise.
122 * soft-fp/quad.h: Likewise.
123 * soft-fp/single.h: Likewise.
124 * soft-fp/soft-fp.h: Likewise.
125 * soft-fp/subdf3.c: Likewise.
126 * soft-fp/subsf3.c: Likewise.
127 * soft-fp/subtf3.c: Likewise.
128 * soft-fp/truncdfhf2.c: Likewise.
129 * soft-fp/truncdfsf2.c: Likewise.
130 * soft-fp/truncsfhf2.c: Likewise.
131 * soft-fp/trunctfdf2.c: Likewise.
132 * soft-fp/trunctfhf2.c: Likewise.
133 * soft-fp/trunctfsf2.c: Likewise.
134 * soft-fp/trunctfxf2.c: Likewise.
135 * soft-fp/truncxfhf2.c: Likewise.
136 * soft-fp/unorddf2.c: Likewise.
137 * soft-fp/unordsf2.c: Likewise.
138 * soft-fp/unordtf2.c: Likewise.
140 2022-07-18 Claudiu Zissulescu <claziss@synopsys.com>
142 * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
143 * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
146 2022-06-25 Jeff Law <jeffreyalaw@gmail.com>
148 * config.host: Removed tilegx and tilepro entries.
149 * config/tilegx/sfp-machine.h: Removed.
150 * config/tilegx/sfp-machine32.h: Removed.
151 * config/tilegx/sfp-machine64.h: Removed.
152 * config/tilegx/t-crtstuff: Removed.
153 * config/tilegx/t-softfp: Removed.
154 * config/tilegx/t-tilegx: Removed.
155 * config/tilepro/atomic.c: Removed.
156 * config/tilepro/atomic.h: Removed.
157 * config/tilepro/linux-unwind.h: Removed.
158 * config/tilepro/sfp-machine.h: Removed.
159 * config/tilepro/softdivide.c: Removed.
160 * config/tilepro/softmpy.S: Removed.
161 * config/tilepro/t-crtstuff: Removed.
162 * config/tilepro/t-tilepro: Removed.
164 2022-06-09 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
166 * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
167 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
169 2022-06-01 H.J. Lu <hjl.tools@gmail.com>
172 * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
174 2022-05-25 Wilco Dijkstra <wilco.dijkstra@arm.com>
177 * config/aarch64/lse-init.c: Increase constructor priority.
179 2022-05-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
182 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
183 Handle the !REG_UNSAVED case.
184 * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
186 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
188 * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
189 (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
190 (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
192 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
194 * config.host: Add t-dfprules to AArch64 targets.
196 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
198 * configure: Regenerate.
200 2022-05-13 Sebastian Pop <spop@amazon.com>
203 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
204 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
206 2022-05-10 Martin Liska <mliska@suse.cz>
207 Hans-Peter Helfert <peter-helfert@t-online.de>
209 PR gcov-profile/105535
210 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
213 2022-05-02 Martin Liska <mliska@suse.cz>
215 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
217 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
219 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
220 (gcov_profile_merge_stream): Likewise.
222 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
224 * libgcov-util.c (consume_stream): New.
225 (get_target_profiles_for_merge): Likewise.
226 (gcov_profile_merge_stream): Likewise.
228 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
230 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
232 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
234 * libgcov-util.c (read_gcda_file): Do not open file.
235 (ftw_read_file): Open file here.
237 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
239 * libgcov-util.c (read_gcda_file): Prepend new info object to global
241 (ftw_read_file): Remove list append here.
243 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
245 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
246 (ftw_read_file): Duplicate filename for read_gcda_file().
248 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
250 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
251 (__gcov_filename_to_gcfn): Declare and document.
252 * libgcov-driver.c (dump_string): New.
253 (__gcov_filename_to_gcfn): Likewise.
254 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
256 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
258 * libgcov.h (gcov_seek): Remove define and declaration.
260 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
262 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
263 parameter. Pass mode to gcov_open() calls.
264 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
265 gcov_exit_open_gcda_file() call.
266 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
268 (__gcov_dump_one): Open file for reading and writing.
270 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
272 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
274 * libgcov-util.c (read_gcda_file): Open file for reading.
275 * libgcov.h (gcov_open): Delete declaration.
277 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
279 * libgcov-util.c (gcov_profile_merge): Return the list of merged
280 profiles. Accept empty target and source profile lists.
282 2022-04-08 Sergei Trofimovich <siarheit@google.com>
284 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
286 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
287 Lulu Cheng <chenglulu@loongson.cn>
289 * configure: Regenerate file.
291 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
292 Lulu Cheng <chenglulu@loongson.cn>
294 * config/loongarch/crtfastmath.c: New file.
295 * config/loongarch/linux-unwind.h: Like wise.
296 * config/loongarch/sfp-machine.h: Like wise.
297 * config/loongarch/t-crtstuff: Like wise.
298 * config/loongarch/t-loongarch: Like wise.
299 * config/loongarch/t-loongarch64: Like wise.
300 * config/loongarch/t-softfp-tf: Like wise.
301 * config.host: Add LoongArch tuples.
302 * configure.ac: Add LoongArch support.
304 2022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
307 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
309 (__udivsi3_internal, __divsi3_internal): Similarly.
310 (__umodsi3, __modsi3): Use the internal function names.
312 2022-03-09 Tobias Burnus <tobias@codesourcery.com>
315 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
316 a line up to non-arg-dependent value first.
317 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
318 __atomic_compare_exchange_{1,2}.
320 2022-03-04 Iain Sandoe <iain@sandoe.co.uk>
322 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
323 * config/t-darwin-ehs: Add dependency on unwind.h.
325 2022-02-24 Xi Ruoyao <xry111@mengyan1223.wang>
327 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
328 with 0 instead of NULL.
330 2022-02-24 Jose E. Marchesi <jose.marchesi@oracle.com>
333 * configure.ac: --disable-gcov if targetting bpf-*.
334 * configure: Regenerate.
336 2022-01-25 Florian Weimer <fweimer@redhat.com>
339 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
341 2022-01-17 Martin Liska <mliska@suse.cz>
343 * libgcov-driver.c: Rename .c names to .cc.
345 2022-01-15 David <gccbugzilla@limegreensocks.com>
347 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
348 Remove inlined version, Windows 95 is no longer relevant.
349 * config/i386/gthr-win32.h
350 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
352 2022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
354 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
355 DWARF_ALT_FRAME_RETURN_COLUMN macro.
357 2022-01-04 Florian Weimer <fweimer@redhat.com>
359 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
362 2022-01-02 John David Anglin <danglin@gcc.gnu.org>
364 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
365 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
366 return is not equal _ASM_EFAULT.
367 (__kernel_cmpxchg2): Likewise.
369 2021-12-17 Iain Sandoe <iain@sandoe.co.uk>
371 * config.host: Add shim declaration header to powerpc*-darwin builds.
372 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
374 * config/t-darwin-ehs: Add dependencies to the shared unwinder
376 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
377 the shared EH lib. Add all-multi to the dependencies for the
378 libgcc_s.1.dylib redirections.
380 2021-12-13 Olivier Hainque <hainque@adacore.com>
382 * config.host (powerpc*-*-vxworks7*): Remove
383 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
385 2021-12-13 Olivier Hainque <hainque@adacore.com>
387 * config.host (*vxworks*): Remove special case for
388 arm on the use of vxcrtstuff.
390 2021-12-13 Fred Konrad <konrad@adacore.com>
391 Olivier Hainque <hainque@adacore.com>
393 * config/t-vxcrtstuffS: New Makefile fragment.
394 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
395 functions for INITFINI_ARRAY support in shared libs and guard
396 the definition of eh table registration functions on conditions
397 indicating they are needed.
399 2021-12-13 Olivier Hainque <hainque@adacore.com>
401 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
402 ahead of the other files in tmake_files.
403 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
406 2021-12-13 Olivier Hainque <hainque@adacore.com>
408 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
409 both VxWorks7 and earlier.
410 * config/t-vxworks7: Remove.
411 * config.host: Remove special case for vxworks7.
413 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
415 * config/vxcrtstuff.c: Make constructor and destructor
416 functions static when possible.
418 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
420 * config/vxcrtstuff.c: Remove constructor/destructor
423 2021-12-10 Iain Sandoe <iain@sandoe.co.uk>
425 * config/t-darwin: Add libgcc_tm.h to the dependencies
426 for darwin10-unwind-find-enc-func.
428 2021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
430 * config/rs6000/t-vxworks: New file.
431 * config.host (powerpc*-*-vxworks*): Use it instead of
434 2021-12-09 Fred Konrad <konrad@adacore.com>
436 * config.host (powerpc*-wrs-vxworks7*): Fix path to
437 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
439 2021-12-09 Olivier Hainque <hainque@adacore.com>
440 Rasmus Villemoes <rv@rasmusvillemoes.dk>
442 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
444 * config/t-vxworks7: Likewise.
446 2021-12-08 Iain Sandoe <iain@sandoe.co.uk>
448 * config.host (*-*-darwin*): Add logic to build a shared
449 unwinder library for Darwin8-10.
450 * config/i386/t-darwin: Build legacy libgcc_s.1.
451 * config/rs6000/t-darwin: Likewise.
452 * config/t-darwin: Reorganise the EH fragments to place
453 them for inclusion in a shared EH lib.
454 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
455 the supporting pieces (all FAT libs).
456 * config/t-darwin-noeh: Removed.
457 * config/darwin-unwind.ver: New file.
458 * config/rs6000/t-darwin-ehs: New file.
459 * config/t-darwin-ehs: New file.
461 2021-12-06 Nelson Chu <nelson.chu@sifive.com>
463 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
464 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
465 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
468 2021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
470 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
471 ssize_t and vfork after including auto-host.h.
473 2021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
475 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
476 crtend.o to extra_parts.
478 2021-11-27 John David Anglin <danglin@gcc.gnu.org>
480 * config/pa/t-dimode (lib2difuncs): Fix typo.
482 2021-11-25 Florian Weimer <fweimer@redhat.com>
484 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
486 (find_fde_tail): New function. Split from
487 _Unwind_IteratePhdrCallback. Move the result initialization
488 from _Unwind_Find_FDE.
489 (_Unwind_Find_FDE): Updated to call find_fde_tail.
491 2021-11-22 Florian Weimer <fweimer@redhat.com>
493 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
494 (struct unw_eh_callback_data): Make dbase member conditional.
495 (unw_eh_callback_data_dbase): New function.
496 (base_from_cb_data): Simplify for the non-dbase case.
497 (_Unwind_IteratePhdrCallback): Adjust.
498 (_Unwind_Find_FDE): Likewise.
500 2021-11-22 Florian Weimer <fweimer@redhat.com>
502 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
504 (base_from_cb_data): Adjust.
505 (_Unwind_IteratePhdrCallback): Likewise.
506 (_Unwind_Find_FDE): Likewise.
508 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
510 * config.host: Add weak emutls crt to the extra_parts.
511 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
513 * config/libgcc-libsystem.ver: Add exclude list for the system-
515 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
516 * config/i386/libgcc-darwin.10.4.ver: Removed.
517 * config/i386/libgcc-darwin.10.5.ver: Removed.
518 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
519 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
520 * config/t-darwin-noeh: New file.
522 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
524 * config/t-darwin: Build weak-defined emutls objects.
525 * emutls.c (__emutls_get_address): Add optional attributes.
526 (__emutls_register_common): Likewise.
529 2021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
532 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
533 called with a null argument or at the end of the backtrace and return.
534 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
536 2021-11-10 Jakub Jelinek <jakub@redhat.com>
538 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
541 2021-11-05 Iain Sandoe <iain@sandoe.co.uk>
543 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
544 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
546 2021-11-05 John David Anglin <danglin@gcc.gnu.org>
549 * config.host (hppa*64*-*-linux*): Revise tmake_file.
550 (hppa*64*-*-hpux11*): Likewise.
551 * config/pa/sfp-exceptions.c: New.
552 * config/pa/sfp-machine.h: New.
553 * config/pa/t-dimode: New.
554 * config/pa/t-softfp-sfdftf: New.
556 2021-10-27 John David Anglin <danglin@gcc.gnu.org>
558 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
560 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
561 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
562 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
563 * config/pa/t-linux64 (LIB1ASMSRC): New define.
564 (LIB1ASMFUNCS): Revise.
565 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
567 2021-10-22 Stafford Horne <shorne@gmail.com>
569 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
572 2021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
574 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
575 outside of get_regs() in order to use it in another function, this
576 is done twice: for __powerpc64__ and for !__powerpc64__.
577 (struct trace_arg): New struct.
578 (struct layout): New struct.
579 (ppc_backchain_fallback): New function.
580 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
581 state and call MD_BACKCHAIN_FALLBACK.
583 2021-10-13 Martin Liska <mliska@suse.cz>
585 PR gcov-profile/90364
586 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
588 (write_one_data): Write also checksum.
589 * libgcov-util.c (read_gcda_file): Read also checksum field.
590 * libgcov.h (struct gcov_info): Add new field.
592 2021-10-08 Ian Lance Taylor <iant@golang.org>
594 * config/i386/morestack.S: Use .init_array for constructor if
596 * config/rs6000/morestack.S: Likewise.
597 * config/s390/morestack.S: Likewise.
599 2021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
602 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
603 Use more correct values for native IBM 128-bit.
605 2021-09-28 Iain Sandoe <iain@sandoe.co.uk>
607 * config/i386/libgcc-darwin.ver: Add Symbols for
608 __cpu_model, __cpu_indicator_init.
610 2021-09-22 Iain Sandoe <iain@sandoe.co.uk>
612 * config/i386/sfp-machine.h: Guard Mach-O-specific code
615 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
617 * config/t-slibgcc-darwin: Delete unused code.
619 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
621 * config/i386/t-darwin: Add in a vers file for X86-specific
623 * config/t-darwin: Add the generic symbol maps here...
624 * config/t-slibgcc-darwin: ... removing from here.
625 * config/i386/libgcc-darwin.ver: New file.
627 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
629 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
632 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
634 * config.host: Use convenience library for Darwin10
636 * config/t-darwin: Build Darwin10 unwinder shim as a
639 2021-09-13 Andrew Pinski <apinski@marvell.com>
641 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
642 * config/m32r/libgcc-glibc.ver: Removed.
643 * config/m32r/t-linux: Removed.
645 2021-09-08 liuhongt <hongtao.liu@intel.com>
647 * config/i386/t-softfp: Compile __{mul,div}hc3 into
650 2021-09-08 Jakub Jelinek <jakub@redhat.com>
651 Iain Sandoe <iain@sandoe.co.uk>
653 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
654 and export *hf* and *hc* functions at GCC_12.0.0.
656 2021-09-06 liuhongt <hongtao.liu@intel.com>
658 * Makefile.in: Adjust to support specific CFLAGS for each
660 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
661 related libgcc source files.
662 * config/i386/t-softfp: Ditto.
663 * config/i386/_divhc3.c: New file.
664 * config/i386/_mulhc3.c: New file.
666 2021-09-03 Iain Sandoe <iain@sandoe.co.uk>
668 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
669 alias_DFtype, alias_TFtype): New.
670 (ALIAS_SELECTOR): New.
671 (strong_alias): Use __typeof and a _Generic selector to
672 provide the type to the synthesized function.
674 2021-09-02 liuhongt <hongtao.liu@intel.com>
676 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
677 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
678 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
679 * config/i386/t-softfp: Add hf soft-fp.
680 * config.host: Add i386/64/t-softfp.
681 * config/i386/64/t-softfp: New file.
683 2021-09-02 liuhongt <hongtao.liu@intel.com>
685 * soft-fp/eqhf2.c: New file.
686 * soft-fp/extendhfdf2.c: New file.
687 * soft-fp/extendhfsf2.c: New file.
688 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
689 * soft-fp/truncdfhf2.c: New file
690 * soft-fp/truncsfhf2.c: New file
692 2021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
694 * unwind-arm-common.inc (abort): Remove.
696 2021-08-31 Richard Sandiford <richard.sandiford@arm.com>
698 * config/aarch64/value-unwind.h: Add missing runtime exception
700 * config/frv/frv-abi.h: Likewise.
701 * config/i386/value-unwind.h: Likewise.
702 * config/pa/pa64-hpux-lib.h: Likewise.
704 2021-08-26 David Edelsohn <dje.gcc@gmail.com>
706 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
708 (__gcc_qadd): Call ldouble_qadd_internal.
709 (__gcc_qsub): Call ldouble_qadd_internal with second long double
712 2021-08-26 Jonathan Yong <10walls@gmail.com>
714 * config/i386/cygming-crtend.c: Fix register_frame_ctor
715 and register_frame_dtor warnings.
717 2021-08-24 Richard Earnshaw <rearnsha@arm.com>
720 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
721 Add vlldm erratum work-around.
723 2021-08-21 John David Anglin <danglin@gcc.gnu.org>
725 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
727 2021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
729 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
730 (gcov_type_unsigned): Likewise.
732 2021-08-14 Stafford Horne <shorne@gmail.com>
735 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
736 * config/or1k/t-crtstuff: New file.
738 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
740 * libgcov-driver.c (#include <stdint.h>): Remove.
741 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
743 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
745 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
746 * gcov.h (gcov_info): Declare.
747 (__gcov_info_to_gdca): Likewise.
748 * libgcov.h (gcov_write_counter): Remove.
749 (gcov_write_tag_length): Likewise.
750 * libgcov-driver.c (#include <stdint.h>): New.
751 (#include <string.h>): Remove.
752 (NEED_L_GCOV): Conditionally define.
753 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
754 (are_all_counters_zero): New.
755 (gcov_dump_handler): Likewise.
756 (gcov_allocate_handler): Likewise.
757 (dump_unsigned): Likewise.
758 (dump_counter): Likewise.
759 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
760 Use dump_unsigned() and dump_counter().
761 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
762 dump_unsigned(), dump_counter(), and are_all_counters_zero().
763 (__gcov_info_to_gcda): New.
765 2021-08-05 Jakub Jelinek <jakub@redhat.com>
767 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
768 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
769 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
770 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
772 2021-08-04 Jakub Jelinek <jakub@redhat.com>
774 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
776 2021-07-15 Alan Modra <amodra@gmail.com>
778 * config/rs6000/morestack.S (R2_SAVE): Define.
779 (__morestack): Save and restore r2. Set up r2 for called
782 2021-07-01 H.J. Lu <hjl.tools@gmail.com>
784 * soft-fp/extendhfxf2.c: New file.
785 * soft-fp/truncxfhf2.c: Likewise.
787 2021-06-29 Julian Brown <julian@codesourcery.com>
789 * config/gcn/lib2-bswapti2.c: New file.
790 * config/gcn/lib2-divmod-di.c: New file.
791 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
793 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
794 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
797 2021-06-29 Julian Brown <julian@codesourcery.com>
799 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
800 return types to USItype.
801 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
803 2021-06-23 Kewen Lin <linkw@linux.ibm.com>
805 * configure: Regenerate.
806 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
807 typos among the name, CFLAGS and the test.
808 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
809 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
811 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
812 macro FLOAT128_HW_INSNS_ISA3_1.
813 (FP128_3_1_CFLAGS_HW): Fix option typo.
814 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
815 FLOAT128_HW_INSNS_ISA3_1.
816 (__floattikf_resolve): Likewise.
817 (__floatuntikf_resolve): Likewise.
818 (__fixkfti_resolve): Likewise.
819 (__fixunskfti_resolve): Likewise.
820 (__floattikf): Likewise.
821 (__floatuntikf): Likewise.
822 (__fixkfti): Likewise.
823 (__fixunskfti): Likewise.
825 2021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
828 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
830 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
831 on passing -mcmse option.
833 2021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
835 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
838 2021-06-09 Carl Love <cel@us.ibm.com>
840 * config.host: Add if test and set for
841 libgcc_cv_powerpc_3_1_float128_hw.
842 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
843 Change calls of __fixkfti to __fixkfti_sw.
844 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
845 Change calls of __fixunskfti to __fixunskfti_sw.
846 * config/rs6000/float128-p10.c (__floattikf_hw,
847 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
848 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
849 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
850 __fixunskfti_resolve): Add resolve functions.
851 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
852 * config/rs6000/float128-sed (floattitf, __floatuntitf,
853 __fixtfti, __fixunstfti): Add editor commands to change names.
854 * config/rs6000/float128-sed-hw (__floattitf,
855 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
857 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
858 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
859 * config/rs6000/quad-float128.h (__floattikf_sw,
860 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
861 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
862 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
863 * config/rs6000/t-float128 (floattikf, floatuntikf,
864 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
865 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
866 file names to fp128_ppc_funcs.
867 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
868 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
869 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
870 * config/rs6000/t-float128-p10-hw: New file.
871 * configure: Update script for isa 3.1 128-bit float support.
872 * configure.ac: Add check for 128-bit float hardware support.
873 * config/rs6000/fixkfti-sw.c: New file.
874 * config/rs6000/fixunskfti-sw.c: New file.
875 * config/rs6000/floattikf-sw.c: New file.
876 * config/rs6000/floatuntikf-sw.c: New file.
878 2021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
880 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
882 2021-05-13 Martin Liska <mliska@suse.cz>
884 * libgcov-driver.c: Fix GNU coding style.
886 2021-05-10 Martin Liska <mliska@suse.cz>
888 * libgcov-driver.c (gcov_version): Use different name that does
889 not clash with newly introduced macro.
891 2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
893 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
894 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
895 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
897 2021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
899 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
901 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
902 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
904 (__divkc3): Improve complex divide.
906 2021-04-23 Michael Meissner <meissner@linux.ibm.com>
909 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
910 trampoline size comparison in 32-bit by reversing test and
911 combining load immediate with compare.
912 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
913 in 32-bit by reversing test and combining load immediate with
916 2021-04-05 Florian Weimer <fweimer@redhat.com>
917 Michael Meissner <meissner@linux.ibm.com>
919 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
920 point functions for $(decimal_float) only.
922 2021-04-03 Jakub Jelinek <jakub@redhat.com>
925 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
926 $(objext) instead of $(object). Use _floatunditf instead of
927 _floatunsditf. Add tf <-> ti conversion objects.
928 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
930 2021-03-29 Michael Meissner <meissner@linux.ibm.com>
932 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
933 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
934 (fp128_decstr_objs): Delete.
935 * dfp-bit.h: Call __sprintfieee128 to do conversions from
936 _Float128 to a Decimal type. Call __strtoieee128 to do
937 conversions from a Decimal type to _Float128.
938 * config/rs6000/_sprintfkf.c: Delete file.
939 * config/rs6000/_sprintfkf.h: Delete file.
940 * config/rs6000/_strtokf.c: Delete file.
941 * config/rs6000/_strtokf.h: Delete file.
943 2021-03-23 Marcus Comstedt <marcus@mc.pp.se>
945 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
948 2021-03-06 Jakub Jelinek <jakub@redhat.com>
950 PR gcov-profile/99406
951 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
952 defined, define these macros if not defined already.
954 2021-03-04 Martin Liska <mliska@suse.cz>
956 PR gcov-profile/99105
957 * libgcov-driver.c (write_top_counters): Rename to ...
958 (write_topn_counters): ... this.
959 (write_one_data): Pre-allocate buffer for number of items
960 in the corresponding linked lists.
961 * libgcov.h (malloc_mmap): New function.
962 (allocate_gcov_kvp): Use it.
964 2021-03-04 Martin Liska <mliska@suse.cz>
966 PR gcov-profile/99385
967 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
969 2021-03-03 Martin Liska <mliska@suse.cz>
971 PR gcov-profile/97461
972 * config.in: Regenerate.
973 * configure: Likewise.
974 * configure.ac: Check sys/mman.h header file
975 * libgcov-driver.c (struct gcov_kvp): Remove static
976 pre-allocated pool and use a dynamic one.
977 * libgcov.h (MMAP_CHUNK_SIZE): New.
978 (gcov_counter_add): Use mmap to allocate pool for struct
981 2021-03-02 Michael Meissner <meissner@linux.ibm.com>
983 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
985 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
987 2021-02-24 Jakub Jelinek <jakub@redhat.com>
990 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
991 negation of m in unsigned type.
993 2021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
994 Hau Hsu <hsuhau617@gmail.com>
997 * config/arm/t-arm: Fix cmse support detection.
999 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
1001 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
1003 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
1005 * config/rs6000/_dd_to_kf.c: New file.
1006 * config/rs6000/_kf_to_dd.c: New file.
1007 * config/rs6000/_kf_to_sd.c: New file.
1008 * config/rs6000/_kf_to_td.c: New file.
1009 * config/rs6000/_sd_to_kf.c: New file.
1010 * config/rs6000/_sprintfkf.c: New file.
1011 * config/rs6000/_sprintfkf.h: New file.
1012 * config/rs6000/_strtokf.h: New file.
1013 * config/rs6000/_strtokf.c: New file.
1014 * config/rs6000/_td_to_kf.c: New file.
1015 * config/rs6000/quad-float128.h: Add new declarations.
1016 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
1017 (fp128_decstr_funcs): New macro.
1018 (ibm128_dec_funcs): New macro.
1019 (fp128_ppc_funcs): Add the new conversions.
1020 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
1021 compiled with -mabi=ieeelongdouble.
1022 (fp128_decstr_objs): Force __float128 <-> string conversions to be
1023 compiled with -mabi=ibmlongdouble.
1024 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
1025 compiled with -mabi=ieeelongdouble.
1026 (FP128_CFLAGS_DECIMAL): New macro.
1027 (IBM128_CFLAGS_DECIMAL): New macro.
1028 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
1029 (BFP_TO_DFP): Add PowerPC _Float128 support.
1030 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
1031 IEEE 128-bit floating point.
1032 (DFP_TO_BFP): Add PowerPC _Float128 support.
1033 (BFP_TO_DFP): Add PowerPC _Float128 support.
1034 (BFP_SPRINTF): New macro.
1036 2021-01-27 Jakub Jelinek <jakub@redhat.com>
1038 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
1039 * config/i386/savms64f.h: Likewise.
1040 * config/i386/resms64.h: Likewise.
1041 * config/i386/resms64f.h: Likewise.
1042 * config/i386/resms64x.h: Likewise.
1043 * config/i386/resms64fx.h: Likewise.
1045 2021-01-26 Martin Liska <mliska@suse.cz>
1047 PR gcov-profile/98739
1048 * libgcov.h (gcov_topn_add_value): Do not train when
1049 we have a merged profile with a negative number of total
1052 2021-01-25 Martin Liska <mliska@suse.cz>
1054 PR gcov-profile/98739
1055 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
1056 ends with a dropped counter.
1057 * libgcov.h (gcov_topn_add_value): Add return value.
1059 2021-01-13 Stafford Horne <shorne@gmail.com>
1061 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1062 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
1063 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
1064 FP_EX_ALL): New constant macros.
1065 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
1066 FP_HANDLE_EXCEPTIONS): New macros.
1067 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
1069 2021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
1071 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
1072 posix siginfo case to struct handler_args. Detect between legacy
1073 and siginfo from the second parameter, which is a small sigcode in
1074 the legacy case, and a pointer in the siginfo case.
1076 2020-12-20 Max Filippov <jcmvbkbc@gmail.com>
1078 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
1080 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
1083 2020-12-08 Ian Lance Taylor <iant@golang.org>
1085 * generic-morestack-thread.c (free_segments): Block signals during
1088 2020-12-03 Michael Meissner <meissner@linux.ibm.com>
1092 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
1093 (IBM128_SHARED_OBJS): New make variable.
1094 (IBM128_OBJS): New make variable. Set all objects to use the
1095 explicit IBM format, and disable gnu attributes.
1096 (IBM128_CFLAGS): New make variable.
1097 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
1100 2020-12-03 Alexandre Oliva <oliva@adacore.com>
1102 * config/t-vxworks (LIB2ADD): Drop.
1103 * config/t-vxworks7 (LIB2ADD): Likewise.
1104 * config/vxcache.c: Remove.
1106 2020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
1108 * libgcc2.c (bswapsi2): Make constants unsigned.
1110 2020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
1112 * libgcc2.c (absvSI2): Simplify/improve implementation by using
1113 builtin_add_overflow.
1114 (absvsi2, absvDI2): Likewise.
1116 2020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
1118 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
1119 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
1121 2020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1123 * config/msp430/lib2hw_mul.S (mult64_hw): New.
1124 (if MUL_32): Use mult64_hw for __muldi3.
1125 (if MUL_F5): Use mult64_hw for __muldi3.
1126 * config/msp430/lib2mul.c (__muldi3): New.
1127 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
1129 2020-11-17 Alan Modra <amodra@gmail.com>
1131 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
1132 (LIB2_SIDITI_CONV_FUNCS): Define.
1133 * config/rs6000/ppc64-fp.c: Delete file.
1135 2020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1137 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
1138 hwmult library functions.
1140 2020-11-10 Jeff Law <law@redhat.com>
1142 * libgcc2.c: Fix whitespace issues in most recent change.
1144 2020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
1146 * libgcc2.c (__addvSI3): Use overflow builtins.
1147 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
1148 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
1149 (__negvsi2, __negvDI2): Likewise.
1150 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
1152 * libgcc2.h (__ucmpdi2): Adjust prototype.
1154 2020-11-03 Pat Bernardi <bernardi@adacore.com>
1155 Olivier Hainque <hainque@adacore.com>
1157 * config.host (aarch64-vxworks7*, tmake_file): Add
1158 ${cpu_type}/t-lse and t-slibgcc-libgcc.
1160 2020-11-03 Martin Storsjö <martin@martin.st>
1162 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
1163 before calling the callback.
1165 2020-10-30 Olivier Hainque <hainque@adacore.com>
1166 Douglas Rupp <rupp@adacore.com>
1167 Pat Bernardi <bernardi@adacore.com>
1169 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
1170 to apply to VxWorks 7 as well.
1172 2020-10-29 Olivier Hainque <hainque@adacore.com>
1174 * config/gthr-vxworks-tls.c: Fix preprocessor logic
1175 controlling the definition of VX_ENTER_TLS_DTOR and
1176 VX_LEAVE_TLS_DTOR based on a version major check.
1178 2020-10-29 Olivier Hainque <hainque@adacore.com>
1180 * config/gthr-vxworks-thread.c: Fix name of macro used
1181 to condition the inclusion of an actual implementation.
1183 2020-10-27 Martin Liska <mliska@suse.cz>
1185 PR gcov-profile/97461
1186 * libgcov.h (gcov_counter_add): Use first static counters
1187 as it should help to have malloc wrappers set up.
1189 2020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1191 * config/gthr-vxworks-thread.c: #include gthr.h before
1192 testing the guard defined there.
1193 * config/gthr-vxworks-cond.c: Likewise.
1195 2020-10-21 Douglas Rupp <rupp@adacore.com>
1196 Olivier Hainque <hainque@adacore.com>
1198 * config.host (powerpc*-wrs-vxworks7*): New case.
1199 * configure.ac: Handle powerpc*-*-vxworks7* as
1200 powerpc*-*-linux* for ppc-fp_type.
1201 * configure: Regenerate.
1203 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1205 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
1206 section on VxWorks >= 6.
1207 * config/gthr-vxworks-thread.c: Condition the entire
1208 implementation on __GTHREAD_CXX0X.
1210 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1212 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
1213 section on VxWorks >= 6.
1214 * config/gthr-vxworks-cond.c: Condition the entire
1215 implementation on __GTHREAD_HAS_COND.
1217 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1219 * config/gthr-vxworks.c: #include <taskLib.h>.
1221 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1223 * config/gthr-vxworks.h: Rewrite remaining occurrence
1224 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
1226 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1227 Olivier Hainque <hainque@adacore.com>
1229 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
1230 except on VxWorks 6.
1232 2020-10-16 Olivier Hainque <hainque@adacore.com>
1234 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
1236 2020-10-14 Alexandre Oliva <oliva@adacore.com>
1238 * config/gthr-vxworks-thread.c: Include stdlib.h.
1239 (tls_delete_hook): Prototype it.
1240 (__gthread_cond_signal): Return early if no waiters. Consume
1241 signal in case the semaphore got full. Use semInfoGet instead
1242 of kernel-mode-only semInfo.
1243 (__gthread_cond_timedwait): Use semExchange. Always take the
1244 mutex again before returning.
1245 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
1247 2020-10-14 Olivier Hainque <hainque@adacore.com>
1249 * config/t-vxworks (LIBGCC2_INCLUDES): Append
1250 $(MULTISUBDIR) to the -I path for fixed headers, as we
1251 arrange to have different sets of such headers for different
1252 multilibs when they are activated.
1253 * config/t-vxworks7: Likewise.
1255 2020-10-14 Olivier Hainque <hainque@adacore.com>
1257 * config/t-vxworks: Add include-fixed to include search
1258 paths for libgcc on VxWorks.
1259 * config/t-vxworks7: Likewise.
1261 2020-10-09 H.J. Lu <hjl.tools@gmail.com>
1264 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
1265 instead of <cetintrin.h>.
1267 2020-10-01 Alan Modra <amodra@gmail.com>
1269 * config/rs6000/morestack.S,
1270 * config/rs6000/tramp.S: Support __PCREL__ code.
1272 2020-10-01 Alan Modra <amodra@gmail.com>
1274 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
1276 2020-09-29 Maciej W. Rozycki <macro@wdc.com>
1278 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
1281 2020-09-28 Richard Sandiford <richard.sandiford@arm.com>
1283 * config/aarch64/libgcc-softfp.ver: New file.
1284 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
1286 2020-09-27 Clement Chigot <clement.chigot@atos.net>
1288 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
1290 2020-09-22 Sergei Trofimovich <siarheit@google.com>
1292 PR gcov-profile/96913
1293 * libgcov-driver.c (write_one_data): Avoid function pointer
1294 comparison in TOP streaming decision.
1296 2020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
1297 Christophe Lyon <christophe.lyon@linaro.org>
1299 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
1301 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
1302 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
1305 2020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
1307 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
1308 unused variable warning.
1310 2020-09-16 Jojo R <jiejie_rong@c-sky.com>
1312 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
1314 2020-09-09 Tom de Vries <tdevries@suse.de>
1316 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
1317 Wbuiltin-declaration-mismatch.
1319 2020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1321 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
1322 * config/msp430/srai.S (__gnu_mspabi_srap): New.
1323 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
1325 2020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
1327 * config/nvptx/atomic.c: New.
1328 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
1330 2020-08-03 Ian Lance Taylor <iant@golang.org>
1332 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
1334 2020-08-03 Jakub Jelinek <jakub@redhat.com>
1337 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
1338 of x(tmp0), x(tmp1) in STXP arguments.
1340 2020-07-31 Maciej W. Rozycki <macro@wdc.com>
1342 * config/riscv/save-restore.S [__riscv_xlen == 64]
1343 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
1344 (__riscv_save_2): Replace negative immediates used for the final
1345 stack pointer adjustment with positive ones, right-shifted by 4.
1347 2020-07-31 Martin Liska <mliska@suse.cz>
1349 * libgcov-driver.c: Add __gcov_kvp_pool
1350 and __gcov_kvp_pool_index variables.
1351 * libgcov.h (allocate_gcov_kvp): New.
1352 (gcov_topn_add_value): Use it.
1354 2020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1356 * config/aarch64/lse.S: Add PAC property note.
1358 2020-07-23 Martin Liska <mliska@suse.cz>
1360 PR gcov-profile/96035
1361 * libgcov-driver-system.c: Create gcov folders with 0777
1362 so that it respects a system umask.
1364 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
1366 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
1368 2020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1371 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
1372 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
1373 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
1374 (MD_DEMANGLE_RETURN_ADDR): This.
1375 (aarch64_post_extract_frame_addr): Rename to ...
1376 (aarch64_demangle_return_addr): This.
1377 (aarch64_post_frob_eh_handler_addr): Remove.
1378 * unwind-dw2.c (uw_update_context): Demangle return address.
1379 (uw_frob_return_addr): Remove.
1381 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1384 * config/aarch64/lse.S: Add BTI marking and related definitions,
1385 and add BTI c to function entries.
1387 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1389 * config/aarch64/lse.S: Add stack note.
1391 2020-07-02 Martin Liska <mliska@suse.cz>
1393 PR gcov-profile/95348
1394 * libgcov-driver.c (merge_one_data): Merge only profiles
1395 that are not of non-zero type.
1396 (write_one_data): Write counters only if there's one non-zero
1398 * libgcov-util.c (tag_function): Change signature from unsigned
1400 (tag_blocks): Likewise.
1401 (tag_arcs): Likewise.
1402 (tag_counters): Likewise.
1403 (tag_summary): Likewise.
1404 (tag_lines): Read only if COUNTERS is non-zero.
1405 (read_gcda_file): Handle negative length for COUNTERS type.
1407 2020-06-25 Martin Liska <mliska@suse.cz>
1409 * libgcov-driver.c (merge_summary): Remove function as its name
1410 is misleading and doing something different.
1411 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
1413 * libgcov-util.c (curr_object_summary): Remove.
1414 (read_gcda_file): Remove unused curr_object_summary.
1415 (gcov_merge): Merge summaries.
1416 * libgcov.h: Add summary argument for gcov_info struct.
1418 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
1421 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
1422 "common/config/i386/i386-cpuinfo.h" and
1423 "common/config/i386/cpuinfo.h".
1424 (__cpu_features2): Changed to array.
1425 (get_amd_cpu): Removed.
1426 (get_intel_cpu): Likewise.
1427 (get_available_features): Likewise.
1428 (__cpu_indicator_init): Call cpu_indicator_init.
1429 * config/i386/cpuinfo.h: Removed.
1431 2020-06-23 David Edelsohn <dje.gcc@gmail.com>
1433 * Makefile.in: Remove uses of empty.mk. Use -include.
1434 * config/avr/t-avr: Use -include.
1437 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
1439 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
1440 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
1441 and 64 bit with -maix64.
1442 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
1443 Build and install AIX-style FAT libraries.
1445 2020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
1447 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
1449 * config/i386/gnu-unwind.h: New file.
1451 2020-06-17 Martin Liska <mliska@suse.cz>
1453 * libgcov-util.c (read_gcda_finalize): Remove const operator.
1454 (merge_wrapper): Add both counts and use them properly.
1455 (topn_to_memory_representation): New function.
1456 (gcov_merge): Covert on disk representation to in memory
1458 * libgcov.h: Remove const operator.
1460 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
1462 * configure: Regenerate.
1463 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
1464 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
1466 2020-06-09 Martin Liska <mliska@suse.cz>
1468 PR gcov-profile/95494
1469 * libgcov-driver.c (write_top_counters): Cast first to
1470 intptr_t as sizeof(*) != sizeof(gcov_type).
1471 * libgcov.h (gcov_counter_set_if_null): Remove.
1472 (gcov_topn_add_value): Cast first to intptr_t and update
1473 linked list directly.
1475 2020-06-09 Max Filippov <jcmvbkbc@gmail.com>
1477 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
1478 with uw_install_context_1.
1480 2020-06-04 Andreas Schwab <schwab@suse.de>
1484 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
1486 (LIB2ADD): Add config/ia64/divtf3.c.
1487 * config/ia64/divtf3.c: New file.
1489 2020-06-03 Martin Liska <mliska@suse.cz>
1491 PR gcov-profile/95480
1492 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
1493 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
1494 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
1495 (gcov_counter_set_if_null): Likewise.
1497 2020-06-02 Jim Wilson <jimw@sifive.com>
1499 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
1502 2020-06-02 Martin Liska <mliska@suse.cz>
1504 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
1507 2020-06-02 Martin Liska <mliska@suse.cz>
1509 * libgcov-driver.c (prune_topn_counter): Remove.
1510 (prune_counters): Likewise.
1511 (merge_one_data): Special case TOP N counters
1512 as they have variable length.
1513 (write_top_counters): New.
1514 (write_one_data): Special case TOP N.
1515 (dump_one_gcov): Do not prune TOP N counters.
1516 * libgcov-merge.c (merge_topn_values_set): Remove.
1517 (__gcov_merge_topn): Use gcov_topn_add_value.
1518 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1520 * libgcov.h (gcov_counter_add): New.
1521 (gcov_counter_set_if_null): Likewise.
1522 (gcov_topn_add_value): New.
1524 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
1526 * config/i386/sfp-exceptions.c (struct fenv):
1527 Add __attribute__ ((gcc_struct)).
1529 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
1532 * configure: Regenerated.
1534 2020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
1536 PR gcov-profile/95332
1537 * libgcov-util.c (read_gcda_file): Call gcov_magic.
1538 * libgcov.h (gcov_magic): Disable GCC poison.
1540 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
1543 * config/i386/cpuinfo.h (processor_features): Move
1544 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
1546 2020-05-20 H.J. Lu <hongjiu.lu@intel.com>
1549 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
1552 2020-05-19 H.J. Lu <hongjiu.lu@intel.com>
1556 * config/i386/cpuinfo.c (get_available_features): Fix
1557 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
1558 * config/i386/cpuinfo.h (processor_features): Add
1559 FEATURE_AVX512VP2INTERSECT.
1561 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
1564 * configure: Regenerated.
1566 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
1568 * configure: Regenerated.
1570 2020-05-09 Hans-Peter Nilsson <hp@axis.com>
1572 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
1573 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
1575 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
1577 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
1578 (__math_force_eval_div): New define.
1579 (__sfp_handle_exceptions): Use __math_force_eval_div to use
1580 generic division to generate INVALID, DIVZERO and INEXACT
1583 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1585 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
1586 instead of getauxval.
1588 (HWCAP_ATOMICS): Define.
1589 Guard detection on __gnu_linux__.
1591 2020-05-05 Michael Meissner <meissner@linux.ibm.com>
1593 * config.host: Delete changes meant for a private branch.
1594 * config/rs6000/t-float128: Likewise.
1595 * configure.ac: Likewise.
1596 * configure: Likewise.
1598 2020-05-05 Martin Liska <mliska@suse.cz>
1600 PR gcov-profile/93623
1601 * Makefile.in: Remove __gcov_flush.
1602 * gcov.h (__gcov_flush): Remove.
1603 * libgcov-interface.c (__gcov_flush): Remove.
1604 (init_mx): Use renamed mutex.
1605 (__gcov_lock): Likewise.
1606 (__gcov_unlock): Likewise.
1607 (__gcov_fork): Likewise.
1608 (__gcov_flush): Remove.
1610 2020-05-05 Martin Liska <mliska@suse.cz>
1612 PR gcov-profile/93623
1613 * libgcov-interface.c (__gcov_fork): Do not flush
1614 and reset only in child process.
1615 (__gcov_execl): Dump counters only and reset them
1616 only if exec* fails.
1617 (__gcov_execlp): Likewise.
1618 (__gcov_execle): Likewise.
1619 (__gcov_execv): Likewise.
1620 (__gcov_execvp): Likewise.
1621 (__gcov_execve): Likewise.
1623 2020-05-05 Martin Liska <mliska@suse.cz>
1625 PR gcov-profile/93623
1626 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
1627 * libgcov-interface.c (ALIAS_void_fn): Remove.
1629 (__gcov_unlock): New.
1630 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
1631 (__gcov_reset): Likewise.
1632 (__gcov_dump): Likewise.
1633 * libgcov.h (__gcov_lock): New declaration.
1634 (__gcov_unlock): Likewise.
1636 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
1638 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
1639 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
1640 generic division to generate INVALID and DIVZERO exceptions.
1642 2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
1644 * config/rs6000/crtresfpr.S: Use .machine ppc.
1645 * config/rs6000/crtresxfpr.S: Likewise.
1646 * config/rs6000/crtsavfpr.S: Likewise.
1648 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1651 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1652 Update context->flags accroding to the frame state.
1654 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
1656 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
1657 Remove unneeded assignments to volatile memory.
1659 2020-04-15 Jakub Jelinek <jakub@redhat.com>
1662 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
1663 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
1664 is not defined, use just .arch armv8-a.
1665 (B, M, N, OPN): Define.
1666 (COMMENT): New .macro.
1667 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
1668 defined. Otherwise, move the operands right after the glue? and
1669 comment out operands where the macros are used.
1670 * configure: Regenerated.
1671 * config.in: Regenerated.
1673 2020-04-07 Ian Lance Taylor <iant@golang.org>
1676 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
1679 2020-04-04 Ian Lance Taylor <iant@golang.org>
1681 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
1683 2020-04-03 Ian Lance Taylor <iant@golang.org>
1685 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
1686 than mmap/munmap, to avoid hooks.
1688 2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
1690 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
1691 (TPFRA_OFFSET): Macros removed.
1692 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
1693 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
1694 (PG3_SKIPPING_OFFSET): New macros.
1695 (__isPATrange): Use cinfc_fast for the check.
1696 (__isSkipResetAddr): New function.
1697 (s390_fallback_frame_state): Check for skip trace addresses. Use
1698 either ICST_CRET or ICST_SRET to calculate return address
1700 (__tpf_eh_return): Handle skip trace addresses.
1702 2020-03-26 Richard Earnshaw <rearnsha@arm.com>
1705 * config/arm/lib1funcs.asm (COND): Use a single definition for
1707 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
1708 (aeabi_idivmod): Likewise.
1709 (divsi3_skip_div0_test): Likewise.
1711 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
1713 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
1715 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
1717 * config.host: Include the new makefile fragment.
1718 * config/s390/t-tpf: New file.
1720 2020-03-03 Richard Earnshaw <rearnsha@arm.com>
1722 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
1724 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
1725 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
1726 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
1727 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
1728 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
1730 (divsi3, modsi3): Likewise.
1731 (clzdi2, ctzsi2): Likewise.
1732 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
1734 (UNWIND_WRAPPER): Likewise.
1736 2020-03-02 Martin Liska <mliska@suse.cz>
1738 * libgcov-interface.c: Remove duplicate
1739 declaration of __gcov_flush_mx.
1741 2020-02-18 Martin Liska <mliska@suse.cz>
1744 * libgcov-merge.c (merge_topn_values_set): Record
1745 when a TOP N counter becomes invalid. When merging
1746 remove a smallest value if the space is needed.
1748 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
1753 * configure: Regenerated.
1755 2020-02-10 Jeff Law <law@redhat.com>
1757 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
1759 * config/frv/frvend.c: Similarly.
1761 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
1764 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1767 2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
1770 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
1771 _Unwind_gnu_Find_got.
1772 * unwind-pe.h: Likewise.
1774 2020-02-07 Jakub Jelinek <jakub@redhat.com>
1777 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
1778 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
1779 trailing :s in asm. Formatting fixes.
1780 (_Unwind_decode_typeinfo_ptr): Adjust caller.
1782 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
1784 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
1786 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
1787 * config/nios2-elf-lib.h: New.
1788 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
1789 code for finding GOT base for nios2.
1791 2020-01-27 Martin Liska <mliska@suse.cz>
1793 PR gcov-profile/93403
1794 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
1795 Call __gcov_indirect_call_profiler_body.
1796 (__gcov_indirect_call_profiler_body): New.
1797 (__gcov_indirect_call_profiler_v4_atomic): New.
1798 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
1801 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
1803 * config/arc/crti.S: Add RF16 object attribute.
1804 * config/arc/crtn.S: Likewise.
1805 * config/arc/crttls.S: Likewise.
1806 * config/arc/lib1funcs.S: Likewise.
1807 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
1808 * config/arc/lib2funcs.c: New file.
1809 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
1811 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
1813 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
1814 * configure.ac: Handle `--with-toolexeclibdir='.
1815 * configure: Regenerate.
1817 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1819 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
1821 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1823 * config/mips/gnustack.h: New file.
1824 * config/mips/crti.S: Include gnustack.h.
1825 * config/mips/crtn.S: Likewise.
1826 * config/mips/mips16.S: Likewise.
1827 * config/mips/vr4120-div.S: Likewise.
1829 2020-01-23 Martin Liska <mliska@suse.cz>
1831 * libgcov-driver.c (prune_topn_counter): Remove
1832 check for -1 as we only prune run-time counters
1833 that do not generate an invalid state.
1835 2020-01-22 Martin Liska <mliska@suse.cz>
1837 PR tree-optimization/92924
1838 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
1839 try to find an existing value, then find an empty slot
1842 2020-01-22 Martin Liska <mliska@suse.cz>
1844 PR tree-optimization/92924
1845 * libgcov-driver.c (prune_topn_counter): New.
1846 (prune_counters): Likewise.
1847 (dump_one_gcov): Prune a run-time counter.
1848 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1849 For a known value, add GCOV_TOPN_VALUES to value.
1850 Otherwise, decrement all counters by one.
1852 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
1854 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
1856 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
1859 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
1860 DEFAULT_USE_CXA_ATEXIT is true.
1862 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
1863 Thomas Preud'homme <thomas.preudhomme@arm.com>
1865 * config/arm/t-arm: Check return value of gcc rather than lack of
1868 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
1870 * config/avr/lib1funcs.S (skip): Simplify.
1872 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
1874 * config/gcn/atomic.c: Remove include of stdint.h.
1875 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
1878 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
1880 * config/gcn/atomic.c: New.
1881 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
1883 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
1885 Implement 64-bit double functions.
1888 * config.host (tmake_file) [target=avr]: Add t-libf7,
1889 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
1890 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
1891 depending on sizeof (double) or sizeof (long double).
1892 * config/avr/libf7: New folder.
1894 2020-01-05 Olivier Hainque <hainque@adacore.com>
1896 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
1899 2020-01-01 Jakub Jelinek <jakub@redhat.com>
1901 Update copyright years.
1903 2019-12-30 Olivier Hainque <hainque@adacore.com>
1905 * config/gthr-vxworks.h: Use _vxworks-versions.h.
1906 * config/gthr-vxworks-tls.c: Likewise.
1908 2019-12-30 Olivier Hainque <hainque@adacore.com>
1910 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
1911 standard zero-initializer syntax.
1913 2019-12-30 Olivier Hainque <hainque@adacore.com>
1915 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
1916 reference to the internal VX_GET_TLS_DATA interface.
1918 2019-12-30 Olivier Hainque <hainque@adacore.com>
1920 * config/vxcrtstuff.c: Fix incorrect spelling of
1921 USE_INITFINI_ARRAY in guard.
1923 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1925 * config.host: s/msp430*-*-elf/msp430-*-elf*.
1926 Override default "extra_parts" variable.
1927 * configure: Regenerate.
1928 * configure.ac: Disable TM clone registry by default for
1931 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1933 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
1935 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
1937 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1939 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
1942 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1944 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
1945 defined instead of its value.
1947 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1949 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
1950 if it will have contents.
1952 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
1955 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
1957 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1960 * config.host: Add t-gthr-noweak on *-*-musl*.
1961 * config/t-gthr-noweak: New file.
1963 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
1965 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
1966 volatile void *. Remove trap check.
1967 (__kernel_cmpxchg2): Likewise.
1968 (FETCH_AND_OP_2): Adjust operand types.
1969 (OP_AND_FETCH_2): Likewise.
1970 (FETCH_AND_OP_WORD): Likewise.
1971 (OP_AND_FETCH_WORD): Likewise.
1972 (COMPARE_AND_SWAP_2): Likewise.
1973 (__sync_val_compare_and_swap_4): Likewise.
1974 (__sync_bool_compare_and_swap_4): Likewise.
1975 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1976 (__sync_lock_test_and_set_4): Likewise.
1977 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
1978 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
1980 (__sync_lock_release_8): Remove.
1982 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
1984 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
1987 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
1988 Doug Rupp <rupp@adacore.com>
1989 Olivier Hainque <hainque@adacore.com>
1991 * config.host: Collapse the arm-vxworks entries into
1992 a single arm-wrs-vxworks7* one.
1993 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
1994 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
1995 kernel modules, to be overriden by libstdc++ when we link with
1996 it. Rely on externally provided __exidx_start/end.
1998 2019-11-14 Doug Rupp <rupp@adacore.com>
1999 Olivier Hainque <hainque@adacore.com>
2001 * config.host: Handle aarch64*-wrs-vxworks7*.
2003 2019-11-12 Olivier Hainque <hainque@adacore.com>
2005 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
2006 sources except the cxx0x support to LIB2ADDEH. We don't support
2008 * config/t-vxworksae: New file.
2009 * config.host: Handle *-*-vxworksae: Add the two aforementioned
2010 Makefile fragment files at their expected position in the tmake_file
2011 list, in accordance with what is done for other VxWorks variants.
2013 2019-11-12 Corentin Gay <gay@adacore.com>
2014 Jerome Lambourg <lambourg@adacore.com>
2015 Olivier Hainque <hainque@adacore.com>
2017 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
2018 sources to LIB2ADDEH.
2019 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
2020 * config/t-vxworks7: Likewise.
2022 * config.host: Append a block at the end of the file to add the
2023 t-gthr files to the tmake_file list for VxWorks after everything
2026 * config/vxlib.c: Rename as gthr-vxworks.c.
2027 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
2029 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
2030 API and a basic error checking API, both internal. Simplify the
2031 __gthread_once_t type definition and initializers. Add sections
2032 for condition variables support and for the C++0x thread support,
2033 conditioned against Vx653 for the latter.
2035 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
2036 implementation, leveraging the TAS internal API.
2037 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
2038 API, leveraging the general availability of TLS services in VxWorks7
2040 (__gthread_setspecific, __gthread_setspecific): Use it.
2041 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
2042 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
2043 support based on VxWorks primitives.
2044 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
2045 based on VxWorks primitives.
2047 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
2048 Olivier Hainque <hainque@adacore.com>
2050 * config/vxcrtstuff.c: New file.
2051 * config/t-vxcrtstuff: New Makefile fragment.
2052 * config.host: Append t-vxcrtstuff to the tmake_file list
2053 on all VxWorks ports using dwarf for table based EH.
2055 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
2057 Support 64-bit double and 64-bit long double configurations.
2060 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
2061 long double is a 32-bit type.
2062 * config/avr/t-avrlibc: Copy double64 and long-double64
2063 multilib(s) from the vanilla one.
2064 * config/avr/t-copy-libgcc: New Makefile snip.
2066 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2068 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
2069 the target output object format is not ELF.
2070 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
2072 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
2075 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
2076 * fp-bit.c (pack_d, unpack_d): Remove special cases for
2077 FLOAT_BIT_ORDER_MISMATCH.
2078 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
2080 2019-11-01 Jim Wilson <jimw@sifive.com>
2082 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
2084 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2086 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
2087 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
2088 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
2089 Define symbols for 32-bit and f5series hardware multiply
2091 Replace hard-coded register addresses with symbols.
2092 Fix "_mspabi*" typo.
2094 * config/msp430/lib2mul.c: Add comment.
2096 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
2098 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
2099 unsigned int. Adjust callers.
2100 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
2101 unsigned int *. Load relocation offset before function pointer.
2102 Add barrier to ensure ordering.
2104 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
2106 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
2107 Load PIC register after branch target. Fix white space.
2108 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
2109 implementations. Load PIC register after branch target. Don't
2110 clobber function pointer when it points to function descriptor.
2111 Use nullification instead of branch in LINUX implementation.
2113 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
2115 * config/pa/fptr.c: Disable -Warray-bounds warning.
2117 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
2119 * config.in, configure: Re-rebuild with stock autoconf 2.69,
2120 not the ubuntu modified 2.69.
2123 * config/aarch64/lse-init.c: Include auto-target.h. Disable
2124 initialization if !HAVE_SYS_AUXV_H.
2125 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
2126 * config.in, configure: Rebuild.
2129 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
2132 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
2134 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
2135 CTR_EL0.IDC and CTR_EL0.DIC.
2137 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
2140 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2141 Mickaël Guêné <mickael.guene@st.com>
2143 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2146 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
2148 * config/aarch64/lse-init.c: New file.
2149 * config/aarch64/lse.S: New file.
2150 * config/aarch64/t-lse: New file.
2151 * config.host: Add t-lse to all aarch64 tuples.
2153 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2154 Mickaël Guêné <mickael.guene@st.com>
2156 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2159 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2160 Mickaël Guêné <mickael.guene@st.com>
2162 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
2163 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
2164 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
2165 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
2166 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
2167 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
2168 (__gnu_personality_sigframe_fdpic): New.
2169 (get_eit_entry): Add FDPIC signal frame support.
2171 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2172 Mickaël Guêné <mickael.guene@st.com>
2174 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
2175 (__kernel_dmb): Likewise.
2176 (__fdpic_cmpxchg): New function.
2177 (__fdpic_dmb): New function.
2178 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
2179 (gnu_Unwind_Find_got): New function.
2180 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
2181 * unwind-arm-common.inc (UCB_PR_GOT): New.
2182 (funcdesc_t): New struct.
2183 (get_eit_entry): Add FDPIC support.
2184 (unwind_phase2): Likewise.
2185 (unwind_phase2_forced): Likewise.
2186 (__gnu_Unwind_RaiseException): Likewise.
2187 (__gnu_Unwind_Resume): Likewise.
2188 (__gnu_Unwind_Backtrace): Likewise.
2189 * unwind-pe.h (read_encoded_value_with_base): Likewise.
2191 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2192 Mickaël Guêné <mickael.guene@st.com>
2194 * libgcc/crtstuff.c: Add support for FDPIC.
2196 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2198 * config.host: Handle *-*-uclinuxfdpiceabi.
2200 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2202 * config.host: Set cpu_type for bpf-*-* targets.
2203 * config/bpf/t-bpf: Likewise.
2204 * config/bpf/crtn.S: Likewise.
2205 * config/bpf/crti.S: New file.
2207 2019-09-06 Jim Wilson <jimw@sifive.com>
2209 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2210 (riscv*-*-freebsd*): Likewise.
2212 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
2214 * config.host: Remove references to spu.
2215 * config/spu/: Remove directory.
2217 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2220 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
2221 element type, instead of "sizeof" the element type.
2222 (__DTOR_LIST__): Likewise.
2223 (__TMC_LIST__): Likewise.
2224 (__do_global_dtors_aux_fini_array_entry): Likewise.
2225 (__frame_dummy_init_array_entry): Likewise.
2226 (__CTOR_END__): Likewise.
2227 (__DTOR_END__): Likweise.
2228 (__FRAME_END__): Likewise.
2229 (__TMC_END__): Likewise.
2231 2019-08-20 Lili Cui <lilicui@intel.com>
2233 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
2234 INTEL_COREI7_COOPERLAKE.
2236 2019-07-31 Matt Thomas <matt@3am-software.com>
2237 Nick Hudson <nick@nthcliff.demon.co.uk>
2238 Matthew Green <mrg@eterna.com.au>
2239 Maya Rashish <coypu@sdf.org>
2241 * config.host (hppa*-*-netbsd*): New case.
2242 * config/pa/t-netbsd: New file.
2244 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
2246 * config/arm/cmse.c (cmse_check_address_range): Add
2247 warn_unused_result attribute.
2249 2019-07-22 Martin Liska <mliska@suse.cz>
2251 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
2252 * config/pa/t-stublib: Likewise.
2254 2019-07-22 Stafford Horne <shorne@gmail.com>
2257 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
2258 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
2259 instructions are not available on every processor. Change a
2260 l.bnf to l.bf to fix logic issue.
2262 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
2264 * config.host: Remove reference to t-darwin8.
2266 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
2268 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
2270 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
2271 mmacosx-version-min for crts to run across all system versions.
2272 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
2273 * config/t-darwin: Revise mmacosx-version-min for crts to run across
2274 system versions >= 10.4.
2276 2019-07-03 Martin Liska <mliska@suse.cz>
2278 * Makefile.in: Use topn_values instead of one_value names.
2279 * libgcov-merge.c (__gcov_merge_single): Move to ...
2280 (__gcov_merge_topn): ... this.
2281 (merge_single_value_set): Move to ...
2282 (merge_topn_values_set): ... this.
2283 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
2285 (__gcov_topn_values_profiler_body): ... this.
2286 (__gcov_one_value_profiler_v2): Move to ...
2287 (__gcov_topn_values_profiler): ... this.
2288 (__gcov_one_value_profiler_v2_atomic): Move to ...
2289 (__gcov_topn_values_profiler_atomic): ... this.
2290 (__gcov_indirect_call_profiler_v4): Remove.
2291 * libgcov-util.c (__gcov_single_counter_op): Move to ...
2292 (__gcov_topn_counter_op): ... this.
2293 * libgcov.h (L_gcov_merge_single): Remove.
2294 (L_gcov_merge_topn): New.
2295 (__gcov_merge_single): Remove.
2296 (__gcov_merge_topn): New.
2297 (__gcov_one_value_profiler_v2): Move to ..
2298 (__gcov_topn_values_profiler): ... this.
2299 (__gcov_one_value_profiler_v2_atomic): Move to ...
2300 (__gcov_topn_values_profiler_atomic): ... this.
2302 2019-07-03 Martin Liska <mliska@suse.cz>
2304 * libgcov-merge.c (merge_single_value_set): Support N values.
2305 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
2307 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
2309 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
2310 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
2311 * configure.ac: Add --disable-tm-clone-registry option.
2312 * configure: Regenerate.
2314 2019-06-27 Martin Liska <mliska@suse.cz>
2316 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
2318 * libgcov-util.c: Likewise.
2320 2019-06-27 Martin Liska <mliska@suse.cz>
2322 * libgcov-util.c (gcov_profile_merge): Release allocated
2324 (calculate_overlap): Likewise.
2326 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
2328 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
2329 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
2330 Build objects for the out of line save/restore register functions
2331 so that they can be used for any supported Darwin version.
2332 * config/t-darwin: Default the build Darwin version to Darwin8
2335 2019-06-25 Martin Liska <mliska@suse.cz>
2337 * libgcov-driver-system.c (replace_filename_variables): Do not
2338 call strlen with NULL argument.
2340 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
2342 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
2343 * config/gcn/unwind-gcn.c: New file.
2345 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
2346 Andrew Stubbs <ams@codesourcery.com>
2348 * configure: Regenerate.
2349 * config/gcn/gthr-gcn.h: New.
2351 2019-06-18 Tom de Vries <tdevries@suse.de>
2353 * config/nvptx/crt0.c (__main): Declare.
2355 2019-06-17 Matthew Green <mrg@eterna.com.au>
2356 Maya Rashish <coypu@sdf.org>
2358 * config.host (aarch64*-*-netbsd*): New case.
2360 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2362 * config/msp430/slli.S (__mspabi_sllll): New library function for
2363 performing a logical left shift of a 64-bit value.
2364 * config/msp430/srai.S (__mspabi_srall): New library function for
2365 performing a arithmetic right shift of a 64-bit value.
2366 * config/msp430/srll.S (__mspabi_srlll): New library function for
2367 performing a logical right shift of a 64-bit value.
2369 2019-06-14 Matt Thomas <matt@3am-software.com>
2370 Matthew Green <mrg@eterna.com.au>
2371 Nick Hudson <skrll@netbsd.org>
2372 Maya Rashish <coypu@sdf.org>
2374 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
2375 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
2377 * config/arm/t-netbsd-eabi: New file.
2379 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
2381 * config.host: Add PRU target.
2382 * config/pru/asri.c: New file.
2383 * config/pru/eqd.c: New file.
2384 * config/pru/eqf.c: New file.
2385 * config/pru/ged.c: New file.
2386 * config/pru/gef.c: New file.
2387 * config/pru/gtd.c: New file.
2388 * config/pru/gtf.c: New file.
2389 * config/pru/led.c: New file.
2390 * config/pru/lef.c: New file.
2391 * config/pru/lib2bitcountHI.c: New file.
2392 * config/pru/lib2divHI.c: New file.
2393 * config/pru/lib2divQI.c: New file.
2394 * config/pru/lib2divSI.c: New file.
2395 * config/pru/libgcc-eabi.ver: New file.
2396 * config/pru/ltd.c: New file.
2397 * config/pru/ltf.c: New file.
2398 * config/pru/mpyll.S: New file.
2399 * config/pru/pru-abi.h: New file.
2400 * config/pru/pru-asm.h: New file.
2401 * config/pru/pru-divmod.h: New file.
2402 * config/pru/sfp-machine.h: New file.
2403 * config/pru/t-pru: New file.
2405 2019-06-11 Jakub Jelinek <jakub@redhat.com>
2407 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
2409 2019-06-10 Martin Liska <mliska@suse.cz>
2412 * libgcov.h: Add ATTRIBUTE_UNUSED.
2414 2019-06-10 Martin Liska <mliska@suse.cz>
2416 * Makefile.in: Add __gcov_one_value_profiler_v2,
2417 __gcov_one_value_profiler_v2_atomic and
2418 __gcov_indirect_call_profiler_v4.
2419 * libgcov-merge.c (__gcov_merge_single): Change
2421 (merge_single_value_set): New.
2422 * libgcov-profiler.c (__gcov_one_value_profiler_body):
2423 Update functionality.
2424 (__gcov_one_value_profiler): Remove.
2425 (__gcov_one_value_profiler_v2): ... this.
2426 (__gcov_one_value_profiler_atomic): Rename to ...
2427 (__gcov_one_value_profiler_v2_atomic): this.
2428 (__gcov_indirect_call_profiler_v3): Rename to ...
2429 (__gcov_indirect_call_profiler_v4): ... this.
2430 * libgcov.h (__gcov_one_value_profiler): Remove.
2431 (__gcov_one_value_profiler_atomic): Remove.
2432 (__gcov_one_value_profiler_v2_atomic): New.
2433 (__gcov_indirect_call_profiler_v3): Remove.
2434 (__gcov_one_value_profiler_v2): New.
2435 (__gcov_indirect_call_profiler_v4): New.
2436 (gcov_get_counter_ignore_scaling): New function.
2438 2019-06-07 Martin Liska <mliska@suse.cz>
2440 * Makefile.in: Remove usage of
2441 _gcov_merge_icall_topn.
2442 * libgcov-driver.c (gcov_sort_n_vals): Remove.
2443 (gcov_sort_icall_topn_counter): Likewise.
2444 (gcov_sort_topn_counter_arrays): Likewise.
2445 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
2446 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
2447 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
2449 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
2450 (struct indirect_call_tuple): Remove.
2451 (__gcov_indirect_call_topn_profiler): Remove.
2452 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
2453 * libgcov.h (gcov_sort_n_vals): Remove.
2454 (L_gcov_merge_icall_topn): Likewise.
2455 (__gcov_merge_icall_topn): Likewise.
2456 (__gcov_indirect_call_topn_profiler): Likewise.
2458 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
2460 * config/rs6000/t-darwin: Ensure that the unwinder is built with
2463 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2465 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
2467 (__mspabi_slli): Likewise.
2468 (__mspabi_slll_n): Likewise.
2469 (__mspabi_slll): Likewise.
2470 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
2471 (__mspabi_srai): Likewise.
2472 (__mspabi_sral_n): Likewise.
2473 (__mspabi_sral): Likewise.
2474 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
2475 (__mspabi_srli): Likewise.
2476 (__mspabi_srll_n): Likewise.
2477 (__mspabi_srll): Likewise.
2479 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
2481 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
2482 Add appropriate tm_file clause as well.
2483 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
2485 2019-06-05 James Clarke <jrtc27@jrtc27.com>
2487 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
2488 rather than .data/.bss so it can be accessed via gp-relative
2491 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
2493 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
2494 (CR2_REGNO): Rename to R_CR2.
2495 (XER_REGNO): Rename to R_XER.
2496 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
2497 (VRSAVE_REGNO): Rename to R_VRSAVE.
2498 (VSCR_REGNO): R_VSCR.
2500 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
2502 * config.host (rx-*-linux*): Add new case.
2503 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
2505 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
2507 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
2509 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
2510 aarch64_post_frob_eh_handler_addr): Add check for b-key.
2511 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
2512 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
2513 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
2514 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
2516 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
2518 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
2520 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2522 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
2523 Remove Solaris 9 and 10 support.
2524 (sparc_is_sighandler): Likewise.
2526 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
2528 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
2530 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
2532 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2533 4_FP_W_TYPEs are used for IEEE quad precision.
2534 * soft-fp/extendhftf2.c: Likewise.
2535 * soft-fp/extendsftf2.c: Likewise.
2536 * soft-fp/extendxftf2.c: Likewise.
2537 * soft-fp/trunctfdf2.c: Likewise.
2538 * soft-fp/trunctfhf2.c: Likewise.
2539 * soft-fp/trunctfsf2.c: Likewise.
2540 * soft-fp/trunctfxf2.c: Likewise.
2541 * config/rs6000/ibm-ldouble.c: Likewise.
2543 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2545 * config.host: Simplify various *-*-solaris2.1[0-9]* to
2547 * configure.ac: Likewise.
2548 * configure: Regenerate.
2550 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2551 Solaris 10 and Solaris 11 < snv_125 handling.
2553 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
2555 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
2557 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
2559 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
2560 * config/i386/cpuinfo.h (enum processor_features): Add
2563 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2564 Bernd Edlinger <bernd.edlinger@hotmail.de>
2565 Jakub Jelinek <jakub@redhat.com>
2568 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
2569 * config/arm/unwind-arm.c: Likewise.
2570 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
2573 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
2575 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
2576 (RT_SIGRETURN): Update.
2577 (nds32_fallback_frame_state): Update.
2579 2019-02-21 Martin Sebor <msebor@redhat.com>
2581 * libgcc2.h (__clear_cache): Correct signature.
2582 * libgcc2.c (__clear_cache): Same.
2584 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
2586 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
2587 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
2589 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
2591 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
2592 regno instead of index to DWARF_ZERO_REG.
2594 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
2596 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
2597 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
2599 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
2601 * config/alpha/t-linux: Add -mfp-rounding-mode=d
2602 to HOST_LIBGCC2_CFLAGS.
2604 2019-01-23 Joseph Myers <joseph@codesourcery.com>
2607 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
2609 2019-01-18 Martin Liska <mliska@suse.cz>
2611 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
2613 (__gcov_indirect_call_profiler_v3): ... this.
2614 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
2615 (__gcov_indirect_call_profiler_v3): Likewise.
2616 * Makefile.in: Bump function name.
2618 2019-01-18 Martin Liska <mliska@suse.cz>
2620 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
2621 (gcov_version): Use in gcov_error.
2622 (merge_one_data): Likewise.
2623 (dump_one_gcov): Likewise.
2625 2019-01-18 Martin Liska <mliska@suse.cz>
2627 * libgcov-driver.c (gcov_version_string): New function.
2628 (gcov_version): Convert version integer into string.
2630 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
2631 Kwok Cheung Yeung <kcy@codesourcery.com>
2632 Julian Brown <julian@codesourcery.com>
2633 Tom de Vries <tom@codesourcery.com>
2635 * config.host: Recognize amdgcn*-*-amdhsa.
2636 * config/gcn/crt0.c: New file.
2637 * config/gcn/lib2-divmod-hi.c: New file.
2638 * config/gcn/lib2-divmod.c: New file.
2639 * config/gcn/lib2-gcn.h: New file.
2640 * config/gcn/sfp-machine.h: New file.
2641 * config/gcn/t-amdgcn: New file.
2643 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
2647 * config/c6x/libunwind.S: Mechanically replace "can not" with
2649 * config/tilepro/atomic.h: Likewise.
2650 * config/vxlib-tls.c: Likewise.
2651 * generic-morestack-thread.c: Likewise.
2652 * generic-morestack.c: Likewise.
2653 * mkmap-symver.awk: Likewise.
2655 2019-01-01 Jakub Jelinek <jakub@redhat.com>
2657 Update copyright years.
2659 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2661 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
2662 to ignore -Waddress-of-packed-member.
2664 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
2666 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
2667 parameter and corresponding code.
2668 (ARM_FUNC_START): Likewise in both definitions.
2669 Also update footer comment about condition that need to match with
2670 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
2671 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
2672 defined. Weakly define it in this case.
2673 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
2674 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
2675 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
2676 comment to keep condition in sync with the one in
2677 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
2679 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
2681 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
2682 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
2684 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2686 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
2687 and .cfi_endproc directives for VxWorks targets.
2689 2018-12-05 Paul Koning <ni1d@arrl.net>
2691 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
2693 2018-11-27 Alan Modra <amodra@gmail.com>
2695 * config/rs6000/morestack.S (__stack_split_initialize),
2696 (__morestack_get_guard, __morestack_set_guard),
2697 (__morestack_make_guard): Provide CFI covering these functions.
2698 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
2700 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2702 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
2703 (sc_pt_regs_lr): Update for kernel.
2704 (sc_pt_regs_tls): Update for kernel.
2706 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2708 * config/csky/linux-unwind.h: Fix coding style.
2710 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
2712 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
2713 (csky_fallback_frame_state): Modify the check of the
2714 instructions to adapt to changes in the kernel
2716 2018-11-09 Stafford Horne <shorne@gmail.com>
2717 Richard Henderson <rth@twiddle.net>
2719 * config.host: Add OpenRISC support.
2720 * config/or1k/*: New.
2722 2018-11-08 Kito Cheng <kito@andestech.com>
2724 * soft-fp/adddf3.c: Update from glibc.
2725 * soft-fp/addsf3.c: Likewise.
2726 * soft-fp/addtf3.c: Likewise.
2727 * soft-fp/divdf3.c: Likewise.
2728 * soft-fp/divsf3.c: Likewise.
2729 * soft-fp/divtf3.c: Likewise.
2730 * soft-fp/double.h: Likewise.
2731 * soft-fp/eqdf2.c: Likewise.
2732 * soft-fp/eqsf2.c: Likewise.
2733 * soft-fp/eqtf2.c: Likewise.
2734 * soft-fp/extenddftf2.c: Likewise.
2735 * soft-fp/extended.h: Likewise.
2736 * soft-fp/extendhftf2.c: Likewise.
2737 * soft-fp/extendsfdf2.c: Likewise.
2738 * soft-fp/extendsftf2.c: Likewise.
2739 * soft-fp/extendxftf2.c: Likewise.
2740 * soft-fp/fixdfdi.c: Likewise.
2741 * soft-fp/fixdfsi.c: Likewise.
2742 * soft-fp/fixdfti.c: Likewise.
2743 * soft-fp/fixhfti.c: Likewise.
2744 * soft-fp/fixsfdi.c: Likewise.
2745 * soft-fp/fixsfsi.c: Likewise.
2746 * soft-fp/fixsfti.c: Likewise.
2747 * soft-fp/fixtfdi.c: Likewise.
2748 * soft-fp/fixtfsi.c: Likewise.
2749 * soft-fp/fixtfti.c: Likewise.
2750 * soft-fp/fixunsdfdi.c: Likewise.
2751 * soft-fp/fixunsdfsi.c: Likewise.
2752 * soft-fp/fixunsdfti.c: Likewise.
2753 * soft-fp/fixunshfti.c: Likewise.
2754 * soft-fp/fixunssfdi.c: Likewise.
2755 * soft-fp/fixunssfsi.c: Likewise.
2756 * soft-fp/fixunssfti.c: Likewise.
2757 * soft-fp/fixunstfdi.c: Likewise.
2758 * soft-fp/fixunstfsi.c: Likewise.
2759 * soft-fp/fixunstfti.c: Likewise.
2760 * soft-fp/floatdidf.c: Likewise.
2761 * soft-fp/floatdisf.c: Likewise.
2762 * soft-fp/floatditf.c: Likewise.
2763 * soft-fp/floatsidf.c: Likewise.
2764 * soft-fp/floatsisf.c: Likewise.
2765 * soft-fp/floatsitf.c: Likewise.
2766 * soft-fp/floattidf.c: Likewise.
2767 * soft-fp/floattihf.c: Likewise.
2768 * soft-fp/floattisf.c: Likewise.
2769 * soft-fp/floattitf.c: Likewise.
2770 * soft-fp/floatundidf.c: Likewise.
2771 * soft-fp/floatundisf.c: Likewise.
2772 * soft-fp/floatunditf.c: Likewise.
2773 * soft-fp/floatunsidf.c: Likewise.
2774 * soft-fp/floatunsisf.c: Likewise.
2775 * soft-fp/floatunsitf.c: Likewise.
2776 * soft-fp/floatuntidf.c: Likewise.
2777 * soft-fp/floatuntihf.c: Likewise.
2778 * soft-fp/floatuntisf.c: Likewise.
2779 * soft-fp/floatuntitf.c: Likewise.
2780 * soft-fp/gedf2.c: Likewise.
2781 * soft-fp/gesf2.c: Likewise.
2782 * soft-fp/getf2.c: Likewise.
2783 * soft-fp/half.h: Likewise.
2784 * soft-fp/ledf2.c: Likewise.
2785 * soft-fp/lesf2.c: Likewise.
2786 * soft-fp/letf2.c: Likewise.
2787 * soft-fp/muldf3.c: Likewise.
2788 * soft-fp/mulsf3.c: Likewise.
2789 * soft-fp/multf3.c: Likewise.
2790 * soft-fp/negdf2.c: Likewise.
2791 * soft-fp/negsf2.c: Likewise.
2792 * soft-fp/negtf2.c: Likewise.
2793 * soft-fp/op-1.h: Likewise.
2794 * soft-fp/op-2.h: Likewise.
2795 * soft-fp/op-4.h: Likewise.
2796 * soft-fp/op-8.h: Likewise.
2797 * soft-fp/op-common.h: Likewise.
2798 * soft-fp/quad.h: Likewise.
2799 * soft-fp/single.h: Likewise.
2800 * soft-fp/soft-fp.h: Likewise.
2801 * soft-fp/subdf3.c: Likewise.
2802 * soft-fp/subsf3.c: Likewise.
2803 * soft-fp/subtf3.c: Likewise.
2804 * soft-fp/truncdfsf2.c: Likewise.
2805 * soft-fp/trunctfdf2.c: Likewise.
2806 * soft-fp/trunctfhf2.c: Likewise.
2807 * soft-fp/trunctfsf2.c: Likewise.
2808 * soft-fp/trunctfxf2.c: Likewise.
2809 * soft-fp/unorddf2.c: Likewise.
2810 * soft-fp/unordsf2.c: Likewise.
2811 * soft-fp/unordtf2.c: Likewise.
2813 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
2815 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
2816 * config/i386/cpuinfo.h (processor_types): Add znver2.
2818 2018-11-01 Paul Koning <ni1d@arrl.net>
2820 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
2821 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
2823 2018-10-31 Joseph Myers <joseph@codesourcery.com>
2826 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
2827 * configure: Regenerate.
2829 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
2831 * config/arc/lib1funcs.S (_muldi3): New function.
2832 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
2834 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2836 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
2838 2018-10-25 Martin Liska <mliska@suse.cz>
2841 * libgcov-profiler.c: Revert.
2843 2018-10-24 Martin Liska <mliska@suse.cz>
2845 * libgcov-profiler.c: Start from 1 in order to distinguish
2846 functions which were seen and these that were not.
2848 2018-10-18 Paul Koning <ni1d@arrl.net>
2850 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
2852 * divmod.c: Update references to __udivmodsi4.
2854 * udivhi3.c: New file.
2855 * udivmodhi4.c: New file.
2856 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
2858 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2860 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
2862 2018-10-12 Olivier Hainque <hainque@adacore.com>
2864 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
2865 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
2867 2018-10-08 Paul Koning <ni1d@arrl.net>
2869 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
2871 2018-10-04 Martin Liska <mliska@suse.cz>
2873 PR gcov-profile/84107
2874 * libgcov-profiler.c (__gcov_indirect_call):
2875 Change type to indirect_call_tuple.
2876 (struct indirect_call_tuple): New struct.
2877 (__gcov_indirect_call_topn_profiler): Change type.
2878 (__gcov_indirect_call_profiler_v2): Use the new
2880 * libgcov.h (struct indirect_call_tuple): New struct
2883 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
2885 * libgcc2.c (isnan): Use __builtin_isnan.
2886 (isfinite): Use __builtin_isfinite.
2887 (isinf): Use __builtin_isinf.
2889 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
2891 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
2893 2018-09-21 Alexandre Oliva <oliva@adacore.com>
2895 * config/vxcache.c: New file. Provide __clear_cache, based on
2896 the cacheTextUpdate VxWorks service.
2897 * config/t-vxworks (LIB2ADD): Add vxcache.c.
2898 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
2899 * config/t-vxwoks7: Likewise.
2901 2018-09-21 Martin Liska <mliska@suse.cz>
2903 * libgcov-driver.c (crc32_unsigned): Remove.
2904 (gcov_histogram_insert): Likewise.
2905 (gcov_compute_histogram): Likewise.
2906 (compute_summary): Simplify rapidly.
2907 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
2908 (merge_summary): Rapidly simplify.
2909 (dump_one_gcov): Ignore gcov_summary.
2910 (gcov_do_dump): Do not handle program summary, it's not
2912 * libgcov-util.c (tag_summary): Remove.
2913 (read_gcda_finalize): Fix coding style.
2914 (read_gcda_file): Initialize curr_object_summary.
2915 (compute_summary): Remove.
2916 (calculate_overlap): Remove settings of run_max.
2918 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
2920 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
2921 ucontext_t type instead.
2922 (nds32_fallback_frame_state): Remove struct _sigframe statement.
2924 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
2926 * config/nds32/t-nds32-glibc: New file.
2928 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2930 * configure.ac (solaris_ld_v2_maps): New test.
2931 * configure: Regenerate.
2932 * Makefile.in (solaris_ld_v2_maps): New variable.
2933 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
2936 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
2939 * config/arm/lib1funcs.asm (speculation_barrier): New function.
2940 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
2943 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
2945 * config/unwind-dw2-fde-darwin.c
2946 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
2947 * config/darwin10-unwind-find-enc-func.c: … to here.
2948 * config/t-darwin: Build Darwin10 unwinder shim crt.
2949 * libgcc/config.host: Add the Darwin10 unwinder shim.
2951 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2953 * config.host: Add crtbegin.o and crtend.o for
2954 powerpc-wrs-vxworks target.
2956 2018-08-17 Jojo <jijie_rong@c-sky.com>
2957 Huibin Wang <huibin_wang@c-sky.com>
2958 Sandra Loosemore <sandra@codesourcery.com>
2959 Chung-Lin Tang <cltang@codesourcery.com>
2963 * config.host: Add C-SKY support.
2964 * config/csky/*: New.
2966 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
2968 * config/nds32/t-nds32-isr: Rearrange object dependency.
2969 * config/nds32/initfini.c: Add dwarf2 unwinding support.
2970 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
2971 and registers usage.
2972 * config/nds32/isr-library/excp_isr.S: Ditto.
2973 * config/nds32/isr-library/intr_isr.S: Ditto.
2974 * config/nds32/isr-library/reset.S: Ditto.
2975 * config/nds32/isr-library/restore_all.inc: Ditto.
2976 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
2977 * config/nds32/isr-library/restore_partial.inc: Ditto.
2978 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
2979 * config/nds32/isr-library/save_all.inc: Ditto.
2980 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
2981 * config/nds32/isr-library/save_partial.inc: Ditto.
2982 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
2983 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
2985 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
2987 * config/pa/linux-atomic.c: Update comment.
2988 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
2989 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
2990 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
2991 __ATOMIC_RELAXED for atomic loads.
2992 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
2993 unordered store to release lock.
2994 (__sync_lock_release_8): Likewise.
2995 (SYNC_LOCK_RELEASE_2): Remove define.
2997 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
3000 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
3001 exponent goes negative. Update my email address.
3002 * config/arm/ieee754-sf.S: Likewise.
3004 2018-08-01 Martin Liska <mliska@suse.cz>
3006 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
3007 check that __gcov_indirect_call_callee is non-null.
3009 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
3011 * config/arm/ieee754-df.S: Fix comment for code working on
3013 * config/arm/ieee754-sf.S: Likewise.
3015 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
3018 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3021 2018-07-05 James Clarke <jrtc27@jrtc27.com>
3023 * configure: Regenerated.
3025 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3027 * Makefile.in (install_leaf): Use enable_gcov instead of
3030 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3032 * configure.ac: Add --disable-gcov option.
3033 * configure: Regenerate.
3034 * Makefile.in: Honour @enable_gcov@.
3036 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3038 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
3039 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
3040 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
3041 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
3043 * config/arm/ieee754-sf.S: Likewise.
3044 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
3046 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3048 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
3050 * config/arm/ieee754-sf.S: Likewise.
3052 2018-06-20 Than McIntosh <thanm@google.com>
3055 * generic-morestack.c (allocate_segment): Move calls to getenv and
3056 getpagesize to __morestack_load_mmap.
3057 (__morestack_load_mmap) Initialize static_pagesize and
3058 use_guard_page here so as to avoid clobbering SSE regs during a
3061 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
3063 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
3064 support modules with -mno-gnu-attribute.
3065 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
3067 2018-06-07 Olivier Hainque <hainque@adacore.com>
3069 * config/t-vxworks (LIBGCC_INCLUDES): Add
3070 -I$(MULTIBUILDTOP)../../gcc/include.
3071 * config/t-vxworks7: Likewise. Reformat a bit to match
3072 the t-vxworks layout.
3074 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
3076 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
3078 2018-06-07 Martin Liska <mliska@suse.cz>
3080 * libgcov-driver.c: Rename cs_all to all and assign it from
3083 2018-06-07 Martin Liska <mliska@suse.cz>
3086 * libgcov-driver-system.c (replace_filename_variables): Use
3087 memcpy instead of mempcpy.
3088 (allocate_filename_struct): Do not allocate filename, allocate
3090 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
3091 here and properly copy content into it.
3092 * libgcov-driver.c (struct gcov_filename): Remove max_length
3093 field, change prefix from size_t into char *.
3094 (compute_summary): Do not calculate longest filename.
3095 (gcov_do_dump): Release memory of gf.filename after each file.
3096 * libgcov-util.c (compute_summary): Use new signature of
3098 (calculate_overlap): Likewise.
3100 2018-06-05 Martin Liska <mliska@suse.cz>
3102 PR gcov-profile/47618
3103 * libgcov-driver-system.c (replace_filename_variables): New
3105 (gcov_exit_open_gcda_file): Use it.
3107 2018-06-05 Martin Liska <mliska@suse.cz>
3109 * libgcov-driver.c (gcov_compute_histogram): Remove usage
3110 of gcov_ctr_summary.
3111 (compute_summary): Do it just for a single summary.
3112 (merge_one_data): Likewise.
3113 (merge_summary): Simplify as we read just single summary.
3114 (dump_one_gcov): Pass proper argument.
3115 * libgcov-util.c (compute_one_gcov): Simplify as we have just
3117 (gcov_info_count_all_cold): Likewise.
3118 (calculate_overlap): Likewise.
3120 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
3121 Monk Chiang <sh.chiang04@gmail.com>
3123 * config.host (nds32*-linux*): New.
3124 * config/nds32/linux-atomic.c: New file.
3125 * config/nds32/linux-unwind.h: New file.
3127 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
3130 * config/i386/cpuinfo.c (get_amd_cpu): Return
3131 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
3133 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
3135 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
3137 2018-05-29 Martin Liska <mliska@suse.cz>
3139 PR gcov-profile/85759
3140 * libgcov-driver-system.c (gcov_error): Introduce usage of
3141 GCOV_EXIT_AT_ERROR env. variable.
3142 * libgcov-driver.c (merge_one_data): Print error that we
3143 overwrite a gcov file with a different timestamp.
3145 2018-05-23 Kalamatee <kalamatee@gmail.com>
3147 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
3150 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
3151 Monk Chiang <sh.chiang04@gmail.com>
3152 Jim Wilson <jimw@sifive.com>
3154 * config/riscv/save-restore.S: Add support for rv32e.
3156 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3158 * config/arm/libunwind.S: Update comment relating to armv5.
3160 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
3162 * config/arm/cmse.c (cmse_check_address_range): Replace
3163 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
3165 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
3167 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
3168 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
3170 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
3172 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
3173 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
3175 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
3177 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
3179 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
3180 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
3183 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
3184 op_and_fetch to return the right result.
3186 2018-04-27 Alan Modra <amodra@gmail.com>
3189 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
3190 -fno-asynchronous-unwind-tables.
3192 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
3194 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
3195 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
3197 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3199 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
3200 when including "config/i386/shadow-stack-unwind.h".
3202 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3204 * configure: Regenerated.
3206 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
3209 * config/rs6000/_powikf2.c: New file. Add support for the
3210 __builtin_powil function when long double is IEEE 128-bit floating
3212 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
3214 (__powikf2): Likewise.
3215 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
3216 (__powikf2_hw): Likewise.
3217 (__powikf2): Likewise.
3218 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
3219 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
3220 (_powikf2-hw.c): Likewise.
3222 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3225 * unwind-generic.h (_Unwind_Frames_Increment): New.
3226 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3228 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
3229 count with _Unwind_Frames_Increment.
3230 (_Unwind_ForcedUnwind_Phase2): Likewise.
3232 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3235 * config/i386/morestack.S (__stack_split_initialize): Add
3238 2018-04-19 Jakub Jelinek <jakub@redhat.com>
3240 * configure: Regenerated.
3242 2018-04-18 David Malcolm <dmalcolm@redhat.com>
3245 * configure: Regenerate.
3247 2018-04-16 Jakub Jelinek <jakub@redhat.com>
3250 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
3251 -Wdangling-else warnings. Mask shift counts to avoid
3252 -Wshift-count-negative and -Wshift-count-overflow false positives.
3254 2018-04-06 Ruslan Bukin <br@bsdpad.com>
3256 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
3258 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
3261 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
3262 (XSTATE_FP): Likewise.
3263 (XSTATE_SSE): Likewise.
3264 (XSTATE_YMM): Likewise.
3265 (XSTATE_OPMASK): Likewise.
3266 (XSTATE_ZMM): Likewise.
3267 (XSTATE_HI_ZMM): Likewise.
3268 (XCR_AVX_ENABLED_MASK): Likewise.
3269 (XCR_AVX512F_ENABLED_MASK): Likewise.
3270 (get_available_features): Enable AVX and AVX512 features only
3271 if their states are supported by OSXSAVE.
3273 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3276 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3277 Fix a typo, tmp => 255.
3279 2018-03-20 Jakub Jelinek <jakub@redhat.com>
3282 * config/i386/cpuinfo.h (__cpu_features2): Declare.
3283 * config/i386/cpuinfo.c (__cpu_features2): New variable for
3285 (set_feature): Define.
3286 (get_available_features): Use set_feature macro. Set __cpu_features2
3287 to the second word of features ifndef SHARED.
3289 2018-03-15 Julia Koval <julia.koval@intel.com>
3291 * config/i386/cpuinfo.c (get_available_features): Add
3292 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
3293 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
3294 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
3295 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
3296 FEATURE_AVX512BITALG.
3298 2018-03-14 Julia Koval <julia.koval@intel.com>
3300 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
3301 icelake client and icelake server.
3303 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
3305 * config/pa/fptr.c (_dl_read_access_allowed): New.
3306 (__canonicalize_funcptr_for_compare): Use it.
3308 2018-02-28 Jakub Jelinek <jakub@redhat.com>
3311 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
3312 $asm_hidden_op if visibility ("hidden") attribute works.
3313 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
3314 * config/i386/i386-asm.h: Don't include auto-host.h.
3315 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
3316 PACKAGE_URL): Don't undefine.
3317 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
3318 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
3319 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
3320 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
3321 definition instead of hardcoded .hidden.
3322 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
3323 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
3324 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
3325 (USE_GAS_CFI_DIRECTIVES): Don't define.
3326 * configure: Regenerated.
3327 * config.in: Likewise.
3329 2018-02-26 Jakub Jelinek <jakub@redhat.com>
3332 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
3333 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
3334 inclusion of auto-target.h and auto-host.h.
3335 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
3336 __GCC_HAVE_DWARF2_CFI_ASM.
3337 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3338 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
3340 * config/i386/cygwin.S: Don't include auto-host.h here, just
3341 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
3342 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3343 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
3344 * config/i386/resms64fx.h: Add cfi_* directives.
3345 * config/i386/resms64x.h: Likewise.
3347 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
3349 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
3350 .literal_position directive.
3351 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
3353 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3356 * configure: Regenerate.
3358 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3361 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3362 Include cetintrin.h not x86intrin.h.
3364 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3367 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3368 Use new _get_ssp and _inc_ssp intrinsics.
3370 2018-02-02 Julia Koval <julia.koval@intel.com>
3372 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
3374 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
3376 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
3378 (__divsi3): Use RF16 safe registers.
3379 (__modsi3): Likewise.
3381 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
3383 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
3384 (__divsf3): Make NaN return value quiet.
3385 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
3386 (__divdf3): Make NaN return value quiet.
3388 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3390 * config/rl78/anddi3.S: New assembly file.
3391 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
3393 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3395 * config/rl78/umindi3.S: New assembly file.
3396 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
3398 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3400 * config/rl78/smindi3.S: New assembly file.
3401 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
3403 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3405 * config/rl78/smaxdi3.S: New assembly file.
3406 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
3408 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3410 * config/rl78/umaxdi3.S: New assembly file.
3411 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
3413 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
3416 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
3417 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
3419 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
3421 * config/aarch64/value-unwind.h (aarch64_vg): New function.
3422 (DWARF_LAZY_REGISTER_VALUE): Define.
3423 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
3424 to provide a fallback register value.
3426 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
3428 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
3429 __ibm128, instead of trying to use long double.
3430 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
3431 accomidate -mabi=ieeelongdouble multilibs.
3432 (CVT_IBM128_TO_FLOAT128): Likewise.
3433 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
3434 the appropriate IBM extended double type.
3435 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
3436 (__gcc_qsub): Likewise.
3437 (__gcc_qmul): Likewise.
3438 (__gcc_qdiv): Likewise.
3439 (pack_ldouble): Likewise.
3440 (__gcc_qneg): Likewise.
3441 (__gcc_qeq): Likewise.
3442 (__gcc_qne): Likewise.
3443 (__gcc_qge): Likewise.
3444 (__gcc_qle): Likewise.
3445 (__gcc_stoq): Likewise.
3446 (__gcc_dtoq): Likewise.
3447 (__gcc_itoq): Likewise.
3448 (__gcc_utoq): Likewise.
3449 (__gcc_qunord): Likewise.
3450 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
3451 quad-float128.h for the definitions.
3452 (COPYSIGN): Use the f128 version instead of the q version.
3453 (INFINITY): Likewise.
3454 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
3455 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
3456 quad-float128.h for the definitions.
3457 (COPYSIGN): Use the f128 version instead of the q version.
3458 (INFINITY): Likewise.
3460 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
3461 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
3462 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
3464 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
3466 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
3469 2018-01-03 Jakub Jelinek <jakub@redhat.com>
3471 Update copyright years.
3473 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
3475 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
3476 * config/riscv/multi3.c: New file.
3477 * config/riscv/multi3.S: Remove.
3479 2017-12-08 Jim Wilson <jimw@sifive.com>
3481 * config/riscv/div.S: Use FUNC_* macros.
3482 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
3483 * config/riscv/save-restore.S: Likewise.
3484 * config/riscv/riscv-asm.h: New.
3486 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
3488 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
3489 * config/rs6000/_divkc3.c (__divkc3): Likewise.
3492 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
3493 correct type for all ifunc resolvers to silence -Wattribute-alias
3494 warnings. Eliminate the forward declaration of the resolver
3495 functions which is no longer needed.
3496 (__subkf3_resolve): Likewise.
3497 (__mulkf3_resolve): Likewise.
3498 (__divkf3_resolve): Likewise.
3499 (__negkf2_resolve): Likewise.
3500 (__eqkf2_resolve): Likewise.
3501 (__nekf2_resolve): Likewise.
3502 (__gekf2_resolve): Likewise.
3503 (__gtkf2_resolve): Likewise.
3504 (__lekf2_resolve): Likewise.
3505 (__ltkf2_resolve): Likewise.
3506 (__unordkf2_resolve): Likewise.
3507 (__extendsfkf2_resolve): Likewise.
3508 (__extenddfkf2_resolve): Likewise.
3509 (__trunckfsf2_resolve): Likewise.
3510 (__trunckfdf2_resolve): Likewise.
3511 (__fixkfsi_resolve): Likewise.
3512 (__fixkfdi_resolve): Likewise.
3513 (__fixunskfsi_resolve): Likewise.
3514 (__fixunskfdi_resolve): Likewise.
3515 (__floatsikf_resolve): Likewise.
3516 (__floatdikf_resolve): Likewise.
3517 (__floatunsikf_resolve): Likewise.
3518 (__floatundikf_resolve): Likewise.
3519 (__extendkftf2_resolve): Likewise.
3520 (__trunctfkf2_resolve): Likewise.
3523 * config/rs6000/quad-float128.h (TF): Don't define if long double
3524 is IEEE 128-bit floating point.
3525 (TCtype): Define as either TCmode or KCmode, depending on whether
3526 long double is IEEE 128-bit floating point.
3527 (__mulkc3_sw): Add declarations for software/hardware versions of
3528 complex multiply/divide.
3529 (__divkc3_sw): Likewise.
3530 (__mulkc3_hw): Likewise.
3531 (__divkc3_hw): Likewise.
3532 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
3533 handlers to switch between using software emulation and hardware
3534 float128 instructions, build the complex multiply/divide functions
3535 for both software and hardware support.
3536 * config/rs6000/_divkc3.c (_divkc3): Likewise.
3537 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
3538 (__divkc3_resolve): Likewise.
3539 (__mulkc3): Likewise.
3540 (__divkc3): Likewise.
3541 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
3542 (fp128_hw_src): Likewise.
3543 (fp128_hw_static_obj): Likewise.
3544 (fp128_hw_shared_obj): Likewise.
3545 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
3546 _mulkc3.c and _divkc3.c, changing the function name.
3547 (_divkc3-hw.c): Likewise.
3548 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
3551 2017-11-26 Julia Koval <julia.koval@intel.com>
3553 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
3554 * config/i386/cpuinfo.h (processor_subtypes): Add
3555 INTEL_COREI7_CANNONLAKE.
3557 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3560 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
3562 * config/xtensa/unwind-dw2-xtensa.c: Likewise
3563 * config/ia64/unwind-ia64.c: Add frames parameter.
3564 * unwind-sjlj.c: Likewise.
3566 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3568 * config/i386/linux-unwind.h: Include
3569 config/i386/shadow-stack-unwind.h.
3570 * config/i386/shadow-stack-unwind.h: New file.
3571 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
3572 pass it to _Unwind_Frames_Extra.
3573 * unwind-generic.h (_Unwind_Frames_Extra): New.
3574 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
3575 parameter. Add local variable frames to count number of frames.
3576 (_Unwind_ForcedUnwind_Phase2): Likewise.
3577 (_Unwind_RaiseException): Add local variable frames to count
3578 number of frames, pass it to _Unwind_RaiseException_Phase2 and
3580 (_Unwind_ForcedUnwind): Likewise.
3581 (_Unwind_Resume): Likewise.
3582 (_Unwind_Resume_or_Rethrow): Likewise.
3584 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3586 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
3588 * config/i386/morestack.S: Include <cet.h>.
3589 (__morestack_large_model): Add _CET_ENDBR at function entrance.
3590 * config/i386/resms64.h: Include <cet.h>.
3591 * config/i386/resms64f.h: Likewise.
3592 * config/i386/resms64fx.h: Likewise.
3593 * config/i386/resms64x.h: Likewise.
3594 * config/i386/savms64.h: Likewise.
3595 * config/i386/savms64f.h: Likewise.
3596 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
3597 (CRTSTUFF_T_CFLAGS): Likewise.
3598 * configure.ac: Include ../config/cet.m4.
3599 Set and substitute CET_FLAGS.
3600 * configure: Regenerated.
3602 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3604 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
3606 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
3607 * configure.ac (libgcc_cv_solaris_crts): Likewise.
3608 * configure: Regenerate.
3610 2017-11-07 Tom de Vries <tom@codesourcery.com>
3612 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
3613 after "do {} while (0)".
3615 2017-11-07 Tom de Vries <tom@codesourcery.com>
3618 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
3619 semicolon after "do {} while (0)".
3620 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3621 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3622 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3623 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3625 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
3628 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
3629 sysctl to determine whether we're in a trampoline.
3630 Keep the pattern matching method for systems without
3631 KERN_PROC_SIGTRAMP sysctl.
3633 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
3634 Vineet Gupta <vgupta@synopsys.com>
3636 * config.host (arc*-*-linux*): Set md_unwind_header variable.
3637 * config/arc/linux-unwind-reg.def: New file.
3638 * config/arc/linux-unwind-reg.h: Likewise.
3640 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
3642 * config/rl78/subdi3.S: New assembly file.
3643 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
3645 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
3647 * config/rl78/adddi3.S: New assembly file.
3648 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
3650 2017-10-13 Jakub Jelinek <jakub@redhat.com>
3653 * libgcc2.c (__mulvDI3): If both operands have
3654 the same highpart of -1 and the topmost bit of lowpart is 0,
3655 multiplication overflows even if both lowparts are 0.
3657 2017-09-28 James Bowman <james.bowman@ftdichip.com>
3659 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
3661 2017-09-26 Joseph Myers <joseph@codesourcery.com>
3663 * config/microblaze/crti.S, config/microblaze/crtn.S,
3664 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
3665 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
3666 config/microblaze/mulsi3.S,
3667 config/microblaze/stack_overflow_exit.S,
3668 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
3669 config/pa/milli64.S: Add .note.GNU-stack section.
3671 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
3673 * configure.ac: Add Check for HAVE_AS_AVX.
3674 * config.in: Regenerate.
3675 * configure: Likewise.
3676 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
3677 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
3678 Correct out-of-date comments.
3680 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
3682 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
3683 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
3685 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
3687 * config/i386/i386-asm.h (PASTE2): New macro.
3688 (ASMNAME): Modify to use PASTE2.
3689 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
3690 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
3691 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3692 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
3693 * config/i386/resms64f.S: Likewise.
3694 * config/i386/resms64fx.S: Likewise.
3695 * config/i386/resms64x.S: Likewise.
3696 * config/i386/savms64.S: Likewise.
3697 * config/i386/savms64f.S: Likewise.
3698 * config/i386/avx_resms64.S: New file that only defines a macro and
3699 includes it's corresponding header file.
3700 * config/i386/avx_resms64f.S: Likewise.
3701 * config/i386/avx_resms64fx.S: Likewise.
3702 * config/i386/avx_resms64x.S: Likewise.
3703 * config/i386/avx_savms64.S: Likewise.
3704 * config/i386/avx_savms64f.S: Likewise.
3705 * config/i386/sse_resms64.S: Likewise.
3706 * config/i386/sse_resms64f.S: Likewise.
3707 * config/i386/sse_resms64fx.S: Likewise.
3708 * config/i386/sse_resms64x.S: Likewise.
3709 * config/i386/sse_savms64.S: Likewise.
3710 * config/i386/sse_savms64f.S: Likewise.
3711 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3713 2017-09-01 Olivier Hainque <hainque@adacore.com>
3714 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
3716 2017-08-31 Olivier Hainque <hainque@adacore.com>
3718 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
3719 match as powerpc-wrs-vxworks*.
3721 2017-08-07 Jonathan Yong <10walls@gmail.com>
3723 * config.host (*-cygwin): Include file from mingw
3724 config/i386/enable-execute-stack-mingw32.c
3726 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
3727 Doug Rupp <rupp@adacore.com>
3728 Olivier Hainque <hainque@adacore.com>
3730 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
3731 as well as arm-wrs-vxworks.
3732 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
3734 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
3735 __exidx_start and __exidx_end for downloadable modules.
3737 2017-08-01 Olivier Hainque <hainque@adacore.com>
3739 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
3740 * config/t-vxworks7: Likewise.
3742 2017-08-01 Olivier Hainque <hainque@adacore.com>
3744 * config/t-vxworks: Instead of redefining LIB2ADD,
3745 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
3747 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
3749 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
3751 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
3754 * config.host: include i386/t-msabi for darwin and solaris.
3755 * config/i386/i386-asm.h
3756 (ELFFN): Rename to FN_TYPE.
3757 (FN_SIZE): New macro.
3758 (FN_HIDDEN): Likewise.
3759 (ASMNAME): Likewise.
3760 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
3762 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
3763 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
3764 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
3766 * config/i386/resms64f.S: Likewise.
3767 * config/i386/resms64fx.S: Likewise.
3768 * config/i386/resms64x.S: Likewise.
3769 * config/i386/savms64.S: Likewise.
3770 * config/i386/savms64f.S: Likewise.
3772 2017-07-19 John Marino <gnugcc@marino.st>
3774 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
3776 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
3779 * configure.ac (PowerPC float128 hardware support): Test whether
3780 we can use __builtin_cpu_supports before enabling the ifunc
3782 * configure: Regenerate.
3784 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
3786 * config.host: Remove uclibc from arc target spec.
3788 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
3790 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
3792 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
3794 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
3795 (have_ieee_hw_p): Delete function.
3796 (SW_OR_HW) Use __builtin_cpu_supports().
3798 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3800 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
3802 2017-07-03 Olivier Hainque <hainque@adacore.com>
3804 * config/t-vxworks7: New file, really.
3806 2017-06-28 Joseph Myers <joseph@codesourcery.com>
3808 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
3809 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
3810 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
3811 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
3812 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
3813 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
3814 config/pa/linux-unwind.h (pa32_fallback_frame_state),
3815 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
3816 config/sh/linux-unwind.h (sh_fallback_frame_state),
3817 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
3818 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
3819 ucontext_t instead of struct ucontext.
3821 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
3823 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
3824 (x86_64-wrs-vxworks7): Likewise.
3826 2017-06-27 Olivier Hainque <hainque@adacore.com>
3828 * config/t-vxworks7: New file.
3829 * config.host (*-*-vxworks7): Use it.
3831 2017-06-22 Matt Turner <mattst88@gmail.com>
3833 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
3836 2017-06-21 Richard Biener <rguenther@suse.de>
3838 PR gcov-profile/81080
3839 * configure.ac: Add AC_SYS_LARGEFILE.
3840 * libgcov.h: Include auto-target.h before tsystem.h to pick
3841 up _FILE_OFFSET_BITS which might differ for multilibs.
3842 * config.in: Regenerate.
3843 * configure: Likewise.
3845 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
3847 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
3849 2017-06-09 Martin Liska <mliska@suse.cz>
3851 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
3852 Reset __gcov_indirect_call_callee to NULL.
3854 2017-06-08 Olivier Hainque <hainque@adacore.com>
3856 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
3857 the set of -I options, support for direct inclusions of net/uio.h
3858 by VxWorks header files via ioLib.h.
3860 2017-06-07 Tony Reix <tony.reix@atos.net>
3861 Matthieu Sarter <matthieu.sarter.external@atos.net>
3862 David Edelsohn <dje.gcc@gmail.com>
3864 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
3866 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
3869 2017-06-02 Olivier Hainque <hainque@adacore.com>
3871 * config/vxlib.c (__gthread_once): Add missing value to
3874 2017-05-30 Olivier Hainque <hainque@adacore.com>
3876 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
3877 dollar sign before $(MULTIDIR).
3879 2017-05-26 Richard Henderson <rth@redhat.com>
3882 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
3884 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
3886 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
3887 _Unwind_SetIP available as functions for arm*-*-freebsd*.
3888 * config/arm/unwind-arm.c: Implement the above.
3890 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3892 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
3893 section for a non-executable stack.
3895 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
3898 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
3900 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
3902 * config.host: Add i386/t-msabi to i386/t-linux file list.
3903 * config/i386/i386-asm.h: New file.
3904 * config/i386/resms64.S: New file.
3905 * config/i386/resms64f.S: New file.
3906 * config/i386/resms64fx.S: New file.
3907 * config/i386/resms64x.S: New file.
3908 * config/i386/savms64.S: New file.
3909 * config/i386/savms64f.S: New file.
3910 * config/i386/t-msabi: New file.
3912 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
3914 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
3915 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
3917 2017-05-05 Joshua Conner <joshconner@google.com>
3919 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
3920 pc-relative indirect handling for fuchsia.
3921 * config/t-slibgcc-fuchsia: New file.
3922 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
3923 x86_64-*-fuchsia*): Add definitions.
3925 2017-04-19 Martin Liska <mliska@suse.cz>
3927 PR gcov-profile/80435
3928 * Makefile.in: Install gcov.h.
3930 * libgcov.h: Use the header and make __gcov_flush publicly
3933 2017-04-18 Martin Liska <mliska@suse.cz>
3935 PR gcov-profile/78783
3936 * libgcov-driver.c (gcov_get_filename): New function.
3938 2017-04-07 Jeff Law <law@redhat.com>
3940 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
3941 target makefile fragment.
3942 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
3944 2017-04-07 Alan Modra <amodra@gmail.com>
3947 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
3949 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
3951 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
3953 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
3955 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
3957 2017-03-10 John Marino <gnugcc@marino.st>
3959 * config/aarch64/freebsd-unwind.h: New file.
3960 * config.host: Add aarch64-*-freebsd unwinder.
3962 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3964 * config/rs6000/crtrestvr.s: Use .machine altivec.
3965 * config/rs6000/crtsavevr.s: Ditto.
3967 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3969 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
3970 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
3971 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
3972 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
3973 * configure: Regenerate.
3974 * config.in: Regenerate.
3976 2017-03-02 Jonathan Yong <10walls@gmail.com>
3978 * config/i386/gthr-win32.h: Define NOGDI before
3979 windows.h include to prevent w32api CC_NONE macro
3980 clash with libgfortran.
3982 2017-03-02 Jonathan Yong <10walls@gmail.com>
3984 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
3986 2017-02-16 Andrew Pinski <apinski@cavium.com>
3988 * config/aarch64/value-unwind.h: New file.
3989 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
3992 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
3994 * config.host: Add RISC-V tuples.
3995 * config/riscv/atomic.c: New file.
3996 * config/riscv/crti.S: Likewise.
3997 * config/riscv/crtn.S: Likewise.
3998 * config/riscv/div.S: Likewise.
3999 * config/riscv/linux-unwind.h: Likewise.
4000 * config/riscv/muldi3.S: Likewise.
4001 * config/riscv/multi3.S: Likewise.
4002 * config/riscv/save-restore.S: Likewise.
4003 * config/riscv/sfp-machine.h: Likewise.
4004 * config/riscv/t-elf: Likewise.
4005 * config/riscv/t-elf32: Likewise.
4006 * config/riscv/t-elf64: Likewise.
4007 * config/riscv/t-softfp32: Likewise.
4008 * config/riscv/t-softfp64: Likewise.
4010 2017-01-24 Jakub Jelinek <jakub@redhat.com>
4012 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4013 /* FALLTHRU */ comments.
4015 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
4017 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
4019 2017-01-20 Jiong Wang <jiong.wang@arm.com>
4021 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
4022 * unwind-dw2.c (execute_cfa_program): Only multiplexing
4023 DW_CFA_GNU_window_save for AArch64 and LP64.
4025 2017-01-20 Jiong Wang <jiong.wang@arm.com>
4027 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
4029 2017-01-19 Jiong Wang <jiong.wang@arm.com>
4031 * config/aarch64/aarch64-unwind.h: New file.
4032 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
4033 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
4034 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
4035 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
4036 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
4037 (aarch64_post_extract_frame_addr): New function.
4038 (aarch64_post_frob_eh_handler_addr): New function.
4039 (aarch64_frob_update_context): New function.
4040 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
4041 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
4042 aarch64*-*-freebsd*):
4043 Initialize md_unwind_header to include aarch64-unwind.h.
4044 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
4045 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
4047 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
4048 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
4049 (uw_frob_return_addr): New function.
4050 (uw_install_context): Use uw_frob_return_addr.
4052 2017-01-17 Jakub Jelinek <jakub@redhat.com>
4055 * configure.ac: Add GCC_BASE_VER.
4056 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
4057 version from BASE-VER file.
4058 * configure: Regenerated.
4060 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
4062 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
4063 libmul_f5.a): Filter archived prerequisites.
4065 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
4067 * config/i386/cpuinfo.h (processor_features): Add
4068 FEATURE_AVX512VPOPCNTDQ.
4069 * config/i386/cpuinfo.c (get_available_features): Habdle new
4072 2017-01-04 Joseph Myers <joseph@codesourcery.com>
4074 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
4075 payload if [__mips_nan2008].
4077 2017-01-04 Alan Modra <amodra@gmail.com>
4079 * Makefile.in (configure_deps): Update.
4080 * configure: Regenerate.
4082 2017-01-01 Jakub Jelinek <jakub@redhat.com>
4084 Update copyright years.
4086 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
4088 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
4089 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
4090 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
4092 2016-12-17 Matthias Klose <doko@ubuntu.com>
4094 * config/arc/gmon: Remove empty directory.
4096 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
4098 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
4100 (arc*-*-elf*): Likewise.
4101 * config/arc/t-arc: Remove old gmon lib targets.
4102 * config/arc/crtg.S: Remove.
4103 * config/arc/crtgend.S: Likewise.
4104 * config/arc/gmon/atomic.h: Likewise.
4105 * config/arc/gmon/auxreg.h: Likewise.
4106 * config/arc/gmon/dcache_linesz.S: Likewise.
4107 * config/arc/gmon/gmon.c: Likewise.
4108 * config/arc/gmon/machine-gmon.h: Likewise.
4109 * config/arc/gmon/mcount.c: Likewise.
4110 * config/arc/gmon/prof-freq-stub.S: Likewise.
4111 * config/arc/gmon/prof-freq.c: Likewise.
4112 * config/arc/gmon/profil.S: Likewise.
4113 * config/arc/gmon/sys/gmon.h: Likewise.
4114 * config/arc/gmon/sys/gmon_out.h: Likewise.
4115 * config/arc/t-arc-newlib: Likewise.
4116 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
4118 2016-12-12 George Spelvin <linux@sciencehorizons.net>
4120 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
4122 2016-12-12 George Spelvin <linux@sciencehorizons.net>
4124 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
4125 R16 instead of push + pop.
4126 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
4128 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
4130 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
4133 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
4135 * config.host (arc*-*-linux-uclibc*): Use default extra
4136 objects. Include linux-android header.
4137 * config/arc/crti.S (_init): Declare symbol as function.
4140 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
4143 * config/i386/cpuinfo.c: Move denums for processor vendors,
4144 processor type, processor subtypes and declaration of
4145 struct __processor_model into
4146 * config/i386/cpuinfo.h: New header file.
4148 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
4149 Thomas Preud'homme <thomas.preudhomme@arm.com>
4151 * config/arm/cmse_nonsecure_call.S: New.
4152 * config/arm/t-arm: Compile cmse_nonsecure_call.S
4154 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
4155 Thomas Preud'homme <thomas.preudhomme@arm.com>
4157 * config/arm/t-arm (HAVE_CMSE): New.
4158 * config/arm/cmse.c: New.
4160 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
4163 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
4164 use generic linker version information on Blackfin.
4167 * libgcc/mkmap-symver.awk: add support for skip_underscore
4169 2016-11-27 Iain Sandoe <iain@codesourcery.com>
4170 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4173 * config/t-darwin: Default builds to 10.5 codegen.
4175 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
4177 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
4178 (_FP_NANSIGN_H): Likewise.
4179 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
4180 (softfp_truncations): Add tfhf.
4181 (softfp_extras): Add required conversion functions.
4183 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4184 Matthew Wahab <matthew.wahab@arm.com>
4186 * config/arm/fp16.c (binary64): New.
4187 (__gnu_d2h_internal): New.
4188 (__gnu_d2h_ieee): New.
4189 (__gnu_d2h_alternative): New.
4191 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4192 Matthew Wahab <matthew.wahab@arm.com>
4194 * config/arm/fp16.c (struct format): New.
4196 (__gnu_float2h_internal): New. Body moved from
4197 __gnu_f2h_internal and generalize.
4198 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
4199 Call it with binary32.
4201 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4203 * soft-fp/extendhftf2.c: Update from glibc.
4204 * soft-fp/fixhfti.c: Likewise.
4205 * soft-fp/fixunshfti.c: Likewise.
4206 * soft-fp/floattihf.c: Likewise.
4207 * soft-fp/floatuntihf.c: Likewise.
4208 * soft-fp/half.h: Likewise.
4209 * soft-fp/trunctfhf2.c: Likewise.
4211 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
4214 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
4215 __TMC_END__ behind a passthrough asm.
4217 2016-11-18 Walter Lee <walt@tilera.com>
4219 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
4221 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
4223 * config/i386/cpuinfo.c (processor_features): Add
4224 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
4226 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
4228 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
4229 (__ARC_NORM__): Use instead ARC_OPTFPE.
4230 * config/arc/fp-hack.h: Likewise.
4231 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
4232 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
4234 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
4236 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
4237 * config/nvptx/mgomp.c: New file.
4238 * config/nvptx/t-nvptx: Add mgomp.c
4240 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
4243 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
4245 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
4247 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
4248 of checking for cpus.
4249 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
4250 (__modsi3, __clzsi2): Likewise.
4252 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4254 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
4255 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
4256 * config/i386/t-cpuinfo-static: New.
4258 2016-11-03 Martin Liska <mliska@suse.cz>
4260 * libgcov-profiler.c (__gcov_time_profiler): Remove.
4261 (__gcov_time_profiler_atomic): Likewise.
4263 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
4266 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
4267 count_leading_zeros.
4269 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
4271 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
4272 * libgcc2.c (__divmoddi4): New function.
4273 * libgcc2.h (__divmoddi4): Declare.
4274 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
4275 and __PFX_divmodti4.
4277 2016-10-24 Florian Weimer <fweimer@redhat.com>
4280 * unwind-c.c: Include auto-target.h.
4282 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
4284 * config/pa/pa64-hpux-lib.h: New file.
4285 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
4286 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
4287 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
4290 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
4292 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4294 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4296 * config/xtensa/t-windowed (LIB2ADDEH): Use
4297 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
4300 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
4302 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
4303 __ieee754_sqrt): New functions.
4304 (__divdf3): Add implementation with new FPU instructions under
4305 #if XCHAL_HAVE_DFP_DIV.
4306 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
4307 __ieee754_sqrtf): New functions.
4308 (__divsf3): Add implementation with new FPU instructions under
4309 #if XCHAL_HAVE_FP_DIV.
4310 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
4311 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
4313 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
4315 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
4317 * config/tilepro/atomic.c: Likewise and stop casting model to
4320 2016-10-10 Joseph Myers <joseph@codesourcery.com>
4323 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
4326 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
4328 * config.host: Add support for aarch64-*-freebsd*.
4330 2016-10-05 Andreas Schwab <schwab@suse.de>
4332 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
4333 (.section .init_array): Don't call __do_jv_register_classes.
4334 (.section .init): Likewise.
4336 2016-10-04 Jakub Jelinek <jakub@redhat.com>
4338 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
4339 (__JCR_LIST__): Remove.
4340 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
4341 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
4342 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
4343 * config/ia64/crtend.S (__JCR_END__): Remove.
4344 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
4346 (__JCR_LIST__, __JCR_END__): Remove.
4347 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
4348 (__do_global_ctors_1): Likewise.
4350 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
4352 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
4353 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
4355 2016-09-27 Martin Liska <mliska@suse.cz>
4357 PR gcov-profile/7970
4358 PR gcov-profile/16855
4359 PR gcov-profile/44779
4360 * libgcov-driver.c (__gcov_init): Do not register a atexit
4362 (__gcov_exit): Rename from gcov_exit.
4363 * libgcov.h (__gcov_exit): Declare.
4365 2016-09-27 Martin Liska <mliska@suse.cz>
4368 * Makefile.in: Remove _gcov_merge_delta.
4369 * libgcov-merge.c (void __gcov_merge_delta): Remove.
4370 * libgcov-util.c (__gcov_delta_counter_op): Remove.
4371 * libgcov.h: Remove declaration of __gcov_merge_delta.
4373 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
4375 * configure.ac: Do not create links, only substitute the filenames.
4376 * configure: Regenerate.
4377 * Makefile.in: Assign the substitution results to variables.
4378 (LIBGCC_LINKS): Define.
4379 (enable-execute-stack.c): New rule.
4380 (unwind.h): Likewise.
4381 (md-unwind-support.h): Likewise.
4382 (sfp-machine.h): Likewise.
4383 (gthr-default.h): Likewise.
4384 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
4385 unwind.h as prerequisite of install-unwind_h-forbuild.
4387 2016-09-16 Jakub Jelinek <jakub@redhat.com>
4390 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
4391 is not the primary registry and atomics are available.
4392 (any_objects_registered): New variable.
4393 (__register_frame_info_bases, __register_frame_info_table_bases):
4394 Atomically store 1 to any_objects_registered after registering first
4396 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
4398 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
4401 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
4402 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
4405 (__divhc3): Likewise.
4406 (__mulhc3): Likewise.
4407 * libgcc2.c: Support _mulhc3 and _divhc3.
4409 2016-09-07 Joseph Myers <joseph@codesourcery.com>
4412 * libgcc2.c (NOTRUNC): Invert settings.
4414 2016-09-06 Martin Liska <mliska@suse.cz>
4416 PR gcov-profile/77378
4417 PR gcov-profile/77466
4418 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
4419 conditionaly enable/disable *_atomic functions.
4421 2016-08-26 Joseph Myers <joseph@codesourcery.com>
4423 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
4424 where not already enabled.
4426 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
4428 * config/mips/linux-unwind.h: Use sys/syscall.h.
4430 2016-08-16 Joseph Myers <joseph@codesourcery.com>
4433 * soft-fp/adddf3.c: Update from glibc.
4434 * soft-fp/addsf3.c: Likewise.
4435 * soft-fp/addtf3.c: Likewise.
4436 * soft-fp/divdf3.c: Likewise.
4437 * soft-fp/divsf3.c: Likewise.
4438 * soft-fp/divtf3.c: Likewise.
4439 * soft-fp/double.h: Likewise.
4440 * soft-fp/eqdf2.c: Likewise.
4441 * soft-fp/eqsf2.c: Likewise.
4442 * soft-fp/eqtf2.c: Likewise.
4443 * soft-fp/extenddftf2.c: Likewise.
4444 * soft-fp/extended.h: Likewise.
4445 * soft-fp/extendsfdf2.c: Likewise.
4446 * soft-fp/extendsftf2.c: Likewise.
4447 * soft-fp/extendxftf2.c: Likewise.
4448 * soft-fp/fixdfdi.c: Likewise.
4449 * soft-fp/fixdfsi.c: Likewise.
4450 * soft-fp/fixdfti.c: Likewise.
4451 * soft-fp/fixsfdi.c: Likewise.
4452 * soft-fp/fixsfsi.c: Likewise.
4453 * soft-fp/fixsfti.c: Likewise.
4454 * soft-fp/fixtfdi.c: Likewise.
4455 * soft-fp/fixtfsi.c: Likewise.
4456 * soft-fp/fixtfti.c: Likewise.
4457 * soft-fp/fixunsdfdi.c: Likewise.
4458 * soft-fp/fixunsdfsi.c: Likewise.
4459 * soft-fp/fixunsdfti.c: Likewise.
4460 * soft-fp/fixunssfdi.c: Likewise.
4461 * soft-fp/fixunssfsi.c: Likewise.
4462 * soft-fp/fixunssfti.c: Likewise.
4463 * soft-fp/fixunstfdi.c: Likewise.
4464 * soft-fp/fixunstfsi.c: Likewise.
4465 * soft-fp/fixunstfti.c: Likewise.
4466 * soft-fp/floatdidf.c: Likewise.
4467 * soft-fp/floatdisf.c: Likewise.
4468 * soft-fp/floatditf.c: Likewise.
4469 * soft-fp/floatsidf.c: Likewise.
4470 * soft-fp/floatsisf.c: Likewise.
4471 * soft-fp/floatsitf.c: Likewise.
4472 * soft-fp/floattidf.c: Likewise.
4473 * soft-fp/floattisf.c: Likewise.
4474 * soft-fp/floattitf.c: Likewise.
4475 * soft-fp/floatundidf.c: Likewise.
4476 * soft-fp/floatundisf.c: Likewise.
4477 * soft-fp/floatunditf.c: Likewise.
4478 * soft-fp/floatunsidf.c: Likewise.
4479 * soft-fp/floatunsisf.c: Likewise.
4480 * soft-fp/floatunsitf.c: Likewise.
4481 * soft-fp/floatuntidf.c: Likewise.
4482 * soft-fp/floatuntisf.c: Likewise.
4483 * soft-fp/floatuntitf.c: Likewise.
4484 * soft-fp/gedf2.c: Likewise.
4485 * soft-fp/gesf2.c: Likewise.
4486 * soft-fp/getf2.c: Likewise.
4487 * soft-fp/ledf2.c: Likewise.
4488 * soft-fp/lesf2.c: Likewise.
4489 * soft-fp/letf2.c: Likewise.
4490 * soft-fp/muldf3.c: Likewise.
4491 * soft-fp/mulsf3.c: Likewise.
4492 * soft-fp/multf3.c: Likewise.
4493 * soft-fp/negdf2.c: Likewise.
4494 * soft-fp/negsf2.c: Likewise.
4495 * soft-fp/negtf2.c: Likewise.
4496 * soft-fp/op-1.h: Likewise.
4497 * soft-fp/op-2.h: Likewise.
4498 * soft-fp/op-4.h: Likewise.
4499 * soft-fp/op-8.h: Likewise.
4500 * soft-fp/op-common.h: Likewise.
4501 * soft-fp/quad.h: Likewise.
4502 * soft-fp/single.h: Likewise.
4503 * soft-fp/soft-fp.h: Likewise.
4504 * soft-fp/subdf3.c: Likewise.
4505 * soft-fp/subsf3.c: Likewise.
4506 * soft-fp/subtf3.c: Likewise.
4507 * soft-fp/truncdfsf2.c: Likewise.
4508 * soft-fp/trunctfdf2.c: Likewise.
4509 * soft-fp/trunctfsf2.c: Likewise.
4510 * soft-fp/trunctfxf2.c: Likewise.
4511 * soft-fp/unorddf2.c: Likewise.
4512 * soft-fp/unordsf2.c: Likewise.
4513 * soft-fp/unordtf2.c: Likewise.
4515 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
4517 PR gcov-profile/67097
4518 * libgcov-util.c (gcov_profile_merge): Skip missing files.
4520 2016-08-10 Martin Liska <mliska@suse.cz>
4522 PR gcov-profile/58306
4523 * Makefile.in: New functions (modules) are added.
4524 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
4526 (__gcov_pow2_profiler_atomic): New function.
4527 (__gcov_one_value_profiler_body): New argument is instroduced.
4528 (__gcov_one_value_profiler): Call with the new argument.
4529 (__gcov_one_value_profiler_atomic): Likewise.
4530 (__gcov_indirect_call_profiler_v2): Likewise.
4531 (__gcov_time_profiler_atomic): New function.
4532 (__gcov_average_profiler_atomic): Likewise.
4533 (__gcov_ior_profiler_atomic): Likewise.
4534 * libgcov.h: Declare the aforementioned functions.
4536 2016-08-09 Martin Liska <mliska@suse.cz>
4538 * libgcov-util.c: Fix typo and GNU coding style.
4540 2016-08-09 Martin Liska <mliska@suse.cz>
4542 * Makefile.in: Remove __gcov_indirect_call_profiler.
4543 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
4545 * libgcov.h: And the declaration of the function.
4547 2016-08-09 Martin Liska <mliska@suse.cz>
4549 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
4552 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4554 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
4555 * config/rs6000/_mulkc3.c: Likewise.
4557 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
4559 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
4560 zero_reg as previous call to __umulhisi3 already cleared it.
4562 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
4565 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
4567 2016-07-19 Nick Clifton <nickc@redhat.com>
4569 * config.host (m32r): Add m32r/t-m32r to tmake_file.
4570 Add crtinit.o and crtfini.o to extra_parts.
4572 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4574 * config/rs6000/_divkc3.c: New.
4575 * config/rs6000/_mulkc3.c: New.
4576 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
4578 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
4581 2016-07-11 Hale Wang <hale.wang@arm.com>
4582 Andre Vieira <andre.simoesdiasvieira@arm.com>
4584 * config/arm/lib1funcs.S: Add new wrapper.
4586 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4588 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
4590 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4592 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
4593 and ARMv5t* rather than for a fixed list of architectures.
4595 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4597 * config/arm/bpabi-v6m.S: Clarify what architectures is the
4598 implementation suitable for.
4599 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
4600 for all Thumb-1 only targets.
4601 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
4602 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
4605 (ARM_FUNC_ALIAS): Likewise.
4606 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
4609 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
4612 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
4613 __ARM_ARCH_6M__ in guard for checking whether it is defined.
4614 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
4615 __ARM_ARCH_6M__ and add comment to indicate the connection between
4616 this condition and the one in gcc/config/arm/elf.h.
4617 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
4618 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
4619 * config/arm/t-softfp: Likewise.
4621 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4623 * libgcc2.c (SYMBOL__MAIN): Remove checks for
4624 CTOR_LISTS_DEFINED_EXTERNALLY.
4626 2016-06-28 Walter Lee <walt@tilera.com>
4628 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
4630 (SPR_CMPEXCH_VALUE): Define for tilegx.
4631 (__NR_FAST_cmpxchg): Define for tilepro.
4632 (__NR_FAST_atomic_update): Define for tilepro.
4633 (__NR_FAST_cmpxchg64): Define for tilepro.
4635 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
4637 * config.host: Add suport for arm*-*-phoenix* targets.
4639 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4641 * config.host: Remove support for mep-*.
4642 * config/mep/lib1funcs.S: Remove.
4643 * config/mep/lib2funcs.c: Remove.
4644 * config/mep/t-mep: Remove.
4645 * config/mep/tramp.c: Remove.
4647 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4649 * config.host: Remove support for avr-rtems.
4650 * config/avr/t-rtems: Remove.
4652 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4654 * config.host: Remove m32r-rtems support.
4656 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4658 * config.host: Remove h8300-rtems support.
4660 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4662 * config.host: Remove support for knetbsd.
4664 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4666 * config.host: Remove support for openbsd 2 and 3.
4668 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4670 * config.host: Remove interix support.
4671 * config/i386/t-interix: Remove.
4673 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
4675 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
4676 least-significant bit in function pointer for fixup.
4678 2016-06-05 Aaron Conole <aconole@redhat.com>
4679 Nathan Sidwell <nathan@acm.org>
4682 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
4683 (get_gcov_error_file): Check __gcov_error_file before trying to
4685 (gcov_error): Always use get_gcov_error_file.
4687 2016-06-02 Aaron Conole <aconole@redhat.com>
4689 * libgcov-driver-system.c (__gcov_error_file): New.
4690 (get_gcov_error_file): New.
4691 (gcov_error): Use and set __gcov_error_file.
4692 (gcov_error_exit): New.
4693 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
4695 2016-05-26 Nathan Sidwell <nathan@acm.org>
4697 * config/nvptx/free.asm: Delete.
4698 * config/nvptx/malloc.asm: Delete.
4699 * config/nvptx/realloc.c: Delete.
4702 2016-05-25 Nathan Sidwell <nathan@acm.org>
4704 * config/nvptx/crt0.s: Delete.
4705 * config/nvptx/crt0.c: New.
4708 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
4710 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
4711 dw2/seh configuration.
4712 [x86_64-*-mingw*]: Likewise.
4714 2016-05-10 Joel Sherrill <joel@rtems.org>
4717 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
4718 targets so the same extra_parts are built. Also have tmake_file add
4719 on to its value rather than override.
4721 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
4723 * config.host: Remove SH5 support.
4724 * configure: Likewise.
4726 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
4728 * config/sh/crt1.S: Remove SH5 support.
4729 * config/sh/crti.S: Likewise.
4730 * config/sh/crtn.S: Likewise.
4731 * config/sh/lib1funcs-4-300.S: Likewise.
4732 * config/sh/lib1funcs-Os-4-200.S: Likewise.
4733 * config/sh/lib1funcs.S: Likewise.
4734 * config/sh/linux-unwind.h: Likewise.
4735 * config/sh/t-sh64: Delete.
4737 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
4739 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
4741 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
4742 Joern Rennecke <joern.rennecke@embecosm.com>
4744 * config/arc/crttls.S: New file.
4745 * config/arc/t-arc: New rule.
4746 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
4748 2016-04-25 Nick Clifton <nickc@redhat.com>
4750 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
4751 (__mspabi_cmpd): Likewise.
4752 * config/msp430/floathidf.c (__floathidf): Likewise.
4753 * config/msp430/floathisf.c (__floathisf): Likewise
4754 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
4755 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
4756 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
4758 (__ashrsi3): Likewise.
4760 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
4762 * config/m68k/linux-atomic.c: Do not include unistd.h
4764 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
4766 * config/arm/ieee754-df.S: Fix typos in comments.
4768 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
4771 * configure.ac (powerpc*-*-linux*): Rework tests to build
4772 __float128 emulation routines to not depend on using #pragma GCC
4773 target to enable -mfloat128.
4774 * configure: Regnerate.
4776 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
4779 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
4780 __MINGW32__ is defined.
4782 2016-03-28 James Bowman <james.bowman@ftdichip.com>
4784 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
4786 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
4789 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
4790 built with an assembler that does not support ISA 3.0
4791 instructions, rename __extendkftf2_sw to __extendkftf2.
4793 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4796 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
4797 call-clobbered registers.
4798 (internal_mcount): Remove __i386__ handling.
4800 2016-02-26 Joel Sherrill <joel@rtems.org>
4802 * config.host: Add x86_64-*-rtems*.
4804 2016-02-26 Joel Sherrill <joel@rtems.org>
4806 * libgcc/config.host: Add aarch64-*-rtems*.
4808 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4809 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4811 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
4812 union of u64 and double.
4813 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
4814 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
4816 (FP_ROUNDMODE): Update the usage of _fpscr.
4818 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
4821 * Makefile.in (crtoffloadtable$(objext)): New rule.
4822 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
4823 enable_offload_targets is not empty.
4824 * configure: Regenerate.
4825 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
4828 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4830 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
4831 .literal_position before the function.
4832 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
4835 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
4837 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
4838 * config/s390/morestack.S: New file.
4839 * config/s390/t-stack-s390: New file.
4840 * generic-morestack.c (__splitstack_find): Add s390-specific code.
4842 2016-02-12 Walter Lee <walt@tilera.com>
4844 * config.host (tilegx*-*-linux*): remove ti from
4845 softfp_int_modes for 32-bit configs.
4847 2016-02-10 Ian Lance Taylor <iant@google.com>
4850 * config/i386/morestack.S (__stack_split_initialize): Align
4853 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
4856 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
4857 __FLOAT128__ to compile only for __float128 capable targets.
4859 2016-01-25 Jakub Jelinek <jakub@redhat.com>
4862 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
4863 instead of ___NO_FPRS__.
4865 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
4866 Steven Munroe <munroesj@linux.vnet.ibm.com>
4867 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
4869 * config/rs6000/float128-sed: New files to convert TF names to KF
4870 names for PowerPC IEEE 128-bit floating point support.
4871 * config/rs6000/float128-sed-hw: Likewise.
4873 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4874 floating point hardware support.
4876 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4877 128-bit floating point software emulation or use ISA 3.0 hardware
4878 support if it is available.
4880 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4883 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
4884 floating point to IBM extended double.
4886 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
4887 double to IEEE 128-bit floating point.
4889 * config/rs6000/t-float128: New Makefile fragments to enable
4890 building __float128 emulation support.
4891 * config/rs6000/t-float128-hw: Likewise.
4893 * config/rs6000/sfp-exceptions.c: New file to provide exception
4894 support for IEEE 128-bit floating point.
4896 * config/rs6000/floattikf.c: New files for converting between IEEE
4897 128-bit floating point and signed/unsigned 128-bit integers.
4898 * config/rs6000/fixunskfti.c: Likewise.
4899 * config/rs6000/fixkfti.c: Likewise.
4900 * config/rs6000/floatuntikf.c: Likewise.
4902 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4903 when building on 64-bit systems, or when VSX is enabled.
4904 (_FP_W_TYPE): Likewise.
4905 (_FP_WS_TYPE): Likewise.
4906 (_FP_I_TYPE): Likewise.
4907 (TItype): Define on 64-bit systems.
4908 (UTItype): Likewise.
4909 (TI_BITS): Likewise.
4910 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4911 (_FP_MUL_MEAT_Q): Likewise.
4912 (_FP_DIV_MEAT_D): Likewise.
4913 (_FP_DIV_MEAT_Q): Likewise.
4914 (_FP_NANFRAC_D): Likewise.
4915 (_FP_NANFRAC_Q): Likewise.
4916 (ISA_BIT): Add exception support if we are being compiled on a
4917 machine with hardware floating point support to build the IEEE
4918 128-bit emulation functions.
4919 (FP_EX_INVALID): Likewise.
4920 (FP_EX_OVERFLOW): Likewise.
4921 (FP_EX_UNDERFLOW): Likewise.
4922 (FP_EX_DIVZERO): Likewise.
4923 (FP_EX_INEXACT): Likewise.
4924 (FP_EX_ALL): Likewise.
4925 (__sfp_handle_exceptions): Likewise.
4926 (FP_HANDLE_EXCEPTIONS): Likewise.
4927 (FP_RND_NEAREST): Likewise.
4928 (FP_RND_ZERO): Likewise.
4929 (FP_RND_PINF): Likewise.
4930 (FP_RND_MINF): Likewise.
4931 (FP_RND_MASK): Likewise.
4932 (_FP_DECL_EX): Likewise.
4933 (FP_INIT_ROUNDMODE): Likewise.
4934 (FP_ROUNDMODE): Likewise.
4936 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4937 VSX code, enable IEEE 128-bit floating point. If the compiler can
4938 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
4939 floating point hardware instructions and it supports declaring
4940 functions with the ifunc attribute, enable ifunc functions to
4941 switch between software and hardware support.
4942 * configure.ac (powerpc*-*-linux*): Likewise.
4943 * configure: Regenerate.
4945 2016-01-15 Nick Clifton <nickc@redhat.com>
4947 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
4948 dependency as the source file to be compiled.
4949 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
4950 (lib2hw_mul_f5.o): Likewise.
4952 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
4954 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
4955 * libgcc/config/rs6000/fixkfti.c: Likewise.
4956 * libgcc/config/rs6000/fixunskfti.c: Likewise.
4957 * libgcc/config/rs6000/float128-hw.c: Likewise.
4958 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
4959 * libgcc/config/rs6000/float128-sed: Likewise.
4960 * libgcc/config/rs6000/floattikf.c: Likewise.
4961 * libgcc/config/rs6000/floatuntikf.c: Likewise.
4962 * libgcc/config/rs6000/quad-float128.h: Likewise.
4963 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
4964 * libgcc/config/rs6000/sfp-machine.h: Likewise.
4965 * libgcc/config/rs6000/t-float128: Likewise.
4966 * libgcc/config/rs6000/t-float128-hw: Likewise.
4967 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
4968 * libgcc/config.host: Likewise.
4969 * libgcc/configure: Likewise.
4970 * libgcc/configure.ac: Likewise.
4972 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
4973 Steven Munroe <munroesj@linux.vnet.ibm.com>
4974 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
4976 * config/rs6000/sfp-exceptions.c: New file to provide exception
4977 support for IEEE 128-bit floating point.
4979 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4980 floating point hardware support.
4982 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
4984 * config/rs6000/fixunskfti.c: Likewise.
4985 * config/rs6000/fixkfti.c: Likewise.
4986 * config/rs6000/floatuntikf.c: Likewise.
4987 * config/rs6000/extendkftf2-sw.c: Likewise.
4988 * config/rs6000/trunctfkf2-sw.c: Likewise.
4990 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4991 128-bit floating point software emulation or use ISA 3.0 hardware
4992 support if it is available.
4994 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4997 * config/rs6000/t-float128: New Makefile fragments to enable
4998 building __float128 emulation support.
4999 * config/rs6000/t-float128-hw: Likewise.
5001 * config/rs6000/float128-sed: New file to convert TF names to KF
5002 names for PowerPC IEEE 128-bit floating point support.
5004 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5005 when building on 64-bit systems, or when VSX is enabled.
5006 (_FP_W_TYPE): Likewise.
5007 (_FP_WS_TYPE): Likewise.
5008 (_FP_I_TYPE): Likewise.
5009 (TItype): Define on 64-bit systems.
5010 (UTItype): Likewise.
5011 (TI_BITS): Likewise.
5012 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5013 (_FP_MUL_MEAT_Q): Likewise.
5014 (_FP_DIV_MEAT_D): Likewise.
5015 (_FP_DIV_MEAT_Q): Likewise.
5016 (_FP_NANFRAC_D): Likewise.
5017 (_FP_NANFRAC_Q): Likewise.
5018 (ISA_BIT): Add exception support if we are being compiled on a
5019 machine with hardware floating point support to build the IEEE
5020 128-bit emulation functions.
5021 (FP_EX_INVALID): Likewise.
5022 (FP_EX_OVERFLOW): Likewise.
5023 (FP_EX_UNDERFLOW): Likewise.
5024 (FP_EX_DIVZERO): Likewise.
5025 (FP_EX_INEXACT): Likewise.
5026 (FP_EX_ALL): Likewise.
5027 (__sfp_handle_exceptions): Likewise.
5028 (FP_HANDLE_EXCEPTIONS): Likewise.
5029 (FP_RND_NEAREST): Likewise.
5030 (FP_RND_ZERO): Likewise.
5031 (FP_RND_PINF): Likewise.
5032 (FP_RND_MINF): Likewise.
5033 (FP_RND_MASK): Likewise.
5034 (_FP_DECL_EX): Likewise.
5035 (FP_INIT_ROUNDMODE): Likewise.
5036 (FP_ROUNDMODE): Likewise.
5038 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
5039 compiler can do __float128.
5040 * configure: Regenerate.
5042 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5043 VSX code, enable IEEE 128-bit floating point.
5045 2016-01-05 Olivier Hainque <hainque@adacore.com>
5047 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
5050 2016-01-04 Jakub Jelinek <jakub@redhat.com>
5052 Update copyright years.
5054 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
5056 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
5059 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5061 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
5062 instead of abort to avoid dependency on stdlib.h.
5064 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
5066 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
5067 to initialize call to __dl_fixup once.
5069 2015-12-04 Nick Clifton <nickc@redhat.com>
5071 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
5072 Allow for the second argument being negative.
5073 * config.host (extra_parts): Define for MSP430. Create separate
5074 libraries for each of the hardware multiply formats.
5075 * config/msp430/lib2hw_mul.S: Build only the multiply routines
5077 * config/msp430/lib2mul.c: Likewise.
5078 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
5079 Add rules to build hardware multiply libraries.
5080 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
5081 __mspabi_divul function.
5082 (__mspabi_divllu): New stub function.
5084 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
5086 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
5087 fixup values if saved GOT address doesn't match runtime address.
5088 (fixup_branch_offset): Reorder list.
5090 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5092 * Makefile.in (VTV_CFLAGS): New variable.
5093 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
5094 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
5095 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5096 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
5097 to extra_parts if $enable_vtable_verify = yes.
5099 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
5102 * config/arm/linux-atomic-64bit.c (__write): Rename to...
5103 (write): ...this and fix the return type.
5105 2015-11-19 DJ Delorie <dj@redhat.com>
5107 * config/msp430/lib2hw_mul.S: Fix alignment.
5109 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
5111 * config/nvptx/reduction.c: New.
5112 * config/nvptx/t-nvptx (LIB2ADD): Add it.
5114 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
5116 * config/rs6000/on_exit.c: New file.
5117 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
5118 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
5120 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
5122 * config/arc/dp-hack.h: Add support for ARCHS.
5123 * config/arc/ieee-754/divdf3.S: Likewise.
5124 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5125 * config/arc/ieee-754/muldf3.S: Likewise.
5126 * config/arc/ieee-754/mulsf3.S: Likewise
5127 * config/arc/lib1funcs.S: Likewise
5128 * config/arc/gmon/dcache_linesz.S: Don't read the build register
5130 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
5132 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
5133 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
5136 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5138 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
5140 * config/ia64/crtend.S: Likewise.
5142 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5144 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
5145 __CHAR_BIT__ instead of BITS_PER_UNIT.
5146 * fixed-bit.h: Likewise.
5147 * fp-bit.h: Likewise.
5148 * libgcc2.c (__popcountSI2): Likewise.
5149 (__popcountDI2): Likewise.
5150 * libgcc2.h: Likewise.
5151 * libgcov.h: Likewise.
5153 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
5155 * config/rs6000/atexit.c: New file.
5156 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
5157 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
5158 * config/rs6000/cxa_finalize.c
5159 (catomic_compare_and_exchange_bool_acq): Negate return value.
5161 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
5163 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
5164 (processor_subtypes): Add znver1.
5165 (get_amd_cpu): Detect znver1.
5167 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
5169 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
5170 Include crtfastmath.o.
5172 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
5175 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
5177 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
5179 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
5180 * config/rl78/divmodsi.S: Update return register to r8.
5181 * config/rl78/divmodhi.S: Update return register to r8,r9.
5182 Branch to main_loop_done_himode to pop registers before return.
5184 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
5186 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
5187 (__cpu_indicator_init): Fix model selection for AMD CPUs.
5189 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
5191 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
5193 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
5195 * config.host (xtensa*-*-uclinux*): New configuration.
5197 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
5199 * config/i386/cpuinfo.c (processor_features): Add
5200 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
5202 2015-09-28 Joseph Myers <joseph@codesourcery.com>
5204 * soft-fp/adddf3.c: Update from glibc.
5205 * soft-fp/addsf3.c: Likewise.
5206 * soft-fp/addtf3.c: Likewise.
5207 * soft-fp/divdf3.c: Likewise.
5208 * soft-fp/divsf3.c: Likewise.
5209 * soft-fp/divtf3.c: Likewise.
5210 * soft-fp/double.h: Likewise.
5211 * soft-fp/eqdf2.c: Likewise.
5212 * soft-fp/eqsf2.c: Likewise.
5213 * soft-fp/eqtf2.c: Likewise.
5214 * soft-fp/extenddftf2.c: Likewise.
5215 * soft-fp/extended.h: Likewise.
5216 * soft-fp/extendsfdf2.c: Likewise.
5217 * soft-fp/extendsftf2.c: Likewise.
5218 * soft-fp/extendxftf2.c: Likewise.
5219 * soft-fp/fixdfdi.c: Likewise.
5220 * soft-fp/fixdfsi.c: Likewise.
5221 * soft-fp/fixdfti.c: Likewise.
5222 * soft-fp/fixsfdi.c: Likewise.
5223 * soft-fp/fixsfsi.c: Likewise.
5224 * soft-fp/fixsfti.c: Likewise.
5225 * soft-fp/fixtfdi.c: Likewise.
5226 * soft-fp/fixtfsi.c: Likewise.
5227 * soft-fp/fixtfti.c: Likewise.
5228 * soft-fp/fixunsdfdi.c: Likewise.
5229 * soft-fp/fixunsdfsi.c: Likewise.
5230 * soft-fp/fixunsdfti.c: Likewise.
5231 * soft-fp/fixunssfdi.c: Likewise.
5232 * soft-fp/fixunssfsi.c: Likewise.
5233 * soft-fp/fixunssfti.c: Likewise.
5234 * soft-fp/fixunstfdi.c: Likewise.
5235 * soft-fp/fixunstfsi.c: Likewise.
5236 * soft-fp/fixunstfti.c: Likewise.
5237 * soft-fp/floatdidf.c: Likewise.
5238 * soft-fp/floatdisf.c: Likewise.
5239 * soft-fp/floatditf.c: Likewise.
5240 * soft-fp/floatsidf.c: Likewise.
5241 * soft-fp/floatsisf.c: Likewise.
5242 * soft-fp/floatsitf.c: Likewise.
5243 * soft-fp/floattidf.c: Likewise.
5244 * soft-fp/floattisf.c: Likewise.
5245 * soft-fp/floattitf.c: Likewise.
5246 * soft-fp/floatundidf.c: Likewise.
5247 * soft-fp/floatundisf.c: Likewise.
5248 * soft-fp/floatunditf.c: Likewise.
5249 * soft-fp/floatunsidf.c: Likewise.
5250 * soft-fp/floatunsisf.c: Likewise.
5251 * soft-fp/floatunsitf.c: Likewise.
5252 * soft-fp/floatuntidf.c: Likewise.
5253 * soft-fp/floatuntisf.c: Likewise.
5254 * soft-fp/floatuntitf.c: Likewise.
5255 * soft-fp/gedf2.c: Likewise.
5256 * soft-fp/gesf2.c: Likewise.
5257 * soft-fp/getf2.c: Likewise.
5258 * soft-fp/ledf2.c: Likewise.
5259 * soft-fp/lesf2.c: Likewise.
5260 * soft-fp/letf2.c: Likewise.
5261 * soft-fp/muldf3.c: Likewise.
5262 * soft-fp/mulsf3.c: Likewise.
5263 * soft-fp/multf3.c: Likewise.
5264 * soft-fp/negdf2.c: Likewise.
5265 * soft-fp/negsf2.c: Likewise.
5266 * soft-fp/negtf2.c: Likewise.
5267 * soft-fp/op-1.h: Likewise.
5268 * soft-fp/op-2.h: Likewise.
5269 * soft-fp/op-4.h: Likewise.
5270 * soft-fp/op-8.h: Likewise.
5271 * soft-fp/op-common.h: Likewise.
5272 * soft-fp/quad.h: Likewise.
5273 * soft-fp/single.h: Likewise.
5274 * soft-fp/soft-fp.h: Likewise.
5275 * soft-fp/subdf3.c: Likewise.
5276 * soft-fp/subsf3.c: Likewise.
5277 * soft-fp/subtf3.c: Likewise.
5278 * soft-fp/truncdfsf2.c: Likewise.
5279 * soft-fp/trunctfdf2.c: Likewise.
5280 * soft-fp/trunctfsf2.c: Likewise.
5281 * soft-fp/trunctfxf2.c: Likewise.
5282 * soft-fp/unorddf2.c: Likewise.
5283 * soft-fp/unordsf2.c: Likewise.
5284 * soft-fp/unordtf2.c: Likewise.
5286 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
5289 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
5291 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5293 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5294 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
5295 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
5297 (internal_mcount): Likewise.
5298 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
5299 crt_compile, add CRTSTUFF_T_CFLAGS_S.
5301 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5303 * configure.ac (libgcc_cv_solaris_crts): New test.
5304 * configure: Regenerate.
5305 * config.in: Regenerate.
5306 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
5307 * config/gmon-sol2.c: Rename to ...
5308 * config/sol2/gmon.c: ... this.
5309 Include auto-target.h.
5310 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
5311 * config/t-sol2: Rename to ...
5312 * config/sol2/t-sol2: ... this.
5313 (gmon.o): Reflect renaming.
5314 (crtp.o, crtpg.o): New rules.
5315 * config.host (*-*-solaris2*): Reflect renaming.
5316 Use system CRTs if present.
5317 Remove default CRT case.
5319 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
5321 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
5322 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
5324 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
5325 (__sync_val_compare_and_swap_##WIDTH): Likewise.
5326 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
5327 (__sync_lock_test_and_set_##WIDTH): Likewise.
5328 (__sync_lock_release_##WIDTH): Likewise.
5329 (__sync_fetch_and_##OP##_4): Change result to match type of
5331 (__sync_##OP##_and_fetch_4): Likewise.
5332 (__sync_val_compare_and_swap_4): Likewise.
5333 (__sync_bool_compare_and_swap_4): likewise.
5334 (__sync_lock_test_and_set_4): Likewise.
5335 (__sync_lock_release_4): Likewise.
5336 (FETCH_AND_OP_2): Add long long variants.
5337 (OP_AND_FETCH_2): Likewise.
5338 (COMPARE_AND_SWAP_2 ): Likewise.
5339 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5340 (SYNC_LOCK_RELEASE_2): Likewise.
5341 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
5343 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
5345 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
5346 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
5347 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
5348 (get_available_features): Habdle new features.
5350 2015-09-21 James Bowman <james.bowman@ftdichip.com>
5352 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
5353 memory layout. Deal correctly with BSS region larger than 32K.
5354 Handle a watchdog reset like a power-on reset. Clean up unused
5357 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
5358 David Edelsohn <dje.gcc@gmail.com>
5360 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
5361 * config/rs6000/crtdbase.S: New file.
5362 * config/rs6000/t-aix-cxa: Build crtdbase.o.
5364 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
5366 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
5367 Add support for call0 ABI.
5369 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
5371 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
5373 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
5375 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
5376 (__GTHREAD_HAS_COND): Likewise.
5377 (__gthread_t): Likewise.
5378 (__gthread_cond_t): Likewise.
5379 (__gthread_time_t): Likewise.
5380 (__GTHREAD_MUTEX_INIT): Likewise.
5381 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
5382 (__GTHREAD_COND_INIT): Likewise.
5383 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
5384 (__GTHREAD_TIME_INIT): Likewise.
5385 (__gthread_create): Likewise.
5386 (__gthread_join): Likewise.
5387 (__gthread_detach): Likewise.
5388 (__gthread_equal): Likewise.
5389 (__gthread_self): Likewise.
5390 (__gthread_yield): Likewise.
5391 (__gthread_cond_broadcast): Likewise.
5392 (__gthread_cond_signal): Likewise.
5393 (__gthread_cond_wait): Likewise.
5394 (__gthread_cond_timedwait): Likewise.
5395 (__gthread_cond_wait_recursive): Likewise.
5396 (__gthread_cond_destroy): Likewise.
5397 (rtems_gxx_once): Delete.
5398 (rtems_gxx_key_create): Likewise.
5399 (rtems_gxx_key_delete): Likewise.
5400 (rtems_gxx_getspecific): Likewise.
5401 (rtems_gxx_setspecific): Likewise.
5402 (rtems_gxx_mutex_init): Likewise.
5403 (rtems_gxx_mutex_destroy): Likewise.
5404 (rtems_gxx_mutex_lock): Likewise.
5405 (rtems_gxx_mutex_trylock): Likewise.
5406 (rtems_gxx_mutex_unlock): Likewise.
5407 (rtems_gxx_recursive_mutex_init): Likewise.
5408 (rtems_gxx_recursive_mutex_lock): Likewise.
5409 (rtems_gxx_recursive_mutex_trylock): Likewise.
5410 (rtems_gxx_recursive_mutex_unlock): Likewise.
5411 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
5412 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
5413 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
5414 (__gthread_once): Likewise.
5415 (__gthread_key_create): Likewise.
5416 (__gthread_key_delete): Likewise.
5417 (__gthread_getspecific): Likewise.
5418 (__gthread_setspecific): Likewise.
5419 (__gthread_key_t): Use <pthread.h> type.
5420 (__gthread_once_t): Likewise
5421 (__gthread_mutex_t): Use <sys/lock.h> type.
5422 (__gthread_recursive_mutex_t): Likewise
5423 (__gthread_mutex_lock): Use <sys/lock.h> function.
5424 (__gthread_mutex_trylock): Likewise.
5425 (__gthread_mutex_timedlock): Likewise.
5426 (__gthread_mutex_unlock): Likewise.
5427 (__gthread_mutex_destroy): Likewise.
5428 (__gthread_recursive_mutex_lock): Likewise.
5429 (__gthread_recursive_mutex_trylock): Likewise.
5430 (__gthread_recursive_mutex_timedlock): Likewise.
5431 (__gthread_recursive_mutex_unlock): Likewise.
5432 (__gthread_recursive_mutex_destroy): Likewise.
5434 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5436 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
5437 context->sp instead of context->cfa.
5439 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5441 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
5442 with unwind-dw2-fde-dip.
5444 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5446 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
5447 CALL12 followed by series of ENTRY to spill windowed registers.
5448 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
5449 instead of making linux spill syscall.
5451 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
5453 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
5454 (get_intel_cpu): Likewise.
5456 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
5458 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
5459 (get_intel_cpu): Add Knights Landing support.
5461 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
5464 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
5465 (get_available_features): Handle FEATURE_PCLMUL.
5467 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
5469 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
5472 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
5475 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
5476 (get_available_features): Handle FEATURE_AES.
5478 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
5480 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
5481 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
5483 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
5485 * offloadstuff.c: Constify host data.
5487 2015-07-17 Jan Beulich <jbeulich@suse.com>
5489 * config/t-softfp: Split up "else ifneq".
5491 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
5492 Cesar Philippidis <cesar@codesourcery.com>
5493 Chung-Lin Tang <cltang@codesourcery.com>
5495 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
5496 for __nios2_arch__ level.
5498 2015-07-13 John Marino <gnugcc@marino.st>
5500 * config/i386/t-dragonfly: New.
5502 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
5504 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
5505 better match light-weight syscall argument order.
5506 (__kernel_cmpxchg2): Likewise.
5509 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
5511 * config.host: Support i[34567]86-*-elfiamcu target.
5512 * config/t-softfp-sfdftf: New file.
5513 * config/i386/32/t-iamcu: Likewise.
5514 * configure: Regenerated.
5516 2015-06-23 James Lemke <jwlemke@codesourcery.com>
5519 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
5521 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
5523 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
5525 2015-05-27 John Marino <gnugcc@marino.st>
5527 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
5529 * config/i386/freebsd-unwind.h: New.
5531 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
5533 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
5534 i386/t-crtfm to tmake_file.
5535 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
5536 (set_fast_math): Use set_fast_math_sse for SSE targets.
5537 * config/i386/t-crtfm: Remove.
5539 2015-05-21 Alan Modra <amodra@gmail.com>
5542 * config/rs6000/morestack.S: Remove ".abiversion 1".
5544 2015-05-20 Alan Modra <amodra@gmail.com>
5546 * config/rs6000/morestack.S: New.
5547 * config/rs6000/t-stack-rs6000: New.
5548 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
5550 * generic-morestack.c: Don't build for powerpc 32-bit.
5552 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
5554 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
5555 Remove useless endif/ifneq ($(enable_shared),yes) pair.
5557 2015-05-16 James Bowman <james.bowman@ftdichip.com>
5559 * config.host: FT32 target added.
5560 * config/ft32/*: New files for FT32 target.
5562 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
5564 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
5566 * config/arm/ieee754-df.S: Add CFI directives.
5567 * config/arm/ieee754-sf.S: Add CFI directives.
5569 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
5571 * configure.ac: Include config/sjlj.m4.
5572 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
5573 * config.in: Regenerate.
5574 * configure: Likewise.
5575 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
5577 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
5579 * libgcov-util.c: Add space between string literal and macro name.
5581 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
5582 Chris Jones <chrisj@nvidia.com>
5583 Joshua Conner <jconner@nvidia.com>
5585 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
5586 (arm*-*-uclinux*): Likewise.
5587 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
5588 * config/arm/crtfastmath.c: New file.
5590 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
5592 * Makefile.in (real_host_noncanonical): New variable.
5593 (libsubdir): Use it.
5594 * configure.ac (real_host_noncanonical): Compute. Remove special
5595 case for intelmicemul.
5596 * configure: Regenerate.
5598 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
5600 * config/frv/elf-lib.h: New file.
5601 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
5602 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
5605 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
5607 * config/frv/frvbengin.c: Do not include defaults.h
5608 * config/frv/frvend.c: Ditto.
5610 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
5612 * config.host: Add h8300-*-linux
5613 * config/h8300/t-linux: New file.
5614 * config/h8300/lib1funs.s: Change symbol prefix.
5615 * config/h8300/sfp-machine.h: 64bit double support.
5617 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
5618 Szabolcs Nagy <szabolcs.nagy@arm.com>
5620 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
5621 Linux if target provides dl_iterate_phdr.
5623 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
5626 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
5627 * config/i386/cpuinfo.c (__cpu_model): Initialize.
5628 (__cpu_indicator_init@GCC_4.8.0): New.
5629 (__cpu_model@GCC_4.8.0): Likewise.
5630 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
5633 2015-04-16 Nick Clifton <nickc@redhat.com>
5635 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
5636 and __modhi3 functions.
5637 * config/rl78/divmodso.S: Add G14 and G13 versions of the
5638 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
5640 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
5642 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
5643 do-while loop as macro body to avoid warnings.
5645 2015-04-10 Jakub Jelinek <jakub@redhat.com>
5646 Iain Sandoe <iain@codesourcery.com>
5649 * configure: Regenerate.
5651 2015-04-07 Jakub Jelinek <jakub@redhat.com>
5652 Iain Sandoe <iain@codesourcery.com>
5655 * configure: Regenerate.
5657 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
5659 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
5661 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
5663 Implement call0 ABI for xtensa
5664 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
5665 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
5666 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
5667 use ret in call0 ABI.
5668 * config/xtensa/t-windowed: New file.
5669 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
5670 * libgcc/configure: Regenerated.
5671 * libgcc/configure.ac: Check if xtensa target is configured for
5672 windowed ABI and thus needs to use custom unwind code.
5674 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
5677 * gthr-single.h: Use __unused__ attribute instead of unused.
5678 * config/gthr-vxworks.h: Likewise.
5679 * config/i386/gthr-win32.h: Likewise.
5681 2015-02-27 Kai Tietz <ktietz@redhat.com>
5684 * config.in: Regenerated.
5685 * configure: Likewise.
5686 * configure.ac (AC_HEADER_STDC): Added explicit.
5687 (AC_CHECK_HEADERS): Check for default headers plus
5689 * libgcov-util.c (gcov_read_profile_dir): Disable use
5690 of ftw-function, if header is not found.
5691 (ftw_read_file): Likewise.
5693 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
5696 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
5699 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
5701 * config/arm/bpabi.S (test_div_by_zero): Make label names
5702 consistent between thumb2 and arm mode cases. Separate the
5703 signed comparison on the high word of the numerator from the
5704 unsigned comparison on the low word.
5705 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
5708 2015-02-17 Joseph Myers <joseph@codesourcery.com>
5710 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
5712 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
5714 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
5716 PR gcov-profile/61889
5717 * libgcov-driver-system.c: undefine clashing macro for mkdir.
5719 2015-02-02 Nick Clifton <nickc@redhat.com>
5721 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
5722 rounding up the fraction.
5724 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
5726 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
5727 oldval and newval to const void *. Fix typo.
5728 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
5729 (FETCH_AND_OP_WORD): Likewise.
5730 (OP_AND_FETCH_WORD): Likewise.
5731 (COMPARE_AND_SWAP_2): Likewise.
5732 (__sync_val_compare_and_swap_4): Likewise.
5733 (__sync_lock_test_and_set_4): Likewise.
5734 (SYNC_LOCK_RELEASE_2): Likewise.
5735 Remove support for long long atomic operations.
5737 2015-01-27 Caroline Tice <cmtice@google.com>
5739 Committing VTV Cywin/Ming patch for Patrick Wollgast
5740 * Makefile.in: Move rules to build vtv_*.o out of the check
5741 for CUSTOM_CRTSTUFF.
5742 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
5743 i[34567]86-*-mingw*)
5744 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
5745 enable_vtable_verify.
5747 2015-01-27 Nick Clifton <nickc@redhat.com>
5749 * config/rl78/cmpsi2.S: Use function start and end macros.
5750 (__gcc_bcmp): New function.
5751 * config/rl78/lshrsi3.S: Use function start and end macros.
5752 * config/rl78/mulsi3.S: Add support for G10.
5753 (__mulqi3): New function for G10.
5754 * config/rl78/signbit.S: Use function start and end macros.
5755 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
5757 (LIB2FUNCS_EXCLUDE): Define.
5758 (LIB2FUNCS_ST): Define.
5759 * config/rl78/trampoline.S: Use function start and end macros.
5760 * config/rl78/vregs.h (START_FUNC): New macro.
5761 (START_ANOTHER_FUNC): New macro.
5762 (END_FUNC): New macro.
5763 (END_ANOTHER_FUNC): New macro.
5764 * config/rl78/bit-count.S: New file. Contains assembler
5765 implementations of the bit counting functions: ___clzhi2,
5766 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
5767 __paritysi2, __popcounthi2 and __popcountsi2.
5768 * config/rl78/fpbit-sf.S: New file. Contains assembler
5769 implementationas of the math functions: __negsf2, __cmpsf2,
5770 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
5771 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
5772 * config/rl78/fpmath-sf.S: New file. Contains assembler
5773 implementations of the math functions: __subsf3, __addsf3,
5774 __mulsf3 and __divsf3
5776 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5778 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
5779 Add i386/elf-lib.h to tm_file.
5780 * config/i386/elf-lib.h: Fix comment.
5781 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
5782 && __sun__ && __svr4__]: Remove workaround.
5784 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5786 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
5788 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
5790 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
5792 * config/i386/cpuinfo.c (processor_subtypes): Add
5793 INTEL_COREI7_BROADWELL.
5794 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
5797 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
5799 * config/i386/elf-lib.h: New file.
5800 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
5801 Wrap definition in #ifdef __i386__.
5802 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5803 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
5804 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
5805 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
5808 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
5810 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
5811 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
5813 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
5815 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
5816 Update rt_sigframe format and address for current Nios II
5819 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
5821 * config.host (arm*-*-freebsd*): Add new configuration for
5823 * config/arm/freebsd-atomic.c: New file.
5824 * config/arm/t-freebsd: Likewise.
5825 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
5826 'PC-relative indirect' OS's.
5828 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
5830 * config.host: Add Visium support.
5831 * config/visium: New directory.
5833 2015-01-05 Jakub Jelinek <jakub@redhat.com>
5835 Update copyright years.
5837 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
5839 * config.host: Support mipsisa32r6 and mipsisa64r6.
5840 * config/mips/mips16.S: Do not build for R6.
5842 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
5844 * config/sh/crt.h: New.
5845 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
5847 * config/sh/crt1.S: Likewise.
5849 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
5852 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
5853 func_ptr *dtor_list temporary variable to avoid "array subscript
5854 is above array bounds" warnings.
5856 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
5858 * Makefile.in (with_aix_soname): Define.
5859 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
5860 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
5861 * configure: Recreate.
5863 2014-12-05 Olivier Hainque <hainque@adacore.com>
5865 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
5866 now provided by defaults.h.
5868 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
5871 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
5872 whether it's defined.
5874 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
5876 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
5877 * config/i386/cpuinfo.c (get_available_features): Detect it.
5879 2014-11-27 Tony Wang <tony.wang@arm.com>
5881 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
5882 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
5883 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
5885 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
5887 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
5889 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
5891 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
5894 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
5895 John David Anglin <danglin@gcc.gnu.org>
5897 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
5898 (FETCH_AND_OP_2): New. Use for subword and double word operations.
5899 (OP_AND_FETCH_2): Likewise.
5900 (COMPARE_AND_SWAP_2): Likewise.
5901 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5902 (SYNC_LOCK_RELEASE_2): Likewise.
5903 (SUBWORD_SYNC_OP): Remove.
5904 (SUBWORD_VAL_CAS): Likewise.
5905 (SUBWORD_BOOL_CAS): Likewise.
5906 (FETCH_AND_OP_WORD): Update.
5907 Consistently use signed types.
5909 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
5910 Thomas Schwinge <thomas@codesourcery.com>
5911 Ilya Verbin <ilya.verbin@intel.com>
5912 Andrey Turetskiy <andrey.turetskiy@intel.com>
5914 * Makefile.in (crtoffloadbegin$(objext)): New rule.
5915 (crtoffloadend$(objext)): Likewise.
5916 * configure: Regenerate.
5917 * configure.ac (accel_dir_suffix): Compute new variable.
5918 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
5919 if enable_offload_targets is not empty.
5920 * offloadstuff.c: New file.
5922 2014-11-13 Nick Clifton <nickc@redhat.com>
5924 * config/rl78/divmodhi.S: Add support for the G10 architecture.
5925 Use START_FUNC and END_FUNC macros to enable linker garbage
5927 * config/rl78/divmodqi.S: Likewise.
5928 * config/rl78/divmodsi.S: Likewise.
5929 * config/rl78/mulsi3.S: Likewise.
5930 * config/rl78/lib2div.c: Remove G10 functions.
5931 * config/rl78/lib2muls.c: Likewise.
5932 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
5933 * config/rl78/vregs.h (START_FUNC): New macro.
5934 (END_FUNC): New macro.
5936 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
5938 * config/mips/mips16.S: Set .module when supported. Update O32
5939 FP64 calling convention and use for FPXX when possible. Add FPXX
5940 calling convention fallback case.
5942 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
5944 * config.host: Handle nvptx-*-*.
5945 * shared-object.mk (as-flags-$o): Define.
5946 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
5947 -xassembler-with-cpp.
5948 * static-object.mk: Identical changes.
5949 * config/nvptx/t-nvptx: New file.
5950 * config/nvptx/crt0.s: New file.
5951 * config/nvptx/free.asm: New file.
5952 * config/nvptx/malloc.asm: New file.
5953 * config/nvptx/realloc.c: New file.
5955 2014-10-30 Joseph Myers <joseph@codesourcery.com>
5957 * Makefile.in (libgcc.map.in): New target.
5958 (libgcc.map): Use libgcc.map.in.
5959 * config/t-softfp (softfp_compat): New variable to be set by
5961 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
5963 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
5965 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
5966 that use compat symbols and disable all code unless [SHARED].
5967 * config/t-softfp-compat: New file.
5968 * find-symver.awk: New file.
5969 * configure.ac (--with-glibc-version): New configure option.
5970 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
5971 * configure: Regenerate.
5972 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
5973 soft-float and e500.
5975 2014-10-29 Joseph Myers <joseph@codesourcery.com>
5977 * config/t-hardfp (hardfp_exclusions): Document new variable for
5979 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
5980 * config/t-softfp (softfp_extras): Document new variable for user
5982 (softfp_func_list): Add functions from $(softfp_extras).
5983 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
5984 * config.host (powerpc*-*-linux*): For e500v1, use
5985 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
5986 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
5987 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
5989 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
5991 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
5992 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
5993 memory read accesses are ok.
5995 2014-10-25 Joseph Myers <joseph@codesourcery.com>
5997 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
5998 * configure: Regenerate.
5999 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
6000 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
6001 of soft-fp for 32-bit classic hard float. Do not use
6002 t-softfp-excl for soft float.
6004 2014-10-22 Joseph Myers <joseph@codesourcery.com>
6006 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
6008 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
6011 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
6013 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
6014 introduced with 2014-10-21 trunk r216525.
6016 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
6017 Vidya Praveen <vidya.praveen@atmel.com>
6018 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
6019 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
6020 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
6022 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
6025 Updated library functions for AVRTINY arch.
6026 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
6027 Replaced occurrences of r0/r1 with tmp/zero reg macros.
6028 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
6029 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
6031 (__mulsi3_helper): Update stack, preserve callee saved regs and
6032 argument from stack. Restore callee save registers.
6033 (__mulpsi3): Likewise.
6034 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
6035 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
6036 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
6038 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
6039 (__do_copy_data): Added new definition for AVRTINY.
6040 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
6041 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
6042 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
6043 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
6044 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
6046 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
6049 Fix broken long multiplication on tiny arch.
6051 2014-10-09 Joseph Myers <joseph@codesourcery.com>
6053 * soft-fp/double.h: Update from glibc.
6054 * soft-fp/eqdf2.c: Likewise.
6055 * soft-fp/eqsf2.c: Likewise.
6056 * soft-fp/eqtf2.c: Likewise.
6057 * soft-fp/extenddftf2.c: Likewise.
6058 * soft-fp/extended.h: Likewise.
6059 * soft-fp/extendsfdf2.c: Likewise.
6060 * soft-fp/extendsftf2.c: Likewise.
6061 * soft-fp/extendxftf2.c: Likewise.
6062 * soft-fp/gedf2.c: Likewise.
6063 * soft-fp/gesf2.c: Likewise.
6064 * soft-fp/getf2.c: Likewise.
6065 * soft-fp/ledf2.c: Likewise.
6066 * soft-fp/lesf2.c: Likewise.
6067 * soft-fp/letf2.c: Likewise.
6068 * soft-fp/op-1.h: Likewise.
6069 * soft-fp/op-2.h: Likewise.
6070 * soft-fp/op-4.h: Likewise.
6071 * soft-fp/op-8.h: Likewise.
6072 * soft-fp/op-common.h: Likewise.
6073 * soft-fp/quad.h: Likewise.
6074 * soft-fp/single.h: Likewise.
6075 * soft-fp/soft-fp.h: Likewise.
6076 * soft-fp/unorddf2.c: Likewise.
6077 * soft-fp/unordsf2.c: Likewise.
6078 * soft-fp/unordtf2.c: Likewise.
6079 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
6080 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
6081 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
6082 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
6083 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
6084 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
6085 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
6086 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
6087 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
6088 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
6090 2014-10-08 Rong Xu <xur@google.com>
6092 * libgcov-util.c (read_gcda_file): Fix format.
6093 (find_match_gcov_info): Ditto.
6094 (calculate_2_entries): New.
6095 (compute_one_gcov): Ditto.
6096 (gcov_info_count_all_cold): Ditto.
6097 (gcov_info_count_all_zero): Ditto.
6098 (extract_file_basename): Ditto.
6099 (get_file_basename): Ditto.
6101 (matched_gcov_info): Ditto.
6102 (calculate_overlap): Ditto.
6103 (gcov_profile_overlap): Ditto.
6104 * libgcov-driver.c (compute_summary): Make
6105 it avavilable for external calls.
6107 2014-10-06 Rong Xu <xur@google.com>
6109 * Makefile.in: Ditto.
6110 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
6111 (gcov_sort_icall_topn_counter): Ditto.
6112 (gcov_sort_topn_counter_arrays): Ditto.
6113 (dump_one_gcov): Sort indirect_call topn counters.
6114 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
6116 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
6118 (__gcov_indirect_call_topn_profiler): New profiler function.
6119 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
6120 * libgcov.h: New decls.
6122 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
6124 * config.host: Remove support for score-*.
6126 2014-09-22 Joseph Myers <joseph@codesourcery.com>
6128 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6129 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
6130 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
6131 __LIBGCC_XF_MANT_DIG__.
6132 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
6133 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
6134 __LIBGCC_TF_MANT_DIG__.
6135 * libgcc2.c (NOTRUNC): Define in terms of
6136 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
6137 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6139 2014-09-22 Joseph Myers <joseph@codesourcery.com>
6142 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
6145 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
6147 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
6148 override USE_PT_GNU_EH_FRAME.
6149 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
6150 check USE_EH_FRAME_REGISTRY_ALWAYS against
6151 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
6152 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
6153 variable for substituted force_explicit_eh_registry.
6154 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
6155 * configure.ac (explicit-exception-frame-registration):
6157 * configure: Regenerate.
6159 2014-09-19 Olivier Hainque <hainque@adacore.com>
6161 * config.host (powerpc-wrs-vxworksmils): New configuration,
6164 2014-09-18 Joseph Myers <joseph@codesourcery.com>
6166 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
6168 2014-09-18 Joseph Myers <joseph@codesourcery.com>
6170 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
6171 bits not set bits as indicating trapping exceptions.
6173 2014-09-17 Nathan sidwell <nathan@acm.org>
6175 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
6176 (LIBGCOV_DRIVER): ... here.
6177 * libgcov-driver.c (gcov_master): New.
6178 (gcov_exit): Remove from master chain.
6179 (__gcov_init): Add to master chain if version compatible. Don't
6181 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
6182 (gcov_reset_int): Clear master chain, if compatible.
6183 (gcov_dump_int): New internal interface. Dump master chain, if
6185 (gcov_dump): Alias for gcov_dump_int.
6186 * libgcov.h (struct gcov_root): Add next and prev fields.
6187 (struct gcov_master): New struct.
6188 (__gcov_master): New.
6189 (gcov_dump_int): Declare.
6191 2014-09-17 Olivier Hainque <hainque@adacore.com>
6193 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
6194 and crtbegin.o + crtend.o to extra_parts.
6196 2014-09-12 Joseph Myers <joseph@codesourcery.com>
6198 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
6199 __LIBGCC_HAS_SF_MODE__.
6200 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6201 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6202 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6203 * config/libbid/bid_gcc_intrinsics.h
6204 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6205 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6206 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6207 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6208 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
6209 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6211 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
6214 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
6215 and R24 as needed. Make work for all devices and .text locations.
6216 (__do_global_ctors, __do_global_dtors): Use word addresses.
6217 (__tablejump__, __tablejump_elpm__): Remove functions.
6218 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
6220 (XICALL, XIJMP): New macros.
6222 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
6223 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6225 * config.host (aarch64*): Include crtfastmath.o and
6227 * config/aarch64/crtfastmath.c: New file.
6229 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
6231 * config.host: Remove picochip support.
6232 * config/picochip/adddi3.S: Remove.
6233 * config/picochip/ashlsi3.S: Remove.
6234 * config/picochip/ashlsi3.c: Remove.
6235 * config/picochip/ashrsi3.S: Remove.
6236 * config/picochip/ashrsi3.c: Remove.
6237 * config/picochip/clzsi2.S: Remove.
6238 * config/picochip/cmpsi2.S: Remove.
6239 * config/picochip/divmod15.S: Remove.
6240 * config/picochip/divmodhi4.S: Remove.
6241 * config/picochip/divmodsi4.S: Remove.
6242 * config/picochip/lib1funcs.S: Remove.
6243 * config/picochip/longjmp.S: Remove.
6244 * config/picochip/lshrsi3.S: Remove.
6245 * config/picochip/lshrsi3.c: Remove.
6246 * config/picochip/parityhi2.S: Remove.
6247 * config/picochip/popcounthi2.S: Remove.
6248 * config/picochip/setjmp.S: Remove.
6249 * config/picochip/subdi3.S: Remove.
6250 * config/picochip/t-picochip: Remove.
6251 * config/picochip/ucmpsi2.S: Remove.
6252 * config/picochip/udivmodhi4.S: Remove.
6253 * config/picochip/udivmodsi4.S: Remove.
6255 2014-09-08 Joseph Myers <joseph@codesourcery.com>
6257 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
6258 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
6259 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
6260 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
6261 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
6262 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
6263 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
6264 defined and LIBGCC2_HAS_DF_MODE is defined.
6265 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
6266 defined and LIBGCC2_HAS_XF_MODE is defined.
6267 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
6268 defined and LIBGCC2_HAS_TF_MODE is defined.
6270 2014-09-08 Joseph Myers <joseph@codesourcery.com>
6272 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
6273 and ROUND_TOWARDS_ZERO conditionals.
6275 2014-09-07 Nathan sidwell <nathan@acm.org>
6277 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
6278 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
6280 2014-09-05 Joseph Myers <joseph@codesourcery.com>
6282 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
6283 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6284 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6285 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6286 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6287 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6288 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6289 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
6290 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
6291 (DWARF_FRAME_REGISTERS): Change all uses to
6292 __LIBGCC_DWARF_FRAME_REGISTERS__.
6293 (EH_RETURN_STACKADJ_RTX): Change all uses to
6294 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6295 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
6296 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
6297 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
6298 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
6299 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
6300 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
6301 to __LIBGCC_EH_FRAME_SECTION_NAME__.
6302 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
6303 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
6304 __LIBGCC_STACK_POINTER_REGNUM__.
6305 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6306 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6307 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6308 to __LIBGCC_STACK_POINTER_REGNUM__.
6309 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6310 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6311 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6312 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6313 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6314 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6315 (STACK_POINTER_REGNUM): Change all uses to
6316 __LIBGCC_STACK_POINTER_REGNUM__.
6317 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
6318 use to __LIBGCC_STACK_POINTER_REGNUM__.
6319 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6320 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6321 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
6322 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6323 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
6324 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6325 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6326 to __LIBGCC_STACK_POINTER_REGNUM__.
6327 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
6328 Remove conditional definition.
6329 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
6330 __LIBGCC_TEXT_SECTION_ASM_OP__.
6331 (EH_FRAME_SECTION_NAME): Change all uses to
6332 __LIBGCC_EH_FRAME_SECTION_NAME__.
6333 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
6334 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
6335 (CTORS_SECTION_ASM_OP): Change all uses to
6336 __LIBGCC_CTORS_SECTION_ASM_OP__.
6337 (DTORS_SECTION_ASM_OP): Change all uses to
6338 __LIBGCC_DTORS_SECTION_ASM_OP__.
6339 (JCR_SECTION_NAME): Change all uses to
6340 __LIBGCC_JCR_SECTION_NAME__.
6341 (INIT_SECTION_ASM_OP): Change all uses to
6342 __LIBGCC_INIT_SECTION_ASM_OP__.
6343 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6344 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6345 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
6346 __LIBGCC_STACK_GROWS_DOWNWARD__.
6347 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
6348 __LIBGCC_INIT_SECTION_ASM_OP__.
6349 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6350 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6351 (EH_FRAME_SECTION_NAME): Change all uses to
6352 __LIBGCC_EH_FRAME_SECTION_NAME__.
6353 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
6354 definitions. Change all uses to
6355 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
6356 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
6357 __LIBGCC_STACK_GROWS_DOWNWARD__.
6358 (DWARF_FRAME_REGISTERS): Change all uses to
6359 __LIBGCC_DWARF_FRAME_REGISTERS__.
6360 (EH_RETURN_STACKADJ_RTX): Change all uses to
6361 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6362 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
6363 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
6364 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
6365 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
6366 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
6368 2014-09-02 Nathan sidwell <nathan@acm.org>
6370 * libgcov-interface.c (STRONG_ALIAS): New.
6371 (__gcov_flush): Call __gcov_reset_int.
6372 (__gcov_reset): Strong alias for ...
6373 (__gcov_reset_ing): ... this renamed hidden version.
6374 * libgcov.h (__gcov_reset_int): New declaration.
6376 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
6378 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
6380 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
6381 (__dso_handle): Define on Cygwin.
6382 * config/i386/t-cygming (crtbeginS.o): New rule.
6383 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
6385 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
6388 2014-08-13 Steve Ellcey <sellcey@mips.com>
6390 * crtstuff.c: Undef caddr_t.
6392 2014-08-12 Steve Ellcey <sellcey@mips.com>
6394 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
6396 2014-08-07 Nathan Sidwell <nathan@acm.org>
6398 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
6399 (LIBGCOV_DRIVER): ... to here.
6400 * libgcov.h (gcov_do_dump): New #define.
6401 (struct gcov_root): New.
6402 (__gcov_root): New declaration.
6403 (__gcov_dump_one): Declare.
6404 * libgcov-driver.c (gcov_list, gcov_dump_complete,
6405 run_accounted): Delete.
6406 (gcov_compute_histogram): Add LIST argument, adjust.
6407 (compute_summary): Adjust gcov_compute_histogram call.
6408 (gcov_do_dump): Not hidden, static in libgcov.
6409 (gcov_clear): Move to interface.c.
6410 (__gcov_dump_one): New, broken out of ...
6411 (gcov_exit): ... here. Make static.
6413 (__gcov_init): Adjust.
6414 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
6416 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
6417 (gcov_clear): Moved from driver.c. Add LIST argument.
6418 (__gcov_reset): Adjust for changed interfaces.
6419 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
6421 2014-08-04 Rohit <rohitarulraj@freescale.com>
6424 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
6425 based on change in SPE high register numbers and 3 HTM registers.
6427 2014-08-01 Nathan Sidwell <nathan@acm.org>
6429 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
6430 LIBGCOV_INTERFACE): Reformat.
6431 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
6433 * libgcov-interface.c: Reformat some comments.
6434 (__gcov_flush_mx): Add declaration. Tidy up definition.
6436 2014-07-31 Alan Modra <amodra@gmail.com>
6437 Peter Bergner <bergner@vnet.ibm.com>
6439 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
6440 (pack_ldouble): New function.
6441 (__gcc_qadd): Use it.
6442 (__gcc_qmul): Likewise.
6443 (__gcc_qdiv): Likewise.
6444 (__gcc_qneg): Likewise.
6445 (__gcc_stoq): Likewise.
6446 (__gcc_dtoq): Likewise.
6448 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
6450 * config/s390/tpf-unwind.h: Include <stdbool.h>.
6451 (__tpf_eh_return): Add original return address as second parameter.
6452 Handle cases where unwinder routines were called directly, instead
6453 of from within the C++ library.
6455 2014-07-29 Nathan Sidwell <nathan@acm.org>
6457 * libgcov.h: Move renaming of entry points to lib gcov specific
6459 (gcov_do_dump): New rename.
6460 (gcov_rewrite): Remove inline, make HIDDEN.
6461 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
6462 (gcov_exit_compute_summary): Rename to ...
6463 (compute_summary): ... here. Add LIST argument.
6464 (gcov_exit_merge_gcda): Rename to ...
6465 (merge_one_data): ... here.
6466 (gcov_exit_write_gcda): Rename to ...
6467 (write_one_data): ... here.
6468 (gcov_exit_merge_summary): Rename to ...
6469 (merge_summary): Add RUN_COUNTED argument.
6470 (gcov_exit_dump_gcov): Rename to ...
6471 (dump_one_gcov): Add RUN_COUNTED argument.
6472 (gcov_do_dump): New function, broken out of ...
6473 (gcov_exit): ... here. Call it.
6475 2014-07-27 Anthony Green <green@moxielogic.com>
6477 * config.host: Add moxiebox configuration suppport.
6479 2014-07-27 Nathan Sidwell <nathan@acm.org>
6481 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
6482 (struct gcov_filename): ... here. Include buffer and max length
6484 (gcov_max_filename): Remove.
6485 (gi_filename): Remove.
6486 (gcov_exit_compute_summary): Compute max filename here.
6487 (gcov_exit_merge_gcda): Add filename parm, adjust.
6488 (gcov_exit_merge_summary): Likewise.
6489 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
6490 (gcov_exit): Likewise.
6491 (__gcov_init): Don't calculate max length here.
6492 * libgcov_util.c (max_filename_len): Remove.
6493 (read_gcda_file): Don't calculate max length here.
6494 (gcov_read_profile_dir): Don't propagate here.
6495 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
6496 struct gcov_filename changes.
6497 (gcov_exit_open_gcda_file): Likewise.
6499 2014-07-25 Nathan Sidwell <nathan@acm.org>
6501 * libgcov-driver.c (set_gcov_dump_complete,
6502 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
6503 functions polluting user's namespace.
6504 (gcov_exit): Set variable directly.
6505 (gcov_clear): Reset variable directly.
6506 * libgcov-interface.c (get_gcov_dymp_complete,
6507 reset_gov_dump_complete): Remove declarations.
6508 (__gcov_reset, __gcov_dump): Don't call them.
6510 2014-07-24 DJ Delorie <dj@redhat.com>
6512 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
6513 (__gcc_deregister_frame): Move logic to detect deregister function
6515 (__gcc_register_frame): here, so it's consistent with the register
6518 2014-07-23 Nathan Sidwell <nathan@acm.org>
6520 * libgcov-driver.c (set_gcov_list): Remove.
6521 (gcov_list): Make non-static in GCOV_TOOL.
6522 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
6524 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
6526 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
6527 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
6528 Don't use SYNC_LOCK_RELEASE for int type.
6530 2014-07-14 Richard Biener <rguenther@suse.de>
6532 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
6534 2014-07-11 Rong Xu <xur@google.com>
6536 * libgcov-util.c (gcov_max_filename): Fix declartion.
6538 2014-07-10 Rong Xu <xur@google.com>
6540 Add gcov-tool: an offline gcda profile processing tool
6542 * libgcov-driver.c (gcov_max_filename): Make available
6544 * libgcov-merge.c (__gcov_merge_add): Replace
6545 gcov_read_counter() with a Macro.
6546 (__gcov_merge_ior): Ditto.
6547 (__gcov_merge_time_profile): Ditto.
6548 (__gcov_merge_single): Ditto.
6549 (__gcov_merge_delta): Ditto.
6550 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
6551 in the utility functions.
6552 (set_fn_ctrs): Utility function for reading gcda files to in-memory
6553 gcov_list object link lists.
6554 (tag_function): Ditto.
6555 (tag_blocks): Ditto.
6558 (tag_counters): Ditto.
6559 (tag_summary): Ditto.
6560 (read_gcda_finalize): Ditto.
6561 (read_gcda_file): Ditto.
6562 (ftw_read_file): Ditto.
6563 (read_profile_dir_init): Ditto.
6564 (gcov_read_profile_dir): Ditto.
6565 (gcov_read_counter_mem): Ditto.
6566 (gcov_get_merge_weight): Ditto.
6567 (merge_wrapper): A wrapper function that calls merging handler.
6568 (gcov_merge): Merge two gcov_info objects with weights.
6569 (find_match_gcov_info): Find the matched gcov_info in the list.
6570 (gcov_profile_merge): Merge two gcov_info object lists.
6571 (__gcov_add_counter_op): Process edge profile counter values.
6572 (__gcov_ior_counter_op): Process IOR profile counter values.
6573 (__gcov_delta_counter_op): Process delta profile counter values.
6574 (__gcov_single_counter_op): Process single profile counter values.
6575 (fp_scale): Callback function for float-point scaling.
6576 (int_scale): Callback function for integer fraction scaling.
6577 (gcov_profile_scale): Scaling profile counters.
6578 (gcov_profile_normalize): Normalize profile counters.
6579 * libgcov.h: Add headers and functions for gcov-tool use.
6580 (gcov_get_counter): New.
6581 (gcov_get_counter_target): Ditto.
6582 (struct gcov_info): Make the functions field mutable in gcov-tool
6585 2014-06-23 Kai Tietz <ktietz@redhat.com>
6588 * unwind-seh.c (_Unwind_GetGR): Check for proper
6590 (_Unwind_SetGR): Likewise.
6592 2014-05-22 Nick Clifton <nickc@redhat.com>
6594 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
6597 2014-05-22 Teresa Johnson <tejohnson@google.com>
6599 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
6602 2014-05-20 John Marino <gnugcc@marino.st>
6604 * config.host (*-*-dragonfly*): New target.
6605 * crtstuff.c: Make dl_iterate_support generic on *bsd.
6606 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
6607 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
6608 * config/i386/dragonfly-unwind.h: New.
6610 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6613 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
6614 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
6616 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
6618 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
6621 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
6623 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
6625 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6628 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
6631 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
6633 Work around for current cygwin32 build problems.
6634 * config/i386/cygming-crtbegin.c (__register_frame_info,
6635 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
6636 functions only for 64-bit systems.
6638 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6640 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
6641 (sigill_caught, sigill_hdlr): Remove.
6643 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6645 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
6647 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6648 Solaris 9 single-threaded support.
6649 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6650 Solaris 9 single-threaded support. Add call_user_handler code
6652 (sparc_is_sighandler): Likewise.
6654 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6656 * config.host: Append t-floattodi to tmake_file depending on
6659 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
6661 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
6663 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
6666 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
6667 variable to avoid "array subscript is above array bounds" warnings.
6668 Use __builtin_expect when checking *jcr_list for NULL.
6670 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6673 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
6674 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
6675 vtv_*.o to extra_parts if enable_vtable_verify.
6677 2014-03-06 Nick Clifton <nickc@redhat.com>
6679 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
6680 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
6682 2014-02-28 Joey Ye <joey.ye@arm.com>
6685 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
6686 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
6689 2014-02-24 Walter Lee <walt@tilera.com>
6691 * config.host: Support "tilegx*" and "tilepro*" triplets.
6692 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
6693 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
6695 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
6696 Chung-Lin Tang <cltang@codesourcery.com>
6698 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
6699 * config/nios2/crti.S: Remove .file directive.
6700 * config/nios2/crtn.S: Likewise.
6702 2014-02-18 Kai Tietz <ktietz@redhat.com>
6703 Jonathan Schleifer <js@webkeks.org>
6706 * unwind-seh.c (_GCC_specific_handler): Pass proper
6707 value to unwind-handler.
6709 2014-02-12 Joseph Myers <joseph@codesourcery.com>
6711 * soft-fp/adddf3.c: Update from glibc.
6712 * soft-fp/addsf3.c: Likewise.
6713 * soft-fp/addtf3.c: Likewise.
6714 * soft-fp/divdf3.c: Likewise.
6715 * soft-fp/divsf3.c: Likewise.
6716 * soft-fp/divtf3.c: Likewise.
6717 * soft-fp/double.h: Likewise.
6718 * soft-fp/eqdf2.c: Likewise.
6719 * soft-fp/eqsf2.c: Likewise.
6720 * soft-fp/eqtf2.c: Likewise.
6721 * soft-fp/extenddftf2.c: Likewise.
6722 * soft-fp/extended.h: Likewise.
6723 * soft-fp/extendsfdf2.c: Likewise.
6724 * soft-fp/extendsftf2.c: Likewise.
6725 * soft-fp/extendxftf2.c: Likewise.
6726 * soft-fp/fixdfdi.c: Likewise.
6727 * soft-fp/fixdfsi.c: Likewise.
6728 * soft-fp/fixdfti.c: Likewise.
6729 * soft-fp/fixsfdi.c: Likewise.
6730 * soft-fp/fixsfsi.c: Likewise.
6731 * soft-fp/fixsfti.c: Likewise.
6732 * soft-fp/fixtfdi.c: Likewise.
6733 * soft-fp/fixtfsi.c: Likewise.
6734 * soft-fp/fixtfti.c: Likewise.
6735 * soft-fp/fixunsdfdi.c: Likewise.
6736 * soft-fp/fixunsdfsi.c: Likewise.
6737 * soft-fp/fixunsdfti.c: Likewise.
6738 * soft-fp/fixunssfdi.c: Likewise.
6739 * soft-fp/fixunssfsi.c: Likewise.
6740 * soft-fp/fixunssfti.c: Likewise.
6741 * soft-fp/fixunstfdi.c: Likewise.
6742 * soft-fp/fixunstfsi.c: Likewise.
6743 * soft-fp/fixunstfti.c: Likewise.
6744 * soft-fp/floatdidf.c: Likewise.
6745 * soft-fp/floatdisf.c: Likewise.
6746 * soft-fp/floatditf.c: Likewise.
6747 * soft-fp/floatsidf.c: Likewise.
6748 * soft-fp/floatsisf.c: Likewise.
6749 * soft-fp/floatsitf.c: Likewise.
6750 * soft-fp/floattidf.c: Likewise.
6751 * soft-fp/floattisf.c: Likewise.
6752 * soft-fp/floattitf.c: Likewise.
6753 * soft-fp/floatundidf.c: Likewise.
6754 * soft-fp/floatundisf.c: Likewise.
6755 * soft-fp/floatunditf.c: Likewise.
6756 * soft-fp/floatunsidf.c: Likewise.
6757 * soft-fp/floatunsisf.c: Likewise.
6758 * soft-fp/floatunsitf.c: Likewise.
6759 * soft-fp/floatuntidf.c: Likewise.
6760 * soft-fp/floatuntisf.c: Likewise.
6761 * soft-fp/floatuntitf.c: Likewise.
6762 * soft-fp/gedf2.c: Likewise.
6763 * soft-fp/gesf2.c: Likewise.
6764 * soft-fp/getf2.c: Likewise.
6765 * soft-fp/ledf2.c: Likewise.
6766 * soft-fp/lesf2.c: Likewise.
6767 * soft-fp/letf2.c: Likewise.
6768 * soft-fp/muldf3.c: Likewise.
6769 * soft-fp/mulsf3.c: Likewise.
6770 * soft-fp/multf3.c: Likewise.
6771 * soft-fp/negdf2.c: Likewise.
6772 * soft-fp/negsf2.c: Likewise.
6773 * soft-fp/negtf2.c: Likewise.
6774 * soft-fp/op-1.h: Likewise.
6775 * soft-fp/op-2.h: Likewise.
6776 * soft-fp/op-4.h: Likewise.
6777 * soft-fp/op-8.h: Likewise.
6778 * soft-fp/op-common.h: Likewise.
6779 * soft-fp/quad.h: Likewise.
6780 * soft-fp/single.h: Likewise.
6781 * soft-fp/soft-fp.h: Likewise.
6782 * soft-fp/subdf3.c: Likewise.
6783 * soft-fp/subsf3.c: Likewise.
6784 * soft-fp/subtf3.c: Likewise.
6785 * soft-fp/truncdfsf2.c: Likewise.
6786 * soft-fp/trunctfdf2.c: Likewise.
6787 * soft-fp/trunctfsf2.c: Likewise.
6788 * soft-fp/trunctfxf2.c: Likewise.
6789 * soft-fp/unorddf2.c: Likewise.
6790 * soft-fp/unordsf2.c: Likewise.
6791 * soft-fp/unordtf2.c: Likewise.
6792 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
6794 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6796 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6798 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6800 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6802 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6804 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6806 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6808 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6810 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6812 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6814 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6816 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6818 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
6820 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
6822 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6825 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6827 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
6828 cannot be represented.
6829 * config/s390/32/_fixsfdi.c: Likewise.
6830 * config/s390/32/_fixtfdi.c: Likewise.
6831 * config/s390/32/_fixunsdfdi.c: Likewise.
6832 * config/s390/32/_fixunssfdi.c: Likewise.
6833 * config/s390/32/_fixunstfdi.c: Likewise.
6835 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
6837 * configure.ac (libgcc_cv_mips_hard_float): New.
6838 * configure: Regenerate.
6839 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
6840 t-softfp-sfdf for hard-float targets.
6841 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
6842 (softfp_float_modes, softfp_int_modes, softfp_extensions)
6843 (softfp_truncations, softfp_exclude_libgcc2): New.
6844 * config/t-hardfp: New file.
6845 * config/t-hardfp-sfdf: Likewise.
6846 * config/hardfp.c: Likewise.
6848 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6850 * config.host: Include t-floattodi also for s390x.
6851 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
6852 * config/s390/32/_fixsfdi.c: Likewise.
6853 * config/s390/32/_fixtfdi.c: Likewise.
6854 * config/s390/32/_fixunsdfdi.c: Likewise.
6855 * config/s390/32/_fixunssfdi.c: Likewise.
6856 * config/s390/32/_fixunstfdi.c: Likewise.
6858 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6861 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
6862 (install-libgcc-unwind-map-forbuild): New target.
6863 (all): Depend on install-libgcc-unwind-map-forbuild.
6864 (install-libgcc-unwind-map): New target.
6865 (install): Depend on install-libgcc-unwind-map.
6867 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
6869 * config/nios2/crti.S (_init): Initialize GOT pointer from
6870 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
6872 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
6874 * configure.ac: Check __mips64 when setting host_address.
6875 * configure: Regenerate.
6876 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
6877 mips/t-mips64 and t-softfp.
6878 (mips*-*-linux*): Don't add mips/t-tpbit.
6879 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
6880 (DPBIT, DPBIT_CFLAGS): Delete.
6881 * config/mips/sfp-machine.h: New file.
6882 * config/mips/t-mips64: Likewise.
6883 * config/mips/t-softfp-tf: Likewise.
6884 * config/mips/t-tpbit: Delete.
6886 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
6888 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
6891 2014-01-25 Walter Lee <walt@tilera.com>
6893 * config/tilepro/atomic.c: Include tconfig.h. Don't include
6894 config.h or system.h.
6897 2014-01-25 Walter Lee <walt@tilera.com>
6899 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
6900 (post_atomic_barrier): Ditto.
6901 (__fetch_and_do): New macro.
6902 (__atomic_fetch_and_do): Use __fetch_and_do.
6903 (__sync_fetch_and_do): New macro.
6904 (__sync_fetch_and_add_4): New function.
6905 (__sync_fetch_and_sub_4): New function.
6906 (__sync_fetch_and_or_4): New function.
6907 (__sync_fetch_and_and_4): New function.
6908 (__sync_fetch_and_xor_4): New function.
6909 (__sync_fetch_and_nand_4): New function.
6910 (__sync_fetch_and_add_8): New function.
6911 (__sync_fetch_and_sub_8): New function.
6912 (__sync_fetch_and_or_8): New function.
6913 (__sync_fetch_and_and_8): New function.
6914 (__sync_fetch_and_xor_8): New function.
6915 (__sync_fetch_and_nand_8): New function.
6916 (__do_and_fetch): New macro.
6917 (__atomic_do_and_fetch): Use __do_and_fetch.
6918 (__sync_do_and_fetch): New macro.
6919 (__sync_add_and_fetch_4): New function.
6920 (__sync_sub_and_fetch_4): New function.
6921 (__sync_or_and_fetch_4): New function.
6922 (__sync_and_and_fetch_4): New function.
6923 (__sync_xor_and_fetch_4): New function.
6924 (__sync_nand_and_fetch_4): New function.
6925 (__sync_add_and_fetch_8): New function.
6926 (__sync_sub_and_fetch_8): New function.
6927 (__sync_or_and_fetch_8): New function.
6928 (__sync_and_and_fetch_8): New function.
6929 (__sync_xor_and_fetch_8): New function.
6930 (__sync_nand_and_fetch_8): New function.
6931 (__sync_exchange_methods): New macro.
6932 (__sync_val_compare_and_swap_4): New function.
6933 (__sync_bool_compare_and_swap_4): New function.
6934 (__sync_lock_test_and_test_4): New function.
6935 (__sync_val_compare_and_swap_8): New function.
6936 (__sync_bool_compare_and_swap_8): New function.
6937 (__sync_lock_test_and_test_8): New function.
6938 (__subword_cmpxchg_body): New macro.
6939 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
6940 (__atomic_compare_exchange_2): Ditto.
6941 (__sync_subword_cmpxchg): New macro.
6942 (__sync_val_compare_and_swap_1): New function.
6943 (__sync_bool_compare_and_swap_1): New function.
6944 (__sync_val_compare_and_swap_2): New function.
6945 (__sync_bool_compare_and_swap_2): New function.
6946 (__atomic_subword): Rename to ...
6947 (__subword): ... New name.
6948 (__atomic_subword_fetch): Use __subword.
6949 (__sync_subword_fetch): New macro.
6950 (__sync_fetch_and_add_1): New function.
6951 (__sync_fetch_and_sub_1): New function.
6952 (__sync_fetch_and_or_1): New function.
6953 (__sync_fetch_and_and_1): New function.
6954 (__sync_fetch_and_xor_1): New function.
6955 (__sync_fetch_and_nand_1): New function.
6956 (__sync_fetch_and_add_2): New function.
6957 (__sync_fetch_and_sub_2): New function.
6958 (__sync_fetch_and_or_2): New function.
6959 (__sync_fetch_and_and_2): New function.
6960 (__sync_fetch_and_xor_2): New function.
6961 (__sync_fetch_and_nand_2): New function.
6962 (__sync_add_and_fetch_1): New function.
6963 (__sync_sub_and_fetch_1): New function.
6964 (__sync_or_and_fetch_1): New function.
6965 (__sync_and_and_fetch_1): New function.
6966 (__sync_xor_and_fetch_1): New function.
6967 (__sync_nand_and_fetch_1): New function.
6968 (__sync_add_and_fetch_2): New function.
6969 (__sync_sub_and_fetch_2): New function.
6970 (__sync_or_and_fetch_2): New function.
6971 (__sync_and_and_fetch_2): New function.
6972 (__sync_xor_and_fetch_2): New function.
6973 (__sync_nand_and_fetch_2): New function.
6974 (__atomic_subword_lock): Use __subword.
6975 (__sync_subword_lock): New macro.
6976 (__sync_lock_test_and_set_1): New function.
6977 (__sync_lock_test_and_set_2): New function.
6979 2014-01-25 Walter Lee <walt@tilera.com>
6981 * config/tilepro/atomic.c (BIT_OFFSET): Define.
6982 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
6983 (__atomic_subword): Ditto.
6985 2014-01-25 Walter Lee <walt@tilera.com>
6987 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
6988 a prefix op argument.
6989 (__atomic_nand_fetch_4): Add prefix op.
6990 (__atomic_nand_fetch_8): Ditto.
6992 2014-01-21 Baruch Siach <barch@tkos.co.il>
6994 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
6996 2014-01-09 Rong Xu <xur@google.com>
6998 * libgcov-driver.c (this_prg): make it local to save
7000 (gcov_exit_compute_summary): Ditto.
7001 (gcov_exit_merge_gcda): Ditto.
7002 (gcov_exit_merge_summary): Ditto.
7003 (gcov_exit_dump_gcov): Ditto.
7005 2014-01-08 Rong Xu <xur@google.com>
7007 * libgcov-driver.c: Use libgcov.h.
7008 (buffer_fn_data): Use xmalloc instead of malloc.
7009 (gcov_exit_merge_gcda): Ditto.
7010 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
7011 * libgcov.h: New common header files for libgcov-*.h.
7012 * libgcov-interface.c: Use libgcov.h
7013 * libgcov-merge.c: Ditto.
7014 * libgcov-profiler.c: Ditto.
7015 * Makefile.in: Add dependence to libgcov.h
7017 2014-01-02 Joseph Myers <joseph@codesourcery.com>
7019 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
7020 case of small numerator and finite nonzero result.
7022 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7024 Update copyright years
7026 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7028 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
7029 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
7030 config/arc/dp-hack.h, config/arc/fp-hack.h,
7031 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
7032 config/arc/ieee-754/arc600-dsp/divdf3.S,
7033 config/arc/ieee-754/arc600-dsp/divsf3.S,
7034 config/arc/ieee-754/arc600-dsp/muldf3.S,
7035 config/arc/ieee-754/arc600-dsp/mulsf3.S,
7036 config/arc/ieee-754/arc600-mul64/divdf3.S,
7037 config/arc/ieee-754/arc600-mul64/divsf3.S,
7038 config/arc/ieee-754/arc600-mul64/muldf3.S,
7039 config/arc/ieee-754/arc600-mul64/mulsf3.S,
7040 config/arc/ieee-754/arc600/divsf3.S,
7041 config/arc/ieee-754/arc600/mulsf3.S,
7042 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
7043 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
7044 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
7045 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
7046 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
7047 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
7048 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
7049 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
7050 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
7051 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
7052 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
7053 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
7054 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
7055 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
7056 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
7057 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
7058 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
7059 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
7060 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
7061 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
7062 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
7063 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
7064 vtv_start_preinit.c: Use the standard form for the copyright notice.
7066 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
7067 Chung-Lin Tang <cltang@codesourcery.com>
7068 Based on patches from Altera Corporation
7070 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
7071 * config/nios2/lib2-nios2.h: New file.
7072 * config/nios2/lib2-divmod-hi.c: New file.
7073 * config/nios2/linux-unwind.h: New file.
7074 * config/nios2/lib2-divmod.c: New file.
7075 * config/nios2/linux-atomic.c: New file.
7076 * config/nios2/t-nios2: New file.
7077 * config/nios2/crti.asm: New file.
7078 * config/nios2/t-linux: New file.
7079 * config/nios2/lib2-divtable.c: New file.
7080 * config/nios2/lib2-mul.c: New file.
7081 * config/nios2/tramp.c: New file.
7082 * config/nios2/crtn.asm: New file.
7084 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
7086 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
7087 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
7088 from cpuid.h to check vendor signatures.
7090 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
7092 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
7093 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
7094 (get_amd_cpu): Likewise.
7096 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
7098 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
7101 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
7102 H.J. Lu <hongjiu.lu@intel.com>
7105 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
7107 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
7108 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
7109 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
7110 FEATURE_XOP and FEATURE_FMA.
7111 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
7113 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
7114 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
7115 FEATURE_FMA4 and FEATURE_XOP.
7117 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
7119 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
7120 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
7121 (get_intel_cpu): Updated.
7123 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
7125 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
7127 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
7129 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7130 instructions when __SSE_MATH__ is defined.
7132 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
7134 * config.host (microblaze-*-rtems*): New.
7136 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
7138 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
7139 architectures that do not have hardware divide instruction.
7140 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
7142 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
7144 * longlong.h: Delete (moved to include/).
7146 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7148 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
7149 of normal number and qNaN to not raise an inexact exception.
7151 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
7153 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
7155 2013-11-28 Matthew Leach <matthew.leach@arm.com>
7157 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
7158 for correct opcodes on BE.
7160 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
7162 * soft-fp/op-4.h: Update from glibc.
7164 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
7166 * libgcc2.c (__udivmoddi4): Define new implementation when
7167 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
7168 divide instructions.
7170 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
7172 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
7174 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7176 * config/t-softfp (soft-fp-objects-base): New variable.
7177 (soft-fp-objects): Use it.
7179 2013-11-23 David Edelson <dje.gcc@gmail.com>
7180 Andrew Dixie <andrewd@gentrack.com>
7183 * config/rs6000/aixinitfini.c: New file.
7184 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
7185 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
7188 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
7190 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
7192 2013-11-18 Jan Hubicka <jh@suse.cz>
7194 * libgcov-driver.c (run_accounted): Make global level static.
7195 (gcov_exit_merge_summary): Silence warning; do not clear
7197 (gcov_exit): Clear it here.
7199 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
7202 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
7203 (all_prg, crc32): Remove static vars.
7204 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
7206 (gcov_exit_merge_gcda): Add crc32 parameter.
7207 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
7208 do not account run if it was already accounted.
7209 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
7210 (gcov_exit): Initialize all_prg; update.
7212 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
7214 * configure: Regenerate.
7216 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7217 Alan Modra <amodra@gmail.com>
7219 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
7220 (frob_update_context): Use it.
7222 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7223 Alan Modra <amodra@gmail.com>
7225 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
7226 (trampoline_initial): Provide ELFv2 variant.
7227 (__trampoline_setup): Likewise.
7229 * config/rs6000/linux-unwind.h (frob_update_context): Do not
7230 check for AIX indirect function call sequence if _CALL_ELF == 2.
7232 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7233 Alan Modra <amodra@gmail.com>
7235 * config/rs6000/linux-unwind.h (get_regs): Do not support
7236 old kernel versions if _CALL_ELF == 2.
7237 (frob_update_context): Do not support PLT stub variants only
7238 generated by old linkers if _CALL_ELF == 2.
7240 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7241 Alan Modra <amodra@gmail.com>
7243 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
7244 location of CR save area for 64-bit little-endian systems.
7246 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
7248 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
7250 * config/arm/t-vxworks: Delete.
7252 2013-11-10 Kai Tietz <ktietz@redhat.com>
7254 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
7255 Increment load-count on use of LIBGCC_SONAME DLL.
7256 (hmod_libgcc): New static variable to hold handle of
7258 (__gcc_deregister_frame): Decrement load-count of
7261 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
7263 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
7265 * configure: Regenerate
7267 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
7269 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
7270 FP_EX_DENORM. Store result to volatile location after SSE division
7271 to close interrupt window. Remove unneeded fwait after x87
7272 division since interrupt window will be closed by emitted fstp.
7273 Rewrite FP_EX_INEXACT handling.
7275 2013-11-06 Joseph Myers <joseph@codesourcery.com>
7277 * soft-fp/README: Update.
7278 * soft-fp/adddf3.c: Update from glibc.
7279 * soft-fp/addsf3.c: Likewise.
7280 * soft-fp/addtf3.c: Likewise.
7281 * soft-fp/divdf3.c: Likewise.
7282 * soft-fp/divsf3.c: Likewise.
7283 * soft-fp/divtf3.c: Likewise.
7284 * soft-fp/double.h: Likewise.
7285 * soft-fp/eqdf2.c: Likewise.
7286 * soft-fp/eqsf2.c: Likewise.
7287 * soft-fp/eqtf2.c: Likewise.
7288 * soft-fp/extenddftf2.c: Likewise.
7289 * soft-fp/extended.h: Likewise.
7290 * soft-fp/extendsfdf2.c: Likewise.
7291 * soft-fp/extendsftf2.c: Likewise.
7292 * soft-fp/extendxftf2.c: Likewise.
7293 * soft-fp/fixdfdi.c: Likewise.
7294 * soft-fp/fixdfsi.c: Likewise.
7295 * soft-fp/fixdfti.c: Likewise.
7296 * soft-fp/fixsfdi.c: Likewise.
7297 * soft-fp/fixsfsi.c: Likewise.
7298 * soft-fp/fixsfti.c: Likewise.
7299 * soft-fp/fixtfdi.c: Likewise.
7300 * soft-fp/fixtfsi.c: Likewise.
7301 * soft-fp/fixtfti.c: Likewise.
7302 * soft-fp/fixunsdfdi.c: Likewise.
7303 * soft-fp/fixunsdfsi.c: Likewise.
7304 * soft-fp/fixunsdfti.c: Likewise.
7305 * soft-fp/fixunssfdi.c: Likewise.
7306 * soft-fp/fixunssfsi.c: Likewise.
7307 * soft-fp/fixunssfti.c: Likewise.
7308 * soft-fp/fixunstfdi.c: Likewise.
7309 * soft-fp/fixunstfsi.c: Likewise.
7310 * soft-fp/fixunstfti.c: Likewise.
7311 * soft-fp/floatdidf.c: Likewise.
7312 * soft-fp/floatdisf.c: Likewise.
7313 * soft-fp/floatditf.c: Likewise.
7314 * soft-fp/floatsidf.c: Likewise.
7315 * soft-fp/floatsisf.c: Likewise.
7316 * soft-fp/floatsitf.c: Likewise.
7317 * soft-fp/floattidf.c: Likewise.
7318 * soft-fp/floattisf.c: Likewise.
7319 * soft-fp/floattitf.c: Likewise.
7320 * soft-fp/floatundidf.c: Likewise.
7321 * soft-fp/floatundisf.c: Likewise.
7322 * soft-fp/floatunditf.c: Likewise.
7323 * soft-fp/floatunsidf.c: Likewise.
7324 * soft-fp/floatunsisf.c: Likewise.
7325 * soft-fp/floatunsitf.c: Likewise.
7326 * soft-fp/floatuntidf.c: Likewise.
7327 * soft-fp/floatuntisf.c: Likewise.
7328 * soft-fp/floatuntitf.c: Likewise.
7329 * soft-fp/gedf2.c: Likewise.
7330 * soft-fp/gesf2.c: Likewise.
7331 * soft-fp/getf2.c: Likewise.
7332 * soft-fp/ledf2.c: Likewise.
7333 * soft-fp/lesf2.c: Likewise.
7334 * soft-fp/letf2.c: Likewise.
7335 * soft-fp/muldf3.c: Likewise.
7336 * soft-fp/mulsf3.c: Likewise.
7337 * soft-fp/multf3.c: Likewise.
7338 * soft-fp/negdf2.c: Likewise.
7339 * soft-fp/negsf2.c: Likewise.
7340 * soft-fp/negtf2.c: Likewise.
7341 * soft-fp/op-1.h: Likewise.
7342 * soft-fp/op-2.h: Likewise.
7343 * soft-fp/op-4.h: Likewise.
7344 * soft-fp/op-8.h: Likewise.
7345 * soft-fp/op-common.h: Likewise.
7346 * soft-fp/quad.h: Likewise.
7347 * soft-fp/single.h: Likewise.
7348 * soft-fp/soft-fp.h: Likewise.
7349 * soft-fp/subdf3.c: Likewise.
7350 * soft-fp/subsf3.c: Likewise.
7351 * soft-fp/subtf3.c: Likewise.
7352 * soft-fp/truncdfsf2.c: Likewise.
7353 * soft-fp/trunctfdf2.c: Likewise.
7354 * soft-fp/trunctfsf2.c: Likewise.
7355 * soft-fp/trunctfxf2.c: Likewise.
7356 * soft-fp/unorddf2.c: Likewise.
7357 * soft-fp/unordsf2.c: Likewise.
7358 * soft-fp/unordtf2.c: Likewise.
7360 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
7362 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
7363 (_FP_MUL_MEAT_D): Ditto.
7364 (_FP_DIV_MEAT_S): Ditto.
7365 (_FP_DIV_MEAT_D): Ditto.
7366 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
7367 t-softfp-sfdf and t-softfp to tmake_file.
7369 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
7371 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
7372 * config/i386/crtprec.c: Ditto.
7374 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
7375 Shiva Chen <shiva0217@gmail.com>
7377 * config.host (nds32*-elf*): Add nds32 target.
7378 * config/nds32 : New directory and files.
7380 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
7382 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
7383 * config.host (cpu_type) <Setting default>: Add entry for
7385 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
7386 <crisv32-*-linux*>: Adjust.
7387 * longlong.h: Wrap the whole CRIS section in a single
7388 defined(__CRIS__) conditional. Add comment about add_ssaaaa
7390 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
7392 [__CRIS__] (__umulsidi3): Define.
7393 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
7394 * config/cris/sfp-machine.h: New file.
7395 * config/cris/umulsidi3.S: New file.
7396 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
7397 * config/cris/arit.c (SIGNMULT): New macro.
7398 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
7399 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
7400 saving 3 out of originally 33 cycles from the fastest
7401 path, 3 out of 54 from the medium path and one from the longest
7402 path. Improve comments.
7404 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
7406 * sync.c: Remove static aliases and define each function directly
7407 under its real name.
7409 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
7411 * config.host (hppa*64*-*-linux*): Define extra_parts.
7412 (hppa*-*-linux*): Likewise.
7414 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
7416 * config/arc/crtgend.S: Add 2013 to Copyright years.
7417 * config/arc/gmon/atomic.h: Likewise.
7418 * config/arc/gmon/auxreg.h: Likewise.
7419 * config/arc/gmon/sys/gmon_out.h: Likewise.
7420 * config/arc/gmon/sys/gmon.h: Likewise.
7421 * config/arc/gmon/prof-freq.c: Likewise.
7422 * config/arc/gmon/mcount.c: Likewise.
7423 * config/arc/gmon/prof-freq-stub.S: Likewise.
7424 * config/arc/gmon/gmon.c: Likewise.
7425 * config/arc/gmon/machine-gmon.h: Likewise.
7426 * config/arc/gmon/profil.S: Likewise.
7427 * config/arc/gmon/dcache_linesz.S: Likewise.
7428 * config/arc/crtg.S: Likewise.
7429 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
7430 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
7431 * config/arc/ieee-754/adddf3.S: Likewise.
7432 * config/arc/ieee-754/truncdfsf2.S: Likewise.
7433 * config/arc/ieee-754/fixsfsi.S: Likewise.
7434 * config/arc/ieee-754/gtsf2.S: Likewise.
7435 * config/arc/ieee-754/floatsisf.S: Likewise.
7436 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
7437 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
7438 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
7439 * config/arc/ieee-754/fixdfsi.S: Likewise.
7440 * config/arc/ieee-754/addsf3.S: Likewise.
7441 * config/arc/ieee-754/gesf2.S: Likewise.
7442 * config/arc/ieee-754/floatsidf.S: Likewise.
7443 * config/arc/ieee-754/extendsfdf2.S: Likewise.
7444 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
7445 * config/arc/ieee-754/gtdf2.S: Likewise.
7446 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
7447 * config/arc/ieee-754/uneqdf2.S: Likewise.
7448 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
7449 * config/arc/ieee-754/uneqsf2.S: Likewise.
7450 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
7451 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
7452 * config/arc/ieee-754/eqdf2.S: Likewise.
7453 * config/arc/ieee-754/ordsf2.S: Likewise.
7454 * config/arc/ieee-754/divsf3.S: Likewise.
7455 * config/arc/ieee-754/divdf3.S: Likewise.
7456 * config/arc/ieee-754/floatunsidf.S: Likewise.
7457 * config/arc/ieee-754/orddf2.S: Likewise.
7458 * config/arc/ieee-754/eqsf2.S: Likewise.
7459 * config/arc/ieee-754/gedf2.S: Likewise.
7460 * config/arc/crtn.S: Likewise.
7461 * config/arc/crti.S: Likewise.
7462 * config/arc/t-arc700-uClibc: Likewise.
7463 * config/arc/asm.h: Likewise.
7464 * config/arc/libgcc-excl.ver: Likewise.
7465 * config/arc/t-arc-newlib: Likewise.
7466 * config/arc/divtab-arc700.c: Likewise.
7467 * config/arc/initfini.c: Likewise.
7468 * config/arc/fp-hack.h: Likewise.
7470 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7471 Diego Novillo <dnovillo@google.com>
7473 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
7474 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
7475 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
7476 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
7478 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7479 Brendan Kehoe <brendan@zen.org>
7480 Simon Cook <simon.cook@embecosm.com>
7482 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
7483 * config/arc: New directory.
7484 * longlong.h [__arc__] (umul_ppmm): Remove.
7485 [__arc__] (__umulsidi3): Define.
7486 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
7487 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
7489 2013-09-17 Jacek Caban <jacek@codeweavers.com>
7491 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
7493 * config/i386/gthr-win32.h: Likewise.
7495 2013-09-16 DJ Delorie <dj@redhat.com>
7497 * config/rl78/vregs.h: Add G10 register definitions.
7498 * config/rl78/lib2mul.c: Enable for RL78/G10.
7499 * config/rl78/lib2div.c: Likewise.
7500 * config/rl78/lshrsi3.S: Use vregs.h.
7501 * config/rl78/cmpsi2.S: Likewise.
7502 * config/rl78/trampoline.S: Likewise.
7503 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
7505 2013-09-14 DJ Delorie <dj@redhat.com>
7506 Nick Clifton <nickc@redhat.com>
7508 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
7509 * config/rl78/vregs.h: New.
7510 * config/rl78/signbit.S: New file. Implements signbit function.
7511 * config/rl78/divmodsi.S: New.
7512 * config/rl78/divmodhi.S: New.
7513 * config/rl78/divmodqi.S: New.
7514 * config/rl78/t-rl78: Build them here...
7515 * config/rl78/lib2div.c: ...but not here.
7517 2013-09-12 DJ Delorie <dj@redhat.com>
7519 * config.host (msp*-*-elf): New.
7520 * config/msp430/: New port.
7522 2013-08-18 Iain Sandoe <iain@codesourcery.com>
7524 PR gcov-profile/58127
7525 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
7526 __thread var for emulated TLS.
7527 (__gcov_indirect_call_counters): Likewise.
7529 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
7530 Catherine Moore <clm@codesourcery.com>
7531 Richard Sandiford <rdsandiford@googlemail.com>
7533 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
7534 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
7535 (CALL_STUB_NO_RET): Likewise.
7536 (CALL_STUB_RET): Likewise.
7537 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
7538 __mips16_ret call/return stub symbols.
7539 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
7542 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
7544 * config.host <mips*-*-linux*>: Remove a stray comment.
7546 2013-08-10 Jan Hubicka <jh@suse.cz>
7548 Work around binutils PR14342
7549 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
7550 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
7551 (L_gcov_indirect_call_profiler_v2): New.
7553 2013-08-06 Jan Hubicka <jh@suse.cz>
7555 * libgcov.c (__gcov_indirect_call_callee,
7556 __gcov_indirect_call_counters): New global vars.
7557 (__gcov_indirect_call_profiler): replace by ...
7558 (__gcov_indirect_call_profiler_v2) ... this one.
7560 2013-08-06 Caroline Tice <cmtice@google.com>
7562 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
7563 vtv_start_preinit.o and vtv_end_preinit.o.
7564 * configure.ac: Add code to check/set enable_vtable_verify.
7565 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
7567 * vtv_start_preinit.c: New file.
7568 * vtv_end_preinit.c: New file.
7569 * vtv_start.c: New file.
7570 * vtv_end.c: New file.
7571 * configure: Regenerated.
7573 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
7575 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
7576 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
7577 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
7578 GPL-3.0-with-GCC-exception.
7580 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
7582 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
7585 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7587 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
7588 mapping for FPRs when creating the fallback framestate.
7590 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
7593 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
7594 (__round_s2_const, __round_u2_const)
7595 (__round_s4_const, __round_u4_const, __round_x8):
7596 Saturate result if addition result cannot be represented.
7598 2013-07-15 Matthias Klose <doko@ubuntu.com>
7600 * libgcc2.c: Don't include <limits.h>.
7602 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
7604 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
7606 2013-07-06 Jakub Jelinek <jakub@redhat.com>
7609 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
7611 2013-06-28 Jakub Jelinek <jakub@redhat.com>
7614 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
7616 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
7617 instead of table lookups.
7618 (__popcountDI2): Likewise.
7620 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
7622 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
7625 2013-06-21 Joseph Myers <joseph@codesourcery.com>
7628 * soft-fp/adddf3.c: Update from glibc.
7629 * soft-fp/addsf3.c: Likewise.
7630 * soft-fp/addtf3.c: Likewise.
7631 * soft-fp/divdf3.c: Likewise.
7632 * soft-fp/divsf3.c: Likewise.
7633 * soft-fp/divtf3.c: Likewise.
7634 * soft-fp/double.h: Likewise.
7635 * soft-fp/eqdf2.c: Likewise.
7636 * soft-fp/eqsf2.c: Likewise.
7637 * soft-fp/eqtf2.c: Likewise.
7638 * soft-fp/extenddftf2.c: Likewise.
7639 * soft-fp/extended.h: Likewise.
7640 * soft-fp/extendsfdf2.c: Likewise.
7641 * soft-fp/extendsftf2.c: Likewise.
7642 * soft-fp/fixdfdi.c: Likewise.
7643 * soft-fp/fixdfsi.c: Likewise.
7644 * soft-fp/fixsfdi.c: Likewise.
7645 * soft-fp/fixsfsi.c: Likewise.
7646 * soft-fp/fixtfdi.c: Likewise.
7647 * soft-fp/fixtfsi.c: Likewise.
7648 * soft-fp/fixunsdfdi.c: Likewise.
7649 * soft-fp/fixunsdfsi.c: Likewise.
7650 * soft-fp/fixunssfdi.c: Likewise.
7651 * soft-fp/fixunssfsi.c: Likewise.
7652 * soft-fp/fixunstfdi.c: Likewise.
7653 * soft-fp/fixunstfsi.c: Likewise.
7654 * soft-fp/floatdidf.c: Likewise.
7655 * soft-fp/floatdisf.c: Likewise.
7656 * soft-fp/floatditf.c: Likewise.
7657 * soft-fp/floatsidf.c: Likewise.
7658 * soft-fp/floatsisf.c: Likewise.
7659 * soft-fp/floatsitf.c: Likewise.
7660 * soft-fp/floatundidf.c: Likewise.
7661 * soft-fp/floatundisf.c: Likewise.
7662 * soft-fp/floatunditf.c: Likewise.
7663 * soft-fp/floatunsidf.c: Likewise.
7664 * soft-fp/floatunsisf.c: Likewise.
7665 * soft-fp/floatunsitf.c: Likewise.
7666 * soft-fp/gedf2.c: Likewise.
7667 * soft-fp/gesf2.c: Likewise.
7668 * soft-fp/getf2.c: Likewise.
7669 * soft-fp/ledf2.c: Likewise.
7670 * soft-fp/lesf2.c: Likewise.
7671 * soft-fp/letf2.c: Likewise.
7672 * soft-fp/muldf3.c: Likewise.
7673 * soft-fp/mulsf3.c: Likewise.
7674 * soft-fp/multf3.c: Likewise.
7675 * soft-fp/negdf2.c: Likewise.
7676 * soft-fp/negsf2.c: Likewise.
7677 * soft-fp/negtf2.c: Likewise.
7678 * soft-fp/op-1.h: Likewise.
7679 * soft-fp/op-2.h: Likewise.
7680 * soft-fp/op-4.h: Likewise.
7681 * soft-fp/op-8.h: Likewise.
7682 * soft-fp/op-common.h: Likewise.
7683 * soft-fp/quad.h: Likewise.
7684 * soft-fp/single.h: Likewise.
7685 * soft-fp/soft-fp.h: Likewise.
7686 * soft-fp/subdf3.c: Likewise.
7687 * soft-fp/subsf3.c: Likewise.
7688 * soft-fp/subtf3.c: Likewise.
7689 * soft-fp/truncdfsf2.c: Likewise.
7690 * soft-fp/trunctfdf2.c: Likewise.
7691 * soft-fp/trunctfsf2.c: Likewise.
7692 * soft-fp/unorddf2.c: Likewise.
7693 * soft-fp/unordsf2.c: Likewise.
7694 * soft-fp/unordtf2.c: Likewise.
7695 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
7696 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7697 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7698 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7699 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7700 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7701 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7702 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7703 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7704 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
7705 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
7706 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7708 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
7710 * config/mips/lib2funcs.c: New file.
7711 * config/mips/t-mips (LIB2ADD_ST): Add it.
7713 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
7716 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
7717 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
7719 2013-06-08 Walter Lee <walt@tilera.com>
7721 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
7722 Replace int64_t with long long. Add __extension__ where
7724 * config/tilepro/atomic.c: Include config.h.
7726 2013-06-06 Douglas B Rupp <rupp@adacore.com>
7728 * config.host (arm-wrs-vxworks): Configure with other soft float.
7730 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
7732 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
7733 (mips64r5900el-*-elf*): New configurations.
7735 2013-06-04 Alan Modra <amodra@gmail.com>
7737 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
7739 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
7741 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
7743 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
7745 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
7746 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
7747 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
7749 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7751 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
7752 (powerpc-wrs-vxworks): Likewise.
7754 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7756 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
7757 signal frames as well.
7758 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
7759 STACK_BIAS to the CFA offset.
7761 2013-05-17 Richard Henderson <rth@redhat.com>
7764 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
7765 (execute_cfa_program): Use it when storing to fs->regs.
7767 2013-05-08 Kai Tietz <ktietz@redhat.com>
7769 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
7770 (__deregister_frame_info): Likewise.
7772 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
7774 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
7777 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
7779 2013-04-25 Alan Modra <amodra@gmail.com>
7781 * config.host: Match little-endian powerpc-linux.
7783 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
7785 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
7786 as 'unsigned long long' instead of 'unsigned long'.
7787 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
7790 2013-04-10 Julian Brown <julian@codesourcery.com>
7792 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
7793 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
7794 unsigned char/unsigned short.
7795 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
7797 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7800 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
7802 2013-04-04 Meador Inge <meadori@codesourcery.com>
7804 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
7805 computing the location of the link register.
7806 (aeabi_uldivmod): Ditto.
7808 2013-03-27 Kai Tietz <ktietz@redhat.com>
7810 * config.host: Add support for cygwin x64 target.
7811 * configure: Regenerated.
7813 2013-03-26 Walter Lee <walt@tilera.com>
7815 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
7816 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
7818 2013-03-25 Kai Tietz <ktietz@redhat.com>
7820 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
7822 2013-03-20 Robert Mason <rbmj@verizon.net>
7824 * config/vxlib-tls.c (__gthread_get_tsd_data,)
7825 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
7826 (__gthread_leave_tsd_dtor_context): Add prototypes.
7827 (tls_delete_hook): Update.
7829 2013-03-20 Catherine Moore <clm@codesourcery.com>
7830 Joseph Myers <joseph@codesourcery.com>
7831 Chao-ying Fu <fu@mips.com>
7833 * config/mips/mips16.S: Don't build for microMIPS.
7834 * config/mips/linux-unwind.h: Handle microMIPS frame.
7835 * config/mips/crtn.S (fini, init): New labels.
7837 2013-03-14 Jakub Jelinek <jakub@redhat.com>
7839 PR tree-optimization/53265
7840 * unwind-dw2.c (execute_cfa_program): Avoid
7841 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
7842 on targets with DWARF_FRAME_REGISTERS < 32.
7844 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
7847 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
7848 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
7850 2013-03-07 Sriraman Tallam <tmsriram@google.com>
7852 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
7853 sandybridge processors.
7855 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
7858 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
7861 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
7863 * config/microblaze/crti.S: Setup stack protection at entry
7865 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
7867 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
7868 (__rotldi3): Shift bytewise if applicable.
7870 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
7872 * config/aarch64/sync-cache.c
7873 (__aarch64_sync_cache_range): Silence warnings.
7875 2013-02-25 Catherine Moore <clm@codesourcery.com>
7878 2013-02-24 Catherine Moore <clm@codesourcery.com>
7879 Joseph Myers <joseph@codesourcery.com>
7880 Chao-ying Fu <fu@mips.com>
7882 * config/mips/mips16.S: Don't build for microMIPS.
7883 * config/mips/linux-unwind.h: Handle microMIPS frame.
7884 * config/mips/crtn.S (fini, init): New labels.
7886 2013-02-24 Catherine Moore <clm@codesourcery.com>
7887 Joseph Myers <joseph@codesourcery.com>
7888 Chao-ying Fu <fu@mips.com>
7890 * config/mips/mips16.S: Don't build for microMIPS.
7891 * config/mips/linux-unwind.h: Handle microMIPS frame.
7892 * config/mips/crtn.S (fini, init): New labels.
7894 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
7895 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7898 2013-02-16 Alan Modra <amodra@gmail.com>
7901 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
7902 (ppc_fallback_frame_state): Always set up save locations for fp
7903 and altivec. Don't bother with non-callee-saved regs, r0-r13
7904 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
7906 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
7909 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
7911 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
7912 _ssmulha3, _usmulusa3, _ssmulsa3.
7913 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
7914 (__muldi3): XCALL __muldi3_6 instead of rcall.
7915 (__umulsidi3, __mulsidi3): New functions.
7916 (do_prologue_saves, do_epilogue_restores): New .macros.
7917 (__divdi3_moddi3): Use them.
7918 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
7919 (__usmulusa3, __ssmulsa3): New functions.
7921 2013-02-11 Iain Sandoe <iain@codesourcery.com>
7922 Jack Howarth <howarth@bromo.med.uc.edu>
7923 Patrick Marlier <patrick.marlier@gmail.com>
7926 * config/darwin-crt-tm.c: Remove dummy functions hack.
7928 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
7931 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
7932 * config/avr/lib2-object.mk: New iterator to build objects from it.
7933 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
7935 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
7936 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
7937 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
7938 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
7939 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
7940 * config/avr/lib1funcs-fixed.S: Implement them.
7942 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
7944 Update copyright years.
7946 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
7949 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
7950 Add crtcxa to extra_parts.
7951 * config/rs6000/exit.h: New file.
7952 * config/rs6000/cxa_atexit.c: New file.
7953 * config/rs6000/cxa_finalize.c: New file.
7954 * config/rs6000/crtcxa.c: New file.
7955 * config/rs6000/t-aix-cxa: New file.
7956 * config/rs6000/libgcc-aix-cxa.ver: New file.
7958 2013-01-31 Nick Clifton <nickc@redhat.com>
7960 * config/v850/lib1funcs.S: Add support for e3v5 architecture
7963 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
7966 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
7967 _mulQQ, _mulHQ, _mulHA, _mulSA,
7968 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
7969 _divQQ, _divHQ, _divHA, _divSA,
7970 _divUQQ, _divUHQ, _divUHA, _divUSA.
7972 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
7974 * config.host(microblaze*-linux*): tmake_file: Remove
7975 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
7976 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
7977 to exclude functions from being built with libgcc.c and use
7978 the microblaze assembly.
7980 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
7982 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
7985 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
7987 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
7988 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
7989 __UINTPTR_TYPE__; also cast 'base' to the same type before the
7990 alignment operation.
7992 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
7994 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
7995 loop start address for cache clearing.
7997 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
7999 * config/avr/lib1funcs.S: Remove trailing blanks.
8000 * config/avr/lib1funcs-fixed.S: Ditto.
8002 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
8004 * config/avr/avr-lib.h: Add GPL copyright notice.
8006 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
8008 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
8009 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
8010 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
8011 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
8013 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
8015 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
8016 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
8018 2013-01-04 Nick Clifton <nickc@redhat.com>
8020 * config/v850/lib1funcs.S: Only provide CALLT support functions if
8021 the CALLT instruction is supported.
8023 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
8025 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
8026 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
8028 2012-12-13 John Tytgat <John@bass-software.com>
8030 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
8033 2012-12-12 Jakub Jelinek <jakub@redhat.com>
8036 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
8037 undefined signed overflows.
8039 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
8042 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
8044 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
8046 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
8047 (FP_TRAPPING_EXCEPTIONS): Define.
8048 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
8049 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
8051 2012-12-04 Richard Henderson <rth@redhat.com>
8054 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
8056 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
8058 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
8059 (FP_EX_SHIFT): Define.
8060 (FP_TRAPPING_EXCEPTIONS): Define.
8062 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
8064 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
8065 (FP_ROUNDMODE): Use FP_RND_MASK.
8066 * config/aarch64/sfp-exceptions.c: New.
8067 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8068 Use __sfp_handle_exceptions.
8070 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
8072 * config.host: (arm*-*-freebsd*): Remove.
8073 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
8074 (arm*-*-elf*): Remove.
8075 (arm*-*-wince-pe*): Remove.
8076 * arm/unwind-arm.c (struct fpa_reg): Delete.
8077 (struct fpa_regs): Delete.
8078 (phase1_vrs): Remove fpa element.
8079 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
8080 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
8081 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
8082 * ieee754-sf.S (floatundisf): Remove FPA support.
8083 (floatdisf): Likewise.
8084 * ieee75f-df.S (floatundidf): Likewise.
8085 (floatdidf): Likewise.
8087 2012-11-29 Kai Tietz <ktietz@redhat.com>
8090 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
8091 * unwind-generic.h: Likewise.
8092 * unwind-seh.c: Likewise.
8094 2012-11-28 Richard Henderson <rth@redhat.com>
8097 * emutls.c (__emutls_get_address): Avoid race condition between
8098 obj->loc.offset read and emutls_key initialization.
8100 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
8102 Adjust decimal point of signed accum mode to GCC default.
8105 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
8107 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
8108 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
8109 (__mulha3, __mulsa3)
8110 (__divqq3, __divha3, __divsa3): Adjust to new position of
8111 decimal point of signed accum types.
8113 (__mulusa3_round): New function.
8114 (__mulusa3): Use it.
8115 (__divqq_helper): New function.
8116 (__udivuqq3): Use it.
8118 2012-11-20 Jakub Jelinek <jakub@redhat.com>
8121 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
8123 2012-11-18 Teresa Johnson <tejohnson@google.com>
8126 * libgcov.c (gcov_exit): Remove merged program summary
8127 comparison unless !GCOV_LOCKED.
8129 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
8131 * soft-fp: Updated from glibc upstream.
8133 2012-11-06 Ian Lance Taylor <iant@google.com>
8135 * generic-morestack.c (__generic_morestack): Align the returned
8136 stack pointer to a 32 byte boundary.
8137 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
8138 increment the return address until we have decided that we don't
8139 have a varargs function.
8140 (__morestack) [32-bit]: Align stack correctly when calling C
8142 (__morestack) [64-bit]: Likewise.
8144 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8146 * configure: Regenerate.
8148 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
8151 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
8152 * config/i386/sfp-machine.h: Guard exception handling
8153 code with _SOFT_FLOAT.
8154 * config/i386/32/sfp-machine.h: Guard rounding handling
8155 code with _SOFT_FLOAT.
8156 * config/i386/64/sfp-machine.h: Ditto.
8158 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
8160 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
8163 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
8165 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
8166 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
8167 when appropriate. Correct structure element types.
8168 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
8169 -minline-all-stringops from compile flags.
8171 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
8173 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
8175 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
8177 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
8179 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
8181 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
8184 2012-10-23 Ian Bolton <ian.bolton@arm.com>
8185 Jim MacArthur <jim.macarthur@arm.com>
8186 Marcus Shawcroft <marcus.shawcroft@arm.com>
8187 Nigel Stephens <nigel.stephens@arm.com>
8188 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
8189 Richard Earnshaw <rearnsha@arm.com>
8190 Sofiane Naci <sofiane.naci@arm.com>
8191 Stephen Thomas <stephen.thomas@arm.com>
8192 Tejas Belagod <tejas.belagod@arm.com>
8193 Yufeng Zhang <yufeng.zhang@arm.com>
8195 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
8196 * config/aarch64/crti.S: New file.
8197 * config/aarch64/crtn.S: New file.
8198 * config/aarch64/linux-unwind.h: New file.
8199 * config/aarch64/sfp-machine.h: New file.
8200 * config/aarch64/sync-cache.c: New file.
8201 * config/aarch64/t-aarch64: New file.
8202 * config/aarch64/t-softfp: New file.
8204 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
8206 * config/mmix/crti.S: Mark program and data addresses using PRELD.
8207 Remove typo'd and unnecessary alignment-LOC for .data. Remove
8208 no-longer-needed LDBU insns.
8210 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
8213 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
8214 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
8216 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8218 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
8220 2012-10-15 Matthias Klose <doko@ubuntu.com>
8222 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
8224 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
8226 * configure: Regenerate.
8227 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
8229 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
8231 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8232 instructions for 64bit targets only.
8234 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
8236 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8237 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
8238 * config/i386/32/sfp-machine.h: ... here.
8239 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
8240 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
8243 2012-10-07 Matthias Klose <doko@ubuntu.com>
8245 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
8247 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
8249 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
8251 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
8252 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
8253 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
8256 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
8259 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8260 Fix parameter names.
8262 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
8265 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
8266 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
8267 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
8269 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
8272 * config/sh/linux-atomic.S: Delete.
8273 * config/sh/linux-atomic.c: New.
8274 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
8275 linux-atomic.c. Add cflags to disable warnings.
8277 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8280 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
8282 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
8283 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
8284 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
8285 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
8286 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
8288 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8290 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
8292 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
8293 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
8295 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
8297 * config.host (hppa-*-openbsd*): New target.
8298 * config/pa/t-openbsd: New file.
8300 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
8303 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
8304 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
8305 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
8306 (__divsa3): Use __negsi2 to negate r_quoL.
8307 * config/avr/lib1funcs.S (FALIAS): New macro.
8308 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
8309 (__negsi2): ...this new function.
8310 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
8311 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
8312 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
8313 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
8314 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
8315 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
8317 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
8320 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
8321 (lshrsi3): Reimplement as lshrsi3_r0.
8323 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
8326 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
8329 2012-09-07 Teresa Johnson <tejohnson@google.com>
8331 PR gcov-profile/54487
8332 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
8335 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
8338 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
8339 not configured --with-avrlibc=no.
8340 * config/avr/t-avrlibc: New file.
8341 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
8342 (DPBIT_FUNCS): Ditto.
8343 (TPBIT_FUNCS): Ditto.
8345 2012-09-04 Teresa Johnson <tejohnson@google.com>
8347 * libgcov.c (struct gcov_summary_buffer): New structure.
8348 (gcov_histogram_insert): New function.
8349 (gcov_compute_histogram): Ditto.
8350 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
8351 histograms during summary merging.
8353 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
8355 * config.host (x86_64-*-openbsd*): New target.
8357 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
8359 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
8362 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
8365 * config/avr/t-avr (conv_X): Rename to func_X.
8367 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
8370 * config/avr/lib1funcs-fixed.S: New file.
8371 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
8372 after they are used.
8373 (neg2, neg4): New macros.
8374 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
8375 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
8376 (__umulhisi3): Speed up MUL variant if there is enough flash.
8377 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
8379 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
8380 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
8381 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
8382 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
8383 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
8384 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
8385 (LIB2FUNCS_EXCLUDE): Add supported functions.
8387 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
8389 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
8390 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
8392 * fixed-obj.mk: Only expand dependency if $o is not in
8395 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
8397 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
8399 2012-08-22 Joseph Myers <joseph@codesourcery.com>
8401 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
8402 depend on --enable-shared.
8403 ($(lib1asmfuncs-o)): Use %.vis files independent of
8405 * static-object.mk ($(base)$(objext), $(base).vis)
8406 ($(base)_s$(objext)): Use same rules for visibility handling as in
8409 2012-08-21 Ian Lance Taylor <iant@google.com>
8411 * config/i386/morestack.S (__morestack_non_split): Increase amount
8412 of space allocated for non-split code stack.
8414 2012-08-19 Joseph Myers <joseph@codesourcery.com>
8416 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
8417 even if inhibit_libc.
8419 2012-08-17 Julian Brown <julian@codesourcery.com>
8421 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
8422 -fexceptions -fnon-call-exceptions if not defined.
8423 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
8424 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
8426 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
8428 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
8431 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
8433 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
8434 rs6000/t-slibgcc-aix.
8436 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8438 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
8440 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8442 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
8444 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
8447 * Makefile.in (version): Replace top_srcdir with srcdir.
8449 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
8451 * Makefile.in (version): set to BASE-VER file from gcc directory.
8453 2012-08-01 Nick Clifton <nickc@redhat.com>
8455 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
8456 Implements __clrsb for an HImode argument.
8458 2012-07-31 Nick Clifton <nickc@redhat.com>
8460 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
8461 Implements __clrsb for an HImode argument.
8462 * config/stormy16/clrsbhi2.c: New file:
8463 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
8465 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
8467 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
8469 2012-07-19 Tristan Gingold <gingold@adacore.com>
8470 Richard Henderson <rth@redhat.com>
8472 * unwind-seh.c: New file.
8473 * unwind-generic.h: Include windows.h for SEH.
8474 (_Unwind_Exception): Use 6 private fields for SEH.
8475 (_GCC_specific_handler): Declare.
8476 * unwind-c.c (__gcc_personality_seh0): New function.
8478 * config/i386/libgcc-cygming.ver: New file.
8479 * config/i386/t-seh-eh: New file.
8480 * config.host (x86_64-*-mingw*): Default to seh.
8482 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
8484 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
8486 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
8488 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
8489 __builtin_expect when checking for exceptions.
8490 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
8492 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
8494 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
8495 function declaration.
8496 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8498 * config/ia64/sfp-exceptions.c: New.
8499 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
8501 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
8503 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
8504 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
8505 * config/i386/64/sfp-machine: ... (delete here) ...
8506 * config/i386/sfp-machine.h: ... to here.
8507 (FP_EX_MASK): Remove.
8509 (FP_INIT_ROUNDMODE): Declare asm as volatile.
8511 2012-06-11 Sriraman Tallam <tmsriram@google.com>
8513 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
8514 * config/i386/libgcc-sol2.ver: Ditto.
8515 * config/i386/libgcc-glibc.ver: Ditto.
8517 2012-06-11 Roland McGrath <mcgrathr@google.com>
8519 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
8520 If __GLIBC__ is defined, refer to __pthread_key_create instead of
8523 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
8525 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
8526 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
8527 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
8528 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8529 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
8530 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
8531 * config/i386/64/sfp-machine: ... (delete here) ...
8532 * config/i386/sfp-machine.h: ... to here.
8534 (__sfp_handle_exceptions): New function declaration.
8535 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8536 * config/i386/sfp-exceptions.c: New.
8537 * config/i386/t-softfp: New.
8538 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
8539 i386/t-softfp to tmake_file.
8541 2012-06-03 David S. Miller <davem@davemloft.net>
8543 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
8546 2012-05-31 David S. Miller <davem@davemloft.net>
8548 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
8549 multiply and divide instructions on 32-bit when V9.
8550 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
8552 2012-05-29 Joseph Myers <joseph@codesourcery.com>
8554 * config/arm/ieee754-df.S: Fix typos.
8555 * config/arm/ieee754-sf.S: Fix typos.
8556 * config/c6x/libunwind.S: Fix typos.
8557 * config/epiphany/udivsi3-float.c: Fix typos.
8558 * config/microblaze/muldi3_hard.S: Fix typos.
8559 * config/picochip/adddi3.S: Fix typos.
8560 * config/picochip/ashlsi3.S: Fix typos.
8561 * config/picochip/ashrsi3.S: Fix typos.
8562 * config/picochip/clzsi2.S: Fix typos.
8563 * config/picochip/cmpsi2.S: Fix typos.
8564 * config/picochip/divmod15.S: Fix typos.
8565 * config/picochip/divmodhi4.S: Fix typos.
8566 * config/picochip/divmodsi4.S: Fix typos.
8567 * config/picochip/longjmp.S: Fix typos.
8568 * config/picochip/lshrsi3.S: Fix typos.
8569 * config/picochip/parityhi2.S: Fix typos.
8570 * config/picochip/popcounthi2.S: Fix typos.
8571 * config/picochip/setjmp.S: Fix typos.
8572 * config/picochip/subdi3.S: Fix typos.
8573 * config/picochip/ucmpsi2.S: Fix typos.
8574 * config/picochip/udivmodhi4.S: Fix typos.
8575 * config/picochip/udivmodsi4.S: Fix typos.
8576 * config/spu/divv2df3.c: Fix typos.
8577 * config/spu/mfc_multi_tag_release.c: Fix typos.
8578 * config/spu/mfc_tag_release.c: Fix typos.
8579 * configure.ac: Fix typos.
8580 * configure: Regenerate.
8582 2012-05-25 Ian Lance Taylor <iant@google.com>
8584 * config/i386/morestack.S (__morestack_non_split): Check whether
8585 caller is varargs and needs %bp to hold the stack frame on return.
8587 2012-05-25 Olivier Hainque <hainque@adacore.com>
8589 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
8590 sequence in the non pic case on VxWorks.
8592 2012-05-24 Olivier Hainque <hainque@adacore.com>
8594 * Makefile.in: Move dependency on install-unwind_h from
8595 "install-leaf" to "install".
8597 2012-05-24 Olivier Hainque <hainque@adacore.com>
8599 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
8600 Use a separate command for stamp removals.
8602 2012-05-21 Andrew Pinski <apinski@cavium.com>
8605 * configure.ac: Define the default includes to being none.
8606 * configure: Regenerate.
8608 2012-05-16 Olivier Hainque <hainque@adacore.com>
8610 * Makefile.in (install-unwind_h): Rename into ...
8611 (install-unwind_h-forbuild): New target.
8612 (all): Use it instead of the former install-unwind_h.
8613 (install-unwind_h): Reinstate, copy to user install destination
8614 for include files, not to the internal gcc object directory one.
8615 (install-leaf): Depend on it.
8617 2012-05-15 Olivier Hainque <hainque@adacore.com>
8619 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
8620 register numbers. LR_REGNO replaces R_LR.
8621 (ucontext_for): New, helper for ...
8622 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
8624 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
8626 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8628 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
8629 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
8630 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
8632 (i[34567]86-*-*, x86_64-*-*): ... here.
8634 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
8635 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
8637 * config/i386/i386-cpuinfo.c: Rename to ...
8638 * config/i386/cpuinfo.c: ... this.
8639 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
8641 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
8642 (libgcc_cv_init_priority): New test.
8643 * configure: Regenerate.
8644 * config.in: New file.
8645 * Makefile.in (clean): Rename config.h to auto-target.h.
8646 (config.h): Likewise.
8647 (stamp-h): Likewise.
8649 * config/i386/cpuinfo.c (auto-target.h): Include.
8650 (CONSTRUCTOR_PRIORITY): Define.
8651 (__cpu_indicator_init): Use it.
8653 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8655 * longlong.h: Use a URL instead of an FSF postal address.
8656 Replace spaces with tab.
8658 2012-05-08 Teresa Johnson <tejohnson@google.com>
8660 * libgcov.c (gcov_clear, __gcov_reset): New functions.
8661 (__gcov_dump): Ditto.
8662 (gcov_dump_complete): New global variable.
8663 (gcov_exit): Export hidden to enable use in L_gcov_dump.
8664 (__gcov_flush): Outline functionality now in gcov_clear.
8665 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
8667 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
8669 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
8670 (mips*-*-linux*): Include mips/t-tpbit when long double is
8673 2012-04-25 Sriraman Tallam <tmsriram@google.com>
8675 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
8676 (get_available_features): New argument. Check for AVX2.
8677 (__cpu_indicator_init): Modify call to get_available_features.
8679 2012-04-25 Alan Modra <amodra@gmail.com>
8681 * config/rs6000/crtsavevr.S: New file.
8682 * config/rs6000/crtrestvr.S: New file.
8683 * config/rs6000/t-savresfgpr: Build the above.
8684 * config/rs6000/t-netbsd: Likewise.
8686 2012-04-24 Sriraman Tallam <tmsriram@google.com>
8688 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
8690 2012-04-24 Sriraman Tallam <tmsriram@google.com>
8692 * libgcc/config/i386/i386-cpuinfo.c: New file.
8693 * libgcc/config/i386/t-cpuinfo: New file.
8694 * libgcc/config.host: Include t-cpuinfo.
8695 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
8697 2012-04-24 Chao-ying Fu <fu@mips.com>
8699 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
8701 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
8703 struct siginfo vs. siginfo_t
8705 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
8706 siginfo_t instead of struct siginfo.
8707 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
8708 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
8709 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
8710 (ia64_handle_unwabi): Likewise.
8711 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
8712 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
8713 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
8714 (sh_fallback_frame_state): Likewise.
8715 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
8716 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
8718 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
8720 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
8723 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
8725 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
8726 if it hasn't been previously saved.
8728 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
8730 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
8733 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
8736 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
8737 instead of __AVR_HAVE_8BIT_SP__.
8739 2012-03-26 Tristan Gingold <gingold@adacore.com>
8741 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
8742 (unw_table_entry): Use unw_word instead of unsigned long.
8743 (_Unwind_FindTableEntry): Likewise.
8744 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
8745 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
8746 (_Unwind_FindTableEntry): Likewise.
8747 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
8748 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
8749 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
8750 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
8751 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
8752 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
8753 (uw_init_context_1, uw_install_context): Likewise.
8754 (unw_word): Move to unwind-ia64.h
8756 2012-03-26 Tristan Gingold <gingold@adacore.com>
8758 * config/vms/vms-ucrt0.c: Update copyright years.
8760 (___gcc_main_flags): Declare.
8761 (__main): Check flags to remap argv and exit code.
8762 * config.host (*-*-*vms*): Adjust extra_parts.
8763 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
8766 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
8768 * arm/lib1funcs.asm (ctzsi2): New function.
8769 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
8770 * arm/t-linux (LIB1ASMFUNCS): Likewise.
8771 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
8772 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
8773 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
8774 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
8776 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
8778 * config.host: Add bits to support powerpc64-*-freebsd*.
8779 * config/rs6000/freebsd-unwind.h: New file.
8780 * config/rs6000/t-freebsd64: New file.
8782 2012-03-20 Richard Guenther <rguenther@suse.de>
8784 PR gcov-profile/52627
8785 * libgcov.c (init_mx): Fix mutex name.
8787 2012-03-16 Tristan Gingold <gingold@adacore.com>
8789 * config/ia64/vms-unwind.h: Remove ulong (and replace
8790 it by unw_reg where used). Define unw_reg with __int64.
8792 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8794 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8796 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8798 (sparc_is_sighandler): Likewise.
8800 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
8802 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
8805 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8807 * config/arm/crtn.S: Fix typo.
8809 2012-03-13 Richard Guenther <rguenther@suse.de>
8811 * libgcov.c: Remove stdio.h include and NULL un-define.
8813 2012-03-13 Richard Guenther <rguenther@suse.de>
8816 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
8818 2012-03-13 Richard Guenther <rguenther@suse.de>
8820 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
8822 2012-03-13 Richard Guenther <rguenther@suse.de>
8824 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
8825 and __gthread_mutex_init_function definitions.
8827 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8829 * config.host (mips*-*-openbsd*): Remove.
8831 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8833 * config.host: Remove alpha*-dec-osf5.1* handling.
8834 * config/alpha/gthr-posix.c: Remove.
8835 * config/alpha/libgcc-osf5.ver: Remove.
8836 * config/alpha/osf5-unwind.h: Remove.
8837 * config/alpha/t-osf-pthread: Remove.
8838 * config/alpha/t-slibgcc-osf: Remove.
8839 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
8840 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
8841 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
8842 * mkmap-flat.awk: Remove osf_export handling.
8844 2012-03-12 Richard Guenther <rguenther@suse.de>
8846 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
8847 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8848 (__gthread_mutex_init_function): New function.
8849 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8852 * libgcov.c: Include gthr.h.
8853 (__gcov_flush_mx): New global variable.
8854 (init_mx, init_mx_once): New functions.
8855 (__gcov_flush): Protect self with a mutex.
8856 (__gcov_fork): Re-initialize mutex after forking.
8857 * unwind-dw2-fde.c: Change condition under which to use
8858 __GTHREAD_MUTEX_INIT_FUNCTION.
8860 2012-03-12 Tristan Gingold <gingold@adacore.com>
8862 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
8863 * config/ia64/t-vms: Likewise.
8865 2012-03-11 Michael Hope <michael.hope@linaro.org>
8867 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
8870 2012-03-07 Walter Lee <walt@tilera.com>
8872 * config/tilepro/atomic.c: Rename "atomic_" prefix to
8874 (atomic_xor): Rename and move definition to
8875 config/tilepro/atomic.h.
8876 (atomic_nand): Ditto.
8877 * config/tilepro/atomic.h: Rename "atomic_" prefix to
8879 (arch_atomic_xor): Move from config/tilepro/atomic.c.
8880 (arch_atomic_nand): Ditto.
8882 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
8885 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
8887 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
8890 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
8893 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
8897 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
8898 if RAMPZ affects reading from RAM.
8899 (__tablejump_elpm__): Ditto.
8901 (__movmemx_hi): Ditto.
8902 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
8903 (__do_global_dtors): Ditto.
8904 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
8905 (__movmemx_hi): Ditto.
8907 2012-03-05 Richard Henderson <rth@redhat.com>
8909 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
8910 [ARM] (count_trailing_zeros): Use the builtin.
8912 2012-03-01 Kai Tietz <ktietz@redhat.com>
8914 * soft-fp: Imported from glibc upstream.
8916 2012-02-28 Kai Tietz <ktietz@redhat.com>
8918 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
8919 for mingw-targets as attribute gcc_struct.
8921 2012-02-28 Ian Lance Taylor <iant@google.com>
8923 * generic-morestack.c (__splitstack_releasecontext): Correct call
8924 to __morestack_release_segments.
8926 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8929 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
8930 for __linux__ when removing signals from __morestack_fullmask.
8932 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
8935 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
8937 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8939 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
8940 instead of HAVE_INITFINI_ARRAY.
8941 * config/ia64/crtend.S: Likewise.
8943 2012-02-20 Kai Tietz <ktietz@redhat.com>
8946 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
8948 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
8949 to w32-unwind.h header.
8951 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8953 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
8954 (mips*-*-linux*): Remove t-slibgcc-libgcc.
8955 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
8956 * config/mips/mips16.S (__mips16_rdhwr): Delete.
8958 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8960 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
8962 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8965 * config/darwin-crt-tm.c: Correct typo.
8967 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8968 Patrick Marlier <patrick.marlier@gmail.com>
8971 * config/darwin-crt-tm.c: Generate dummy functions.
8973 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8974 Patrick Marlier <patrick.marlier@gmail.com>
8977 * config/darwin-crt-tm.c (getTMCloneTable): New function.
8978 (__doTMRegistrations): Call it.
8979 (__doTMdeRegistrations): Likewise.
8981 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
8982 Anatoly Sokolov <aesok@post.ru>
8983 Eric Weddington <eric.weddington@atmel.com>
8986 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
8987 (__epilogue_restores__): Ditto.
8989 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
8993 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
8994 Solaris 11 and slightly reformat.
8995 (sparc_is_sighandler): Likewise.
8997 2012-02-14 Walter Lee <walt@tilera.com>
8999 * config.host: Handle tilegx and tilepro.
9000 * config/tilegx/sfp-machine.h: New file.
9001 * config/tilegx/sfp-machine32.h: New file.
9002 * config/tilegx/sfp-machine64.h: New file.
9003 * config/tilegx/t-crtstuff: New file.
9004 * config/tilegx/t-softfp: New file.
9005 * config/tilegx/t-tilegx: New file.
9006 * config/tilepro/atomic.c: New file.
9007 * config/tilepro/atomic.h: New file.
9008 * config/tilepro/linux-unwind.h: New file.
9009 * config/tilepro/sfp-machine.h: New file.
9010 * config/tilepro/softdivide.c: New file.
9011 * config/tilepro/softmpy.S: New file.
9012 * config/tilepro/t-crtstuff: New file.
9013 * config/tilepro/t-tilepro: New file.
9015 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
9019 * gthr-posix.h: Allow static initializer macros to be disabled.
9020 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
9022 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9024 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
9025 Add t-slibgcc-libgcc to tmake_file.
9026 * config/mips/libgcc-mips16.ver: Revert previous patch.
9027 * config/mips/mips16.S (__mips16_rdhwr): Hide.
9029 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
9030 Jayant R Sonar <jayant.sonar@kpitcummins.com>
9032 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
9033 * config/cr16/crti.S: New file.
9034 * config/cr16/crtlibid.S: New file.
9035 * config/cr16/crtn.S: New file.
9036 * config/cr16/lib1funcs.S: New file.
9037 * config/cr16/t-cr16: New file.
9038 * config/cr16/t-crtlibid: New file.
9039 * config/cr16/unwind-dw2.h: New file.
9040 * config/cr16/unwind-cr16.c: New file.
9041 * config/cr16/divmodhi3.c: New file.
9043 2012-01-25 Alan Modra <amodra@gmail.com>
9045 * config/rs6000/t-linux64: Delete. Move..
9046 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
9047 * config/rs6000/t-linux: ..and libgcc flags to here.
9049 2012-01-22 Douglas B Rupp <rupp@gnat.com>
9051 * config.host (i[34567]86-*-interix3*):
9052 Change triplet to i[34567]86-*-interix[3-9]*.
9053 * configure: Regenerate.
9055 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
9056 Richard Sandiford <rdsandiford@googlemail.com>
9058 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
9059 * config/mips/mips16.S (__mips16_rdhwr): New function.
9060 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
9062 2012-01-11 Nathan Sidwell <nathan@acm.org>
9064 * libgcov.c (__gcov_init): Ignore objects with no functions.
9066 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
9069 Extend __pgmx semantics to linearize memory.
9070 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
9071 * config/avr/lib1funcs.S (__xload_1): New function.
9072 (__movmemx_qi, __movmemx_hi): New functions.
9073 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
9076 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9078 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
9079 purported sigacthandler address isn't null before dereferencing it.
9080 (sparc_is_sighandler): Likewise.
9082 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9085 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
9086 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
9087 (sparc_is_sighandler): Likewise.
9088 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
9090 2012-01-06 Tristan Gingold <gingold@adacore.com>
9092 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
9093 compatibility thunks...
9094 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
9095 (crtbeginS.o, crtendS.o): ... and these to ...
9096 * config/ia64/t-ia64-elf: ... this new file.
9097 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
9098 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
9100 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9102 * configure: Regenerate.
9103 * config/s390/t-crtstuff: Remove -fPIC.
9105 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
9108 * enable-execute-stack-mprotect.c (getpagesize): Do not define
9111 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
9114 * config/avr/lib1funcs.S: Remove FIXME comments.
9115 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
9117 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
9119 Implement light-weight DImode support.
9120 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
9121 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
9122 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
9123 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
9125 2011-12-30 Nathan Sidwell <nathan@acm.org>
9127 * libgcov.c (gcov_crc32): Remove global var.
9128 (free_fn_data): New function.
9129 (buffer_fn_data): Pass in filename, more robust error recovery.
9130 (crc32_unsigned): New function.
9131 (gcov_exit): More robust detection of new program. More robust
9133 (__gcov_init): Do not update program's crc here.
9135 2011-12-21 Tristan Gingold <gingold@adacore.com>
9137 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
9139 2011-12-21 Ian Lance Taylor <iant@google.com>
9141 * config/i386/morestack.S: Simplify CFI opcodes throughout.
9143 2011-12-20 Ian Lance Taylor <iant@google.com>
9145 * config/i386/morestack.S (__morestack_non_split): If there is
9146 enough stack space already, don't split. Ask for more stack space
9149 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
9151 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
9153 (_Unwind_DebugHook): New function.
9154 (uw_restore_core_regs): New define.
9155 (unwind_phase2): Use uw_restore_core_regs instead of
9157 (unwind_phase2_forced): Likewise.
9158 (__gnu_Unwind_Resume): Likewise.
9160 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
9162 * config/alpha/linux-unwind.h: Update copyright years.
9163 (MD_FROB_UPDATE_CONTEXT): New define.
9164 (alpha_frob_update_context): New function.
9166 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
9168 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
9169 tmake_file rather replacing it.
9171 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
9173 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
9174 function is not used for PPC64.
9175 (save_world): Amend comments. Update the VRsave mask to reflect the
9177 (rest_world): Update comments, do not clobber r10, do not use r8.
9178 (eh_rest_world_r10): Amend comments, do not use r8.
9179 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
9180 no longer used, move restore of CR and target address to the end of
9183 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
9185 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
9186 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
9188 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
9191 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
9192 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
9194 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
9196 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
9198 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
9201 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
9202 * config/avr/lib1funcs.S (__muldi3): New function.
9204 2011-12-06 Andrew Pinski <apinski@cavium.com>
9206 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
9208 (__frame_dummy_init_array_entry): Likewise.
9210 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
9212 Forward-port from gcc-4_6-branch r181936 2011-12-02.
9216 * config/avr/lib1funcs.S (__prologue_saves__,
9217 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
9218 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
9220 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
9222 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
9224 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9227 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
9228 (_ITM_deregisterTMCloneTable): Likewise.
9229 (__register_frame_info): Fix unused warning.
9230 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
9231 pthread_default_stacksize_np): Likewise.
9232 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
9234 2011-11-29 DJ Delorie <dj@redhat.com>
9236 * config.host (rl78-*-elf): New case.
9237 * config/rl78: New directory for the Renesas RL78.
9239 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
9241 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
9244 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9247 * config/rs6000/t-savresfgpr: New file.
9248 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
9249 $(srcdir)/config/rs6000/eabi.S.
9250 * config/rs6000/t-ppccomm-ldbl: Remove.
9251 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
9253 (powerpc-*-eabispe*): Likewise.
9254 (powerpc-*-eabi*): Likewise.
9255 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9256 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
9257 to tmake_file, remove rs6000/t-ppccomm-ldbl.
9258 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
9260 (powerpc-*-eabisim*): Likewise.
9261 (powerpc-*-elf*): Likewise.
9262 (powerpc-*-eabialtivec*): Likewise.
9263 (powerpc-xilinx-eabi*): Likewise.
9264 (powerpc-*-rtems*): Likewise.
9265 (powerpcle-*-elf*): Likewise.
9266 (powerpcle-*-eabisim*): Likewise.
9267 (powerpcle-*-eabi*): Likewise.
9269 2011-11-27 Ian Lance Taylor <iant@google.com>
9271 * generic-morestack.c (__splitstack_find): Check for NULL old
9273 (__splitstack_resetcontext): New function.
9274 (__splitstack_releasecontext): New function.
9275 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9277 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9279 * config/darwin-crt-tm.c: Correct comments, use correct licence.
9281 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9283 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
9285 2011-11-26 Richard Henderson <rth@redhat.com>
9287 * config/m68k/linux-atomic.c: New file.
9288 * config/m68k/t-linux: New file.
9289 * config.host (m68k-uclinux, m68k-linux): Use it.
9291 2011-11-26 Richard Henderson <rth@redhat.com>
9293 * crtstuff.c (__TMC_LIST__): Mark used not unused.
9294 (__TMC_END__): Only declare if hidden is available; in the definition,
9295 if hidden is unavailable add a null record.
9296 (deregister_tm_clones, register_tm_clones): New.
9297 (__do_global_dtors_aux, frame_dummy): Use them.
9298 (__do_global_dtors, __do_global_ctors_1): Likewise.
9300 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
9302 * config/darwin-crt-tm.c: New file.
9303 * config.host (darwin): Build crttms.o crttme.o to provide
9304 startup and shutdown for tm clones.
9305 * config/t-darwin (crttms.o): New build rule.
9306 (crttme.o): Likewise.
9308 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
9310 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
9313 2011-11-21 Richard Henderson <rth@redhat.com>
9315 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
9316 (__TMC_LIST__, __TMC_END__): New.
9317 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
9318 (__do_global_dtors): Likewise.
9319 (frame_dummy): Call _ITM_registerTMCloneTable.
9320 (__do_global_ctors_1): Likewise.
9322 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9324 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
9325 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9326 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
9327 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
9328 * config/i386/t-darwin64: Remove.
9329 * config/sh/t-netbsd (LIB2ADD): Remove.
9331 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
9334 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
9335 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
9336 * config/avr/lib1funcs.S (wmov): New assembler macro.
9337 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
9338 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
9339 (__udivmod64): New function.
9340 (__negdi2): New function.
9342 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
9344 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
9345 *-*-freebsd*aout*): Remove.
9347 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
9349 * static-object.mk (c_flags-$o): Save c_flags.
9350 ($(base)$(objext)): Use it.
9352 2011-11-18 Steve Ellcey <sje@cup.hp.com>
9354 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
9356 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
9359 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
9360 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
9363 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9365 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
9367 (aeabi_uidivmod): Likewise.
9368 (umodsi3): Likewise.
9370 (aeabi_idivmod): Likewise.
9373 2011-11-16 Tristan Gingold <gingold@adacore.com>
9375 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
9377 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
9380 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
9381 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
9383 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9385 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
9387 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
9388 * config/pa/t-stublib64: Delete.
9390 2011-11-12 Richard Henderson <rth@redhat.com>
9392 * config/rs6000/linux-unwind.h (frob_update_context): Properly
9393 cast the pointer argument to _Unwind_SetGRPtr.
9395 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9397 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
9399 2011-11-09 Ian Lance Taylor <iant@google.com>
9401 * generic-morestack.c: Include <string.h>.
9402 (uintptr_type): Define.
9403 (struct initial_sp): Add dont_block_signals field. Reduce size of
9405 (allocate_segment): Set prev field to NULL. Don't set
9406 __morestack_current_segment or __morestack_segments.
9407 (__generic_morestack): Update current->prev and *pp after calling
9409 (__morestack_block_signals): Don't do anything if
9410 dont_block_signals is set.
9411 (__morestack_unblock_signals): Likewise.
9412 (__generic_findstack): Check for initial_sp == NULL. Add casts to
9414 (__splitstack_block_signals): New function.
9415 (enum __splitstack_content_offsets): Define.
9416 (__splitstack_getcontext, __splitstack_setcontext): New functions.
9417 (__splitstack_makecontext): New function.
9418 (__splitstack_block_signals_context): New function.
9419 (__splitstack_find_context): New function.
9420 * config/i386/morestack.S (__morestack_get_guard): New function.
9421 (__morestack_set_guard, __morestack_make_guard): New functions.
9422 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9424 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9426 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
9427 (i[34567]86-*-mingw*): ... here.
9428 (x86_64-*-mingw*): ... here.
9430 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9432 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
9434 2011-11-07 Nathan Sidwell <nathan@acm.org>
9436 * libgcov.c (struct gcov_fn_buffer): New struct.
9437 (buffer_fn_data): New helper.
9438 (gcov_exit): Rework for new gcov data structures.
9440 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
9443 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
9445 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9447 * config.host (tmake_file): Correct comment.
9448 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
9450 (bfin*-uclinux*): Likewise.
9451 (bfin*-linux-uclibc*): Likewise.
9452 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
9454 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
9456 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9457 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
9458 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9459 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
9460 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9461 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
9462 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
9463 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9464 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
9465 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
9466 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
9467 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
9468 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
9470 * config/bfin/t-elf: Remove.
9471 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
9473 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9475 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
9476 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
9477 (lm32-*-elf*, lm32-*-rtems*): Split into ...
9478 (lm32-*-elf*): ... this.
9479 (lm32-*-rtems*): ... and this.
9481 (m32r-*-rtems*): Add to tmake_file.
9482 (moxie-*-rtems*): Likewise.
9483 (sparc-*-rtems*): Likewise.
9484 Remove t-rtems from tmake_file.
9485 (sparc64-*-rtems*): Likewise.
9486 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
9489 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9492 * config/gthr-posix.h: Move ...
9493 * gthr-posix.h: ... here.
9494 * config/gthr-lynx.h: Reflect this.
9495 * config/gthr-vxworks.h: Likewise.
9496 * config/rs6000/gthr-aix.h: Likewise.
9497 * configure.ac (target_thread_file): Likewise.
9498 * configure: Regenerate.
9500 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
9502 * config.host (arm*-*-rtemseabi*): New target.
9504 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9507 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
9510 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
9512 * config.host (epiphany-*-elf*): New configuration.
9513 * config/epiphany: New Directory.
9515 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
9517 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
9518 * config/avr/t-rtems: New.
9519 Filter out _exit from LIB1ASMFUNCS.
9521 2011-11-04 David S. Miller <davem@davemloft.net>
9523 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
9524 * configure: Rebuild.
9526 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9528 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
9531 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
9534 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
9535 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
9537 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
9540 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
9542 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9544 * config/c6x/t-elf (LIB2ADDEH): Set.
9545 * config/c6x/t-c6x-elf: Remove.
9547 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9549 * config/i386/sol2-ci.S: Rename to ...
9550 * config/i386/crti.S: ... this.
9551 * config/i386/sol2-cn.S: Rename to ...
9552 * config/i386/crtn.S: ... this.
9553 * config/sparc/sol2-ci.S: Rename to ...
9554 * config/sparc/crti.S: ... this.
9555 * config/sparc/sol2-cn.S: Rename to ...
9556 * config/sparc/crtn.S: ... this.
9557 * config/t-sol2 (CUSTOM_CRTIN): Remove.
9558 (crti.o, crtn.o): Remove.
9560 2011-11-04 Tristan Gingold <gingold@adacore.com>
9562 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
9564 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
9566 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
9568 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
9570 * config.host (crisv32-*-none, cris-*-none): Remove.
9571 (crisv32-*-elf): Append to tmake_file, don't just set it.
9572 (cris-*-elf): Add missing t-fdpbit to tmake_file.
9574 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9576 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
9577 (ecrtn$(objext)): Likewise.
9578 (ncrti$(objext)): Likewise.
9579 (ncrtn$(objext)): Likewise.
9581 2011-11-03 Andreas Schwab <schwab@redhat.com>
9583 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
9585 2011-11-02 David S. Miller <davem@davemloft.net>
9587 * configure.ac: Set host_address on sparc too.
9588 * configure: Regenerate.
9589 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
9590 based upon host_address.
9591 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
9593 2011-11-02 Jason Merrill <jason@redhat.com>
9595 * config/rs6000/t-ppccomm: Add missing \.
9597 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9599 * gthr-single.h, gthr.h: New files.
9600 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
9601 config/gthr-vxworks.h, config/i386/gthr-win32.h,
9602 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
9603 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
9604 * config/i386/gthr-win32.c: Include "gthr-win32.h".
9605 * configure.ac (thread_header): New variable.
9606 Set it depending on target_thread_file.
9607 (gthr-default.h): Link from $thread_header.
9608 * configure: Regenerate.
9609 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
9611 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9613 * configure.ac (tm_file_): New variable.
9614 Determine from tm_file.
9615 (tm_file, tm_defines): Substitute.
9616 * configure: Regenerate.
9617 * mkheader.sh: New file.
9618 * Makefile.in (clean): Remove libgcc_tm.h.
9619 ($(objects)): Depend on libgcc_tm.h.
9620 (libgcc_tm_defines, libgcc_tm_file): New variables.
9621 (libgcc_tm.h, libgcc_tm.stamp): New targets.
9622 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
9623 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
9624 ($(extra-parts)): Depend on libgcc_tm.h.
9625 * config.host (tm_defines, tm_file): New variable.
9626 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
9627 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
9628 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
9629 (avr-*-rtems*): Likewise.
9630 (avr-*-*): Likewise.
9631 (frv-*-elf): Likewise.
9632 (frv-*-*linux*): Likewise.
9633 (h8300-*-rtems*): Likewise.
9634 (h8300-*-elf*): Likewise.
9635 (i[34567]86-*-darwin*): Likewise.
9636 (x86_64-*-darwin*): Likewise.
9637 (rx-*-elf): Likewise.
9638 (tic6x-*-uclinux): Likewise.
9639 (tic6x-*-elf): Likewise.
9640 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
9641 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
9642 * config/i386/cygming-crtbegin.c: Likewise.
9643 * config/i386/cygming-crtend.c: Likewise.
9644 * config/ia64/fde-vms.c: Likewise.
9645 * config/ia64/unwind-ia64.c: Likewise.
9646 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9647 * config/rs6000/darwin-fallback.c: Likewise.
9648 * config/stormy16/lib2funcs.c: Likewise.
9649 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
9650 * crtstuff.c: Likewise.
9651 * dfp-bit.h: Likewise.
9652 * emutls.c: Likewise.
9653 * fixed-bit.c: Likewise.
9654 * fp-bit.c: Likewise.
9655 * generic-morestack-thread.c: Likewise.
9656 * generic-morestack.c: Likewise.
9657 * libgcc2.c: Likewise.
9658 * libgcov.c: Likewise.
9659 * unwind-dw2-fde-dip.c: Likewise.
9660 * unwind-dw2-fde.c: Likewise.
9661 * unwind-dw2.c: Likewise.
9662 * unwind-sjlj.c: Likewise.
9664 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9666 * configure.ac: Include ../config/picflag.m4.
9667 (GCC_PICFLAG): Call it.
9669 * configure: Regenerate.
9670 * Makefile.in (gcc_srcdir): Remove.
9671 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
9672 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
9673 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
9674 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
9675 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
9678 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
9679 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
9680 to refer to libgcc2.c.
9682 * config/darwin-64.c: New file.
9683 * config/darwin-crt3.c: Remove comment.
9684 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
9685 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
9686 config/udivmodsi4.c: New files.
9687 * config/memcmp.c, config/memcpy.c, config/memmove.c,
9688 config/memset.c: New files.
9689 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
9690 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
9691 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
9692 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
9693 * config/t-openbsd-thread: New file.
9694 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
9695 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
9696 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
9697 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
9700 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
9701 to refer to gthr-posix.c.
9702 * config/alpha/t-vms (LIB2ADD): Set.
9703 * config/alpha/vms-gcc_shell_handler.c: New file.
9704 * config/arm/bpabi.c, config/arm/fp16.c,
9705 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
9706 config/arm/unaligned-funcs.c: New files.
9707 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
9708 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9709 * config/arm/t-linux: Likewise.
9710 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
9711 * config/arm/t-netbsd: New file.
9712 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
9713 * config/arm/t-symbian (LIB2ADD_ST): Set.
9714 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
9715 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9716 * config/bfin/t-elf: New file.
9717 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
9718 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
9719 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
9720 config/c6x/ltf.c: New files.
9721 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
9722 (HOST_LIBGCC2_CFLAGS): Set.
9723 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
9724 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9725 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
9727 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
9728 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
9729 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
9730 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
9731 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
9733 * config/frv/t-frv (LIB2ADD): Set.
9734 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9735 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
9736 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
9737 config/h8300/popcounthi2.c: New files.
9738 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9739 * config/i386/gthr-win32.c: New file.
9740 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
9741 * config/i386/t-cygwin: Likewise.
9742 * config/i386/t-darwin, config/i386/t-darwin64,
9743 config/i386/t-gthr-win32, config/i386/t-interix: New files.
9744 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
9745 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9746 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9747 * config/ia64/quadlib.c: New file.
9748 * config/ia64/t-hpux (LIB2ADD): Set.
9749 * config/ia64/t-ia64: Add comment.
9750 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
9751 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9752 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
9753 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
9754 * config/m32c/t-m32c (LIB2ADD): Set.
9755 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9756 * config/m32r/t-m32r: Likewise.
9757 * config/m68k/fpgnulib.c: New file.
9758 * config/m68k/t-floatlib (LIB2ADD): Set.
9759 (xfgnulib.c): New target.
9760 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
9761 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
9762 * config/mep/t-mep (LIB2ADD): Set.
9763 * config/microblaze/divsi3.asm: Rename to divsi3.S.
9764 * config/microblaze/moddi3.asm: Rename to moddi3.S.
9765 * config/microblaze/modsi3.asm: Rename to modsi3.S.
9766 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
9767 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
9768 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
9769 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
9770 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
9771 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
9772 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
9774 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
9775 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
9776 * config/pa/fptr.c, config/pa/lib2funcs.S,
9777 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
9778 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9779 (LIB2ADD, LIB2ADD_ST): Set.
9780 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
9781 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
9783 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
9784 * config/pdp11/t-pdp11: New file.
9785 * config/picochip/libgccExtras/adddi3.S,
9786 config/picochip/libgccExtras/ashlsi3.S,
9787 config/picochip/libgccExtras/ashrsi3.S,
9788 config/picochip/libgccExtras/clzsi2.S,
9789 config/picochip/libgccExtras/cmpsi2.S,
9790 config/picochip/libgccExtras/divmod15.S,
9791 config/picochip/libgccExtras/divmodhi4.S,
9792 config/picochip/libgccExtras/divmodsi4.S,
9793 config/picochip/libgccExtras/lshrsi3.S,
9794 config/picochip/libgccExtras/parityhi2.S,
9795 config/picochip/libgccExtras/popcounthi2.S,
9796 config/picochip/libgccExtras/subdi3.S,
9797 config/picochip/libgccExtras/ucmpsi2.S,
9798 config/picochip/libgccExtras/udivmodhi4.S,
9799 config/picochip/libgccExtras/udivmodsi4.S: New files.
9800 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
9801 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
9802 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
9803 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
9804 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
9805 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
9806 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
9807 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
9809 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
9810 (HOST_LIBGCC2_CFLAGS): Set.
9811 * config/rs6000/t-darwin64: New file.
9812 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
9813 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
9814 * config/rs6000/t-ppccomm (LIB2ADD): Add
9815 $(srcdir)/config/rs6000/tramp.S.
9816 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
9817 Add $(srcdir)/config/rs6000/eabi.S.
9818 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
9819 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
9820 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
9821 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
9822 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
9823 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
9824 * config/rs6000/tramp.S: New file.
9825 * config/s390/t-tpf: Remove.
9826 * config/sh/linux-atomic.S: New file.
9827 * config/sh/t-linux (LIB2ADD): Set.
9828 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
9829 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9830 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
9832 (HOST_LIBGCC2_CFLAGS): Set.
9833 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9834 * config/spu/divmodti4.c, config/spu/divv2df3.c,
9835 config/spu/float_disf.c, config/spu/float_unsdidf.c,
9836 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
9837 config/spu/mfc_multi_tag_release.c,
9838 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
9839 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
9840 config/spu/multi3.c: New files.
9841 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
9842 (HOST_LIBGCC2_CFLAGS): Set.
9843 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
9844 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
9845 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
9846 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
9847 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
9848 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
9849 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
9850 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
9851 config/stormy16/umodsi3.c: New files.
9852 * config/xtensa/lib2funcs.S: New file.
9853 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9854 * config/xtensa/t-xtensa (LIB2ADD): Set.
9855 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
9856 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
9857 Add t-freebsd-thread to tmake_file for posix threads.
9858 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
9859 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
9860 (*-*-lynxos*): Likewise.
9861 (*-*-netbsd*): Likewise.
9862 (*-*-openbsd*): Likewise.
9863 Add t-openbsd-thread to tmake_file for posix threads.
9864 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
9865 (*-*-vxworks*): Set tmake_file.
9866 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9867 (alpha*-*-freebsd*): Likewise.
9868 (alpha*-*-netbsd*): Likewise.
9869 (alpha*-*-openbsd*): Likewise.
9870 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
9871 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9872 (alpha*-dec-*vms*): Likewise.
9873 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
9874 (bfin*-elf*): Add bfin/t-elf to tmake_file.
9875 (bfin*-uclinux*): Likewise.
9876 (bfin*-linux-uclibc*): Likewise.
9877 (crisv32-*-elf): Add cris/t-cris to tmake_file.
9878 (crisv32-*-none): Likewise.
9879 (cris-*-elf): Likewise.
9880 (cris-*-none): Likewise.
9881 (cris-*-linux*, crisv32-*-linux*): Likewise.
9882 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
9884 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
9886 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
9887 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
9888 (x86_64-*-elf*): Likewise.
9889 (i[34567]86-*-nto-qnx*): Likewise.
9890 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
9892 (x86_64-*-mingw*): Likewise.
9893 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
9894 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
9895 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9896 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9897 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
9899 (mipsisa64sr71k-*-elf*): Likewise.
9900 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9901 (mips-*-elf*, mipsel-*-elf*): Likewise.
9902 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9903 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9904 (mips*-*-rtems*): Likewise.
9905 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
9907 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
9908 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
9909 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
9910 (spu-*-elf*): Likewise.
9911 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
9913 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9915 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
9916 $(srcdir) to refer to $(LIB1ASMSRC).
9918 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
9919 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
9920 config/arm/lib1funcs.S: New files.
9921 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
9922 * config/arm/t-arm: New file.
9923 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
9924 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
9925 config/arm/t-strongarm-elf: New files.
9926 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
9927 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
9928 * config/avr/lib1funcs.S: New file.
9929 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9930 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
9931 * config/c6x/lib1funcs.S: New file.
9932 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9933 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
9934 * config/frv/lib1funcs.S: New file.
9935 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9936 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
9937 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
9938 * config/ia64/__divxf3.asm: Rename to ...
9939 * config/ia64/__divxf3.S: ... this.
9940 Adapt lib1funcs.asm filename.
9941 * config/ia64/_fixtfdi.asm: Rename to ...
9942 * config/ia64/_fixtfdi.S: ... this.
9943 Adapt lib1funcs.asm filename.
9944 * config/ia64/_fixunstfdi.asm: Rename to ...
9945 * config/ia64/_fixunstfdi.S: ... this.
9946 Adapt lib1funcs.asm filename.
9947 * config/ia64/_floatditf.asm: Rename to ...
9948 * config/ia64/_floatditf.S: ... this.
9949 Adapt lib1funcs.asm filename.
9950 * config/ia64/lib1funcs.S: New file.
9951 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
9952 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9953 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
9954 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
9955 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
9956 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
9957 * config/mep/lib1funcs.S: New file.
9958 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9959 * config/mips/mips16.S: New file.
9960 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9961 * config/pa/milli64.S: New file.
9962 * config/pa/t-linux, config/pa/t-linux64: New files.
9963 * config/picochip/lib1funcs.S: New file.
9964 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9965 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
9966 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
9967 * config/sh/t-netbsd: New file.
9968 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
9969 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
9970 * config/sh/t-sh64: New file.
9971 * config/sparc/lb1spc.S: New file.
9972 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
9974 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
9975 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
9976 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
9977 config/xtensa/lib1funcs.S: New files.
9978 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9979 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
9981 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
9982 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
9983 (arm*-*-linux*): Likewise.
9984 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
9985 arm*-*-linux-*eabi, add arm/t-linux otherwise.
9986 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
9987 (arm*-*-ecos-elf): Likewise.
9988 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9989 (arm*-*-rtems*): Likewise.
9990 (arm*-*-elf): Likewise.
9991 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
9992 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
9993 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
9994 (bfin*-uclinux*): Likewise.
9995 (bfin*-linux-uclibc*): Likewise.
9996 (bfin*-rtems*): Likewise.
9997 (bfin*-*): Likewise.
9998 (fido-*-elf): Merge into m68k-*-elf*.
9999 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
10000 (frv-*-*linux*): Add frv/t-frv to tmake_file.
10001 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
10002 (h8300-*-elf*): Likewise.
10003 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
10004 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
10005 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
10006 (i[34567]86-*-mingw*): Likewise.
10007 (x86_64-*-mingw*): Likewise.
10008 (i[34567]86-*-interix3*): Likewise.
10009 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
10010 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
10011 (m68k-*-elf*): Also handle fido-*-elf.
10012 Add m68k/t-floatlib to tmake_file.
10013 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
10014 (m68k-*-linux*): Likewise.
10015 (m68k-*-rtems*): Likewise.
10016 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
10017 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
10019 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
10020 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
10021 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
10022 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
10023 sh/t-netbsd to tmake_file.
10024 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
10025 (sh-*-rtems*): Add sh/t-sh to tmake_file.
10026 (sh-wrs-vxworks): Likewise.
10027 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
10029 (v850*-*-*): Add v850/t-v850 to tmake_file.
10030 (vax-*-linux*): Add vax/t-linux to tmake_file.
10031 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
10033 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10035 * crtstuff.c: New file.
10036 * Makefile.in (CRTSTUFF_CFLAGS): Define.
10037 (CRTSTUFF_T_CFLAGS): Define.
10038 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
10039 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
10040 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
10043 (crtbeginT.o): Use $(objext).
10044 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
10045 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
10046 (gcc-extra-parts): Remove.
10047 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
10049 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10050 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
10051 Add t-crtstuff-pic to tmake_file.
10052 (*-*-lynxos*): New case.
10053 Set tmake_file, extra_parts.
10054 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
10055 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
10056 *-*-netbsdelf[2-9]*.
10057 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
10058 (*-*-rtems*): Set extra_parts.
10059 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
10060 (*-*-uclinux*): New case.
10062 (*-*-vms*): New case.
10063 Set tmake_file, extra_parts.
10064 (*-*-elf): Set extra_parts.
10065 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
10066 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
10069 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
10071 (arm*-*-freebsd*): Add t-crtin to tmake_file.
10072 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
10073 (arm-wrs-vxworks): Append to tmake_file.
10075 (arm*-*-uclinux*): Set extra_parts.
10076 (arm*-*-ecos-elf): Likewise.
10077 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
10079 (arm*-*-rtems*): Set extra_parts.
10080 (arm*-*-elf): Likewise.
10081 (avr-*-rtems*): Clear extra_parts.
10082 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
10084 (bfin*-uclinux*): Likewise.
10085 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
10086 (bfin*-rtems*): Append to tmake_file.
10088 (bfin*-*): Likewise.
10089 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
10090 (crisv32-*-elf): ... this.
10091 (crisv32-*-none): ... this.
10092 (cris-*-elf, cris-*-none): New cases.
10093 Add cris/t-elfmulti to tmake_file.
10094 (fr30-*-elf): Append to tmake_file.
10096 (frv-*-elf): Append to tmake_file, add frv/t-frv.
10098 (h8300-*-rtems*): Append to tmake_file.
10100 (h8300-*-elf*): Likewise.
10101 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
10103 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
10105 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
10106 (x86_64-*-elf*): Likewise.
10107 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
10108 (x86_64-*-freebsd*): Likewise.
10109 (x86_64-*-netbsd*): Likewise.
10110 (i[34567]86-*-linux*): Likewise.
10111 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10112 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10113 (x86_64-*-linux*): Likewise.
10114 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10115 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
10118 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
10119 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
10120 Append to extra_parts, remove crtbegin.o, crtend.o.
10121 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
10122 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
10123 crtend.o, crtbeginS.o, crtendS.o.
10124 (ia64*-*-linux*): Comment extra_parts.
10125 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
10127 (iq2000*-*-elf*): Clear extra_parts.
10128 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
10129 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
10130 (m32r-*-elf*, m32r-*-rtems*): Split off ...
10131 (m32r-*-rtems*): ... this.
10132 Add m32r/t-m32r to tmake_file.
10133 (m68k-*-elf*): Add t-crtin to tmake_file.
10134 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
10135 (mcore-*-elf): Likewise.
10136 (microblaze*-*-*): Set extra_parts.
10137 (mips*-sde-elf*): New case.
10138 Set tmake_file, extra_parts.
10139 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10140 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10141 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
10144 (mipsisa64sr71k-*-elf*): Likewise.
10145 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10146 (mips-*-elf*, mipsel-*-elf*): Likewise.
10147 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10148 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
10149 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10150 (mips*-*-rtems*): Likewise.
10151 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
10152 (moxie-*-*): Split into ...
10153 (moxie-*-elf, moxie-*-uclinux*): ... this.
10154 Add to extra_parts, remove crtbegin.o, crtend.o.
10155 (moxie-*-rtems*): New case.
10158 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
10160 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10161 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
10164 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
10165 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
10167 (powerpc-*-eabisim*): Likewise.
10168 (powerpc-*-elf*): Likewise.
10169 (powerpc-*-eabialtivec*): Likewise.
10170 (powerpc-xilinx-eabi*): Likewise.
10171 (powerpc-*-eabi*): Likewise.
10172 (powerpc-*-rtems*): Likewise.
10173 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
10176 (powerpc-*-lynxos*): Add to tmake_file.
10177 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
10178 rs6000/t-crtstuff, t-crtstuff-pic.
10180 (powerpcle-*-eabisim*): Likewise.
10181 (powerpcle-*-eabi*): Likewise.
10182 (rx-*-elf): Remove extra_parts.
10183 (s390x-ibm-tpf*): Set extra_parts.
10184 (score-*-elf): Set extra_parts.
10185 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10186 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10187 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10188 (sh64l*-*-netbsd*): Split into ...
10189 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
10190 Add t-crtstuff-pic to tmake_file.
10192 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
10194 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
10195 (sparc-*-elf*): Remove t-crtin from tmake_file.
10196 Add to extra_parts, remove crtbegin.o, crtend.o.
10197 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
10198 (sparc64-*-linux*): Likewise.
10199 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
10200 Add to extra_parts, remove crtbegin.o, crtend.o.
10201 (sparc64-*-elf*): Remove t-crtin from tmake_file.
10202 Add to extra_parts, remove crtbegin.o, crtend.o.
10203 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
10204 Add to extra_parts, remove crtbegin.o, crtend.o.
10205 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
10206 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
10207 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
10209 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
10211 (tic6x-*-*): Change to ...
10212 (tic6x-*-elf): ... this.
10214 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
10216 (am33_2.0-*-linux*): Add comment.
10217 (mep*-*-*): Add mep/t-mep to tmake_file.
10219 * config/alpha/t-vms: New file.
10220 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
10221 * config/arm/crti.S, config/arm/crtn.S: New files.
10222 * config/bfin/crti.S, config/bfin/crtn.S: New files.
10223 * config/bfin/crtlibid.S: New file.
10224 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
10225 * config/c6x/crti.S, config/c6x/crtn.S: New files.
10226 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
10227 (crti.o, crtin.o): New rules.
10228 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10229 * config/c6x/t-uclinux: New file.
10230 * config/cris/t-elfmulti: New file.
10231 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
10232 * config/fr30/crti.S, config/fr30/crtn.S: New files.
10233 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
10234 * config/frv/t-frv: New file.
10235 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
10236 * config/h8300/crti.S, config/h8300/crtn.S: New files.
10237 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
10239 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
10240 refer to cygming-crtbegin.c, cygming-crtend.c.
10242 * config/i386/t-nto: New file.
10243 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
10244 * config/ia64/crti.S, config/ia64/crtn.S: New files.
10245 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
10246 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
10249 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10250 (crtinitS.o): New rule.
10251 * config/ia64/vms-crtinit.S: New file.
10252 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
10253 * config/m32r/initfini.c: New file.
10254 * config/m32r/t-linux, config/m32r/t-m32r: New files.
10255 * config/m68k/crti.S, config/m68k/crtn.S: New files.
10256 * config/mcore/crti.S, config/mcore/crtn.S: New files.
10257 * config/mep/t-mep: New file.
10258 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
10259 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
10260 * config/mips/crti.S, config/mips/crtn.S: New files.
10261 * config/mips/t-crtstuff: New file.
10262 * config/mmix/crti.S, config/mmix/crtn.S: New files.
10263 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
10264 (CUSTOM_CRTIN): Set.
10265 ($(T)crti.o, $(T)crtn.o): Remove $(T),
10267 Use $(srcdir) to refer to crti.S, crtn.S.
10268 Use .S extension, $<.
10269 * config/moxie/crti.asm: Rename to ...
10270 * config/moxie/crti.S: ... this.
10271 * config/moxie/crtn.asm: Rename to ...
10272 * config/moxie/crtn.S: ... this.
10273 * config/moxie/t-moxie: Remove.
10274 * config/pa/stublib.c: New file.
10275 * config/pa/t-stublib, config/pa/t-stublib64: New files.
10276 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
10277 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
10278 * config/rs6000/t-crtstuff: New file.
10279 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
10280 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
10281 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
10282 Make output file explicit.
10283 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
10284 Make output file explicit.
10285 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
10286 Make output file explicit.
10287 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
10288 Make output file explicit.
10289 * config/score/crti.S, config/score/crtn.S: New files.
10290 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
10291 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
10293 * config/sh/t-sh, config/sh/t-superh: New files.
10294 * config/sparc/t-linux64: New file.
10295 * config/spu/cache.S, config/spu/cachemgr.c: New files.
10296 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
10297 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
10298 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
10299 * config/t-crtin: Remove.
10300 * config/t-crtstuff-pic: New file.
10301 * config/t-sol2 (CUSTOM_CRTIN): Set.
10302 (crti.o, crtn.o): New rules.
10303 * config/vms/t-vms: New file.
10304 * config/vms/vms-ucrt0.c: New file.
10305 * config/xtensa/t-elf: New file.
10307 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10309 * Makefile.in (SHLIB_NM_FLAGS): Set.
10310 * mkmap-flat.awk, mkmap-symver.awk: New files.
10311 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
10313 * configure: Regenerate.
10314 * config/libgcc-glibc.ver: New file.
10315 * config/libgcc-libsystem.ver: New file.
10316 * config/t-libunwind (SHLIB_LC): Set.
10317 * config/t-linux: New file.
10318 * config/t-slibgcc (INSTALL_SHLIB): New.
10319 (SHLIB_INSTALL): Use it.
10320 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
10321 to mkmap-symver.awk.
10322 (SHLIB_MAPFILES): Don't append, adapt pathname.
10323 (SHLIB_VERPFX): Set.
10324 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
10325 to mkmap-symver.awk.
10326 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
10327 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
10328 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
10329 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
10331 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
10332 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
10333 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
10334 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
10335 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
10336 * config/i386/libgcc-darwin.10.4.ver,
10337 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
10339 * config/i386/t-darwin: Remove.
10340 * config/i386/t-darwin64: Likewise.
10341 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
10342 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
10343 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
10344 * config/i386/t-linux: New file.
10345 * config/i386/t-mingw32: New file.
10346 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
10347 * config/ia64/t-glibc: Rename to ...
10348 * config/ia64/t-linux: ... this.
10349 (SHLIB_MAPFILES): Set.
10350 * config/ia64/t-glibc-libunwind: Rename to ...
10351 * config/ia64/t-linux-libunwind: ... this.
10352 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
10353 * config/ia64/t-slibgcc-hpux: New file.
10354 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
10355 * config/m68k/t-slibgcc-elf-ver: New file.
10356 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
10357 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
10359 * config/pa/t-slibgcc-hpux: New file.
10360 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
10362 * config/rs6000/libgcc-darwin.10.4.ver,
10363 config/rs6000/libgcc-darwin.10.5.ver: New files.
10364 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
10365 config/rs6000/libgcc-glibc.ver.
10366 * config/rs6000/libgcc-ppc64.ver: Rename to
10367 config/rs6000/libgcc-ibm-ldouble.ver.
10368 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
10369 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
10370 * config/rs6000/t-ldbl128: Rename to ...
10371 * config/rs6000/t-linux: ... this.
10372 (SHLIB_MAPFILES): Adapt filename.
10373 * config/rs6000/t-slibgcc-aix: New file.
10374 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
10375 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
10376 libgcc-excl.ver, libgcc-glibc.ver.
10377 (SHLIB_LINK, SHLIB_INSTALL): Remove.
10378 * config/sparc/libgcc-glibc.ver: New file.
10379 * config/sparc/t-linux: New file.
10380 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
10381 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
10382 t-slibgcc-elf-ver to tmake_file.
10383 Add t-slibgcc-nolc-override to tmake_file for posix threads on
10385 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10386 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
10387 t-slibgcc-elf-ver, t-linux to tmake_file.
10388 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
10390 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
10391 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
10392 (alpha*-dec-*vms*): Likewise.
10393 (arm*-*-freebsd*): Append to tmake_file.
10394 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
10395 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
10396 arm*-*-linux-*eabi.
10397 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
10398 tmake_file for arm*-*-symbianelf*.
10399 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
10400 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
10402 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
10403 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
10404 pa/t-slibgcc-dwarf-ver to tmake_file.
10405 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
10406 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
10407 (hppa*64*-*-hpux11*): Likewise.
10408 (hppa[12]*-*-hpux11*): Likewise.
10409 (x86_64-*-darwin*): Don't override tmake_file, but only keep
10410 i386/t-crtpc, i386/t-crtfm.
10411 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
10412 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10414 Add i386/t-cygwin to tmake_file.
10415 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
10416 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
10417 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10419 Add i386/t-mingw32 to tmake_file.
10420 (x86_64-*-mingw*): Likewise.
10421 (ia64*-*-freebsd*): Append to tmake_file.
10422 (ia64*-*-linux*): Append to tmake_file.
10423 Replace ia64/t-glibc by ia64/t-linux.
10424 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
10426 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
10427 t-slibgcc-hpux to tmake_file.
10428 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
10429 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
10430 (m32rle-*-linux*): Likewise.
10431 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
10433 (microblaze*-linux*): New case.
10434 Append to tmake_file, add t-slibgcc-nolc-override.
10435 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
10436 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10437 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
10438 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10439 rs6000/t-slibgcc-aix to tmake_file.
10440 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10441 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10442 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10443 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10444 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10445 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
10447 (sparc-*-linux*): Append to tmake_file for *-leon*.
10448 Add sparc/t-linux to tmake_file for non-Leon targets.
10449 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
10450 (tic6x-*-uclinux): New case.
10451 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
10452 (tic6x-*-*): Add c6x/t-elf to tmake_file.
10453 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
10454 (am33_2.0-*-linux*): Append to tmake_file.
10455 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
10456 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
10457 x86_64-*-kfreebsd*-gnu.
10458 Add i386/t-linux to tmake_file.
10460 2011-10-28 Ian Lance Taylor <iant@google.com>
10462 * config/i386/morestack.S: Correct CFI information to do proper
10463 returns throughout function. In 32-bit mode, save %ebx so that it
10464 is restored on unwind.
10466 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
10468 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
10469 case where B3 isn't the return register.
10471 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
10472 logic for doubleword pops.
10474 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
10476 * config/rs6000/t-freebsd: Add wildcard.
10478 2011-10-21 Paul Brook <paul@codesourcery.com>
10480 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
10482 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
10483 Eric Botcazou <ebotcazou@adacore.com>
10486 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
10487 fs->signal_frame to 1.
10489 2011-10-07 Ian Lance Taylor <iant@google.com>
10491 * generic-morestack-thread.c: #include <errno.h>.
10493 2011-10-07 Ian Lance Taylor <iant@google.com>
10496 * generic-morestack.c (__generic_morestack): Make sure the segment
10497 is large enough for both the stack frame and the copied
10500 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10503 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
10506 2011-09-28 Nick Clifton <nickc@redhat.com>
10508 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
10509 64-bit doubles are not enabled.
10510 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
10511 and floatunsisf functions.
10513 2011-09-13 Paul Brook <paul@codesourcery.com>
10515 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
10516 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
10517 * unwind-arm-common.inc: New file.
10518 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
10519 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
10520 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
10521 * config/c6x/libunwind.S: New file.
10522 * config/c6x/pr-support.c: New file.
10523 * config/c6x/unwind-c6x.c: New file.
10524 * config/c6x/unwind-c6x.h: New file.
10525 * config/c6x/t-c6x-elf: New file.
10527 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
10529 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
10530 (ASM_DIVZERO): Ditto.
10531 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
10533 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
10535 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
10537 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
10540 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
10541 instead of an assembly one.
10543 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
10546 * Makefile.in (install-unwind_h): Create
10547 $(gcc_objdir)/include/unwind.h atomically.
10549 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10551 * Makefile.in (install-unwind_h): Remove destination file first.
10553 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10555 * sync.c: New file.
10556 * config/mips/t-mips16: New file.
10557 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
10558 (mips*-*-linux*): Likewise.
10559 (mips*-sde-elf*): Likewise.
10560 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
10561 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
10562 Add mips/t-mips16 to tmake_file.
10563 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
10564 (mips-*-elf*): Likewise.
10565 (mips64-*-elf*): Likewise.
10566 (mips64orion-*-elf*): Likewise.
10567 (mips*-*-rtems*): Likewise.
10568 (mipstx39-*-elf*): Likewise.
10569 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
10570 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
10571 LIBGCC_SYNC_CFLAGS.
10572 Use $(srcdir) to refer to sync.c.
10574 ($(libgcc-sync-funcs-o)): Likewise.
10575 ($(libgcc-sync-size-funcs-s-o)): Likewise.
10576 ($(libgcc-sync-funcs-s-o)): Likewise.
10578 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
10580 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
10583 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
10586 * config/i386/value-unwind.h: New.
10588 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
10590 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
10591 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
10592 Add to tmake_file rather than overriding it.
10594 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10596 * config/t-softfp: Remove.
10597 * soft-fp: Moved from ../gcc/config.
10598 * soft-fp/README: Remove t-softfp reference.
10599 * soft-fp/t-softfp: Move to config/t-softfp.
10600 (softfp_machine_header): Remove.
10601 (softfp_file_list): Remove config subdir.
10602 (soft-fp-objects): New variable.
10603 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
10604 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
10605 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
10606 * config/t-softfp-excl: New file.
10607 * config/t-softfp-sfdf: New file.
10608 * config/t-softfp-tf: New file.
10609 * config/no-sfp-machine.h: New file.
10610 * config/arm/sfp-machine.h: New file.
10611 * config/arm/t-softfp: New file.
10612 * config/c6x/sfp-machine.h: New file.
10613 * config/i386/32/t-fprules-softfp: Rename to ...
10614 * config/i386/32/t-softfp: ... this.
10615 (tifunctions, LIB2ADD): Remove.
10616 (softfp_int_modes): Override.
10617 * config/i386/64/t-softfp-compat (tf-functions): Remove config
10619 * config/i386/64/eqtf2.c: Likewise.
10620 * config/i386/64/getf2.c: Likewise.
10621 * config/i386/64/letf2.c: Likewise.
10622 * config/ia64/sft-machine.h: New file.
10623 * config/ia64/t-fprules-softfp: Rename to ...
10624 * config/ia64/t-softfp: ... this.
10625 * config/lm32/sfp-machine.h: New file.
10626 * config/moxie/t-moxie-softfp: Remove.
10627 * config/rs6000/ibm-ldouble-format: New file.
10628 * config/rs6000/ibm-ldouble.c: New file.
10629 * config/rs6000/libgcc-ppc-glibc.ver: New file
10630 * config/rs6000/libgcc-ppc64.ver: New file
10631 * config/rs6000/sfp-machine.h: New file.
10632 * config/rs6000/t-freebsd: New file.
10633 * config/rs6000/t-ibm-ldouble: New file.
10634 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
10635 libgcc-ppc-glibc.ver.
10636 * config/rs6000/t-linux64: New file.
10637 * config/rs6000/t-ppccomm (LIB2ADD): Add
10638 $(srcdir)/config/rs6000/ibm-ldouble.c.
10639 * config/rs6000/t-ppccomm-ldbl: New file.
10640 * config/score/sfp-machine.h: New file.
10641 * config.host (sfp_machine_header): Explain.
10642 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
10643 t-softfp to tmake_file.
10644 (arm*-*-uclinux*): Likewise.
10645 (arm*-*-ecos-elf): Likewise.
10646 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10647 (arm*-*-rtems*): Likewise.
10648 (arm*-*-elf): Likewise.
10649 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
10651 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
10652 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
10653 (lm32-*-uclinux*): Likewise.
10654 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
10655 t-softfp-excl, t-softfp.
10656 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
10657 (powerpc64-*-darwin*): Likewise.
10658 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
10660 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
10662 (powerpc-*-eabisim*): Likewise.
10663 (powerpc-*-elf*): Likewise.
10664 (powerpc-*-eabialtivec*): Likewise.
10665 (powerpc-xilinx-eabi*): Likewise.
10666 (powerpc-*-rtems*): Likewise.
10667 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
10668 t-softfp-excl, t-softfp to tmake_file.
10669 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
10670 rs6000/t-ppccomm-ldbl to tmake_file.
10671 (powerpcle-*-elf*): Likewise.
10672 (powerpcle-*-eabisim*): Likewise.
10673 (powerpcle-*-eabi*): Likewise.
10674 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10675 rs6000/t-ibm-ldouble to tmake_file.
10676 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10677 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10678 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
10679 (tic6x-*-*): Likewise.
10680 (i[34567]86-*-darwin*, x86_64-*-darwin*,
10681 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
10682 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
10683 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
10684 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
10685 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
10686 t-softfp to tmake_file.
10687 * configure.ac (sfp_machine_header): Provide default if unset.
10689 Link sfp-machine.h to config/$sfp_machine_header.
10690 * configure: Regenerate.
10692 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10694 * Makefile.in (double_type_size, long_double_type_size): Set.
10695 Remove $(fpbit-in-libgcc) support.
10696 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
10697 (fpbit-src): New variable.
10698 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
10699 Compile with -DFLOAT $(FPBIT_CFLAGS).
10701 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
10702 Compile with $(FPBIT_CFLAGS).
10704 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
10705 Compile with -DFLOAT $(TPBIT_CFLAGS).
10707 * configure.ac (double_type_size, long_double_type_size):
10708 Determine and substitute.
10709 * configure: Regenerate.
10710 * fp-bit.c, fp-bit.h: New files.
10711 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
10712 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
10713 * config/mips/t-mips: New file.
10714 * config/mips/t-sdemtk: New file.
10715 * config/rs6000/ppc64-fp.c: New file.
10716 * config/rs6000/t-darwin (LIB2ADD): Add
10717 $(srcdir)/config/rs6000/ppc64-fp.c.
10718 * config/rs6000/t-ppc64-fp: New file.
10719 * config/rx/rx-lib.h: New file.
10720 * config/rx/t-rx (FPBIT): Set to true.
10721 ($(gcc_objdir)/fp-bit.c): Remove.
10722 (DPBIT): Set to true only with -m64bit-doubles.
10723 ($(gcc_objdir)/dp-bit.c): Remove.
10724 * config/sparc/t-softfp: Remove.
10725 * config/spu/t-elf: New file.
10726 * config/t-fdpbit, config/t-fpbit: New files.
10727 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
10728 (mips*-*-*): Likewise.
10729 (arm-wrs-vxworks): Likewise.
10730 (arm*-*-freebsd*): Likewise.
10731 (avr-*-rtems*): Add t-fpbit to tmake_file.
10732 (avr-*-*): Likewise.
10733 (bfin*-elf*): Add t-fdpbit to tmake_file.
10734 (bfin*-uclinux*): Likewise.
10735 (bfin*-linux-uclibc*): Likewise.
10736 (bfin*-rtems*): New case.
10737 Add t-fdpbit to tmake_file.
10738 (bfin*-*): Add t-fdpbit to tmake_file.
10739 (crisv32-*-elf): Likewise.
10740 (cris-*-linux*): Likewise.
10741 (fr30-*-elf): Likewise.
10742 (frv-*-elf, frv-*-*linux*): Likewise.
10743 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
10744 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
10745 (m32r-*-elf*): Likewise.
10746 (m32rle-*-elf*): Likewise.
10747 (m32r-*-linux*): Likewise.
10748 (m32rle-*-linux*): Likewise.
10749 (mcore-*-elf): Add t-fdpbit to tmake_file.
10750 (microblaze*-*-*): Likewise.
10751 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
10752 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
10753 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
10755 Add mips/t-tpbit to tmake-file.
10756 (mips*-*-linux*): Fix typo.
10757 (mips*-sde-elf*): New case
10758 Add mips/t-sdemtk unless using newlib.
10759 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
10760 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
10761 (mn10300-*-*): Likewise.
10762 (pdp11-*-*): Likewise.
10763 (picochip-*-*): Add t-fpbit to tmake_file.
10764 (powerpc-*-eabisimaltivec*): Likewise.
10765 (powerpc-*-eabisim*): Likewise.
10766 (powerpc-*-elf*): Likewise.
10767 (powerpc-*-eabialtivec*): Likewise.
10768 (powerpc-xilinx-eabi*): New case.
10769 Add t-fdpbit to tmake_file.
10770 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
10771 (powerpc-*-rtems*): Likewise.
10772 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
10774 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
10776 (powerpc-*-lynxos*): Likewise.
10777 (powerpcle-*-elf*): Likewise.
10778 (powerpcle-*-eabisim*): Likewise.
10779 (powerpcle-*-eabi*): Likewise.
10780 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10781 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
10782 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10783 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10784 (rx-*-elf): Add t-fdpbit to tmake_file.
10785 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10786 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10787 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10788 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
10790 (sh-*-rtems*): Add t-fdpbit to tmake_file.
10791 (sh-wrs-vxworks): Likewise.
10792 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
10793 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
10794 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
10795 (sparc64-*-rtems*): ... new case.
10796 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
10797 (spu-*-elf*): Likewise.
10798 Add spu/t-elf to tmake_file.
10799 (v850*-*-*): Add t-fdpbit to tmake_file.
10800 (xstormy16-*-elf): Likewise.
10801 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
10802 (mep*-*-*): Likewise.
10804 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10806 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
10808 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
10809 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
10810 (install-unwind_h): New target.
10811 (all): Depend on it.
10812 * config.host (unwind_header): New variable.
10813 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
10814 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10815 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
10816 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
10817 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
10819 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
10821 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
10823 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
10825 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
10826 (ia64*-*-freebsd*): Likewise.
10827 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
10829 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
10830 $with_system_libunwind.
10831 (ia64*-*-hpux*): Set tmake_file.
10832 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
10833 (picochip-*-*): Set tmake_file.
10834 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
10836 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10837 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10838 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
10839 (xtensa*-*-elf*): Set tmake_file.
10840 (xtensa*-*-linux*): Likewise.
10841 * configure.ac: Include ../config/unwind_ipinfo.m4.
10842 Call GCC_CHECK_UNWIND_GETIPINFO.
10843 Link unwind.h to $unwind_header.
10844 * configure: Regenerate.
10845 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
10846 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
10847 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
10848 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
10849 * config/unwind-dw2-fde-darwin.c: New file.
10850 * config/arm/libunwind.S, config/arm/pr-support.c,
10851 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
10852 config/arm/unwind-arm.h,: New files.
10853 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
10854 config/ia64/t-eh-ia64, config/ia64/t-glibc,
10855 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
10856 config/ia64/t-vms, config/ia64/unwind-ia64.c,
10857 config/ia64/unwind-ia64.h: New files.
10858 * config/picochip/t-picochip: New file.
10859 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
10861 * config/rs6000/t-darwin (LIB2ADDEH): Set.
10862 * config/s390/t-tpf (LIB2ADDEH): Remove.
10863 * config/t-darwin (LIB2ADDEH): Set.
10864 * config/t-eh-dw2-dip: New file.
10865 * config/t-libunwind, config/t-libunwind-elf: New files.
10866 * config/t-sol2 (LIB2ADDEH): Remove.
10867 * config/xtensa/t-xtensa: New file.
10869 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
10871 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
10872 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
10873 long long to check rt_sigreturn syscall.
10875 2011-08-02 Alan Modra <amodra@gmail.com>
10877 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10878 Restore for indirect call bcrtl from correct stack slot, and only
10879 if cfa+40 isn't valid.
10881 2011-08-01 Julian Brown <julian@codesourcery.com>
10883 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
10884 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
10885 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
10887 2011-08-01 Julian Brown <julian@codesourcery.com>
10889 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
10890 (libgcc-std.ver.in): Use above.
10891 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
10892 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
10894 * config/t-fixedpoint-gnu-prefix: New file.
10895 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
10896 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
10897 instead of __PFX__.
10899 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
10901 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
10902 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
10903 for x86-64. Properly check __x86_64__ and __LP64__.
10905 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
10907 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
10909 (_FP_WS_TYPE): Likewise.
10910 (_FP_I_TYPE): Likewise.
10912 2011-07-28 Alan Modra <amodra@gmail.com>
10914 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10915 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
10916 in a plt call stub. Do restore r2 if stopped on bctrl.
10918 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10920 * config.host (i[3456x]86-*-netware*): Remove.
10921 * config/i386/netware-crt0.c, config/i386/t-nwld,
10922 config/i386/t-slibgcc-nwld: Remove.
10924 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
10926 * config.host: Handle tic6x-*-*.
10927 * config/c6x/c6x-abi.h: New file.
10929 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10931 * config/i386/crtprec.c: New file.
10932 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
10933 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
10934 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
10935 (x86_64-*-darwin*): Likewise.
10936 (i[34567]86-*-solaris2*: Likewise.
10938 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10940 * config/alpha/crtfastmath.c: New file.
10941 * config/i386/crtfastmath.c: New file.
10942 * config/ia64/crtfastmath.c: New file.
10943 * config/mips/crtfastmath.c: New file.
10944 * config/sparc/crtfastmath.c: New file.
10946 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
10948 Add -frandom-seed=gcc-crtfastmath.
10949 * config/alpha/t-crtfm: Remove.
10950 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
10951 * config/ia64/t-ia64 (crtfastmath.o): Remove.
10953 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
10954 (alpha*-dec-osf5.1*): Likewise.
10955 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
10956 Add crtfastmath.o to extra_parts.
10957 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
10958 Add crtfastmath.o to extra_parts.
10959 (x86_64-*-darwin*): Likewise.
10960 (x86_64-*-mingw*): Likewise.
10961 (ia64*-*-elf*): Add t-crtfm to tmake_file.
10962 (ia64*-*-freebsd*): Likewise.
10963 (ia64*-*-linux*): Likewise.
10964 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
10965 Add crtfastmath.o to extra_parts.
10967 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10969 * config/darwin-crt3.o: New file.
10970 * config/rs6000/darwin-crt2.c: New file.
10971 * config/t-darwin: New file.
10972 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
10973 (crt2.o): New rule.
10974 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
10975 (powerpc-*-darwin*): Add crt2.o to extra_parts.
10976 (powerpc64-*-darwin*): Likewise.
10978 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10980 * config/i386/netware-crt0.c: New file.
10981 * config/i386/t-nwld: Rename to ...
10982 * config/i386/t-slibgcc-nwld: ... this.
10983 * config/i386/t-nwld: New file.
10984 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
10986 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
10989 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10991 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
10993 * configure: Regenerate.
10995 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10997 * dfp-bit.c, dfp-bit.h: New files.
10998 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
11000 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
11001 ($(d64pbit-o)): Likewise.
11002 ($(d128pbit-o)): Likewise.
11003 * config/t-dfprules: New file.
11004 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
11005 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
11006 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11007 (x86_64-*-linux*): Likewise.
11008 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11009 (i[34567]86-*-cygwin*): Likewise.
11010 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
11011 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11013 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11015 * Makfile.in (LIBGCOV): New variable.
11016 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
11017 * libgcov.c: New file.
11019 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11021 * fixed-bit.c, fixed-bit.h: New files.
11022 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
11023 refer to fixed-bit.c.
11025 2011-07-07 Joseph Myers <joseph@codesourcery.com>
11027 * config.host (*local*): Remove.
11029 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11032 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
11033 like i?86-*-solaris2.1[0-9]*.
11034 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
11035 * configure.ac (i?86-*-solaris2*): Likewise.
11036 * configure: Regenerate.
11038 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
11040 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11041 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
11042 md_unwind_header by splitting out of...
11043 (i[34567]86-*-linux*): ... this.
11044 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
11045 Remove md_unwind_header by splitting out of...
11046 (x86_64-*-linux*): ... this.
11048 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
11050 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
11052 2011-06-28 Nick Clifton <nickc@redhat.com>
11054 * config.host: Recognize all V850 variants.
11056 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
11058 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
11060 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11062 * shared-object.mk (c_flags-$o): Save c_flags.
11063 ($(base)$(objext)): Use it.
11064 ($(base)_s$(objext)): Likewise.
11066 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
11068 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
11069 * libgcc-std.ver.in (GCC_4.7.0): New section.
11071 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
11075 * config/avr/t-avr: Fix line endings.
11076 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
11079 2011-06-14 Olivier Hainque <hainque@adacore.com>
11080 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11082 * config/mips/irix6-unwind.h: New file.
11083 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
11085 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
11087 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
11088 (sparc64_fallback_frame_state): Use it.
11089 (sparc64_frob_update_context): Further adjust context.
11090 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
11091 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
11092 * config/sparc/sol2-cn.S: Likewise.
11094 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11096 * enable-execute-stack-empty.c: New file.
11097 * enable-execute-stack-mprotect.c: New file.
11098 * config/i386/enable-execute-stack-mingw32.c: New file.
11099 * config.host (enable_execute_stack): New variable.
11100 Select appropriate variants.
11101 * configure.ac: Link enable-execute-stack.c to
11102 $enable_execute_stack.
11103 * configure: Regenerate.
11104 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
11105 (lib2funcs): Remove _enable_execute_stack.
11107 2011-06-09 David S. Miller <davem@davemloft.net>
11108 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11110 * config.host (sparc-*-linux*): Correct md_unwind_header
11112 (s390x-ibm-tpf*): Fix typo.
11114 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11116 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
11117 Add crtfastmath.o to extra_parts.
11118 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
11120 * config/mips/t-crtfm: Remove.
11122 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
11124 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
11126 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
11128 * config.host (sh*-*-linux*): Fix typo.
11130 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11132 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
11133 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
11134 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
11135 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
11136 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
11137 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
11138 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
11139 Wrap in !__MINGW64__.
11140 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
11141 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
11142 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
11143 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
11144 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
11145 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
11146 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
11148 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
11149 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
11150 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
11151 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
11152 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
11153 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
11154 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
11155 * config/no-unwind.h: New file.
11156 * config.host (md_unwind_header): Document.
11158 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
11159 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
11160 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
11161 hppa[12]*-*-hpux11*): Set md_unwind_header.
11162 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
11163 Set md_unwind_header.
11164 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
11165 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
11166 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
11167 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
11168 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
11169 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
11170 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
11172 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
11173 * configure: Regenerate.
11175 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11177 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
11178 Set tmake_file, extra_parts.
11179 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
11180 Remove O32 support.
11181 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
11182 Remove O32 support.
11183 * config/mips/t-irix6: New file.
11184 * config/mips/t-slibgcc-irix: New file.
11186 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11188 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
11189 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
11191 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11193 * configure.ac (target_thread_file): Determine thread model.
11194 * configure: Regenerate.
11195 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
11196 * config/alpha/t-alpha: New file.
11197 * config/alpha/t-crtfm: Use $<.
11198 * config/alpha/t-ieee: New file.
11199 * config/alpha/t-osf-pthread: New file.
11200 * config/alpha/t-slibgcc-osf: New file.
11201 * config/alpha/libgcc-osf5.ver: New file.
11203 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11205 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
11207 Add crtfastmath.o to extra_parts.
11209 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11211 * config/gmon-sol2.c: Reindent.
11213 Remove, correct casts.
11214 Use STDERR_FILENO, NULL.
11215 (BASEADDRESS): Remove.
11217 (errno, sbrk): Remove declarations.
11218 (monstartup) [hp300]: Remove.
11221 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11223 * Makefile.in (cpu_type): Define.
11224 * config.host (i[34567]86-*-rtems*): Handle it.
11225 (i[34567]86-*-solaris2*): Move body ...
11226 (*-*-solaris2*): ... here.
11227 New case, generalize.
11228 (sparc-*-elf*): Handle it.
11229 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
11230 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
11231 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
11233 (sparc*-*-solaris2*): ... this.
11235 (sparc64-*-elf*): Handle it.
11236 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
11237 Merge ../gcc/config/i386/gmon-sol2.c.
11238 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
11240 Merge ../gcc/config/i386/sol2-gc1.asm.
11241 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
11243 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
11245 * config/i386/t-crtfm (crtfastmath.o): Use $<.
11246 * config/i386/t-crtstuff: New file.
11247 * config/i386/t-softfp: New file.
11248 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
11249 $(T)crti.o, $(T)crtn.o): Remove.
11250 (gcrt1.o): New rule.
11251 (TARGET_LIBGCC2_CFLAGS): Remove.
11252 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
11253 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
11254 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
11255 * config/sparc/t-sol2: New file.
11256 * config/sparc/t-crtfm: Move to ...
11257 * config/t-crtfm: ... this.
11258 Use $(cpu_type), $<.
11259 * config/t-crtin: New file.
11260 * config/sparc/t-softfp: New file.
11261 * config/sparc/t-softmul: New file.
11262 * config/t-rtems: New file.
11263 * config/t-slibgcc: New file.
11264 * config/t-slibgcc-elf-ver: New file.
11265 * config/t-slibgcc-gld: New file.
11266 * config/t-slibgcc-sld: New file.
11267 * config/t-sol2: New file.
11268 * configure.ac: Include ../config/lib-ld.m4.
11269 Call AC_LIB_PROG_LD_GNU.
11270 Substitute cpu_type.
11271 * configure: Regenerate.
11273 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
11276 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
11277 libgcc-std.ver in the build directory.
11278 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
11279 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
11281 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
11283 * libgcc-std.ver.in: New file.
11284 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
11286 (libgcc-std.ver): New rule.
11287 * config/t-gnu-prefix: New file.
11289 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11291 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
11293 2011-05-10 Joseph Myers <joseph@codesourcery.com>
11295 * config/i386/darwin-lib.h: New file.
11297 2011-05-10 Joseph Myers <joseph@codesourcery.com>
11299 * config/arm/symbian-lib.h: New.
11301 2011-05-04 Chris Demetriou <cgd@google.com>
11303 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
11304 (__x86.get_pc_thunk.bx): ...this.
11305 (__morestack): Adjust for rename, remove undef of __i686.
11307 2011-05-03 Chris Demetriou <cgd@google.com>
11309 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
11311 2011-03-22 Joseph Myers <joseph@codesourcery.com>
11313 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
11314 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
11315 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
11316 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
11317 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
11320 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
11322 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
11323 Adjust copyright year.
11325 2011-03-07 Ian Lance Taylor <iant@google.com>
11327 * generic-morestack.c (__splitstack_find): Adjust returned stack
11328 pointer to include all registers pushed by __morestack.
11330 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
11333 * configure.ac: Call ACX_NONCANONICAL_TARGET.
11334 (toolexecdir): Calculate and AC_SUBST.
11335 (toolexeclibdir): Likewise.
11336 * Makefile.in (target_noncanonical): Import.
11337 (toolexecdir): Likewise.
11338 (toolexeclibdir): Likewise.
11339 * configure: Regenerate.
11341 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
11344 * config/arm/bpabi.h: Rename to...
11345 * config/arm/bpabi-lib.h: ...this.
11347 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11349 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
11351 * configure: Regenerate.
11353 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
11355 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
11356 __FLOAT_WORD_ORDER__.
11357 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
11360 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11363 * Makefile.in (install-strip): New phony target.
11365 2010-11-07 Ian Lance Taylor <iant@google.com>
11368 * config/i386/morestack.S (__morestack_large_model): New
11371 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
11373 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
11375 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
11377 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
11379 * config/arm/bpabi.h: New file.
11380 * config/frv/frv-abi.h: New file.
11382 2010-10-01 Ian Lance Taylor <iant@google.com>
11384 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
11385 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
11387 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
11390 * config.host: Add the missing `$'.
11392 2010-09-30 Michael Eager <eager@eagercon.com>
11394 * config.host: Add microblaze*-*-*.
11395 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
11396 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
11397 udivsi3.asm,umodsi3.asm}: New.
11399 2010-09-28 Ian Lance Taylor <iant@google.com>
11401 * configure.ac: Adjust CFI test to test assembler directly rather
11402 than checking gcc preprocessor macro.
11403 * configure: Rebuild.
11405 2010-09-27 Ian Lance Taylor <iant@google.com>
11407 * configure.ac: Test whether assembler supports CFI directives.
11408 * config.host: Only add t-stack and i386/t-stack-i386 to
11409 tmake_file if libgcc_cv_cfi is "yes".
11410 * configure: Rebuild.
11412 2010-09-27 Ian Lance Taylor <iant@google.com>
11414 * generic-morestack.h: New file.
11415 * generic-morestack.c: New file.
11416 * generic-morestack-thread.c: New file.
11417 * config/i386/morestack.S: New file.
11418 * config/t-stack: New file.
11419 * config/i386/t-stack-i386: New file.
11420 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
11421 i386/t-stack-i386 to tmake_file.
11423 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
11425 * Makefile.in (libgcc-extra-parts): Check for static archives and
11426 invoke ranlib after installing them.
11427 (gcc-extra-parts): Likewise.
11428 (install-leaf): Likewise.
11430 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
11432 * configure: Regenerated.
11434 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
11436 * configure: Regenerated.
11438 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
11439 Andrew Pinski <pinskia@gmail.com>
11442 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
11444 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
11447 * configure: Regenerated.
11449 2010-09-06 Andreas Schwab <schwab@redhat.com>
11451 * configure: Regenerate.
11453 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
11455 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
11457 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
11460 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
11461 Iain Sandoe <iains@gcc.gnu.org>
11464 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
11465 LIB2FUNCS_EXCLUDE functions.
11467 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11469 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
11471 * configure: Regenerate.
11473 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
11475 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
11476 i386/t-freebsd to tmake_file.
11477 * config/i386/t-freebsd: New file.
11478 * config/i386/libgcc-bsd.ver: New file.
11480 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
11482 * config.host (powerpc*-eabispe*): Set tmake_file.
11483 (powerpc*-eabi*): Likewise.
11484 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
11485 crtbeginS, crtendS, crtbeginT.
11487 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
11489 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
11490 to tmake_file. Add crtfastmath.o to extra_parts.
11491 * config/mips/t-crtfm: New.
11493 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
11495 * config.host (sparc64-*-rtems*): New target.
11497 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11499 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11502 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
11504 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
11506 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11508 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
11509 alpha-dec-osf5.0* support.
11511 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
11513 * config.host: Add lm32-*-rtems*.
11515 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11516 Uros Bizjak <ubizjak@gmail.com>
11519 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
11520 like other remaining 32-bit x86 OSes.
11521 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11523 * config/i386/libgcc-sol2.ver: New file.
11524 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
11526 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
11529 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
11530 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
11531 is used and substitute set_use_emutls.
11532 * configure: Regenerated.
11534 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
11536 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
11538 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11541 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
11543 ($(T)gcrt1.o): Likewise.
11544 ($(T)crt1.o): Likewise.
11545 ($(T)crti.o): Likewise.
11546 ($(T)crtn.o): Likewise.
11548 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11551 * Makefile.in (install): Use $(MAKE) string in rule, for
11554 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
11556 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
11557 * config/mmix/t-mmix: New file.
11558 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
11560 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
11563 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
11566 2010-01-04 Anthony Green <green@moxielogic.com>
11568 * config/moxie/crti.asm, config/moxie/crtn.asm,
11569 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
11570 config/moxie/t-moxie: New files.
11571 * config.host: Add t-moxie-softfp reference.
11573 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
11576 * config/t-slibgcc-darwin: Fix embedded rpaths for
11577 --enable-version-specific-runtime-libs, build extension stub
11578 libs exposing features available from current libgcc_s.
11580 2009-11-11 Jon Beniston <jon@beniston.com>
11582 * config.host: Add lm32 targets.
11583 * config/lm32: New directory.
11584 * config/lm32/libgcc_lm32.h: New file.
11585 * config/lm32/_mulsi3.c: New file.
11586 * config/lm32/_udivmodsi4.c: New file.
11587 * config/lm32/_divsi3.c: New file.
11588 * config/lm32/_modsi3.c: New file.
11589 * config/lm32/_udivsi3.c: New file.
11590 * config/lm32/_umodsi3.c: New file.
11591 * config/lm32/_lshrsi3.S: New file.
11592 * config/lm32/_ashrsi3.S: New file.
11593 * config/lm32/_ashlsi3.S: New file.
11594 * config/lm32/crti.S: New file.
11595 * config/lm32/crtn.S: New file.
11596 * config/lm32/t-lm32: New file.
11597 * config/lm32/t-elf: New file.
11598 * config/lm32/t-uclinux: New file.
11600 2009-10-26 Nick Clifton <nickc@redhat.com>
11602 * config.host: Add support for RX target.
11603 * config/rx: New directory.
11604 * config/rx/rx-abi-functions.c: New file. Supplementary
11605 functions for libgcc to support the RX ABI.
11606 * config/rx/rx-abi.h: New file. Supplementary header file for
11607 libgcc RX ABI functions.
11608 * config/rx/t-rx: New file: Makefile fragment for building
11611 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
11613 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
11614 constraint of y0 to "g".
11616 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11618 * config.host: Include the s390 makefile fragments.
11619 * config/s390/32/_fixdfdi.c: New file.
11620 * config/s390/32/_fixsfdi.c: New file.
11621 * config/s390/32/_fixtfdi.c: New file.
11622 * config/s390/32/_fixunsdfdi.c: New file.
11623 * config/s390/32/_fixunssfdi.c: New file.
11624 * config/s390/32/_fixunstfdi.c: New file.
11625 * config/s390/32/t-floattodi: New file.
11626 * config/s390/libgcc-glibc.ver: New file.
11627 * config/s390/t-crtstuff: New file.
11628 * config/s390/t-linux: New file.
11629 * config/s390/t-tpf: New file.
11631 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11633 * configure.ac (AC_PREREQ): Bump to 2.64.
11635 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
11637 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
11639 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11641 * configure: Regenerate.
11643 2009-08-09 Douglas B Rupp <rupp@gnat.com>
11645 * config.host (ia64-hp-*vms*): New target.
11646 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
11647 with ia64-hp-*vms*.
11649 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11651 * configure.ac: Add snippet for maintainer-mode.
11652 * configure: Regenerate.
11653 * Makefile.in (AUTOCONF, configure_deps): New variables.
11654 ($(srcdir)/configure)): New rule, active only with maintainer
11657 2009-06-23 DJ Delorie <dj@redhat.com>
11660 * config.host: Add mep support.
11662 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
11664 * config.host: Add i386/${host_address}/t-fprules-softfp and
11665 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
11667 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
11669 * config/i386/64/_multc3.c: Likewise.
11670 * config/i386/64/_powitf2.c: Likewise.
11671 * config/i386/64/eqtf2.c: Likewise.
11672 * config/i386/64/getf2.c: Likewise.
11673 * config/i386/64/letf2.c: Likewise.
11674 * config/i386/64/letf2.c: Likewise.
11675 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
11676 unsigned long long for x64 mingw targets.
11677 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
11678 (_FP_I_TYPE): Define as long long for x64 mingw target.
11680 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
11682 * config.host (vax-*-linux*): New.
11684 2009-05-31 Anthony Green <green@moxielogic.com>
11686 * config.host: Add moxie support.
11687 * config/moxie/t-moxie: New file.
11689 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
11691 * config.host: Add i386/${host_address}/t-fprules-softfp and
11692 t-softfp to tmake_file for i[34567]86-*-cygwin*.
11694 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
11696 * config.host: Add i386/${host_address}/t-fprules-softfp to
11697 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
11699 2009-04-09 Nick Clifton <nickc@redhat.com>
11701 * config/ia64/tf-signs.c: Change copyright header to refer to
11702 version 3 of the GNU General Public License with version 3.1
11703 of the GCC Runtime Library Exception and to point readers at
11704 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
11706 * config/i386/32/tf-signs.c: Likewise.
11707 * config/libbid/_addsub_dd.c: Likewise.
11708 * config/libbid/_addsub_sd.c: Likewise.
11709 * config/libbid/_addsub_td.c: Likewise.
11710 * config/libbid/_dd_to_df.c: Likewise.
11711 * config/libbid/_dd_to_di.c: Likewise.
11712 * config/libbid/_dd_to_sd.c: Likewise.
11713 * config/libbid/_dd_to_sf.c: Likewise.
11714 * config/libbid/_dd_to_si.c: Likewise.
11715 * config/libbid/_dd_to_td.c: Likewise.
11716 * config/libbid/_dd_to_tf.c: Likewise.
11717 * config/libbid/_dd_to_udi.c: Likewise.
11718 * config/libbid/_dd_to_usi.c: Likewise.
11719 * config/libbid/_dd_to_xf.c: Likewise.
11720 * config/libbid/_df_to_dd.c: Likewise.
11721 * config/libbid/_df_to_sd.c: Likewise.
11722 * config/libbid/_df_to_td.c: Likewise.
11723 * config/libbid/_di_to_dd.c: Likewise.
11724 * config/libbid/_di_to_sd.c: Likewise.
11725 * config/libbid/_di_to_td.c: Likewise.
11726 * config/libbid/_div_dd.c: Likewise.
11727 * config/libbid/_div_sd.c: Likewise.
11728 * config/libbid/_div_td.c: Likewise.
11729 * config/libbid/_eq_dd.c: Likewise.
11730 * config/libbid/_eq_sd.c: Likewise.
11731 * config/libbid/_eq_td.c: Likewise.
11732 * config/libbid/_ge_dd.c: Likewise.
11733 * config/libbid/_ge_sd.c: Likewise.
11734 * config/libbid/_ge_td.c: Likewise.
11735 * config/libbid/_gt_dd.c: Likewise.
11736 * config/libbid/_gt_sd.c: Likewise.
11737 * config/libbid/_gt_td.c: Likewise.
11738 * config/libbid/_isinfd128.c: Likewise.
11739 * config/libbid/_isinfd32.c: Likewise.
11740 * config/libbid/_isinfd64.c: Likewise.
11741 * config/libbid/_le_dd.c: Likewise.
11742 * config/libbid/_le_sd.c: Likewise.
11743 * config/libbid/_le_td.c: Likewise.
11744 * config/libbid/_lt_dd.c: Likewise.
11745 * config/libbid/_lt_sd.c: Likewise.
11746 * config/libbid/_lt_td.c: Likewise.
11747 * config/libbid/_mul_dd.c: Likewise.
11748 * config/libbid/_mul_sd.c: Likewise.
11749 * config/libbid/_mul_td.c: Likewise.
11750 * config/libbid/_ne_dd.c: Likewise.
11751 * config/libbid/_ne_sd.c: Likewise.
11752 * config/libbid/_ne_td.c: Likewise.
11753 * config/libbid/_sd_to_dd.c: Likewise.
11754 * config/libbid/_sd_to_df.c: Likewise.
11755 * config/libbid/_sd_to_di.c: Likewise.
11756 * config/libbid/_sd_to_sf.c: Likewise.
11757 * config/libbid/_sd_to_si.c: Likewise.
11758 * config/libbid/_sd_to_td.c: Likewise.
11759 * config/libbid/_sd_to_tf.c: Likewise.
11760 * config/libbid/_sd_to_udi.c: Likewise.
11761 * config/libbid/_sd_to_usi.c: Likewise.
11762 * config/libbid/_sd_to_xf.c: Likewise.
11763 * config/libbid/_sf_to_dd.c: Likewise.
11764 * config/libbid/_sf_to_sd.c: Likewise.
11765 * config/libbid/_sf_to_td.c: Likewise.
11766 * config/libbid/_si_to_dd.c: Likewise.
11767 * config/libbid/_si_to_sd.c: Likewise.
11768 * config/libbid/_si_to_td.c: Likewise.
11769 * config/libbid/_td_to_dd.c: Likewise.
11770 * config/libbid/_td_to_df.c: Likewise.
11771 * config/libbid/_td_to_di.c: Likewise.
11772 * config/libbid/_td_to_sd.c: Likewise.
11773 * config/libbid/_td_to_sf.c: Likewise.
11774 * config/libbid/_td_to_si.c: Likewise.
11775 * config/libbid/_td_to_tf.c: Likewise.
11776 * config/libbid/_td_to_udi.c: Likewise.
11777 * config/libbid/_td_to_usi.c: Likewise.
11778 * config/libbid/_td_to_xf.c: Likewise.
11779 * config/libbid/_tf_to_dd.c: Likewise.
11780 * config/libbid/_tf_to_sd.c: Likewise.
11781 * config/libbid/_tf_to_td.c: Likewise.
11782 * config/libbid/_udi_to_dd.c: Likewise.
11783 * config/libbid/_udi_to_sd.c: Likewise.
11784 * config/libbid/_udi_to_td.c: Likewise.
11785 * config/libbid/_unord_dd.c: Likewise.
11786 * config/libbid/_unord_sd.c: Likewise.
11787 * config/libbid/_unord_td.c: Likewise.
11788 * config/libbid/_usi_to_dd.c: Likewise.
11789 * config/libbid/_usi_to_sd.c: Likewise.
11790 * config/libbid/_usi_to_td.c: Likewise.
11791 * config/libbid/_xf_to_dd.c: Likewise.
11792 * config/libbid/_xf_to_sd.c: Likewise.
11793 * config/libbid/_xf_to_td.c: Likewise.
11794 * config/libbid/bid128.c: Likewise.
11795 * config/libbid/bid128_2_str.h: Likewise.
11796 * config/libbid/bid128_2_str_macros.h: Likewise.
11797 * config/libbid/bid128_2_str_tables.c: Likewise.
11798 * config/libbid/bid128_add.c: Likewise.
11799 * config/libbid/bid128_compare.c: Likewise.
11800 * config/libbid/bid128_div.c: Likewise.
11801 * config/libbid/bid128_fma.c: Likewise.
11802 * config/libbid/bid128_logb.c: Likewise.
11803 * config/libbid/bid128_minmax.c: Likewise.
11804 * config/libbid/bid128_mul.c: Likewise.
11805 * config/libbid/bid128_next.c: Likewise.
11806 * config/libbid/bid128_noncomp.c: Likewise.
11807 * config/libbid/bid128_quantize.c: Likewise.
11808 * config/libbid/bid128_rem.c: Likewise.
11809 * config/libbid/bid128_round_integral.c: Likewise.
11810 * config/libbid/bid128_scalb.c: Likewise.
11811 * config/libbid/bid128_sqrt.c: Likewise.
11812 * config/libbid/bid128_string.c: Likewise.
11813 * config/libbid/bid128_to_int16.c: Likewise.
11814 * config/libbid/bid128_to_int32.c: Likewise.
11815 * config/libbid/bid128_to_int64.c: Likewise.
11816 * config/libbid/bid128_to_int8.c: Likewise.
11817 * config/libbid/bid128_to_uint16.c: Likewise.
11818 * config/libbid/bid128_to_uint32.c: Likewise.
11819 * config/libbid/bid128_to_uint64.c: Likewise.
11820 * config/libbid/bid128_to_uint8.c: Likewise.
11821 * config/libbid/bid32_to_bid128.c: Likewise.
11822 * config/libbid/bid32_to_bid64.c: Likewise.
11823 * config/libbid/bid64_add.c: Likewise.
11824 * config/libbid/bid64_compare.c: Likewise.
11825 * config/libbid/bid64_div.c: Likewise.
11826 * config/libbid/bid64_fma.c: Likewise.
11827 * config/libbid/bid64_logb.c: Likewise.
11828 * config/libbid/bid64_minmax.c: Likewise.
11829 * config/libbid/bid64_mul.c: Likewise.
11830 * config/libbid/bid64_next.c: Likewise.
11831 * config/libbid/bid64_noncomp.c: Likewise.
11832 * config/libbid/bid64_quantize.c: Likewise.
11833 * config/libbid/bid64_rem.c: Likewise.
11834 * config/libbid/bid64_round_integral.c: Likewise.
11835 * config/libbid/bid64_scalb.c: Likewise.
11836 * config/libbid/bid64_sqrt.c: Likewise.
11837 * config/libbid/bid64_string.c: Likewise.
11838 * config/libbid/bid64_to_bid128.c: Likewise.
11839 * config/libbid/bid64_to_int16.c: Likewise.
11840 * config/libbid/bid64_to_int32.c: Likewise.
11841 * config/libbid/bid64_to_int64.c: Likewise.
11842 * config/libbid/bid64_to_int8.c: Likewise.
11843 * config/libbid/bid64_to_uint16.c: Likewise.
11844 * config/libbid/bid64_to_uint32.c: Likewise.
11845 * config/libbid/bid64_to_uint64.c: Likewise.
11846 * config/libbid/bid64_to_uint8.c: Likewise.
11847 * config/libbid/bid_b2d.h: Likewise.
11848 * config/libbid/bid_binarydecimal.c: Likewise.
11849 * config/libbid/bid_conf.h: Likewise.
11850 * config/libbid/bid_convert_data.c: Likewise.
11851 * config/libbid/bid_decimal_data.c: Likewise.
11852 * config/libbid/bid_decimal_globals.c: Likewise.
11853 * config/libbid/bid_div_macros.h: Likewise.
11854 * config/libbid/bid_dpd.c: Likewise.
11855 * config/libbid/bid_flag_operations.c: Likewise.
11856 * config/libbid/bid_from_int.c: Likewise.
11857 * config/libbid/bid_functions.h: Likewise.
11858 * config/libbid/bid_gcc_intrinsics.h: Likewise.
11859 * config/libbid/bid_inline_add.h: Likewise.
11860 * config/libbid/bid_internal.h: Likewise.
11861 * config/libbid/bid_round.c: Likewise.
11862 * config/libbid/bid_sqrt_macros.h: Likewise.
11864 2009-04-09 Jakub Jelinek <jakub@redhat.com>
11866 * Makefile.in: Change copyright header to refer to version
11867 3 of the GNU General Public License and to point readers at the
11868 COPYING3 file and the FSF's license web page.
11869 * config.host: Likewise.
11871 2009-04-07 Alan Modra <amodra@bigpond.net.au>
11873 * config.host: Reorder and merge to match config.gcc change.
11875 2009-04-03 Alan Modra <amodra@bigpond.net.au>
11877 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
11879 2009-03-28 Joseph Myers <joseph@codesourcery.com>
11881 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
11882 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
11883 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
11884 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
11886 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
11888 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
11889 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11891 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
11893 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
11894 ia64/t-softfp-compat to tmake_file.
11896 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
11898 * config/ia64/__divxf3.asm: New.
11899 * config/ia64/_fixtfdi.asm: Likewise.
11900 * config/ia64/_fixunstfdi.asm: Likewise.
11901 * config/ia64/_floatditf.asm: Likewise.
11902 * config/ia64/t-fprules-softfp: Likewise.
11903 * config/ia64/t-softfp-compat: Likewise.
11904 * config/ia64/tf-signs.c: Likewise.
11906 2009-01-18 Ben Elliston <bje@au.ibm.com>
11908 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11910 2009-01-16 Ben Elliston <bje@au.ibm.com>
11912 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
11915 2009-01-13 Ben Elliston <bje@au.ibm.com>
11917 * config/t-softfp: New file.
11918 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
11919 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
11921 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
11923 * config.host: Add m32r*-*-rtems*.
11925 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
11927 * config.host: Add m32c*-*-rtems*.
11929 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11932 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
11933 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
11934 * configure: Regenerate.
11935 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
11936 tmake_file here from gcc/config.gcc.
11937 Move extra_parts here from gcc/config.gcc.
11938 * config/i386/t-sol2: Move here from gcc/config/i386.
11939 Use gcc_srcdir instead of srcdir.
11941 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
11943 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
11946 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
11948 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
11950 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
11952 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
11954 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
11957 * config.host: Add picochip-*-*.
11959 2008-08-06 Bob Wilson <bob.wilson@acm.org>
11961 * config.host: Match more processor names for Xtensa.
11963 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
11965 * config/i386/64/t-softfp-compat: Update comments.
11967 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
11969 * config/i386/64/_divtc3-compat.c: Moved to ...
11970 * config/i386/64/_divtc3.c: Here.
11972 * config/i386/64/_multc3-compat.c: Moved to ...
11973 * config/i386/64/_multc3.c: Here.
11975 * config/i386/64/_powitf2-compat.c: Moved to ...
11976 * config/i386/64/_powitf2.c: Here.
11978 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
11979 .c suffix instead of -compat.c.
11981 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
11983 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
11984 (_FP_MUL_MEAT_D): Ditto.
11985 (_FP_DIV_MEAT_S): Ditto.
11986 (_FP_DIV_MEAT_D): Ditto.
11988 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
11990 * Makefile.in: Add support for __sync_* libgcc functions.
11992 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
11994 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
11996 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11999 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
12000 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
12002 * config/i386/64/t-fprules-softfp: Moved to ...
12003 * config/i386/64/t-softfp-compat: This. New.
12005 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
12007 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
12008 Initialize f with 0.0.
12010 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12013 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
12015 * config/i386/64/_divtc3-compat.c: New.
12016 * config/i386/64/_multc3-compat.c: Likewise.
12017 * config/i386/64/_powitf2-compat.c: Likewise.
12018 * config/i386/64/eqtf2.c: Likewise.
12019 * config/i386/64/getf2.c: Likewise.
12020 * config/i386/64/letf2.c: Likewise.
12021 * config/i386/64/t-fprules-softfp: Likewise.
12023 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12025 * config.host: Add i386/${host_address}/t-fprules-softfp to
12026 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
12027 i[34567]86-*-linux*, x86_64-*-linux*.
12029 * configure.ac: Set host_address to 64 or 32 for x86.
12030 * configure: Regenerated.
12032 * Makefile.in (config.status): Also depend on
12033 $(srcdir)/config.host.
12035 * config/i386/32/t-fprules-softfp: New.
12036 * config/i386/32/tf-signs.c: Likewise.
12038 * config/i386/64/sfp-machine.h: New. Moved from gcc.
12040 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12041 Uros Bizjak <ubizjak@gmail.com>
12043 * config/i386/32/sfp-machine.h: New.
12045 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
12047 * config/rs6000/t-ppccomm: Remove rules that conflict with
12048 auto-generated rules.
12050 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12052 * configure.ac: sinclude override.m4.
12053 * configure: Regenerate.
12055 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
12057 * configure: Regenerate.
12059 2008-06-10 Joseph Myers <joseph@codesourcery.com>
12061 * Makefile.in (DECNUMINC): Remove
12062 -I$(MULTIBUILDTOP)../../libdecnumber.
12065 2008-06-07 Joseph Myers <joseph@codesourcery.com>
12067 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
12068 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
12069 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
12070 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
12071 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
12072 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
12073 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
12074 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
12075 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
12076 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
12077 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
12078 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
12079 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
12080 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
12082 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
12084 * config.host (sh2[lbe]*-*-linux*): Allow target.
12086 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
12088 * config/rs6000/t-ppccomm: Add build rules for new files.
12089 (LIB2ADD_ST): New variable.
12091 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
12095 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
12096 * config/t-avr: New file. Build 16bit libgcc functions.
12098 2008-03-02 Jakub Jelinek <jakub@redhat.com>
12101 * config/t-slibgcc-darwin: Make install-leaf dependent on
12102 install-darwin-libgcc-stubs instead of install.
12104 2008-01-25 Joseph Myers <joseph@codesourcery.com>
12106 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
12107 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
12108 sh-*-rtemscoff*): Remove cases.
12110 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
12112 * Makefile.in (all): Use install-leaf rather than install.
12113 (install): Split most of the rule into...
12114 (install-leaf): ...this new one.
12116 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
12117 Paolo Bonzini <bonzini@gnu.org>
12120 * Makefile.in: Use @shlib_slibdir@ substitution to get
12121 correct install name on darwin.
12122 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
12124 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
12126 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
12127 cris-*-elf and cris-*-none.
12128 (crisv32-*-linux*): Similar, as cris-*-linux*.
12130 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
12132 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
12134 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
12136 PR regression/33926
12137 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
12138 * configure: Regenerated.
12140 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
12142 * Makefile.in (dfp-filenames): Replace decimal_globals,
12143 decimal_data, binarydecimal and convert_data with
12144 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
12145 and bid_convert_data, respectively.
12147 2007-09-17 Chao-ying Fu <fu@mips.com>
12148 Nigel Stephens <nigel@mips.com>
12150 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
12151 * Makefile.in (fixed_point): Define.
12152 Check if fixed_point is yes to build support functions.
12153 * configure.ac: Check for fixed_point support.
12154 * configure: Regenerated.
12155 * gen-fixed.sh: New file to generate lists of fixed-point labels,
12156 funcs, modes, from, to.
12158 2007-09-11 Janis Johnson <janis187@us.ibm.com
12160 * Makefile.in (dfp-filenames): Add bid128_noncomp.
12162 2007-09-10 Janis Johnson <janis187@us.ibm.com>
12164 * Makefile.in (dfp-filenames): Remove decUtility, add
12165 decDouble, decPacked, decQuad, decSingle.
12167 2007-08-27 Hans Kester <hans.kester@ellips.nl>
12169 * config.host : Add x86_64-elf target.
12171 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
12173 * configure.ac (set_have_cc_tls): Add a missing =.
12174 * configure: Regenerated.
12176 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
12178 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
12179 and x86_64-*-linux*.
12181 * config/t-tls: New file.
12183 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
12185 * configure.ac: Include ../config/enable.m4 and
12186 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
12187 supports TLS and substitute set_have_cc_tls.
12188 * configure: Regenerated.
12190 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
12192 * Makefile.in: Use libbid for DFP when BID is enabled.
12194 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
12196 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
12197 extra_parts. Add config/i386/t-cygming to tmake_file.
12198 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
12200 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
12201 Danny Smith <dannysmith@users.sourceforge.net>
12204 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
12205 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
12206 * config/i386/t-crtfm: Compile crtfastmath.o with
12207 -minline-all-stringops.
12209 2007-05-10 Richard Sandiford <richard@codesourcery.com>
12211 * config.host (sparc-wrs-vxworks): New target.
12213 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
12215 * config.host: Recognize fido.
12217 2007-04-04 Janis Johnson <janis187@us.ibm.com>
12219 * configure: Check host, not target, for decimal float support.
12221 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
12223 * config/i386/t-crtpc: New file.
12224 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
12225 (x86_64-*-linux*): Ditto.
12227 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
12229 * config.host (x86_64-*-mingw*): New target.
12231 2007-03-23 Michael Meissner <michael.meissner@amd.com>
12232 H.J. Lu <hongjiu.lu@intel.com>
12234 * Makefile.in (enable_decimal_float): New.
12236 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
12237 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
12238 (decbits-filenames): This.
12239 (decbits-objects): New.
12240 (libgcc-objects): Add $(decbits-objects).
12242 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
12243 Substitute enable_decimal_float.
12244 * configure: Regenerated.
12246 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
12248 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
12250 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
12252 * Makefile.in (install-info): New dummy target.
12254 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
12256 * config.host (bfin*-linux-uclibc*): Set extra_parts.
12258 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
12260 * Makefile.in: Add install-html and install-pdf dummy
12263 2007-02-05 Roger Sayle <roger@eyesopen.com>
12264 Daniel Jacobowitz <dan@codesourcery.com>
12266 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
12267 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
12268 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
12270 2007-01-29 Janis Johnson <janis187@us.ibm.com>
12272 * Makefile.in (dec-filenames): Add decExcept.
12274 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
12277 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
12280 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
12282 * configure.ac: Add --enable-version-specific-runtime-libs.
12283 Correct $slibdir default.
12284 * configure: Regenerated.
12286 2007-01-23 Joseph Myers <joseph@codesourcery.com>
12288 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
12290 2007-01-21 Andrew Pinski <pinskia@gmail.com>
12293 * config.host (alpha*-*-linux*): Set extra_parts.
12295 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
12297 * config/sh/t-linux: New.
12298 * config.host (sh*-*-linux*): Set tmake_file.
12300 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
12302 * Makefile.in (install): Handle multilibs.
12304 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12306 * Makefile.in: Added .PHONY entry for documentation targets.
12308 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12310 * Makefile.in: Add empty info, html, dvi, pdf targets.
12312 2007-01-04 Mike Stump <mrs@apple.com>
12314 * Makefile.in (MAKEINFO): Remove.
12317 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
12319 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
12320 * configure: Regenerate.
12321 * Makefile.in (host_subdir): Substitute it.
12322 (gcc_objdir): Use it.
12324 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12326 * config.host (ia64*-*-linux*): Set tmake_file.
12328 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12330 * Makefile.in (version): Define.
12332 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12333 Paolo Bonzini <bonzini@gnu.org>
12335 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
12336 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
12337 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
12338 config/sparc/t-crtfm, config/t-slibgcc-darwin,
12339 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
12340 shared-object.mk, siditi-object.mk, static-object.mk: New files.
12341 * configure: Generated.
12343 Copyright (C) 2007-2022 Free Software Foundation, Inc.
12345 Copying and distribution of this file, with or without modification,
12346 are permitted in any medium without royalty provided the copyright
12347 notice and this notice are preserved.