1 2019-01-18 Martin Liska <mliska@suse.cz>
3 * libgcov-driver.c (gcov_version_string): New function.
4 (gcov_version): Convert version integer into string.
6 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
7 Kwok Cheung Yeung <kcy@codesourcery.com>
8 Julian Brown <julian@codesourcery.com>
9 Tom de Vries <tom@codesourcery.com>
11 * config.host: Recognize amdgcn*-*-amdhsa.
12 * config/gcn/crt0.c: New file.
13 * config/gcn/lib2-divmod-hi.c: New file.
14 * config/gcn/lib2-divmod.c: New file.
15 * config/gcn/lib2-gcn.h: New file.
16 * config/gcn/sfp-machine.h: New file.
17 * config/gcn/t-amdgcn: New file.
19 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
23 * config/c6x/libunwind.S: Mechanically replace "can not" with
25 * config/tilepro/atomic.h: Likewise.
26 * config/vxlib-tls.c: Likewise.
27 * generic-morestack-thread.c: Likewise.
28 * generic-morestack.c: Likewise.
29 * mkmap-symver.awk: Likewise.
31 2019-01-01 Jakub Jelinek <jakub@redhat.com>
33 Update copyright years.
35 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
37 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
38 to ignore -Waddress-of-packed-member.
40 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
42 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
43 parameter and corresponding code.
44 (ARM_FUNC_START): Likewise in both definitions.
45 Also update footer comment about condition that need to match with
46 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
47 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
48 defined. Weakly define it in this case.
49 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
50 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
51 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
52 comment to keep condition in sync with the one in
53 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
55 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
57 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
58 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
60 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
62 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
63 and .cfi_endproc directives for VxWorks targets.
65 2018-12-05 Paul Koning <ni1d@arrl.net>
67 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
69 2018-11-27 Alan Modra <amodra@gmail.com>
71 * config/rs6000/morestack.S (__stack_split_initialize),
72 (__morestack_get_guard, __morestack_set_guard),
73 (__morestack_make_guard): Provide CFI covering these functions.
74 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
76 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
78 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
79 (sc_pt_regs_lr): Update for kernel.
80 (sc_pt_regs_tls): Update for kernel.
82 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
84 * config/csky/linux-unwind.h: Fix coding style.
86 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
88 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
89 (csky_fallback_frame_state): Modify the check of the
90 instructions to adapt to changes in the kernel
92 2018-11-09 Stafford Horne <shorne@gmail.com>
93 Richard Henderson <rth@twiddle.net>
95 * config.host: Add OpenRISC support.
98 2018-11-08 Kito Cheng <kito@andestech.com>
100 * soft-fp/adddf3.c: Update from glibc.
101 * soft-fp/addsf3.c: Likewise.
102 * soft-fp/addtf3.c: Likewise.
103 * soft-fp/divdf3.c: Likewise.
104 * soft-fp/divsf3.c: Likewise.
105 * soft-fp/divtf3.c: Likewise.
106 * soft-fp/double.h: Likewise.
107 * soft-fp/eqdf2.c: Likewise.
108 * soft-fp/eqsf2.c: Likewise.
109 * soft-fp/eqtf2.c: Likewise.
110 * soft-fp/extenddftf2.c: Likewise.
111 * soft-fp/extended.h: Likewise.
112 * soft-fp/extendhftf2.c: Likewise.
113 * soft-fp/extendsfdf2.c: Likewise.
114 * soft-fp/extendsftf2.c: Likewise.
115 * soft-fp/extendxftf2.c: Likewise.
116 * soft-fp/fixdfdi.c: Likewise.
117 * soft-fp/fixdfsi.c: Likewise.
118 * soft-fp/fixdfti.c: Likewise.
119 * soft-fp/fixhfti.c: Likewise.
120 * soft-fp/fixsfdi.c: Likewise.
121 * soft-fp/fixsfsi.c: Likewise.
122 * soft-fp/fixsfti.c: Likewise.
123 * soft-fp/fixtfdi.c: Likewise.
124 * soft-fp/fixtfsi.c: Likewise.
125 * soft-fp/fixtfti.c: Likewise.
126 * soft-fp/fixunsdfdi.c: Likewise.
127 * soft-fp/fixunsdfsi.c: Likewise.
128 * soft-fp/fixunsdfti.c: Likewise.
129 * soft-fp/fixunshfti.c: Likewise.
130 * soft-fp/fixunssfdi.c: Likewise.
131 * soft-fp/fixunssfsi.c: Likewise.
132 * soft-fp/fixunssfti.c: Likewise.
133 * soft-fp/fixunstfdi.c: Likewise.
134 * soft-fp/fixunstfsi.c: Likewise.
135 * soft-fp/fixunstfti.c: Likewise.
136 * soft-fp/floatdidf.c: Likewise.
137 * soft-fp/floatdisf.c: Likewise.
138 * soft-fp/floatditf.c: Likewise.
139 * soft-fp/floatsidf.c: Likewise.
140 * soft-fp/floatsisf.c: Likewise.
141 * soft-fp/floatsitf.c: Likewise.
142 * soft-fp/floattidf.c: Likewise.
143 * soft-fp/floattihf.c: Likewise.
144 * soft-fp/floattisf.c: Likewise.
145 * soft-fp/floattitf.c: Likewise.
146 * soft-fp/floatundidf.c: Likewise.
147 * soft-fp/floatundisf.c: Likewise.
148 * soft-fp/floatunditf.c: Likewise.
149 * soft-fp/floatunsidf.c: Likewise.
150 * soft-fp/floatunsisf.c: Likewise.
151 * soft-fp/floatunsitf.c: Likewise.
152 * soft-fp/floatuntidf.c: Likewise.
153 * soft-fp/floatuntihf.c: Likewise.
154 * soft-fp/floatuntisf.c: Likewise.
155 * soft-fp/floatuntitf.c: Likewise.
156 * soft-fp/gedf2.c: Likewise.
157 * soft-fp/gesf2.c: Likewise.
158 * soft-fp/getf2.c: Likewise.
159 * soft-fp/half.h: Likewise.
160 * soft-fp/ledf2.c: Likewise.
161 * soft-fp/lesf2.c: Likewise.
162 * soft-fp/letf2.c: Likewise.
163 * soft-fp/muldf3.c: Likewise.
164 * soft-fp/mulsf3.c: Likewise.
165 * soft-fp/multf3.c: Likewise.
166 * soft-fp/negdf2.c: Likewise.
167 * soft-fp/negsf2.c: Likewise.
168 * soft-fp/negtf2.c: Likewise.
169 * soft-fp/op-1.h: Likewise.
170 * soft-fp/op-2.h: Likewise.
171 * soft-fp/op-4.h: Likewise.
172 * soft-fp/op-8.h: Likewise.
173 * soft-fp/op-common.h: Likewise.
174 * soft-fp/quad.h: Likewise.
175 * soft-fp/single.h: Likewise.
176 * soft-fp/soft-fp.h: Likewise.
177 * soft-fp/subdf3.c: Likewise.
178 * soft-fp/subsf3.c: Likewise.
179 * soft-fp/subtf3.c: Likewise.
180 * soft-fp/truncdfsf2.c: Likewise.
181 * soft-fp/trunctfdf2.c: Likewise.
182 * soft-fp/trunctfhf2.c: Likewise.
183 * soft-fp/trunctfsf2.c: Likewise.
184 * soft-fp/trunctfxf2.c: Likewise.
185 * soft-fp/unorddf2.c: Likewise.
186 * soft-fp/unordsf2.c: Likewise.
187 * soft-fp/unordtf2.c: Likewise.
189 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
191 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
192 * config/i386/cpuinfo.h (processor_types): Add znver2.
194 2018-11-01 Paul Koning <ni1d@arrl.net>
196 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
197 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
199 2018-10-31 Joseph Myers <joseph@codesourcery.com>
202 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
203 * configure: Regenerate.
205 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
207 * config/arc/lib1funcs.S (_muldi3): New function.
208 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
210 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
212 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
214 2018-10-25 Martin Liska <mliska@suse.cz>
217 * libgcov-profiler.c: Revert.
219 2018-10-24 Martin Liska <mliska@suse.cz>
221 * libgcov-profiler.c: Start from 1 in order to distinguish
222 functions which were seen and these that were not.
224 2018-10-18 Paul Koning <ni1d@arrl.net>
226 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
228 * divmod.c: Update references to __udivmodsi4.
230 * udivhi3.c: New file.
231 * udivmodhi4.c: New file.
232 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
234 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
236 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
238 2018-10-12 Olivier Hainque <hainque@adacore.com>
240 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
241 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
243 2018-10-08 Paul Koning <ni1d@arrl.net>
245 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
247 2018-10-04 Martin Liska <mliska@suse.cz>
249 PR gcov-profile/84107
250 * libgcov-profiler.c (__gcov_indirect_call):
251 Change type to indirect_call_tuple.
252 (struct indirect_call_tuple): New struct.
253 (__gcov_indirect_call_topn_profiler): Change type.
254 (__gcov_indirect_call_profiler_v2): Use the new
256 * libgcov.h (struct indirect_call_tuple): New struct
259 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
261 * libgcc2.c (isnan): Use __builtin_isnan.
262 (isfinite): Use __builtin_isfinite.
263 (isinf): Use __builtin_isinf.
265 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
267 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
269 2018-09-21 Alexandre Oliva <oliva@adacore.com>
271 * config/vxcache.c: New file. Provide __clear_cache, based on
272 the cacheTextUpdate VxWorks service.
273 * config/t-vxworks (LIB2ADD): Add vxcache.c.
274 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
275 * config/t-vxwoks7: Likewise.
277 2018-09-21 Martin Liska <mliska@suse.cz>
279 * libgcov-driver.c (crc32_unsigned): Remove.
280 (gcov_histogram_insert): Likewise.
281 (gcov_compute_histogram): Likewise.
282 (compute_summary): Simplify rapidly.
283 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
284 (merge_summary): Rapidly simplify.
285 (dump_one_gcov): Ignore gcov_summary.
286 (gcov_do_dump): Do not handle program summary, it's not
288 * libgcov-util.c (tag_summary): Remove.
289 (read_gcda_finalize): Fix coding style.
290 (read_gcda_file): Initialize curr_object_summary.
291 (compute_summary): Remove.
292 (calculate_overlap): Remove settings of run_max.
294 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
296 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
297 ucontext_t type instead.
298 (nds32_fallback_frame_state): Remove struct _sigframe statement.
300 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
302 * config/nds32/t-nds32-glibc: New file.
304 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
306 * configure.ac (solaris_ld_v2_maps): New test.
307 * configure: Regenerate.
308 * Makefile.in (solaris_ld_v2_maps): New variable.
309 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
312 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
315 * config/arm/lib1funcs.asm (speculation_barrier): New function.
316 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
319 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
321 * config/unwind-dw2-fde-darwin.c
322 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
323 * config/darwin10-unwind-find-enc-func.c: … to here.
324 * config/t-darwin: Build Darwin10 unwinder shim crt.
325 * libgcc/config.host: Add the Darwin10 unwinder shim.
327 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
329 * config.host: Add crtbegin.o and crtend.o for
330 powerpc-wrs-vxworks target.
332 2018-08-17 Jojo <jijie_rong@c-sky.com>
333 Huibin Wang <huibin_wang@c-sky.com>
334 Sandra Loosemore <sandra@codesourcery.com>
335 Chung-Lin Tang <cltang@codesourcery.com>
339 * config.host: Add C-SKY support.
340 * config/csky/*: New.
342 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
344 * config/nds32/t-nds32-isr: Rearrange object dependency.
345 * config/nds32/initfini.c: Add dwarf2 unwinding support.
346 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
348 * config/nds32/isr-library/excp_isr.S: Ditto.
349 * config/nds32/isr-library/intr_isr.S: Ditto.
350 * config/nds32/isr-library/reset.S: Ditto.
351 * config/nds32/isr-library/restore_all.inc: Ditto.
352 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
353 * config/nds32/isr-library/restore_partial.inc: Ditto.
354 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
355 * config/nds32/isr-library/save_all.inc: Ditto.
356 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
357 * config/nds32/isr-library/save_partial.inc: Ditto.
358 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
359 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
361 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
363 * config/pa/linux-atomic.c: Update comment.
364 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
365 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
366 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
367 __ATOMIC_RELAXED for atomic loads.
368 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
369 unordered store to release lock.
370 (__sync_lock_release_8): Likewise.
371 (SYNC_LOCK_RELEASE_2): Remove define.
373 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
376 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
377 exponent goes negative. Update my email address.
378 * config/arm/ieee754-sf.S: Likewise.
380 2018-08-01 Martin Liska <mliska@suse.cz>
382 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
383 check that __gcov_indirect_call_callee is non-null.
385 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
387 * config/arm/ieee754-df.S: Fix comment for code working on
389 * config/arm/ieee754-sf.S: Likewise.
391 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
394 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
397 2018-07-05 James Clarke <jrtc27@jrtc27.com>
399 * configure: Regenerated.
401 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
403 * Makefile.in (install_leaf): Use enable_gcov instead of
406 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
408 * configure.ac: Add --disable-gcov option.
409 * configure: Regenerate.
410 * Makefile.in: Honour @enable_gcov@.
412 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
414 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
415 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
416 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
417 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
419 * config/arm/ieee754-sf.S: Likewise.
420 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
422 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
424 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
426 * config/arm/ieee754-sf.S: Likewise.
428 2018-06-20 Than McIntosh <thanm@google.com>
431 * generic-morestack.c (allocate_segment): Move calls to getenv and
432 getpagesize to __morestack_load_mmap.
433 (__morestack_load_mmap) Initialize static_pagesize and
434 use_guard_page here so as to avoid clobbering SSE regs during a
437 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
439 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
440 support modules with -mno-gnu-attribute.
441 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
443 2018-06-07 Olivier Hainque <hainque@adacore.com>
445 * config/t-vxworks (LIBGCC_INCLUDES): Add
446 -I$(MULTIBUILDTOP)../../gcc/include.
447 * config/t-vxworks7: Likewise. Reformat a bit to match
448 the t-vxworks layout.
450 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
452 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
454 2018-06-07 Martin Liska <mliska@suse.cz>
456 * libgcov-driver.c: Rename cs_all to all and assign it from
459 2018-06-07 Martin Liska <mliska@suse.cz>
462 * libgcov-driver-system.c (replace_filename_variables): Use
463 memcpy instead of mempcpy.
464 (allocate_filename_struct): Do not allocate filename, allocate
466 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
467 here and properly copy content into it.
468 * libgcov-driver.c (struct gcov_filename): Remove max_length
469 field, change prefix from size_t into char *.
470 (compute_summary): Do not calculate longest filename.
471 (gcov_do_dump): Release memory of gf.filename after each file.
472 * libgcov-util.c (compute_summary): Use new signature of
474 (calculate_overlap): Likewise.
476 2018-06-05 Martin Liska <mliska@suse.cz>
478 PR gcov-profile/47618
479 * libgcov-driver-system.c (replace_filename_variables): New
481 (gcov_exit_open_gcda_file): Use it.
483 2018-06-05 Martin Liska <mliska@suse.cz>
485 * libgcov-driver.c (gcov_compute_histogram): Remove usage
487 (compute_summary): Do it just for a single summary.
488 (merge_one_data): Likewise.
489 (merge_summary): Simplify as we read just single summary.
490 (dump_one_gcov): Pass proper argument.
491 * libgcov-util.c (compute_one_gcov): Simplify as we have just
493 (gcov_info_count_all_cold): Likewise.
494 (calculate_overlap): Likewise.
496 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
497 Monk Chiang <sh.chiang04@gmail.com>
499 * config.host (nds32*-linux*): New.
500 * config/nds32/linux-atomic.c: New file.
501 * config/nds32/linux-unwind.h: New file.
503 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
506 * config/i386/cpuinfo.c (get_amd_cpu): Return
507 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
509 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
511 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
513 2018-05-29 Martin Liska <mliska@suse.cz>
515 PR gcov-profile/85759
516 * libgcov-driver-system.c (gcov_error): Introduce usage of
517 GCOV_EXIT_AT_ERROR env. variable.
518 * libgcov-driver.c (merge_one_data): Print error that we
519 overwrite a gcov file with a different timestamp.
521 2018-05-23 Kalamatee <kalamatee@gmail.com>
523 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
526 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
527 Monk Chiang <sh.chiang04@gmail.com>
528 Jim Wilson <jimw@sifive.com>
530 * config/riscv/save-restore.S: Add support for rv32e.
532 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
534 * config/arm/libunwind.S: Update comment relating to armv5.
536 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
538 * config/arm/cmse.c (cmse_check_address_range): Replace
539 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
541 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
543 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
544 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
546 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
548 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
549 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
551 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
553 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
555 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
556 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
559 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
560 op_and_fetch to return the right result.
562 2018-04-27 Alan Modra <amodra@gmail.com>
565 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
566 -fno-asynchronous-unwind-tables.
568 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
570 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
571 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
573 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
575 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
576 when including "config/i386/shadow-stack-unwind.h".
578 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
580 * configure: Regenerated.
582 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
585 * config/rs6000/_powikf2.c: New file. Add support for the
586 __builtin_powil function when long double is IEEE 128-bit floating
588 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
590 (__powikf2): Likewise.
591 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
592 (__powikf2_hw): Likewise.
593 (__powikf2): Likewise.
594 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
595 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
596 (_powikf2-hw.c): Likewise.
598 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
601 * unwind-generic.h (_Unwind_Frames_Increment): New.
602 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
604 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
605 count with _Unwind_Frames_Increment.
606 (_Unwind_ForcedUnwind_Phase2): Likewise.
608 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
611 * config/i386/morestack.S (__stack_split_initialize): Add
614 2018-04-19 Jakub Jelinek <jakub@redhat.com>
616 * configure: Regenerated.
618 2018-04-18 David Malcolm <dmalcolm@redhat.com>
621 * configure: Regenerate.
623 2018-04-16 Jakub Jelinek <jakub@redhat.com>
626 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
627 -Wdangling-else warnings. Mask shift counts to avoid
628 -Wshift-count-negative and -Wshift-count-overflow false positives.
630 2018-04-06 Ruslan Bukin <br@bsdpad.com>
632 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
634 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
637 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
638 (XSTATE_FP): Likewise.
639 (XSTATE_SSE): Likewise.
640 (XSTATE_YMM): Likewise.
641 (XSTATE_OPMASK): Likewise.
642 (XSTATE_ZMM): Likewise.
643 (XSTATE_HI_ZMM): Likewise.
644 (XCR_AVX_ENABLED_MASK): Likewise.
645 (XCR_AVX512F_ENABLED_MASK): Likewise.
646 (get_available_features): Enable AVX and AVX512 features only
647 if their states are supported by OSXSAVE.
649 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
652 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
653 Fix a typo, tmp => 255.
655 2018-03-20 Jakub Jelinek <jakub@redhat.com>
658 * config/i386/cpuinfo.h (__cpu_features2): Declare.
659 * config/i386/cpuinfo.c (__cpu_features2): New variable for
661 (set_feature): Define.
662 (get_available_features): Use set_feature macro. Set __cpu_features2
663 to the second word of features ifndef SHARED.
665 2018-03-15 Julia Koval <julia.koval@intel.com>
667 * config/i386/cpuinfo.c (get_available_features): Add
668 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
669 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
670 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
671 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
672 FEATURE_AVX512BITALG.
674 2018-03-14 Julia Koval <julia.koval@intel.com>
676 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
677 icelake client and icelake server.
679 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
681 * config/pa/fptr.c (_dl_read_access_allowed): New.
682 (__canonicalize_funcptr_for_compare): Use it.
684 2018-02-28 Jakub Jelinek <jakub@redhat.com>
687 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
688 $asm_hidden_op if visibility ("hidden") attribute works.
689 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
690 * config/i386/i386-asm.h: Don't include auto-host.h.
691 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
692 PACKAGE_URL): Don't undefine.
693 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
694 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
695 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
696 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
697 definition instead of hardcoded .hidden.
698 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
699 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
700 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
701 (USE_GAS_CFI_DIRECTIVES): Don't define.
702 * configure: Regenerated.
703 * config.in: Likewise.
705 2018-02-26 Jakub Jelinek <jakub@redhat.com>
708 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
709 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
710 inclusion of auto-target.h and auto-host.h.
711 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
712 __GCC_HAVE_DWARF2_CFI_ASM.
713 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
714 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
716 * config/i386/cygwin.S: Don't include auto-host.h here, just
717 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
718 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
719 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
720 * config/i386/resms64fx.h: Add cfi_* directives.
721 * config/i386/resms64x.h: Likewise.
723 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
725 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
726 .literal_position directive.
727 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
729 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
732 * configure: Regenerate.
734 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
737 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
738 Include cetintrin.h not x86intrin.h.
740 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
743 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
744 Use new _get_ssp and _inc_ssp intrinsics.
746 2018-02-02 Julia Koval <julia.koval@intel.com>
748 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
750 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
752 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
754 (__divsi3): Use RF16 safe registers.
755 (__modsi3): Likewise.
757 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
759 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
760 (__divsf3): Make NaN return value quiet.
761 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
762 (__divdf3): Make NaN return value quiet.
764 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
766 * config/rl78/anddi3.S: New assembly file.
767 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
769 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
771 * config/rl78/umindi3.S: New assembly file.
772 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
774 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
776 * config/rl78/smindi3.S: New assembly file.
777 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
779 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
781 * config/rl78/smaxdi3.S: New assembly file.
782 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
784 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
786 * config/rl78/umaxdi3.S: New assembly file.
787 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
789 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
792 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
793 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
795 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
797 * config/aarch64/value-unwind.h (aarch64_vg): New function.
798 (DWARF_LAZY_REGISTER_VALUE): Define.
799 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
800 to provide a fallback register value.
802 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
804 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
805 __ibm128, instead of trying to use long double.
806 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
807 accomidate -mabi=ieeelongdouble multilibs.
808 (CVT_IBM128_TO_FLOAT128): Likewise.
809 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
810 the appropriate IBM extended double type.
811 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
812 (__gcc_qsub): Likewise.
813 (__gcc_qmul): Likewise.
814 (__gcc_qdiv): Likewise.
815 (pack_ldouble): Likewise.
816 (__gcc_qneg): Likewise.
817 (__gcc_qeq): Likewise.
818 (__gcc_qne): Likewise.
819 (__gcc_qge): Likewise.
820 (__gcc_qle): Likewise.
821 (__gcc_stoq): Likewise.
822 (__gcc_dtoq): Likewise.
823 (__gcc_itoq): Likewise.
824 (__gcc_utoq): Likewise.
825 (__gcc_qunord): Likewise.
826 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
827 quad-float128.h for the definitions.
828 (COPYSIGN): Use the f128 version instead of the q version.
829 (INFINITY): Likewise.
830 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
831 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
832 quad-float128.h for the definitions.
833 (COPYSIGN): Use the f128 version instead of the q version.
834 (INFINITY): Likewise.
836 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
837 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
838 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
840 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
842 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
845 2018-01-03 Jakub Jelinek <jakub@redhat.com>
847 Update copyright years.
849 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
851 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
852 * config/riscv/multi3.c: New file.
853 * config/riscv/multi3.S: Remove.
855 2017-12-08 Jim Wilson <jimw@sifive.com>
857 * config/riscv/div.S: Use FUNC_* macros.
858 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
859 * config/riscv/save-restore.S: Likewise.
860 * config/riscv/riscv-asm.h: New.
862 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
864 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
865 * config/rs6000/_divkc3.c (__divkc3): Likewise.
868 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
869 correct type for all ifunc resolvers to silence -Wattribute-alias
870 warnings. Eliminate the forward declaration of the resolver
871 functions which is no longer needed.
872 (__subkf3_resolve): Likewise.
873 (__mulkf3_resolve): Likewise.
874 (__divkf3_resolve): Likewise.
875 (__negkf2_resolve): Likewise.
876 (__eqkf2_resolve): Likewise.
877 (__nekf2_resolve): Likewise.
878 (__gekf2_resolve): Likewise.
879 (__gtkf2_resolve): Likewise.
880 (__lekf2_resolve): Likewise.
881 (__ltkf2_resolve): Likewise.
882 (__unordkf2_resolve): Likewise.
883 (__extendsfkf2_resolve): Likewise.
884 (__extenddfkf2_resolve): Likewise.
885 (__trunckfsf2_resolve): Likewise.
886 (__trunckfdf2_resolve): Likewise.
887 (__fixkfsi_resolve): Likewise.
888 (__fixkfdi_resolve): Likewise.
889 (__fixunskfsi_resolve): Likewise.
890 (__fixunskfdi_resolve): Likewise.
891 (__floatsikf_resolve): Likewise.
892 (__floatdikf_resolve): Likewise.
893 (__floatunsikf_resolve): Likewise.
894 (__floatundikf_resolve): Likewise.
895 (__extendkftf2_resolve): Likewise.
896 (__trunctfkf2_resolve): Likewise.
899 * config/rs6000/quad-float128.h (TF): Don't define if long double
900 is IEEE 128-bit floating point.
901 (TCtype): Define as either TCmode or KCmode, depending on whether
902 long double is IEEE 128-bit floating point.
903 (__mulkc3_sw): Add declarations for software/hardware versions of
904 complex multiply/divide.
905 (__divkc3_sw): Likewise.
906 (__mulkc3_hw): Likewise.
907 (__divkc3_hw): Likewise.
908 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
909 handlers to switch between using software emulation and hardware
910 float128 instructions, build the complex multiply/divide functions
911 for both software and hardware support.
912 * config/rs6000/_divkc3.c (_divkc3): Likewise.
913 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
914 (__divkc3_resolve): Likewise.
915 (__mulkc3): Likewise.
916 (__divkc3): Likewise.
917 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
918 (fp128_hw_src): Likewise.
919 (fp128_hw_static_obj): Likewise.
920 (fp128_hw_shared_obj): Likewise.
921 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
922 _mulkc3.c and _divkc3.c, changing the function name.
923 (_divkc3-hw.c): Likewise.
924 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
927 2017-11-26 Julia Koval <julia.koval@intel.com>
929 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
930 * config/i386/cpuinfo.h (processor_subtypes): Add
931 INTEL_COREI7_CANNONLAKE.
933 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
936 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
938 * config/xtensa/unwind-dw2-xtensa.c: Likewise
939 * config/ia64/unwind-ia64.c: Add frames parameter.
940 * unwind-sjlj.c: Likewise.
942 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
944 * config/i386/linux-unwind.h: Include
945 config/i386/shadow-stack-unwind.h.
946 * config/i386/shadow-stack-unwind.h: New file.
947 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
948 pass it to _Unwind_Frames_Extra.
949 * unwind-generic.h (_Unwind_Frames_Extra): New.
950 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
951 parameter. Add local variable frames to count number of frames.
952 (_Unwind_ForcedUnwind_Phase2): Likewise.
953 (_Unwind_RaiseException): Add local variable frames to count
954 number of frames, pass it to _Unwind_RaiseException_Phase2 and
956 (_Unwind_ForcedUnwind): Likewise.
957 (_Unwind_Resume): Likewise.
958 (_Unwind_Resume_or_Rethrow): Likewise.
960 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
962 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
964 * config/i386/morestack.S: Include <cet.h>.
965 (__morestack_large_model): Add _CET_ENDBR at function entrance.
966 * config/i386/resms64.h: Include <cet.h>.
967 * config/i386/resms64f.h: Likewise.
968 * config/i386/resms64fx.h: Likewise.
969 * config/i386/resms64x.h: Likewise.
970 * config/i386/savms64.h: Likewise.
971 * config/i386/savms64f.h: Likewise.
972 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
973 (CRTSTUFF_T_CFLAGS): Likewise.
974 * configure.ac: Include ../config/cet.m4.
975 Set and substitute CET_FLAGS.
976 * configure: Regenerated.
978 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
980 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
982 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
983 * configure.ac (libgcc_cv_solaris_crts): Likewise.
984 * configure: Regenerate.
986 2017-11-07 Tom de Vries <tom@codesourcery.com>
988 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
989 after "do {} while (0)".
991 2017-11-07 Tom de Vries <tom@codesourcery.com>
994 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
995 semicolon after "do {} while (0)".
996 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
997 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
998 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
999 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1001 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1004 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1005 sysctl to determine whether we're in a trampoline.
1006 Keep the pattern matching method for systems without
1007 KERN_PROC_SIGTRAMP sysctl.
1009 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1010 Vineet Gupta <vgupta@synopsys.com>
1012 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1013 * config/arc/linux-unwind-reg.def: New file.
1014 * config/arc/linux-unwind-reg.h: Likewise.
1016 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1018 * config/rl78/subdi3.S: New assembly file.
1019 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1021 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1023 * config/rl78/adddi3.S: New assembly file.
1024 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1026 2017-10-13 Jakub Jelinek <jakub@redhat.com>
1029 * libgcc2.c (__mulvDI3): If both operands have
1030 the same highpart of -1 and the topmost bit of lowpart is 0,
1031 multiplication overflows even if both lowparts are 0.
1033 2017-09-28 James Bowman <james.bowman@ftdichip.com>
1035 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1037 2017-09-26 Joseph Myers <joseph@codesourcery.com>
1039 * config/microblaze/crti.S, config/microblaze/crtn.S,
1040 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1041 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1042 config/microblaze/mulsi3.S,
1043 config/microblaze/stack_overflow_exit.S,
1044 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1045 config/pa/milli64.S: Add .note.GNU-stack section.
1047 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
1049 * configure.ac: Add Check for HAVE_AS_AVX.
1050 * config.in: Regenerate.
1051 * configure: Likewise.
1052 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1053 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1054 Correct out-of-date comments.
1056 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1058 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1059 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1061 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
1063 * config/i386/i386-asm.h (PASTE2): New macro.
1064 (ASMNAME): Modify to use PASTE2.
1065 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1066 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
1067 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
1068 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
1069 * config/i386/resms64f.S: Likewise.
1070 * config/i386/resms64fx.S: Likewise.
1071 * config/i386/resms64x.S: Likewise.
1072 * config/i386/savms64.S: Likewise.
1073 * config/i386/savms64f.S: Likewise.
1074 * config/i386/avx_resms64.S: New file that only defines a macro and
1075 includes it's corresponding header file.
1076 * config/i386/avx_resms64f.S: Likewise.
1077 * config/i386/avx_resms64fx.S: Likewise.
1078 * config/i386/avx_resms64x.S: Likewise.
1079 * config/i386/avx_savms64.S: Likewise.
1080 * config/i386/avx_savms64f.S: Likewise.
1081 * config/i386/sse_resms64.S: Likewise.
1082 * config/i386/sse_resms64f.S: Likewise.
1083 * config/i386/sse_resms64fx.S: Likewise.
1084 * config/i386/sse_resms64x.S: Likewise.
1085 * config/i386/sse_savms64.S: Likewise.
1086 * config/i386/sse_savms64f.S: Likewise.
1087 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
1089 2017-09-01 Olivier Hainque <hainque@adacore.com>
1090 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1092 2017-08-31 Olivier Hainque <hainque@adacore.com>
1094 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1095 match as powerpc-wrs-vxworks*.
1097 2017-08-07 Jonathan Yong <10walls@gmail.com>
1099 * config.host (*-cygwin): Include file from mingw
1100 config/i386/enable-execute-stack-mingw32.c
1102 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
1103 Doug Rupp <rupp@adacore.com>
1104 Olivier Hainque <hainque@adacore.com>
1106 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1107 as well as arm-wrs-vxworks.
1108 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1110 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1111 __exidx_start and __exidx_end for downloadable modules.
1113 2017-08-01 Olivier Hainque <hainque@adacore.com>
1115 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1116 * config/t-vxworks7: Likewise.
1118 2017-08-01 Olivier Hainque <hainque@adacore.com>
1120 * config/t-vxworks: Instead of redefining LIB2ADD,
1121 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1123 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1125 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1127 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
1130 * config.host: include i386/t-msabi for darwin and solaris.
1131 * config/i386/i386-asm.h
1132 (ELFFN): Rename to FN_TYPE.
1133 (FN_SIZE): New macro.
1134 (FN_HIDDEN): Likewise.
1135 (ASMNAME): Likewise.
1136 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1138 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1139 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1140 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1142 * config/i386/resms64f.S: Likewise.
1143 * config/i386/resms64fx.S: Likewise.
1144 * config/i386/resms64x.S: Likewise.
1145 * config/i386/savms64.S: Likewise.
1146 * config/i386/savms64f.S: Likewise.
1148 2017-07-19 John Marino <gnugcc@marino.st>
1150 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1152 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1155 * configure.ac (PowerPC float128 hardware support): Test whether
1156 we can use __builtin_cpu_supports before enabling the ifunc
1158 * configure: Regenerate.
1160 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
1162 * config.host: Remove uclibc from arc target spec.
1164 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1166 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1168 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1170 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1171 (have_ieee_hw_p): Delete function.
1172 (SW_OR_HW) Use __builtin_cpu_supports().
1174 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1176 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1178 2017-07-03 Olivier Hainque <hainque@adacore.com>
1180 * config/t-vxworks7: New file, really.
1182 2017-06-28 Joseph Myers <joseph@codesourcery.com>
1184 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1185 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1186 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1187 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1188 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1189 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1190 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1191 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1192 config/sh/linux-unwind.h (sh_fallback_frame_state),
1193 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1194 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1195 ucontext_t instead of struct ucontext.
1197 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
1199 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1200 (x86_64-wrs-vxworks7): Likewise.
1202 2017-06-27 Olivier Hainque <hainque@adacore.com>
1204 * config/t-vxworks7: New file.
1205 * config.host (*-*-vxworks7): Use it.
1207 2017-06-22 Matt Turner <mattst88@gmail.com>
1209 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1212 2017-06-21 Richard Biener <rguenther@suse.de>
1214 PR gcov-profile/81080
1215 * configure.ac: Add AC_SYS_LARGEFILE.
1216 * libgcov.h: Include auto-target.h before tsystem.h to pick
1217 up _FILE_OFFSET_BITS which might differ for multilibs.
1218 * config.in: Regenerate.
1219 * configure: Likewise.
1221 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
1223 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1225 2017-06-09 Martin Liska <mliska@suse.cz>
1227 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1228 Reset __gcov_indirect_call_callee to NULL.
1230 2017-06-08 Olivier Hainque <hainque@adacore.com>
1232 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1233 the set of -I options, support for direct inclusions of net/uio.h
1234 by VxWorks header files via ioLib.h.
1236 2017-06-07 Tony Reix <tony.reix@atos.net>
1237 Matthieu Sarter <matthieu.sarter.external@atos.net>
1238 David Edelsohn <dje.gcc@gmail.com>
1240 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1242 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1245 2017-06-02 Olivier Hainque <hainque@adacore.com>
1247 * config/vxlib.c (__gthread_once): Add missing value to
1250 2017-05-30 Olivier Hainque <hainque@adacore.com>
1252 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1253 dollar sign before $(MULTIDIR).
1255 2017-05-26 Richard Henderson <rth@redhat.com>
1258 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1260 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1262 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1263 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1264 * config/arm/unwind-arm.c: Implement the above.
1266 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1268 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1269 section for a non-executable stack.
1271 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1274 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1276 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
1278 * config.host: Add i386/t-msabi to i386/t-linux file list.
1279 * config/i386/i386-asm.h: New file.
1280 * config/i386/resms64.S: New file.
1281 * config/i386/resms64f.S: New file.
1282 * config/i386/resms64fx.S: New file.
1283 * config/i386/resms64x.S: New file.
1284 * config/i386/savms64.S: New file.
1285 * config/i386/savms64f.S: New file.
1286 * config/i386/t-msabi: New file.
1288 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1290 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1291 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1293 2017-05-05 Joshua Conner <joshconner@google.com>
1295 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1296 pc-relative indirect handling for fuchsia.
1297 * config/t-slibgcc-fuchsia: New file.
1298 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
1299 x86_64-*-fuchsia*): Add definitions.
1301 2017-04-19 Martin Liska <mliska@suse.cz>
1303 PR gcov-profile/80435
1304 * Makefile.in: Install gcov.h.
1306 * libgcov.h: Use the header and make __gcov_flush publicly
1309 2017-04-18 Martin Liska <mliska@suse.cz>
1311 PR gcov-profile/78783
1312 * libgcov-driver.c (gcov_get_filename): New function.
1314 2017-04-07 Jeff Law <law@redhat.com>
1316 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1317 target makefile fragment.
1318 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1320 2017-04-07 Alan Modra <amodra@gmail.com>
1323 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1325 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
1327 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1329 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1331 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1333 2017-03-10 John Marino <gnugcc@marino.st>
1335 * config/aarch64/freebsd-unwind.h: New file.
1336 * config.host: Add aarch64-*-freebsd unwinder.
1338 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1340 * config/rs6000/crtrestvr.s: Use .machine altivec.
1341 * config/rs6000/crtsavevr.s: Ditto.
1343 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1345 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1346 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1347 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1348 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1349 * configure: Regenerate.
1350 * config.in: Regenerate.
1352 2017-03-02 Jonathan Yong <10walls@gmail.com>
1354 * config/i386/gthr-win32.h: Define NOGDI before
1355 windows.h include to prevent w32api CC_NONE macro
1356 clash with libgfortran.
1358 2017-03-02 Jonathan Yong <10walls@gmail.com>
1360 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1362 2017-02-16 Andrew Pinski <apinski@cavium.com>
1364 * config/aarch64/value-unwind.h: New file.
1365 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1368 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1370 * config.host: Add RISC-V tuples.
1371 * config/riscv/atomic.c: New file.
1372 * config/riscv/crti.S: Likewise.
1373 * config/riscv/crtn.S: Likewise.
1374 * config/riscv/div.S: Likewise.
1375 * config/riscv/linux-unwind.h: Likewise.
1376 * config/riscv/muldi3.S: Likewise.
1377 * config/riscv/multi3.S: Likewise.
1378 * config/riscv/save-restore.S: Likewise.
1379 * config/riscv/sfp-machine.h: Likewise.
1380 * config/riscv/t-elf: Likewise.
1381 * config/riscv/t-elf32: Likewise.
1382 * config/riscv/t-elf64: Likewise.
1383 * config/riscv/t-softfp32: Likewise.
1384 * config/riscv/t-softfp64: Likewise.
1386 2017-01-24 Jakub Jelinek <jakub@redhat.com>
1388 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1389 /* FALLTHRU */ comments.
1391 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1393 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1395 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1397 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1398 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1399 DW_CFA_GNU_window_save for AArch64 and LP64.
1401 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1403 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1405 2017-01-19 Jiong Wang <jiong.wang@arm.com>
1407 * config/aarch64/aarch64-unwind.h: New file.
1408 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1409 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1410 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1411 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1412 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1413 (aarch64_post_extract_frame_addr): New function.
1414 (aarch64_post_frob_eh_handler_addr): New function.
1415 (aarch64_frob_update_context): New function.
1416 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1417 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1418 aarch64*-*-freebsd*):
1419 Initialize md_unwind_header to include aarch64-unwind.h.
1420 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1421 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1423 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1424 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1425 (uw_frob_return_addr): New function.
1426 (uw_install_context): Use uw_frob_return_addr.
1428 2017-01-17 Jakub Jelinek <jakub@redhat.com>
1431 * configure.ac: Add GCC_BASE_VER.
1432 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1433 version from BASE-VER file.
1434 * configure: Regenerated.
1436 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
1438 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1439 libmul_f5.a): Filter archived prerequisites.
1441 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1443 * config/i386/cpuinfo.h (processor_features): Add
1444 FEATURE_AVX512VPOPCNTDQ.
1445 * config/i386/cpuinfo.c (get_available_features): Habdle new
1448 2017-01-04 Joseph Myers <joseph@codesourcery.com>
1450 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1451 payload if [__mips_nan2008].
1453 2017-01-04 Alan Modra <amodra@gmail.com>
1455 * Makefile.in (configure_deps): Update.
1456 * configure: Regenerate.
1458 2017-01-01 Jakub Jelinek <jakub@redhat.com>
1460 Update copyright years.
1462 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1464 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1465 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1466 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1468 2016-12-17 Matthias Klose <doko@ubuntu.com>
1470 * config/arc/gmon: Remove empty directory.
1472 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1474 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1476 (arc*-*-elf*): Likewise.
1477 * config/arc/t-arc: Remove old gmon lib targets.
1478 * config/arc/crtg.S: Remove.
1479 * config/arc/crtgend.S: Likewise.
1480 * config/arc/gmon/atomic.h: Likewise.
1481 * config/arc/gmon/auxreg.h: Likewise.
1482 * config/arc/gmon/dcache_linesz.S: Likewise.
1483 * config/arc/gmon/gmon.c: Likewise.
1484 * config/arc/gmon/machine-gmon.h: Likewise.
1485 * config/arc/gmon/mcount.c: Likewise.
1486 * config/arc/gmon/prof-freq-stub.S: Likewise.
1487 * config/arc/gmon/prof-freq.c: Likewise.
1488 * config/arc/gmon/profil.S: Likewise.
1489 * config/arc/gmon/sys/gmon.h: Likewise.
1490 * config/arc/gmon/sys/gmon_out.h: Likewise.
1491 * config/arc/t-arc-newlib: Likewise.
1492 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1494 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1496 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1498 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1500 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1501 R16 instead of push + pop.
1502 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1504 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1506 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1509 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1511 * config.host (arc*-*-linux-uclibc*): Use default extra
1512 objects. Include linux-android header.
1513 * config/arc/crti.S (_init): Declare symbol as function.
1516 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1519 * config/i386/cpuinfo.c: Move denums for processor vendors,
1520 processor type, processor subtypes and declaration of
1521 struct __processor_model into
1522 * config/i386/cpuinfo.h: New header file.
1524 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1525 Thomas Preud'homme <thomas.preudhomme@arm.com>
1527 * config/arm/cmse_nonsecure_call.S: New.
1528 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1530 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1531 Thomas Preud'homme <thomas.preudhomme@arm.com>
1533 * config/arm/t-arm (HAVE_CMSE): New.
1534 * config/arm/cmse.c: New.
1536 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1539 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1540 use generic linker version information on Blackfin.
1543 * libgcc/mkmap-symver.awk: add support for skip_underscore
1545 2016-11-27 Iain Sandoe <iain@codesourcery.com>
1546 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1549 * config/t-darwin: Default builds to 10.5 codegen.
1551 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1553 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1554 (_FP_NANSIGN_H): Likewise.
1555 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1556 (softfp_truncations): Add tfhf.
1557 (softfp_extras): Add required conversion functions.
1559 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1560 Matthew Wahab <matthew.wahab@arm.com>
1562 * config/arm/fp16.c (binary64): New.
1563 (__gnu_d2h_internal): New.
1564 (__gnu_d2h_ieee): New.
1565 (__gnu_d2h_alternative): New.
1567 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1568 Matthew Wahab <matthew.wahab@arm.com>
1570 * config/arm/fp16.c (struct format): New.
1572 (__gnu_float2h_internal): New. Body moved from
1573 __gnu_f2h_internal and generalize.
1574 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1575 Call it with binary32.
1577 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1579 * soft-fp/extendhftf2.c: Update from glibc.
1580 * soft-fp/fixhfti.c: Likewise.
1581 * soft-fp/fixunshfti.c: Likewise.
1582 * soft-fp/floattihf.c: Likewise.
1583 * soft-fp/floatuntihf.c: Likewise.
1584 * soft-fp/half.h: Likewise.
1585 * soft-fp/trunctfhf2.c: Likewise.
1587 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
1590 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1591 __TMC_END__ behind a passthrough asm.
1593 2016-11-18 Walter Lee <walt@tilera.com>
1595 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1597 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1599 * config/i386/cpuinfo.c (processor_features): Add
1600 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1602 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1604 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1605 (__ARC_NORM__): Use instead ARC_OPTFPE.
1606 * config/arc/fp-hack.h: Likewise.
1607 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1608 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1610 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
1612 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1613 * config/nvptx/mgomp.c: New file.
1614 * config/nvptx/t-nvptx: Add mgomp.c
1616 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1619 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1621 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1623 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1624 of checking for cpus.
1625 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1626 (__modsi3, __clzsi2): Likewise.
1628 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1630 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1631 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1632 * config/i386/t-cpuinfo-static: New.
1634 2016-11-03 Martin Liska <mliska@suse.cz>
1636 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1637 (__gcov_time_profiler_atomic): Likewise.
1639 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1642 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1643 count_leading_zeros.
1645 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
1647 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1648 * libgcc2.c (__divmoddi4): New function.
1649 * libgcc2.h (__divmoddi4): Declare.
1650 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1651 and __PFX_divmodti4.
1653 2016-10-24 Florian Weimer <fweimer@redhat.com>
1656 * unwind-c.c: Include auto-target.h.
1658 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
1660 * config/pa/pa64-hpux-lib.h: New file.
1661 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1662 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1663 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1666 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1668 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1670 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1672 * config/xtensa/t-windowed (LIB2ADDEH): Use
1673 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1676 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1678 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1679 __ieee754_sqrt): New functions.
1680 (__divdf3): Add implementation with new FPU instructions under
1681 #if XCHAL_HAVE_DFP_DIV.
1682 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1683 __ieee754_sqrtf): New functions.
1684 (__divsf3): Add implementation with new FPU instructions under
1685 #if XCHAL_HAVE_FP_DIV.
1686 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1687 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1689 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1691 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1693 * config/tilepro/atomic.c: Likewise and stop casting model to
1696 2016-10-10 Joseph Myers <joseph@codesourcery.com>
1699 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1702 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1704 * config.host: Add support for aarch64-*-freebsd*.
1706 2016-10-05 Andreas Schwab <schwab@suse.de>
1708 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1709 (.section .init_array): Don't call __do_jv_register_classes.
1710 (.section .init): Likewise.
1712 2016-10-04 Jakub Jelinek <jakub@redhat.com>
1714 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1715 (__JCR_LIST__): Remove.
1716 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1717 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1718 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1719 * config/ia64/crtend.S (__JCR_END__): Remove.
1720 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1722 (__JCR_LIST__, __JCR_END__): Remove.
1723 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1724 (__do_global_ctors_1): Likewise.
1726 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
1728 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1729 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1731 2016-09-27 Martin Liska <mliska@suse.cz>
1733 PR gcov-profile/7970
1734 PR gcov-profile/16855
1735 PR gcov-profile/44779
1736 * libgcov-driver.c (__gcov_init): Do not register a atexit
1738 (__gcov_exit): Rename from gcov_exit.
1739 * libgcov.h (__gcov_exit): Declare.
1741 2016-09-27 Martin Liska <mliska@suse.cz>
1744 * Makefile.in: Remove _gcov_merge_delta.
1745 * libgcov-merge.c (void __gcov_merge_delta): Remove.
1746 * libgcov-util.c (__gcov_delta_counter_op): Remove.
1747 * libgcov.h: Remove declaration of __gcov_merge_delta.
1749 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
1751 * configure.ac: Do not create links, only substitute the filenames.
1752 * configure: Regenerate.
1753 * Makefile.in: Assign the substitution results to variables.
1754 (LIBGCC_LINKS): Define.
1755 (enable-execute-stack.c): New rule.
1756 (unwind.h): Likewise.
1757 (md-unwind-support.h): Likewise.
1758 (sfp-machine.h): Likewise.
1759 (gthr-default.h): Likewise.
1760 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1761 unwind.h as prerequisite of install-unwind_h-forbuild.
1763 2016-09-16 Jakub Jelinek <jakub@redhat.com>
1766 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1767 is not the primary registry and atomics are available.
1768 (any_objects_registered): New variable.
1769 (__register_frame_info_bases, __register_frame_info_table_bases):
1770 Atomically store 1 to any_objects_registered after registering first
1772 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1774 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
1777 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1778 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1781 (__divhc3): Likewise.
1782 (__mulhc3): Likewise.
1783 * libgcc2.c: Support _mulhc3 and _divhc3.
1785 2016-09-07 Joseph Myers <joseph@codesourcery.com>
1788 * libgcc2.c (NOTRUNC): Invert settings.
1790 2016-09-06 Martin Liska <mliska@suse.cz>
1792 PR gcov-profile/77378
1793 PR gcov-profile/77466
1794 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1795 conditionaly enable/disable *_atomic functions.
1797 2016-08-26 Joseph Myers <joseph@codesourcery.com>
1799 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1800 where not already enabled.
1802 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1804 * config/mips/linux-unwind.h: Use sys/syscall.h.
1806 2016-08-16 Joseph Myers <joseph@codesourcery.com>
1809 * soft-fp/adddf3.c: Update from glibc.
1810 * soft-fp/addsf3.c: Likewise.
1811 * soft-fp/addtf3.c: Likewise.
1812 * soft-fp/divdf3.c: Likewise.
1813 * soft-fp/divsf3.c: Likewise.
1814 * soft-fp/divtf3.c: Likewise.
1815 * soft-fp/double.h: Likewise.
1816 * soft-fp/eqdf2.c: Likewise.
1817 * soft-fp/eqsf2.c: Likewise.
1818 * soft-fp/eqtf2.c: Likewise.
1819 * soft-fp/extenddftf2.c: Likewise.
1820 * soft-fp/extended.h: Likewise.
1821 * soft-fp/extendsfdf2.c: Likewise.
1822 * soft-fp/extendsftf2.c: Likewise.
1823 * soft-fp/extendxftf2.c: Likewise.
1824 * soft-fp/fixdfdi.c: Likewise.
1825 * soft-fp/fixdfsi.c: Likewise.
1826 * soft-fp/fixdfti.c: Likewise.
1827 * soft-fp/fixsfdi.c: Likewise.
1828 * soft-fp/fixsfsi.c: Likewise.
1829 * soft-fp/fixsfti.c: Likewise.
1830 * soft-fp/fixtfdi.c: Likewise.
1831 * soft-fp/fixtfsi.c: Likewise.
1832 * soft-fp/fixtfti.c: Likewise.
1833 * soft-fp/fixunsdfdi.c: Likewise.
1834 * soft-fp/fixunsdfsi.c: Likewise.
1835 * soft-fp/fixunsdfti.c: Likewise.
1836 * soft-fp/fixunssfdi.c: Likewise.
1837 * soft-fp/fixunssfsi.c: Likewise.
1838 * soft-fp/fixunssfti.c: Likewise.
1839 * soft-fp/fixunstfdi.c: Likewise.
1840 * soft-fp/fixunstfsi.c: Likewise.
1841 * soft-fp/fixunstfti.c: Likewise.
1842 * soft-fp/floatdidf.c: Likewise.
1843 * soft-fp/floatdisf.c: Likewise.
1844 * soft-fp/floatditf.c: Likewise.
1845 * soft-fp/floatsidf.c: Likewise.
1846 * soft-fp/floatsisf.c: Likewise.
1847 * soft-fp/floatsitf.c: Likewise.
1848 * soft-fp/floattidf.c: Likewise.
1849 * soft-fp/floattisf.c: Likewise.
1850 * soft-fp/floattitf.c: Likewise.
1851 * soft-fp/floatundidf.c: Likewise.
1852 * soft-fp/floatundisf.c: Likewise.
1853 * soft-fp/floatunditf.c: Likewise.
1854 * soft-fp/floatunsidf.c: Likewise.
1855 * soft-fp/floatunsisf.c: Likewise.
1856 * soft-fp/floatunsitf.c: Likewise.
1857 * soft-fp/floatuntidf.c: Likewise.
1858 * soft-fp/floatuntisf.c: Likewise.
1859 * soft-fp/floatuntitf.c: Likewise.
1860 * soft-fp/gedf2.c: Likewise.
1861 * soft-fp/gesf2.c: Likewise.
1862 * soft-fp/getf2.c: Likewise.
1863 * soft-fp/ledf2.c: Likewise.
1864 * soft-fp/lesf2.c: Likewise.
1865 * soft-fp/letf2.c: Likewise.
1866 * soft-fp/muldf3.c: Likewise.
1867 * soft-fp/mulsf3.c: Likewise.
1868 * soft-fp/multf3.c: Likewise.
1869 * soft-fp/negdf2.c: Likewise.
1870 * soft-fp/negsf2.c: Likewise.
1871 * soft-fp/negtf2.c: Likewise.
1872 * soft-fp/op-1.h: Likewise.
1873 * soft-fp/op-2.h: Likewise.
1874 * soft-fp/op-4.h: Likewise.
1875 * soft-fp/op-8.h: Likewise.
1876 * soft-fp/op-common.h: Likewise.
1877 * soft-fp/quad.h: Likewise.
1878 * soft-fp/single.h: Likewise.
1879 * soft-fp/soft-fp.h: Likewise.
1880 * soft-fp/subdf3.c: Likewise.
1881 * soft-fp/subsf3.c: Likewise.
1882 * soft-fp/subtf3.c: Likewise.
1883 * soft-fp/truncdfsf2.c: Likewise.
1884 * soft-fp/trunctfdf2.c: Likewise.
1885 * soft-fp/trunctfsf2.c: Likewise.
1886 * soft-fp/trunctfxf2.c: Likewise.
1887 * soft-fp/unorddf2.c: Likewise.
1888 * soft-fp/unordsf2.c: Likewise.
1889 * soft-fp/unordtf2.c: Likewise.
1891 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
1893 PR gcov-profile/67097
1894 * libgcov-util.c (gcov_profile_merge): Skip missing files.
1896 2016-08-10 Martin Liska <mliska@suse.cz>
1898 PR gcov-profile/58306
1899 * Makefile.in: New functions (modules) are added.
1900 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1902 (__gcov_pow2_profiler_atomic): New function.
1903 (__gcov_one_value_profiler_body): New argument is instroduced.
1904 (__gcov_one_value_profiler): Call with the new argument.
1905 (__gcov_one_value_profiler_atomic): Likewise.
1906 (__gcov_indirect_call_profiler_v2): Likewise.
1907 (__gcov_time_profiler_atomic): New function.
1908 (__gcov_average_profiler_atomic): Likewise.
1909 (__gcov_ior_profiler_atomic): Likewise.
1910 * libgcov.h: Declare the aforementioned functions.
1912 2016-08-09 Martin Liska <mliska@suse.cz>
1914 * libgcov-util.c: Fix typo and GNU coding style.
1916 2016-08-09 Martin Liska <mliska@suse.cz>
1918 * Makefile.in: Remove __gcov_indirect_call_profiler.
1919 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1921 * libgcov.h: And the declaration of the function.
1923 2016-08-09 Martin Liska <mliska@suse.cz>
1925 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1928 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1930 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1931 * config/rs6000/_mulkc3.c: Likewise.
1933 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
1935 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1936 zero_reg as previous call to __umulhisi3 already cleared it.
1938 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
1941 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1943 2016-07-19 Nick Clifton <nickc@redhat.com>
1945 * config.host (m32r): Add m32r/t-m32r to tmake_file.
1946 Add crtinit.o and crtfini.o to extra_parts.
1948 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1950 * config/rs6000/_divkc3.c: New.
1951 * config/rs6000/_mulkc3.c: New.
1952 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1954 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
1957 2016-07-11 Hale Wang <hale.wang@arm.com>
1958 Andre Vieira <andre.simoesdiasvieira@arm.com>
1960 * config/arm/lib1funcs.S: Add new wrapper.
1962 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1964 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1966 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1968 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
1969 and ARMv5t* rather than for a fixed list of architectures.
1971 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1973 * config/arm/bpabi-v6m.S: Clarify what architectures is the
1974 implementation suitable for.
1975 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
1976 for all Thumb-1 only targets.
1977 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
1978 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
1981 (ARM_FUNC_ALIAS): Likewise.
1982 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
1985 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
1988 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
1989 __ARM_ARCH_6M__ in guard for checking whether it is defined.
1990 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
1991 __ARM_ARCH_6M__ and add comment to indicate the connection between
1992 this condition and the one in gcc/config/arm/elf.h.
1993 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
1994 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
1995 * config/arm/t-softfp: Likewise.
1997 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1999 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2000 CTOR_LISTS_DEFINED_EXTERNALLY.
2002 2016-06-28 Walter Lee <walt@tilera.com>
2004 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2006 (SPR_CMPEXCH_VALUE): Define for tilegx.
2007 (__NR_FAST_cmpxchg): Define for tilepro.
2008 (__NR_FAST_atomic_update): Define for tilepro.
2009 (__NR_FAST_cmpxchg64): Define for tilepro.
2011 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2013 * config.host: Add suport for arm*-*-phoenix* targets.
2015 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2017 * config.host: Remove support for mep-*.
2018 * config/mep/lib1funcs.S: Remove.
2019 * config/mep/lib2funcs.c: Remove.
2020 * config/mep/t-mep: Remove.
2021 * config/mep/tramp.c: Remove.
2023 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2025 * config.host: Remove support for avr-rtems.
2026 * config/avr/t-rtems: Remove.
2028 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2030 * config.host: Remove m32r-rtems support.
2032 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2034 * config.host: Remove h8300-rtems support.
2036 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2038 * config.host: Remove support for knetbsd.
2040 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2042 * config.host: Remove support for openbsd 2 and 3.
2044 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2046 * config.host: Remove interix support.
2047 * config/i386/t-interix: Remove.
2049 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
2051 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2052 least-significant bit in function pointer for fixup.
2054 2016-06-05 Aaron Conole <aconole@redhat.com>
2055 Nathan Sidwell <nathan@acm.org>
2058 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2059 (get_gcov_error_file): Check __gcov_error_file before trying to
2061 (gcov_error): Always use get_gcov_error_file.
2063 2016-06-02 Aaron Conole <aconole@redhat.com>
2065 * libgcov-driver-system.c (__gcov_error_file): New.
2066 (get_gcov_error_file): New.
2067 (gcov_error): Use and set __gcov_error_file.
2068 (gcov_error_exit): New.
2069 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2071 2016-05-26 Nathan Sidwell <nathan@acm.org>
2073 * config/nvptx/free.asm: Delete.
2074 * config/nvptx/malloc.asm: Delete.
2075 * config/nvptx/realloc.c: Delete.
2078 2016-05-25 Nathan Sidwell <nathan@acm.org>
2080 * config/nvptx/crt0.s: Delete.
2081 * config/nvptx/crt0.c: New.
2084 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2086 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
2087 dw2/seh configuration.
2088 [x86_64-*-mingw*]: Likewise.
2090 2016-05-10 Joel Sherrill <joel@rtems.org>
2093 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2094 targets so the same extra_parts are built. Also have tmake_file add
2095 on to its value rather than override.
2097 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2099 * config.host: Remove SH5 support.
2100 * configure: Likewise.
2102 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2104 * config/sh/crt1.S: Remove SH5 support.
2105 * config/sh/crti.S: Likewise.
2106 * config/sh/crtn.S: Likewise.
2107 * config/sh/lib1funcs-4-300.S: Likewise.
2108 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2109 * config/sh/lib1funcs.S: Likewise.
2110 * config/sh/linux-unwind.h: Likewise.
2111 * config/sh/t-sh64: Delete.
2113 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2115 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2117 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2118 Joern Rennecke <joern.rennecke@embecosm.com>
2120 * config/arc/crttls.S: New file.
2121 * config/arc/t-arc: New rule.
2122 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2124 2016-04-25 Nick Clifton <nickc@redhat.com>
2126 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2127 (__mspabi_cmpd): Likewise.
2128 * config/msp430/floathidf.c (__floathidf): Likewise.
2129 * config/msp430/floathisf.c (__floathisf): Likewise
2130 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2131 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2132 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2134 (__ashrsi3): Likewise.
2136 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2138 * config/m68k/linux-atomic.c: Do not include unistd.h
2140 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2142 * config/arm/ieee754-df.S: Fix typos in comments.
2144 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2147 * configure.ac (powerpc*-*-linux*): Rework tests to build
2148 __float128 emulation routines to not depend on using #pragma GCC
2149 target to enable -mfloat128.
2150 * configure: Regnerate.
2152 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2155 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2156 __MINGW32__ is defined.
2158 2016-03-28 James Bowman <james.bowman@ftdichip.com>
2160 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
2162 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2165 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2166 built with an assembler that does not support ISA 3.0
2167 instructions, rename __extendkftf2_sw to __extendkftf2.
2169 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2172 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2173 call-clobbered registers.
2174 (internal_mcount): Remove __i386__ handling.
2176 2016-02-26 Joel Sherrill <joel@rtems.org>
2178 * config.host: Add x86_64-*-rtems*.
2180 2016-02-26 Joel Sherrill <joel@rtems.org>
2182 * libgcc/config.host: Add aarch64-*-rtems*.
2184 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2185 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2187 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2188 union of u64 and double.
2189 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2190 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2192 (FP_ROUNDMODE): Update the usage of _fpscr.
2194 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2197 * Makefile.in (crtoffloadtable$(objext)): New rule.
2198 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2199 enable_offload_targets is not empty.
2200 * configure: Regenerate.
2201 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2204 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2206 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2207 .literal_position before the function.
2208 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2211 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2213 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2214 * config/s390/morestack.S: New file.
2215 * config/s390/t-stack-s390: New file.
2216 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2218 2016-02-12 Walter Lee <walt@tilera.com>
2220 * config.host (tilegx*-*-linux*): remove ti from
2221 softfp_int_modes for 32-bit configs.
2223 2016-02-10 Ian Lance Taylor <iant@google.com>
2226 * config/i386/morestack.S (__stack_split_initialize): Align
2229 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2232 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2233 __FLOAT128__ to compile only for __float128 capable targets.
2235 2016-01-25 Jakub Jelinek <jakub@redhat.com>
2238 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2239 instead of ___NO_FPRS__.
2241 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
2242 Steven Munroe <munroesj@linux.vnet.ibm.com>
2243 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2245 * config/rs6000/float128-sed: New files to convert TF names to KF
2246 names for PowerPC IEEE 128-bit floating point support.
2247 * config/rs6000/float128-sed-hw: Likewise.
2249 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2250 floating point hardware support.
2252 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2253 128-bit floating point software emulation or use ISA 3.0 hardware
2254 support if it is available.
2256 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2259 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2260 floating point to IBM extended double.
2262 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2263 double to IEEE 128-bit floating point.
2265 * config/rs6000/t-float128: New Makefile fragments to enable
2266 building __float128 emulation support.
2267 * config/rs6000/t-float128-hw: Likewise.
2269 * config/rs6000/sfp-exceptions.c: New file to provide exception
2270 support for IEEE 128-bit floating point.
2272 * config/rs6000/floattikf.c: New files for converting between IEEE
2273 128-bit floating point and signed/unsigned 128-bit integers.
2274 * config/rs6000/fixunskfti.c: Likewise.
2275 * config/rs6000/fixkfti.c: Likewise.
2276 * config/rs6000/floatuntikf.c: Likewise.
2278 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2279 when building on 64-bit systems, or when VSX is enabled.
2280 (_FP_W_TYPE): Likewise.
2281 (_FP_WS_TYPE): Likewise.
2282 (_FP_I_TYPE): Likewise.
2283 (TItype): Define on 64-bit systems.
2284 (UTItype): Likewise.
2285 (TI_BITS): Likewise.
2286 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2287 (_FP_MUL_MEAT_Q): Likewise.
2288 (_FP_DIV_MEAT_D): Likewise.
2289 (_FP_DIV_MEAT_Q): Likewise.
2290 (_FP_NANFRAC_D): Likewise.
2291 (_FP_NANFRAC_Q): Likewise.
2292 (ISA_BIT): Add exception support if we are being compiled on a
2293 machine with hardware floating point support to build the IEEE
2294 128-bit emulation functions.
2295 (FP_EX_INVALID): Likewise.
2296 (FP_EX_OVERFLOW): Likewise.
2297 (FP_EX_UNDERFLOW): Likewise.
2298 (FP_EX_DIVZERO): Likewise.
2299 (FP_EX_INEXACT): Likewise.
2300 (FP_EX_ALL): Likewise.
2301 (__sfp_handle_exceptions): Likewise.
2302 (FP_HANDLE_EXCEPTIONS): Likewise.
2303 (FP_RND_NEAREST): Likewise.
2304 (FP_RND_ZERO): Likewise.
2305 (FP_RND_PINF): Likewise.
2306 (FP_RND_MINF): Likewise.
2307 (FP_RND_MASK): Likewise.
2308 (_FP_DECL_EX): Likewise.
2309 (FP_INIT_ROUNDMODE): Likewise.
2310 (FP_ROUNDMODE): Likewise.
2312 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2313 VSX code, enable IEEE 128-bit floating point. If the compiler can
2314 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2315 floating point hardware instructions and it supports declaring
2316 functions with the ifunc attribute, enable ifunc functions to
2317 switch between software and hardware support.
2318 * configure.ac (powerpc*-*-linux*): Likewise.
2319 * configure: Regenerate.
2321 2016-01-15 Nick Clifton <nickc@redhat.com>
2323 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2324 dependency as the source file to be compiled.
2325 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2326 (lib2hw_mul_f5.o): Likewise.
2328 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2330 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2331 * libgcc/config/rs6000/fixkfti.c: Likewise.
2332 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2333 * libgcc/config/rs6000/float128-hw.c: Likewise.
2334 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2335 * libgcc/config/rs6000/float128-sed: Likewise.
2336 * libgcc/config/rs6000/floattikf.c: Likewise.
2337 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2338 * libgcc/config/rs6000/quad-float128.h: Likewise.
2339 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2340 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2341 * libgcc/config/rs6000/t-float128: Likewise.
2342 * libgcc/config/rs6000/t-float128-hw: Likewise.
2343 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2344 * libgcc/config.host: Likewise.
2345 * libgcc/configure: Likewise.
2346 * libgcc/configure.ac: Likewise.
2348 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2349 Steven Munroe <munroesj@linux.vnet.ibm.com>
2350 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2352 * config/rs6000/sfp-exceptions.c: New file to provide exception
2353 support for IEEE 128-bit floating point.
2355 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2356 floating point hardware support.
2358 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2360 * config/rs6000/fixunskfti.c: Likewise.
2361 * config/rs6000/fixkfti.c: Likewise.
2362 * config/rs6000/floatuntikf.c: Likewise.
2363 * config/rs6000/extendkftf2-sw.c: Likewise.
2364 * config/rs6000/trunctfkf2-sw.c: Likewise.
2366 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2367 128-bit floating point software emulation or use ISA 3.0 hardware
2368 support if it is available.
2370 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2373 * config/rs6000/t-float128: New Makefile fragments to enable
2374 building __float128 emulation support.
2375 * config/rs6000/t-float128-hw: Likewise.
2377 * config/rs6000/float128-sed: New file to convert TF names to KF
2378 names for PowerPC IEEE 128-bit floating point support.
2380 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2381 when building on 64-bit systems, or when VSX is enabled.
2382 (_FP_W_TYPE): Likewise.
2383 (_FP_WS_TYPE): Likewise.
2384 (_FP_I_TYPE): Likewise.
2385 (TItype): Define on 64-bit systems.
2386 (UTItype): Likewise.
2387 (TI_BITS): Likewise.
2388 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2389 (_FP_MUL_MEAT_Q): Likewise.
2390 (_FP_DIV_MEAT_D): Likewise.
2391 (_FP_DIV_MEAT_Q): Likewise.
2392 (_FP_NANFRAC_D): Likewise.
2393 (_FP_NANFRAC_Q): Likewise.
2394 (ISA_BIT): Add exception support if we are being compiled on a
2395 machine with hardware floating point support to build the IEEE
2396 128-bit emulation functions.
2397 (FP_EX_INVALID): Likewise.
2398 (FP_EX_OVERFLOW): Likewise.
2399 (FP_EX_UNDERFLOW): Likewise.
2400 (FP_EX_DIVZERO): Likewise.
2401 (FP_EX_INEXACT): Likewise.
2402 (FP_EX_ALL): Likewise.
2403 (__sfp_handle_exceptions): Likewise.
2404 (FP_HANDLE_EXCEPTIONS): Likewise.
2405 (FP_RND_NEAREST): Likewise.
2406 (FP_RND_ZERO): Likewise.
2407 (FP_RND_PINF): Likewise.
2408 (FP_RND_MINF): Likewise.
2409 (FP_RND_MASK): Likewise.
2410 (_FP_DECL_EX): Likewise.
2411 (FP_INIT_ROUNDMODE): Likewise.
2412 (FP_ROUNDMODE): Likewise.
2414 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2415 compiler can do __float128.
2416 * configure: Regenerate.
2418 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2419 VSX code, enable IEEE 128-bit floating point.
2421 2016-01-05 Olivier Hainque <hainque@adacore.com>
2423 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
2426 2016-01-04 Jakub Jelinek <jakub@redhat.com>
2428 Update copyright years.
2430 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2432 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
2435 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2437 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2438 instead of abort to avoid dependency on stdlib.h.
2440 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
2442 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2443 to initialize call to __dl_fixup once.
2445 2015-12-04 Nick Clifton <nickc@redhat.com>
2447 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2448 Allow for the second argument being negative.
2449 * config.host (extra_parts): Define for MSP430. Create separate
2450 libraries for each of the hardware multiply formats.
2451 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2453 * config/msp430/lib2mul.c: Likewise.
2454 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2455 Add rules to build hardware multiply libraries.
2456 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2457 __mspabi_divul function.
2458 (__mspabi_divllu): New stub function.
2460 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
2462 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2463 fixup values if saved GOT address doesn't match runtime address.
2464 (fixup_branch_offset): Reorder list.
2466 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2468 * Makefile.in (VTV_CFLAGS): New variable.
2469 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2470 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2471 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2472 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2473 to extra_parts if $enable_vtable_verify = yes.
2475 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2478 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2479 (write): ...this and fix the return type.
2481 2015-11-19 DJ Delorie <dj@redhat.com>
2483 * config/msp430/lib2hw_mul.S: Fix alignment.
2485 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2487 * config/nvptx/reduction.c: New.
2488 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2490 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
2492 * config/rs6000/on_exit.c: New file.
2493 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2494 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2496 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2498 * config/arc/dp-hack.h: Add support for ARCHS.
2499 * config/arc/ieee-754/divdf3.S: Likewise.
2500 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2501 * config/arc/ieee-754/muldf3.S: Likewise.
2502 * config/arc/ieee-754/mulsf3.S: Likewise
2503 * config/arc/lib1funcs.S: Likewise
2504 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2506 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2508 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2509 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2512 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2514 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2516 * config/ia64/crtend.S: Likewise.
2518 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2520 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2521 __CHAR_BIT__ instead of BITS_PER_UNIT.
2522 * fixed-bit.h: Likewise.
2523 * fp-bit.h: Likewise.
2524 * libgcc2.c (__popcountSI2): Likewise.
2525 (__popcountDI2): Likewise.
2526 * libgcc2.h: Likewise.
2527 * libgcov.h: Likewise.
2529 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
2531 * config/rs6000/atexit.c: New file.
2532 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2533 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2534 * config/rs6000/cxa_finalize.c
2535 (catomic_compare_and_exchange_bool_acq): Negate return value.
2537 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2539 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2540 (processor_subtypes): Add znver1.
2541 (get_amd_cpu): Detect znver1.
2543 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2545 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2546 Include crtfastmath.o.
2548 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2551 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
2553 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2555 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2556 * config/rl78/divmodsi.S: Update return register to r8.
2557 * config/rl78/divmodhi.S: Update return register to r8,r9.
2558 Branch to main_loop_done_himode to pop registers before return.
2560 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2562 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2563 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2565 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2567 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2569 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2571 * config.host (xtensa*-*-uclinux*): New configuration.
2573 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2575 * config/i386/cpuinfo.c (processor_features): Add
2576 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2578 2015-09-28 Joseph Myers <joseph@codesourcery.com>
2580 * soft-fp/adddf3.c: Update from glibc.
2581 * soft-fp/addsf3.c: Likewise.
2582 * soft-fp/addtf3.c: Likewise.
2583 * soft-fp/divdf3.c: Likewise.
2584 * soft-fp/divsf3.c: Likewise.
2585 * soft-fp/divtf3.c: Likewise.
2586 * soft-fp/double.h: Likewise.
2587 * soft-fp/eqdf2.c: Likewise.
2588 * soft-fp/eqsf2.c: Likewise.
2589 * soft-fp/eqtf2.c: Likewise.
2590 * soft-fp/extenddftf2.c: Likewise.
2591 * soft-fp/extended.h: Likewise.
2592 * soft-fp/extendsfdf2.c: Likewise.
2593 * soft-fp/extendsftf2.c: Likewise.
2594 * soft-fp/extendxftf2.c: Likewise.
2595 * soft-fp/fixdfdi.c: Likewise.
2596 * soft-fp/fixdfsi.c: Likewise.
2597 * soft-fp/fixdfti.c: Likewise.
2598 * soft-fp/fixsfdi.c: Likewise.
2599 * soft-fp/fixsfsi.c: Likewise.
2600 * soft-fp/fixsfti.c: Likewise.
2601 * soft-fp/fixtfdi.c: Likewise.
2602 * soft-fp/fixtfsi.c: Likewise.
2603 * soft-fp/fixtfti.c: Likewise.
2604 * soft-fp/fixunsdfdi.c: Likewise.
2605 * soft-fp/fixunsdfsi.c: Likewise.
2606 * soft-fp/fixunsdfti.c: Likewise.
2607 * soft-fp/fixunssfdi.c: Likewise.
2608 * soft-fp/fixunssfsi.c: Likewise.
2609 * soft-fp/fixunssfti.c: Likewise.
2610 * soft-fp/fixunstfdi.c: Likewise.
2611 * soft-fp/fixunstfsi.c: Likewise.
2612 * soft-fp/fixunstfti.c: Likewise.
2613 * soft-fp/floatdidf.c: Likewise.
2614 * soft-fp/floatdisf.c: Likewise.
2615 * soft-fp/floatditf.c: Likewise.
2616 * soft-fp/floatsidf.c: Likewise.
2617 * soft-fp/floatsisf.c: Likewise.
2618 * soft-fp/floatsitf.c: Likewise.
2619 * soft-fp/floattidf.c: Likewise.
2620 * soft-fp/floattisf.c: Likewise.
2621 * soft-fp/floattitf.c: Likewise.
2622 * soft-fp/floatundidf.c: Likewise.
2623 * soft-fp/floatundisf.c: Likewise.
2624 * soft-fp/floatunditf.c: Likewise.
2625 * soft-fp/floatunsidf.c: Likewise.
2626 * soft-fp/floatunsisf.c: Likewise.
2627 * soft-fp/floatunsitf.c: Likewise.
2628 * soft-fp/floatuntidf.c: Likewise.
2629 * soft-fp/floatuntisf.c: Likewise.
2630 * soft-fp/floatuntitf.c: Likewise.
2631 * soft-fp/gedf2.c: Likewise.
2632 * soft-fp/gesf2.c: Likewise.
2633 * soft-fp/getf2.c: Likewise.
2634 * soft-fp/ledf2.c: Likewise.
2635 * soft-fp/lesf2.c: Likewise.
2636 * soft-fp/letf2.c: Likewise.
2637 * soft-fp/muldf3.c: Likewise.
2638 * soft-fp/mulsf3.c: Likewise.
2639 * soft-fp/multf3.c: Likewise.
2640 * soft-fp/negdf2.c: Likewise.
2641 * soft-fp/negsf2.c: Likewise.
2642 * soft-fp/negtf2.c: Likewise.
2643 * soft-fp/op-1.h: Likewise.
2644 * soft-fp/op-2.h: Likewise.
2645 * soft-fp/op-4.h: Likewise.
2646 * soft-fp/op-8.h: Likewise.
2647 * soft-fp/op-common.h: Likewise.
2648 * soft-fp/quad.h: Likewise.
2649 * soft-fp/single.h: Likewise.
2650 * soft-fp/soft-fp.h: Likewise.
2651 * soft-fp/subdf3.c: Likewise.
2652 * soft-fp/subsf3.c: Likewise.
2653 * soft-fp/subtf3.c: Likewise.
2654 * soft-fp/truncdfsf2.c: Likewise.
2655 * soft-fp/trunctfdf2.c: Likewise.
2656 * soft-fp/trunctfsf2.c: Likewise.
2657 * soft-fp/trunctfxf2.c: Likewise.
2658 * soft-fp/unorddf2.c: Likewise.
2659 * soft-fp/unordsf2.c: Likewise.
2660 * soft-fp/unordtf2.c: Likewise.
2662 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
2665 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2667 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2669 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2670 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2671 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2673 (internal_mcount): Likewise.
2674 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2675 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2677 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2679 * configure.ac (libgcc_cv_solaris_crts): New test.
2680 * configure: Regenerate.
2681 * config.in: Regenerate.
2682 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2683 * config/gmon-sol2.c: Rename to ...
2684 * config/sol2/gmon.c: ... this.
2685 Include auto-target.h.
2686 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2687 * config/t-sol2: Rename to ...
2688 * config/sol2/t-sol2: ... this.
2689 (gmon.o): Reflect renaming.
2690 (crtp.o, crtpg.o): New rules.
2691 * config.host (*-*-solaris2*): Reflect renaming.
2692 Use system CRTs if present.
2693 Remove default CRT case.
2695 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
2697 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2698 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2700 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2701 (__sync_val_compare_and_swap_##WIDTH): Likewise.
2702 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2703 (__sync_lock_test_and_set_##WIDTH): Likewise.
2704 (__sync_lock_release_##WIDTH): Likewise.
2705 (__sync_fetch_and_##OP##_4): Change result to match type of
2707 (__sync_##OP##_and_fetch_4): Likewise.
2708 (__sync_val_compare_and_swap_4): Likewise.
2709 (__sync_bool_compare_and_swap_4): likewise.
2710 (__sync_lock_test_and_set_4): Likewise.
2711 (__sync_lock_release_4): Likewise.
2712 (FETCH_AND_OP_2): Add long long variants.
2713 (OP_AND_FETCH_2): Likewise.
2714 (COMPARE_AND_SWAP_2 ): Likewise.
2715 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2716 (SYNC_LOCK_RELEASE_2): Likewise.
2717 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2719 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
2721 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2722 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2723 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2724 (get_available_features): Habdle new features.
2726 2015-09-21 James Bowman <james.bowman@ftdichip.com>
2728 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2729 memory layout. Deal correctly with BSS region larger than 32K.
2730 Handle a watchdog reset like a power-on reset. Clean up unused
2733 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
2734 David Edelsohn <dje.gcc@gmail.com>
2736 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2737 * config/rs6000/crtdbase.S: New file.
2738 * config/rs6000/t-aix-cxa: Build crtdbase.o.
2740 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
2742 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2743 Add support for call0 ABI.
2745 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
2747 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2749 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2751 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2752 (__GTHREAD_HAS_COND): Likewise.
2753 (__gthread_t): Likewise.
2754 (__gthread_cond_t): Likewise.
2755 (__gthread_time_t): Likewise.
2756 (__GTHREAD_MUTEX_INIT): Likewise.
2757 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2758 (__GTHREAD_COND_INIT): Likewise.
2759 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2760 (__GTHREAD_TIME_INIT): Likewise.
2761 (__gthread_create): Likewise.
2762 (__gthread_join): Likewise.
2763 (__gthread_detach): Likewise.
2764 (__gthread_equal): Likewise.
2765 (__gthread_self): Likewise.
2766 (__gthread_yield): Likewise.
2767 (__gthread_cond_broadcast): Likewise.
2768 (__gthread_cond_signal): Likewise.
2769 (__gthread_cond_wait): Likewise.
2770 (__gthread_cond_timedwait): Likewise.
2771 (__gthread_cond_wait_recursive): Likewise.
2772 (__gthread_cond_destroy): Likewise.
2773 (rtems_gxx_once): Delete.
2774 (rtems_gxx_key_create): Likewise.
2775 (rtems_gxx_key_delete): Likewise.
2776 (rtems_gxx_getspecific): Likewise.
2777 (rtems_gxx_setspecific): Likewise.
2778 (rtems_gxx_mutex_init): Likewise.
2779 (rtems_gxx_mutex_destroy): Likewise.
2780 (rtems_gxx_mutex_lock): Likewise.
2781 (rtems_gxx_mutex_trylock): Likewise.
2782 (rtems_gxx_mutex_unlock): Likewise.
2783 (rtems_gxx_recursive_mutex_init): Likewise.
2784 (rtems_gxx_recursive_mutex_lock): Likewise.
2785 (rtems_gxx_recursive_mutex_trylock): Likewise.
2786 (rtems_gxx_recursive_mutex_unlock): Likewise.
2787 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2788 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2789 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2790 (__gthread_once): Likewise.
2791 (__gthread_key_create): Likewise.
2792 (__gthread_key_delete): Likewise.
2793 (__gthread_getspecific): Likewise.
2794 (__gthread_setspecific): Likewise.
2795 (__gthread_key_t): Use <pthread.h> type.
2796 (__gthread_once_t): Likewise
2797 (__gthread_mutex_t): Use <sys/lock.h> type.
2798 (__gthread_recursive_mutex_t): Likewise
2799 (__gthread_mutex_lock): Use <sys/lock.h> function.
2800 (__gthread_mutex_trylock): Likewise.
2801 (__gthread_mutex_timedlock): Likewise.
2802 (__gthread_mutex_unlock): Likewise.
2803 (__gthread_mutex_destroy): Likewise.
2804 (__gthread_recursive_mutex_lock): Likewise.
2805 (__gthread_recursive_mutex_trylock): Likewise.
2806 (__gthread_recursive_mutex_timedlock): Likewise.
2807 (__gthread_recursive_mutex_unlock): Likewise.
2808 (__gthread_recursive_mutex_destroy): Likewise.
2810 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2812 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2813 context->sp instead of context->cfa.
2815 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2817 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2818 with unwind-dw2-fde-dip.
2820 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2822 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2823 CALL12 followed by series of ENTRY to spill windowed registers.
2824 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2825 instead of making linux spill syscall.
2827 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
2829 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2830 (get_intel_cpu): Likewise.
2832 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
2834 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2835 (get_intel_cpu): Add Knights Landing support.
2837 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
2840 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2841 (get_available_features): Handle FEATURE_PCLMUL.
2843 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
2845 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2848 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
2851 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2852 (get_available_features): Handle FEATURE_AES.
2854 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
2856 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2857 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2859 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
2861 * offloadstuff.c: Constify host data.
2863 2015-07-17 Jan Beulich <jbeulich@suse.com>
2865 * config/t-softfp: Split up "else ifneq".
2867 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
2868 Cesar Philippidis <cesar@codesourcery.com>
2869 Chung-Lin Tang <cltang@codesourcery.com>
2871 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2872 for __nios2_arch__ level.
2874 2015-07-13 John Marino <gnugcc@marino.st>
2876 * config/i386/t-dragonfly: New.
2878 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
2880 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2881 better match light-weight syscall argument order.
2882 (__kernel_cmpxchg2): Likewise.
2885 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
2887 * config.host: Support i[34567]86-*-elfiamcu target.
2888 * config/t-softfp-sfdftf: New file.
2889 * config/i386/32/t-iamcu: Likewise.
2890 * configure: Regenerated.
2892 2015-06-23 James Lemke <jwlemke@codesourcery.com>
2895 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2897 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
2899 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2901 2015-05-27 John Marino <gnugcc@marino.st>
2903 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2905 * config/i386/freebsd-unwind.h: New.
2907 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
2909 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2910 i386/t-crtfm to tmake_file.
2911 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2912 (set_fast_math): Use set_fast_math_sse for SSE targets.
2913 * config/i386/t-crtfm: Remove.
2915 2015-05-21 Alan Modra <amodra@gmail.com>
2918 * config/rs6000/morestack.S: Remove ".abiversion 1".
2920 2015-05-20 Alan Modra <amodra@gmail.com>
2922 * config/rs6000/morestack.S: New.
2923 * config/rs6000/t-stack-rs6000: New.
2924 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2926 * generic-morestack.c: Don't build for powerpc 32-bit.
2928 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
2930 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2931 Remove useless endif/ifneq ($(enable_shared),yes) pair.
2933 2015-05-16 James Bowman <james.bowman@ftdichip.com>
2935 * config.host: FT32 target added.
2936 * config/ft32/*: New files for FT32 target.
2938 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
2940 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2942 * config/arm/ieee754-df.S: Add CFI directives.
2943 * config/arm/ieee754-sf.S: Add CFI directives.
2945 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
2947 * configure.ac: Include config/sjlj.m4.
2948 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2949 * config.in: Regenerate.
2950 * configure: Likewise.
2951 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2953 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
2955 * libgcov-util.c: Add space between string literal and macro name.
2957 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
2958 Chris Jones <chrisj@nvidia.com>
2959 Joshua Conner <jconner@nvidia.com>
2961 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
2962 (arm*-*-uclinux*): Likewise.
2963 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
2964 * config/arm/crtfastmath.c: New file.
2966 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
2968 * Makefile.in (real_host_noncanonical): New variable.
2969 (libsubdir): Use it.
2970 * configure.ac (real_host_noncanonical): Compute. Remove special
2971 case for intelmicemul.
2972 * configure: Regenerate.
2974 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
2976 * config/frv/elf-lib.h: New file.
2977 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
2978 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
2981 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
2983 * config/frv/frvbengin.c: Do not include defaults.h
2984 * config/frv/frvend.c: Ditto.
2986 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
2988 * config.host: Add h8300-*-linux
2989 * config/h8300/t-linux: New file.
2990 * config/h8300/lib1funs.s: Change symbol prefix.
2991 * config/h8300/sfp-machine.h: 64bit double support.
2993 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
2994 Szabolcs Nagy <szabolcs.nagy@arm.com>
2996 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
2997 Linux if target provides dl_iterate_phdr.
2999 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3002 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3003 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3004 (__cpu_indicator_init@GCC_4.8.0): New.
3005 (__cpu_model@GCC_4.8.0): Likewise.
3006 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3009 2015-04-16 Nick Clifton <nickc@redhat.com>
3011 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3012 and __modhi3 functions.
3013 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3014 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3016 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3018 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3019 do-while loop as macro body to avoid warnings.
3021 2015-04-10 Jakub Jelinek <jakub@redhat.com>
3022 Iain Sandoe <iain@codesourcery.com>
3025 * configure: Regenerate.
3027 2015-04-07 Jakub Jelinek <jakub@redhat.com>
3028 Iain Sandoe <iain@codesourcery.com>
3031 * configure: Regenerate.
3033 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3035 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3037 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
3039 Implement call0 ABI for xtensa
3040 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3041 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3042 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3043 use ret in call0 ABI.
3044 * config/xtensa/t-windowed: New file.
3045 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3046 * libgcc/configure: Regenerated.
3047 * libgcc/configure.ac: Check if xtensa target is configured for
3048 windowed ABI and thus needs to use custom unwind code.
3050 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
3053 * gthr-single.h: Use __unused__ attribute instead of unused.
3054 * config/gthr-vxworks.h: Likewise.
3055 * config/i386/gthr-win32.h: Likewise.
3057 2015-02-27 Kai Tietz <ktietz@redhat.com>
3060 * config.in: Regenerated.
3061 * configure: Likewise.
3062 * configure.ac (AC_HEADER_STDC): Added explicit.
3063 (AC_CHECK_HEADERS): Check for default headers plus
3065 * libgcov-util.c (gcov_read_profile_dir): Disable use
3066 of ftw-function, if header is not found.
3067 (ftw_read_file): Likewise.
3069 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3072 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3075 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3077 * config/arm/bpabi.S (test_div_by_zero): Make label names
3078 consistent between thumb2 and arm mode cases. Separate the
3079 signed comparison on the high word of the numerator from the
3080 unsigned comparison on the low word.
3081 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3084 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3086 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3088 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3090 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3092 PR gcov-profile/61889
3093 * libgcov-driver-system.c: undefine clashing macro for mkdir.
3095 2015-02-02 Nick Clifton <nickc@redhat.com>
3097 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3098 rounding up the fraction.
3100 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
3102 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3103 oldval and newval to const void *. Fix typo.
3104 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3105 (FETCH_AND_OP_WORD): Likewise.
3106 (OP_AND_FETCH_WORD): Likewise.
3107 (COMPARE_AND_SWAP_2): Likewise.
3108 (__sync_val_compare_and_swap_4): Likewise.
3109 (__sync_lock_test_and_set_4): Likewise.
3110 (SYNC_LOCK_RELEASE_2): Likewise.
3111 Remove support for long long atomic operations.
3113 2015-01-27 Caroline Tice <cmtice@google.com>
3115 Committing VTV Cywin/Ming patch for Patrick Wollgast
3116 * Makefile.in: Move rules to build vtv_*.o out of the check
3117 for CUSTOM_CRTSTUFF.
3118 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3119 i[34567]86-*-mingw*)
3120 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3121 enable_vtable_verify.
3123 2015-01-27 Nick Clifton <nickc@redhat.com>
3125 * config/rl78/cmpsi2.S: Use function start and end macros.
3126 (__gcc_bcmp): New function.
3127 * config/rl78/lshrsi3.S: Use function start and end macros.
3128 * config/rl78/mulsi3.S: Add support for G10.
3129 (__mulqi3): New function for G10.
3130 * config/rl78/signbit.S: Use function start and end macros.
3131 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3133 (LIB2FUNCS_EXCLUDE): Define.
3134 (LIB2FUNCS_ST): Define.
3135 * config/rl78/trampoline.S: Use function start and end macros.
3136 * config/rl78/vregs.h (START_FUNC): New macro.
3137 (START_ANOTHER_FUNC): New macro.
3138 (END_FUNC): New macro.
3139 (END_ANOTHER_FUNC): New macro.
3140 * config/rl78/bit-count.S: New file. Contains assembler
3141 implementations of the bit counting functions: ___clzhi2,
3142 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3143 __paritysi2, __popcounthi2 and __popcountsi2.
3144 * config/rl78/fpbit-sf.S: New file. Contains assembler
3145 implementationas of the math functions: __negsf2, __cmpsf2,
3146 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3147 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3148 * config/rl78/fpmath-sf.S: New file. Contains assembler
3149 implementations of the math functions: __subsf3, __addsf3,
3150 __mulsf3 and __divsf3
3152 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3154 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3155 Add i386/elf-lib.h to tm_file.
3156 * config/i386/elf-lib.h: Fix comment.
3157 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3158 && __sun__ && __svr4__]: Remove workaround.
3160 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3162 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3164 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3166 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3168 * config/i386/cpuinfo.c (processor_subtypes): Add
3169 INTEL_COREI7_BROADWELL.
3170 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3173 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
3175 * config/i386/elf-lib.h: New file.
3176 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3177 Wrap definition in #ifdef __i386__.
3178 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3179 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3180 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3181 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3184 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3186 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3187 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3189 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3191 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3192 Update rt_sigframe format and address for current Nios II
3195 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3197 * config.host (arm*-*-freebsd*): Add new configuration for
3199 * config/arm/freebsd-atomic.c: New file.
3200 * config/arm/t-freebsd: Likewise.
3201 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3202 'PC-relative indirect' OS's.
3204 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3206 * config.host: Add Visium support.
3207 * config/visium: New directory.
3209 2015-01-05 Jakub Jelinek <jakub@redhat.com>
3211 Update copyright years.
3213 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3215 * config.host: Support mipsisa32r6 and mipsisa64r6.
3216 * config/mips/mips16.S: Do not build for R6.
3218 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3220 * config/sh/crt.h: New.
3221 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3223 * config/sh/crt1.S: Likewise.
3225 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
3228 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3229 func_ptr *dtor_list temporary variable to avoid "array subscript
3230 is above array bounds" warnings.
3232 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
3234 * Makefile.in (with_aix_soname): Define.
3235 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3236 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3237 * configure: Recreate.
3239 2014-12-05 Olivier Hainque <hainque@adacore.com>
3241 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3242 now provided by defaults.h.
3244 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3247 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3248 whether it's defined.
3250 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3252 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3253 * config/i386/cpuinfo.c (get_available_features): Detect it.
3255 2014-11-27 Tony Wang <tony.wang@arm.com>
3257 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3258 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3259 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3261 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3263 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3265 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
3267 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3270 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3271 John David Anglin <danglin@gcc.gnu.org>
3273 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3274 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3275 (OP_AND_FETCH_2): Likewise.
3276 (COMPARE_AND_SWAP_2): Likewise.
3277 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3278 (SYNC_LOCK_RELEASE_2): Likewise.
3279 (SUBWORD_SYNC_OP): Remove.
3280 (SUBWORD_VAL_CAS): Likewise.
3281 (SUBWORD_BOOL_CAS): Likewise.
3282 (FETCH_AND_OP_WORD): Update.
3283 Consistently use signed types.
3285 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3286 Thomas Schwinge <thomas@codesourcery.com>
3287 Ilya Verbin <ilya.verbin@intel.com>
3288 Andrey Turetskiy <andrey.turetskiy@intel.com>
3290 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3291 (crtoffloadend$(objext)): Likewise.
3292 * configure: Regenerate.
3293 * configure.ac (accel_dir_suffix): Compute new variable.
3294 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3295 if enable_offload_targets is not empty.
3296 * offloadstuff.c: New file.
3298 2014-11-13 Nick Clifton <nickc@redhat.com>
3300 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3301 Use START_FUNC and END_FUNC macros to enable linker garbage
3303 * config/rl78/divmodqi.S: Likewise.
3304 * config/rl78/divmodsi.S: Likewise.
3305 * config/rl78/mulsi3.S: Likewise.
3306 * config/rl78/lib2div.c: Remove G10 functions.
3307 * config/rl78/lib2muls.c: Likewise.
3308 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3309 * config/rl78/vregs.h (START_FUNC): New macro.
3310 (END_FUNC): New macro.
3312 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3314 * config/mips/mips16.S: Set .module when supported. Update O32
3315 FP64 calling convention and use for FPXX when possible. Add FPXX
3316 calling convention fallback case.
3318 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3320 * config.host: Handle nvptx-*-*.
3321 * shared-object.mk (as-flags-$o): Define.
3322 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3323 -xassembler-with-cpp.
3324 * static-object.mk: Identical changes.
3325 * config/nvptx/t-nvptx: New file.
3326 * config/nvptx/crt0.s: New file.
3327 * config/nvptx/free.asm: New file.
3328 * config/nvptx/malloc.asm: New file.
3329 * config/nvptx/realloc.c: New file.
3331 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3333 * Makefile.in (libgcc.map.in): New target.
3334 (libgcc.map): Use libgcc.map.in.
3335 * config/t-softfp (softfp_compat): New variable to be set by
3337 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3339 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3341 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3342 that use compat symbols and disable all code unless [SHARED].
3343 * config/t-softfp-compat: New file.
3344 * find-symver.awk: New file.
3345 * configure.ac (--with-glibc-version): New configure option.
3346 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3347 * configure: Regenerate.
3348 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3349 soft-float and e500.
3351 2014-10-29 Joseph Myers <joseph@codesourcery.com>
3353 * config/t-hardfp (hardfp_exclusions): Document new variable for
3355 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3356 * config/t-softfp (softfp_extras): Document new variable for user
3358 (softfp_func_list): Add functions from $(softfp_extras).
3359 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3360 * config.host (powerpc*-*-linux*): For e500v1, use
3361 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3362 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3363 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3365 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
3367 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3368 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3369 memory read accesses are ok.
3371 2014-10-25 Joseph Myers <joseph@codesourcery.com>
3373 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3374 * configure: Regenerate.
3375 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3376 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3377 of soft-fp for 32-bit classic hard float. Do not use
3378 t-softfp-excl for soft float.
3380 2014-10-22 Joseph Myers <joseph@codesourcery.com>
3382 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3384 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3387 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
3389 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3390 introduced with 2014-10-21 trunk r216525.
3392 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
3393 Vidya Praveen <vidya.praveen@atmel.com>
3394 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3395 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3396 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
3398 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3401 Updated library functions for AVRTINY arch.
3402 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3403 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3404 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3405 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3407 (__mulsi3_helper): Update stack, preserve callee saved regs and
3408 argument from stack. Restore callee save registers.
3409 (__mulpsi3): Likewise.
3410 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3411 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
3412 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
3414 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3415 (__do_copy_data): Added new definition for AVRTINY.
3416 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3417 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3418 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3419 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3420 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3422 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
3425 Fix broken long multiplication on tiny arch.
3427 2014-10-09 Joseph Myers <joseph@codesourcery.com>
3429 * soft-fp/double.h: Update from glibc.
3430 * soft-fp/eqdf2.c: Likewise.
3431 * soft-fp/eqsf2.c: Likewise.
3432 * soft-fp/eqtf2.c: Likewise.
3433 * soft-fp/extenddftf2.c: Likewise.
3434 * soft-fp/extended.h: Likewise.
3435 * soft-fp/extendsfdf2.c: Likewise.
3436 * soft-fp/extendsftf2.c: Likewise.
3437 * soft-fp/extendxftf2.c: Likewise.
3438 * soft-fp/gedf2.c: Likewise.
3439 * soft-fp/gesf2.c: Likewise.
3440 * soft-fp/getf2.c: Likewise.
3441 * soft-fp/ledf2.c: Likewise.
3442 * soft-fp/lesf2.c: Likewise.
3443 * soft-fp/letf2.c: Likewise.
3444 * soft-fp/op-1.h: Likewise.
3445 * soft-fp/op-2.h: Likewise.
3446 * soft-fp/op-4.h: Likewise.
3447 * soft-fp/op-8.h: Likewise.
3448 * soft-fp/op-common.h: Likewise.
3449 * soft-fp/quad.h: Likewise.
3450 * soft-fp/single.h: Likewise.
3451 * soft-fp/soft-fp.h: Likewise.
3452 * soft-fp/unorddf2.c: Likewise.
3453 * soft-fp/unordsf2.c: Likewise.
3454 * soft-fp/unordtf2.c: Likewise.
3455 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3456 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3457 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3458 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3459 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3460 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3461 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3462 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3463 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3464 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3466 2014-10-08 Rong Xu <xur@google.com>
3468 * libgcov-util.c (read_gcda_file): Fix format.
3469 (find_match_gcov_info): Ditto.
3470 (calculate_2_entries): New.
3471 (compute_one_gcov): Ditto.
3472 (gcov_info_count_all_cold): Ditto.
3473 (gcov_info_count_all_zero): Ditto.
3474 (extract_file_basename): Ditto.
3475 (get_file_basename): Ditto.
3477 (matched_gcov_info): Ditto.
3478 (calculate_overlap): Ditto.
3479 (gcov_profile_overlap): Ditto.
3480 * libgcov-driver.c (compute_summary): Make
3481 it avavilable for external calls.
3483 2014-10-06 Rong Xu <xur@google.com>
3485 * Makefile.in: Ditto.
3486 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3487 (gcov_sort_icall_topn_counter): Ditto.
3488 (gcov_sort_topn_counter_arrays): Ditto.
3489 (dump_one_gcov): Sort indirect_call topn counters.
3490 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3492 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3494 (__gcov_indirect_call_topn_profiler): New profiler function.
3495 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3496 * libgcov.h: New decls.
3498 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3500 * config.host: Remove support for score-*.
3502 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3504 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3505 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3506 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3507 __LIBGCC_XF_MANT_DIG__.
3508 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3509 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3510 __LIBGCC_TF_MANT_DIG__.
3511 * libgcc2.c (NOTRUNC): Define in terms of
3512 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3513 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3515 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3518 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3521 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
3523 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3524 override USE_PT_GNU_EH_FRAME.
3525 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3526 check USE_EH_FRAME_REGISTRY_ALWAYS against
3527 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3528 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3529 variable for substituted force_explicit_eh_registry.
3530 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3531 * configure.ac (explicit-exception-frame-registration):
3533 * configure: Regenerate.
3535 2014-09-19 Olivier Hainque <hainque@adacore.com>
3537 * config.host (powerpc-wrs-vxworksmils): New configuration,
3540 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3542 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3544 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3546 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3547 bits not set bits as indicating trapping exceptions.
3549 2014-09-17 Nathan sidwell <nathan@acm.org>
3551 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3552 (LIBGCOV_DRIVER): ... here.
3553 * libgcov-driver.c (gcov_master): New.
3554 (gcov_exit): Remove from master chain.
3555 (__gcov_init): Add to master chain if version compatible. Don't
3557 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3558 (gcov_reset_int): Clear master chain, if compatible.
3559 (gcov_dump_int): New internal interface. Dump master chain, if
3561 (gcov_dump): Alias for gcov_dump_int.
3562 * libgcov.h (struct gcov_root): Add next and prev fields.
3563 (struct gcov_master): New struct.
3564 (__gcov_master): New.
3565 (gcov_dump_int): Declare.
3567 2014-09-17 Olivier Hainque <hainque@adacore.com>
3569 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3570 and crtbegin.o + crtend.o to extra_parts.
3572 2014-09-12 Joseph Myers <joseph@codesourcery.com>
3574 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3575 __LIBGCC_HAS_SF_MODE__.
3576 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3577 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3578 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3579 * config/libbid/bid_gcc_intrinsics.h
3580 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3581 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3582 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3583 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3584 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3585 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3587 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
3590 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3591 and R24 as needed. Make work for all devices and .text locations.
3592 (__do_global_ctors, __do_global_dtors): Use word addresses.
3593 (__tablejump__, __tablejump_elpm__): Remove functions.
3594 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3596 (XICALL, XIJMP): New macros.
3598 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3599 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3601 * config.host (aarch64*): Include crtfastmath.o and
3603 * config/aarch64/crtfastmath.c: New file.
3605 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3607 * config.host: Remove picochip support.
3608 * config/picochip/adddi3.S: Remove.
3609 * config/picochip/ashlsi3.S: Remove.
3610 * config/picochip/ashlsi3.c: Remove.
3611 * config/picochip/ashrsi3.S: Remove.
3612 * config/picochip/ashrsi3.c: Remove.
3613 * config/picochip/clzsi2.S: Remove.
3614 * config/picochip/cmpsi2.S: Remove.
3615 * config/picochip/divmod15.S: Remove.
3616 * config/picochip/divmodhi4.S: Remove.
3617 * config/picochip/divmodsi4.S: Remove.
3618 * config/picochip/lib1funcs.S: Remove.
3619 * config/picochip/longjmp.S: Remove.
3620 * config/picochip/lshrsi3.S: Remove.
3621 * config/picochip/lshrsi3.c: Remove.
3622 * config/picochip/parityhi2.S: Remove.
3623 * config/picochip/popcounthi2.S: Remove.
3624 * config/picochip/setjmp.S: Remove.
3625 * config/picochip/subdi3.S: Remove.
3626 * config/picochip/t-picochip: Remove.
3627 * config/picochip/ucmpsi2.S: Remove.
3628 * config/picochip/udivmodhi4.S: Remove.
3629 * config/picochip/udivmodsi4.S: Remove.
3631 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3633 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3634 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3635 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3636 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3637 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3638 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3639 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3640 defined and LIBGCC2_HAS_DF_MODE is defined.
3641 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3642 defined and LIBGCC2_HAS_XF_MODE is defined.
3643 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3644 defined and LIBGCC2_HAS_TF_MODE is defined.
3646 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3648 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3649 and ROUND_TOWARDS_ZERO conditionals.
3651 2014-09-07 Nathan sidwell <nathan@acm.org>
3653 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3654 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3656 2014-09-05 Joseph Myers <joseph@codesourcery.com>
3658 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3659 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3660 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3661 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3662 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3663 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3664 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3665 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3666 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3667 (DWARF_FRAME_REGISTERS): Change all uses to
3668 __LIBGCC_DWARF_FRAME_REGISTERS__.
3669 (EH_RETURN_STACKADJ_RTX): Change all uses to
3670 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3671 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3672 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3673 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3674 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3675 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3676 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3677 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3678 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3679 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3680 __LIBGCC_STACK_POINTER_REGNUM__.
3681 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3682 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3683 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3684 to __LIBGCC_STACK_POINTER_REGNUM__.
3685 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3686 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3687 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3688 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3689 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3690 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3691 (STACK_POINTER_REGNUM): Change all uses to
3692 __LIBGCC_STACK_POINTER_REGNUM__.
3693 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3694 use to __LIBGCC_STACK_POINTER_REGNUM__.
3695 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3696 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3697 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3698 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3699 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3700 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3701 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3702 to __LIBGCC_STACK_POINTER_REGNUM__.
3703 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3704 Remove conditional definition.
3705 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3706 __LIBGCC_TEXT_SECTION_ASM_OP__.
3707 (EH_FRAME_SECTION_NAME): Change all uses to
3708 __LIBGCC_EH_FRAME_SECTION_NAME__.
3709 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3710 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3711 (CTORS_SECTION_ASM_OP): Change all uses to
3712 __LIBGCC_CTORS_SECTION_ASM_OP__.
3713 (DTORS_SECTION_ASM_OP): Change all uses to
3714 __LIBGCC_DTORS_SECTION_ASM_OP__.
3715 (JCR_SECTION_NAME): Change all uses to
3716 __LIBGCC_JCR_SECTION_NAME__.
3717 (INIT_SECTION_ASM_OP): Change all uses to
3718 __LIBGCC_INIT_SECTION_ASM_OP__.
3719 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3720 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3721 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3722 __LIBGCC_STACK_GROWS_DOWNWARD__.
3723 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3724 __LIBGCC_INIT_SECTION_ASM_OP__.
3725 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3726 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3727 (EH_FRAME_SECTION_NAME): Change all uses to
3728 __LIBGCC_EH_FRAME_SECTION_NAME__.
3729 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3730 definitions. Change all uses to
3731 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3732 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3733 __LIBGCC_STACK_GROWS_DOWNWARD__.
3734 (DWARF_FRAME_REGISTERS): Change all uses to
3735 __LIBGCC_DWARF_FRAME_REGISTERS__.
3736 (EH_RETURN_STACKADJ_RTX): Change all uses to
3737 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3738 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3739 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3740 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3741 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3742 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3744 2014-09-02 Nathan sidwell <nathan@acm.org>
3746 * libgcov-interface.c (STRONG_ALIAS): New.
3747 (__gcov_flush): Call __gcov_reset_int.
3748 (__gcov_reset): Strong alias for ...
3749 (__gcov_reset_ing): ... this renamed hidden version.
3750 * libgcov.h (__gcov_reset_int): New declaration.
3752 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
3754 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3756 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3757 (__dso_handle): Define on Cygwin.
3758 * config/i386/t-cygming (crtbeginS.o): New rule.
3759 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3761 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3764 2014-08-13 Steve Ellcey <sellcey@mips.com>
3766 * crtstuff.c: Undef caddr_t.
3768 2014-08-12 Steve Ellcey <sellcey@mips.com>
3770 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
3772 2014-08-07 Nathan Sidwell <nathan@acm.org>
3774 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3775 (LIBGCOV_DRIVER): ... to here.
3776 * libgcov.h (gcov_do_dump): New #define.
3777 (struct gcov_root): New.
3778 (__gcov_root): New declaration.
3779 (__gcov_dump_one): Declare.
3780 * libgcov-driver.c (gcov_list, gcov_dump_complete,
3781 run_accounted): Delete.
3782 (gcov_compute_histogram): Add LIST argument, adjust.
3783 (compute_summary): Adjust gcov_compute_histogram call.
3784 (gcov_do_dump): Not hidden, static in libgcov.
3785 (gcov_clear): Move to interface.c.
3786 (__gcov_dump_one): New, broken out of ...
3787 (gcov_exit): ... here. Make static.
3789 (__gcov_init): Adjust.
3790 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3792 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3793 (gcov_clear): Moved from driver.c. Add LIST argument.
3794 (__gcov_reset): Adjust for changed interfaces.
3795 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3797 2014-08-04 Rohit <rohitarulraj@freescale.com>
3800 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
3801 based on change in SPE high register numbers and 3 HTM registers.
3803 2014-08-01 Nathan Sidwell <nathan@acm.org>
3805 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3806 LIBGCOV_INTERFACE): Reformat.
3807 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3809 * libgcov-interface.c: Reformat some comments.
3810 (__gcov_flush_mx): Add declaration. Tidy up definition.
3812 2014-07-31 Alan Modra <amodra@gmail.com>
3813 Peter Bergner <bergner@vnet.ibm.com>
3815 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3816 (pack_ldouble): New function.
3817 (__gcc_qadd): Use it.
3818 (__gcc_qmul): Likewise.
3819 (__gcc_qdiv): Likewise.
3820 (__gcc_qneg): Likewise.
3821 (__gcc_stoq): Likewise.
3822 (__gcc_dtoq): Likewise.
3824 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
3826 * config/s390/tpf-unwind.h: Include <stdbool.h>.
3827 (__tpf_eh_return): Add original return address as second parameter.
3828 Handle cases where unwinder routines were called directly, instead
3829 of from within the C++ library.
3831 2014-07-29 Nathan Sidwell <nathan@acm.org>
3833 * libgcov.h: Move renaming of entry points to lib gcov specific
3835 (gcov_do_dump): New rename.
3836 (gcov_rewrite): Remove inline, make HIDDEN.
3837 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3838 (gcov_exit_compute_summary): Rename to ...
3839 (compute_summary): ... here. Add LIST argument.
3840 (gcov_exit_merge_gcda): Rename to ...
3841 (merge_one_data): ... here.
3842 (gcov_exit_write_gcda): Rename to ...
3843 (write_one_data): ... here.
3844 (gcov_exit_merge_summary): Rename to ...
3845 (merge_summary): Add RUN_COUNTED argument.
3846 (gcov_exit_dump_gcov): Rename to ...
3847 (dump_one_gcov): Add RUN_COUNTED argument.
3848 (gcov_do_dump): New function, broken out of ...
3849 (gcov_exit): ... here. Call it.
3851 2014-07-27 Anthony Green <green@moxielogic.com>
3853 * config.host: Add moxiebox configuration suppport.
3855 2014-07-27 Nathan Sidwell <nathan@acm.org>
3857 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3858 (struct gcov_filename): ... here. Include buffer and max length
3860 (gcov_max_filename): Remove.
3861 (gi_filename): Remove.
3862 (gcov_exit_compute_summary): Compute max filename here.
3863 (gcov_exit_merge_gcda): Add filename parm, adjust.
3864 (gcov_exit_merge_summary): Likewise.
3865 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3866 (gcov_exit): Likewise.
3867 (__gcov_init): Don't calculate max length here.
3868 * libgcov_util.c (max_filename_len): Remove.
3869 (read_gcda_file): Don't calculate max length here.
3870 (gcov_read_profile_dir): Don't propagate here.
3871 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3872 struct gcov_filename changes.
3873 (gcov_exit_open_gcda_file): Likewise.
3875 2014-07-25 Nathan Sidwell <nathan@acm.org>
3877 * libgcov-driver.c (set_gcov_dump_complete,
3878 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3879 functions polluting user's namespace.
3880 (gcov_exit): Set variable directly.
3881 (gcov_clear): Reset variable directly.
3882 * libgcov-interface.c (get_gcov_dymp_complete,
3883 reset_gov_dump_complete): Remove declarations.
3884 (__gcov_reset, __gcov_dump): Don't call them.
3886 2014-07-24 DJ Delorie <dj@redhat.com>
3888 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
3889 (__gcc_deregister_frame): Move logic to detect deregister function
3891 (__gcc_register_frame): here, so it's consistent with the register
3894 2014-07-23 Nathan Sidwell <nathan@acm.org>
3896 * libgcov-driver.c (set_gcov_list): Remove.
3897 (gcov_list): Make non-static in GCOV_TOOL.
3898 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3900 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
3902 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3903 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3904 Don't use SYNC_LOCK_RELEASE for int type.
3906 2014-07-14 Richard Biener <rguenther@suse.de>
3908 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3910 2014-07-11 Rong Xu <xur@google.com>
3912 * libgcov-util.c (gcov_max_filename): Fix declartion.
3914 2014-07-10 Rong Xu <xur@google.com>
3916 Add gcov-tool: an offline gcda profile processing tool
3918 * libgcov-driver.c (gcov_max_filename): Make available
3920 * libgcov-merge.c (__gcov_merge_add): Replace
3921 gcov_read_counter() with a Macro.
3922 (__gcov_merge_ior): Ditto.
3923 (__gcov_merge_time_profile): Ditto.
3924 (__gcov_merge_single): Ditto.
3925 (__gcov_merge_delta): Ditto.
3926 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3927 in the utility functions.
3928 (set_fn_ctrs): Utility function for reading gcda files to in-memory
3929 gcov_list object link lists.
3930 (tag_function): Ditto.
3931 (tag_blocks): Ditto.
3934 (tag_counters): Ditto.
3935 (tag_summary): Ditto.
3936 (read_gcda_finalize): Ditto.
3937 (read_gcda_file): Ditto.
3938 (ftw_read_file): Ditto.
3939 (read_profile_dir_init): Ditto.
3940 (gcov_read_profile_dir): Ditto.
3941 (gcov_read_counter_mem): Ditto.
3942 (gcov_get_merge_weight): Ditto.
3943 (merge_wrapper): A wrapper function that calls merging handler.
3944 (gcov_merge): Merge two gcov_info objects with weights.
3945 (find_match_gcov_info): Find the matched gcov_info in the list.
3946 (gcov_profile_merge): Merge two gcov_info object lists.
3947 (__gcov_add_counter_op): Process edge profile counter values.
3948 (__gcov_ior_counter_op): Process IOR profile counter values.
3949 (__gcov_delta_counter_op): Process delta profile counter values.
3950 (__gcov_single_counter_op): Process single profile counter values.
3951 (fp_scale): Callback function for float-point scaling.
3952 (int_scale): Callback function for integer fraction scaling.
3953 (gcov_profile_scale): Scaling profile counters.
3954 (gcov_profile_normalize): Normalize profile counters.
3955 * libgcov.h: Add headers and functions for gcov-tool use.
3956 (gcov_get_counter): New.
3957 (gcov_get_counter_target): Ditto.
3958 (struct gcov_info): Make the functions field mutable in gcov-tool
3961 2014-06-23 Kai Tietz <ktietz@redhat.com>
3964 * unwind-seh.c (_Unwind_GetGR): Check for proper
3966 (_Unwind_SetGR): Likewise.
3968 2014-05-22 Nick Clifton <nickc@redhat.com>
3970 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3973 2014-05-22 Teresa Johnson <tejohnson@google.com>
3975 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
3978 2014-05-20 John Marino <gnugcc@marino.st>
3980 * config.host (*-*-dragonfly*): New target.
3981 * crtstuff.c: Make dl_iterate_support generic on *bsd.
3982 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
3983 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
3984 * config/i386/dragonfly-unwind.h: New.
3986 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3989 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
3990 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
3992 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
3994 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
3997 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
3999 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4001 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4004 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4007 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4009 Work around for current cygwin32 build problems.
4010 * config/i386/cygming-crtbegin.c (__register_frame_info,
4011 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4012 functions only for 64-bit systems.
4014 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4016 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4017 (sigill_caught, sigill_hdlr): Remove.
4019 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4021 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4023 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4024 Solaris 9 single-threaded support.
4025 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4026 Solaris 9 single-threaded support. Add call_user_handler code
4028 (sparc_is_sighandler): Likewise.
4030 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4032 * config.host: Append t-floattodi to tmake_file depending on
4035 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4037 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
4039 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
4042 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
4043 variable to avoid "array subscript is above array bounds" warnings.
4044 Use __builtin_expect when checking *jcr_list for NULL.
4046 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4049 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4050 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4051 vtv_*.o to extra_parts if enable_vtable_verify.
4053 2014-03-06 Nick Clifton <nickc@redhat.com>
4055 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4056 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4058 2014-02-28 Joey Ye <joey.ye@arm.com>
4061 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4062 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4065 2014-02-24 Walter Lee <walt@tilera.com>
4067 * config.host: Support "tilegx*" and "tilepro*" triplets.
4068 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4069 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4071 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4072 Chung-Lin Tang <cltang@codesourcery.com>
4074 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4075 * config/nios2/crti.S: Remove .file directive.
4076 * config/nios2/crtn.S: Likewise.
4078 2014-02-18 Kai Tietz <ktietz@redhat.com>
4079 Jonathan Schleifer <js@webkeks.org>
4082 * unwind-seh.c (_GCC_specific_handler): Pass proper
4083 value to unwind-handler.
4085 2014-02-12 Joseph Myers <joseph@codesourcery.com>
4087 * soft-fp/adddf3.c: Update from glibc.
4088 * soft-fp/addsf3.c: Likewise.
4089 * soft-fp/addtf3.c: Likewise.
4090 * soft-fp/divdf3.c: Likewise.
4091 * soft-fp/divsf3.c: Likewise.
4092 * soft-fp/divtf3.c: Likewise.
4093 * soft-fp/double.h: Likewise.
4094 * soft-fp/eqdf2.c: Likewise.
4095 * soft-fp/eqsf2.c: Likewise.
4096 * soft-fp/eqtf2.c: Likewise.
4097 * soft-fp/extenddftf2.c: Likewise.
4098 * soft-fp/extended.h: Likewise.
4099 * soft-fp/extendsfdf2.c: Likewise.
4100 * soft-fp/extendsftf2.c: Likewise.
4101 * soft-fp/extendxftf2.c: Likewise.
4102 * soft-fp/fixdfdi.c: Likewise.
4103 * soft-fp/fixdfsi.c: Likewise.
4104 * soft-fp/fixdfti.c: Likewise.
4105 * soft-fp/fixsfdi.c: Likewise.
4106 * soft-fp/fixsfsi.c: Likewise.
4107 * soft-fp/fixsfti.c: Likewise.
4108 * soft-fp/fixtfdi.c: Likewise.
4109 * soft-fp/fixtfsi.c: Likewise.
4110 * soft-fp/fixtfti.c: Likewise.
4111 * soft-fp/fixunsdfdi.c: Likewise.
4112 * soft-fp/fixunsdfsi.c: Likewise.
4113 * soft-fp/fixunsdfti.c: Likewise.
4114 * soft-fp/fixunssfdi.c: Likewise.
4115 * soft-fp/fixunssfsi.c: Likewise.
4116 * soft-fp/fixunssfti.c: Likewise.
4117 * soft-fp/fixunstfdi.c: Likewise.
4118 * soft-fp/fixunstfsi.c: Likewise.
4119 * soft-fp/fixunstfti.c: Likewise.
4120 * soft-fp/floatdidf.c: Likewise.
4121 * soft-fp/floatdisf.c: Likewise.
4122 * soft-fp/floatditf.c: Likewise.
4123 * soft-fp/floatsidf.c: Likewise.
4124 * soft-fp/floatsisf.c: Likewise.
4125 * soft-fp/floatsitf.c: Likewise.
4126 * soft-fp/floattidf.c: Likewise.
4127 * soft-fp/floattisf.c: Likewise.
4128 * soft-fp/floattitf.c: Likewise.
4129 * soft-fp/floatundidf.c: Likewise.
4130 * soft-fp/floatundisf.c: Likewise.
4131 * soft-fp/floatunditf.c: Likewise.
4132 * soft-fp/floatunsidf.c: Likewise.
4133 * soft-fp/floatunsisf.c: Likewise.
4134 * soft-fp/floatunsitf.c: Likewise.
4135 * soft-fp/floatuntidf.c: Likewise.
4136 * soft-fp/floatuntisf.c: Likewise.
4137 * soft-fp/floatuntitf.c: Likewise.
4138 * soft-fp/gedf2.c: Likewise.
4139 * soft-fp/gesf2.c: Likewise.
4140 * soft-fp/getf2.c: Likewise.
4141 * soft-fp/ledf2.c: Likewise.
4142 * soft-fp/lesf2.c: Likewise.
4143 * soft-fp/letf2.c: Likewise.
4144 * soft-fp/muldf3.c: Likewise.
4145 * soft-fp/mulsf3.c: Likewise.
4146 * soft-fp/multf3.c: Likewise.
4147 * soft-fp/negdf2.c: Likewise.
4148 * soft-fp/negsf2.c: Likewise.
4149 * soft-fp/negtf2.c: Likewise.
4150 * soft-fp/op-1.h: Likewise.
4151 * soft-fp/op-2.h: Likewise.
4152 * soft-fp/op-4.h: Likewise.
4153 * soft-fp/op-8.h: Likewise.
4154 * soft-fp/op-common.h: Likewise.
4155 * soft-fp/quad.h: Likewise.
4156 * soft-fp/single.h: Likewise.
4157 * soft-fp/soft-fp.h: Likewise.
4158 * soft-fp/subdf3.c: Likewise.
4159 * soft-fp/subsf3.c: Likewise.
4160 * soft-fp/subtf3.c: Likewise.
4161 * soft-fp/truncdfsf2.c: Likewise.
4162 * soft-fp/trunctfdf2.c: Likewise.
4163 * soft-fp/trunctfsf2.c: Likewise.
4164 * soft-fp/trunctfxf2.c: Likewise.
4165 * soft-fp/unorddf2.c: Likewise.
4166 * soft-fp/unordsf2.c: Likewise.
4167 * soft-fp/unordtf2.c: Likewise.
4168 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4170 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4172 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4174 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4176 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4178 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4180 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4182 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4184 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4186 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4188 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4190 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4192 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4194 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4196 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4198 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4201 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4203 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4204 cannot be represented.
4205 * config/s390/32/_fixsfdi.c: Likewise.
4206 * config/s390/32/_fixtfdi.c: Likewise.
4207 * config/s390/32/_fixunsdfdi.c: Likewise.
4208 * config/s390/32/_fixunssfdi.c: Likewise.
4209 * config/s390/32/_fixunstfdi.c: Likewise.
4211 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4213 * configure.ac (libgcc_cv_mips_hard_float): New.
4214 * configure: Regenerate.
4215 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4216 t-softfp-sfdf for hard-float targets.
4217 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4218 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4219 (softfp_truncations, softfp_exclude_libgcc2): New.
4220 * config/t-hardfp: New file.
4221 * config/t-hardfp-sfdf: Likewise.
4222 * config/hardfp.c: Likewise.
4224 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4226 * config.host: Include t-floattodi also for s390x.
4227 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4228 * config/s390/32/_fixsfdi.c: Likewise.
4229 * config/s390/32/_fixtfdi.c: Likewise.
4230 * config/s390/32/_fixunsdfdi.c: Likewise.
4231 * config/s390/32/_fixunssfdi.c: Likewise.
4232 * config/s390/32/_fixunstfdi.c: Likewise.
4234 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4237 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4238 (install-libgcc-unwind-map-forbuild): New target.
4239 (all): Depend on install-libgcc-unwind-map-forbuild.
4240 (install-libgcc-unwind-map): New target.
4241 (install): Depend on install-libgcc-unwind-map.
4243 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4245 * config/nios2/crti.S (_init): Initialize GOT pointer from
4246 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4248 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4250 * configure.ac: Check __mips64 when setting host_address.
4251 * configure: Regenerate.
4252 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4253 mips/t-mips64 and t-softfp.
4254 (mips*-*-linux*): Don't add mips/t-tpbit.
4255 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4256 (DPBIT, DPBIT_CFLAGS): Delete.
4257 * config/mips/sfp-machine.h: New file.
4258 * config/mips/t-mips64: Likewise.
4259 * config/mips/t-softfp-tf: Likewise.
4260 * config/mips/t-tpbit: Delete.
4262 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4264 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4267 2014-01-25 Walter Lee <walt@tilera.com>
4269 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4270 config.h or system.h.
4273 2014-01-25 Walter Lee <walt@tilera.com>
4275 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4276 (post_atomic_barrier): Ditto.
4277 (__fetch_and_do): New macro.
4278 (__atomic_fetch_and_do): Use __fetch_and_do.
4279 (__sync_fetch_and_do): New macro.
4280 (__sync_fetch_and_add_4): New function.
4281 (__sync_fetch_and_sub_4): New function.
4282 (__sync_fetch_and_or_4): New function.
4283 (__sync_fetch_and_and_4): New function.
4284 (__sync_fetch_and_xor_4): New function.
4285 (__sync_fetch_and_nand_4): New function.
4286 (__sync_fetch_and_add_8): New function.
4287 (__sync_fetch_and_sub_8): New function.
4288 (__sync_fetch_and_or_8): New function.
4289 (__sync_fetch_and_and_8): New function.
4290 (__sync_fetch_and_xor_8): New function.
4291 (__sync_fetch_and_nand_8): New function.
4292 (__do_and_fetch): New macro.
4293 (__atomic_do_and_fetch): Use __do_and_fetch.
4294 (__sync_do_and_fetch): New macro.
4295 (__sync_add_and_fetch_4): New function.
4296 (__sync_sub_and_fetch_4): New function.
4297 (__sync_or_and_fetch_4): New function.
4298 (__sync_and_and_fetch_4): New function.
4299 (__sync_xor_and_fetch_4): New function.
4300 (__sync_nand_and_fetch_4): New function.
4301 (__sync_add_and_fetch_8): New function.
4302 (__sync_sub_and_fetch_8): New function.
4303 (__sync_or_and_fetch_8): New function.
4304 (__sync_and_and_fetch_8): New function.
4305 (__sync_xor_and_fetch_8): New function.
4306 (__sync_nand_and_fetch_8): New function.
4307 (__sync_exchange_methods): New macro.
4308 (__sync_val_compare_and_swap_4): New function.
4309 (__sync_bool_compare_and_swap_4): New function.
4310 (__sync_lock_test_and_test_4): New function.
4311 (__sync_val_compare_and_swap_8): New function.
4312 (__sync_bool_compare_and_swap_8): New function.
4313 (__sync_lock_test_and_test_8): New function.
4314 (__subword_cmpxchg_body): New macro.
4315 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4316 (__atomic_compare_exchange_2): Ditto.
4317 (__sync_subword_cmpxchg): New macro.
4318 (__sync_val_compare_and_swap_1): New function.
4319 (__sync_bool_compare_and_swap_1): New function.
4320 (__sync_val_compare_and_swap_2): New function.
4321 (__sync_bool_compare_and_swap_2): New function.
4322 (__atomic_subword): Rename to ...
4323 (__subword): ... New name.
4324 (__atomic_subword_fetch): Use __subword.
4325 (__sync_subword_fetch): New macro.
4326 (__sync_fetch_and_add_1): New function.
4327 (__sync_fetch_and_sub_1): New function.
4328 (__sync_fetch_and_or_1): New function.
4329 (__sync_fetch_and_and_1): New function.
4330 (__sync_fetch_and_xor_1): New function.
4331 (__sync_fetch_and_nand_1): New function.
4332 (__sync_fetch_and_add_2): New function.
4333 (__sync_fetch_and_sub_2): New function.
4334 (__sync_fetch_and_or_2): New function.
4335 (__sync_fetch_and_and_2): New function.
4336 (__sync_fetch_and_xor_2): New function.
4337 (__sync_fetch_and_nand_2): New function.
4338 (__sync_add_and_fetch_1): New function.
4339 (__sync_sub_and_fetch_1): New function.
4340 (__sync_or_and_fetch_1): New function.
4341 (__sync_and_and_fetch_1): New function.
4342 (__sync_xor_and_fetch_1): New function.
4343 (__sync_nand_and_fetch_1): New function.
4344 (__sync_add_and_fetch_2): New function.
4345 (__sync_sub_and_fetch_2): New function.
4346 (__sync_or_and_fetch_2): New function.
4347 (__sync_and_and_fetch_2): New function.
4348 (__sync_xor_and_fetch_2): New function.
4349 (__sync_nand_and_fetch_2): New function.
4350 (__atomic_subword_lock): Use __subword.
4351 (__sync_subword_lock): New macro.
4352 (__sync_lock_test_and_set_1): New function.
4353 (__sync_lock_test_and_set_2): New function.
4355 2014-01-25 Walter Lee <walt@tilera.com>
4357 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4358 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4359 (__atomic_subword): Ditto.
4361 2014-01-25 Walter Lee <walt@tilera.com>
4363 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4364 a prefix op argument.
4365 (__atomic_nand_fetch_4): Add prefix op.
4366 (__atomic_nand_fetch_8): Ditto.
4368 2014-01-21 Baruch Siach <barch@tkos.co.il>
4370 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4372 2014-01-09 Rong Xu <xur@google.com>
4374 * libgcov-driver.c (this_prg): make it local to save
4376 (gcov_exit_compute_summary): Ditto.
4377 (gcov_exit_merge_gcda): Ditto.
4378 (gcov_exit_merge_summary): Ditto.
4379 (gcov_exit_dump_gcov): Ditto.
4381 2014-01-08 Rong Xu <xur@google.com>
4383 * libgcov-driver.c: Use libgcov.h.
4384 (buffer_fn_data): Use xmalloc instead of malloc.
4385 (gcov_exit_merge_gcda): Ditto.
4386 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4387 * libgcov.h: New common header files for libgcov-*.h.
4388 * libgcov-interface.c: Use libgcov.h
4389 * libgcov-merge.c: Ditto.
4390 * libgcov-profiler.c: Ditto.
4391 * Makefile.in: Add dependence to libgcov.h
4393 2014-01-02 Joseph Myers <joseph@codesourcery.com>
4395 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4396 case of small numerator and finite nonzero result.
4398 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4400 Update copyright years
4402 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4404 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4405 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4406 config/arc/dp-hack.h, config/arc/fp-hack.h,
4407 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4408 config/arc/ieee-754/arc600-dsp/divdf3.S,
4409 config/arc/ieee-754/arc600-dsp/divsf3.S,
4410 config/arc/ieee-754/arc600-dsp/muldf3.S,
4411 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4412 config/arc/ieee-754/arc600-mul64/divdf3.S,
4413 config/arc/ieee-754/arc600-mul64/divsf3.S,
4414 config/arc/ieee-754/arc600-mul64/muldf3.S,
4415 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4416 config/arc/ieee-754/arc600/divsf3.S,
4417 config/arc/ieee-754/arc600/mulsf3.S,
4418 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4419 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4420 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4421 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4422 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4423 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4424 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4425 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4426 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4427 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4428 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4429 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4430 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4431 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4432 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4433 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4434 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4435 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4436 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4437 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4438 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4439 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4440 vtv_start_preinit.c: Use the standard form for the copyright notice.
4442 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4443 Chung-Lin Tang <cltang@codesourcery.com>
4444 Based on patches from Altera Corporation
4446 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4447 * config/nios2/lib2-nios2.h: New file.
4448 * config/nios2/lib2-divmod-hi.c: New file.
4449 * config/nios2/linux-unwind.h: New file.
4450 * config/nios2/lib2-divmod.c: New file.
4451 * config/nios2/linux-atomic.c: New file.
4452 * config/nios2/t-nios2: New file.
4453 * config/nios2/crti.asm: New file.
4454 * config/nios2/t-linux: New file.
4455 * config/nios2/lib2-divtable.c: New file.
4456 * config/nios2/lib2-mul.c: New file.
4457 * config/nios2/tramp.c: New file.
4458 * config/nios2/crtn.asm: New file.
4460 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
4462 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4463 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4464 from cpuid.h to check vendor signatures.
4466 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4468 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
4469 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4470 (get_amd_cpu): Likewise.
4472 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4474 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4477 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4478 H.J. Lu <hongjiu.lu@intel.com>
4481 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
4483 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4484 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4485 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4486 FEATURE_XOP and FEATURE_FMA.
4487 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4489 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
4490 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
4491 FEATURE_FMA4 and FEATURE_XOP.
4493 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4495 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4496 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4497 (get_intel_cpu): Updated.
4499 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4501 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4503 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
4505 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4506 instructions when __SSE_MATH__ is defined.
4508 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4510 * config.host (microblaze-*-rtems*): New.
4512 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4514 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4515 architectures that do not have hardware divide instruction.
4516 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4518 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4520 * longlong.h: Delete (moved to include/).
4522 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4524 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4525 of normal number and qNaN to not raise an inexact exception.
4527 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
4529 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4531 2013-11-28 Matthew Leach <matthew.leach@arm.com>
4533 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4534 for correct opcodes on BE.
4536 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
4538 * soft-fp/op-4.h: Update from glibc.
4540 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4542 * libgcc2.c (__udivmoddi4): Define new implementation when
4543 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4544 divide instructions.
4546 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4548 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4550 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4552 * config/t-softfp (soft-fp-objects-base): New variable.
4553 (soft-fp-objects): Use it.
4555 2013-11-23 David Edelson <dje.gcc@gmail.com>
4556 Andrew Dixie <andrewd@gentrack.com>
4559 * config/rs6000/aixinitfini.c: New file.
4560 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4561 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4564 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4566 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
4568 2013-11-18 Jan Hubicka <jh@suse.cz>
4570 * libgcov-driver.c (run_accounted): Make global level static.
4571 (gcov_exit_merge_summary): Silence warning; do not clear
4573 (gcov_exit): Clear it here.
4575 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4578 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4579 (all_prg, crc32): Remove static vars.
4580 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4582 (gcov_exit_merge_gcda): Add crc32 parameter.
4583 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4584 do not account run if it was already accounted.
4585 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4586 (gcov_exit): Initialize all_prg; update.
4588 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4590 * configure: Regenerate.
4592 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4593 Alan Modra <amodra@gmail.com>
4595 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4596 (frob_update_context): Use it.
4598 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4599 Alan Modra <amodra@gmail.com>
4601 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4602 (trampoline_initial): Provide ELFv2 variant.
4603 (__trampoline_setup): Likewise.
4605 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4606 check for AIX indirect function call sequence if _CALL_ELF == 2.
4608 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4609 Alan Modra <amodra@gmail.com>
4611 * config/rs6000/linux-unwind.h (get_regs): Do not support
4612 old kernel versions if _CALL_ELF == 2.
4613 (frob_update_context): Do not support PLT stub variants only
4614 generated by old linkers if _CALL_ELF == 2.
4616 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4617 Alan Modra <amodra@gmail.com>
4619 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4620 location of CR save area for 64-bit little-endian systems.
4622 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4624 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4626 * config/arm/t-vxworks: Delete.
4628 2013-11-10 Kai Tietz <ktietz@redhat.com>
4630 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4631 Increment load-count on use of LIBGCC_SONAME DLL.
4632 (hmod_libgcc): New static variable to hold handle of
4634 (__gcc_deregister_frame): Decrement load-count of
4637 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4639 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4641 * configure: Regenerate
4643 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
4645 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4646 FP_EX_DENORM. Store result to volatile location after SSE division
4647 to close interrupt window. Remove unneeded fwait after x87
4648 division since interrupt window will be closed by emitted fstp.
4649 Rewrite FP_EX_INEXACT handling.
4651 2013-11-06 Joseph Myers <joseph@codesourcery.com>
4653 * soft-fp/README: Update.
4654 * soft-fp/adddf3.c: Update from glibc.
4655 * soft-fp/addsf3.c: Likewise.
4656 * soft-fp/addtf3.c: Likewise.
4657 * soft-fp/divdf3.c: Likewise.
4658 * soft-fp/divsf3.c: Likewise.
4659 * soft-fp/divtf3.c: Likewise.
4660 * soft-fp/double.h: Likewise.
4661 * soft-fp/eqdf2.c: Likewise.
4662 * soft-fp/eqsf2.c: Likewise.
4663 * soft-fp/eqtf2.c: Likewise.
4664 * soft-fp/extenddftf2.c: Likewise.
4665 * soft-fp/extended.h: Likewise.
4666 * soft-fp/extendsfdf2.c: Likewise.
4667 * soft-fp/extendsftf2.c: Likewise.
4668 * soft-fp/extendxftf2.c: Likewise.
4669 * soft-fp/fixdfdi.c: Likewise.
4670 * soft-fp/fixdfsi.c: Likewise.
4671 * soft-fp/fixdfti.c: Likewise.
4672 * soft-fp/fixsfdi.c: Likewise.
4673 * soft-fp/fixsfsi.c: Likewise.
4674 * soft-fp/fixsfti.c: Likewise.
4675 * soft-fp/fixtfdi.c: Likewise.
4676 * soft-fp/fixtfsi.c: Likewise.
4677 * soft-fp/fixtfti.c: Likewise.
4678 * soft-fp/fixunsdfdi.c: Likewise.
4679 * soft-fp/fixunsdfsi.c: Likewise.
4680 * soft-fp/fixunsdfti.c: Likewise.
4681 * soft-fp/fixunssfdi.c: Likewise.
4682 * soft-fp/fixunssfsi.c: Likewise.
4683 * soft-fp/fixunssfti.c: Likewise.
4684 * soft-fp/fixunstfdi.c: Likewise.
4685 * soft-fp/fixunstfsi.c: Likewise.
4686 * soft-fp/fixunstfti.c: Likewise.
4687 * soft-fp/floatdidf.c: Likewise.
4688 * soft-fp/floatdisf.c: Likewise.
4689 * soft-fp/floatditf.c: Likewise.
4690 * soft-fp/floatsidf.c: Likewise.
4691 * soft-fp/floatsisf.c: Likewise.
4692 * soft-fp/floatsitf.c: Likewise.
4693 * soft-fp/floattidf.c: Likewise.
4694 * soft-fp/floattisf.c: Likewise.
4695 * soft-fp/floattitf.c: Likewise.
4696 * soft-fp/floatundidf.c: Likewise.
4697 * soft-fp/floatundisf.c: Likewise.
4698 * soft-fp/floatunditf.c: Likewise.
4699 * soft-fp/floatunsidf.c: Likewise.
4700 * soft-fp/floatunsisf.c: Likewise.
4701 * soft-fp/floatunsitf.c: Likewise.
4702 * soft-fp/floatuntidf.c: Likewise.
4703 * soft-fp/floatuntisf.c: Likewise.
4704 * soft-fp/floatuntitf.c: Likewise.
4705 * soft-fp/gedf2.c: Likewise.
4706 * soft-fp/gesf2.c: Likewise.
4707 * soft-fp/getf2.c: Likewise.
4708 * soft-fp/ledf2.c: Likewise.
4709 * soft-fp/lesf2.c: Likewise.
4710 * soft-fp/letf2.c: Likewise.
4711 * soft-fp/muldf3.c: Likewise.
4712 * soft-fp/mulsf3.c: Likewise.
4713 * soft-fp/multf3.c: Likewise.
4714 * soft-fp/negdf2.c: Likewise.
4715 * soft-fp/negsf2.c: Likewise.
4716 * soft-fp/negtf2.c: Likewise.
4717 * soft-fp/op-1.h: Likewise.
4718 * soft-fp/op-2.h: Likewise.
4719 * soft-fp/op-4.h: Likewise.
4720 * soft-fp/op-8.h: Likewise.
4721 * soft-fp/op-common.h: Likewise.
4722 * soft-fp/quad.h: Likewise.
4723 * soft-fp/single.h: Likewise.
4724 * soft-fp/soft-fp.h: Likewise.
4725 * soft-fp/subdf3.c: Likewise.
4726 * soft-fp/subsf3.c: Likewise.
4727 * soft-fp/subtf3.c: Likewise.
4728 * soft-fp/truncdfsf2.c: Likewise.
4729 * soft-fp/trunctfdf2.c: Likewise.
4730 * soft-fp/trunctfsf2.c: Likewise.
4731 * soft-fp/trunctfxf2.c: Likewise.
4732 * soft-fp/unorddf2.c: Likewise.
4733 * soft-fp/unordsf2.c: Likewise.
4734 * soft-fp/unordtf2.c: Likewise.
4736 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
4738 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4739 (_FP_MUL_MEAT_D): Ditto.
4740 (_FP_DIV_MEAT_S): Ditto.
4741 (_FP_DIV_MEAT_D): Ditto.
4742 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4743 t-softfp-sfdf and t-softfp to tmake_file.
4745 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
4747 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4748 * config/i386/crtprec.c: Ditto.
4750 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
4751 Shiva Chen <shiva0217@gmail.com>
4753 * config.host (nds32*-elf*): Add nds32 target.
4754 * config/nds32 : New directory and files.
4756 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
4758 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
4759 * config.host (cpu_type) <Setting default>: Add entry for
4761 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4762 <crisv32-*-linux*>: Adjust.
4763 * longlong.h: Wrap the whole CRIS section in a single
4764 defined(__CRIS__) conditional. Add comment about add_ssaaaa
4766 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4768 [__CRIS__] (__umulsidi3): Define.
4769 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4770 * config/cris/sfp-machine.h: New file.
4771 * config/cris/umulsidi3.S: New file.
4772 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4773 * config/cris/arit.c (SIGNMULT): New macro.
4774 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4775 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4776 saving 3 out of originally 33 cycles from the fastest
4777 path, 3 out of 54 from the medium path and one from the longest
4778 path. Improve comments.
4780 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
4782 * sync.c: Remove static aliases and define each function directly
4783 under its real name.
4785 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
4787 * config.host (hppa*64*-*-linux*): Define extra_parts.
4788 (hppa*-*-linux*): Likewise.
4790 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
4792 * config/arc/crtgend.S: Add 2013 to Copyright years.
4793 * config/arc/gmon/atomic.h: Likewise.
4794 * config/arc/gmon/auxreg.h: Likewise.
4795 * config/arc/gmon/sys/gmon_out.h: Likewise.
4796 * config/arc/gmon/sys/gmon.h: Likewise.
4797 * config/arc/gmon/prof-freq.c: Likewise.
4798 * config/arc/gmon/mcount.c: Likewise.
4799 * config/arc/gmon/prof-freq-stub.S: Likewise.
4800 * config/arc/gmon/gmon.c: Likewise.
4801 * config/arc/gmon/machine-gmon.h: Likewise.
4802 * config/arc/gmon/profil.S: Likewise.
4803 * config/arc/gmon/dcache_linesz.S: Likewise.
4804 * config/arc/crtg.S: Likewise.
4805 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4806 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4807 * config/arc/ieee-754/adddf3.S: Likewise.
4808 * config/arc/ieee-754/truncdfsf2.S: Likewise.
4809 * config/arc/ieee-754/fixsfsi.S: Likewise.
4810 * config/arc/ieee-754/gtsf2.S: Likewise.
4811 * config/arc/ieee-754/floatsisf.S: Likewise.
4812 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4813 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4814 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4815 * config/arc/ieee-754/fixdfsi.S: Likewise.
4816 * config/arc/ieee-754/addsf3.S: Likewise.
4817 * config/arc/ieee-754/gesf2.S: Likewise.
4818 * config/arc/ieee-754/floatsidf.S: Likewise.
4819 * config/arc/ieee-754/extendsfdf2.S: Likewise.
4820 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4821 * config/arc/ieee-754/gtdf2.S: Likewise.
4822 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4823 * config/arc/ieee-754/uneqdf2.S: Likewise.
4824 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4825 * config/arc/ieee-754/uneqsf2.S: Likewise.
4826 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4827 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4828 * config/arc/ieee-754/eqdf2.S: Likewise.
4829 * config/arc/ieee-754/ordsf2.S: Likewise.
4830 * config/arc/ieee-754/divsf3.S: Likewise.
4831 * config/arc/ieee-754/divdf3.S: Likewise.
4832 * config/arc/ieee-754/floatunsidf.S: Likewise.
4833 * config/arc/ieee-754/orddf2.S: Likewise.
4834 * config/arc/ieee-754/eqsf2.S: Likewise.
4835 * config/arc/ieee-754/gedf2.S: Likewise.
4836 * config/arc/crtn.S: Likewise.
4837 * config/arc/crti.S: Likewise.
4838 * config/arc/t-arc700-uClibc: Likewise.
4839 * config/arc/asm.h: Likewise.
4840 * config/arc/libgcc-excl.ver: Likewise.
4841 * config/arc/t-arc-newlib: Likewise.
4842 * config/arc/divtab-arc700.c: Likewise.
4843 * config/arc/initfini.c: Likewise.
4844 * config/arc/fp-hack.h: Likewise.
4846 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4847 Diego Novillo <dnovillo@google.com>
4849 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
4850 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4851 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4852 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
4854 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4855 Brendan Kehoe <brendan@zen.org>
4856 Simon Cook <simon.cook@embecosm.com>
4858 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4859 * config/arc: New directory.
4860 * longlong.h [__arc__] (umul_ppmm): Remove.
4861 [__arc__] (__umulsidi3): Define.
4862 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4863 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4865 2013-09-17 Jacek Caban <jacek@codeweavers.com>
4867 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4869 * config/i386/gthr-win32.h: Likewise.
4871 2013-09-16 DJ Delorie <dj@redhat.com>
4873 * config/rl78/vregs.h: Add G10 register definitions.
4874 * config/rl78/lib2mul.c: Enable for RL78/G10.
4875 * config/rl78/lib2div.c: Likewise.
4876 * config/rl78/lshrsi3.S: Use vregs.h.
4877 * config/rl78/cmpsi2.S: Likewise.
4878 * config/rl78/trampoline.S: Likewise.
4879 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
4881 2013-09-14 DJ Delorie <dj@redhat.com>
4882 Nick Clifton <nickc@redhat.com>
4884 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4885 * config/rl78/vregs.h: New.
4886 * config/rl78/signbit.S: New file. Implements signbit function.
4887 * config/rl78/divmodsi.S: New.
4888 * config/rl78/divmodhi.S: New.
4889 * config/rl78/divmodqi.S: New.
4890 * config/rl78/t-rl78: Build them here...
4891 * config/rl78/lib2div.c: ...but not here.
4893 2013-09-12 DJ Delorie <dj@redhat.com>
4895 * config.host (msp*-*-elf): New.
4896 * config/msp430/: New port.
4898 2013-08-18 Iain Sandoe <iain@codesourcery.com>
4900 PR gcov-profile/58127
4901 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4902 __thread var for emulated TLS.
4903 (__gcov_indirect_call_counters): Likewise.
4905 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
4906 Catherine Moore <clm@codesourcery.com>
4907 Richard Sandiford <rdsandiford@googlemail.com>
4909 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4910 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4911 (CALL_STUB_NO_RET): Likewise.
4912 (CALL_STUB_RET): Likewise.
4913 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4914 __mips16_ret call/return stub symbols.
4915 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4918 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
4920 * config.host <mips*-*-linux*>: Remove a stray comment.
4922 2013-08-10 Jan Hubicka <jh@suse.cz>
4924 Work around binutils PR14342
4925 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4926 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4927 (L_gcov_indirect_call_profiler_v2): New.
4929 2013-08-06 Jan Hubicka <jh@suse.cz>
4931 * libgcov.c (__gcov_indirect_call_callee,
4932 __gcov_indirect_call_counters): New global vars.
4933 (__gcov_indirect_call_profiler): replace by ...
4934 (__gcov_indirect_call_profiler_v2) ... this one.
4936 2013-08-06 Caroline Tice <cmtice@google.com>
4938 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
4939 vtv_start_preinit.o and vtv_end_preinit.o.
4940 * configure.ac: Add code to check/set enable_vtable_verify.
4941 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
4943 * vtv_start_preinit.c: New file.
4944 * vtv_end_preinit.c: New file.
4945 * vtv_start.c: New file.
4946 * vtv_end.c: New file.
4947 * configure: Regenerated.
4949 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
4951 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4952 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4953 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
4954 GPL-3.0-with-GCC-exception.
4956 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
4958 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
4961 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4963 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
4964 mapping for FPRs when creating the fallback framestate.
4966 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
4969 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
4970 (__round_s2_const, __round_u2_const)
4971 (__round_s4_const, __round_u4_const, __round_x8):
4972 Saturate result if addition result cannot be represented.
4974 2013-07-15 Matthias Klose <doko@ubuntu.com>
4976 * libgcc2.c: Don't include <limits.h>.
4978 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
4980 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
4982 2013-07-06 Jakub Jelinek <jakub@redhat.com>
4985 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
4987 2013-06-28 Jakub Jelinek <jakub@redhat.com>
4990 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
4992 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
4993 instead of table lookups.
4994 (__popcountDI2): Likewise.
4996 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
4998 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5001 2013-06-21 Joseph Myers <joseph@codesourcery.com>
5004 * soft-fp/adddf3.c: Update from glibc.
5005 * soft-fp/addsf3.c: Likewise.
5006 * soft-fp/addtf3.c: Likewise.
5007 * soft-fp/divdf3.c: Likewise.
5008 * soft-fp/divsf3.c: Likewise.
5009 * soft-fp/divtf3.c: Likewise.
5010 * soft-fp/double.h: Likewise.
5011 * soft-fp/eqdf2.c: Likewise.
5012 * soft-fp/eqsf2.c: Likewise.
5013 * soft-fp/eqtf2.c: Likewise.
5014 * soft-fp/extenddftf2.c: Likewise.
5015 * soft-fp/extended.h: Likewise.
5016 * soft-fp/extendsfdf2.c: Likewise.
5017 * soft-fp/extendsftf2.c: Likewise.
5018 * soft-fp/fixdfdi.c: Likewise.
5019 * soft-fp/fixdfsi.c: Likewise.
5020 * soft-fp/fixsfdi.c: Likewise.
5021 * soft-fp/fixsfsi.c: Likewise.
5022 * soft-fp/fixtfdi.c: Likewise.
5023 * soft-fp/fixtfsi.c: Likewise.
5024 * soft-fp/fixunsdfdi.c: Likewise.
5025 * soft-fp/fixunsdfsi.c: Likewise.
5026 * soft-fp/fixunssfdi.c: Likewise.
5027 * soft-fp/fixunssfsi.c: Likewise.
5028 * soft-fp/fixunstfdi.c: Likewise.
5029 * soft-fp/fixunstfsi.c: Likewise.
5030 * soft-fp/floatdidf.c: Likewise.
5031 * soft-fp/floatdisf.c: Likewise.
5032 * soft-fp/floatditf.c: Likewise.
5033 * soft-fp/floatsidf.c: Likewise.
5034 * soft-fp/floatsisf.c: Likewise.
5035 * soft-fp/floatsitf.c: Likewise.
5036 * soft-fp/floatundidf.c: Likewise.
5037 * soft-fp/floatundisf.c: Likewise.
5038 * soft-fp/floatunditf.c: Likewise.
5039 * soft-fp/floatunsidf.c: Likewise.
5040 * soft-fp/floatunsisf.c: Likewise.
5041 * soft-fp/floatunsitf.c: Likewise.
5042 * soft-fp/gedf2.c: Likewise.
5043 * soft-fp/gesf2.c: Likewise.
5044 * soft-fp/getf2.c: Likewise.
5045 * soft-fp/ledf2.c: Likewise.
5046 * soft-fp/lesf2.c: Likewise.
5047 * soft-fp/letf2.c: Likewise.
5048 * soft-fp/muldf3.c: Likewise.
5049 * soft-fp/mulsf3.c: Likewise.
5050 * soft-fp/multf3.c: Likewise.
5051 * soft-fp/negdf2.c: Likewise.
5052 * soft-fp/negsf2.c: Likewise.
5053 * soft-fp/negtf2.c: Likewise.
5054 * soft-fp/op-1.h: Likewise.
5055 * soft-fp/op-2.h: Likewise.
5056 * soft-fp/op-4.h: Likewise.
5057 * soft-fp/op-8.h: Likewise.
5058 * soft-fp/op-common.h: Likewise.
5059 * soft-fp/quad.h: Likewise.
5060 * soft-fp/single.h: Likewise.
5061 * soft-fp/soft-fp.h: Likewise.
5062 * soft-fp/subdf3.c: Likewise.
5063 * soft-fp/subsf3.c: Likewise.
5064 * soft-fp/subtf3.c: Likewise.
5065 * soft-fp/truncdfsf2.c: Likewise.
5066 * soft-fp/trunctfdf2.c: Likewise.
5067 * soft-fp/trunctfsf2.c: Likewise.
5068 * soft-fp/unorddf2.c: Likewise.
5069 * soft-fp/unordsf2.c: Likewise.
5070 * soft-fp/unordtf2.c: Likewise.
5071 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5072 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5073 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5074 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5075 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5076 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5077 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5078 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5079 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5080 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5081 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5082 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5084 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5086 * config/mips/lib2funcs.c: New file.
5087 * config/mips/t-mips (LIB2ADD_ST): Add it.
5089 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5092 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5093 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5095 2013-06-08 Walter Lee <walt@tilera.com>
5097 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5098 Replace int64_t with long long. Add __extension__ where
5100 * config/tilepro/atomic.c: Include config.h.
5102 2013-06-06 Douglas B Rupp <rupp@adacore.com>
5104 * config.host (arm-wrs-vxworks): Configure with other soft float.
5106 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5108 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5109 (mips64r5900el-*-elf*): New configurations.
5111 2013-06-04 Alan Modra <amodra@gmail.com>
5113 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5115 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5117 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5119 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5121 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5122 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5123 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5125 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5127 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5128 (powerpc-wrs-vxworks): Likewise.
5130 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5132 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5133 signal frames as well.
5134 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5135 STACK_BIAS to the CFA offset.
5137 2013-05-17 Richard Henderson <rth@redhat.com>
5140 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5141 (execute_cfa_program): Use it when storing to fs->regs.
5143 2013-05-08 Kai Tietz <ktietz@redhat.com>
5145 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5146 (__deregister_frame_info): Likewise.
5148 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5150 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5153 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5155 2013-04-25 Alan Modra <amodra@gmail.com>
5157 * config.host: Match little-endian powerpc-linux.
5159 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5161 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5162 as 'unsigned long long' instead of 'unsigned long'.
5163 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5166 2013-04-10 Julian Brown <julian@codesourcery.com>
5168 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5169 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5170 unsigned char/unsigned short.
5171 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5173 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5176 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5178 2013-04-04 Meador Inge <meadori@codesourcery.com>
5180 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5181 computing the location of the link register.
5182 (aeabi_uldivmod): Ditto.
5184 2013-03-27 Kai Tietz <ktietz@redhat.com>
5186 * config.host: Add support for cygwin x64 target.
5187 * configure: Regenerated.
5189 2013-03-26 Walter Lee <walt@tilera.com>
5191 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5192 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5194 2013-03-25 Kai Tietz <ktietz@redhat.com>
5196 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5198 2013-03-20 Robert Mason <rbmj@verizon.net>
5200 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5201 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5202 (__gthread_leave_tsd_dtor_context): Add prototypes.
5203 (tls_delete_hook): Update.
5205 2013-03-20 Catherine Moore <clm@codesourcery.com>
5206 Joseph Myers <joseph@codesourcery.com>
5207 Chao-ying Fu <fu@mips.com>
5209 * config/mips/mips16.S: Don't build for microMIPS.
5210 * config/mips/linux-unwind.h: Handle microMIPS frame.
5211 * config/mips/crtn.S (fini, init): New labels.
5213 2013-03-14 Jakub Jelinek <jakub@redhat.com>
5215 PR tree-optimization/53265
5216 * unwind-dw2.c (execute_cfa_program): Avoid
5217 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5218 on targets with DWARF_FRAME_REGISTERS < 32.
5220 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5223 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5224 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5226 2013-03-07 Sriraman Tallam <tmsriram@google.com>
5228 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5229 sandybridge processors.
5231 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5234 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5237 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5239 * config/microblaze/crti.S: Setup stack protection at entry
5241 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
5243 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5244 (__rotldi3): Shift bytewise if applicable.
5246 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5248 * config/aarch64/sync-cache.c
5249 (__aarch64_sync_cache_range): Silence warnings.
5251 2013-02-25 Catherine Moore <clm@codesourcery.com>
5254 2013-02-24 Catherine Moore <clm@codesourcery.com>
5255 Joseph Myers <joseph@codesourcery.com>
5256 Chao-ying Fu <fu@mips.com>
5258 * config/mips/mips16.S: Don't build for microMIPS.
5259 * config/mips/linux-unwind.h: Handle microMIPS frame.
5260 * config/mips/crtn.S (fini, init): New labels.
5262 2013-02-24 Catherine Moore <clm@codesourcery.com>
5263 Joseph Myers <joseph@codesourcery.com>
5264 Chao-ying Fu <fu@mips.com>
5266 * config/mips/mips16.S: Don't build for microMIPS.
5267 * config/mips/linux-unwind.h: Handle microMIPS frame.
5268 * config/mips/crtn.S (fini, init): New labels.
5270 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5271 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
5274 2013-02-16 Alan Modra <amodra@gmail.com>
5277 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5278 (ppc_fallback_frame_state): Always set up save locations for fp
5279 and altivec. Don't bother with non-callee-saved regs, r0-r13
5280 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5282 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
5285 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5287 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5288 _ssmulha3, _usmulusa3, _ssmulsa3.
5289 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5290 (__muldi3): XCALL __muldi3_6 instead of rcall.
5291 (__umulsidi3, __mulsidi3): New functions.
5292 (do_prologue_saves, do_epilogue_restores): New .macros.
5293 (__divdi3_moddi3): Use them.
5294 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5295 (__usmulusa3, __ssmulsa3): New functions.
5297 2013-02-11 Iain Sandoe <iain@codesourcery.com>
5298 Jack Howarth <howarth@bromo.med.uc.edu>
5299 Patrick Marlier <patrick.marlier@gmail.com>
5302 * config/darwin-crt-tm.c: Remove dummy functions hack.
5304 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
5307 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5308 * config/avr/lib2-object.mk: New iterator to build objects from it.
5309 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5311 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5312 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5313 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5314 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5315 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5316 * config/avr/lib1funcs-fixed.S: Implement them.
5318 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5320 Update copyright years.
5322 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
5325 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5326 Add crtcxa to extra_parts.
5327 * config/rs6000/exit.h: New file.
5328 * config/rs6000/cxa_atexit.c: New file.
5329 * config/rs6000/cxa_finalize.c: New file.
5330 * config/rs6000/crtcxa.c: New file.
5331 * config/rs6000/t-aix-cxa: New file.
5332 * config/rs6000/libgcc-aix-cxa.ver: New file.
5334 2013-01-31 Nick Clifton <nickc@redhat.com>
5336 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5339 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
5342 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5343 _mulQQ, _mulHQ, _mulHA, _mulSA,
5344 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5345 _divQQ, _divHQ, _divHA, _divSA,
5346 _divUQQ, _divUHQ, _divUHA, _divUSA.
5348 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
5350 * config.host(microblaze*-linux*): tmake_file: Remove
5351 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5352 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5353 to exclude functions from being built with libgcc.c and use
5354 the microblaze assembly.
5356 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5358 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5361 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5363 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5364 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5365 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5366 alignment operation.
5368 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5370 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5371 loop start address for cache clearing.
5373 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5375 * config/avr/lib1funcs.S: Remove trailing blanks.
5376 * config/avr/lib1funcs-fixed.S: Ditto.
5378 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5380 * config/avr/avr-lib.h: Add GPL copyright notice.
5382 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5384 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5385 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5386 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5387 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5389 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
5391 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5392 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
5394 2013-01-04 Nick Clifton <nickc@redhat.com>
5396 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5397 the CALLT instruction is supported.
5399 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5401 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5402 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5404 2012-12-13 John Tytgat <John@bass-software.com>
5406 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5409 2012-12-12 Jakub Jelinek <jakub@redhat.com>
5412 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5413 undefined signed overflows.
5415 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
5418 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5420 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
5422 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5423 (FP_TRAPPING_EXCEPTIONS): Define.
5424 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5425 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5427 2012-12-04 Richard Henderson <rth@redhat.com>
5430 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5432 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5434 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
5435 (FP_EX_SHIFT): Define.
5436 (FP_TRAPPING_EXCEPTIONS): Define.
5438 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5440 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5441 (FP_ROUNDMODE): Use FP_RND_MASK.
5442 * config/aarch64/sfp-exceptions.c: New.
5443 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5444 Use __sfp_handle_exceptions.
5446 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
5448 * config.host: (arm*-*-freebsd*): Remove.
5449 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5450 (arm*-*-elf*): Remove.
5451 (arm*-*-wince-pe*): Remove.
5452 * arm/unwind-arm.c (struct fpa_reg): Delete.
5453 (struct fpa_regs): Delete.
5454 (phase1_vrs): Remove fpa element.
5455 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5456 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5457 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5458 * ieee754-sf.S (floatundisf): Remove FPA support.
5459 (floatdisf): Likewise.
5460 * ieee75f-df.S (floatundidf): Likewise.
5461 (floatdidf): Likewise.
5463 2012-11-29 Kai Tietz <ktietz@redhat.com>
5466 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5467 * unwind-generic.h: Likewise.
5468 * unwind-seh.c: Likewise.
5470 2012-11-28 Richard Henderson <rth@redhat.com>
5473 * emutls.c (__emutls_get_address): Avoid race condition between
5474 obj->loc.offset read and emutls_key initialization.
5476 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
5478 Adjust decimal point of signed accum mode to GCC default.
5481 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5483 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5484 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5485 (__mulha3, __mulsa3)
5486 (__divqq3, __divha3, __divsa3): Adjust to new position of
5487 decimal point of signed accum types.
5489 (__mulusa3_round): New function.
5490 (__mulusa3): Use it.
5491 (__divqq_helper): New function.
5492 (__udivuqq3): Use it.
5494 2012-11-20 Jakub Jelinek <jakub@redhat.com>
5497 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5499 2012-11-18 Teresa Johnson <tejohnson@google.com>
5502 * libgcov.c (gcov_exit): Remove merged program summary
5503 comparison unless !GCOV_LOCKED.
5505 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
5507 * soft-fp: Updated from glibc upstream.
5509 2012-11-06 Ian Lance Taylor <iant@google.com>
5511 * generic-morestack.c (__generic_morestack): Align the returned
5512 stack pointer to a 32 byte boundary.
5513 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5514 increment the return address until we have decided that we don't
5515 have a varargs function.
5516 (__morestack) [32-bit]: Align stack correctly when calling C
5518 (__morestack) [64-bit]: Likewise.
5520 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5522 * configure: Regenerate.
5524 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
5527 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5528 * config/i386/sfp-machine.h: Guard exception handling
5529 code with _SOFT_FLOAT.
5530 * config/i386/32/sfp-machine.h: Guard rounding handling
5531 code with _SOFT_FLOAT.
5532 * config/i386/64/sfp-machine.h: Ditto.
5534 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5536 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5539 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
5541 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5542 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5543 when appropriate. Correct structure element types.
5544 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5545 -minline-all-stringops from compile flags.
5547 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5549 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5551 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5553 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
5555 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5557 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5560 2012-10-23 Ian Bolton <ian.bolton@arm.com>
5561 Jim MacArthur <jim.macarthur@arm.com>
5562 Marcus Shawcroft <marcus.shawcroft@arm.com>
5563 Nigel Stephens <nigel.stephens@arm.com>
5564 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5565 Richard Earnshaw <rearnsha@arm.com>
5566 Sofiane Naci <sofiane.naci@arm.com>
5567 Stephen Thomas <stephen.thomas@arm.com>
5568 Tejas Belagod <tejas.belagod@arm.com>
5569 Yufeng Zhang <yufeng.zhang@arm.com>
5571 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5572 * config/aarch64/crti.S: New file.
5573 * config/aarch64/crtn.S: New file.
5574 * config/aarch64/linux-unwind.h: New file.
5575 * config/aarch64/sfp-machine.h: New file.
5576 * config/aarch64/sync-cache.c: New file.
5577 * config/aarch64/t-aarch64: New file.
5578 * config/aarch64/t-softfp: New file.
5580 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5582 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5583 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5584 no-longer-needed LDBU insns.
5586 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
5589 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5590 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5592 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5594 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5596 2012-10-15 Matthias Klose <doko@ubuntu.com>
5598 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5600 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5602 * configure: Regenerate.
5603 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5605 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5607 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5608 instructions for 64bit targets only.
5610 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5612 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5613 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5614 * config/i386/32/sfp-machine.h: ... here.
5615 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5616 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5619 2012-10-07 Matthias Klose <doko@ubuntu.com>
5621 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5623 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5625 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
5627 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5628 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5629 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5632 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5635 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5636 Fix parameter names.
5638 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5641 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5642 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5643 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5645 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5648 * config/sh/linux-atomic.S: Delete.
5649 * config/sh/linux-atomic.c: New.
5650 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5651 linux-atomic.c. Add cflags to disable warnings.
5653 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5656 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5658 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5659 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5660 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5661 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5662 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5664 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5666 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5668 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5669 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5671 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
5673 * config.host (hppa-*-openbsd*): New target.
5674 * config/pa/t-openbsd: New file.
5676 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
5679 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5680 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5681 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5682 (__divsa3): Use __negsi2 to negate r_quoL.
5683 * config/avr/lib1funcs.S (FALIAS): New macro.
5684 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5685 (__negsi2): ...this new function.
5686 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5687 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5688 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5689 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5690 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5691 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5693 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
5696 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5697 (lshrsi3): Reimplement as lshrsi3_r0.
5699 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
5702 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5705 2012-09-07 Teresa Johnson <tejohnson@google.com>
5707 PR gcov-profile/54487
5708 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
5711 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
5714 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5715 not configured --with-avrlibc=no.
5716 * config/avr/t-avrlibc: New file.
5717 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5718 (DPBIT_FUNCS): Ditto.
5719 (TPBIT_FUNCS): Ditto.
5721 2012-09-04 Teresa Johnson <tejohnson@google.com>
5723 * libgcov.c (struct gcov_summary_buffer): New structure.
5724 (gcov_histogram_insert): New function.
5725 (gcov_compute_histogram): Ditto.
5726 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5727 histograms during summary merging.
5729 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
5731 * config.host (x86_64-*-openbsd*): New target.
5733 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
5735 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5738 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
5741 * config/avr/t-avr (conv_X): Rename to func_X.
5743 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
5746 * config/avr/lib1funcs-fixed.S: New file.
5747 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
5748 after they are used.
5749 (neg2, neg4): New macros.
5750 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5751 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5752 (__umulhisi3): Speed up MUL variant if there is enough flash.
5753 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5755 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5756 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5757 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5758 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5759 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5760 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5761 (LIB2FUNCS_EXCLUDE): Add supported functions.
5763 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
5765 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5766 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5768 * fixed-obj.mk: Only expand dependency if $o is not in
5771 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
5773 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5775 2012-08-22 Joseph Myers <joseph@codesourcery.com>
5777 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5778 depend on --enable-shared.
5779 ($(lib1asmfuncs-o)): Use %.vis files independent of
5781 * static-object.mk ($(base)$(objext), $(base).vis)
5782 ($(base)_s$(objext)): Use same rules for visibility handling as in
5785 2012-08-21 Ian Lance Taylor <iant@google.com>
5787 * config/i386/morestack.S (__morestack_non_split): Increase amount
5788 of space allocated for non-split code stack.
5790 2012-08-19 Joseph Myers <joseph@codesourcery.com>
5792 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5793 even if inhibit_libc.
5795 2012-08-17 Julian Brown <julian@codesourcery.com>
5797 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5798 -fexceptions -fnon-call-exceptions if not defined.
5799 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5800 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5802 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
5804 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5807 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
5809 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5810 rs6000/t-slibgcc-aix.
5812 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5814 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5816 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5818 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5820 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
5823 * Makefile.in (version): Replace top_srcdir with srcdir.
5825 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
5827 * Makefile.in (version): set to BASE-VER file from gcc directory.
5829 2012-08-01 Nick Clifton <nickc@redhat.com>
5831 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5832 Implements __clrsb for an HImode argument.
5834 2012-07-31 Nick Clifton <nickc@redhat.com>
5836 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5837 Implements __clrsb for an HImode argument.
5838 * config/stormy16/clrsbhi2.c: New file:
5839 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5841 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
5843 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5845 2012-07-19 Tristan Gingold <gingold@adacore.com>
5846 Richard Henderson <rth@redhat.com>
5848 * unwind-seh.c: New file.
5849 * unwind-generic.h: Include windows.h for SEH.
5850 (_Unwind_Exception): Use 6 private fields for SEH.
5851 (_GCC_specific_handler): Declare.
5852 * unwind-c.c (__gcc_personality_seh0): New function.
5854 * config/i386/libgcc-cygming.ver: New file.
5855 * config/i386/t-seh-eh: New file.
5856 * config.host (x86_64-*-mingw*): Default to seh.
5858 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
5860 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5862 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
5864 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5865 __builtin_expect when checking for exceptions.
5866 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5868 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
5870 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5871 function declaration.
5872 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5874 * config/ia64/sfp-exceptions.c: New.
5875 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
5877 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
5879 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5880 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5881 * config/i386/64/sfp-machine: ... (delete here) ...
5882 * config/i386/sfp-machine.h: ... to here.
5883 (FP_EX_MASK): Remove.
5885 (FP_INIT_ROUNDMODE): Declare asm as volatile.
5887 2012-06-11 Sriraman Tallam <tmsriram@google.com>
5889 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5890 * config/i386/libgcc-sol2.ver: Ditto.
5891 * config/i386/libgcc-glibc.ver: Ditto.
5893 2012-06-11 Roland McGrath <mcgrathr@google.com>
5895 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5896 If __GLIBC__ is defined, refer to __pthread_key_create instead of
5899 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
5901 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5902 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5903 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5904 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5905 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5906 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5907 * config/i386/64/sfp-machine: ... (delete here) ...
5908 * config/i386/sfp-machine.h: ... to here.
5910 (__sfp_handle_exceptions): New function declaration.
5911 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5912 * config/i386/sfp-exceptions.c: New.
5913 * config/i386/t-softfp: New.
5914 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5915 i386/t-softfp to tmake_file.
5917 2012-06-03 David S. Miller <davem@davemloft.net>
5919 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5922 2012-05-31 David S. Miller <davem@davemloft.net>
5924 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5925 multiply and divide instructions on 32-bit when V9.
5926 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5928 2012-05-29 Joseph Myers <joseph@codesourcery.com>
5930 * config/arm/ieee754-df.S: Fix typos.
5931 * config/arm/ieee754-sf.S: Fix typos.
5932 * config/c6x/libunwind.S: Fix typos.
5933 * config/epiphany/udivsi3-float.c: Fix typos.
5934 * config/microblaze/muldi3_hard.S: Fix typos.
5935 * config/picochip/adddi3.S: Fix typos.
5936 * config/picochip/ashlsi3.S: Fix typos.
5937 * config/picochip/ashrsi3.S: Fix typos.
5938 * config/picochip/clzsi2.S: Fix typos.
5939 * config/picochip/cmpsi2.S: Fix typos.
5940 * config/picochip/divmod15.S: Fix typos.
5941 * config/picochip/divmodhi4.S: Fix typos.
5942 * config/picochip/divmodsi4.S: Fix typos.
5943 * config/picochip/longjmp.S: Fix typos.
5944 * config/picochip/lshrsi3.S: Fix typos.
5945 * config/picochip/parityhi2.S: Fix typos.
5946 * config/picochip/popcounthi2.S: Fix typos.
5947 * config/picochip/setjmp.S: Fix typos.
5948 * config/picochip/subdi3.S: Fix typos.
5949 * config/picochip/ucmpsi2.S: Fix typos.
5950 * config/picochip/udivmodhi4.S: Fix typos.
5951 * config/picochip/udivmodsi4.S: Fix typos.
5952 * config/spu/divv2df3.c: Fix typos.
5953 * config/spu/mfc_multi_tag_release.c: Fix typos.
5954 * config/spu/mfc_tag_release.c: Fix typos.
5955 * configure.ac: Fix typos.
5956 * configure: Regenerate.
5958 2012-05-25 Ian Lance Taylor <iant@google.com>
5960 * config/i386/morestack.S (__morestack_non_split): Check whether
5961 caller is varargs and needs %bp to hold the stack frame on return.
5963 2012-05-25 Olivier Hainque <hainque@adacore.com>
5965 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
5966 sequence in the non pic case on VxWorks.
5968 2012-05-24 Olivier Hainque <hainque@adacore.com>
5970 * Makefile.in: Move dependency on install-unwind_h from
5971 "install-leaf" to "install".
5973 2012-05-24 Olivier Hainque <hainque@adacore.com>
5975 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
5976 Use a separate command for stamp removals.
5978 2012-05-21 Andrew Pinski <apinski@cavium.com>
5981 * configure.ac: Define the default includes to being none.
5982 * configure: Regenerate.
5984 2012-05-16 Olivier Hainque <hainque@adacore.com>
5986 * Makefile.in (install-unwind_h): Rename into ...
5987 (install-unwind_h-forbuild): New target.
5988 (all): Use it instead of the former install-unwind_h.
5989 (install-unwind_h): Reinstate, copy to user install destination
5990 for include files, not to the internal gcc object directory one.
5991 (install-leaf): Depend on it.
5993 2012-05-15 Olivier Hainque <hainque@adacore.com>
5995 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
5996 register numbers. LR_REGNO replaces R_LR.
5997 (ucontext_for): New, helper for ...
5998 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6000 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6002 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6004 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6005 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6006 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6008 (i[34567]86-*-*, x86_64-*-*): ... here.
6010 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6011 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6013 * config/i386/i386-cpuinfo.c: Rename to ...
6014 * config/i386/cpuinfo.c: ... this.
6015 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6017 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6018 (libgcc_cv_init_priority): New test.
6019 * configure: Regenerate.
6020 * config.in: New file.
6021 * Makefile.in (clean): Rename config.h to auto-target.h.
6022 (config.h): Likewise.
6023 (stamp-h): Likewise.
6025 * config/i386/cpuinfo.c (auto-target.h): Include.
6026 (CONSTRUCTOR_PRIORITY): Define.
6027 (__cpu_indicator_init): Use it.
6029 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6031 * longlong.h: Use a URL instead of an FSF postal address.
6032 Replace spaces with tab.
6034 2012-05-08 Teresa Johnson <tejohnson@google.com>
6036 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6037 (__gcov_dump): Ditto.
6038 (gcov_dump_complete): New global variable.
6039 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6040 (__gcov_flush): Outline functionality now in gcov_clear.
6041 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6043 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6045 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6046 (mips*-*-linux*): Include mips/t-tpbit when long double is
6049 2012-04-25 Sriraman Tallam <tmsriram@google.com>
6051 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6052 (get_available_features): New argument. Check for AVX2.
6053 (__cpu_indicator_init): Modify call to get_available_features.
6055 2012-04-25 Alan Modra <amodra@gmail.com>
6057 * config/rs6000/crtsavevr.S: New file.
6058 * config/rs6000/crtrestvr.S: New file.
6059 * config/rs6000/t-savresfgpr: Build the above.
6060 * config/rs6000/t-netbsd: Likewise.
6062 2012-04-24 Sriraman Tallam <tmsriram@google.com>
6064 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6066 2012-04-24 Sriraman Tallam <tmsriram@google.com>
6068 * libgcc/config/i386/i386-cpuinfo.c: New file.
6069 * libgcc/config/i386/t-cpuinfo: New file.
6070 * libgcc/config.host: Include t-cpuinfo.
6071 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6073 2012-04-24 Chao-ying Fu <fu@mips.com>
6075 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6077 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6079 struct siginfo vs. siginfo_t
6081 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6082 siginfo_t instead of struct siginfo.
6083 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6084 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6085 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6086 (ia64_handle_unwabi): Likewise.
6087 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6088 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6089 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6090 (sh_fallback_frame_state): Likewise.
6091 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6092 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6094 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6096 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6099 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6101 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6102 if it hasn't been previously saved.
6104 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6106 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6109 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
6112 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6113 instead of __AVR_HAVE_8BIT_SP__.
6115 2012-03-26 Tristan Gingold <gingold@adacore.com>
6117 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6118 (unw_table_entry): Use unw_word instead of unsigned long.
6119 (_Unwind_FindTableEntry): Likewise.
6120 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6121 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6122 (_Unwind_FindTableEntry): Likewise.
6123 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6124 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6125 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6126 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6127 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6128 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6129 (uw_init_context_1, uw_install_context): Likewise.
6130 (unw_word): Move to unwind-ia64.h
6132 2012-03-26 Tristan Gingold <gingold@adacore.com>
6134 * config/vms/vms-ucrt0.c: Update copyright years.
6136 (___gcc_main_flags): Declare.
6137 (__main): Check flags to remap argv and exit code.
6138 * config.host (*-*-*vms*): Adjust extra_parts.
6139 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6142 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
6144 * arm/lib1funcs.asm (ctzsi2): New function.
6145 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6146 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6147 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6148 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6149 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6150 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6152 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
6154 * config.host: Add bits to support powerpc64-*-freebsd*.
6155 * config/rs6000/freebsd-unwind.h: New file.
6156 * config/rs6000/t-freebsd64: New file.
6158 2012-03-20 Richard Guenther <rguenther@suse.de>
6160 PR gcov-profile/52627
6161 * libgcov.c (init_mx): Fix mutex name.
6163 2012-03-16 Tristan Gingold <gingold@adacore.com>
6165 * config/ia64/vms-unwind.h: Remove ulong (and replace
6166 it by unw_reg where used). Define unw_reg with __int64.
6168 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6170 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6172 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6174 (sparc_is_sighandler): Likewise.
6176 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6178 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6181 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6183 * config/arm/crtn.S: Fix typo.
6185 2012-03-13 Richard Guenther <rguenther@suse.de>
6187 * libgcov.c: Remove stdio.h include and NULL un-define.
6189 2012-03-13 Richard Guenther <rguenther@suse.de>
6192 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6194 2012-03-13 Richard Guenther <rguenther@suse.de>
6196 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6198 2012-03-13 Richard Guenther <rguenther@suse.de>
6200 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6201 and __gthread_mutex_init_function definitions.
6203 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6205 * config.host (mips*-*-openbsd*): Remove.
6207 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6209 * config.host: Remove alpha*-dec-osf5.1* handling.
6210 * config/alpha/gthr-posix.c: Remove.
6211 * config/alpha/libgcc-osf5.ver: Remove.
6212 * config/alpha/osf5-unwind.h: Remove.
6213 * config/alpha/t-osf-pthread: Remove.
6214 * config/alpha/t-slibgcc-osf: Remove.
6215 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6216 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6217 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6218 * mkmap-flat.awk: Remove osf_export handling.
6220 2012-03-12 Richard Guenther <rguenther@suse.de>
6222 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6223 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6224 (__gthread_mutex_init_function): New function.
6225 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6228 * libgcov.c: Include gthr.h.
6229 (__gcov_flush_mx): New global variable.
6230 (init_mx, init_mx_once): New functions.
6231 (__gcov_flush): Protect self with a mutex.
6232 (__gcov_fork): Re-initialize mutex after forking.
6233 * unwind-dw2-fde.c: Change condition under which to use
6234 __GTHREAD_MUTEX_INIT_FUNCTION.
6236 2012-03-12 Tristan Gingold <gingold@adacore.com>
6238 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6239 * config/ia64/t-vms: Likewise.
6241 2012-03-11 Michael Hope <michael.hope@linaro.org>
6243 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6246 2012-03-07 Walter Lee <walt@tilera.com>
6248 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6250 (atomic_xor): Rename and move definition to
6251 config/tilepro/atomic.h.
6252 (atomic_nand): Ditto.
6253 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6255 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6256 (arch_atomic_nand): Ditto.
6258 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6261 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6263 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6266 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6269 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6273 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6274 if RAMPZ affects reading from RAM.
6275 (__tablejump_elpm__): Ditto.
6277 (__movmemx_hi): Ditto.
6278 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6279 (__do_global_dtors): Ditto.
6280 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6281 (__movmemx_hi): Ditto.
6283 2012-03-05 Richard Henderson <rth@redhat.com>
6285 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6286 [ARM] (count_trailing_zeros): Use the builtin.
6288 2012-03-01 Kai Tietz <ktietz@redhat.com>
6290 * soft-fp: Imported from glibc upstream.
6292 2012-02-28 Kai Tietz <ktietz@redhat.com>
6294 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6295 for mingw-targets as attribute gcc_struct.
6297 2012-02-28 Ian Lance Taylor <iant@google.com>
6299 * generic-morestack.c (__splitstack_releasecontext): Correct call
6300 to __morestack_release_segments.
6302 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6305 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6306 for __linux__ when removing signals from __morestack_fullmask.
6308 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
6311 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6313 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6315 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6316 instead of HAVE_INITFINI_ARRAY.
6317 * config/ia64/crtend.S: Likewise.
6319 2012-02-20 Kai Tietz <ktietz@redhat.com>
6322 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6324 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6325 to w32-unwind.h header.
6327 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6329 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6330 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6331 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6332 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6334 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6336 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6338 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6341 * config/darwin-crt-tm.c: Correct typo.
6343 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6344 Patrick Marlier <patrick.marlier@gmail.com>
6347 * config/darwin-crt-tm.c: Generate dummy functions.
6349 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6350 Patrick Marlier <patrick.marlier@gmail.com>
6353 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6354 (__doTMRegistrations): Call it.
6355 (__doTMdeRegistrations): Likewise.
6357 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
6358 Anatoly Sokolov <aesok@post.ru>
6359 Eric Weddington <eric.weddington@atmel.com>
6362 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6363 (__epilogue_restores__): Ditto.
6365 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6369 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6370 Solaris 11 and slightly reformat.
6371 (sparc_is_sighandler): Likewise.
6373 2012-02-14 Walter Lee <walt@tilera.com>
6375 * config.host: Handle tilegx and tilepro.
6376 * config/tilegx/sfp-machine.h: New file.
6377 * config/tilegx/sfp-machine32.h: New file.
6378 * config/tilegx/sfp-machine64.h: New file.
6379 * config/tilegx/t-crtstuff: New file.
6380 * config/tilegx/t-softfp: New file.
6381 * config/tilegx/t-tilegx: New file.
6382 * config/tilepro/atomic.c: New file.
6383 * config/tilepro/atomic.h: New file.
6384 * config/tilepro/linux-unwind.h: New file.
6385 * config/tilepro/sfp-machine.h: New file.
6386 * config/tilepro/softdivide.c: New file.
6387 * config/tilepro/softmpy.S: New file.
6388 * config/tilepro/t-crtstuff: New file.
6389 * config/tilepro/t-tilepro: New file.
6391 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6395 * gthr-posix.h: Allow static initializer macros to be disabled.
6396 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6398 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6400 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6401 Add t-slibgcc-libgcc to tmake_file.
6402 * config/mips/libgcc-mips16.ver: Revert previous patch.
6403 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6405 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6406 Jayant R Sonar <jayant.sonar@kpitcummins.com>
6408 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6409 * config/cr16/crti.S: New file.
6410 * config/cr16/crtlibid.S: New file.
6411 * config/cr16/crtn.S: New file.
6412 * config/cr16/lib1funcs.S: New file.
6413 * config/cr16/t-cr16: New file.
6414 * config/cr16/t-crtlibid: New file.
6415 * config/cr16/unwind-dw2.h: New file.
6416 * config/cr16/unwind-cr16.c: New file.
6417 * config/cr16/divmodhi3.c: New file.
6419 2012-01-25 Alan Modra <amodra@gmail.com>
6421 * config/rs6000/t-linux64: Delete. Move..
6422 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6423 * config/rs6000/t-linux: ..and libgcc flags to here.
6425 2012-01-22 Douglas B Rupp <rupp@gnat.com>
6427 * config.host (i[34567]86-*-interix3*):
6428 Change triplet to i[34567]86-*-interix[3-9]*.
6429 * configure: Regenerate.
6431 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6432 Richard Sandiford <rdsandiford@googlemail.com>
6434 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6435 * config/mips/mips16.S (__mips16_rdhwr): New function.
6436 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6438 2012-01-11 Nathan Sidwell <nathan@acm.org>
6440 * libgcov.c (__gcov_init): Ignore objects with no functions.
6442 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
6445 Extend __pgmx semantics to linearize memory.
6446 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6447 * config/avr/lib1funcs.S (__xload_1): New function.
6448 (__movmemx_qi, __movmemx_hi): New functions.
6449 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6452 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6454 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6455 purported sigacthandler address isn't null before dereferencing it.
6456 (sparc_is_sighandler): Likewise.
6458 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6461 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6462 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6463 (sparc_is_sighandler): Likewise.
6464 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6466 2012-01-06 Tristan Gingold <gingold@adacore.com>
6468 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6469 compatibility thunks...
6470 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6471 (crtbeginS.o, crtendS.o): ... and these to ...
6472 * config/ia64/t-ia64-elf: ... this new file.
6473 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6474 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6476 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6478 * configure: Regenerate.
6479 * config/s390/t-crtstuff: Remove -fPIC.
6481 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6484 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6487 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6490 * config/avr/lib1funcs.S: Remove FIXME comments.
6491 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6493 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6495 Implement light-weight DImode support.
6496 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6497 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6498 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6499 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6501 2011-12-30 Nathan Sidwell <nathan@acm.org>
6503 * libgcov.c (gcov_crc32): Remove global var.
6504 (free_fn_data): New function.
6505 (buffer_fn_data): Pass in filename, more robust error recovery.
6506 (crc32_unsigned): New function.
6507 (gcov_exit): More robust detection of new program. More robust
6509 (__gcov_init): Do not update program's crc here.
6511 2011-12-21 Tristan Gingold <gingold@adacore.com>
6513 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6515 2011-12-21 Ian Lance Taylor <iant@google.com>
6517 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6519 2011-12-20 Ian Lance Taylor <iant@google.com>
6521 * config/i386/morestack.S (__morestack_non_split): If there is
6522 enough stack space already, don't split. Ask for more stack space
6525 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6527 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6529 (_Unwind_DebugHook): New function.
6530 (uw_restore_core_regs): New define.
6531 (unwind_phase2): Use uw_restore_core_regs instead of
6533 (unwind_phase2_forced): Likewise.
6534 (__gnu_Unwind_Resume): Likewise.
6536 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
6538 * config/alpha/linux-unwind.h: Update copyright years.
6539 (MD_FROB_UPDATE_CONTEXT): New define.
6540 (alpha_frob_update_context): New function.
6542 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6544 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6545 tmake_file rather replacing it.
6547 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6549 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
6550 function is not used for PPC64.
6551 (save_world): Amend comments. Update the VRsave mask to reflect the
6553 (rest_world): Update comments, do not clobber r10, do not use r8.
6554 (eh_rest_world_r10): Amend comments, do not use r8.
6555 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6556 no longer used, move restore of CR and target address to the end of
6559 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6561 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6562 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6564 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
6567 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6568 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6570 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6572 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6574 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
6577 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6578 * config/avr/lib1funcs.S (__muldi3): New function.
6580 2011-12-06 Andrew Pinski <apinski@cavium.com>
6582 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6584 (__frame_dummy_init_array_entry): Likewise.
6586 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
6588 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6592 * config/avr/lib1funcs.S (__prologue_saves__,
6593 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6594 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6596 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6598 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6600 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6603 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6604 (_ITM_deregisterTMCloneTable): Likewise.
6605 (__register_frame_info): Fix unused warning.
6606 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6607 pthread_default_stacksize_np): Likewise.
6608 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
6610 2011-11-29 DJ Delorie <dj@redhat.com>
6612 * config.host (rl78-*-elf): New case.
6613 * config/rl78: New directory for the Renesas RL78.
6615 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6617 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6620 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6623 * config/rs6000/t-savresfgpr: New file.
6624 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6625 $(srcdir)/config/rs6000/eabi.S.
6626 * config/rs6000/t-ppccomm-ldbl: Remove.
6627 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6629 (powerpc-*-eabispe*): Likewise.
6630 (powerpc-*-eabi*): Likewise.
6631 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6632 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6633 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6634 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6636 (powerpc-*-eabisim*): Likewise.
6637 (powerpc-*-elf*): Likewise.
6638 (powerpc-*-eabialtivec*): Likewise.
6639 (powerpc-xilinx-eabi*): Likewise.
6640 (powerpc-*-rtems*): Likewise.
6641 (powerpcle-*-elf*): Likewise.
6642 (powerpcle-*-eabisim*): Likewise.
6643 (powerpcle-*-eabi*): Likewise.
6645 2011-11-27 Ian Lance Taylor <iant@google.com>
6647 * generic-morestack.c (__splitstack_find): Check for NULL old
6649 (__splitstack_resetcontext): New function.
6650 (__splitstack_releasecontext): New function.
6651 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6653 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6655 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6657 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6659 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6661 2011-11-26 Richard Henderson <rth@redhat.com>
6663 * config/m68k/linux-atomic.c: New file.
6664 * config/m68k/t-linux: New file.
6665 * config.host (m68k-uclinux, m68k-linux): Use it.
6667 2011-11-26 Richard Henderson <rth@redhat.com>
6669 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6670 (__TMC_END__): Only declare if hidden is available; in the definition,
6671 if hidden is unavailable add a null record.
6672 (deregister_tm_clones, register_tm_clones): New.
6673 (__do_global_dtors_aux, frame_dummy): Use them.
6674 (__do_global_dtors, __do_global_ctors_1): Likewise.
6676 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6678 * config/darwin-crt-tm.c: New file.
6679 * config.host (darwin): Build crttms.o crttme.o to provide
6680 startup and shutdown for tm clones.
6681 * config/t-darwin (crttms.o): New build rule.
6682 (crttme.o): Likewise.
6684 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
6686 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6689 2011-11-21 Richard Henderson <rth@redhat.com>
6691 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6692 (__TMC_LIST__, __TMC_END__): New.
6693 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6694 (__do_global_dtors): Likewise.
6695 (frame_dummy): Call _ITM_registerTMCloneTable.
6696 (__do_global_ctors_1): Likewise.
6698 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6700 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6701 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6702 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6703 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6704 * config/i386/t-darwin64: Remove.
6705 * config/sh/t-netbsd (LIB2ADD): Remove.
6707 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
6710 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6711 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6712 * config/avr/lib1funcs.S (wmov): New assembler macro.
6713 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6714 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6715 (__udivmod64): New function.
6716 (__negdi2): New function.
6718 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
6720 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6721 *-*-freebsd*aout*): Remove.
6723 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
6725 * static-object.mk (c_flags-$o): Save c_flags.
6726 ($(base)$(objext)): Use it.
6728 2011-11-18 Steve Ellcey <sje@cup.hp.com>
6730 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6732 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
6735 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6736 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6739 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6741 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6743 (aeabi_uidivmod): Likewise.
6744 (umodsi3): Likewise.
6746 (aeabi_idivmod): Likewise.
6749 2011-11-16 Tristan Gingold <gingold@adacore.com>
6751 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6753 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
6756 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
6757 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6759 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6761 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6763 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6764 * config/pa/t-stublib64: Delete.
6766 2011-11-12 Richard Henderson <rth@redhat.com>
6768 * config/rs6000/linux-unwind.h (frob_update_context): Properly
6769 cast the pointer argument to _Unwind_SetGRPtr.
6771 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6773 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6775 2011-11-09 Ian Lance Taylor <iant@google.com>
6777 * generic-morestack.c: Include <string.h>.
6778 (uintptr_type): Define.
6779 (struct initial_sp): Add dont_block_signals field. Reduce size of
6781 (allocate_segment): Set prev field to NULL. Don't set
6782 __morestack_current_segment or __morestack_segments.
6783 (__generic_morestack): Update current->prev and *pp after calling
6785 (__morestack_block_signals): Don't do anything if
6786 dont_block_signals is set.
6787 (__morestack_unblock_signals): Likewise.
6788 (__generic_findstack): Check for initial_sp == NULL. Add casts to
6790 (__splitstack_block_signals): New function.
6791 (enum __splitstack_content_offsets): Define.
6792 (__splitstack_getcontext, __splitstack_setcontext): New functions.
6793 (__splitstack_makecontext): New function.
6794 (__splitstack_block_signals_context): New function.
6795 (__splitstack_find_context): New function.
6796 * config/i386/morestack.S (__morestack_get_guard): New function.
6797 (__morestack_set_guard, __morestack_make_guard): New functions.
6798 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6800 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6802 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6803 (i[34567]86-*-mingw*): ... here.
6804 (x86_64-*-mingw*): ... here.
6806 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6808 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6810 2011-11-07 Nathan Sidwell <nathan@acm.org>
6812 * libgcov.c (struct gcov_fn_buffer): New struct.
6813 (buffer_fn_data): New helper.
6814 (gcov_exit): Rework for new gcov data structures.
6816 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
6819 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6821 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6823 * config.host (tmake_file): Correct comment.
6824 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6826 (bfin*-uclinux*): Likewise.
6827 (bfin*-linux-uclibc*): Likewise.
6828 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6830 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6832 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6833 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6834 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6835 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6836 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6837 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6838 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6839 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6840 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6841 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6842 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6843 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6844 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6846 * config/bfin/t-elf: Remove.
6847 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6849 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6851 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6852 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6853 (lm32-*-elf*, lm32-*-rtems*): Split into ...
6854 (lm32-*-elf*): ... this.
6855 (lm32-*-rtems*): ... and this.
6857 (m32r-*-rtems*): Add to tmake_file.
6858 (moxie-*-rtems*): Likewise.
6859 (sparc-*-rtems*): Likewise.
6860 Remove t-rtems from tmake_file.
6861 (sparc64-*-rtems*): Likewise.
6862 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6865 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6868 * config/gthr-posix.h: Move ...
6869 * gthr-posix.h: ... here.
6870 * config/gthr-lynx.h: Reflect this.
6871 * config/gthr-vxworks.h: Likewise.
6872 * config/rs6000/gthr-aix.h: Likewise.
6873 * configure.ac (target_thread_file): Likewise.
6874 * configure: Regenerate.
6876 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
6878 * config.host (arm*-*-rtemseabi*): New target.
6880 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6883 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6886 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
6888 * config.host (epiphany-*-elf*): New configuration.
6889 * config/epiphany: New Directory.
6891 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
6893 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6894 * config/avr/t-rtems: New.
6895 Filter out _exit from LIB1ASMFUNCS.
6897 2011-11-04 David S. Miller <davem@davemloft.net>
6899 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6900 * configure: Rebuild.
6902 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6904 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6907 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
6910 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6911 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6913 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
6916 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6918 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6920 * config/c6x/t-elf (LIB2ADDEH): Set.
6921 * config/c6x/t-c6x-elf: Remove.
6923 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6925 * config/i386/sol2-ci.S: Rename to ...
6926 * config/i386/crti.S: ... this.
6927 * config/i386/sol2-cn.S: Rename to ...
6928 * config/i386/crtn.S: ... this.
6929 * config/sparc/sol2-ci.S: Rename to ...
6930 * config/sparc/crti.S: ... this.
6931 * config/sparc/sol2-cn.S: Rename to ...
6932 * config/sparc/crtn.S: ... this.
6933 * config/t-sol2 (CUSTOM_CRTIN): Remove.
6934 (crti.o, crtn.o): Remove.
6936 2011-11-04 Tristan Gingold <gingold@adacore.com>
6938 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6940 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
6942 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6944 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
6946 * config.host (crisv32-*-none, cris-*-none): Remove.
6947 (crisv32-*-elf): Append to tmake_file, don't just set it.
6948 (cris-*-elf): Add missing t-fdpbit to tmake_file.
6950 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6952 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6953 (ecrtn$(objext)): Likewise.
6954 (ncrti$(objext)): Likewise.
6955 (ncrtn$(objext)): Likewise.
6957 2011-11-03 Andreas Schwab <schwab@redhat.com>
6959 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6961 2011-11-02 David S. Miller <davem@davemloft.net>
6963 * configure.ac: Set host_address on sparc too.
6964 * configure: Regenerate.
6965 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
6966 based upon host_address.
6967 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
6969 2011-11-02 Jason Merrill <jason@redhat.com>
6971 * config/rs6000/t-ppccomm: Add missing \.
6973 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6975 * gthr-single.h, gthr.h: New files.
6976 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
6977 config/gthr-vxworks.h, config/i386/gthr-win32.h,
6978 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
6979 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
6980 * config/i386/gthr-win32.c: Include "gthr-win32.h".
6981 * configure.ac (thread_header): New variable.
6982 Set it depending on target_thread_file.
6983 (gthr-default.h): Link from $thread_header.
6984 * configure: Regenerate.
6985 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
6987 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6989 * configure.ac (tm_file_): New variable.
6990 Determine from tm_file.
6991 (tm_file, tm_defines): Substitute.
6992 * configure: Regenerate.
6993 * mkheader.sh: New file.
6994 * Makefile.in (clean): Remove libgcc_tm.h.
6995 ($(objects)): Depend on libgcc_tm.h.
6996 (libgcc_tm_defines, libgcc_tm_file): New variables.
6997 (libgcc_tm.h, libgcc_tm.stamp): New targets.
6998 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
6999 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7000 ($(extra-parts)): Depend on libgcc_tm.h.
7001 * config.host (tm_defines, tm_file): New variable.
7002 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7003 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7004 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7005 (avr-*-rtems*): Likewise.
7006 (avr-*-*): Likewise.
7007 (frv-*-elf): Likewise.
7008 (frv-*-*linux*): Likewise.
7009 (h8300-*-rtems*): Likewise.
7010 (h8300-*-elf*): Likewise.
7011 (i[34567]86-*-darwin*): Likewise.
7012 (x86_64-*-darwin*): Likewise.
7013 (rx-*-elf): Likewise.
7014 (tic6x-*-uclinux): Likewise.
7015 (tic6x-*-elf): Likewise.
7016 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7017 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7018 * config/i386/cygming-crtbegin.c: Likewise.
7019 * config/i386/cygming-crtend.c: Likewise.
7020 * config/ia64/fde-vms.c: Likewise.
7021 * config/ia64/unwind-ia64.c: Likewise.
7022 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7023 * config/rs6000/darwin-fallback.c: Likewise.
7024 * config/stormy16/lib2funcs.c: Likewise.
7025 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7026 * crtstuff.c: Likewise.
7027 * dfp-bit.h: Likewise.
7028 * emutls.c: Likewise.
7029 * fixed-bit.c: Likewise.
7030 * fp-bit.c: Likewise.
7031 * generic-morestack-thread.c: Likewise.
7032 * generic-morestack.c: Likewise.
7033 * libgcc2.c: Likewise.
7034 * libgcov.c: Likewise.
7035 * unwind-dw2-fde-dip.c: Likewise.
7036 * unwind-dw2-fde.c: Likewise.
7037 * unwind-dw2.c: Likewise.
7038 * unwind-sjlj.c: Likewise.
7040 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7042 * configure.ac: Include ../config/picflag.m4.
7043 (GCC_PICFLAG): Call it.
7045 * configure: Regenerate.
7046 * Makefile.in (gcc_srcdir): Remove.
7047 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7048 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7049 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7050 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7051 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7054 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7055 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7056 to refer to libgcc2.c.
7058 * config/darwin-64.c: New file.
7059 * config/darwin-crt3.c: Remove comment.
7060 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7061 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7062 config/udivmodsi4.c: New files.
7063 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7064 config/memset.c: New files.
7065 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7066 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7067 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7068 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7069 * config/t-openbsd-thread: New file.
7070 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7071 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7072 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7073 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7076 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7077 to refer to gthr-posix.c.
7078 * config/alpha/t-vms (LIB2ADD): Set.
7079 * config/alpha/vms-gcc_shell_handler.c: New file.
7080 * config/arm/bpabi.c, config/arm/fp16.c,
7081 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7082 config/arm/unaligned-funcs.c: New files.
7083 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7084 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7085 * config/arm/t-linux: Likewise.
7086 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7087 * config/arm/t-netbsd: New file.
7088 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7089 * config/arm/t-symbian (LIB2ADD_ST): Set.
7090 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7091 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7092 * config/bfin/t-elf: New file.
7093 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7094 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7095 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7096 config/c6x/ltf.c: New files.
7097 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7098 (HOST_LIBGCC2_CFLAGS): Set.
7099 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7100 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7101 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7103 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7104 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7105 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7106 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7107 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7109 * config/frv/t-frv (LIB2ADD): Set.
7110 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7111 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7112 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7113 config/h8300/popcounthi2.c: New files.
7114 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7115 * config/i386/gthr-win32.c: New file.
7116 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7117 * config/i386/t-cygwin: Likewise.
7118 * config/i386/t-darwin, config/i386/t-darwin64,
7119 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7120 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7121 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7122 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7123 * config/ia64/quadlib.c: New file.
7124 * config/ia64/t-hpux (LIB2ADD): Set.
7125 * config/ia64/t-ia64: Add comment.
7126 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7127 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7128 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7129 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7130 * config/m32c/t-m32c (LIB2ADD): Set.
7131 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7132 * config/m32r/t-m32r: Likewise.
7133 * config/m68k/fpgnulib.c: New file.
7134 * config/m68k/t-floatlib (LIB2ADD): Set.
7135 (xfgnulib.c): New target.
7136 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7137 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7138 * config/mep/t-mep (LIB2ADD): Set.
7139 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7140 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7141 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7142 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7143 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7144 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7145 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7146 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7147 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7148 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7150 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7151 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7152 * config/pa/fptr.c, config/pa/lib2funcs.S,
7153 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7154 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7155 (LIB2ADD, LIB2ADD_ST): Set.
7156 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7157 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7159 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7160 * config/pdp11/t-pdp11: New file.
7161 * config/picochip/libgccExtras/adddi3.S,
7162 config/picochip/libgccExtras/ashlsi3.S,
7163 config/picochip/libgccExtras/ashrsi3.S,
7164 config/picochip/libgccExtras/clzsi2.S,
7165 config/picochip/libgccExtras/cmpsi2.S,
7166 config/picochip/libgccExtras/divmod15.S,
7167 config/picochip/libgccExtras/divmodhi4.S,
7168 config/picochip/libgccExtras/divmodsi4.S,
7169 config/picochip/libgccExtras/lshrsi3.S,
7170 config/picochip/libgccExtras/parityhi2.S,
7171 config/picochip/libgccExtras/popcounthi2.S,
7172 config/picochip/libgccExtras/subdi3.S,
7173 config/picochip/libgccExtras/ucmpsi2.S,
7174 config/picochip/libgccExtras/udivmodhi4.S,
7175 config/picochip/libgccExtras/udivmodsi4.S: New files.
7176 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7177 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7178 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7179 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7180 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7181 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7182 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7183 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7185 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7186 (HOST_LIBGCC2_CFLAGS): Set.
7187 * config/rs6000/t-darwin64: New file.
7188 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7189 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7190 * config/rs6000/t-ppccomm (LIB2ADD): Add
7191 $(srcdir)/config/rs6000/tramp.S.
7192 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7193 Add $(srcdir)/config/rs6000/eabi.S.
7194 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7195 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7196 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7197 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7198 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7199 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7200 * config/rs6000/tramp.S: New file.
7201 * config/s390/t-tpf: Remove.
7202 * config/sh/linux-atomic.S: New file.
7203 * config/sh/t-linux (LIB2ADD): Set.
7204 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7205 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7206 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7208 (HOST_LIBGCC2_CFLAGS): Set.
7209 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7210 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7211 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7212 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7213 config/spu/mfc_multi_tag_release.c,
7214 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7215 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7216 config/spu/multi3.c: New files.
7217 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7218 (HOST_LIBGCC2_CFLAGS): Set.
7219 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7220 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7221 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7222 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7223 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7224 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7225 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7226 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7227 config/stormy16/umodsi3.c: New files.
7228 * config/xtensa/lib2funcs.S: New file.
7229 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7230 * config/xtensa/t-xtensa (LIB2ADD): Set.
7231 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7232 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7233 Add t-freebsd-thread to tmake_file for posix threads.
7234 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7235 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7236 (*-*-lynxos*): Likewise.
7237 (*-*-netbsd*): Likewise.
7238 (*-*-openbsd*): Likewise.
7239 Add t-openbsd-thread to tmake_file for posix threads.
7240 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7241 (*-*-vxworks*): Set tmake_file.
7242 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7243 (alpha*-*-freebsd*): Likewise.
7244 (alpha*-*-netbsd*): Likewise.
7245 (alpha*-*-openbsd*): Likewise.
7246 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7247 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7248 (alpha*-dec-*vms*): Likewise.
7249 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7250 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7251 (bfin*-uclinux*): Likewise.
7252 (bfin*-linux-uclibc*): Likewise.
7253 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7254 (crisv32-*-none): Likewise.
7255 (cris-*-elf): Likewise.
7256 (cris-*-none): Likewise.
7257 (cris-*-linux*, crisv32-*-linux*): Likewise.
7258 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7260 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7262 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7263 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7264 (x86_64-*-elf*): Likewise.
7265 (i[34567]86-*-nto-qnx*): Likewise.
7266 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7268 (x86_64-*-mingw*): Likewise.
7269 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7270 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7271 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7272 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7273 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7275 (mipsisa64sr71k-*-elf*): Likewise.
7276 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7277 (mips-*-elf*, mipsel-*-elf*): Likewise.
7278 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7279 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7280 (mips*-*-rtems*): Likewise.
7281 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7283 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7284 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7285 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7286 (spu-*-elf*): Likewise.
7287 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7289 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7291 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7292 $(srcdir) to refer to $(LIB1ASMSRC).
7294 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7295 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7296 config/arm/lib1funcs.S: New files.
7297 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7298 * config/arm/t-arm: New file.
7299 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7300 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7301 config/arm/t-strongarm-elf: New files.
7302 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7303 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7304 * config/avr/lib1funcs.S: New file.
7305 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7306 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7307 * config/c6x/lib1funcs.S: New file.
7308 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7309 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7310 * config/frv/lib1funcs.S: New file.
7311 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7312 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7313 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7314 * config/ia64/__divxf3.asm: Rename to ...
7315 * config/ia64/__divxf3.S: ... this.
7316 Adapt lib1funcs.asm filename.
7317 * config/ia64/_fixtfdi.asm: Rename to ...
7318 * config/ia64/_fixtfdi.S: ... this.
7319 Adapt lib1funcs.asm filename.
7320 * config/ia64/_fixunstfdi.asm: Rename to ...
7321 * config/ia64/_fixunstfdi.S: ... this.
7322 Adapt lib1funcs.asm filename.
7323 * config/ia64/_floatditf.asm: Rename to ...
7324 * config/ia64/_floatditf.S: ... this.
7325 Adapt lib1funcs.asm filename.
7326 * config/ia64/lib1funcs.S: New file.
7327 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7328 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7329 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7330 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7331 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7332 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7333 * config/mep/lib1funcs.S: New file.
7334 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7335 * config/mips/mips16.S: New file.
7336 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7337 * config/pa/milli64.S: New file.
7338 * config/pa/t-linux, config/pa/t-linux64: New files.
7339 * config/picochip/lib1funcs.S: New file.
7340 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7341 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7342 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7343 * config/sh/t-netbsd: New file.
7344 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7345 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7346 * config/sh/t-sh64: New file.
7347 * config/sparc/lb1spc.S: New file.
7348 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7350 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7351 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7352 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7353 config/xtensa/lib1funcs.S: New files.
7354 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7355 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7357 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7358 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7359 (arm*-*-linux*): Likewise.
7360 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7361 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7362 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7363 (arm*-*-ecos-elf): Likewise.
7364 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7365 (arm*-*-rtems*): Likewise.
7366 (arm*-*-elf): Likewise.
7367 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7368 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7369 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7370 (bfin*-uclinux*): Likewise.
7371 (bfin*-linux-uclibc*): Likewise.
7372 (bfin*-rtems*): Likewise.
7373 (bfin*-*): Likewise.
7374 (fido-*-elf): Merge into m68k-*-elf*.
7375 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7376 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7377 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7378 (h8300-*-elf*): Likewise.
7379 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7380 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7381 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7382 (i[34567]86-*-mingw*): Likewise.
7383 (x86_64-*-mingw*): Likewise.
7384 (i[34567]86-*-interix3*): Likewise.
7385 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7386 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7387 (m68k-*-elf*): Also handle fido-*-elf.
7388 Add m68k/t-floatlib to tmake_file.
7389 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7390 (m68k-*-linux*): Likewise.
7391 (m68k-*-rtems*): Likewise.
7392 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7393 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7395 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7396 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7397 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7398 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7399 sh/t-netbsd to tmake_file.
7400 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7401 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7402 (sh-wrs-vxworks): Likewise.
7403 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7405 (v850*-*-*): Add v850/t-v850 to tmake_file.
7406 (vax-*-linux*): Add vax/t-linux to tmake_file.
7407 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7409 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7411 * crtstuff.c: New file.
7412 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7413 (CRTSTUFF_T_CFLAGS): Define.
7414 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7415 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7416 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7419 (crtbeginT.o): Use $(objext).
7420 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7421 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7422 (gcc-extra-parts): Remove.
7423 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7425 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7426 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7427 Add t-crtstuff-pic to tmake_file.
7428 (*-*-lynxos*): New case.
7429 Set tmake_file, extra_parts.
7430 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7431 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7432 *-*-netbsdelf[2-9]*.
7433 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7434 (*-*-rtems*): Set extra_parts.
7435 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7436 (*-*-uclinux*): New case.
7438 (*-*-vms*): New case.
7439 Set tmake_file, extra_parts.
7440 (*-*-elf): Set extra_parts.
7441 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7442 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7445 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7447 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7448 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7449 (arm-wrs-vxworks): Append to tmake_file.
7451 (arm*-*-uclinux*): Set extra_parts.
7452 (arm*-*-ecos-elf): Likewise.
7453 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7455 (arm*-*-rtems*): Set extra_parts.
7456 (arm*-*-elf): Likewise.
7457 (avr-*-rtems*): Clear extra_parts.
7458 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7460 (bfin*-uclinux*): Likewise.
7461 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7462 (bfin*-rtems*): Append to tmake_file.
7464 (bfin*-*): Likewise.
7465 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7466 (crisv32-*-elf): ... this.
7467 (crisv32-*-none): ... this.
7468 (cris-*-elf, cris-*-none): New cases.
7469 Add cris/t-elfmulti to tmake_file.
7470 (fr30-*-elf): Append to tmake_file.
7472 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7474 (h8300-*-rtems*): Append to tmake_file.
7476 (h8300-*-elf*): Likewise.
7477 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7479 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7481 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7482 (x86_64-*-elf*): Likewise.
7483 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7484 (x86_64-*-freebsd*): Likewise.
7485 (x86_64-*-netbsd*): Likewise.
7486 (i[34567]86-*-linux*): Likewise.
7487 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7488 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7489 (x86_64-*-linux*): Likewise.
7490 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7491 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7494 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7495 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7496 Append to extra_parts, remove crtbegin.o, crtend.o.
7497 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7498 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7499 crtend.o, crtbeginS.o, crtendS.o.
7500 (ia64*-*-linux*): Comment extra_parts.
7501 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7503 (iq2000*-*-elf*): Clear extra_parts.
7504 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7505 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7506 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7507 (m32r-*-rtems*): ... this.
7508 Add m32r/t-m32r to tmake_file.
7509 (m68k-*-elf*): Add t-crtin to tmake_file.
7510 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7511 (mcore-*-elf): Likewise.
7512 (microblaze*-*-*): Set extra_parts.
7513 (mips*-sde-elf*): New case.
7514 Set tmake_file, extra_parts.
7515 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7516 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7517 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7520 (mipsisa64sr71k-*-elf*): Likewise.
7521 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7522 (mips-*-elf*, mipsel-*-elf*): Likewise.
7523 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7524 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7525 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7526 (mips*-*-rtems*): Likewise.
7527 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7528 (moxie-*-*): Split into ...
7529 (moxie-*-elf, moxie-*-uclinux*): ... this.
7530 Add to extra_parts, remove crtbegin.o, crtend.o.
7531 (moxie-*-rtems*): New case.
7534 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7536 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7537 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7540 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7541 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7543 (powerpc-*-eabisim*): Likewise.
7544 (powerpc-*-elf*): Likewise.
7545 (powerpc-*-eabialtivec*): Likewise.
7546 (powerpc-xilinx-eabi*): Likewise.
7547 (powerpc-*-eabi*): Likewise.
7548 (powerpc-*-rtems*): Likewise.
7549 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7552 (powerpc-*-lynxos*): Add to tmake_file.
7553 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7554 rs6000/t-crtstuff, t-crtstuff-pic.
7556 (powerpcle-*-eabisim*): Likewise.
7557 (powerpcle-*-eabi*): Likewise.
7558 (rx-*-elf): Remove extra_parts.
7559 (s390x-ibm-tpf*): Set extra_parts.
7560 (score-*-elf): Set extra_parts.
7561 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7562 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7563 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7564 (sh64l*-*-netbsd*): Split into ...
7565 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7566 Add t-crtstuff-pic to tmake_file.
7568 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7570 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7571 (sparc-*-elf*): Remove t-crtin from tmake_file.
7572 Add to extra_parts, remove crtbegin.o, crtend.o.
7573 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7574 (sparc64-*-linux*): Likewise.
7575 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7576 Add to extra_parts, remove crtbegin.o, crtend.o.
7577 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7578 Add to extra_parts, remove crtbegin.o, crtend.o.
7579 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7580 Add to extra_parts, remove crtbegin.o, crtend.o.
7581 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7582 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7583 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7585 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7587 (tic6x-*-*): Change to ...
7588 (tic6x-*-elf): ... this.
7590 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7592 (am33_2.0-*-linux*): Add comment.
7593 (mep*-*-*): Add mep/t-mep to tmake_file.
7595 * config/alpha/t-vms: New file.
7596 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7597 * config/arm/crti.S, config/arm/crtn.S: New files.
7598 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7599 * config/bfin/crtlibid.S: New file.
7600 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7601 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7602 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7603 (crti.o, crtin.o): New rules.
7604 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7605 * config/c6x/t-uclinux: New file.
7606 * config/cris/t-elfmulti: New file.
7607 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7608 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7609 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7610 * config/frv/t-frv: New file.
7611 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7612 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7613 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7615 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7616 refer to cygming-crtbegin.c, cygming-crtend.c.
7618 * config/i386/t-nto: New file.
7619 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7620 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7621 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7622 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7625 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7626 (crtinitS.o): New rule.
7627 * config/ia64/vms-crtinit.S: New file.
7628 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7629 * config/m32r/initfini.c: New file.
7630 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7631 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7632 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7633 * config/mep/t-mep: New file.
7634 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7635 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7636 * config/mips/crti.S, config/mips/crtn.S: New files.
7637 * config/mips/t-crtstuff: New file.
7638 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7639 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7640 (CUSTOM_CRTIN): Set.
7641 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7643 Use $(srcdir) to refer to crti.S, crtn.S.
7644 Use .S extension, $<.
7645 * config/moxie/crti.asm: Rename to ...
7646 * config/moxie/crti.S: ... this.
7647 * config/moxie/crtn.asm: Rename to ...
7648 * config/moxie/crtn.S: ... this.
7649 * config/moxie/t-moxie: Remove.
7650 * config/pa/stublib.c: New file.
7651 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7652 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7653 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7654 * config/rs6000/t-crtstuff: New file.
7655 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7656 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7657 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7658 Make output file explicit.
7659 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7660 Make output file explicit.
7661 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7662 Make output file explicit.
7663 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7664 Make output file explicit.
7665 * config/score/crti.S, config/score/crtn.S: New files.
7666 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7667 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7669 * config/sh/t-sh, config/sh/t-superh: New files.
7670 * config/sparc/t-linux64: New file.
7671 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7672 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7673 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7674 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7675 * config/t-crtin: Remove.
7676 * config/t-crtstuff-pic: New file.
7677 * config/t-sol2 (CUSTOM_CRTIN): Set.
7678 (crti.o, crtn.o): New rules.
7679 * config/vms/t-vms: New file.
7680 * config/vms/vms-ucrt0.c: New file.
7681 * config/xtensa/t-elf: New file.
7683 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7685 * Makefile.in (SHLIB_NM_FLAGS): Set.
7686 * mkmap-flat.awk, mkmap-symver.awk: New files.
7687 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7689 * configure: Regenerate.
7690 * config/libgcc-glibc.ver: New file.
7691 * config/libgcc-libsystem.ver: New file.
7692 * config/t-libunwind (SHLIB_LC): Set.
7693 * config/t-linux: New file.
7694 * config/t-slibgcc (INSTALL_SHLIB): New.
7695 (SHLIB_INSTALL): Use it.
7696 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7697 to mkmap-symver.awk.
7698 (SHLIB_MAPFILES): Don't append, adapt pathname.
7699 (SHLIB_VERPFX): Set.
7700 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7701 to mkmap-symver.awk.
7702 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7703 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7704 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7705 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7707 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7708 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7709 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7710 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7711 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7712 * config/i386/libgcc-darwin.10.4.ver,
7713 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7715 * config/i386/t-darwin: Remove.
7716 * config/i386/t-darwin64: Likewise.
7717 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7718 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7719 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7720 * config/i386/t-linux: New file.
7721 * config/i386/t-mingw32: New file.
7722 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7723 * config/ia64/t-glibc: Rename to ...
7724 * config/ia64/t-linux: ... this.
7725 (SHLIB_MAPFILES): Set.
7726 * config/ia64/t-glibc-libunwind: Rename to ...
7727 * config/ia64/t-linux-libunwind: ... this.
7728 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7729 * config/ia64/t-slibgcc-hpux: New file.
7730 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7731 * config/m68k/t-slibgcc-elf-ver: New file.
7732 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7733 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7735 * config/pa/t-slibgcc-hpux: New file.
7736 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7738 * config/rs6000/libgcc-darwin.10.4.ver,
7739 config/rs6000/libgcc-darwin.10.5.ver: New files.
7740 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7741 config/rs6000/libgcc-glibc.ver.
7742 * config/rs6000/libgcc-ppc64.ver: Rename to
7743 config/rs6000/libgcc-ibm-ldouble.ver.
7744 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7745 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7746 * config/rs6000/t-ldbl128: Rename to ...
7747 * config/rs6000/t-linux: ... this.
7748 (SHLIB_MAPFILES): Adapt filename.
7749 * config/rs6000/t-slibgcc-aix: New file.
7750 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7751 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7752 libgcc-excl.ver, libgcc-glibc.ver.
7753 (SHLIB_LINK, SHLIB_INSTALL): Remove.
7754 * config/sparc/libgcc-glibc.ver: New file.
7755 * config/sparc/t-linux: New file.
7756 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7757 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7758 t-slibgcc-elf-ver to tmake_file.
7759 Add t-slibgcc-nolc-override to tmake_file for posix threads on
7761 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7762 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7763 t-slibgcc-elf-ver, t-linux to tmake_file.
7764 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7766 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7767 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7768 (alpha*-dec-*vms*): Likewise.
7769 (arm*-*-freebsd*): Append to tmake_file.
7770 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7771 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7773 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7774 tmake_file for arm*-*-symbianelf*.
7775 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7776 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7778 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7779 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7780 pa/t-slibgcc-dwarf-ver to tmake_file.
7781 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7782 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7783 (hppa*64*-*-hpux11*): Likewise.
7784 (hppa[12]*-*-hpux11*): Likewise.
7785 (x86_64-*-darwin*): Don't override tmake_file, but only keep
7786 i386/t-crtpc, i386/t-crtfm.
7787 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7788 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7790 Add i386/t-cygwin to tmake_file.
7791 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7792 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7793 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7795 Add i386/t-mingw32 to tmake_file.
7796 (x86_64-*-mingw*): Likewise.
7797 (ia64*-*-freebsd*): Append to tmake_file.
7798 (ia64*-*-linux*): Append to tmake_file.
7799 Replace ia64/t-glibc by ia64/t-linux.
7800 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7802 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7803 t-slibgcc-hpux to tmake_file.
7804 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7805 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7806 (m32rle-*-linux*): Likewise.
7807 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7809 (microblaze*-linux*): New case.
7810 Append to tmake_file, add t-slibgcc-nolc-override.
7811 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7812 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7813 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7814 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7815 rs6000/t-slibgcc-aix to tmake_file.
7816 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7817 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7818 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7819 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7820 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7821 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7823 (sparc-*-linux*): Append to tmake_file for *-leon*.
7824 Add sparc/t-linux to tmake_file for non-Leon targets.
7825 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7826 (tic6x-*-uclinux): New case.
7827 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7828 (tic6x-*-*): Add c6x/t-elf to tmake_file.
7829 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7830 (am33_2.0-*-linux*): Append to tmake_file.
7831 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7832 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7833 x86_64-*-kfreebsd*-gnu.
7834 Add i386/t-linux to tmake_file.
7836 2011-10-28 Ian Lance Taylor <iant@google.com>
7838 * config/i386/morestack.S: Correct CFI information to do proper
7839 returns throughout function. In 32-bit mode, save %ebx so that it
7840 is restored on unwind.
7842 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
7844 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7845 case where B3 isn't the return register.
7847 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7848 logic for doubleword pops.
7850 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
7852 * config/rs6000/t-freebsd: Add wildcard.
7854 2011-10-21 Paul Brook <paul@codesourcery.com>
7856 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7858 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
7859 Eric Botcazou <ebotcazou@adacore.com>
7862 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7863 fs->signal_frame to 1.
7865 2011-10-07 Ian Lance Taylor <iant@google.com>
7867 * generic-morestack-thread.c: #include <errno.h>.
7869 2011-10-07 Ian Lance Taylor <iant@google.com>
7872 * generic-morestack.c (__generic_morestack): Make sure the segment
7873 is large enough for both the stack frame and the copied
7876 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7879 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7882 2011-09-28 Nick Clifton <nickc@redhat.com>
7884 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7885 64-bit doubles are not enabled.
7886 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7887 and floatunsisf functions.
7889 2011-09-13 Paul Brook <paul@codesourcery.com>
7891 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
7892 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7893 * unwind-arm-common.inc: New file.
7894 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7895 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7896 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7897 * config/c6x/libunwind.S: New file.
7898 * config/c6x/pr-support.c: New file.
7899 * config/c6x/unwind-c6x.c: New file.
7900 * config/c6x/unwind-c6x.h: New file.
7901 * config/c6x/t-c6x-elf: New file.
7903 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
7905 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7906 (ASM_DIVZERO): Ditto.
7907 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7909 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
7911 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7913 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
7916 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7917 instead of an assembly one.
7919 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
7922 * Makefile.in (install-unwind_h): Create
7923 $(gcc_objdir)/include/unwind.h atomically.
7925 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7927 * Makefile.in (install-unwind_h): Remove destination file first.
7929 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7932 * config/mips/t-mips16: New file.
7933 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7934 (mips*-*-linux*): Likewise.
7935 (mips*-sde-elf*): Likewise.
7936 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7937 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7938 Add mips/t-mips16 to tmake_file.
7939 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7940 (mips-*-elf*): Likewise.
7941 (mips64-*-elf*): Likewise.
7942 (mips64orion-*-elf*): Likewise.
7943 (mips*-*-rtems*): Likewise.
7944 (mipstx39-*-elf*): Likewise.
7945 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7946 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7948 Use $(srcdir) to refer to sync.c.
7950 ($(libgcc-sync-funcs-o)): Likewise.
7951 ($(libgcc-sync-size-funcs-s-o)): Likewise.
7952 ($(libgcc-sync-funcs-s-o)): Likewise.
7954 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7956 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7959 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
7962 * config/i386/value-unwind.h: New.
7964 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
7966 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
7967 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
7968 Add to tmake_file rather than overriding it.
7970 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7972 * config/t-softfp: Remove.
7973 * soft-fp: Moved from ../gcc/config.
7974 * soft-fp/README: Remove t-softfp reference.
7975 * soft-fp/t-softfp: Move to config/t-softfp.
7976 (softfp_machine_header): Remove.
7977 (softfp_file_list): Remove config subdir.
7978 (soft-fp-objects): New variable.
7979 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
7980 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
7981 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
7982 * config/t-softfp-excl: New file.
7983 * config/t-softfp-sfdf: New file.
7984 * config/t-softfp-tf: New file.
7985 * config/no-sfp-machine.h: New file.
7986 * config/arm/sfp-machine.h: New file.
7987 * config/arm/t-softfp: New file.
7988 * config/c6x/sfp-machine.h: New file.
7989 * config/i386/32/t-fprules-softfp: Rename to ...
7990 * config/i386/32/t-softfp: ... this.
7991 (tifunctions, LIB2ADD): Remove.
7992 (softfp_int_modes): Override.
7993 * config/i386/64/t-softfp-compat (tf-functions): Remove config
7995 * config/i386/64/eqtf2.c: Likewise.
7996 * config/i386/64/getf2.c: Likewise.
7997 * config/i386/64/letf2.c: Likewise.
7998 * config/ia64/sft-machine.h: New file.
7999 * config/ia64/t-fprules-softfp: Rename to ...
8000 * config/ia64/t-softfp: ... this.
8001 * config/lm32/sfp-machine.h: New file.
8002 * config/moxie/t-moxie-softfp: Remove.
8003 * config/rs6000/ibm-ldouble-format: New file.
8004 * config/rs6000/ibm-ldouble.c: New file.
8005 * config/rs6000/libgcc-ppc-glibc.ver: New file
8006 * config/rs6000/libgcc-ppc64.ver: New file
8007 * config/rs6000/sfp-machine.h: New file.
8008 * config/rs6000/t-freebsd: New file.
8009 * config/rs6000/t-ibm-ldouble: New file.
8010 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8011 libgcc-ppc-glibc.ver.
8012 * config/rs6000/t-linux64: New file.
8013 * config/rs6000/t-ppccomm (LIB2ADD): Add
8014 $(srcdir)/config/rs6000/ibm-ldouble.c.
8015 * config/rs6000/t-ppccomm-ldbl: New file.
8016 * config/score/sfp-machine.h: New file.
8017 * config.host (sfp_machine_header): Explain.
8018 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8019 t-softfp to tmake_file.
8020 (arm*-*-uclinux*): Likewise.
8021 (arm*-*-ecos-elf): Likewise.
8022 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8023 (arm*-*-rtems*): Likewise.
8024 (arm*-*-elf): Likewise.
8025 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8027 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8028 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8029 (lm32-*-uclinux*): Likewise.
8030 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8031 t-softfp-excl, t-softfp.
8032 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8033 (powerpc64-*-darwin*): Likewise.
8034 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8036 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8038 (powerpc-*-eabisim*): Likewise.
8039 (powerpc-*-elf*): Likewise.
8040 (powerpc-*-eabialtivec*): Likewise.
8041 (powerpc-xilinx-eabi*): Likewise.
8042 (powerpc-*-rtems*): Likewise.
8043 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8044 t-softfp-excl, t-softfp to tmake_file.
8045 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8046 rs6000/t-ppccomm-ldbl to tmake_file.
8047 (powerpcle-*-elf*): Likewise.
8048 (powerpcle-*-eabisim*): Likewise.
8049 (powerpcle-*-eabi*): Likewise.
8050 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8051 rs6000/t-ibm-ldouble to tmake_file.
8052 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8053 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8054 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8055 (tic6x-*-*): Likewise.
8056 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8057 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8058 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8059 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8060 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8061 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8062 t-softfp to tmake_file.
8063 * configure.ac (sfp_machine_header): Provide default if unset.
8065 Link sfp-machine.h to config/$sfp_machine_header.
8066 * configure: Regenerate.
8068 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8070 * Makefile.in (double_type_size, long_double_type_size): Set.
8071 Remove $(fpbit-in-libgcc) support.
8072 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8073 (fpbit-src): New variable.
8074 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8075 Compile with -DFLOAT $(FPBIT_CFLAGS).
8077 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8078 Compile with $(FPBIT_CFLAGS).
8080 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8081 Compile with -DFLOAT $(TPBIT_CFLAGS).
8083 * configure.ac (double_type_size, long_double_type_size):
8084 Determine and substitute.
8085 * configure: Regenerate.
8086 * fp-bit.c, fp-bit.h: New files.
8087 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8088 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8089 * config/mips/t-mips: New file.
8090 * config/mips/t-sdemtk: New file.
8091 * config/rs6000/ppc64-fp.c: New file.
8092 * config/rs6000/t-darwin (LIB2ADD): Add
8093 $(srcdir)/config/rs6000/ppc64-fp.c.
8094 * config/rs6000/t-ppc64-fp: New file.
8095 * config/rx/rx-lib.h: New file.
8096 * config/rx/t-rx (FPBIT): Set to true.
8097 ($(gcc_objdir)/fp-bit.c): Remove.
8098 (DPBIT): Set to true only with -m64bit-doubles.
8099 ($(gcc_objdir)/dp-bit.c): Remove.
8100 * config/sparc/t-softfp: Remove.
8101 * config/spu/t-elf: New file.
8102 * config/t-fdpbit, config/t-fpbit: New files.
8103 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8104 (mips*-*-*): Likewise.
8105 (arm-wrs-vxworks): Likewise.
8106 (arm*-*-freebsd*): Likewise.
8107 (avr-*-rtems*): Add t-fpbit to tmake_file.
8108 (avr-*-*): Likewise.
8109 (bfin*-elf*): Add t-fdpbit to tmake_file.
8110 (bfin*-uclinux*): Likewise.
8111 (bfin*-linux-uclibc*): Likewise.
8112 (bfin*-rtems*): New case.
8113 Add t-fdpbit to tmake_file.
8114 (bfin*-*): Add t-fdpbit to tmake_file.
8115 (crisv32-*-elf): Likewise.
8116 (cris-*-linux*): Likewise.
8117 (fr30-*-elf): Likewise.
8118 (frv-*-elf, frv-*-*linux*): Likewise.
8119 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8120 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8121 (m32r-*-elf*): Likewise.
8122 (m32rle-*-elf*): Likewise.
8123 (m32r-*-linux*): Likewise.
8124 (m32rle-*-linux*): Likewise.
8125 (mcore-*-elf): Add t-fdpbit to tmake_file.
8126 (microblaze*-*-*): Likewise.
8127 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8128 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8129 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8131 Add mips/t-tpbit to tmake-file.
8132 (mips*-*-linux*): Fix typo.
8133 (mips*-sde-elf*): New case
8134 Add mips/t-sdemtk unless using newlib.
8135 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8136 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8137 (mn10300-*-*): Likewise.
8138 (pdp11-*-*): Likewise.
8139 (picochip-*-*): Add t-fpbit to tmake_file.
8140 (powerpc-*-eabisimaltivec*): Likewise.
8141 (powerpc-*-eabisim*): Likewise.
8142 (powerpc-*-elf*): Likewise.
8143 (powerpc-*-eabialtivec*): Likewise.
8144 (powerpc-xilinx-eabi*): New case.
8145 Add t-fdpbit to tmake_file.
8146 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8147 (powerpc-*-rtems*): Likewise.
8148 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8150 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8152 (powerpc-*-lynxos*): Likewise.
8153 (powerpcle-*-elf*): Likewise.
8154 (powerpcle-*-eabisim*): Likewise.
8155 (powerpcle-*-eabi*): Likewise.
8156 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8157 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8158 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8159 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8160 (rx-*-elf): Add t-fdpbit to tmake_file.
8161 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8162 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8163 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8164 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8166 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8167 (sh-wrs-vxworks): Likewise.
8168 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8169 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8170 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8171 (sparc64-*-rtems*): ... new case.
8172 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8173 (spu-*-elf*): Likewise.
8174 Add spu/t-elf to tmake_file.
8175 (v850*-*-*): Add t-fdpbit to tmake_file.
8176 (xstormy16-*-elf): Likewise.
8177 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8178 (mep*-*-*): Likewise.
8180 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8182 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8184 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8185 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8186 (install-unwind_h): New target.
8187 (all): Depend on it.
8188 * config.host (unwind_header): New variable.
8189 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8190 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8191 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8192 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8193 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8195 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8197 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8199 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8201 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8202 (ia64*-*-freebsd*): Likewise.
8203 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8205 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8206 $with_system_libunwind.
8207 (ia64*-*-hpux*): Set tmake_file.
8208 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8209 (picochip-*-*): Set tmake_file.
8210 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8212 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8213 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8214 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8215 (xtensa*-*-elf*): Set tmake_file.
8216 (xtensa*-*-linux*): Likewise.
8217 * configure.ac: Include ../config/unwind_ipinfo.m4.
8218 Call GCC_CHECK_UNWIND_GETIPINFO.
8219 Link unwind.h to $unwind_header.
8220 * configure: Regenerate.
8221 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8222 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8223 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8224 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8225 * config/unwind-dw2-fde-darwin.c: New file.
8226 * config/arm/libunwind.S, config/arm/pr-support.c,
8227 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8228 config/arm/unwind-arm.h,: New files.
8229 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8230 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8231 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8232 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8233 config/ia64/unwind-ia64.h: New files.
8234 * config/picochip/t-picochip: New file.
8235 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8237 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8238 * config/s390/t-tpf (LIB2ADDEH): Remove.
8239 * config/t-darwin (LIB2ADDEH): Set.
8240 * config/t-eh-dw2-dip: New file.
8241 * config/t-libunwind, config/t-libunwind-elf: New files.
8242 * config/t-sol2 (LIB2ADDEH): Remove.
8243 * config/xtensa/t-xtensa: New file.
8245 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8247 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8248 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8249 long long to check rt_sigreturn syscall.
8251 2011-08-02 Alan Modra <amodra@gmail.com>
8253 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8254 Restore for indirect call bcrtl from correct stack slot, and only
8255 if cfa+40 isn't valid.
8257 2011-08-01 Julian Brown <julian@codesourcery.com>
8259 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8260 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8261 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8263 2011-08-01 Julian Brown <julian@codesourcery.com>
8265 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8266 (libgcc-std.ver.in): Use above.
8267 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8268 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8270 * config/t-fixedpoint-gnu-prefix: New file.
8271 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8272 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8275 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8277 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8278 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8279 for x86-64. Properly check __x86_64__ and __LP64__.
8281 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8283 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8285 (_FP_WS_TYPE): Likewise.
8286 (_FP_I_TYPE): Likewise.
8288 2011-07-28 Alan Modra <amodra@gmail.com>
8290 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8291 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8292 in a plt call stub. Do restore r2 if stopped on bctrl.
8294 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8296 * config.host (i[3456x]86-*-netware*): Remove.
8297 * config/i386/netware-crt0.c, config/i386/t-nwld,
8298 config/i386/t-slibgcc-nwld: Remove.
8300 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8302 * config.host: Handle tic6x-*-*.
8303 * config/c6x/c6x-abi.h: New file.
8305 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8307 * config/i386/crtprec.c: New file.
8308 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8309 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8310 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8311 (x86_64-*-darwin*): Likewise.
8312 (i[34567]86-*-solaris2*: Likewise.
8314 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8316 * config/alpha/crtfastmath.c: New file.
8317 * config/i386/crtfastmath.c: New file.
8318 * config/ia64/crtfastmath.c: New file.
8319 * config/mips/crtfastmath.c: New file.
8320 * config/sparc/crtfastmath.c: New file.
8322 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8324 Add -frandom-seed=gcc-crtfastmath.
8325 * config/alpha/t-crtfm: Remove.
8326 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8327 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8329 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8330 (alpha*-dec-osf5.1*): Likewise.
8331 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8332 Add crtfastmath.o to extra_parts.
8333 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8334 Add crtfastmath.o to extra_parts.
8335 (x86_64-*-darwin*): Likewise.
8336 (x86_64-*-mingw*): Likewise.
8337 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8338 (ia64*-*-freebsd*): Likewise.
8339 (ia64*-*-linux*): Likewise.
8340 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8341 Add crtfastmath.o to extra_parts.
8343 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8345 * config/darwin-crt3.o: New file.
8346 * config/rs6000/darwin-crt2.c: New file.
8347 * config/t-darwin: New file.
8348 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8350 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8351 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8352 (powerpc64-*-darwin*): Likewise.
8354 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8356 * config/i386/netware-crt0.c: New file.
8357 * config/i386/t-nwld: Rename to ...
8358 * config/i386/t-slibgcc-nwld: ... this.
8359 * config/i386/t-nwld: New file.
8360 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8362 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8365 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8367 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8369 * configure: Regenerate.
8371 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8373 * dfp-bit.c, dfp-bit.h: New files.
8374 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8376 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8377 ($(d64pbit-o)): Likewise.
8378 ($(d128pbit-o)): Likewise.
8379 * config/t-dfprules: New file.
8380 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8381 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8382 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8383 (x86_64-*-linux*): Likewise.
8384 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8385 (i[34567]86-*-cygwin*): Likewise.
8386 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8387 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8389 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8391 * Makfile.in (LIBGCOV): New variable.
8392 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8393 * libgcov.c: New file.
8395 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8397 * fixed-bit.c, fixed-bit.h: New files.
8398 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8399 refer to fixed-bit.c.
8401 2011-07-07 Joseph Myers <joseph@codesourcery.com>
8403 * config.host (*local*): Remove.
8405 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8408 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8409 like i?86-*-solaris2.1[0-9]*.
8410 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8411 * configure.ac (i?86-*-solaris2*): Likewise.
8412 * configure: Regenerate.
8414 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
8416 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8417 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8418 md_unwind_header by splitting out of...
8419 (i[34567]86-*-linux*): ... this.
8420 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8421 Remove md_unwind_header by splitting out of...
8422 (x86_64-*-linux*): ... this.
8424 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
8426 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8428 2011-06-28 Nick Clifton <nickc@redhat.com>
8430 * config.host: Recognize all V850 variants.
8432 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
8434 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8436 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8438 * shared-object.mk (c_flags-$o): Save c_flags.
8439 ($(base)$(objext)): Use it.
8440 ($(base)_s$(objext)): Likewise.
8442 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8444 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8445 * libgcc-std.ver.in (GCC_4.7.0): New section.
8447 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
8451 * config/avr/t-avr: Fix line endings.
8452 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8455 2011-06-14 Olivier Hainque <hainque@adacore.com>
8456 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8458 * config/mips/irix6-unwind.h: New file.
8459 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8461 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8463 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8464 (sparc64_fallback_frame_state): Use it.
8465 (sparc64_frob_update_context): Further adjust context.
8466 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8467 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8468 * config/sparc/sol2-cn.S: Likewise.
8470 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8472 * enable-execute-stack-empty.c: New file.
8473 * enable-execute-stack-mprotect.c: New file.
8474 * config/i386/enable-execute-stack-mingw32.c: New file.
8475 * config.host (enable_execute_stack): New variable.
8476 Select appropriate variants.
8477 * configure.ac: Link enable-execute-stack.c to
8478 $enable_execute_stack.
8479 * configure: Regenerate.
8480 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8481 (lib2funcs): Remove _enable_execute_stack.
8483 2011-06-09 David S. Miller <davem@davemloft.net>
8484 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8486 * config.host (sparc-*-linux*): Correct md_unwind_header
8488 (s390x-ibm-tpf*): Fix typo.
8490 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8492 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8493 Add crtfastmath.o to extra_parts.
8494 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8496 * config/mips/t-crtfm: Remove.
8498 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8500 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8502 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8504 * config.host (sh*-*-linux*): Fix typo.
8506 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8508 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8509 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8510 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8511 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8512 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8513 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8514 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8515 Wrap in !__MINGW64__.
8516 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8517 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8518 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8519 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8520 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8521 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8522 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8524 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8525 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8526 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8527 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8528 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8529 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8530 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8531 * config/no-unwind.h: New file.
8532 * config.host (md_unwind_header): Document.
8534 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8535 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8536 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8537 hppa[12]*-*-hpux11*): Set md_unwind_header.
8538 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8539 Set md_unwind_header.
8540 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8541 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8542 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8543 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8544 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8545 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8546 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8548 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8549 * configure: Regenerate.
8551 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8553 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8554 Set tmake_file, extra_parts.
8555 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8557 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8559 * config/mips/t-irix6: New file.
8560 * config/mips/t-slibgcc-irix: New file.
8562 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8564 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8565 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8567 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8569 * configure.ac (target_thread_file): Determine thread model.
8570 * configure: Regenerate.
8571 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8572 * config/alpha/t-alpha: New file.
8573 * config/alpha/t-crtfm: Use $<.
8574 * config/alpha/t-ieee: New file.
8575 * config/alpha/t-osf-pthread: New file.
8576 * config/alpha/t-slibgcc-osf: New file.
8577 * config/alpha/libgcc-osf5.ver: New file.
8579 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8581 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8583 Add crtfastmath.o to extra_parts.
8585 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8587 * config/gmon-sol2.c: Reindent.
8589 Remove, correct casts.
8590 Use STDERR_FILENO, NULL.
8591 (BASEADDRESS): Remove.
8593 (errno, sbrk): Remove declarations.
8594 (monstartup) [hp300]: Remove.
8597 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8599 * Makefile.in (cpu_type): Define.
8600 * config.host (i[34567]86-*-rtems*): Handle it.
8601 (i[34567]86-*-solaris2*): Move body ...
8602 (*-*-solaris2*): ... here.
8603 New case, generalize.
8604 (sparc-*-elf*): Handle it.
8605 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8606 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8607 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8609 (sparc*-*-solaris2*): ... this.
8611 (sparc64-*-elf*): Handle it.
8612 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8613 Merge ../gcc/config/i386/gmon-sol2.c.
8614 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8616 Merge ../gcc/config/i386/sol2-gc1.asm.
8617 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8619 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8621 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8622 * config/i386/t-crtstuff: New file.
8623 * config/i386/t-softfp: New file.
8624 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8625 $(T)crti.o, $(T)crtn.o): Remove.
8626 (gcrt1.o): New rule.
8627 (TARGET_LIBGCC2_CFLAGS): Remove.
8628 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8629 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8630 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8631 * config/sparc/t-sol2: New file.
8632 * config/sparc/t-crtfm: Move to ...
8633 * config/t-crtfm: ... this.
8634 Use $(cpu_type), $<.
8635 * config/t-crtin: New file.
8636 * config/sparc/t-softfp: New file.
8637 * config/sparc/t-softmul: New file.
8638 * config/t-rtems: New file.
8639 * config/t-slibgcc: New file.
8640 * config/t-slibgcc-elf-ver: New file.
8641 * config/t-slibgcc-gld: New file.
8642 * config/t-slibgcc-sld: New file.
8643 * config/t-sol2: New file.
8644 * configure.ac: Include ../config/lib-ld.m4.
8645 Call AC_LIB_PROG_LD_GNU.
8646 Substitute cpu_type.
8647 * configure: Regenerate.
8649 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8652 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8653 libgcc-std.ver in the build directory.
8654 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8655 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8657 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8659 * libgcc-std.ver.in: New file.
8660 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8662 (libgcc-std.ver): New rule.
8663 * config/t-gnu-prefix: New file.
8665 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8667 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8669 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8671 * config/i386/darwin-lib.h: New file.
8673 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8675 * config/arm/symbian-lib.h: New.
8677 2011-05-04 Chris Demetriou <cgd@google.com>
8679 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8680 (__x86.get_pc_thunk.bx): ...this.
8681 (__morestack): Adjust for rename, remove undef of __i686.
8683 2011-05-03 Chris Demetriou <cgd@google.com>
8685 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8687 2011-03-22 Joseph Myers <joseph@codesourcery.com>
8689 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8690 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8691 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8692 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8693 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8696 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
8698 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8699 Adjust copyright year.
8701 2011-03-07 Ian Lance Taylor <iant@google.com>
8703 * generic-morestack.c (__splitstack_find): Adjust returned stack
8704 pointer to include all registers pushed by __morestack.
8706 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
8709 * configure.ac: Call ACX_NONCANONICAL_TARGET.
8710 (toolexecdir): Calculate and AC_SUBST.
8711 (toolexeclibdir): Likewise.
8712 * Makefile.in (target_noncanonical): Import.
8713 (toolexecdir): Likewise.
8714 (toolexeclibdir): Likewise.
8715 * configure: Regenerate.
8717 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
8720 * config/arm/bpabi.h: Rename to...
8721 * config/arm/bpabi-lib.h: ...this.
8723 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8725 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8727 * configure: Regenerate.
8729 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
8731 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8732 __FLOAT_WORD_ORDER__.
8733 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8736 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8739 * Makefile.in (install-strip): New phony target.
8741 2010-11-07 Ian Lance Taylor <iant@google.com>
8744 * config/i386/morestack.S (__morestack_large_model): New
8747 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
8749 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8751 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8753 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
8755 * config/arm/bpabi.h: New file.
8756 * config/frv/frv-abi.h: New file.
8758 2010-10-01 Ian Lance Taylor <iant@google.com>
8760 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8761 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8763 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
8766 * config.host: Add the missing `$'.
8768 2010-09-30 Michael Eager <eager@eagercon.com>
8770 * config.host: Add microblaze*-*-*.
8771 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8772 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8773 udivsi3.asm,umodsi3.asm}: New.
8775 2010-09-28 Ian Lance Taylor <iant@google.com>
8777 * configure.ac: Adjust CFI test to test assembler directly rather
8778 than checking gcc preprocessor macro.
8779 * configure: Rebuild.
8781 2010-09-27 Ian Lance Taylor <iant@google.com>
8783 * configure.ac: Test whether assembler supports CFI directives.
8784 * config.host: Only add t-stack and i386/t-stack-i386 to
8785 tmake_file if libgcc_cv_cfi is "yes".
8786 * configure: Rebuild.
8788 2010-09-27 Ian Lance Taylor <iant@google.com>
8790 * generic-morestack.h: New file.
8791 * generic-morestack.c: New file.
8792 * generic-morestack-thread.c: New file.
8793 * config/i386/morestack.S: New file.
8794 * config/t-stack: New file.
8795 * config/i386/t-stack-i386: New file.
8796 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8797 i386/t-stack-i386 to tmake_file.
8799 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
8801 * Makefile.in (libgcc-extra-parts): Check for static archives and
8802 invoke ranlib after installing them.
8803 (gcc-extra-parts): Likewise.
8804 (install-leaf): Likewise.
8806 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
8808 * configure: Regenerated.
8810 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
8812 * configure: Regenerated.
8814 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
8815 Andrew Pinski <pinskia@gmail.com>
8818 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
8820 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
8823 * configure: Regenerated.
8825 2010-09-06 Andreas Schwab <schwab@redhat.com>
8827 * configure: Regenerate.
8829 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
8831 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8833 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8836 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
8837 Iain Sandoe <iains@gcc.gnu.org>
8840 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8841 LIB2FUNCS_EXCLUDE functions.
8843 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8845 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8847 * configure: Regenerate.
8849 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
8851 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8852 i386/t-freebsd to tmake_file.
8853 * config/i386/t-freebsd: New file.
8854 * config/i386/libgcc-bsd.ver: New file.
8856 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
8858 * config.host (powerpc*-eabispe*): Set tmake_file.
8859 (powerpc*-eabi*): Likewise.
8860 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8861 crtbeginS, crtendS, crtbeginT.
8863 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
8865 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8866 to tmake_file. Add crtfastmath.o to extra_parts.
8867 * config/mips/t-crtfm: New.
8869 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
8871 * config.host (sparc64-*-rtems*): New target.
8873 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8875 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8878 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
8880 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8882 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8884 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8885 alpha-dec-osf5.0* support.
8887 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
8889 * config.host: Add lm32-*-rtems*.
8891 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8892 Uros Bizjak <ubizjak@gmail.com>
8895 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8896 like other remaining 32-bit x86 OSes.
8897 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8899 * config/i386/libgcc-sol2.ver: New file.
8900 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8902 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
8905 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8906 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8907 is used and substitute set_use_emutls.
8908 * configure: Regenerated.
8910 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
8912 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8914 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8917 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8919 ($(T)gcrt1.o): Likewise.
8920 ($(T)crt1.o): Likewise.
8921 ($(T)crti.o): Likewise.
8922 ($(T)crtn.o): Likewise.
8924 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8927 * Makefile.in (install): Use $(MAKE) string in rule, for
8930 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
8932 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8933 * config/mmix/t-mmix: New file.
8934 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8936 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
8939 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8942 2010-01-04 Anthony Green <green@moxielogic.com>
8944 * config/moxie/crti.asm, config/moxie/crtn.asm,
8945 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8946 config/moxie/t-moxie: New files.
8947 * config.host: Add t-moxie-softfp reference.
8949 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
8952 * config/t-slibgcc-darwin: Fix embedded rpaths for
8953 --enable-version-specific-runtime-libs, build extension stub
8954 libs exposing features available from current libgcc_s.
8956 2009-11-11 Jon Beniston <jon@beniston.com>
8958 * config.host: Add lm32 targets.
8959 * config/lm32: New directory.
8960 * config/lm32/libgcc_lm32.h: New file.
8961 * config/lm32/_mulsi3.c: New file.
8962 * config/lm32/_udivmodsi4.c: New file.
8963 * config/lm32/_divsi3.c: New file.
8964 * config/lm32/_modsi3.c: New file.
8965 * config/lm32/_udivsi3.c: New file.
8966 * config/lm32/_umodsi3.c: New file.
8967 * config/lm32/_lshrsi3.S: New file.
8968 * config/lm32/_ashrsi3.S: New file.
8969 * config/lm32/_ashlsi3.S: New file.
8970 * config/lm32/crti.S: New file.
8971 * config/lm32/crtn.S: New file.
8972 * config/lm32/t-lm32: New file.
8973 * config/lm32/t-elf: New file.
8974 * config/lm32/t-uclinux: New file.
8976 2009-10-26 Nick Clifton <nickc@redhat.com>
8978 * config.host: Add support for RX target.
8979 * config/rx: New directory.
8980 * config/rx/rx-abi-functions.c: New file. Supplementary
8981 functions for libgcc to support the RX ABI.
8982 * config/rx/rx-abi.h: New file. Supplementary header file for
8983 libgcc RX ABI functions.
8984 * config/rx/t-rx: New file: Makefile fragment for building
8987 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
8989 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
8990 constraint of y0 to "g".
8992 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8994 * config.host: Include the s390 makefile fragments.
8995 * config/s390/32/_fixdfdi.c: New file.
8996 * config/s390/32/_fixsfdi.c: New file.
8997 * config/s390/32/_fixtfdi.c: New file.
8998 * config/s390/32/_fixunsdfdi.c: New file.
8999 * config/s390/32/_fixunssfdi.c: New file.
9000 * config/s390/32/_fixunstfdi.c: New file.
9001 * config/s390/32/t-floattodi: New file.
9002 * config/s390/libgcc-glibc.ver: New file.
9003 * config/s390/t-crtstuff: New file.
9004 * config/s390/t-linux: New file.
9005 * config/s390/t-tpf: New file.
9007 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9009 * configure.ac (AC_PREREQ): Bump to 2.64.
9011 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9013 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9015 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9017 * configure: Regenerate.
9019 2009-08-09 Douglas B Rupp <rupp@gnat.com>
9021 * config.host (ia64-hp-*vms*): New target.
9022 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9025 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9027 * configure.ac: Add snippet for maintainer-mode.
9028 * configure: Regenerate.
9029 * Makefile.in (AUTOCONF, configure_deps): New variables.
9030 ($(srcdir)/configure)): New rule, active only with maintainer
9033 2009-06-23 DJ Delorie <dj@redhat.com>
9036 * config.host: Add mep support.
9038 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
9040 * config.host: Add i386/${host_address}/t-fprules-softfp and
9041 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
9043 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9045 * config/i386/64/_multc3.c: Likewise.
9046 * config/i386/64/_powitf2.c: Likewise.
9047 * config/i386/64/eqtf2.c: Likewise.
9048 * config/i386/64/getf2.c: Likewise.
9049 * config/i386/64/letf2.c: Likewise.
9050 * config/i386/64/letf2.c: Likewise.
9051 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9052 unsigned long long for x64 mingw targets.
9053 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9054 (_FP_I_TYPE): Define as long long for x64 mingw target.
9056 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9058 * config.host (vax-*-linux*): New.
9060 2009-05-31 Anthony Green <green@moxielogic.com>
9062 * config.host: Add moxie support.
9063 * config/moxie/t-moxie: New file.
9065 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
9067 * config.host: Add i386/${host_address}/t-fprules-softfp and
9068 t-softfp to tmake_file for i[34567]86-*-cygwin*.
9070 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9072 * config.host: Add i386/${host_address}/t-fprules-softfp to
9073 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9075 2009-04-09 Nick Clifton <nickc@redhat.com>
9077 * config/ia64/tf-signs.c: Change copyright header to refer to
9078 version 3 of the GNU General Public License with version 3.1
9079 of the GCC Runtime Library Exception and to point readers at
9080 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9082 * config/i386/32/tf-signs.c: Likewise.
9083 * config/libbid/_addsub_dd.c: Likewise.
9084 * config/libbid/_addsub_sd.c: Likewise.
9085 * config/libbid/_addsub_td.c: Likewise.
9086 * config/libbid/_dd_to_df.c: Likewise.
9087 * config/libbid/_dd_to_di.c: Likewise.
9088 * config/libbid/_dd_to_sd.c: Likewise.
9089 * config/libbid/_dd_to_sf.c: Likewise.
9090 * config/libbid/_dd_to_si.c: Likewise.
9091 * config/libbid/_dd_to_td.c: Likewise.
9092 * config/libbid/_dd_to_tf.c: Likewise.
9093 * config/libbid/_dd_to_udi.c: Likewise.
9094 * config/libbid/_dd_to_usi.c: Likewise.
9095 * config/libbid/_dd_to_xf.c: Likewise.
9096 * config/libbid/_df_to_dd.c: Likewise.
9097 * config/libbid/_df_to_sd.c: Likewise.
9098 * config/libbid/_df_to_td.c: Likewise.
9099 * config/libbid/_di_to_dd.c: Likewise.
9100 * config/libbid/_di_to_sd.c: Likewise.
9101 * config/libbid/_di_to_td.c: Likewise.
9102 * config/libbid/_div_dd.c: Likewise.
9103 * config/libbid/_div_sd.c: Likewise.
9104 * config/libbid/_div_td.c: Likewise.
9105 * config/libbid/_eq_dd.c: Likewise.
9106 * config/libbid/_eq_sd.c: Likewise.
9107 * config/libbid/_eq_td.c: Likewise.
9108 * config/libbid/_ge_dd.c: Likewise.
9109 * config/libbid/_ge_sd.c: Likewise.
9110 * config/libbid/_ge_td.c: Likewise.
9111 * config/libbid/_gt_dd.c: Likewise.
9112 * config/libbid/_gt_sd.c: Likewise.
9113 * config/libbid/_gt_td.c: Likewise.
9114 * config/libbid/_isinfd128.c: Likewise.
9115 * config/libbid/_isinfd32.c: Likewise.
9116 * config/libbid/_isinfd64.c: Likewise.
9117 * config/libbid/_le_dd.c: Likewise.
9118 * config/libbid/_le_sd.c: Likewise.
9119 * config/libbid/_le_td.c: Likewise.
9120 * config/libbid/_lt_dd.c: Likewise.
9121 * config/libbid/_lt_sd.c: Likewise.
9122 * config/libbid/_lt_td.c: Likewise.
9123 * config/libbid/_mul_dd.c: Likewise.
9124 * config/libbid/_mul_sd.c: Likewise.
9125 * config/libbid/_mul_td.c: Likewise.
9126 * config/libbid/_ne_dd.c: Likewise.
9127 * config/libbid/_ne_sd.c: Likewise.
9128 * config/libbid/_ne_td.c: Likewise.
9129 * config/libbid/_sd_to_dd.c: Likewise.
9130 * config/libbid/_sd_to_df.c: Likewise.
9131 * config/libbid/_sd_to_di.c: Likewise.
9132 * config/libbid/_sd_to_sf.c: Likewise.
9133 * config/libbid/_sd_to_si.c: Likewise.
9134 * config/libbid/_sd_to_td.c: Likewise.
9135 * config/libbid/_sd_to_tf.c: Likewise.
9136 * config/libbid/_sd_to_udi.c: Likewise.
9137 * config/libbid/_sd_to_usi.c: Likewise.
9138 * config/libbid/_sd_to_xf.c: Likewise.
9139 * config/libbid/_sf_to_dd.c: Likewise.
9140 * config/libbid/_sf_to_sd.c: Likewise.
9141 * config/libbid/_sf_to_td.c: Likewise.
9142 * config/libbid/_si_to_dd.c: Likewise.
9143 * config/libbid/_si_to_sd.c: Likewise.
9144 * config/libbid/_si_to_td.c: Likewise.
9145 * config/libbid/_td_to_dd.c: Likewise.
9146 * config/libbid/_td_to_df.c: Likewise.
9147 * config/libbid/_td_to_di.c: Likewise.
9148 * config/libbid/_td_to_sd.c: Likewise.
9149 * config/libbid/_td_to_sf.c: Likewise.
9150 * config/libbid/_td_to_si.c: Likewise.
9151 * config/libbid/_td_to_tf.c: Likewise.
9152 * config/libbid/_td_to_udi.c: Likewise.
9153 * config/libbid/_td_to_usi.c: Likewise.
9154 * config/libbid/_td_to_xf.c: Likewise.
9155 * config/libbid/_tf_to_dd.c: Likewise.
9156 * config/libbid/_tf_to_sd.c: Likewise.
9157 * config/libbid/_tf_to_td.c: Likewise.
9158 * config/libbid/_udi_to_dd.c: Likewise.
9159 * config/libbid/_udi_to_sd.c: Likewise.
9160 * config/libbid/_udi_to_td.c: Likewise.
9161 * config/libbid/_unord_dd.c: Likewise.
9162 * config/libbid/_unord_sd.c: Likewise.
9163 * config/libbid/_unord_td.c: Likewise.
9164 * config/libbid/_usi_to_dd.c: Likewise.
9165 * config/libbid/_usi_to_sd.c: Likewise.
9166 * config/libbid/_usi_to_td.c: Likewise.
9167 * config/libbid/_xf_to_dd.c: Likewise.
9168 * config/libbid/_xf_to_sd.c: Likewise.
9169 * config/libbid/_xf_to_td.c: Likewise.
9170 * config/libbid/bid128.c: Likewise.
9171 * config/libbid/bid128_2_str.h: Likewise.
9172 * config/libbid/bid128_2_str_macros.h: Likewise.
9173 * config/libbid/bid128_2_str_tables.c: Likewise.
9174 * config/libbid/bid128_add.c: Likewise.
9175 * config/libbid/bid128_compare.c: Likewise.
9176 * config/libbid/bid128_div.c: Likewise.
9177 * config/libbid/bid128_fma.c: Likewise.
9178 * config/libbid/bid128_logb.c: Likewise.
9179 * config/libbid/bid128_minmax.c: Likewise.
9180 * config/libbid/bid128_mul.c: Likewise.
9181 * config/libbid/bid128_next.c: Likewise.
9182 * config/libbid/bid128_noncomp.c: Likewise.
9183 * config/libbid/bid128_quantize.c: Likewise.
9184 * config/libbid/bid128_rem.c: Likewise.
9185 * config/libbid/bid128_round_integral.c: Likewise.
9186 * config/libbid/bid128_scalb.c: Likewise.
9187 * config/libbid/bid128_sqrt.c: Likewise.
9188 * config/libbid/bid128_string.c: Likewise.
9189 * config/libbid/bid128_to_int16.c: Likewise.
9190 * config/libbid/bid128_to_int32.c: Likewise.
9191 * config/libbid/bid128_to_int64.c: Likewise.
9192 * config/libbid/bid128_to_int8.c: Likewise.
9193 * config/libbid/bid128_to_uint16.c: Likewise.
9194 * config/libbid/bid128_to_uint32.c: Likewise.
9195 * config/libbid/bid128_to_uint64.c: Likewise.
9196 * config/libbid/bid128_to_uint8.c: Likewise.
9197 * config/libbid/bid32_to_bid128.c: Likewise.
9198 * config/libbid/bid32_to_bid64.c: Likewise.
9199 * config/libbid/bid64_add.c: Likewise.
9200 * config/libbid/bid64_compare.c: Likewise.
9201 * config/libbid/bid64_div.c: Likewise.
9202 * config/libbid/bid64_fma.c: Likewise.
9203 * config/libbid/bid64_logb.c: Likewise.
9204 * config/libbid/bid64_minmax.c: Likewise.
9205 * config/libbid/bid64_mul.c: Likewise.
9206 * config/libbid/bid64_next.c: Likewise.
9207 * config/libbid/bid64_noncomp.c: Likewise.
9208 * config/libbid/bid64_quantize.c: Likewise.
9209 * config/libbid/bid64_rem.c: Likewise.
9210 * config/libbid/bid64_round_integral.c: Likewise.
9211 * config/libbid/bid64_scalb.c: Likewise.
9212 * config/libbid/bid64_sqrt.c: Likewise.
9213 * config/libbid/bid64_string.c: Likewise.
9214 * config/libbid/bid64_to_bid128.c: Likewise.
9215 * config/libbid/bid64_to_int16.c: Likewise.
9216 * config/libbid/bid64_to_int32.c: Likewise.
9217 * config/libbid/bid64_to_int64.c: Likewise.
9218 * config/libbid/bid64_to_int8.c: Likewise.
9219 * config/libbid/bid64_to_uint16.c: Likewise.
9220 * config/libbid/bid64_to_uint32.c: Likewise.
9221 * config/libbid/bid64_to_uint64.c: Likewise.
9222 * config/libbid/bid64_to_uint8.c: Likewise.
9223 * config/libbid/bid_b2d.h: Likewise.
9224 * config/libbid/bid_binarydecimal.c: Likewise.
9225 * config/libbid/bid_conf.h: Likewise.
9226 * config/libbid/bid_convert_data.c: Likewise.
9227 * config/libbid/bid_decimal_data.c: Likewise.
9228 * config/libbid/bid_decimal_globals.c: Likewise.
9229 * config/libbid/bid_div_macros.h: Likewise.
9230 * config/libbid/bid_dpd.c: Likewise.
9231 * config/libbid/bid_flag_operations.c: Likewise.
9232 * config/libbid/bid_from_int.c: Likewise.
9233 * config/libbid/bid_functions.h: Likewise.
9234 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9235 * config/libbid/bid_inline_add.h: Likewise.
9236 * config/libbid/bid_internal.h: Likewise.
9237 * config/libbid/bid_round.c: Likewise.
9238 * config/libbid/bid_sqrt_macros.h: Likewise.
9240 2009-04-09 Jakub Jelinek <jakub@redhat.com>
9242 * Makefile.in: Change copyright header to refer to version
9243 3 of the GNU General Public License and to point readers at the
9244 COPYING3 file and the FSF's license web page.
9245 * config.host: Likewise.
9247 2009-04-07 Alan Modra <amodra@bigpond.net.au>
9249 * config.host: Reorder and merge to match config.gcc change.
9251 2009-04-03 Alan Modra <amodra@bigpond.net.au>
9253 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9255 2009-03-28 Joseph Myers <joseph@codesourcery.com>
9257 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9258 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9259 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9260 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9262 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
9264 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9265 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9267 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9269 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9270 ia64/t-softfp-compat to tmake_file.
9272 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9274 * config/ia64/__divxf3.asm: New.
9275 * config/ia64/_fixtfdi.asm: Likewise.
9276 * config/ia64/_fixunstfdi.asm: Likewise.
9277 * config/ia64/_floatditf.asm: Likewise.
9278 * config/ia64/t-fprules-softfp: Likewise.
9279 * config/ia64/t-softfp-compat: Likewise.
9280 * config/ia64/tf-signs.c: Likewise.
9282 2009-01-18 Ben Elliston <bje@au.ibm.com>
9284 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9286 2009-01-16 Ben Elliston <bje@au.ibm.com>
9288 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9291 2009-01-13 Ben Elliston <bje@au.ibm.com>
9293 * config/t-softfp: New file.
9294 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9295 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9297 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
9299 * config.host: Add m32r*-*-rtems*.
9301 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
9303 * config.host: Add m32c*-*-rtems*.
9305 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9308 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9309 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9310 * configure: Regenerate.
9311 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9312 tmake_file here from gcc/config.gcc.
9313 Move extra_parts here from gcc/config.gcc.
9314 * config/i386/t-sol2: Move here from gcc/config/i386.
9315 Use gcc_srcdir instead of srcdir.
9317 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9319 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9322 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9324 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9326 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9328 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9330 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9333 * config.host: Add picochip-*-*.
9335 2008-08-06 Bob Wilson <bob.wilson@acm.org>
9337 * config.host: Match more processor names for Xtensa.
9339 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9341 * config/i386/64/t-softfp-compat: Update comments.
9343 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9345 * config/i386/64/_divtc3-compat.c: Moved to ...
9346 * config/i386/64/_divtc3.c: Here.
9348 * config/i386/64/_multc3-compat.c: Moved to ...
9349 * config/i386/64/_multc3.c: Here.
9351 * config/i386/64/_powitf2-compat.c: Moved to ...
9352 * config/i386/64/_powitf2.c: Here.
9354 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9355 .c suffix instead of -compat.c.
9357 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
9359 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9360 (_FP_MUL_MEAT_D): Ditto.
9361 (_FP_DIV_MEAT_S): Ditto.
9362 (_FP_DIV_MEAT_D): Ditto.
9364 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9366 * Makefile.in: Add support for __sync_* libgcc functions.
9368 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9370 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9372 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9375 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9376 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9378 * config/i386/64/t-fprules-softfp: Moved to ...
9379 * config/i386/64/t-softfp-compat: This. New.
9381 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
9383 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9384 Initialize f with 0.0.
9386 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9389 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9391 * config/i386/64/_divtc3-compat.c: New.
9392 * config/i386/64/_multc3-compat.c: Likewise.
9393 * config/i386/64/_powitf2-compat.c: Likewise.
9394 * config/i386/64/eqtf2.c: Likewise.
9395 * config/i386/64/getf2.c: Likewise.
9396 * config/i386/64/letf2.c: Likewise.
9397 * config/i386/64/t-fprules-softfp: Likewise.
9399 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9401 * config.host: Add i386/${host_address}/t-fprules-softfp to
9402 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
9403 i[34567]86-*-linux*, x86_64-*-linux*.
9405 * configure.ac: Set host_address to 64 or 32 for x86.
9406 * configure: Regenerated.
9408 * Makefile.in (config.status): Also depend on
9409 $(srcdir)/config.host.
9411 * config/i386/32/t-fprules-softfp: New.
9412 * config/i386/32/tf-signs.c: Likewise.
9414 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9416 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9417 Uros Bizjak <ubizjak@gmail.com>
9419 * config/i386/32/sfp-machine.h: New.
9421 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9423 * config/rs6000/t-ppccomm: Remove rules that conflict with
9424 auto-generated rules.
9426 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9428 * configure.ac: sinclude override.m4.
9429 * configure: Regenerate.
9431 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9433 * configure: Regenerate.
9435 2008-06-10 Joseph Myers <joseph@codesourcery.com>
9437 * Makefile.in (DECNUMINC): Remove
9438 -I$(MULTIBUILDTOP)../../libdecnumber.
9441 2008-06-07 Joseph Myers <joseph@codesourcery.com>
9443 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9444 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9445 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9446 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9447 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9448 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9449 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9450 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9451 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9452 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9453 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9454 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9455 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9456 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9458 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9460 * config.host (sh2[lbe]*-*-linux*): Allow target.
9462 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9464 * config/rs6000/t-ppccomm: Add build rules for new files.
9465 (LIB2ADD_ST): New variable.
9467 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9471 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9472 * config/t-avr: New file. Build 16bit libgcc functions.
9474 2008-03-02 Jakub Jelinek <jakub@redhat.com>
9477 * config/t-slibgcc-darwin: Make install-leaf dependent on
9478 install-darwin-libgcc-stubs instead of install.
9480 2008-01-25 Joseph Myers <joseph@codesourcery.com>
9482 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9483 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9484 sh-*-rtemscoff*): Remove cases.
9486 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9488 * Makefile.in (all): Use install-leaf rather than install.
9489 (install): Split most of the rule into...
9490 (install-leaf): ...this new one.
9492 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
9493 Paolo Bonzini <bonzini@gnu.org>
9496 * Makefile.in: Use @shlib_slibdir@ substitution to get
9497 correct install name on darwin.
9498 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
9500 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
9502 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9503 cris-*-elf and cris-*-none.
9504 (crisv32-*-linux*): Similar, as cris-*-linux*.
9506 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9508 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9510 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9513 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9514 * configure: Regenerated.
9516 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9518 * Makefile.in (dfp-filenames): Replace decimal_globals,
9519 decimal_data, binarydecimal and convert_data with
9520 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9521 and bid_convert_data, respectively.
9523 2007-09-17 Chao-ying Fu <fu@mips.com>
9524 Nigel Stephens <nigel@mips.com>
9526 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9527 * Makefile.in (fixed_point): Define.
9528 Check if fixed_point is yes to build support functions.
9529 * configure.ac: Check for fixed_point support.
9530 * configure: Regenerated.
9531 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9532 funcs, modes, from, to.
9534 2007-09-11 Janis Johnson <janis187@us.ibm.com
9536 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9538 2007-09-10 Janis Johnson <janis187@us.ibm.com>
9540 * Makefile.in (dfp-filenames): Remove decUtility, add
9541 decDouble, decPacked, decQuad, decSingle.
9543 2007-08-27 Hans Kester <hans.kester@ellips.nl>
9545 * config.host : Add x86_64-elf target.
9547 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9549 * configure.ac (set_have_cc_tls): Add a missing =.
9550 * configure: Regenerated.
9552 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9554 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9555 and x86_64-*-linux*.
9557 * config/t-tls: New file.
9559 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
9561 * configure.ac: Include ../config/enable.m4 and
9562 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9563 supports TLS and substitute set_have_cc_tls.
9564 * configure: Regenerated.
9566 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9568 * Makefile.in: Use libbid for DFP when BID is enabled.
9570 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9572 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
9573 extra_parts. Add config/i386/t-cygming to tmake_file.
9574 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9576 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
9577 Danny Smith <dannysmith@users.sourceforge.net>
9580 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9581 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9582 * config/i386/t-crtfm: Compile crtfastmath.o with
9583 -minline-all-stringops.
9585 2007-05-10 Richard Sandiford <richard@codesourcery.com>
9587 * config.host (sparc-wrs-vxworks): New target.
9589 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
9591 * config.host: Recognize fido.
9593 2007-04-04 Janis Johnson <janis187@us.ibm.com>
9595 * configure: Check host, not target, for decimal float support.
9597 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
9599 * config/i386/t-crtpc: New file.
9600 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
9601 (x86_64-*-linux*): Ditto.
9603 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
9605 * config.host (x86_64-*-mingw*): New target.
9607 2007-03-23 Michael Meissner <michael.meissner@amd.com>
9608 H.J. Lu <hongjiu.lu@intel.com>
9610 * Makefile.in (enable_decimal_float): New.
9612 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9613 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9614 (decbits-filenames): This.
9615 (decbits-objects): New.
9616 (libgcc-objects): Add $(decbits-objects).
9618 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9619 Substitute enable_decimal_float.
9620 * configure: Regenerated.
9622 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
9624 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9626 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9628 * Makefile.in (install-info): New dummy target.
9630 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9632 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9634 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9636 * Makefile.in: Add install-html and install-pdf dummy
9639 2007-02-05 Roger Sayle <roger@eyesopen.com>
9640 Daniel Jacobowitz <dan@codesourcery.com>
9642 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9643 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9644 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9646 2007-01-29 Janis Johnson <janis187@us.ibm.com>
9648 * Makefile.in (dec-filenames): Add decExcept.
9650 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9653 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9656 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9658 * configure.ac: Add --enable-version-specific-runtime-libs.
9659 Correct $slibdir default.
9660 * configure: Regenerated.
9662 2007-01-23 Joseph Myers <joseph@codesourcery.com>
9664 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9666 2007-01-21 Andrew Pinski <pinskia@gmail.com>
9669 * config.host (alpha*-*-linux*): Set extra_parts.
9671 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9673 * config/sh/t-linux: New.
9674 * config.host (sh*-*-linux*): Set tmake_file.
9676 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9678 * Makefile.in (install): Handle multilibs.
9680 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9682 * Makefile.in: Added .PHONY entry for documentation targets.
9684 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9686 * Makefile.in: Add empty info, html, dvi, pdf targets.
9688 2007-01-04 Mike Stump <mrs@apple.com>
9690 * Makefile.in (MAKEINFO): Remove.
9693 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
9695 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9696 * configure: Regenerate.
9697 * Makefile.in (host_subdir): Substitute it.
9698 (gcc_objdir): Use it.
9700 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9702 * config.host (ia64*-*-linux*): Set tmake_file.
9704 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9706 * Makefile.in (version): Define.
9708 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9709 Paolo Bonzini <bonzini@gnu.org>
9711 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9712 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9713 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9714 config/sparc/t-crtfm, config/t-slibgcc-darwin,
9715 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9716 shared-object.mk, siditi-object.mk, static-object.mk: New files.
9717 * configure: Generated.
9719 Copyright (C) 2007-2019 Free Software Foundation, Inc.
9721 Copying and distribution of this file, with or without modification,
9722 are permitted in any medium without royalty provided the copyright
9723 notice and this notice are preserved.