1 2019-01-01 Jakub Jelinek <jakub@redhat.com>
3 Update copyright years.
5 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
7 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
8 to ignore -Waddress-of-packed-member.
10 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
12 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
13 parameter and corresponding code.
14 (ARM_FUNC_START): Likewise in both definitions.
15 Also update footer comment about condition that need to match with
16 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
17 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
18 defined. Weakly define it in this case.
19 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
20 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
21 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
22 comment to keep condition in sync with the one in
23 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
25 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
27 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
28 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
30 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
32 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
33 and .cfi_endproc directives for VxWorks targets.
35 2018-12-05 Paul Koning <ni1d@arrl.net>
37 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
39 2018-11-27 Alan Modra <amodra@gmail.com>
41 * config/rs6000/morestack.S (__stack_split_initialize),
42 (__morestack_get_guard, __morestack_set_guard),
43 (__morestack_make_guard): Provide CFI covering these functions.
44 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
46 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
48 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
49 (sc_pt_regs_lr): Update for kernel.
50 (sc_pt_regs_tls): Update for kernel.
52 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
54 * config/csky/linux-unwind.h: Fix coding style.
56 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
58 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
59 (csky_fallback_frame_state): Modify the check of the
60 instructions to adapt to changes in the kernel
62 2018-11-09 Stafford Horne <shorne@gmail.com>
63 Richard Henderson <rth@twiddle.net>
65 * config.host: Add OpenRISC support.
68 2018-11-08 Kito Cheng <kito@andestech.com>
70 * soft-fp/adddf3.c: Update from glibc.
71 * soft-fp/addsf3.c: Likewise.
72 * soft-fp/addtf3.c: Likewise.
73 * soft-fp/divdf3.c: Likewise.
74 * soft-fp/divsf3.c: Likewise.
75 * soft-fp/divtf3.c: Likewise.
76 * soft-fp/double.h: Likewise.
77 * soft-fp/eqdf2.c: Likewise.
78 * soft-fp/eqsf2.c: Likewise.
79 * soft-fp/eqtf2.c: Likewise.
80 * soft-fp/extenddftf2.c: Likewise.
81 * soft-fp/extended.h: Likewise.
82 * soft-fp/extendhftf2.c: Likewise.
83 * soft-fp/extendsfdf2.c: Likewise.
84 * soft-fp/extendsftf2.c: Likewise.
85 * soft-fp/extendxftf2.c: Likewise.
86 * soft-fp/fixdfdi.c: Likewise.
87 * soft-fp/fixdfsi.c: Likewise.
88 * soft-fp/fixdfti.c: Likewise.
89 * soft-fp/fixhfti.c: Likewise.
90 * soft-fp/fixsfdi.c: Likewise.
91 * soft-fp/fixsfsi.c: Likewise.
92 * soft-fp/fixsfti.c: Likewise.
93 * soft-fp/fixtfdi.c: Likewise.
94 * soft-fp/fixtfsi.c: Likewise.
95 * soft-fp/fixtfti.c: Likewise.
96 * soft-fp/fixunsdfdi.c: Likewise.
97 * soft-fp/fixunsdfsi.c: Likewise.
98 * soft-fp/fixunsdfti.c: Likewise.
99 * soft-fp/fixunshfti.c: Likewise.
100 * soft-fp/fixunssfdi.c: Likewise.
101 * soft-fp/fixunssfsi.c: Likewise.
102 * soft-fp/fixunssfti.c: Likewise.
103 * soft-fp/fixunstfdi.c: Likewise.
104 * soft-fp/fixunstfsi.c: Likewise.
105 * soft-fp/fixunstfti.c: Likewise.
106 * soft-fp/floatdidf.c: Likewise.
107 * soft-fp/floatdisf.c: Likewise.
108 * soft-fp/floatditf.c: Likewise.
109 * soft-fp/floatsidf.c: Likewise.
110 * soft-fp/floatsisf.c: Likewise.
111 * soft-fp/floatsitf.c: Likewise.
112 * soft-fp/floattidf.c: Likewise.
113 * soft-fp/floattihf.c: Likewise.
114 * soft-fp/floattisf.c: Likewise.
115 * soft-fp/floattitf.c: Likewise.
116 * soft-fp/floatundidf.c: Likewise.
117 * soft-fp/floatundisf.c: Likewise.
118 * soft-fp/floatunditf.c: Likewise.
119 * soft-fp/floatunsidf.c: Likewise.
120 * soft-fp/floatunsisf.c: Likewise.
121 * soft-fp/floatunsitf.c: Likewise.
122 * soft-fp/floatuntidf.c: Likewise.
123 * soft-fp/floatuntihf.c: Likewise.
124 * soft-fp/floatuntisf.c: Likewise.
125 * soft-fp/floatuntitf.c: Likewise.
126 * soft-fp/gedf2.c: Likewise.
127 * soft-fp/gesf2.c: Likewise.
128 * soft-fp/getf2.c: Likewise.
129 * soft-fp/half.h: Likewise.
130 * soft-fp/ledf2.c: Likewise.
131 * soft-fp/lesf2.c: Likewise.
132 * soft-fp/letf2.c: Likewise.
133 * soft-fp/muldf3.c: Likewise.
134 * soft-fp/mulsf3.c: Likewise.
135 * soft-fp/multf3.c: Likewise.
136 * soft-fp/negdf2.c: Likewise.
137 * soft-fp/negsf2.c: Likewise.
138 * soft-fp/negtf2.c: Likewise.
139 * soft-fp/op-1.h: Likewise.
140 * soft-fp/op-2.h: Likewise.
141 * soft-fp/op-4.h: Likewise.
142 * soft-fp/op-8.h: Likewise.
143 * soft-fp/op-common.h: Likewise.
144 * soft-fp/quad.h: Likewise.
145 * soft-fp/single.h: Likewise.
146 * soft-fp/soft-fp.h: Likewise.
147 * soft-fp/subdf3.c: Likewise.
148 * soft-fp/subsf3.c: Likewise.
149 * soft-fp/subtf3.c: Likewise.
150 * soft-fp/truncdfsf2.c: Likewise.
151 * soft-fp/trunctfdf2.c: Likewise.
152 * soft-fp/trunctfhf2.c: Likewise.
153 * soft-fp/trunctfsf2.c: Likewise.
154 * soft-fp/trunctfxf2.c: Likewise.
155 * soft-fp/unorddf2.c: Likewise.
156 * soft-fp/unordsf2.c: Likewise.
157 * soft-fp/unordtf2.c: Likewise.
159 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
161 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
162 * config/i386/cpuinfo.h (processor_types): Add znver2.
164 2018-11-01 Paul Koning <ni1d@arrl.net>
166 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
167 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
169 2018-10-31 Joseph Myers <joseph@codesourcery.com>
172 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
173 * configure: Regenerate.
175 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
177 * config/arc/lib1funcs.S (_muldi3): New function.
178 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
180 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
182 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
184 2018-10-25 Martin Liska <mliska@suse.cz>
187 * libgcov-profiler.c: Revert.
189 2018-10-24 Martin Liska <mliska@suse.cz>
191 * libgcov-profiler.c: Start from 1 in order to distinguish
192 functions which were seen and these that were not.
194 2018-10-18 Paul Koning <ni1d@arrl.net>
196 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
198 * divmod.c: Update references to __udivmodsi4.
200 * udivhi3.c: New file.
201 * udivmodhi4.c: New file.
202 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
204 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
206 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
208 2018-10-12 Olivier Hainque <hainque@adacore.com>
210 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
211 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
213 2018-10-08 Paul Koning <ni1d@arrl.net>
215 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
217 2018-10-04 Martin Liska <mliska@suse.cz>
219 PR gcov-profile/84107
220 * libgcov-profiler.c (__gcov_indirect_call):
221 Change type to indirect_call_tuple.
222 (struct indirect_call_tuple): New struct.
223 (__gcov_indirect_call_topn_profiler): Change type.
224 (__gcov_indirect_call_profiler_v2): Use the new
226 * libgcov.h (struct indirect_call_tuple): New struct
229 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
231 * libgcc2.c (isnan): Use __builtin_isnan.
232 (isfinite): Use __builtin_isfinite.
233 (isinf): Use __builtin_isinf.
235 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
237 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
239 2018-09-21 Alexandre Oliva <oliva@adacore.com>
241 * config/vxcache.c: New file. Provide __clear_cache, based on
242 the cacheTextUpdate VxWorks service.
243 * config/t-vxworks (LIB2ADD): Add vxcache.c.
244 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
245 * config/t-vxwoks7: Likewise.
247 2018-09-21 Martin Liska <mliska@suse.cz>
249 * libgcov-driver.c (crc32_unsigned): Remove.
250 (gcov_histogram_insert): Likewise.
251 (gcov_compute_histogram): Likewise.
252 (compute_summary): Simplify rapidly.
253 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
254 (merge_summary): Rapidly simplify.
255 (dump_one_gcov): Ignore gcov_summary.
256 (gcov_do_dump): Do not handle program summary, it's not
258 * libgcov-util.c (tag_summary): Remove.
259 (read_gcda_finalize): Fix coding style.
260 (read_gcda_file): Initialize curr_object_summary.
261 (compute_summary): Remove.
262 (calculate_overlap): Remove settings of run_max.
264 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
266 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
267 ucontext_t type instead.
268 (nds32_fallback_frame_state): Remove struct _sigframe statement.
270 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
272 * config/nds32/t-nds32-glibc: New file.
274 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
276 * configure.ac (solaris_ld_v2_maps): New test.
277 * configure: Regenerate.
278 * Makefile.in (solaris_ld_v2_maps): New variable.
279 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
282 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
285 * config/arm/lib1funcs.asm (speculation_barrier): New function.
286 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
289 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
291 * config/unwind-dw2-fde-darwin.c
292 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
293 * config/darwin10-unwind-find-enc-func.c: … to here.
294 * config/t-darwin: Build Darwin10 unwinder shim crt.
295 * libgcc/config.host: Add the Darwin10 unwinder shim.
297 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
299 * config.host: Add crtbegin.o and crtend.o for
300 powerpc-wrs-vxworks target.
302 2018-08-17 Jojo <jijie_rong@c-sky.com>
303 Huibin Wang <huibin_wang@c-sky.com>
304 Sandra Loosemore <sandra@codesourcery.com>
305 Chung-Lin Tang <cltang@codesourcery.com>
309 * config.host: Add C-SKY support.
310 * config/csky/*: New.
312 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
314 * config/nds32/t-nds32-isr: Rearrange object dependency.
315 * config/nds32/initfini.c: Add dwarf2 unwinding support.
316 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
318 * config/nds32/isr-library/excp_isr.S: Ditto.
319 * config/nds32/isr-library/intr_isr.S: Ditto.
320 * config/nds32/isr-library/reset.S: Ditto.
321 * config/nds32/isr-library/restore_all.inc: Ditto.
322 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
323 * config/nds32/isr-library/restore_partial.inc: Ditto.
324 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
325 * config/nds32/isr-library/save_all.inc: Ditto.
326 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
327 * config/nds32/isr-library/save_partial.inc: Ditto.
328 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
329 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
331 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
333 * config/pa/linux-atomic.c: Update comment.
334 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
335 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
336 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
337 __ATOMIC_RELAXED for atomic loads.
338 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
339 unordered store to release lock.
340 (__sync_lock_release_8): Likewise.
341 (SYNC_LOCK_RELEASE_2): Remove define.
343 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
346 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
347 exponent goes negative. Update my email address.
348 * config/arm/ieee754-sf.S: Likewise.
350 2018-08-01 Martin Liska <mliska@suse.cz>
352 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
353 check that __gcov_indirect_call_callee is non-null.
355 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
357 * config/arm/ieee754-df.S: Fix comment for code working on
359 * config/arm/ieee754-sf.S: Likewise.
361 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
364 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
367 2018-07-05 James Clarke <jrtc27@jrtc27.com>
369 * configure: Regenerated.
371 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
373 * Makefile.in (install_leaf): Use enable_gcov instead of
376 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
378 * configure.ac: Add --disable-gcov option.
379 * configure: Regenerate.
380 * Makefile.in: Honour @enable_gcov@.
382 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
384 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
385 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
386 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
387 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
389 * config/arm/ieee754-sf.S: Likewise.
390 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
392 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
394 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
396 * config/arm/ieee754-sf.S: Likewise.
398 2018-06-20 Than McIntosh <thanm@google.com>
401 * generic-morestack.c (allocate_segment): Move calls to getenv and
402 getpagesize to __morestack_load_mmap.
403 (__morestack_load_mmap) Initialize static_pagesize and
404 use_guard_page here so as to avoid clobbering SSE regs during a
407 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
409 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
410 support modules with -mno-gnu-attribute.
411 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
413 2018-06-07 Olivier Hainque <hainque@adacore.com>
415 * config/t-vxworks (LIBGCC_INCLUDES): Add
416 -I$(MULTIBUILDTOP)../../gcc/include.
417 * config/t-vxworks7: Likewise. Reformat a bit to match
418 the t-vxworks layout.
420 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
422 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
424 2018-06-07 Martin Liska <mliska@suse.cz>
426 * libgcov-driver.c: Rename cs_all to all and assign it from
429 2018-06-07 Martin Liska <mliska@suse.cz>
432 * libgcov-driver-system.c (replace_filename_variables): Use
433 memcpy instead of mempcpy.
434 (allocate_filename_struct): Do not allocate filename, allocate
436 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
437 here and properly copy content into it.
438 * libgcov-driver.c (struct gcov_filename): Remove max_length
439 field, change prefix from size_t into char *.
440 (compute_summary): Do not calculate longest filename.
441 (gcov_do_dump): Release memory of gf.filename after each file.
442 * libgcov-util.c (compute_summary): Use new signature of
444 (calculate_overlap): Likewise.
446 2018-06-05 Martin Liska <mliska@suse.cz>
448 PR gcov-profile/47618
449 * libgcov-driver-system.c (replace_filename_variables): New
451 (gcov_exit_open_gcda_file): Use it.
453 2018-06-05 Martin Liska <mliska@suse.cz>
455 * libgcov-driver.c (gcov_compute_histogram): Remove usage
457 (compute_summary): Do it just for a single summary.
458 (merge_one_data): Likewise.
459 (merge_summary): Simplify as we read just single summary.
460 (dump_one_gcov): Pass proper argument.
461 * libgcov-util.c (compute_one_gcov): Simplify as we have just
463 (gcov_info_count_all_cold): Likewise.
464 (calculate_overlap): Likewise.
466 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
467 Monk Chiang <sh.chiang04@gmail.com>
469 * config.host (nds32*-linux*): New.
470 * config/nds32/linux-atomic.c: New file.
471 * config/nds32/linux-unwind.h: New file.
473 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
476 * config/i386/cpuinfo.c (get_amd_cpu): Return
477 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
479 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
481 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
483 2018-05-29 Martin Liska <mliska@suse.cz>
485 PR gcov-profile/85759
486 * libgcov-driver-system.c (gcov_error): Introduce usage of
487 GCOV_EXIT_AT_ERROR env. variable.
488 * libgcov-driver.c (merge_one_data): Print error that we
489 overwrite a gcov file with a different timestamp.
491 2018-05-23 Kalamatee <kalamatee@gmail.com>
493 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
496 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
497 Monk Chiang <sh.chiang04@gmail.com>
498 Jim Wilson <jimw@sifive.com>
500 * config/riscv/save-restore.S: Add support for rv32e.
502 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
504 * config/arm/libunwind.S: Update comment relating to armv5.
506 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
508 * config/arm/cmse.c (cmse_check_address_range): Replace
509 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
511 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
513 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
514 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
516 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
518 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
519 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
521 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
523 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
525 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
526 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
529 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
530 op_and_fetch to return the right result.
532 2018-04-27 Alan Modra <amodra@gmail.com>
535 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
536 -fno-asynchronous-unwind-tables.
538 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
540 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
541 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
543 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
545 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
546 when including "config/i386/shadow-stack-unwind.h".
548 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
550 * configure: Regenerated.
552 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
555 * config/rs6000/_powikf2.c: New file. Add support for the
556 __builtin_powil function when long double is IEEE 128-bit floating
558 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
560 (__powikf2): Likewise.
561 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
562 (__powikf2_hw): Likewise.
563 (__powikf2): Likewise.
564 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
565 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
566 (_powikf2-hw.c): Likewise.
568 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
571 * unwind-generic.h (_Unwind_Frames_Increment): New.
572 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
574 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
575 count with _Unwind_Frames_Increment.
576 (_Unwind_ForcedUnwind_Phase2): Likewise.
578 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
581 * config/i386/morestack.S (__stack_split_initialize): Add
584 2018-04-19 Jakub Jelinek <jakub@redhat.com>
586 * configure: Regenerated.
588 2018-04-18 David Malcolm <dmalcolm@redhat.com>
591 * configure: Regenerate.
593 2018-04-16 Jakub Jelinek <jakub@redhat.com>
596 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
597 -Wdangling-else warnings. Mask shift counts to avoid
598 -Wshift-count-negative and -Wshift-count-overflow false positives.
600 2018-04-06 Ruslan Bukin <br@bsdpad.com>
602 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
604 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
607 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
608 (XSTATE_FP): Likewise.
609 (XSTATE_SSE): Likewise.
610 (XSTATE_YMM): Likewise.
611 (XSTATE_OPMASK): Likewise.
612 (XSTATE_ZMM): Likewise.
613 (XSTATE_HI_ZMM): Likewise.
614 (XCR_AVX_ENABLED_MASK): Likewise.
615 (XCR_AVX512F_ENABLED_MASK): Likewise.
616 (get_available_features): Enable AVX and AVX512 features only
617 if their states are supported by OSXSAVE.
619 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
622 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
623 Fix a typo, tmp => 255.
625 2018-03-20 Jakub Jelinek <jakub@redhat.com>
628 * config/i386/cpuinfo.h (__cpu_features2): Declare.
629 * config/i386/cpuinfo.c (__cpu_features2): New variable for
631 (set_feature): Define.
632 (get_available_features): Use set_feature macro. Set __cpu_features2
633 to the second word of features ifndef SHARED.
635 2018-03-15 Julia Koval <julia.koval@intel.com>
637 * config/i386/cpuinfo.c (get_available_features): Add
638 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
639 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
640 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
641 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
642 FEATURE_AVX512BITALG.
644 2018-03-14 Julia Koval <julia.koval@intel.com>
646 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
647 icelake client and icelake server.
649 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
651 * config/pa/fptr.c (_dl_read_access_allowed): New.
652 (__canonicalize_funcptr_for_compare): Use it.
654 2018-02-28 Jakub Jelinek <jakub@redhat.com>
657 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
658 $asm_hidden_op if visibility ("hidden") attribute works.
659 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
660 * config/i386/i386-asm.h: Don't include auto-host.h.
661 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
662 PACKAGE_URL): Don't undefine.
663 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
664 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
665 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
666 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
667 definition instead of hardcoded .hidden.
668 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
669 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
670 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
671 (USE_GAS_CFI_DIRECTIVES): Don't define.
672 * configure: Regenerated.
673 * config.in: Likewise.
675 2018-02-26 Jakub Jelinek <jakub@redhat.com>
678 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
679 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
680 inclusion of auto-target.h and auto-host.h.
681 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
682 __GCC_HAVE_DWARF2_CFI_ASM.
683 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
684 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
686 * config/i386/cygwin.S: Don't include auto-host.h here, just
687 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
688 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
689 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
690 * config/i386/resms64fx.h: Add cfi_* directives.
691 * config/i386/resms64x.h: Likewise.
693 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
695 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
696 .literal_position directive.
697 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
699 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
702 * configure: Regenerate.
704 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
707 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
708 Include cetintrin.h not x86intrin.h.
710 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
713 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
714 Use new _get_ssp and _inc_ssp intrinsics.
716 2018-02-02 Julia Koval <julia.koval@intel.com>
718 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
720 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
722 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
724 (__divsi3): Use RF16 safe registers.
725 (__modsi3): Likewise.
727 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
729 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
730 (__divsf3): Make NaN return value quiet.
731 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
732 (__divdf3): Make NaN return value quiet.
734 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
736 * config/rl78/anddi3.S: New assembly file.
737 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
739 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
741 * config/rl78/umindi3.S: New assembly file.
742 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
744 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
746 * config/rl78/smindi3.S: New assembly file.
747 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
749 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
751 * config/rl78/smaxdi3.S: New assembly file.
752 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
754 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
756 * config/rl78/umaxdi3.S: New assembly file.
757 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
759 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
762 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
763 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
765 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
767 * config/aarch64/value-unwind.h (aarch64_vg): New function.
768 (DWARF_LAZY_REGISTER_VALUE): Define.
769 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
770 to provide a fallback register value.
772 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
774 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
775 __ibm128, instead of trying to use long double.
776 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
777 accomidate -mabi=ieeelongdouble multilibs.
778 (CVT_IBM128_TO_FLOAT128): Likewise.
779 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
780 the appropriate IBM extended double type.
781 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
782 (__gcc_qsub): Likewise.
783 (__gcc_qmul): Likewise.
784 (__gcc_qdiv): Likewise.
785 (pack_ldouble): Likewise.
786 (__gcc_qneg): Likewise.
787 (__gcc_qeq): Likewise.
788 (__gcc_qne): Likewise.
789 (__gcc_qge): Likewise.
790 (__gcc_qle): Likewise.
791 (__gcc_stoq): Likewise.
792 (__gcc_dtoq): Likewise.
793 (__gcc_itoq): Likewise.
794 (__gcc_utoq): Likewise.
795 (__gcc_qunord): Likewise.
796 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
797 quad-float128.h for the definitions.
798 (COPYSIGN): Use the f128 version instead of the q version.
799 (INFINITY): Likewise.
800 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
801 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
802 quad-float128.h for the definitions.
803 (COPYSIGN): Use the f128 version instead of the q version.
804 (INFINITY): Likewise.
806 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
807 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
808 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
810 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
812 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
815 2018-01-03 Jakub Jelinek <jakub@redhat.com>
817 Update copyright years.
819 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
821 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
822 * config/riscv/multi3.c: New file.
823 * config/riscv/multi3.S: Remove.
825 2017-12-08 Jim Wilson <jimw@sifive.com>
827 * config/riscv/div.S: Use FUNC_* macros.
828 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
829 * config/riscv/save-restore.S: Likewise.
830 * config/riscv/riscv-asm.h: New.
832 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
834 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
835 * config/rs6000/_divkc3.c (__divkc3): Likewise.
838 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
839 correct type for all ifunc resolvers to silence -Wattribute-alias
840 warnings. Eliminate the forward declaration of the resolver
841 functions which is no longer needed.
842 (__subkf3_resolve): Likewise.
843 (__mulkf3_resolve): Likewise.
844 (__divkf3_resolve): Likewise.
845 (__negkf2_resolve): Likewise.
846 (__eqkf2_resolve): Likewise.
847 (__nekf2_resolve): Likewise.
848 (__gekf2_resolve): Likewise.
849 (__gtkf2_resolve): Likewise.
850 (__lekf2_resolve): Likewise.
851 (__ltkf2_resolve): Likewise.
852 (__unordkf2_resolve): Likewise.
853 (__extendsfkf2_resolve): Likewise.
854 (__extenddfkf2_resolve): Likewise.
855 (__trunckfsf2_resolve): Likewise.
856 (__trunckfdf2_resolve): Likewise.
857 (__fixkfsi_resolve): Likewise.
858 (__fixkfdi_resolve): Likewise.
859 (__fixunskfsi_resolve): Likewise.
860 (__fixunskfdi_resolve): Likewise.
861 (__floatsikf_resolve): Likewise.
862 (__floatdikf_resolve): Likewise.
863 (__floatunsikf_resolve): Likewise.
864 (__floatundikf_resolve): Likewise.
865 (__extendkftf2_resolve): Likewise.
866 (__trunctfkf2_resolve): Likewise.
869 * config/rs6000/quad-float128.h (TF): Don't define if long double
870 is IEEE 128-bit floating point.
871 (TCtype): Define as either TCmode or KCmode, depending on whether
872 long double is IEEE 128-bit floating point.
873 (__mulkc3_sw): Add declarations for software/hardware versions of
874 complex multiply/divide.
875 (__divkc3_sw): Likewise.
876 (__mulkc3_hw): Likewise.
877 (__divkc3_hw): Likewise.
878 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
879 handlers to switch between using software emulation and hardware
880 float128 instructions, build the complex multiply/divide functions
881 for both software and hardware support.
882 * config/rs6000/_divkc3.c (_divkc3): Likewise.
883 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
884 (__divkc3_resolve): Likewise.
885 (__mulkc3): Likewise.
886 (__divkc3): Likewise.
887 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
888 (fp128_hw_src): Likewise.
889 (fp128_hw_static_obj): Likewise.
890 (fp128_hw_shared_obj): Likewise.
891 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
892 _mulkc3.c and _divkc3.c, changing the function name.
893 (_divkc3-hw.c): Likewise.
894 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
897 2017-11-26 Julia Koval <julia.koval@intel.com>
899 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
900 * config/i386/cpuinfo.h (processor_subtypes): Add
901 INTEL_COREI7_CANNONLAKE.
903 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
906 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
908 * config/xtensa/unwind-dw2-xtensa.c: Likewise
909 * config/ia64/unwind-ia64.c: Add frames parameter.
910 * unwind-sjlj.c: Likewise.
912 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
914 * config/i386/linux-unwind.h: Include
915 config/i386/shadow-stack-unwind.h.
916 * config/i386/shadow-stack-unwind.h: New file.
917 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
918 pass it to _Unwind_Frames_Extra.
919 * unwind-generic.h (_Unwind_Frames_Extra): New.
920 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
921 parameter. Add local variable frames to count number of frames.
922 (_Unwind_ForcedUnwind_Phase2): Likewise.
923 (_Unwind_RaiseException): Add local variable frames to count
924 number of frames, pass it to _Unwind_RaiseException_Phase2 and
926 (_Unwind_ForcedUnwind): Likewise.
927 (_Unwind_Resume): Likewise.
928 (_Unwind_Resume_or_Rethrow): Likewise.
930 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
932 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
934 * config/i386/morestack.S: Include <cet.h>.
935 (__morestack_large_model): Add _CET_ENDBR at function entrance.
936 * config/i386/resms64.h: Include <cet.h>.
937 * config/i386/resms64f.h: Likewise.
938 * config/i386/resms64fx.h: Likewise.
939 * config/i386/resms64x.h: Likewise.
940 * config/i386/savms64.h: Likewise.
941 * config/i386/savms64f.h: Likewise.
942 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
943 (CRTSTUFF_T_CFLAGS): Likewise.
944 * configure.ac: Include ../config/cet.m4.
945 Set and substitute CET_FLAGS.
946 * configure: Regenerated.
948 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
950 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
952 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
953 * configure.ac (libgcc_cv_solaris_crts): Likewise.
954 * configure: Regenerate.
956 2017-11-07 Tom de Vries <tom@codesourcery.com>
958 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
959 after "do {} while (0)".
961 2017-11-07 Tom de Vries <tom@codesourcery.com>
964 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
965 semicolon after "do {} while (0)".
966 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
967 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
968 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
969 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
971 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
974 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
975 sysctl to determine whether we're in a trampoline.
976 Keep the pattern matching method for systems without
977 KERN_PROC_SIGTRAMP sysctl.
979 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
980 Vineet Gupta <vgupta@synopsys.com>
982 * config.host (arc*-*-linux*): Set md_unwind_header variable.
983 * config/arc/linux-unwind-reg.def: New file.
984 * config/arc/linux-unwind-reg.h: Likewise.
986 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
988 * config/rl78/subdi3.S: New assembly file.
989 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
991 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
993 * config/rl78/adddi3.S: New assembly file.
994 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
996 2017-10-13 Jakub Jelinek <jakub@redhat.com>
999 * libgcc2.c (__mulvDI3): If both operands have
1000 the same highpart of -1 and the topmost bit of lowpart is 0,
1001 multiplication overflows even if both lowparts are 0.
1003 2017-09-28 James Bowman <james.bowman@ftdichip.com>
1005 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1007 2017-09-26 Joseph Myers <joseph@codesourcery.com>
1009 * config/microblaze/crti.S, config/microblaze/crtn.S,
1010 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1011 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1012 config/microblaze/mulsi3.S,
1013 config/microblaze/stack_overflow_exit.S,
1014 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1015 config/pa/milli64.S: Add .note.GNU-stack section.
1017 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
1019 * configure.ac: Add Check for HAVE_AS_AVX.
1020 * config.in: Regenerate.
1021 * configure: Likewise.
1022 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1023 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1024 Correct out-of-date comments.
1026 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1028 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1029 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1031 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
1033 * config/i386/i386-asm.h (PASTE2): New macro.
1034 (ASMNAME): Modify to use PASTE2.
1035 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1036 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
1037 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
1038 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
1039 * config/i386/resms64f.S: Likewise.
1040 * config/i386/resms64fx.S: Likewise.
1041 * config/i386/resms64x.S: Likewise.
1042 * config/i386/savms64.S: Likewise.
1043 * config/i386/savms64f.S: Likewise.
1044 * config/i386/avx_resms64.S: New file that only defines a macro and
1045 includes it's corresponding header file.
1046 * config/i386/avx_resms64f.S: Likewise.
1047 * config/i386/avx_resms64fx.S: Likewise.
1048 * config/i386/avx_resms64x.S: Likewise.
1049 * config/i386/avx_savms64.S: Likewise.
1050 * config/i386/avx_savms64f.S: Likewise.
1051 * config/i386/sse_resms64.S: Likewise.
1052 * config/i386/sse_resms64f.S: Likewise.
1053 * config/i386/sse_resms64fx.S: Likewise.
1054 * config/i386/sse_resms64x.S: Likewise.
1055 * config/i386/sse_savms64.S: Likewise.
1056 * config/i386/sse_savms64f.S: Likewise.
1057 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
1059 2017-09-01 Olivier Hainque <hainque@adacore.com>
1060 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1062 2017-08-31 Olivier Hainque <hainque@adacore.com>
1064 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1065 match as powerpc-wrs-vxworks*.
1067 2017-08-07 Jonathan Yong <10walls@gmail.com>
1069 * config.host (*-cygwin): Include file from mingw
1070 config/i386/enable-execute-stack-mingw32.c
1072 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
1073 Doug Rupp <rupp@adacore.com>
1074 Olivier Hainque <hainque@adacore.com>
1076 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1077 as well as arm-wrs-vxworks.
1078 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1080 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1081 __exidx_start and __exidx_end for downloadable modules.
1083 2017-08-01 Olivier Hainque <hainque@adacore.com>
1085 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1086 * config/t-vxworks7: Likewise.
1088 2017-08-01 Olivier Hainque <hainque@adacore.com>
1090 * config/t-vxworks: Instead of redefining LIB2ADD,
1091 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1093 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1095 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1097 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
1100 * config.host: include i386/t-msabi for darwin and solaris.
1101 * config/i386/i386-asm.h
1102 (ELFFN): Rename to FN_TYPE.
1103 (FN_SIZE): New macro.
1104 (FN_HIDDEN): Likewise.
1105 (ASMNAME): Likewise.
1106 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1108 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1109 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1110 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1112 * config/i386/resms64f.S: Likewise.
1113 * config/i386/resms64fx.S: Likewise.
1114 * config/i386/resms64x.S: Likewise.
1115 * config/i386/savms64.S: Likewise.
1116 * config/i386/savms64f.S: Likewise.
1118 2017-07-19 John Marino <gnugcc@marino.st>
1120 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1122 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1125 * configure.ac (PowerPC float128 hardware support): Test whether
1126 we can use __builtin_cpu_supports before enabling the ifunc
1128 * configure: Regenerate.
1130 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
1132 * config.host: Remove uclibc from arc target spec.
1134 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1136 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1138 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1140 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1141 (have_ieee_hw_p): Delete function.
1142 (SW_OR_HW) Use __builtin_cpu_supports().
1144 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1146 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1148 2017-07-03 Olivier Hainque <hainque@adacore.com>
1150 * config/t-vxworks7: New file, really.
1152 2017-06-28 Joseph Myers <joseph@codesourcery.com>
1154 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1155 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1156 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1157 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1158 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1159 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1160 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1161 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1162 config/sh/linux-unwind.h (sh_fallback_frame_state),
1163 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1164 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1165 ucontext_t instead of struct ucontext.
1167 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
1169 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1170 (x86_64-wrs-vxworks7): Likewise.
1172 2017-06-27 Olivier Hainque <hainque@adacore.com>
1174 * config/t-vxworks7: New file.
1175 * config.host (*-*-vxworks7): Use it.
1177 2017-06-22 Matt Turner <mattst88@gmail.com>
1179 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1182 2017-06-21 Richard Biener <rguenther@suse.de>
1184 PR gcov-profile/81080
1185 * configure.ac: Add AC_SYS_LARGEFILE.
1186 * libgcov.h: Include auto-target.h before tsystem.h to pick
1187 up _FILE_OFFSET_BITS which might differ for multilibs.
1188 * config.in: Regenerate.
1189 * configure: Likewise.
1191 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
1193 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1195 2017-06-09 Martin Liska <mliska@suse.cz>
1197 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1198 Reset __gcov_indirect_call_callee to NULL.
1200 2017-06-08 Olivier Hainque <hainque@adacore.com>
1202 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1203 the set of -I options, support for direct inclusions of net/uio.h
1204 by VxWorks header files via ioLib.h.
1206 2017-06-07 Tony Reix <tony.reix@atos.net>
1207 Matthieu Sarter <matthieu.sarter.external@atos.net>
1208 David Edelsohn <dje.gcc@gmail.com>
1210 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1212 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1215 2017-06-02 Olivier Hainque <hainque@adacore.com>
1217 * config/vxlib.c (__gthread_once): Add missing value to
1220 2017-05-30 Olivier Hainque <hainque@adacore.com>
1222 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1223 dollar sign before $(MULTIDIR).
1225 2017-05-26 Richard Henderson <rth@redhat.com>
1228 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1230 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1232 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1233 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1234 * config/arm/unwind-arm.c: Implement the above.
1236 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1238 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1239 section for a non-executable stack.
1241 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1244 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1246 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
1248 * config.host: Add i386/t-msabi to i386/t-linux file list.
1249 * config/i386/i386-asm.h: New file.
1250 * config/i386/resms64.S: New file.
1251 * config/i386/resms64f.S: New file.
1252 * config/i386/resms64fx.S: New file.
1253 * config/i386/resms64x.S: New file.
1254 * config/i386/savms64.S: New file.
1255 * config/i386/savms64f.S: New file.
1256 * config/i386/t-msabi: New file.
1258 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1260 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1261 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1263 2017-05-05 Joshua Conner <joshconner@google.com>
1265 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1266 pc-relative indirect handling for fuchsia.
1267 * config/t-slibgcc-fuchsia: New file.
1268 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
1269 x86_64-*-fuchsia*): Add definitions.
1271 2017-04-19 Martin Liska <mliska@suse.cz>
1273 PR gcov-profile/80435
1274 * Makefile.in: Install gcov.h.
1276 * libgcov.h: Use the header and make __gcov_flush publicly
1279 2017-04-18 Martin Liska <mliska@suse.cz>
1281 PR gcov-profile/78783
1282 * libgcov-driver.c (gcov_get_filename): New function.
1284 2017-04-07 Jeff Law <law@redhat.com>
1286 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1287 target makefile fragment.
1288 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1290 2017-04-07 Alan Modra <amodra@gmail.com>
1293 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1295 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
1297 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1299 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1301 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1303 2017-03-10 John Marino <gnugcc@marino.st>
1305 * config/aarch64/freebsd-unwind.h: New file.
1306 * config.host: Add aarch64-*-freebsd unwinder.
1308 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1310 * config/rs6000/crtrestvr.s: Use .machine altivec.
1311 * config/rs6000/crtsavevr.s: Ditto.
1313 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1315 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1316 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1317 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1318 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1319 * configure: Regenerate.
1320 * config.in: Regenerate.
1322 2017-03-02 Jonathan Yong <10walls@gmail.com>
1324 * config/i386/gthr-win32.h: Define NOGDI before
1325 windows.h include to prevent w32api CC_NONE macro
1326 clash with libgfortran.
1328 2017-03-02 Jonathan Yong <10walls@gmail.com>
1330 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1332 2017-02-16 Andrew Pinski <apinski@cavium.com>
1334 * config/aarch64/value-unwind.h: New file.
1335 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1338 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1340 * config.host: Add RISC-V tuples.
1341 * config/riscv/atomic.c: New file.
1342 * config/riscv/crti.S: Likewise.
1343 * config/riscv/crtn.S: Likewise.
1344 * config/riscv/div.S: Likewise.
1345 * config/riscv/linux-unwind.h: Likewise.
1346 * config/riscv/muldi3.S: Likewise.
1347 * config/riscv/multi3.S: Likewise.
1348 * config/riscv/save-restore.S: Likewise.
1349 * config/riscv/sfp-machine.h: Likewise.
1350 * config/riscv/t-elf: Likewise.
1351 * config/riscv/t-elf32: Likewise.
1352 * config/riscv/t-elf64: Likewise.
1353 * config/riscv/t-softfp32: Likewise.
1354 * config/riscv/t-softfp64: Likewise.
1356 2017-01-24 Jakub Jelinek <jakub@redhat.com>
1358 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1359 /* FALLTHRU */ comments.
1361 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1363 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1365 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1367 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1368 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1369 DW_CFA_GNU_window_save for AArch64 and LP64.
1371 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1373 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1375 2017-01-19 Jiong Wang <jiong.wang@arm.com>
1377 * config/aarch64/aarch64-unwind.h: New file.
1378 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1379 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1380 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1381 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1382 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1383 (aarch64_post_extract_frame_addr): New function.
1384 (aarch64_post_frob_eh_handler_addr): New function.
1385 (aarch64_frob_update_context): New function.
1386 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1387 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1388 aarch64*-*-freebsd*):
1389 Initialize md_unwind_header to include aarch64-unwind.h.
1390 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1391 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1393 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1394 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1395 (uw_frob_return_addr): New function.
1396 (uw_install_context): Use uw_frob_return_addr.
1398 2017-01-17 Jakub Jelinek <jakub@redhat.com>
1401 * configure.ac: Add GCC_BASE_VER.
1402 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1403 version from BASE-VER file.
1404 * configure: Regenerated.
1406 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
1408 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1409 libmul_f5.a): Filter archived prerequisites.
1411 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1413 * config/i386/cpuinfo.h (processor_features): Add
1414 FEATURE_AVX512VPOPCNTDQ.
1415 * config/i386/cpuinfo.c (get_available_features): Habdle new
1418 2017-01-04 Joseph Myers <joseph@codesourcery.com>
1420 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1421 payload if [__mips_nan2008].
1423 2017-01-04 Alan Modra <amodra@gmail.com>
1425 * Makefile.in (configure_deps): Update.
1426 * configure: Regenerate.
1428 2017-01-01 Jakub Jelinek <jakub@redhat.com>
1430 Update copyright years.
1432 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1434 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1435 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1436 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1438 2016-12-17 Matthias Klose <doko@ubuntu.com>
1440 * config/arc/gmon: Remove empty directory.
1442 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1444 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1446 (arc*-*-elf*): Likewise.
1447 * config/arc/t-arc: Remove old gmon lib targets.
1448 * config/arc/crtg.S: Remove.
1449 * config/arc/crtgend.S: Likewise.
1450 * config/arc/gmon/atomic.h: Likewise.
1451 * config/arc/gmon/auxreg.h: Likewise.
1452 * config/arc/gmon/dcache_linesz.S: Likewise.
1453 * config/arc/gmon/gmon.c: Likewise.
1454 * config/arc/gmon/machine-gmon.h: Likewise.
1455 * config/arc/gmon/mcount.c: Likewise.
1456 * config/arc/gmon/prof-freq-stub.S: Likewise.
1457 * config/arc/gmon/prof-freq.c: Likewise.
1458 * config/arc/gmon/profil.S: Likewise.
1459 * config/arc/gmon/sys/gmon.h: Likewise.
1460 * config/arc/gmon/sys/gmon_out.h: Likewise.
1461 * config/arc/t-arc-newlib: Likewise.
1462 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1464 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1466 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1468 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1470 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1471 R16 instead of push + pop.
1472 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1474 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1476 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1479 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1481 * config.host (arc*-*-linux-uclibc*): Use default extra
1482 objects. Include linux-android header.
1483 * config/arc/crti.S (_init): Declare symbol as function.
1486 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1489 * config/i386/cpuinfo.c: Move denums for processor vendors,
1490 processor type, processor subtypes and declaration of
1491 struct __processor_model into
1492 * config/i386/cpuinfo.h: New header file.
1494 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1495 Thomas Preud'homme <thomas.preudhomme@arm.com>
1497 * config/arm/cmse_nonsecure_call.S: New.
1498 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1500 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1501 Thomas Preud'homme <thomas.preudhomme@arm.com>
1503 * config/arm/t-arm (HAVE_CMSE): New.
1504 * config/arm/cmse.c: New.
1506 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1509 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1510 use generic linker version information on Blackfin.
1513 * libgcc/mkmap-symver.awk: add support for skip_underscore
1515 2016-11-27 Iain Sandoe <iain@codesourcery.com>
1516 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1519 * config/t-darwin: Default builds to 10.5 codegen.
1521 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1523 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1524 (_FP_NANSIGN_H): Likewise.
1525 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1526 (softfp_truncations): Add tfhf.
1527 (softfp_extras): Add required conversion functions.
1529 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1530 Matthew Wahab <matthew.wahab@arm.com>
1532 * config/arm/fp16.c (binary64): New.
1533 (__gnu_d2h_internal): New.
1534 (__gnu_d2h_ieee): New.
1535 (__gnu_d2h_alternative): New.
1537 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1538 Matthew Wahab <matthew.wahab@arm.com>
1540 * config/arm/fp16.c (struct format): New.
1542 (__gnu_float2h_internal): New. Body moved from
1543 __gnu_f2h_internal and generalize.
1544 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1545 Call it with binary32.
1547 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1549 * soft-fp/extendhftf2.c: Update from glibc.
1550 * soft-fp/fixhfti.c: Likewise.
1551 * soft-fp/fixunshfti.c: Likewise.
1552 * soft-fp/floattihf.c: Likewise.
1553 * soft-fp/floatuntihf.c: Likewise.
1554 * soft-fp/half.h: Likewise.
1555 * soft-fp/trunctfhf2.c: Likewise.
1557 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
1560 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1561 __TMC_END__ behind a passthrough asm.
1563 2016-11-18 Walter Lee <walt@tilera.com>
1565 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1567 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1569 * config/i386/cpuinfo.c (processor_features): Add
1570 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1572 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1574 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1575 (__ARC_NORM__): Use instead ARC_OPTFPE.
1576 * config/arc/fp-hack.h: Likewise.
1577 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1578 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1580 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
1582 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1583 * config/nvptx/mgomp.c: New file.
1584 * config/nvptx/t-nvptx: Add mgomp.c
1586 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1589 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1591 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1593 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1594 of checking for cpus.
1595 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1596 (__modsi3, __clzsi2): Likewise.
1598 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1600 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1601 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1602 * config/i386/t-cpuinfo-static: New.
1604 2016-11-03 Martin Liska <mliska@suse.cz>
1606 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1607 (__gcov_time_profiler_atomic): Likewise.
1609 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1612 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1613 count_leading_zeros.
1615 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
1617 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1618 * libgcc2.c (__divmoddi4): New function.
1619 * libgcc2.h (__divmoddi4): Declare.
1620 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1621 and __PFX_divmodti4.
1623 2016-10-24 Florian Weimer <fweimer@redhat.com>
1626 * unwind-c.c: Include auto-target.h.
1628 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
1630 * config/pa/pa64-hpux-lib.h: New file.
1631 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1632 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1633 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1636 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1638 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1640 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1642 * config/xtensa/t-windowed (LIB2ADDEH): Use
1643 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1646 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1648 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1649 __ieee754_sqrt): New functions.
1650 (__divdf3): Add implementation with new FPU instructions under
1651 #if XCHAL_HAVE_DFP_DIV.
1652 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1653 __ieee754_sqrtf): New functions.
1654 (__divsf3): Add implementation with new FPU instructions under
1655 #if XCHAL_HAVE_FP_DIV.
1656 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1657 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1659 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1661 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1663 * config/tilepro/atomic.c: Likewise and stop casting model to
1666 2016-10-10 Joseph Myers <joseph@codesourcery.com>
1669 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1672 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1674 * config.host: Add support for aarch64-*-freebsd*.
1676 2016-10-05 Andreas Schwab <schwab@suse.de>
1678 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1679 (.section .init_array): Don't call __do_jv_register_classes.
1680 (.section .init): Likewise.
1682 2016-10-04 Jakub Jelinek <jakub@redhat.com>
1684 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1685 (__JCR_LIST__): Remove.
1686 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1687 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1688 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1689 * config/ia64/crtend.S (__JCR_END__): Remove.
1690 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1692 (__JCR_LIST__, __JCR_END__): Remove.
1693 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1694 (__do_global_ctors_1): Likewise.
1696 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
1698 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1699 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1701 2016-09-27 Martin Liska <mliska@suse.cz>
1703 PR gcov-profile/7970
1704 PR gcov-profile/16855
1705 PR gcov-profile/44779
1706 * libgcov-driver.c (__gcov_init): Do not register a atexit
1708 (__gcov_exit): Rename from gcov_exit.
1709 * libgcov.h (__gcov_exit): Declare.
1711 2016-09-27 Martin Liska <mliska@suse.cz>
1714 * Makefile.in: Remove _gcov_merge_delta.
1715 * libgcov-merge.c (void __gcov_merge_delta): Remove.
1716 * libgcov-util.c (__gcov_delta_counter_op): Remove.
1717 * libgcov.h: Remove declaration of __gcov_merge_delta.
1719 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
1721 * configure.ac: Do not create links, only substitute the filenames.
1722 * configure: Regenerate.
1723 * Makefile.in: Assign the substitution results to variables.
1724 (LIBGCC_LINKS): Define.
1725 (enable-execute-stack.c): New rule.
1726 (unwind.h): Likewise.
1727 (md-unwind-support.h): Likewise.
1728 (sfp-machine.h): Likewise.
1729 (gthr-default.h): Likewise.
1730 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1731 unwind.h as prerequisite of install-unwind_h-forbuild.
1733 2016-09-16 Jakub Jelinek <jakub@redhat.com>
1736 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1737 is not the primary registry and atomics are available.
1738 (any_objects_registered): New variable.
1739 (__register_frame_info_bases, __register_frame_info_table_bases):
1740 Atomically store 1 to any_objects_registered after registering first
1742 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1744 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
1747 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1748 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1751 (__divhc3): Likewise.
1752 (__mulhc3): Likewise.
1753 * libgcc2.c: Support _mulhc3 and _divhc3.
1755 2016-09-07 Joseph Myers <joseph@codesourcery.com>
1758 * libgcc2.c (NOTRUNC): Invert settings.
1760 2016-09-06 Martin Liska <mliska@suse.cz>
1762 PR gcov-profile/77378
1763 PR gcov-profile/77466
1764 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1765 conditionaly enable/disable *_atomic functions.
1767 2016-08-26 Joseph Myers <joseph@codesourcery.com>
1769 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1770 where not already enabled.
1772 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1774 * config/mips/linux-unwind.h: Use sys/syscall.h.
1776 2016-08-16 Joseph Myers <joseph@codesourcery.com>
1779 * soft-fp/adddf3.c: Update from glibc.
1780 * soft-fp/addsf3.c: Likewise.
1781 * soft-fp/addtf3.c: Likewise.
1782 * soft-fp/divdf3.c: Likewise.
1783 * soft-fp/divsf3.c: Likewise.
1784 * soft-fp/divtf3.c: Likewise.
1785 * soft-fp/double.h: Likewise.
1786 * soft-fp/eqdf2.c: Likewise.
1787 * soft-fp/eqsf2.c: Likewise.
1788 * soft-fp/eqtf2.c: Likewise.
1789 * soft-fp/extenddftf2.c: Likewise.
1790 * soft-fp/extended.h: Likewise.
1791 * soft-fp/extendsfdf2.c: Likewise.
1792 * soft-fp/extendsftf2.c: Likewise.
1793 * soft-fp/extendxftf2.c: Likewise.
1794 * soft-fp/fixdfdi.c: Likewise.
1795 * soft-fp/fixdfsi.c: Likewise.
1796 * soft-fp/fixdfti.c: Likewise.
1797 * soft-fp/fixsfdi.c: Likewise.
1798 * soft-fp/fixsfsi.c: Likewise.
1799 * soft-fp/fixsfti.c: Likewise.
1800 * soft-fp/fixtfdi.c: Likewise.
1801 * soft-fp/fixtfsi.c: Likewise.
1802 * soft-fp/fixtfti.c: Likewise.
1803 * soft-fp/fixunsdfdi.c: Likewise.
1804 * soft-fp/fixunsdfsi.c: Likewise.
1805 * soft-fp/fixunsdfti.c: Likewise.
1806 * soft-fp/fixunssfdi.c: Likewise.
1807 * soft-fp/fixunssfsi.c: Likewise.
1808 * soft-fp/fixunssfti.c: Likewise.
1809 * soft-fp/fixunstfdi.c: Likewise.
1810 * soft-fp/fixunstfsi.c: Likewise.
1811 * soft-fp/fixunstfti.c: Likewise.
1812 * soft-fp/floatdidf.c: Likewise.
1813 * soft-fp/floatdisf.c: Likewise.
1814 * soft-fp/floatditf.c: Likewise.
1815 * soft-fp/floatsidf.c: Likewise.
1816 * soft-fp/floatsisf.c: Likewise.
1817 * soft-fp/floatsitf.c: Likewise.
1818 * soft-fp/floattidf.c: Likewise.
1819 * soft-fp/floattisf.c: Likewise.
1820 * soft-fp/floattitf.c: Likewise.
1821 * soft-fp/floatundidf.c: Likewise.
1822 * soft-fp/floatundisf.c: Likewise.
1823 * soft-fp/floatunditf.c: Likewise.
1824 * soft-fp/floatunsidf.c: Likewise.
1825 * soft-fp/floatunsisf.c: Likewise.
1826 * soft-fp/floatunsitf.c: Likewise.
1827 * soft-fp/floatuntidf.c: Likewise.
1828 * soft-fp/floatuntisf.c: Likewise.
1829 * soft-fp/floatuntitf.c: Likewise.
1830 * soft-fp/gedf2.c: Likewise.
1831 * soft-fp/gesf2.c: Likewise.
1832 * soft-fp/getf2.c: Likewise.
1833 * soft-fp/ledf2.c: Likewise.
1834 * soft-fp/lesf2.c: Likewise.
1835 * soft-fp/letf2.c: Likewise.
1836 * soft-fp/muldf3.c: Likewise.
1837 * soft-fp/mulsf3.c: Likewise.
1838 * soft-fp/multf3.c: Likewise.
1839 * soft-fp/negdf2.c: Likewise.
1840 * soft-fp/negsf2.c: Likewise.
1841 * soft-fp/negtf2.c: Likewise.
1842 * soft-fp/op-1.h: Likewise.
1843 * soft-fp/op-2.h: Likewise.
1844 * soft-fp/op-4.h: Likewise.
1845 * soft-fp/op-8.h: Likewise.
1846 * soft-fp/op-common.h: Likewise.
1847 * soft-fp/quad.h: Likewise.
1848 * soft-fp/single.h: Likewise.
1849 * soft-fp/soft-fp.h: Likewise.
1850 * soft-fp/subdf3.c: Likewise.
1851 * soft-fp/subsf3.c: Likewise.
1852 * soft-fp/subtf3.c: Likewise.
1853 * soft-fp/truncdfsf2.c: Likewise.
1854 * soft-fp/trunctfdf2.c: Likewise.
1855 * soft-fp/trunctfsf2.c: Likewise.
1856 * soft-fp/trunctfxf2.c: Likewise.
1857 * soft-fp/unorddf2.c: Likewise.
1858 * soft-fp/unordsf2.c: Likewise.
1859 * soft-fp/unordtf2.c: Likewise.
1861 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
1863 PR gcov-profile/67097
1864 * libgcov-util.c (gcov_profile_merge): Skip missing files.
1866 2016-08-10 Martin Liska <mliska@suse.cz>
1868 PR gcov-profile/58306
1869 * Makefile.in: New functions (modules) are added.
1870 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1872 (__gcov_pow2_profiler_atomic): New function.
1873 (__gcov_one_value_profiler_body): New argument is instroduced.
1874 (__gcov_one_value_profiler): Call with the new argument.
1875 (__gcov_one_value_profiler_atomic): Likewise.
1876 (__gcov_indirect_call_profiler_v2): Likewise.
1877 (__gcov_time_profiler_atomic): New function.
1878 (__gcov_average_profiler_atomic): Likewise.
1879 (__gcov_ior_profiler_atomic): Likewise.
1880 * libgcov.h: Declare the aforementioned functions.
1882 2016-08-09 Martin Liska <mliska@suse.cz>
1884 * libgcov-util.c: Fix typo and GNU coding style.
1886 2016-08-09 Martin Liska <mliska@suse.cz>
1888 * Makefile.in: Remove __gcov_indirect_call_profiler.
1889 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1891 * libgcov.h: And the declaration of the function.
1893 2016-08-09 Martin Liska <mliska@suse.cz>
1895 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1898 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1900 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1901 * config/rs6000/_mulkc3.c: Likewise.
1903 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
1905 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1906 zero_reg as previous call to __umulhisi3 already cleared it.
1908 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
1911 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1913 2016-07-19 Nick Clifton <nickc@redhat.com>
1915 * config.host (m32r): Add m32r/t-m32r to tmake_file.
1916 Add crtinit.o and crtfini.o to extra_parts.
1918 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1920 * config/rs6000/_divkc3.c: New.
1921 * config/rs6000/_mulkc3.c: New.
1922 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1924 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
1927 2016-07-11 Hale Wang <hale.wang@arm.com>
1928 Andre Vieira <andre.simoesdiasvieira@arm.com>
1930 * config/arm/lib1funcs.S: Add new wrapper.
1932 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1934 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1936 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1938 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
1939 and ARMv5t* rather than for a fixed list of architectures.
1941 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1943 * config/arm/bpabi-v6m.S: Clarify what architectures is the
1944 implementation suitable for.
1945 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
1946 for all Thumb-1 only targets.
1947 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
1948 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
1951 (ARM_FUNC_ALIAS): Likewise.
1952 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
1955 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
1958 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
1959 __ARM_ARCH_6M__ in guard for checking whether it is defined.
1960 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
1961 __ARM_ARCH_6M__ and add comment to indicate the connection between
1962 this condition and the one in gcc/config/arm/elf.h.
1963 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
1964 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
1965 * config/arm/t-softfp: Likewise.
1967 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1969 * libgcc2.c (SYMBOL__MAIN): Remove checks for
1970 CTOR_LISTS_DEFINED_EXTERNALLY.
1972 2016-06-28 Walter Lee <walt@tilera.com>
1974 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
1976 (SPR_CMPEXCH_VALUE): Define for tilegx.
1977 (__NR_FAST_cmpxchg): Define for tilepro.
1978 (__NR_FAST_atomic_update): Define for tilepro.
1979 (__NR_FAST_cmpxchg64): Define for tilepro.
1981 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
1983 * config.host: Add suport for arm*-*-phoenix* targets.
1985 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1987 * config.host: Remove support for mep-*.
1988 * config/mep/lib1funcs.S: Remove.
1989 * config/mep/lib2funcs.c: Remove.
1990 * config/mep/t-mep: Remove.
1991 * config/mep/tramp.c: Remove.
1993 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1995 * config.host: Remove support for avr-rtems.
1996 * config/avr/t-rtems: Remove.
1998 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2000 * config.host: Remove m32r-rtems support.
2002 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2004 * config.host: Remove h8300-rtems support.
2006 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2008 * config.host: Remove support for knetbsd.
2010 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2012 * config.host: Remove support for openbsd 2 and 3.
2014 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2016 * config.host: Remove interix support.
2017 * config/i386/t-interix: Remove.
2019 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
2021 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2022 least-significant bit in function pointer for fixup.
2024 2016-06-05 Aaron Conole <aconole@redhat.com>
2025 Nathan Sidwell <nathan@acm.org>
2028 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2029 (get_gcov_error_file): Check __gcov_error_file before trying to
2031 (gcov_error): Always use get_gcov_error_file.
2033 2016-06-02 Aaron Conole <aconole@redhat.com>
2035 * libgcov-driver-system.c (__gcov_error_file): New.
2036 (get_gcov_error_file): New.
2037 (gcov_error): Use and set __gcov_error_file.
2038 (gcov_error_exit): New.
2039 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2041 2016-05-26 Nathan Sidwell <nathan@acm.org>
2043 * config/nvptx/free.asm: Delete.
2044 * config/nvptx/malloc.asm: Delete.
2045 * config/nvptx/realloc.c: Delete.
2048 2016-05-25 Nathan Sidwell <nathan@acm.org>
2050 * config/nvptx/crt0.s: Delete.
2051 * config/nvptx/crt0.c: New.
2054 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2056 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
2057 dw2/seh configuration.
2058 [x86_64-*-mingw*]: Likewise.
2060 2016-05-10 Joel Sherrill <joel@rtems.org>
2063 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2064 targets so the same extra_parts are built. Also have tmake_file add
2065 on to its value rather than override.
2067 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2069 * config.host: Remove SH5 support.
2070 * configure: Likewise.
2072 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2074 * config/sh/crt1.S: Remove SH5 support.
2075 * config/sh/crti.S: Likewise.
2076 * config/sh/crtn.S: Likewise.
2077 * config/sh/lib1funcs-4-300.S: Likewise.
2078 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2079 * config/sh/lib1funcs.S: Likewise.
2080 * config/sh/linux-unwind.h: Likewise.
2081 * config/sh/t-sh64: Delete.
2083 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2085 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2087 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2088 Joern Rennecke <joern.rennecke@embecosm.com>
2090 * config/arc/crttls.S: New file.
2091 * config/arc/t-arc: New rule.
2092 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2094 2016-04-25 Nick Clifton <nickc@redhat.com>
2096 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2097 (__mspabi_cmpd): Likewise.
2098 * config/msp430/floathidf.c (__floathidf): Likewise.
2099 * config/msp430/floathisf.c (__floathisf): Likewise
2100 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2101 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2102 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2104 (__ashrsi3): Likewise.
2106 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2108 * config/m68k/linux-atomic.c: Do not include unistd.h
2110 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2112 * config/arm/ieee754-df.S: Fix typos in comments.
2114 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2117 * configure.ac (powerpc*-*-linux*): Rework tests to build
2118 __float128 emulation routines to not depend on using #pragma GCC
2119 target to enable -mfloat128.
2120 * configure: Regnerate.
2122 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2125 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2126 __MINGW32__ is defined.
2128 2016-03-28 James Bowman <james.bowman@ftdichip.com>
2130 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
2132 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2135 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2136 built with an assembler that does not support ISA 3.0
2137 instructions, rename __extendkftf2_sw to __extendkftf2.
2139 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2142 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2143 call-clobbered registers.
2144 (internal_mcount): Remove __i386__ handling.
2146 2016-02-26 Joel Sherrill <joel@rtems.org>
2148 * config.host: Add x86_64-*-rtems*.
2150 2016-02-26 Joel Sherrill <joel@rtems.org>
2152 * libgcc/config.host: Add aarch64-*-rtems*.
2154 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2155 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2157 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2158 union of u64 and double.
2159 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2160 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2162 (FP_ROUNDMODE): Update the usage of _fpscr.
2164 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2167 * Makefile.in (crtoffloadtable$(objext)): New rule.
2168 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2169 enable_offload_targets is not empty.
2170 * configure: Regenerate.
2171 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2174 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2176 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2177 .literal_position before the function.
2178 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2181 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2183 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2184 * config/s390/morestack.S: New file.
2185 * config/s390/t-stack-s390: New file.
2186 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2188 2016-02-12 Walter Lee <walt@tilera.com>
2190 * config.host (tilegx*-*-linux*): remove ti from
2191 softfp_int_modes for 32-bit configs.
2193 2016-02-10 Ian Lance Taylor <iant@google.com>
2196 * config/i386/morestack.S (__stack_split_initialize): Align
2199 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2202 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2203 __FLOAT128__ to compile only for __float128 capable targets.
2205 2016-01-25 Jakub Jelinek <jakub@redhat.com>
2208 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2209 instead of ___NO_FPRS__.
2211 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
2212 Steven Munroe <munroesj@linux.vnet.ibm.com>
2213 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2215 * config/rs6000/float128-sed: New files to convert TF names to KF
2216 names for PowerPC IEEE 128-bit floating point support.
2217 * config/rs6000/float128-sed-hw: Likewise.
2219 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2220 floating point hardware support.
2222 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2223 128-bit floating point software emulation or use ISA 3.0 hardware
2224 support if it is available.
2226 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2229 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2230 floating point to IBM extended double.
2232 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2233 double to IEEE 128-bit floating point.
2235 * config/rs6000/t-float128: New Makefile fragments to enable
2236 building __float128 emulation support.
2237 * config/rs6000/t-float128-hw: Likewise.
2239 * config/rs6000/sfp-exceptions.c: New file to provide exception
2240 support for IEEE 128-bit floating point.
2242 * config/rs6000/floattikf.c: New files for converting between IEEE
2243 128-bit floating point and signed/unsigned 128-bit integers.
2244 * config/rs6000/fixunskfti.c: Likewise.
2245 * config/rs6000/fixkfti.c: Likewise.
2246 * config/rs6000/floatuntikf.c: Likewise.
2248 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2249 when building on 64-bit systems, or when VSX is enabled.
2250 (_FP_W_TYPE): Likewise.
2251 (_FP_WS_TYPE): Likewise.
2252 (_FP_I_TYPE): Likewise.
2253 (TItype): Define on 64-bit systems.
2254 (UTItype): Likewise.
2255 (TI_BITS): Likewise.
2256 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2257 (_FP_MUL_MEAT_Q): Likewise.
2258 (_FP_DIV_MEAT_D): Likewise.
2259 (_FP_DIV_MEAT_Q): Likewise.
2260 (_FP_NANFRAC_D): Likewise.
2261 (_FP_NANFRAC_Q): Likewise.
2262 (ISA_BIT): Add exception support if we are being compiled on a
2263 machine with hardware floating point support to build the IEEE
2264 128-bit emulation functions.
2265 (FP_EX_INVALID): Likewise.
2266 (FP_EX_OVERFLOW): Likewise.
2267 (FP_EX_UNDERFLOW): Likewise.
2268 (FP_EX_DIVZERO): Likewise.
2269 (FP_EX_INEXACT): Likewise.
2270 (FP_EX_ALL): Likewise.
2271 (__sfp_handle_exceptions): Likewise.
2272 (FP_HANDLE_EXCEPTIONS): Likewise.
2273 (FP_RND_NEAREST): Likewise.
2274 (FP_RND_ZERO): Likewise.
2275 (FP_RND_PINF): Likewise.
2276 (FP_RND_MINF): Likewise.
2277 (FP_RND_MASK): Likewise.
2278 (_FP_DECL_EX): Likewise.
2279 (FP_INIT_ROUNDMODE): Likewise.
2280 (FP_ROUNDMODE): Likewise.
2282 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2283 VSX code, enable IEEE 128-bit floating point. If the compiler can
2284 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2285 floating point hardware instructions and it supports declaring
2286 functions with the ifunc attribute, enable ifunc functions to
2287 switch between software and hardware support.
2288 * configure.ac (powerpc*-*-linux*): Likewise.
2289 * configure: Regenerate.
2291 2016-01-15 Nick Clifton <nickc@redhat.com>
2293 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2294 dependency as the source file to be compiled.
2295 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2296 (lib2hw_mul_f5.o): Likewise.
2298 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2300 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2301 * libgcc/config/rs6000/fixkfti.c: Likewise.
2302 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2303 * libgcc/config/rs6000/float128-hw.c: Likewise.
2304 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2305 * libgcc/config/rs6000/float128-sed: Likewise.
2306 * libgcc/config/rs6000/floattikf.c: Likewise.
2307 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2308 * libgcc/config/rs6000/quad-float128.h: Likewise.
2309 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2310 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2311 * libgcc/config/rs6000/t-float128: Likewise.
2312 * libgcc/config/rs6000/t-float128-hw: Likewise.
2313 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2314 * libgcc/config.host: Likewise.
2315 * libgcc/configure: Likewise.
2316 * libgcc/configure.ac: Likewise.
2318 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2319 Steven Munroe <munroesj@linux.vnet.ibm.com>
2320 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2322 * config/rs6000/sfp-exceptions.c: New file to provide exception
2323 support for IEEE 128-bit floating point.
2325 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2326 floating point hardware support.
2328 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2330 * config/rs6000/fixunskfti.c: Likewise.
2331 * config/rs6000/fixkfti.c: Likewise.
2332 * config/rs6000/floatuntikf.c: Likewise.
2333 * config/rs6000/extendkftf2-sw.c: Likewise.
2334 * config/rs6000/trunctfkf2-sw.c: Likewise.
2336 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2337 128-bit floating point software emulation or use ISA 3.0 hardware
2338 support if it is available.
2340 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2343 * config/rs6000/t-float128: New Makefile fragments to enable
2344 building __float128 emulation support.
2345 * config/rs6000/t-float128-hw: Likewise.
2347 * config/rs6000/float128-sed: New file to convert TF names to KF
2348 names for PowerPC IEEE 128-bit floating point support.
2350 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2351 when building on 64-bit systems, or when VSX is enabled.
2352 (_FP_W_TYPE): Likewise.
2353 (_FP_WS_TYPE): Likewise.
2354 (_FP_I_TYPE): Likewise.
2355 (TItype): Define on 64-bit systems.
2356 (UTItype): Likewise.
2357 (TI_BITS): Likewise.
2358 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2359 (_FP_MUL_MEAT_Q): Likewise.
2360 (_FP_DIV_MEAT_D): Likewise.
2361 (_FP_DIV_MEAT_Q): Likewise.
2362 (_FP_NANFRAC_D): Likewise.
2363 (_FP_NANFRAC_Q): Likewise.
2364 (ISA_BIT): Add exception support if we are being compiled on a
2365 machine with hardware floating point support to build the IEEE
2366 128-bit emulation functions.
2367 (FP_EX_INVALID): Likewise.
2368 (FP_EX_OVERFLOW): Likewise.
2369 (FP_EX_UNDERFLOW): Likewise.
2370 (FP_EX_DIVZERO): Likewise.
2371 (FP_EX_INEXACT): Likewise.
2372 (FP_EX_ALL): Likewise.
2373 (__sfp_handle_exceptions): Likewise.
2374 (FP_HANDLE_EXCEPTIONS): Likewise.
2375 (FP_RND_NEAREST): Likewise.
2376 (FP_RND_ZERO): Likewise.
2377 (FP_RND_PINF): Likewise.
2378 (FP_RND_MINF): Likewise.
2379 (FP_RND_MASK): Likewise.
2380 (_FP_DECL_EX): Likewise.
2381 (FP_INIT_ROUNDMODE): Likewise.
2382 (FP_ROUNDMODE): Likewise.
2384 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2385 compiler can do __float128.
2386 * configure: Regenerate.
2388 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2389 VSX code, enable IEEE 128-bit floating point.
2391 2016-01-05 Olivier Hainque <hainque@adacore.com>
2393 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
2396 2016-01-04 Jakub Jelinek <jakub@redhat.com>
2398 Update copyright years.
2400 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2402 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
2405 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2407 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2408 instead of abort to avoid dependency on stdlib.h.
2410 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
2412 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2413 to initialize call to __dl_fixup once.
2415 2015-12-04 Nick Clifton <nickc@redhat.com>
2417 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2418 Allow for the second argument being negative.
2419 * config.host (extra_parts): Define for MSP430. Create separate
2420 libraries for each of the hardware multiply formats.
2421 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2423 * config/msp430/lib2mul.c: Likewise.
2424 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2425 Add rules to build hardware multiply libraries.
2426 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2427 __mspabi_divul function.
2428 (__mspabi_divllu): New stub function.
2430 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
2432 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2433 fixup values if saved GOT address doesn't match runtime address.
2434 (fixup_branch_offset): Reorder list.
2436 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2438 * Makefile.in (VTV_CFLAGS): New variable.
2439 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2440 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2441 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2442 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2443 to extra_parts if $enable_vtable_verify = yes.
2445 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2448 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2449 (write): ...this and fix the return type.
2451 2015-11-19 DJ Delorie <dj@redhat.com>
2453 * config/msp430/lib2hw_mul.S: Fix alignment.
2455 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2457 * config/nvptx/reduction.c: New.
2458 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2460 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
2462 * config/rs6000/on_exit.c: New file.
2463 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2464 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2466 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2468 * config/arc/dp-hack.h: Add support for ARCHS.
2469 * config/arc/ieee-754/divdf3.S: Likewise.
2470 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2471 * config/arc/ieee-754/muldf3.S: Likewise.
2472 * config/arc/ieee-754/mulsf3.S: Likewise
2473 * config/arc/lib1funcs.S: Likewise
2474 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2476 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2478 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2479 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2482 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2484 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2486 * config/ia64/crtend.S: Likewise.
2488 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2490 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2491 __CHAR_BIT__ instead of BITS_PER_UNIT.
2492 * fixed-bit.h: Likewise.
2493 * fp-bit.h: Likewise.
2494 * libgcc2.c (__popcountSI2): Likewise.
2495 (__popcountDI2): Likewise.
2496 * libgcc2.h: Likewise.
2497 * libgcov.h: Likewise.
2499 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
2501 * config/rs6000/atexit.c: New file.
2502 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2503 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2504 * config/rs6000/cxa_finalize.c
2505 (catomic_compare_and_exchange_bool_acq): Negate return value.
2507 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2509 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2510 (processor_subtypes): Add znver1.
2511 (get_amd_cpu): Detect znver1.
2513 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2515 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2516 Include crtfastmath.o.
2518 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2521 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
2523 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2525 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2526 * config/rl78/divmodsi.S: Update return register to r8.
2527 * config/rl78/divmodhi.S: Update return register to r8,r9.
2528 Branch to main_loop_done_himode to pop registers before return.
2530 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2532 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2533 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2535 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2537 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2539 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2541 * config.host (xtensa*-*-uclinux*): New configuration.
2543 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2545 * config/i386/cpuinfo.c (processor_features): Add
2546 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2548 2015-09-28 Joseph Myers <joseph@codesourcery.com>
2550 * soft-fp/adddf3.c: Update from glibc.
2551 * soft-fp/addsf3.c: Likewise.
2552 * soft-fp/addtf3.c: Likewise.
2553 * soft-fp/divdf3.c: Likewise.
2554 * soft-fp/divsf3.c: Likewise.
2555 * soft-fp/divtf3.c: Likewise.
2556 * soft-fp/double.h: Likewise.
2557 * soft-fp/eqdf2.c: Likewise.
2558 * soft-fp/eqsf2.c: Likewise.
2559 * soft-fp/eqtf2.c: Likewise.
2560 * soft-fp/extenddftf2.c: Likewise.
2561 * soft-fp/extended.h: Likewise.
2562 * soft-fp/extendsfdf2.c: Likewise.
2563 * soft-fp/extendsftf2.c: Likewise.
2564 * soft-fp/extendxftf2.c: Likewise.
2565 * soft-fp/fixdfdi.c: Likewise.
2566 * soft-fp/fixdfsi.c: Likewise.
2567 * soft-fp/fixdfti.c: Likewise.
2568 * soft-fp/fixsfdi.c: Likewise.
2569 * soft-fp/fixsfsi.c: Likewise.
2570 * soft-fp/fixsfti.c: Likewise.
2571 * soft-fp/fixtfdi.c: Likewise.
2572 * soft-fp/fixtfsi.c: Likewise.
2573 * soft-fp/fixtfti.c: Likewise.
2574 * soft-fp/fixunsdfdi.c: Likewise.
2575 * soft-fp/fixunsdfsi.c: Likewise.
2576 * soft-fp/fixunsdfti.c: Likewise.
2577 * soft-fp/fixunssfdi.c: Likewise.
2578 * soft-fp/fixunssfsi.c: Likewise.
2579 * soft-fp/fixunssfti.c: Likewise.
2580 * soft-fp/fixunstfdi.c: Likewise.
2581 * soft-fp/fixunstfsi.c: Likewise.
2582 * soft-fp/fixunstfti.c: Likewise.
2583 * soft-fp/floatdidf.c: Likewise.
2584 * soft-fp/floatdisf.c: Likewise.
2585 * soft-fp/floatditf.c: Likewise.
2586 * soft-fp/floatsidf.c: Likewise.
2587 * soft-fp/floatsisf.c: Likewise.
2588 * soft-fp/floatsitf.c: Likewise.
2589 * soft-fp/floattidf.c: Likewise.
2590 * soft-fp/floattisf.c: Likewise.
2591 * soft-fp/floattitf.c: Likewise.
2592 * soft-fp/floatundidf.c: Likewise.
2593 * soft-fp/floatundisf.c: Likewise.
2594 * soft-fp/floatunditf.c: Likewise.
2595 * soft-fp/floatunsidf.c: Likewise.
2596 * soft-fp/floatunsisf.c: Likewise.
2597 * soft-fp/floatunsitf.c: Likewise.
2598 * soft-fp/floatuntidf.c: Likewise.
2599 * soft-fp/floatuntisf.c: Likewise.
2600 * soft-fp/floatuntitf.c: Likewise.
2601 * soft-fp/gedf2.c: Likewise.
2602 * soft-fp/gesf2.c: Likewise.
2603 * soft-fp/getf2.c: Likewise.
2604 * soft-fp/ledf2.c: Likewise.
2605 * soft-fp/lesf2.c: Likewise.
2606 * soft-fp/letf2.c: Likewise.
2607 * soft-fp/muldf3.c: Likewise.
2608 * soft-fp/mulsf3.c: Likewise.
2609 * soft-fp/multf3.c: Likewise.
2610 * soft-fp/negdf2.c: Likewise.
2611 * soft-fp/negsf2.c: Likewise.
2612 * soft-fp/negtf2.c: Likewise.
2613 * soft-fp/op-1.h: Likewise.
2614 * soft-fp/op-2.h: Likewise.
2615 * soft-fp/op-4.h: Likewise.
2616 * soft-fp/op-8.h: Likewise.
2617 * soft-fp/op-common.h: Likewise.
2618 * soft-fp/quad.h: Likewise.
2619 * soft-fp/single.h: Likewise.
2620 * soft-fp/soft-fp.h: Likewise.
2621 * soft-fp/subdf3.c: Likewise.
2622 * soft-fp/subsf3.c: Likewise.
2623 * soft-fp/subtf3.c: Likewise.
2624 * soft-fp/truncdfsf2.c: Likewise.
2625 * soft-fp/trunctfdf2.c: Likewise.
2626 * soft-fp/trunctfsf2.c: Likewise.
2627 * soft-fp/trunctfxf2.c: Likewise.
2628 * soft-fp/unorddf2.c: Likewise.
2629 * soft-fp/unordsf2.c: Likewise.
2630 * soft-fp/unordtf2.c: Likewise.
2632 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
2635 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2637 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2639 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2640 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2641 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2643 (internal_mcount): Likewise.
2644 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2645 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2647 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2649 * configure.ac (libgcc_cv_solaris_crts): New test.
2650 * configure: Regenerate.
2651 * config.in: Regenerate.
2652 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2653 * config/gmon-sol2.c: Rename to ...
2654 * config/sol2/gmon.c: ... this.
2655 Include auto-target.h.
2656 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2657 * config/t-sol2: Rename to ...
2658 * config/sol2/t-sol2: ... this.
2659 (gmon.o): Reflect renaming.
2660 (crtp.o, crtpg.o): New rules.
2661 * config.host (*-*-solaris2*): Reflect renaming.
2662 Use system CRTs if present.
2663 Remove default CRT case.
2665 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
2667 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2668 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2670 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2671 (__sync_val_compare_and_swap_##WIDTH): Likewise.
2672 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2673 (__sync_lock_test_and_set_##WIDTH): Likewise.
2674 (__sync_lock_release_##WIDTH): Likewise.
2675 (__sync_fetch_and_##OP##_4): Change result to match type of
2677 (__sync_##OP##_and_fetch_4): Likewise.
2678 (__sync_val_compare_and_swap_4): Likewise.
2679 (__sync_bool_compare_and_swap_4): likewise.
2680 (__sync_lock_test_and_set_4): Likewise.
2681 (__sync_lock_release_4): Likewise.
2682 (FETCH_AND_OP_2): Add long long variants.
2683 (OP_AND_FETCH_2): Likewise.
2684 (COMPARE_AND_SWAP_2 ): Likewise.
2685 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2686 (SYNC_LOCK_RELEASE_2): Likewise.
2687 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2689 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
2691 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2692 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2693 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2694 (get_available_features): Habdle new features.
2696 2015-09-21 James Bowman <james.bowman@ftdichip.com>
2698 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2699 memory layout. Deal correctly with BSS region larger than 32K.
2700 Handle a watchdog reset like a power-on reset. Clean up unused
2703 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
2704 David Edelsohn <dje.gcc@gmail.com>
2706 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2707 * config/rs6000/crtdbase.S: New file.
2708 * config/rs6000/t-aix-cxa: Build crtdbase.o.
2710 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
2712 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2713 Add support for call0 ABI.
2715 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
2717 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2719 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2721 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2722 (__GTHREAD_HAS_COND): Likewise.
2723 (__gthread_t): Likewise.
2724 (__gthread_cond_t): Likewise.
2725 (__gthread_time_t): Likewise.
2726 (__GTHREAD_MUTEX_INIT): Likewise.
2727 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2728 (__GTHREAD_COND_INIT): Likewise.
2729 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2730 (__GTHREAD_TIME_INIT): Likewise.
2731 (__gthread_create): Likewise.
2732 (__gthread_join): Likewise.
2733 (__gthread_detach): Likewise.
2734 (__gthread_equal): Likewise.
2735 (__gthread_self): Likewise.
2736 (__gthread_yield): Likewise.
2737 (__gthread_cond_broadcast): Likewise.
2738 (__gthread_cond_signal): Likewise.
2739 (__gthread_cond_wait): Likewise.
2740 (__gthread_cond_timedwait): Likewise.
2741 (__gthread_cond_wait_recursive): Likewise.
2742 (__gthread_cond_destroy): Likewise.
2743 (rtems_gxx_once): Delete.
2744 (rtems_gxx_key_create): Likewise.
2745 (rtems_gxx_key_delete): Likewise.
2746 (rtems_gxx_getspecific): Likewise.
2747 (rtems_gxx_setspecific): Likewise.
2748 (rtems_gxx_mutex_init): Likewise.
2749 (rtems_gxx_mutex_destroy): Likewise.
2750 (rtems_gxx_mutex_lock): Likewise.
2751 (rtems_gxx_mutex_trylock): Likewise.
2752 (rtems_gxx_mutex_unlock): Likewise.
2753 (rtems_gxx_recursive_mutex_init): Likewise.
2754 (rtems_gxx_recursive_mutex_lock): Likewise.
2755 (rtems_gxx_recursive_mutex_trylock): Likewise.
2756 (rtems_gxx_recursive_mutex_unlock): Likewise.
2757 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2758 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2759 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2760 (__gthread_once): Likewise.
2761 (__gthread_key_create): Likewise.
2762 (__gthread_key_delete): Likewise.
2763 (__gthread_getspecific): Likewise.
2764 (__gthread_setspecific): Likewise.
2765 (__gthread_key_t): Use <pthread.h> type.
2766 (__gthread_once_t): Likewise
2767 (__gthread_mutex_t): Use <sys/lock.h> type.
2768 (__gthread_recursive_mutex_t): Likewise
2769 (__gthread_mutex_lock): Use <sys/lock.h> function.
2770 (__gthread_mutex_trylock): Likewise.
2771 (__gthread_mutex_timedlock): Likewise.
2772 (__gthread_mutex_unlock): Likewise.
2773 (__gthread_mutex_destroy): Likewise.
2774 (__gthread_recursive_mutex_lock): Likewise.
2775 (__gthread_recursive_mutex_trylock): Likewise.
2776 (__gthread_recursive_mutex_timedlock): Likewise.
2777 (__gthread_recursive_mutex_unlock): Likewise.
2778 (__gthread_recursive_mutex_destroy): Likewise.
2780 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2782 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2783 context->sp instead of context->cfa.
2785 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2787 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2788 with unwind-dw2-fde-dip.
2790 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2792 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2793 CALL12 followed by series of ENTRY to spill windowed registers.
2794 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2795 instead of making linux spill syscall.
2797 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
2799 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2800 (get_intel_cpu): Likewise.
2802 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
2804 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2805 (get_intel_cpu): Add Knights Landing support.
2807 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
2810 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2811 (get_available_features): Handle FEATURE_PCLMUL.
2813 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
2815 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2818 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
2821 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2822 (get_available_features): Handle FEATURE_AES.
2824 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
2826 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2827 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2829 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
2831 * offloadstuff.c: Constify host data.
2833 2015-07-17 Jan Beulich <jbeulich@suse.com>
2835 * config/t-softfp: Split up "else ifneq".
2837 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
2838 Cesar Philippidis <cesar@codesourcery.com>
2839 Chung-Lin Tang <cltang@codesourcery.com>
2841 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2842 for __nios2_arch__ level.
2844 2015-07-13 John Marino <gnugcc@marino.st>
2846 * config/i386/t-dragonfly: New.
2848 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
2850 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2851 better match light-weight syscall argument order.
2852 (__kernel_cmpxchg2): Likewise.
2855 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
2857 * config.host: Support i[34567]86-*-elfiamcu target.
2858 * config/t-softfp-sfdftf: New file.
2859 * config/i386/32/t-iamcu: Likewise.
2860 * configure: Regenerated.
2862 2015-06-23 James Lemke <jwlemke@codesourcery.com>
2865 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2867 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
2869 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2871 2015-05-27 John Marino <gnugcc@marino.st>
2873 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2875 * config/i386/freebsd-unwind.h: New.
2877 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
2879 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2880 i386/t-crtfm to tmake_file.
2881 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2882 (set_fast_math): Use set_fast_math_sse for SSE targets.
2883 * config/i386/t-crtfm: Remove.
2885 2015-05-21 Alan Modra <amodra@gmail.com>
2888 * config/rs6000/morestack.S: Remove ".abiversion 1".
2890 2015-05-20 Alan Modra <amodra@gmail.com>
2892 * config/rs6000/morestack.S: New.
2893 * config/rs6000/t-stack-rs6000: New.
2894 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2896 * generic-morestack.c: Don't build for powerpc 32-bit.
2898 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
2900 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2901 Remove useless endif/ifneq ($(enable_shared),yes) pair.
2903 2015-05-16 James Bowman <james.bowman@ftdichip.com>
2905 * config.host: FT32 target added.
2906 * config/ft32/*: New files for FT32 target.
2908 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
2910 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2912 * config/arm/ieee754-df.S: Add CFI directives.
2913 * config/arm/ieee754-sf.S: Add CFI directives.
2915 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
2917 * configure.ac: Include config/sjlj.m4.
2918 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2919 * config.in: Regenerate.
2920 * configure: Likewise.
2921 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2923 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
2925 * libgcov-util.c: Add space between string literal and macro name.
2927 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
2928 Chris Jones <chrisj@nvidia.com>
2929 Joshua Conner <jconner@nvidia.com>
2931 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
2932 (arm*-*-uclinux*): Likewise.
2933 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
2934 * config/arm/crtfastmath.c: New file.
2936 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
2938 * Makefile.in (real_host_noncanonical): New variable.
2939 (libsubdir): Use it.
2940 * configure.ac (real_host_noncanonical): Compute. Remove special
2941 case for intelmicemul.
2942 * configure: Regenerate.
2944 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
2946 * config/frv/elf-lib.h: New file.
2947 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
2948 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
2951 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
2953 * config/frv/frvbengin.c: Do not include defaults.h
2954 * config/frv/frvend.c: Ditto.
2956 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
2958 * config.host: Add h8300-*-linux
2959 * config/h8300/t-linux: New file.
2960 * config/h8300/lib1funs.s: Change symbol prefix.
2961 * config/h8300/sfp-machine.h: 64bit double support.
2963 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
2964 Szabolcs Nagy <szabolcs.nagy@arm.com>
2966 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
2967 Linux if target provides dl_iterate_phdr.
2969 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
2972 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
2973 * config/i386/cpuinfo.c (__cpu_model): Initialize.
2974 (__cpu_indicator_init@GCC_4.8.0): New.
2975 (__cpu_model@GCC_4.8.0): Likewise.
2976 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
2979 2015-04-16 Nick Clifton <nickc@redhat.com>
2981 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
2982 and __modhi3 functions.
2983 * config/rl78/divmodso.S: Add G14 and G13 versions of the
2984 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
2986 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
2988 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
2989 do-while loop as macro body to avoid warnings.
2991 2015-04-10 Jakub Jelinek <jakub@redhat.com>
2992 Iain Sandoe <iain@codesourcery.com>
2995 * configure: Regenerate.
2997 2015-04-07 Jakub Jelinek <jakub@redhat.com>
2998 Iain Sandoe <iain@codesourcery.com>
3001 * configure: Regenerate.
3003 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3005 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3007 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
3009 Implement call0 ABI for xtensa
3010 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3011 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3012 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3013 use ret in call0 ABI.
3014 * config/xtensa/t-windowed: New file.
3015 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3016 * libgcc/configure: Regenerated.
3017 * libgcc/configure.ac: Check if xtensa target is configured for
3018 windowed ABI and thus needs to use custom unwind code.
3020 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
3023 * gthr-single.h: Use __unused__ attribute instead of unused.
3024 * config/gthr-vxworks.h: Likewise.
3025 * config/i386/gthr-win32.h: Likewise.
3027 2015-02-27 Kai Tietz <ktietz@redhat.com>
3030 * config.in: Regenerated.
3031 * configure: Likewise.
3032 * configure.ac (AC_HEADER_STDC): Added explicit.
3033 (AC_CHECK_HEADERS): Check for default headers plus
3035 * libgcov-util.c (gcov_read_profile_dir): Disable use
3036 of ftw-function, if header is not found.
3037 (ftw_read_file): Likewise.
3039 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3042 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3045 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3047 * config/arm/bpabi.S (test_div_by_zero): Make label names
3048 consistent between thumb2 and arm mode cases. Separate the
3049 signed comparison on the high word of the numerator from the
3050 unsigned comparison on the low word.
3051 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3054 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3056 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3058 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3060 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3062 PR gcov-profile/61889
3063 * libgcov-driver-system.c: undefine clashing macro for mkdir.
3065 2015-02-02 Nick Clifton <nickc@redhat.com>
3067 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3068 rounding up the fraction.
3070 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
3072 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3073 oldval and newval to const void *. Fix typo.
3074 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3075 (FETCH_AND_OP_WORD): Likewise.
3076 (OP_AND_FETCH_WORD): Likewise.
3077 (COMPARE_AND_SWAP_2): Likewise.
3078 (__sync_val_compare_and_swap_4): Likewise.
3079 (__sync_lock_test_and_set_4): Likewise.
3080 (SYNC_LOCK_RELEASE_2): Likewise.
3081 Remove support for long long atomic operations.
3083 2015-01-27 Caroline Tice <cmtice@google.com>
3085 Committing VTV Cywin/Ming patch for Patrick Wollgast
3086 * Makefile.in: Move rules to build vtv_*.o out of the check
3087 for CUSTOM_CRTSTUFF.
3088 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3089 i[34567]86-*-mingw*)
3090 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3091 enable_vtable_verify.
3093 2015-01-27 Nick Clifton <nickc@redhat.com>
3095 * config/rl78/cmpsi2.S: Use function start and end macros.
3096 (__gcc_bcmp): New function.
3097 * config/rl78/lshrsi3.S: Use function start and end macros.
3098 * config/rl78/mulsi3.S: Add support for G10.
3099 (__mulqi3): New function for G10.
3100 * config/rl78/signbit.S: Use function start and end macros.
3101 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3103 (LIB2FUNCS_EXCLUDE): Define.
3104 (LIB2FUNCS_ST): Define.
3105 * config/rl78/trampoline.S: Use function start and end macros.
3106 * config/rl78/vregs.h (START_FUNC): New macro.
3107 (START_ANOTHER_FUNC): New macro.
3108 (END_FUNC): New macro.
3109 (END_ANOTHER_FUNC): New macro.
3110 * config/rl78/bit-count.S: New file. Contains assembler
3111 implementations of the bit counting functions: ___clzhi2,
3112 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3113 __paritysi2, __popcounthi2 and __popcountsi2.
3114 * config/rl78/fpbit-sf.S: New file. Contains assembler
3115 implementationas of the math functions: __negsf2, __cmpsf2,
3116 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3117 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3118 * config/rl78/fpmath-sf.S: New file. Contains assembler
3119 implementations of the math functions: __subsf3, __addsf3,
3120 __mulsf3 and __divsf3
3122 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3124 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3125 Add i386/elf-lib.h to tm_file.
3126 * config/i386/elf-lib.h: Fix comment.
3127 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3128 && __sun__ && __svr4__]: Remove workaround.
3130 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3132 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3134 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3136 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3138 * config/i386/cpuinfo.c (processor_subtypes): Add
3139 INTEL_COREI7_BROADWELL.
3140 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3143 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
3145 * config/i386/elf-lib.h: New file.
3146 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3147 Wrap definition in #ifdef __i386__.
3148 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3149 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3150 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3151 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3154 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3156 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3157 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3159 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3161 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3162 Update rt_sigframe format and address for current Nios II
3165 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3167 * config.host (arm*-*-freebsd*): Add new configuration for
3169 * config/arm/freebsd-atomic.c: New file.
3170 * config/arm/t-freebsd: Likewise.
3171 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3172 'PC-relative indirect' OS's.
3174 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3176 * config.host: Add Visium support.
3177 * config/visium: New directory.
3179 2015-01-05 Jakub Jelinek <jakub@redhat.com>
3181 Update copyright years.
3183 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3185 * config.host: Support mipsisa32r6 and mipsisa64r6.
3186 * config/mips/mips16.S: Do not build for R6.
3188 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3190 * config/sh/crt.h: New.
3191 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3193 * config/sh/crt1.S: Likewise.
3195 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
3198 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3199 func_ptr *dtor_list temporary variable to avoid "array subscript
3200 is above array bounds" warnings.
3202 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
3204 * Makefile.in (with_aix_soname): Define.
3205 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3206 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3207 * configure: Recreate.
3209 2014-12-05 Olivier Hainque <hainque@adacore.com>
3211 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3212 now provided by defaults.h.
3214 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3217 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3218 whether it's defined.
3220 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3222 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3223 * config/i386/cpuinfo.c (get_available_features): Detect it.
3225 2014-11-27 Tony Wang <tony.wang@arm.com>
3227 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3228 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3229 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3231 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3233 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3235 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
3237 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3240 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3241 John David Anglin <danglin@gcc.gnu.org>
3243 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3244 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3245 (OP_AND_FETCH_2): Likewise.
3246 (COMPARE_AND_SWAP_2): Likewise.
3247 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3248 (SYNC_LOCK_RELEASE_2): Likewise.
3249 (SUBWORD_SYNC_OP): Remove.
3250 (SUBWORD_VAL_CAS): Likewise.
3251 (SUBWORD_BOOL_CAS): Likewise.
3252 (FETCH_AND_OP_WORD): Update.
3253 Consistently use signed types.
3255 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3256 Thomas Schwinge <thomas@codesourcery.com>
3257 Ilya Verbin <ilya.verbin@intel.com>
3258 Andrey Turetskiy <andrey.turetskiy@intel.com>
3260 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3261 (crtoffloadend$(objext)): Likewise.
3262 * configure: Regenerate.
3263 * configure.ac (accel_dir_suffix): Compute new variable.
3264 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3265 if enable_offload_targets is not empty.
3266 * offloadstuff.c: New file.
3268 2014-11-13 Nick Clifton <nickc@redhat.com>
3270 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3271 Use START_FUNC and END_FUNC macros to enable linker garbage
3273 * config/rl78/divmodqi.S: Likewise.
3274 * config/rl78/divmodsi.S: Likewise.
3275 * config/rl78/mulsi3.S: Likewise.
3276 * config/rl78/lib2div.c: Remove G10 functions.
3277 * config/rl78/lib2muls.c: Likewise.
3278 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3279 * config/rl78/vregs.h (START_FUNC): New macro.
3280 (END_FUNC): New macro.
3282 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3284 * config/mips/mips16.S: Set .module when supported. Update O32
3285 FP64 calling convention and use for FPXX when possible. Add FPXX
3286 calling convention fallback case.
3288 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3290 * config.host: Handle nvptx-*-*.
3291 * shared-object.mk (as-flags-$o): Define.
3292 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3293 -xassembler-with-cpp.
3294 * static-object.mk: Identical changes.
3295 * config/nvptx/t-nvptx: New file.
3296 * config/nvptx/crt0.s: New file.
3297 * config/nvptx/free.asm: New file.
3298 * config/nvptx/malloc.asm: New file.
3299 * config/nvptx/realloc.c: New file.
3301 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3303 * Makefile.in (libgcc.map.in): New target.
3304 (libgcc.map): Use libgcc.map.in.
3305 * config/t-softfp (softfp_compat): New variable to be set by
3307 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3309 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3311 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3312 that use compat symbols and disable all code unless [SHARED].
3313 * config/t-softfp-compat: New file.
3314 * find-symver.awk: New file.
3315 * configure.ac (--with-glibc-version): New configure option.
3316 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3317 * configure: Regenerate.
3318 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3319 soft-float and e500.
3321 2014-10-29 Joseph Myers <joseph@codesourcery.com>
3323 * config/t-hardfp (hardfp_exclusions): Document new variable for
3325 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3326 * config/t-softfp (softfp_extras): Document new variable for user
3328 (softfp_func_list): Add functions from $(softfp_extras).
3329 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3330 * config.host (powerpc*-*-linux*): For e500v1, use
3331 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3332 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3333 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3335 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
3337 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3338 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3339 memory read accesses are ok.
3341 2014-10-25 Joseph Myers <joseph@codesourcery.com>
3343 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3344 * configure: Regenerate.
3345 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3346 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3347 of soft-fp for 32-bit classic hard float. Do not use
3348 t-softfp-excl for soft float.
3350 2014-10-22 Joseph Myers <joseph@codesourcery.com>
3352 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3354 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3357 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
3359 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3360 introduced with 2014-10-21 trunk r216525.
3362 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
3363 Vidya Praveen <vidya.praveen@atmel.com>
3364 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3365 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3366 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
3368 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3371 Updated library functions for AVRTINY arch.
3372 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3373 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3374 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3375 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3377 (__mulsi3_helper): Update stack, preserve callee saved regs and
3378 argument from stack. Restore callee save registers.
3379 (__mulpsi3): Likewise.
3380 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3381 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
3382 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
3384 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3385 (__do_copy_data): Added new definition for AVRTINY.
3386 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3387 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3388 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3389 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3390 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3392 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
3395 Fix broken long multiplication on tiny arch.
3397 2014-10-09 Joseph Myers <joseph@codesourcery.com>
3399 * soft-fp/double.h: Update from glibc.
3400 * soft-fp/eqdf2.c: Likewise.
3401 * soft-fp/eqsf2.c: Likewise.
3402 * soft-fp/eqtf2.c: Likewise.
3403 * soft-fp/extenddftf2.c: Likewise.
3404 * soft-fp/extended.h: Likewise.
3405 * soft-fp/extendsfdf2.c: Likewise.
3406 * soft-fp/extendsftf2.c: Likewise.
3407 * soft-fp/extendxftf2.c: Likewise.
3408 * soft-fp/gedf2.c: Likewise.
3409 * soft-fp/gesf2.c: Likewise.
3410 * soft-fp/getf2.c: Likewise.
3411 * soft-fp/ledf2.c: Likewise.
3412 * soft-fp/lesf2.c: Likewise.
3413 * soft-fp/letf2.c: Likewise.
3414 * soft-fp/op-1.h: Likewise.
3415 * soft-fp/op-2.h: Likewise.
3416 * soft-fp/op-4.h: Likewise.
3417 * soft-fp/op-8.h: Likewise.
3418 * soft-fp/op-common.h: Likewise.
3419 * soft-fp/quad.h: Likewise.
3420 * soft-fp/single.h: Likewise.
3421 * soft-fp/soft-fp.h: Likewise.
3422 * soft-fp/unorddf2.c: Likewise.
3423 * soft-fp/unordsf2.c: Likewise.
3424 * soft-fp/unordtf2.c: Likewise.
3425 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3426 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3427 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3428 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3429 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3430 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3431 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3432 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3433 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3434 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3436 2014-10-08 Rong Xu <xur@google.com>
3438 * libgcov-util.c (read_gcda_file): Fix format.
3439 (find_match_gcov_info): Ditto.
3440 (calculate_2_entries): New.
3441 (compute_one_gcov): Ditto.
3442 (gcov_info_count_all_cold): Ditto.
3443 (gcov_info_count_all_zero): Ditto.
3444 (extract_file_basename): Ditto.
3445 (get_file_basename): Ditto.
3447 (matched_gcov_info): Ditto.
3448 (calculate_overlap): Ditto.
3449 (gcov_profile_overlap): Ditto.
3450 * libgcov-driver.c (compute_summary): Make
3451 it avavilable for external calls.
3453 2014-10-06 Rong Xu <xur@google.com>
3455 * Makefile.in: Ditto.
3456 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3457 (gcov_sort_icall_topn_counter): Ditto.
3458 (gcov_sort_topn_counter_arrays): Ditto.
3459 (dump_one_gcov): Sort indirect_call topn counters.
3460 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3462 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3464 (__gcov_indirect_call_topn_profiler): New profiler function.
3465 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3466 * libgcov.h: New decls.
3468 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3470 * config.host: Remove support for score-*.
3472 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3474 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3475 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3476 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3477 __LIBGCC_XF_MANT_DIG__.
3478 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3479 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3480 __LIBGCC_TF_MANT_DIG__.
3481 * libgcc2.c (NOTRUNC): Define in terms of
3482 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3483 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3485 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3488 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3491 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
3493 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3494 override USE_PT_GNU_EH_FRAME.
3495 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3496 check USE_EH_FRAME_REGISTRY_ALWAYS against
3497 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3498 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3499 variable for substituted force_explicit_eh_registry.
3500 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3501 * configure.ac (explicit-exception-frame-registration):
3503 * configure: Regenerate.
3505 2014-09-19 Olivier Hainque <hainque@adacore.com>
3507 * config.host (powerpc-wrs-vxworksmils): New configuration,
3510 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3512 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3514 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3516 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3517 bits not set bits as indicating trapping exceptions.
3519 2014-09-17 Nathan sidwell <nathan@acm.org>
3521 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3522 (LIBGCOV_DRIVER): ... here.
3523 * libgcov-driver.c (gcov_master): New.
3524 (gcov_exit): Remove from master chain.
3525 (__gcov_init): Add to master chain if version compatible. Don't
3527 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3528 (gcov_reset_int): Clear master chain, if compatible.
3529 (gcov_dump_int): New internal interface. Dump master chain, if
3531 (gcov_dump): Alias for gcov_dump_int.
3532 * libgcov.h (struct gcov_root): Add next and prev fields.
3533 (struct gcov_master): New struct.
3534 (__gcov_master): New.
3535 (gcov_dump_int): Declare.
3537 2014-09-17 Olivier Hainque <hainque@adacore.com>
3539 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3540 and crtbegin.o + crtend.o to extra_parts.
3542 2014-09-12 Joseph Myers <joseph@codesourcery.com>
3544 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3545 __LIBGCC_HAS_SF_MODE__.
3546 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3547 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3548 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3549 * config/libbid/bid_gcc_intrinsics.h
3550 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3551 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3552 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3553 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3554 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3555 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3557 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
3560 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3561 and R24 as needed. Make work for all devices and .text locations.
3562 (__do_global_ctors, __do_global_dtors): Use word addresses.
3563 (__tablejump__, __tablejump_elpm__): Remove functions.
3564 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3566 (XICALL, XIJMP): New macros.
3568 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3569 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3571 * config.host (aarch64*): Include crtfastmath.o and
3573 * config/aarch64/crtfastmath.c: New file.
3575 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3577 * config.host: Remove picochip support.
3578 * config/picochip/adddi3.S: Remove.
3579 * config/picochip/ashlsi3.S: Remove.
3580 * config/picochip/ashlsi3.c: Remove.
3581 * config/picochip/ashrsi3.S: Remove.
3582 * config/picochip/ashrsi3.c: Remove.
3583 * config/picochip/clzsi2.S: Remove.
3584 * config/picochip/cmpsi2.S: Remove.
3585 * config/picochip/divmod15.S: Remove.
3586 * config/picochip/divmodhi4.S: Remove.
3587 * config/picochip/divmodsi4.S: Remove.
3588 * config/picochip/lib1funcs.S: Remove.
3589 * config/picochip/longjmp.S: Remove.
3590 * config/picochip/lshrsi3.S: Remove.
3591 * config/picochip/lshrsi3.c: Remove.
3592 * config/picochip/parityhi2.S: Remove.
3593 * config/picochip/popcounthi2.S: Remove.
3594 * config/picochip/setjmp.S: Remove.
3595 * config/picochip/subdi3.S: Remove.
3596 * config/picochip/t-picochip: Remove.
3597 * config/picochip/ucmpsi2.S: Remove.
3598 * config/picochip/udivmodhi4.S: Remove.
3599 * config/picochip/udivmodsi4.S: Remove.
3601 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3603 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3604 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3605 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3606 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3607 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3608 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3609 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3610 defined and LIBGCC2_HAS_DF_MODE is defined.
3611 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3612 defined and LIBGCC2_HAS_XF_MODE is defined.
3613 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3614 defined and LIBGCC2_HAS_TF_MODE is defined.
3616 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3618 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3619 and ROUND_TOWARDS_ZERO conditionals.
3621 2014-09-07 Nathan sidwell <nathan@acm.org>
3623 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3624 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3626 2014-09-05 Joseph Myers <joseph@codesourcery.com>
3628 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3629 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3630 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3631 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3632 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3633 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3634 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3635 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3636 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3637 (DWARF_FRAME_REGISTERS): Change all uses to
3638 __LIBGCC_DWARF_FRAME_REGISTERS__.
3639 (EH_RETURN_STACKADJ_RTX): Change all uses to
3640 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3641 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3642 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3643 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3644 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3645 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3646 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3647 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3648 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3649 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3650 __LIBGCC_STACK_POINTER_REGNUM__.
3651 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3652 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3653 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3654 to __LIBGCC_STACK_POINTER_REGNUM__.
3655 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3656 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3657 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3658 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3659 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3660 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3661 (STACK_POINTER_REGNUM): Change all uses to
3662 __LIBGCC_STACK_POINTER_REGNUM__.
3663 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3664 use to __LIBGCC_STACK_POINTER_REGNUM__.
3665 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3666 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3667 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3668 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3669 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3670 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3671 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3672 to __LIBGCC_STACK_POINTER_REGNUM__.
3673 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3674 Remove conditional definition.
3675 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3676 __LIBGCC_TEXT_SECTION_ASM_OP__.
3677 (EH_FRAME_SECTION_NAME): Change all uses to
3678 __LIBGCC_EH_FRAME_SECTION_NAME__.
3679 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3680 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3681 (CTORS_SECTION_ASM_OP): Change all uses to
3682 __LIBGCC_CTORS_SECTION_ASM_OP__.
3683 (DTORS_SECTION_ASM_OP): Change all uses to
3684 __LIBGCC_DTORS_SECTION_ASM_OP__.
3685 (JCR_SECTION_NAME): Change all uses to
3686 __LIBGCC_JCR_SECTION_NAME__.
3687 (INIT_SECTION_ASM_OP): Change all uses to
3688 __LIBGCC_INIT_SECTION_ASM_OP__.
3689 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3690 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3691 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3692 __LIBGCC_STACK_GROWS_DOWNWARD__.
3693 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3694 __LIBGCC_INIT_SECTION_ASM_OP__.
3695 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3696 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3697 (EH_FRAME_SECTION_NAME): Change all uses to
3698 __LIBGCC_EH_FRAME_SECTION_NAME__.
3699 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3700 definitions. Change all uses to
3701 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3702 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3703 __LIBGCC_STACK_GROWS_DOWNWARD__.
3704 (DWARF_FRAME_REGISTERS): Change all uses to
3705 __LIBGCC_DWARF_FRAME_REGISTERS__.
3706 (EH_RETURN_STACKADJ_RTX): Change all uses to
3707 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3708 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3709 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3710 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3711 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3712 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3714 2014-09-02 Nathan sidwell <nathan@acm.org>
3716 * libgcov-interface.c (STRONG_ALIAS): New.
3717 (__gcov_flush): Call __gcov_reset_int.
3718 (__gcov_reset): Strong alias for ...
3719 (__gcov_reset_ing): ... this renamed hidden version.
3720 * libgcov.h (__gcov_reset_int): New declaration.
3722 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
3724 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3726 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3727 (__dso_handle): Define on Cygwin.
3728 * config/i386/t-cygming (crtbeginS.o): New rule.
3729 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3731 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3734 2014-08-13 Steve Ellcey <sellcey@mips.com>
3736 * crtstuff.c: Undef caddr_t.
3738 2014-08-12 Steve Ellcey <sellcey@mips.com>
3740 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
3742 2014-08-07 Nathan Sidwell <nathan@acm.org>
3744 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3745 (LIBGCOV_DRIVER): ... to here.
3746 * libgcov.h (gcov_do_dump): New #define.
3747 (struct gcov_root): New.
3748 (__gcov_root): New declaration.
3749 (__gcov_dump_one): Declare.
3750 * libgcov-driver.c (gcov_list, gcov_dump_complete,
3751 run_accounted): Delete.
3752 (gcov_compute_histogram): Add LIST argument, adjust.
3753 (compute_summary): Adjust gcov_compute_histogram call.
3754 (gcov_do_dump): Not hidden, static in libgcov.
3755 (gcov_clear): Move to interface.c.
3756 (__gcov_dump_one): New, broken out of ...
3757 (gcov_exit): ... here. Make static.
3759 (__gcov_init): Adjust.
3760 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3762 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3763 (gcov_clear): Moved from driver.c. Add LIST argument.
3764 (__gcov_reset): Adjust for changed interfaces.
3765 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3767 2014-08-04 Rohit <rohitarulraj@freescale.com>
3770 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
3771 based on change in SPE high register numbers and 3 HTM registers.
3773 2014-08-01 Nathan Sidwell <nathan@acm.org>
3775 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3776 LIBGCOV_INTERFACE): Reformat.
3777 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3779 * libgcov-interface.c: Reformat some comments.
3780 (__gcov_flush_mx): Add declaration. Tidy up definition.
3782 2014-07-31 Alan Modra <amodra@gmail.com>
3783 Peter Bergner <bergner@vnet.ibm.com>
3785 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3786 (pack_ldouble): New function.
3787 (__gcc_qadd): Use it.
3788 (__gcc_qmul): Likewise.
3789 (__gcc_qdiv): Likewise.
3790 (__gcc_qneg): Likewise.
3791 (__gcc_stoq): Likewise.
3792 (__gcc_dtoq): Likewise.
3794 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
3796 * config/s390/tpf-unwind.h: Include <stdbool.h>.
3797 (__tpf_eh_return): Add original return address as second parameter.
3798 Handle cases where unwinder routines were called directly, instead
3799 of from within the C++ library.
3801 2014-07-29 Nathan Sidwell <nathan@acm.org>
3803 * libgcov.h: Move renaming of entry points to lib gcov specific
3805 (gcov_do_dump): New rename.
3806 (gcov_rewrite): Remove inline, make HIDDEN.
3807 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3808 (gcov_exit_compute_summary): Rename to ...
3809 (compute_summary): ... here. Add LIST argument.
3810 (gcov_exit_merge_gcda): Rename to ...
3811 (merge_one_data): ... here.
3812 (gcov_exit_write_gcda): Rename to ...
3813 (write_one_data): ... here.
3814 (gcov_exit_merge_summary): Rename to ...
3815 (merge_summary): Add RUN_COUNTED argument.
3816 (gcov_exit_dump_gcov): Rename to ...
3817 (dump_one_gcov): Add RUN_COUNTED argument.
3818 (gcov_do_dump): New function, broken out of ...
3819 (gcov_exit): ... here. Call it.
3821 2014-07-27 Anthony Green <green@moxielogic.com>
3823 * config.host: Add moxiebox configuration suppport.
3825 2014-07-27 Nathan Sidwell <nathan@acm.org>
3827 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3828 (struct gcov_filename): ... here. Include buffer and max length
3830 (gcov_max_filename): Remove.
3831 (gi_filename): Remove.
3832 (gcov_exit_compute_summary): Compute max filename here.
3833 (gcov_exit_merge_gcda): Add filename parm, adjust.
3834 (gcov_exit_merge_summary): Likewise.
3835 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3836 (gcov_exit): Likewise.
3837 (__gcov_init): Don't calculate max length here.
3838 * libgcov_util.c (max_filename_len): Remove.
3839 (read_gcda_file): Don't calculate max length here.
3840 (gcov_read_profile_dir): Don't propagate here.
3841 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3842 struct gcov_filename changes.
3843 (gcov_exit_open_gcda_file): Likewise.
3845 2014-07-25 Nathan Sidwell <nathan@acm.org>
3847 * libgcov-driver.c (set_gcov_dump_complete,
3848 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3849 functions polluting user's namespace.
3850 (gcov_exit): Set variable directly.
3851 (gcov_clear): Reset variable directly.
3852 * libgcov-interface.c (get_gcov_dymp_complete,
3853 reset_gov_dump_complete): Remove declarations.
3854 (__gcov_reset, __gcov_dump): Don't call them.
3856 2014-07-24 DJ Delorie <dj@redhat.com>
3858 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
3859 (__gcc_deregister_frame): Move logic to detect deregister function
3861 (__gcc_register_frame): here, so it's consistent with the register
3864 2014-07-23 Nathan Sidwell <nathan@acm.org>
3866 * libgcov-driver.c (set_gcov_list): Remove.
3867 (gcov_list): Make non-static in GCOV_TOOL.
3868 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3870 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
3872 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3873 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3874 Don't use SYNC_LOCK_RELEASE for int type.
3876 2014-07-14 Richard Biener <rguenther@suse.de>
3878 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3880 2014-07-11 Rong Xu <xur@google.com>
3882 * libgcov-util.c (gcov_max_filename): Fix declartion.
3884 2014-07-10 Rong Xu <xur@google.com>
3886 Add gcov-tool: an offline gcda profile processing tool
3888 * libgcov-driver.c (gcov_max_filename): Make available
3890 * libgcov-merge.c (__gcov_merge_add): Replace
3891 gcov_read_counter() with a Macro.
3892 (__gcov_merge_ior): Ditto.
3893 (__gcov_merge_time_profile): Ditto.
3894 (__gcov_merge_single): Ditto.
3895 (__gcov_merge_delta): Ditto.
3896 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3897 in the utility functions.
3898 (set_fn_ctrs): Utility function for reading gcda files to in-memory
3899 gcov_list object link lists.
3900 (tag_function): Ditto.
3901 (tag_blocks): Ditto.
3904 (tag_counters): Ditto.
3905 (tag_summary): Ditto.
3906 (read_gcda_finalize): Ditto.
3907 (read_gcda_file): Ditto.
3908 (ftw_read_file): Ditto.
3909 (read_profile_dir_init): Ditto.
3910 (gcov_read_profile_dir): Ditto.
3911 (gcov_read_counter_mem): Ditto.
3912 (gcov_get_merge_weight): Ditto.
3913 (merge_wrapper): A wrapper function that calls merging handler.
3914 (gcov_merge): Merge two gcov_info objects with weights.
3915 (find_match_gcov_info): Find the matched gcov_info in the list.
3916 (gcov_profile_merge): Merge two gcov_info object lists.
3917 (__gcov_add_counter_op): Process edge profile counter values.
3918 (__gcov_ior_counter_op): Process IOR profile counter values.
3919 (__gcov_delta_counter_op): Process delta profile counter values.
3920 (__gcov_single_counter_op): Process single profile counter values.
3921 (fp_scale): Callback function for float-point scaling.
3922 (int_scale): Callback function for integer fraction scaling.
3923 (gcov_profile_scale): Scaling profile counters.
3924 (gcov_profile_normalize): Normalize profile counters.
3925 * libgcov.h: Add headers and functions for gcov-tool use.
3926 (gcov_get_counter): New.
3927 (gcov_get_counter_target): Ditto.
3928 (struct gcov_info): Make the functions field mutable in gcov-tool
3931 2014-06-23 Kai Tietz <ktietz@redhat.com>
3934 * unwind-seh.c (_Unwind_GetGR): Check for proper
3936 (_Unwind_SetGR): Likewise.
3938 2014-05-22 Nick Clifton <nickc@redhat.com>
3940 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3943 2014-05-22 Teresa Johnson <tejohnson@google.com>
3945 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
3948 2014-05-20 John Marino <gnugcc@marino.st>
3950 * config.host (*-*-dragonfly*): New target.
3951 * crtstuff.c: Make dl_iterate_support generic on *bsd.
3952 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
3953 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
3954 * config/i386/dragonfly-unwind.h: New.
3956 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3959 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
3960 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
3962 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
3964 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
3967 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
3969 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
3971 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3974 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
3977 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
3979 Work around for current cygwin32 build problems.
3980 * config/i386/cygming-crtbegin.c (__register_frame_info,
3981 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
3982 functions only for 64-bit systems.
3984 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3986 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
3987 (sigill_caught, sigill_hdlr): Remove.
3989 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3991 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
3993 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3994 Solaris 9 single-threaded support.
3995 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3996 Solaris 9 single-threaded support. Add call_user_handler code
3998 (sparc_is_sighandler): Likewise.
4000 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4002 * config.host: Append t-floattodi to tmake_file depending on
4005 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4007 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
4009 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
4012 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
4013 variable to avoid "array subscript is above array bounds" warnings.
4014 Use __builtin_expect when checking *jcr_list for NULL.
4016 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4019 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4020 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4021 vtv_*.o to extra_parts if enable_vtable_verify.
4023 2014-03-06 Nick Clifton <nickc@redhat.com>
4025 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4026 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4028 2014-02-28 Joey Ye <joey.ye@arm.com>
4031 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4032 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4035 2014-02-24 Walter Lee <walt@tilera.com>
4037 * config.host: Support "tilegx*" and "tilepro*" triplets.
4038 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4039 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4041 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4042 Chung-Lin Tang <cltang@codesourcery.com>
4044 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4045 * config/nios2/crti.S: Remove .file directive.
4046 * config/nios2/crtn.S: Likewise.
4048 2014-02-18 Kai Tietz <ktietz@redhat.com>
4049 Jonathan Schleifer <js@webkeks.org>
4052 * unwind-seh.c (_GCC_specific_handler): Pass proper
4053 value to unwind-handler.
4055 2014-02-12 Joseph Myers <joseph@codesourcery.com>
4057 * soft-fp/adddf3.c: Update from glibc.
4058 * soft-fp/addsf3.c: Likewise.
4059 * soft-fp/addtf3.c: Likewise.
4060 * soft-fp/divdf3.c: Likewise.
4061 * soft-fp/divsf3.c: Likewise.
4062 * soft-fp/divtf3.c: Likewise.
4063 * soft-fp/double.h: Likewise.
4064 * soft-fp/eqdf2.c: Likewise.
4065 * soft-fp/eqsf2.c: Likewise.
4066 * soft-fp/eqtf2.c: Likewise.
4067 * soft-fp/extenddftf2.c: Likewise.
4068 * soft-fp/extended.h: Likewise.
4069 * soft-fp/extendsfdf2.c: Likewise.
4070 * soft-fp/extendsftf2.c: Likewise.
4071 * soft-fp/extendxftf2.c: Likewise.
4072 * soft-fp/fixdfdi.c: Likewise.
4073 * soft-fp/fixdfsi.c: Likewise.
4074 * soft-fp/fixdfti.c: Likewise.
4075 * soft-fp/fixsfdi.c: Likewise.
4076 * soft-fp/fixsfsi.c: Likewise.
4077 * soft-fp/fixsfti.c: Likewise.
4078 * soft-fp/fixtfdi.c: Likewise.
4079 * soft-fp/fixtfsi.c: Likewise.
4080 * soft-fp/fixtfti.c: Likewise.
4081 * soft-fp/fixunsdfdi.c: Likewise.
4082 * soft-fp/fixunsdfsi.c: Likewise.
4083 * soft-fp/fixunsdfti.c: Likewise.
4084 * soft-fp/fixunssfdi.c: Likewise.
4085 * soft-fp/fixunssfsi.c: Likewise.
4086 * soft-fp/fixunssfti.c: Likewise.
4087 * soft-fp/fixunstfdi.c: Likewise.
4088 * soft-fp/fixunstfsi.c: Likewise.
4089 * soft-fp/fixunstfti.c: Likewise.
4090 * soft-fp/floatdidf.c: Likewise.
4091 * soft-fp/floatdisf.c: Likewise.
4092 * soft-fp/floatditf.c: Likewise.
4093 * soft-fp/floatsidf.c: Likewise.
4094 * soft-fp/floatsisf.c: Likewise.
4095 * soft-fp/floatsitf.c: Likewise.
4096 * soft-fp/floattidf.c: Likewise.
4097 * soft-fp/floattisf.c: Likewise.
4098 * soft-fp/floattitf.c: Likewise.
4099 * soft-fp/floatundidf.c: Likewise.
4100 * soft-fp/floatundisf.c: Likewise.
4101 * soft-fp/floatunditf.c: Likewise.
4102 * soft-fp/floatunsidf.c: Likewise.
4103 * soft-fp/floatunsisf.c: Likewise.
4104 * soft-fp/floatunsitf.c: Likewise.
4105 * soft-fp/floatuntidf.c: Likewise.
4106 * soft-fp/floatuntisf.c: Likewise.
4107 * soft-fp/floatuntitf.c: Likewise.
4108 * soft-fp/gedf2.c: Likewise.
4109 * soft-fp/gesf2.c: Likewise.
4110 * soft-fp/getf2.c: Likewise.
4111 * soft-fp/ledf2.c: Likewise.
4112 * soft-fp/lesf2.c: Likewise.
4113 * soft-fp/letf2.c: Likewise.
4114 * soft-fp/muldf3.c: Likewise.
4115 * soft-fp/mulsf3.c: Likewise.
4116 * soft-fp/multf3.c: Likewise.
4117 * soft-fp/negdf2.c: Likewise.
4118 * soft-fp/negsf2.c: Likewise.
4119 * soft-fp/negtf2.c: Likewise.
4120 * soft-fp/op-1.h: Likewise.
4121 * soft-fp/op-2.h: Likewise.
4122 * soft-fp/op-4.h: Likewise.
4123 * soft-fp/op-8.h: Likewise.
4124 * soft-fp/op-common.h: Likewise.
4125 * soft-fp/quad.h: Likewise.
4126 * soft-fp/single.h: Likewise.
4127 * soft-fp/soft-fp.h: Likewise.
4128 * soft-fp/subdf3.c: Likewise.
4129 * soft-fp/subsf3.c: Likewise.
4130 * soft-fp/subtf3.c: Likewise.
4131 * soft-fp/truncdfsf2.c: Likewise.
4132 * soft-fp/trunctfdf2.c: Likewise.
4133 * soft-fp/trunctfsf2.c: Likewise.
4134 * soft-fp/trunctfxf2.c: Likewise.
4135 * soft-fp/unorddf2.c: Likewise.
4136 * soft-fp/unordsf2.c: Likewise.
4137 * soft-fp/unordtf2.c: Likewise.
4138 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4140 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4142 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4144 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4146 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4148 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4150 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4152 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4154 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4156 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4158 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4160 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4162 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4164 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4166 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4168 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4171 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4173 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4174 cannot be represented.
4175 * config/s390/32/_fixsfdi.c: Likewise.
4176 * config/s390/32/_fixtfdi.c: Likewise.
4177 * config/s390/32/_fixunsdfdi.c: Likewise.
4178 * config/s390/32/_fixunssfdi.c: Likewise.
4179 * config/s390/32/_fixunstfdi.c: Likewise.
4181 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4183 * configure.ac (libgcc_cv_mips_hard_float): New.
4184 * configure: Regenerate.
4185 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4186 t-softfp-sfdf for hard-float targets.
4187 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4188 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4189 (softfp_truncations, softfp_exclude_libgcc2): New.
4190 * config/t-hardfp: New file.
4191 * config/t-hardfp-sfdf: Likewise.
4192 * config/hardfp.c: Likewise.
4194 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4196 * config.host: Include t-floattodi also for s390x.
4197 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4198 * config/s390/32/_fixsfdi.c: Likewise.
4199 * config/s390/32/_fixtfdi.c: Likewise.
4200 * config/s390/32/_fixunsdfdi.c: Likewise.
4201 * config/s390/32/_fixunssfdi.c: Likewise.
4202 * config/s390/32/_fixunstfdi.c: Likewise.
4204 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4207 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4208 (install-libgcc-unwind-map-forbuild): New target.
4209 (all): Depend on install-libgcc-unwind-map-forbuild.
4210 (install-libgcc-unwind-map): New target.
4211 (install): Depend on install-libgcc-unwind-map.
4213 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4215 * config/nios2/crti.S (_init): Initialize GOT pointer from
4216 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4218 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4220 * configure.ac: Check __mips64 when setting host_address.
4221 * configure: Regenerate.
4222 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4223 mips/t-mips64 and t-softfp.
4224 (mips*-*-linux*): Don't add mips/t-tpbit.
4225 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4226 (DPBIT, DPBIT_CFLAGS): Delete.
4227 * config/mips/sfp-machine.h: New file.
4228 * config/mips/t-mips64: Likewise.
4229 * config/mips/t-softfp-tf: Likewise.
4230 * config/mips/t-tpbit: Delete.
4232 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4234 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4237 2014-01-25 Walter Lee <walt@tilera.com>
4239 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4240 config.h or system.h.
4243 2014-01-25 Walter Lee <walt@tilera.com>
4245 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4246 (post_atomic_barrier): Ditto.
4247 (__fetch_and_do): New macro.
4248 (__atomic_fetch_and_do): Use __fetch_and_do.
4249 (__sync_fetch_and_do): New macro.
4250 (__sync_fetch_and_add_4): New function.
4251 (__sync_fetch_and_sub_4): New function.
4252 (__sync_fetch_and_or_4): New function.
4253 (__sync_fetch_and_and_4): New function.
4254 (__sync_fetch_and_xor_4): New function.
4255 (__sync_fetch_and_nand_4): New function.
4256 (__sync_fetch_and_add_8): New function.
4257 (__sync_fetch_and_sub_8): New function.
4258 (__sync_fetch_and_or_8): New function.
4259 (__sync_fetch_and_and_8): New function.
4260 (__sync_fetch_and_xor_8): New function.
4261 (__sync_fetch_and_nand_8): New function.
4262 (__do_and_fetch): New macro.
4263 (__atomic_do_and_fetch): Use __do_and_fetch.
4264 (__sync_do_and_fetch): New macro.
4265 (__sync_add_and_fetch_4): New function.
4266 (__sync_sub_and_fetch_4): New function.
4267 (__sync_or_and_fetch_4): New function.
4268 (__sync_and_and_fetch_4): New function.
4269 (__sync_xor_and_fetch_4): New function.
4270 (__sync_nand_and_fetch_4): New function.
4271 (__sync_add_and_fetch_8): New function.
4272 (__sync_sub_and_fetch_8): New function.
4273 (__sync_or_and_fetch_8): New function.
4274 (__sync_and_and_fetch_8): New function.
4275 (__sync_xor_and_fetch_8): New function.
4276 (__sync_nand_and_fetch_8): New function.
4277 (__sync_exchange_methods): New macro.
4278 (__sync_val_compare_and_swap_4): New function.
4279 (__sync_bool_compare_and_swap_4): New function.
4280 (__sync_lock_test_and_test_4): New function.
4281 (__sync_val_compare_and_swap_8): New function.
4282 (__sync_bool_compare_and_swap_8): New function.
4283 (__sync_lock_test_and_test_8): New function.
4284 (__subword_cmpxchg_body): New macro.
4285 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4286 (__atomic_compare_exchange_2): Ditto.
4287 (__sync_subword_cmpxchg): New macro.
4288 (__sync_val_compare_and_swap_1): New function.
4289 (__sync_bool_compare_and_swap_1): New function.
4290 (__sync_val_compare_and_swap_2): New function.
4291 (__sync_bool_compare_and_swap_2): New function.
4292 (__atomic_subword): Rename to ...
4293 (__subword): ... New name.
4294 (__atomic_subword_fetch): Use __subword.
4295 (__sync_subword_fetch): New macro.
4296 (__sync_fetch_and_add_1): New function.
4297 (__sync_fetch_and_sub_1): New function.
4298 (__sync_fetch_and_or_1): New function.
4299 (__sync_fetch_and_and_1): New function.
4300 (__sync_fetch_and_xor_1): New function.
4301 (__sync_fetch_and_nand_1): New function.
4302 (__sync_fetch_and_add_2): New function.
4303 (__sync_fetch_and_sub_2): New function.
4304 (__sync_fetch_and_or_2): New function.
4305 (__sync_fetch_and_and_2): New function.
4306 (__sync_fetch_and_xor_2): New function.
4307 (__sync_fetch_and_nand_2): New function.
4308 (__sync_add_and_fetch_1): New function.
4309 (__sync_sub_and_fetch_1): New function.
4310 (__sync_or_and_fetch_1): New function.
4311 (__sync_and_and_fetch_1): New function.
4312 (__sync_xor_and_fetch_1): New function.
4313 (__sync_nand_and_fetch_1): New function.
4314 (__sync_add_and_fetch_2): New function.
4315 (__sync_sub_and_fetch_2): New function.
4316 (__sync_or_and_fetch_2): New function.
4317 (__sync_and_and_fetch_2): New function.
4318 (__sync_xor_and_fetch_2): New function.
4319 (__sync_nand_and_fetch_2): New function.
4320 (__atomic_subword_lock): Use __subword.
4321 (__sync_subword_lock): New macro.
4322 (__sync_lock_test_and_set_1): New function.
4323 (__sync_lock_test_and_set_2): New function.
4325 2014-01-25 Walter Lee <walt@tilera.com>
4327 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4328 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4329 (__atomic_subword): Ditto.
4331 2014-01-25 Walter Lee <walt@tilera.com>
4333 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4334 a prefix op argument.
4335 (__atomic_nand_fetch_4): Add prefix op.
4336 (__atomic_nand_fetch_8): Ditto.
4338 2014-01-21 Baruch Siach <barch@tkos.co.il>
4340 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4342 2014-01-09 Rong Xu <xur@google.com>
4344 * libgcov-driver.c (this_prg): make it local to save
4346 (gcov_exit_compute_summary): Ditto.
4347 (gcov_exit_merge_gcda): Ditto.
4348 (gcov_exit_merge_summary): Ditto.
4349 (gcov_exit_dump_gcov): Ditto.
4351 2014-01-08 Rong Xu <xur@google.com>
4353 * libgcov-driver.c: Use libgcov.h.
4354 (buffer_fn_data): Use xmalloc instead of malloc.
4355 (gcov_exit_merge_gcda): Ditto.
4356 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4357 * libgcov.h: New common header files for libgcov-*.h.
4358 * libgcov-interface.c: Use libgcov.h
4359 * libgcov-merge.c: Ditto.
4360 * libgcov-profiler.c: Ditto.
4361 * Makefile.in: Add dependence to libgcov.h
4363 2014-01-02 Joseph Myers <joseph@codesourcery.com>
4365 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4366 case of small numerator and finite nonzero result.
4368 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4370 Update copyright years
4372 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4374 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4375 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4376 config/arc/dp-hack.h, config/arc/fp-hack.h,
4377 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4378 config/arc/ieee-754/arc600-dsp/divdf3.S,
4379 config/arc/ieee-754/arc600-dsp/divsf3.S,
4380 config/arc/ieee-754/arc600-dsp/muldf3.S,
4381 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4382 config/arc/ieee-754/arc600-mul64/divdf3.S,
4383 config/arc/ieee-754/arc600-mul64/divsf3.S,
4384 config/arc/ieee-754/arc600-mul64/muldf3.S,
4385 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4386 config/arc/ieee-754/arc600/divsf3.S,
4387 config/arc/ieee-754/arc600/mulsf3.S,
4388 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4389 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4390 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4391 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4392 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4393 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4394 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4395 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4396 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4397 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4398 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4399 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4400 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4401 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4402 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4403 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4404 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4405 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4406 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4407 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4408 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4409 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4410 vtv_start_preinit.c: Use the standard form for the copyright notice.
4412 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4413 Chung-Lin Tang <cltang@codesourcery.com>
4414 Based on patches from Altera Corporation
4416 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4417 * config/nios2/lib2-nios2.h: New file.
4418 * config/nios2/lib2-divmod-hi.c: New file.
4419 * config/nios2/linux-unwind.h: New file.
4420 * config/nios2/lib2-divmod.c: New file.
4421 * config/nios2/linux-atomic.c: New file.
4422 * config/nios2/t-nios2: New file.
4423 * config/nios2/crti.asm: New file.
4424 * config/nios2/t-linux: New file.
4425 * config/nios2/lib2-divtable.c: New file.
4426 * config/nios2/lib2-mul.c: New file.
4427 * config/nios2/tramp.c: New file.
4428 * config/nios2/crtn.asm: New file.
4430 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
4432 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4433 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4434 from cpuid.h to check vendor signatures.
4436 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4438 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
4439 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4440 (get_amd_cpu): Likewise.
4442 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4444 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4447 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4448 H.J. Lu <hongjiu.lu@intel.com>
4451 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
4453 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4454 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4455 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4456 FEATURE_XOP and FEATURE_FMA.
4457 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4459 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
4460 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
4461 FEATURE_FMA4 and FEATURE_XOP.
4463 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4465 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4466 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4467 (get_intel_cpu): Updated.
4469 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4471 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4473 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
4475 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4476 instructions when __SSE_MATH__ is defined.
4478 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4480 * config.host (microblaze-*-rtems*): New.
4482 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4484 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4485 architectures that do not have hardware divide instruction.
4486 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4488 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4490 * longlong.h: Delete (moved to include/).
4492 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4494 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4495 of normal number and qNaN to not raise an inexact exception.
4497 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
4499 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4501 2013-11-28 Matthew Leach <matthew.leach@arm.com>
4503 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4504 for correct opcodes on BE.
4506 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
4508 * soft-fp/op-4.h: Update from glibc.
4510 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4512 * libgcc2.c (__udivmoddi4): Define new implementation when
4513 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4514 divide instructions.
4516 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4518 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4520 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4522 * config/t-softfp (soft-fp-objects-base): New variable.
4523 (soft-fp-objects): Use it.
4525 2013-11-23 David Edelson <dje.gcc@gmail.com>
4526 Andrew Dixie <andrewd@gentrack.com>
4529 * config/rs6000/aixinitfini.c: New file.
4530 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4531 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4534 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4536 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
4538 2013-11-18 Jan Hubicka <jh@suse.cz>
4540 * libgcov-driver.c (run_accounted): Make global level static.
4541 (gcov_exit_merge_summary): Silence warning; do not clear
4543 (gcov_exit): Clear it here.
4545 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4548 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4549 (all_prg, crc32): Remove static vars.
4550 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4552 (gcov_exit_merge_gcda): Add crc32 parameter.
4553 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4554 do not account run if it was already accounted.
4555 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4556 (gcov_exit): Initialize all_prg; update.
4558 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4560 * configure: Regenerate.
4562 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4563 Alan Modra <amodra@gmail.com>
4565 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4566 (frob_update_context): Use it.
4568 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4569 Alan Modra <amodra@gmail.com>
4571 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4572 (trampoline_initial): Provide ELFv2 variant.
4573 (__trampoline_setup): Likewise.
4575 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4576 check for AIX indirect function call sequence if _CALL_ELF == 2.
4578 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4579 Alan Modra <amodra@gmail.com>
4581 * config/rs6000/linux-unwind.h (get_regs): Do not support
4582 old kernel versions if _CALL_ELF == 2.
4583 (frob_update_context): Do not support PLT stub variants only
4584 generated by old linkers if _CALL_ELF == 2.
4586 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4587 Alan Modra <amodra@gmail.com>
4589 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4590 location of CR save area for 64-bit little-endian systems.
4592 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4594 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4596 * config/arm/t-vxworks: Delete.
4598 2013-11-10 Kai Tietz <ktietz@redhat.com>
4600 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4601 Increment load-count on use of LIBGCC_SONAME DLL.
4602 (hmod_libgcc): New static variable to hold handle of
4604 (__gcc_deregister_frame): Decrement load-count of
4607 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4609 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4611 * configure: Regenerate
4613 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
4615 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4616 FP_EX_DENORM. Store result to volatile location after SSE division
4617 to close interrupt window. Remove unneeded fwait after x87
4618 division since interrupt window will be closed by emitted fstp.
4619 Rewrite FP_EX_INEXACT handling.
4621 2013-11-06 Joseph Myers <joseph@codesourcery.com>
4623 * soft-fp/README: Update.
4624 * soft-fp/adddf3.c: Update from glibc.
4625 * soft-fp/addsf3.c: Likewise.
4626 * soft-fp/addtf3.c: Likewise.
4627 * soft-fp/divdf3.c: Likewise.
4628 * soft-fp/divsf3.c: Likewise.
4629 * soft-fp/divtf3.c: Likewise.
4630 * soft-fp/double.h: Likewise.
4631 * soft-fp/eqdf2.c: Likewise.
4632 * soft-fp/eqsf2.c: Likewise.
4633 * soft-fp/eqtf2.c: Likewise.
4634 * soft-fp/extenddftf2.c: Likewise.
4635 * soft-fp/extended.h: Likewise.
4636 * soft-fp/extendsfdf2.c: Likewise.
4637 * soft-fp/extendsftf2.c: Likewise.
4638 * soft-fp/extendxftf2.c: Likewise.
4639 * soft-fp/fixdfdi.c: Likewise.
4640 * soft-fp/fixdfsi.c: Likewise.
4641 * soft-fp/fixdfti.c: Likewise.
4642 * soft-fp/fixsfdi.c: Likewise.
4643 * soft-fp/fixsfsi.c: Likewise.
4644 * soft-fp/fixsfti.c: Likewise.
4645 * soft-fp/fixtfdi.c: Likewise.
4646 * soft-fp/fixtfsi.c: Likewise.
4647 * soft-fp/fixtfti.c: Likewise.
4648 * soft-fp/fixunsdfdi.c: Likewise.
4649 * soft-fp/fixunsdfsi.c: Likewise.
4650 * soft-fp/fixunsdfti.c: Likewise.
4651 * soft-fp/fixunssfdi.c: Likewise.
4652 * soft-fp/fixunssfsi.c: Likewise.
4653 * soft-fp/fixunssfti.c: Likewise.
4654 * soft-fp/fixunstfdi.c: Likewise.
4655 * soft-fp/fixunstfsi.c: Likewise.
4656 * soft-fp/fixunstfti.c: Likewise.
4657 * soft-fp/floatdidf.c: Likewise.
4658 * soft-fp/floatdisf.c: Likewise.
4659 * soft-fp/floatditf.c: Likewise.
4660 * soft-fp/floatsidf.c: Likewise.
4661 * soft-fp/floatsisf.c: Likewise.
4662 * soft-fp/floatsitf.c: Likewise.
4663 * soft-fp/floattidf.c: Likewise.
4664 * soft-fp/floattisf.c: Likewise.
4665 * soft-fp/floattitf.c: Likewise.
4666 * soft-fp/floatundidf.c: Likewise.
4667 * soft-fp/floatundisf.c: Likewise.
4668 * soft-fp/floatunditf.c: Likewise.
4669 * soft-fp/floatunsidf.c: Likewise.
4670 * soft-fp/floatunsisf.c: Likewise.
4671 * soft-fp/floatunsitf.c: Likewise.
4672 * soft-fp/floatuntidf.c: Likewise.
4673 * soft-fp/floatuntisf.c: Likewise.
4674 * soft-fp/floatuntitf.c: Likewise.
4675 * soft-fp/gedf2.c: Likewise.
4676 * soft-fp/gesf2.c: Likewise.
4677 * soft-fp/getf2.c: Likewise.
4678 * soft-fp/ledf2.c: Likewise.
4679 * soft-fp/lesf2.c: Likewise.
4680 * soft-fp/letf2.c: Likewise.
4681 * soft-fp/muldf3.c: Likewise.
4682 * soft-fp/mulsf3.c: Likewise.
4683 * soft-fp/multf3.c: Likewise.
4684 * soft-fp/negdf2.c: Likewise.
4685 * soft-fp/negsf2.c: Likewise.
4686 * soft-fp/negtf2.c: Likewise.
4687 * soft-fp/op-1.h: Likewise.
4688 * soft-fp/op-2.h: Likewise.
4689 * soft-fp/op-4.h: Likewise.
4690 * soft-fp/op-8.h: Likewise.
4691 * soft-fp/op-common.h: Likewise.
4692 * soft-fp/quad.h: Likewise.
4693 * soft-fp/single.h: Likewise.
4694 * soft-fp/soft-fp.h: Likewise.
4695 * soft-fp/subdf3.c: Likewise.
4696 * soft-fp/subsf3.c: Likewise.
4697 * soft-fp/subtf3.c: Likewise.
4698 * soft-fp/truncdfsf2.c: Likewise.
4699 * soft-fp/trunctfdf2.c: Likewise.
4700 * soft-fp/trunctfsf2.c: Likewise.
4701 * soft-fp/trunctfxf2.c: Likewise.
4702 * soft-fp/unorddf2.c: Likewise.
4703 * soft-fp/unordsf2.c: Likewise.
4704 * soft-fp/unordtf2.c: Likewise.
4706 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
4708 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4709 (_FP_MUL_MEAT_D): Ditto.
4710 (_FP_DIV_MEAT_S): Ditto.
4711 (_FP_DIV_MEAT_D): Ditto.
4712 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4713 t-softfp-sfdf and t-softfp to tmake_file.
4715 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
4717 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4718 * config/i386/crtprec.c: Ditto.
4720 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
4721 Shiva Chen <shiva0217@gmail.com>
4723 * config.host (nds32*-elf*): Add nds32 target.
4724 * config/nds32 : New directory and files.
4726 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
4728 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
4729 * config.host (cpu_type) <Setting default>: Add entry for
4731 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4732 <crisv32-*-linux*>: Adjust.
4733 * longlong.h: Wrap the whole CRIS section in a single
4734 defined(__CRIS__) conditional. Add comment about add_ssaaaa
4736 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4738 [__CRIS__] (__umulsidi3): Define.
4739 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4740 * config/cris/sfp-machine.h: New file.
4741 * config/cris/umulsidi3.S: New file.
4742 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4743 * config/cris/arit.c (SIGNMULT): New macro.
4744 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4745 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4746 saving 3 out of originally 33 cycles from the fastest
4747 path, 3 out of 54 from the medium path and one from the longest
4748 path. Improve comments.
4750 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
4752 * sync.c: Remove static aliases and define each function directly
4753 under its real name.
4755 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
4757 * config.host (hppa*64*-*-linux*): Define extra_parts.
4758 (hppa*-*-linux*): Likewise.
4760 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
4762 * config/arc/crtgend.S: Add 2013 to Copyright years.
4763 * config/arc/gmon/atomic.h: Likewise.
4764 * config/arc/gmon/auxreg.h: Likewise.
4765 * config/arc/gmon/sys/gmon_out.h: Likewise.
4766 * config/arc/gmon/sys/gmon.h: Likewise.
4767 * config/arc/gmon/prof-freq.c: Likewise.
4768 * config/arc/gmon/mcount.c: Likewise.
4769 * config/arc/gmon/prof-freq-stub.S: Likewise.
4770 * config/arc/gmon/gmon.c: Likewise.
4771 * config/arc/gmon/machine-gmon.h: Likewise.
4772 * config/arc/gmon/profil.S: Likewise.
4773 * config/arc/gmon/dcache_linesz.S: Likewise.
4774 * config/arc/crtg.S: Likewise.
4775 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4776 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4777 * config/arc/ieee-754/adddf3.S: Likewise.
4778 * config/arc/ieee-754/truncdfsf2.S: Likewise.
4779 * config/arc/ieee-754/fixsfsi.S: Likewise.
4780 * config/arc/ieee-754/gtsf2.S: Likewise.
4781 * config/arc/ieee-754/floatsisf.S: Likewise.
4782 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4783 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4784 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4785 * config/arc/ieee-754/fixdfsi.S: Likewise.
4786 * config/arc/ieee-754/addsf3.S: Likewise.
4787 * config/arc/ieee-754/gesf2.S: Likewise.
4788 * config/arc/ieee-754/floatsidf.S: Likewise.
4789 * config/arc/ieee-754/extendsfdf2.S: Likewise.
4790 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4791 * config/arc/ieee-754/gtdf2.S: Likewise.
4792 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4793 * config/arc/ieee-754/uneqdf2.S: Likewise.
4794 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4795 * config/arc/ieee-754/uneqsf2.S: Likewise.
4796 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4797 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4798 * config/arc/ieee-754/eqdf2.S: Likewise.
4799 * config/arc/ieee-754/ordsf2.S: Likewise.
4800 * config/arc/ieee-754/divsf3.S: Likewise.
4801 * config/arc/ieee-754/divdf3.S: Likewise.
4802 * config/arc/ieee-754/floatunsidf.S: Likewise.
4803 * config/arc/ieee-754/orddf2.S: Likewise.
4804 * config/arc/ieee-754/eqsf2.S: Likewise.
4805 * config/arc/ieee-754/gedf2.S: Likewise.
4806 * config/arc/crtn.S: Likewise.
4807 * config/arc/crti.S: Likewise.
4808 * config/arc/t-arc700-uClibc: Likewise.
4809 * config/arc/asm.h: Likewise.
4810 * config/arc/libgcc-excl.ver: Likewise.
4811 * config/arc/t-arc-newlib: Likewise.
4812 * config/arc/divtab-arc700.c: Likewise.
4813 * config/arc/initfini.c: Likewise.
4814 * config/arc/fp-hack.h: Likewise.
4816 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4817 Diego Novillo <dnovillo@google.com>
4819 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
4820 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4821 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4822 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
4824 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4825 Brendan Kehoe <brendan@zen.org>
4826 Simon Cook <simon.cook@embecosm.com>
4828 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4829 * config/arc: New directory.
4830 * longlong.h [__arc__] (umul_ppmm): Remove.
4831 [__arc__] (__umulsidi3): Define.
4832 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4833 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4835 2013-09-17 Jacek Caban <jacek@codeweavers.com>
4837 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4839 * config/i386/gthr-win32.h: Likewise.
4841 2013-09-16 DJ Delorie <dj@redhat.com>
4843 * config/rl78/vregs.h: Add G10 register definitions.
4844 * config/rl78/lib2mul.c: Enable for RL78/G10.
4845 * config/rl78/lib2div.c: Likewise.
4846 * config/rl78/lshrsi3.S: Use vregs.h.
4847 * config/rl78/cmpsi2.S: Likewise.
4848 * config/rl78/trampoline.S: Likewise.
4849 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
4851 2013-09-14 DJ Delorie <dj@redhat.com>
4852 Nick Clifton <nickc@redhat.com>
4854 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4855 * config/rl78/vregs.h: New.
4856 * config/rl78/signbit.S: New file. Implements signbit function.
4857 * config/rl78/divmodsi.S: New.
4858 * config/rl78/divmodhi.S: New.
4859 * config/rl78/divmodqi.S: New.
4860 * config/rl78/t-rl78: Build them here...
4861 * config/rl78/lib2div.c: ...but not here.
4863 2013-09-12 DJ Delorie <dj@redhat.com>
4865 * config.host (msp*-*-elf): New.
4866 * config/msp430/: New port.
4868 2013-08-18 Iain Sandoe <iain@codesourcery.com>
4870 PR gcov-profile/58127
4871 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4872 __thread var for emulated TLS.
4873 (__gcov_indirect_call_counters): Likewise.
4875 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
4876 Catherine Moore <clm@codesourcery.com>
4877 Richard Sandiford <rdsandiford@googlemail.com>
4879 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4880 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4881 (CALL_STUB_NO_RET): Likewise.
4882 (CALL_STUB_RET): Likewise.
4883 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4884 __mips16_ret call/return stub symbols.
4885 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4888 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
4890 * config.host <mips*-*-linux*>: Remove a stray comment.
4892 2013-08-10 Jan Hubicka <jh@suse.cz>
4894 Work around binutils PR14342
4895 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4896 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4897 (L_gcov_indirect_call_profiler_v2): New.
4899 2013-08-06 Jan Hubicka <jh@suse.cz>
4901 * libgcov.c (__gcov_indirect_call_callee,
4902 __gcov_indirect_call_counters): New global vars.
4903 (__gcov_indirect_call_profiler): replace by ...
4904 (__gcov_indirect_call_profiler_v2) ... this one.
4906 2013-08-06 Caroline Tice <cmtice@google.com>
4908 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
4909 vtv_start_preinit.o and vtv_end_preinit.o.
4910 * configure.ac: Add code to check/set enable_vtable_verify.
4911 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
4913 * vtv_start_preinit.c: New file.
4914 * vtv_end_preinit.c: New file.
4915 * vtv_start.c: New file.
4916 * vtv_end.c: New file.
4917 * configure: Regenerated.
4919 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
4921 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4922 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4923 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
4924 GPL-3.0-with-GCC-exception.
4926 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
4928 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
4931 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4933 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
4934 mapping for FPRs when creating the fallback framestate.
4936 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
4939 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
4940 (__round_s2_const, __round_u2_const)
4941 (__round_s4_const, __round_u4_const, __round_x8):
4942 Saturate result if addition result cannot be represented.
4944 2013-07-15 Matthias Klose <doko@ubuntu.com>
4946 * libgcc2.c: Don't include <limits.h>.
4948 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
4950 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
4952 2013-07-06 Jakub Jelinek <jakub@redhat.com>
4955 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
4957 2013-06-28 Jakub Jelinek <jakub@redhat.com>
4960 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
4962 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
4963 instead of table lookups.
4964 (__popcountDI2): Likewise.
4966 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
4968 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
4971 2013-06-21 Joseph Myers <joseph@codesourcery.com>
4974 * soft-fp/adddf3.c: Update from glibc.
4975 * soft-fp/addsf3.c: Likewise.
4976 * soft-fp/addtf3.c: Likewise.
4977 * soft-fp/divdf3.c: Likewise.
4978 * soft-fp/divsf3.c: Likewise.
4979 * soft-fp/divtf3.c: Likewise.
4980 * soft-fp/double.h: Likewise.
4981 * soft-fp/eqdf2.c: Likewise.
4982 * soft-fp/eqsf2.c: Likewise.
4983 * soft-fp/eqtf2.c: Likewise.
4984 * soft-fp/extenddftf2.c: Likewise.
4985 * soft-fp/extended.h: Likewise.
4986 * soft-fp/extendsfdf2.c: Likewise.
4987 * soft-fp/extendsftf2.c: Likewise.
4988 * soft-fp/fixdfdi.c: Likewise.
4989 * soft-fp/fixdfsi.c: Likewise.
4990 * soft-fp/fixsfdi.c: Likewise.
4991 * soft-fp/fixsfsi.c: Likewise.
4992 * soft-fp/fixtfdi.c: Likewise.
4993 * soft-fp/fixtfsi.c: Likewise.
4994 * soft-fp/fixunsdfdi.c: Likewise.
4995 * soft-fp/fixunsdfsi.c: Likewise.
4996 * soft-fp/fixunssfdi.c: Likewise.
4997 * soft-fp/fixunssfsi.c: Likewise.
4998 * soft-fp/fixunstfdi.c: Likewise.
4999 * soft-fp/fixunstfsi.c: Likewise.
5000 * soft-fp/floatdidf.c: Likewise.
5001 * soft-fp/floatdisf.c: Likewise.
5002 * soft-fp/floatditf.c: Likewise.
5003 * soft-fp/floatsidf.c: Likewise.
5004 * soft-fp/floatsisf.c: Likewise.
5005 * soft-fp/floatsitf.c: Likewise.
5006 * soft-fp/floatundidf.c: Likewise.
5007 * soft-fp/floatundisf.c: Likewise.
5008 * soft-fp/floatunditf.c: Likewise.
5009 * soft-fp/floatunsidf.c: Likewise.
5010 * soft-fp/floatunsisf.c: Likewise.
5011 * soft-fp/floatunsitf.c: Likewise.
5012 * soft-fp/gedf2.c: Likewise.
5013 * soft-fp/gesf2.c: Likewise.
5014 * soft-fp/getf2.c: Likewise.
5015 * soft-fp/ledf2.c: Likewise.
5016 * soft-fp/lesf2.c: Likewise.
5017 * soft-fp/letf2.c: Likewise.
5018 * soft-fp/muldf3.c: Likewise.
5019 * soft-fp/mulsf3.c: Likewise.
5020 * soft-fp/multf3.c: Likewise.
5021 * soft-fp/negdf2.c: Likewise.
5022 * soft-fp/negsf2.c: Likewise.
5023 * soft-fp/negtf2.c: Likewise.
5024 * soft-fp/op-1.h: Likewise.
5025 * soft-fp/op-2.h: Likewise.
5026 * soft-fp/op-4.h: Likewise.
5027 * soft-fp/op-8.h: Likewise.
5028 * soft-fp/op-common.h: Likewise.
5029 * soft-fp/quad.h: Likewise.
5030 * soft-fp/single.h: Likewise.
5031 * soft-fp/soft-fp.h: Likewise.
5032 * soft-fp/subdf3.c: Likewise.
5033 * soft-fp/subsf3.c: Likewise.
5034 * soft-fp/subtf3.c: Likewise.
5035 * soft-fp/truncdfsf2.c: Likewise.
5036 * soft-fp/trunctfdf2.c: Likewise.
5037 * soft-fp/trunctfsf2.c: Likewise.
5038 * soft-fp/unorddf2.c: Likewise.
5039 * soft-fp/unordsf2.c: Likewise.
5040 * soft-fp/unordtf2.c: Likewise.
5041 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5042 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5043 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5044 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5045 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5046 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5047 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5048 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5049 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5050 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5051 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5052 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5054 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5056 * config/mips/lib2funcs.c: New file.
5057 * config/mips/t-mips (LIB2ADD_ST): Add it.
5059 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5062 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5063 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5065 2013-06-08 Walter Lee <walt@tilera.com>
5067 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5068 Replace int64_t with long long. Add __extension__ where
5070 * config/tilepro/atomic.c: Include config.h.
5072 2013-06-06 Douglas B Rupp <rupp@adacore.com>
5074 * config.host (arm-wrs-vxworks): Configure with other soft float.
5076 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5078 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5079 (mips64r5900el-*-elf*): New configurations.
5081 2013-06-04 Alan Modra <amodra@gmail.com>
5083 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5085 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5087 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5089 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5091 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5092 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5093 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5095 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5097 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5098 (powerpc-wrs-vxworks): Likewise.
5100 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5102 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5103 signal frames as well.
5104 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5105 STACK_BIAS to the CFA offset.
5107 2013-05-17 Richard Henderson <rth@redhat.com>
5110 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5111 (execute_cfa_program): Use it when storing to fs->regs.
5113 2013-05-08 Kai Tietz <ktietz@redhat.com>
5115 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5116 (__deregister_frame_info): Likewise.
5118 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5120 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5123 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5125 2013-04-25 Alan Modra <amodra@gmail.com>
5127 * config.host: Match little-endian powerpc-linux.
5129 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5131 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5132 as 'unsigned long long' instead of 'unsigned long'.
5133 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5136 2013-04-10 Julian Brown <julian@codesourcery.com>
5138 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5139 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5140 unsigned char/unsigned short.
5141 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5143 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5146 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5148 2013-04-04 Meador Inge <meadori@codesourcery.com>
5150 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5151 computing the location of the link register.
5152 (aeabi_uldivmod): Ditto.
5154 2013-03-27 Kai Tietz <ktietz@redhat.com>
5156 * config.host: Add support for cygwin x64 target.
5157 * configure: Regenerated.
5159 2013-03-26 Walter Lee <walt@tilera.com>
5161 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5162 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5164 2013-03-25 Kai Tietz <ktietz@redhat.com>
5166 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5168 2013-03-20 Robert Mason <rbmj@verizon.net>
5170 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5171 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5172 (__gthread_leave_tsd_dtor_context): Add prototypes.
5173 (tls_delete_hook): Update.
5175 2013-03-20 Catherine Moore <clm@codesourcery.com>
5176 Joseph Myers <joseph@codesourcery.com>
5177 Chao-ying Fu <fu@mips.com>
5179 * config/mips/mips16.S: Don't build for microMIPS.
5180 * config/mips/linux-unwind.h: Handle microMIPS frame.
5181 * config/mips/crtn.S (fini, init): New labels.
5183 2013-03-14 Jakub Jelinek <jakub@redhat.com>
5185 PR tree-optimization/53265
5186 * unwind-dw2.c (execute_cfa_program): Avoid
5187 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5188 on targets with DWARF_FRAME_REGISTERS < 32.
5190 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5193 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5194 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5196 2013-03-07 Sriraman Tallam <tmsriram@google.com>
5198 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5199 sandybridge processors.
5201 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5204 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5207 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5209 * config/microblaze/crti.S: Setup stack protection at entry
5211 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
5213 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5214 (__rotldi3): Shift bytewise if applicable.
5216 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5218 * config/aarch64/sync-cache.c
5219 (__aarch64_sync_cache_range): Silence warnings.
5221 2013-02-25 Catherine Moore <clm@codesourcery.com>
5224 2013-02-24 Catherine Moore <clm@codesourcery.com>
5225 Joseph Myers <joseph@codesourcery.com>
5226 Chao-ying Fu <fu@mips.com>
5228 * config/mips/mips16.S: Don't build for microMIPS.
5229 * config/mips/linux-unwind.h: Handle microMIPS frame.
5230 * config/mips/crtn.S (fini, init): New labels.
5232 2013-02-24 Catherine Moore <clm@codesourcery.com>
5233 Joseph Myers <joseph@codesourcery.com>
5234 Chao-ying Fu <fu@mips.com>
5236 * config/mips/mips16.S: Don't build for microMIPS.
5237 * config/mips/linux-unwind.h: Handle microMIPS frame.
5238 * config/mips/crtn.S (fini, init): New labels.
5240 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5241 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
5244 2013-02-16 Alan Modra <amodra@gmail.com>
5247 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5248 (ppc_fallback_frame_state): Always set up save locations for fp
5249 and altivec. Don't bother with non-callee-saved regs, r0-r13
5250 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5252 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
5255 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5257 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5258 _ssmulha3, _usmulusa3, _ssmulsa3.
5259 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5260 (__muldi3): XCALL __muldi3_6 instead of rcall.
5261 (__umulsidi3, __mulsidi3): New functions.
5262 (do_prologue_saves, do_epilogue_restores): New .macros.
5263 (__divdi3_moddi3): Use them.
5264 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5265 (__usmulusa3, __ssmulsa3): New functions.
5267 2013-02-11 Iain Sandoe <iain@codesourcery.com>
5268 Jack Howarth <howarth@bromo.med.uc.edu>
5269 Patrick Marlier <patrick.marlier@gmail.com>
5272 * config/darwin-crt-tm.c: Remove dummy functions hack.
5274 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
5277 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5278 * config/avr/lib2-object.mk: New iterator to build objects from it.
5279 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5281 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5282 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5283 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5284 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5285 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5286 * config/avr/lib1funcs-fixed.S: Implement them.
5288 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5290 Update copyright years.
5292 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
5295 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5296 Add crtcxa to extra_parts.
5297 * config/rs6000/exit.h: New file.
5298 * config/rs6000/cxa_atexit.c: New file.
5299 * config/rs6000/cxa_finalize.c: New file.
5300 * config/rs6000/crtcxa.c: New file.
5301 * config/rs6000/t-aix-cxa: New file.
5302 * config/rs6000/libgcc-aix-cxa.ver: New file.
5304 2013-01-31 Nick Clifton <nickc@redhat.com>
5306 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5309 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
5312 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5313 _mulQQ, _mulHQ, _mulHA, _mulSA,
5314 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5315 _divQQ, _divHQ, _divHA, _divSA,
5316 _divUQQ, _divUHQ, _divUHA, _divUSA.
5318 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
5320 * config.host(microblaze*-linux*): tmake_file: Remove
5321 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5322 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5323 to exclude functions from being built with libgcc.c and use
5324 the microblaze assembly.
5326 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5328 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5331 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5333 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5334 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5335 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5336 alignment operation.
5338 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5340 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5341 loop start address for cache clearing.
5343 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5345 * config/avr/lib1funcs.S: Remove trailing blanks.
5346 * config/avr/lib1funcs-fixed.S: Ditto.
5348 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5350 * config/avr/avr-lib.h: Add GPL copyright notice.
5352 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5354 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5355 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5356 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5357 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5359 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
5361 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5362 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
5364 2013-01-04 Nick Clifton <nickc@redhat.com>
5366 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5367 the CALLT instruction is supported.
5369 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5371 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5372 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5374 2012-12-13 John Tytgat <John@bass-software.com>
5376 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5379 2012-12-12 Jakub Jelinek <jakub@redhat.com>
5382 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5383 undefined signed overflows.
5385 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
5388 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5390 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
5392 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5393 (FP_TRAPPING_EXCEPTIONS): Define.
5394 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5395 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5397 2012-12-04 Richard Henderson <rth@redhat.com>
5400 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5402 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5404 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
5405 (FP_EX_SHIFT): Define.
5406 (FP_TRAPPING_EXCEPTIONS): Define.
5408 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5410 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5411 (FP_ROUNDMODE): Use FP_RND_MASK.
5412 * config/aarch64/sfp-exceptions.c: New.
5413 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5414 Use __sfp_handle_exceptions.
5416 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
5418 * config.host: (arm*-*-freebsd*): Remove.
5419 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5420 (arm*-*-elf*): Remove.
5421 (arm*-*-wince-pe*): Remove.
5422 * arm/unwind-arm.c (struct fpa_reg): Delete.
5423 (struct fpa_regs): Delete.
5424 (phase1_vrs): Remove fpa element.
5425 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5426 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5427 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5428 * ieee754-sf.S (floatundisf): Remove FPA support.
5429 (floatdisf): Likewise.
5430 * ieee75f-df.S (floatundidf): Likewise.
5431 (floatdidf): Likewise.
5433 2012-11-29 Kai Tietz <ktietz@redhat.com>
5436 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5437 * unwind-generic.h: Likewise.
5438 * unwind-seh.c: Likewise.
5440 2012-11-28 Richard Henderson <rth@redhat.com>
5443 * emutls.c (__emutls_get_address): Avoid race condition between
5444 obj->loc.offset read and emutls_key initialization.
5446 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
5448 Adjust decimal point of signed accum mode to GCC default.
5451 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5453 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5454 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5455 (__mulha3, __mulsa3)
5456 (__divqq3, __divha3, __divsa3): Adjust to new position of
5457 decimal point of signed accum types.
5459 (__mulusa3_round): New function.
5460 (__mulusa3): Use it.
5461 (__divqq_helper): New function.
5462 (__udivuqq3): Use it.
5464 2012-11-20 Jakub Jelinek <jakub@redhat.com>
5467 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5469 2012-11-18 Teresa Johnson <tejohnson@google.com>
5472 * libgcov.c (gcov_exit): Remove merged program summary
5473 comparison unless !GCOV_LOCKED.
5475 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
5477 * soft-fp: Updated from glibc upstream.
5479 2012-11-06 Ian Lance Taylor <iant@google.com>
5481 * generic-morestack.c (__generic_morestack): Align the returned
5482 stack pointer to a 32 byte boundary.
5483 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5484 increment the return address until we have decided that we don't
5485 have a varargs function.
5486 (__morestack) [32-bit]: Align stack correctly when calling C
5488 (__morestack) [64-bit]: Likewise.
5490 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5492 * configure: Regenerate.
5494 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
5497 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5498 * config/i386/sfp-machine.h: Guard exception handling
5499 code with _SOFT_FLOAT.
5500 * config/i386/32/sfp-machine.h: Guard rounding handling
5501 code with _SOFT_FLOAT.
5502 * config/i386/64/sfp-machine.h: Ditto.
5504 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5506 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5509 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
5511 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5512 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5513 when appropriate. Correct structure element types.
5514 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5515 -minline-all-stringops from compile flags.
5517 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5519 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5521 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5523 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
5525 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5527 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5530 2012-10-23 Ian Bolton <ian.bolton@arm.com>
5531 Jim MacArthur <jim.macarthur@arm.com>
5532 Marcus Shawcroft <marcus.shawcroft@arm.com>
5533 Nigel Stephens <nigel.stephens@arm.com>
5534 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5535 Richard Earnshaw <rearnsha@arm.com>
5536 Sofiane Naci <sofiane.naci@arm.com>
5537 Stephen Thomas <stephen.thomas@arm.com>
5538 Tejas Belagod <tejas.belagod@arm.com>
5539 Yufeng Zhang <yufeng.zhang@arm.com>
5541 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5542 * config/aarch64/crti.S: New file.
5543 * config/aarch64/crtn.S: New file.
5544 * config/aarch64/linux-unwind.h: New file.
5545 * config/aarch64/sfp-machine.h: New file.
5546 * config/aarch64/sync-cache.c: New file.
5547 * config/aarch64/t-aarch64: New file.
5548 * config/aarch64/t-softfp: New file.
5550 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5552 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5553 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5554 no-longer-needed LDBU insns.
5556 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
5559 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5560 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5562 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5564 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5566 2012-10-15 Matthias Klose <doko@ubuntu.com>
5568 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5570 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5572 * configure: Regenerate.
5573 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5575 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5577 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5578 instructions for 64bit targets only.
5580 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5582 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5583 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5584 * config/i386/32/sfp-machine.h: ... here.
5585 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5586 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5589 2012-10-07 Matthias Klose <doko@ubuntu.com>
5591 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5593 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5595 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
5597 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5598 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5599 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5602 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5605 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5606 Fix parameter names.
5608 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5611 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5612 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5613 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5615 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5618 * config/sh/linux-atomic.S: Delete.
5619 * config/sh/linux-atomic.c: New.
5620 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5621 linux-atomic.c. Add cflags to disable warnings.
5623 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5626 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5628 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5629 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5630 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5631 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5632 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5634 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5636 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5638 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5639 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5641 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
5643 * config.host (hppa-*-openbsd*): New target.
5644 * config/pa/t-openbsd: New file.
5646 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
5649 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5650 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5651 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5652 (__divsa3): Use __negsi2 to negate r_quoL.
5653 * config/avr/lib1funcs.S (FALIAS): New macro.
5654 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5655 (__negsi2): ...this new function.
5656 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5657 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5658 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5659 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5660 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5661 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5663 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
5666 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5667 (lshrsi3): Reimplement as lshrsi3_r0.
5669 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
5672 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5675 2012-09-07 Teresa Johnson <tejohnson@google.com>
5677 PR gcov-profile/54487
5678 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
5681 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
5684 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5685 not configured --with-avrlibc=no.
5686 * config/avr/t-avrlibc: New file.
5687 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5688 (DPBIT_FUNCS): Ditto.
5689 (TPBIT_FUNCS): Ditto.
5691 2012-09-04 Teresa Johnson <tejohnson@google.com>
5693 * libgcov.c (struct gcov_summary_buffer): New structure.
5694 (gcov_histogram_insert): New function.
5695 (gcov_compute_histogram): Ditto.
5696 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5697 histograms during summary merging.
5699 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
5701 * config.host (x86_64-*-openbsd*): New target.
5703 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
5705 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5708 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
5711 * config/avr/t-avr (conv_X): Rename to func_X.
5713 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
5716 * config/avr/lib1funcs-fixed.S: New file.
5717 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
5718 after they are used.
5719 (neg2, neg4): New macros.
5720 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5721 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5722 (__umulhisi3): Speed up MUL variant if there is enough flash.
5723 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5725 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5726 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5727 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5728 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5729 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5730 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5731 (LIB2FUNCS_EXCLUDE): Add supported functions.
5733 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
5735 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5736 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5738 * fixed-obj.mk: Only expand dependency if $o is not in
5741 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
5743 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5745 2012-08-22 Joseph Myers <joseph@codesourcery.com>
5747 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5748 depend on --enable-shared.
5749 ($(lib1asmfuncs-o)): Use %.vis files independent of
5751 * static-object.mk ($(base)$(objext), $(base).vis)
5752 ($(base)_s$(objext)): Use same rules for visibility handling as in
5755 2012-08-21 Ian Lance Taylor <iant@google.com>
5757 * config/i386/morestack.S (__morestack_non_split): Increase amount
5758 of space allocated for non-split code stack.
5760 2012-08-19 Joseph Myers <joseph@codesourcery.com>
5762 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5763 even if inhibit_libc.
5765 2012-08-17 Julian Brown <julian@codesourcery.com>
5767 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5768 -fexceptions -fnon-call-exceptions if not defined.
5769 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5770 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5772 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
5774 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5777 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
5779 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5780 rs6000/t-slibgcc-aix.
5782 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5784 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5786 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5788 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5790 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
5793 * Makefile.in (version): Replace top_srcdir with srcdir.
5795 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
5797 * Makefile.in (version): set to BASE-VER file from gcc directory.
5799 2012-08-01 Nick Clifton <nickc@redhat.com>
5801 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5802 Implements __clrsb for an HImode argument.
5804 2012-07-31 Nick Clifton <nickc@redhat.com>
5806 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5807 Implements __clrsb for an HImode argument.
5808 * config/stormy16/clrsbhi2.c: New file:
5809 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5811 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
5813 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5815 2012-07-19 Tristan Gingold <gingold@adacore.com>
5816 Richard Henderson <rth@redhat.com>
5818 * unwind-seh.c: New file.
5819 * unwind-generic.h: Include windows.h for SEH.
5820 (_Unwind_Exception): Use 6 private fields for SEH.
5821 (_GCC_specific_handler): Declare.
5822 * unwind-c.c (__gcc_personality_seh0): New function.
5824 * config/i386/libgcc-cygming.ver: New file.
5825 * config/i386/t-seh-eh: New file.
5826 * config.host (x86_64-*-mingw*): Default to seh.
5828 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
5830 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5832 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
5834 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5835 __builtin_expect when checking for exceptions.
5836 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5838 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
5840 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5841 function declaration.
5842 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5844 * config/ia64/sfp-exceptions.c: New.
5845 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
5847 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
5849 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5850 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5851 * config/i386/64/sfp-machine: ... (delete here) ...
5852 * config/i386/sfp-machine.h: ... to here.
5853 (FP_EX_MASK): Remove.
5855 (FP_INIT_ROUNDMODE): Declare asm as volatile.
5857 2012-06-11 Sriraman Tallam <tmsriram@google.com>
5859 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5860 * config/i386/libgcc-sol2.ver: Ditto.
5861 * config/i386/libgcc-glibc.ver: Ditto.
5863 2012-06-11 Roland McGrath <mcgrathr@google.com>
5865 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5866 If __GLIBC__ is defined, refer to __pthread_key_create instead of
5869 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
5871 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5872 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5873 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5874 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5875 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5876 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5877 * config/i386/64/sfp-machine: ... (delete here) ...
5878 * config/i386/sfp-machine.h: ... to here.
5880 (__sfp_handle_exceptions): New function declaration.
5881 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5882 * config/i386/sfp-exceptions.c: New.
5883 * config/i386/t-softfp: New.
5884 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5885 i386/t-softfp to tmake_file.
5887 2012-06-03 David S. Miller <davem@davemloft.net>
5889 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5892 2012-05-31 David S. Miller <davem@davemloft.net>
5894 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5895 multiply and divide instructions on 32-bit when V9.
5896 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5898 2012-05-29 Joseph Myers <joseph@codesourcery.com>
5900 * config/arm/ieee754-df.S: Fix typos.
5901 * config/arm/ieee754-sf.S: Fix typos.
5902 * config/c6x/libunwind.S: Fix typos.
5903 * config/epiphany/udivsi3-float.c: Fix typos.
5904 * config/microblaze/muldi3_hard.S: Fix typos.
5905 * config/picochip/adddi3.S: Fix typos.
5906 * config/picochip/ashlsi3.S: Fix typos.
5907 * config/picochip/ashrsi3.S: Fix typos.
5908 * config/picochip/clzsi2.S: Fix typos.
5909 * config/picochip/cmpsi2.S: Fix typos.
5910 * config/picochip/divmod15.S: Fix typos.
5911 * config/picochip/divmodhi4.S: Fix typos.
5912 * config/picochip/divmodsi4.S: Fix typos.
5913 * config/picochip/longjmp.S: Fix typos.
5914 * config/picochip/lshrsi3.S: Fix typos.
5915 * config/picochip/parityhi2.S: Fix typos.
5916 * config/picochip/popcounthi2.S: Fix typos.
5917 * config/picochip/setjmp.S: Fix typos.
5918 * config/picochip/subdi3.S: Fix typos.
5919 * config/picochip/ucmpsi2.S: Fix typos.
5920 * config/picochip/udivmodhi4.S: Fix typos.
5921 * config/picochip/udivmodsi4.S: Fix typos.
5922 * config/spu/divv2df3.c: Fix typos.
5923 * config/spu/mfc_multi_tag_release.c: Fix typos.
5924 * config/spu/mfc_tag_release.c: Fix typos.
5925 * configure.ac: Fix typos.
5926 * configure: Regenerate.
5928 2012-05-25 Ian Lance Taylor <iant@google.com>
5930 * config/i386/morestack.S (__morestack_non_split): Check whether
5931 caller is varargs and needs %bp to hold the stack frame on return.
5933 2012-05-25 Olivier Hainque <hainque@adacore.com>
5935 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
5936 sequence in the non pic case on VxWorks.
5938 2012-05-24 Olivier Hainque <hainque@adacore.com>
5940 * Makefile.in: Move dependency on install-unwind_h from
5941 "install-leaf" to "install".
5943 2012-05-24 Olivier Hainque <hainque@adacore.com>
5945 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
5946 Use a separate command for stamp removals.
5948 2012-05-21 Andrew Pinski <apinski@cavium.com>
5951 * configure.ac: Define the default includes to being none.
5952 * configure: Regenerate.
5954 2012-05-16 Olivier Hainque <hainque@adacore.com>
5956 * Makefile.in (install-unwind_h): Rename into ...
5957 (install-unwind_h-forbuild): New target.
5958 (all): Use it instead of the former install-unwind_h.
5959 (install-unwind_h): Reinstate, copy to user install destination
5960 for include files, not to the internal gcc object directory one.
5961 (install-leaf): Depend on it.
5963 2012-05-15 Olivier Hainque <hainque@adacore.com>
5965 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
5966 register numbers. LR_REGNO replaces R_LR.
5967 (ucontext_for): New, helper for ...
5968 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
5970 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
5972 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5974 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
5975 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
5976 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
5978 (i[34567]86-*-*, x86_64-*-*): ... here.
5980 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
5981 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
5983 * config/i386/i386-cpuinfo.c: Rename to ...
5984 * config/i386/cpuinfo.c: ... this.
5985 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
5987 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
5988 (libgcc_cv_init_priority): New test.
5989 * configure: Regenerate.
5990 * config.in: New file.
5991 * Makefile.in (clean): Rename config.h to auto-target.h.
5992 (config.h): Likewise.
5993 (stamp-h): Likewise.
5995 * config/i386/cpuinfo.c (auto-target.h): Include.
5996 (CONSTRUCTOR_PRIORITY): Define.
5997 (__cpu_indicator_init): Use it.
5999 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6001 * longlong.h: Use a URL instead of an FSF postal address.
6002 Replace spaces with tab.
6004 2012-05-08 Teresa Johnson <tejohnson@google.com>
6006 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6007 (__gcov_dump): Ditto.
6008 (gcov_dump_complete): New global variable.
6009 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6010 (__gcov_flush): Outline functionality now in gcov_clear.
6011 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6013 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6015 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6016 (mips*-*-linux*): Include mips/t-tpbit when long double is
6019 2012-04-25 Sriraman Tallam <tmsriram@google.com>
6021 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6022 (get_available_features): New argument. Check for AVX2.
6023 (__cpu_indicator_init): Modify call to get_available_features.
6025 2012-04-25 Alan Modra <amodra@gmail.com>
6027 * config/rs6000/crtsavevr.S: New file.
6028 * config/rs6000/crtrestvr.S: New file.
6029 * config/rs6000/t-savresfgpr: Build the above.
6030 * config/rs6000/t-netbsd: Likewise.
6032 2012-04-24 Sriraman Tallam <tmsriram@google.com>
6034 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6036 2012-04-24 Sriraman Tallam <tmsriram@google.com>
6038 * libgcc/config/i386/i386-cpuinfo.c: New file.
6039 * libgcc/config/i386/t-cpuinfo: New file.
6040 * libgcc/config.host: Include t-cpuinfo.
6041 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6043 2012-04-24 Chao-ying Fu <fu@mips.com>
6045 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6047 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6049 struct siginfo vs. siginfo_t
6051 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6052 siginfo_t instead of struct siginfo.
6053 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6054 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6055 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6056 (ia64_handle_unwabi): Likewise.
6057 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6058 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6059 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6060 (sh_fallback_frame_state): Likewise.
6061 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6062 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6064 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6066 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6069 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6071 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6072 if it hasn't been previously saved.
6074 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6076 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6079 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
6082 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6083 instead of __AVR_HAVE_8BIT_SP__.
6085 2012-03-26 Tristan Gingold <gingold@adacore.com>
6087 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6088 (unw_table_entry): Use unw_word instead of unsigned long.
6089 (_Unwind_FindTableEntry): Likewise.
6090 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6091 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6092 (_Unwind_FindTableEntry): Likewise.
6093 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6094 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6095 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6096 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6097 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6098 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6099 (uw_init_context_1, uw_install_context): Likewise.
6100 (unw_word): Move to unwind-ia64.h
6102 2012-03-26 Tristan Gingold <gingold@adacore.com>
6104 * config/vms/vms-ucrt0.c: Update copyright years.
6106 (___gcc_main_flags): Declare.
6107 (__main): Check flags to remap argv and exit code.
6108 * config.host (*-*-*vms*): Adjust extra_parts.
6109 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6112 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
6114 * arm/lib1funcs.asm (ctzsi2): New function.
6115 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6116 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6117 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6118 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6119 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6120 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6122 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
6124 * config.host: Add bits to support powerpc64-*-freebsd*.
6125 * config/rs6000/freebsd-unwind.h: New file.
6126 * config/rs6000/t-freebsd64: New file.
6128 2012-03-20 Richard Guenther <rguenther@suse.de>
6130 PR gcov-profile/52627
6131 * libgcov.c (init_mx): Fix mutex name.
6133 2012-03-16 Tristan Gingold <gingold@adacore.com>
6135 * config/ia64/vms-unwind.h: Remove ulong (and replace
6136 it by unw_reg where used). Define unw_reg with __int64.
6138 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6140 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6142 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6144 (sparc_is_sighandler): Likewise.
6146 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6148 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6151 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6153 * config/arm/crtn.S: Fix typo.
6155 2012-03-13 Richard Guenther <rguenther@suse.de>
6157 * libgcov.c: Remove stdio.h include and NULL un-define.
6159 2012-03-13 Richard Guenther <rguenther@suse.de>
6162 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6164 2012-03-13 Richard Guenther <rguenther@suse.de>
6166 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6168 2012-03-13 Richard Guenther <rguenther@suse.de>
6170 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6171 and __gthread_mutex_init_function definitions.
6173 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6175 * config.host (mips*-*-openbsd*): Remove.
6177 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6179 * config.host: Remove alpha*-dec-osf5.1* handling.
6180 * config/alpha/gthr-posix.c: Remove.
6181 * config/alpha/libgcc-osf5.ver: Remove.
6182 * config/alpha/osf5-unwind.h: Remove.
6183 * config/alpha/t-osf-pthread: Remove.
6184 * config/alpha/t-slibgcc-osf: Remove.
6185 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6186 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6187 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6188 * mkmap-flat.awk: Remove osf_export handling.
6190 2012-03-12 Richard Guenther <rguenther@suse.de>
6192 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6193 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6194 (__gthread_mutex_init_function): New function.
6195 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6198 * libgcov.c: Include gthr.h.
6199 (__gcov_flush_mx): New global variable.
6200 (init_mx, init_mx_once): New functions.
6201 (__gcov_flush): Protect self with a mutex.
6202 (__gcov_fork): Re-initialize mutex after forking.
6203 * unwind-dw2-fde.c: Change condition under which to use
6204 __GTHREAD_MUTEX_INIT_FUNCTION.
6206 2012-03-12 Tristan Gingold <gingold@adacore.com>
6208 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6209 * config/ia64/t-vms: Likewise.
6211 2012-03-11 Michael Hope <michael.hope@linaro.org>
6213 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6216 2012-03-07 Walter Lee <walt@tilera.com>
6218 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6220 (atomic_xor): Rename and move definition to
6221 config/tilepro/atomic.h.
6222 (atomic_nand): Ditto.
6223 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6225 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6226 (arch_atomic_nand): Ditto.
6228 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6231 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6233 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6236 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6239 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6243 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6244 if RAMPZ affects reading from RAM.
6245 (__tablejump_elpm__): Ditto.
6247 (__movmemx_hi): Ditto.
6248 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6249 (__do_global_dtors): Ditto.
6250 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6251 (__movmemx_hi): Ditto.
6253 2012-03-05 Richard Henderson <rth@redhat.com>
6255 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6256 [ARM] (count_trailing_zeros): Use the builtin.
6258 2012-03-01 Kai Tietz <ktietz@redhat.com>
6260 * soft-fp: Imported from glibc upstream.
6262 2012-02-28 Kai Tietz <ktietz@redhat.com>
6264 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6265 for mingw-targets as attribute gcc_struct.
6267 2012-02-28 Ian Lance Taylor <iant@google.com>
6269 * generic-morestack.c (__splitstack_releasecontext): Correct call
6270 to __morestack_release_segments.
6272 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6275 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6276 for __linux__ when removing signals from __morestack_fullmask.
6278 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
6281 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6283 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6285 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6286 instead of HAVE_INITFINI_ARRAY.
6287 * config/ia64/crtend.S: Likewise.
6289 2012-02-20 Kai Tietz <ktietz@redhat.com>
6292 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6294 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6295 to w32-unwind.h header.
6297 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6299 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6300 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6301 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6302 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6304 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6306 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6308 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6311 * config/darwin-crt-tm.c: Correct typo.
6313 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6314 Patrick Marlier <patrick.marlier@gmail.com>
6317 * config/darwin-crt-tm.c: Generate dummy functions.
6319 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6320 Patrick Marlier <patrick.marlier@gmail.com>
6323 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6324 (__doTMRegistrations): Call it.
6325 (__doTMdeRegistrations): Likewise.
6327 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
6328 Anatoly Sokolov <aesok@post.ru>
6329 Eric Weddington <eric.weddington@atmel.com>
6332 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6333 (__epilogue_restores__): Ditto.
6335 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6339 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6340 Solaris 11 and slightly reformat.
6341 (sparc_is_sighandler): Likewise.
6343 2012-02-14 Walter Lee <walt@tilera.com>
6345 * config.host: Handle tilegx and tilepro.
6346 * config/tilegx/sfp-machine.h: New file.
6347 * config/tilegx/sfp-machine32.h: New file.
6348 * config/tilegx/sfp-machine64.h: New file.
6349 * config/tilegx/t-crtstuff: New file.
6350 * config/tilegx/t-softfp: New file.
6351 * config/tilegx/t-tilegx: New file.
6352 * config/tilepro/atomic.c: New file.
6353 * config/tilepro/atomic.h: New file.
6354 * config/tilepro/linux-unwind.h: New file.
6355 * config/tilepro/sfp-machine.h: New file.
6356 * config/tilepro/softdivide.c: New file.
6357 * config/tilepro/softmpy.S: New file.
6358 * config/tilepro/t-crtstuff: New file.
6359 * config/tilepro/t-tilepro: New file.
6361 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6365 * gthr-posix.h: Allow static initializer macros to be disabled.
6366 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6368 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6370 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6371 Add t-slibgcc-libgcc to tmake_file.
6372 * config/mips/libgcc-mips16.ver: Revert previous patch.
6373 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6375 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6376 Jayant R Sonar <jayant.sonar@kpitcummins.com>
6378 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6379 * config/cr16/crti.S: New file.
6380 * config/cr16/crtlibid.S: New file.
6381 * config/cr16/crtn.S: New file.
6382 * config/cr16/lib1funcs.S: New file.
6383 * config/cr16/t-cr16: New file.
6384 * config/cr16/t-crtlibid: New file.
6385 * config/cr16/unwind-dw2.h: New file.
6386 * config/cr16/unwind-cr16.c: New file.
6387 * config/cr16/divmodhi3.c: New file.
6389 2012-01-25 Alan Modra <amodra@gmail.com>
6391 * config/rs6000/t-linux64: Delete. Move..
6392 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6393 * config/rs6000/t-linux: ..and libgcc flags to here.
6395 2012-01-22 Douglas B Rupp <rupp@gnat.com>
6397 * config.host (i[34567]86-*-interix3*):
6398 Change triplet to i[34567]86-*-interix[3-9]*.
6399 * configure: Regenerate.
6401 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6402 Richard Sandiford <rdsandiford@googlemail.com>
6404 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6405 * config/mips/mips16.S (__mips16_rdhwr): New function.
6406 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6408 2012-01-11 Nathan Sidwell <nathan@acm.org>
6410 * libgcov.c (__gcov_init): Ignore objects with no functions.
6412 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
6415 Extend __pgmx semantics to linearize memory.
6416 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6417 * config/avr/lib1funcs.S (__xload_1): New function.
6418 (__movmemx_qi, __movmemx_hi): New functions.
6419 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6422 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6424 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6425 purported sigacthandler address isn't null before dereferencing it.
6426 (sparc_is_sighandler): Likewise.
6428 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6431 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6432 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6433 (sparc_is_sighandler): Likewise.
6434 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6436 2012-01-06 Tristan Gingold <gingold@adacore.com>
6438 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6439 compatibility thunks...
6440 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6441 (crtbeginS.o, crtendS.o): ... and these to ...
6442 * config/ia64/t-ia64-elf: ... this new file.
6443 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6444 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6446 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6448 * configure: Regenerate.
6449 * config/s390/t-crtstuff: Remove -fPIC.
6451 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6454 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6457 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6460 * config/avr/lib1funcs.S: Remove FIXME comments.
6461 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6463 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6465 Implement light-weight DImode support.
6466 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6467 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6468 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6469 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6471 2011-12-30 Nathan Sidwell <nathan@acm.org>
6473 * libgcov.c (gcov_crc32): Remove global var.
6474 (free_fn_data): New function.
6475 (buffer_fn_data): Pass in filename, more robust error recovery.
6476 (crc32_unsigned): New function.
6477 (gcov_exit): More robust detection of new program. More robust
6479 (__gcov_init): Do not update program's crc here.
6481 2011-12-21 Tristan Gingold <gingold@adacore.com>
6483 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6485 2011-12-21 Ian Lance Taylor <iant@google.com>
6487 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6489 2011-12-20 Ian Lance Taylor <iant@google.com>
6491 * config/i386/morestack.S (__morestack_non_split): If there is
6492 enough stack space already, don't split. Ask for more stack space
6495 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6497 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6499 (_Unwind_DebugHook): New function.
6500 (uw_restore_core_regs): New define.
6501 (unwind_phase2): Use uw_restore_core_regs instead of
6503 (unwind_phase2_forced): Likewise.
6504 (__gnu_Unwind_Resume): Likewise.
6506 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
6508 * config/alpha/linux-unwind.h: Update copyright years.
6509 (MD_FROB_UPDATE_CONTEXT): New define.
6510 (alpha_frob_update_context): New function.
6512 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6514 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6515 tmake_file rather replacing it.
6517 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6519 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
6520 function is not used for PPC64.
6521 (save_world): Amend comments. Update the VRsave mask to reflect the
6523 (rest_world): Update comments, do not clobber r10, do not use r8.
6524 (eh_rest_world_r10): Amend comments, do not use r8.
6525 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6526 no longer used, move restore of CR and target address to the end of
6529 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6531 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6532 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6534 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
6537 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6538 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6540 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6542 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6544 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
6547 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6548 * config/avr/lib1funcs.S (__muldi3): New function.
6550 2011-12-06 Andrew Pinski <apinski@cavium.com>
6552 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6554 (__frame_dummy_init_array_entry): Likewise.
6556 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
6558 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6562 * config/avr/lib1funcs.S (__prologue_saves__,
6563 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6564 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6566 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6568 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6570 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6573 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6574 (_ITM_deregisterTMCloneTable): Likewise.
6575 (__register_frame_info): Fix unused warning.
6576 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6577 pthread_default_stacksize_np): Likewise.
6578 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
6580 2011-11-29 DJ Delorie <dj@redhat.com>
6582 * config.host (rl78-*-elf): New case.
6583 * config/rl78: New directory for the Renesas RL78.
6585 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6587 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6590 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6593 * config/rs6000/t-savresfgpr: New file.
6594 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6595 $(srcdir)/config/rs6000/eabi.S.
6596 * config/rs6000/t-ppccomm-ldbl: Remove.
6597 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6599 (powerpc-*-eabispe*): Likewise.
6600 (powerpc-*-eabi*): Likewise.
6601 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6602 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6603 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6604 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6606 (powerpc-*-eabisim*): Likewise.
6607 (powerpc-*-elf*): Likewise.
6608 (powerpc-*-eabialtivec*): Likewise.
6609 (powerpc-xilinx-eabi*): Likewise.
6610 (powerpc-*-rtems*): Likewise.
6611 (powerpcle-*-elf*): Likewise.
6612 (powerpcle-*-eabisim*): Likewise.
6613 (powerpcle-*-eabi*): Likewise.
6615 2011-11-27 Ian Lance Taylor <iant@google.com>
6617 * generic-morestack.c (__splitstack_find): Check for NULL old
6619 (__splitstack_resetcontext): New function.
6620 (__splitstack_releasecontext): New function.
6621 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6623 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6625 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6627 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6629 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6631 2011-11-26 Richard Henderson <rth@redhat.com>
6633 * config/m68k/linux-atomic.c: New file.
6634 * config/m68k/t-linux: New file.
6635 * config.host (m68k-uclinux, m68k-linux): Use it.
6637 2011-11-26 Richard Henderson <rth@redhat.com>
6639 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6640 (__TMC_END__): Only declare if hidden is available; in the definition,
6641 if hidden is unavailable add a null record.
6642 (deregister_tm_clones, register_tm_clones): New.
6643 (__do_global_dtors_aux, frame_dummy): Use them.
6644 (__do_global_dtors, __do_global_ctors_1): Likewise.
6646 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6648 * config/darwin-crt-tm.c: New file.
6649 * config.host (darwin): Build crttms.o crttme.o to provide
6650 startup and shutdown for tm clones.
6651 * config/t-darwin (crttms.o): New build rule.
6652 (crttme.o): Likewise.
6654 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
6656 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6659 2011-11-21 Richard Henderson <rth@redhat.com>
6661 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6662 (__TMC_LIST__, __TMC_END__): New.
6663 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6664 (__do_global_dtors): Likewise.
6665 (frame_dummy): Call _ITM_registerTMCloneTable.
6666 (__do_global_ctors_1): Likewise.
6668 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6670 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6671 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6672 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6673 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6674 * config/i386/t-darwin64: Remove.
6675 * config/sh/t-netbsd (LIB2ADD): Remove.
6677 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
6680 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6681 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6682 * config/avr/lib1funcs.S (wmov): New assembler macro.
6683 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6684 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6685 (__udivmod64): New function.
6686 (__negdi2): New function.
6688 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
6690 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6691 *-*-freebsd*aout*): Remove.
6693 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
6695 * static-object.mk (c_flags-$o): Save c_flags.
6696 ($(base)$(objext)): Use it.
6698 2011-11-18 Steve Ellcey <sje@cup.hp.com>
6700 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6702 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
6705 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6706 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6709 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6711 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6713 (aeabi_uidivmod): Likewise.
6714 (umodsi3): Likewise.
6716 (aeabi_idivmod): Likewise.
6719 2011-11-16 Tristan Gingold <gingold@adacore.com>
6721 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6723 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
6726 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
6727 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6729 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6731 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6733 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6734 * config/pa/t-stublib64: Delete.
6736 2011-11-12 Richard Henderson <rth@redhat.com>
6738 * config/rs6000/linux-unwind.h (frob_update_context): Properly
6739 cast the pointer argument to _Unwind_SetGRPtr.
6741 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6743 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6745 2011-11-09 Ian Lance Taylor <iant@google.com>
6747 * generic-morestack.c: Include <string.h>.
6748 (uintptr_type): Define.
6749 (struct initial_sp): Add dont_block_signals field. Reduce size of
6751 (allocate_segment): Set prev field to NULL. Don't set
6752 __morestack_current_segment or __morestack_segments.
6753 (__generic_morestack): Update current->prev and *pp after calling
6755 (__morestack_block_signals): Don't do anything if
6756 dont_block_signals is set.
6757 (__morestack_unblock_signals): Likewise.
6758 (__generic_findstack): Check for initial_sp == NULL. Add casts to
6760 (__splitstack_block_signals): New function.
6761 (enum __splitstack_content_offsets): Define.
6762 (__splitstack_getcontext, __splitstack_setcontext): New functions.
6763 (__splitstack_makecontext): New function.
6764 (__splitstack_block_signals_context): New function.
6765 (__splitstack_find_context): New function.
6766 * config/i386/morestack.S (__morestack_get_guard): New function.
6767 (__morestack_set_guard, __morestack_make_guard): New functions.
6768 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6770 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6772 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6773 (i[34567]86-*-mingw*): ... here.
6774 (x86_64-*-mingw*): ... here.
6776 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6778 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6780 2011-11-07 Nathan Sidwell <nathan@acm.org>
6782 * libgcov.c (struct gcov_fn_buffer): New struct.
6783 (buffer_fn_data): New helper.
6784 (gcov_exit): Rework for new gcov data structures.
6786 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
6789 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6791 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6793 * config.host (tmake_file): Correct comment.
6794 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6796 (bfin*-uclinux*): Likewise.
6797 (bfin*-linux-uclibc*): Likewise.
6798 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6800 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6802 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6803 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6804 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6805 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6806 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6807 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6808 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6809 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6810 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6811 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6812 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6813 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6814 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6816 * config/bfin/t-elf: Remove.
6817 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6819 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6821 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6822 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6823 (lm32-*-elf*, lm32-*-rtems*): Split into ...
6824 (lm32-*-elf*): ... this.
6825 (lm32-*-rtems*): ... and this.
6827 (m32r-*-rtems*): Add to tmake_file.
6828 (moxie-*-rtems*): Likewise.
6829 (sparc-*-rtems*): Likewise.
6830 Remove t-rtems from tmake_file.
6831 (sparc64-*-rtems*): Likewise.
6832 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6835 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6838 * config/gthr-posix.h: Move ...
6839 * gthr-posix.h: ... here.
6840 * config/gthr-lynx.h: Reflect this.
6841 * config/gthr-vxworks.h: Likewise.
6842 * config/rs6000/gthr-aix.h: Likewise.
6843 * configure.ac (target_thread_file): Likewise.
6844 * configure: Regenerate.
6846 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
6848 * config.host (arm*-*-rtemseabi*): New target.
6850 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6853 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6856 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
6858 * config.host (epiphany-*-elf*): New configuration.
6859 * config/epiphany: New Directory.
6861 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
6863 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6864 * config/avr/t-rtems: New.
6865 Filter out _exit from LIB1ASMFUNCS.
6867 2011-11-04 David S. Miller <davem@davemloft.net>
6869 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6870 * configure: Rebuild.
6872 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6874 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6877 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
6880 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6881 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6883 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
6886 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6888 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6890 * config/c6x/t-elf (LIB2ADDEH): Set.
6891 * config/c6x/t-c6x-elf: Remove.
6893 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6895 * config/i386/sol2-ci.S: Rename to ...
6896 * config/i386/crti.S: ... this.
6897 * config/i386/sol2-cn.S: Rename to ...
6898 * config/i386/crtn.S: ... this.
6899 * config/sparc/sol2-ci.S: Rename to ...
6900 * config/sparc/crti.S: ... this.
6901 * config/sparc/sol2-cn.S: Rename to ...
6902 * config/sparc/crtn.S: ... this.
6903 * config/t-sol2 (CUSTOM_CRTIN): Remove.
6904 (crti.o, crtn.o): Remove.
6906 2011-11-04 Tristan Gingold <gingold@adacore.com>
6908 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6910 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
6912 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6914 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
6916 * config.host (crisv32-*-none, cris-*-none): Remove.
6917 (crisv32-*-elf): Append to tmake_file, don't just set it.
6918 (cris-*-elf): Add missing t-fdpbit to tmake_file.
6920 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6922 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6923 (ecrtn$(objext)): Likewise.
6924 (ncrti$(objext)): Likewise.
6925 (ncrtn$(objext)): Likewise.
6927 2011-11-03 Andreas Schwab <schwab@redhat.com>
6929 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6931 2011-11-02 David S. Miller <davem@davemloft.net>
6933 * configure.ac: Set host_address on sparc too.
6934 * configure: Regenerate.
6935 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
6936 based upon host_address.
6937 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
6939 2011-11-02 Jason Merrill <jason@redhat.com>
6941 * config/rs6000/t-ppccomm: Add missing \.
6943 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6945 * gthr-single.h, gthr.h: New files.
6946 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
6947 config/gthr-vxworks.h, config/i386/gthr-win32.h,
6948 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
6949 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
6950 * config/i386/gthr-win32.c: Include "gthr-win32.h".
6951 * configure.ac (thread_header): New variable.
6952 Set it depending on target_thread_file.
6953 (gthr-default.h): Link from $thread_header.
6954 * configure: Regenerate.
6955 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
6957 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6959 * configure.ac (tm_file_): New variable.
6960 Determine from tm_file.
6961 (tm_file, tm_defines): Substitute.
6962 * configure: Regenerate.
6963 * mkheader.sh: New file.
6964 * Makefile.in (clean): Remove libgcc_tm.h.
6965 ($(objects)): Depend on libgcc_tm.h.
6966 (libgcc_tm_defines, libgcc_tm_file): New variables.
6967 (libgcc_tm.h, libgcc_tm.stamp): New targets.
6968 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
6969 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
6970 ($(extra-parts)): Depend on libgcc_tm.h.
6971 * config.host (tm_defines, tm_file): New variable.
6972 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
6973 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
6974 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
6975 (avr-*-rtems*): Likewise.
6976 (avr-*-*): Likewise.
6977 (frv-*-elf): Likewise.
6978 (frv-*-*linux*): Likewise.
6979 (h8300-*-rtems*): Likewise.
6980 (h8300-*-elf*): Likewise.
6981 (i[34567]86-*-darwin*): Likewise.
6982 (x86_64-*-darwin*): Likewise.
6983 (rx-*-elf): Likewise.
6984 (tic6x-*-uclinux): Likewise.
6985 (tic6x-*-elf): Likewise.
6986 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
6987 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
6988 * config/i386/cygming-crtbegin.c: Likewise.
6989 * config/i386/cygming-crtend.c: Likewise.
6990 * config/ia64/fde-vms.c: Likewise.
6991 * config/ia64/unwind-ia64.c: Likewise.
6992 * config/libbid/bid_gcc_intrinsics.h: Likewise.
6993 * config/rs6000/darwin-fallback.c: Likewise.
6994 * config/stormy16/lib2funcs.c: Likewise.
6995 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
6996 * crtstuff.c: Likewise.
6997 * dfp-bit.h: Likewise.
6998 * emutls.c: Likewise.
6999 * fixed-bit.c: Likewise.
7000 * fp-bit.c: Likewise.
7001 * generic-morestack-thread.c: Likewise.
7002 * generic-morestack.c: Likewise.
7003 * libgcc2.c: Likewise.
7004 * libgcov.c: Likewise.
7005 * unwind-dw2-fde-dip.c: Likewise.
7006 * unwind-dw2-fde.c: Likewise.
7007 * unwind-dw2.c: Likewise.
7008 * unwind-sjlj.c: Likewise.
7010 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7012 * configure.ac: Include ../config/picflag.m4.
7013 (GCC_PICFLAG): Call it.
7015 * configure: Regenerate.
7016 * Makefile.in (gcc_srcdir): Remove.
7017 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7018 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7019 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7020 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7021 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7024 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7025 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7026 to refer to libgcc2.c.
7028 * config/darwin-64.c: New file.
7029 * config/darwin-crt3.c: Remove comment.
7030 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7031 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7032 config/udivmodsi4.c: New files.
7033 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7034 config/memset.c: New files.
7035 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7036 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7037 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7038 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7039 * config/t-openbsd-thread: New file.
7040 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7041 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7042 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7043 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7046 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7047 to refer to gthr-posix.c.
7048 * config/alpha/t-vms (LIB2ADD): Set.
7049 * config/alpha/vms-gcc_shell_handler.c: New file.
7050 * config/arm/bpabi.c, config/arm/fp16.c,
7051 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7052 config/arm/unaligned-funcs.c: New files.
7053 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7054 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7055 * config/arm/t-linux: Likewise.
7056 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7057 * config/arm/t-netbsd: New file.
7058 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7059 * config/arm/t-symbian (LIB2ADD_ST): Set.
7060 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7061 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7062 * config/bfin/t-elf: New file.
7063 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7064 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7065 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7066 config/c6x/ltf.c: New files.
7067 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7068 (HOST_LIBGCC2_CFLAGS): Set.
7069 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7070 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7071 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7073 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7074 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7075 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7076 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7077 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7079 * config/frv/t-frv (LIB2ADD): Set.
7080 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7081 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7082 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7083 config/h8300/popcounthi2.c: New files.
7084 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7085 * config/i386/gthr-win32.c: New file.
7086 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7087 * config/i386/t-cygwin: Likewise.
7088 * config/i386/t-darwin, config/i386/t-darwin64,
7089 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7090 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7091 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7092 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7093 * config/ia64/quadlib.c: New file.
7094 * config/ia64/t-hpux (LIB2ADD): Set.
7095 * config/ia64/t-ia64: Add comment.
7096 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7097 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7098 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7099 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7100 * config/m32c/t-m32c (LIB2ADD): Set.
7101 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7102 * config/m32r/t-m32r: Likewise.
7103 * config/m68k/fpgnulib.c: New file.
7104 * config/m68k/t-floatlib (LIB2ADD): Set.
7105 (xfgnulib.c): New target.
7106 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7107 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7108 * config/mep/t-mep (LIB2ADD): Set.
7109 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7110 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7111 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7112 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7113 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7114 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7115 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7116 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7117 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7118 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7120 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7121 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7122 * config/pa/fptr.c, config/pa/lib2funcs.S,
7123 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7124 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7125 (LIB2ADD, LIB2ADD_ST): Set.
7126 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7127 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7129 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7130 * config/pdp11/t-pdp11: New file.
7131 * config/picochip/libgccExtras/adddi3.S,
7132 config/picochip/libgccExtras/ashlsi3.S,
7133 config/picochip/libgccExtras/ashrsi3.S,
7134 config/picochip/libgccExtras/clzsi2.S,
7135 config/picochip/libgccExtras/cmpsi2.S,
7136 config/picochip/libgccExtras/divmod15.S,
7137 config/picochip/libgccExtras/divmodhi4.S,
7138 config/picochip/libgccExtras/divmodsi4.S,
7139 config/picochip/libgccExtras/lshrsi3.S,
7140 config/picochip/libgccExtras/parityhi2.S,
7141 config/picochip/libgccExtras/popcounthi2.S,
7142 config/picochip/libgccExtras/subdi3.S,
7143 config/picochip/libgccExtras/ucmpsi2.S,
7144 config/picochip/libgccExtras/udivmodhi4.S,
7145 config/picochip/libgccExtras/udivmodsi4.S: New files.
7146 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7147 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7148 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7149 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7150 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7151 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7152 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7153 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7155 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7156 (HOST_LIBGCC2_CFLAGS): Set.
7157 * config/rs6000/t-darwin64: New file.
7158 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7159 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7160 * config/rs6000/t-ppccomm (LIB2ADD): Add
7161 $(srcdir)/config/rs6000/tramp.S.
7162 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7163 Add $(srcdir)/config/rs6000/eabi.S.
7164 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7165 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7166 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7167 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7168 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7169 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7170 * config/rs6000/tramp.S: New file.
7171 * config/s390/t-tpf: Remove.
7172 * config/sh/linux-atomic.S: New file.
7173 * config/sh/t-linux (LIB2ADD): Set.
7174 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7175 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7176 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7178 (HOST_LIBGCC2_CFLAGS): Set.
7179 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7180 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7181 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7182 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7183 config/spu/mfc_multi_tag_release.c,
7184 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7185 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7186 config/spu/multi3.c: New files.
7187 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7188 (HOST_LIBGCC2_CFLAGS): Set.
7189 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7190 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7191 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7192 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7193 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7194 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7195 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7196 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7197 config/stormy16/umodsi3.c: New files.
7198 * config/xtensa/lib2funcs.S: New file.
7199 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7200 * config/xtensa/t-xtensa (LIB2ADD): Set.
7201 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7202 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7203 Add t-freebsd-thread to tmake_file for posix threads.
7204 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7205 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7206 (*-*-lynxos*): Likewise.
7207 (*-*-netbsd*): Likewise.
7208 (*-*-openbsd*): Likewise.
7209 Add t-openbsd-thread to tmake_file for posix threads.
7210 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7211 (*-*-vxworks*): Set tmake_file.
7212 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7213 (alpha*-*-freebsd*): Likewise.
7214 (alpha*-*-netbsd*): Likewise.
7215 (alpha*-*-openbsd*): Likewise.
7216 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7217 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7218 (alpha*-dec-*vms*): Likewise.
7219 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7220 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7221 (bfin*-uclinux*): Likewise.
7222 (bfin*-linux-uclibc*): Likewise.
7223 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7224 (crisv32-*-none): Likewise.
7225 (cris-*-elf): Likewise.
7226 (cris-*-none): Likewise.
7227 (cris-*-linux*, crisv32-*-linux*): Likewise.
7228 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7230 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7232 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7233 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7234 (x86_64-*-elf*): Likewise.
7235 (i[34567]86-*-nto-qnx*): Likewise.
7236 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7238 (x86_64-*-mingw*): Likewise.
7239 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7240 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7241 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7242 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7243 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7245 (mipsisa64sr71k-*-elf*): Likewise.
7246 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7247 (mips-*-elf*, mipsel-*-elf*): Likewise.
7248 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7249 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7250 (mips*-*-rtems*): Likewise.
7251 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7253 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7254 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7255 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7256 (spu-*-elf*): Likewise.
7257 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7259 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7261 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7262 $(srcdir) to refer to $(LIB1ASMSRC).
7264 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7265 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7266 config/arm/lib1funcs.S: New files.
7267 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7268 * config/arm/t-arm: New file.
7269 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7270 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7271 config/arm/t-strongarm-elf: New files.
7272 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7273 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7274 * config/avr/lib1funcs.S: New file.
7275 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7276 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7277 * config/c6x/lib1funcs.S: New file.
7278 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7279 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7280 * config/frv/lib1funcs.S: New file.
7281 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7282 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7283 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7284 * config/ia64/__divxf3.asm: Rename to ...
7285 * config/ia64/__divxf3.S: ... this.
7286 Adapt lib1funcs.asm filename.
7287 * config/ia64/_fixtfdi.asm: Rename to ...
7288 * config/ia64/_fixtfdi.S: ... this.
7289 Adapt lib1funcs.asm filename.
7290 * config/ia64/_fixunstfdi.asm: Rename to ...
7291 * config/ia64/_fixunstfdi.S: ... this.
7292 Adapt lib1funcs.asm filename.
7293 * config/ia64/_floatditf.asm: Rename to ...
7294 * config/ia64/_floatditf.S: ... this.
7295 Adapt lib1funcs.asm filename.
7296 * config/ia64/lib1funcs.S: New file.
7297 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7298 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7299 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7300 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7301 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7302 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7303 * config/mep/lib1funcs.S: New file.
7304 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7305 * config/mips/mips16.S: New file.
7306 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7307 * config/pa/milli64.S: New file.
7308 * config/pa/t-linux, config/pa/t-linux64: New files.
7309 * config/picochip/lib1funcs.S: New file.
7310 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7311 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7312 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7313 * config/sh/t-netbsd: New file.
7314 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7315 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7316 * config/sh/t-sh64: New file.
7317 * config/sparc/lb1spc.S: New file.
7318 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7320 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7321 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7322 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7323 config/xtensa/lib1funcs.S: New files.
7324 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7325 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7327 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7328 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7329 (arm*-*-linux*): Likewise.
7330 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7331 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7332 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7333 (arm*-*-ecos-elf): Likewise.
7334 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7335 (arm*-*-rtems*): Likewise.
7336 (arm*-*-elf): Likewise.
7337 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7338 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7339 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7340 (bfin*-uclinux*): Likewise.
7341 (bfin*-linux-uclibc*): Likewise.
7342 (bfin*-rtems*): Likewise.
7343 (bfin*-*): Likewise.
7344 (fido-*-elf): Merge into m68k-*-elf*.
7345 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7346 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7347 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7348 (h8300-*-elf*): Likewise.
7349 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7350 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7351 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7352 (i[34567]86-*-mingw*): Likewise.
7353 (x86_64-*-mingw*): Likewise.
7354 (i[34567]86-*-interix3*): Likewise.
7355 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7356 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7357 (m68k-*-elf*): Also handle fido-*-elf.
7358 Add m68k/t-floatlib to tmake_file.
7359 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7360 (m68k-*-linux*): Likewise.
7361 (m68k-*-rtems*): Likewise.
7362 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7363 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7365 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7366 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7367 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7368 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7369 sh/t-netbsd to tmake_file.
7370 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7371 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7372 (sh-wrs-vxworks): Likewise.
7373 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7375 (v850*-*-*): Add v850/t-v850 to tmake_file.
7376 (vax-*-linux*): Add vax/t-linux to tmake_file.
7377 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7379 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7381 * crtstuff.c: New file.
7382 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7383 (CRTSTUFF_T_CFLAGS): Define.
7384 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7385 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7386 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7389 (crtbeginT.o): Use $(objext).
7390 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7391 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7392 (gcc-extra-parts): Remove.
7393 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7395 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7396 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7397 Add t-crtstuff-pic to tmake_file.
7398 (*-*-lynxos*): New case.
7399 Set tmake_file, extra_parts.
7400 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7401 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7402 *-*-netbsdelf[2-9]*.
7403 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7404 (*-*-rtems*): Set extra_parts.
7405 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7406 (*-*-uclinux*): New case.
7408 (*-*-vms*): New case.
7409 Set tmake_file, extra_parts.
7410 (*-*-elf): Set extra_parts.
7411 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7412 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7415 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7417 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7418 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7419 (arm-wrs-vxworks): Append to tmake_file.
7421 (arm*-*-uclinux*): Set extra_parts.
7422 (arm*-*-ecos-elf): Likewise.
7423 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7425 (arm*-*-rtems*): Set extra_parts.
7426 (arm*-*-elf): Likewise.
7427 (avr-*-rtems*): Clear extra_parts.
7428 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7430 (bfin*-uclinux*): Likewise.
7431 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7432 (bfin*-rtems*): Append to tmake_file.
7434 (bfin*-*): Likewise.
7435 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7436 (crisv32-*-elf): ... this.
7437 (crisv32-*-none): ... this.
7438 (cris-*-elf, cris-*-none): New cases.
7439 Add cris/t-elfmulti to tmake_file.
7440 (fr30-*-elf): Append to tmake_file.
7442 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7444 (h8300-*-rtems*): Append to tmake_file.
7446 (h8300-*-elf*): Likewise.
7447 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7449 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7451 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7452 (x86_64-*-elf*): Likewise.
7453 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7454 (x86_64-*-freebsd*): Likewise.
7455 (x86_64-*-netbsd*): Likewise.
7456 (i[34567]86-*-linux*): Likewise.
7457 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7458 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7459 (x86_64-*-linux*): Likewise.
7460 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7461 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7464 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7465 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7466 Append to extra_parts, remove crtbegin.o, crtend.o.
7467 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7468 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7469 crtend.o, crtbeginS.o, crtendS.o.
7470 (ia64*-*-linux*): Comment extra_parts.
7471 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7473 (iq2000*-*-elf*): Clear extra_parts.
7474 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7475 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7476 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7477 (m32r-*-rtems*): ... this.
7478 Add m32r/t-m32r to tmake_file.
7479 (m68k-*-elf*): Add t-crtin to tmake_file.
7480 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7481 (mcore-*-elf): Likewise.
7482 (microblaze*-*-*): Set extra_parts.
7483 (mips*-sde-elf*): New case.
7484 Set tmake_file, extra_parts.
7485 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7486 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7487 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7490 (mipsisa64sr71k-*-elf*): Likewise.
7491 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7492 (mips-*-elf*, mipsel-*-elf*): Likewise.
7493 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7494 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7495 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7496 (mips*-*-rtems*): Likewise.
7497 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7498 (moxie-*-*): Split into ...
7499 (moxie-*-elf, moxie-*-uclinux*): ... this.
7500 Add to extra_parts, remove crtbegin.o, crtend.o.
7501 (moxie-*-rtems*): New case.
7504 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7506 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7507 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7510 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7511 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7513 (powerpc-*-eabisim*): Likewise.
7514 (powerpc-*-elf*): Likewise.
7515 (powerpc-*-eabialtivec*): Likewise.
7516 (powerpc-xilinx-eabi*): Likewise.
7517 (powerpc-*-eabi*): Likewise.
7518 (powerpc-*-rtems*): Likewise.
7519 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7522 (powerpc-*-lynxos*): Add to tmake_file.
7523 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7524 rs6000/t-crtstuff, t-crtstuff-pic.
7526 (powerpcle-*-eabisim*): Likewise.
7527 (powerpcle-*-eabi*): Likewise.
7528 (rx-*-elf): Remove extra_parts.
7529 (s390x-ibm-tpf*): Set extra_parts.
7530 (score-*-elf): Set extra_parts.
7531 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7532 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7533 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7534 (sh64l*-*-netbsd*): Split into ...
7535 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7536 Add t-crtstuff-pic to tmake_file.
7538 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7540 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7541 (sparc-*-elf*): Remove t-crtin from tmake_file.
7542 Add to extra_parts, remove crtbegin.o, crtend.o.
7543 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7544 (sparc64-*-linux*): Likewise.
7545 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7546 Add to extra_parts, remove crtbegin.o, crtend.o.
7547 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7548 Add to extra_parts, remove crtbegin.o, crtend.o.
7549 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7550 Add to extra_parts, remove crtbegin.o, crtend.o.
7551 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7552 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7553 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7555 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7557 (tic6x-*-*): Change to ...
7558 (tic6x-*-elf): ... this.
7560 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7562 (am33_2.0-*-linux*): Add comment.
7563 (mep*-*-*): Add mep/t-mep to tmake_file.
7565 * config/alpha/t-vms: New file.
7566 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7567 * config/arm/crti.S, config/arm/crtn.S: New files.
7568 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7569 * config/bfin/crtlibid.S: New file.
7570 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7571 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7572 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7573 (crti.o, crtin.o): New rules.
7574 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7575 * config/c6x/t-uclinux: New file.
7576 * config/cris/t-elfmulti: New file.
7577 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7578 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7579 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7580 * config/frv/t-frv: New file.
7581 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7582 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7583 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7585 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7586 refer to cygming-crtbegin.c, cygming-crtend.c.
7588 * config/i386/t-nto: New file.
7589 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7590 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7591 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7592 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7595 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7596 (crtinitS.o): New rule.
7597 * config/ia64/vms-crtinit.S: New file.
7598 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7599 * config/m32r/initfini.c: New file.
7600 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7601 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7602 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7603 * config/mep/t-mep: New file.
7604 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7605 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7606 * config/mips/crti.S, config/mips/crtn.S: New files.
7607 * config/mips/t-crtstuff: New file.
7608 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7609 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7610 (CUSTOM_CRTIN): Set.
7611 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7613 Use $(srcdir) to refer to crti.S, crtn.S.
7614 Use .S extension, $<.
7615 * config/moxie/crti.asm: Rename to ...
7616 * config/moxie/crti.S: ... this.
7617 * config/moxie/crtn.asm: Rename to ...
7618 * config/moxie/crtn.S: ... this.
7619 * config/moxie/t-moxie: Remove.
7620 * config/pa/stublib.c: New file.
7621 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7622 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7623 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7624 * config/rs6000/t-crtstuff: New file.
7625 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7626 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7627 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7628 Make output file explicit.
7629 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7630 Make output file explicit.
7631 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7632 Make output file explicit.
7633 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7634 Make output file explicit.
7635 * config/score/crti.S, config/score/crtn.S: New files.
7636 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7637 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7639 * config/sh/t-sh, config/sh/t-superh: New files.
7640 * config/sparc/t-linux64: New file.
7641 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7642 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7643 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7644 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7645 * config/t-crtin: Remove.
7646 * config/t-crtstuff-pic: New file.
7647 * config/t-sol2 (CUSTOM_CRTIN): Set.
7648 (crti.o, crtn.o): New rules.
7649 * config/vms/t-vms: New file.
7650 * config/vms/vms-ucrt0.c: New file.
7651 * config/xtensa/t-elf: New file.
7653 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7655 * Makefile.in (SHLIB_NM_FLAGS): Set.
7656 * mkmap-flat.awk, mkmap-symver.awk: New files.
7657 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7659 * configure: Regenerate.
7660 * config/libgcc-glibc.ver: New file.
7661 * config/libgcc-libsystem.ver: New file.
7662 * config/t-libunwind (SHLIB_LC): Set.
7663 * config/t-linux: New file.
7664 * config/t-slibgcc (INSTALL_SHLIB): New.
7665 (SHLIB_INSTALL): Use it.
7666 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7667 to mkmap-symver.awk.
7668 (SHLIB_MAPFILES): Don't append, adapt pathname.
7669 (SHLIB_VERPFX): Set.
7670 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7671 to mkmap-symver.awk.
7672 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7673 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7674 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7675 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7677 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7678 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7679 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7680 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7681 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7682 * config/i386/libgcc-darwin.10.4.ver,
7683 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7685 * config/i386/t-darwin: Remove.
7686 * config/i386/t-darwin64: Likewise.
7687 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7688 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7689 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7690 * config/i386/t-linux: New file.
7691 * config/i386/t-mingw32: New file.
7692 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7693 * config/ia64/t-glibc: Rename to ...
7694 * config/ia64/t-linux: ... this.
7695 (SHLIB_MAPFILES): Set.
7696 * config/ia64/t-glibc-libunwind: Rename to ...
7697 * config/ia64/t-linux-libunwind: ... this.
7698 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7699 * config/ia64/t-slibgcc-hpux: New file.
7700 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7701 * config/m68k/t-slibgcc-elf-ver: New file.
7702 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7703 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7705 * config/pa/t-slibgcc-hpux: New file.
7706 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7708 * config/rs6000/libgcc-darwin.10.4.ver,
7709 config/rs6000/libgcc-darwin.10.5.ver: New files.
7710 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7711 config/rs6000/libgcc-glibc.ver.
7712 * config/rs6000/libgcc-ppc64.ver: Rename to
7713 config/rs6000/libgcc-ibm-ldouble.ver.
7714 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7715 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7716 * config/rs6000/t-ldbl128: Rename to ...
7717 * config/rs6000/t-linux: ... this.
7718 (SHLIB_MAPFILES): Adapt filename.
7719 * config/rs6000/t-slibgcc-aix: New file.
7720 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7721 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7722 libgcc-excl.ver, libgcc-glibc.ver.
7723 (SHLIB_LINK, SHLIB_INSTALL): Remove.
7724 * config/sparc/libgcc-glibc.ver: New file.
7725 * config/sparc/t-linux: New file.
7726 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7727 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7728 t-slibgcc-elf-ver to tmake_file.
7729 Add t-slibgcc-nolc-override to tmake_file for posix threads on
7731 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7732 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7733 t-slibgcc-elf-ver, t-linux to tmake_file.
7734 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7736 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7737 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7738 (alpha*-dec-*vms*): Likewise.
7739 (arm*-*-freebsd*): Append to tmake_file.
7740 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7741 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7743 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7744 tmake_file for arm*-*-symbianelf*.
7745 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7746 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7748 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7749 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7750 pa/t-slibgcc-dwarf-ver to tmake_file.
7751 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7752 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7753 (hppa*64*-*-hpux11*): Likewise.
7754 (hppa[12]*-*-hpux11*): Likewise.
7755 (x86_64-*-darwin*): Don't override tmake_file, but only keep
7756 i386/t-crtpc, i386/t-crtfm.
7757 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7758 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7760 Add i386/t-cygwin to tmake_file.
7761 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7762 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7763 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7765 Add i386/t-mingw32 to tmake_file.
7766 (x86_64-*-mingw*): Likewise.
7767 (ia64*-*-freebsd*): Append to tmake_file.
7768 (ia64*-*-linux*): Append to tmake_file.
7769 Replace ia64/t-glibc by ia64/t-linux.
7770 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7772 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7773 t-slibgcc-hpux to tmake_file.
7774 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7775 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7776 (m32rle-*-linux*): Likewise.
7777 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7779 (microblaze*-linux*): New case.
7780 Append to tmake_file, add t-slibgcc-nolc-override.
7781 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7782 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7783 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7784 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7785 rs6000/t-slibgcc-aix to tmake_file.
7786 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7787 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7788 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7789 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7790 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7791 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7793 (sparc-*-linux*): Append to tmake_file for *-leon*.
7794 Add sparc/t-linux to tmake_file for non-Leon targets.
7795 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7796 (tic6x-*-uclinux): New case.
7797 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7798 (tic6x-*-*): Add c6x/t-elf to tmake_file.
7799 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7800 (am33_2.0-*-linux*): Append to tmake_file.
7801 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7802 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7803 x86_64-*-kfreebsd*-gnu.
7804 Add i386/t-linux to tmake_file.
7806 2011-10-28 Ian Lance Taylor <iant@google.com>
7808 * config/i386/morestack.S: Correct CFI information to do proper
7809 returns throughout function. In 32-bit mode, save %ebx so that it
7810 is restored on unwind.
7812 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
7814 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7815 case where B3 isn't the return register.
7817 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7818 logic for doubleword pops.
7820 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
7822 * config/rs6000/t-freebsd: Add wildcard.
7824 2011-10-21 Paul Brook <paul@codesourcery.com>
7826 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7828 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
7829 Eric Botcazou <ebotcazou@adacore.com>
7832 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7833 fs->signal_frame to 1.
7835 2011-10-07 Ian Lance Taylor <iant@google.com>
7837 * generic-morestack-thread.c: #include <errno.h>.
7839 2011-10-07 Ian Lance Taylor <iant@google.com>
7842 * generic-morestack.c (__generic_morestack): Make sure the segment
7843 is large enough for both the stack frame and the copied
7846 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7849 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7852 2011-09-28 Nick Clifton <nickc@redhat.com>
7854 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7855 64-bit doubles are not enabled.
7856 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7857 and floatunsisf functions.
7859 2011-09-13 Paul Brook <paul@codesourcery.com>
7861 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
7862 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7863 * unwind-arm-common.inc: New file.
7864 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7865 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7866 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7867 * config/c6x/libunwind.S: New file.
7868 * config/c6x/pr-support.c: New file.
7869 * config/c6x/unwind-c6x.c: New file.
7870 * config/c6x/unwind-c6x.h: New file.
7871 * config/c6x/t-c6x-elf: New file.
7873 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
7875 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7876 (ASM_DIVZERO): Ditto.
7877 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7879 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
7881 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7883 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
7886 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7887 instead of an assembly one.
7889 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
7892 * Makefile.in (install-unwind_h): Create
7893 $(gcc_objdir)/include/unwind.h atomically.
7895 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7897 * Makefile.in (install-unwind_h): Remove destination file first.
7899 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7902 * config/mips/t-mips16: New file.
7903 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7904 (mips*-*-linux*): Likewise.
7905 (mips*-sde-elf*): Likewise.
7906 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7907 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7908 Add mips/t-mips16 to tmake_file.
7909 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7910 (mips-*-elf*): Likewise.
7911 (mips64-*-elf*): Likewise.
7912 (mips64orion-*-elf*): Likewise.
7913 (mips*-*-rtems*): Likewise.
7914 (mipstx39-*-elf*): Likewise.
7915 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7916 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7918 Use $(srcdir) to refer to sync.c.
7920 ($(libgcc-sync-funcs-o)): Likewise.
7921 ($(libgcc-sync-size-funcs-s-o)): Likewise.
7922 ($(libgcc-sync-funcs-s-o)): Likewise.
7924 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7926 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7929 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
7932 * config/i386/value-unwind.h: New.
7934 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
7936 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
7937 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
7938 Add to tmake_file rather than overriding it.
7940 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7942 * config/t-softfp: Remove.
7943 * soft-fp: Moved from ../gcc/config.
7944 * soft-fp/README: Remove t-softfp reference.
7945 * soft-fp/t-softfp: Move to config/t-softfp.
7946 (softfp_machine_header): Remove.
7947 (softfp_file_list): Remove config subdir.
7948 (soft-fp-objects): New variable.
7949 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
7950 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
7951 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
7952 * config/t-softfp-excl: New file.
7953 * config/t-softfp-sfdf: New file.
7954 * config/t-softfp-tf: New file.
7955 * config/no-sfp-machine.h: New file.
7956 * config/arm/sfp-machine.h: New file.
7957 * config/arm/t-softfp: New file.
7958 * config/c6x/sfp-machine.h: New file.
7959 * config/i386/32/t-fprules-softfp: Rename to ...
7960 * config/i386/32/t-softfp: ... this.
7961 (tifunctions, LIB2ADD): Remove.
7962 (softfp_int_modes): Override.
7963 * config/i386/64/t-softfp-compat (tf-functions): Remove config
7965 * config/i386/64/eqtf2.c: Likewise.
7966 * config/i386/64/getf2.c: Likewise.
7967 * config/i386/64/letf2.c: Likewise.
7968 * config/ia64/sft-machine.h: New file.
7969 * config/ia64/t-fprules-softfp: Rename to ...
7970 * config/ia64/t-softfp: ... this.
7971 * config/lm32/sfp-machine.h: New file.
7972 * config/moxie/t-moxie-softfp: Remove.
7973 * config/rs6000/ibm-ldouble-format: New file.
7974 * config/rs6000/ibm-ldouble.c: New file.
7975 * config/rs6000/libgcc-ppc-glibc.ver: New file
7976 * config/rs6000/libgcc-ppc64.ver: New file
7977 * config/rs6000/sfp-machine.h: New file.
7978 * config/rs6000/t-freebsd: New file.
7979 * config/rs6000/t-ibm-ldouble: New file.
7980 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
7981 libgcc-ppc-glibc.ver.
7982 * config/rs6000/t-linux64: New file.
7983 * config/rs6000/t-ppccomm (LIB2ADD): Add
7984 $(srcdir)/config/rs6000/ibm-ldouble.c.
7985 * config/rs6000/t-ppccomm-ldbl: New file.
7986 * config/score/sfp-machine.h: New file.
7987 * config.host (sfp_machine_header): Explain.
7988 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
7989 t-softfp to tmake_file.
7990 (arm*-*-uclinux*): Likewise.
7991 (arm*-*-ecos-elf): Likewise.
7992 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7993 (arm*-*-rtems*): Likewise.
7994 (arm*-*-elf): Likewise.
7995 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
7997 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
7998 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
7999 (lm32-*-uclinux*): Likewise.
8000 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8001 t-softfp-excl, t-softfp.
8002 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8003 (powerpc64-*-darwin*): Likewise.
8004 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8006 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8008 (powerpc-*-eabisim*): Likewise.
8009 (powerpc-*-elf*): Likewise.
8010 (powerpc-*-eabialtivec*): Likewise.
8011 (powerpc-xilinx-eabi*): Likewise.
8012 (powerpc-*-rtems*): Likewise.
8013 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8014 t-softfp-excl, t-softfp to tmake_file.
8015 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8016 rs6000/t-ppccomm-ldbl to tmake_file.
8017 (powerpcle-*-elf*): Likewise.
8018 (powerpcle-*-eabisim*): Likewise.
8019 (powerpcle-*-eabi*): Likewise.
8020 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8021 rs6000/t-ibm-ldouble to tmake_file.
8022 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8023 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8024 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8025 (tic6x-*-*): Likewise.
8026 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8027 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8028 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8029 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8030 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8031 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8032 t-softfp to tmake_file.
8033 * configure.ac (sfp_machine_header): Provide default if unset.
8035 Link sfp-machine.h to config/$sfp_machine_header.
8036 * configure: Regenerate.
8038 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8040 * Makefile.in (double_type_size, long_double_type_size): Set.
8041 Remove $(fpbit-in-libgcc) support.
8042 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8043 (fpbit-src): New variable.
8044 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8045 Compile with -DFLOAT $(FPBIT_CFLAGS).
8047 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8048 Compile with $(FPBIT_CFLAGS).
8050 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8051 Compile with -DFLOAT $(TPBIT_CFLAGS).
8053 * configure.ac (double_type_size, long_double_type_size):
8054 Determine and substitute.
8055 * configure: Regenerate.
8056 * fp-bit.c, fp-bit.h: New files.
8057 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8058 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8059 * config/mips/t-mips: New file.
8060 * config/mips/t-sdemtk: New file.
8061 * config/rs6000/ppc64-fp.c: New file.
8062 * config/rs6000/t-darwin (LIB2ADD): Add
8063 $(srcdir)/config/rs6000/ppc64-fp.c.
8064 * config/rs6000/t-ppc64-fp: New file.
8065 * config/rx/rx-lib.h: New file.
8066 * config/rx/t-rx (FPBIT): Set to true.
8067 ($(gcc_objdir)/fp-bit.c): Remove.
8068 (DPBIT): Set to true only with -m64bit-doubles.
8069 ($(gcc_objdir)/dp-bit.c): Remove.
8070 * config/sparc/t-softfp: Remove.
8071 * config/spu/t-elf: New file.
8072 * config/t-fdpbit, config/t-fpbit: New files.
8073 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8074 (mips*-*-*): Likewise.
8075 (arm-wrs-vxworks): Likewise.
8076 (arm*-*-freebsd*): Likewise.
8077 (avr-*-rtems*): Add t-fpbit to tmake_file.
8078 (avr-*-*): Likewise.
8079 (bfin*-elf*): Add t-fdpbit to tmake_file.
8080 (bfin*-uclinux*): Likewise.
8081 (bfin*-linux-uclibc*): Likewise.
8082 (bfin*-rtems*): New case.
8083 Add t-fdpbit to tmake_file.
8084 (bfin*-*): Add t-fdpbit to tmake_file.
8085 (crisv32-*-elf): Likewise.
8086 (cris-*-linux*): Likewise.
8087 (fr30-*-elf): Likewise.
8088 (frv-*-elf, frv-*-*linux*): Likewise.
8089 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8090 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8091 (m32r-*-elf*): Likewise.
8092 (m32rle-*-elf*): Likewise.
8093 (m32r-*-linux*): Likewise.
8094 (m32rle-*-linux*): Likewise.
8095 (mcore-*-elf): Add t-fdpbit to tmake_file.
8096 (microblaze*-*-*): Likewise.
8097 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8098 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8099 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8101 Add mips/t-tpbit to tmake-file.
8102 (mips*-*-linux*): Fix typo.
8103 (mips*-sde-elf*): New case
8104 Add mips/t-sdemtk unless using newlib.
8105 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8106 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8107 (mn10300-*-*): Likewise.
8108 (pdp11-*-*): Likewise.
8109 (picochip-*-*): Add t-fpbit to tmake_file.
8110 (powerpc-*-eabisimaltivec*): Likewise.
8111 (powerpc-*-eabisim*): Likewise.
8112 (powerpc-*-elf*): Likewise.
8113 (powerpc-*-eabialtivec*): Likewise.
8114 (powerpc-xilinx-eabi*): New case.
8115 Add t-fdpbit to tmake_file.
8116 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8117 (powerpc-*-rtems*): Likewise.
8118 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8120 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8122 (powerpc-*-lynxos*): Likewise.
8123 (powerpcle-*-elf*): Likewise.
8124 (powerpcle-*-eabisim*): Likewise.
8125 (powerpcle-*-eabi*): Likewise.
8126 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8127 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8128 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8129 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8130 (rx-*-elf): Add t-fdpbit to tmake_file.
8131 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8132 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8133 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8134 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8136 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8137 (sh-wrs-vxworks): Likewise.
8138 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8139 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8140 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8141 (sparc64-*-rtems*): ... new case.
8142 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8143 (spu-*-elf*): Likewise.
8144 Add spu/t-elf to tmake_file.
8145 (v850*-*-*): Add t-fdpbit to tmake_file.
8146 (xstormy16-*-elf): Likewise.
8147 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8148 (mep*-*-*): Likewise.
8150 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8152 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8154 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8155 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8156 (install-unwind_h): New target.
8157 (all): Depend on it.
8158 * config.host (unwind_header): New variable.
8159 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8160 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8161 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8162 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8163 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8165 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8167 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8169 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8171 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8172 (ia64*-*-freebsd*): Likewise.
8173 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8175 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8176 $with_system_libunwind.
8177 (ia64*-*-hpux*): Set tmake_file.
8178 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8179 (picochip-*-*): Set tmake_file.
8180 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8182 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8183 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8184 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8185 (xtensa*-*-elf*): Set tmake_file.
8186 (xtensa*-*-linux*): Likewise.
8187 * configure.ac: Include ../config/unwind_ipinfo.m4.
8188 Call GCC_CHECK_UNWIND_GETIPINFO.
8189 Link unwind.h to $unwind_header.
8190 * configure: Regenerate.
8191 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8192 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8193 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8194 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8195 * config/unwind-dw2-fde-darwin.c: New file.
8196 * config/arm/libunwind.S, config/arm/pr-support.c,
8197 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8198 config/arm/unwind-arm.h,: New files.
8199 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8200 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8201 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8202 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8203 config/ia64/unwind-ia64.h: New files.
8204 * config/picochip/t-picochip: New file.
8205 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8207 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8208 * config/s390/t-tpf (LIB2ADDEH): Remove.
8209 * config/t-darwin (LIB2ADDEH): Set.
8210 * config/t-eh-dw2-dip: New file.
8211 * config/t-libunwind, config/t-libunwind-elf: New files.
8212 * config/t-sol2 (LIB2ADDEH): Remove.
8213 * config/xtensa/t-xtensa: New file.
8215 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8217 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8218 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8219 long long to check rt_sigreturn syscall.
8221 2011-08-02 Alan Modra <amodra@gmail.com>
8223 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8224 Restore for indirect call bcrtl from correct stack slot, and only
8225 if cfa+40 isn't valid.
8227 2011-08-01 Julian Brown <julian@codesourcery.com>
8229 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8230 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8231 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8233 2011-08-01 Julian Brown <julian@codesourcery.com>
8235 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8236 (libgcc-std.ver.in): Use above.
8237 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8238 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8240 * config/t-fixedpoint-gnu-prefix: New file.
8241 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8242 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8245 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8247 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8248 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8249 for x86-64. Properly check __x86_64__ and __LP64__.
8251 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8253 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8255 (_FP_WS_TYPE): Likewise.
8256 (_FP_I_TYPE): Likewise.
8258 2011-07-28 Alan Modra <amodra@gmail.com>
8260 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8261 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8262 in a plt call stub. Do restore r2 if stopped on bctrl.
8264 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8266 * config.host (i[3456x]86-*-netware*): Remove.
8267 * config/i386/netware-crt0.c, config/i386/t-nwld,
8268 config/i386/t-slibgcc-nwld: Remove.
8270 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8272 * config.host: Handle tic6x-*-*.
8273 * config/c6x/c6x-abi.h: New file.
8275 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8277 * config/i386/crtprec.c: New file.
8278 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8279 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8280 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8281 (x86_64-*-darwin*): Likewise.
8282 (i[34567]86-*-solaris2*: Likewise.
8284 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8286 * config/alpha/crtfastmath.c: New file.
8287 * config/i386/crtfastmath.c: New file.
8288 * config/ia64/crtfastmath.c: New file.
8289 * config/mips/crtfastmath.c: New file.
8290 * config/sparc/crtfastmath.c: New file.
8292 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8294 Add -frandom-seed=gcc-crtfastmath.
8295 * config/alpha/t-crtfm: Remove.
8296 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8297 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8299 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8300 (alpha*-dec-osf5.1*): Likewise.
8301 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8302 Add crtfastmath.o to extra_parts.
8303 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8304 Add crtfastmath.o to extra_parts.
8305 (x86_64-*-darwin*): Likewise.
8306 (x86_64-*-mingw*): Likewise.
8307 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8308 (ia64*-*-freebsd*): Likewise.
8309 (ia64*-*-linux*): Likewise.
8310 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8311 Add crtfastmath.o to extra_parts.
8313 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8315 * config/darwin-crt3.o: New file.
8316 * config/rs6000/darwin-crt2.c: New file.
8317 * config/t-darwin: New file.
8318 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8320 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8321 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8322 (powerpc64-*-darwin*): Likewise.
8324 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8326 * config/i386/netware-crt0.c: New file.
8327 * config/i386/t-nwld: Rename to ...
8328 * config/i386/t-slibgcc-nwld: ... this.
8329 * config/i386/t-nwld: New file.
8330 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8332 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8335 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8337 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8339 * configure: Regenerate.
8341 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8343 * dfp-bit.c, dfp-bit.h: New files.
8344 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8346 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8347 ($(d64pbit-o)): Likewise.
8348 ($(d128pbit-o)): Likewise.
8349 * config/t-dfprules: New file.
8350 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8351 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8352 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8353 (x86_64-*-linux*): Likewise.
8354 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8355 (i[34567]86-*-cygwin*): Likewise.
8356 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8357 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8359 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8361 * Makfile.in (LIBGCOV): New variable.
8362 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8363 * libgcov.c: New file.
8365 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8367 * fixed-bit.c, fixed-bit.h: New files.
8368 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8369 refer to fixed-bit.c.
8371 2011-07-07 Joseph Myers <joseph@codesourcery.com>
8373 * config.host (*local*): Remove.
8375 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8378 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8379 like i?86-*-solaris2.1[0-9]*.
8380 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8381 * configure.ac (i?86-*-solaris2*): Likewise.
8382 * configure: Regenerate.
8384 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
8386 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8387 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8388 md_unwind_header by splitting out of...
8389 (i[34567]86-*-linux*): ... this.
8390 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8391 Remove md_unwind_header by splitting out of...
8392 (x86_64-*-linux*): ... this.
8394 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
8396 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8398 2011-06-28 Nick Clifton <nickc@redhat.com>
8400 * config.host: Recognize all V850 variants.
8402 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
8404 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8406 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8408 * shared-object.mk (c_flags-$o): Save c_flags.
8409 ($(base)$(objext)): Use it.
8410 ($(base)_s$(objext)): Likewise.
8412 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8414 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8415 * libgcc-std.ver.in (GCC_4.7.0): New section.
8417 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
8421 * config/avr/t-avr: Fix line endings.
8422 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8425 2011-06-14 Olivier Hainque <hainque@adacore.com>
8426 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8428 * config/mips/irix6-unwind.h: New file.
8429 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8431 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8433 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8434 (sparc64_fallback_frame_state): Use it.
8435 (sparc64_frob_update_context): Further adjust context.
8436 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8437 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8438 * config/sparc/sol2-cn.S: Likewise.
8440 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8442 * enable-execute-stack-empty.c: New file.
8443 * enable-execute-stack-mprotect.c: New file.
8444 * config/i386/enable-execute-stack-mingw32.c: New file.
8445 * config.host (enable_execute_stack): New variable.
8446 Select appropriate variants.
8447 * configure.ac: Link enable-execute-stack.c to
8448 $enable_execute_stack.
8449 * configure: Regenerate.
8450 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8451 (lib2funcs): Remove _enable_execute_stack.
8453 2011-06-09 David S. Miller <davem@davemloft.net>
8454 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8456 * config.host (sparc-*-linux*): Correct md_unwind_header
8458 (s390x-ibm-tpf*): Fix typo.
8460 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8462 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8463 Add crtfastmath.o to extra_parts.
8464 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8466 * config/mips/t-crtfm: Remove.
8468 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8470 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8472 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8474 * config.host (sh*-*-linux*): Fix typo.
8476 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8478 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8479 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8480 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8481 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8482 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8483 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8484 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8485 Wrap in !__MINGW64__.
8486 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8487 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8488 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8489 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8490 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8491 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8492 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8494 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8495 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8496 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8497 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8498 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8499 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8500 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8501 * config/no-unwind.h: New file.
8502 * config.host (md_unwind_header): Document.
8504 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8505 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8506 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8507 hppa[12]*-*-hpux11*): Set md_unwind_header.
8508 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8509 Set md_unwind_header.
8510 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8511 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8512 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8513 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8514 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8515 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8516 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8518 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8519 * configure: Regenerate.
8521 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8523 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8524 Set tmake_file, extra_parts.
8525 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8527 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8529 * config/mips/t-irix6: New file.
8530 * config/mips/t-slibgcc-irix: New file.
8532 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8534 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8535 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8537 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8539 * configure.ac (target_thread_file): Determine thread model.
8540 * configure: Regenerate.
8541 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8542 * config/alpha/t-alpha: New file.
8543 * config/alpha/t-crtfm: Use $<.
8544 * config/alpha/t-ieee: New file.
8545 * config/alpha/t-osf-pthread: New file.
8546 * config/alpha/t-slibgcc-osf: New file.
8547 * config/alpha/libgcc-osf5.ver: New file.
8549 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8551 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8553 Add crtfastmath.o to extra_parts.
8555 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8557 * config/gmon-sol2.c: Reindent.
8559 Remove, correct casts.
8560 Use STDERR_FILENO, NULL.
8561 (BASEADDRESS): Remove.
8563 (errno, sbrk): Remove declarations.
8564 (monstartup) [hp300]: Remove.
8567 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8569 * Makefile.in (cpu_type): Define.
8570 * config.host (i[34567]86-*-rtems*): Handle it.
8571 (i[34567]86-*-solaris2*): Move body ...
8572 (*-*-solaris2*): ... here.
8573 New case, generalize.
8574 (sparc-*-elf*): Handle it.
8575 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8576 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8577 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8579 (sparc*-*-solaris2*): ... this.
8581 (sparc64-*-elf*): Handle it.
8582 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8583 Merge ../gcc/config/i386/gmon-sol2.c.
8584 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8586 Merge ../gcc/config/i386/sol2-gc1.asm.
8587 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8589 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8591 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8592 * config/i386/t-crtstuff: New file.
8593 * config/i386/t-softfp: New file.
8594 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8595 $(T)crti.o, $(T)crtn.o): Remove.
8596 (gcrt1.o): New rule.
8597 (TARGET_LIBGCC2_CFLAGS): Remove.
8598 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8599 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8600 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8601 * config/sparc/t-sol2: New file.
8602 * config/sparc/t-crtfm: Move to ...
8603 * config/t-crtfm: ... this.
8604 Use $(cpu_type), $<.
8605 * config/t-crtin: New file.
8606 * config/sparc/t-softfp: New file.
8607 * config/sparc/t-softmul: New file.
8608 * config/t-rtems: New file.
8609 * config/t-slibgcc: New file.
8610 * config/t-slibgcc-elf-ver: New file.
8611 * config/t-slibgcc-gld: New file.
8612 * config/t-slibgcc-sld: New file.
8613 * config/t-sol2: New file.
8614 * configure.ac: Include ../config/lib-ld.m4.
8615 Call AC_LIB_PROG_LD_GNU.
8616 Substitute cpu_type.
8617 * configure: Regenerate.
8619 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8622 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8623 libgcc-std.ver in the build directory.
8624 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8625 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8627 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8629 * libgcc-std.ver.in: New file.
8630 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8632 (libgcc-std.ver): New rule.
8633 * config/t-gnu-prefix: New file.
8635 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8637 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8639 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8641 * config/i386/darwin-lib.h: New file.
8643 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8645 * config/arm/symbian-lib.h: New.
8647 2011-05-04 Chris Demetriou <cgd@google.com>
8649 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8650 (__x86.get_pc_thunk.bx): ...this.
8651 (__morestack): Adjust for rename, remove undef of __i686.
8653 2011-05-03 Chris Demetriou <cgd@google.com>
8655 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8657 2011-03-22 Joseph Myers <joseph@codesourcery.com>
8659 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8660 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8661 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8662 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8663 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8666 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
8668 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8669 Adjust copyright year.
8671 2011-03-07 Ian Lance Taylor <iant@google.com>
8673 * generic-morestack.c (__splitstack_find): Adjust returned stack
8674 pointer to include all registers pushed by __morestack.
8676 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
8679 * configure.ac: Call ACX_NONCANONICAL_TARGET.
8680 (toolexecdir): Calculate and AC_SUBST.
8681 (toolexeclibdir): Likewise.
8682 * Makefile.in (target_noncanonical): Import.
8683 (toolexecdir): Likewise.
8684 (toolexeclibdir): Likewise.
8685 * configure: Regenerate.
8687 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
8690 * config/arm/bpabi.h: Rename to...
8691 * config/arm/bpabi-lib.h: ...this.
8693 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8695 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8697 * configure: Regenerate.
8699 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
8701 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8702 __FLOAT_WORD_ORDER__.
8703 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8706 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8709 * Makefile.in (install-strip): New phony target.
8711 2010-11-07 Ian Lance Taylor <iant@google.com>
8714 * config/i386/morestack.S (__morestack_large_model): New
8717 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
8719 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8721 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8723 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
8725 * config/arm/bpabi.h: New file.
8726 * config/frv/frv-abi.h: New file.
8728 2010-10-01 Ian Lance Taylor <iant@google.com>
8730 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8731 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8733 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
8736 * config.host: Add the missing `$'.
8738 2010-09-30 Michael Eager <eager@eagercon.com>
8740 * config.host: Add microblaze*-*-*.
8741 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8742 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8743 udivsi3.asm,umodsi3.asm}: New.
8745 2010-09-28 Ian Lance Taylor <iant@google.com>
8747 * configure.ac: Adjust CFI test to test assembler directly rather
8748 than checking gcc preprocessor macro.
8749 * configure: Rebuild.
8751 2010-09-27 Ian Lance Taylor <iant@google.com>
8753 * configure.ac: Test whether assembler supports CFI directives.
8754 * config.host: Only add t-stack and i386/t-stack-i386 to
8755 tmake_file if libgcc_cv_cfi is "yes".
8756 * configure: Rebuild.
8758 2010-09-27 Ian Lance Taylor <iant@google.com>
8760 * generic-morestack.h: New file.
8761 * generic-morestack.c: New file.
8762 * generic-morestack-thread.c: New file.
8763 * config/i386/morestack.S: New file.
8764 * config/t-stack: New file.
8765 * config/i386/t-stack-i386: New file.
8766 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8767 i386/t-stack-i386 to tmake_file.
8769 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
8771 * Makefile.in (libgcc-extra-parts): Check for static archives and
8772 invoke ranlib after installing them.
8773 (gcc-extra-parts): Likewise.
8774 (install-leaf): Likewise.
8776 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
8778 * configure: Regenerated.
8780 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
8782 * configure: Regenerated.
8784 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
8785 Andrew Pinski <pinskia@gmail.com>
8788 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
8790 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
8793 * configure: Regenerated.
8795 2010-09-06 Andreas Schwab <schwab@redhat.com>
8797 * configure: Regenerate.
8799 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
8801 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8803 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8806 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
8807 Iain Sandoe <iains@gcc.gnu.org>
8810 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8811 LIB2FUNCS_EXCLUDE functions.
8813 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8815 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8817 * configure: Regenerate.
8819 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
8821 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8822 i386/t-freebsd to tmake_file.
8823 * config/i386/t-freebsd: New file.
8824 * config/i386/libgcc-bsd.ver: New file.
8826 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
8828 * config.host (powerpc*-eabispe*): Set tmake_file.
8829 (powerpc*-eabi*): Likewise.
8830 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8831 crtbeginS, crtendS, crtbeginT.
8833 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
8835 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8836 to tmake_file. Add crtfastmath.o to extra_parts.
8837 * config/mips/t-crtfm: New.
8839 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
8841 * config.host (sparc64-*-rtems*): New target.
8843 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8845 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8848 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
8850 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8852 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8854 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8855 alpha-dec-osf5.0* support.
8857 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
8859 * config.host: Add lm32-*-rtems*.
8861 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8862 Uros Bizjak <ubizjak@gmail.com>
8865 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8866 like other remaining 32-bit x86 OSes.
8867 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8869 * config/i386/libgcc-sol2.ver: New file.
8870 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8872 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
8875 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8876 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8877 is used and substitute set_use_emutls.
8878 * configure: Regenerated.
8880 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
8882 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8884 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8887 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8889 ($(T)gcrt1.o): Likewise.
8890 ($(T)crt1.o): Likewise.
8891 ($(T)crti.o): Likewise.
8892 ($(T)crtn.o): Likewise.
8894 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8897 * Makefile.in (install): Use $(MAKE) string in rule, for
8900 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
8902 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8903 * config/mmix/t-mmix: New file.
8904 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8906 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
8909 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8912 2010-01-04 Anthony Green <green@moxielogic.com>
8914 * config/moxie/crti.asm, config/moxie/crtn.asm,
8915 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8916 config/moxie/t-moxie: New files.
8917 * config.host: Add t-moxie-softfp reference.
8919 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
8922 * config/t-slibgcc-darwin: Fix embedded rpaths for
8923 --enable-version-specific-runtime-libs, build extension stub
8924 libs exposing features available from current libgcc_s.
8926 2009-11-11 Jon Beniston <jon@beniston.com>
8928 * config.host: Add lm32 targets.
8929 * config/lm32: New directory.
8930 * config/lm32/libgcc_lm32.h: New file.
8931 * config/lm32/_mulsi3.c: New file.
8932 * config/lm32/_udivmodsi4.c: New file.
8933 * config/lm32/_divsi3.c: New file.
8934 * config/lm32/_modsi3.c: New file.
8935 * config/lm32/_udivsi3.c: New file.
8936 * config/lm32/_umodsi3.c: New file.
8937 * config/lm32/_lshrsi3.S: New file.
8938 * config/lm32/_ashrsi3.S: New file.
8939 * config/lm32/_ashlsi3.S: New file.
8940 * config/lm32/crti.S: New file.
8941 * config/lm32/crtn.S: New file.
8942 * config/lm32/t-lm32: New file.
8943 * config/lm32/t-elf: New file.
8944 * config/lm32/t-uclinux: New file.
8946 2009-10-26 Nick Clifton <nickc@redhat.com>
8948 * config.host: Add support for RX target.
8949 * config/rx: New directory.
8950 * config/rx/rx-abi-functions.c: New file. Supplementary
8951 functions for libgcc to support the RX ABI.
8952 * config/rx/rx-abi.h: New file. Supplementary header file for
8953 libgcc RX ABI functions.
8954 * config/rx/t-rx: New file: Makefile fragment for building
8957 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
8959 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
8960 constraint of y0 to "g".
8962 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8964 * config.host: Include the s390 makefile fragments.
8965 * config/s390/32/_fixdfdi.c: New file.
8966 * config/s390/32/_fixsfdi.c: New file.
8967 * config/s390/32/_fixtfdi.c: New file.
8968 * config/s390/32/_fixunsdfdi.c: New file.
8969 * config/s390/32/_fixunssfdi.c: New file.
8970 * config/s390/32/_fixunstfdi.c: New file.
8971 * config/s390/32/t-floattodi: New file.
8972 * config/s390/libgcc-glibc.ver: New file.
8973 * config/s390/t-crtstuff: New file.
8974 * config/s390/t-linux: New file.
8975 * config/s390/t-tpf: New file.
8977 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8979 * configure.ac (AC_PREREQ): Bump to 2.64.
8981 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
8983 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
8985 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8987 * configure: Regenerate.
8989 2009-08-09 Douglas B Rupp <rupp@gnat.com>
8991 * config.host (ia64-hp-*vms*): New target.
8992 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
8995 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8997 * configure.ac: Add snippet for maintainer-mode.
8998 * configure: Regenerate.
8999 * Makefile.in (AUTOCONF, configure_deps): New variables.
9000 ($(srcdir)/configure)): New rule, active only with maintainer
9003 2009-06-23 DJ Delorie <dj@redhat.com>
9006 * config.host: Add mep support.
9008 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
9010 * config.host: Add i386/${host_address}/t-fprules-softfp and
9011 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
9013 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9015 * config/i386/64/_multc3.c: Likewise.
9016 * config/i386/64/_powitf2.c: Likewise.
9017 * config/i386/64/eqtf2.c: Likewise.
9018 * config/i386/64/getf2.c: Likewise.
9019 * config/i386/64/letf2.c: Likewise.
9020 * config/i386/64/letf2.c: Likewise.
9021 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9022 unsigned long long for x64 mingw targets.
9023 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9024 (_FP_I_TYPE): Define as long long for x64 mingw target.
9026 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9028 * config.host (vax-*-linux*): New.
9030 2009-05-31 Anthony Green <green@moxielogic.com>
9032 * config.host: Add moxie support.
9033 * config/moxie/t-moxie: New file.
9035 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
9037 * config.host: Add i386/${host_address}/t-fprules-softfp and
9038 t-softfp to tmake_file for i[34567]86-*-cygwin*.
9040 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9042 * config.host: Add i386/${host_address}/t-fprules-softfp to
9043 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9045 2009-04-09 Nick Clifton <nickc@redhat.com>
9047 * config/ia64/tf-signs.c: Change copyright header to refer to
9048 version 3 of the GNU General Public License with version 3.1
9049 of the GCC Runtime Library Exception and to point readers at
9050 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9052 * config/i386/32/tf-signs.c: Likewise.
9053 * config/libbid/_addsub_dd.c: Likewise.
9054 * config/libbid/_addsub_sd.c: Likewise.
9055 * config/libbid/_addsub_td.c: Likewise.
9056 * config/libbid/_dd_to_df.c: Likewise.
9057 * config/libbid/_dd_to_di.c: Likewise.
9058 * config/libbid/_dd_to_sd.c: Likewise.
9059 * config/libbid/_dd_to_sf.c: Likewise.
9060 * config/libbid/_dd_to_si.c: Likewise.
9061 * config/libbid/_dd_to_td.c: Likewise.
9062 * config/libbid/_dd_to_tf.c: Likewise.
9063 * config/libbid/_dd_to_udi.c: Likewise.
9064 * config/libbid/_dd_to_usi.c: Likewise.
9065 * config/libbid/_dd_to_xf.c: Likewise.
9066 * config/libbid/_df_to_dd.c: Likewise.
9067 * config/libbid/_df_to_sd.c: Likewise.
9068 * config/libbid/_df_to_td.c: Likewise.
9069 * config/libbid/_di_to_dd.c: Likewise.
9070 * config/libbid/_di_to_sd.c: Likewise.
9071 * config/libbid/_di_to_td.c: Likewise.
9072 * config/libbid/_div_dd.c: Likewise.
9073 * config/libbid/_div_sd.c: Likewise.
9074 * config/libbid/_div_td.c: Likewise.
9075 * config/libbid/_eq_dd.c: Likewise.
9076 * config/libbid/_eq_sd.c: Likewise.
9077 * config/libbid/_eq_td.c: Likewise.
9078 * config/libbid/_ge_dd.c: Likewise.
9079 * config/libbid/_ge_sd.c: Likewise.
9080 * config/libbid/_ge_td.c: Likewise.
9081 * config/libbid/_gt_dd.c: Likewise.
9082 * config/libbid/_gt_sd.c: Likewise.
9083 * config/libbid/_gt_td.c: Likewise.
9084 * config/libbid/_isinfd128.c: Likewise.
9085 * config/libbid/_isinfd32.c: Likewise.
9086 * config/libbid/_isinfd64.c: Likewise.
9087 * config/libbid/_le_dd.c: Likewise.
9088 * config/libbid/_le_sd.c: Likewise.
9089 * config/libbid/_le_td.c: Likewise.
9090 * config/libbid/_lt_dd.c: Likewise.
9091 * config/libbid/_lt_sd.c: Likewise.
9092 * config/libbid/_lt_td.c: Likewise.
9093 * config/libbid/_mul_dd.c: Likewise.
9094 * config/libbid/_mul_sd.c: Likewise.
9095 * config/libbid/_mul_td.c: Likewise.
9096 * config/libbid/_ne_dd.c: Likewise.
9097 * config/libbid/_ne_sd.c: Likewise.
9098 * config/libbid/_ne_td.c: Likewise.
9099 * config/libbid/_sd_to_dd.c: Likewise.
9100 * config/libbid/_sd_to_df.c: Likewise.
9101 * config/libbid/_sd_to_di.c: Likewise.
9102 * config/libbid/_sd_to_sf.c: Likewise.
9103 * config/libbid/_sd_to_si.c: Likewise.
9104 * config/libbid/_sd_to_td.c: Likewise.
9105 * config/libbid/_sd_to_tf.c: Likewise.
9106 * config/libbid/_sd_to_udi.c: Likewise.
9107 * config/libbid/_sd_to_usi.c: Likewise.
9108 * config/libbid/_sd_to_xf.c: Likewise.
9109 * config/libbid/_sf_to_dd.c: Likewise.
9110 * config/libbid/_sf_to_sd.c: Likewise.
9111 * config/libbid/_sf_to_td.c: Likewise.
9112 * config/libbid/_si_to_dd.c: Likewise.
9113 * config/libbid/_si_to_sd.c: Likewise.
9114 * config/libbid/_si_to_td.c: Likewise.
9115 * config/libbid/_td_to_dd.c: Likewise.
9116 * config/libbid/_td_to_df.c: Likewise.
9117 * config/libbid/_td_to_di.c: Likewise.
9118 * config/libbid/_td_to_sd.c: Likewise.
9119 * config/libbid/_td_to_sf.c: Likewise.
9120 * config/libbid/_td_to_si.c: Likewise.
9121 * config/libbid/_td_to_tf.c: Likewise.
9122 * config/libbid/_td_to_udi.c: Likewise.
9123 * config/libbid/_td_to_usi.c: Likewise.
9124 * config/libbid/_td_to_xf.c: Likewise.
9125 * config/libbid/_tf_to_dd.c: Likewise.
9126 * config/libbid/_tf_to_sd.c: Likewise.
9127 * config/libbid/_tf_to_td.c: Likewise.
9128 * config/libbid/_udi_to_dd.c: Likewise.
9129 * config/libbid/_udi_to_sd.c: Likewise.
9130 * config/libbid/_udi_to_td.c: Likewise.
9131 * config/libbid/_unord_dd.c: Likewise.
9132 * config/libbid/_unord_sd.c: Likewise.
9133 * config/libbid/_unord_td.c: Likewise.
9134 * config/libbid/_usi_to_dd.c: Likewise.
9135 * config/libbid/_usi_to_sd.c: Likewise.
9136 * config/libbid/_usi_to_td.c: Likewise.
9137 * config/libbid/_xf_to_dd.c: Likewise.
9138 * config/libbid/_xf_to_sd.c: Likewise.
9139 * config/libbid/_xf_to_td.c: Likewise.
9140 * config/libbid/bid128.c: Likewise.
9141 * config/libbid/bid128_2_str.h: Likewise.
9142 * config/libbid/bid128_2_str_macros.h: Likewise.
9143 * config/libbid/bid128_2_str_tables.c: Likewise.
9144 * config/libbid/bid128_add.c: Likewise.
9145 * config/libbid/bid128_compare.c: Likewise.
9146 * config/libbid/bid128_div.c: Likewise.
9147 * config/libbid/bid128_fma.c: Likewise.
9148 * config/libbid/bid128_logb.c: Likewise.
9149 * config/libbid/bid128_minmax.c: Likewise.
9150 * config/libbid/bid128_mul.c: Likewise.
9151 * config/libbid/bid128_next.c: Likewise.
9152 * config/libbid/bid128_noncomp.c: Likewise.
9153 * config/libbid/bid128_quantize.c: Likewise.
9154 * config/libbid/bid128_rem.c: Likewise.
9155 * config/libbid/bid128_round_integral.c: Likewise.
9156 * config/libbid/bid128_scalb.c: Likewise.
9157 * config/libbid/bid128_sqrt.c: Likewise.
9158 * config/libbid/bid128_string.c: Likewise.
9159 * config/libbid/bid128_to_int16.c: Likewise.
9160 * config/libbid/bid128_to_int32.c: Likewise.
9161 * config/libbid/bid128_to_int64.c: Likewise.
9162 * config/libbid/bid128_to_int8.c: Likewise.
9163 * config/libbid/bid128_to_uint16.c: Likewise.
9164 * config/libbid/bid128_to_uint32.c: Likewise.
9165 * config/libbid/bid128_to_uint64.c: Likewise.
9166 * config/libbid/bid128_to_uint8.c: Likewise.
9167 * config/libbid/bid32_to_bid128.c: Likewise.
9168 * config/libbid/bid32_to_bid64.c: Likewise.
9169 * config/libbid/bid64_add.c: Likewise.
9170 * config/libbid/bid64_compare.c: Likewise.
9171 * config/libbid/bid64_div.c: Likewise.
9172 * config/libbid/bid64_fma.c: Likewise.
9173 * config/libbid/bid64_logb.c: Likewise.
9174 * config/libbid/bid64_minmax.c: Likewise.
9175 * config/libbid/bid64_mul.c: Likewise.
9176 * config/libbid/bid64_next.c: Likewise.
9177 * config/libbid/bid64_noncomp.c: Likewise.
9178 * config/libbid/bid64_quantize.c: Likewise.
9179 * config/libbid/bid64_rem.c: Likewise.
9180 * config/libbid/bid64_round_integral.c: Likewise.
9181 * config/libbid/bid64_scalb.c: Likewise.
9182 * config/libbid/bid64_sqrt.c: Likewise.
9183 * config/libbid/bid64_string.c: Likewise.
9184 * config/libbid/bid64_to_bid128.c: Likewise.
9185 * config/libbid/bid64_to_int16.c: Likewise.
9186 * config/libbid/bid64_to_int32.c: Likewise.
9187 * config/libbid/bid64_to_int64.c: Likewise.
9188 * config/libbid/bid64_to_int8.c: Likewise.
9189 * config/libbid/bid64_to_uint16.c: Likewise.
9190 * config/libbid/bid64_to_uint32.c: Likewise.
9191 * config/libbid/bid64_to_uint64.c: Likewise.
9192 * config/libbid/bid64_to_uint8.c: Likewise.
9193 * config/libbid/bid_b2d.h: Likewise.
9194 * config/libbid/bid_binarydecimal.c: Likewise.
9195 * config/libbid/bid_conf.h: Likewise.
9196 * config/libbid/bid_convert_data.c: Likewise.
9197 * config/libbid/bid_decimal_data.c: Likewise.
9198 * config/libbid/bid_decimal_globals.c: Likewise.
9199 * config/libbid/bid_div_macros.h: Likewise.
9200 * config/libbid/bid_dpd.c: Likewise.
9201 * config/libbid/bid_flag_operations.c: Likewise.
9202 * config/libbid/bid_from_int.c: Likewise.
9203 * config/libbid/bid_functions.h: Likewise.
9204 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9205 * config/libbid/bid_inline_add.h: Likewise.
9206 * config/libbid/bid_internal.h: Likewise.
9207 * config/libbid/bid_round.c: Likewise.
9208 * config/libbid/bid_sqrt_macros.h: Likewise.
9210 2009-04-09 Jakub Jelinek <jakub@redhat.com>
9212 * Makefile.in: Change copyright header to refer to version
9213 3 of the GNU General Public License and to point readers at the
9214 COPYING3 file and the FSF's license web page.
9215 * config.host: Likewise.
9217 2009-04-07 Alan Modra <amodra@bigpond.net.au>
9219 * config.host: Reorder and merge to match config.gcc change.
9221 2009-04-03 Alan Modra <amodra@bigpond.net.au>
9223 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9225 2009-03-28 Joseph Myers <joseph@codesourcery.com>
9227 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9228 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9229 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9230 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9232 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
9234 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9235 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9237 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9239 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9240 ia64/t-softfp-compat to tmake_file.
9242 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9244 * config/ia64/__divxf3.asm: New.
9245 * config/ia64/_fixtfdi.asm: Likewise.
9246 * config/ia64/_fixunstfdi.asm: Likewise.
9247 * config/ia64/_floatditf.asm: Likewise.
9248 * config/ia64/t-fprules-softfp: Likewise.
9249 * config/ia64/t-softfp-compat: Likewise.
9250 * config/ia64/tf-signs.c: Likewise.
9252 2009-01-18 Ben Elliston <bje@au.ibm.com>
9254 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9256 2009-01-16 Ben Elliston <bje@au.ibm.com>
9258 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9261 2009-01-13 Ben Elliston <bje@au.ibm.com>
9263 * config/t-softfp: New file.
9264 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9265 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9267 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
9269 * config.host: Add m32r*-*-rtems*.
9271 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
9273 * config.host: Add m32c*-*-rtems*.
9275 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9278 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9279 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9280 * configure: Regenerate.
9281 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9282 tmake_file here from gcc/config.gcc.
9283 Move extra_parts here from gcc/config.gcc.
9284 * config/i386/t-sol2: Move here from gcc/config/i386.
9285 Use gcc_srcdir instead of srcdir.
9287 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9289 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9292 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9294 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9296 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9298 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9300 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9303 * config.host: Add picochip-*-*.
9305 2008-08-06 Bob Wilson <bob.wilson@acm.org>
9307 * config.host: Match more processor names for Xtensa.
9309 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9311 * config/i386/64/t-softfp-compat: Update comments.
9313 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9315 * config/i386/64/_divtc3-compat.c: Moved to ...
9316 * config/i386/64/_divtc3.c: Here.
9318 * config/i386/64/_multc3-compat.c: Moved to ...
9319 * config/i386/64/_multc3.c: Here.
9321 * config/i386/64/_powitf2-compat.c: Moved to ...
9322 * config/i386/64/_powitf2.c: Here.
9324 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9325 .c suffix instead of -compat.c.
9327 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
9329 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9330 (_FP_MUL_MEAT_D): Ditto.
9331 (_FP_DIV_MEAT_S): Ditto.
9332 (_FP_DIV_MEAT_D): Ditto.
9334 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9336 * Makefile.in: Add support for __sync_* libgcc functions.
9338 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9340 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9342 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9345 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9346 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9348 * config/i386/64/t-fprules-softfp: Moved to ...
9349 * config/i386/64/t-softfp-compat: This. New.
9351 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
9353 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9354 Initialize f with 0.0.
9356 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9359 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9361 * config/i386/64/_divtc3-compat.c: New.
9362 * config/i386/64/_multc3-compat.c: Likewise.
9363 * config/i386/64/_powitf2-compat.c: Likewise.
9364 * config/i386/64/eqtf2.c: Likewise.
9365 * config/i386/64/getf2.c: Likewise.
9366 * config/i386/64/letf2.c: Likewise.
9367 * config/i386/64/t-fprules-softfp: Likewise.
9369 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9371 * config.host: Add i386/${host_address}/t-fprules-softfp to
9372 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
9373 i[34567]86-*-linux*, x86_64-*-linux*.
9375 * configure.ac: Set host_address to 64 or 32 for x86.
9376 * configure: Regenerated.
9378 * Makefile.in (config.status): Also depend on
9379 $(srcdir)/config.host.
9381 * config/i386/32/t-fprules-softfp: New.
9382 * config/i386/32/tf-signs.c: Likewise.
9384 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9386 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9387 Uros Bizjak <ubizjak@gmail.com>
9389 * config/i386/32/sfp-machine.h: New.
9391 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9393 * config/rs6000/t-ppccomm: Remove rules that conflict with
9394 auto-generated rules.
9396 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9398 * configure.ac: sinclude override.m4.
9399 * configure: Regenerate.
9401 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9403 * configure: Regenerate.
9405 2008-06-10 Joseph Myers <joseph@codesourcery.com>
9407 * Makefile.in (DECNUMINC): Remove
9408 -I$(MULTIBUILDTOP)../../libdecnumber.
9411 2008-06-07 Joseph Myers <joseph@codesourcery.com>
9413 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9414 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9415 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9416 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9417 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9418 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9419 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9420 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9421 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9422 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9423 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9424 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9425 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9426 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9428 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9430 * config.host (sh2[lbe]*-*-linux*): Allow target.
9432 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9434 * config/rs6000/t-ppccomm: Add build rules for new files.
9435 (LIB2ADD_ST): New variable.
9437 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9441 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9442 * config/t-avr: New file. Build 16bit libgcc functions.
9444 2008-03-02 Jakub Jelinek <jakub@redhat.com>
9447 * config/t-slibgcc-darwin: Make install-leaf dependent on
9448 install-darwin-libgcc-stubs instead of install.
9450 2008-01-25 Joseph Myers <joseph@codesourcery.com>
9452 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9453 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9454 sh-*-rtemscoff*): Remove cases.
9456 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9458 * Makefile.in (all): Use install-leaf rather than install.
9459 (install): Split most of the rule into...
9460 (install-leaf): ...this new one.
9462 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
9463 Paolo Bonzini <bonzini@gnu.org>
9466 * Makefile.in: Use @shlib_slibdir@ substitution to get
9467 correct install name on darwin.
9468 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
9470 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
9472 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9473 cris-*-elf and cris-*-none.
9474 (crisv32-*-linux*): Similar, as cris-*-linux*.
9476 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9478 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9480 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9483 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9484 * configure: Regenerated.
9486 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9488 * Makefile.in (dfp-filenames): Replace decimal_globals,
9489 decimal_data, binarydecimal and convert_data with
9490 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9491 and bid_convert_data, respectively.
9493 2007-09-17 Chao-ying Fu <fu@mips.com>
9494 Nigel Stephens <nigel@mips.com>
9496 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9497 * Makefile.in (fixed_point): Define.
9498 Check if fixed_point is yes to build support functions.
9499 * configure.ac: Check for fixed_point support.
9500 * configure: Regenerated.
9501 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9502 funcs, modes, from, to.
9504 2007-09-11 Janis Johnson <janis187@us.ibm.com
9506 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9508 2007-09-10 Janis Johnson <janis187@us.ibm.com>
9510 * Makefile.in (dfp-filenames): Remove decUtility, add
9511 decDouble, decPacked, decQuad, decSingle.
9513 2007-08-27 Hans Kester <hans.kester@ellips.nl>
9515 * config.host : Add x86_64-elf target.
9517 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9519 * configure.ac (set_have_cc_tls): Add a missing =.
9520 * configure: Regenerated.
9522 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9524 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9525 and x86_64-*-linux*.
9527 * config/t-tls: New file.
9529 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
9531 * configure.ac: Include ../config/enable.m4 and
9532 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9533 supports TLS and substitute set_have_cc_tls.
9534 * configure: Regenerated.
9536 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9538 * Makefile.in: Use libbid for DFP when BID is enabled.
9540 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9542 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
9543 extra_parts. Add config/i386/t-cygming to tmake_file.
9544 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9546 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
9547 Danny Smith <dannysmith@users.sourceforge.net>
9550 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9551 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9552 * config/i386/t-crtfm: Compile crtfastmath.o with
9553 -minline-all-stringops.
9555 2007-05-10 Richard Sandiford <richard@codesourcery.com>
9557 * config.host (sparc-wrs-vxworks): New target.
9559 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
9561 * config.host: Recognize fido.
9563 2007-04-04 Janis Johnson <janis187@us.ibm.com>
9565 * configure: Check host, not target, for decimal float support.
9567 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
9569 * config/i386/t-crtpc: New file.
9570 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
9571 (x86_64-*-linux*): Ditto.
9573 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
9575 * config.host (x86_64-*-mingw*): New target.
9577 2007-03-23 Michael Meissner <michael.meissner@amd.com>
9578 H.J. Lu <hongjiu.lu@intel.com>
9580 * Makefile.in (enable_decimal_float): New.
9582 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9583 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9584 (decbits-filenames): This.
9585 (decbits-objects): New.
9586 (libgcc-objects): Add $(decbits-objects).
9588 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9589 Substitute enable_decimal_float.
9590 * configure: Regenerated.
9592 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
9594 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9596 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9598 * Makefile.in (install-info): New dummy target.
9600 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9602 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9604 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9606 * Makefile.in: Add install-html and install-pdf dummy
9609 2007-02-05 Roger Sayle <roger@eyesopen.com>
9610 Daniel Jacobowitz <dan@codesourcery.com>
9612 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9613 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9614 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9616 2007-01-29 Janis Johnson <janis187@us.ibm.com>
9618 * Makefile.in (dec-filenames): Add decExcept.
9620 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9623 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9626 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9628 * configure.ac: Add --enable-version-specific-runtime-libs.
9629 Correct $slibdir default.
9630 * configure: Regenerated.
9632 2007-01-23 Joseph Myers <joseph@codesourcery.com>
9634 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9636 2007-01-21 Andrew Pinski <pinskia@gmail.com>
9639 * config.host (alpha*-*-linux*): Set extra_parts.
9641 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9643 * config/sh/t-linux: New.
9644 * config.host (sh*-*-linux*): Set tmake_file.
9646 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9648 * Makefile.in (install): Handle multilibs.
9650 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9652 * Makefile.in: Added .PHONY entry for documentation targets.
9654 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9656 * Makefile.in: Add empty info, html, dvi, pdf targets.
9658 2007-01-04 Mike Stump <mrs@apple.com>
9660 * Makefile.in (MAKEINFO): Remove.
9663 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
9665 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9666 * configure: Regenerate.
9667 * Makefile.in (host_subdir): Substitute it.
9668 (gcc_objdir): Use it.
9670 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9672 * config.host (ia64*-*-linux*): Set tmake_file.
9674 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9676 * Makefile.in (version): Define.
9678 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9679 Paolo Bonzini <bonzini@gnu.org>
9681 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9682 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9683 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9684 config/sparc/t-crtfm, config/t-slibgcc-darwin,
9685 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9686 shared-object.mk, siditi-object.mk, static-object.mk: New files.
9687 * configure: Generated.
9689 Copyright (C) 2007-2019 Free Software Foundation, Inc.
9691 Copying and distribution of this file, with or without modification,
9692 are permitted in any medium without royalty provided the copyright
9693 notice and this notice are preserved.